0 txs
0 calls
constructor
constructor(address _oracle)
functions
getRate
viewfunction getRate() view returns (uint256)
oracle
viewfunction oracle() view returns (address)
rate
viewfunction rate() view returns (uint256)
events
No events.
errors
IncompleteRound
error IncompleteRound()
InvalidPrice
error InvalidPrice()
StalePrice
error StalePrice()
creation bytecode
0x60a060405234801561000f575f80fd5b506040516105de3803806105de83398101604081905261002e9161003f565b6001600160a01b031660805261006c565b5f6020828403121561004f575f80fd5b81516001600160a01b0381168114610065575f80fd5b9392505050565b60805161054e6100905f395f8181606b0152818160c70152610221015261054e5ff3fe608060405234801561000f575f80fd5b506004361061003f575f3560e01c80632c4e722e14610043578063679aefce1461005e5780637dc0d1d014610066575b5f80fd5b61004b6100b2565b6040519081526020015b60405180910390f35b61004b6100c0565b61008d7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610055565b5f6100bb6100c0565b905090565b5f805f805f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa15801561012e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061015291906102fe565b9450945050935093508369ffffffffffffffffffff168169ffffffffffffffffffff1610156101ad576040517f19abf40e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b815f036101e6576040517f8ad52bdd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f831361021e576040517ebfc92100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610288573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102ac919061034a565b6102ba9060ff16600a6104be565b6102cc85670de0b6b3a76400006104c9565b6102d691906104e0565b9695505050505050565b805169ffffffffffffffffffff811681146102f9575f80fd5b919050565b5f805f805f60a08688031215610312575f80fd5b61031b866102e0565b945060208601519350604086015192506060860151915061033e608087016102e0565b90509295509295909350565b5f6020828403121561035a575f80fd5b815160ff8116811461036a575f80fd5b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b600181815b808511156103f757817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048211156103dd576103dd610371565b808516156103ea57918102915b93841c93908002906103a3565b509250929050565b5f8261040d575060016104b8565b8161041957505f6104b8565b816001811461042f576002811461043957610455565b60019150506104b8565b60ff84111561044a5761044a610371565b50506001821b6104b8565b5060208310610133831016604e8410600b8410161715610478575081810a6104b8565b610482838361039e565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048211156104b4576104b4610371565b0290505b92915050565b5f61036a83836103ff565b80820281158282048414176104b8576104b8610371565b5f82610513577f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b50049056fea264697066735822122089b39f40cf9f247cad88f7f6c6052d337ebd5e3377e03467131ec6feb85fde0864736f6c63430008150033000000000000000000000000b4ac4078dda43d0eb6bb9e08b8c12a73f9feaa7d