ApeWorX / ape-etherscan

Etherscan explorer plugin using EVM-based networks for the Ape Framework
https://www.apeworx.io/
Apache License 2.0
21 stars 25 forks source link

feat: implement flattened contract verification [APE-1187] #96

Closed z80dev closed 11 months ago

z80dev commented 12 months ago

What I did

Implement verification using flattened contract source for non-ethereum ecosystems

fixes: #94 fixes: APE-1089

How I did it

Check for ethereum ecosystem, and otherwise use single-file input format and flattened source.

Also fixed constructor argument parsing.

How to verify it

Deploy contract to testnet with publish=True. I checked contracts with:

Checklist

z80dev commented 11 months ago

telegram-cloud-photo-size-1-5064410524325882945-y etherscan link: https://mumbai.polygonscan.com/address/0x130878f92353599955dfa5FFdb999ACF7E10005e#code