Skip to main content
LFG.RICH V5 uses an on-chain referral contract to bind wallets into referral trees. This referral state is used by the protocol to decide where the referral portions of trading fees and borrowing fees are sent.

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.
Referral binding is optional for normal protocol use. A wallet can create tokens, buy, sell, borrow, repay, and use the app without binding to an inviter. Binding is only required if the wallet wants to join a referral tree and make its activity eligible for referral reward routing.
Referral binding is permanent. Once a wallet is bound to an inviter, it cannot unbind, change inviter, or move to another referral tree.

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.
A normal wallet cannot become the root of a new referral tree by itself. A normal wallet can invite others only after it is already bound under an existing whitelisted root.

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 user A binds to inviter B:
Then the initial inviter is assigned like this:
That means the initial inviter remains the whitelisted root of the branch, even if the tree becomes many levels deep.

Direct invite example

Setup:
Tree:
Alice’s referral state: 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:
Tree:
Bob’s referral state: 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:
Tree:
Diana’s trading activity: 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:
Useful checks before showing or applying a referral binding:

Frontend referral-code flow

The site uses referral codes and referral links for user experience, but the on-chain binding is still wallet based.
The referral code is only a convenient way to find the inviter wallet. The permanent source of truth is the on-chain referral contract.

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.