{
  "address": "0x34045517284cB1Ac2806Fe3298a39886DA29De48",
  "abi": [
    {
      "inputs": [],
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "inputs": [],
      "name": "ArrayLengthMismatch",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "InvalidUpdateId",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "InvalidUpdateTypeString",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "NoUpdateFound",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "RenounceOwnershipNotAllowed",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "SenderAlreadyAuthorized",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "SenderNotAuthorized",
      "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"
    },
    {
      "inputs": [],
      "name": "UpdateTypeAlreadyExists",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "UpdateTypeNotActive",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "UpdateTypeNotFound",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "UpdateTypeStatusUnchanged",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "ZeroAddressNotAllowed",
      "type": "error"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "sender",
          "type": "address"
        }
      ],
      "name": "AuthorizedSenderAdded",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "sender",
          "type": "address"
        }
      ],
      "name": "AuthorizedSenderRemoved",
      "type": "event"
    },
    {
      "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"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "string",
          "name": "referenceId",
          "type": "string"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "updateId",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "market",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "string",
          "name": "updateType",
          "type": "string"
        },
        {
          "indexed": false,
          "internalType": "bytes",
          "name": "newValue",
          "type": "bytes"
        },
        {
          "indexed": false,
          "internalType": "bytes",
          "name": "previousValue",
          "type": "bytes"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "timestamp",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "publisher",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "bytes",
          "name": "additionalData",
          "type": "bytes"
        }
      ],
      "name": "UpdatePublished",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "string",
          "name": "updateType",
          "type": "string"
        },
        {
          "indexed": false,
          "internalType": "bool",
          "name": "previousActive",
          "type": "bool"
        },
        {
          "indexed": false,
          "internalType": "bool",
          "name": "active",
          "type": "bool"
        }
      ],
      "name": "UpdateTypeActiveStatusChanged",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "string",
          "name": "updateType",
          "type": "string"
        }
      ],
      "name": "UpdateTypeAdded",
      "type": "event"
    },
    {
      "inputs": [],
      "name": "acceptOwnership",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "accessControlManager",
      "outputs": [
        {
          "internalType": "contract IAccessControlManagerV8",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "activeUpdateTypes",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "sender",
          "type": "address"
        }
      ],
      "name": "addAuthorizedSender",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "string",
          "name": "newUpdateType",
          "type": "string"
        }
      ],
      "name": "addUpdateType",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "allUpdateTypes",
      "outputs": [
        {
          "internalType": "string",
          "name": "",
          "type": "string"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "allUpdateTypesLength",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "name": "authorizedSenders",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "string",
          "name": "updateType",
          "type": "string"
        }
      ],
      "name": "getActiveUpdateTypes",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getAllUpdateTypes",
      "outputs": [
        {
          "internalType": "string[]",
          "name": "",
          "type": "string[]"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "string",
          "name": "updateType",
          "type": "string"
        },
        {
          "internalType": "address",
          "name": "market",
          "type": "address"
        }
      ],
      "name": "getLatestUpdateByTypeAndMarket",
      "outputs": [
        {
          "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": "",
          "type": "tuple"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "string",
          "name": "updateType",
          "type": "string"
        },
        {
          "internalType": "address",
          "name": "market",
          "type": "address"
        }
      ],
      "name": "getLatestUpdateIdByTypeAndMarket",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "updateId",
          "type": "uint256"
        }
      ],
      "name": "getUpdateById",
      "outputs": [
        {
          "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": "",
          "type": "tuple"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "accessControlManager_",
          "type": "address"
        }
      ],
      "name": "initialize",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "updateTypeKey",
          "type": "bytes32"
        },
        {
          "internalType": "address",
          "name": "market",
          "type": "address"
        }
      ],
      "name": "latestUpdateIdByMarketAndType",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "updateId",
          "type": "uint256"
        }
      ],
      "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": [
        {
          "internalType": "string[]",
          "name": "referenceIds",
          "type": "string[]"
        },
        {
          "internalType": "bytes[]",
          "name": "newValues",
          "type": "bytes[]"
        },
        {
          "internalType": "string[]",
          "name": "updateTypes",
          "type": "string[]"
        },
        {
          "internalType": "address[]",
          "name": "markets",
          "type": "address[]"
        },
        {
          "internalType": "uint96[]",
          "name": "poolIds",
          "type": "uint96[]"
        },
        {
          "internalType": "uint32[]",
          "name": "dstEid",
          "type": "uint32[]"
        },
        {
          "internalType": "bytes[]",
          "name": "additionalData",
          "type": "bytes[]"
        }
      ],
      "name": "publishBulkRiskParameterUpdates",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "string",
          "name": "referenceId",
          "type": "string"
        },
        {
          "internalType": "bytes",
          "name": "newValue",
          "type": "bytes"
        },
        {
          "internalType": "string",
          "name": "updateType",
          "type": "string"
        },
        {
          "internalType": "address",
          "name": "market",
          "type": "address"
        },
        {
          "internalType": "uint96",
          "name": "poolId",
          "type": "uint96"
        },
        {
          "internalType": "uint32",
          "name": "dstEid",
          "type": "uint32"
        },
        {
          "internalType": "bytes",
          "name": "additionalData",
          "type": "bytes"
        }
      ],
      "name": "publishRiskParameterUpdate",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "sender",
          "type": "address"
        }
      ],
      "name": "removeAuthorizedSender",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "renounceOwnership",
      "outputs": [],
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "accessControlManager_",
          "type": "address"
        }
      ],
      "name": "setAccessControlManager",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "string",
          "name": "updateType",
          "type": "string"
        },
        {
          "internalType": "bool",
          "name": "active",
          "type": "bool"
        }
      ],
      "name": "setUpdateTypeActive",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "transferOwnership",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "updateCounter",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "updatesById",
      "outputs": [
        {
          "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"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "transactionHash": "0xd0bead42f09be9c88f0539a53bb1ce7f02bf4fdf2eb1f7b9f37196da8e7f4f4e",
  "receipt": {
    "to": null,
    "from": "0x14A1c22EF6d2eF6cE33c0b018d8A34D02021e5c8",
    "contractAddress": "0x34045517284cB1Ac2806Fe3298a39886DA29De48",
    "transactionIndex": 169,
    "gasUsed": "2985442",
    "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000400000000000000000000000000800000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    "blockHash": "0x0ac185146802cd56802c58606e5ede06074791f0440d31c9aa1cb70d29e75084",
    "transactionHash": "0xd0bead42f09be9c88f0539a53bb1ce7f02bf4fdf2eb1f7b9f37196da8e7f4f4e",
    "logs": [
      {
        "transactionIndex": 169,
        "blockNumber": 74148540,
        "transactionHash": "0xd0bead42f09be9c88f0539a53bb1ce7f02bf4fdf2eb1f7b9f37196da8e7f4f4e",
        "address": "0x34045517284cB1Ac2806Fe3298a39886DA29De48",
        "topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"],
        "data": "0x00000000000000000000000000000000000000000000000000000000000000ff",
        "logIndex": 907,
        "blockHash": "0x0ac185146802cd56802c58606e5ede06074791f0440d31c9aa1cb70d29e75084"
      }
    ],
    "blockNumber": 74148540,
    "cumulativeGasUsed": "31148887",
    "status": 1,
    "byzantium": true
  },
  "args": [],
  "numDeployments": 1,
  "solcInputHash": "d8ac8b2eca2ebdf37ab511aea56679b0",
  "metadata": "{\"compiler\":{\"version\":\"0.8.25+commit.b61c2a91\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ArrayLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidUpdateId\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidUpdateTypeString\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoUpdateFound\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RenounceOwnershipNotAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SenderAlreadyAuthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SenderNotAuthorized\",\"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\"},{\"inputs\":[],\"name\":\"UpdateTypeAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UpdateTypeNotActive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UpdateTypeNotFound\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UpdateTypeStatusUnchanged\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAddressNotAllowed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"AuthorizedSenderAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"AuthorizedSenderRemoved\",\"type\":\"event\"},{\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"referenceId\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"updateId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"market\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"updateType\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"newValue\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"previousValue\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"publisher\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"additionalData\",\"type\":\"bytes\"}],\"name\":\"UpdatePublished\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"updateType\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"previousActive\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"active\",\"type\":\"bool\"}],\"name\":\"UpdateTypeActiveStatusChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"updateType\",\"type\":\"string\"}],\"name\":\"UpdateTypeAdded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"accessControlManager\",\"outputs\":[{\"internalType\":\"contract IAccessControlManagerV8\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"activeUpdateTypes\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"addAuthorizedSender\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"newUpdateType\",\"type\":\"string\"}],\"name\":\"addUpdateType\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"allUpdateTypes\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"allUpdateTypesLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"authorizedSenders\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"updateType\",\"type\":\"string\"}],\"name\":\"getActiveUpdateTypes\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllUpdateTypes\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"updateType\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"market\",\"type\":\"address\"}],\"name\":\"getLatestUpdateByTypeAndMarket\",\"outputs\":[{\"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\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"updateType\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"market\",\"type\":\"address\"}],\"name\":\"getLatestUpdateIdByTypeAndMarket\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"updateId\",\"type\":\"uint256\"}],\"name\":\"getUpdateById\",\"outputs\":[{\"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\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"accessControlManager_\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"updateTypeKey\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"market\",\"type\":\"address\"}],\"name\":\"latestUpdateIdByMarketAndType\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"updateId\",\"type\":\"uint256\"}],\"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\":[{\"internalType\":\"string[]\",\"name\":\"referenceIds\",\"type\":\"string[]\"},{\"internalType\":\"bytes[]\",\"name\":\"newValues\",\"type\":\"bytes[]\"},{\"internalType\":\"string[]\",\"name\":\"updateTypes\",\"type\":\"string[]\"},{\"internalType\":\"address[]\",\"name\":\"markets\",\"type\":\"address[]\"},{\"internalType\":\"uint96[]\",\"name\":\"poolIds\",\"type\":\"uint96[]\"},{\"internalType\":\"uint32[]\",\"name\":\"dstEid\",\"type\":\"uint32[]\"},{\"internalType\":\"bytes[]\",\"name\":\"additionalData\",\"type\":\"bytes[]\"}],\"name\":\"publishBulkRiskParameterUpdates\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"referenceId\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"newValue\",\"type\":\"bytes\"},{\"internalType\":\"string\",\"name\":\"updateType\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"market\",\"type\":\"address\"},{\"internalType\":\"uint96\",\"name\":\"poolId\",\"type\":\"uint96\"},{\"internalType\":\"uint32\",\"name\":\"dstEid\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"additionalData\",\"type\":\"bytes\"}],\"name\":\"publishRiskParameterUpdate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"removeAuthorizedSender\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"accessControlManager_\",\"type\":\"address\"}],\"name\":\"setAccessControlManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"updateType\",\"type\":\"string\"},{\"internalType\":\"bool\",\"name\":\"active\",\"type\":\"bool\"}],\"name\":\"setUpdateTypeActive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateCounter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"updatesById\",\"outputs\":[{\"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\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Venus\",\"events\":{\"Initialized(uint8)\":{\"details\":\"Triggered when the contract has been initialized or reinitialized.\"}},\"kind\":\"dev\",\"methods\":{\"acceptOwnership()\":{\"details\":\"The new owner accepts the ownership transfer.\"},\"addAuthorizedSender(address)\":{\"custom:access\":\"Controlled by AccessControlManager\",\"custom:error\":\"Throws ZeroAddressNotAllowed if sender is zero addressThrows SenderAlreadyAuthorized if sender is already authorizedThrows Unauthorized if caller is not allowed by AccessControlManager\",\"custom:event\":\"Emits AuthorizedSenderAdded when sender is successfully added\",\"params\":{\"sender\":\"Address to be authorized\"}},\"addUpdateType(string)\":{\"custom:access\":\"Controlled by AccessControlManager\",\"custom:error\":\"Throws InvalidUpdateTypeString if update type string is empty or exceeds 64 charactersThrows UpdateTypeAlreadyExists if update type already existsThrows Unauthorized if caller is not allowed by AccessControlManager\",\"custom:event\":\"Emits UpdateTypeAdded when update type is successfully added\",\"params\":{\"newUpdateType\":\"New type of update to allow\"}},\"allUpdateTypesLength()\":{\"returns\":{\"_0\":\"The length of the allUpdateTypes array\"}},\"constructor\":{\"custom:oz-upgrades-unsafe-allow\":\"constructor\"},\"getActiveUpdateTypes(string)\":{\"params\":{\"updateType\":\"The update type string to check\"},\"returns\":{\"_0\":\"True if the update type is active, false otherwise\"}},\"getAllUpdateTypes()\":{\"returns\":{\"_0\":\"An array of all update type strings\"}},\"getLatestUpdateByTypeAndMarket(string,address)\":{\"custom:error\":\"Throws NoUpdateFound if no update exists for the specified parameter and market\",\"params\":{\"market\":\"The market identifier\",\"updateType\":\"The identifier for the parameter\"},\"returns\":{\"_0\":\"The most recent RiskParameterUpdate for the specified parameter and market\"}},\"getLatestUpdateIdByTypeAndMarket(string,address)\":{\"params\":{\"market\":\"The market address\",\"updateType\":\"The update type string\"},\"returns\":{\"_0\":\"The latest update ID for the given market and update type, or 0 if none exists\"}},\"getUpdateById(uint256)\":{\"custom:error\":\"Throws InvalidUpdateId if updateId is 0 or greater than updateCounter\",\"params\":{\"updateId\":\"Update ID\"},\"returns\":{\"_0\":\"The RiskParameterUpdate for the specified id\"}},\"initialize(address)\":{\"custom:error\":\"Reverts with \\\"invalid acess control manager address\\\" if accessControlManager_ is zero address\",\"params\":{\"accessControlManager_\":\"Address of the access control manager\"}},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"pendingOwner()\":{\"details\":\"Returns the address of the pending owner.\"},\"publishBulkRiskParameterUpdates(string[],bytes[],string[],address[],uint96[],uint32[],bytes[])\":{\"custom:error\":\"Throws SenderNotAuthorized if caller is not an authorized senderThrows ArrayLengthMismatch if the array lengths do not match or if no updates are providedThrows UpdateTypeNotActive if any update type is not activeThrows ZeroAddressNotAllowed if any market is zero address\",\"custom:event\":\"Emits UpdatePublished for each successfully published update\",\"params\":{\"additionalData\":\"Array of additional data for the updates\",\"dstEid\":\"Array of destination endpoint IDs for cross-chain routing\",\"markets\":\"Array of addresses for markets of the parameter updates\",\"newValues\":\"Array of new values for each update\",\"poolIds\":\"Array of pool identifiers for eMode-style collateral configuration (0 for regular markets)\",\"referenceIds\":\"Array of external reference IDs\",\"updateTypes\":\"Array of types for each update, all must be authorized\"}},\"publishRiskParameterUpdate(string,bytes,string,address,uint96,uint32,bytes)\":{\"custom:error\":\"Throws SenderNotAuthorized if caller is not an authorized senderThrows UpdateTypeNotActive if update type is not activeThrows ZeroAddressNotAllowed if market is zero address\",\"custom:event\":\"Emits UpdatePublished when update is successfully published\",\"params\":{\"additionalData\":\"Additional data for the update\",\"dstEid\":\"Destination endpoint ID for cross-chain routing\",\"market\":\"Address for market of the parameter update\",\"newValue\":\"The new value of the risk parameter being updated\",\"poolId\":\"Pool identifier for eMode-style collateral configuration (0 for regular markets)\",\"referenceId\":\"An external reference ID associated with the update\",\"updateType\":\"Type of update performed, must be previously authorized\"}},\"removeAuthorizedSender(address)\":{\"custom:access\":\"Controlled by AccessControlManager\",\"custom:error\":\"Throws SenderNotAuthorized if sender is not currently authorizedThrows Unauthorized if caller is not allowed by AccessControlManager\",\"custom:event\":\"Emits AuthorizedSenderRemoved when sender is successfully removed\",\"params\":{\"sender\":\"Address to be unauthorized\"}},\"renounceOwnership()\":{\"custom:error\":\"Throws RenounceOwnershipNotAllowed\"},\"setAccessControlManager(address)\":{\"custom:access\":\"Only Governance\",\"custom:event\":\"Emits NewAccessControlManager event\",\"details\":\"Admin function to set address of AccessControlManager\",\"params\":{\"accessControlManager_\":\"The new address of the AccessControlManager\"}},\"setUpdateTypeActive(string,bool)\":{\"custom:access\":\"Controlled by AccessControlManager\",\"custom:error\":\"Throws UpdateTypeNotFound if update type doesn't existThrows UpdateTypeStatusUnchanged if status is already set to the desired valueThrows Unauthorized if caller is not allowed by AccessControlManager\",\"custom:event\":\"Emits UpdateTypeActiveStatusChanged when status is successfully changed\",\"params\":{\"active\":\"True to activate, false to deactivate\",\"updateType\":\"The update type to set active status for\"}},\"transferOwnership(address)\":{\"details\":\"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner.\"}},\"stateVariables\":{\"__gap\":{\"details\":\"This empty reserved space is put in place to allow future versions to add new variables without shifting down storage in the inheritance chain. See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\"}},\"title\":\"Risk Oracle\",\"version\":1},\"userdoc\":{\"errors\":{\"ArrayLengthMismatch()\":[{\"notice\":\"Thrown when array lengths don't match in bulk operations\"}],\"InvalidUpdateId()\":[{\"notice\":\"Thrown when update ID is invalid\"}],\"InvalidUpdateTypeString()\":[{\"notice\":\"Thrown when update type string is invalid\"}],\"NoUpdateFound()\":[{\"notice\":\"Thrown when no update is found\"}],\"RenounceOwnershipNotAllowed()\":[{\"notice\":\"Thrown when trying to renounce ownership\"}],\"SenderAlreadyAuthorized()\":[{\"notice\":\"Thrown when sender is already authorized\"}],\"SenderNotAuthorized()\":[{\"notice\":\"Thrown when sender is not authorized\"}],\"Unauthorized(address,address,string)\":[{\"notice\":\"Thrown when the action is prohibited by AccessControlManager\"}],\"UpdateTypeAlreadyExists()\":[{\"notice\":\"Thrown when update type already exists\"}],\"UpdateTypeNotActive()\":[{\"notice\":\"Thrown when update type is not active\"}],\"UpdateTypeNotFound()\":[{\"notice\":\"Thrown when update type doesn't exist\"}],\"UpdateTypeStatusUnchanged()\":[{\"notice\":\"Thrown when update type active status is already set to the desired value\"}],\"ZeroAddressNotAllowed()\":[{\"notice\":\"Thrown if the supplied address is a zero address where it is not allowed\"}]},\"events\":{\"AuthorizedSenderAdded(address)\":{\"notice\":\"Event emitted when a new authorized sender is added\"},\"AuthorizedSenderRemoved(address)\":{\"notice\":\"Event emitted when an authorized sender is removed\"},\"NewAccessControlManager(address,address)\":{\"notice\":\"Emitted when access control manager contract address is changed\"},\"UpdatePublished(string,uint256,address,string,bytes,bytes,uint256,address,bytes)\":{\"notice\":\"Event emitted when a risk parameter update is published\"},\"UpdateTypeActiveStatusChanged(string,bool,bool)\":{\"notice\":\"Event emitted when an update type's active status is changed\"},\"UpdateTypeAdded(string)\":{\"notice\":\"Event emitted when a new update type is added\"}},\"kind\":\"user\",\"methods\":{\"accessControlManager()\":{\"notice\":\"Returns the address of the access control manager contract\"},\"activeUpdateTypes(bytes32)\":{\"notice\":\"Whitelist of valid update type identifiers, keyed by updateType hash\"},\"addAuthorizedSender(address)\":{\"notice\":\"Adds a new sender to the list of addresses authorized to perform updates\"},\"addUpdateType(string)\":{\"notice\":\"Adds a new type of update to the list of authorized update types\"},\"allUpdateTypes(uint256)\":{\"notice\":\"Array to store all update types\"},\"allUpdateTypesLength()\":{\"notice\":\"Returns the total number of update types in the allUpdateTypes array\"},\"authorizedSenders(address)\":{\"notice\":\"Authorized accounts capable of proposing updates\"},\"constructor\":{\"notice\":\"Disables initializers\"},\"getActiveUpdateTypes(string)\":{\"notice\":\"Checks if a given update type is currently active.\"},\"getAllUpdateTypes()\":{\"notice\":\"Returns all update types in the allUpdateTypes array\"},\"getLatestUpdateByTypeAndMarket(string,address)\":{\"notice\":\"Fetches the most recent update for a specific parameter in a specific market\"},\"getLatestUpdateIdByTypeAndMarket(string,address)\":{\"notice\":\"Gets the latest update ID for a specific market and update type (string) combination\"},\"getUpdateById(uint256)\":{\"notice\":\"Fetches the update for a provided updateId\"},\"initialize(address)\":{\"notice\":\"Initializes the contract with access control manager\"},\"latestUpdateIdByMarketAndType(bytes32,address)\":{\"notice\":\"Mapping to store the latest update ID for each combination of update type key and market\"},\"publishBulkRiskParameterUpdates(string[],bytes[],string[],address[],uint96[],uint32[],bytes[])\":{\"notice\":\"Publishes multiple risk parameter updates in a single transaction\"},\"publishRiskParameterUpdate(string,bytes,string,address,uint96,uint32,bytes)\":{\"notice\":\"Publishes a new risk parameter update\"},\"removeAuthorizedSender(address)\":{\"notice\":\"Removes an address from the list of authorized senders\"},\"renounceOwnership()\":{\"notice\":\"Disables renounceOwnership function\"},\"setAccessControlManager(address)\":{\"notice\":\"Sets the address of AccessControlManager\"},\"setUpdateTypeActive(string,bool)\":{\"notice\":\"Sets the active status of an existing update type\"},\"updateCounter()\":{\"notice\":\"Counter to keep track of the total number of updates\"},\"updatesById(uint256)\":{\"notice\":\"Mapping from unique update ID to the update details\"}},\"notice\":\"Contract for managing and publishing risk parameter updates for Risk-Steward Updates\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/RiskSteward/RiskOracle.sol\":\"RiskOracle\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (access/Ownable2Step.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./OwnableUpgradeable.sol\\\";\\nimport \\\"../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @dev Contract module which provides access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership} and {acceptOwnership}.\\n *\\n * This module is used through inheritance. It will make available all functions\\n * from parent (Ownable).\\n */\\nabstract contract Ownable2StepUpgradeable is Initializable, OwnableUpgradeable {\\n    function __Ownable2Step_init() internal onlyInitializing {\\n        __Ownable_init_unchained();\\n    }\\n\\n    function __Ownable2Step_init_unchained() internal onlyInitializing {\\n    }\\n    address private _pendingOwner;\\n\\n    event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);\\n\\n    /**\\n     * @dev Returns the address of the pending owner.\\n     */\\n    function pendingOwner() public view virtual returns (address) {\\n        return _pendingOwner;\\n    }\\n\\n    /**\\n     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.\\n     * Can only be called by the current owner.\\n     */\\n    function transferOwnership(address newOwner) public virtual override onlyOwner {\\n        _pendingOwner = newOwner;\\n        emit OwnershipTransferStarted(owner(), newOwner);\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.\\n     * Internal function without access restriction.\\n     */\\n    function _transferOwnership(address newOwner) internal virtual override {\\n        delete _pendingOwner;\\n        super._transferOwnership(newOwner);\\n    }\\n\\n    /**\\n     * @dev The new owner accepts the ownership transfer.\\n     */\\n    function acceptOwnership() external {\\n        address sender = _msgSender();\\n        require(pendingOwner() == sender, \\\"Ownable2Step: caller is not the new owner\\\");\\n        _transferOwnership(sender);\\n    }\\n\\n    /**\\n     * @dev This empty reserved space is put in place to allow future versions to add new\\n     * variables without shifting down storage in the inheritance chain.\\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\\n     */\\n    uint256[49] private __gap;\\n}\\n\",\"keccak256\":\"0xd712fb45b3ea0ab49679164e3895037adc26ce12879d5184feb040e01c1c07a9\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/ContextUpgradeable.sol\\\";\\nimport \\\"../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {\\n    address private _owner;\\n\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n    /**\\n     * @dev Initializes the contract setting the deployer as the initial owner.\\n     */\\n    function __Ownable_init() internal onlyInitializing {\\n        __Ownable_init_unchained();\\n    }\\n\\n    function __Ownable_init_unchained() internal onlyInitializing {\\n        _transferOwnership(_msgSender());\\n    }\\n\\n    /**\\n     * @dev Throws if called by any account other than the owner.\\n     */\\n    modifier onlyOwner() {\\n        _checkOwner();\\n        _;\\n    }\\n\\n    /**\\n     * @dev Returns the address of the current owner.\\n     */\\n    function owner() public view virtual returns (address) {\\n        return _owner;\\n    }\\n\\n    /**\\n     * @dev Throws if the sender is not the owner.\\n     */\\n    function _checkOwner() internal view virtual {\\n        require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n    }\\n\\n    /**\\n     * @dev Leaves the contract without owner. It will not be possible to call\\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\\n     *\\n     * NOTE: Renouncing ownership will leave the contract without an owner,\\n     * thereby removing any functionality that is only available to the owner.\\n     */\\n    function renounceOwnership() public virtual onlyOwner {\\n        _transferOwnership(address(0));\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Can only be called by the current owner.\\n     */\\n    function transferOwnership(address newOwner) public virtual onlyOwner {\\n        require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n        _transferOwnership(newOwner);\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Internal function without access restriction.\\n     */\\n    function _transferOwnership(address newOwner) internal virtual {\\n        address oldOwner = _owner;\\n        _owner = newOwner;\\n        emit OwnershipTransferred(oldOwner, newOwner);\\n    }\\n\\n    /**\\n     * @dev This empty reserved space is put in place to allow future versions to add new\\n     * variables without shifting down storage in the inheritance chain.\\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\\n     */\\n    uint256[49] private __gap;\\n}\\n\",\"keccak256\":\"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.1) (proxy/utils/Initializable.sol)\\n\\npragma solidity ^0.8.2;\\n\\nimport \\\"../../utils/AddressUpgradeable.sol\\\";\\n\\n/**\\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\\n *\\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\\n * reused. This mechanism prevents re-execution of each \\\"step\\\" but allows the creation of new initialization steps in\\n * case an upgrade adds a module that needs to be initialized.\\n *\\n * For example:\\n *\\n * [.hljs-theme-light.nopadding]\\n * ```\\n * contract MyToken is ERC20Upgradeable {\\n *     function initialize() initializer public {\\n *         __ERC20_init(\\\"MyToken\\\", \\\"MTK\\\");\\n *     }\\n * }\\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\\n *     function initializeV2() reinitializer(2) public {\\n *         __ERC20Permit_init(\\\"MyToken\\\");\\n *     }\\n * }\\n * ```\\n *\\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\\n *\\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\\n *\\n * [CAUTION]\\n * ====\\n * Avoid leaving a contract uninitialized.\\n *\\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\\n *\\n * [.hljs-theme-light.nopadding]\\n * ```\\n * /// @custom:oz-upgrades-unsafe-allow constructor\\n * constructor() {\\n *     _disableInitializers();\\n * }\\n * ```\\n * ====\\n */\\nabstract contract Initializable {\\n    /**\\n     * @dev Indicates that the contract has been initialized.\\n     * @custom:oz-retyped-from bool\\n     */\\n    uint8 private _initialized;\\n\\n    /**\\n     * @dev Indicates that the contract is in the process of being initialized.\\n     */\\n    bool private _initializing;\\n\\n    /**\\n     * @dev Triggered when the contract has been initialized or reinitialized.\\n     */\\n    event Initialized(uint8 version);\\n\\n    /**\\n     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\\n     * `onlyInitializing` functions can be used to initialize parent contracts.\\n     *\\n     * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a\\n     * constructor.\\n     *\\n     * Emits an {Initialized} event.\\n     */\\n    modifier initializer() {\\n        bool isTopLevelCall = !_initializing;\\n        require(\\n            (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),\\n            \\\"Initializable: contract is already initialized\\\"\\n        );\\n        _initialized = 1;\\n        if (isTopLevelCall) {\\n            _initializing = true;\\n        }\\n        _;\\n        if (isTopLevelCall) {\\n            _initializing = false;\\n            emit Initialized(1);\\n        }\\n    }\\n\\n    /**\\n     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\\n     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\\n     * used to initialize parent contracts.\\n     *\\n     * A reinitializer may be used after the original initialization step. This is essential to configure modules that\\n     * are added through upgrades and that require initialization.\\n     *\\n     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\\n     * cannot be nested. If one is invoked in the context of another, execution will revert.\\n     *\\n     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\\n     * a contract, executing them in the right order is up to the developer or operator.\\n     *\\n     * WARNING: setting the version to 255 will prevent any future reinitialization.\\n     *\\n     * Emits an {Initialized} event.\\n     */\\n    modifier reinitializer(uint8 version) {\\n        require(!_initializing && _initialized < version, \\\"Initializable: contract is already initialized\\\");\\n        _initialized = version;\\n        _initializing = true;\\n        _;\\n        _initializing = false;\\n        emit Initialized(version);\\n    }\\n\\n    /**\\n     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\\n     * {initializer} and {reinitializer} modifiers, directly or indirectly.\\n     */\\n    modifier onlyInitializing() {\\n        require(_initializing, \\\"Initializable: contract is not initializing\\\");\\n        _;\\n    }\\n\\n    /**\\n     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\\n     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\\n     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\\n     * through proxies.\\n     *\\n     * Emits an {Initialized} event the first time it is successfully executed.\\n     */\\n    function _disableInitializers() internal virtual {\\n        require(!_initializing, \\\"Initializable: contract is initializing\\\");\\n        if (_initialized < type(uint8).max) {\\n            _initialized = type(uint8).max;\\n            emit Initialized(type(uint8).max);\\n        }\\n    }\\n\\n    /**\\n     * @dev Returns the highest version that has been initialized. See {reinitializer}.\\n     */\\n    function _getInitializedVersion() internal view returns (uint8) {\\n        return _initialized;\\n    }\\n\\n    /**\\n     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.\\n     */\\n    function _isInitializing() internal view returns (bool) {\\n        return _initializing;\\n    }\\n}\\n\",\"keccak256\":\"0x037c334add4b033ad3493038c25be1682d78c00992e1acb0e2795caff3925271\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary AddressUpgradeable {\\n    /**\\n     * @dev Returns true if `account` is a contract.\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * It is unsafe to assume that an address for which this function returns\\n     * false is an externally-owned account (EOA) and not a contract.\\n     *\\n     * Among others, `isContract` will return false for the following\\n     * types of addresses:\\n     *\\n     *  - an externally-owned account\\n     *  - a contract in construction\\n     *  - an address where a contract will be created\\n     *  - an address where a contract lived, but was destroyed\\n     * ====\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n     *\\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n     * constructor.\\n     * ====\\n     */\\n    function isContract(address account) internal view returns (bool) {\\n        // This method relies on extcodesize/address.code.length, which returns 0\\n        // for contracts in construction, since the code is only stored at the end\\n        // of the constructor execution.\\n\\n        return account.code.length > 0;\\n    }\\n\\n    /**\\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n     * `recipient`, forwarding all available gas and reverting on errors.\\n     *\\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n     * imposed by `transfer`, making them unable to receive funds via\\n     * `transfer`. {sendValue} removes this limitation.\\n     *\\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n     *\\n     * IMPORTANT: because control is transferred to `recipient`, care must be\\n     * taken to not create reentrancy vulnerabilities. Consider using\\n     * {ReentrancyGuard} or the\\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n     */\\n    function sendValue(address payable recipient, uint256 amount) internal {\\n        require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n        (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n        require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n    }\\n\\n    /**\\n     * @dev Performs a Solidity function call using a low level `call`. A\\n     * plain `call` is an unsafe replacement for a function call: use this\\n     * function instead.\\n     *\\n     * If `target` reverts with a revert reason, it is bubbled up by this\\n     * function (like regular Solidity function calls).\\n     *\\n     * Returns the raw returned data. To convert to the expected return value,\\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n     *\\n     * Requirements:\\n     *\\n     * - `target` must be a contract.\\n     * - calling `target` with `data` must not revert.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, \\\"Address: low-level call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n     * `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but also transferring `value` wei to `target`.\\n     *\\n     * Requirements:\\n     *\\n     * - the calling contract must have an ETH balance of at least `value`.\\n     * - the called Solidity function must be `payable`.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n        return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        (bool success, bytes memory returndata) = target.staticcall(data);\\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\n     *\\n     * _Available since v4.8._\\n     */\\n    function verifyCallResultFromTarget(\\n        address target,\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        if (success) {\\n            if (returndata.length == 0) {\\n                // only check isContract if the call was successful and the return data is empty\\n                // otherwise we already know that it was a contract\\n                require(isContract(target), \\\"Address: call to non-contract\\\");\\n            }\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\n     * revert reason or using the provided one.\\n     *\\n     * _Available since v4.3._\\n     */\\n    function verifyCallResult(\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal pure returns (bytes memory) {\\n        if (success) {\\n            return returndata;\\n        } else {\\n            _revert(returndata, errorMessage);\\n        }\\n    }\\n\\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\\n        // Look for revert reason and bubble it up if present\\n        if (returndata.length > 0) {\\n            // The easiest way to bubble the revert reason is using memory via assembly\\n            /// @solidity memory-safe-assembly\\n            assembly {\\n                let returndata_size := mload(returndata)\\n                revert(add(32, returndata), returndata_size)\\n            }\\n        } else {\\n            revert(errorMessage);\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0x2edcb41c121abc510932e8d83ff8b82cf9cdde35e7c297622f5c29ef0af25183\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\nimport \\\"../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract ContextUpgradeable is Initializable {\\n    function __Context_init() internal onlyInitializing {\\n    }\\n\\n    function __Context_init_unchained() internal onlyInitializing {\\n    }\\n    function _msgSender() internal view virtual returns (address) {\\n        return msg.sender;\\n    }\\n\\n    function _msgData() internal view virtual returns (bytes calldata) {\\n        return msg.data;\\n    }\\n\\n    /**\\n     * @dev This empty reserved space is put in place to allow future versions to add new\\n     * variables without shifting down storage in the inheritance chain.\\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\\n     */\\n    uint256[50] private __gap;\\n}\\n\",\"keccak256\":\"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149\",\"license\":\"MIT\"},\"@openzeppelin/contracts/access/IAccessControl.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev External interface of AccessControl declared to support ERC165 detection.\\n */\\ninterface IAccessControl {\\n    /**\\n     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\\n     *\\n     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\\n     * {RoleAdminChanged} not being emitted signaling this.\\n     *\\n     * _Available since v3.1._\\n     */\\n    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);\\n\\n    /**\\n     * @dev Emitted when `account` is granted `role`.\\n     *\\n     * `sender` is the account that originated the contract call, an admin role\\n     * bearer except when using {AccessControl-_setupRole}.\\n     */\\n    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);\\n\\n    /**\\n     * @dev Emitted when `account` is revoked `role`.\\n     *\\n     * `sender` is the account that originated the contract call:\\n     *   - if using `revokeRole`, it is the admin role bearer\\n     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)\\n     */\\n    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);\\n\\n    /**\\n     * @dev Returns `true` if `account` has been granted `role`.\\n     */\\n    function hasRole(bytes32 role, address account) external view returns (bool);\\n\\n    /**\\n     * @dev Returns the admin role that controls `role`. See {grantRole} and\\n     * {revokeRole}.\\n     *\\n     * To change a role's admin, use {AccessControl-_setRoleAdmin}.\\n     */\\n    function getRoleAdmin(bytes32 role) external view returns (bytes32);\\n\\n    /**\\n     * @dev Grants `role` to `account`.\\n     *\\n     * If `account` had not been already granted `role`, emits a {RoleGranted}\\n     * event.\\n     *\\n     * Requirements:\\n     *\\n     * - the caller must have ``role``'s admin role.\\n     */\\n    function grantRole(bytes32 role, address account) external;\\n\\n    /**\\n     * @dev Revokes `role` from `account`.\\n     *\\n     * If `account` had been granted `role`, emits a {RoleRevoked} event.\\n     *\\n     * Requirements:\\n     *\\n     * - the caller must have ``role``'s admin role.\\n     */\\n    function revokeRole(bytes32 role, address account) external;\\n\\n    /**\\n     * @dev Revokes `role` from the calling account.\\n     *\\n     * Roles are often managed via {grantRole} and {revokeRole}: this function's\\n     * purpose is to provide a mechanism for accounts to lose their privileges\\n     * if they are compromised (such as when a trusted device is misplaced).\\n     *\\n     * If the calling account had been granted `role`, emits a {RoleRevoked}\\n     * event.\\n     *\\n     * Requirements:\\n     *\\n     * - the caller must be `account`.\\n     */\\n    function renounceRole(bytes32 role, address account) external;\\n}\\n\",\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\"},\"@venusprotocol/solidity-utilities/contracts/validators.sol\":{\"content\":\"// SPDX-License-Identifier: BSD-3-Clause\\npragma solidity 0.8.25;\\n\\n/// @notice Thrown if the supplied address is a zero address where it is not allowed\\nerror ZeroAddressNotAllowed();\\n\\n/// @notice Thrown if the supplied value is 0 where it is not allowed\\nerror ZeroValueNotAllowed();\\n\\n/// @notice Checks if the provided address is nonzero, reverts otherwise\\n/// @param address_ Address to check\\n/// @custom:error ZeroAddressNotAllowed is thrown if the provided address is a zero address\\nfunction ensureNonzeroAddress(address address_) pure {\\n    if (address_ == address(0)) {\\n        revert ZeroAddressNotAllowed();\\n    }\\n}\\n\\n/// @notice Checks if the provided value is nonzero, reverts otherwise\\n/// @param value_ Value to check\\n/// @custom:error ZeroValueNotAllowed is thrown if the provided value is 0\\nfunction ensureNonzeroValue(uint256 value_) pure {\\n    if (value_ == 0) {\\n        revert ZeroValueNotAllowed();\\n    }\\n}\\n\",\"keccak256\":\"0xdb88e14d50dd21889ca3329d755673d022c47e8da005b6a545c7f69c2c4b7b86\",\"license\":\"BSD-3-Clause\"},\"contracts/Governance/AccessControlledV8.sol\":{\"content\":\"// SPDX-License-Identifier: BSD-3-Clause\\npragma solidity 0.8.25;\\n\\nimport \\\"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\\\";\\nimport \\\"@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol\\\";\\n\\nimport \\\"./IAccessControlManagerV8.sol\\\";\\n\\n/**\\n * @title AccessControlledV8\\n * @author Venus\\n * @notice This contract is helper between access control manager and actual contract. This contract further inherited by other contract (using solidity 0.8.13)\\n * to integrate access controlled mechanism. It provides initialise methods and verifying access methods.\\n */\\nabstract contract AccessControlledV8 is Initializable, Ownable2StepUpgradeable {\\n    /// @notice Access control manager contract\\n    IAccessControlManagerV8 internal _accessControlManager;\\n\\n    /**\\n     * @dev This empty reserved space is put in place to allow future versions to add new\\n     * variables without shifting down storage in the inheritance chain.\\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\\n     */\\n    uint256[49] private __gap;\\n\\n    /// @notice Emitted when access control manager contract address is changed\\n    event NewAccessControlManager(address oldAccessControlManager, address newAccessControlManager);\\n\\n    /// @notice Thrown when the action is prohibited by AccessControlManager\\n    error Unauthorized(address sender, address calledContract, string methodSignature);\\n\\n    function __AccessControlled_init(address accessControlManager_) internal onlyInitializing {\\n        __Ownable2Step_init();\\n        __AccessControlled_init_unchained(accessControlManager_);\\n    }\\n\\n    function __AccessControlled_init_unchained(address accessControlManager_) internal onlyInitializing {\\n        _setAccessControlManager(accessControlManager_);\\n    }\\n\\n    /**\\n     * @notice Sets the address of AccessControlManager\\n     * @dev Admin function to set address of AccessControlManager\\n     * @param accessControlManager_ The new address of the AccessControlManager\\n     * @custom:event Emits NewAccessControlManager event\\n     * @custom:access Only Governance\\n     */\\n    function setAccessControlManager(address accessControlManager_) external onlyOwner {\\n        _setAccessControlManager(accessControlManager_);\\n    }\\n\\n    /**\\n     * @notice Returns the address of the access control manager contract\\n     */\\n    function accessControlManager() external view returns (IAccessControlManagerV8) {\\n        return _accessControlManager;\\n    }\\n\\n    /**\\n     * @dev Internal function to set address of AccessControlManager\\n     * @param accessControlManager_ The new address of the AccessControlManager\\n     */\\n    function _setAccessControlManager(address accessControlManager_) internal {\\n        require(address(accessControlManager_) != address(0), \\\"invalid acess control manager address\\\");\\n        address oldAccessControlManager = address(_accessControlManager);\\n        _accessControlManager = IAccessControlManagerV8(accessControlManager_);\\n        emit NewAccessControlManager(oldAccessControlManager, accessControlManager_);\\n    }\\n\\n    /**\\n     * @notice Reverts if the call is not allowed by AccessControlManager\\n     * @param signature Method signature\\n     */\\n    function _checkAccessAllowed(string memory signature) internal view {\\n        bool isAllowedToCall = _accessControlManager.isAllowedToCall(msg.sender, signature);\\n\\n        if (!isAllowedToCall) {\\n            revert Unauthorized(msg.sender, address(this), signature);\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0xfe0fd441c84ac907cabc88db69ef04f6d7532d770c7e6a1dfe6e7d6305debb49\",\"license\":\"BSD-3-Clause\"},\"contracts/Governance/IAccessControlManagerV8.sol\":{\"content\":\"// SPDX-License-Identifier: BSD-3-Clause\\npragma solidity ^0.8.25;\\n\\nimport \\\"@openzeppelin/contracts/access/IAccessControl.sol\\\";\\n\\n/**\\n * @title IAccessControlManagerV8\\n * @author Venus\\n * @notice Interface implemented by the `AccessControlManagerV8` contract.\\n */\\ninterface IAccessControlManagerV8 is IAccessControl {\\n    function giveCallPermission(address contractAddress, string calldata functionSig, address accountToPermit) external;\\n\\n    function revokeCallPermission(\\n        address contractAddress,\\n        string calldata functionSig,\\n        address accountToRevoke\\n    ) external;\\n\\n    function isAllowedToCall(address account, string calldata functionSig) external view returns (bool);\\n\\n    function hasPermission(\\n        address account,\\n        address contractAddress,\\n        string calldata functionSig\\n    ) external view returns (bool);\\n}\\n\",\"keccak256\":\"0xaa29b098440d0b3a131c5ecdf25ce548790c1b5ac7bf9b5c0264b6af6f7a1e0b\",\"license\":\"BSD-3-Clause\"},\"contracts/RiskSteward/Interfaces/IRiskOracle.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.25;\\n\\n/**\\n * @notice Struct representing a risk parameter update published by the Risk Oracle\\n * @param referenceId External reference ID, potentially linking to a document or off-chain data\\n * @param updateId Unique identifier for this specific update\\n * @param market Address of the market for which the parameter update applies\\n * @param updateType Classification of the update type for validation purposes (human-readable)\\n * @param updateTypeKey Keccak256 hash of updateType for efficient comparisons\\n * @param newValue Encoded new value of the risk parameter, flexible for various data types\\n * @param previousValue Previous value of the parameter for historical comparison\\n * @param timestamp Block timestamp when the update was published\\n * @param publisher Address of the account that published this update\\n * @param poolId Pool identifier for eMode-style collateral configuration (0 for regular markets)\\n * @param destLzEid LayerZero endpoint ID of the destination chain (0 for local execution)\\n * @param additionalData Additional metadata or data associated with the update\\n */\\nstruct RiskParameterUpdate {\\n    string referenceId;\\n    uint256 updateId;\\n    address market;\\n    string updateType;\\n    bytes32 updateTypeKey;\\n    bytes newValue;\\n    bytes previousValue;\\n    uint256 timestamp;\\n    address publisher;\\n    uint96 poolId;\\n    uint32 destLzEid;\\n    bytes additionalData;\\n}\\n\\n/**\\n * @title IRiskOracle\\n * @author Venus\\n * @notice Interface for Risk Oracle contract that manages and publishes risk parameter updates\\n */\\ninterface IRiskOracle {\\n    /// @notice Event emitted when a risk parameter update is published\\n    event UpdatePublished(\\n        string referenceId,\\n        uint256 indexed updateId,\\n        address indexed market,\\n        string indexed updateType,\\n        bytes newValue,\\n        bytes previousValue,\\n        uint256 timestamp,\\n        address publisher,\\n        bytes additionalData\\n    );\\n\\n    /// @notice Event emitted when a new authorized sender is added\\n    event AuthorizedSenderAdded(address indexed sender);\\n\\n    /// @notice Event emitted when an authorized sender is removed\\n    event AuthorizedSenderRemoved(address indexed sender);\\n\\n    /// @notice Event emitted when a new update type is added\\n    event UpdateTypeAdded(string indexed updateType);\\n\\n    /// @notice Event emitted when an update type's active status is changed\\n    event UpdateTypeActiveStatusChanged(string indexed updateType, bool previousActive, bool active);\\n\\n    /// @notice Thrown when sender is not authorized\\n    error SenderNotAuthorized();\\n\\n    /// @notice Thrown when sender is already authorized\\n    error SenderAlreadyAuthorized();\\n\\n    /// @notice Thrown when update type string is invalid\\n    error InvalidUpdateTypeString();\\n\\n    /// @notice Thrown when update type already exists\\n    error UpdateTypeAlreadyExists();\\n\\n    /// @notice Thrown when update type doesn't exist\\n    error UpdateTypeNotFound();\\n\\n    /// @notice Thrown when update type active status is already set to the desired value\\n    error UpdateTypeStatusUnchanged();\\n\\n    /// @notice Thrown when update type is not active\\n    error UpdateTypeNotActive();\\n\\n    /// @notice Thrown when no update is found\\n    error NoUpdateFound();\\n\\n    /// @notice Thrown when update ID is invalid\\n    error InvalidUpdateId();\\n\\n    /// @notice Thrown when array lengths don't match in bulk operations\\n    error ArrayLengthMismatch();\\n\\n    /// @notice Thrown when trying to renounce ownership\\n    error RenounceOwnershipNotAllowed();\\n\\n    /**\\n     * @notice Returns the update type string at the given index in the allUpdateTypes array\\n     * @param index The index in the allUpdateTypes array\\n     * @return The update type string at the specified index\\n     */\\n    function allUpdateTypes(uint256 index) external view returns (string memory);\\n\\n    /**\\n     * @notice Returns the total number of update types in the allUpdateTypes array\\n     * @return The length of the allUpdateTypes array\\n     */\\n    function allUpdateTypesLength() external view returns (uint256);\\n\\n    /**\\n     * @notice Returns all update types in the allUpdateTypes array\\n     * @return An array of all update type strings\\n     */\\n    function getAllUpdateTypes() external view returns (string[] memory);\\n\\n    /**\\n     * @notice Checks if a given update type is currently active\\n     * @param updateType The update type string to check\\n     * @return True if the update type is active, false otherwise\\n     */\\n    function getActiveUpdateTypes(string memory updateType) external view returns (bool);\\n\\n    /**\\n     * @notice Checks if a given update type is currently active\\n     * @param updateTypeKey The keccak256 hash of the update type string\\n     * @return True if the update type key is active, false otherwise\\n     */\\n    function activeUpdateTypes(bytes32 updateTypeKey) external view returns (bool);\\n\\n    /**\\n     * @notice Checks if an address is authorized to publish updates\\n     * @param sender The address to check for authorization\\n     * @return True if the address is authorized, false otherwise\\n     */\\n    function authorizedSenders(address sender) external view returns (bool);\\n\\n    /**\\n     * @notice Gets the latest update ID for a specific market and update type combination\\n     * @param updateTypeKey The keccak256 hash of the update type string\\n     * @param market The market address\\n     * @return The latest update ID for the given market and update type key, or 0 if none exists\\n     */\\n    function latestUpdateIdByMarketAndType(bytes32 updateTypeKey, address market) external view returns (uint256);\\n\\n    /**\\n     * @notice Returns the total number of updates that have been published\\n     * @return The current update counter value\\n     */\\n    function updateCounter() external view returns (uint256);\\n\\n    /**\\n     * @notice Fetches the most recent update for a specific parameter type in a specific market\\n     * @param updateType The update type identifier\\n     * @param market The market address\\n     * @return The most recent RiskParameterUpdate for the specified parameter and market\\n     * @custom:error NoUpdateFound Thrown if no update exists for the specified parameter and market\\n     */\\n    function getLatestUpdateByTypeAndMarket(\\n        string memory updateType,\\n        address market\\n    ) external view returns (RiskParameterUpdate memory);\\n\\n    /**\\n     * @notice Gets the latest update ID for a specific market and update type (string) combination\\n     * @param updateType The update type identifier\\n     * @param market The market address\\n     * @return The latest update ID for the given market and update type, or 0 if none exists\\n     */\\n    function getLatestUpdateIdByTypeAndMarket(string memory updateType, address market) external view returns (uint256);\\n\\n    /**\\n     * @notice Fetches the update for a provided update ID\\n     * @param updateId The unique update ID\\n     * @return The RiskParameterUpdate struct for the specified update ID\\n     * @custom:error InvalidUpdateId Thrown if updateId is 0 or greater than updateCounter\\n     */\\n    function getUpdateById(uint256 updateId) external view returns (RiskParameterUpdate memory);\\n\\n    /**\\n     * @notice Adds a new address to the list of authorized senders who can publish updates\\n     * @param sender Address to be authorized\\n     * @custom:error ZeroAddressNotAllowed Thrown if sender is the zero address\\n     * @custom:error SenderAlreadyAuthorized Thrown if sender is already authorized\\n     * @custom:error Unauthorized Thrown if caller is not allowed by AccessControlManager\\n     * @custom:event AuthorizedSenderAdded Emitted when sender is successfully added\\n     */\\n    function addAuthorizedSender(address sender) external;\\n\\n    /**\\n     * @notice Removes an address from the list of authorized senders\\n     * @param sender Address to be removed from authorization\\n     * @custom:error SenderNotAuthorized Thrown if sender is not currently authorized\\n     * @custom:error Unauthorized Thrown if caller is not allowed by AccessControlManager\\n     * @custom:event AuthorizedSenderRemoved Emitted when sender is successfully removed\\n     */\\n    function removeAuthorizedSender(address sender) external;\\n\\n    /**\\n     * @notice Adds a new update type to the list of authorized update types\\n     * @param newUpdateType New update type string to allow (must be non-empty and <= 64 characters)\\n     * @custom:error InvalidUpdateTypeString Thrown if update type string is empty or exceeds 64 characters\\n     * @custom:error UpdateTypeAlreadyExists Thrown if update type already exists\\n     * @custom:error Unauthorized Thrown if caller is not allowed by AccessControlManager\\n     * @custom:event UpdateTypeAdded Emitted when update type is successfully added\\n     */\\n    function addUpdateType(string memory newUpdateType) external;\\n\\n    /**\\n     * @notice Sets the active status of an existing update type\\n     * @param updateType The update type to set active status for\\n     * @param active True to activate the update type, false to deactivate it\\n     * @custom:error UpdateTypeNotFound Thrown if update type doesn't exist\\n     * @custom:error UpdateTypeStatusUnchanged Thrown if status is already set to the desired value\\n     * @custom:error Unauthorized Thrown if caller is not allowed by AccessControlManager\\n     * @custom:event UpdateTypeActiveStatusChanged Emitted when status is successfully changed\\n     */\\n    function setUpdateTypeActive(string memory updateType, bool active) external;\\n\\n    /**\\n     * @notice Publishes a new risk parameter update.\\n     * @param referenceId An external reference ID associated with the update\\n     * @param newValue The new value of the risk parameter being updated (encoded as bytes)\\n     * @param updateType Type of update performed, must be an active update type\\n     * @param market Address of the market for which the parameter update applies\\n     * @param poolId Pool identifier for eMode-style collateral configuration (0 for regular markets)\\n     * @param dstEid Destination endpoint ID for cross-chain routing\\n     * @param additionalData Additional data or metadata for the update\\n     * @custom:error SenderNotAuthorized Thrown if caller is not an authorized sender\\n     * @custom:error UpdateTypeNotActive Thrown if update type is not active\\n     * @custom:error ZeroAddressNotAllowed Thrown if market is the zero address\\n     * @custom:event UpdatePublished Emitted when the update is successfully published\\n     */\\n    function publishRiskParameterUpdate(\\n        string memory referenceId,\\n        bytes memory newValue,\\n        string memory updateType,\\n        address market,\\n        uint96 poolId,\\n        uint32 dstEid,\\n        bytes memory additionalData\\n    ) external;\\n\\n    /**\\n     * @notice Publishes multiple risk parameter updates in a single transaction.\\n     * @param referenceIds Array of external reference IDs, one for each update\\n     * @param newValues Array of new values for each update (encoded as bytes)\\n     * @param updateTypes Array of update types, all must be active update types\\n     * @param markets Array of market addresses for each update\\n     * @param poolIds Array of pool identifiers for eMode-style collateral configuration (0 for regular markets)\\n     * @param dstEid Array of destination endpoint IDs for cross-chain routing\\n     * @param additionalData Array of additional data for each update\\n     * @custom:error SenderNotAuthorized Thrown if caller is not an authorized sender\\n     * @custom:error ArrayLengthMismatch Thrown if all arrays don't have the same length\\n     * @custom:error UpdateTypeNotActive Thrown if any update type is not active\\n     * @custom:error ZeroAddressNotAllowed Thrown if any market is the zero address\\n     * @custom:event UpdatePublished Emitted for each successfully published update\\n     */\\n    function publishBulkRiskParameterUpdates(\\n        string[] memory referenceIds,\\n        bytes[] memory newValues,\\n        string[] memory updateTypes,\\n        address[] memory markets,\\n        uint96[] memory poolIds,\\n        uint32[] memory dstEid,\\n        bytes[] memory additionalData\\n    ) external;\\n}\\n\",\"keccak256\":\"0x8a30b030d5be3cefabf55d889d0a06447613a9ada5a917730b7ec833bda167cd\",\"license\":\"MIT\"},\"contracts/RiskSteward/RiskOracle.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.8.25;\\n\\nimport { AccessControlledV8 } from \\\"../Governance/AccessControlledV8.sol\\\";\\nimport { ensureNonzeroAddress } from \\\"@venusprotocol/solidity-utilities/contracts/validators.sol\\\";\\nimport { IRiskOracle, RiskParameterUpdate } from \\\"./Interfaces/IRiskOracle.sol\\\";\\n\\n/**\\n * @title Risk Oracle\\n * @author Venus\\n * @notice Contract for managing and publishing risk parameter updates for Risk-Steward Updates\\n */\\ncontract RiskOracle is IRiskOracle, AccessControlledV8 {\\n    /// @notice Counter to keep track of the total number of updates\\n    uint256 public updateCounter;\\n\\n    /// @notice Array to store all update types\\n    string[] public allUpdateTypes;\\n\\n    /// @notice Whitelist of valid update type identifiers, keyed by updateType hash\\n    mapping(bytes32 => bool) public activeUpdateTypes;\\n\\n    /// @notice Mapping from unique update ID to the update details\\n    mapping(uint256 => RiskParameterUpdate) public updatesById;\\n\\n    /// @notice Authorized accounts capable of proposing updates\\n    mapping(address => bool) public authorizedSenders;\\n\\n    /// @notice Mapping to store the latest update ID for each combination of update type key and market\\n    mapping(bytes32 updateTypeKey => mapping(address market => uint256 updateId)) public latestUpdateIdByMarketAndType;\\n\\n    /**\\n     * @dev This empty reserved space is put in place to allow future versions to add new\\n     * variables without shifting down storage in the inheritance chain.\\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\\n     */\\n    uint256[44] private __gap;\\n\\n    /**\\n     * @notice Modifier that restricts function access to authorized senders only\\n     */\\n    modifier onlyAuthorized() {\\n        if (!authorizedSenders[msg.sender]) {\\n            revert SenderNotAuthorized();\\n        }\\n        _;\\n    }\\n\\n    /**\\n     * @notice Disables initializers\\n     * @custom:oz-upgrades-unsafe-allow constructor\\n     */\\n    constructor() {\\n        _disableInitializers();\\n    }\\n\\n    /**\\n     * @notice Initializes the contract with access control manager\\n     * @param accessControlManager_ Address of the access control manager\\n     * @custom:error Reverts with \\\"invalid acess control manager address\\\" if accessControlManager_ is zero address\\n     */\\n    function initialize(address accessControlManager_) external initializer {\\n        __AccessControlled_init(accessControlManager_);\\n    }\\n\\n    /**\\n     * @notice Adds a new sender to the list of addresses authorized to perform updates\\n     * @param sender Address to be authorized\\n     * @custom:access Controlled by AccessControlManager\\n     * @custom:error Throws ZeroAddressNotAllowed if sender is zero address\\n     * @custom:error Throws SenderAlreadyAuthorized if sender is already authorized\\n     * @custom:error Throws Unauthorized if caller is not allowed by AccessControlManager\\n     * @custom:event Emits AuthorizedSenderAdded when sender is successfully added\\n     */\\n    function addAuthorizedSender(address sender) external {\\n        _checkAccessAllowed(\\\"addAuthorizedSender(address)\\\");\\n        ensureNonzeroAddress(sender);\\n        if (authorizedSenders[sender]) {\\n            revert SenderAlreadyAuthorized();\\n        }\\n        authorizedSenders[sender] = true;\\n        emit AuthorizedSenderAdded(sender);\\n    }\\n\\n    /**\\n     * @notice Removes an address from the list of authorized senders\\n     * @param sender Address to be unauthorized\\n     * @custom:access Controlled by AccessControlManager\\n     * @custom:error Throws SenderNotAuthorized if sender is not currently authorized\\n     * @custom:error Throws Unauthorized if caller is not allowed by AccessControlManager\\n     * @custom:event Emits AuthorizedSenderRemoved when sender is successfully removed\\n     */\\n    function removeAuthorizedSender(address sender) external {\\n        _checkAccessAllowed(\\\"removeAuthorizedSender(address)\\\");\\n        if (!authorizedSenders[sender]) {\\n            revert SenderNotAuthorized();\\n        }\\n        delete authorizedSenders[sender];\\n        emit AuthorizedSenderRemoved(sender);\\n    }\\n\\n    /**\\n     * @notice Adds a new type of update to the list of authorized update types\\n     * @param newUpdateType New type of update to allow\\n     * @custom:access Controlled by AccessControlManager\\n     * @custom:error Throws InvalidUpdateTypeString if update type string is empty or exceeds 64 characters\\n     * @custom:error Throws UpdateTypeAlreadyExists if update type already exists\\n     * @custom:error Throws Unauthorized if caller is not allowed by AccessControlManager\\n     * @custom:event Emits UpdateTypeAdded when update type is successfully added\\n     */\\n    function addUpdateType(string memory newUpdateType) external {\\n        _checkAccessAllowed(\\\"addUpdateType(string)\\\");\\n        if (bytes(newUpdateType).length == 0 || bytes(newUpdateType).length > 64) {\\n            revert InvalidUpdateTypeString();\\n        }\\n        bytes32 key = keccak256(bytes(newUpdateType));\\n\\n        if (_updateTypeExists(key)) {\\n            revert UpdateTypeAlreadyExists();\\n        }\\n\\n        activeUpdateTypes[key] = true;\\n        allUpdateTypes.push(newUpdateType);\\n        emit UpdateTypeAdded(newUpdateType);\\n    }\\n\\n    /**\\n     * @notice Sets the active status of an existing update type\\n     * @param updateType The update type to set active status for\\n     * @param active True to activate, false to deactivate\\n     * @custom:access Controlled by AccessControlManager\\n     * @custom:error Throws UpdateTypeNotFound if update type doesn't exist\\n     * @custom:error Throws UpdateTypeStatusUnchanged if status is already set to the desired value\\n     * @custom:error Throws Unauthorized if caller is not allowed by AccessControlManager\\n     * @custom:event Emits UpdateTypeActiveStatusChanged when status is successfully changed\\n     */\\n    function setUpdateTypeActive(string memory updateType, bool active) external {\\n        _checkAccessAllowed(\\\"setUpdateTypeActive(string,bool)\\\");\\n        bytes32 key = keccak256(bytes(updateType));\\n\\n        if (!_updateTypeExists(key)) {\\n            revert UpdateTypeNotFound();\\n        }\\n\\n        bool previousActive = activeUpdateTypes[key];\\n        if (previousActive == active) {\\n            revert UpdateTypeStatusUnchanged();\\n        }\\n\\n        activeUpdateTypes[key] = active;\\n        emit UpdateTypeActiveStatusChanged(updateType, previousActive, active);\\n    }\\n\\n    /**\\n     * @notice Publishes a new risk parameter update\\n     * @param referenceId An external reference ID associated with the update\\n     * @param newValue The new value of the risk parameter being updated\\n     * @param updateType Type of update performed, must be previously authorized\\n     * @param market Address for market of the parameter update\\n     * @param poolId Pool identifier for eMode-style collateral configuration (0 for regular markets)\\n     * @param dstEid Destination endpoint ID for cross-chain routing\\n     * @param additionalData Additional data for the update\\n     * @custom:error Throws SenderNotAuthorized if caller is not an authorized sender\\n     * @custom:error Throws UpdateTypeNotActive if update type is not active\\n     * @custom:error Throws ZeroAddressNotAllowed if market is zero address\\n     * @custom:event Emits UpdatePublished when update is successfully published\\n     */\\n    function publishRiskParameterUpdate(\\n        string memory referenceId,\\n        bytes memory newValue,\\n        string memory updateType,\\n        address market,\\n        uint96 poolId,\\n        uint32 dstEid,\\n        bytes memory additionalData\\n    ) external onlyAuthorized {\\n        _publishUpdate(referenceId, newValue, updateType, market, poolId, dstEid, additionalData);\\n    }\\n\\n    /**\\n     * @notice Publishes multiple risk parameter updates in a single transaction\\n     * @param referenceIds Array of external reference IDs\\n     * @param newValues Array of new values for each update\\n     * @param updateTypes Array of types for each update, all must be authorized\\n     * @param markets Array of addresses for markets of the parameter updates\\n     * @param poolIds Array of pool identifiers for eMode-style collateral configuration (0 for regular markets)\\n     * @param dstEid Array of destination endpoint IDs for cross-chain routing\\n     * @param additionalData Array of additional data for the updates\\n     * @custom:error Throws SenderNotAuthorized if caller is not an authorized sender\\n     * @custom:error Throws ArrayLengthMismatch if the array lengths do not match or if no updates are provided\\n     * @custom:error Throws UpdateTypeNotActive if any update type is not active\\n     * @custom:error Throws ZeroAddressNotAllowed if any market is zero address\\n     * @custom:event Emits UpdatePublished for each successfully published update\\n     */\\n    function publishBulkRiskParameterUpdates(\\n        string[] memory referenceIds,\\n        bytes[] memory newValues,\\n        string[] memory updateTypes,\\n        address[] memory markets,\\n        uint96[] memory poolIds,\\n        uint32[] memory dstEid,\\n        bytes[] memory additionalData\\n    ) external onlyAuthorized {\\n        uint256 length = referenceIds.length;\\n        if (\\n            length == 0 ||\\n            length != newValues.length ||\\n            length != updateTypes.length ||\\n            length != markets.length ||\\n            length != poolIds.length ||\\n            length != dstEid.length ||\\n            length != additionalData.length\\n        ) {\\n            revert ArrayLengthMismatch();\\n        }\\n        for (uint256 i = 0; i < length; ++i) {\\n            _publishUpdate(\\n                referenceIds[i],\\n                newValues[i],\\n                updateTypes[i],\\n                markets[i],\\n                poolIds[i],\\n                dstEid[i],\\n                additionalData[i]\\n            );\\n        }\\n    }\\n\\n    /**\\n     * @notice Fetches the most recent update for a specific parameter in a specific market\\n     * @param updateType The identifier for the parameter\\n     * @param market The market identifier\\n     * @return The most recent RiskParameterUpdate for the specified parameter and market\\n     * @custom:error Throws NoUpdateFound if no update exists for the specified parameter and market\\n     */\\n    function getLatestUpdateByTypeAndMarket(\\n        string memory updateType,\\n        address market\\n    ) external view returns (RiskParameterUpdate memory) {\\n        bytes32 updateTypeKey = keccak256(bytes(updateType));\\n        uint256 updateId = latestUpdateIdByMarketAndType[updateTypeKey][market];\\n        if (updateId == 0) {\\n            revert NoUpdateFound();\\n        }\\n        return updatesById[updateId];\\n    }\\n\\n    /**\\n     * @notice Fetches the update for a provided updateId\\n     * @param updateId Update ID\\n     * @return The RiskParameterUpdate for the specified id\\n     * @custom:error Throws InvalidUpdateId if updateId is 0 or greater than updateCounter\\n     */\\n    function getUpdateById(uint256 updateId) external view returns (RiskParameterUpdate memory) {\\n        if (updateId == 0 || updateId > updateCounter) {\\n            revert InvalidUpdateId();\\n        }\\n        return updatesById[updateId];\\n    }\\n\\n    /**\\n     * @notice Publishes a new risk parameter update internally\\n     * @param referenceId An external reference ID associated with the update\\n     * @param newValue The new value of the risk parameter being updated\\n     * @param updateType Type of update performed, must be previously authorized\\n     * @param market Address for market of the parameter update\\n     * @param poolId Pool identifier for eMode-style collateral configuration (0 for regular markets)\\n     * @param dstEid Destination endpoint ID for cross-chain routing\\n     * @param additionalData Additional data for the update\\n     * @custom:error Throws ZeroAddressNotAllowed if market is zero address\\n     * @custom:error Throws UpdateTypeNotActive if update type is not active\\n     * @custom:event Emits UpdatePublished when update is successfully published\\n     */\\n    function _publishUpdate(\\n        string memory referenceId,\\n        bytes memory newValue,\\n        string memory updateType,\\n        address market,\\n        uint96 poolId,\\n        uint32 dstEid,\\n        bytes memory additionalData\\n    ) internal {\\n        ensureNonzeroAddress(market);\\n        bytes32 updateTypeKey = keccak256(bytes(updateType));\\n        if (!activeUpdateTypes[updateTypeKey]) {\\n            revert UpdateTypeNotActive();\\n        }\\n        uint256 newUpdateCounter = ++updateCounter;\\n        uint256 previousUpdateId = latestUpdateIdByMarketAndType[updateTypeKey][market];\\n        bytes memory previousValue = updatesById[previousUpdateId].newValue;\\n\\n        RiskParameterUpdate memory newUpdate = RiskParameterUpdate({\\n            referenceId: referenceId,\\n            updateId: newUpdateCounter,\\n            market: market,\\n            updateType: updateType,\\n            updateTypeKey: updateTypeKey,\\n            newValue: newValue,\\n            previousValue: previousValue,\\n            timestamp: block.timestamp,\\n            publisher: msg.sender,\\n            poolId: poolId,\\n            destLzEid: dstEid,\\n            additionalData: additionalData\\n        });\\n        updatesById[newUpdateCounter] = newUpdate;\\n\\n        // Update the latest update ID for the (updateTypeKey, market) pair\\n        latestUpdateIdByMarketAndType[updateTypeKey][market] = newUpdateCounter;\\n\\n        emit UpdatePublished(\\n            referenceId,\\n            newUpdateCounter,\\n            market,\\n            updateType,\\n            newValue,\\n            previousValue,\\n            block.timestamp,\\n            msg.sender,\\n            additionalData\\n        );\\n    }\\n\\n    /**\\n     * @notice Returns the total number of update types in the allUpdateTypes array\\n     * @return The length of the allUpdateTypes array\\n     */\\n    function allUpdateTypesLength() external view returns (uint256) {\\n        return allUpdateTypes.length;\\n    }\\n\\n    /**\\n     * @notice Gets the latest update ID for a specific market and update type (string) combination\\n     * @param updateType The update type string\\n     * @param market The market address\\n     * @return The latest update ID for the given market and update type, or 0 if none exists\\n     */\\n    function getLatestUpdateIdByTypeAndMarket(\\n        string memory updateType,\\n        address market\\n    ) external view returns (uint256) {\\n        bytes32 updateTypeKey = keccak256(bytes(updateType));\\n        return latestUpdateIdByMarketAndType[updateTypeKey][market];\\n    }\\n\\n    /**\\n     * @notice Checks if a given update type is currently active.\\n     * @param updateType The update type string to check\\n     * @return True if the update type is active, false otherwise\\n     */\\n    function getActiveUpdateTypes(string memory updateType) external view returns (bool) {\\n        bytes32 key = keccak256(bytes(updateType));\\n        return activeUpdateTypes[key];\\n    }\\n\\n    /**\\n     * @notice Returns all update types in the allUpdateTypes array\\n     * @return An array of all update type strings\\n     */\\n    function getAllUpdateTypes() external view returns (string[] memory) {\\n        return allUpdateTypes;\\n    }\\n\\n    /**\\n     * @notice Checks if an update type exists in the allUpdateTypes array\\n     * @param updateTypeKey The keccak256 hash of the update type string\\n     * @return True if the update type exists, false otherwise\\n     */\\n    function _updateTypeExists(bytes32 updateTypeKey) internal view returns (bool) {\\n        uint256 length = allUpdateTypes.length;\\n        for (uint256 i = 0; i < length; ++i) {\\n            if (keccak256(bytes(allUpdateTypes[i])) == updateTypeKey) {\\n                return true;\\n            }\\n        }\\n        return false;\\n    }\\n\\n    /**\\n     * @notice Disables renounceOwnership function\\n     * @custom:error Throws RenounceOwnershipNotAllowed\\n     */\\n    function renounceOwnership() public pure override {\\n        revert RenounceOwnershipNotAllowed();\\n    }\\n}\\n\",\"keccak256\":\"0x4ee55c0f7097b550d753bac93b15db8c125ad22fab0e5e48fa37767c0e91c685\",\"license\":\"MIT\"}},\"version\":1}",
  "bytecode": "0x6080604052348015600f57600080fd5b506016601a565b60d8565b600054610100900460ff161560855760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff908116101560d6576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6134c6806100e76000396000f3fe608060405234801561001057600080fd5b50600436106101ae5760003560e01c8063986576fa116100ee578063c6b8ab4211610097578063ec1930b011610071578063ec1930b01461044b578063f2fde38b1461045e578063f660fe6914610471578063fa7229ee1461048457600080fd5b8063c6b8ab42146103fa578063cbd579671461041a578063e30c39781461042d57600080fd5b8063c030ce7b116100c8578063c030ce7b146103bf578063c4d66de8146103d4578063c4e1a280146103e757600080fd5b8063986576fa1461034b578063b39b55be14610376578063b4a0bdf3146103a157600080fd5b8063592d37331161015b57806377abc9bd1161013557806377abc9bd146102de57806379ba5097146102f157806387d7f21f146102f95780638da5cb5b1461030c57600080fd5b8063592d3733146102ab5780636f324967146102b3578063715018a6146102d657600080fd5b806334496b5a1161018c57806334496b5a1461021757806337759b9a1461026057806343b62b261461028057600080fd5b80630e32cb86146101b3578063157b1225146101c85780631687fe8e14610200575b600080fd5b6101c66101c13660046126fc565b610497565b005b6101eb6101d636600461271e565b60cb6020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b61020960c95481565b6040519081526020016101f7565b610209610225366004612843565b8151602092830120600090815260ce8352604080822073ffffffffffffffffffffffffffffffffffffffff9390931682529190925290205490565b61027361026e36600461271e565b6104ab565b6040516101f791906128ff565b61020961028e366004612a68565b60ce60209081526000928352604080842090915290825290205481565b60ca54610209565b6101eb6102c13660046126fc565b60cd6020526000908152604090205460ff1681565b6101c6610933565b6101c66102ec366004612a8b565b610965565b6101c6610ac7565b6101c6610307366004612af8565b610b7e565b60335473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101f7565b6101eb610359366004612a8b565b8051602091820120600090815260cb909152604090205460ff1690565b61038961038436600461271e565b610bdf565b6040516101f79c9b9a99989796959493929190612bd7565b60975473ffffffffffffffffffffffffffffffffffffffff16610326565b6103c7610f3d565b6040516101f79190612cc1565b6101c66103e23660046126fc565b611016565b6101c66103f5366004612f29565b61118d565b61040d61040836600461271e565b611335565b6040516101f79190613035565b6101c66104283660046126fc565b6113e1565b60655473ffffffffffffffffffffffffffffffffffffffff16610326565b6101c6610459366004613056565b6114d4565b6101c661046c3660046126fc565b611618565b61027361047f366004612843565b6116c8565b6101c66104923660046126fc565b611b82565b61049f611c82565b6104a881611d05565b50565b6105526040518061018001604052806060815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016060815260200160008019168152602001606081526020016060815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff168152602001600063ffffffff168152602001606081525090565b811580610560575060c95482115b15610597576040517fac6c0d0100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260cc602052604090819020815161018081019092528054829082906105c0906130a8565b80601f01602080910402602001604051908101604052809291908181526020018280546105ec906130a8565b80156106395780601f1061060e57610100808354040283529160200191610639565b820191906000526020600020905b81548152906001019060200180831161061c57829003601f168201915b505050918352505060018201546020820152600282015473ffffffffffffffffffffffffffffffffffffffff166040820152600382018054606090920191610680906130a8565b80601f01602080910402602001604051908101604052809291908181526020018280546106ac906130a8565b80156106f95780601f106106ce576101008083540402835291602001916106f9565b820191906000526020600020905b8154815290600101906020018083116106dc57829003601f168201915b505050505081526020016004820154815260200160058201805461071c906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610748906130a8565b80156107955780601f1061076a57610100808354040283529160200191610795565b820191906000526020600020905b81548152906001019060200180831161077857829003601f168201915b505050505081526020016006820180546107ae906130a8565b80601f01602080910402602001604051908101604052809291908181526020018280546107da906130a8565b80156108275780601f106107fc57610100808354040283529160200191610827565b820191906000526020600020905b81548152906001019060200180831161080a57829003601f168201915b505050918352505060078201546020820152600882015473ffffffffffffffffffffffffffffffffffffffff811660408301527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff166060820152600982015463ffffffff166080820152600a8201805460a0909201916108aa906130a8565b80601f01602080910402602001604051908101604052809291908181526020018280546108d6906130a8565b80156109235780601f106108f857610100808354040283529160200191610923565b820191906000526020600020905b81548152906001019060200180831161090657829003601f168201915b5050505050815250509050919050565b6040517f96c553eb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109a36040518060400160405280601581526020017f6164645570646174655479706528737472696e67290000000000000000000000815250611e27565b805115806109b2575060408151115b156109e9576040517f920af76c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805160208201206109f981611f00565b15610a30576040517f40df35ca00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081815260cb60205260408120805460ff1916600190811790915560ca805491820181559091527f42d72674974f694b5f5159593243114d38a5c39c89d6b62fee061ff523240ee101610a84838261314c565b5081604051610a939190613266565b604051908190038120907f07d686af6e6b7a2e3d03f5c81f05bba6a5b3686aca218f92f96b84c7d59aabaf90600090a25050565b606554339073ffffffffffffffffffffffffffffffffffffffff168114610b75576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e6572000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104a881611f64565b33600090815260cd602052604090205460ff16610bc7576040517f79d1e58f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bd687878787878787611f95565b50505050505050565b60cc60205260009081526040902080548190610bfa906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610c26906130a8565b8015610c735780601f10610c4857610100808354040283529160200191610c73565b820191906000526020600020905b815481529060010190602001808311610c5657829003601f168201915b50505050600183015460028401546003850180549495929473ffffffffffffffffffffffffffffffffffffffff909216935090610caf906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610cdb906130a8565b8015610d285780601f10610cfd57610100808354040283529160200191610d28565b820191906000526020600020905b815481529060010190602001808311610d0b57829003601f168201915b505050505090806004015490806005018054610d43906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6f906130a8565b8015610dbc5780601f10610d9157610100808354040283529160200191610dbc565b820191906000526020600020905b815481529060010190602001808311610d9f57829003601f168201915b505050505090806006018054610dd1906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610dfd906130a8565b8015610e4a5780601f10610e1f57610100808354040283529160200191610e4a565b820191906000526020600020905b815481529060010190602001808311610e2d57829003601f168201915b50505050600783015460088401546009850154600a860180549596939573ffffffffffffffffffffffffffffffffffffffff84169550740100000000000000000000000000000000000000009093046bffffffffffffffffffffffff169363ffffffff90921692610eba906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610ee6906130a8565b8015610f335780601f10610f0857610100808354040283529160200191610f33565b820191906000526020600020905b815481529060010190602001808311610f1657829003601f168201915b505050505090508c565b606060ca805480602002602001604051908101604052809291908181526020016000905b8282101561100d578382906000526020600020018054610f80906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610fac906130a8565b8015610ff95780601f10610fce57610100808354040283529160200191610ff9565b820191906000526020600020905b815481529060010190602001808311610fdc57829003601f168201915b505050505081526020019060010190610f61565b50505050905090565b600054610100900460ff16158080156110365750600054600160ff909116105b806110505750303b158015611050575060005460ff166001145b6110dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610b6c565b6000805460ff19166001179055801561111c57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b61112582612391565b801561118957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498906020015b60405180910390a15b5050565b33600090815260cd602052604090205460ff166111d6576040517f79d1e58f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b86518015806111e6575086518114155b806111f2575085518114155b806111fe575084518114155b8061120a575083518114155b80611216575082518114155b80611222575081518114155b15611259576040517fa24a13a600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8181101561132a5761132289828151811061127957611279613282565b602002602001015189838151811061129357611293613282565b60200260200101518984815181106112ad576112ad613282565b60200260200101518985815181106112c7576112c7613282565b60200260200101518986815181106112e1576112e1613282565b60200260200101518987815181106112fb576112fb613282565b602002602001015189888151811061131557611315613282565b6020026020010151611f95565b60010161125c565b505050505050505050565b60ca818154811061134557600080fd5b906000526020600020016000915090508054611360906130a8565b80601f016020809104026020016040519081016040528092919081815260200182805461138c906130a8565b80156113d95780601f106113ae576101008083540402835291602001916113d9565b820191906000526020600020905b8154815290600101906020018083116113bc57829003601f168201915b505050505081565b61141f6040518060400160405280601f81526020017f72656d6f7665417574686f72697a656453656e64657228616464726573732900815250611e27565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260cd602052604090205460ff1661147e576040517f79d1e58f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8116600081815260cd6020526040808220805460ff19169055517f98f9958a855d78eae670154a7d047d26968849962c3204c2b12c2228634f4ff89190a250565b6115126040518060400160405280602081526020017f7365745570646174655479706541637469766528737472696e672c626f6f6c29815250611e27565b8151602083012061152281611f00565b611558576040517f6ebb186d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081815260cb602052604090205460ff16821515811515036115a7576040517f6ebba15200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260cb602052604090819020805460ff1916851515179055516115cf908590613266565b6040805191829003822083151583528515156020840152917f33843b38d9deffbe0817aebcd9e744876dbf296fb42cabaca9b24160ab70811e910160405180910390a250505050565b611620611c82565b6065805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915561168360335473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b61176f6040518061018001604052806060815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016060815260200160008019168152602001606081526020016060815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff168152602001600063ffffffff168152602001606081525090565b8251602080850191909120600081815260ce8352604080822073ffffffffffffffffffffffffffffffffffffffff871683529093529182205490918190036117e3576040517f1ca36fe200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081815260cc6020526040908190208151610180810190925280548290829061180c906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054611838906130a8565b80156118855780601f1061185a57610100808354040283529160200191611885565b820191906000526020600020905b81548152906001019060200180831161186857829003601f168201915b505050918352505060018201546020820152600282015473ffffffffffffffffffffffffffffffffffffffff1660408201526003820180546060909201916118cc906130a8565b80601f01602080910402602001604051908101604052809291908181526020018280546118f8906130a8565b80156119455780601f1061191a57610100808354040283529160200191611945565b820191906000526020600020905b81548152906001019060200180831161192857829003601f168201915b5050505050815260200160048201548152602001600582018054611968906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054611994906130a8565b80156119e15780601f106119b6576101008083540402835291602001916119e1565b820191906000526020600020905b8154815290600101906020018083116119c457829003601f168201915b505050505081526020016006820180546119fa906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054611a26906130a8565b8015611a735780601f10611a4857610100808354040283529160200191611a73565b820191906000526020600020905b815481529060010190602001808311611a5657829003601f168201915b505050918352505060078201546020820152600882015473ffffffffffffffffffffffffffffffffffffffff811660408301527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff166060820152600982015463ffffffff166080820152600a8201805460a090920191611af6906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054611b22906130a8565b8015611b6f5780601f10611b4457610100808354040283529160200191611b6f565b820191906000526020600020905b815481529060010190602001808311611b5257829003601f168201915b5050505050815250509250505092915050565b611bc06040518060400160405280601c81526020017f616464417574686f72697a656453656e64657228616464726573732900000000815250611e27565b611bc981612439565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260cd602052604090205460ff1615611c29576040517f16fc747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8116600081815260cd6020526040808220805460ff19166001179055517fd06d2241a59677d082959f22e5a5212c57a9e890949a9d0f2426efd49f8c5d7f9190a250565b60335473ffffffffffffffffffffffffffffffffffffffff163314611d03576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b6c565b565b73ffffffffffffffffffffffffffffffffffffffff8116611da8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f696e76616c696420616365737320636f6e74726f6c206d616e6167657220616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610b6c565b6097805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117909355604080519190921680825260208201939093527f66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa09101611180565b6097546040517f18c5e8ab00000000000000000000000000000000000000000000000000000000815260009173ffffffffffffffffffffffffffffffffffffffff16906318c5e8ab90611e8090339086906004016132b1565b602060405180830381865afa158015611e9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ec191906132e0565b905080611189573330836040517f4a3fa293000000000000000000000000000000000000000000000000000000008152600401610b6c939291906132fd565b60ca54600090815b81811015611f5a578360ca8281548110611f2457611f24613282565b90600052602060002001604051611f3b919061333f565b604051809103902003611f52575060019392505050565b600101611f08565b5060009392505050565b606580547fffffffffffffffffffffffff00000000000000000000000000000000000000001690556104a881612486565b611f9e84612439565b8451602080870191909120600081815260cb90925260409091205460ff16611ff2576040517f686d1d3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060c960008154612003906133b5565b9182905550600083815260ce6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8b16845282528083205480845260cc909252822060050180549394509092612055906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054612081906130a8565b80156120ce5780601f106120a3576101008083540402835291602001916120ce565b820191906000526020600020905b8154815290600101906020018083116120b157829003601f168201915b5050505050905060006040518061018001604052808d81526020018581526020018a73ffffffffffffffffffffffffffffffffffffffff1681526020018b81526020018681526020018c81526020018381526020014281526020013373ffffffffffffffffffffffffffffffffffffffff168152602001896bffffffffffffffffffffffff1681526020018863ffffffff1681526020018781525090508060cc60008681526020019081526020016000206000820151816000019081612194919061314c565b506020820151600182015560408201516002820180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909216919091179055606082015160038201906121fe908261314c565b506080820151600482015560a0820151600582019061221d908261314c565b5060c08201516006820190612232908261314c565b5060e082015160078201556101008201516101208301516bffffffffffffffffffffffff16740100000000000000000000000000000000000000000273ffffffffffffffffffffffffffffffffffffffff90911617600882015561014082015160098201805463ffffffff9092167fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000909216919091179055610160820151600a8201906122df908261314c565b505050600085815260ce6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8d1684529091529081902085905551612322908b90613266565b60405180910390208973ffffffffffffffffffffffffffffffffffffffff16857ffc790d5ce2687ea5b75f51b2fff6d34792504386d9c73160bb6bdc6ea25f5b698f8f8742338e60405161237b96959493929190613414565b60405180910390a4505050505050505050505050565b600054610100900460ff16612428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610b6c565b6124306124fd565b6104a88161259c565b73ffffffffffffffffffffffffffffffffffffffff81166104a8576040517f8579befe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16612594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610b6c565b611d03612633565b600054610100900460ff1661049f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610b6c565b600054610100900460ff166126ca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610b6c565b611d0333611f64565b803573ffffffffffffffffffffffffffffffffffffffff811681146126f757600080fd5b919050565b60006020828403121561270e57600080fd5b612717826126d3565b9392505050565b60006020828403121561273057600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156127ad576127ad612737565b604052919050565b600082601f8301126127c657600080fd5b813567ffffffffffffffff8111156127e0576127e0612737565b61281160207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601612766565b81815284602083860101111561282657600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561285657600080fd5b823567ffffffffffffffff81111561286d57600080fd5b612879858286016127b5565b925050612888602084016126d3565b90509250929050565b60005b838110156128ac578181015183820152602001612894565b50506000910152565b600081518084526128cd816020860160208601612891565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000825161018080602085015261291e6101a08501836128b5565b9150602085015160408501526040850151612951606086018273ffffffffffffffffffffffffffffffffffffffff169052565b5060608501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08086850301608087015261298c84836128b5565b9350608087015160a087015260a08701519150808685030160c08701526129b384836128b5565b935060c08701519150808685030160e08701526129d084836128b5565b60e0880151610100888101919091528801519094509150610120612a0b8188018473ffffffffffffffffffffffffffffffffffffffff169052565b8701519150610140612a2c878201846bffffffffffffffffffffffff169052565b8701519150610160612a458782018463ffffffff169052565b870151868503909101838701529050612a5e83826128b5565b9695505050505050565b60008060408385031215612a7b57600080fd5b82359150612888602084016126d3565b600060208284031215612a9d57600080fd5b813567ffffffffffffffff811115612ab457600080fd5b612ac0848285016127b5565b949350505050565b80356bffffffffffffffffffffffff811681146126f757600080fd5b803563ffffffff811681146126f757600080fd5b600080600080600080600060e0888a031215612b1357600080fd5b873567ffffffffffffffff80821115612b2b57600080fd5b612b378b838c016127b5565b985060208a0135915080821115612b4d57600080fd5b612b598b838c016127b5565b975060408a0135915080821115612b6f57600080fd5b612b7b8b838c016127b5565b9650612b8960608b016126d3565b9550612b9760808b01612ac8565b9450612ba560a08b01612ae4565b935060c08a0135915080821115612bbb57600080fd5b50612bc88a828b016127b5565b91505092959891949750929550565b61018081526000612bec61018083018f6128b5565b8d602084015273ffffffffffffffffffffffffffffffffffffffff8d1660408401528281036060840152612c20818d6128b5565b90508a608084015282810360a0840152612c3a818b6128b5565b905082810360c0840152612c4e818a6128b5565b90508760e0840152612c7961010084018873ffffffffffffffffffffffffffffffffffffffff169052565b6bffffffffffffffffffffffff861661012084015263ffffffff8516610140840152828103610160840152612cae81856128b5565b9f9e505050505050505050505050505050565b600060208083016020845280855180835260408601915060408160051b87010192506020870160005b82811015612d36577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0888603018452612d248583516128b5565b94509285019290850190600101612cea565b5092979650505050505050565b600067ffffffffffffffff821115612d5d57612d5d612737565b5060051b60200190565b600082601f830112612d7857600080fd5b81356020612d8d612d8883612d43565b612766565b82815260059290921b84018101918181019086841115612dac57600080fd5b8286015b84811015612dec57803567ffffffffffffffff811115612dd05760008081fd5b612dde8986838b01016127b5565b845250918301918301612db0565b509695505050505050565b600082601f830112612e0857600080fd5b81356020612e18612d8883612d43565b8083825260208201915060208460051b870101935086841115612e3a57600080fd5b602086015b84811015612dec57612e50816126d3565b8352918301918301612e3f565b600082601f830112612e6e57600080fd5b81356020612e7e612d8883612d43565b8083825260208201915060208460051b870101935086841115612ea057600080fd5b602086015b84811015612dec57612eb681612ac8565b8352918301918301612ea5565b600082601f830112612ed457600080fd5b81356020612ee4612d8883612d43565b8083825260208201915060208460051b870101935086841115612f0657600080fd5b602086015b84811015612dec57612f1c81612ae4565b8352918301918301612f0b565b600080600080600080600060e0888a031215612f4457600080fd5b873567ffffffffffffffff80821115612f5c57600080fd5b612f688b838c01612d67565b985060208a0135915080821115612f7e57600080fd5b612f8a8b838c01612d67565b975060408a0135915080821115612fa057600080fd5b612fac8b838c01612d67565b965060608a0135915080821115612fc257600080fd5b612fce8b838c01612df7565b955060808a0135915080821115612fe457600080fd5b612ff08b838c01612e5d565b945060a08a013591508082111561300657600080fd5b6130128b838c01612ec3565b935060c08a013591508082111561302857600080fd5b50612bc88a828b01612d67565b60208152600061271760208301846128b5565b80151581146104a857600080fd5b6000806040838503121561306957600080fd5b823567ffffffffffffffff81111561308057600080fd5b61308c858286016127b5565b925050602083013561309d81613048565b809150509250929050565b600181811c908216806130bc57607f821691505b6020821081036130f5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f821115613147576000816000526020600020601f850160051c810160208610156131245750805b601f850160051c820191505b8181101561314357828155600101613130565b5050505b505050565b815167ffffffffffffffff81111561316657613166612737565b61317a8161317484546130a8565b846130fb565b602080601f8311600181146131cd57600084156131975750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555613143565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b8281101561321a578886015182559484019460019091019084016131fb565b508582101561325657878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b60008251613278818460208701612891565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff83168152604060208201526000612ac060408301846128b5565b6000602082840312156132f257600080fd5b815161271781613048565b600073ffffffffffffffffffffffffffffffffffffffff80861683528085166020840152506060604083015261333660608301846128b5565b95945050505050565b600080835461334d816130a8565b60018281168015613365576001811461337a576133a9565b60ff19841687528215158302870194506133a9565b8760005260208060002060005b858110156133a05781548a820152908401908201613387565b50505082870194505b50929695505050505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361340d577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b5060010190565b60c08152600061342760c08301896128b5565b828103602084015261343981896128b5565b9050828103604084015261344d81886128b5565b905085606084015273ffffffffffffffffffffffffffffffffffffffff8516608084015282810360a084015261348381856128b5565b999850505050505050505056fea2646970667358221220df63fbea63e13aebbdf99f00f3f7936122c6eb9a47fbe24645f79b3560d5908964736f6c63430008190033",
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101ae5760003560e01c8063986576fa116100ee578063c6b8ab4211610097578063ec1930b011610071578063ec1930b01461044b578063f2fde38b1461045e578063f660fe6914610471578063fa7229ee1461048457600080fd5b8063c6b8ab42146103fa578063cbd579671461041a578063e30c39781461042d57600080fd5b8063c030ce7b116100c8578063c030ce7b146103bf578063c4d66de8146103d4578063c4e1a280146103e757600080fd5b8063986576fa1461034b578063b39b55be14610376578063b4a0bdf3146103a157600080fd5b8063592d37331161015b57806377abc9bd1161013557806377abc9bd146102de57806379ba5097146102f157806387d7f21f146102f95780638da5cb5b1461030c57600080fd5b8063592d3733146102ab5780636f324967146102b3578063715018a6146102d657600080fd5b806334496b5a1161018c57806334496b5a1461021757806337759b9a1461026057806343b62b261461028057600080fd5b80630e32cb86146101b3578063157b1225146101c85780631687fe8e14610200575b600080fd5b6101c66101c13660046126fc565b610497565b005b6101eb6101d636600461271e565b60cb6020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b61020960c95481565b6040519081526020016101f7565b610209610225366004612843565b8151602092830120600090815260ce8352604080822073ffffffffffffffffffffffffffffffffffffffff9390931682529190925290205490565b61027361026e36600461271e565b6104ab565b6040516101f791906128ff565b61020961028e366004612a68565b60ce60209081526000928352604080842090915290825290205481565b60ca54610209565b6101eb6102c13660046126fc565b60cd6020526000908152604090205460ff1681565b6101c6610933565b6101c66102ec366004612a8b565b610965565b6101c6610ac7565b6101c6610307366004612af8565b610b7e565b60335473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101f7565b6101eb610359366004612a8b565b8051602091820120600090815260cb909152604090205460ff1690565b61038961038436600461271e565b610bdf565b6040516101f79c9b9a99989796959493929190612bd7565b60975473ffffffffffffffffffffffffffffffffffffffff16610326565b6103c7610f3d565b6040516101f79190612cc1565b6101c66103e23660046126fc565b611016565b6101c66103f5366004612f29565b61118d565b61040d61040836600461271e565b611335565b6040516101f79190613035565b6101c66104283660046126fc565b6113e1565b60655473ffffffffffffffffffffffffffffffffffffffff16610326565b6101c6610459366004613056565b6114d4565b6101c661046c3660046126fc565b611618565b61027361047f366004612843565b6116c8565b6101c66104923660046126fc565b611b82565b61049f611c82565b6104a881611d05565b50565b6105526040518061018001604052806060815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016060815260200160008019168152602001606081526020016060815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff168152602001600063ffffffff168152602001606081525090565b811580610560575060c95482115b15610597576040517fac6c0d0100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260cc602052604090819020815161018081019092528054829082906105c0906130a8565b80601f01602080910402602001604051908101604052809291908181526020018280546105ec906130a8565b80156106395780601f1061060e57610100808354040283529160200191610639565b820191906000526020600020905b81548152906001019060200180831161061c57829003601f168201915b505050918352505060018201546020820152600282015473ffffffffffffffffffffffffffffffffffffffff166040820152600382018054606090920191610680906130a8565b80601f01602080910402602001604051908101604052809291908181526020018280546106ac906130a8565b80156106f95780601f106106ce576101008083540402835291602001916106f9565b820191906000526020600020905b8154815290600101906020018083116106dc57829003601f168201915b505050505081526020016004820154815260200160058201805461071c906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610748906130a8565b80156107955780601f1061076a57610100808354040283529160200191610795565b820191906000526020600020905b81548152906001019060200180831161077857829003601f168201915b505050505081526020016006820180546107ae906130a8565b80601f01602080910402602001604051908101604052809291908181526020018280546107da906130a8565b80156108275780601f106107fc57610100808354040283529160200191610827565b820191906000526020600020905b81548152906001019060200180831161080a57829003601f168201915b505050918352505060078201546020820152600882015473ffffffffffffffffffffffffffffffffffffffff811660408301527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff166060820152600982015463ffffffff166080820152600a8201805460a0909201916108aa906130a8565b80601f01602080910402602001604051908101604052809291908181526020018280546108d6906130a8565b80156109235780601f106108f857610100808354040283529160200191610923565b820191906000526020600020905b81548152906001019060200180831161090657829003601f168201915b5050505050815250509050919050565b6040517f96c553eb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109a36040518060400160405280601581526020017f6164645570646174655479706528737472696e67290000000000000000000000815250611e27565b805115806109b2575060408151115b156109e9576040517f920af76c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805160208201206109f981611f00565b15610a30576040517f40df35ca00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081815260cb60205260408120805460ff1916600190811790915560ca805491820181559091527f42d72674974f694b5f5159593243114d38a5c39c89d6b62fee061ff523240ee101610a84838261314c565b5081604051610a939190613266565b604051908190038120907f07d686af6e6b7a2e3d03f5c81f05bba6a5b3686aca218f92f96b84c7d59aabaf90600090a25050565b606554339073ffffffffffffffffffffffffffffffffffffffff168114610b75576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e6572000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104a881611f64565b33600090815260cd602052604090205460ff16610bc7576040517f79d1e58f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bd687878787878787611f95565b50505050505050565b60cc60205260009081526040902080548190610bfa906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610c26906130a8565b8015610c735780601f10610c4857610100808354040283529160200191610c73565b820191906000526020600020905b815481529060010190602001808311610c5657829003601f168201915b50505050600183015460028401546003850180549495929473ffffffffffffffffffffffffffffffffffffffff909216935090610caf906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610cdb906130a8565b8015610d285780601f10610cfd57610100808354040283529160200191610d28565b820191906000526020600020905b815481529060010190602001808311610d0b57829003601f168201915b505050505090806004015490806005018054610d43906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6f906130a8565b8015610dbc5780601f10610d9157610100808354040283529160200191610dbc565b820191906000526020600020905b815481529060010190602001808311610d9f57829003601f168201915b505050505090806006018054610dd1906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610dfd906130a8565b8015610e4a5780601f10610e1f57610100808354040283529160200191610e4a565b820191906000526020600020905b815481529060010190602001808311610e2d57829003601f168201915b50505050600783015460088401546009850154600a860180549596939573ffffffffffffffffffffffffffffffffffffffff84169550740100000000000000000000000000000000000000009093046bffffffffffffffffffffffff169363ffffffff90921692610eba906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610ee6906130a8565b8015610f335780601f10610f0857610100808354040283529160200191610f33565b820191906000526020600020905b815481529060010190602001808311610f1657829003601f168201915b505050505090508c565b606060ca805480602002602001604051908101604052809291908181526020016000905b8282101561100d578382906000526020600020018054610f80906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610fac906130a8565b8015610ff95780601f10610fce57610100808354040283529160200191610ff9565b820191906000526020600020905b815481529060010190602001808311610fdc57829003601f168201915b505050505081526020019060010190610f61565b50505050905090565b600054610100900460ff16158080156110365750600054600160ff909116105b806110505750303b158015611050575060005460ff166001145b6110dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610b6c565b6000805460ff19166001179055801561111c57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b61112582612391565b801561118957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498906020015b60405180910390a15b5050565b33600090815260cd602052604090205460ff166111d6576040517f79d1e58f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b86518015806111e6575086518114155b806111f2575085518114155b806111fe575084518114155b8061120a575083518114155b80611216575082518114155b80611222575081518114155b15611259576040517fa24a13a600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8181101561132a5761132289828151811061127957611279613282565b602002602001015189838151811061129357611293613282565b60200260200101518984815181106112ad576112ad613282565b60200260200101518985815181106112c7576112c7613282565b60200260200101518986815181106112e1576112e1613282565b60200260200101518987815181106112fb576112fb613282565b602002602001015189888151811061131557611315613282565b6020026020010151611f95565b60010161125c565b505050505050505050565b60ca818154811061134557600080fd5b906000526020600020016000915090508054611360906130a8565b80601f016020809104026020016040519081016040528092919081815260200182805461138c906130a8565b80156113d95780601f106113ae576101008083540402835291602001916113d9565b820191906000526020600020905b8154815290600101906020018083116113bc57829003601f168201915b505050505081565b61141f6040518060400160405280601f81526020017f72656d6f7665417574686f72697a656453656e64657228616464726573732900815250611e27565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260cd602052604090205460ff1661147e576040517f79d1e58f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8116600081815260cd6020526040808220805460ff19169055517f98f9958a855d78eae670154a7d047d26968849962c3204c2b12c2228634f4ff89190a250565b6115126040518060400160405280602081526020017f7365745570646174655479706541637469766528737472696e672c626f6f6c29815250611e27565b8151602083012061152281611f00565b611558576040517f6ebb186d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081815260cb602052604090205460ff16821515811515036115a7576040517f6ebba15200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260cb602052604090819020805460ff1916851515179055516115cf908590613266565b6040805191829003822083151583528515156020840152917f33843b38d9deffbe0817aebcd9e744876dbf296fb42cabaca9b24160ab70811e910160405180910390a250505050565b611620611c82565b6065805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915561168360335473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b61176f6040518061018001604052806060815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016060815260200160008019168152602001606081526020016060815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff168152602001600063ffffffff168152602001606081525090565b8251602080850191909120600081815260ce8352604080822073ffffffffffffffffffffffffffffffffffffffff871683529093529182205490918190036117e3576040517f1ca36fe200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081815260cc6020526040908190208151610180810190925280548290829061180c906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054611838906130a8565b80156118855780601f1061185a57610100808354040283529160200191611885565b820191906000526020600020905b81548152906001019060200180831161186857829003601f168201915b505050918352505060018201546020820152600282015473ffffffffffffffffffffffffffffffffffffffff1660408201526003820180546060909201916118cc906130a8565b80601f01602080910402602001604051908101604052809291908181526020018280546118f8906130a8565b80156119455780601f1061191a57610100808354040283529160200191611945565b820191906000526020600020905b81548152906001019060200180831161192857829003601f168201915b5050505050815260200160048201548152602001600582018054611968906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054611994906130a8565b80156119e15780601f106119b6576101008083540402835291602001916119e1565b820191906000526020600020905b8154815290600101906020018083116119c457829003601f168201915b505050505081526020016006820180546119fa906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054611a26906130a8565b8015611a735780601f10611a4857610100808354040283529160200191611a73565b820191906000526020600020905b815481529060010190602001808311611a5657829003601f168201915b505050918352505060078201546020820152600882015473ffffffffffffffffffffffffffffffffffffffff811660408301527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff166060820152600982015463ffffffff166080820152600a8201805460a090920191611af6906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054611b22906130a8565b8015611b6f5780601f10611b4457610100808354040283529160200191611b6f565b820191906000526020600020905b815481529060010190602001808311611b5257829003601f168201915b5050505050815250509250505092915050565b611bc06040518060400160405280601c81526020017f616464417574686f72697a656453656e64657228616464726573732900000000815250611e27565b611bc981612439565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260cd602052604090205460ff1615611c29576040517f16fc747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8116600081815260cd6020526040808220805460ff19166001179055517fd06d2241a59677d082959f22e5a5212c57a9e890949a9d0f2426efd49f8c5d7f9190a250565b60335473ffffffffffffffffffffffffffffffffffffffff163314611d03576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b6c565b565b73ffffffffffffffffffffffffffffffffffffffff8116611da8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f696e76616c696420616365737320636f6e74726f6c206d616e6167657220616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610b6c565b6097805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117909355604080519190921680825260208201939093527f66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa09101611180565b6097546040517f18c5e8ab00000000000000000000000000000000000000000000000000000000815260009173ffffffffffffffffffffffffffffffffffffffff16906318c5e8ab90611e8090339086906004016132b1565b602060405180830381865afa158015611e9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ec191906132e0565b905080611189573330836040517f4a3fa293000000000000000000000000000000000000000000000000000000008152600401610b6c939291906132fd565b60ca54600090815b81811015611f5a578360ca8281548110611f2457611f24613282565b90600052602060002001604051611f3b919061333f565b604051809103902003611f52575060019392505050565b600101611f08565b5060009392505050565b606580547fffffffffffffffffffffffff00000000000000000000000000000000000000001690556104a881612486565b611f9e84612439565b8451602080870191909120600081815260cb90925260409091205460ff16611ff2576040517f686d1d3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060c960008154612003906133b5565b9182905550600083815260ce6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8b16845282528083205480845260cc909252822060050180549394509092612055906130a8565b80601f0160208091040260200160405190810160405280929190818152602001828054612081906130a8565b80156120ce5780601f106120a3576101008083540402835291602001916120ce565b820191906000526020600020905b8154815290600101906020018083116120b157829003601f168201915b5050505050905060006040518061018001604052808d81526020018581526020018a73ffffffffffffffffffffffffffffffffffffffff1681526020018b81526020018681526020018c81526020018381526020014281526020013373ffffffffffffffffffffffffffffffffffffffff168152602001896bffffffffffffffffffffffff1681526020018863ffffffff1681526020018781525090508060cc60008681526020019081526020016000206000820151816000019081612194919061314c565b506020820151600182015560408201516002820180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909216919091179055606082015160038201906121fe908261314c565b506080820151600482015560a0820151600582019061221d908261314c565b5060c08201516006820190612232908261314c565b5060e082015160078201556101008201516101208301516bffffffffffffffffffffffff16740100000000000000000000000000000000000000000273ffffffffffffffffffffffffffffffffffffffff90911617600882015561014082015160098201805463ffffffff9092167fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000909216919091179055610160820151600a8201906122df908261314c565b505050600085815260ce6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8d1684529091529081902085905551612322908b90613266565b60405180910390208973ffffffffffffffffffffffffffffffffffffffff16857ffc790d5ce2687ea5b75f51b2fff6d34792504386d9c73160bb6bdc6ea25f5b698f8f8742338e60405161237b96959493929190613414565b60405180910390a4505050505050505050505050565b600054610100900460ff16612428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610b6c565b6124306124fd565b6104a88161259c565b73ffffffffffffffffffffffffffffffffffffffff81166104a8576040517f8579befe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16612594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610b6c565b611d03612633565b600054610100900460ff1661049f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610b6c565b600054610100900460ff166126ca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610b6c565b611d0333611f64565b803573ffffffffffffffffffffffffffffffffffffffff811681146126f757600080fd5b919050565b60006020828403121561270e57600080fd5b612717826126d3565b9392505050565b60006020828403121561273057600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156127ad576127ad612737565b604052919050565b600082601f8301126127c657600080fd5b813567ffffffffffffffff8111156127e0576127e0612737565b61281160207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601612766565b81815284602083860101111561282657600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561285657600080fd5b823567ffffffffffffffff81111561286d57600080fd5b612879858286016127b5565b925050612888602084016126d3565b90509250929050565b60005b838110156128ac578181015183820152602001612894565b50506000910152565b600081518084526128cd816020860160208601612891565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000825161018080602085015261291e6101a08501836128b5565b9150602085015160408501526040850151612951606086018273ffffffffffffffffffffffffffffffffffffffff169052565b5060608501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08086850301608087015261298c84836128b5565b9350608087015160a087015260a08701519150808685030160c08701526129b384836128b5565b935060c08701519150808685030160e08701526129d084836128b5565b60e0880151610100888101919091528801519094509150610120612a0b8188018473ffffffffffffffffffffffffffffffffffffffff169052565b8701519150610140612a2c878201846bffffffffffffffffffffffff169052565b8701519150610160612a458782018463ffffffff169052565b870151868503909101838701529050612a5e83826128b5565b9695505050505050565b60008060408385031215612a7b57600080fd5b82359150612888602084016126d3565b600060208284031215612a9d57600080fd5b813567ffffffffffffffff811115612ab457600080fd5b612ac0848285016127b5565b949350505050565b80356bffffffffffffffffffffffff811681146126f757600080fd5b803563ffffffff811681146126f757600080fd5b600080600080600080600060e0888a031215612b1357600080fd5b873567ffffffffffffffff80821115612b2b57600080fd5b612b378b838c016127b5565b985060208a0135915080821115612b4d57600080fd5b612b598b838c016127b5565b975060408a0135915080821115612b6f57600080fd5b612b7b8b838c016127b5565b9650612b8960608b016126d3565b9550612b9760808b01612ac8565b9450612ba560a08b01612ae4565b935060c08a0135915080821115612bbb57600080fd5b50612bc88a828b016127b5565b91505092959891949750929550565b61018081526000612bec61018083018f6128b5565b8d602084015273ffffffffffffffffffffffffffffffffffffffff8d1660408401528281036060840152612c20818d6128b5565b90508a608084015282810360a0840152612c3a818b6128b5565b905082810360c0840152612c4e818a6128b5565b90508760e0840152612c7961010084018873ffffffffffffffffffffffffffffffffffffffff169052565b6bffffffffffffffffffffffff861661012084015263ffffffff8516610140840152828103610160840152612cae81856128b5565b9f9e505050505050505050505050505050565b600060208083016020845280855180835260408601915060408160051b87010192506020870160005b82811015612d36577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0888603018452612d248583516128b5565b94509285019290850190600101612cea565b5092979650505050505050565b600067ffffffffffffffff821115612d5d57612d5d612737565b5060051b60200190565b600082601f830112612d7857600080fd5b81356020612d8d612d8883612d43565b612766565b82815260059290921b84018101918181019086841115612dac57600080fd5b8286015b84811015612dec57803567ffffffffffffffff811115612dd05760008081fd5b612dde8986838b01016127b5565b845250918301918301612db0565b509695505050505050565b600082601f830112612e0857600080fd5b81356020612e18612d8883612d43565b8083825260208201915060208460051b870101935086841115612e3a57600080fd5b602086015b84811015612dec57612e50816126d3565b8352918301918301612e3f565b600082601f830112612e6e57600080fd5b81356020612e7e612d8883612d43565b8083825260208201915060208460051b870101935086841115612ea057600080fd5b602086015b84811015612dec57612eb681612ac8565b8352918301918301612ea5565b600082601f830112612ed457600080fd5b81356020612ee4612d8883612d43565b8083825260208201915060208460051b870101935086841115612f0657600080fd5b602086015b84811015612dec57612f1c81612ae4565b8352918301918301612f0b565b600080600080600080600060e0888a031215612f4457600080fd5b873567ffffffffffffffff80821115612f5c57600080fd5b612f688b838c01612d67565b985060208a0135915080821115612f7e57600080fd5b612f8a8b838c01612d67565b975060408a0135915080821115612fa057600080fd5b612fac8b838c01612d67565b965060608a0135915080821115612fc257600080fd5b612fce8b838c01612df7565b955060808a0135915080821115612fe457600080fd5b612ff08b838c01612e5d565b945060a08a013591508082111561300657600080fd5b6130128b838c01612ec3565b935060c08a013591508082111561302857600080fd5b50612bc88a828b01612d67565b60208152600061271760208301846128b5565b80151581146104a857600080fd5b6000806040838503121561306957600080fd5b823567ffffffffffffffff81111561308057600080fd5b61308c858286016127b5565b925050602083013561309d81613048565b809150509250929050565b600181811c908216806130bc57607f821691505b6020821081036130f5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f821115613147576000816000526020600020601f850160051c810160208610156131245750805b601f850160051c820191505b8181101561314357828155600101613130565b5050505b505050565b815167ffffffffffffffff81111561316657613166612737565b61317a8161317484546130a8565b846130fb565b602080601f8311600181146131cd57600084156131975750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555613143565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b8281101561321a578886015182559484019460019091019084016131fb565b508582101561325657878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b60008251613278818460208701612891565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff83168152604060208201526000612ac060408301846128b5565b6000602082840312156132f257600080fd5b815161271781613048565b600073ffffffffffffffffffffffffffffffffffffffff80861683528085166020840152506060604083015261333660608301846128b5565b95945050505050565b600080835461334d816130a8565b60018281168015613365576001811461337a576133a9565b60ff19841687528215158302870194506133a9565b8760005260208060002060005b858110156133a05781548a820152908401908201613387565b50505082870194505b50929695505050505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361340d577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b5060010190565b60c08152600061342760c08301896128b5565b828103602084015261343981896128b5565b9050828103604084015261344d81886128b5565b905085606084015273ffffffffffffffffffffffffffffffffffffffff8516608084015282810360a084015261348381856128b5565b999850505050505050505056fea2646970667358221220df63fbea63e13aebbdf99f00f3f7936122c6eb9a47fbe24645f79b3560d5908964736f6c63430008190033",
  "devdoc": {
    "author": "Venus",
    "events": {
      "Initialized(uint8)": {
        "details": "Triggered when the contract has been initialized or reinitialized."
      }
    },
    "kind": "dev",
    "methods": {
      "acceptOwnership()": {
        "details": "The new owner accepts the ownership transfer."
      },
      "addAuthorizedSender(address)": {
        "custom:access": "Controlled by AccessControlManager",
        "custom:error": "Throws ZeroAddressNotAllowed if sender is zero addressThrows SenderAlreadyAuthorized if sender is already authorizedThrows Unauthorized if caller is not allowed by AccessControlManager",
        "custom:event": "Emits AuthorizedSenderAdded when sender is successfully added",
        "params": {
          "sender": "Address to be authorized"
        }
      },
      "addUpdateType(string)": {
        "custom:access": "Controlled by AccessControlManager",
        "custom:error": "Throws InvalidUpdateTypeString if update type string is empty or exceeds 64 charactersThrows UpdateTypeAlreadyExists if update type already existsThrows Unauthorized if caller is not allowed by AccessControlManager",
        "custom:event": "Emits UpdateTypeAdded when update type is successfully added",
        "params": {
          "newUpdateType": "New type of update to allow"
        }
      },
      "allUpdateTypesLength()": {
        "returns": {
          "_0": "The length of the allUpdateTypes array"
        }
      },
      "constructor": {
        "custom:oz-upgrades-unsafe-allow": "constructor"
      },
      "getActiveUpdateTypes(string)": {
        "params": {
          "updateType": "The update type string to check"
        },
        "returns": {
          "_0": "True if the update type is active, false otherwise"
        }
      },
      "getAllUpdateTypes()": {
        "returns": {
          "_0": "An array of all update type strings"
        }
      },
      "getLatestUpdateByTypeAndMarket(string,address)": {
        "custom:error": "Throws NoUpdateFound if no update exists for the specified parameter and market",
        "params": {
          "market": "The market identifier",
          "updateType": "The identifier for the parameter"
        },
        "returns": {
          "_0": "The most recent RiskParameterUpdate for the specified parameter and market"
        }
      },
      "getLatestUpdateIdByTypeAndMarket(string,address)": {
        "params": {
          "market": "The market address",
          "updateType": "The update type string"
        },
        "returns": {
          "_0": "The latest update ID for the given market and update type, or 0 if none exists"
        }
      },
      "getUpdateById(uint256)": {
        "custom:error": "Throws InvalidUpdateId if updateId is 0 or greater than updateCounter",
        "params": {
          "updateId": "Update ID"
        },
        "returns": {
          "_0": "The RiskParameterUpdate for the specified id"
        }
      },
      "initialize(address)": {
        "custom:error": "Reverts with \"invalid acess control manager address\" if accessControlManager_ is zero address",
        "params": {
          "accessControlManager_": "Address of the access control manager"
        }
      },
      "owner()": {
        "details": "Returns the address of the current owner."
      },
      "pendingOwner()": {
        "details": "Returns the address of the pending owner."
      },
      "publishBulkRiskParameterUpdates(string[],bytes[],string[],address[],uint96[],uint32[],bytes[])": {
        "custom:error": "Throws SenderNotAuthorized if caller is not an authorized senderThrows ArrayLengthMismatch if the array lengths do not match or if no updates are providedThrows UpdateTypeNotActive if any update type is not activeThrows ZeroAddressNotAllowed if any market is zero address",
        "custom:event": "Emits UpdatePublished for each successfully published update",
        "params": {
          "additionalData": "Array of additional data for the updates",
          "dstEid": "Array of destination endpoint IDs for cross-chain routing",
          "markets": "Array of addresses for markets of the parameter updates",
          "newValues": "Array of new values for each update",
          "poolIds": "Array of pool identifiers for eMode-style collateral configuration (0 for regular markets)",
          "referenceIds": "Array of external reference IDs",
          "updateTypes": "Array of types for each update, all must be authorized"
        }
      },
      "publishRiskParameterUpdate(string,bytes,string,address,uint96,uint32,bytes)": {
        "custom:error": "Throws SenderNotAuthorized if caller is not an authorized senderThrows UpdateTypeNotActive if update type is not activeThrows ZeroAddressNotAllowed if market is zero address",
        "custom:event": "Emits UpdatePublished when update is successfully published",
        "params": {
          "additionalData": "Additional data for the update",
          "dstEid": "Destination endpoint ID for cross-chain routing",
          "market": "Address for market of the parameter update",
          "newValue": "The new value of the risk parameter being updated",
          "poolId": "Pool identifier for eMode-style collateral configuration (0 for regular markets)",
          "referenceId": "An external reference ID associated with the update",
          "updateType": "Type of update performed, must be previously authorized"
        }
      },
      "removeAuthorizedSender(address)": {
        "custom:access": "Controlled by AccessControlManager",
        "custom:error": "Throws SenderNotAuthorized if sender is not currently authorizedThrows Unauthorized if caller is not allowed by AccessControlManager",
        "custom:event": "Emits AuthorizedSenderRemoved when sender is successfully removed",
        "params": {
          "sender": "Address to be unauthorized"
        }
      },
      "renounceOwnership()": {
        "custom:error": "Throws RenounceOwnershipNotAllowed"
      },
      "setAccessControlManager(address)": {
        "custom:access": "Only Governance",
        "custom:event": "Emits NewAccessControlManager event",
        "details": "Admin function to set address of AccessControlManager",
        "params": {
          "accessControlManager_": "The new address of the AccessControlManager"
        }
      },
      "setUpdateTypeActive(string,bool)": {
        "custom:access": "Controlled by AccessControlManager",
        "custom:error": "Throws UpdateTypeNotFound if update type doesn't existThrows UpdateTypeStatusUnchanged if status is already set to the desired valueThrows Unauthorized if caller is not allowed by AccessControlManager",
        "custom:event": "Emits UpdateTypeActiveStatusChanged when status is successfully changed",
        "params": {
          "active": "True to activate, false to deactivate",
          "updateType": "The update type to set active status for"
        }
      },
      "transferOwnership(address)": {
        "details": "Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner."
      }
    },
    "stateVariables": {
      "__gap": {
        "details": "This empty reserved space is put in place to allow future versions to add new variables without shifting down storage in the inheritance chain. See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps"
      }
    },
    "title": "Risk Oracle",
    "version": 1
  },
  "userdoc": {
    "errors": {
      "ArrayLengthMismatch()": [
        {
          "notice": "Thrown when array lengths don't match in bulk operations"
        }
      ],
      "InvalidUpdateId()": [
        {
          "notice": "Thrown when update ID is invalid"
        }
      ],
      "InvalidUpdateTypeString()": [
        {
          "notice": "Thrown when update type string is invalid"
        }
      ],
      "NoUpdateFound()": [
        {
          "notice": "Thrown when no update is found"
        }
      ],
      "RenounceOwnershipNotAllowed()": [
        {
          "notice": "Thrown when trying to renounce ownership"
        }
      ],
      "SenderAlreadyAuthorized()": [
        {
          "notice": "Thrown when sender is already authorized"
        }
      ],
      "SenderNotAuthorized()": [
        {
          "notice": "Thrown when sender is not authorized"
        }
      ],
      "Unauthorized(address,address,string)": [
        {
          "notice": "Thrown when the action is prohibited by AccessControlManager"
        }
      ],
      "UpdateTypeAlreadyExists()": [
        {
          "notice": "Thrown when update type already exists"
        }
      ],
      "UpdateTypeNotActive()": [
        {
          "notice": "Thrown when update type is not active"
        }
      ],
      "UpdateTypeNotFound()": [
        {
          "notice": "Thrown when update type doesn't exist"
        }
      ],
      "UpdateTypeStatusUnchanged()": [
        {
          "notice": "Thrown when update type active status is already set to the desired value"
        }
      ],
      "ZeroAddressNotAllowed()": [
        {
          "notice": "Thrown if the supplied address is a zero address where it is not allowed"
        }
      ]
    },
    "events": {
      "AuthorizedSenderAdded(address)": {
        "notice": "Event emitted when a new authorized sender is added"
      },
      "AuthorizedSenderRemoved(address)": {
        "notice": "Event emitted when an authorized sender is removed"
      },
      "NewAccessControlManager(address,address)": {
        "notice": "Emitted when access control manager contract address is changed"
      },
      "UpdatePublished(string,uint256,address,string,bytes,bytes,uint256,address,bytes)": {
        "notice": "Event emitted when a risk parameter update is published"
      },
      "UpdateTypeActiveStatusChanged(string,bool,bool)": {
        "notice": "Event emitted when an update type's active status is changed"
      },
      "UpdateTypeAdded(string)": {
        "notice": "Event emitted when a new update type is added"
      }
    },
    "kind": "user",
    "methods": {
      "accessControlManager()": {
        "notice": "Returns the address of the access control manager contract"
      },
      "activeUpdateTypes(bytes32)": {
        "notice": "Whitelist of valid update type identifiers, keyed by updateType hash"
      },
      "addAuthorizedSender(address)": {
        "notice": "Adds a new sender to the list of addresses authorized to perform updates"
      },
      "addUpdateType(string)": {
        "notice": "Adds a new type of update to the list of authorized update types"
      },
      "allUpdateTypes(uint256)": {
        "notice": "Array to store all update types"
      },
      "allUpdateTypesLength()": {
        "notice": "Returns the total number of update types in the allUpdateTypes array"
      },
      "authorizedSenders(address)": {
        "notice": "Authorized accounts capable of proposing updates"
      },
      "constructor": {
        "notice": "Disables initializers"
      },
      "getActiveUpdateTypes(string)": {
        "notice": "Checks if a given update type is currently active."
      },
      "getAllUpdateTypes()": {
        "notice": "Returns all update types in the allUpdateTypes array"
      },
      "getLatestUpdateByTypeAndMarket(string,address)": {
        "notice": "Fetches the most recent update for a specific parameter in a specific market"
      },
      "getLatestUpdateIdByTypeAndMarket(string,address)": {
        "notice": "Gets the latest update ID for a specific market and update type (string) combination"
      },
      "getUpdateById(uint256)": {
        "notice": "Fetches the update for a provided updateId"
      },
      "initialize(address)": {
        "notice": "Initializes the contract with access control manager"
      },
      "latestUpdateIdByMarketAndType(bytes32,address)": {
        "notice": "Mapping to store the latest update ID for each combination of update type key and market"
      },
      "publishBulkRiskParameterUpdates(string[],bytes[],string[],address[],uint96[],uint32[],bytes[])": {
        "notice": "Publishes multiple risk parameter updates in a single transaction"
      },
      "publishRiskParameterUpdate(string,bytes,string,address,uint96,uint32,bytes)": {
        "notice": "Publishes a new risk parameter update"
      },
      "removeAuthorizedSender(address)": {
        "notice": "Removes an address from the list of authorized senders"
      },
      "renounceOwnership()": {
        "notice": "Disables renounceOwnership function"
      },
      "setAccessControlManager(address)": {
        "notice": "Sets the address of AccessControlManager"
      },
      "setUpdateTypeActive(string,bool)": {
        "notice": "Sets the active status of an existing update type"
      },
      "updateCounter()": {
        "notice": "Counter to keep track of the total number of updates"
      },
      "updatesById(uint256)": {
        "notice": "Mapping from unique update ID to the update details"
      }
    },
    "notice": "Contract for managing and publishing risk parameter updates for Risk-Steward Updates",
    "version": 1
  },
  "storageLayout": {
    "storage": [
      {
        "astId": 6086,
        "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
        "label": "_initialized",
        "offset": 0,
        "slot": "0",
        "type": "t_uint8"
      },
      {
        "astId": 6089,
        "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
        "label": "_initializing",
        "offset": 1,
        "slot": "0",
        "type": "t_bool"
      },
      {
        "astId": 6573,
        "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
        "label": "__gap",
        "offset": 0,
        "slot": "1",
        "type": "t_array(t_uint256)50_storage"
      },
      {
        "astId": 5958,
        "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
        "label": "_owner",
        "offset": 0,
        "slot": "51",
        "type": "t_address"
      },
      {
        "astId": 6078,
        "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
        "label": "__gap",
        "offset": 0,
        "slot": "52",
        "type": "t_array(t_uint256)49_storage"
      },
      {
        "astId": 5867,
        "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
        "label": "_pendingOwner",
        "offset": 0,
        "slot": "101",
        "type": "t_address"
      },
      {
        "astId": 5946,
        "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
        "label": "__gap",
        "offset": 0,
        "slot": "102",
        "type": "t_array(t_uint256)49_storage"
      },
      {
        "astId": 13718,
        "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
        "label": "_accessControlManager",
        "offset": 0,
        "slot": "151",
        "type": "t_contract(IAccessControlManagerV8)13903"
      },
      {
        "astId": 13723,
        "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
        "label": "__gap",
        "offset": 0,
        "slot": "152",
        "type": "t_array(t_uint256)49_storage"
      },
      {
        "astId": 17631,
        "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
        "label": "updateCounter",
        "offset": 0,
        "slot": "201",
        "type": "t_uint256"
      },
      {
        "astId": 17635,
        "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
        "label": "allUpdateTypes",
        "offset": 0,
        "slot": "202",
        "type": "t_array(t_string_storage)dyn_storage"
      },
      {
        "astId": 17640,
        "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
        "label": "activeUpdateTypes",
        "offset": 0,
        "slot": "203",
        "type": "t_mapping(t_bytes32,t_bool)"
      },
      {
        "astId": 17646,
        "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
        "label": "updatesById",
        "offset": 0,
        "slot": "204",
        "type": "t_mapping(t_uint256,t_struct(RiskParameterUpdate)16568_storage)"
      },
      {
        "astId": 17651,
        "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
        "label": "authorizedSenders",
        "offset": 0,
        "slot": "205",
        "type": "t_mapping(t_address,t_bool)"
      },
      {
        "astId": 17658,
        "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
        "label": "latestUpdateIdByMarketAndType",
        "offset": 0,
        "slot": "206",
        "type": "t_mapping(t_bytes32,t_mapping(t_address,t_uint256))"
      },
      {
        "astId": 17663,
        "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
        "label": "__gap",
        "offset": 0,
        "slot": "207",
        "type": "t_array(t_uint256)44_storage"
      }
    ],
    "types": {
      "t_address": {
        "encoding": "inplace",
        "label": "address",
        "numberOfBytes": "20"
      },
      "t_array(t_string_storage)dyn_storage": {
        "base": "t_string_storage",
        "encoding": "dynamic_array",
        "label": "string[]",
        "numberOfBytes": "32"
      },
      "t_array(t_uint256)44_storage": {
        "base": "t_uint256",
        "encoding": "inplace",
        "label": "uint256[44]",
        "numberOfBytes": "1408"
      },
      "t_array(t_uint256)49_storage": {
        "base": "t_uint256",
        "encoding": "inplace",
        "label": "uint256[49]",
        "numberOfBytes": "1568"
      },
      "t_array(t_uint256)50_storage": {
        "base": "t_uint256",
        "encoding": "inplace",
        "label": "uint256[50]",
        "numberOfBytes": "1600"
      },
      "t_bool": {
        "encoding": "inplace",
        "label": "bool",
        "numberOfBytes": "1"
      },
      "t_bytes32": {
        "encoding": "inplace",
        "label": "bytes32",
        "numberOfBytes": "32"
      },
      "t_bytes_storage": {
        "encoding": "bytes",
        "label": "bytes",
        "numberOfBytes": "32"
      },
      "t_contract(IAccessControlManagerV8)13903": {
        "encoding": "inplace",
        "label": "contract IAccessControlManagerV8",
        "numberOfBytes": "20"
      },
      "t_mapping(t_address,t_bool)": {
        "encoding": "mapping",
        "key": "t_address",
        "label": "mapping(address => bool)",
        "numberOfBytes": "32",
        "value": "t_bool"
      },
      "t_mapping(t_address,t_uint256)": {
        "encoding": "mapping",
        "key": "t_address",
        "label": "mapping(address => uint256)",
        "numberOfBytes": "32",
        "value": "t_uint256"
      },
      "t_mapping(t_bytes32,t_bool)": {
        "encoding": "mapping",
        "key": "t_bytes32",
        "label": "mapping(bytes32 => bool)",
        "numberOfBytes": "32",
        "value": "t_bool"
      },
      "t_mapping(t_bytes32,t_mapping(t_address,t_uint256))": {
        "encoding": "mapping",
        "key": "t_bytes32",
        "label": "mapping(bytes32 => mapping(address => uint256))",
        "numberOfBytes": "32",
        "value": "t_mapping(t_address,t_uint256)"
      },
      "t_mapping(t_uint256,t_struct(RiskParameterUpdate)16568_storage)": {
        "encoding": "mapping",
        "key": "t_uint256",
        "label": "mapping(uint256 => struct RiskParameterUpdate)",
        "numberOfBytes": "32",
        "value": "t_struct(RiskParameterUpdate)16568_storage"
      },
      "t_string_storage": {
        "encoding": "bytes",
        "label": "string",
        "numberOfBytes": "32"
      },
      "t_struct(RiskParameterUpdate)16568_storage": {
        "encoding": "inplace",
        "label": "struct RiskParameterUpdate",
        "members": [
          {
            "astId": 16545,
            "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
            "label": "referenceId",
            "offset": 0,
            "slot": "0",
            "type": "t_string_storage"
          },
          {
            "astId": 16547,
            "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
            "label": "updateId",
            "offset": 0,
            "slot": "1",
            "type": "t_uint256"
          },
          {
            "astId": 16549,
            "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
            "label": "market",
            "offset": 0,
            "slot": "2",
            "type": "t_address"
          },
          {
            "astId": 16551,
            "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
            "label": "updateType",
            "offset": 0,
            "slot": "3",
            "type": "t_string_storage"
          },
          {
            "astId": 16553,
            "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
            "label": "updateTypeKey",
            "offset": 0,
            "slot": "4",
            "type": "t_bytes32"
          },
          {
            "astId": 16555,
            "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
            "label": "newValue",
            "offset": 0,
            "slot": "5",
            "type": "t_bytes_storage"
          },
          {
            "astId": 16557,
            "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
            "label": "previousValue",
            "offset": 0,
            "slot": "6",
            "type": "t_bytes_storage"
          },
          {
            "astId": 16559,
            "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
            "label": "timestamp",
            "offset": 0,
            "slot": "7",
            "type": "t_uint256"
          },
          {
            "astId": 16561,
            "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
            "label": "publisher",
            "offset": 0,
            "slot": "8",
            "type": "t_address"
          },
          {
            "astId": 16563,
            "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
            "label": "poolId",
            "offset": 20,
            "slot": "8",
            "type": "t_uint96"
          },
          {
            "astId": 16565,
            "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
            "label": "destLzEid",
            "offset": 0,
            "slot": "9",
            "type": "t_uint32"
          },
          {
            "astId": 16567,
            "contract": "contracts/RiskSteward/RiskOracle.sol:RiskOracle",
            "label": "additionalData",
            "offset": 0,
            "slot": "10",
            "type": "t_bytes_storage"
          }
        ],
        "numberOfBytes": "352"
      },
      "t_uint256": {
        "encoding": "inplace",
        "label": "uint256",
        "numberOfBytes": "32"
      },
      "t_uint32": {
        "encoding": "inplace",
        "label": "uint32",
        "numberOfBytes": "4"
      },
      "t_uint8": {
        "encoding": "inplace",
        "label": "uint8",
        "numberOfBytes": "1"
      },
      "t_uint96": {
        "encoding": "inplace",
        "label": "uint96",
        "numberOfBytes": "12"
      }
    }
  }
}
