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

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

const _abi = [
  {
    type: "constructor",
    inputs: [],
    stateMutability: "nonpayable",
  },
  {
    type: "function",
    name: "FILL_DEADLINE_BUFFER",
    inputs: [],
    outputs: [
      {
        name: "",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "IS_SCRIPT",
    inputs: [],
    outputs: [
      {
        name: "",
        type: "bool",
        internalType: "bool",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "QUOTE_TIME_BUFFER",
    inputs: [],
    outputs: [
      {
        name: "",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "file",
    inputs: [],
    outputs: [
      {
        name: "",
        type: "string",
        internalType: "string",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "getChainFamily",
    inputs: [
      {
        name: "chainId",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [
      {
        name: "",
        type: "string",
        internalType: "string",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "getChainId",
    inputs: [
      {
        name: "chainName",
        type: "string",
        internalType: "string",
      },
    ],
    outputs: [
      {
        name: "",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "getCircleDomainId",
    inputs: [
      {
        name: "chainId",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [
      {
        name: "",
        type: "uint32",
        internalType: "uint32",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "getL1Addresses",
    inputs: [
      {
        name: "chainId",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [
      {
        name: "",
        type: "tuple",
        internalType: "struct Constants.L1Addresses",
        components: [
          {
            name: "finder",
            type: "address",
            internalType: "address",
          },
          {
            name: "l1ArbitrumInbox",
            type: "address",
            internalType: "address",
          },
          {
            name: "l1ERC20GatewayRouter",
            type: "address",
            internalType: "address",
          },
          {
            name: "polygonRootChainManager",
            type: "address",
            internalType: "address",
          },
          {
            name: "polygonFxRoot",
            type: "address",
            internalType: "address",
          },
          {
            name: "polygonERC20Predicate",
            type: "address",
            internalType: "address",
          },
          {
            name: "polygonRegistry",
            type: "address",
            internalType: "address",
          },
          {
            name: "polygonDepositManager",
            type: "address",
            internalType: "address",
          },
          {
            name: "cctpTokenMessenger",
            type: "address",
            internalType: "address",
          },
          {
            name: "cctpV2TokenMessenger",
            type: "address",
            internalType: "address",
          },
          {
            name: "cctpMessageTransmitter",
            type: "address",
            internalType: "address",
          },
          {
            name: "lineaMessageService",
            type: "address",
            internalType: "address",
          },
          {
            name: "lineaTokenBridge",
            type: "address",
            internalType: "address",
          },
          {
            name: "scrollERC20GatewayRouter",
            type: "address",
            internalType: "address",
          },
          {
            name: "scrollMessengerRelay",
            type: "address",
            internalType: "address",
          },
          {
            name: "scrollGasPriceOracle",
            type: "address",
            internalType: "address",
          },
          {
            name: "blastYieldManager",
            type: "address",
            internalType: "address",
          },
          {
            name: "blastDaiRetriever",
            type: "address",
            internalType: "address",
          },
          {
            name: "adapterStore",
            type: "address",
            internalType: "address",
          },
          {
            name: "donationBox",
            type: "address",
            internalType: "address",
          },
          {
            name: "hubPoolStore",
            type: "address",
            internalType: "address",
          },
          {
            name: "zkBridgeHub",
            type: "address",
            internalType: "address",
          },
          {
            name: "zkUsdcSharedBridge_232",
            type: "address",
            internalType: "address",
          },
          {
            name: "zkUsdcSharedBridge_324",
            type: "address",
            internalType: "address",
          },
        ],
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "getL2Address",
    inputs: [
      {
        name: "chainId",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "addressType",
        type: "string",
        internalType: "string",
      },
    ],
    outputs: [
      {
        name: "",
        type: "address",
        internalType: "address",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "getOftEid",
    inputs: [
      {
        name: "chainId",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [
      {
        name: "",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "getOpStackAddresses",
    inputs: [
      {
        name: "hubChainId",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "spokeChainId",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [
      {
        name: "",
        type: "tuple",
        internalType: "struct Constants.OpStackAddresses",
        components: [
          {
            name: "L1CrossDomainMessenger",
            type: "address",
            internalType: "address",
          },
          {
            name: "L1StandardBridge",
            type: "address",
            internalType: "address",
          },
          {
            name: "L1OpUSDCBridgeAdapter",
            type: "address",
            internalType: "address",
          },
        ],
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "getPermit2",
    inputs: [
      {
        name: "chainId",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [
      {
        name: "",
        type: "address",
        internalType: "address",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "getTestnetChainIds",
    inputs: [],
    outputs: [
      {
        name: "",
        type: "uint256[]",
        internalType: "uint256[]",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "getUSDCAddress",
    inputs: [
      {
        name: "chainId",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [
      {
        name: "",
        type: "address",
        internalType: "address",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "getUSDCeAddress",
    inputs: [
      {
        name: "chainId",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [
      {
        name: "",
        type: "address",
        internalType: "address",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "getWETHAddress",
    inputs: [
      {
        name: "chainId",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [
      {
        name: "",
        type: "address",
        internalType: "address",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "getWghoAddress",
    inputs: [
      {
        name: "chainId",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [
      {
        name: "",
        type: "address",
        internalType: "address",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "getWmaticAddress",
    inputs: [
      {
        name: "chainId",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [
      {
        name: "",
        type: "address",
        internalType: "address",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "getWrappedNativeToken",
    inputs: [
      {
        name: "chainId",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [
      {
        name: "",
        type: "address",
        internalType: "address",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "hasCctpDomain",
    inputs: [
      {
        name: "chainId",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [
      {
        name: "",
        type: "bool",
        internalType: "bool",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "hasOftEid",
    inputs: [
      {
        name: "chainId",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [
      {
        name: "",
        type: "bool",
        internalType: "bool",
      },
    ],
    stateMutability: "view",
  },
] as const;

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