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

ERC777 : Change visibility of transferFrom, transfer and approve functions from external to public. #1994

Closed
arindamghosh4995 opened this issue Nov 14, 2019 · 1 comment · Fixed by #2001

Comments

@arindamghosh4995
Copy link
Contributor

arindamghosh4995 commented Nov 14, 2019

🧐 Motivation
I am trying to move from a previous implementation of ERC20 to ERC777 with a few custom checks that need to be made before allocating allowances and transfer of tokens.

📝 Details
The current implementation of ERC777 makes moving from ERC20 to ERC777 difficult, since functions like ERC777.transferFrom cannot be called from any child class extending ERC777 contract.

@frangio
Copy link
Contributor

frangio commented Nov 15, 2019

Would you like to submit a PR?

arindamghosh4995 added a commit to arindamghosh4995/openzeppelin-contracts that referenced this issue Nov 18, 2019
arindamghosh4995 added a commit to arindamghosh4995/openzeppelin-contracts that referenced this issue Nov 18, 2019
frangio pushed a commit that referenced this issue Nov 27, 2019
 (#2001)

* Changes ERC777 external functions to public for allowing overrides #1994

* Changes ERC777 external functions to public for allowing overrides (#1994)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants