TercFreeze · Verified Contract on Tron
Smart contract
VERIFIED · mainnet
{} ✓
TercFreeze
Address TCFbyPiRaKMmVB69LcLAJAT3W5636QTptP
Contract balance 0TRX on-chain
Total calls 3.52K lifetime triggers
Functions 20 13 read · 7 write
Bytecode 13.21Kbytes runtime
Deployed Jan 5, 2021 verified
Contract interface
ABI · 20 fns
contract.abi.json
[
{
"outputs": [
{
"type": "uint8"
}
],
"constant": true,
"name": "DEFAULT_PERIOD",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "tokenId",
"type": "uint256"
},
{
"name": "safeWallet",
"type": "address"
},
{
"name": "minAmount",
"type": "uint64"
},
{
"name": "freezeAmounts",
"type": "uint64[]"
},
{
"name": "freezeDays",
"type": "uint16[]"
}
],
"stateMutability": "Nonpayable",
"type": "Constructor"
},
{
"payable": true,
"stateMutability": "Payable",
"type": "Fallback"
},
{
"inputs": [
{
"name": "freezeAmounts",
"type": "uint64[]"
},
{
"name": "freezeDays",
"type": "uint16[]"
}
],
"name": "FreezePeriodsChanged",
"type": "Event"
},
{
"inputs": [
{
"name": "holder",
"type": "address"
},
{
"name": "recipient",
"type": "address"
},
{
"name": "amount",
"type": "uint64"
},
{
"name": "freezeDays",
"type": "uint16"
},
{
"name": "startDate",
"type": "uint32"
},
{
"name": "endDate",
"type": "uint32"
},
{
"name": "rewardsOnTop",
"type": "bool"
},
{
"name": "key",
"type": "bytes32"
}
],
"name": "TokensFrozen",
"type": "Event"
},
{
"inputs": [
{
"name": "holder",
"type": "address"
},
{
"name": "recipeint",
"type": "address"
},
{
"name": "newStatus",
"type": "uint8"
},
{
"name": "key",
"type": "bytes32"
}
],
"name": "DepositStatusChanged",
"type": "Event"
},
{
"outputs": [
{
"type": "trcToken"
}
],
"constant": true,
"name": "tokenId",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"name": "owner",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"name": "safeWallet",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint64"
}
],
"constant": true,
"name": "minAmount",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "newMinAmount",
"type": "uint64"
}
],
"name": "setMinAmount",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint16"
}
],
"constant": true,
"inputs": [
{
"name": "amount",
"type": "uint64"
},
{
"name": "periodIndex",
"type": "uint8"
}
],
"name": "getFreezeDays",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint32"
}
],
"constant": true,
"inputs": [
{
"name": "startDate",
"type": "uint32"
},
{
"name": "freezeDays",
"type": "uint16"
}
],
"name": "getEndDate",
"stateMutability": "Pure",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "getMyDepositsCount",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bytes32"
}
],
"constant": true,
"inputs": [
{
"name": "holder",
"type": "address"
},
{
"name": "index",
"type": "uint256"
}
],
"name": "makeKey",
"stateMutability": "Pure",
"type": "Function"
},
{
"outputs": [
{
"name": "status",
"type": "uint8"
},
{
"name": "holder",
"type": "address"
},
{
"name": "recipient",
"type": "address"
},
{
"name": "amount",
"type": "uint64"
},
{
"name": "startDate",
"type": "uint32"
},
{
"name": "freezeDays",
"type": "uint16"
},
{
"name": "rewardsOnTop",
"type": "bool"
},
{
"name": "key",
"type": "bytes32"
}
],
"constant": true,
"inputs": [
{
"name": "byKey",
"type": "bytes32"
}
],
"name": "getDeposit",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"name": "status",
"type": "uint8"
},
{
"name": "holder",
"type": "address"
},
{
"name": "recipient",
"type": "address"
},
{
"name": "amount",
"type": "uint64"
},
{
"name": "startDate",
"type": "uint32"
},
{
"name": "freezeDays",
"type": "uint16"
},
{
"name": "rewardsOnTop",
"type": "bool"
},
{
"name": "key",
"type": "bytes32"
}
],
"constant": true,
"inputs": [
{
"name": "index",
"type": "uint256"
}
],
"name": "getMyDeposit",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"name": "freezeAmounts",
"type": "uint64[]"
},
{
"name": "freezeDays",
"type": "uint16[]"
}
],
"constant": true,
"name": "getFreezePeriods",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "freezeAmounts",
"type": "uint64[]"
},
{
"name": "freezeDays",
"type": "uint16[]"
}
],
"name": "setFreezePeriods",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "bytes32"
}
],
"payable": true,
"inputs": [
{
"name": "period",
"type": "uint8"
},
{
"name": "recipient",
"type": "address"
},
{
"name": "rewardsOnTop",
"type": "bool"
}
],
"name": "freezeTokens",
"stateMutability": "Payable",
"type": "Function"
},
{
"payable": true,
"inputs": [
{
"name": "key",
"type": "bytes32"
},
{
"name": "period",
"type": "uint8"
},
{
"name": "recipient",
"type": "address"
},
{
"name": "rewardsOnTop",
"type": "bool"
}
],
"name": "addTokensToDeposit",
"stateMutability": "Payable",
"type": "Function"
},
{
"inputs": [
{
"name": "key",
"type": "bytes32"
}
],
"name": "unfreezeTokens",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "key",
"type": "bytes32"
}
],
"name": "emergencyUnfreezeTokens",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "key",
"type": "bytes32"
}
],
"name": "closeDeposit",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "holder",
"type": "address"
}
],
"name": "_findDepositsCount",
"stateMutability": "View",
"type": "Function"
}
]About this contract
overview
TercFreeze is a verified smart contract on Tron, deployed from TTVk7JoV7v6vp6yGjpJHC9S3VMiHk71gSR on Jan 5, 2021. It has been called 3.52K 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.