0

I'm getting the following error while verifying my ERC-1155 smart contracts.

Before verifying I cross-checked the following things:

  • compiler version.
  • Optimizer settings (enabled or not, runs, etc.)
  • Solidity code.
  • All the libraries are imported correctly (flattened the OZ contracts in remix to have a single solidity file before deploying)

Note: my constructor doesn't have any arguments.

enter image description here

1 Answer 1

0

You Probably missing out on constructor parameters.

Look out does contract have constructor parameters.

Give parameters in 64 characters, add zeros as padding.

Check constructor parameters like this https://mumbai.polygonscan.com/address/0x11f7f73a70bb161f4f0ca7d74920b374c80f8cde#code

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.