Skip to content

Commit

Permalink
feat: add Blast Sepolia support (#791)
Browse files Browse the repository at this point in the history
* feat: add Blast Sepolia chain id

* feat: add 1.3.0 safe contracts for Blast Sepolia

* feat: add blockscout client for Blast Sepolia

* feat: update etherscan client for Blast Sepolia

---------

Co-authored-by: nick8319 <[email protected]>
  • Loading branch information
ElvisKrop and nick8319 authored Mar 22, 2024
1 parent 46233d8 commit 2702d50
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gnosis/eth/clients/etherscan_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ class EtherscanClient:
EthereumNetwork.SCROLL: "https://scrollscan.com",
EthereumNetwork.KROMA: "https://kromascan.com",
EthereumNetwork.KROMA_SEPOLIA: "https://sepolia.kromascan.com",
EthereumNetwork.BLAST_SEPOLIA_TESTNET: "https://sepolia.blastscan.io",
}

NETWORK_WITH_API_URL = {
Expand Down Expand Up @@ -98,6 +99,7 @@ class EtherscanClient:
EthereumNetwork.SCROLL: "https://api.scrollscan.com",
EthereumNetwork.KROMA: "https://api.kromascan.com",
EthereumNetwork.KROMA_SEPOLIA: "https://api-sepolia.kromascan.com",
EthereumNetwork.BLAST_SEPOLIA_TESTNET: "https://api-sepolia.blastscan.io",
}
HTTP_HEADERS = {
"User-Agent": "curl/7.77.0",
Expand Down
1 change: 1 addition & 0 deletions gnosis/eth/ethereum_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -1183,6 +1183,7 @@ class EthereumNetwork(Enum):
FRAME_TESTNET = 68840142
T_E_A_M_BLOCKCHAIN = 88888888
JOYS_DIGITAL_TESTNET = 99415706
BLAST_SEPOLIA_TESTNET = 168587773
GATHER_MAINNET_NETWORK = 192837465
KANAZAWA = 222000222
NEON_EVM_DEVNET = 245022926
Expand Down
7 changes: 7 additions & 0 deletions gnosis/safe/addresses.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,10 @@
("0x3E5c63644E683549055b9Be8653de26E0B4CD36E", 657757, "1.3.0+L2"),
("0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552", 657761, "1.3.0"),
],
EthereumNetwork.BLAST_SEPOLIA_TESTNET: [
("0x3E5c63644E683549055b9Be8653de26E0B4CD36E", 1087958, "1.3.0+L2"),
("0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552", 1087964, "1.3.0"),
],
}

PROXY_FACTORIES: Dict[EthereumNetwork, List[Tuple[str, int]]] = {
Expand Down Expand Up @@ -1412,4 +1416,7 @@
EthereumNetwork.LISK_SEPOLIA_TESTNET: [
("0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2", 657735), # v1.3.0
],
EthereumNetwork.BLAST_SEPOLIA_TESTNET: [
("0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2", 1087898), # v1.3.0
],
}

0 comments on commit 2702d50

Please sign in to comment.