/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */

import { Signer } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import { Contract, ContractFactory, Overrides } from "@ethersproject/contracts";

import type { InnovaiSpawnerExploitMock } from "../InnovaiSpawnerExploitMock";

export class InnovaiSpawnerExploitMock__factory extends ContractFactory {
  constructor(signer?: Signer) {
    super(_abi, _bytecode, signer);
  }

  deploy(
    _innovaiSpawner: string,
    overrides?: Overrides
  ): Promise<InnovaiSpawnerExploitMock> {
    return super.deploy(
      _innovaiSpawner,
      overrides || {}
    ) as Promise<InnovaiSpawnerExploitMock>;
  }
  getDeployTransaction(
    _innovaiSpawner: string,
    overrides?: Overrides
  ): TransactionRequest {
    return super.getDeployTransaction(_innovaiSpawner, overrides || {});
  }
  attach(address: string): InnovaiSpawnerExploitMock {
    return super.attach(address) as InnovaiSpawnerExploitMock;
  }
  connect(signer: Signer): InnovaiSpawnerExploitMock__factory {
    return super.connect(signer) as InnovaiSpawnerExploitMock__factory;
  }
  static connect(
    address: string,
    signerOrProvider: Signer | Provider
  ): InnovaiSpawnerExploitMock {
    return new Contract(
      address,
      _abi,
      signerOrProvider
    ) as InnovaiSpawnerExploitMock;
  }
}

const _abi = [
  {
    inputs: [
      {
        internalType: "address",
        name: "_innovaiSpawner",
        type: "address",
      },
    ],
    stateMutability: "nonpayable",
    type: "constructor",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "token0",
        type: "address",
      },
      {
        internalType: "address",
        name: "token1",
        type: "address",
      },
    ],
    name: "convert",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [],
    name: "innovaiSpawner",
    outputs: [
      {
        internalType: "contract InnovaiSpawner",
        name: "",
        type: "address",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
];

const _bytecode =
  "0x60a060405234801561001057600080fd5b506040516101ef3803806101ef8339818101604052602081101561003357600080fd5b5051606081901b6001600160601b0319166080526001600160a01b031661018561006a600039806091528060b552506101856000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80639c6da52b1461003b578063bd1b820c1461005f575b600080fd5b61004361008f565b604080516001600160a01b039092168252519081900360200190f35b61008d6004803603604081101561007557600080fd5b506001600160a01b03813581169160200135166100b3565b005b7f000000000000000000000000000000000000000000000000000000000000000081565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bd1b820c83836040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b0316815260200192505050600060405180830381600087803b15801561013357600080fd5b505af1158015610147573d6000803e3d6000fd5b50505050505056fea2646970667358221220e423efbc436ba54c3120bf2b58c9b2ef96e389a4dd77d3866322b81692d9d65e64736f6c634300060c0033";
