Commit 08f8627
Add Etherscan configuration for new networks (#240)
## Description
Add the necessary configuration lines for allowing contract verification
on the Block explorers of the networks introduced in #239.
BNB was already verified. Optimism and Polygon just worked out of the
box. Avalanche defaults to [Snowtrace](https://snowtrace.io/), so I had
to include a custom configuration for that network in order to use
[SnowScan](https://snowscan.xyz/) and used:
```sh
npx hardhat verify --network avalanche 0x9E7Ae8Bdba9AA346739792d219a808884996Db67
npx hardhat verify --network avalanche 0x9008D19f58AAbD9eD0D60971565AA8510560ab41 0x2c4c28DDBdAc9C5E7055b4C863b72eA0149D8aFE 0xBA12222222228d8Ba445958a75a0704d566BF2C8
```
I also enabled Sourcify because why not?
## Test Plan
Check out the contract addresses on the block explorer.
---------
Co-authored-by: Mateo <mateo@cow.fi>1 parent 8930d74 commit 08f8627
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
190 | 193 | | |
191 | 194 | | |
192 | 195 | | |
193 | 196 | | |
194 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
195 | 201 | | |
196 | 202 | | |
197 | 203 | | |
| |||
202 | 208 | | |
203 | 209 | | |
204 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
205 | 219 | | |
206 | 220 | | |
207 | 221 | | |
0 commit comments