
Pendle · Acts onchain
Provides a token single-sided to a Pendle market and receives LP tokens. From the market's SY, the socket approves the router and calls addLiquiditySingleSy, which swaps part of the SY for PT internally and mints LP; from the SY's accounting asset, the asset is deposited into the SY first and the shares provided, so one step goes from a plain token to LP. The min_out floor is enforced either way, and the call returns the LP minted and the SY fee paid. Set the amount to max to provide the full balance. Reach for it to enter a Pendle market without pre-splitting into PT, coiling the LP out into a stored position record or a later removal.
On other protocols · 2