First go to contract and click "verify":
When verifying a smart contract on Etherscan or Polygonscan, those are the options you need to specify:
On the next page we set optimisation to "yes"
Next go open a ticket in Discord requesting the source code for verification.
We then copy the contract source code and we paste it on ETH/Poly scan:
We now delete the constructor ABI displayed as an example on ETH/Poly scan:
And we copy our constructor ABI from step 4 under the smart contract source code:
Once all this has been done we can click verify and it will be done.