PendleOracle ​
Inherits:FluidOracle, PendleOracleImpl
Gets the exchange rate between Pendle and the underlying asset for the Pendle Market.
Functions ​
constructor ​
solidity
constructor(
string memory infoName_,
IPendlePYLpOracle pendleOracle_,
IPendleMarketV3 pendleMarket_,
uint32 twapDuration_,
uint256 maxExpectedBorrowRate_,
uint256 minYieldRate_,
uint256 maxYieldRate_,
uint8 debtTokenDecimals_
)
PendleOracleImpl(
pendleOracle_,
pendleMarket_,
twapDuration_,
maxExpectedBorrowRate_,
minYieldRate_,
maxYieldRate_,
debtTokenDecimals_
)
FluidOracle(infoName_);
getExchangeRateOperate ​
solidity
function getExchangeRateOperate() public view override returns (uint256 exchangeRate_);
getExchangeRateLiquidate ​
solidity
function getExchangeRateLiquidate() external view override returns (uint256 exchangeRate_);
getExchangeRate ​
solidity
function getExchangeRate() external view override returns (uint256 exchangeRate_);