/* Autogenerated file. Do not edit manually. */

/* tslint:disable */

/* eslint-disable */
import type {
  IRiskSteward,
  IRiskStewardInterface,
} from "../../../../contracts/RiskSteward/Interfaces/IRiskSteward";
import type { Provider } from "@ethersproject/providers";
import { Contract, Signer, utils } from "ethers";

const _abi = [
  {
    inputs: [],
    name: "RISK_STEWARD_RECEIVER",
    outputs: [
      {
        internalType: "contract IRiskStewardReceiver",
        name: "",
        type: "address",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [
      {
        components: [
          {
            internalType: "string",
            name: "referenceId",
            type: "string",
          },
          {
            internalType: "uint256",
            name: "updateId",
            type: "uint256",
          },
          {
            internalType: "address",
            name: "market",
            type: "address",
          },
          {
            internalType: "string",
            name: "updateType",
            type: "string",
          },
          {
            internalType: "bytes32",
            name: "updateTypeKey",
            type: "bytes32",
          },
          {
            internalType: "bytes",
            name: "newValue",
            type: "bytes",
          },
          {
            internalType: "bytes",
            name: "previousValue",
            type: "bytes",
          },
          {
            internalType: "uint256",
            name: "timestamp",
            type: "uint256",
          },
          {
            internalType: "address",
            name: "publisher",
            type: "address",
          },
          {
            internalType: "uint96",
            name: "poolId",
            type: "uint96",
          },
          {
            internalType: "uint32",
            name: "destLzEid",
            type: "uint32",
          },
          {
            internalType: "bytes",
            name: "additionalData",
            type: "bytes",
          },
        ],
        internalType: "struct RiskParameterUpdate",
        name: "update",
        type: "tuple",
      },
    ],
    name: "applyUpdate",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        components: [
          {
            internalType: "string",
            name: "referenceId",
            type: "string",
          },
          {
            internalType: "uint256",
            name: "updateId",
            type: "uint256",
          },
          {
            internalType: "address",
            name: "market",
            type: "address",
          },
          {
            internalType: "string",
            name: "updateType",
            type: "string",
          },
          {
            internalType: "bytes32",
            name: "updateTypeKey",
            type: "bytes32",
          },
          {
            internalType: "bytes",
            name: "newValue",
            type: "bytes",
          },
          {
            internalType: "bytes",
            name: "previousValue",
            type: "bytes",
          },
          {
            internalType: "uint256",
            name: "timestamp",
            type: "uint256",
          },
          {
            internalType: "address",
            name: "publisher",
            type: "address",
          },
          {
            internalType: "uint96",
            name: "poolId",
            type: "uint96",
          },
          {
            internalType: "uint32",
            name: "destLzEid",
            type: "uint32",
          },
          {
            internalType: "bytes",
            name: "additionalData",
            type: "bytes",
          },
        ],
        internalType: "struct RiskParameterUpdate",
        name: "update",
        type: "tuple",
      },
    ],
    name: "isSafeForDirectExecution",
    outputs: [
      {
        internalType: "bool",
        name: "",
        type: "bool",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
] as const;

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