On-Chain Parametric Insurance for Artificial Intelligence Agents

Network: Base L2 (Chain 8453) Settlement: USDC (Circle) Yield: Aave V3 Version: 3.0 -- March 2026 Contact: hello@lumina-org.com Docs: https://lumina-org.com
Base L2 USDC Aave V3 Parametric AI Agents

Table of Contents

1. Executive Summary

Lumina Protocol is the first decentralized parametric insurance infrastructure designed exclusively for artificial intelligence agents operating in DeFi. The protocol deploys on Base L2, settles in real USDC (Circle), and generates yield through Aave V3.

Unlike traditional insurance, which requires a human to file a claim, a committee to review it, and weeks of waiting to receive payment, Lumina uses mathematical triggers verified by oracles. If the condition is met (for example, ETH drops 30%), the payout is instant and automatic. No claims. No disputes. No waiting for humans.

The protocol offers 5 insurance products (BTC Catastrophe Shield, ETH Apocalypse Shield, Depeg Shield, IL Index Cover, Exploit Shield), 4 liquidity vaults (VolatileShort, VolatileLong, StableShort, StableLong) and operates through 13 smart contracts deployed in production. Core contracts (CoverRouter, PolicyManager), vaults and shields use UUPS upgradeable proxies under TimelockController; Oracle contracts (LuminaOracleV2, LuminaPhalaVerifier) are NOT upgradeable (Ownable) and require redeployment to replace.

Every interaction flow begins the same way: the human, through their AI agent, instructs the desired operation. The agent executes the on-chain transaction autonomously, interacting with Lumina's API and protocol contracts without manual intervention.

The business model is simple and transparent: a 3% fee on the premium paid by the insured, a 3% fee on the claim payout, and a 3% performance fee on the positive yield (profit) when liquidity providers withdraw funds from vaults.

2. Introduction

2.1 The Problem: DeFi Without Protection for Autonomous Agents

The agentic economy is growing exponentially. Thousands of AI agents manage DeFi positions, treasuries, liquidity pools, and yield farming strategies. However, these agents operate without any type of coverage against the most critical risks in the ecosystem: catastrophic market crashes, stablecoin depegs, severe impermanent loss, and protocol exploits.

Existing DeFi insurance protocols were designed for humans. They require graphical interfaces, community voting processes to validate claims, and resolution times incompatible with the speed at which autonomous agents operate. Lumina solves this problem with a purely programmatic and parametric approach.

2.2 Comparison with Existing Protocols

Feature Nexus Mutual InsurAce Ensuro LUMINA PROTOCOL
Primary focus Insurance for humans Multi-chain insurance Parametric insurance Insurance for AI agents
Insurance type Discretional Discretional Parametric Parametric
Claims process Community voting Evaluation committee Automatic oracle Automatic oracle
Payment time Weeks Days Hours Minutes (1 tx)
Designed for AI agents No No Partial Yes, exclusively
Yield for LPs Staking NXM Farming Premiums Aave V3 + Premiums
Collateralization Shared pool Shared pool Per risk 1:1 per policy
Network Ethereum L1 Multi-chain Polygon Base L2
Settlement ETH/DAI Multi-token USDC USDC
Products Smart Contract Cover Various Weather/Parametric 4 DeFi products

2.3 How Lumina Works

The human, through their AI agent, defines the desired coverage parameters: asset to cover, amount, duration, and product. The agent queries Lumina's API to obtain a precise quote, including the premium calculated using the kink utilization model. Once the quote is approved, the agent executes the on-chain transaction through the CoverRouter.

Simplified flow:

Human → AI Agent → Lumina API → CoverRouter → Shield → PolicyManager → Vault (lock collateral) → USDC transfer

The collateral is locked 1:1 in the corresponding vault. If the trigger is activated during the policy's validity period, the payout is executed automatically. If the policy expires without the trigger being activated, the collateral is released back to the vault.

3. Protocol Architecture

3.1 Kink Utilization Model

The core of Lumina's pricing is a non-linear utilization model inspired by the interest rate models of Aave and Compound. The premium is calculated with the following complete formula extracted from the Solidity code:

Premium = Coverage x P_base x RiskMult x DurationDiscount x M(U) x (Duration / 365)

Where:

Kink Model -- Utilization Multiplier M(U)

The inflection point (kink) is located at U_kink = 80%. Below the kink, the multiplier grows linearly. Above it, it grows aggressively to disincentivize overutilization.

If U <= U_kink (80%): M(U) = 1 + (U / U_kink) x 0.5 If U > U_kink (80%): M(U) = 1 + 0.5 + ((U - 0.8) / (1 - 0.8)) x 3.0 // U_MAX = 95% → policy is rejected (coverage cannot be purchased)

Multiplier Table by Utilization Level

Utilization (U) Multiplier M(U) Effect on Premium
0%1.00xBase premium
20%1.13x+13% over base premium
40%1.25x+25% over base premium
60%1.38x+38% over base premium
80%1.50x+50% (kink point)
85%2.25x+125% (aggressive zone)
90%2.25x+125% (aggressive zone)
95%3.75xREJECTED (U_MAX reached)

This model ensures that when the vault capacity is ample, premiums are competitive. As utilization approaches 80%, premiums rise gradually. Above 80%, growth is exponential, protecting LPs from overexposure.

Vault Investment Model

