773 txs
937 calls
constructor
constructor()
functions
getPrice
viewfunction getPrice() view returns (uint256)
owner
viewfunction owner() view returns (address)
trxEthPrice
viewfunction trxEthPrice() view returns (uint256)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
updatePrice
nonpayablefunction updatePrice(uint256 _trxEthPrice)
events
PriceUpdated
event PriceUpdated(uint256 newPrice, uint256 timestamp)
errors
No errors.
creation bytecode
0x6080604052348015600f57600080fd5b50600180546001600160a01b0319163317905561033b806100316000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80638da5cb5b116100505780638da5cb5b1461009d57806398d5fdca146100c8578063f2fde38b146100d057600080fd5b8063183c9b4f1461006c5780638d6cc56d14610088575b600080fd5b61007560005481565b6040519081526020015b60405180910390f35b61009b6100963660046102bc565b6100e3565b005b6001546100b0906001600160a01b031681565b6040516001600160a01b03909116815260200161007f565b600054610075565b61009b6100de3660046102d5565b6101d2565b6001546001600160a01b031633146101425760405162461bcd60e51b815260206004820152601760248201527f43616c6c6572206973206e6f7420746865206f776e657200000000000000000060448201526064015b60405180910390fd5b600081116101925760405162461bcd60e51b815260206004820152600d60248201527f496e76616c6964207072696365000000000000000000000000000000000000006044820152606401610139565b6000819055604080518281524260208201527f945c1c4e99aa89f648fbfe3df471b916f719e16d960fcec0737d4d56bd696838910160405180910390a150565b6001546001600160a01b0316331461022c5760405162461bcd60e51b815260206004820152601760248201527f43616c6c6572206973206e6f7420746865206f776e65720000000000000000006044820152606401610139565b6001600160a01b0381166102825760405162461bcd60e51b815260206004820152601d60248201527f4e6577206f776e657220697320746865207a65726f20616464726573730000006044820152606401610139565b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000602082840312156102ce57600080fd5b5035919050565b6000602082840312156102e757600080fd5b81356001600160a01b03811681146102fe57600080fd5b939250505056fea26469706673582212205baafa5b274052df94fbedac1455740d1af3fd6ec17202717f73281814af9bab64736f6c634300081a0033