Get Usdc exchange rate of underlying token of the curve liquidity provider token's pool.
Usdc exchange rate (6 decimals)
Fetch all the active Oracle calculations.
list of calculations contract addresses
Get Usdc exchange rate for a curve liquidity provider token.
Usdc exchange rate (6 decimals)
Get the contract address that lens considers as Curve Registry.
Get Usdc exchange rate for an iron bank market token.
Usdc exchange rate (6 decimals)
Get all the iron bank market addresses.
list of iron bank market addresses
Get Usdc exchange rate for a sushiswap liquidity provider token.
Usdc exchange rate (6 decimals)
Get total liquidity for a liquidity provider token in Usdc
Usdc liquidity (6 decimals)
Get the normalized Usdc value for the token and corresponding quantity.
Usdc exchange rate (6 decimals)
Get exchange rate between two tokens from the sushiswap router.
exchange rate
Get Usdc exchange rate for a token.
Usdc exchange rate (6 decimals)
Get the suggested Usdc exchange rate for an token.
Usdc exchange rate (6 decimals)
Get the token address that lens considers Usdc.
address
Get virtual price for a curve liquidity provider token.
virtual price
Test if a token address is a curve liquidity provider token.
test result
Test if a token address is an iron bank market.
test result
Test if a token address is a sushiswap liquidity provider token.
test result
Generated using TypeDoc
OracleService is the main pricing engine, used by all price calculations. It's implemented in the form of a contract that lives on all networks supported by yearn.