Verified contractPartial
Lotto
Address0xdf415bb7ae2363ecbb6a595f07cbc2fc0fd417d3
- Balance
0 ETH
- Transactions
19
- Compiler
solc 0.1.3
- Same code
Only this contract
Details
- Compiler
- solc 0.1.3+commit.028f561d
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: no, runtime code: yes
- Verified on Sourcify
- Created in block
- 122,130
- Creation transaction
- 0x87c3f6224e…42c6019008
Write12
- getTickets(uint256) → (address[])
- getPot(uint256) → (uint256)
- getIsCashed(uint256,uint256) → (bool)
- getSubpotsCount(uint256) → (uint256)
- calculateWinner(uint256,uint256) → (address)
- getRoundIndex() → (uint256)
- getHashOfBlock(uint256) → (uint256)
- getBlocksPerRound() → (uint256)
- getTicketPrice() → (uint256)
- getSubpot(uint256) → (uint256)
- cash(uint256,uint256)
- getDecisionBlockNumber(uint256,uint256) → (uint256)
ABI as JSON
[
{
"name": "getTickets",
"type": "function",
"inputs": [
{
"name": "roundIndex",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address[]"
}
],
"constant": false
},
{
"name": "getPot",
"type": "function",
"inputs": [
{
"name": "roundIndex",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"constant": false
},
{
"name": "getIsCashed",
"type": "function",
"inputs": [
{
"name": "roundIndex",
"type": "uint256"
},
{
"name": "subpotIndex",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"constant": false
},
{
"name": "getSubpotsCount",
"type": "function",
"inputs": [
{
"name": "roundIndex",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"constant": false
},
{
"name": "calculateWinner",
"type": "function",
"inputs": [
{
"name": "roundIndex",
"type": "uint256"
},
{
"name": "subpotIndex",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address"
}
],
"constant": false
},
{
"name": "getRoundIndex",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"constant": false
},
{
"name": "getHashOfBlock",
"type": "function",
"inputs": [
{
"name": "blockIndex",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"constant": false
},
{
"name": "getBlocksPerRound",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"constant": false
},
{
"name": "getTicketPrice",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"constant": false
},
{
"name": "getSubpot",
"type": "function",
"inputs": [
{
"name": "roundIndex",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"constant": false
},
{
"name": "cash",
"type": "function",
"inputs": [
{
"name": "roundIndex",
"type": "uint256"
},
{
"name": "subpotIndex",
"type": "uint256"
}
],
"outputs": [],
"constant": false
},
{
"name": "getDecisionBlockNumber",
"type": "function",
"inputs": [
{
"name": "roundIndex",
"type": "uint256"
},
{
"name": "subpotIndex",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"constant": false
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.