{
  "_format": "hh-sol-artifact-1",
  "contractName": "PolicyPoolMock",
  "sourceName": "contracts/mocks/PolicyPoolMock.sol",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "contract IERC20Metadata",
          "name": "currency_",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "premium",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "payout",
          "type": "uint256"
        }
      ],
      "name": "PremiumExceedsPayout",
      "type": "error"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "premium",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "minPremium",
          "type": "uint256"
        }
      ],
      "name": "PremiumLessThanMinimum",
      "type": "error"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "id",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "payout",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "jrScr",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "srScr",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "lossProb",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "purePremium",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "ensuroCommission",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "partnerCommission",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "jrCoc",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "srCoc",
              "type": "uint256"
            },
            {
              "internalType": "uint40",
              "name": "start",
              "type": "uint40"
            },
            {
              "internalType": "uint40",
              "name": "expiration",
              "type": "uint40"
            }
          ],
          "internalType": "struct Policy.PolicyData",
          "name": "policy",
          "type": "tuple"
        }
      ],
      "name": "ZeroHash",
      "type": "error"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "contract IRiskModule",
          "name": "riskModule",
          "type": "address"
        },
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "id",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "payout",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "jrScr",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "srScr",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "lossProb",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "purePremium",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "ensuroCommission",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "partnerCommission",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "jrCoc",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "srCoc",
              "type": "uint256"
            },
            {
              "internalType": "uint40",
              "name": "start",
              "type": "uint40"
            },
            {
              "internalType": "uint40",
              "name": "expiration",
              "type": "uint40"
            }
          ],
          "indexed": false,
          "internalType": "struct Policy.PolicyData",
          "name": "policy",
          "type": "tuple"
        }
      ],
      "name": "NewPolicy",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "contract IRiskModule",
          "name": "riskModule",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "cancelledPolicyId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "purePremiumRefund",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "jrCocRefund",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "srCocRefund",
          "type": "uint256"
        }
      ],
      "name": "PolicyCancelled",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "contract IRiskModule",
          "name": "riskModule",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "oldPolicyId",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "newPolicyId",
          "type": "uint256"
        }
      ],
      "name": "PolicyReplaced",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "contract IRiskModule",
          "name": "riskModule",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "policyId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "payout",
          "type": "uint256"
        }
      ],
      "name": "PolicyResolved",
      "type": "event"
    },
    {
      "inputs": [],
      "name": "MAX_INT",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "id",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "payout",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "jrScr",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "srScr",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "lossProb",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "purePremium",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "ensuroCommission",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "partnerCommission",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "jrCoc",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "srCoc",
              "type": "uint256"
            },
            {
              "internalType": "uint40",
              "name": "start",
              "type": "uint40"
            },
            {
              "internalType": "uint40",
              "name": "expiration",
              "type": "uint40"
            }
          ],
          "internalType": "struct Policy.PolicyData",
          "name": "policyToCancel",
          "type": "tuple"
        },
        {
          "internalType": "uint256",
          "name": "purePremiumRefund",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "jrCocRefund",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "srCocRefund",
          "type": "uint256"
        }
      ],
      "name": "cancelPolicy",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "currency",
      "outputs": [
        {
          "internalType": "contract IERC20Metadata",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "contract IEToken",
          "name": "",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "name": "deposit",
      "outputs": [],
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "contract IEToken",
          "name": "",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        },
        {
          "internalType": "uint8",
          "name": "",
          "type": "uint8"
        },
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        },
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "depositWithPermit",
      "outputs": [],
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "id",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "payout",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "jrScr",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "srScr",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "lossProb",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "purePremium",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "ensuroCommission",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "partnerCommission",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "jrCoc",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "srCoc",
              "type": "uint256"
            },
            {
              "internalType": "uint40",
              "name": "start",
              "type": "uint40"
            },
            {
              "internalType": "uint40",
              "name": "expiration",
              "type": "uint40"
            }
          ],
          "internalType": "struct Policy.PolicyData",
          "name": "policy",
          "type": "tuple"
        }
      ],
      "name": "expirePolicy",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "policyId",
          "type": "uint256"
        }
      ],
      "name": "extractRiskModule",
      "outputs": [
        {
          "internalType": "contract IRiskModule",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "policyId",
          "type": "uint256"
        }
      ],
      "name": "getPolicyHash",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "rm",
          "type": "address"
        },
        {
          "internalType": "uint96",
          "name": "internalId",
          "type": "uint96"
        },
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "moc",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "jrCollRatio",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "collRatio",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "ensuroPpFee",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "ensuroCocFee",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "jrRoc",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "srRoc",
              "type": "uint256"
            }
          ],
          "internalType": "struct Policy.Params",
          "name": "rmParams",
          "type": "tuple"
        },
        {
          "internalType": "uint256",
          "name": "premium",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "payout",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "lossProb",
          "type": "uint256"
        },
        {
          "internalType": "uint40",
          "name": "expiration",
          "type": "uint40"
        },
        {
          "internalType": "uint40",
          "name": "start",
          "type": "uint40"
        }
      ],
      "name": "initializeAndEmitPolicy",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "policyId",
          "type": "uint256"
        }
      ],
      "name": "isActive",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "id",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "payout",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "jrScr",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "srScr",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "lossProb",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "purePremium",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "ensuroCommission",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "partnerCommission",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "jrCoc",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "srCoc",
              "type": "uint256"
            },
            {
              "internalType": "uint40",
              "name": "start",
              "type": "uint40"
            },
            {
              "internalType": "uint40",
              "name": "expiration",
              "type": "uint40"
            }
          ],
          "internalType": "struct Policy.PolicyData[]",
          "name": "policies",
          "type": "tuple[]"
        },
        {
          "internalType": "address",
          "name": "payer",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "policyHolder",
          "type": "address"
        }
      ],
      "name": "newPoliciesBatch",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "id",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "payout",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "jrScr",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "srScr",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "lossProb",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "purePremium",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "ensuroCommission",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "partnerCommission",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "jrCoc",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "srCoc",
              "type": "uint256"
            },
            {
              "internalType": "uint40",
              "name": "start",
              "type": "uint40"
            },
            {
              "internalType": "uint40",
              "name": "expiration",
              "type": "uint40"
            }
          ],
          "internalType": "struct Policy.PolicyData",
          "name": "policy",
          "type": "tuple"
        },
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "name": "newPolicy",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "id",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "payout",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "jrScr",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "srScr",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "lossProb",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "purePremium",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "ensuroCommission",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "partnerCommission",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "jrCoc",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "srCoc",
              "type": "uint256"
            },
            {
              "internalType": "uint40",
              "name": "start",
              "type": "uint40"
            },
            {
              "internalType": "uint40",
              "name": "expiration",
              "type": "uint40"
            }
          ],
          "internalType": "struct Policy.PolicyData",
          "name": "oldPolicy",
          "type": "tuple"
        },
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "id",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "payout",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "jrScr",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "srScr",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "lossProb",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "purePremium",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "ensuroCommission",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "partnerCommission",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "jrCoc",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "srCoc",
              "type": "uint256"
            },
            {
              "internalType": "uint40",
              "name": "start",
              "type": "uint40"
            },
            {
              "internalType": "uint40",
              "name": "expiration",
              "type": "uint40"
            }
          ],
          "internalType": "struct Policy.PolicyData",
          "name": "newPolicy_",
          "type": "tuple"
        },
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "name": "replacePolicy",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "id",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "payout",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "jrScr",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "srScr",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "lossProb",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "purePremium",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "ensuroCommission",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "partnerCommission",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "jrCoc",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "srCoc",
              "type": "uint256"
            },
            {
              "internalType": "uint40",
              "name": "start",
              "type": "uint40"
            },
            {
              "internalType": "uint40",
              "name": "expiration",
              "type": "uint40"
            }
          ],
          "internalType": "struct Policy.PolicyData",
          "name": "policy",
          "type": "tuple"
        },
        {
          "internalType": "uint256",
          "name": "payout",
          "type": "uint256"
        }
      ],
      "name": "resolvePolicy",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "treasury",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "contract IEToken",
          "name": "",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "name": "withdraw",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "pure",
      "type": "function"
    }
  ],
  "bytecode": "0x6080604052348015600e575f5ffd5b5060405161131b38038061131b833981016040819052602b91604e565b5f80546001600160a01b0319166001600160a01b03929092169190911790556079565b5f60208284031215605d575f5ffd5b81516001600160a01b03811681146072575f5ffd5b9392505050565b611295806100865f395ff3fe608060405234801561000f575f5ffd5b50600436106100fb575f3560e01c8063a3da437c11610093578063dfcd412e11610063578063dfcd412e14610220578063e5a6b10f14610233578063f45346dc14610243578063f720bbbf14610251575f5ffd5b8063a3da437c146101d3578063ab55daea146101e6578063bd644c56146101fa578063de27010a1461020d575f5ffd5b806376eddb9d116100ce57806376eddb9d1461015d578063792da09e1461017057806382afd23b1461018f5780638d53914f146101c0575f5ffd5b8063098d3228146100ff5780633a24722a1461011a57806361d027b31461012f5780636f520b7314610149575b5f5ffd5b6101075f1981565b6040519081526020015b60405180910390f35b61012d610128366004610b98565b610264565b005b5f5b6040516001600160a01b039091168152602001610111565b61012d610157366004610d06565b50505050565b61012d61016b366004610d41565b6102ed565b61010761017e366004610e33565b5f9081526002602052604090205490565b6101b061019d366004610e33565b5f90815260026020526040902054151590565b6040519015158152602001610111565b61012d6101ce366004610e4a565b61034c565b61012d6101e1366004610ede565b6103fd565b6101316101f4366004610e33565b60601c90565b61012d610208366004610f1d565b61044e565b61012d61021b366004610f48565b61046a565b61010761022e366004610fb9565b6104b7565b5f546001600160a01b0316610131565b61012d61021b366004610ffe565b61012d61025f366004611032565b610501565b61027b6102763684900384018461104d565b61051c565b82355f90815260026020526040908190209190915551339081905f5160206112405f395f51905f52906102af908690611068565b60405180910390a260405183359085359033907f4ff4ac703cb703b7ea535d47e65e64b4cabf11b3e2eb41f152dab17971953add905f90a450505050565b5f6103118989898989898964ffffffffff8a161561030b578961056e565b4261056e565b90505f6001600160a01b03165f5160206112405f395f51905f5282604051610339919061110a565b60405180910390a2505050505050505050565b5f5b838110156103f65761038285858381811061036b5761036b6111a9565b90506101800201803603810190610276919061104d565b60025f878785818110610397576103976111a9565b61018002919091013582525060208101919091526040015f2055335f5160206112405f395f51905f528686848181106103d2576103d26111a9565b905061018002016040516103e69190611068565b60405180910390a260010161034e565b5050505050565b61040f6102763685900385018561104d565b83355f9081526002602052604090819020919091555133905f5160206112405f395f51905f5290610441908690611068565b60405180910390a2505050565b6104666104603684900384018461104d565b82610683565b5050565b60405162461bcd60e51b815260206004820152601760248201527f4e6f7420496d706c656d656e746564206465706f73697400000000000000000060448201526064015b60405180910390fd5b60405162461bcd60e51b815260206004820152601860248201527f4e6f7420496d706c656d656e746564207769746864726177000000000000000060448201525f906064016104ae565b6105196105133683900383018361104d565b5f610683565b50565b5f8160405160200161052e919061110a565b60408051601f1981840301815291905280516020909101209050818161056857604051636ee9f64760e01b81526004016104ae919061110a565b50919050565b610576610b10565b85858082106105a15760405163319308d960e11b8152600481019290925260248201526044016104ae565b50506105ab610b10565b6105b58a8a6107d3565b8152602081018690526080810185905264ffffffffff80841661014083015284166101608201525f6105ea8988888888610808565b805160a0808501919091526020820151604080860191909152820151606080860191909152820151610100850152608082015161012085015281015160c084015260e081015190915088908181111561065f5760405163fc09662760e01b8152600481019290925260248201526044016104ae565b505060e081015161067090896111d1565b60e0830152509998505050505050505050565b81515f036106c65760405162461bcd60e51b815260206004820152601060248201526f141bdb1a58de481b9bdd08199bdd5b9960821b60448201526064016104ae565b81515f908152600260205260409020546106df8361051c565b146107215760405162461bcd60e51b8152602060048201526012602482015271090c2e6d040c8decae6dc4ee840dac2e8c6d60731b60448201526064016104ae565b81515f908152600160208181526040808420848155928301849055600280840185905560038401859055600484018590556005840185905560068401859055600784018590556008840185905560098401859055600a909301805469ffffffffffffffffffff19169055855184529181528183209290925583519051838152909133917f54f4a270ea08f88dc23b2520d6b063fecb24d956c4496f447926d736338f545e910160405180910390a35050565b5f6107ff6bffffffffffffffffffffffff83166bffffffffffffffffffffffff19606086901b166111e4565b90505b92915050565b6108486040518061010001604052805f81526020015f81526020015f81526020015f81526020015f81526020015f81526020015f81526020015f81525090565b855161086990670de0b6b3a7640000610862888883610a32565b9190610a32565b81526020860151610884908690670de0b6b3a7640000610a32565b60208201819052815110156108ae5780516020820180516108a69083906111d1565b9052506108b5565b5f60208201525b60408601516108ce908690670de0b6b3a7640000610a32565b6040820152602081015181516108e491906111e4565b81604001511115610919576020810151815161090091906111e4565b8160400181815161091191906111d1565b905250610920565b5f60408201525b61096561092d83856111f7565b64ffffffffff168760a001516109439190611214565b6109596301e13380670de0b6b3a7640000611214565b60208401519190610a32565b60608201526109af61097783856111f7565b64ffffffffff168760c0015161098d9190611214565b6109a36301e13380670de0b6b3a7640000611214565b60408401519190610a32565b6080820181905260608201515f916109c6916111e4565b60808801519091506109e2908290670de0b6b3a7640000610a32565b606088015183516109fb91670de0b6b3a7640000610a32565b610a0591906111e4565b60a0830181905282518291610a19916111e4565b610a2391906111e4565b60e08301525095945050505050565b5f5f5f610a3f8686610ae3565b91509150815f03610a6357838181610a5957610a5961122b565b0492505050610adc565b818411610a7a57610a7a6003851502601118610aff565b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010185841190960395909502919093039390930492909217029150505b9392505050565b5f805f1983850993909202808410938190039390930393915050565b634e487b715f52806020526024601cfd5b6040518061018001604052805f81526020015f81526020015f81526020015f81526020015f81526020015f81526020015f81526020015f81526020015f81526020015f81526020015f64ffffffffff1681526020015f64ffffffffff1681525090565b5f6101808284031215610568575f5ffd5b6001600160a01b0381168114610519575f5ffd5b5f5f5f6103208486031215610bab575f5ffd5b610bb58585610b73565b9250610bc5856101808601610b73565b9150610300840135610bd681610b84565b809150509250925092565b604051610180810167ffffffffffffffff81118282101715610c1157634e487b7160e01b5f52604160045260245ffd5b60405290565b60405160e0810167ffffffffffffffff81118282101715610c1157634e487b7160e01b5f52604160045260245ffd5b803564ffffffffff81168114610c5a575f5ffd5b919050565b5f6101808284031215610c70575f5ffd5b610c78610be1565b823581526020808401359082015260408084013590820152606080840135908201526080808401359082015260a0808401359082015260c0808401359082015260e08084013590820152610100808401359082015261012080840135908201529050610ce76101408301610c46565b610140820152610cfa6101608301610c46565b61016082015292915050565b5f5f5f5f6101e08587031215610d1a575f5ffd5b610d248686610c5f565b9661018086013596506101a0860135956101c00135945092505050565b5f5f5f5f5f5f5f5f888a036101c0811215610d5a575f5ffd5b8935610d6581610b84565b985060208a01356bffffffffffffffffffffffff81168114610d85575f5ffd5b975060e0603f1982011215610d98575f5ffd5b50610da1610c17565b60408a81013582526060808c013560208401526080808d01359284019290925260a0808d01359184019190915260c0808d01359284019290925260e08c0135908301526101008b0135908201529550610120890135945061014089013593506101608901359250610e156101808a01610c46565b9150610e246101a08a01610c46565b90509295985092959890939650565b5f60208284031215610e43575f5ffd5b5035919050565b5f5f5f5f60608587031215610e5d575f5ffd5b843567ffffffffffffffff811115610e73575f5ffd5b8501601f81018713610e83575f5ffd5b803567ffffffffffffffff811115610e99575f5ffd5b87602061018083028401011115610eae575f5ffd5b602091820195509350850135610ec381610b84565b91506040850135610ed381610b84565b939692955090935050565b5f5f5f6101c08486031215610ef1575f5ffd5b610efb8585610b73565b9250610180840135610f0c81610b84565b91506101a0840135610bd681610b84565b5f5f6101a08385031215610f2f575f5ffd5b610f398484610b73565b94610180939093013593505050565b5f5f5f5f5f5f5f60e0888a031215610f5e575f5ffd5b8735610f6981610b84565b9650602088013595506040880135610f8081610b84565b945060608801359350608088013560ff81168114610f9c575f5ffd5b9699959850939692959460a0840135945060c09093013592915050565b5f5f5f5f60808587031215610fcc575f5ffd5b8435610fd781610b84565b9350602085013592506040850135610fee81610b84565b91506060850135610ed381610b84565b5f5f5f60608486031215611010575f5ffd5b833561101b81610b84565b9250602084013591506040840135610bd681610b84565b5f6101808284031215611043575f5ffd5b6107ff8383610b73565b5f610180828403121561105e575f5ffd5b6107ff8383610c5f565b813581526020808301359082015260408083013590820152606080830135908201526080808301359082015260a0808301359082015260c0808301359082015260e080830135908201526101008083013590820152610120808301359082015261018081016110da6101408401610c46565b64ffffffffff166101408301526110f46101608401610c46565b64ffffffffff81166101608401525b5092915050565b5f61018082019050825182526020830151602083015260408301516040830152606083015160608301526080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015261010083015161010083015261012083015161012083015261014083015161118e61014084018264ffffffffff169052565b5061016083015161110361016084018264ffffffffff169052565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b81810381811115610802576108026111bd565b80820180821115610802576108026111bd565b64ffffffffff8281168282160390811115610802576108026111bd565b8082028115828204841417610802576108026111bd565b634e487b7160e01b5f52601260045260245ffdfe988ac1a1c4820f963124b6fa0394627ad4fa3de7583a76399b998c1d7e43af3fa2646970667358221220fedbc6c5aac1b33c71967f2a748d32a69388a65d90a5e82ce3fa5a8a032008ca64736f6c63430008230033",
  "deployedBytecode": "0x608060405234801561000f575f5ffd5b50600436106100fb575f3560e01c8063a3da437c11610093578063dfcd412e11610063578063dfcd412e14610220578063e5a6b10f14610233578063f45346dc14610243578063f720bbbf14610251575f5ffd5b8063a3da437c146101d3578063ab55daea146101e6578063bd644c56146101fa578063de27010a1461020d575f5ffd5b806376eddb9d116100ce57806376eddb9d1461015d578063792da09e1461017057806382afd23b1461018f5780638d53914f146101c0575f5ffd5b8063098d3228146100ff5780633a24722a1461011a57806361d027b31461012f5780636f520b7314610149575b5f5ffd5b6101075f1981565b6040519081526020015b60405180910390f35b61012d610128366004610b98565b610264565b005b5f5b6040516001600160a01b039091168152602001610111565b61012d610157366004610d06565b50505050565b61012d61016b366004610d41565b6102ed565b61010761017e366004610e33565b5f9081526002602052604090205490565b6101b061019d366004610e33565b5f90815260026020526040902054151590565b6040519015158152602001610111565b61012d6101ce366004610e4a565b61034c565b61012d6101e1366004610ede565b6103fd565b6101316101f4366004610e33565b60601c90565b61012d610208366004610f1d565b61044e565b61012d61021b366004610f48565b61046a565b61010761022e366004610fb9565b6104b7565b5f546001600160a01b0316610131565b61012d61021b366004610ffe565b61012d61025f366004611032565b610501565b61027b6102763684900384018461104d565b61051c565b82355f90815260026020526040908190209190915551339081905f5160206112405f395f51905f52906102af908690611068565b60405180910390a260405183359085359033907f4ff4ac703cb703b7ea535d47e65e64b4cabf11b3e2eb41f152dab17971953add905f90a450505050565b5f6103118989898989898964ffffffffff8a161561030b578961056e565b4261056e565b90505f6001600160a01b03165f5160206112405f395f51905f5282604051610339919061110a565b60405180910390a2505050505050505050565b5f5b838110156103f65761038285858381811061036b5761036b6111a9565b90506101800201803603810190610276919061104d565b60025f878785818110610397576103976111a9565b61018002919091013582525060208101919091526040015f2055335f5160206112405f395f51905f528686848181106103d2576103d26111a9565b905061018002016040516103e69190611068565b60405180910390a260010161034e565b5050505050565b61040f6102763685900385018561104d565b83355f9081526002602052604090819020919091555133905f5160206112405f395f51905f5290610441908690611068565b60405180910390a2505050565b6104666104603684900384018461104d565b82610683565b5050565b60405162461bcd60e51b815260206004820152601760248201527f4e6f7420496d706c656d656e746564206465706f73697400000000000000000060448201526064015b60405180910390fd5b60405162461bcd60e51b815260206004820152601860248201527f4e6f7420496d706c656d656e746564207769746864726177000000000000000060448201525f906064016104ae565b6105196105133683900383018361104d565b5f610683565b50565b5f8160405160200161052e919061110a565b60408051601f1981840301815291905280516020909101209050818161056857604051636ee9f64760e01b81526004016104ae919061110a565b50919050565b610576610b10565b85858082106105a15760405163319308d960e11b8152600481019290925260248201526044016104ae565b50506105ab610b10565b6105b58a8a6107d3565b8152602081018690526080810185905264ffffffffff80841661014083015284166101608201525f6105ea8988888888610808565b805160a0808501919091526020820151604080860191909152820151606080860191909152820151610100850152608082015161012085015281015160c084015260e081015190915088908181111561065f5760405163fc09662760e01b8152600481019290925260248201526044016104ae565b505060e081015161067090896111d1565b60e0830152509998505050505050505050565b81515f036106c65760405162461bcd60e51b815260206004820152601060248201526f141bdb1a58de481b9bdd08199bdd5b9960821b60448201526064016104ae565b81515f908152600260205260409020546106df8361051c565b146107215760405162461bcd60e51b8152602060048201526012602482015271090c2e6d040c8decae6dc4ee840dac2e8c6d60731b60448201526064016104ae565b81515f908152600160208181526040808420848155928301849055600280840185905560038401859055600484018590556005840185905560068401859055600784018590556008840185905560098401859055600a909301805469ffffffffffffffffffff19169055855184529181528183209290925583519051838152909133917f54f4a270ea08f88dc23b2520d6b063fecb24d956c4496f447926d736338f545e910160405180910390a35050565b5f6107ff6bffffffffffffffffffffffff83166bffffffffffffffffffffffff19606086901b166111e4565b90505b92915050565b6108486040518061010001604052805f81526020015f81526020015f81526020015f81526020015f81526020015f81526020015f81526020015f81525090565b855161086990670de0b6b3a7640000610862888883610a32565b9190610a32565b81526020860151610884908690670de0b6b3a7640000610a32565b60208201819052815110156108ae5780516020820180516108a69083906111d1565b9052506108b5565b5f60208201525b60408601516108ce908690670de0b6b3a7640000610a32565b6040820152602081015181516108e491906111e4565b81604001511115610919576020810151815161090091906111e4565b8160400181815161091191906111d1565b905250610920565b5f60408201525b61096561092d83856111f7565b64ffffffffff168760a001516109439190611214565b6109596301e13380670de0b6b3a7640000611214565b60208401519190610a32565b60608201526109af61097783856111f7565b64ffffffffff168760c0015161098d9190611214565b6109a36301e13380670de0b6b3a7640000611214565b60408401519190610a32565b6080820181905260608201515f916109c6916111e4565b60808801519091506109e2908290670de0b6b3a7640000610a32565b606088015183516109fb91670de0b6b3a7640000610a32565b610a0591906111e4565b60a0830181905282518291610a19916111e4565b610a2391906111e4565b60e08301525095945050505050565b5f5f5f610a3f8686610ae3565b91509150815f03610a6357838181610a5957610a5961122b565b0492505050610adc565b818411610a7a57610a7a6003851502601118610aff565b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010185841190960395909502919093039390930492909217029150505b9392505050565b5f805f1983850993909202808410938190039390930393915050565b634e487b715f52806020526024601cfd5b6040518061018001604052805f81526020015f81526020015f81526020015f81526020015f81526020015f81526020015f81526020015f81526020015f81526020015f81526020015f64ffffffffff1681526020015f64ffffffffff1681525090565b5f6101808284031215610568575f5ffd5b6001600160a01b0381168114610519575f5ffd5b5f5f5f6103208486031215610bab575f5ffd5b610bb58585610b73565b9250610bc5856101808601610b73565b9150610300840135610bd681610b84565b809150509250925092565b604051610180810167ffffffffffffffff81118282101715610c1157634e487b7160e01b5f52604160045260245ffd5b60405290565b60405160e0810167ffffffffffffffff81118282101715610c1157634e487b7160e01b5f52604160045260245ffd5b803564ffffffffff81168114610c5a575f5ffd5b919050565b5f6101808284031215610c70575f5ffd5b610c78610be1565b823581526020808401359082015260408084013590820152606080840135908201526080808401359082015260a0808401359082015260c0808401359082015260e08084013590820152610100808401359082015261012080840135908201529050610ce76101408301610c46565b610140820152610cfa6101608301610c46565b61016082015292915050565b5f5f5f5f6101e08587031215610d1a575f5ffd5b610d248686610c5f565b9661018086013596506101a0860135956101c00135945092505050565b5f5f5f5f5f5f5f5f888a036101c0811215610d5a575f5ffd5b8935610d6581610b84565b985060208a01356bffffffffffffffffffffffff81168114610d85575f5ffd5b975060e0603f1982011215610d98575f5ffd5b50610da1610c17565b60408a81013582526060808c013560208401526080808d01359284019290925260a0808d01359184019190915260c0808d01359284019290925260e08c0135908301526101008b0135908201529550610120890135945061014089013593506101608901359250610e156101808a01610c46565b9150610e246101a08a01610c46565b90509295985092959890939650565b5f60208284031215610e43575f5ffd5b5035919050565b5f5f5f5f60608587031215610e5d575f5ffd5b843567ffffffffffffffff811115610e73575f5ffd5b8501601f81018713610e83575f5ffd5b803567ffffffffffffffff811115610e99575f5ffd5b87602061018083028401011115610eae575f5ffd5b602091820195509350850135610ec381610b84565b91506040850135610ed381610b84565b939692955090935050565b5f5f5f6101c08486031215610ef1575f5ffd5b610efb8585610b73565b9250610180840135610f0c81610b84565b91506101a0840135610bd681610b84565b5f5f6101a08385031215610f2f575f5ffd5b610f398484610b73565b94610180939093013593505050565b5f5f5f5f5f5f5f60e0888a031215610f5e575f5ffd5b8735610f6981610b84565b9650602088013595506040880135610f8081610b84565b945060608801359350608088013560ff81168114610f9c575f5ffd5b9699959850939692959460a0840135945060c09093013592915050565b5f5f5f5f60808587031215610fcc575f5ffd5b8435610fd781610b84565b9350602085013592506040850135610fee81610b84565b91506060850135610ed381610b84565b5f5f5f60608486031215611010575f5ffd5b833561101b81610b84565b9250602084013591506040840135610bd681610b84565b5f6101808284031215611043575f5ffd5b6107ff8383610b73565b5f610180828403121561105e575f5ffd5b6107ff8383610c5f565b813581526020808301359082015260408083013590820152606080830135908201526080808301359082015260a0808301359082015260c0808301359082015260e080830135908201526101008083013590820152610120808301359082015261018081016110da6101408401610c46565b64ffffffffff166101408301526110f46101608401610c46565b64ffffffffff81166101608401525b5092915050565b5f61018082019050825182526020830151602083015260408301516040830152606083015160608301526080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015261010083015161010083015261012083015161012083015261014083015161118e61014084018264ffffffffff169052565b5061016083015161110361016084018264ffffffffff169052565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b81810381811115610802576108026111bd565b80820180821115610802576108026111bd565b64ffffffffff8281168282160390811115610802576108026111bd565b8082028115828204841417610802576108026111bd565b634e487b7160e01b5f52601260045260245ffdfe988ac1a1c4820f963124b6fa0394627ad4fa3de7583a76399b998c1d7e43af3fa2646970667358221220fedbc6c5aac1b33c71967f2a748d32a69388a65d90a5e82ce3fa5a8a032008ca64736f6c63430008230033",
  "linkReferences": {},
  "deployedLinkReferences": {}
}
