Contract · Contract on Tron
Smart contract
UNVERIFIED · mainnet
{}
Contract
Address TD8Py6DoH3KKSnq2w6JzEXn87SUSJDBjFJ
Contract balance 0TRX on-chain
Total calls 0 lifetime triggers
Functions 34 18 read · 16 write
Bytecode 10.21Kbytes runtime
Deployed — unverified
Contract interface
ABI · 34 fns
contract.abi.json
[
{
"inputs": [
{
"name": "usdt_",
"type": "address"
},
{
"name": "admin_",
"type": "address"
},
{
"name": "operator_",
"type": "address"
},
{
"name": "feeReceiver_",
"type": "address"
},
{
"name": "platformSigner_",
"type": "address"
}
],
"stateMutability": "Nonpayable",
"type": "Constructor"
},
{
"outputs": [
{
"type": "uint256"
}
],
"name": "accruedFees",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"name": "admin",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "orderIds",
"type": "bytes32[]"
}
],
"name": "batchRefund",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "orderIds",
"type": "bytes32[]"
}
],
"name": "batchRelease",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "orderId",
"type": "bytes32"
},
{
"name": "deadline",
"type": "uint256"
},
{
"name": "signature",
"type": "bytes"
}
],
"name": "claimOrder",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "orderId",
"type": "bytes32"
},
{
"name": "arbiter",
"type": "address"
},
{
"name": "signature",
"type": "bytes"
}
],
"name": "dispute",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"name": "feeReceiver",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"name": "getBalance",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bytes32"
}
],
"inputs": [
{
"name": "orderId",
"type": "bytes32"
},
{
"name": "seller",
"type": "address"
},
{
"name": "amount",
"type": "uint256"
},
{
"name": "feeRate",
"type": "uint256"
},
{
"name": "deadline",
"type": "uint256"
}
],
"name": "getClaimDigest",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bytes32"
}
],
"inputs": [
{
"name": "orderId",
"type": "bytes32"
},
{
"name": "arbiter",
"type": "address"
}
],
"name": "getDisputeDigest",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "tuple"
}
],
"inputs": [
{
"name": "orderId",
"type": "bytes32"
}
],
"name": "getOrder",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bytes32"
}
],
"inputs": [
{
"name": "orderId",
"type": "bytes32"
},
{
"name": "buyer",
"type": "address"
},
{
"name": "seller",
"type": "address"
},
{
"name": "amount",
"type": "uint256"
},
{
"name": "feeRate",
"type": "uint256"
},
{
"name": "deadline",
"type": "uint256"
}
],
"name": "getPayDigest",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "tuple"
}
],
"inputs": [
{
"name": "merchant",
"type": "address"
},
{
"name": "categoryId",
"type": "bytes32"
}
],
"name": "getSubscription",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bytes32"
}
],
"inputs": [
{
"name": "merchant",
"type": "address"
},
{
"name": "categoryId",
"type": "bytes32"
},
{
"name": "reservationId",
"type": "bytes32"
},
{
"name": "months",
"type": "uint256"
},
{
"name": "amount",
"type": "uint256"
},
{
"name": "nonce",
"type": "uint256"
},
{
"name": "deadline",
"type": "uint256"
}
],
"name": "getSubscriptionDigest",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"inputs": [
{
"name": "merchant",
"type": "address"
},
{
"name": "categoryId",
"type": "bytes32"
}
],
"name": "isSubscriptionActive",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"name": "operator",
"stateMutability": "View",
"type": "Function"
},
{
"name": "pause",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"name": "paused",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "orderId",
"type": "bytes32"
},
{
"name": "seller",
"type": "address"
},
{
"name": "amount",
"type": "uint256"
},
{
"name": "feeRate",
"type": "uint256"
},
{
"name": "deadline",
"type": "uint256"
},
{
"name": "signature",
"type": "bytes"
}
],
"name": "pay",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "categoryId",
"type": "bytes32"
},
{
"name": "reservationId",
"type": "bytes32"
},
{
"name": "months",
"type": "uint256"
},
{
"name": "amount",
"type": "uint256"
},
{
"name": "nonce",
"type": "uint256"
},
{
"name": "deadline",
"type": "uint256"
},
{
"name": "signature",
"type": "bytes"
}
],
"name": "paySubscription",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"name": "platformSigner",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "orderId",
"type": "bytes32"
}
],
"name": "refund",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "orderId",
"type": "bytes32"
}
],
"name": "release",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "newFeeReceiver",
"type": "address"
}
],
"name": "setFeeReceiver",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "newOperator",
"type": "address"
}
],
"name": "setOperator",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "newSigner",
"type": "address"
}
],
"name": "setPlatformSigner",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"name": "totalOrders",
"stateMutability": "Pure",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"name": "totalVolume",
"stateMutability": "Pure",
"type": "Function"
},
{
"name": "unpause",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"name": "usdt",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"inputs": [
{
"type": "bytes32"
}
],
"name": "usedReservationIds",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "to",
"type": "address"
},
{
"name": "amount",
"type": "uint256"
}
],
"name": "withdrawFees",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"indexed": true,
"name": "orderId",
"type": "bytes32"
},
{
"indexed": true,
"name": "buyer",
"type": "address"
},
{
"indexed": true,
"name": "arbiter",
"type": "address"
}
],
"name": "DisputeOpened",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "orderId",
"type": "bytes32"
},
{
"name": "buyerWins",
"type": "bool"
},
{
"indexed": true,
"name": "resolver",
"type": "address"
}
],
"name": "DisputeResolved",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "oldReceiver",
"type": "address"
},
{
"indexed": true,
"name": "newReceiver",
"type": "address"
}
],
"name": "FeeReceiverChanged",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "to",
"type": "address"
},
{
"name": "amount",
"type": "uint256"
}
],
"name": "FeesWithdrawn",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "oldOperator",
"type": "address"
},
{
"indexed": true,
"name": "newOperator",
"type": "address"
}
],
"name": "OperatorChanged",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "orderId",
"type": "bytes32"
},
{
"indexed": true,
"name": "buyer",
"type": "address"
},
{
"indexed": true,
"name": "seller",
"type": "address"
},
{
"name": "amount",
"type": "uint256"
},
{
"name": "feeRate",
"type": "uint256"
}
],
"name": "OrderPaid",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "orderId",
"type": "bytes32"
},
{
"indexed": true,
"name": "buyer",
"type": "address"
},
{
"name": "amount",
"type": "uint256"
}
],
"name": "OrderRefunded",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "orderId",
"type": "bytes32"
},
{
"indexed": true,
"name": "seller",
"type": "address"
},
{
"name": "sellerAmount",
"type": "uint256"
},
{
"name": "platformFee",
"type": "uint256"
}
],
"name": "OrderReleased",
"type": "Event"
},
{
"inputs": [
{
"name": "account",
"type": "address"
}
],
"name": "Paused",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "oldSigner",
"type": "address"
},
{
"indexed": true,
"name": "newSigner",
"type": "address"
}
],
"name": "PlatformSignerChanged",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "merchant",
"type": "address"
},
{
"indexed": true,
"name": "categoryId",
"type": "bytes32"
},
{
"indexed": true,
"name": "reservationId",
"type": "bytes32"
},
{
"name": "amount",
"type": "uint256"
},
{
"name": "expireAt",
"type": "uint256"
}
],
"name": "SubscriptionPaid",
"type": "Event"
},
{
"inputs": [
{
"name": "account",
"type": "address"
}
],
"name": "Unpaused",
"type": "Event"
},
{
"name": "EnforcedPause",
"type": "Error"
},
{
"name": "ExpectedPause",
"type": "Error"
}
]About this contract
overview
Contract 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.