Protocol Vaults
Protocol vaults are system-level vaults managed by the GX Exchange protocol itself. They serve critical infrastructure functions: backstopping liquidations, absorbing bad debt, and funding protocol operations.
Insurance Fund
The insurance fund is the primary safety mechanism for the GX Exchange clearing system. It absorbs losses from liquidations where the closing price exceeds the bankrupt price, preventing socialized losses across traders.
How It Works
- Funding — The insurance fund receives 20% of all trading fees collected on GX Exchange
- Activation — When a liquidation results in negative equity (the position’s loss exceeds its collateral), the insurance fund covers the deficit
- Growth — During normal market conditions, the fund accumulates steadily from trading fees
- Depletion — During extreme market events, the fund may be drawn down significantly
Fund Sources
| Source | Contribution |
|---|---|
| Trading fees | 20% of all maker/taker fees |
| Liquidation surplus | Any remaining equity after a liquidation is closed above the bankrupt price |
| Protocol revenue | Additional injections from protocol treasury if the fund falls below a safety threshold |
When the Insurance Fund Is Used
Normal Liquidation:
Position equity > 0 after forced close
-> Remaining equity transferred to insurance fund
-> No losses to other traders
Bankrupt Liquidation:
Position equity < 0 after forced close
-> Insurance fund covers the negative equity
-> Counter-parties receive their full settlement
Fund Exhaustion:
Insurance fund balance = 0 and bankrupt liquidation occurs
-> Auto-deleveraging (ADL) is triggered
-> Most profitable opposing positions are partially closed
-> ADL is a last-resort mechanismLiquidation Backstop
The liquidation backstop vault is a secondary layer of protection that activates when the insurance fund is under stress.
Backstop Mechanics
| Parameter | Value |
|---|---|
| Activation threshold | Insurance fund drops below 25% of target |
| Backstop source | Protocol treasury allocation |
| Priority | Liquidations covered before any treasury spending proposals |
| Maximum backstop | Governance-defined cap per epoch |
The backstop ensures that the protocol can absorb multiple simultaneous liquidation events during high-volatility periods without triggering ADL.
Protocol Treasury
The protocol treasury receives 20% of all trading fees and is governed by GX token holders through on-chain governance.
Treasury Allocation
| Category | Description |
|---|---|
| Development | Funding for core protocol development and engineering |
| Ecosystem grants | Grants for builders, integrations, and tooling |
| Market making | Liquidity provision for new market launches |
| Insurance backstop | Emergency injection into the insurance fund |
| Operations | Infrastructure costs, audits, and compliance |
Governance
Treasury spending requires an on-chain governance proposal:
- Proposer submits a spending request with amount, recipient, and purpose
- 5-day voting period for staked GX holders
- Requires 10% quorum and >50% approval
- 24-hour timelock after approval
- Funds are released automatically after timelock
Transparency
All protocol vault balances are publicly queryable:
| Endpoint | Description |
|---|---|
GET /v1/insurance-fund | Current insurance fund balance and history |
GET /v1/treasury | Protocol treasury balance |
GET /v1/liquidations | Recent liquidation events and insurance fund usage |
Protocol vault transactions are recorded on GX Chain and are fully auditable by any participant.