Verified contractPartial
DSG_Turntable
Address0x5a889cba88c2c7cc67652c2de4e46fc4b9aba9ce
- Balance
0 ETH
- Transactions
157
- Compiler
solc 0.4.25
- Same code
Only this contract
Details
- Compiler
- solc 0.4.25+commit.59dbf8f1
- Language
- solidity
- Optimization
- Yes, 200 runs
- EVM version
- byzantium
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 7,508,999
- Creation transaction
- 0xafb577f214…4c0ed299b2
Read17
- owners(uint256) → (address)
- jackpotBalance() → (uint256)
- maxBet() → (uint256)
- minBetForJackpot() → (uint256)
- candidates(uint256) → (address)
- paused() → (bool)
- totalTurnover() → (uint256)
- minContractBalance() → (uint256)
- getContractBalance() → (uint256)
- ownerDeposit() → (uint256)
- nextPayout() → (uint256)
- minBet() → (uint256)
- totalDividends() → (uint256)
- checkSolvency(uint256) → (bool)
- totalPlayed() → (uint256)
- totalWinnings() → (uint256)
- DSG_ADDRESS() → (address)
Write12
- setMinContractBalance(uint256)
- setMinBetForJackpot(uint256)
- pauseGame(bool)
- result()
- transferOwnership(address,uint8)
- sendOwnerDeposit(address)
- setMaxBet(uint256)
- setMinBet(uint256)
- play()
- sendDividends()
- deposit()
- confirmOwner(uint8)
Events4
- Dividends(uint256,uint256,uint256)
- Jackpot(address,uint256,uint256)
- PlaceBet(address,uint256,uint256)
- Result(address,uint256,uint256,uint256,uint256,uint256)
ABI as JSON
[
{
"name": "owners",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "jackpotBalance",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "setMinContractBalance",
"type": "function",
"inputs": [
{
"name": "eth",
"type": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "setMinBetForJackpot",
"type": "function",
"inputs": [
{
"name": "eth",
"type": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "maxBet",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "minBetForJackpot",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "candidates",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "pauseGame",
"type": "function",
"inputs": [
{
"name": "option",
"type": "bool"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "paused",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "totalTurnover",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "result",
"type": "function",
"inputs": [],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "minContractBalance",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "transferOwnership",
"type": "function",
"inputs": [
{
"name": "newOwnerAddress",
"type": "address"
},
{
"name": "k",
"type": "uint8"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "getContractBalance",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "ownerDeposit",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "nextPayout",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "sendOwnerDeposit",
"type": "function",
"inputs": [
{
"name": "recipient",
"type": "address"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "setMaxBet",
"type": "function",
"inputs": [
{
"name": "eth",
"type": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "setMinBet",
"type": "function",
"inputs": [
{
"name": "eth",
"type": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "play",
"type": "function",
"inputs": [],
"outputs": [],
"payable": true,
"constant": false,
"stateMutability": "payable"
},
{
"name": "minBet",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "totalDividends",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "checkSolvency",
"type": "function",
"inputs": [
{
"name": "bet",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "totalPlayed",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "sendDividends",
"type": "function",
"inputs": [],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "totalWinnings",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "DSG_ADDRESS",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "deposit",
"type": "function",
"inputs": [],
"outputs": [],
"payable": true,
"constant": false,
"stateMutability": "payable"
},
{
"name": "confirmOwner",
"type": "function",
"inputs": [
{
"name": "k",
"type": "uint8"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"type": "constructor",
"inputs": [
{
"name": "secondOwner",
"type": "address"
}
],
"payable": true,
"stateMutability": "payable"
},
{
"name": "Dividends",
"type": "event",
"inputs": [
{
"name": "balance",
"type": "uint256",
"indexed": false
},
{
"name": "dividends",
"type": "uint256",
"indexed": false
},
{
"name": "timestamp",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"name": "Jackpot",
"type": "event",
"inputs": [
{
"name": "player",
"type": "address",
"indexed": true
},
{
"name": "jackpot",
"type": "uint256",
"indexed": false
},
{
"name": "timestamp",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"name": "PlaceBet",
"type": "event",
"inputs": [
{
"name": "player",
"type": "address",
"indexed": true
},
{
"name": "bet",
"type": "uint256",
"indexed": false
},
{
"name": "timestamp",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"name": "Result",
"type": "event",
"inputs": [
{
"name": "player",
"type": "address",
"indexed": true
},
{
"name": "random",
"type": "uint256",
"indexed": true
},
{
"name": "totalWinAmount",
"type": "uint256",
"indexed": false
},
{
"name": "jackpotBalance",
"type": "uint256",
"indexed": false
},
{
"name": "bet",
"type": "uint256",
"indexed": false
},
{
"name": "winRate",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.