Kadia DEX: who settles your order
An order on Kadia DEX doesn’t fill itself. A settler puts it into a transaction with the market and pays you. Anyone can run a settler; Kadia runs one too, with no special rights. Your order contract checks the payout whatever settler fills it.
What you agree to before you sign
Section titled “What you agree to before you sign”Your order records two limits:
- the most trading fee you accept, and
- your execution-fee cap: the most ERG any settler may take from the order for filling it (0.0011 ERG by default).
The app shows the cap before you sign. No settler can take more than these limits. Your order also records your minimum payout, and a fill that pays less is refused.
Kadia’s settler
Section titled “Kadia’s settler”Kadia’s settler charges only what the fill costs: about 0.0005 ERG for an order filled with others, about the miner fee for one filled alone. Everything above the fee it actually charges goes back into your payout. The same holds for refunds by Kadia’s keeper.
Another settler
Section titled “Another settler”A third-party settler may keep up to your fee cap. It can’t take more than the cap you saw and signed, and it can’t pay you less than your order’s minimum. It just doesn’t have to give back the unused part of the cap, as Kadia’s settler does.
The figures are in fees; what the settler keeps, and why, is in what the settler keeps.
Technical details
Source: kadia-dex docs/guide/who-settles-your-order.md at commit 5aa1725 (5aa1725fe82346b8181c20d50f5d75a481b58829).