Auto-Conversion of Platform Fees to Native Gov Token
Background
To support the protocol's native economy, platform fees collected in various tokens (e.g., USDC, XLM) should be auto-converted to the native SkillSphere Governance Token (SKILL) to buy back tokens or fund the treasury.
Goal
Integrate automatic DEX swaps on fee collections during session settlement to convert fees into the native SKILL token.
Acceptance Criteria
- Route collected fees through Phoenix or Soroswap DEX to purchase SKILL tokens.
- SKILL tokens are transferred directly to the community treasury.
- Slippage limit for the fee swap configured to 100 bps.
Key Files
contracts/src/treasury.rs, contracts/src/dex.rs
Auto-Conversion of Platform Fees to Native Gov Token
Background
To support the protocol's native economy, platform fees collected in various tokens (e.g., USDC, XLM) should be auto-converted to the native SkillSphere Governance Token (SKILL) to buy back tokens or fund the treasury.
Goal
Integrate automatic DEX swaps on fee collections during session settlement to convert fees into the native SKILL token.
Acceptance Criteria
Key Files
contracts/src/treasury.rs,contracts/src/dex.rs