
Pendle · Reads onchain state
Reads whether a Pendle market has reached maturity. The market's isExpired compares its expiry against the current block time. Reach for it to branch between redeeming PT alone after expiry and redeeming a PT and YT pair before it, or to require a market is still live before adding liquidity.