Staking · Verified Contract on Tron
Smart contract
VERIFIED · mainnet
{} ✓
Staking
Address TYnASYPbTmEYkmVTfjtFL73jaQiw3R16yB
Contract balance 1,051TRX on-chain
Total calls 2.66K lifetime triggers
Functions 24 13 read · 11 write
Bytecode 7.51Kbytes runtime
Deployed Mar 22, 2021 verified
Contract interface
ABI · 24 fns
contract.abi.json
[
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "totalRewards",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "_stakeholder",
"type": "address"
}
],
"name": "underCoolingStakes",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "_stakeholder",
"type": "address"
}
],
"name": "rewardOf",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"name": "unstake",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"inputs": [
{
"name": "_amount",
"type": "uint256"
}
],
"name": "withdraw",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"name": "claimRewards",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"payable": true,
"name": "stake",
"stateMutability": "Payable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "_stakeholder",
"type": "address"
}
],
"name": "stakeOf",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"inputs": [
{
"name": "_distributor",
"type": "address"
}
],
"name": "removeDistributor",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"constant": true,
"name": "isStakingAllowed",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"name": "distributeRewards",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"name": "startStaking",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"inputs": [
{
"name": "_distributor",
"type": "address"
}
],
"name": "addDistributor",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"name": "owner",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
},
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "_address",
"type": "address"
}
],
"name": "isDistributor",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"name": "unlock",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "_stakeholder",
"type": "address"
}
],
"name": "coolingTimer",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "totalStakes",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "_stakeholder",
"type": "address"
}
],
"name": "checkStakeHistoryCount",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
},
{
"type": "uint256"
},
{
"type": "uint256"
},
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "_stakeholder",
"type": "address"
},
{
"name": "_index",
"type": "uint256"
}
],
"name": "checkStakeHistory",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
},
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "_address",
"type": "address"
}
],
"name": "isStakeholder",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "_newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "_stakeholder",
"type": "address"
}
],
"name": "unlockedStakes",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"name": "pauseStaking",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"indexed": true,
"name": "account",
"type": "address"
},
{
"name": "value",
"type": "uint256"
}
],
"name": "Stake",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "account",
"type": "address"
},
{
"name": "value",
"type": "uint256"
}
],
"name": "Unlock",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "account",
"type": "address"
},
{
"name": "value",
"type": "uint256"
}
],
"name": "Unstake",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "account",
"type": "address"
},
{
"name": "value",
"type": "uint256"
}
],
"name": "Claim",
"type": "Event"
},
{
"inputs": [
{
"name": "value",
"type": "uint256"
}
],
"name": "Distribution",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "_from",
"type": "address"
},
{
"indexed": true,
"name": "_to",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "Event"
}
]About this contract
overview
Staking is a verified smart contract on Tron, deployed from TP3b4AYJ8Dy8JXBZzcrALFvMcA4C94H42s on Mar 22, 2021. It has been called 2.66K times.
The ABI matches the on-chain bytecode, so the Read tab above runs live view calls against the node (no gas, no signature). The verified Solidity source is viewable on TronScan ↗. Write calls require a signed wallet transaction — wallet support is coming soon.