LPs deposit USDC into Lumina's vaults. This USDC is automatically deposited into Aave V3 to generate a base yield (3-5% APY). Additionally, insurance premiums paid by policy buyers flow to the vault, increasing the value of LP shares.

The total yield for LPs is composed of:

The Kink Model also protects LPs: the higher the vault utilization, the higher the premiums charged, which translates to higher yield for liquidity providers. This creates a natural equilibrium where LPs are compensated proportionally to the risk they assume.

3.2 Policy Purchase Flow

The human, through their AI agent, initiates the coverage purchase. The complete on-chain flow is:

  1. Human instructs their AI agent with the desired parameters
  2. AI Agent calls Lumina's API to obtain a quote
  3. API calculates the premium using the kink model and returns the parameters
  4. Agent approves USDC to the CoverRouter and executes purchaseCover()
  5. CoverRouter (0xd5f8678A0F2149B6342F9014CCe6d743234Ca025) validates parameters and routes to the correct Shield
  6. Shield (BCS/EAS/Depeg/IL/Exploit) validates product-specific rules
  7. PolicyManager (0xCCA07e06762222AA27DEd58482DeD3d9a7d0162a) registers the policy on-chain
  8. Vault locks collateral 1:1 to back the coverage
  9. USDC is transferred from the agent to the vault (premium) and the 3% fee is charged

3.3 Liquidity Provider (LP) Flow

The human, through their AI agent, deposits USDC into one of the four vaults to earn yield:

  1. Human decides to deposit in a vault and communicates it to their agent
  2. Agent approves USDC and calls deposit() on the selected vault
  3. Vault receives the USDC and deposits it into Aave V3 (0xA238Dd80C259a72e81d7e4664a9801593F98d1c5)
  4. The LP receives soulbound shares (non-transferable) proportional to their deposit
  5. The shares accumulate yield from two sources: Aave V3 base rate (3-5% APY) + insurance premiums
  6. To withdraw, the LP initiates a cooldown period (37 to 372 days depending on the vault)
  7. After the cooldown, the LP can execute withdraw() and receive their USDC + accumulated yield
  8. A 3% performance fee is charged on the positive yield (profit) upon withdrawal

3.4 Contract Architecture Table

Contract Type Proxy Dependencies Address
CoverRouter Core UUPS All Shields, PolicyManager 0xd5f8...a025
PolicyManager Core UUPS Vaults, Shields 0xCCA0...162a
LuminaOracleV2 Oracle NOT upgradeable (Ownable) Chainlink feeds, Sequencer 0x87B5...5105
LuminaPhalaVerifier Oracle NOT upgradeable (Ownable, admin-curated worker EOA list) Phala worker network 0x468b...9B
VolatileShort Vault Vault UUPS Aave V3, USDC 0xbd44...880d
VolatileLong Vault Vault UUPS Aave V3, USDC 0xFee5...f904
StableShort Vault Vault UUPS Aave V3, USDC 0x429b...54fC
StableLong Vault Vault UUPS Aave V3, USDC 0x1778...321c
BTC Catastrophe Shield / ETH Apocalypse Shield Product UUPS Oracle, PolicyManager, VolatileShort 0x54CD...844e
DepegShield Product UUPS Oracle, PolicyManager, StableShort 0x71DB...8306
ILIndexCover Product UUPS Oracle, PolicyManager, VolatileShort 0x4196...4E0
ExploitShield Product UUPS Oracle, Phala worker ECDSA, PolicyManager 0xaE29...b38C
TimelockController Governance -- Gnosis Safe 0xd0De...747a

3.5 Strict 1:1 Collateralization

Every policy issued on Lumina is backed by collateral locked 1:1 in the corresponding vault. This means that if an agent purchases $50,000 of BCS coverage, the vault locks exactly $50,000 in USDC (deposited in Aave V3 as aUSDC) to guarantee the payout in case of a claim.

This model eliminates the undercapitalization risk that affects other DeFi insurance protocols operating with shared pool models. If vault utilization reaches 95% (U_MAX), no new policies are accepted until capacity is freed.

The 1:1 locked collateral does not remain idle. It is automatically deposited in Aave V3 where it generates base yield (3-5% APY) while remaining available to cover claims. This means that even capital committed to active policies is generating yield for LPs.

4. Insurance Products

4.1 BTC Catastrophe Shield (BCS)

Through their AI agent, users can protect their BTC positions against catastrophic market crashes. BTC Catastrophe Shield covers extreme scenarios: drops greater than 50% like the one during COVID (March 2020). Events like LUNA (May 2022, BTC -42%) or FTX (November 2022, BTC -26%) do NOT trigger this product because BTC drops were less than 50%.

ParameterValue
Product IDBTCCAT-001
Contract0x6E0A46B268e4aD9648CdAbD9A4b2B20B79E5ab21
TriggerDrop > 50% from purchase price
TRIGGER_DROP_BPS5000 (50% in basis points)
VerificationChainlink spot price verified via EIP-712 signed proof (LuminaOracleV2)
Deductible20%
PayoutBinary: 80% of coverage
Duration7 to 30 days
Waiting period1 hour (anti-front-running)
Covered assetsBTC only
MAX_PROOF_AGE30 minutes
Base rate15% annualized (1500 BPS)
Max allocation30% of vault (3000 BPS)
VaultVolatileShort (37 days cooldown)
Historical frequency~0.125 events/year (1 in 8 years)
Reference eventCOVID March 2020: BTC $9,100 → $3,800 (-58%)

