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

import { Contract, Signer, utils } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type {
  WithdrawImplementation,
  WithdrawImplementationInterface,
} from "../WithdrawImplementation";

const _abi = [
  {
    type: "function",
    name: "execute",
    inputs: [
      {
        name: "params",
        type: "bytes",
        internalType: "bytes",
      },
      {
        name: "submitterData",
        type: "bytes",
        internalType: "bytes",
      },
    ],
    outputs: [],
    stateMutability: "payable",
  },
  {
    type: "event",
    name: "Withdraw",
    inputs: [
      {
        name: "token",
        type: "address",
        indexed: true,
        internalType: "address",
      },
      {
        name: "to",
        type: "address",
        indexed: true,
        internalType: "address",
      },
      {
        name: "amount",
        type: "uint256",
        indexed: false,
        internalType: "uint256",
      },
    ],
    anonymous: false,
  },
  {
    type: "error",
    name: "NativeTransferFailed",
    inputs: [],
  },
  {
    type: "error",
    name: "SafeERC20FailedOperation",
    inputs: [
      {
        name: "token",
        type: "address",
        internalType: "address",
      },
    ],
  },
  {
    type: "error",
    name: "Unauthorized",
    inputs: [],
  },
] as const;

export class WithdrawImplementation__factory {
  static readonly abi = _abi;
  static createInterface(): WithdrawImplementationInterface {
    return new utils.Interface(_abi) as WithdrawImplementationInterface;
  }
  static connect(
    address: string,
    signerOrProvider: Signer | Provider
  ): WithdrawImplementation {
    return new Contract(
      address,
      _abi,
      signerOrProvider
    ) as WithdrawImplementation;
  }
}
