Comment on page
Index Vault technical details
Instead of loans, IVs utilize an instrument called
Investmentto deploy funds.
Investmentsare LP positions at non-IV vaults on TrueFi.
Because TrueFi vaults implement the ERC-4626 interface, interactions with all types of TrueFi vaults work the same way.
Instead of an array of loans, IVs hold an array of
When calculating IV valuations, the IV iterates through that array and calls ERC-4626
totalAssets()on each of the underlying vaults to fetch the value of each
Capital allocation happens through proxying one of the following methods:
Allocation is only possible if the target vault’s token is already registered on the
Adding a token as a potential
investmentadds the token to the list of tracked asset balances and values.
In order to
registera token, the token must:
unregisterremoves a token from the tracked assets list.
Redeeming and withdrawing happens through proxying one of the following methods:
withdraw(assets, receiver, owner)
redeem(shares, receiver, owner)
Index Vaults cannot be closed while holding any active
investment. Similar to how vaults cannot close before maturity unless all underlying loans are inactive, IVs cannot close unless all
investmentshave closed first.