UNPKG

@etherspot/contracts

Version:

Etherspot Solidity contracts

110 lines (103 loc) 3.39 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; import { Provider, TransactionRequest } from "@ethersproject/providers"; import type { BlockLib, BlockLibInterface } from "../BlockLib"; const _abi = [ { inputs: [ { internalType: "bytes8", name: "c__f0eb5f6b", type: "bytes8", }, ], name: "c_f0eb5f6b", outputs: [], stateMutability: "pure", type: "function", }, { inputs: [ { internalType: "bytes8", name: "c__f0eb5f6b", type: "bytes8", }, ], name: "c_falsef0eb5f6b", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "pure", type: "function", }, { inputs: [ { internalType: "bytes8", name: "c__f0eb5f6b", type: "bytes8", }, ], name: "c_truef0eb5f6b", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "pure", type: "function", }, ]; const _bytecode = "0x610179610026600b82828239805160001a60731461001957fe5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061004b5760003560e01c80635e9714b614610050578063911f807c146100af57806391f2f13c146100f8575b600080fd5b6100976004803603602081101561006657600080fd5b81019080803577ffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610157565b60405180821515815260200191505060405180910390f35b6100f6600480360360208110156100c557600080fd5b81019080803577ffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610162565b005b61013f6004803603602081101561010e57600080fd5b81019080803577ffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610165565b60405180821515815260200191505060405180910390f35b600060019050919050565b50565b600091905056fea164736f6c634300060c000a"; type BlockLibConstructorParams = | [signer?: Signer] | ConstructorParameters<typeof ContractFactory>; const isSuperArgs = ( xs: BlockLibConstructorParams ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1; export class BlockLib__factory extends ContractFactory { constructor(...args: BlockLibConstructorParams) { if (isSuperArgs(args)) { super(...args); } else { super(_abi, _bytecode, args[0]); } } deploy( overrides?: Overrides & { from?: string | Promise<string> } ): Promise<BlockLib> { return super.deploy(overrides || {}) as Promise<BlockLib>; } getDeployTransaction( overrides?: Overrides & { from?: string | Promise<string> } ): TransactionRequest { return super.getDeployTransaction(overrides || {}); } attach(address: string): BlockLib { return super.attach(address) as BlockLib; } connect(signer: Signer): BlockLib__factory { return super.connect(signer) as BlockLib__factory; } static readonly bytecode = _bytecode; static readonly abi = _abi; static createInterface(): BlockLibInterface { return new utils.Interface(_abi) as BlockLibInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): BlockLib { return new Contract(address, _abi, signerOrProvider) as BlockLib; } }