MasterOracle
Verified contract
Active on
Ethereum with 75 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "MasterOracle"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16221143 | 2 years ago | | | 0 | 0.0014655750 | |
| 16034376 | 2 years ago | | | 0 | 0.0017586900 | |
| 15882057 | 2 years ago | | | 0 | 0.0012456900 | |
| 15882053 | 2 years ago | | | 0 | 0.0012456900 | |
| 15882049 | 2 years ago | | | 0 | 0.0012456900 | |
| 15882046 | 2 years ago | | | 0 | 0.0012456900 | |
| 15882042 | 2 years ago | | | 0 | 0.0012456900 | |
| 15882040 | 2 years ago | | | 0 | 0.0012456900 | |
| 15882038 | 2 years ago | | | 0 | 0.0012456900 | |
| 15882034 | 2 years ago | | | 0 | 0.0012456900 |
ABI
ABI objects
Getter at block 21397050
addressProvider() view returns (address)
0xfba0816a81bcabbf3829bed28618177a2bf0e82a
defaultOracle() view returns (address)
0x0c102819074da01f30360676f36b86c8be68a3e7
Read-only
getPriceInUsd(address token_) view returns (uint256 _priceInUsd)
oracles(address) view returns (address)
quote(address tokenIn_, address tokenOut_, uint256 amountIn_) view returns (uint256 _amountOut)
quoteTokenToUsd(address token_, uint256 amountIn_) view returns (uint256 _amountOut)
quoteUsdToToken(address token_, uint256 amountIn_) view returns (uint256 _amountOut)
State-modifying
Events updateDefaultOracle(address defaultOracle_)
updateTokenOracle(address token_, address oracle_)
updateTokenOracles(address[] tokens_, address[] oracles_)
DefaultOracleUpdated(address indexed defaultOracle)
TokenOracleUpdated(address indexed token, address indexed oracle)
constructor(address defaultOracle_)
This contract contains no fallback and receive objects.
This contract contains no error objects.