Summary
The creator fee is computed as a configurable bps percentage of the transaction value. Unit tests should verify the fee is computed correctly for several bps values and transaction amounts, and that the result always floors to a whole number of stroops.
Scope
- Test 500 bps (5%) on a 1000 stroop transaction → fee is 50
- Test 250 bps (2.5%) on a 1000 stroop transaction → fee is 25
- Test 100 bps (1%) on a 999 stroop transaction → fee floors to 9 (not 9.99)
- Test 0 bps → fee is always 0
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The creator fee is computed as a configurable bps percentage of the transaction value. Unit tests should verify the fee is computed correctly for several bps values and transaction amounts, and that the result always floors to a whole number of stroops.
Scope
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram