Search Apps Documentation Source Content File Folder Download Copy Actions Download

doc.gno

0.78 Kb ยท 17 lines
 1// Package protocol_fee manages fee collection and distribution for GnoSwap protocol operations.
 2//
 3// This contract collects fees from various protocol operations (swaps, pool creation,
 4// withdrawals, staking claims) and distributes them to DevOps and Governance Stakers
 5// according to configurable percentages.
 6//
 7// Distribution Targets:
 8//   - DevOps: Development and operations fund (default 0%)
 9//   - GovStaker: Governance stakers / xGNS holders (default 100%)
10//
11// Key Functions:
12//   - DistributeProtocolFee: Distributes accumulated fees to recipients
13//   - SetDevOpsPct/SetGovStakerPct: Configure distribution percentages
14//   - AddToProtocolFee: Adds fees to the distribution queue
15//
16// The contract uses a version manager pattern for upgradeable implementations.
17package protocol_fee