RootPriceOracle
Verified contract
Active on
Ethereum with 73 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
No balances found for "RootPriceOracle"
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20713760 | 3 months ago | | | 0 | 0.00040567700 | |
| 20648865 | 3 months ago | | | 0 | 0.000038702097 | |
| 20648864 | 3 months ago | | | 0 | 0.000040551371 | |
| 20648855 | 3 months ago | | | 0 | 0.000039508143 | |
| 20648854 | 3 months ago | | | 0 | 0.000037921419 | |
| 20648826 | 3 months ago | | | 0 | 0.000040738412 | |
| 20648738 | 3 months ago | | | 0 | 0.000053849980 | |
| 20648735 | 3 months ago | | | 0 | 0.000053674866 | |
| 20648732 | 3 months ago | | | 0 | 0.000055936550 | |
| 20648727 | 3 months ago | | | 0 | 0.000049420145 |
ABI
ABI objects
Getter at block 21295553
accessController() view returns (address)
0x37767cbff88cb623e9404e959560984f7d742df6
getSystemRegistry() view returns (address)
0x2218f90a98b0c070676f249ef44834686daa4285
Read-only
poolMappings(address) view returns (address)
safeSpotPriceThresholds(address) view returns (uint256)
tokenMappings(address) view returns (address)
State-modifying
Events getCeilingPrice(address lpToken, address pool, address quote) returns (uint256 price)
getFloorCeilingPrice(address pool, address lpToken, address inQuote, bool ceiling) returns (uint256 floorOrCeilingPerLpToken)
getFloorPrice(address lpToken, address pool, address quote) returns (uint256 price)
getPriceInEth(address token) returns (uint256 price)
getPriceInQuote(address base, address quote) returns (uint256)
getRangePricesLP(address lpToken, address pool, address quoteToken) returns (uint256 spotPriceInQuote, uint256 safePriceInQuote, bool isSpotSafe)
getSpotPriceInEth(address token, address pool) returns (uint256 price)
registerMapping(address token, address oracle)
registerPoolMapping(address pool, address oracle)
removeMapping(address token)
removePoolMapping(address pool)
replaceMapping(address token, address oldOracle, address newOracle)
replacePoolMapping(address pool, address oldOracle, address newOracle)
setSafeSpotPriceThreshold(address token, uint256 threshold)
PoolRegistered(address indexed pool, address indexed oracle)
PoolRegistrationReplaced(address indexed pool, address indexed oldOracle, address indexed newOracle)
PoolRemoved(address indexed pool)
SafeSpotPriceThresholdUpdated(address token, uint256 threshold)
TokenRegistered(address token, address oracle)
TokenRegistrationReplaced(address token, address oldOracle, address newOracle)
TokenRemoved(address token)
constructor(address _systemRegistry)
This contract contains no fallback and receive objects.
AccessDenied()
AlreadyRegistered(address token)
InvalidParam(string paramName)
MappingDoesNotExist(address token)
MissingSpotPriceOracle(address token)
MissingTokenOracle(address token)
NoThresholdFound(address token)
ReplaceAlreadyMatches(address token, address newOracle)
ReplaceOldMismatch(address token, address oldExpected, address oldActual)
SystemMismatch(address source1, address source2)
UndefinedAddress()
ZeroAddress(string paramName)