@nexusmutual/deployments
Version:
Nexus Mutual deployed contract addresses and abis
652 lines • 12.9 kB
JSON
[
{
"inputs": [
{
"internalType": "address",
"name": "coverNFTAddress",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "AssessmentDepositInsufficient",
"type": "error"
},
{
"inputs": [],
"name": "AssessmentDepositTransferToPoolFailed",
"type": "error"
},
{
"inputs": [],
"name": "AssessmentDepositTrasnferRefundFailed",
"type": "error"
},
{
"inputs": [],
"name": "CantBuyCoverAndClaimInTheSameBlock",
"type": "error"
},
{
"inputs": [],
"name": "ClaimAssessmentNotFinished",
"type": "error"
},
{
"inputs": [],
"name": "ClaimIsBeingAssessed",
"type": "error"
},
{
"inputs": [],
"name": "ClaimNotAccepted",
"type": "error"
},
{
"inputs": [],
"name": "CooldownPeriodNotPassed",
"type": "error"
},
{
"inputs": [],
"name": "CoveredAmountExceeded",
"type": "error"
},
{
"inputs": [],
"name": "GracePeriodPassed",
"type": "error"
},
{
"inputs": [],
"name": "InvalidClaimMethod",
"type": "error"
},
{
"inputs": [],
"name": "OnlyOwnerOrApprovedCanSubmitClaim",
"type": "error"
},
{
"inputs": [],
"name": "PayoutAlreadyRedeemed",
"type": "error"
},
{
"inputs": [],
"name": "PayoutCanStillBeRedeemed",
"type": "error"
},
{
"inputs": [],
"name": "RedemptionPeriodExpired",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "user",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "claimId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "coverId",
"type": "uint256"
}
],
"name": "ClaimPayoutRedeemed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "user",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "claimId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "uint256",
"name": "coverId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "productId",
"type": "uint256"
}
],
"name": "ClaimSubmitted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "claimId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "ipfsMetadata",
"type": "string"
}
],
"name": "MetadataSubmitted",
"type": "event"
},
{
"inputs": [],
"name": "MAX_REWARD_IN_NXM",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "MIN_ASSESSMENT_DEPOSIT_DENOMINATOR",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "MIN_ASSESSMENT_DEPOSIT_RATIO",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "ONE_NXM",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "PAYOUT_REDEMPTION_PERIOD",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "REWARD_DENOMINATOR",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "REWARD_RATIO",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"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": "claims",
"outputs": [
{
"internalType": "uint80",
"name": "assessmentId",
"type": "uint80"
},
{
"internalType": "uint32",
"name": "coverId",
"type": "uint32"
},
{
"internalType": "uint16",
"name": "segmentId",
"type": "uint16"
},
{
"internalType": "uint96",
"name": "amount",
"type": "uint96"
},
{
"internalType": "uint8",
"name": "coverAsset",
"type": "uint8"
},
{
"internalType": "bool",
"name": "payoutRedeemed",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "coverNFT",
"outputs": [
{
"internalType": "contract ICoverNFT",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "requestedAmount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "coverPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "coverAsset",
"type": "uint256"
}
],
"name": "getAssessmentDepositAndReward",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getClaimsCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256[]",
"name": "ids",
"type": "uint256[]"
}
],
"name": "getClaimsToDisplay",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "productId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "coverId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "assessmentId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "string",
"name": "assetSymbol",
"type": "string"
},
{
"internalType": "uint256",
"name": "assetIndex",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "coverStart",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "coverEnd",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "pollStart",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "pollEnd",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "claimStatus",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "payoutStatus",
"type": "uint256"
}
],
"internalType": "struct IIndividualClaims.ClaimDisplay[]",
"name": "",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getMaxRewardInNxm",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "getMinAssessmentDepositRatio",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "getPayoutRedemptionPeriod",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "getRewardRatio",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "internalContracts",
"outputs": [
{
"internalType": "address payable",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "lastClaimSubmissionOnCover",
"outputs": [
{
"internalType": "uint80",
"name": "claimId",
"type": "uint80"
},
{
"internalType": "bool",
"name": "exists",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "master",
"outputs": [
{
"internalType": "contract INXMMaster",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint104",
"name": "claimId",
"type": "uint104"
}
],
"name": "redeemClaimPayout",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint32",
"name": "coverId",
"type": "uint32"
},
{
"internalType": "uint96",
"name": "requestedAmount",
"type": "uint96"
},
{
"internalType": "string",
"name": "ipfsMetadata",
"type": "string"
}
],
"name": "submitClaim",
"outputs": [
{
"components": [
{
"internalType": "uint80",
"name": "assessmentId",
"type": "uint80"
},
{
"internalType": "uint32",
"name": "coverId",
"type": "uint32"
},
{
"internalType": "uint16",
"name": "segmentId",
"type": "uint16"
},
{
"internalType": "uint96",
"name": "amount",
"type": "uint96"
},
{
"internalType": "uint8",
"name": "coverAsset",
"type": "uint8"
},
{
"internalType": "bool",
"name": "payoutRedeemed",
"type": "bool"
}
],
"internalType": "struct IIndividualClaims.Claim",
"name": "claim",
"type": "tuple"
}
],
"stateMutability": "payable",
"type": "function"
}
]