4.1b ETH Apocalypse Shield (EAS)

Through their AI agent, users can protect their ETH positions against apocalyptic market crashes. ETH Apocalypse Shield covers the most extreme scenarios: drops greater than 60%. Only one event of this magnitude has occurred in the last 8 years (COVID, March 2020), when ETH dropped from $230 to $80 in 2 days. Events like China (May 2021, ETH -56%) or LUNA (June 2022, ETH -51%) do NOT trigger this product.

ParameterValue
Product IDETHAPOC-001
Contract0x70f1c92EFcFe55e8d460aAa6d626779536b15128
TriggerDrop > 60% from purchase price
TRIGGER_DROP_BPS6000 (60% in basis points)
VerificationChainlink spot price verified via EIP-712 signed proof (LuminaOracleV2)
Deductible20%
PayoutBinary: 80% of coverage
Duration7 to 30 days
Waiting period1 hour (anti-front-running)
Covered assetsETH only
MAX_PROOF_AGE30 minutes
Base rate20% annualized (2000 BPS)
Max allocation25% of vault (2500 BPS)
VaultVolatileLong (97 days cooldown)
Historical frequency~0.125 events/year (1 in 8 years)
Reference eventCOVID March 2020: ETH $230 → $80 (-65%)

Circuit Breaker

The contract implements a circuit breaker mechanism to protect the protocol during periods of extreme volatility:

Payout Example

Coverage: $50,000 in ETH Price at purchase: $2,000 Trigger price: $2,000 x 0.70 = $1,400 ETH drops to $1,350 → Trigger activated Gross payout: $50,000 x 80% = $40,000 Protocol fee (3%): $1,200 Net payout to agent: $38,800

4.2 Depeg Shield

The human, through their AI agent, can protect their stablecoin positions against loss of peg. Depeg Shield covers the scenario in which a stablecoin falls below $0.95, as occurred with USDC during the SVB crisis (March 2023, reaching $0.87).

ParameterValue
Product IDDEPEG-STABLE-001
Contract0x881f683291122c3A72bdD504F71ddCAf47d9AE0e
TriggerStablecoin price < $0.95
TRIGGER_PRICE95_000_000 (8 Chainlink decimals)
VerificationChainlink spot price verified via EIP-712 signed proof (LuminaOracleV2)
Duration14 to 365 days
Waiting period24 hours
Base rate24% annualized
Vault (short)StableShort (0x429b...54fC)
Vault (long)StableLong (0x1778...321c)

Deductibles and Payouts by Stablecoin

StablecoinDeductiblePayoutNet Payout (post 3% fee)Notes
DAI12%88% binary85.36% of coverageMakerDAO, moderate risk
USDT15%85% binary82.45% of coverageTether, centralized risk
USDC--EXCLUDED--Circular: Lumina settles in USDC

USDC is excluded from coverage because it would create a circular dependency: if USDC loses its peg, Lumina's payouts (which are made in USDC) would also lose value.

Duration Discount

Duration RangeDiscount FactorEffect
14 - 90 days1.00xNo discount
91 - 180 days0.90x10% discount on premium
181 - 365 days0.80x20% discount on premium

Duration discounts incentivize long-term policies, which benefits LPs by providing more predictable premium flows.

4.3 IL Index Cover

The human, through their AI agent, can protect their liquidity provider positions against impermanent loss. IL Index Cover uses the standard Uniswap V2 formula (50/50 pool) to calculate IL precisely and on-chain, with proportional payout based on the IL incurred.

ParameterValue
Product IDIL-INDEX-001
Contract0x01Df7f2953dce5be3afFb72CB9F059f3D3eE9e5a
TriggerIL > 2% at policy expiration
StyleEuropean-style (resolution only at expiration)
Resolution window48 hours post-expiration
Deductible2% (ratchet -- only covers IL above 2%)
Payout factor90%
IL cap13% (maximum payout = 11.7% of coverage)
Duration14 to 90 days
VaultVolatileShort (0xbd44...880d)

Impermanent Loss Formula (ILMath.sol)

// r = priceExpiry / pricePurchase // IL = 1 - (2 * sqrt(r)) / (1 + r) // Payout calculation: ilNet = max(0, IL% - 2%) // Ratchet deductible rawPayout = coverage x ilNet x 0.90 // Payout factor 90% maxPayout = coverage x 13% x 0.90 // = 11.7% of coverage payout = min(rawPayout, maxPayout)

The payout is proportional: the greater the net IL (after the deductible), the higher the payment, up to the cap of 11.7% of coverage.

Impermanent Loss Reference Table (ILMath.sol)

Price ChangePrice RatioGross ILNet IL (2% ded)Payout ($50K, 90%)
+/-10%0.90 / 1.100.14%0%$0
+/-20%0.80 / 1.200.56%0%$0
+/-22%0.78 / 1.220.68%0%$0
+/-25%0.75 / 1.251.03%0%$0
+/-30%0.70 / 1.301.57%0%$0
+/-35%0.65 / 1.352.22%0.22%$99
+/-40%0.60 / 1.403.02%1.02%$459
+/-50%0.50 / 1.505.72%3.72%$1,674
+/-60%0.40 / 1.609.27%7.27%$3,272
+/-75%0.25 / 1.7518.35%13%+ (capped)$5,850 (max)
+/-80%0.20 / 1.8022.54%13%+ (capped)$5,850 (max)

