GbtTrxLpPool · Contract on Tron
Smart contract
UNVERIFIED · mainnet
{}
GbtTrxLpPool
Address TByZRCefUmvhdZnU4yutfL7rZe4LMYSqPB
Contract balance 0TRX on-chain
Total calls 970 lifetime triggers
Functions 33 18 read · 15 write
Bytecode 13.45Kbytes runtime
Deployed Jul 8, 2021 unverified
Contract interface
ABI · 33 fns
contract.abi.json
[
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"type": "address"
}
],
"name": "rewards",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "_rewardDistribution",
"type": "address"
}
],
"name": "setRewardDistribution",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"name": "rewardDistribution",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"name": "gbtToken",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "totalSupply",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "DURATION",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"name": "tokenAddr",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "account",
"type": "address"
}
],
"name": "balanceOf",
"stateMutability": "View",
"type": "Function"
},
{
"name": "renounceOwnership",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "rewardRate",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"type": "address"
}
],
"name": "userRewardPerTokenPaid",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "starttime",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"name": "owner",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"constant": true,
"name": "isOwner",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "lastUpdateTime",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "rewardPerTokenStored",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "periodFinish",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "pawnToken",
"type": "address"
},
{
"name": "rewardToken",
"type": "address"
},
{
"name": "_starttime",
"type": "uint256"
},
{
"name": "daye",
"type": "uint256"
}
],
"stateMutability": "Nonpayable",
"type": "Constructor"
},
{
"inputs": [
{
"name": "reward",
"type": "uint256"
}
],
"name": "RewardAdded",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "user",
"type": "address"
},
{
"name": "amount",
"type": "uint256"
}
],
"name": "Staked",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "user",
"type": "address"
},
{
"name": "amount",
"type": "uint256"
}
],
"name": "Withdrawn",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "user",
"type": "address"
},
{
"name": "reward",
"type": "uint256"
}
],
"name": "RewardPaid",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "dst",
"type": "address"
},
{
"name": "sad",
"type": "uint256"
}
],
"name": "Rescue",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "dst",
"type": "address"
},
{
"indexed": true,
"name": "token",
"type": "address"
},
{
"name": "sad",
"type": "uint256"
}
],
"name": "RescueToken",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "Event"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "lastTimeRewardApplicable",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "rewardPerToken",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "account",
"type": "address"
}
],
"name": "earned",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "amount",
"type": "uint256"
}
],
"name": "stake",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "amount",
"type": "uint256"
}
],
"name": "withdraw",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "amount",
"type": "uint256"
}
],
"name": "withdrawAndGetReward",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"name": "exit",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"name": "getReward",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "reward",
"type": "uint256"
}
],
"name": "notifyRewardAmount",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "_starttime",
"type": "uint256"
}
],
"name": "changeStartTime",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "daye",
"type": "uint256"
}
],
"name": "changeDay",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "rewardToken",
"type": "address"
}
],
"name": "changeRewardToken",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "to_",
"type": "address"
},
{
"name": "token_",
"type": "address"
},
{
"name": "amount_",
"type": "uint256"
}
],
"name": "rescue",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "to_",
"type": "address"
},
{
"name": "amount_",
"type": "uint256"
}
],
"name": "rescue",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
},
{
"type": "uint256"
}
],
"inputs": [
{
"name": "reward",
"type": "uint256"
}
],
"name": "calculateTheOutputPerSecond",
"stateMutability": "Nonpayable",
"type": "Function"
}
]About this contract
overview
GbtTrxLpPool is a smart contract on Tron, deployed from TEJuibzEkekhtXjaEinWKhQHAHn3GYzAF3 on Jul 8, 2021. It has been called 970 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.