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

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

const _abi = [
  {
    type: "function",
    name: "depositForBurn",
    inputs: [
      {
        name: "quote",
        type: "tuple",
        internalType: "struct SponsoredCCTPInterface.SponsoredCCTPQuote",
        components: [
          {
            name: "sourceDomain",
            type: "uint32",
            internalType: "uint32",
          },
          {
            name: "destinationDomain",
            type: "uint32",
            internalType: "uint32",
          },
          {
            name: "mintRecipient",
            type: "bytes32",
            internalType: "bytes32",
          },
          {
            name: "amount",
            type: "uint256",
            internalType: "uint256",
          },
          {
            name: "burnToken",
            type: "bytes32",
            internalType: "bytes32",
          },
          {
            name: "destinationCaller",
            type: "bytes32",
            internalType: "bytes32",
          },
          {
            name: "maxFee",
            type: "uint256",
            internalType: "uint256",
          },
          {
            name: "minFinalityThreshold",
            type: "uint32",
            internalType: "uint32",
          },
          {
            name: "nonce",
            type: "bytes32",
            internalType: "bytes32",
          },
          {
            name: "deadline",
            type: "uint256",
            internalType: "uint256",
          },
          {
            name: "maxBpsToSponsor",
            type: "uint256",
            internalType: "uint256",
          },
          {
            name: "maxUserSlippageBps",
            type: "uint256",
            internalType: "uint256",
          },
          {
            name: "finalRecipient",
            type: "bytes32",
            internalType: "bytes32",
          },
          {
            name: "finalToken",
            type: "bytes32",
            internalType: "bytes32",
          },
          {
            name: "destinationDex",
            type: "uint32",
            internalType: "uint32",
          },
          {
            name: "accountCreationMode",
            type: "uint8",
            internalType: "uint8",
          },
          {
            name: "executionMode",
            type: "uint8",
            internalType: "uint8",
          },
          {
            name: "actionData",
            type: "bytes",
            internalType: "bytes",
          },
        ],
      },
      {
        name: "signature",
        type: "bytes",
        internalType: "bytes",
      },
    ],
    outputs: [],
    stateMutability: "nonpayable",
  },
] as const;

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