weird-erc20 icon indicating copy to clipboard operation
weird-erc20 copied to clipboard

Add FLOKI to tokens who revert on 0 value transfers

Open marchev opened this issue 8 months ago • 0 comments

FLOKI is a famous token (currently #48 on Coinmarketcap) that reverts on 0 value transfers:

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) private {
        // ...
        require(amount > 0, "FLOKI:_transfer:ZERO_AMOUNT: Transfer amount must be greater than zero.");
        // ...
    }

https://github.com/Floki-Inu/token/blob/master/contracts/Floki.sol#L442

marchev avatar May 31 '24 16:05 marchev