The maximum absolute payout is $5,850 per $50,000 of coverage (11.7% of coverage). IL is symmetric: a 50% increase and a 50% decrease produce the same IL (5.72%).

4.4 Exploit Shield

The human, through their AI agent, can protect their deposits in DeFi protocols against exploits, hacks, and smart contract vulnerabilities. Exploit Shield uses a dual trigger system to minimize false positives.

ParameterValue
Product IDEXPLOIT-SHIELD-001
Contract0x63D340AE7229BB464bC801f225651341ebcD3693
Dual trigger(1) Governance token -25% in 24h AND (2) Receipt token -30% for 4h OR contract paused
VerificationOracle (Chainlink spot price via EIP-712 signed proof) + Phala worker ECDSA signature verification (admin-curated worker list — not hardware attestation)
Deductible10%
PayoutBinary: 90% of coverage
Cap per wallet$50,000
Duration90 to 365 days
Waiting period14 days
VaultStableLong (0x1778...321c)

Dual Trigger System

The dual trigger requires that both conditions are met simultaneously:

  1. Primary trigger (Oracle): The governance token of the covered protocol must have dropped at least 25% in the last 24 hours, verified by Chainlink.
  2. Secondary trigger (Phala worker): At least one of these conditions: (a) the protocol's receipt token has dropped 30% or more for at least 4 consecutive hours, or (b) the protocol's main contract has been paused.

The secondary trigger verification is performed by the LuminaPhalaVerifier contract at 0x468b9D2E9043c80467B610bC290b698ae23adb9B via ECDSA signature verification of an authorized Phala worker. The authorized worker list is manually curated by the admin (Gnosis Safe). This is NOT on-chain SGX/TDX hardware attestation — it is an admin-curated list of EOAs assumed to sign from legitimate Phala environments.

Covered Protocols

ProtocolTierBase RateNotes
Compound IIITier 1LowerExtensively audited, low risk
Uniswap V3Tier 1LowerImmutable, low risk
MakerDAOTier 1LowerRobust governance
CurveTier 2HigherGreater complexity, moderate risk
MorphoTier 2HigherNewer protocol, moderate risk
Aave V3--EXCLUDEDCircular: Lumina deposits in Aave V3

Aave V3 is excluded because Lumina deposits vault funds into Aave V3 to generate yield. Covering an Aave V3 exploit would create a circular dependency: if Aave V3 is hacked, the funds to pay the claim would be compromised.

5. Dynamic Pricing Model (Kink Model)

5.1 Foundations

The Kink Model is a dynamic pricing system inspired by Aave and Compound's interest rate models, adapted for parametric insurance. Its dual objective is to guarantee permanent vault solvency and create a self-balancing market where supply (LP liquidity) and demand (agent policy purchases) find equilibrium naturally.

Unlike a fixed price, the Kink Model adjusts premium costs in real-time based on available capital in each vault. When liquidity is abundant, premiums are affordable. When capital is scarce, premiums increase dramatically, protecting LPs and attracting new capital.

5.2 Calculation Formula

The complete formula, extracted from PremiumMath.sol:

Premium = Coverage x P_base x RiskMult x DurationDiscount x M(U) x (Duration / 365)

Where M(U) is the utilization multiplier:

If U <= U_kink (80%): M(U) = 1 + (U / U_kink) x R_slope1 M(U) = 1 + (U / 0.80) x 0.5 If U > U_kink (80%): M(U) = 1 + R_slope1 + ((U - U_kink) / (1 - U_kink)) x R_slope2 M(U) = 1 + 0.5 + ((U - 0.80) / 0.20) x 3.0 // If U > 95%: Policy REJECTED

On-chain parameters (PremiumMath.sol):

ParameterValueSolidity Variable
Kink Point80%U_KINK = 8000 bps
Pre-kink slope0.5R_SLOPE1_WAD = 5e17
Post-kink slope3.0R_SLOPE2_WAD = 3e18
Max utilization95%U_MAX = 9500 bps
Internal precision1e18WAD

Multiplier table:

UtilizationM(U)Effect
0%1.00xBase premium
20%1.13x+13%
40%1.25x+25%
60%1.38x+38%
80%1.50x+50% (kink point)
85%2.25x+125% (aggressive zone)
90%2.25x+125%
95%3.75xREJECTED

Numerical example: An agent buys BTC Catastrophe Shield for $50,000 coverage, 14 days, with U=50%:

P_base = 1500 bps (15% annualized) RiskMult = 1.0x (ETH base) DurationDiscount = 1.0x M(U) = 1 + (0.50/0.80) x 0.5 = 1.3125x Premium = 50,000 x 0.15 x 1.0 x 1.0 x 1.3125 x (14/365) = $377.57

Same scenario with U=85%:

M(U) = 1 + 0.5 + ((0.85-0.80)/0.20) x 3.0 = 2.25x Premium = 50,000 x 0.15 x 1.0 x 1.0 x 2.25 x (14/365) = $647.26

5.3 Vault Utilization

Utilization (U) is defined as:

U = Capital locked in active policies / Total vault assets

