On-Chain Parametric Insurance for Artificial Intelligence Agents
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.
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.
| 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 |
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:
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.
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:
Where:
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.
| Utilization (U) | Multiplier M(U) | Effect on Premium |
|---|---|---|
| 0% | 1.00x | Base 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.75x | REJECTED (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.
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.
The human, through their AI agent, initiates the coverage purchase. The complete on-chain flow is:
purchaseCover()0xd5f8678A0F2149B6342F9014CCe6d743234Ca025) validates parameters and routes to the correct Shield0xCCA07e06762222AA27DEd58482DeD3d9a7d0162a) registers the policy on-chainThe human, through their AI agent, deposits USDC into one of the four vaults to earn yield:
deposit() on the selected vault0xA238Dd80C259a72e81d7e4664a9801593F98d1c5)withdraw() and receive their USDC + accumulated yield| 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 |
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.
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%.
| Parameter | Value |
|---|---|
| Product ID | BTCCAT-001 |
| Contract | 0x6E0A46B268e4aD9648CdAbD9A4b2B20B79E5ab21 |
| Trigger | Drop > 50% from purchase price |
| TRIGGER_DROP_BPS | 5000 (50% in basis points) |
| Verification | Chainlink spot price verified via EIP-712 signed proof (LuminaOracleV2) |
| Deductible | 20% |
| Payout | Binary: 80% of coverage |
| Duration | 7 to 30 days |
| Waiting period | 1 hour (anti-front-running) |
| Covered assets | BTC only |
| MAX_PROOF_AGE | 30 minutes |
| Base rate | 15% annualized (1500 BPS) |
| Max allocation | 30% of vault (3000 BPS) |
| Vault | VolatileShort (37 days cooldown) |
| Historical frequency | ~0.125 events/year (1 in 8 years) |
| Reference event | COVID March 2020: BTC $9,100 → $3,800 (-58%) |
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.
| Parameter | Value |
|---|---|
| Product ID | ETHAPOC-001 |
| Contract | 0x70f1c92EFcFe55e8d460aAa6d626779536b15128 |
| Trigger | Drop > 60% from purchase price |
| TRIGGER_DROP_BPS | 6000 (60% in basis points) |
| Verification | Chainlink spot price verified via EIP-712 signed proof (LuminaOracleV2) |
| Deductible | 20% |
| Payout | Binary: 80% of coverage |
| Duration | 7 to 30 days |
| Waiting period | 1 hour (anti-front-running) |
| Covered assets | ETH only |
| MAX_PROOF_AGE | 30 minutes |
| Base rate | 20% annualized (2000 BPS) |
| Max allocation | 25% of vault (2500 BPS) |
| Vault | VolatileLong (97 days cooldown) |
| Historical frequency | ~0.125 events/year (1 in 8 years) |
| Reference event | COVID March 2020: ETH $230 → $80 (-65%) |
The contract implements a circuit breaker mechanism to protect the protocol during periods of extreme volatility:
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).
| Parameter | Value |
|---|---|
| Product ID | DEPEG-STABLE-001 |
| Contract | 0x881f683291122c3A72bdD504F71ddCAf47d9AE0e |
| Trigger | Stablecoin price < $0.95 |
| TRIGGER_PRICE | 95_000_000 (8 Chainlink decimals) |
| Verification | Chainlink spot price verified via EIP-712 signed proof (LuminaOracleV2) |
| Duration | 14 to 365 days |
| Waiting period | 24 hours |
| Base rate | 24% annualized |
| Vault (short) | StableShort (0x429b...54fC) |
| Vault (long) | StableLong (0x1778...321c) |
| Stablecoin | Deductible | Payout | Net Payout (post 3% fee) | Notes |
|---|---|---|---|---|
| DAI | 12% | 88% binary | 85.36% of coverage | MakerDAO, moderate risk |
| USDT | 15% | 85% binary | 82.45% of coverage | Tether, 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 Range | Discount Factor | Effect |
|---|---|---|
| 14 - 90 days | 1.00x | No discount |
| 91 - 180 days | 0.90x | 10% discount on premium |
| 181 - 365 days | 0.80x | 20% discount on premium |
Duration discounts incentivize long-term policies, which benefits LPs by providing more predictable premium flows.
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.
| Parameter | Value |
|---|---|
| Product ID | IL-INDEX-001 |
| Contract | 0x01Df7f2953dce5be3afFb72CB9F059f3D3eE9e5a |
| Trigger | IL > 2% at policy expiration |
| Style | European-style (resolution only at expiration) |
| Resolution window | 48 hours post-expiration |
| Deductible | 2% (ratchet -- only covers IL above 2%) |
| Payout factor | 90% |
| IL cap | 13% (maximum payout = 11.7% of coverage) |
| Duration | 14 to 90 days |
| Vault | VolatileShort (0xbd44...880d) |
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.
| Price Change | Price Ratio | Gross IL | Net IL (2% ded) | Payout ($50K, 90%) |
|---|---|---|---|---|
| +/-10% | 0.90 / 1.10 | 0.14% | 0% | $0 |
| +/-20% | 0.80 / 1.20 | 0.56% | 0% | $0 |
| +/-22% | 0.78 / 1.22 | 0.68% | 0% | $0 |
| +/-25% | 0.75 / 1.25 | 1.03% | 0% | $0 |
| +/-30% | 0.70 / 1.30 | 1.57% | 0% | $0 |
| +/-35% | 0.65 / 1.35 | 2.22% | 0.22% | $99 |
| +/-40% | 0.60 / 1.40 | 3.02% | 1.02% | $459 |
| +/-50% | 0.50 / 1.50 | 5.72% | 3.72% | $1,674 |
| +/-60% | 0.40 / 1.60 | 9.27% | 7.27% | $3,272 |
| +/-75% | 0.25 / 1.75 | 18.35% | 13%+ (capped) | $5,850 (max) |
| +/-80% | 0.20 / 1.80 | 22.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%).
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.
| Parameter | Value |
|---|---|
| Product ID | EXPLOIT-SHIELD-001 |
| Contract | 0x63D340AE7229BB464bC801f225651341ebcD3693 |
| Dual trigger | (1) Governance token -25% in 24h AND (2) Receipt token -30% for 4h OR contract paused |
| Verification | Oracle (Chainlink spot price via EIP-712 signed proof) + Phala worker ECDSA signature verification (admin-curated worker list — not hardware attestation) |
| Deductible | 10% |
| Payout | Binary: 90% of coverage |
| Cap per wallet | $50,000 |
| Duration | 90 to 365 days |
| Waiting period | 14 days |
| Vault | StableLong (0x1778...321c) |
The dual trigger requires that both conditions are met simultaneously:
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.
| Protocol | Tier | Base Rate | Notes |
|---|---|---|---|
| Compound III | Tier 1 | Lower | Extensively audited, low risk |
| Uniswap V3 | Tier 1 | Lower | Immutable, low risk |
| MakerDAO | Tier 1 | Lower | Robust governance |
| Curve | Tier 2 | Higher | Greater complexity, moderate risk |
| Morpho | Tier 2 | Higher | Newer protocol, moderate risk |
| Aave V3 | -- | EXCLUDED | Circular: 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.
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.
The complete formula, extracted from PremiumMath.sol:
Where M(U) is the utilization multiplier:
On-chain parameters (PremiumMath.sol):
| Parameter | Value | Solidity Variable |
|---|---|---|
| Kink Point | 80% | U_KINK = 8000 bps |
| Pre-kink slope | 0.5 | R_SLOPE1_WAD = 5e17 |
| Post-kink slope | 3.0 | R_SLOPE2_WAD = 3e18 |
| Max utilization | 95% | U_MAX = 9500 bps |
| Internal precision | 1e18 | WAD |
Multiplier table:
| Utilization | M(U) | Effect |
|---|---|---|
| 0% | 1.00x | Base 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.75x | REJECTED |
Numerical example: An agent buys BTC Catastrophe Shield for $50,000 coverage, 14 days, with U=50%:
Same scenario with U=85%:
Utilization (U) is defined as:
allocatedAssets in BaseVault.sol)totalAssets() in BaseVault.sol)When an agent purchases a policy, corresponding capital is locked. When the policy expires or executes, capital is released.
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:
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.
The model guarantees solvency through three mechanisms:
| Product | P_base | Vault | Duration | Trigger |
|---|---|---|---|---|
| BTC Catastrophe Shield | 1500 bps (15%) | Volatile Short/Long | 7-30 days | >50% BTC drop |
| ETH Apocalypse Shield | 2000 bps (20%) | Volatile Short/Long | 7-30 days | >60% ETH drop |
| Depeg Shield | 250 bps (2.5%) | Stable Short/Long | 14-365 days | Stablecoin <$0.95 |
| IL Index Cover | 850 bps (8.5%) | Volatile Short/Long | 14-90 days | IL >2% at expiry |
| Exploit Shield | 400 bps (4.0%) | Stable Long | 90-365 days | Dual 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.
| Event | Fee | Calculation | Recipient |
|---|---|---|---|
| Policy purchase | 3% | 3% of premium | Protocol (97% to vault) |
| Policy execution | 3% | 3% of payout | Protocol (97% to agent) |
| Vault withdrawal with profit | 3% | 3% of profit | Protocol |
Complete example:
Fee receiver: 0x2b4D825417f568231e809E31B9332ED146760337
Lumina operates with four specialized vaults, each with a different cooldown period and assigned insurance products:
| Vault | Cooldown | Assigned Products | Estimated APY | Address |
|---|---|---|---|---|
| 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).
The yield that LPs receive comes from two sources:
0xA238Dd80C259a72e81d7e4664a9801593F98d1c5), generating passive yield in the form of aUSDC (0x4e65fE4DbA92790696d040ac24Aa414708F5c0AB).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.
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.
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.
| Feed | Address | Staleness | Products 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.
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.
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.
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.
Lumina Protocol generates revenue through a simple and transparent dual fee model:
| Event | Fee | Description |
|---|---|---|
| Policy purchase (premium) | 3% | 3% of the premium goes to the protocol, 97% to the vault |
| Claim payout | 3% | 3% of the payout goes to the protocol, 97% to the agent |
| Vault withdrawal | 3% performance | On the positive yield (profit over the original deposit) |
All protocol fees are sent to the address:
This address is controlled by the TimelockController with a 48-hour delay, ensuring transparency and auditability.
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.
Lumina's business model is inherently scalable:
This flywheel is reinforced with each new participant, creating a positive network effect.
The protocol's 13 contracts have been developed with Solidity security best practices:
The protocol's governance implements a layered security model:
0xd0De5D53dCA2D96cdE7FAf540BA3f3a44fdB747a): 48-hour delay for all administrative operations. Any change to critical parameters requires a waiting period that allows LPs to react.0xa17e8b7f985022BC3c607e9c4858A1C264b33cFD): Currently 1-of-1 signer. Planned upgrade to require at least 2 of 3 authorized signers.The API connecting AI agents to the contracts implements:
Oracle security is based on three layers:
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.
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.
| Metric | Value |
|---|---|
| Estimated annual premiums | ~$54,000 |
| Estimated annual claims | ~$34,000 |
| Annual net profit | +$20,000 |
| Margin | 38% |
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.
| Metric | Value |
|---|---|
| Estimated annual premiums | ~$85,000 |
| Estimated annual claims | ~$32,000 |
| Annual net profit | +$52,000 |
| Margin | 62% |
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.
| Metric | Value |
|---|---|
| Estimated annual premiums | Calculated by model |
| Annual net profit | +$37,000 |
| Margin | 60% |
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.
| Metric | Value |
|---|---|
| Estimated annual premiums | Calculated by model |
| Annual net profit | +$2,000 |
| Margin | 65% |
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.
| Metric | Value |
|---|---|
| Maximum estimated loss | -$438,000 |
| Percentage of total TVL ($2M) | -21.9% |
| Estimated recovery time | 10-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.
| Risk | Probability | Impact | Mitigation |
|---|---|---|---|
| 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 |
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.
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.
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.
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.
Network: Base L2 (Chain 8453) | Deployment date: March 29, 2026
| Contract | Address |
|---|---|
| TimelockController | 0xd0De5D53dCA2D96cdE7FAf540BA3f3a44fdB747a |
| Gnosis Safe 1-of-1 (planned 2-of-3) | 0xa17e8b7f985022BC3c607e9c4858A1C264b33cFD |
| Contract | Address |
|---|---|
| CoverRouter | 0xd5f8678A0F2149B6342F9014CCe6d743234Ca025 |
| PolicyManager | 0xCCA07e06762222AA27DEd58482DeD3d9a7d0162a |
| LuminaOracleV2 | 0x87B576f688bE0E1d7d23A299f55b475658215105 |
| LuminaPhalaVerifier | 0x468b9D2E9043c80467B610bC290b698ae23adb9B |
| Vault | Cooldown | Address |
|---|---|---|
| VolatileShort | 37 days | 0xbd44547581b92805aAECc40EB2809352b9b2880d |
| VolatileLong | 97 days | 0xFee5d6DAdA0A41407e9EA83d4F357DA6214Ff904 |
| StableShort | 97 days | 0x429b6d7d6a6d8A62F616598349Ef3C251e2d54fC |
| StableLong | 372 days | 0x1778240E1d69BEBC8c0988BF1948336AA0Ea321c |
| Shield | Address |
|---|---|
| BTC Catastrophe Shield (BCS) | 0x6E0A46B268e4aD9648CdAbD9A4b2B20B79E5ab21 |
| ETH Apocalypse Shield (EAS) | 0x70f1c92EFcFe55e8d460aAa6d626779536b15128 |
| DepegShield | 0x881f683291122c3A72bdD504F71ddCAf47d9AE0e |
| ILIndexCover | 0x01Df7f2953dce5be3afFb72CB9F059f3D3eE9e5a |
| ExploitShield | 0x63D340AE7229BB464bC801f225651341ebcD3693 |
| Contract | Address |
|---|---|
| USDC (Circle) | 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 |
| Aave V3 Pool | 0xA238Dd80C259a72e81d7e4664a9801593F98d1c5 |
| aUSDC (Aave) | 0x4e65fE4DbA92790696d040ac24Aa414708F5c0AB |
| Protocol Fee Receiver | 0x2b4D825417f568231e809E31B9332ED146760337 |
| Role | Address |
|---|---|
| Deployer / Owner | 0xe585e76A0b8CbbC2d10b1110a9ac3F4c11dBfDa8 |
| Oracle Signer | 0x933b15dd4F42bd2EE2794C1D188882aBCCDa977E |
| Relayer | 0xEdA7774A071a8DDa0c8c98037Cb542A1ee6aC7Eb |
| Feed | Address | Staleness |
|---|---|---|
| ETH/USD | 0x71041dddad3595F9CEd3DcCFBe3D1F4b0a16Bb70 | 1,200s (20m) |
| BTC/USD | 0xCCADC697c55bbB68dc5bCdf8d3CBe83CdD4E071E | 1,200s (20m) |
| USDC/USD | 0x7e860098F58bBFC8648a4311b374B1D669a2bc6B | 86,400s (24h) |
| USDT/USD | 0xf19d560eB8d2ADf07BD6D13ed03e1D11215721F9 | 86,400s (24h) |
| DAI/USD | 0x591e79239a7d679378eC8c847e5038150364C78F | 86,400s (24h) |
Lumina's products are designed to cover risks with low correlation between them, limiting the possibility of simultaneous claims:
| Correlation Group | Affected Products | Trigger | Joint 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 |
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:
| Endpoint | Method | Description |
|---|---|---|
/quote | POST | Get a quote for a policy |
/purchase | POST | Execute policy purchase via relayer |
/policy/:id | GET | Check policy status |
/vault/:name/stats | GET | Get vault statistics |
/vault/:name/deposit | POST | Deposit USDC into a vault |
/vault/:name/withdraw | POST | Initiate withdrawal from a vault |
/oracle/price/:asset | GET | Query current price of an asset |
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:
/quote with the desired parameters (product, asset, amount, duration)approve()/purchase or directly calls CoverRouter.purchaseCover()/policy/:idLumina 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.
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