bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 75쪽 중 75쪽
* The ownership and emergency roles within a market
* When to expand market liquidity as lending and borrowing activity grows
</div>
***
## A Market in One Example
Planning a market starts with understanding how all its core components work together. Consider a market with SOL and USDC reserves, which will be used throughout this guide. Each reserve has its own configuration that determines whether users can supply or borrow the asset and whether it can be used as collateral.
<img alt="Lending market flow: supply, borrow, price fall, liquidation" />
Lenders supply USDC to the market and earn interest when that USDC is borrowed. A borrower can access that liquidity by depositing SOL as **collateral** and borrowing USDC against it.
Suppose a borrower deposits 100 SOL worth \$20,000 and borrows \$12,000 USDC. The position has an **LTV of 60%**: \$12,000 of debt against \$20,000 of collateral. If the SOL reserve has a maximum LTV of 70%, the borrower could borrow up to \$14,000.
<img alt="100 SOL collateral, $12,000 USDC borrowed, 60% LTV with remaining capacity" />
The position remains healthy until it reaches the **liquidation threshold**. At a threshold of 75%, the \$12,000 debt becomes eligible for liquidation when the value of the SOL collateral falls to \$16,000, or \$160 per SOL.
A **liquidator** can then repay part of the borrower's debt in exchange for some of their SOL collateral. To make liquidation worthwhile, the liquidator receives slightly more collateral than the value of the debt they repay. This difference is the **liquidation bonus**. With an 8% liquidation bonus, a liquidator who repays \$1,000 of USDC debt receives \$1,080 worth of SOL.
The **close factor** determines how much of the borrower's debt can be repaid in a single liquidation. With a 20% close factor, a position with \$12,000 of outstanding debt can have up to **\$2,400 repaid in one liquidation**.
The **oracle** provides the prices used to value the borrower's SOL collateral and USDC debt. As those prices change, the position's LTV changes with them, which determines when the position reaches the liquidation threshold.
**Caps** limit how large the market can grow. A deposit cap limits how much SOL can be supplied to the reserve, while a borrow cap limits how much USDC can be borrowed from it.
If the value of SOL falls too quickly for the position to be liquidated in time, the collateral may no longer be worth enough to repay the debt. The remaining shortfall becomes **bad debt**, reducing the amount USDC lenders can withdraw from the reserve.
<div>
<p><Icon icon="circle-check" /> Knowledge Check</p>
A curator should be able to:
* Understand how collateral price movements influence borrowing capacity.
* Understand how curator settings determine when a position becomes eligible for liquidation.
</div>
***
## Who Participates in a Lending Market
A market can support three main types of users: lenders, borrowers, and loopers. Each interacts with the market differently and introduces a different kind of demand and risk.
**Lending.** Lenders supply assets such as USDC to earn interest. They provide the liquidity borrowers use, and their main risk is that losses in the reserve can reduce the amount they are able to withdraw.
**Borrowing.** Borrowers deposit collateral and borrow another asset against it. They create demand for the liquidity supplied by lenders, and they take on liquidation risk if the value of their collateral falls too far.
**Looping.** Loopers deposit SOL, borrow USDC against it, use that USDC to buy more SOL, and repeat. This lets them increase their exposure beyond what their starting capital would normally allow. Because each loop involves buying more SOL, sufficient market liquidity is needed for positions to open efficiently. If the collateral also earns staking yield, that yield applies to the larger position as well. Kamino Multiply automates the repeated borrow-and-buy loop in a single transaction.
In a SOL/USDC market dominated by loopers, many users may be borrowing USDC to buy more SOL. As more of the supplied USDC is borrowed, utilisation rises, meaning a larger share of the USDC in the reserve is already in use and less remains available. Kamino's risk controls are designed to keep this exposure within manageable bounds.
If SOL falls sharply, many looped positions may need to unwind around the same time. Loopers may sell SOL to repay USDC, while liquidators may also sell SOL received from unhealthy positions. This concentrates activity around the same assets and is one reason curators need to consider available liquidity when configuring a looping-heavy market.
<div>
<p><Icon icon="circle-check" /> Knowledge Check</p>
A curator should be able to:
* Identify what lenders, borrowers, and loopers do.
* Understand how each participant affects the market.
</div>
***
## What Curators Should Consider Before Launch
Before launch, a curator needs to understand how much risk the market can safely support and configure it around those limits.
### Risk
Lenders and borrowers take on different risks. In the SOL/USDC example, lenders supply USDC to earn interest and do not depend on SOL increasing in value. The borrower deposits SOL as collateral instead of selling it, so they continue to benefit if SOL rises but also bear the loss if SOL falls. If the collateral loses value, the position moves closer to its health limit, the point where its collateral is no longer sufficient relative to its debt.
That does not mean USDC lenders are completely insulated from the risk of SOL's price falling. Their protection depends on the borrower's collateral remaining sufficient to cover the outstanding debt. Kamino uses a buffer between the maximum LTV and the health limit so positions have room to absorb price movement before liquidation is required. If the position reaches that limit, liquidation is designed to reduce the debt while the collateral can still cover it. If a shortfall still remains, it becomes bad debt in the USDC reserve and can reduce the amount lenders are able to withdraw.
<div>
<p>Worth checking</p>
* Who is lending and who is borrowing.
* What borrowers are using the borrowed asset for.
* Whether many borrowers are exposed to the same underlying trade.
* Who would ultimately absorb a loss if collateral no longer covers the debt.
</div>
<CardGroup>
<Card title="Risk parameters" icon="sliders" href="/docs/curators/markets/risk-parameters">
LTV, thresholds, IR curves, and caps for each reserve.
</Card>
<Card title="Market risk" icon="chart-line" href="/docs/risk/market-risk">
Measured risk data across Kamino markets.
</Card>
</CardGroup>
### Liquidity and Volatility
A position can only be closed safely if there is enough market liquidity to sell the collateral without moving its price too far.
**Liquidity** measures how much the price changes when collateral is sold, and curators need to look at that price impact at the sizes a liquidation may actually need to execute.
Available liquidity helps determine how large positions the market can safely support. Reserve caps and liquidation parameters should be set so collateral can be sold at expected liquidation sizes without price impact overwhelming the liquidation bonus.
**Volatility** measures how quickly the collateral price can move. More volatile assets need more room between the maximum LTV and the health limit so a position has time to be liquidated before the collateral value falls too far.
<div>
<p>Worth checking</p>
* Whether the collateral asset has enough market liquidity to be sold without significant price impact.
* How sharply the collateral asset has moved during previous periods of volatility.
* Whether that liquidity depends on incentives, and how much would remain if those incentives ended.
* Whether the proposed reserve caps are appropriate for the collateral asset's available market liquidity.
</div>
<Tip>
Use the [KRAF risk dashboard ↗](https://risk.kamino.finance/) to review liquidity and volatility data for the collateral asset when setting reserve parameters.
</Tip>
<CardGroup>
<Card title="Volatility" icon="wave-pulse" href="/docs/risk/market-risk/volatility">
Measured volatility data.
</Card>
<Card title="Liquidity" icon="droplet" href="/docs/risk/market-risk/liquidity">
On-chain liquidity analysis.
</Card>
<Card title="KRAF dashboard" icon="chart-mixed" href="https://risk.kamino.finance/">
Live risk dashboard.
</Card>
</CardGroup>
### Token and Oracle Risk
Before adding an asset to a market, a curator needs to understand both **the risks of the token itself** and **how its value will be determined onchain**. A token can introduce risks through its minting, transfer, or administrative controls, while the oracle determines the price Kamino uses to value collateral and debt.
**The token.** If new tokens can still be created, the curator needs to understand who controls that authority and how securely it is managed. If minting were abused, someone could create a large amount of the token, deposit it as collateral, and borrow another asset against it.
The debt asset's borrow cap also limits how much value can be borrowed from the market. Even if the collateral supply increases significantly, borrowing cannot exceed the cap set on the debt reserve.
Curators should also review any **freeze, upgrade, or transfer controls** that could affect how the token behaves after the market is live.
**The oracle.** The oracle determines the value Kamino uses for collateral and debt, so choosing the right price source is part of the market's risk design. For a liquid asset such as SOL, a market price may be appropriate. An RWA may instead rely on **Net Asset Value (NAV)**, while a **Liquid Staking Token (LST)**, which represents a staked asset plus the rewards it accrues, may use its staking exchange rate.
Whichever source is used, the price needs to stay current. If an oracle updates too slowly, Kamino may be working from a value that no longer reflects the market during a fast price move.
The market should also have a way to handle a price feed becoming unavailable or reporting an unexpected value. Using more than one independent price source, together with rules for stale or conflicting prices, can make the oracle setup more resilient.
<div>
<p>Worth checking</p>
* Whether the token has a **mint authority** or **freeze authority**, and who controls them.
* If new tokens can still be issued, how securely the minting process is managed.
* Which **price feeds** are configured for the asset, and what happens if one becomes stale or unavailable.
* Whether the chosen oracle setup matches how the asset is actually valued, such as market price, NAV, or a staking exchange rate.
</div>
<CardGroup>
<Card title="Asset risk" icon="shield-halved" href="/docs/risk/asset-risk">
Token risk, oracle pricing, depeg analysis.
</Card>
<Card title="Configuring oracles" icon="satellite-dish" href="/docs/curators/markets/configuring-oracles">
Wire each reserve to a Scope price feed.
</Card>
</CardGroup>
### Market Authority and Controls
Curators should choose who holds the market owner and emergency council roles, and understand how quickly each role can make changes to the market.
Changes to market and reserve settings made by the market owner are delayed by a timelock, giving signers time to review them and respond if a key or device has been compromised. The emergency council can act immediately, but only through a limited set of protective controls, so it can contain an incident without having full authority over the market.
| Role | What it can do | How quickly it can act |
| - | - | - |
| **Market owner** | Can change market and reserve settings | Changes go through the owner multisig and timelock |
| **Emergency council** | Can make a limited set of protective changes that restrict market activity | Can act immediately without the owner timelock |
| **Proposer authority** | Can configure a reserve before its first deposit | Only applies during initial reserve setup |
The emergency council cannot restore normal operation after using these controls. Reversing those protective changes requires the market owner and is subject to the owner timelock.
Market changes should be protected by strong signing and approval controls. Curators should design the signing process so that no single compromised signer or device can change the market on its own. Sensitive changes can sit behind a multisig and timelock, while independent verification and external alerts help catch anything unexpected.
A timelock slows down parameter changes, so reserve caps should be set conservatively to keep the market safe during that delay. If a change is needed, the curator may have to wait for the timelock to expire before new parameters take effect, while the emergency council can only take protective actions such as disabling parts of the market.
<div>
<p>Worth checking</p>
* Whether the multisig has enough independent signers and an appropriate approval threshold.
* Whether signers use dedicated devices for approving market changes.
* How long the owner multisig timelock is, since that delay affects how conservatively reserve caps should be set.
* Whether the emergency council is configured and ready to act if needed.
* Whether external alerts are in place and someone is responsible for monitoring them outside normal hours.
</div>
<CardGroup>
<Card title="Transfer to multisig" icon="key" href="/docs/curators/markets/transfer-to-multisig">
Move ownership from a hot wallet to Squads.
</Card>
<Card title="Emergency council" icon="shield" href="/docs/curators/markets/emergency-council">
Set up the emergency authority.
</Card>
<Card title="Emergency controls" icon="triangle-exclamation" href="/docs/curators/markets/emergency-controls">
Pause, freeze, and socialize loss.
</Card>
</CardGroup>
***
## Assessing Market Configuration
Curators should align the market's configuration with its expected risk and operating conditions.
### Setting Risk Parameters
Each reserve in a market has its own configuration, and each parameter governs a different part of how that reserve behaves.
| Parameter | Depends on | Sets |
| - | - | - |
| LTV ratio and liquidation threshold | Collateral volatility and liquidity | How much can be borrowed against the collateral and when a position becomes eligible for liquidation |
| Interest rate curve | Target utilisation | The cost of borrowing as reserve utilisation changes |
| Deposit and borrow caps | Available collateral liquidity and timelock constraints | How much exposure the reserve can support |
| Withdrawal caps | Expected withdrawal activity | How quickly funds can leave the reserve |
| Liquidation bonus | Price impact at expected liquidation sizes | The incentive available to liquidators |
Reserve caps should be checked against the amount of collateral that may need to be liquidated. The collateral asset should have enough available liquidity for those liquidations to execute without price impact overwhelming the liquidation bonus.
<div>
<p>Worth checking</p>
* Whether the **LTV and liquidation threshold** leave enough room for the collateral asset's observed volatility. Use the proposed reserve parameters together with KRAF volatility data.
* Whether the **expected liquidation size** can be sold without excessive price impact. Use KRAF liquidity data for the collateral asset.
* Whether the **reserve caps** remain conservative enough during the owner multisig timelock.
* Whether the **liquidation bonus** is sufficient relative to the expected price impact at that liquidation size.
</div>
<CardGroup>
<Card title="Risk parameters" icon="sliders" href="/docs/curators/markets/risk-parameters">
Full parameter reference and recommended values.
</Card>
<Card title="Withdrawal caps" icon="gauge" href="/docs/curators/markets/withdrawal-caps">
Throttle deposits, withdrawals, and debt activity.
</Card>
<Card title="Liquidations" icon="gavel" href="/docs/curators/markets/liquidations">
Close factor, bonuses, and bad-debt handling.
</Card>
</CardGroup>
### Oracle Configuration
Each reserve needs an oracle configuration that reflects how its asset should be valued.
Kamino Lend uses Scope, Kamino's oracle aggregator, to price reserve assets. Curators choose the Scope price feed that best reflects how each asset should be valued.
Curators can also configure safeguards that determine when a reserve should stop accepting an oracle price. These safeguards are disabled by default and need to be configured explicitly.
| Setting | What it does |
| - | - |
| **Heuristic bounds** | Sets a minimum and maximum accepted price |
| **TWAP divergence** | Limits how far the current price can deviate from the time-weighted average price |
| **Price age** | Sets how long a price can go without updating before it is rejected |
| **Block price usage** | Prevents the reserve from using its oracle price until the setting is changed |
> Heuristic bounds are manually configured minimum and maximum prices that an oracle price is allowed to fall within. They do not protect against unlimited minting because an increase in token supply may not change the reported oracle price. Reserve caps provide a separate limit on how much exposure the market can take on.
<div>
<p>Worth checking</p>
* Whether a suitable **Scope price feed** exists for the reserve asset.
* Whether the **heuristic bounds** allow plausible price movement while still rejecting clearly erroneous values.
* Whether the **TWAP divergence limit** can catch an unusual gap between the current price and its recent average, and whether the **price age limit** rejects a feed that has stopped updating.
* Whether `block_price_usage` has been tested before launch by the authority responsible for using it.
</div>
<CardGroup>
<Card title="Configuring oracles" icon="satellite-dish" href="/docs/curators/markets/configuring-oracles">
Wire each reserve to a Scope price feed with TWAP guards.
</Card>
<Card title="Scope oracle types" icon="layer-group" href="/docs/curators/markets/scope-oracle-types">
Composition types for fixed-income, multi-source, and LST assets.
</Card>
</CardGroup>
***
## Steps to Taking the Market Live
Curators bring a market live through a defined sequence of setup steps.
<Steps>
<Step title="Create the market">
Create the lending market. This initializes the `LendingMarket` account that will contain the market's reserves and configuration. See [Creating a market](/docs/curators/markets/creating-a-market).
<img alt="Create Market modal" />
</Step>
<Step title="Add reserves">
Add the reserves the market will support. One reserve per token mint per market. Typically, one reserve is added for the collateral asset and another for the asset users borrow. See [Adding reserves](/docs/curators/markets/adding-reserves).
</Step>
<Step title="Make the seed deposit">
Make the initial deposit into each reserve. A reserve must receive its first deposit before its configuration can be updated.
</Step>
<Step title="Set risk parameters">
Set the reserve risk parameters for each reserve. See [Risk parameters](/docs/curators/markets/risk-parameters).
</Step>
<Step title="Configure the oracle">
Connect each reserve to its Scope price feed. See [Configuring oracles](/docs/curators/markets/configuring-oracles).
</Step>
<Step title="Transfer ownership to the multisig">
Transfer market ownership from the setup wallet to the owner multisig. See [Transfer to multisig](/docs/curators/markets/transfer-to-multisig).
</Step>
<Step title="Set the emergency council">
Assign the emergency council for the market. See [Emergency council](/docs/curators/markets/emergency-council).
</Step>
<Step title="Turn on alerting">
Turn on external alerting for the market. Host it separately fr프로젝트로 돌아가기