0xjac / ERC777

New Standard for Ethereum Token
Mozilla Public License 2.0
128 stars 70 forks source link

Fully implements ERC777 #67

Closed isaacsultan closed 5 years ago

isaacsultan commented 5 years ago
ERC777/contracts/ERC777Token.sol:14:5: Missing implementation:
    function send(address to, uint256 amount) public;

I have fixed this by implementing function send(address to, uint256 amount within ERC777BaseToken.sol

0xjac commented 5 years ago

The send function without data () was removed from the standard at the end of may 2018 (see comment) to prevent incompatibility with languages without overloading, such as vyper.

The change in the implementation happened in 89212a675f18555c30cc7ef2e890e237e189b58d.

You may have had an outdated version of the ERC777 Token in the code base, lots as changed since then as well. You may want to update to the latest version of this repo. I will update the npm package too in the next couple of days.