mint_settle_policy
Settle a parametric insurance policy. On trigger, pays coverage to beneficiary; on expiry, returns escrow to insurer.
Instructions
Trigger settlement of a parametric insurance policy.
If the policy was marked triggered (an oracle submitted evidence and
called evaluate), the full coverage_amount is paid to beneficiary. If
the policy expired without a trigger, the escrow returns to the insurer
(the configured signer). Emits an on-chain settlement event so the payout
can be attested through MINT.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy_id | Yes | the policy to settle. | |
| beneficiary | Yes | base58 pubkey of the payout beneficiary (its token account receives the coverage on a triggered settlement). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||