When an agent purchases a policy, corresponding capital is locked. When the policy expires or executes, capital is released.

5.4 Self-Balancing Mechanism

The Kink Model creates a market that self-balances through capital scarcity:

When insurance demand is high and vaults have little available liquidity:

When there is abundant liquidity and low demand:

5.5 Three Operating Zones

Green Zone (0% to 60%): Abundant capital. Affordable premiums for agents. Moderate LP yield (Aave base + low premiums). Ideal conditions for buying insurance.

Yellow Zone (60% to 80%): Growing demand. Premiums begin rising gradually. Balance between affordable coverage and growing LP returns. The market approaches the inflection point.

Red Zone (80% to 95%): Scarce capital. Premiums surge exponentially. High LP yield attracts new depositors. Discourages new policies until liquidity returns. The protocol actively protects itself.

Blocked Zone (>95%): No new policies accepted. The vault protects itself from insolvency. Only existing policy execution and new deposits allowed.

5.6 Mathematical Solvency Guarantee

The model guarantees solvency through three mechanisms:

  1. 1:1 Collateralization: Each policy has dedicated USDC backing
  2. Exponential curve: Premiums become prohibitive before reaching the limit, naturally discouraging over-issuance
  3. Absolute cap (95%): Automatic rejection of new policies — it is impossible for the vault to accept more than it can cover

5.7 Impact Per Product

ProductP_baseVaultDurationTrigger
BTC Catastrophe Shield1500 bps (15%)Volatile Short/Long7-30 days>50% BTC drop
ETH Apocalypse Shield2000 bps (20%)Volatile Short/Long7-30 days>60% ETH drop
Depeg Shield250 bps (2.5%)Stable Short/Long14-365 daysStablecoin <$0.95
IL Index Cover850 bps (8.5%)Volatile Short/Long14-90 daysIL >2% at expiry
Exploit Shield400 bps (4.0%)Stable Long90-365 daysDual trigger (oracle + Phala worker ECDSA)

All products share the same Kink Model (same M(U) curve) but differ in their P_base and risk factors.

5.8 Protocol Fee Structure

EventFeeCalculationRecipient
Policy purchase3%3% of premiumProtocol (97% to vault)
Policy execution3%3% of payoutProtocol (97% to agent)
Vault withdrawal with profit3%3% of profitProtocol

Complete example:

1. Agent buys BCS $50,000, premium = $280.82 - Protocol fee: $280.82 x 3% = $8.42 - Vault receives: $272.40 2. Claim executes, payout = $40,000 (80% coverage) - Protocol fee: $40,000 x 3% = $1,200 - Agent receives: $38,800 3. LP deposited $10,000, withdraws $10,500 (profit $500) - Performance fee: $500 x 3% = $15 - LP receives: $10,485 - If LP withdraws $9,800 (loss): fee = $0

Fee receiver: 0x2b4D825417f568231e809E31B9332ED146760337

6. Vaults and Yield

6.1 The Four Vaults

Lumina operates with four specialized vaults, each with a different cooldown period and assigned insurance products:

VaultCooldownAssigned ProductsEstimated APYAddress
VolatileShort 37 days BCS + EAS + IL Index Cover 4 - 17% 0xbd44...880d
VolatileLong 97 days Long IL + BCS/EAS overflow 4 - 21% 0xFee5...f904
StableShort 97 days Short depeg 3 - 9% 0x429b...54fC
StableLong 372 days Long depeg + Exploit Shield 3 - 10% 0x1778...321c

Vaults with longer cooldowns offer higher estimated APY because they assume greater risk (longer duration policies, less frequent but higher impact events).

6.2 Yield Composition

The yield that LPs receive comes from two sources:

  1. Aave V3 base yield (3-5% APY): USDC deposited in the vaults is automatically deposited into Aave V3 Pool (0xA238Dd80C259a72e81d7e4664a9801593F98d1c5), generating passive yield in the form of aUSDC (0x4e65fE4DbA92790696d040ac24Aa414708F5c0AB).
  2. Insurance premiums: When an agent purchases a policy, 97% of the premium (after the 3% protocol fee) is distributed to the corresponding vault, increasing the value of LP shares.

6.3 Soulbound Shares (Non-Transferable)

Lumina's vault shares are soulbound: they cannot be transferred, sold, or used as collateral in other protocols. This design decision prevents:

The LP can only interact with their shares through deposit() and withdraw() (after the cooldown).

In future versions of the protocol, the implementation of an exclusive Lumina secondary market will be evaluated, where LPs can trade their positions. This market would operate under rules controlled by the protocol, maintaining vault stability while offering greater flexibility to participants.

6.4 Dedicated Collateral per Policy

Thanks to the 1:1 collateralization, each policy has its own dedicated backing in the vault. Even in the case of multiple simultaneous claims, each payment is guaranteed by already locked collateral. The vault priority system only applies to the allocation of new policies, not to the payment of existing claims.

7. Oracle and Verification

7.1 LuminaOracle

The LuminaOracleV2 contract (0x87B576f688bE0E1d7d23A299f55b475658215105) is the central data verification component of the protocol. It is NOT upgradeable (Ownable, no UUPS proxy). It operates with an N-of-M multisig scheme that can be expanded according to decentralization needs.

It currently operates in 1-of-1 mode (expandable to N-of-M). The oracle verifies Chainlink feeds, implements a 1-hour sequencer check for Base L2, and validates data freshness before accepting it as input for triggers.

