CONFIDENTIAL & PROPRIETARY © 2025 Inkwell Finance, Inc. All Rights Reserved. This document is for informational purposes only and does not constitute legal, tax, or investment advice, nor an offer to sell or a solicitation to buy any security or other financial instrument. Any examples, structures, or flows described here are design intent only and may change.
Overview
Leviathan’s pooled lending system, managed by theleviathan-pool Solana program, allows lenders to supply capital to shared pools rather than funding individual loans directly. In return, lenders receive LP tokens — fungible receipt tokens representing their proportional share of the pool.
This model provides lenders with diversified exposure across multiple borrowers, predictable yield mechanics, and the ability to enter or exit positions through standard token transfers.
How It Works
Depositing
- A lender deposits capital (e.g., USDC) into a lending pool
- The pool mints LP tokens proportional to the lender’s share of total pool value
- LP tokens are standard SPL tokens — they can be held, transferred, or used in other DeFi protocols
Withdrawing
- A lender redeems LP tokens against the pool
- The pool burns the LP tokens and returns the proportional share of pool value
- The returned amount includes the original deposit plus accumulated interest, minus any losses from defaults
Interest Rate Models
Pool yields are determined by utilization-based interest rate models:- Utilization rate — the percentage of pool capital currently deployed in active loans
- Base rate — the minimum interest rate charged to borrowers, even at low utilization
- Slope — how quickly rates increase as utilization rises
Interest rate model parameters are configured per pool and can be adjusted through governed on-chain mechanisms. Specific rate curves and parameters vary by pool.
Yield Strategies
Idle capital sitting in the pool (not deployed to active loans) can be put to work through yield strategies:- Pool administrators can configure approved yield sources for undeployed capital
- Strategies are subject to the same policy and risk controls as loan deployments
- Returns from yield strategies accrue to the pool, benefiting all LP token holders
Pool Accounting
The pool program maintains precise accounting of all capital flows:| Metric | Description |
|---|---|
| Total deposits | Cumulative capital deposited by all lenders |
| Active loans | Capital currently deployed in outstanding loans |
| Available liquidity | Capital available for new loans or withdrawals |
| Accrued interest | Interest earned from active loans, reflected in LP token value |
| Realized losses | Capital lost to loan defaults, absorbed by LP token holders |
Risk Isolation
Each lending pool operates independently:- Separate risk profiles — pools can target different borrower segments, credit tiers, or use cases
- Independent parameters — interest rate models, utilization targets, and yield strategies are configured per pool
- Isolated losses — defaults in one pool do not affect other pools
LP Token Properties
LP tokens have several important properties:- Fungible — all LP tokens for the same pool are interchangeable
- Appreciating — the exchange rate against the underlying asset increases as interest accrues
- Transferable — LP tokens are standard SPL tokens that can be transferred, traded, or used as collateral in other protocols
- Redeemable — LP tokens can always be redeemed against the pool, subject to available liquidity