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

import {
  ethers,
  EventFilter,
  Signer,
  BigNumber,
  BigNumberish,
  PopulatedTransaction,
  BaseContract,
  ContractTransaction,
  Overrides,
  PayableOverrides,
  CallOverrides,
} from "ethers";
import { BytesLike } from "@ethersproject/bytes";
import { Listener, Provider } from "@ethersproject/providers";
import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi";
import type { TypedEventFilter, TypedEvent, TypedListener } from "./common";

interface L1GraphTokenLockTransferToolInterface extends ethers.utils.Interface {
  functions: {
    "depositETH(address)": FunctionFragment;
    "depositToL2Locked(uint256,address,uint256,uint256,uint256)": FunctionFragment;
    "getDeploymentAddress(bytes32,address,address)": FunctionFragment;
    "graphToken()": FunctionFragment;
    "initialize(address)": FunctionFragment;
    "l1Gateway()": FunctionFragment;
    "l2Beneficiary(address)": FunctionFragment;
    "l2Implementation()": FunctionFragment;
    "l2LockManager(address)": FunctionFragment;
    "l2WalletAddress(address)": FunctionFragment;
    "l2WalletAddressSetManually(address)": FunctionFragment;
    "l2WalletOwner(address)": FunctionFragment;
    "owner()": FunctionFragment;
    "pullETH(address,uint256)": FunctionFragment;
    "renounceOwnership()": FunctionFragment;
    "setL2LockManager(address,address)": FunctionFragment;
    "setL2WalletAddressManually(address)": FunctionFragment;
    "setL2WalletOwner(address,address)": FunctionFragment;
    "staking()": FunctionFragment;
    "tokenLockETHBalances(address)": FunctionFragment;
    "transferOwnership(address)": FunctionFragment;
    "withdrawETH(address,uint256)": FunctionFragment;
  };

