Skip to content

Referrals

Referrals section

How it works

  1. Your users swapThrough your platform, with your address and fee on each quote.
  2. The router takes the feeOut of what the swap buys. Half of it above the 0.05% base is yours.
  3. You claimYour share builds up in the router, per asset, until you claim it.

What a swap pays

100 Stable A into Stable B, both $1 · before pool fees and price impact
By your feeAt the base and three fees you might set.
By your fee: At the base and three fees you might set.
FeeTotal feeReferrer keepsRouter keepsUser keeps
0.05%0.05nothing0.0599.95
0.25%0.250.100.1599.75
0.5%0.500.2250.27599.50
1%1.000.4750.52599.00
With a holder discountYour fee 1%, by how much of your full-discount amount the user holds.
With a holder discount: Your fee 1%, by how much of your full-discount amount the user holds.
HoldsTotal feeReferrer keepsRouter keepsUser keeps
None1.000.4750.52599.00
¼0.7630.3560.40699.238
½0.5250.2380.28899.475
¾0.2880.1190.16999.713
Full0.05nothing0.0599.95

Details

The rules

Your feeSet per quote. At the 0.05% base you earn nothing.
0.05% to 1%
Your shareOf the fee above the base. The router keeps the rest.
Half
Paid inThe asset each swap buys, until you claim it.
Output asset
Applies toNot liquidity, or swaps with several inputs or outputs.
One in, one out

Setup costs

Deposits come back on close
Open an assetEach asset you earn in. +0.0097 ALGO if no one has opened it.
0.0225 ALGOdeposit + 0.002 ALGO fee
Set a discountOptional. Once; changing it later is fee only. Refunded if you remove it.
0.0225 ALGOdeposit + 0.002 ALGO fee
ClaimPer asset, whenever you choose.
0.002 ALGOfee
Close an assetPays out what's waiting and refunds its deposit.
0.003 ALGOfee

Holder discount

Optional
Holding noneOf your discount token.
Full fee
Holding your full amountOr more: the most it can discount.
0.05% base
In betweenEvery unit steps the fee down evenly. Your share and the router's shrink alike.
Evenly
WhenFrom the user's wallet as the swap executes. Not opted in pays the full fee.
At execution