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

Unable to register same function name with different parameters #120

Open
alexdupre opened this issue Jun 28, 2022 · 0 comments
Open

Unable to register same function name with different parameters #120

alexdupre opened this issue Jun 28, 2022 · 0 comments

Comments

@alexdupre
Copy link

When I try to add the following signatures on https://www.4byte.directory/submit/ :

function addLiquidityNAT(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountNATMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256 amountToken,
            uint256 amountNAT,
            uint256 liquidity
        )

I get the following message:

Function signature addLiquidityNAT(address,uint256,uint256,uint256,address,uint256,uint256,uint256) already exists.

But actually this is a different function, the parameters and the function signature are different.

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

No branches or pull requests

1 participant