// SPDX-License-Identifier: GPL-3.0-only

pragma solidity >=0.5.0;

interface IProductsV1 {
  function getNewProductId(address legacyProductId) external pure returns (uint);
}
[{"inputs":[{"internalType":"address","name":"_quotationData","type":"address"},{"internalType":"address","name":"_productsV1","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"coverIdV1","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"coverIdV2","type":"uint256"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"CoverMigrated","type":"event"},{"inputs":[],"name":"changeDependentContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"masterAddress","type":"address"}],"name":"changeMasterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"internalContracts","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"master","outputs":[{"internalType":"contract INXMMaster","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"coverId","type":"uint32"},{"internalType":"uint16","name":"segmentId","type":"uint16"},{"internalType":"uint96","name":"requestedAmount","type":"uint96"},{"internalType":"string","name":"ipfsMetadata","type":"string"}],"name":"migrateAndSubmitClaim","outputs":[{"internalType":"uint256","name":"newCoverId","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"coverId","type":"uint256"},{"internalType":"address","name":"msgSender","type":"address"},{"internalType":"address","name":"newOwner","type":"address"}],"name":"migrateCoverFrom","outputs":[{"internalType":"uint256","name":"newCoverId","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"coverIds","type":"uint256[]"},{"internalType":"address","name":"newOwner","type":"address"}],"name":"migrateCovers","outputs":[{"internalType":"uint256[]","name":"newCoverIds","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"coverId","type":"uint256"}],"name":"submitClaim","outputs":[],"stateMutability":"nonpayable","type":"function"}]