MasterOracle

Verified contract

Active on Ethereum with 75 txns
Deployed by via 0x7c2a7f57 at 15546241
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "MasterOracle"

0x32bf3ea1fcadb04dd7ea12981a0b684fe962025de7175afea63454336a177027
0xe4703fe03d133d1ec9bf0b4fb1ac499150ae2d055e51fe76423ef3d2f2be605b
0x7a9c2d90c2c518bea58cb9778960692be9be9e817148001e68ff4e0d8beb1eea
0x2ef3cfb9667dd0337c423a80693f3042d381d965708daa43ddbc021e49c97dc7
0x3bff16d80f542aa6d51554937be262884aa99ac6f3304745231bf7bbe25c93b5
0xf9c155436e15648b54f12d805b2dfa3a171b97662c76fa3d097343403bb4f06f
0x93ad4d76b8566a943dc6a36c6d1e9b1efba9743e801d713d82fec2449b5e70a6
0x131895510fe8e5fa298e99fc631fb19bd00492f2f3073ecd04bb4be82f77d893
0xa79be39151eadaa750a5f1648af52a2ab2fac408862bce630c4f0392ae4dae3a
0x6a389dca7265c8a3b51fc3a331f36c210aaea1f061aa832bf62178937b6d7590

Functions
Getter at block 21397050
addressProvider(view returns (address)
0xfba0816a81bcabbf3829bed28618177a2bf0e82a
defaultOracle(view returns (address)
0x0c102819074da01f30360676f36b86c8be68a3e7
Read-only
getPriceInUsd(address token_view returns (uint256 _priceInUsd)
oracles(addressview 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
updateDefaultOracle(address defaultOracle_
updateTokenOracle(address token_address oracle_
updateTokenOracles(address[] tokens_address[] oracles_
Events
DefaultOracleUpdated(address indexed defaultOracle
TokenOracleUpdated(address indexed tokenaddress indexed oracle
Constructor
constructor(address defaultOracle_
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.