0

I'm trying to code a token and it is not recognizing constructor.. why? enter image description here

luk2302
  • 55,258
  • 23
  • 97
  • 137

1 Answers1

1

You're trying to deploy the ERC20 (parent) contract, not the Avenger.

Select the Avenger contract in the "Deploy & Run transactions" tab, under the "Contract" label (just above the orange "Deploy" button). Then it will ask you to pass the constructor param(s).

Petr Hejda
  • 40,554
  • 8
  • 72
  • 100