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
// SPDX-License-Identifier: MIT | |
pragma solidity >=0.4.22 <0.8.0; | |
pragma experimental ABIEncoderV2; | |
contract Wallet { | |
address[] public approvers; | |
uint8 public quorum; | |
struct Transfer { |
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
require("dotenv").config({ path: ".env" }); | |
import { BytesLike } from "ethers"; | |
import { ethers } from "hardhat"; | |
// import * as dotenv from "dotenv"; | |
// import IMultiSig from "../typechain-types/Imultisig.sol" | |
async function main() { | |
let provider = { | |
PrivateKey: process.env.PRIVATE_KEY as BytesLike, |