Whitelisted roots
Referral trees start from whitelisted addresses, which act as approved roots.
Permanent binding
A user can bind only once. The parent and initial inviter are then fixed.
1% trading reward
Buy and sell referral rewards go to the user’s initial inviter when the user is bound.
2% borrow reward
Borrow and borrowMore rewards go to the user’s direct parent when the user is bound.
Core idea
The referral system has two different reward paths:
This distinction is important. The initial inviter and the parent can be the same address in a direct invite, but they can be different addresses in a deeper referral tree.
Fee split summary
Trading fees
Every V5 buy and sell has a total trading fee of 1.25% of the trade amount.
When the trader is bound, the 1.00% inviter reward goes to the trader’s initial inviter. When the trader is not bound, there is no inviter to reward, so the full 1.25% goes to the platform side.
Borrow fees
Every V5 borrow and borrow-more action has a total borrow fee of 3.00% of the borrowed value.
The 2.00% parent reward is part of the total 3.00% borrow fee. It is 2.00% of the borrowed value, not 2.00% of the 3.00% fee.
Referral roles
Whitelisted addresses
Whitelisted addresses are very important because they start the referral trees. When the platform owner whitelists an address:1
Address becomes an approved referral root
Whitelisted addresses are the root nodes that can start valid referral trees.
2
Address is treated as already bound
The referral system treats the whitelisted address as eligible without needing a parent.
3
Address becomes its own initial inviter
The root remains the inherited initial inviter for users below it.
4
Users can bind directly to the root
Normal users can bind to a whitelisted root address.
5
Downline users inherit the same initial inviter
Non-whitelisted users below that root inherit the root as their initial inviter.
Binding rules
The app normally applies referral codes instead of asking users to paste raw wallet addresses. The frontend resolves the referral code to an inviter wallet, checks that the inviter is eligible, and then calls the on-chain
bind(inviter) function.
How the chain is assigned
When userA binds to inviter B:
Direct invite example
Setup:
If Alice buys 1 BNB of tokens:
If Alice borrows 1 BNB of value:
In a direct invite, the parent and the initial inviter are the same address, so the same wallet receives both kinds of reward.
Two-level example
Setup:
If Bob buys or sells, the 1.00% trading reward goes to W1, because W1 is Bob’s initial inviter.
If Bob borrows or borrows more, the 2.00% borrow reward goes to Alice, because Alice is Bob’s direct parent.
This is the key V5 rule: trading rewards follow the initial inviter, while borrow rewards follow the direct parent.
Deep-chain example
Setup:
Diana’s borrowing activity:
Multiple whitelisted roots
Different whitelisted addresses create independent referral trees.
If Charlie trades, the 1.00% trading reward goes to
W1. If Diana trades, the 1.00% trading reward goes to W2.
Referral trees do not merge. Once a user is bound under one whitelisted root, that user’s branch remains under that root permanently.
Unbound-user example
If Eve never binds to an inviter, she is unbound. If Eve buys 1 BNB of tokens:
If Eve borrows 1 BNB of value:
The user can still use the protocol. The difference is only fee routing: without a valid referral binding, there is no initial inviter or parent to receive rewards.
Reward routing table
Contract functions
The referral contract exposes the referral state used by the app, integrations, and protocol fee routing:Frontend referral-code flow
The site uses referral codes and referral links for user experience, but the on-chain binding is still wallet based.Important integration notes
- Always check whether the user is already bound before showing an apply-referral action.
- Always check whether the inviter is bound or whitelisted before attempting to bind.
- Do not offer users a way to change their inviter after binding.
- Do not calculate referral rewards from frontend assumptions only. Read the referral contract and protocol fee data.
- Do not confuse the 1.00% trading reward with the 2.00% borrow reward. They use different recipients.

