- Static error checking is always better than runtime crazy ones.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ethers } from 'hardhat'; | |
import Safe, { EthersAdapter } from '@gnosis.pm/safe-core-sdk'; | |
import { SafeTransactionDataPartial } from '@gnosis.pm/safe-core-sdk-types'; | |
import SafeServiceClient, { | |
SafeInfoResponse, | |
} from '@gnosis.pm/safe-service-client'; | |
const SUPPORTED_NETWORKS: number[] = [4]; // Array of supported networks | |
const GNOSIS_SAFE_ADDRESS: string = | |
'0xF16cAC48d46135247CC2f1e5054d0B2b0f0000AF'; // Address of Gnosis Safe |