Skip to content

Smart contract insurance pool #581

@nafiuishaaq

Description

@nafiuishaaq

Description:
Create an optional insurance pool where users pay a small premium to get protection against dispute losses.

Acceptance Criteria:

lock_funds_with_insurance(session_id, seller, amount, premium_bps) — buyer pays extra premium.

Premium goes to insurance pool (separate contract or treasury sub-account).

If dispute resolution gives buyer < 80% of amount, insurance covers shortfall up to 100%.

claim_insurance(session_id) function for buyer.

Admin sets insurance premium rate and coverage percentage.

Emits InsurancePurchased, InsuranceClaimPaid events.

Labels: insurance, defi, risk-management

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions