XOracle

Verified contract

Active on Ethereum with 1,416 txns
Deployed by via 0xfa77b7e5 at 17775608
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "XOracle"

0xaa1f9b8a299f42ac5631d9fdd97efe493d72b5da80a8cc5ab083309f57110100
0xaf4ffdd3a3268535f583fe9f4c683e1dfc4236cbbc5c3e11838e893b5891fe77
0x9cb7368f892ec5e51d37c12c41ed84eb9e9b72411017ae569a5fd3ab5bfb6e70
0x1677ed70da65fffc3a7a1d17fb11b87378a11082fe1b2d63d2ac516ee90c6609
0x8e03798649337cca23404794d4aef654b584c18fdfa7ede61705be04f6028fa2
0xd4630fe3d30dc0d2b8816e9e381fa421bc2fe23fbeacdddd1282e0c80de929e9
0x358ef95e90fdbcb8ca61f925655544ba90c3b00bf4d0a962d1cd0bab3edfc58b
0x484a2829d2ed2eef07337e0e4b8e9ed8672a84ba035fd2e6c9c364e1dcdaef59
0xb6bae15efdda8a0d429e37f28d467d5c77a34e06969a452c2dffafc6eefce030
0x5964c8373353ba94858d3700dad19fd51bc9ed321d2d9a5857dadf17ac9884a6

Functions
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 assetview returns (uint256)
getPrice(address assetview returns (uint64uint64uint256uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getStalenessThreshold(address assetview returns (uint32)
hasRole(bytes32 roleaddress accountview returns (bool)
prices(addressview returns (address assetuint64 timestampuint64 prev_timestampuint256 priceuint256 prev_price)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
grantRole(bytes32 roleaddress account
putPrice(address assetuint64 timestampuint256 price
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setStalenessThresholds(address[] tokensuint32[] thresholds
updatePrices(struct IOracleNewPrice[] _array
Events
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
newPrice(address indexed _assetuint64 _timestampuint256 _price
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.