ETH Price: $2,217.57 (+2.43%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer Ownersh...112006182020-11-06 0:55:011981 days ago1604624101IN
PoolTogether: RNG Blockhash
0 ETH0.0009771331.68491872

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
Source Code Verified Exact Match

Contract Name

RNGBlockhash

Compiler Version
v0.6.6+commit.6c089d02
Optimization Enabled
Yes with 200 runs
Other Settings
default evmVersion
License
GNU GPLv3
Contract Source Code (Solidity Standard Json-Input format)
Contract Security Audit
No Contract Security Audit SubmittedSubmit Audit Here
Contract ABI
API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint32","name":"requestId","type":"uint32"},{"indexed":false,"internalType":"uint256","name":"randomNumber","type":"uint256"}],"name":"RandomNumberCompleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint32","name":"requestId","type":"uint32"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RandomNumberRequested","type":"event"},{"inputs":[],"name":"getLastRequestId","outputs":[{"internalType":"uint32","name":"requestId","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRequestFee","outputs":[{"internalType":"address","name":"feeToken","type":"address"},{"internalType":"uint256","name":"requestFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"requestId","type":"uint32"}],"name":"isRequestComplete","outputs":[{"internalType":"bool","name":"isCompleted","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"requestId","type":"uint32"}],"name":"randomNumber","outputs":[{"internalType":"uint256","name":"randomNum","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"requestRandomNumber","outputs":[{"internalType":"uint32","name":"requestId","type":"uint32"},{"internalType":"uint32","name":"lockBlock","type":"uint32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
608060405234801561001057600080fd5b5060006100246001600160e01b0361007316565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350610077565b3390565b6106c3806100866000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638678a7b21161005b5780638678a7b21461011a5780638da5cb5b146101455780639d2a5f9814610169578063f2fde38b1461019e57610088565b80630d37b5371461008d57806319c2b4c3146100b85780633a19b9bc146100d9578063715018a614610110575b600080fd5b6100956101c4565b604080516001600160a01b03909316835260208301919091528051918290030190f35b6100c06101cb565b6040805163ffffffff9092168252519081900360200190f35b6100fc600480360360208110156100ef57600080fd5b503563ffffffff166101de565b604080519115158252519081900360200190f35b6101186101ef565b005b6101226102a3565b6040805163ffffffff938416815291909216602082015281519081900390910190f35b61014d610307565b604080516001600160a01b039092168252519081900360200190f35b61018c6004803603602081101561017f57600080fd5b503563ffffffff16610316565b60408051918252519081900360200190f35b610118600480360360208110156101b457600080fd5b50356001600160a01b03166103b6565b6000809091565b600054600160a01b900463ffffffff1690565b60006101e9826104c0565b92915050565b6101f76104e2565b6000546001600160a01b03908116911614610259576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000806102ae6104e6565b63ffffffff818116600081815260026020526040808220805463ffffffff19164395861617905551939550919350339290917fcf635b20f2defc1e71326dc4f0b616fa676e29a5bae87da19fcaddc550b33f0391a39091565b6000546001600160a01b031690565b6000610321826104c0565b610372576040805162461bcd60e51b815260206004820152601f60248201527f524e47426c6f636b686173682f726571756573742d696e636f6d706c65746500604482015290519081900360640190fd5b63ffffffff821660009081526001602052604090205461039d5761039d8261039861053d565b610546565b5063ffffffff1660009081526001602052604090205490565b6103be6104e2565b6000546001600160a01b03908116911614610420576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166104655760405162461bcd60e51b81526004018080602001828103825260268152602001806106426026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b63ffffffff908116600090815260026020526040902054811660010116431190565b3390565b600080546105109061050b9063ffffffff600160a01b90910481169060019061059716565b6105f8565b6000805463ffffffff60a01b1916600160a01b63ffffffff93841681029190911791829055900416919050565b60001943014090565b63ffffffff8216600081815260016020908152604091829020849055815184815291517f629394f18de7accce1179c28c39be59503a57cbcf45980a2772743b041b362719281900390910190a25050565b6000828201838110156105f1576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000640100000000821061063d5760405162461bcd60e51b81526004018080602001828103825260268152602001806106686026913960400191505060405180910390fd5b509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737353616665436173743a2076616c756520646f65736e27742066697420696e2033322062697473a2646970667358221220da9756ea6235c31ce2c22e7387ddf5d83dc4e14bf7c378e155090ad5109ad18d64736f6c63430006060033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100885760003560e01c80638678a7b21161005b5780638678a7b21461011a5780638da5cb5b146101455780639d2a5f9814610169578063f2fde38b1461019e57610088565b80630d37b5371461008d57806319c2b4c3146100b85780633a19b9bc146100d9578063715018a614610110575b600080fd5b6100956101c4565b604080516001600160a01b03909316835260208301919091528051918290030190f35b6100c06101cb565b6040805163ffffffff9092168252519081900360200190f35b6100fc600480360360208110156100ef57600080fd5b503563ffffffff166101de565b604080519115158252519081900360200190f35b6101186101ef565b005b6101226102a3565b6040805163ffffffff938416815291909216602082015281519081900390910190f35b61014d610307565b604080516001600160a01b039092168252519081900360200190f35b61018c6004803603602081101561017f57600080fd5b503563ffffffff16610316565b60408051918252519081900360200190f35b610118600480360360208110156101b457600080fd5b50356001600160a01b03166103b6565b6000809091565b600054600160a01b900463ffffffff1690565b60006101e9826104c0565b92915050565b6101f76104e2565b6000546001600160a01b03908116911614610259576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000806102ae6104e6565b63ffffffff818116600081815260026020526040808220805463ffffffff19164395861617905551939550919350339290917fcf635b20f2defc1e71326dc4f0b616fa676e29a5bae87da19fcaddc550b33f0391a39091565b6000546001600160a01b031690565b6000610321826104c0565b610372576040805162461bcd60e51b815260206004820152601f60248201527f524e47426c6f636b686173682f726571756573742d696e636f6d706c65746500604482015290519081900360640190fd5b63ffffffff821660009081526001602052604090205461039d5761039d8261039861053d565b610546565b5063ffffffff1660009081526001602052604090205490565b6103be6104e2565b6000546001600160a01b03908116911614610420576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166104655760405162461bcd60e51b81526004018080602001828103825260268152602001806106426026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b63ffffffff908116600090815260026020526040902054811660010116431190565b3390565b600080546105109061050b9063ffffffff600160a01b90910481169060019061059716565b6105f8565b6000805463ffffffff60a01b1916600160a01b63ffffffff93841681029190911791829055900416919050565b60001943014090565b63ffffffff8216600081815260016020908152604091829020849055815184815291517f629394f18de7accce1179c28c39be59503a57cbcf45980a2772743b041b362719281900390910190a25050565b6000828201838110156105f1576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000640100000000821061063d5760405162461bcd60e51b81526004018080602001828103825260268152602001806106686026913960400191505060405180910390fd5b509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737353616665436173743a2076616c756520646f65736e27742066697420696e2033322062697473a2646970667358221220da9756ea6235c31ce2c22e7387ddf5d83dc4e14bf7c378e155090ad5109ad18d64736f6c63430006060033
🤖 Code Reader Beta

Generate instant answers for your smart contract questions using Al Models. Read more.

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.