PriceOracle

Contract to get asset prices, manage price sources.

For ERC20 assets, V2 protocol uses Chainlink Aggregators as the source of all asset prices.

For ERC721 assets, V2 protocol uses BendDAO self-developed pricing mechanism which has been used in V1 protocol.

View Methods

getAssetPrice

Returns the price of the supported asset in BASE_CURRENCY of the V2 protocol. All V2 assets use USD based oracles which return values with 8 decimals..

getAssetChainlinkAggregators

Returns the Chainlink Aggregators address of the supported ERC20 assets.

getBendNFTOracle

Returns the address of the BendDAO's NFTOracle contract.

Last updated