UNPKG

@etherspot/contracts

Version:

Etherspot Solidity contracts

131 lines (127 loc) 2.52 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import { Provider } from "@ethersproject/providers"; import type { Guarded, GuardedInterface } from "../Guarded"; const _abi = [ { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "sender", type: "address", }, { indexed: false, internalType: "address", name: "guardian", type: "address", }, ], name: "GuardianAdded", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "sender", type: "address", }, { indexed: false, internalType: "address", name: "guardian", type: "address", }, ], name: "GuardianRemoved", type: "event", }, { inputs: [ { internalType: "address", name: "guardian", type: "address", }, ], name: "addGuardian", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "guardian", type: "address", }, ], name: "isGuardian", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "guardian", type: "address", }, ], name: "removeGuardian", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bytes32", name: "messageHash", type: "bytes32", }, { internalType: "bytes", name: "signature", type: "bytes", }, ], name: "verifyGuardianSignature", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, ]; export class Guarded__factory { static readonly abi = _abi; static createInterface(): GuardedInterface { return new utils.Interface(_abi) as GuardedInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): Guarded { return new Contract(address, _abi, signerOrProvider) as Guarded; } }