You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Labels:
contracts,treasury,priority: mediumDescription: Implement automated fee collection to fund the protocol's development and DAO treasury.
Tasks:
fee_bps(basis points) setting in theEscrowManager.release_funds, calculateamount * fee_bps / 10000.ProtocolTreasurycontract address.withdraw_treasuryfunction in the treasury contract, protected by governance.Acceptance Criteria: