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.

NameTypeDescription

claimId

uint256

The claim id.

NameTypeDescription

[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.

NameTypeDescription

claimId

uint256

The claim id.

status

The claim status.

getClaimData

function getClaimData(uint256 _claimId_) external view returns (ClaimData)

Get the claim data.

NameTypeDescription

claimId

uint256

The claim id.

NameTypeDescription

[0]

The claim data.

getClaimsData

function getClaimsData(uint256[] _claimIds_) external view returns (ClaimData[])

Get the claims data.

NameTypeDescription

claimIds

uint256[]

The claim ids.

NameTypeDescription

[0]

The claims data.

getClaimStatus

function getClaimStatus(uint256 _claimId_) external view returns (ClaimStatus)

Get the claim status.

NameTypeDescription

claimId

uint256

The claim id.

NameTypeDescription

[0]

The claim status.

getClaimsStatus

function getClaimsStatus(uint256[] _claimIds_) external view returns (ClaimStatus[])

Get the claims status.

NameTypeDescription

claimIds

uint256[]

The claim ids.

NameTypeDescription

[0]

The claims status.

Last updated