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) |
---|---|---|---|---|---|---|---|
| 21244922 | 29 minutes ago | | | 0 | 0.0011061644 | |
| 21240452 | 15 hours ago | | | 0 | 0.0013983396 | |
| 21238062 | a day ago | | | 0 | 0.0017106790 | |
| 21233589 | 2 days ago | | | 0 | 0.0012560859 | |
| 21231200 | 2 days ago | | | 0 | 0.0013488052 | |
| 21226729 | 3 days ago | | | 0 | 0.0012432841 | |
| 21224336 | 3 days ago | | | 0 | 0.0015458160 | |
| 21219851 | 4 days ago | | | 0 | 0.0014137555 | |
| 21217458 | 4 days ago | | | 0 | 0.0011526094 | |
| 21212978 | 4 days ago | | | 0 | 0.0013815929 |
ABI
ABI objects
Getter at block 21245064
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
baseToken() view returns (address)
0x0e1f78ea866f9185ad5b9e8f9fb158430a7c4c63
decimals() pure returns (uint8)
18
Read-only
getLatestPrice(address quoteToken) view returns (uint256 price)
getPrice(address asset) view returns (uint64, uint64, uint256, uint256)
getPriceTolerance(address quoteToken) view returns (uint256 minPrice, uint256 maxPrice)
getPrices(address[] assets) view returns (struct IOraclePrice[])
getQuoteToken(address tokenX, address tokenY) view returns (address quoteToken)
getQuoteTokenAndPrice(address tokenX, address tokenY) view returns (address quoteToken, uint256 price)
getRoleAdmin(bytes32 role) view returns (bytes32)
getStalenessThreshold(address quoteToken) 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)
setPriceTolerance(address quoteToken, uint256 minPrice, uint256 maxPrice)
setStalenessThresholds(address[] quoteTokens, uint32[] thresholds)
updatePrices(struct IOracleNewPrice[] _array)
PriceToleranceUpdated(address indexed quoteToken, uint256 minPrice, uint256 maxPrice)
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)
StalenessThresholdUpdated(address indexed quoteToken, uint32 threshold)
newPrice(address indexed _asset, uint64 _timestamp, uint256 _price)
constructor(address baseToken_)
This contract contains no fallback and receive objects.
AddressCodeSizeZero()
AddressZero()
LengthMismatched()
PriceNotInTolerance()
PriceStale()
PriceToleranceInvalid()
PriceZero()
TimestampInvalid()
TokensInvalid()