TRC-016 TradingCooldown
Description
TradingCooldown describes whether the contract has a trading cooldown mechanism that limits the minimum time between two transactions.
Risk Pattern
function _transfer(address from, address recipient, uint256 amount) internal virtual override returns (bool) {
require(_balances[_msgSender()] >= amount, );
_balances[_msgSender()] -= amount;
require(cooldownTimer[recipient] < block.timestamp, );
cooldownTimer[recipient] = block.timestamp + cooldownTimerInterval;
_balances[recipient] += (amount-fee);
emit Transfer(_msgSender(), recipient, amount-fee);
return true;
}