You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A major feature of ERC777 is that it can be used as if it were an ERC20 token: we should implement this interface to enable this use case.
Due to ERC777's state variables being private, the most straightforward way to achieve this would be by having this backward compatibility baked-in into the contract. We could then provide a second contract that disables the ERC20 functions (by calling revert on them) for users to opt-out of this compatibility.
The text was updated successfully, but these errors were encountered:
A major feature of ERC777 is that it can be used as if it were an ERC20 token: we should implement this interface to enable this use case.
Due to ERC777's state variables being private, the most straightforward way to achieve this would be by having this backward compatibility baked-in into the contract. We could then provide a second contract that disables the ERC20 functions (by calling
revert
on them) for users to opt-out of this compatibility.The text was updated successfully, but these errors were encountered: