UNPKG

@etherspot/contracts

Version:

Etherspot Solidity contracts

85 lines (81 loc) 1.73 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import { Provider } from "@ethersproject/providers"; import type { AccountRegistry, AccountRegistryInterface, } from "../AccountRegistry"; 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", }, ]; export class AccountRegistry__factory { static readonly abi = _abi; static createInterface(): AccountRegistryInterface { return new utils.Interface(_abi) as AccountRegistryInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): AccountRegistry { return new Contract(address, _abi, signerOrProvider) as AccountRegistry; } }