lazy-minting icon indicating copy to clipboard operation
lazy-minting copied to clipboard

Error: TypeError: Contract "....." should be marked as abstract.

Open damianlluch opened this issue 3 years ago • 1 comments

Hi, I am wanting to implement your example, but when I extend my contract with EIP12 I get these errors.... My contract is created with Solidity version 0.8.2. I don't have a constructor

Any suggestions?

image

damianlluch avatar Feb 03 '22 16:02 damianlluch

Yeah so his contract inherits from two other contracts that each have their own constructor.

There's a constructor for both the ERC721 parent contract - and a constructor for the EIP712 contract. Both of those constructors need arguments for their parameters.

It's a little hard to tell from the information you provided - but it appears you may not have passed the arguments into the constructor for EIP712

St4rgarden avatar Mar 01 '22 07:03 St4rgarden