Area: backend · Effort: L
What: Implement an optional insurance fund that vault operators can fund to cover depositor losses in the event of a smart contract exploit or strategy failure.
Why: Insurance funds are a powerful trust signal that separates professional vault operators from anonymous ones. They directly address the biggest user concern: 'what if I lose my funds?'
Acceptance Criteria:
- Vault operators can fund an insurance pool in a dedicated Stellar escrow account
- Insurance coverage ratio (fund / TVL) is displayed prominently on the vault page
- In the event of a declared incident, admins can trigger a pro-rata payout to depositors
- Insurance fund contributions and payouts are publicly auditable on-chain
Hints:
backend/src/vaults/insurance-fund.service.ts
- Use a Soroban multisig account for the insurance escrow
- Model payouts as a separate
insurance_claim entity
Area: backend · Effort: L
What: Implement an optional insurance fund that vault operators can fund to cover depositor losses in the event of a smart contract exploit or strategy failure.
Why: Insurance funds are a powerful trust signal that separates professional vault operators from anonymous ones. They directly address the biggest user concern: 'what if I lose my funds?'
Acceptance Criteria:
Hints:
backend/src/vaults/insurance-fund.service.tsinsurance_claimentity