Skip to content

Protocol Fee Collection & Treasury Management #125

@anonfedora

Description

@anonfedora

Labels: contracts, treasury, priority: medium
Description: Implement automated fee collection to fund the protocol's development and DAO treasury.
Tasks:

  • Add a fee_bps (basis points) setting in the EscrowManager.
  • During release_funds, calculate amount * fee_bps / 10000.
  • Transfer the fee to the ProtocolTreasury contract address.
  • Implement a withdraw_treasury function in the treasury contract, protected by governance.
    Acceptance Criteria:
  • Every successful escrow release sends the correct fee percentage to the treasury.
  • Fees are verifiable on-chain.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions