UNPKG

@etherspot/contracts

Version:

Etherspot Solidity contracts

110 lines (103 loc) 3.42 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 { StringsLib, StringsLibInterface } from "../StringsLib"; const _abi = [ { inputs: [ { internalType: "bytes8", name: "c__1044b449", type: "bytes8", }, ], name: "c_1044b449", outputs: [], stateMutability: "pure", type: "function", }, { inputs: [ { internalType: "bytes8", name: "c__1044b449", type: "bytes8", }, ], name: "c_false1044b449", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "pure", type: "function", }, { inputs: [ { internalType: "bytes8", name: "c__1044b449", type: "bytes8", }, ], name: "c_true1044b449", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "pure", type: "function", }, ]; const _bytecode = "0x610179610026600b82828239805160001a60731461001957fe5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061004b5760003560e01c80633f392c63146100505780634879156e14610099578063a33684d7146100f8575b600080fd5b6100976004803603602081101561006657600080fd5b81019080803577ffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610157565b005b6100e0600480360360208110156100af57600080fd5b81019080803577ffffffffffffffffffffffffffffffffffffffffffffffff1916906020019092919050505061015a565b60405180821515815260200191505060405180910390f35b61013f6004803603602081101561010e57600080fd5b81019080803577ffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610165565b60405180821515815260200191505060405180910390f35b50565b600060019050919050565b600091905056fea164736f6c634300060c000a"; type StringsLibConstructorParams = | [signer?: Signer] | ConstructorParameters<typeof ContractFactory>; const isSuperArgs = ( xs: StringsLibConstructorParams ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1; export class StringsLib__factory extends ContractFactory { constructor(...args: StringsLibConstructorParams) { if (isSuperArgs(args)) { super(...args); } else { super(_abi, _bytecode, args[0]); } } deploy( overrides?: Overrides & { from?: string | Promise<string> } ): Promise<StringsLib> { return super.deploy(overrides || {}) as Promise<StringsLib>; } getDeployTransaction( overrides?: Overrides & { from?: string | Promise<string> } ): TransactionRequest { return super.getDeployTransaction(overrides || {}); } attach(address: string): StringsLib { return super.attach(address) as StringsLib; } connect(signer: Signer): StringsLib__factory { return super.connect(signer) as StringsLib__factory; } static readonly bytecode = _bytecode; static readonly abi = _abi; static createInterface(): StringsLibInterface { return new utils.Interface(_abi) as StringsLibInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): StringsLib { return new Contract(address, _abi, signerOrProvider) as StringsLib; } }