PriceProvider

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xce88c82d at 18466421
Slot
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

No balances found for "PriceProvider"

No transactions found for "PriceProvider"


Functions
Getter at block 21269252
DECIMALS(view returns (uint8)
18
aaveOracle(view returns (address)
0x0000000000000000000000000000000000000000
baseAssetChainlinkAdapter(view returns (address)
0x0000000000000000000000000000000000000000
decimals(pure returns (uint256)
8
 
getLpTokenAddress(view returns (address)
 
getLpTokenPrice(view returns (uint256)
 
getLpTokenPriceUsd(view returns (uint256 price)
 
getTokenPrice(view returns (uint256 priceInEth)
 
getTokenPriceUsd(view returns (uint256 price)
oracle(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x0000000000000000000000000000000000000000
poolHelper(view returns (address)
0x0000000000000000000000000000000000000000
usePool(view returns (bool)
false
Read-only
getRewardTokenPrice(address rewardTokenuint256 amountview returns (uint256)
State-modifying
initialize(address _baseAssetChainlinkAdapteraddress _poolHelperaddress _aaveOracle
renounceOwnership(
setAggregator(address _baseAssetChainlinkAdapter
setOracle(address _newOracle
setPoolHelper(address _poolHelper
setUsePool(bool _usePool
transferOwnership(address newOwner
update(
Events
AggregatorUpdated(address indexed _baseTokenPriceInUsdProxyAggregator
Initialized(uint8 version
OracleUpdated(address indexed _newOracle
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PoolHelperUpdated(address indexed _poolHelper
UsePoolUpdated(bool indexed _usePool
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressZero(
InvalidOracle(