
Pendle · Acts onchain
Splits SY into equal PT and YT for a Pendle market. From SY, the router's mintPyFromSy mints the pair; from the SY's accounting asset, the asset is deposited into the SY first and the result minted, so one step goes from a plain token to PT and YT. The call returns the amount of each minted. Set the amount to max to mint from the full SY balance. Reach for it to take a yield position by holding YT and selling PT, or the reverse, in the steps that follow.
On other protocols · 3