-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
Improve ERC1363 documentation #3993
Improve ERC1363 documentation #3993
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The IERC1363 interfaceId is indeed documented incorrectly.
For the value vs amount issue, I'm not sure if we want to deviate from the EIP document. Could it possibly break library that extracts names of arguments?
Also the IERC20 interface differs from the official EIP using |
Any update? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @vittominacori.
Re: amount vs value. There is currently an inconsistency around the use of these terms that we will need to tackle (see #3864), but I agree with the reasoning for the change in this PR.
Noticed that the interface id to be returned in IERC1363 comment has a wrong value.
It splits the interface ids in 2 different values instead of an unique one as defined in the final EIP specification.
Then I also added some comments and changed the
value
param toamount
to be ERC20 like.I think that all the pending PRs (#3017, #3525) to add ERC1363 implementation are now obsolete so if you need some help to add ERC1363 implementation feel free to ask and I will try adding it opening a fresh new PR following the new OZ guidelines.
PR Checklist
npx changeset add
)