  encodeFunctionData(functionFragment: "depositETH", values: [string]): string;
  encodeFunctionData(
    functionFragment: "depositToL2Locked",
    values: [BigNumberish, string, BigNumberish, BigNumberish, BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "getDeploymentAddress",
    values: [BytesLike, string, string]
  ): string;
  encodeFunctionData(
    functionFragment: "graphToken",
    values?: undefined
  ): string;
  encodeFunctionData(functionFragment: "initialize", values: [string]): string;
  encodeFunctionData(functionFragment: "l1Gateway", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "l2Beneficiary",
    values: [string]
  ): string;
  encodeFunctionData(
    functionFragment: "l2Implementation",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "l2LockManager",
    values: [string]
  ): string;
  encodeFunctionData(
    functionFragment: "l2WalletAddress",
    values: [string]
  ): string;
  encodeFunctionData(
    functionFragment: "l2WalletAddressSetManually",
    values: [string]
  ): string;
  encodeFunctionData(
    functionFragment: "l2WalletOwner",
    values: [string]
  ): string;
  encodeFunctionData(functionFragment: "owner", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "pullETH",
    values: [string, BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "renounceOwnership",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "setL2LockManager",
    values: [string, string]
  ): string;
  encodeFunctionData(
    functionFragment: "setL2WalletAddressManually",
    values: [string]
  ): string;
  encodeFunctionData(
    functionFragment: "setL2WalletOwner",
    values: [string, string]
  ): string;
  encodeFunctionData(functionFragment: "staking", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "tokenLockETHBalances",
    values: [string]
  ): string;
  encodeFunctionData(
    functionFragment: "transferOwnership",
    values: [string]
  ): string;
  encodeFunctionData(
    functionFragment: "withdrawETH",
    values: [string, BigNumberish]
  ): string;

  decodeFunctionResult(functionFragment: "depositETH", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "depositToL2Locked",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getDeploymentAddress",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "graphToken", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "l1Gateway", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "l2Beneficiary",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "l2Implementation",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "l2LockManager",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "l2WalletAddress",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "l2WalletAddressSetManually",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "l2WalletOwner",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "pullETH", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "renounceOwnership",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setL2LockManager",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setL2WalletAddressManually",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setL2WalletOwner",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "staking", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "tokenLockETHBalances",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "transferOwnership",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "withdrawETH",
    data: BytesLike
  ): Result;

  events: {
    "ETHDeposited(address,uint256)": EventFragment;
    "ETHPulled(address,uint256)": EventFragment;
    "ETHWithdrawn(address,address,uint256)": EventFragment;
    "L2BeneficiarySet(address,address)": EventFragment;
    "L2LockManagerSet(address,address)": EventFragment;
    "L2WalletAddressSet(address,address)": EventFragment;
    "L2WalletOwnerSet(address,address)": EventFragment;
    "LockedFundsSentToL2(address,address,address,address,uint256)": EventFragment;
    "OwnershipTransferred(address,address)": EventFragment;
    "ProxyCreated(address)": EventFragment;
  };

  getEvent(nameOrSignatureOrTopic: "ETHDeposited"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "ETHPulled"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "ETHWithdrawn"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "L2BeneficiarySet"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "L2LockManagerSet"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "L2WalletAddressSet"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "L2WalletOwnerSet"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "LockedFundsSentToL2"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "ProxyCreated"): EventFragment;
}

export type ETHDepositedEvent = TypedEvent<
  [string, BigNumber] & { tokenLock: string; amount: BigNumber }
>;

export type ETHPulledEvent = TypedEvent<
  [string, BigNumber] & { tokenLock: string; amount: BigNumber }
>;

export type ETHWithdrawnEvent = TypedEvent<
  [string, string, BigNumber] & {
    tokenLock: string;
    destination: string;
    amount: BigNumber;
  }
>;

export type L2BeneficiarySetEvent = TypedEvent<
  [string, string] & { l1Wallet: string; l2Beneficiary: string }
>;

export type L2LockManagerSetEvent = TypedEvent<
  [string, string] & { l1LockManager: string; l2LockManager: string }
>;

export type L2WalletAddressSetEvent = TypedEvent<
  [string, string] & { l1Wallet: string; l2Wallet: string }
>;

export type L2WalletOwnerSetEvent = TypedEvent<
  [string, string] & { l1WalletOwner: string; l2WalletOwner: string }
>;

export type LockedFundsSentToL2Event = TypedEvent<
  [string, string, string, string, BigNumber] & {
    l1Wallet: string;
    l2Wallet: string;
    l1LockManager: string;
    l2LockManager: string;
    amount: BigNumber;
  }
>;

export type OwnershipTransferredEvent = TypedEvent<
  [string, string] & { previousOwner: string; newOwner: string }
>;

export type ProxyCreatedEvent = TypedEvent<[string] & { proxy: string }>;

export class L1GraphTokenLockTransferTool extends BaseContract {
  connect(signerOrProvider: Signer | Provider | string): this;
  attach(addressOrName: string): this;
  deployed(): Promise<this>;

  listeners<EventArgsArray extends Array<any>, EventArgsObject>(
    eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject>
  ): Array<TypedListener<EventArgsArray, EventArgsObject>>;
  off<EventArgsArray extends Array<any>, EventArgsObject>(
    eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
    listener: TypedListener<EventArgsArray, EventArgsObject>
  ): this;
  on<EventArgsArray extends Array<any>, EventArgsObject>(
    eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
    listener: TypedListener<EventArgsArray, EventArgsObject>
  ): this;
  once<EventArgsArray extends Array<any>, EventArgsObject>(
    eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
    listener: TypedListener<EventArgsArray, EventArgsObject>
  ): this;
  removeListener<EventArgsArray extends Array<any>, EventArgsObject>(
    eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
    listener: TypedListener<EventArgsArray, EventArgsObject>
  ): this;
  removeAllListeners<EventArgsArray extends Array<any>, EventArgsObject>(
    eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
  ): this;

  listeners(eventName?: string): Array<Listener>;
  off(eventName: string, listener: Listener): this;
  on(eventName: string, listener: Listener): this;
  once(eventName: string, listener: Listener): this;
  removeListener(eventName: string, listener: Listener): this;
  removeAllListeners(eventName?: string): this;

  queryFilter<EventArgsArray extends Array<any>, EventArgsObject>(
    event: TypedEventFilter<EventArgsArray, EventArgsObject>,
    fromBlockOrBlockhash?: string | number | undefined,
    toBlock?: string | number | undefined
  ): Promise<Array<TypedEvent<EventArgsArray & EventArgsObject>>>;

  interface: L1GraphTokenLockTransferToolInterface;

  functions: {
    depositETH(
      _tokenLock: string,
      overrides?: PayableOverrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    depositToL2Locked(
      _amount: BigNumberish,
      _l2Beneficiary: string,
      _maxGas: BigNumberish,
      _gasPriceBid: BigNumberish,
      _maxSubmissionCost: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    "getDeploymentAddress(bytes32,address,address)"(
      _salt: BytesLike,
      _implementation: string,
      _deployer: string,
      overrides?: CallOverrides
    ): Promise<[string]>;

    "getDeploymentAddress(bytes32,address)"(
      _salt: BytesLike,
      _implementation: string,
      overrides?: CallOverrides
    ): Promise<[string]>;

    graphToken(overrides?: CallOverrides): Promise<[string]>;

    initialize(
      _owner: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    l1Gateway(overrides?: CallOverrides): Promise<[string]>;

    l2Beneficiary(arg0: string, overrides?: CallOverrides): Promise<[string]>;

    l2Implementation(overrides?: CallOverrides): Promise<[string]>;

    l2LockManager(arg0: string, overrides?: CallOverrides): Promise<[string]>;

    l2WalletAddress(arg0: string, overrides?: CallOverrides): Promise<[string]>;

    l2WalletAddressSetManually(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<[boolean]>;

    l2WalletOwner(arg0: string, overrides?: CallOverrides): Promise<[string]>;

    owner(overrides?: CallOverrides): Promise<[string]>;

    pullETH(
      _tokenLock: string,
      _amount: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    renounceOwnership(
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    setL2LockManager(
      _l1LockManager: string,
      _l2LockManager: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    setL2WalletAddressManually(
      _l2Wallet: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    setL2WalletOwner(
      _l1WalletOwner: string,
      _l2WalletOwner: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    staking(overrides?: CallOverrides): Promise<[string]>;

    tokenLockETHBalances(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<[BigNumber]>;

    transferOwnership(
      newOwner: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    withdrawETH(
      _destination: string,
      _amount: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;
  };

  depositETH(
    _tokenLock: string,
    overrides?: PayableOverrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  depositToL2Locked(
    _amount: BigNumberish,
    _l2Beneficiary: string,
    _maxGas: BigNumberish,
    _gasPriceBid: BigNumberish,
    _maxSubmissionCost: BigNumberish,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  "getDeploymentAddress(bytes32,address,address)"(
    _salt: BytesLike,
    _implementation: string,
    _deployer: string,
    overrides?: CallOverrides
  ): Promise<string>;

  "getDeploymentAddress(bytes32,address)"(
    _salt: BytesLike,
    _implementation: string,
    overrides?: CallOverrides
  ): Promise<string>;

  graphToken(overrides?: CallOverrides): Promise<string>;

  initialize(
    _owner: string,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  l1Gateway(overrides?: CallOverrides): Promise<string>;

  l2Beneficiary(arg0: string, overrides?: CallOverrides): Promise<string>;

  l2Implementation(overrides?: CallOverrides): Promise<string>;

  l2LockManager(arg0: string, overrides?: CallOverrides): Promise<string>;

  l2WalletAddress(arg0: string, overrides?: CallOverrides): Promise<string>;

  l2WalletAddressSetManually(
    arg0: string,
    overrides?: CallOverrides
  ): Promise<boolean>;

  l2WalletOwner(arg0: string, overrides?: CallOverrides): Promise<string>;

  owner(overrides?: CallOverrides): Promise<string>;

  pullETH(
    _tokenLock: string,
    _amount: BigNumberish,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  renounceOwnership(
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  setL2LockManager(
    _l1LockManager: string,
    _l2LockManager: string,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  setL2WalletAddressManually(
    _l2Wallet: string,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  setL2WalletOwner(
    _l1WalletOwner: string,
    _l2WalletOwner: string,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  staking(overrides?: CallOverrides): Promise<string>;

  tokenLockETHBalances(
    arg0: string,
    overrides?: CallOverrides
  ): Promise<BigNumber>;

  transferOwnership(
    newOwner: string,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  withdrawETH(
    _destination: string,
    _amount: BigNumberish,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  callStatic: {
    depositETH(_tokenLock: string, overrides?: CallOverrides): Promise<void>;

    depositToL2Locked(
      _amount: BigNumberish,
      _l2Beneficiary: string,
      _maxGas: BigNumberish,
      _gasPriceBid: BigNumberish,
      _maxSubmissionCost: BigNumberish,
      overrides?: CallOverrides
    ): Promise<void>;

    "getDeploymentAddress(bytes32,address,address)"(
      _salt: BytesLike,
      _implementation: string,
      _deployer: string,
      overrides?: CallOverrides
    ): Promise<string>;

    "getDeploymentAddress(bytes32,address)"(
      _salt: BytesLike,
      _implementation: string,
      overrides?: CallOverrides
    ): Promise<string>;

    graphToken(overrides?: CallOverrides): Promise<string>;

    initialize(_owner: string, overrides?: CallOverrides): Promise<void>;

    l1Gateway(overrides?: CallOverrides): Promise<string>;

    l2Beneficiary(arg0: string, overrides?: CallOverrides): Promise<string>;

    l2Implementation(overrides?: CallOverrides): Promise<string>;

    l2LockManager(arg0: string, overrides?: CallOverrides): Promise<string>;

    l2WalletAddress(arg0: string, overrides?: CallOverrides): Promise<string>;

    l2WalletAddressSetManually(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<boolean>;

    l2WalletOwner(arg0: string, overrides?: CallOverrides): Promise<string>;

    owner(overrides?: CallOverrides): Promise<string>;

    pullETH(
      _tokenLock: string,
      _amount: BigNumberish,
      overrides?: CallOverrides
    ): Promise<void>;

    renounceOwnership(overrides?: CallOverrides): Promise<void>;

    setL2LockManager(
      _l1LockManager: string,
      _l2LockManager: string,
      overrides?: CallOverrides
    ): Promise<void>;

    setL2WalletAddressManually(
      _l2Wallet: string,
      overrides?: CallOverrides
    ): Promise<void>;

    setL2WalletOwner(
      _l1WalletOwner: string,
      _l2WalletOwner: string,
      overrides?: CallOverrides
    ): Promise<void>;

    staking(overrides?: CallOverrides): Promise<string>;

    tokenLockETHBalances(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    transferOwnership(
      newOwner: string,
      overrides?: CallOverrides
    ): Promise<void>;

    withdrawETH(
      _destination: string,
      _amount: BigNumberish,
      overrides?: CallOverrides
    ): Promise<void>;
  };

  filters: {
    "ETHDeposited(address,uint256)"(
      tokenLock?: string | null,
      amount?: null
    ): TypedEventFilter<
      [string, BigNumber],
      { tokenLock: string; amount: BigNumber }
    >;

    ETHDeposited(
      tokenLock?: string | null,
      amount?: null
    ): TypedEventFilter<
      [string, BigNumber],
      { tokenLock: string; amount: BigNumber }
    >;

    "ETHPulled(address,uint256)"(
      tokenLock?: string | null,
      amount?: null
    ): TypedEventFilter<
      [string, BigNumber],
      { tokenLock: string; amount: BigNumber }
    >;

    ETHPulled(
      tokenLock?: string | null,
      amount?: null
    ): TypedEventFilter<
      [string, BigNumber],
      { tokenLock: string; amount: BigNumber }
    >;

    "ETHWithdrawn(address,address,uint256)"(
      tokenLock?: string | null,
      destination?: string | null,
      amount?: null
    ): TypedEventFilter<
      [string, string, BigNumber],
      { tokenLock: string; destination: string; amount: BigNumber }
    >;

    ETHWithdrawn(
      tokenLock?: string | null,
      destination?: string | null,
      amount?: null
    ): TypedEventFilter<
      [string, string, BigNumber],
      { tokenLock: string; destination: string; amount: BigNumber }
    >;

    "L2BeneficiarySet(address,address)"(
      l1Wallet?: string | null,
      l2Beneficiary?: string | null
    ): TypedEventFilter<
      [string, string],
      { l1Wallet: string; l2Beneficiary: string }
    >;

    L2BeneficiarySet(
      l1Wallet?: string | null,
      l2Beneficiary?: string | null
    ): TypedEventFilter<
      [string, string],
      { l1Wallet: string; l2Beneficiary: string }
    >;

    "L2LockManagerSet(address,address)"(
      l1LockManager?: string | null,
      l2LockManager?: string | null
    ): TypedEventFilter<
      [string, string],
      { l1LockManager: string; l2LockManager: string }
    >;

    L2LockManagerSet(
      l1LockManager?: string | null,
      l2LockManager?: string | null
    ): TypedEventFilter<
      [string, string],
      { l1LockManager: string; l2LockManager: string }
    >;

    "L2WalletAddressSet(address,address)"(
      l1Wallet?: string | null,
      l2Wallet?: string | null
    ): TypedEventFilter<
      [string, string],
      { l1Wallet: string; l2Wallet: string }
    >;

    L2WalletAddressSet(
      l1Wallet?: string | null,
      l2Wallet?: string | null
    ): TypedEventFilter<
      [string, string],
      { l1Wallet: string; l2Wallet: string }
    >;

    "L2WalletOwnerSet(address,address)"(
      l1WalletOwner?: string | null,
      l2WalletOwner?: string | null
    ): TypedEventFilter<
      [string, string],
      { l1WalletOwner: string; l2WalletOwner: string }
    >;

    L2WalletOwnerSet(
      l1WalletOwner?: string | null,
      l2WalletOwner?: string | null
    ): TypedEventFilter<
      [string, string],
      { l1WalletOwner: string; l2WalletOwner: string }
    >;

    "LockedFundsSentToL2(address,address,address,address,uint256)"(
      l1Wallet?: string | null,
      l2Wallet?: string | null,
      l1LockManager?: string | null,
      l2LockManager?: null,
      amount?: null
    ): TypedEventFilter<
      [string, string, string, string, BigNumber],
      {
        l1Wallet: string;
        l2Wallet: string;
        l1LockManager: string;
        l2LockManager: string;
        amount: BigNumber;
      }
    >;

    LockedFundsSentToL2(
      l1Wallet?: string | null,
      l2Wallet?: string | null,
      l1LockManager?: string | null,
      l2LockManager?: null,
      amount?: null
    ): TypedEventFilter<
      [string, string, string, string, BigNumber],
      {
        l1Wallet: string;
        l2Wallet: string;
        l1LockManager: string;
        l2LockManager: string;
        amount: BigNumber;
      }
    >;

    "OwnershipTransferred(address,address)"(
      previousOwner?: string | null,
      newOwner?: string | null
    ): TypedEventFilter<
      [string, string],
      { previousOwner: string; newOwner: string }
    >;

    OwnershipTransferred(
      previousOwner?: string | null,
      newOwner?: string | null
    ): TypedEventFilter<
      [string, string],
      { previousOwner: string; newOwner: string }
    >;

    "ProxyCreated(address)"(
      proxy?: string | null
    ): TypedEventFilter<[string], { proxy: string }>;

    ProxyCreated(
      proxy?: string | null
    ): TypedEventFilter<[string], { proxy: string }>;
  };

  estimateGas: {
    depositETH(
      _tokenLock: string,
      overrides?: PayableOverrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    depositToL2Locked(
      _amount: BigNumberish,
      _l2Beneficiary: string,
      _maxGas: BigNumberish,
      _gasPriceBid: BigNumberish,
      _maxSubmissionCost: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    "getDeploymentAddress(bytes32,address,address)"(
      _salt: BytesLike,
      _implementation: string,
      _deployer: string,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    "getDeploymentAddress(bytes32,address)"(
      _salt: BytesLike,
      _implementation: string,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    graphToken(overrides?: CallOverrides): Promise<BigNumber>;

    initialize(
      _owner: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    l1Gateway(overrides?: CallOverrides): Promise<BigNumber>;

    l2Beneficiary(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;

    l2Implementation(overrides?: CallOverrides): Promise<BigNumber>;

    l2LockManager(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;

    l2WalletAddress(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    l2WalletAddressSetManually(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    l2WalletOwner(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;

    owner(overrides?: CallOverrides): Promise<BigNumber>;

    pullETH(
      _tokenLock: string,
      _amount: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    renounceOwnership(
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    setL2LockManager(
      _l1LockManager: string,
      _l2LockManager: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    setL2WalletAddressManually(
      _l2Wallet: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    setL2WalletOwner(
      _l1WalletOwner: string,
      _l2WalletOwner: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    staking(overrides?: CallOverrides): Promise<BigNumber>;

    tokenLockETHBalances(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    transferOwnership(
      newOwner: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    withdrawETH(
      _destination: string,
      _amount: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;
  };

  populateTransaction: {
    depositETH(
      _tokenLock: string,
      overrides?: PayableOverrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    depositToL2Locked(
      _amount: BigNumberish,
      _l2Beneficiary: string,
      _maxGas: BigNumberish,
      _gasPriceBid: BigNumberish,
      _maxSubmissionCost: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    "getDeploymentAddress(bytes32,address,address)"(
      _salt: BytesLike,
      _implementation: string,
      _deployer: string,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    "getDeploymentAddress(bytes32,address)"(
      _salt: BytesLike,
      _implementation: string,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    graphToken(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    initialize(
      _owner: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    l1Gateway(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    l2Beneficiary(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    l2Implementation(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    l2LockManager(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    l2WalletAddress(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    l2WalletAddressSetManually(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    l2WalletOwner(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    pullETH(
      _tokenLock: string,
      _amount: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    renounceOwnership(
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    setL2LockManager(
      _l1LockManager: string,
      _l2LockManager: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    setL2WalletAddressManually(
      _l2Wallet: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    setL2WalletOwner(
      _l1WalletOwner: string,
      _l2WalletOwner: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    staking(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    tokenLockETHBalances(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    transferOwnership(
      newOwner: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    withdrawETH(
      _destination: string,
      _amount: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;
  };
}
