Compiling ERC20: Warning: The "extcodehash" instruction is not supported by the VM version "byzantium"

Hi @crypto_economics,

Your ERC20 above is using a constructor which names a name and symbol, this is in OpenZeppelin Contracts 3.x. In OpenZeppelin Contracts 2.x we use ERC20Detailed.
See: Simple ERC20 Crowdsale.

1 Like