function changeSellFees(
uint256 _sellDevFee,
uint256 _sellBurnFee
) external onlyOwner {
require(
(launchedAt + 7 days) < block.timestamp,
"can not change fees for 7 days"
);
sellTotalFee = _sellDevFee + _sellBurnFee;
require(sellTotalFee <= 10, "can not greater than 10%");
}
function changeBuyFees(
uint256 _buyDevFee,
uint256 _buyBurnFee
) external onlyOwner {
require(
(launchedAt + 7 days) < block.timestamp,
"can not change fees for 7 days"
);
buyTotalFee = _buyDevFee + _buyBurnFee;
require(buyTotalFee <= 10, "can not greater than 10%");
}
There is no specific recommendation necessary.
function setIsFeeExempt(address holder, bool exempt) external onlyOwner {
isFeeExempt[holder] = exempt;
emit SetIsFeeExempt(holder, exempt);
}
There is no specific recommendation for this finding.
function setDoContractSwap(bool _enabled) external onlyOwner {
contractSwapEnabled = _enabled;
emit SetDoContractSwap(_enabled);
}
There is no specific recommendation for this finding.
function rescueETH() external onlyOwner {
uint256 balance = address(this).balance;
require(balance > 0, "No enough ETH to transfer");
(bool success, ) = (msg.sender).call{value: balance}("");
if (!success) emit ETHTransferFailed(msg.sender, balance);
}
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.