Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

marchev
Copy link

@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