Replies: 2 comments
-
All modifiers should be removed from human readable ABI. In v6 this will be enforced a bit more as only keyword arguments are allowed during lexing. The v5 parser is a little more forgiving with arbitrary strings since the parser and lexer are the same state machine, but this is more of an oversight than a feature. :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Moving to discussions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
When i try to call ethers.Contract, it gives me this error:
Error: unbalanced parenthesis (argument="value", value="uint8 type) external payable onlyWhitelisted onlyDuringPresale whenNotPaused onlyValidType (type", code=INVALID_ARGUMENT, version=abi/5.5.0)
reason: 'unbalanced parenthesis',
code: 'INVALID_ARGUMENT',
argument: 'value',
value: 'uint8 type) external payable onlyWhitelisted onlyDuringPresale whenNotPaused onlyValidType (type'
This, in my example, is caused by the function:
'function buyProperties ( uint8 type) external payable onlyWhitelisted onlyDuringPresale whenNotPaused onlyValidType(type)'
in the contract:
0x07d964c01f8A71670B86D7F01faa4bf04E57c852
Reproduction steps
Call the method:
Beta Was this translation helpful? Give feedback.
All reactions