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

/* tslint:disable */

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

const _abi = [
  {
    inputs: [],
    name: "RenounceOwnershipNotAllowed",
    type: "error",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "sender",
        type: "address",
      },
      {
        internalType: "address",
        name: "calledContract",
        type: "address",
      },
      {
        internalType: "string",
        name: "methodSignature",
        type: "string",
      },
    ],
    name: "Unauthorized",
    type: "error",
  },
  {
    anonymous: false,
    inputs: [
      {
        indexed: false,
        internalType: "uint8",
        name: "version",
        type: "uint8",
      },
    ],
    name: "Initialized",
    type: "event",
  },
  {
    anonymous: false,
    inputs: [
      {
        indexed: false,
        internalType: "address",
        name: "oldAccessControlManager",
        type: "address",
      },
      {
        indexed: false,
        internalType: "address",
        name: "newAccessControlManager",
        type: "address",
      },
    ],
    name: "NewAccessControlManager",
    type: "event",
  },
  {
    anonymous: false,
    inputs: [
      {
        indexed: true,
        internalType: "address",
        name: "previousOwner",
        type: "address",
      },
      {
        indexed: true,
        internalType: "address",
        name: "newOwner",
        type: "address",
      },
    ],
    name: "OwnershipTransferStarted",
    type: "event",
  },
  {
    anonymous: false,
    inputs: [
      {
        indexed: true,
        internalType: "address",
        name: "previousOwner",
        type: "address",
      },
      {
        indexed: true,
        internalType: "address",
        name: "newOwner",
        type: "address",
      },
    ],
    name: "OwnershipTransferred",
    type: "event",
  },
  {
    inputs: [],
    name: "RISK_STEWARD_RECEIVER",
    outputs: [
      {
        internalType: "contract IRiskStewardReceiver",
        name: "",
        type: "address",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [],
    name: "acceptOwnership",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [],
    name: "accessControlManager",
    outputs: [
      {
        internalType: "contract IAccessControlManagerV8",
        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",
  },
  {
    inputs: [],
    name: "owner",
    outputs: [
      {
        internalType: "address",
        name: "",
        type: "address",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [],
    name: "pendingOwner",
    outputs: [
      {
        internalType: "address",
        name: "",
        type: "address",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [],
    name: "renounceOwnership",
    outputs: [],
    stateMutability: "pure",
    type: "function",
  },
  {
    inputs: [],
    name: "safeDeltaBps",
    outputs: [
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "accessControlManager_",
        type: "address",
      },
    ],
    name: "setAccessControlManager",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "newOwner",
        type: "address",
      },
    ],
    name: "transferOwnership",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
] as const;

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