/* 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 { MysteryMathV2, MysteryMathV2Interface } from "../MysteryMathV2"; const _abi = [ { inputs: [], stateMutability: "nonpayable", type: "constructor", }, { inputs: [ { internalType: "uint256", name: "a", type: "uint256", }, { internalType: "uint256", name: "b", type: "uint256", }, ], name: "doMath", outputs: [ { internalType: "uint256", name: "_result", type: "uint256", }, ], stateMutability: "pure", type: "function", }, { inputs: [], name: "getState", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "_var", type: "uint256", }, ], name: "setState", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "stateVar", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "version", outputs: [ { internalType: "uint32", name: "", type: "uint32", }, ], stateMutability: "view", type: "function", }, ]; const _bytecode = "0x60a060405234801561001057600080fd5b50600160e11b60805260026101606100316000398060f952506101606000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c8063793816ec11610050578063793816ec146100a7578063a9e966b7146100af578063d6c4979c146100ce57610067565b80631865c57d1461006c57806354fd4d5014610086575b600080fd5b6100746100f1565b60408051918252519081900360200190f35b61008e6100f7565b6040805163ffffffff9092168252519081900360200190f35b61007461011b565b6100cc600480360360208110156100c557600080fd5b5035610121565b005b610074600480360360408110156100e457600080fd5b5080359060200135610126565b60005490565b7f000000000000000000000000000000000000000000000000000000000000000081565b60005481565b600055565b029056fea264697066735822122034f6d0a8100e82e9f9e2453439dbf2c723da18fb2f703bfcfb8f313bc5d5b35164736f6c63430007060033"; export class MysteryMathV2__factory extends ContractFactory { constructor(signer?: Signer) { super(_abi, _bytecode, signer); } deploy( overrides?: Overrides & { from?: string | Promise } ): Promise { return super.deploy(overrides || {}) as Promise; } getDeployTransaction( overrides?: Overrides & { from?: string | Promise } ): TransactionRequest { return super.getDeployTransaction(overrides || {}); } attach(address: string): MysteryMathV2 { return super.attach(address) as MysteryMathV2; } connect(signer: Signer): MysteryMathV2__factory { return super.connect(signer) as MysteryMathV2__factory; } static readonly bytecode = _bytecode; static readonly abi = _abi; static createInterface(): MysteryMathV2Interface { return new utils.Interface(_abi) as MysteryMathV2Interface; } static connect( address: string, signerOrProvider: Signer | Provider ): MysteryMathV2 { return new Contract(address, _abi, signerOrProvider) as MysteryMathV2; } }