LEVY

// LLAMALEND BAD-DEBT RECOVERY MARKETPLACE · VYPER 0.4.0

A bad-debt recovery marketplace for LlamaLend. LEVY wraps impaired vault positions into transferable DebtClaim (LVDC) ERC-20 tokens — giving lenders a liquid exit at a market-determined discount and giving speculators a path to full-par redemption when the vault recovers. One permissionless protocol resolves the lender's trilemma: wait indefinitely, sell into a market that doesn't exist, or hold a dead position.

Vyper 0.4.0 LlamaLend crvUSD ERC-20 Moccasin Snekmate
79 Unit Tests
6×6 Fuzz Rules × Invariants
3 State Machine States
0.4.0 Vyper

Mechanism

LlamaLend's LLAMMA soft-liquidation handles gradual declines well, but a severe, fast crash can leave a vault with bad debt that the AMM can't unwind. LEVY turns that frozen position into a tradeable instrument and a clean recovery path.

Security Design

The protocol holds custody of impaired shares and other parties' injected crvUSD, so correctness of the lifecycle and the par-coverage math is the entire security model. Both are enforced structurally rather than by trust.

Test Coverage

Key Features