π§ Fee Structure
Chainbased Contract: Fee Structure and Exemptionsβ
The Chainbased contract includes a structured fee mechanism designed to:
- Support liquidity,
- Reward holders with dividends, and
- Gradually reduce the circulating token supply through a burn mechanism.
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β
-
Calculate Total Fee:
- The total fee is 1% of the transaction amount:
- Total Fee Amount = 1,000 * 1% = 10 BASD
- The total fee is 1% of the transaction amount:
-
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
-
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.
-
Amount Received by Recipient:
- After deducting the total fee, the recipient receives:
- Amount Received = 1,000 - 10 = 990 BASD
- After deducting the total fee, the recipient receives:
β οΈ 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.