Logo Lanfrica

loxadim/flood-prediction-smart-contract

Domain:

climategeospatial

Record type:

software
Creator:
lox
Host:
OPAL Platform — Blockchain layer for parametric flood insurance in Senegal (Polygon L2, Solidity, Hardhat 3) # OPAL Platform — Flood Prediction Smart Contract ## DPA Foundation — Blockchain Layer for Parametric Flood Insurance -blue) --- ## Overview This is the blockchain layer of the **OPAL** platform, developed by the **DPA Foundation** for parametric flood insurance in Senegal. The system uses **satellite data from WASDI** (Web Advanced Space Developer Interface) to automatically trigger flood insurance payouts to vulnerable populations via **Mobile Money** (Orange Money, Wave). ### Key Features - **Parametric triggers**: Automatic flood detection based on satellite risk scores (≥70% threshold) - **Multi-oracle consensus**: IQR-based outlier detection across multiple data sources - **Privacy-preserving**: Merkle tree verification — only hashes stored on-chain - **Mobile Money bridge**: Off-chain relay pattern for Orange Money & Wave payments - **UUPS upgradeable**: Safe upgrade path with proxy pattern - **Multi-sig governance**: Emergency override with quorum-based proposals - **KYC/AML compliance**: On-chain attestation lifecycle (GDPR-compliant, hash-only) --- ## Architecture ``` ┌──────────────────────────────────────────────────────────────────────┐ │ OPAL Platform Architecture │ │ (Hub-and-Spoke — FPC orchestrator) │ ├──────────────────────────────────────────────────────────────────────┤ │ │ │ ┌──────────┐ ┌──────────────────┐ │ │ │ WASDI │───▶│ WASDIOracle │ (off-chain satellite → chain) │ │ │ Satellite│ │ Connector │ │ │ └──────────┘ └──────────────────┘ │ │ │ │ ┌──────────────────┐ reads ┌───────────────────┐ │ │ │ FloodPrediction │ ───────────▶ │ MultiOracle │ │ │ │ (UUPS …