Poker · Contract on Tron
Smart contract
UNVERIFIED · mainnet
{}
Poker
Address TCYckCyy4o9z6WvbE6dfCPaESzFQZmCGSV
Contract balance 0TRX on-chain
Total calls 0 lifetime triggers
Functions 27 15 read · 12 write
Bytecode 20.20Kbytes runtime
Deployed — unverified
Contract interface
ABI · 27 fns
contract.abi.json
[
{
"inputs": [
{
"name": "requestId",
"type": "uint256"
}
],
"name": "claimWinAmount",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "_jackpotFeeMultiplier",
"type": "uint256"
}
],
"name": "setJackpotFeeMultiplier",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"name": "betColor",
"type": "uint128"
},
{
"name": "betPoker",
"type": "uint128"
},
{
"name": "winAmount",
"type": "uint128"
},
{
"name": "refAmount",
"type": "uint128"
},
{
"name": "player",
"type": "address"
},
{
"name": "chosenColor",
"type": "uint8"
},
{
"name": "isWinAmountClaimed",
"type": "bool"
}
],
"constant": true,
"inputs": [
{
"type": "uint256"
}
],
"name": "games",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "getLastRequestId",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "_maxBet",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"constant": true,
"inputs": [
{
"name": "requestId",
"type": "uint256"
},
{
"name": "colorCards",
"type": "uint8[]"
}
],
"name": "getColorResult",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint64"
},
{
"type": "uint64"
},
{
"type": "uint8"
}
],
"constant": true,
"inputs": [
{
"name": "requestId",
"type": "uint256"
}
],
"name": "getRandomNumberInfo",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "_houseEdge",
"type": "uint256"
}
],
"name": "setHouseEdge",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"name": "getPoolController",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"name": "_operator",
"stateMutability": "View",
"type": "Function"
},
{
"name": "renounceOwnership",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"constant": true,
"name": "supportsIGame",
"stateMutability": "View",
"type": "Function"
},
{
"name": "sendFundsToPool",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "oracleAddress",
"type": "address"
}
],
"name": "setOracle",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"payable": true,
"inputs": [
{
"name": "betColor",
"type": "uint256"
},
{
"name": "chosenColor",
"type": "uint256"
}
],
"name": "play",
"stateMutability": "Payable",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"name": "getOracle",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "maxBet",
"type": "uint256"
}
],
"name": "setMaxBet",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
},
{
"type": "uint256"
},
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "requestId",
"type": "uint256"
},
{
"name": "winPoker",
"type": "uint8"
},
{
"name": "winColor",
"type": "bool"
}
],
"name": "calculateWinAmount",
"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"
},
{
"inputs": [
{
"name": "requestid",
"type": "uint256"
},
{
"name": "winAmount",
"type": "uint128"
},
{
"name": "refAmount",
"type": "uint128"
},
{
"name": "bitCards",
"type": "uint64"
}
],
"name": "setGameResult",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "operator",
"type": "address"
}
],
"name": "setOperator",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "jackpotFeeMultiplier",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "poolControllerAddress",
"type": "address"
}
],
"name": "setPoolController",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint8"
}
],
"constant": true,
"inputs": [
{
"name": "_cardsArray",
"type": "uint8[]"
}
],
"name": "getPokerResult",
"stateMutability": "Pure",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "houseEdge",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "oracleAddress",
"type": "address"
},
{
"name": "poolControllerAddress",
"type": "address"
},
{
"name": "operator",
"type": "address"
}
],
"stateMutability": "Nonpayable",
"type": "Constructor"
},
{
"inputs": [
{
"name": "winAmount",
"type": "uint256"
},
{
"name": "winColor",
"type": "bool"
},
{
"name": "winPoker",
"type": "uint8"
},
{
"name": "requestId",
"type": "uint256"
},
{
"name": "cards",
"type": "uint256"
},
{
"name": "player",
"type": "address"
}
],
"name": "PokerResult",
"type": "Event"
},
{
"inputs": [
{
"name": "requestId",
"type": "uint256"
}
],
"name": "GameStart",
"type": "Event"
},
{
"inputs": [
{
"name": "requestId",
"type": "uint256"
}
],
"name": "WinAmountClaimed",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "Event"
}
]About this contract
overview
Poker 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.