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

import { Contract, Interface, type ContractRunner } from "ethers";
import type {
  LimitOrderConnector,
  LimitOrderConnectorInterface,
} from "../../contracts/LimitOrderConnector";

const _abi = [
  {
    inputs: [],
    name: "ConnectorDelegatecallFailed",
    type: "error",
  },
  {
    anonymous: false,
    inputs: [
      {
        indexed: false,
        internalType: "address",
        name: "newModule",
        type: "address",
      },
    ],
    name: "LimitOrderManager",
    type: "event",
  },
  {
    inputs: [],
    name: "limitOrderManager",
    outputs: [
      {
        internalType: "address",
        name: "",
        type: "address",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "manager",
        type: "address",
      },
    ],
    name: "setLimitOrderManager",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
] as const;

export class LimitOrderConnector__factory {
  static readonly abi = _abi;
  static createInterface(): LimitOrderConnectorInterface {
    return new Interface(_abi) as LimitOrderConnectorInterface;
  }
  static connect(
    address: string,
    runner?: ContractRunner | null
  ): LimitOrderConnector {
    return new Contract(
      address,
      _abi,
      runner
    ) as unknown as LimitOrderConnector;
  }
}
