# Revenue Sharing System

The revenue-sharing system incentivizes participation by redistributing 50% of each purchase to token holders and allocating the other 50% to developers. This model promotes ecosystem sustainability and community engagement, with funds processed weekly via a smart contract.

* Goal: Reward token holders with significant stakes (≥0.3%) and fund platform development.
* Transparency: All distributions are recorded on the blockchain, auditable by any user via [Solscan](https://solscan.io/).

***

<figure><img src="https://1300483344-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckTfRhGOEFzmbqGEnxaG%2Fuploads%2FkO32U6k2y1VLpH6CCdTS%2F_-%20visual%20selection.png?alt=media&#x26;token=e77b88be-b977-4921-9787-eda2263b4ab8" alt=""><figcaption><p>This example is based on a price of 0.1 sol, but we will sell for 0.07 sol</p></figcaption></figure>

### Revenue Sharing System

* Role: Acts as a central pool collecting 50% of each purchase (0.05 SOL) and managing redistribution to eligible token holders.
* Functionality: A smart contract governs fund accumulation and triggers payouts every 7 days based on predefined logic, requiring owner approval for security.
* Integration: Connects to the token holders’ pool, calculating shares dynamically for those holding ≥0.3% of the specific token.

### Token Holders Distribution

* Mechanism: 50% of each purchase (0.035 SOL) is collected in Revenue Wallet and redistributed to all token holders who own ≥0.3% of the specific MaskNumber token, distributed every 7 days.
* Eligibility: A holder must own at least 0.3% of the total token supply (e.g., if the total supply is 100,000 tokens, a minimum of 300 tokens is required).
* Calculation: The distribution is based on the holder’s percentage of the total token supply and the duration of holding (e.g., a multiplier of 1x for 7 days, 1.5x for 30 days). The total redistributable amount is divided proportionally. For simplicity, we have choosen to show you the calculations based on a price of 0.1 sol, while we will set the price at 0.071 sol&#x20;
  * Example Calculation:
    * Total token supply: 100,000 tokens.
    * Weekly pool in Wallet 2: 0.5 SOL (from 10 purchases of 0.1 SOL each).
    * Eligible holder A owns 500 tokens (0.5% of supply) for 14 days (1.25x multiplier).
    * Eligible holder B owns 300 tokens (0.3% of supply) for 7 days (1x multiplier).
    * Total eligible tokens: 800 (500 + 300).
    * Holder A’s share: (500 / 800) \* 0.5 SOL \* 1.25 = 0.390625 SOL.
    * Holder B’s share: (300 / 800) \* 0.5 SOL \* 1.0 = 0.1875 SOL.
    * Total distributed: 0.578125 SOL (remaining 0.021875 SOL may roll over or cover fees).
* Smart Contract: Automates distribution using Rust-based code on the blockchain, ensuring tamper-proof execution. Owner approval (via multi-signature) is required for payouts exceeding a threshold (e.g., 1 SOL).
* Timing: Distributions occur every Sunday, with notifications sent via Telegram. The times might change each week a bit.&#x20;

Developer Wallet

* Allocation: Receives 50% of each purchase (0.035 SOL per 0.071 SOL transaction).
* Purpose: Funds platform development (e.g., new features, security audits), marketing, and support.
* Example: Over 100 purchases, developers earn 3.5 SOL, reinvested into enhancing the marketplace or API.
