erc6551 / reference

ERC-6551 reference implementation
153 stars 50 forks source link

Adding ERC-777 #28

Closed sullof closed 1 year ago

sullof commented 1 year ago

The standard tokens included in OpenZeppelin suite are ERC20, ERC731, ERC1155 and ERC777. The latter is missed in this reference implementation. This PR adds support for it.

Notice that I didn't add a test for it because I don't really know how to test using forge. However, the implementation is minimalistic and I have tested that specific code in other projects. Of course, if someone would like to add a test, it would be great.

sullof commented 1 year ago

I am closing it because I just noticed that OpenZeppelin removed support for ERC777 in its version 5 of the contracts suit.