# Referral & Affiliate Program

#### **How It Works** <a href="#how-it-works" id="how-it-works"></a>

**Referral Flow Basics**

When a user makes a trade, a trading fee is generated:

* **10%** of the fee goes to the **prize pool**
* The remaining **90%** of the fee is called the **referral pool**
* Commissions are distributed from this referral pool

**Level Definitions**

* **Level 1 (Direct Referrer)**: The person who directly referred the trader. They earn **50%** of the referral pool.
* **Level 2 (Indirect Referrer)**: The person who referred the Level 1 user. They earn **10%** of the referral pool.
* **Platform (GRODT Trading Bot)**: Keeps the remainder after Level 1 and Level 2 payouts.

**Example Flow with Users A, B, C:**

* User A refers User B
* User B refers User C
* User C makes a trade with a **$10 fee**

**Distribution:**

* **Prize Pool** = $1 (10% of total fee)
* **Referral Pool** = $9 (90% of total fee)
* **User B** (Level 1, direct referrer of C) gets **$4.50** (50% of referral pool)
* **User A** (Level 2, indirect referrer of C) gets **$0.90** (10% of referral pool)
* **GRODT Trading Bot** (platform) keeps **$3.60** (the remainder)

**Key Rule:** Direct referrer always gets 50%, indirect (level 2) always gets 10%, platform takes the rest.

**1. Referral Hierarchy**

* **Level 1 (Direct)**: Users you invite directly earn you **50%** of GRODT's cut.
* **Level 2 (Indirect)**: Users invited by your Level 1 referrals earn you **10%**.

**2. Commission Calculation**

Commissions are based on **GRODT's cut** (trading fees minus prize pool contribution):

**Example**:

* Trade fee: $10 → $1 to prize pool → $9 GRODT's cut.
* **Your earnings**: $4.50 (50% of $9) for Level 1, $0.90 (10%) for Level 2.

***

#### **For Users** <a href="#for-users" id="for-users"></a>

**Getting Started**

1. Find your **unique referral link** in the bot (`/referrals` command).
2. Share the link with friends.

**Tracking Earnings**

Check your dashboard in the bot or website for:

* Total referrals
* Commission history
* Payout status

***

#### **For Admins** <a href="#for-admins" id="for-admins"></a>

**Custom Controls**

* **Adjust Rates**: Change commission % for specific users.
* **Block Referrals**: Disable spam/unwanted participants.
* **Analytics**
* View total referral volume, top performers, and payout summaries.

***

#### **Example Scenario** <a href="#example-scenario" id="example-scenario"></a>

| User    | Trade Volume | Your Earnings |
| ------- | ------------ | ------------- |
| Level 1 | $1,000       | $4.50         |
| Level 2 | $500         | $0.45         |

***

#### **FAQ** <a href="#faq" id="faq"></a>

❓ **How often are payouts?** → Weekly, in SOL/USDC.

❓ **Can I change my referral link?** → Yes, each user can change his referral link.

❓ **Where can I see my referrals?** → Use `/referrals` in the bot or visit the website dashboard.

❓ **Can i update my referrer?** → No, you can not update your referrer.

❓ **Can i set my referrer?** → Yes, you can set your referrer if it not already set by you or your are not referred by anybody.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://grodt-bot.gitbook.io/grodt-trading-bot/referral-and-affiliate-program.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
