Skip to content

IPendlePYLpOracle ​

getPtToAssetRate ​

solidity
function getPtToAssetRate(address market, uint32 duration) external view returns (uint256)

getYtToAssetRate ​

solidity
function getYtToAssetRate(address market, uint32 duration) external view returns (uint256)

getLpToAssetRate ​

solidity
function getLpToAssetRate(address market, uint32 duration) external view returns (uint256)

getPtToSyRate ​

solidity
function getPtToSyRate(address market, uint32 duration) external view returns (uint256)

getYtToSyRate ​

solidity
function getYtToSyRate(address market, uint32 duration) external view returns (uint256)

getLpToSyRate ​

solidity
function getLpToSyRate(address market, uint32 duration) external view returns (uint256)

getOracleState ​

solidity
function getOracleState(address market, uint32 duration) external view returns (bool increaseCardinalityRequired, uint16 cardinalityRequired, bool oldestObservationSatisfied)