Status: Open (Wave 5 – financial)
Complexity: Medium (150 points)
Summary
Add strict bounds and rounding rules for fee calculations to prevent misconfiguration and ensure predictable results across assets.
Tasks
- Define maximum fee bps and enforce it on-chain.
- Implement deterministic rounding rules (floor/ceil) and document via tests.
- Add tests for extreme values and small-amount edge cases.
- Emit events when fee config changes with before/after snapshots.
Acceptance Criteria
- Fee config cannot exceed safe limits.
- Fees are deterministic and tested across assets.
- Fee changes are fully auditable via events.
Status: Open (Wave 5 – financial)
Complexity: Medium (150 points)
Summary
Add strict bounds and rounding rules for fee calculations to prevent misconfiguration and ensure predictable results across assets.
Tasks
Acceptance Criteria