[
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "coverKey",
        "type": "bytes32"
      },
      {
        "indexed": false,
        "internalType": "string",
        "name": "info",
        "type": "string"
      },
      {
        "indexed": false,
        "internalType": "string",
        "name": "tokenName",
        "type": "string"
      },
      {
        "indexed": false,
        "internalType": "string",
        "name": "tokenSymbol",
        "type": "string"
      },
      {
        "indexed": true,
        "internalType": "bool",
        "name": "supportsProducts",
        "type": "bool"
      },
      {
        "indexed": true,
        "internalType": "bool",
        "name": "requiresWhitelist",
        "type": "bool"
      }
    ],
    "name": "CoverCreated",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "previous",
        "type": "uint256"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "current",
        "type": "uint256"
      }
    ],
    "name": "CoverCreationFeeSet",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "address",
        "name": "account",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "bool",
        "name": "status",
        "type": "bool"
      }
    ],
    "name": "CoverCreatorWhitelistUpdated",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "stablecoin",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "bytes32",
        "name": "withName",
        "type": "bytes32"
      }
    ],
    "name": "CoverInitialized",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "coverKey",
        "type": "bytes32"
      },
      {
        "indexed": false,
        "internalType": "string",
        "name": "info",
        "type": "string"
      }
    ],
    "name": "CoverUpdated",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "coverKey",
        "type": "bytes32"
      },
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "productKey",
        "type": "bytes32"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "account",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "bool",
        "name": "status",
        "type": "bool"
      }
    ],
    "name": "CoverUserWhitelistUpdated",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "previous",
        "type": "uint256"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "current",
        "type": "uint256"
      }
    ],
    "name": "MinCoverCreationStakeSet",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "previous",
        "type": "uint256"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "current",
        "type": "uint256"
      }
    ],
    "name": "MinStakeToAddLiquiditySet",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "coverKey",
        "type": "bytes32"
      },
      {
        "indexed": false,
        "internalType": "bytes32",
        "name": "productKey",
        "type": "bytes32"
      },
      {
        "indexed": false,
        "internalType": "string",
        "name": "info",
        "type": "string"
      }
    ],
    "name": "ProductCreated",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "coverKey",
        "type": "bytes32"
      },
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "productKey",
        "type": "bytes32"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "updatedBy",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "bool",
        "name": "status",
        "type": "bool"
      },
      {
        "indexed": false,
        "internalType": "string",
        "name": "reason",
        "type": "string"
      }
    ],
    "name": "ProductStateUpdated",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "coverKey",
        "type": "bytes32"
      },
      {
        "indexed": false,
        "internalType": "bytes32",
        "name": "productKey",
        "type": "bytes32"
      },
      {
        "indexed": false,
        "internalType": "string",
        "name": "info",
        "type": "string"
      }
    ],
    "name": "ProductUpdated",
    "type": "event"
  },
  {
    "inputs": [
      {
        "components": [
          {
            "internalType": "bytes32",
            "name": "coverKey",
            "type": "bytes32"
          },
          {
            "internalType": "string",
            "name": "info",
            "type": "string"
          },
          {
            "internalType": "string",
            "name": "tokenName",
            "type": "string"
          },
          {
            "internalType": "string",
            "name": "tokenSymbol",
            "type": "string"
          },
          {
            "internalType": "bool",
            "name": "supportsProducts",
            "type": "bool"
          },
          {
            "internalType": "bool",
            "name": "requiresWhitelist",
            "type": "bool"
          },
          {
            "internalType": "uint256",
            "name": "stakeWithFee",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "initialReassuranceAmount",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "minStakeToReport",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "reportingPeriod",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "cooldownPeriod",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "claimPeriod",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "floor",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "ceiling",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "reassuranceRate",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "leverageFactor",
            "type": "uint256"
          }
        ],
        "internalType": "struct ICover.AddCoverArgs",
        "name": "args",
        "type": "tuple"
      }
    ],
    "name": "addCover",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "components": [
          {
            "internalType": "bytes32",
            "name": "coverKey",
            "type": "bytes32"
          },
          {
            "internalType": "string",
            "name": "info",
            "type": "string"
          },
          {
            "internalType": "string",
            "name": "tokenName",
            "type": "string"
          },
          {
            "internalType": "string",
            "name": "tokenSymbol",
            "type": "string"
          },
          {
            "internalType": "bool",
            "name": "supportsProducts",
            "type": "bool"
          },
          {
            "internalType": "bool",
            "name": "requiresWhitelist",
            "type": "bool"
          },
          {
            "internalType": "uint256",
            "name": "stakeWithFee",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "initialReassuranceAmount",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "minStakeToReport",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "reportingPeriod",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "cooldownPeriod",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "claimPeriod",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "floor",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "ceiling",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "reassuranceRate",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "leverageFactor",
            "type": "uint256"
          }
        ],
        "internalType": "struct ICover.AddCoverArgs[]",
        "name": "args",
        "type": "tuple[]"
      }
    ],
    "name": "addCovers",
    "outputs": [
      {
        "internalType": "address[]",
        "name": "vaults",
        "type": "address[]"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "components": [
          {
            "internalType": "bytes32",
            "name": "coverKey",
            "type": "bytes32"
          },
          {
            "internalType": "bytes32",
            "name": "productKey",
            "type": "bytes32"
          },
          {
            "internalType": "string",
            "name": "info",
            "type": "string"
          },
          {
            "internalType": "bool",
            "name": "requiresWhitelist",
            "type": "bool"
          },
          {
            "internalType": "uint256",
            "name": "productStatus",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "efficiency",
            "type": "uint256"
          }
        ],
        "internalType": "struct ICover.AddProductArgs",
        "name": "args",
        "type": "tuple"
      }
    ],
    "name": "addProduct",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "components": [
          {
            "internalType": "bytes32",
            "name": "coverKey",
            "type": "bytes32"
          },
          {
            "internalType": "bytes32",
            "name": "productKey",
            "type": "bytes32"
          },
          {
            "internalType": "string",
            "name": "info",
            "type": "string"
          },
          {
            "internalType": "bool",
            "name": "requiresWhitelist",
            "type": "bool"
          },
          {
            "internalType": "uint256",
            "name": "productStatus",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "efficiency",
            "type": "uint256"
          }
        ],
        "internalType": "struct ICover.AddProductArgs[]",
        "name": "args",
        "type": "tuple[]"
      }
    ],
    "name": "addProducts",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "checkIfWhitelistedCoverCreator",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "coverKey",
        "type": "bytes32"
      },
      {
        "internalType": "bytes32",
        "name": "productKey",
        "type": "bytes32"
      },
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "checkIfWhitelistedUser",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "coverKey",
        "type": "bytes32"
      },
      {
        "internalType": "bytes32",
        "name": "productKey",
        "type": "bytes32"
      },
      {
        "internalType": "bool",
        "name": "status",
        "type": "bool"
      },
      {
        "internalType": "string",
        "name": "reason",
        "type": "string"
      }
    ],
    "name": "disablePolicy",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "getName",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "stateMutability": "pure",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "stablecoin",
        "type": "address"
      },
      {
        "internalType": "bytes32",
        "name": "friendlyName",
        "type": "bytes32"
      }
    ],
    "name": "initialize",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "value",
        "type": "uint256"
      }
    ],
    "name": "setCoverCreationFee",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "value",
        "type": "uint256"
      }
    ],
    "name": "setMinCoverCreationStake",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "value",
        "type": "uint256"
      }
    ],
    "name": "setMinStakeToAddLiquidity",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "coverKey",
        "type": "bytes32"
      },
      {
        "internalType": "string",
        "name": "info",
        "type": "string"
      }
    ],
    "name": "updateCover",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address[]",
        "name": "account",
        "type": "address[]"
      },
      {
        "internalType": "bool[]",
        "name": "whitelisted",
        "type": "bool[]"
      }
    ],
    "name": "updateCoverCreatorWhitelist",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "coverKey",
        "type": "bytes32"
      },
      {
        "internalType": "bytes32",
        "name": "productKey",
        "type": "bytes32"
      },
      {
        "internalType": "address[]",
        "name": "accounts",
        "type": "address[]"
      },
      {
        "internalType": "bool[]",
        "name": "statuses",
        "type": "bool[]"
      }
    ],
    "name": "updateCoverUsersWhitelist",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "components": [
          {
            "internalType": "bytes32",
            "name": "coverKey",
            "type": "bytes32"
          },
          {
            "internalType": "bytes32",
            "name": "productKey",
            "type": "bytes32"
          },
          {
            "internalType": "string",
            "name": "info",
            "type": "string"
          },
          {
            "internalType": "uint256",
            "name": "productStatus",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "efficiency",
            "type": "uint256"
          }
        ],
        "internalType": "struct ICover.UpdateProductArgs",
        "name": "args",
        "type": "tuple"
      }
    ],
    "name": "updateProduct",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "version",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "stateMutability": "pure",
    "type": "function"
  }
]