IMG-LOGO

Identifying crypto scams through Static Analysis - Part 8

crypto4udit - 2025-03-26 01:48:24

Fee


The owner can increase the transfer fees to a very large amount or even set it to 100%, as a result, when users want to transfer their tokens, they lose them.


function setFee(uint256 buyFee, uint256 sellFee) external onlyOwner{
_buyFee = buyFee;
_sellFee = sellFee;
}