YieldOraclePendle
Inherits: IYieldOracle
Yield Oracle for Pendle Markets
State Variables
MARKET
TWAP_DURATION
YIELD_CEILING
Functions
constructor
Construct a new YieldOraclePendle
instance
Parameters
Name
Type
Description
_market
IPMarketV3
The Pendle Market to get the APY from
_twapDuration
uint32
The duration of the TWAP
_yieldCeiling
uint256
The maximum APY
apys
Get the APY for a given collateral