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.
Routes protocol fees collected from Ramses V3 pools between the treasury and fee distributors. Acts as an intermediary that splits fees according to configurable ratios.
Functions
collectProtocolFees
function collectProtocolFees(
address pool
) external
Triggers collection of accumulated protocol fees from a pool and routes them according to the configured split.
Parameters:
| Name | Type | Description |
|---|
pool | address | The Ramses V3 pool to collect fees from |
setTreasuryFees
function setTreasuryFees(
uint256 _treasuryFees
) external
Sets the percentage of protocol fees directed to the treasury. The remainder goes to fee distributors for voter rewards.
Parameters:
| Name | Type | Description |
|---|
_treasuryFees | uint256 | The treasury fee percentage (basis points) |
setTreasury
function setTreasury(
address _treasury
) external
Sets the treasury address that receives its share of protocol fees.
Parameters:
| Name | Type | Description |
|---|
_treasury | address | The new treasury address |
Key Concepts
- Protocol fees are split between the treasury and fee distributors
- Fee distributors pass fees to voters as incentives for directing emissions
- Configuration is managed through the AccessHub governance system