Implement automated fee collection to fund the protocol's development and DAO treasury by adding a `fee_bps` setting in the `EscrowManager`, calculating `amount * fee_bps / 10000` during `release_funds`, and transferring the fee to the `ProtocolTreasury` contract address. Also, implement a `withdraw_treasury` function in the treasury contract, protected by governance.
**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.