/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type {
  BaseContract,
  BigNumber,
  BigNumberish,
  BytesLike,
  CallOverrides,
  ContractTransaction,
  PayableOverrides,
  PopulatedTransaction,
  Signer,
  utils,
} from "ethers";
import type { FunctionFragment, Result } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type {
  TypedEventFilter,
  TypedEvent,
  TypedListener,
  OnEvent,
} from "./common";

export interface SpokePoolVerifierInterface extends utils.Interface {
  functions: {
    "deposit(address,bytes32,bytes32,uint256,bytes32,uint256,uint256,bytes32,uint32,uint32,uint32,bytes)": FunctionFragment;
  };

  getFunction(nameOrSignatureOrTopic: "deposit"): FunctionFragment;

  encodeFunctionData(
    functionFragment: "deposit",
    values: [
      string,
      BytesLike,
      BytesLike,
      BigNumberish,
      BytesLike,
      BigNumberish,
      BigNumberish,
      BytesLike,
      BigNumberish,
      BigNumberish,
      BigNumberish,
      BytesLike
    ]
  ): string;

  decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;

  events: {};
}

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

  interface: SpokePoolVerifierInterface;

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

  listeners<TEvent extends TypedEvent>(
    eventFilter?: TypedEventFilter<TEvent>
  ): Array<TypedListener<TEvent>>;
  listeners(eventName?: string): Array<Listener>;
  removeAllListeners<TEvent extends TypedEvent>(
    eventFilter: TypedEventFilter<TEvent>
  ): this;
  removeAllListeners(eventName?: string): this;
  off: OnEvent<this>;
  on: OnEvent<this>;
  once: OnEvent<this>;
  removeListener: OnEvent<this>;

  functions: {
    deposit(
      spokePool: string,
      recipient: BytesLike,
      inputToken: BytesLike,
      inputAmount: BigNumberish,
      outputToken: BytesLike,
      outputAmount: BigNumberish,
      destinationChainId: BigNumberish,
      exclusiveRelayer: BytesLike,
      quoteTimestamp: BigNumberish,
      fillDeadline: BigNumberish,
      exclusivityDeadline: BigNumberish,
      message: BytesLike,
      overrides?: PayableOverrides & { from?: string }
    ): Promise<ContractTransaction>;
  };

  deposit(
    spokePool: string,
    recipient: BytesLike,
    inputToken: BytesLike,
    inputAmount: BigNumberish,
    outputToken: BytesLike,
    outputAmount: BigNumberish,
    destinationChainId: BigNumberish,
    exclusiveRelayer: BytesLike,
    quoteTimestamp: BigNumberish,
    fillDeadline: BigNumberish,
    exclusivityDeadline: BigNumberish,
    message: BytesLike,
    overrides?: PayableOverrides & { from?: string }
  ): Promise<ContractTransaction>;

  callStatic: {
    deposit(
      spokePool: string,
      recipient: BytesLike,
      inputToken: BytesLike,
      inputAmount: BigNumberish,
      outputToken: BytesLike,
      outputAmount: BigNumberish,
      destinationChainId: BigNumberish,
      exclusiveRelayer: BytesLike,
      quoteTimestamp: BigNumberish,
      fillDeadline: BigNumberish,
      exclusivityDeadline: BigNumberish,
      message: BytesLike,
      overrides?: CallOverrides
    ): Promise<void>;
  };

  filters: {};

  estimateGas: {
    deposit(
      spokePool: string,
      recipient: BytesLike,
      inputToken: BytesLike,
      inputAmount: BigNumberish,
      outputToken: BytesLike,
      outputAmount: BigNumberish,
      destinationChainId: BigNumberish,
      exclusiveRelayer: BytesLike,
      quoteTimestamp: BigNumberish,
      fillDeadline: BigNumberish,
      exclusivityDeadline: BigNumberish,
      message: BytesLike,
      overrides?: PayableOverrides & { from?: string }
    ): Promise<BigNumber>;
  };

  populateTransaction: {
    deposit(
      spokePool: string,
      recipient: BytesLike,
      inputToken: BytesLike,
      inputAmount: BigNumberish,
      outputToken: BytesLike,
      outputAmount: BigNumberish,
      destinationChainId: BigNumberish,
      exclusiveRelayer: BytesLike,
      quoteTimestamp: BigNumberish,
      fillDeadline: BigNumberish,
      exclusivityDeadline: BigNumberish,
      message: BytesLike,
      overrides?: PayableOverrides & { from?: string }
    ): Promise<PopulatedTransaction>;
  };
}
