PhorosPhoros
Docs

The handback

While the vault is a pool's recipient, only the vault can move it. Its code moves it in three places, always to the listing's returnTo:

  • end(id), by anyone, once termEnd has passed, after a last harvest;
  • cancel(id), by the creator, before any share sold;
  • closeSale(id) when the window closes with nothing sold.

The owner has one function that touches a recipient: rescueUnlisted(hook, poolId, to), for a pool handed to the vault by mistake without a listing. It reverts for any pool that has a live listing.

Fees that accrue between the end of the term and the end call go to the shares. The creator can call end the second the term ends.