Skip to main content
Configure the tokens the vault accepts for deposits and the other tokens it will hold. The SDK finds a price reference for each token in the vault’s accounting denomination. The Exponent team maintains the available price sources.

Register the assets

  • Deposit asset: use AddTokenEntry to accept the token for deposits and withdrawal payouts.
  • Strategy token: use AddTokenAccountEntry to register tokens the vault will allocate to.
A token can be registered as a deposit asset or a strategy token, but not both. Create the required token accounts and refresh AUM before applying changes.
Managers can add deposit assets directly during initial setup, while the vault has zero AUM.
When applying the change, the program reads lastObservedAmount from the live balance. For deposit assets, leave the legacy forceDeallocatePolicyIds field empty. Submit the instruction with the authorized signer, then refresh AUM before the next setup operation. The deposit asset example includes price resolution, account creation, and submission.