UNPKG

@etherspot/contracts

Version:

Etherspot Solidity contracts

75 lines (74 loc) 1.92 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AccountRegistry__factory = void 0; const ethers_1 = require("ethers"); const _abi = [ { inputs: [ { internalType: "address", name: "account", type: "address", }, { internalType: "bytes", name: "message", type: "bytes", }, { internalType: "bytes", name: "signature", type: "bytes", }, ], name: "isValidAccountSignature", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "account", type: "address", }, { internalType: "bytes32", name: "messageHash", type: "bytes32", }, { internalType: "bytes", name: "signature", type: "bytes", }, ], name: "isValidAccountSignature", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, ]; class AccountRegistry__factory { static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.AccountRegistry__factory = AccountRegistry__factory; AccountRegistry__factory.abi = _abi;