Vault Donate
Use Vault Donate to benefit existing vault holders with a branch's tokens. A vault holds an underlying asset; shares represent holders' interests in it. The DAO.sol contract calls donate() with the branch's full allocation, increasing the backing of existing shares without receiving new shares itself.
- Check: the input token is the vault's asset, and the vault's total assets rose by at least the amount.
- Trust: the vault is trusted, and only vaults that count a donation in their assets immediately are supported.
The avKAT example walks through a buyback that donates to avKAT.