UNPKG

@nexusmutual/deployments

Version:

Nexus Mutual deployed contract addresses and abis

713 lines 15 kB
[ { "inputs": [ { "internalType": "address", "name": "_registry", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "AlreadyInitialized", "type": "error" }, { "inputs": [], "name": "AssessmentDepositNotExact", "type": "error" }, { "inputs": [], "name": "AssessmentDepositTransferToPoolFailed", "type": "error" }, { "inputs": [], "name": "CantBuyCoverAndClaimInTheSameBlock", "type": "error" }, { "inputs": [], "name": "ClaimAlreadyPaidOut", "type": "error" }, { "inputs": [], "name": "ClaimIsBeingAssessed", "type": "error" }, { "inputs": [], "name": "ClaimNotADraw", "type": "error" }, { "inputs": [], "name": "ClaimNotAccepted", "type": "error" }, { "inputs": [], "name": "ClaimNotRedeemable", "type": "error" }, { "inputs": [], "name": "CoveredAmountExceeded", "type": "error" }, { "inputs": [], "name": "DepositAlreadyRetrieved", "type": "error" }, { "inputs": [], "name": "GracePeriodPassed", "type": "error" }, { "inputs": [], "name": "InvalidClaimId", "type": "error" }, { "inputs": [], "name": "InvalidClaimMethod", "type": "error" }, { "inputs": [], "name": "NotCoverOwner", "type": "error" }, { "inputs": [], "name": "OnlyAdvisoryBoard", "type": "error" }, { "inputs": [], "name": "OnlyMember", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "currentState", "type": "uint256" }, { "internalType": "uint256", "name": "checks", "type": "uint256" } ], "name": "Paused", "type": "error" }, { "inputs": [], "name": "PayoutCanStillBeRedeemed", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "caller", "type": "address" }, { "internalType": "uint256", "name": "callerIndex", "type": "uint256" }, { "internalType": "uint256", "name": "authorizedBitmap", "type": "uint256" } ], "name": "Unauthorized", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "claimId", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "user", "type": "address" } ], "name": "ClaimDepositRetrieved", "type": "event" }, { "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": "bytes32", "name": "ipfsMetadata", "type": "bytes32" } ], "name": "MetadataSubmitted", "type": "event" }, { "inputs": [], "name": "CLAIM_DEPOSIT_IN_ETH", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "assessments", "outputs": [ { "internalType": "contract IAssessments", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "cover", "outputs": [ { "internalType": "contract ICover", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "coverNFT", "outputs": [ { "internalType": "contract ICoverNFT", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "coverProducts", "outputs": [ { "internalType": "contract ICoverProducts", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "claimId", "type": "uint256" } ], "name": "getClaim", "outputs": [ { "components": [ { "internalType": "uint32", "name": "coverId", "type": "uint32" }, { "internalType": "uint96", "name": "amount", "type": "uint96" }, { "internalType": "uint8", "name": "coverAsset", "type": "uint8" }, { "internalType": "uint32", "name": "payoutRedemptionPeriod", "type": "uint32" }, { "internalType": "bool", "name": "payoutRedeemed", "type": "bool" }, { "internalType": "bool", "name": "depositRetrieved", "type": "bool" } ], "internalType": "struct IClaims.Claim", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "claimId", "type": "uint256" } ], "name": "getClaimDetails", "outputs": [ { "components": [ { "internalType": "uint256", "name": "claimId", "type": "uint256" }, { "components": [ { "internalType": "uint32", "name": "coverId", "type": "uint32" }, { "internalType": "uint96", "name": "amount", "type": "uint96" }, { "internalType": "uint8", "name": "coverAsset", "type": "uint8" }, { "internalType": "uint32", "name": "payoutRedemptionPeriod", "type": "uint32" }, { "internalType": "bool", "name": "payoutRedeemed", "type": "bool" }, { "internalType": "bool", "name": "depositRetrieved", "type": "bool" } ], "internalType": "struct IClaims.Claim", "name": "claim", "type": "tuple" }, { "components": [ { "internalType": "uint24", "name": "productId", "type": "uint24" }, { "internalType": "uint8", "name": "coverAsset", "type": "uint8" }, { "internalType": "uint96", "name": "amount", "type": "uint96" }, { "internalType": "uint32", "name": "start", "type": "uint32" }, { "internalType": "uint32", "name": "period", "type": "uint32" }, { "internalType": "uint32", "name": "gracePeriod", "type": "uint32" }, { "internalType": "uint16", "name": "rewardsRatio", "type": "uint16" }, { "internalType": "uint16", "name": "capacityRatio", "type": "uint16" } ], "internalType": "struct CoverData", "name": "cover", "type": "tuple" }, { "components": [ { "internalType": "uint16", "name": "assessingGroupId", "type": "uint16" }, { "internalType": "uint32", "name": "cooldownPeriod", "type": "uint32" }, { "internalType": "uint32", "name": "start", "type": "uint32" }, { "internalType": "uint32", "name": "votingEnd", "type": "uint32" }, { "internalType": "uint8", "name": "acceptVotes", "type": "uint8" }, { "internalType": "uint8", "name": "denyVotes", "type": "uint8" } ], "internalType": "struct Assessment", "name": "assessment", "type": "tuple" }, { "internalType": "enum AssessmentStatus", "name": "status", "type": "uint8" }, { "internalType": "enum AssessmentOutcome", "name": "outcome", "type": "uint8" }, { "internalType": "bool", "name": "redeemable", "type": "bool" }, { "internalType": "bytes32", "name": "ipfsMetadata", "type": "bytes32" } ], "internalType": "struct IClaims.ClaimDetails", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getClaimsCount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "memberId", "type": "uint256" } ], "name": "getMemberClaims", "outputs": [ { "internalType": "uint256[]", "name": "", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "lastClaimId", "type": "uint256" } ], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "coverId", "type": "uint256" } ], "name": "lastClaimSubmissionOnCover", "outputs": [ { "internalType": "uint256", "name": "claimId", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pool", "outputs": [ { "internalType": "contract IPool", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "ramm", "outputs": [ { "internalType": "contract IRamm", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "claimId", "type": "uint256" } ], "name": "redeemClaimPayout", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "registry", "outputs": [ { "internalType": "contract IRegistry", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "claimId", "type": "uint256" } ], "name": "retrieveDeposit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "coverId", "type": "uint32" }, { "internalType": "uint96", "name": "requestedAmount", "type": "uint96" }, { "internalType": "bytes32", "name": "ipfsMetadata", "type": "bytes32" } ], "name": "submitClaim", "outputs": [ { "components": [ { "internalType": "uint32", "name": "coverId", "type": "uint32" }, { "internalType": "uint96", "name": "amount", "type": "uint96" }, { "internalType": "uint8", "name": "coverAsset", "type": "uint8" }, { "internalType": "uint32", "name": "payoutRedemptionPeriod", "type": "uint32" }, { "internalType": "bool", "name": "payoutRedeemed", "type": "bool" }, { "internalType": "bool", "name": "depositRetrieved", "type": "bool" } ], "internalType": "struct IClaims.Claim", "name": "claim", "type": "tuple" } ], "stateMutability": "payable", "type": "function" } ]