7.2 Chainlink Feeds Table

FeedAddressStalenessProducts that use it
ETH/USD 0x71041dddad3595F9CEd3DcCFBe3D1F4b0a16Bb70 1,200s (20m) BCS, EAS, IL Index Cover
BTC/USD 0xCCADC697c55bbB68dc5bCdf8d3CBe83CdD4E071E 1,200s (20m) BCS, EAS
USDC/USD 0x7e860098F58bBFC8648a4311b374B1D669a2bc6B 86,400s (24h) Internal reference
USDT/USD 0xf19d560eB8d2ADf07BD6D13ed03e1D11215721F9 86,400s (24h) Depeg Shield
DAI/USD 0x591e79239a7d679378eC8c847e5038150364C78F 86,400s (24h) Depeg Shield

Volatile asset feeds (ETH, BTC) have a staleness of 20 minutes, while stablecoin feeds have a staleness of 24 hours, reflecting the lower expected volatility.

7.3 Multisig Verification: verifyPackedMultisig

The signature verification system uses a concatenated signature scheme ordered by address. Each authorized signer produces an ECDSA signature over the oracle data, and the signatures are concatenated in ascending order of signer address.

Signatures = signature_signer1 ++ signature_signer2 ++ ... ++ signature_signerN (where address(signer1) < address(signer2) < ... < address(signerN))

The verifyPackedMultisig function deserializes the signatures, verifies that each one comes from an authorized signer, that they are in the correct order (to prevent duplicates), and that the required N-of-M threshold is reached.

7.4 LuminaPhalaVerifier for Exploit Shield

The LuminaPhalaVerifier contract (0x468b9D2E9043c80467B610bC290b698ae23adb9B) verifies the secondary trigger of Exploit Shield via ECDSA signature verification of authorized Phala workers from an admin-curated list. It is NOT upgradeable (Ownable, admin-curated worker EOA list). It does NOT verify remote SGX/TDX attestations on-chain. It does NOT verify hardware enclave signatures on-chain. What it DOES: ecrecover(dataHash, signature) and verifies the recovered address is in _authorizedWorkers, a list maintained by the owner (Gnosis Safe).

This is critical for Exploit Shield because exploits can involve oracle manipulation. By using an independent verifier, Lumina adds a second confirmation layer, though the trust assumption is that the admin only adds workers whose keys were verified off-chain as originating from legitimate Phala enclaves.

8. Business Model

8.1 Monetization

Lumina Protocol generates revenue through a simple and transparent dual fee model:

EventFeeDescription
Policy purchase (premium)3%3% of the premium goes to the protocol, 97% to the vault
Claim payout3%3% of the payout goes to the protocol, 97% to the agent
Vault withdrawal3% performanceOn the positive yield (profit over the original deposit)

8.2 Fee Receiver

All protocol fees are sent to the address:

Protocol Fee Receiver: 0x2b4D825417f568231e809E31B9332ED146760337

This address is controlled by the TimelockController with a 48-hour delay, ensuring transparency and auditability.

8.3 Performance Fee on Vault Withdrawals

A 3% performance fee is charged only on the positive yield (profit) when withdrawing funds from vaults. The fee is calculated on the difference between the withdrawn amount and the cost basis (original deposit). If there is no profit, no fee is charged.

Example: An LP deposits $10,000 USDC. After accumulating yield, they withdraw $10,500 USDC. The profit is $500 ($10,500 - $10,000). The performance fee is 3% × $500 = $15. The LP receives a net of $10,485.

This structure aligns the protocol's incentives with those of the LPs: Lumina only charges when the LP actually makes money.

8.4 Model Scalability

Lumina's business model is inherently scalable:

This flywheel is reinforced with each new participant, creating a positive network effect.

9. Security

9.1 Smart Contracts

The protocol's 13 contracts have been developed with Solidity security best practices:

9.2 Governance

The protocol's governance implements a layered security model:

9.3 API and Backend

The API connecting AI agents to the contracts implements:

9.4 Oracle

Oracle security is based on three layers:

9.5 Session Approval

For purchases made through relayers, the protocol requires session approval: the buyer must sign an explicit consent authorizing the relayer to execute the purchase on their behalf. This prevents a relayer from purchasing unauthorized policies with the user's funds.

9.6 OWS Integration

Lumina integrates the OWS (Open Wallet Standard) to facilitate secure interaction between AI agents and wallets. This integration allows agents to operate with granular and revocable permissions, without the need to expose private keys.

10. Actuarial Data

10.1 BTC Catastrophe Shield / ETH Apocalypse Shield -- Expected Value for LPs

MetricValue
Estimated annual premiums~$54,000
Estimated annual claims~$34,000
Annual net profit+$20,000
Margin38%

The 38% margin reflects the fat-tail nature of BCS/EAS risk: catastrophic events are infrequent but severe. In years without events, the margin is significantly higher. In years with multiple events, the margin can be negative.

10.2 Depeg Shield -- Expected Value for LPs

MetricValue
Estimated annual premiums~$85,000
Estimated annual claims~$32,000
Annual net profit+$52,000
Margin62%

Depeg Shield has the highest premium volume and a healthy 62% margin. Depeg events are rare (1-2 times per decade for major stablecoins) but when they occur they are systemic.

