Fees
| Matching fee | 0.10 % per side, on the USDG value that crossed |
| Ceiling | 0.50 %, fixed in the bytecode |
| Change delay | 48 hours between queueFee and applyFee |
| Commit bond | 1.00 USDG, returned on reveal |
| Deposit, withdrawal | no fee, gas only |
| Voided batch | no fee |
Who pays what
- A buyer locks USDG that includes a fee budget. Only
amount × 10000 / (10000 + fee)is spent on shares; the fee is charged on the part that actually fills, and the rest is returned. - A seller pays the fee out of the USDG proceeds.
Unfilled size pays nothing.
Where it goes
Every fee, every forfeited bond and the rounding dust go through the same split: 80 % to stakers of the protocol token, 20 % to the treasury. With nobody staked, all of it goes to the treasury.
Changing the fee
The owner can queue a new fee up to the ceiling. It applies after 48 hours, when anyone calls applyFee. Each order carries the fee in force when it was revealed, so a change never reprices an order already in a book.