[
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "namespace",
        "type": "bytes32"
      },
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "key",
        "type": "bytes32"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "contractAddress",
        "type": "address"
      }
    ],
    "name": "ContractAdded",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "namespace",
        "type": "bytes32"
      },
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "key",
        "type": "bytes32"
      },
      {
        "indexed": false,
        "internalType": "address",
        "name": "previous",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "current",
        "type": "address"
      }
    ],
    "name": "ContractUpgraded",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "components": [
          {
            "internalType": "address",
            "name": "burner",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "uniswapV2RouterLike",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "uniswapV2FactoryLike",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "npm",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "treasury",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "priceOracle",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "coverCreationFee",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "minCoverCreationStake",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "minStakeToAddLiquidity",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "firstReportingStake",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "claimPeriod",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "reportingBurnRate",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "governanceReporterCommission",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "claimPlatformFee",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "claimReporterCommission",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "flashLoanFee",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "flashLoanFeeProtocol",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "resolutionCoolDownPeriod",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "stateUpdateInterval",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "maxLendingRatio",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "lendingPeriod",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "withdrawalWindow",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "policyFloor",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "policyCeiling",
            "type": "uint256"
          }
        ],
        "indexed": false,
        "internalType": "struct IProtocol.InitializeArgs",
        "name": "args",
        "type": "tuple"
      }
    ],
    "name": "Initialized",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "address",
        "name": "member",
        "type": "address"
      }
    ],
    "name": "MemberAdded",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "address",
        "name": "member",
        "type": "address"
      }
    ],
    "name": "MemberRemoved",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "role",
        "type": "bytes32"
      },
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "previousAdminRole",
        "type": "bytes32"
      },
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "newAdminRole",
        "type": "bytes32"
      }
    ],
    "name": "RoleAdminChanged",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "role",
        "type": "bytes32"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "account",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "sender",
        "type": "address"
      }
    ],
    "name": "RoleGranted",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "role",
        "type": "bytes32"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "account",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "sender",
        "type": "address"
      }
    ],
    "name": "RoleRevoked",
    "type": "event"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "namespace",
        "type": "bytes32"
      },
      {
        "internalType": "address",
        "name": "contractAddress",
        "type": "address"
      }
    ],
    "name": "addContract",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "namespace",
        "type": "bytes32"
      },
      {
        "internalType": "bytes32",
        "name": "coverKey",
        "type": "bytes32"
      },
      {
        "internalType": "address",
        "name": "contractAddress",
        "type": "address"
      }
    ],
    "name": "addContractWithKey",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32[]",
        "name": "namespaces",
        "type": "bytes32[]"
      },
      {
        "internalType": "bytes32[]",
        "name": "keys",
        "type": "bytes32[]"
      },
      {
        "internalType": "address[]",
        "name": "contractAddresses",
        "type": "address[]"
      }
    ],
    "name": "addContracts",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "member",
        "type": "address"
      }
    ],
    "name": "addMember",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "getName",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "stateMutability": "pure",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "role",
        "type": "bytes32"
      }
    ],
    "name": "getRoleAdmin",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "role",
        "type": "bytes32"
      },
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "grantRole",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "components": [
          {
            "internalType": "address",
            "name": "account",
            "type": "address"
          },
          {
            "internalType": "bytes32[]",
            "name": "roles",
            "type": "bytes32[]"
          }
        ],
        "internalType": "struct IProtocol.AccountWithRoles[]",
        "name": "detail",
        "type": "tuple[]"
      }
    ],
    "name": "grantRoles",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "role",
        "type": "bytes32"
      },
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "hasRole",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "components": [
          {
            "internalType": "address",
            "name": "burner",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "uniswapV2RouterLike",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "uniswapV2FactoryLike",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "npm",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "treasury",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "priceOracle",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "coverCreationFee",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "minCoverCreationStake",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "minStakeToAddLiquidity",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "firstReportingStake",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "claimPeriod",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "reportingBurnRate",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "governanceReporterCommission",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "claimPlatformFee",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "claimReporterCommission",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "flashLoanFee",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "flashLoanFeeProtocol",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "resolutionCoolDownPeriod",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "stateUpdateInterval",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "maxLendingRatio",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "lendingPeriod",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "withdrawalWindow",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "policyFloor",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "policyCeiling",
            "type": "uint256"
          }
        ],
        "internalType": "struct IProtocol.InitializeArgs",
        "name": "args",
        "type": "tuple"
      }
    ],
    "name": "initialize",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "member",
        "type": "address"
      }
    ],
    "name": "removeMember",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "role",
        "type": "bytes32"
      },
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "renounceRole",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "role",
        "type": "bytes32"
      },
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "revokeRole",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "namespace",
        "type": "bytes32"
      },
      {
        "internalType": "address",
        "name": "previous",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "current",
        "type": "address"
      }
    ],
    "name": "upgradeContract",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "namespace",
        "type": "bytes32"
      },
      {
        "internalType": "bytes32",
        "name": "coverKey",
        "type": "bytes32"
      },
      {
        "internalType": "address",
        "name": "previous",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "current",
        "type": "address"
      }
    ],
    "name": "upgradeContractWithKey",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "version",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "stateMutability": "pure",
    "type": "function"
  }
]