User Vaults
User Vaults allow any trader to create and manage a strategy vault on AFX. Depositors allocate capital to a Vault leader's trading strategies, and the leader earns a profit share on depositors' gains.
Creating a Vault
Limits: Each wallet can create up to 5 User Vaults.
Profit Share
User Vault leaders receive a 10% profit share on depositors' gains at the time of withdrawal. The profit share is calculated as follows:
Example: A depositor invested $111 total for 110 shares (avg cost $1.0091/share). They withdraw 50 shares at NAV $1.21:
Withdrawal = 50 × $1.21 = $60.50
Cost = 50 × $1.0091 = $50.455
Gross Profit = $60.50 - $50.455 = $10.045
Profit Share (10%) = $1.0045 (transferred to leader)
Depositor Receives = $60.50 - $1.0045 = $59.4955
Leader Requirements
The Vault leader must maintain a minimum of 5% of total vault shares (and at least 100 USDC in value). If the leader's share drops below 5%, the following restrictions apply:
Cannot withdraw funds
Cannot increase position sizes (reducing/closing positions is still allowed)
Cannot withdraw profit share
Can still deposit additional funds
This requirement ensures the leader has meaningful skin in the game.
Vault Operations
Leaders have access to a Creator Operations panel with the following controls:
Close Vault: Initiates a 48-hour cooldown period. All open positions must be closed before initiating closure. During the cooldown, depositors can freely withdraw. After the cooldown, remaining funds are distributed proportionally by shares.
Trade for Vault: Opens the trading interface in Vault context, where all trades are executed using the Vault's funds.
Disable Deposits: Toggle to prevent new deposits from other users.
Enable Auto-Close on Withdrawal: When enabled, if available balance is insufficient for a withdrawal, the system automatically closes positions to free up funds. When disabled, withdrawals that exceed available balance will simply fail.
Deposits and Withdrawals
Deposits:
No maximum deposit limit.
Shares are minted at the current NAV.
The initial 100 USDC creation deposit is usable as trading capital.
Withdrawals:
Withdrawals are processed based on the current NAV.
If the Vault has sufficient available balance, withdrawals are instant.
NAV is updated in real-time. Funds are only transferred when the depositor initiates a withdrawal.
Settlement
NAV is calculated in real-time based on the Vault's total assets (balance + unrealized PNL).
There is no periodic settlement — profits accumulate continuously in the NAV.
Funds are only transferred to the depositor's wallet when they explicitly withdraw.
Closing a Vault
When a leader closes a Vault:
Last updated