10.3 IL Index Cover -- Expected Value for LPs

MetricValue
Estimated annual premiumsCalculated by model
Annual net profit+$37,000
Margin60%

IL Index Cover's proportional payout model and the 2% deductible create a favorable margin. Most policies expire with IL below 2%, generating premiums without claims.

10.4 Exploit Shield -- Expected Value for LPs

MetricValue
Estimated annual premiumsCalculated by model
Annual net profit+$2,000
Margin65%

Exploit Shield has the lowest absolute volume but the highest percentage margin. The dual trigger, the 14-day waiting period, and the $50,000 per wallet cap significantly limit exposure.

10.5 Worst-Case Systemic Scenario

MetricValue
Maximum estimated loss-$438,000
Percentage of total TVL ($2M)-21.9%
Estimated recovery time10-12 months

A systemic scenario (market crash + depeg + exploit simultaneously) could generate a loss of 21.9% of TVL. Recovery is projected at 10-12 months through premium accumulation. This scenario is extremely unlikely given the independent correlation groups between products.

11. Risks

RiskProbabilityImpactMitigation
Smart contract bug Low Critical 119 tests, CEI, ReentrancyGuard, Solidity 0.8.20, UUPS proxies for upgrades
Oracle manipulation Low High EIP-712 signed proofs (replay protection), multisig, sequencer check 1h, MAX_PROOF_AGE 30min
Flash loan attack Low High Waiting period 1h, 1:1 collateral, Chainlink staleness 20 min
Base L2 sequencer offline Medium Medium 1-hour sequencer check, policies do not expire during downtime
Stale Chainlink price Medium Medium Staleness checks per feed (1200s volatile, 86400s stable), automatic rejection
Vault undercapitalization Very Low Critical 1:1 collateral, U_MAX 95%, automatic rejection of new policies upon reaching limit
Aave V3 exploit Very Low Critical Accepted risk; Aave V3 is the most audited DeFi protocol; not covered (circular)
USDC depeg Very Low Critical Accepted denomination risk; USDC not covered (circular)
Simultaneous multiple crash Very Low High Vaults segregated by risk type, priority waterfall, correlation groups
Governance attack Very Low Critical TimelockController 48h + Gnosis Safe 1-of-1 (planned 2-of-3), delay allows community reaction

12. Roadmap

Phase 1 -- Launch (Current, Q1 2026)

Phase 2 -- Product Expansion (Q2-Q3 2026)

Phase 3 -- Secondary Market and Token (Q4 2026 - Q1 2027)

Phase 4 -- DAO and Multi-Chain (Q2-Q4 2027)

13. Legal Framework

13.1 Protocol Structure

Lumina Protocol operates as a decentralized protocol deployed on Base L2 (Chain 8453). The smart contracts are immutable in their core logic, with upgrade capability through UUPS proxies (for core contracts, vaults and shields) controlled by a TimelockController with a 48-hour delay and a Gnosis Safe 1-of-1 (planned 2-of-3). Oracle contracts (LuminaOracleV2, LuminaPhalaVerifier) are NOT upgradeable (Ownable).

The protocol does not custody user funds. LP deposits are maintained in Aave V3, and claim payouts are executed directly from the vaults to the agents' wallets. The protocol only charges fees as an intermediary.

13.2 Product Nature

Lumina offers parametric protection products based on mathematically verifiable on-chain triggers. Lumina's products do not constitute insurance in the traditional regulatory sense: they do not require an insurer's license, do not involve subjective claim evaluation, and do not depend on judicial processes for dispute resolution.

Payments are automatic, deterministic, and verifiable by any third party that inspects the blockchain.

13.3 Regulatory Risks

The DeFi regulatory landscape continues to evolve. There are risks that future jurisdictions may classify on-chain parametric products as regulated insurance products, which could require licenses, additional regulatory compliance, or geographic restrictions.

The team actively monitors regulatory developments in major jurisdictions (US, EU, UK, Singapore) and is prepared to adapt the protocol's structure as necessary.

13.4 Disclaimer

THIS DOCUMENT IS FOR INFORMATIONAL PURPOSES ONLY AND DOES NOT CONSTITUTE FINANCIAL, LEGAL, OR INVESTMENT ADVICE. Participation in Lumina Protocol, whether as a coverage buyer or as a liquidity provider, involves significant risks including but not limited to: total loss of deposited capital, smart contract risks, oracle risks, regulatory risk, and market risk.

Estimated yields (APY) are projections based on actuarial models and historical market conditions. They do not constitute a guarantee of future performance. Participants should conduct their own due diligence and consult with professional advisors before interacting with the protocol.

Lumina Protocol is provided "AS-IS" without warranties of any kind, express or implied.

14. Production Addresses

Network: Base L2 (Chain 8453)  |  Deployment date: March 29, 2026

Governance

ContractAddress
TimelockController0xd0De5D53dCA2D96cdE7FAf540BA3f3a44fdB747a
Gnosis Safe 1-of-1 (planned 2-of-3)0xa17e8b7f985022BC3c607e9c4858A1C264b33cFD

Core

ContractAddress
CoverRouter0xd5f8678A0F2149B6342F9014CCe6d743234Ca025
PolicyManager0xCCA07e06762222AA27DEd58482DeD3d9a7d0162a
LuminaOracleV20x87B576f688bE0E1d7d23A299f55b475658215105
LuminaPhalaVerifier0x468b9D2E9043c80467B610bC290b698ae23adb9B

