XOracle
Verified contract
Active on
Ethereum with 1,416 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
No balances found for "XOracle"
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20724258 | 3 months ago | | | 0 | 0.00054887202 | |
| 20723208 | 3 months ago | | | 0 | 0.00081933108 | |
| 20718665 | 3 months ago | | | 0 | 0.00052577607 | |
| 20718368 | 3 months ago | | | 0 | 0.00044225885 | |
| 20716355 | 3 months ago | | | 0 | 0.00060083159 | |
| 20711802 | 3 months ago | | | 0 | 0.00053947225 | |
| 20711505 | 3 months ago | | | 0 | 0.00045014375 | |
| 20710535 | 3 months ago | | | 0 | 0.00047747067 | |
| 20709485 | 3 months ago | | | 0 | 0.00042740097 | |
| 20704640 | 3 months ago | | | 0 | 0.00043077946 |
ABI
ABI objects
Getter at block 21275350
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
FEEDER_ROLE() view returns (bytes32)
0x80a586cc4ecf40a390b370be075aa38ab3cc512c5c1a7bc1007974dbdf2663c7
GUARDIAN_ROLE() view returns (bytes32)
0x55435dd261a4b9b3364963f7738a7a662ad9c84396d64be3365284bb7f0a5041
STALENESS_DEFAULT_THRESHOLD() view returns (uint32)
86400
decimals() pure returns (uint8)
18
Read-only
getLatestPrice(address asset) view returns (uint256)
getPrice(address asset) view returns (uint64, uint64, uint256, uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getStalenessThreshold(address asset) view returns (uint32)
hasRole(bytes32 role, address account) view returns (bool)
prices(address) view returns (address asset, uint64 timestamp, uint64 prev_timestamp, uint256 price, uint256 prev_price)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events grantRole(bytes32 role, address account)
putPrice(address asset, uint64 timestamp, uint256 price)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setStalenessThresholds(address[] tokens, uint32[] thresholds)
updatePrices(struct IOracleNewPrice[] _array)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
newPrice(address indexed _asset, uint64 _timestamp, uint256 _price)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.