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 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