Vaults

VaultCooldownAddress
VolatileShort37 days0xbd44547581b92805aAECc40EB2809352b9b2880d
VolatileLong97 days0xFee5d6DAdA0A41407e9EA83d4F357DA6214Ff904
StableShort97 days0x429b6d7d6a6d8A62F616598349Ef3C251e2d54fC
StableLong372 days0x1778240E1d69BEBC8c0988BF1948336AA0Ea321c

Shields (Products)

ShieldAddress
BTC Catastrophe Shield (BCS)0x6E0A46B268e4aD9648CdAbD9A4b2B20B79E5ab21
ETH Apocalypse Shield (EAS)0x70f1c92EFcFe55e8d460aAa6d626779536b15128
DepegShield0x881f683291122c3A72bdD504F71ddCAf47d9AE0e
ILIndexCover0x01Df7f2953dce5be3afFb72CB9F059f3D3eE9e5a
ExploitShield0x63D340AE7229BB464bC801f225651341ebcD3693

External Contracts

ContractAddress
USDC (Circle)0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Aave V3 Pool0xA238Dd80C259a72e81d7e4664a9801593F98d1c5
aUSDC (Aave)0x4e65fE4DbA92790696d040ac24Aa414708F5c0AB
Protocol Fee Receiver0x2b4D825417f568231e809E31B9332ED146760337

Operational Keys

RoleAddress
Deployer / Owner0xe585e76A0b8CbbC2d10b1110a9ac3F4c11dBfDa8
Oracle Signer0x933b15dd4F42bd2EE2794C1D188882aBCCDa977E
Relayer0xEdA7774A071a8DDa0c8c98037Cb542A1ee6aC7Eb

Chainlink Feeds

FeedAddressStaleness
ETH/USD0x71041dddad3595F9CEd3DcCFBe3D1F4b0a16Bb701,200s (20m)
BTC/USD0xCCADC697c55bbB68dc5bCdf8d3CBe83CdD4E071E1,200s (20m)
USDC/USD0x7e860098F58bBFC8648a4311b374B1D669a2bc6B86,400s (24h)
USDT/USD0xf19d560eB8d2ADf07BD6D13ed03e1D11215721F986,400s (24h)
DAI/USD0x591e79239a7d679378eC8c847e5038150364C78F86,400s (24h)

15. Correlation Groups

Lumina's products are designed to cover risks with low correlation between them, limiting the possibility of simultaneous claims:

Correlation GroupAffected ProductsTriggerJoint Probability
ETH/BTC crash BCS, EAS, IL Index Cover Drop >30% in volatile assets Medium
Stablecoin crisis Depeg Shield DAI or USDT depeg below $0.95 Low
Protocol exploit Exploit Shield Hack or vulnerability in covered protocol Low
Systemic event BCS + EAS + Depeg + IL + Exploit Complete DeFi ecosystem collapse Very Low

Correlation Analysis

16. API and Agents

16.1 General Description

The human, through their AI agent, interacts with Lumina Protocol through a REST API that exposes the protocol's core functionalities. The API allows quoting, purchasing policies, checking status, and verifying triggers without the need to interact directly with the contracts.

Main endpoints:

EndpointMethodDescription
/quotePOSTGet a quote for a policy
/purchasePOSTExecute policy purchase via relayer
/policy/:idGETCheck policy status
/vault/:name/statsGETGet vault statistics
/vault/:name/depositPOSTDeposit USDC into a vault
/vault/:name/withdrawPOSTInitiate withdrawal from a vault
/oracle/price/:assetGETQuery current price of an asset

16.2 SKILL Reference

The complete API documentation and instructions for configuring agents can be found in the protocol's SKILL file: LUMINA-SKILL.txt (Version 3.0, March 2026).

The SKILL file contains:

16.3 Agent Setup Flow

  1. The human configures their agent with Lumina's API URL and their wallet credentials
  2. The agent queries /quote with the desired parameters (product, asset, amount, duration)
  3. The agent evaluates the quote and decides whether to proceed
  4. The agent approves USDC to the CoverRouter via approve()
  5. The agent executes /purchase or directly calls CoverRouter.purchaseCover()
  6. The policy is registered on-chain in the PolicyManager
  7. The agent can monitor their policy status via /policy/:id

17. Conclusion

Lumina Protocol represents the first parametric insurance infrastructure designed exclusively for the agentic economy. By combining verifiable mathematical triggers, decentralized oracles, strict 1:1 collateralization, and yield generated through Aave V3, the protocol offers a complete solution for the critical risks that AI agents face in DeFi.

Key Protocol Strengths

Vision

Lumina aspires to become the standard insurance infrastructure for the agentic economy. As millions of AI agents manage trillions of dollars in DeFi assets, the need for programmatic, instant, and reliable coverage will be as fundamental as today's lending and trading infrastructure.

With the roadmap toward additional products (Gas Spike, Slippage, Bridge Shield), an NFT policy marketplace, native token, and DAO governance, Lumina positions itself as the reference protocol in decentralized insurance for the new generation of autonomous participants in the DeFi ecosystem.

Lumina Protocol -- Parametric insurance for the agentic economy

Base L2 | USDC | Aave V3 | 2026