Concepts

Protocol Fees

Changing in v3: In v3 the fee (10 bps) becomes part of the terms both sides sign, with a hard cap of 50 bps, and the taker sets a minimum amount out. A fee change after signing makes the trade revert instead of paying the taker less. See v3 & Roadmap.

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 USDC for amount_in = 100.00 EURC
  • →Protocol fee = 109.00 × 0.001 = 0.109 USDC
  • →Taker receives 108.891 USDC
  • →fee_distributor accumulates 0.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.

ParameterValue
Fee rate10 bps (0.10%)
Deducted fromamount_out (what taker receives)
Recipientfee_distributor contract
WithdrawalAdmin-only, to treasury address
HyperDex | Trade Without Limits