PriceProvidersAggregator
Verified contract
Active on
Ethereum with 3 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
No balances found for "PriceProvidersAggregator"
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 15881961 | 2 years ago | | | 0 | 0.0017675700 | |
| 15881959 | 2 years ago | | | 0 | 0.0017675700 | |
| 15881957 | 2 years ago | | | 0 | 0.0017675700 |
ABI
ABI objects
Getter at block 21212995
addressProvider() view returns (address)
0xfba0816a81bcabbf3829bed28618177a2bf0e82a
nativeToken() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
getPriceInUsd(uint8 provider_, address token_) view returns (uint256 _priceInUsd, uint256 _lastUpdatedAt)
priceProviders(uint8) view returns (address)
quote(uint8 providerIn_, address tokenIn_, uint8 providerOut_, address tokenOut_, uint256 amountIn_) view returns (uint256 _amountOut, uint256 _tokenInLastUpdatedAt, uint256 _nativeTokenLastUpdatedAt, uint256 _tokenOutLastUpdatedAt)
quote(uint8 provider_, address tokenIn_, address tokenOut_, uint256 amountIn_) view returns (uint256 _amountOut, uint256 _tokenInLastUpdatedAt, uint256 _tokenOutLastUpdatedAt)
quoteTokenToUsd(uint8 provider_, address token_, uint256 amountIn_) view returns (uint256 amountOut_, uint256 _lastUpdatedAt)
quoteUsdToToken(uint8 provider_, address token_, uint256 amountIn_) view returns (uint256 _amountOut, uint256 _lastUpdatedAt)
State-modifying
Events setPriceProvider(uint8 provider_, address priceProvider_)
PriceProviderUpdated(uint8 provider, address oldPriceProvider, address newPriceProvider)
constructor(address nativeToken_)
This contract contains no fallback and receive objects.
This contract contains no error objects.