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.

status

The claim status.

getClaimData

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

Get the claim data.

Name
Type
Description

claimId

uint256

The claim id.

Name
Type
Description

[0]

The claim data.

getClaimsData

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

Get the claims data.

Name
Type
Description

claimIds

uint256[]

The claim ids.

Name
Type
Description

[0]

The claims data.

getClaimStatus

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

Get the claim status.

Name
Type
Description

claimId

uint256

The claim id.

Name
Type
Description

[0]

The claim status.

getClaimsStatus

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

Get the claims status.

Name
Type
Description

claimIds

uint256[]

The claim ids.

Name
Type
Description

[0]

The claims status.

Last updated