Concepts
Protocol Fees
HyperDex charges a 10 basis point (0.10%) protocol fee on each settled swap, deducted from amount_out before the taker receives it.
Fee flow
- →Maker quotes
amount_out = 109.00 USDCforamount_in = 100.00 EURC - →Protocol fee =
109.00 × 0.001 = 0.109 USDC - →Taker receives
108.891 USDC - →
fee_distributoraccumulates0.109 USDC
Fee withdrawal
Accumulated fees are withdrawn by the admin to a treasury address via fee_distributor.withdraw(). This is the only admin-privileged operation in the core protocol flow.
| Parameter | Value |
|---|---|
| Fee rate | 10 bps (0.10%) |
| Deducted from | amount_out (what taker receives) |
| Recipient | fee_distributor contract |
| Withdrawal | Admin-only, to treasury address |