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

# AccessHub

Central governance router and permissions hub for Ramses.

`AccessHub` coordinates protocol changes across the factory, voter, xRAM, R33, fee-routing contracts, and AutoVault. It mixes three different control surfaces:

* **Role-gated actions**
* **Treasury / multisig-only actions**
* **Timelock-only actions**

## Roles

### SWAP\_FEE\_SETTER

Intended for fast operational actions such as:

* `setSwapFees()`
* Some fee-related CL and legacy operations
* `compoundR33()`

### PROTOCOL\_OPERATOR

Broader operational role for:

* Gauge creation, revival, and kill flows
* Governance whitelist changes
* xRAM whitelist and operator management
* Emissions-ratio and reward-token management
* VoteModule and Minter operational updates

### Treasury and Timelock

Some sensitive functions are not role-based:

* `onlyMultisig` functions are restricted to the treasury address
* `timelocked` functions are restricted to the timelock address

## Representative Functions

### setSwapFees

```solidity theme={null}
function setSwapFees(address[] calldata pools, uint24[] calldata swapFees) external
```

Batch updates swap fees across CL and legacy pools.

### setFeeSplitCL / setFeeSplitLegacy

```solidity theme={null}
function setFeeSplitCL(address[] calldata pools, uint24[] calldata feeProtocol) external
function setFeeSplitLegacy(address[] calldata pools, uint256[] calldata feeSplits) external
```

Batch updates protocol fee routing for CL and legacy pools.

### createCLGauge / createLegacyGauge

```solidity theme={null}
function createCLGauge(address tokenA, address tokenB, int24 tickSpacing, bool forceVoterFees) external returns (address)
function createLegacyGauge(address pool) external returns (address)
```

Governance entrypoints for gauge creation.

### updateEmissionsMultiplierInMinter

```solidity theme={null}
function updateEmissionsMultiplierInMinter(uint256 newMultiplier) external
```

Forwards a multiplier update into `Minter`.

### setNewVoteModuleCooldown

```solidity theme={null}
function setNewVoteModuleCooldown(uint256 newCooldown) external
```

Timelock-only update of the `VoteModule` cooldown.

### execute

```solidity theme={null}
function execute(address target, bytes calldata payload) external
```

Timelock-only arbitrary execution hook for exceptional governance operations.

## Key Concepts

* `AccessHub` is the main operational control plane for Ramses governance.
* It centralizes fee updates, xRAM/R33 administration, gauge management, treasury routing, and several emergency functions.
* Many functions are batched so governance can update several pools or gauges in a single transaction.
* It also owns newer integrations such as `AutoVault` and reward-validator management.
