Skip to content

Commit

Permalink
add multisend addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
danoctavian committed Oct 8, 2024
1 parent 8e14cf0 commit 99c9d71
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
7 changes: 5 additions & 2 deletions script/BaseData.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,11 @@ contract BaseData is Script {

function isSupportedChainId(uint256 chainId) internal view returns (bool isSupported) {
isSupported = chainId == __chainIds.mainnet || chainId == __chainIds.base || chainId == __chainIds.fraxtal
|| chainId == __chainIds.optimism || chainId == __chainIds.arbitrum || chainId == __chainIds.holesky
|| chainId == __chainIds.fraxtalTestnet || chainId == __chainIds.sepolia
|| chainId == __chainIds.optimism || chainId == __chainIds.arbitrum || chainId == __chainIds.manta
|| chainId == __chainIds.taiko || chainId == __chainIds.scroll || chainId == __chainIds.fantom
|| chainId == __chainIds.mantle || chainId == __chainIds.blast || chainId == __chainIds.linea
// testnets
|| chainId == __chainIds.holesky || chainId == __chainIds.fraxtalTestnet || chainId == __chainIds.sepolia
|| chainId == __chainIds.morphTestnet;
}

Expand Down
21 changes: 21 additions & 0 deletions script/BatchScript.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,27 @@ abstract contract BatchScript is Script {
} else if (chainId == 2810) {
SAFE_API_BASE_URL = "";
SAFE_MULTISEND_ADDRESS = 0x998739BFdAAdde7C933B942a68053933098f9EDa;
} else if (chainId == 169) {
SAFE_API_BASE_URL = "";
SAFE_MULTISEND_ADDRESS = 0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761;
} else if (chainId == 167000) {
SAFE_API_BASE_URL = "";
SAFE_MULTISEND_ADDRESS = 0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761;
} else if (chainId == 534352) {
SAFE_API_BASE_URL = "";
SAFE_MULTISEND_ADDRESS = 0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761;
} else if (chainId == 250) {
SAFE_API_BASE_URL = "";
SAFE_MULTISEND_ADDRESS = 0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761;
} else if (chainId == 5000) {
SAFE_API_BASE_URL = "";
SAFE_MULTISEND_ADDRESS = 0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761;
} else if (chainId == 81457) {
SAFE_API_BASE_URL = "";
SAFE_MULTISEND_ADDRESS = 0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761;
} else if (chainId == 59144) {
SAFE_API_BASE_URL = "";
SAFE_MULTISEND_ADDRESS = 0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761;
} else {
revert("Unsupported chain");
}
Expand Down

0 comments on commit 99c9d71

Please sign in to comment.