Claim Manager
Insurance Smart Contract
getClaimRules
Get the claim rules.
Name | Type | Description |
---|---|---|
[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.
Name | Type | Description |
---|---|---|
cr | The claim rules. |
ClaimRulesChanged
This event is emitted when the claim rules are changed.
Name | Type | Description |
---|---|---|
claimRules | The claim rules. |
getClaimLength
Get the claim length.
Name | Type | Description |
---|---|---|
[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.
Name | Type | Description |
---|---|---|
claimData | The parameters of the submit claim policy are to be hashed. |
Name | Type | Description |
---|---|---|
[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