Skip to main content

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:

NameTypeDescription
pooladdressThe 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:

NameTypeDescription
_treasuryFeesuint256The treasury fee percentage (basis points)

setTreasury

  function setTreasury(
    address _treasury
  ) external
Sets the treasury address that receives its share of protocol fees.

Parameters:

NameTypeDescription
_treasuryaddressThe 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