Others
cancelClaim
function cancelClaim(uint256 _claimId_) external returns (bool)
Cancel a claim.
Requirements:
nonReentrant
The function must not be reentrant.whenNotPaused
The function must not be paused.
Events:
ClaimAssessmentConsensusReached
Emitted when the claim is canceled successfully.
Name
Type
Description
claimId
uint256
The claim id.
Name
Type
Description
[0]
bool
True if the claim is canceled successfully.
ClaimAssessmentConsensusReached
event ClaimAssessmentConsensusReached(uint256 claimId, ClaimStatus status)
This event is emitted when the claim is consensus.
Name
Type
Description
claimId
uint256
The claim id.
getClaimData
function getClaimData(uint256 _claimId_) external view returns (ClaimData)
Get the claim data.
Name
Type
Description
claimId
uint256
The claim id.
Name
Type
Description
getClaimsData
function getClaimsData(uint256[] _claimIds_) external view returns (ClaimData[])
Get the claims data.
Name
Type
Description
claimIds
uint256[]
The claim ids.
Name
Type
Description
getClaimStatus
function getClaimStatus(uint256 _claimId_) external view returns (ClaimStatus)
Get the claim status.
Name
Type
Description
claimId
uint256
The claim id.
Name
Type
Description
getClaimsStatus
function getClaimsStatus(uint256[] _claimIds_) external view returns (ClaimStatus[])
Get the claims status.
Name
Type
Description
claimIds
uint256[]
The claim ids.
Name
Type
Description
Last updated