From 5374c33a7bf8b4d5ba5c8b8f2fa437a8c2622d78 Mon Sep 17 00:00:00 2001 From: Siddharth2207 Date: Sat, 2 Sep 2023 17:45:44 +0530 Subject: [PATCH 1/2] added mumbai and polygon network --- src/BatchScript.sol | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/BatchScript.sol b/src/BatchScript.sol index feb7fe7..aaa6fbf 100644 --- a/src/BatchScript.sol +++ b/src/BatchScript.sol @@ -153,6 +153,12 @@ abstract contract BatchScript is Script, DelegatePrank { } else if (chainId == 43114) { SAFE_API_BASE_URL = "https://safe-transaction-avalanche.safe.global/api/v1/safes/"; SAFE_MULTISEND_ADDRESS = 0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761; + }else if (chainId == 137) { + SAFE_API_BASE_URL = "https://safe-transaction-avalanche.safe.global/api/v1/safes/"; + SAFE_MULTISEND_ADDRESS = 0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761; + }else if (chainId == 80001) { + SAFE_API_BASE_URL = "https://safe-transaction-avalanche.safe.global/api/v1/safes/"; + SAFE_MULTISEND_ADDRESS = 0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761; } else { revert("Unsupported chain"); } From 302c5bb47bd31a81661cc14bdbc59b74840a1f3d Mon Sep 17 00:00:00 2001 From: Siddharth2207 Date: Sat, 2 Sep 2023 17:54:05 +0530 Subject: [PATCH 2/2] remove support for mumbai --- src/BatchScript.sol | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/BatchScript.sol b/src/BatchScript.sol index aaa6fbf..86b158b 100644 --- a/src/BatchScript.sol +++ b/src/BatchScript.sol @@ -154,12 +154,9 @@ abstract contract BatchScript is Script, DelegatePrank { SAFE_API_BASE_URL = "https://safe-transaction-avalanche.safe.global/api/v1/safes/"; SAFE_MULTISEND_ADDRESS = 0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761; }else if (chainId == 137) { - SAFE_API_BASE_URL = "https://safe-transaction-avalanche.safe.global/api/v1/safes/"; - SAFE_MULTISEND_ADDRESS = 0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761; - }else if (chainId == 80001) { - SAFE_API_BASE_URL = "https://safe-transaction-avalanche.safe.global/api/v1/safes/"; + SAFE_API_BASE_URL = "https://safe-transaction-polygon.safe.global/api/v1/safes/"; SAFE_MULTISEND_ADDRESS = 0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761; - } else { + }else { revert("Unsupported chain"); }