DIVA Protocol
  • 👋Welcome
  • 🔅Introduction
    • Derivative contracts
    • What is DIVA Protocol
      • What problem does it solve
      • How it works
        • Reference assets
        • Payoff curves
        • Collateral
        • Oracles
        • Settlement
          • Timelines
          • Challenge
          • Status
          • Fast settlement
          • Fallback data provider
        • Fees
        • Compliance feature
      • Vision
      • Terminology
    • What is DIVA Token
      • Owner election mechanism
      • Token distribution
    • DIVA Development Fund
    • FAQ
  • 🌈DIVA App
    • What is DIVA App
    • Overview
    • Create position tokens
    • Trade position tokens
    • Add liquidity
    • Remove liquidity
  • ⚙️Guides
    • DIVA App Training
      • Prepare
      • Testnet
      • Create
      • Trade
      • Add
      • Remove
      • Settle
      • Redeem
      • Fees
    • Quiz
  • 🪄Use cases
    • Overview
    • Insurance
      • Credit default protection
      • Agrarian insurance
      • DeFi Hack insurance
      • Peg insurance
    • Yield optimization
      • Bullish accumulation
      • Bearish accumulation
    • Risk management
      • Downside protection
      • Increasing cost protection
    • Directional bets
      • Downside bet
      • "Bottom-Is-In" bet
      • Upside bet
      • "Top-Is-In" bet
    • Leverage
  • 👨‍🎓Pricing derivatives
    • Introduction
    • Underlying value
    • Volatility
    • Time
  • ⚓Oracle integrations
    • Overview
    • Tellor
  • ⚒️For developers
    • Overview
    • Technical resources
    • Smart contracts
      • Functions
        • Core protocol functions
        • Getter functions
        • Setter functions
        • ABI
      • Contract addresses
      • Example scripts
    • TheGraph
      • DIVA subgraphs
      • Whitelist subgraph
    • Project ideas
  • 📱Contact & Media Links
    • Social media
  • 👨‍🎓Technical Blog
    • Flash loans in DIVA Protocol
    • NDVI outcome reporting guide for Tellor Reporters
    • Enabling capital efficiency in DeFi
Powered by GitBook
On this page
  • Pool configuration
  • Sell long position tokens
  • 💵 Payoff scenarios
  1. Use cases
  2. Insurance

Credit default protection

A product that offers default protection to lenders in an undercollateralized loan

PreviousInsuranceNextAgrarian insurance

Last updated 2 years ago

Bob has provided an undercollateralized loan to a DAO using a DeFi protocol. He is concerned that the DAO may not repay the loan in full and he will lose money. Bob would like to protect himself against a (partial) default by purchasing a position whose payout increases as the repayment amount decreases.

Pool configuration

Bob uses the DIVA App to create a credit insurance product with the following configuration:

Notes:

  1. The Reference Asset is the on-chain bond address.

  2. The Expiry Time is equal to the maturity/grace period end of the bond.

  3. Given the on-chain nature of the loan, the repayment amount information is stored on-chain providing a fully trustless oracle for settlement.

After creating the pool, Bob puts all long position tokens for sale (1'000'000 in total in our example), for a price of USDC 0.95 each. Alice purchases all long position tokens for a total of USDC 950'000. After the trade, the two parties end up with the following positions:

Bob's net contribution / premium paid for the credit default insurance (short position) after the sale is USDC 1'000'000 - 950'000 = USDC 50'000.

💵 Payoff scenarios

1) DAO has repaid the full loan amount (USDC 1'000'000):

  • Bob paid a premium of USDC 50'000 but doesn't receive any payout from the short position as the loan was fully repaid: -> net loss for Bob: USDC 50'000 -> net gain for Alice: USDC 50'000 (5.26% on USDC 950'000)

2) DAO has repaid 50% of the loan (USDC 500'000):

  • Bob paid a premium of USDC 50'000 and receives USDC 500'000 as payout due to partial repayment of the loan: -> net gain for Bob: USDC 450'000 -> net loss for Alice: USDC 450'000

3) DAO doesn't repay the loan (USDC 0):

  • Bob paid a premium of USDC 50'000 and receives USDC 1'000'000 as payout due to a full default: -> net gain for Bob: USDC 950'000 -> net loss for Alice: USDC 950'000

Sell long position tokens

🪄
🤝
⚙️
Example configuration for a credit default insurance product in the DIVA App using a linear payoff profile.
Payoff profiles for Bob and Alice.