bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 75쪽 중 71쪽
nity bounds for an oracle price. Set via `tokenInfo.heuristic.{lower, upper, exp}`. Rejects prices outside the band. |
| **Host Fixed Interest Rate** | A fixed-rate add-on (`hostFixedInterestRateBps`) on top of the IR curve, charged on fixed-term reserves. |
| **Immutable** | A one-way market flag (`immutable: 1`) that permanently blocks all curator-side updates. Irreversible. |
| **Insolvency Risk LTV** | The LTV (`insolvency_risk_unhealthy_ltv_pct`) at which a position is considered to be in insolvency-risk territory and may be marked for auto-deleverage. |
| **IR Curve** | See **Borrow Rate Curve**. |
| **Kink** | The breakpoint on the borrow rate curve where rates start climbing steeply. Used to keep utilization at a target level. |
| **klend** | The Kamino lending program. The on-chain Anchor program that defines markets, reserves, obligations, and the lending operations. |
| **kvault** | The Kamino vault program. Optional layer that sits on top of klend markets, aggregating depositor capital and routing it across reserves. |
| **KFarms** | The Kamino farms program. Manages reward distribution to klend depositors and borrowers. |
| **Lamports** | The smallest unit of a token on Solana. `1 SOL = 10^9 lamports`. Reserve caps and on-chain values are denominated in token base units (lamports for SOL, smallest unit for other mints). |
| **Lending Market** | The top-level on-chain account that groups reserves. Has its own owner, settings, and reserve set. The `LendingMarket` Rust struct. |
| **Liquidation Threshold** | The LTV at which a position becomes liquidatable. Per-reserve via `liquidationThresholdPct`; can be overridden by an elevation group. |
| **Loan-to-Value (LTV)** | Maximum borrowing capacity against collateral, as a percent of collateral USD value. Per-reserve via `loanToValuePct`. |
| **Margin Call Period** | Grace period (`deleveragingMarginCallPeriodSecs`) between when a position is marked for auto-deleverage and when liquidation becomes available. |
| **Mature Debt** | Fixed-term debt that has passed its `debt_maturity_timestamp`. Liquidatable as mature debt if the relevant flags are set. |
| **Min Initial Deposit** | Market-level threshold (`min_initial_deposit_amount`) for the first deposit on an obligation. Prevents dust-spam attacks. |
| **Min Net Obligation Value** | Market-level threshold (`min_net_value_in_obligation_sf`) for the residual value after any operation. Operations that would leave less are rejected. |
| **Mirror Token** | An on-chain token that represents an off-chain asset 1:1. Typically minted in full at issuance with mint authority subsequently revoked. |
| **Multisig** | Multi-signature wallet requiring multiple approvals to execute transactions. Kamino recommends [Squads v4](https://squads.so) for production market ownership. |
| **Obligation** | The on-chain account tracking a user's deposits and borrows in a market. Per-user, per-market, per-obligation-type. |
| **Obligation Order** | A user-set, price-triggered self-deleverage instruction stored on an obligation. Fired by permissionless executors when the condition is met. |
| **Oracle** | External price feed providing asset valuations. Kamino prices reserves through Scope, configured per reserve via `tokenInfo`. |
| **Origination Fee** | Fee charged at borrow time, configured via `fees.borrowFee`. |
| **Permissioned Market** | A market where access is gated. On-chain klend has no allowlist field; permissioning today is achieved via Token-2022 transfer hooks, UI gating, or vault-layer terms acceptance. First-class support is on the roadmap. |
| **Price Heuristic** | See **Heuristic**. |
| **Progress Callback** | An optional callback on `WithdrawTicket` invoked when a ticket is fully redeemed. Used by kvault to update vault-side accounting. |
| **Proposer Authority** | An authority (`proposer_authority`) that can propose certain config updates without holding full owner privileges. |
| **Protocol Fee** | Fees accrued by the curator from interest take rate, origination, flash loans, liquidations, and order executions. Withdrawn via `redeem-fees`. |
| **Quote Currency** | The reference unit for prices on a market. Stored on `LendingMarket.quote_currency`. Almost always `"USD"`. |
| **Receipt Token** | Token issued by a vault to depositors representing their share of vault assets. Distinct from cTokens (which are reserve-level deposit receipts inside klend). |
| **Referral Fee** | Portion of borrow interest, in basis points (`referral_fee_bps`), routed to integrators registered as referrers. |
| **Reserve** | A specific lending pool inside a market for a single token. Holds deposits, borrows, the IR curve, oracle config, and risk parameters for that asset. |
| **Reserve Status** | Reserve-level flag with values `0` Active, `1` Obsolete, `2` Hidden. |
| **Rollover** | Migrating a fixed-term position to a new term (fixed→fixed, fixed→open, or open→fixed). Subject to market-level rollover window settings. |
| **Scope** | Kamino's oracle aggregator. Combines Chainlink and Pyth Pro into a manipulation-resistant chain of price indices. |
| **Sequence Number** (queue) | The position number assigned to a `WithdrawTicket` when it enters the queue. Tickets are redeemable in FIFO sequence-number order. |
| **Socialize Loss** | The `socialize_loss` instruction that distributes unrecoverable bad debt across a reserve's depositors. Last-resort, irreversible. |
| **Squads** | Solana multisig product. Kamino's recommended multisig solution for production market ownership. |
| **Take Rate** | Protocol's cut of interest accrual, configured per reserve via `protocolTakeRatePct`. |
| **Timelock** | Delay between proposal creation and execution on a Squads multisig. Kamino reference: 12h on SOL/BTC Market, 4h on satellite markets. |
| **Token-2022** | The SPL Token-2022 program. Supports token extensions including transfer hooks. Used for regulated and compliance-constrained tokens on klend. |
| **Transfer Hook** | A Token-2022 extension that invokes an external program on every transfer. The hook program can approve or reject the transfer based on custom logic. |
| **TWAP** | Time-Weighted Average Price. A smoothed price that mitigates manipulation. Configured via `maxAgeTwapSeconds` and `maxTwapDivergenceBps`. |
| **Utilization Rate** | The ratio `borrowed / deposited` on a reserve. Drives the borrow rate via the IR curve. |
| **Withdrawal Cap** | Per-reserve, per-interval limit on net flow. Two independent caps: `depositWithdrawalCap` (collateral side), `debtWithdrawalCap` (debt side). |
| **Withdraw Queue** | Reserve-level FIFO queue for withdrawals when a reserve is fully utilized. Counters: `next_issued_ticket_sequence_number`, `next_withdrawable_ticket_sequence_number`. |
| **Withdraw Ticket** | Per-user account representing a position in the withdrawal queue. Holds the depositor's queued collateral and their sequence number. |
## Reference
* [Reserve config reference](/docs/curators/markets/reserve-parameters)
* [Market config reference](/docs/curators/markets/market-config-reference)
* [Lifecycle overview](/docs/curators/markets/lifecycle)
# Curator Markets
Source: https://kamino.com/docs/curators/markets/index
Deploy and operate isolated lending markets on Kamino
A Kamino market is a deployable, isolated instance of the Kamino lending program (klend). You own it, you configure its reserves, you set its risk parameters, you choose its oracles, you transfer it to a multisig, and you run it.
Each market is independent. Liquidations, interest accrual, and risk surface all stay inside its boundaries — a position in your market has no exposure to any other Kamino market.
<video aria-label="Kamino curators markets landing page">
<source type="video/mp4" />
<img alt="Kamino curators markets landing page" />
</video>
<video aria-label="Kamino curators markets landing page">
<source type="video/mp4" />
<img alt="Kamino curators markets landing page" />
</video>
## Anatomy of a market
A Kamino market is composed of three layers.
The **`LendingMarket`** is the top-level account you own. It holds the configuration that applies across the market: name, owner, emergency flags, the elevation-group definitions, the close-factor and other liquidation tunables, the cosigner authority for permissioning. Every reserve underneath it inherits these settings.
A **reserve** is a per-asset lending pool listed inside the market. Each reserve sets its own LTV, liquidation threshold, borrow factor, IR curve, oracle config, and deposit/borrow capacity. A market holds one reserve per token; a market that lists USDC, USDT, SOL, mSOL, and JLP has five reserves.
A **`KaminoVault`** is an optional layer that sits on top. A vault accepts a single deposit token, routes capital across one or more reserves according to allocation weights, and issues a single receipt token to depositors. Vaults exist outside the market account itself; deploy a vault when your depositors should see a single-token deposit UX, with allocation across reserves handled automatically.
## Who deploys a market
<CardGroup>
<Card title="Institutions" icon="building">
Run a lending venue with risk parameters, asset selection, and oracle configuration tuned to your mandate. Transfer ownership to a multisig and operate via signed proposals.
</Card>
<Card title="Asset issuers" icon="coins">
Scale on-chain usage of your token by listing it as collateral or debt with parameters you control. Supports SPL Token and SPL Token-2022, including transfer hooks for permissioned tokens.
</Card>
<Card title="Fintechs" icon="mobile">
Deploy a market for the assets your app supports, surface it in your own UI, and offload program correctness, oracle integrity, and liquidator economics to klend.
</Card>
<Card title="Curators with a thesis" icon="chart-mixed">
Run a market expressing a specific view on assets, leverage, and risk. Add reserves selectively, tune the IR curves, layer farms for incentives.
</Card>
</CardGroup>
## What you control
| Surface | Examples |
| - | - |
| Asset selection | Which reserves exist, mint program (SPL Token or Token-2022), transfer hook compatibility |
| Risk parameters | LTV, liquidation threshold, borrow factor, deposit and borrow caps, IR curve |
| Oracle configuration | Scope, TWAP guards, staleness limits, price heuristic bands |
| Liquidation behavior | Close factor, max debt liquidatable per tx, bonus min/max, bad-debt bonus |
| Optional features | Withdrawal queue, borrow orders, obligation orders, eMode groups, permissioning, fixed rate reserves |
| Incentives | Collateral and debt farms per reserve, reward emissions |
| Governance | Owner pubkey (single key or multisig), emergency council, immutability |
| Operations | Updating reserves, pausing the market, withdrawing protocol fees, transferring obligations |
## What klend gives you
| Layer | Provided by klend |
| - | - |
| Program correctness | Audited Anchor program with formal verification and fuzzing |
| Interest accrual | Per-reserve compound interest, host-fixed rate optional |
| Liquidator economy | Permissionless liquidations across all markets sharing the program |
| Oracle plumbing | Scope aggregator, multi-source TWAP, staleness checks |
| Risk safeguards | Auto-deleverage, daily withdrawal caps, eMode |
| Composability | Any wallet, vault, or program can integrate with the on-chain market accounts |
## Market vs. vault
Both are curator-deployed. The decision tree:
| You want to... | Deploy a... |
| - | - |
| Create a new lending venue with your own reserve set and risk model | Market |
| List an asset that doesn't exist on any market today | Market (with that reserve) |
| Run a strategy that allocates capital across reserves on existing markets | Vault |
| Wrap your strategy in a single-token deposit / receipt-token withdraw UX | Vault on top of one or more markets |
| Provide gated access to a curated set of reserves for your users | Vault (Whitelisted Reserves feature) |
A vault on top of a market is a common composition. The market does the lending mechanics; the vault does the depositor UX, allocation logic, and fee collection.
See the [Create a vault](/docs/curators/vaults/guides/create-a-vault) guide for vault-specific documentation.
## Where to go next
<CardGroup>
<Card title="Lifecycle overview" icon="route" href="/docs/curators/markets/lifecycle">
The full path from create → operate → migrate, in one page.
</Card>
<Card title="Quickstart" icon="rocket" href="/docs/curators/markets/quickstart">
Stand up a working market on staging in \~10 minutes.
</Card>
<Card title="Create a market" icon="circle-plus" href="/docs/curators/markets/creating-a-market">
The single CLI command and what it does on-chain.
</Card>
</CardGroup>
<CardGroup>
<Card title="Risk parameters" icon="sliders" href="/docs/curators/markets/risk-parameters">
How to choose LTV, thresholds, IR curves, and caps for a new asset.
</Card>
<Card title="Withdrawal queue" icon="layer-group" href="/docs/curators/markets/withdrawal-queue">
FIFO redemption when reserves are fully utilized.
</Card>
<Card title="Fixed rate reserves" icon="clock" href="/docs/curators/markets/fixed-rate-reserves">
Maturity-based debt, host fixed rate, rollover windows, early-repay penalties.
</Card>
</CardGroup>
<Note>
All market creation and configuration runs through the Kamino Manager CLI (`kamino-manager`). The web app at [manage.kamino.com](https://manage.kamino.com) is for managing existing vaults; market deployment is CLI-driven and signed via a [Squads](https://squads.so) multisig in production.
</Note>
# Lifecycle Overview
Source: https://kamino.com/docs/curators/markets/lifecycle
The full path from market creation to day-2 operations
Setting up a Kamino market splits cleanly into two phases. Phase 1 is **market setup**: a small, fixed set of global, one-time actions that bring a market into existence and put it under multisig control. Phase 2 is **reserve setup**: the per-asset configuration work, repeated once for each token you want to list. Almost every meaningful risk decision a curator makes is at the reserve level.
After that, you operate the market: ongoing reserve updates, optional feature toggles, incident response.
## Phase 1 · Market setup (global)
Three actions, done once. Nothing here touches a specific asset.
<Steps>
<Step title="Create the market" icon="circle-plus">
Run `create-market`. The CLI returns a market address. The market exists on-chain but has no reserves yet, so it accepts nothing.
→ [Create a market](/docs/curators/markets/creating-a-market)
</Step>
<Step title="Set market-wide config" icon="sliders">
Set the market name, referral fee, emergency council, and any other market-level fields you want to override from defaults. Most curators take defaults and revisit this only when a specific market-wide flag needs flipping.
→ [Market settings](/docs/curators/markets/market-settings)
</Step>
<Step title="Transfer ownership to a multisig" icon="key">
Move the `lending_market_owner` from your hot wallet to a Squads multisig. Two-step: cache the new owner, then promote it. From here on, every market or reserve update goes through a multisig proposal.
→ [Transfer to multisig](/docs/curators/markets/transfer-to-multisig)
</Step>
</Steps>
## Phase 2 · Reserve setup (per asset)
The bulk of curator work. Repeat for each token you want to list. Each reserve has its own LTV, liquidation threshold, IR curve, oracle config, capacity caps, fees, and farm wiring; risk decisions are made here, per asset.
<Steps>
<Step title="Add the reserve" icon="layer-group">
Submit `add-asset-to-market` with a reserve config JSON for the asset's mint. The reserve account is created on-chain with its initial parameters.
→ [Add a reserve](/docs/curators/markets/adding-reserves)
</Step>
<Step title="Configure the oracle" icon="signal-stream">
Wire the reserve to a Scope price feed and set TWAP and staleness guards.
→ [Configure oracles](/docs/curators/markets/configuring-oracles)
</Step>
<Step title="Set risk parameters" icon="shield-halved">
LTV, liquidation threshold, borrow factor, IR curve, deposit and borrow caps, liquidation bonus min/max.
→ [Risk parameters](/docs/curators/markets/risk-parameters)
</Step>
<Step title="Set withdrawal caps (optional)" icon="gauge-high">
Per-interval flow limits on the reserve. Useful for newly-listed assets and regulated tokens.
→ [Withdrawal caps](/docs/curators/markets/withdrawal-caps)
</Step>
<Step title="Wire farms and rewards" icon="sprout">
Most curators set up at least a collateral farm at launch to attract depositors. Debt farms are optional, used to subsidize borrowing.
→ [Farms & rewards](/docs/curators/markets/farms-and-rewards)
</Step>
<Step title="Make it a fixed rate reserve (optional)" icon="clock">
For lending venues that offer fixed-rate / fixed-term debt: set `debt_term_seconds`, `host_fixed_interest_rate_bps`, and the early-repay penalty on the reserve, and the rollover windows on the market.
→ [Fixed rate reserves](/docs/curators/markets/fixed-rate-reserves)
</Step>
</Steps>
## Phase 3 · Optional features
Features that toggle on top of a market. Most curators leave them off by default; enable per the use case.
| Feature | When it makes sense |
| - | - |
| [Liquidations](/docs/curators/markets/liquidations) | Tuning beyond defaults — close factor, value caps, pause flags. Most curators take defaults |
| [Withdrawal queue](/docs/curators/markets/withdrawal-queue) | Reserves expected to run at high utilization, or institutional vaults sitting on top |
| [Borrow orders](/docs/curators/markets/borrow-orders) | Peer-to-peer fixed-rate matching between borrowers and lenders |
| [Obligation orders](/docs/curators/markets/obligation-orders) | Letting users set their own price-triggered self-deleverage rules |
| [Auto-deleverage](/docs/curators/markets/auto-deleverage) | Niche: markets where you specifically want a margin-call grace window before liquidations open up |
| [Elevation groups (eMode)](/docs/curators/markets/elevation-groups) | Niche: correlated-asset clusters where higher LTV is appropriate |
| [Permissioned markets](/docs/curators/markets/permissioned-markets) | Gated venues — KYC'd depositor base, accredited-investor restrictions, app-internal markets |
A minimal market (one reserve, defaults across the board, no advanced features) is fully functional. Reach for these only when there's a use case.
## Phase 4 · Operate
After the market is live, the recurring operations:
| Cadence | Action |
| - | - |
| Daily / weekly | Monitor utilization, oracle health, liquidations, fee accrual |
| Weekly / monthly | Adjust deposit and borrow caps as TVL grows |
| As needed | Update IR curve, add a new reserve, enable a new feature, rotate the multisig signer set |
| Quarterly | Withdraw protocol fees |
| Incident | Pause the market via `borrow_disabled` or `emergency_mode`; run socialize-loss if a position becomes irrecoverable |
Every change after the multisig transfer goes through a Squads proposal subject to the configured timelock.
→ [Updating reserves](/docs/curators/markets/reserve-management) · [Emergency controls](/docs/curators/markets/emergency-controls) · [Withdrawing protocol fees](/docs/curators/markets/protocol-fees)
## What's mandatory before deposits can happen
Phase 1 + at least one reserve fully through Phase 2:
| Requirement | Where it's set |
| - | - |
| Market account exists | `create-market` |
| At least one reserve added | `add-asset-to-market` |
| Reserve has a working Scope oracle | Reserve config `tokenInfo` |
| Reserve `status = 0` (Active) | Reserve config `status` |
| Reserve `depositLimit > 0` | Reserve config |
| Reserve `borrowLimit > 0` (if borrows allowed) | Reserve config |
| Owner is the wallet (or multisig) you intend to operate from | `update-l프로젝트로 돌아가기