Referrals
How referral codes are registered and bound.
Share your code. Wallets that bind to it are linked to you permanently.
Referrals connect two wallets: the referrer who owns a code, and the referee who binds to it.
There is no trading-fee rebate and no referee fee discount.
How It Works
01 - Register a Code
Sign a message with your wallet to claim a code. No transaction, no gas.
02 - Share It
Anyone who has not already bound a code can use yours.
03 - They Bind
The referee's code travels with their first trade or vault deposit. Nothing separate to sign.
Registering a Code
Claiming a code is a signature, not a transaction. You sign a message with your connected wallet; the code is recorded against your address. No gas, no confirmation wait, nothing on-chain.
Codes are first-come, first-served. One code per address.
Binding to a Code
A referee binds by carrying the code on their first qualifying action: opening a trade, or depositing into the vault. The code ID rides along as a suffix on the transaction data the trader already sends. There is no separate binding transaction and nothing extra to approve.
Actions that bind a code:
| Action | Binds |
|---|---|
| Open a trade (market or limit) | Yes |
| Deposit into the dfUSDC vault | Yes |
| Close, modify TP/SL, add or remove collateral | No |
| Withdraw from the vault | No |
Binding is permanent. Once your address is bound to a code, it cannot be changed or transferred. This stops referral-hopping between codes chasing incentives, and it means a referrer's history cannot be taken from them after the fact.
Before you bind, the app checks the code and reports one of:
| Status | Meaning |
|---|---|
| Usable | The code exists and you are free to bind to it |
| Code not found | No code registered under that string |
| Invalid code | The string is not a well-formed code |
| Already bound | Your address is already bound to a code permanently |
| Self-referral | The code is your own. You cannot refer yourself |