Skip to content

Commit

Permalink
add explorer keys, small readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
d10r committed Aug 6, 2024
1 parent df7bfb2 commit 87e0591
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,12 @@ RPC=... npx truffle run --network <network> verify <contract_name>@<address> --c
Example invocation for verifying an instance of `PureSuperTokenProxy` deployed at `0x5A54F0a964AbBbD68f395E8Cc1Ba50f433d443e2`:

```bash
RPC=... npx truffle run --network any verify PureSuperTokenProxy@0x5A54F0a964AbBbD68f395E8Cc1Ba50f433d443e2
RPC=... npx truffle run --network any verify PureSuperTokenProxy@0x5A54F0a964AbBbD68f395E8Cc1Ba50f433d443e2 --custom-proxy PureSuperTokenProxy
```

Note that this will output an error message because failing to verify the linked implementation contract (which isn't part of this repository).
But verification of the proxy contract should succeed, and the implementation contract should already be verified anyway.

If verification succeeded (contract source code visible on that page), you may still need to manually trigger the proxy detection in order to enable the full SuperToken interface in the Explorer (and not just the proxy interface). In order to achieve that, click "More options", then "Is this a proxy?", in the next page "Verify", in the next popup "Save".
![image](https://user-images.githubusercontent.com/5479136/228034548-552044dc-5417-44ad-ae95-144e26c99c5e.png)

Expand Down
6 changes: 5 additions & 1 deletion truffle-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ module.exports = {
optimistic_etherscan: process.env.OPTIMISTIC_API_KEY,
bscscan: process.env.BSCSCAN_API_KEY,
arbiscan: process.env.ARBISCAN_API_KEY,
gnosisscan: process.env.GNOSISSCAN_API_KEY
gnosisscan: process.env.GNOSISSCAN_API_KEY,
celoscan: process.env.CELOSCAN_API_KEY,
basescan: process.env.BASESCAN_API_KEY,
zkevm_polygonscan: process.env.ZKEVM_POLYGONSCAN_API_KEY,
scrollscan: process.env.SCROLLSCAN_API_KEY
}
}

0 comments on commit 87e0591

Please sign in to comment.