Get SY exchange rate
Get SY exchange rate

Pendle · Reads onchain state

Reads how much of its accounting asset one SY share is worth, through the market's SY. The market's SY is read and its EIP-5115 exchangeRate returns asset per share at 18 decimals, whatever the asset's own precision. It is the leg the rate action stops short of: rate converts PT, YT or LP into SY, this converts SY into the asset a redemption pays out. Reach for it to finish sizing a redemption in asset terms, or to price a PT against its underlying by chaining the PT-to-SY rate into this one.

On other protocols · 3