> ## Documentation Index
> Fetch the complete documentation index at: https://docs.symmetry.fi/llms.txt
> Use this file to discover all available pages before exploring further.

# Global Config

> Protocol-wide configuration parameters set by the Symmetry admin.

The global config is a single on-chain account that controls protocol-wide parameters. It is managed by the protocol admin and affects all vaults. Fetch it via `symmetry.fetchGlobalConfig()`.

## Current Feature Status

| Feature                    | Status       | Notes                                                               |
| -------------------------- | ------------ | ------------------------------------------------------------------- |
| Deposit fees               | **Active**   | Configurable per vault                                              |
| Withdrawal fees            | **Active**   | Configurable per vault                                              |
| Management fees            | **Disabled** | Global config values set to 0. Vault-level settings have no effect. |
| Performance fees           | **Disabled** | Global config values set to 0. Vault-level settings have no effect. |
| Token Extensions (Token22) | **Active**   | Supported in SDK token flows and vault composition                  |
| Raydium CLMM oracle        | **Active**   | Available for oracle configuration                                  |
| Raydium CPMM oracle        | **Active**   | Available for oracle configuration                                  |
| LST oracle                 | **Active**   | Reads SPL/Sanctum stake pool state for liquid staking tokens        |
| Liquidity provision        | **Disabled** | Currently disabled                                                  |

## Protocol Fee Parameters

| Parameter                            | Description                                                     |
| ------------------------------------ | --------------------------------------------------------------- |
| `symmetry_deposit_fee_bps`           | Flat deposit fee                                                |
| `symmetry_deposit_fee_share_bps`     | Share of total deposit fees going to protocol                   |
| `symmetry_withdraw_fee_bps`          | Flat withdrawal fee                                             |
| `symmetry_withdraw_fee_share_bps`    | Share of total withdrawal fees going to protocol                |
| `symmetry_management_fee_bps`        | Flat management fee (currently 0)                               |
| `symmetry_management_fee_share_bps`  | Share of total management fees going to protocol (currently 0)  |
| `symmetry_performance_fee_bps`       | Flat performance fee (currently 0)                              |
| `symmetry_performance_fee_share_bps` | Share of total performance fees going to protocol (currently 0) |
| `symmetry_trade_fee_bps`             | Trade fee                                                       |
| `symmetry_limit_order_fee_bps`       | Limit order fee                                                 |

## Fee Limits

| Parameter                 | Description                     |
| ------------------------- | ------------------------------- |
| `max_deposit_fee_bps`     | Maximum allowed deposit fee     |
| `max_withdraw_fee_bps`    | Maximum allowed withdrawal fee  |
| `max_management_fee_bps`  | Maximum allowed management fee  |
| `max_performance_fee_bps` | Maximum allowed performance fee |

## Rebalance Parameters

| Parameter                       | Description                                 |
| ------------------------------- | ------------------------------------------- |
| `rebalance_auction_1_timeframe` | Duration of auction stage 1                 |
| `rebalance_auction_2_timeframe` | Duration of auction stage 2                 |
| `rebalance_auction_3_timeframe` | Duration of auction stage 3                 |
| `bounty_bond_amount`            | Fixed bond amount locked alongside bounties |

## Vault Creation

| Parameter            | Description                                     |
| -------------------- | ----------------------------------------------- |
| `vault_id` (counter) | Sequential counter used for mint PDA derivation |
