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 |
---|---|---|
|
| The Pendle Market to get the APY from |
|
| The duration of the TWAP |
|
| The maximum APY |
apys
Get the APY for a given collateral