Vaults UI

Create Vault

The on-chain name of the vault. This is the same name reflected by the Drift UserAccount.

The index of the spot market to use for the vault. Drift Spot Market accounts are seeded by an index, and can be referred to over here: https://github.com/drift-labs/protocol-v2/blob/master/sdk/src/constants/spotMarkets.ts

The withdrawal waiting period is the time between when a user requests for a withdrawal and when they can actually withdraw their funds.

The maximum number of tokens that can be deposited into the vault. E.g. for USDC, 1 token = 1 USDC, and not 0.000001 USDC, but will be reflected as 1,000,000 on-chain.

If the vault depositor already has the minimum deposit amount in the vault, the vault depositor can deposit any amount. E.g. for USDC, 1 token = 1 USDC, and not 0.000001 USDC, but will be reflected as 1,000,000 on-chain.

A fee that is charged proportionally based on the time spent in the vault. The percentage is the annualized percentage. Fees are charged upon any vault depositor action (e.g. deposit/withdraw etc.).

A fee that is charged on the profits of the vault depositor. Fees are charged upon any vault depositor action (e.g. deposit/withdraw etc.), or the vault manager can call the getApplyProfitShareIx from the Vault SDK.