Summary
Implement protocol fee deduction on every buy and sell transaction, routing the fee to the protocol revenue pool for distribution to stakers.
Scope
- Fee percentage configurable by admin in contract storage
- Fee deducted from trade amount before bonding curve calculation
- Fee transferred to protocol revenue pool address atomically
- FeeCollected event emitted with trade ID, amount, and fee
- Fee percentage capped at configurable maximum to protect traders
Acceptance Criteria
ETA
24 hours
Summary
Implement protocol fee deduction on every buy and sell transaction, routing the fee to the protocol revenue pool for distribution to stakers.
Scope
Acceptance Criteria
ETA
24 hours