SunswapFactory · Contract on Tron
Smart contract
UNVERIFIED · mainnet
{}
SunswapFactory
Address TB2LM4iegvhPJGWn9qizeefkPMm7bqqaMs
Contract balance 0TRX on-chain
Total calls 0 lifetime triggers
Functions 15 9 read · 6 write
Bytecode 20.05Kbytes runtime
Deployed — unverified
Contract interface
ABI · 15 fns
contract.abi.json
[
{
"inputs": [
{
"indexed": true,
"name": "token",
"type": "address"
},
{
"indexed": true,
"name": "exchange",
"type": "address"
}
],
"name": "NewExchange",
"type": "Event"
},
{
"inputs": [
{
"name": "feeTo",
"type": "uint256"
}
],
"name": "NewFeeRate",
"type": "Event"
},
{
"inputs": [
{
"name": "feeTo",
"type": "address"
}
],
"name": "NewFeeTo",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "Event"
},
{
"outputs": [
{
"type": "address"
}
],
"inputs": [
{
"name": "token",
"type": "address"
}
],
"name": "createExchange",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"name": "exchangeTemplate",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"name": "feeTo",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "feeToRate",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"inputs": [
{
"name": "token",
"type": "address"
}
],
"name": "getExchange",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"inputs": [
{
"name": "exchange",
"type": "address"
}
],
"name": "getToken",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"inputs": [
{
"name": "token_id",
"type": "uint256"
}
],
"name": "getTokenWithId",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "template",
"type": "address"
}
],
"name": "initializeFactory",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"constant": true,
"name": "isOwner",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"name": "owner",
"stateMutability": "View",
"type": "Function"
},
{
"name": "renounceOwnership",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "_feeTo",
"type": "address"
}
],
"name": "setFeeTo",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "_feeToRate",
"type": "uint256"
}
],
"name": "setFeeToRate",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "tokenCount",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"stateMutability": "Nonpayable",
"type": "Function"
}
]About this contract
overview
SunswapFactory is a smart contract on Tron. It has been called 0 times.
This contract is not source-verified, so only its on-chain bytecode and ABI are available. Read calls still run live against the node. Write calls require a signed wallet transaction — wallet support is coming soon.