erc6551 / reference

ERC-6551 reference implementation
153 stars 50 forks source link

Making examples' functions virtual #16

Closed sullof closed 1 year ago

sullof commented 1 year ago

The examples in the repo, despite being basic, are correct and safe and can be used as a solid base to build more advanced contracts. In order to do so, the functions must be virtual, so that they can be overridden.

@jaydenwindle This PR adds virtual to the functions' signatures, making them also public so they can be called as super.

jaydenwindle commented 1 year ago

@sullof thanks for the PR!