Claim Manager
Insurance Smart Contract
getClaimRules
Get the claim rules.
[0]
The claim rules.
setClaimRules
Set the claim rules.
Requirements:
msg.sender
- The caller must have the role ofSUPER_MANAGER_LEVEL
.
Events:
ClaimRulesChanged
Emitted when the claim rules are changed successfully.
cr
The claim rules.
ClaimRulesChanged
This event is emitted when the claim rules are changed.
claimRules
The claim rules.
getClaimLength
Get the claim length.
[0]
uint256
The claim length.
createHashSubmitClaim
Create hash that verifier will sign and give it to user for submit claim policy.
Generates a hash of the parameters required for the verifier to sign the message and provide the signature to the user for the submit claim policy.
claimData
The parameters of the submit claim policy are to be hashed.
[0]
bytes32
The hash of the required parameters, which can then be used to generate a signature for the user to submit claim the policy.
HashSubmitClaimParams
Last updated