For the complete documentation index, see llms.txt. This page is also available as Markdown.

Overview

Aegis — parametric, on-chain insurance and risk infrastructure for Cardano

Aegis is parametric insurance built natively on Cardano. Buyers escrow a small premium and receive an automatic, oracle-settled payout if a price condition is met — an ADA crash below a chosen strike, a stablecoin depeg, or a CDP nearing liquidation. Underwriters provide pooled ADA liquidity that backs every policy and earn the premiums on policies that expire without a claim. There is no claims desk and no custodian: settlement is enforced by Aiken validators, and the oracle reading is verified on-chain at claim time.

Live on Cardano mainnet at aegis.fluxpointstudios.com.

What you can do with Aegis

  • Buy crash coverage — a price-contingent payout if ADA (or iBTC / iETH) falls below your strike before expiry. Functionally a synthetic put: bounded premium, leveraged downside payout.

  • Buy depeg coverage — protection on stablecoins (USDC, USDT, iUSD) that pays if the feed leaves its insurable band around the peg.

  • Protect a CDP — attach a policy calibrated to your liquidation price on Indigo, Liqwid, Danogo, Surf, or FluidTokens, so a payout can settle before the liquidation bots strike.

  • Underwrite — deposit ADA into the shared pool, receive transferable aLP tokens, and earn premium yield pro-rata to your share.

Design goals

  • Non-custodial by construction. Every action is a Cardano transaction the user signs in their own wallet. Aegis never holds keys or funds.

  • Parametric, not discretionary. Payouts are decided by an on-chain price condition and an oracle reading the validator checks itself — not by a human adjudicator.

  • Solvency enforced on-chain. The pool validator never lets reserved coverage exceed deposited liquidity, and never lets an underwriter withdraw funds reserved against open policies.

  • Oracle-agnostic. The same protocol settles policies against Charli3, Orcfax, the AegisSelf publisher feed, or Indigo's per-iAsset oracle — chosen per policy, with no validator redeploy to add a provider.

  • A public risk primitive. Aggregate demand across strikes and durations forms an on-chain "fear gauge" any protocol can read via reference inputs.

How it works

Aegis is a single Aiken project that compiles to four Plutus V3 scripts (plus a one-shot NFT that bootstraps the pool), connected by a build-sign-submit transaction flow:

  • The policy validator governs one UTxO per policy (its datum encodes the strike, coverage, premium, window, oracle, and risk class).

  • The pool validator is a single shared UTxO holding all underwriter capital and the solvency accounting. It funds the coverage for every policy it underwrites — buyers pay only the premium.

  • The aLP minting policy is parameterized by the pool's script hash, so aLP can only be minted or burned when the pool itself is consumed in the same transaction.

  • The marker minting policy stamps every policy UTxO with one AEGIS_POLICY integrity token at underwrite time and burns it at settlement — so a policy that was never underwritten can never be claimed or cancelled to drain the pool.

The oracle UTxO is read as a reference input (CIP-31) — never consumed — so a single feed can back many concurrent claims, and the feed's freshness is checked inside the validator.

V8 Stable-Vault (current)

The latest deployed version (V8) replaces the single V7 pool UTxO with a vault architecture:

  • VaultState — a leaner 4-field datum (lp_supply, active_coverage, reserve, registry_nft) that drops the redundant total_liquidity and lp_token_policy fields in favor of derived values.

  • Registry + M-of-N governance — the vault is tied to a RegistryDatum with configurable M-of-N admin (was single-operator 1-of-1). Admin can only propose logic swaps behind a 72h timelock — never has LP custody.

  • Non-custodial builders — users fund and receive directly. No operator key ever touches user funds. All six lifecycle paths (add/remove liquidity, underwrite, claim, cancel, expire) route through the vault with the user signing their own transaction.

  • V7 → V8 migration — existing V7 LPs can withdraw from the old pool and move into the vault. The API dispatches to V8 when AEGIS_V8_VAULT_ADDRESS is set, else keeps serving V7.

For the full datums, redeemers, transaction graphs, and edge cases, see How Aegis Works On-Chain. For who participates and why, see The Seven-Sided Marketplace.

Coverage and oracles

A policy names an oracle_provider (Charli3, Orcfax, AegisSelf, or Indigo) and an oracle_nft. At claim time the validator locates the matching feed by NFT, parses the Charli3-compatible OracleDatum, rejects a stale reading (checked against the transaction validity range), and pays out only if the price meets the strike for the policy's risk class. Aegis performs no off-chain price-oracle work of its own — it only verifies.

Treasury give-back

Every fee-bearing Aegis transaction routes a fixed share of the protocol fee into the Cardano protocol treasury via the Conway-era treasury_donation body field (CDDL key 22). The pool validator rejects any such transaction that under-pays, so the contribution is enforced cryptographically rather than by trust, and shows up as a "Treasury Donation" row on cardanoscan.

Building on Aegis

Integrators (DEXs, lending protocols, wallets) add one-click coverage with the TypeScript SDK, @fluxpointstudios/aegis-sdk. It exposes quote/compose helpers that return the policy parts to splice into your own transaction, a network-aware oracle-feed registry, and byte-for-byte datum encoders that mirror the on-chain types. No backend integration is required to read pool state or quote a premium.

Status

Aegis is live on Cardano mainnet — crash coverage, depeg coverage, CDP protection, the underwriter pool, and the AEGIS / FEAR index are all in active use, with partner integrations (SaturnSwap, Surf, Indigo CDP protection) onboarding through the SDK. The current mainnet deploy runs the V8 stable-vault with non-custodial builders and registry governance.

Last updated