
Pendle · Reads onchain state
Reads a Pendle market's underlying accounting asset, resolved through its SY. The market's SY is read and its assetInfo returns the asset the SY accounts in, tagged as a token. This is the token a redemption through the SY pays out. Reach for it when the market is chosen at runtime and later steps need the plain token address to swap into, deposit, or compare a balance of.