PriceProvider
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
1
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "PriceProvider"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PriceProvider"
ABI
ABI objects
Getter at block 21270433 getLpTokenAddress() view returns (address) getLpTokenPrice() view returns (uint256) getLpTokenPriceUsd() view returns (uint256 price) getTokenPrice() view returns (uint256 priceInEth) getTokenPriceUsd() view returns (uint256 price)
DECIMALS() view returns (uint8)
18
aaveOracle() view returns (address)
0x0000000000000000000000000000000000000000
baseAssetChainlinkAdapter() view returns (address)
0x0000000000000000000000000000000000000000
decimals() pure returns (uint256)
8
oracle() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
poolHelper() view returns (address)
0x0000000000000000000000000000000000000000
usePool() view returns (bool)
false
Read-only
getRewardTokenPrice(address rewardToken, uint256 amount) view returns (uint256)
State-modifying
Events initialize(address _baseAssetChainlinkAdapter, address _poolHelper, address _aaveOracle)
renounceOwnership()
setAggregator(address _baseAssetChainlinkAdapter)
setOracle(address _newOracle)
setPoolHelper(address _poolHelper)
setUsePool(bool _usePool)
transferOwnership(address newOwner)
update()
AggregatorUpdated(address indexed _baseTokenPriceInUsdProxyAggregator)
Initialized(uint8 version)
OracleUpdated(address indexed _newOracle)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PoolHelperUpdated(address indexed _poolHelper)
UsePoolUpdated(bool indexed _usePool)
constructor()
This contract contains no fallback and receive objects.
AddressZero()
InvalidOracle()