# Points System & Task Loop

The HypeHUB ecosystem is driven by a dynamic **points economy** that balances incentives for both **task creators (project owners)** and **task performers (users)**. This section explains how the point system works and how it fuels viral growth loops within the platform.

***

## 🏅 How Points Work (Earn / Spend Loop)

* **Points are the main currency** inside the HypeHUB app.
* Users **earn points** by completing verified social tasks (e.g., following, liking, commenting, joining).
* Project owners or task creators **spend points** to reward users who complete their tasks.
* Points can be **purchased** using supported tokens (e.g., $HPE or USDT), **earned via tasks**, or **granted via campaign bonuses**.

> 💡 Think of it like a flywheel: projects pay points → users complete tasks → engagement is delivered → projects get exposure → cycle repeats.

***

## ⚙️ Task Creation vs. Task Completion

| Role              | Action               | Points Flow                                            |
| ----------------- | -------------------- | ------------------------------------------------------ |
| **Project Owner** | Creates a new task   | Points are **locked** based on reward quantity         |
| **User**          | Completes a task     | Points are **earned** upon successful verification     |
| **System**        | Verifies interaction | Points are **released** to user or returned if invalid |

* A **successful completion** moves points from task pool to user wallet.
* An **invalid/incomplete submission** results in no point transfer.

***

## 🎯 How Rewards Are Set

* Task creators define:
  * **Reward per task** (e.g., 5 points per follower)
  * **Max participants** (e.g., 500 users)
* Example: If a task offers 5 points to 500 users, the creator must lock **2,500 points**.
* Rewards are **not deducted immediately** — only after verification.

> ✅ Verified = reward released\
> ❌ Rejected/invalid = points refunded to the task creator

***

## 🔁 When Points Are Deducted or Earned

**🔻 Points Deducted:**

* When launching a task, the **total reward pool is locked**.
* Points are **deducted only after successful task completions**.
* Unused points (from expired, failed, or canceled tasks) are **refunded**.

**🔺 Points Earned:**

* Points are credited after task submission is verified.
* Users can see **pending** vs **available** points in their wallet section.

***

## 🧪 Example Workflows

**▶️ Scenario 1 – Simple Task**

* Project A creates a Telegram join task: 10 points x 100 participants
* 1,000 points are locked
* 90 users join and pass verification
* 900 points go to users
* 100 points (unused) are returned to Project A

**▶️ Scenario 2 – Failed Submissions**

* User B submits a task but uses the wrong username
* Submission is flagged by the verification system
* No points are awarded to the user
* Points stay locked or are refunded back after review

**▶️ Scenario 3 – Bulk Campaign**

* Project X creates 3 tasks across platforms
* Users complete tasks and earn variable points (e.g., 5 for follow, 10 for share)
* Campaign analytics show task-by-task ROI and point usage
