function excludeFromFees(address account) external onlyOwner {
require(
!_isExcludedFromFees[account],
"BABYTOKEN: Account is already excluded"
);
_isExcludedFromFees[account] = true;
emit ExcludeFromFees(account);
}
function excludeMultipleAccountsFromFees(
address[] calldata accounts
) external onlyOwner {
for (uint256 i = 0; i < accounts.length; i++) {
_isExcludedFromFees[accounts[i]] = true;
}
emit ExcludeMultipleAccountsFromFees(accounts);
}
If fee exclusions are necessary (e.g., for exchanges, liquidity pools, staking contracts, or other contracts), disclose this mechanism publicly and log each change clearly and transparently share with the community.
function setSwapTokensAtAmount(uint256 amount) external onlyOwner {
require(
amount > totalSupply() / 10 ** 5,
"BABYTOKEN: Amount must be greater than 0.001% of total supply"
);
swapTokensAtAmount = amount;
}
This function is limited but still centralized.
function setTokenRewardsFee(uint256 value) external onlyOwner {
tokenRewardsFee = value;
totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee);
require(totalFees <= 25, "Total fee is over 25%");
}
function setLiquiditFee(uint256 value) external onlyOwner {
liquidityFee = value;
totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee);
require(totalFees <= 25, "Total fee is over 25%");
}
function setMarketingFee(uint256 value) external onlyOwner {
marketingFee = value;
totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee);
require(totalFees <= 25, "Total fee is over 25%");
}
This function is limited owner can set fees maximum 25%. Be Transparent to community about the fees and how they are set.
function excludeFromDividends(address account) external onlyOwner {
require(!excludedFromDividends[account]);
excludedFromDividends[account] = true;
_setBalance(account, 0);
tokenHoldersMap.remove(account);
emit ExcludeFromDividends(account);
}
function excludeFromDividends(address account) external onlyOwner {
dividendTracker.excludeFromDividends(account);
}
Owner has the power to selectively exclude addresses from receiving reflection-based rewards. Owner can exclude large holder accounts before reward distribution. Only restrict this power to whitelisted addresses like exchanges, liquidity pools, and other contracts and make it clear to the community.
function setEnableAntiBot(bool _enable) external onlyOwner {
enableAntiBot = _enable;
}
This feature prevents bots from inflating the price immediately at listing. Can add delays between transactions to prevent rapid, multiple swaps in the same block Allows control over the maximum amount of tokens tradable per transaction initially. Enables the maximum tradable amount to increase gradually over time (based on blocks).Provides the ability to manually add bot addresses (or any address) to a blacklist, preventing them from trading. Its Pinksale verified feature but still Centralized.
Disclaimer: This smart contract audit report, conducted by SecureWise, is intended for informational purposes only. It does not constitute an endorsement, investment advice, or a guarantee of any kind. The audit involved code analysis, manual review, testing, and risk classification.