Policy Manager
Insurance Smart Contract
Last updated
Insurance Smart Contract
Last updated
Create hash that verifier will sign and give it to user for issue policy.
Generates a hash of the parameters required for the verifier to sign the message and provide the signature to the user for issuing the policy.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Create hash that verifier will sign and give it to user for redeem policy.
Generates a hash of the parameters required for the verifier to sign the message and provide the signature to the user for redeeming the policy.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
issueData
The parameters of the issue 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 issue the policy.
redeemData
The parameters of the redeem 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 redeem the policy.