Vault system
The vault is a program-controlled account on Solana that securely holds the portfolio assets for a given index. Each vault corresponds 1:1 with an index and operates as an isolated unit.
Core Mechanics
Deposits:
Users deposit USDC into the vault interface.
The backend executes token swaps (via Jupiter) into the index’s target token allocation. The deposit account keep tracks of the vault's accountability. As long as the swaps haven't gone through, the user can reclaim the deposit before it happens.
The vault receives the resulting tokens.
Index Token Minting:
Users receive Index tokens (SPL tokens - dTokens) that represent their proportional exposure to the vault's value.
These tokens are minted on deposit and burned on withdrawal.
Withdrawals:
Users can redeem their position from dTokens to USDC at any time.
The backend performs proportional swaps from vault assets back to USDC and sends the result to the user. The withdrawal account keep tracks of the vault's accountability. As long as the swaps haven't gone through, the user can reclaim the withdraw before it happens.
Users do not directly hold, own, or control the underlying assets at any point. The underlying assets are held by the vault program, not the user.
On-Chain Logic & Safety
Non-Custodial:
Vaults are program-controlled. Users always hold dTokens that entitle them to redeem their share.
No user funds are held by the team or in off-chain systems.
Isolation:
Each index is isolated. In the unlikely case of a misbehavior in one vault, it wouldn't affect others.
Each vault has its own token mint, account structure, and oracle feed.
Transparency:
Balances, weights, performance data, and vault contents are visible and auditable directly onchain.
Roles & Permissions
DiversiFi separates operational and strategic control across two distinct roles: the Platform Admin and the Index Manager.
🔸 The Admin
The Admin is the operational controller of the protocol. It is a multisig controlled by the SolutioFi core team. The Admin does NOT have control over the funds (withdrawals).
🔸 Partner (Index Creator or Integrator)
A Partner is any external contributor who builds on DiversiFi, either by:
Creating and managing an index via our permissioned infrastructure (as an Index Manager)
Integrating DiversiFi vaults into their own app or frontend via our SDK and API
Partners can bring new strategies to the platform or distribute existing ones to their own audiences, without handling infrastructure.
🔸 Users
Can initiate deposits (send USDC) or withdrawals (send Index Tokens).
Can cancel/refund a pending deposit or withdrawal if not yet processed.
Last updated
