openzeppelin-contracts icon indicating copy to clipboard operation
openzeppelin-contracts copied to clipboard

Does StandardToken.sol really comply with the ERC20 standard?

Open AxiomFlow opened this issue 8 years ago • 1 comments

The ERC20 standard mentions a transfer function, which is missing in StandardToken.sol.

AxiomFlow avatar Dec 21 '17 06:12 AxiomFlow

It looks like you may have missed this part :

contract StandardToken is ERC20, BasicToken 

If you run a test using transfer using StandardToken.sol you will see that there is no problem.

boutdemousse avatar Jan 09 '18 01:01 boutdemousse