function setTaxFeePercent(uint256 taxFeeBps) external onlyOwner {
_taxFee = taxFeeBps;
require(
_taxFee + _liquidityFee + _charityFee <= MAX_FEE,
"Total fee is over 25%"
);
}
function setLiquidityFeePercent(
uint256 liquidityFeeBps
) external onlyOwner {
_liquidityFee = liquidityFeeBps;
require(
_taxFee + _liquidityFee + _charityFee <= MAX_FEE,
"Total fee is over 25%"
);
}
function setCharityFeePercent(uint256 charityFeeBps) external onlyOwner {
_charityFee = charityFeeBps;
require(
_taxFee + _liquidityFee + _charityFee <= MAX_FEE,
"Total fee is over 25%"
);
}
There is no specific recommendation necessary.
function excludeFromFee(address account) public onlyOwner {
_isExcludedFromFee[account] = true;
}
There is no specific recommendation for this finding.
function setSwapBackSettings(uint256 _amount) external onlyOwner {
require(
_amount >= totalSupply().mul(5).div(10 ** 4),
"Swapback amount should be at least 0.05% of total supply"
);
numTokensSellToAddToLiquidity = _amount;
emit SwapAndLiquifyAmountUpdated(_amount);
}
There is no specific recommendation for this finding.
function excludeFromReward(address account) public onlyOwner {
// require(account != 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, 'We can not exclude Uniswap router.');
require(!_isExcluded[account], "Account is already excluded");
if (_rOwned[account] > 0) {
_tOwned[account] = tokenFromReflection(_rOwned[account]);
}
_isExcluded[account] = true;
_excluded.push(account);
}
function includeInReward(address account) external onlyOwner {
require(_isExcluded[account], "Account is already excluded");
for (uint256 i = 0; i < _excluded.length; i++) {
if (_excluded[i] == account) {
_excluded[i] = _excluded[_excluded.length - 1];
_tOwned[account] = 0;
_isExcluded[account] = false;
_excluded.pop();
break;
}
}
}
There is no specific recommendation for this finding.
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.