Treasury · Contract on Tron
Smart contract
UNVERIFIED · mainnet
{}
Treasury
Address TVZXrXv9KAWaNeEkwpPbrZGn9dKyRbFuEb
Contract balance 0TRX on-chain
Total calls 0 lifetime triggers
Functions 13 4 read · 9 write
Bytecode 1.95Kbytes runtime
Deployed — unverified
Contract interface
ABI · 13 fns
contract.abi.json
[
{
"stateMutability": "Nonpayable",
"type": "Constructor"
},
{
"name": "CallFailed",
"type": "Error"
},
{
"name": "InsufficientBalance",
"type": "Error"
},
{
"name": "NotOwner",
"type": "Error"
},
{
"name": "NotWithdrawer",
"type": "Error"
},
{
"name": "Paused",
"type": "Error"
},
{
"inputs": [
{
"indexed": true,
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "Event"
},
{
"inputs": [
{
"name": "status",
"type": "bool"
}
],
"name": "setPause",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "newWithdrawer",
"type": "address"
},
{
"name": "enabled",
"type": "bool"
}
],
"name": "setWithdrawer",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "token",
"type": "address"
},
{
"name": "to",
"type": "address"
},
{
"name": "amount",
"type": "uint256"
}
],
"name": "withdraw",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"indexed": true,
"name": "previousWithdrawer",
"type": "address"
},
{
"name": "enabled",
"type": "bool"
}
],
"name": "WithdrawerSet",
"type": "Event"
},
{
"stateMutability": "Payable",
"type": "Receive"
},
{
"outputs": [
{
"type": "uint256"
}
],
"inputs": [
{
"name": "token",
"type": "address"
}
],
"name": "getBalance",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"inputs": [
{
"type": "address"
}
],
"name": "isWithdrawer",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"name": "owner",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"name": "paused",
"stateMutability": "View",
"type": "Function"
}
]About this contract
overview
Treasury 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.