Skip to content

Add FLOKI to tokens who revert on 0 value transfers#28

Open
marchev wants to merge 1 commit intod-xo:mainfrom
marchev:patch-1
Open

Add FLOKI to tokens who revert on 0 value transfers#28
marchev wants to merge 1 commit intod-xo:mainfrom
marchev:patch-1

Conversation

@marchev
Copy link
Copy Markdown

@marchev marchev commented May 31, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant