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

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

const _abi = [
  {
    type: "function",
    name: "balanceOf",
    inputs: [
      {
        name: "guy",
        type: "address",
        internalType: "address",
      },
    ],
    outputs: [
      {
        name: "wad",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "deposit",
    inputs: [],
    outputs: [],
    stateMutability: "payable",
  },
  {
    type: "function",
    name: "transfer",
    inputs: [
      {
        name: "guy",
        type: "address",
        internalType: "address",
      },
      {
        name: "wad",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [
      {
        name: "",
        type: "bool",
        internalType: "bool",
      },
    ],
    stateMutability: "nonpayable",
  },
  {
    type: "function",
    name: "withdraw",
    inputs: [
      {
        name: "wad",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [],
    stateMutability: "nonpayable",
  },
] as const;

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