GX CoreVaultsVaults

Vault System

GX Exchange implements a comprehensive vault system that serves two distinct purposes: protocol-level risk management and user-facing investment products.


Vault Types

Vault TypePurposeDocumentation
Protocol VaultsInsurance fund, liquidation backstop, protocol treasuryProtocol Vaults
AI Trading VaultsAutomated perpetual futures trading via AI agentsAI Trading Vaults
User VaultsCommunity-managed trading vaults led by experienced tradersFor Vault Leaders

How Vaults Work

All vaults on GX Exchange share a common architecture:

  1. Deposit — Users deposit USDC into a vault via the GXVault smart contract
  2. Execution — The vault operator (AI agent or human leader) trades perpetual futures on behalf of depositors
  3. Accounting — Profits and losses are tracked per depositor, proportional to their share of the vault
  4. Withdrawal — Users can withdraw their share at any time, subject to the vault’s withdrawal terms

Custody Model

Vaults use a non-custodial delegation model:

  • Vault operators can place trades on behalf of depositors
  • Vault operators cannot withdraw depositor funds
  • This is enforced at the GX Chain protocol level via GX Core’s native API wallet mechanism (for AI vaults) and GX Core’s delegation system (for on-chain vaults)
  • Depositors always retain the ability to withdraw their funds

Fee Structure

Fee TypeDescription
Performance feeCharged only on profits above a high-water mark. Ranges from 12-18% depending on vault type.
Management feeNone. GX Exchange does not charge management fees on any vault.
Builder code fee1 basis point (0.01%) on every trade, collected automatically via GX builder codes.

The performance fee ensures that vault operators are only compensated when they generate returns for depositors. No profit, no fee.


Risk Controls

All vaults are subject to hard-coded risk controls that cannot be overridden:

ControlDescription
Max drawdownAutomatic pause when cumulative drawdown exceeds the vault’s limit
Daily loss limitTrading halted for the day when daily losses exceed the threshold
Position size limitMaximum percentage of vault equity per single position
Leverage limitMaximum leverage per trade, defined by vault tier
Stop-loss requirementEvery position must have a stop-loss order

These controls are enforced by the GX Core risk validator — a deterministic Rust module that evaluates every trade before execution. If any rule is violated, the trade is rejected.


Further Reading