Skip to content

Commit

Permalink
Merge pull request #4 from hardyjosh/main
Browse files Browse the repository at this point in the history
Avalanche support
  • Loading branch information
ind-igo authored Jul 28, 2023
2 parents d322b79 + 7f7d103 commit 4ce820b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/BatchScript.sol
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ abstract contract BatchScript is Script, DelegatePrank {
} else if (chainId == 42161) {
SAFE_API_BASE_URL = "https://safe-transaction-arbitrum.safe.global/api/v1/safes/";
SAFE_MULTISEND_ADDRESS = 0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761;
} else if (chainId == 43114) {
SAFE_API_BASE_URL = "https://safe-transaction-avalanche.safe.global/api/v1/safes/";
SAFE_MULTISEND_ADDRESS = 0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761;
} else {
revert("Unsupported chain");
}
Expand Down
4 changes: 2 additions & 2 deletions src/lib/DelegatePrank.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.2 <0.9.0;

import { CommonBase } from "../../lib/forge-std/src/Common.sol";
import "../../lib/forge-std/src/console.sol";
import { CommonBase } from "forge-std/Base.sol";
import "forge-std/console.sol";

/*
Make arbitrary delegatecalls to an implementation contract.
Expand Down

0 comments on commit 4ce820b

Please sign in to comment.