Preview redemption

Preview redemption on YO

Base
Base

Reads onchain state

Reads the asset a YO vault pays for a share count at its current price, net of the withdrawal fee. It is exactly what an instant redemption of those shares returns. Reach for it to size a redemption against a target amount or to put a floor under what an exit must return.

Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.

More on YO · 4

On other protocols · 1