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

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

const _abi = [
  {
    type: "constructor",
    inputs: [
      {
        name: "_srcPeriphery",
        type: "address",
        internalType: "address",
      },
      {
        name: "_sourceDomain",
        type: "uint32",
        internalType: "uint32",
      },
    ],
    stateMutability: "nonpayable",
  },
  {
    type: "function",
    name: "execute",
    inputs: [
      {
        name: "params",
        type: "bytes",
        internalType: "bytes",
      },
      {
        name: "submitterData",
        type: "bytes",
        internalType: "bytes",
      },
    ],
    outputs: [],
    stateMutability: "payable",
  },
  {
    type: "function",
    name: "sourceDomain",
    inputs: [],
    outputs: [
      {
        name: "",
        type: "uint32",
        internalType: "uint32",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "srcPeriphery",
    inputs: [],
    outputs: [
      {
        name: "",
        type: "address",
        internalType: "address",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "event",
    name: "CCTPDepositExecuted",
    inputs: [
      {
        name: "amount",
        type: "uint256",
        indexed: false,
        internalType: "uint256",
      },
      {
        name: "executionFeeRecipient",
        type: "address",
        indexed: true,
        internalType: "address",
      },
      {
        name: "nonce",
        type: "bytes32",
        indexed: false,
        internalType: "bytes32",
      },
      {
        name: "cctpDeadline",
        type: "uint256",
        indexed: false,
        internalType: "uint256",
      },
    ],
    anonymous: false,
  },
  {
    type: "error",
    name: "SafeERC20FailedOperation",
    inputs: [
      {
        name: "token",
        type: "address",
        internalType: "address",
      },
    ],
  },
] as const;

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