Skip to main content

Audits

Omnipair’s smart contracts have undergone professional security audits to identify and address potential vulnerabilities before deployment.
ProgramAuditorDateReport
Omnipair GAMMAckeeQ1 2026View
Omnipair GAMMOffside LabsQ1 2026View
All audit reports are publicly available in the omnipair-rs GitHub repository.

Futarchy Authority

The Futarchy Authority is a protocol-level account that controls revenue distribution and emergency protocol settings. It is currently controlled by the team multi-sig but will be transferred to DAO governance once the program becomes immutable.

Revenue Configuration

The Futarchy Authority defines two key revenue parameters:
ParameterDescription
swap_bpsPercentage of swap fees allocated to the protocol (remainder goes to LPs)
interest_bpsPercentage of interest fees allocated to the protocol (remainder goes to LPs)

Revenue Distribution

Protocol fees are distributed to three recipients based on configurable percentages that must sum to 100%:
RecipientDescription
Futarchy TreasuryDAO-controlled treasury for protocol development and grants
Buybacks VaultFunds allocated for protocol token buybacks via CDA
Team TreasuryTeam operational expenses and contributor compensation

Fee Claiming

The claim_protocol_fees instruction is permissionless — anyone can call it to trigger fee distribution from any pair. Fees are calculated as the surplus between vault balances and accounted cash reserves:
claimable_fees = vault_balance - cash_reserve
Tokens are transferred directly from pair vaults to recipient token accounts based on the distribution percentages.

Emergency Controls

The Futarchy Authority includes a global_reduce_only flag that, when enabled, blocks new borrowing and liquidity additions across all pairs. This serves as an emergency mechanism to protect the protocol during adverse conditions.
Once the Omnipair program is made immutable, control of the Futarchy Authority will be transferred to the DAO, enabling decentralized governance over revenue parameters and emergency controls.