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

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

const _abi = [
  {
    type: "constructor",
    inputs: [
      {
        name: "_hubPool",
        type: "address",
        internalType: "address",
      },
    ],
    stateMutability: "nonpayable",
  },
  {
    type: "function",
    name: "hubPool",
    inputs: [],
    outputs: [
      {
        name: "",
        type: "address",
        internalType: "address",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "relayMessageCallData",
    inputs: [
      {
        name: "",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [
      {
        name: "",
        type: "bytes32",
        internalType: "bytes32",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "storeRelayMessageCalldata",
    inputs: [
      {
        name: "target",
        type: "address",
        internalType: "address",
      },
      {
        name: "data",
        type: "bytes",
        internalType: "bytes",
      },
      {
        name: "isAdminSender",
        type: "bool",
        internalType: "bool",
      },
    ],
    outputs: [],
    stateMutability: "nonpayable",
  },
  {
    type: "event",
    name: "StoredCallData",
    inputs: [
      {
        name: "target",
        type: "address",
        indexed: true,
        internalType: "address",
      },
      {
        name: "data",
        type: "bytes",
        indexed: false,
        internalType: "bytes",
      },
      {
        name: "nonce",
        type: "uint256",
        indexed: true,
        internalType: "uint256",
      },
    ],
    anonymous: false,
  },
  {
    type: "error",
    name: "NotHubPool",
    inputs: [],
  },
] as const;

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