Skip to main content

πŸ”§ Fee Structure

Chainbased Contract: Fee Structure and Exemptions​

The Chainbased contract includes a structured fee mechanism designed to:

  1. Support liquidity,
  2. Reward holders with dividends, and
  3. Gradually reduce the circulating token supply through a burn mechanism.

Alt text

Here’s an outline of how fees work, when they apply, and how specific transactions are exempted from fees.

πŸ“Š Fee Structure​

Total Fee: A 1% transaction fee is applied to buy and sell transactions through the liquidity pool. This fee is split as follows:

  • Liquidity Fee (45%): 45% of the total fee is allocated to enhance liquidity and stabilize the token’s market presence.
  • Reflection (Dividend) Fee (50%): 50% of the fee is distributed as dividends to token holders based on their share.
  • Burn Fee (5%): 5% of the fee is sent to a burn address, permanently reducing the token supply and increasing scarcity.

πŸ”“ Exemptions from Fees​

The Chainbased contract allows flexibility in its fee structure, exempting certain transactions from fees, particularly for non-trading transfers:

  • Non-Trading Transactions: Transfers that don’t involve the liquidity pair (such as wallet-to-wallet transfers) can be exempt from fees.
  • Fee-Exempt Addresses: The contract owner can designate specific addresses as fee-exempt using the setIsFeeExempt function. This is useful for internal wallets or trusted addresses that should not incur fees.

πŸ’‘ Example Scenario: Fee and Dividend Distribution in a Transaction​

To see how fees are calculated and distributed in a typical transaction, let’s walk through an example:

Transaction Details​

  • Amount Transferred: 1,000 BASD tokens
  • Total Fee: 1% of the transaction amount

Step-by-Step Fee Calculation and Distribution​

  1. Calculate Total Fee:

    • The total fee is 1% of the transaction amount:
      • Total Fee Amount = 1,000 * 1% = 10 BASD
  2. Breakdown of Fees:

    • Liquidity Fee (45%): 10 * 0.45 = 4.5 BASD
    • Reflection (Dividend) Fee (50%): 10 * 0.50 = 5 BASD
    • Burn Fee (5%): 10 * 0.05 = 0.5 BASD
  3. Distribution of Fees:

    • Liquidity Fee: 4.5 BASD is directed to the liquidity pool.
    • Reflection Fee: 5 BASD goes to the dividend distributor for token holders.
    • Burn Fee: 0.5 BASD is sent to the burn address, permanently reducing supply.
  4. Amount Received by Recipient:

    • After deducting the total fee, the recipient receives:
      • Amount Received = 1,000 - 10 = 990 BASD

⚠️ Important Note on Non-Trading Transactions​

For wallet-to-wallet transfers that do not involve the liquidity pair, fees are generally not applied. Additionally, if either the sender or recipient is set as a fee-exempt address (using setIsFeeExempt), the transaction will not incur any fees.

This setup ensures that fees apply only to trading transactions, while standard wallet transfers remain unaffected.

This structure helps maintain an efficient and fair distribution system, benefiting both holders and the token’s market stability.