Skip to content

Commit

Permalink
Add Berachain
Browse files Browse the repository at this point in the history
  • Loading branch information
Fbartoli authored and moisses89 committed Feb 11, 2025
1 parent e332633 commit 2a8e72a
Show file tree
Hide file tree
Showing 4 changed files with 220 additions and 9 deletions.
1 change: 1 addition & 0 deletions safe_eth/eth/ethereum_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -1825,6 +1825,7 @@ class EthereumNetwork(Enum):
MODULARIUM = 776877
ZEBRO_SMART_CHAIN = 786786
OCTASPACE = 800001
BERACHAIN = 80094
BIZ_SMART_CHAIN_TESTNET = 808080
BOB_SEPOLIA = 808813
ZKLINK_NOVA_MAINNET = 810180
Expand Down
1 change: 1 addition & 0 deletions safe_eth/eth/multicall.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ class Multicall(ContractBase):
EthereumNetwork.FUSION_TESTNET: "0xcA11bde05977b3631167028862bE2a173976CA11",
EthereumNetwork.AREON_NETWORK_MAINNET: "0xcA11bde05977b3631167028862bE2a173976CA11",
EthereumNetwork.FLARE_MAINNET: "0xcA11bde05977b3631167028862bE2a173976CA11",
EthereumNetwork.BERACHAIN: "0xcA11bde05977b3631167028862bE2a173976CA11",
}

def __init__(
Expand Down
29 changes: 29 additions & 0 deletions safe_eth/safe/addresses.py
Original file line number Diff line number Diff line change
Expand Up @@ -2091,6 +2091,30 @@
"1.3.0+L2",
), # v1.3.0+L2
],
EthereumNetwork.BERACHAIN: [
("0x41675C099F32341bf84BFc5382aF534df5C7461a", 40883, "1.4.1"), # v1.4.1
(
"0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
40887,
"1.4.1+L2",
), # v1.4.1+L2
(
"0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552",
41420,
"1.3.0",
), # v1.3.0 canonical
(
"0x3E5c63644E683549055b9Be8653de26E0B4CD36E",
41416,
"1.3.0+L2",
), # v1.3.0+L2 canonical
("0x69f4D1788e39c87893C980c06EdF4b7f686e2938", 45842, "1.3.0"), # v1.3.0
(
"0xfb1bffC9d739B8D520DaF37dF666da4C687191EA",
45838,
"1.3.0+L2",
), # v1.3.0+L2
],
}

PROXY_FACTORIES: Dict[EthereumNetwork, List[Tuple[str, int]]] = {
Expand Down Expand Up @@ -3119,4 +3143,9 @@
("0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC", 7393985), # v1.3.0 eip155
("0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2", 7394571), # v1.3.0 canonical
],
EthereumNetwork.BERACHAIN: [
("0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67", 40852), # v1.4.1
("0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC", 45810), # v1.3.0 eip155
("0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2", 41386), # v1.3.0 canonical
],
}
Loading

0 comments on commit 2a8e72a

Please sign in to comment.