

Reads onchain state
Reads a Vesper pool's price per share: how much of the pool's token one whole share redeems for. The pool divides everything it holds and has lent to its strategies by its share supply, so the figure rises each time a strategy reports an earning and falls if one reports a loss. Reach for it to track a pool's yield between runs by storing and comparing it, to value a share balance in the token, or to exit when the rate crosses a mark.
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 Vesper · 5