Remix + Invalid Constructor Arguments Provided

This is a quick debugging posts meant for those encountering the specific error when trying to verify a smart contract’s code on Etherscan.

Assuming you are trying to verify a smart contract’s code on Etherscan and you are getting an error message regarding the constructor argument’s (ABI-encoded), this might help.

Did you paste in the whole value from the copy button to the left of the transact button?

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nazreen Mohamad

Nazreen Mohamad

Technical Instructor and Software Engineer.