Skip to content

Commit

Permalink
Exclude deprecated block explorer from supported networks page genera…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
louis-md committed Nov 23, 2023
1 parent ef46997 commit e642001
Show file tree
Hide file tree
Showing 5 changed files with 153 additions and 136 deletions.
19 changes: 18 additions & 1 deletion .github/scripts/generateSupportedNetworks.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ ${_contracts
.map(
c =>
`- \`${c.name}.sol\`: ${
c.blockExplorerUrl == null
c.blockExplorerUrl == null || deprecatedBlockExplorers.includes(c.blockExplorerUrl)
? c.address
: `[${c.address}](${c.blockExplorerUrl}/address/${c.address})`
}`
Expand All @@ -120,3 +120,20 @@ ${_contracts
}

generateSupportedNetworks()

const deprecatedBlockExplorers = [
'https://ropsten.etherscan.io',
'https://rinkeby.etherscan.io',
'https://kovan-optimistic.etherscan.io',
'https://stardust-explorer.metis.io',
'https://blockexplorer.rinkeby.boba.network',
'https://blockexplorer.bobabeam.boba.network',
'https://rabbit.analogscan.com',
'https://explorer.eurus.network',
'https://testnetexplorer.eurus.network',
'https://explorer.tst.publicmint.io',
'https://evm-testnet.venidiumexplorer.com',
'https://evm.venidiumexplorer.com',
'https://evm.explorer.canto.io',
'https://explorer.autobahn.network'
]
4 changes: 2 additions & 2 deletions safe-smart-account/supported-networks/v1.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ This network's chain ID is 1.

This network's chain ID is 4.

- `gnosis_safe.sol`: [0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A](https://rinkeby.etherscan.io/address/0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A)
- `proxy_factory.sol`: [0x12302fE9c02ff50939BaAaaf415fc226C078613C](https://rinkeby.etherscan.io/address/0x12302fE9c02ff50939BaAaaf415fc226C078613C)
- `gnosis_safe.sol`: 0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A
- `proxy_factory.sol`: 0x12302fE9c02ff50939BaAaaf415fc226C078613C


### Goerli
Expand Down
12 changes: 6 additions & 6 deletions safe-smart-account/supported-networks/v1.1.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ This network's chain ID is 1.

This network's chain ID is 4.

- `create_and_add_modules.sol`: [0xF61A721642B0c0C8b334bA3763BA1326F53798C0](https://rinkeby.etherscan.io/address/0xF61A721642B0c0C8b334bA3763BA1326F53798C0)
- `create_call.sol`: [0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a](https://rinkeby.etherscan.io/address/0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a)
- `default_callback_handler.sol`: [0xd5D82B6aDDc9027B22dCA772Aa68D5d74cdBdF44](https://rinkeby.etherscan.io/address/0xd5D82B6aDDc9027B22dCA772Aa68D5d74cdBdF44)
- `gnosis_safe.sol`: [0x34CfAC646f301356fAa8B21e94227e3583Fe3F5F](https://rinkeby.etherscan.io/address/0x34CfAC646f301356fAa8B21e94227e3583Fe3F5F)
- `multi_send.sol`: [0x8D29bE29923b68abfDD21e541b9374737B49cdAD](https://rinkeby.etherscan.io/address/0x8D29bE29923b68abfDD21e541b9374737B49cdAD)
- `proxy_factory.sol`: [0x76E2cFc1F5Fa8F6a5b3fC4c8F4788F0116861F9B](https://rinkeby.etherscan.io/address/0x76E2cFc1F5Fa8F6a5b3fC4c8F4788F0116861F9B)
- `create_and_add_modules.sol`: 0xF61A721642B0c0C8b334bA3763BA1326F53798C0
- `create_call.sol`: 0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a
- `default_callback_handler.sol`: 0xd5D82B6aDDc9027B22dCA772Aa68D5d74cdBdF44
- `gnosis_safe.sol`: 0x34CfAC646f301356fAa8B21e94227e3583Fe3F5F
- `multi_send.sol`: 0x8D29bE29923b68abfDD21e541b9374737B49cdAD
- `proxy_factory.sol`: 0x76E2cFc1F5Fa8F6a5b3fC4c8F4788F0116861F9B


### Goerli
Expand Down
2 changes: 1 addition & 1 deletion safe-smart-account/supported-networks/v1.2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This network's chain ID is 1.

This network's chain ID is 4.

- `gnosis_safe.sol`: [0x6851D6fDFAfD08c0295C392436245E5bc78B0185](https://rinkeby.etherscan.io/address/0x6851D6fDFAfD08c0295C392436245E5bc78B0185)
- `gnosis_safe.sol`: 0x6851D6fDFAfD08c0295C392436245E5bc78B0185


### Goerli
Expand Down
Loading

0 comments on commit e642001

Please sign in to comment.