/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import {
  Contract,
  ContractFactory,
  ContractTransactionResponse,
  Interface,
} from "ethers";
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
import type { NonPayableOverrides } from "../../../../common";
import type {
  UniswapV3FactoryMock,
  UniswapV3FactoryMockInterface,
} from "../../../../contracts/mock/uniswap/UniswapV3FactoryMock";

const _abi = [
  {
    inputs: [
      {
        internalType: "address",
        name: "token0",
        type: "address",
      },
      {
        internalType: "address",
        name: "token1",
        type: "address",
      },
      {
        internalType: "uint24",
        name: "fee",
        type: "uint24",
      },
    ],
    name: "getPool",
    outputs: [
      {
        internalType: "address",
        name: "",
        type: "address",
      },
    ],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "_pool",
        type: "address",
      },
    ],
    name: "setPoolMock",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
] as const;

const _bytecode =
  "0x608060405234801561001057600080fd5b5061016d806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80631698ee821461003b578063d6129f8f14610078575b600080fd5b61005c6100493660046100c6565b6000546001600160a01b03169392505050565b6040516001600160a01b03909116815260200160405180910390f35b6100a8610086366004610115565b600080546001600160a01b0319166001600160a01b0392909216919091179055565b005b80356001600160a01b03811681146100c157600080fd5b919050565b6000806000606084860312156100db57600080fd5b6100e4846100aa565b92506100f2602085016100aa565b9150604084013562ffffff8116811461010a57600080fd5b809150509250925092565b60006020828403121561012757600080fd5b610130826100aa565b939250505056fea2646970667358221220c067a463e8d88b3f5b59706fe50b10c8b9fe31e9603a6ddca4bfa8f50035accf64736f6c634300080b0033";

type UniswapV3FactoryMockConstructorParams =
  | [signer?: Signer]
  | ConstructorParameters<typeof ContractFactory>;

const isSuperArgs = (
  xs: UniswapV3FactoryMockConstructorParams
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;

export class UniswapV3FactoryMock__factory extends ContractFactory {
  constructor(...args: UniswapV3FactoryMockConstructorParams) {
    if (isSuperArgs(args)) {
      super(...args);
    } else {
      super(_abi, _bytecode, args[0]);
    }
  }

  override getDeployTransaction(
    overrides?: NonPayableOverrides & { from?: string }
  ): Promise<ContractDeployTransaction> {
    return super.getDeployTransaction(overrides || {});
  }
  override deploy(overrides?: NonPayableOverrides & { from?: string }) {
    return super.deploy(overrides || {}) as Promise<
      UniswapV3FactoryMock & {
        deploymentTransaction(): ContractTransactionResponse;
      }
    >;
  }
  override connect(
    runner: ContractRunner | null
  ): UniswapV3FactoryMock__factory {
    return super.connect(runner) as UniswapV3FactoryMock__factory;
  }

  static readonly bytecode = _bytecode;
  static readonly abi = _abi;
  static createInterface(): UniswapV3FactoryMockInterface {
    return new Interface(_abi) as UniswapV3FactoryMockInterface;
  }
  static connect(
    address: string,
    runner?: ContractRunner | null
  ): UniswapV3FactoryMock {
    return new Contract(
      address,
      _abi,
      runner
    ) as unknown as UniswapV3FactoryMock;
  }
}
