bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 24쪽 중 5쪽
time-limited (recovers via admin-fee routing), but real.
Staking wins only when your personal emission share, priced at YB/USD, consistently beats the other two terms.
Admin-fee asymmetry
The admin-fee split is self-balancing. As the staking ratio rises, unstaked LPs keep a shrinking share of a shrinking fee total — but they are also an ever-smaller group, so per-LP returns can still diverge upward. That pulls LPs back toward unstaked when staking gets crowded, keeping the real-yield layer supplied. See
Fees and veYB Revenue
for the exact split at each staking ratio.
Related
Fundamental Value, Redemption Value, and TRD
: the two share values and the transient gap between them.
Watermark and Recovery
: the staked-side drawdown mechanism in full.
Tokenomics
: YB supply, emissions, and what drives Token APR.
Stake yb-LP
: how to move yb-LP into the gauge.
Unstake yb-LP
: how to exit the gauge.
The two positions
Where the value goes
The watermark, in brief
The worst-case scenario
When to stake
When not to stake
Breakeven intuition
Admin-fee asymmetry
Related
## /user/protocol/watermark-and-recovery
On this page
A staked yb-LP position is "underwater" when the price-per-share has fallen below its watermark. The protocol calls this Recovery Mode. Subsequent fee inflows route to the staked side first until parity is restored, so the loss is bounded and temporary; YB emissions continue to accrue throughout. This state is expected to be rare; what follows is the contract-level mechanism that protects stakers if it is triggered.
The two variables
staked
: the actual value currently held in staked.
ideal_staked
: the watermark. Equals price-per-share ATH.
Both update on every deposit, withdraw, transfer into or out of the staker address, and every fee distribution.
Watermark is the user-facing name for
ideal_staked
. The docs use watermark everywhere except in source-level discussion.
Three states
State
Condition
What's happening
At parity
staked == ideal_staked
Normal operation. Fees split between staked and unstaked per admin-fee formula.
Recovery mode
staked < ideal_staked
Fees route to staked
first
until parity.
Above watermark
Not a permitted state
staked
is capped at
ideal_staked
in the accounting itself.
Worked example: how recovery works when triggered
Recovery mode is rare. The scenario below illustrates how the mechanism behaves once triggered; the numbers are illustrative magnitudes for pedagogical clarity.
Day 0. You stake 100 yb-LP shares at PPS = 1.0.
staked = 100, ideal_staked = 100
.
Days 1–30. Market volatility pushes cumulative rebalance cost above fees by 2%.
staked
drops to 98;
ideal_staked
stays at 100. Recovery mode is active. Your YB emissions over the 30 days: about $50 in YB at current price.
Days 31–60. Fees outrun rebalance cost by 1.5%. All 1.5% routes to the staked side first, since admin fee does not apply during recovery.
staked
climbs to 99.47.
Days 61–100. Another 1.5% net fee gain routes entirely to staked, closing the gap.
staked = 100.0
. From this point, admin fee applies to subsequent inflows.
Day 100. You unstake. Redemption value (modulo TRD) is roughly $100 of original value plus $50 of YB emissions: positive net.
If instead you unstake on day 30, mid-drawdown: your 100 shares redeem for $98 of share value plus $50 YB = $148, against the $150 you would have had by waiting. Realized loss: $2 of PPS-level value. No TRD assumed.
A drawdown-and-recovery cycle. While staked sits below ideal_staked (shaded), all admin-fee flow repairs the gap; at parity the normal split resumes.
Entering Recovery Mode
When rebalance costs or LEVAMM revaluation reduce the vault's total value, LT distributes the loss across staked and unstaked. The net effect is
staked
dropping below
ideal_staked
.
In the value-distribution logic:
Positive value change: flows to staked first while
staked < ideal_staked
.
Negative value change: absorbed proportionally, with staked loss capped at the larger of its fair share and a safety bound (the
v_st_loss * supply / staked
term, which prevents unbounded dilution of stakers' shares).
Exiting Recovery Mode
Fees and favourable rebalances accrue. Each fee distribution:
Increases
staked
toward
ideal_staked
.
Once parity is reached, subsequent fees resume the normal staked/unstaked split.
Recovery time depends on fee flow. The parameter set keeps rebalance cost close to fee income, so a triggered recovery closes as forward fees outrun forward drag; the size of the gap determines how many fee cycles that takes.
What a staked LP sees
During drawdown: the dashboard shows PPS still climbing for unstaked LPs, but your staked position's redeemable value is below deposit.
YB emissions continue
throughout. They are the compensation for waiting.
At watermark recovery: your staked position's redeemable value returns to at-or-above deposit, modulo TRD (which also resolves on its own).
How
staked
moves on deposits and transfers
Deposit from user address (unstaked):
supply
and
total
grow;
staked
and
ideal_staked
unchanged.
Transfer
into
staker
address (stake):
staked
and
ideal_staked
both increase by proportional value. Watermark re-anchors.
Transfer
out
of
staker
address (unstake):
staked
decreases by proportional value;
ideal_staked
decreases by the same ratio of
staked_tokens
. The gap as a percentage of
staked
is preserved on unstake, not the absolute value of the gap.
Worked illustration. Suppose
staked = 980, ideal_staked = 1000
(gap 2%) and you stake 100 of new value. Both variables scale:
staked = 1080, ideal_staked ≈ 1102
. Gap stays near 2%.
Related
Staked vs Unstaked Economics
: the staking decision and why only staked positions take this drawdown.
Fundamental Value, Redemption Value, and TRD
: the short-term redemption gap, distinct from watermark drawdown.
Withdraw Liquidity
: how to exit a staked position.
Dev: LT
: the
staked
and
ideal_staked
on-chain accounting.
The two variables
Three states
Worked example: how recovery works when triggered
Entering Recovery Mode
Exiting Recovery Mode
What a staked LP sees
How
staked
moves on deposits and transfers
Related
## /user/protocol/fee-mechanics
On this page
YieldBasis earns trading fees from two places, splits them between LPs and veYB holders on a curve, and uses borrower interest to subsidise the rebalancing cost LPs would otherwise bear.
Where fee value comes from
Two sources feed yb-LP yield:
Curve Cryptoswap pool fees.
LEVAMM holds Curve LP tokens as collateral. When the underlying Cryptoswap pool earns trading fees, the LP tokens become worth more, and that increase flows up to LEVAMM and then to LT.
LEVAMM trading fees.
Every trade against LEVAMM (typically by an arbitrageur via VirtualPool) charges a fee that stays inside LEVAMM and raises the position's internal value.
Note: the Cryptoswap pool keeps a share of its own trading-fee profit as an internal rebalance reserve (used to fund the pool's own price tracking); only the LP share reaches yb-LP holders. In the original Twocrypto design this split was a fixed 50/50. The v3 pools make it a per-pool, governance-set parameter: read
reserved_profit_fraction()
on the pool for the live LP share. A larger rebalance share buys tighter price tracking at the cost of headline fee yield. (The pool also has its own
admin_fee
, a DAO cut of the LP bucket, distinct from YieldBasis's admin-fee curve below: currently 0, hard-capped at 90% in the pool code.)
Where fee value goes
When fee value arrives at LT, it is divided in this order:
Watermark first.
If staked is in recovery (its value has fallen below its high-water mark), incoming value goes to closing that gap before anything else.
Admin-fee split.
The remainder splits between unstaked LPs and admin fees based on the staking ratio: more staking → more goes to veYB. The minimum admin share is
Factory.min_admin_fee()
(10% since deploy, governance-adjustable); the maximum is 100% (in the theoretical case where every LP stakes).
The admin-fee split is intentionally non-linear. At low staking (most LPs unstaked), admin takes a small cut and unstaked LPs keep the bulk of fees. At high staking, admin takes more, but unstaked LPs are also a smaller group, so per-LP returns stay competitive. The mix self-balances toward an equilibrium rather than tipping fully one way.
The split follows a square-root curve in the staking ratio (whitepaper Eq 24):
f
a
=
1
−
(
1
−
f
min
)
⋅
1
−
s
/
T
f_a = 1 - (1 - f_{\min}) \cdot \sqrt{1 - s/T}
f
a
=
1
−
(
1
−
f
m
i
n
)
⋅
1
−
s
/
T
where
s
s
s
is staked supply,
T
T
T
is total supply, and
f
min
f_{\min}
f
m
i
n
is the 10% floor:
Staking ratio
s
/
T
s/T
s
/
T
Admin fee
f
a
f_a
f
a
Unstaked share
0%
f
min
f_{\min}
f
m
i
n
(0.10)
90%
50%
≈
0.364
\approx 0.364
≈
0.364
63.6%
90%
≈
0.715
\approx 0.715
≈
0.715
28.5%
99%
≈
0.91
\approx 0.91
≈
0.91
9%
→ 100%
→ 1
→ 0% (but per-LP APR diverges)
Fee Distribution based on Staking Percentage
Staking:
50
%
Unstaked ybBTC:
63.6
%
veYB:
36.4
%
How it works:
As more ybBTC gets staked, the dynamic admin fee increases, diverting more fees to veYB holders (DAO). Unstaked holders see their fee share decrease, but with fewer unstaked tokens remaining, each still captures meaningful yield. Staked holders receive YB emissions instead of trading fees.
The split is governance-mutable: the admin-fee curve can be revised via DAO vote.
A governance-set share of pool fees funds Cryptoswap rebalancing; the rest covers watermark recovery, then splits between unstaked LPs and veYB.
How LPs see fees
Position
Where fees appear
Cadence
Unstaked yb-LP
Fundamental Value (PPS) rises
Continuous
Staked yb-LP
Not via PPS. Earns YB emissions (Token APR) instead
Continuous accrual; claim any time
veYB holder
Weekly distribution in ybBTC tokens (yb-tBTC, yb-cbBTC, yb-WBTC, yb-WETH per market)
Every Thursday 00:00 UTC, smoothed over 4 weeks
Why veYB distributions arrive as ybBTC tokens
When admin fees are collected, the protocol mints fresh yb-LP shares of the specific market and sends them to the FeeDistributor. So a veYB claim returns a
bundle
of market-specific tokens (one per market with pending fees), not YB itself.
You can hold each ybBTC token to keep earning Fundamental Value, unstake and withdraw the underlying BTC, or sell the token outright.
Worked example
Suppose a Cryptoswap pool earns $1,000/day in trading fees and reserves 70% for rebalancing:
~$700 stays in the pool as the rebalance reserve.
~$300 flows up to yb-LP holders.
If the staking ratio is 50% and the watermark is at parity, the admin-fee curve gives roughly 36% to veYB:
~$109 → admin fees → FeeDistributor → veYB holders (Thursday claim, smoothed over 4 weeks).
~$191 → the LP side, split pro-rata between staked and unstaked positions.
At the extremes (with the 10% minimum admin fee):
0% staked: admin takes $30; unstaked LPs keep $270.
100% staked: admin takes the full $300.
Refueling: subsidising rebalancing
YieldBasis routes borrower interest back into the underlying Curve Cryptoswap pool as a donation. The contract path is
LT.distribute_borrower_fees()
: LT collects borrower fees from LEVAMM, computes a minimum LP amount, then calls Cryptoswap
add_liquidity([amount, 0], min_amount, empty(address), donation=True)
.
The standard Cryptoswap rebalancing reserve is funded from pool trading fees (the reserved share described above). YieldBasis donations add another reserve source. They do not mint LP tokens to a user; they increase the pool's donation buffer and release over the pool's configured donation window instead of being consumed in one block.
Net effect for an LP: borrower interest is recycled into the pool that LEVAMM depends on, helping fund Cryptoswap rebalancing that would otherwise rely only on pool fee reserves.
Related
Compounding Leverage
— the mechanism that creates the rebalancing cost the refuels offset
Watermark and Recovery
— what happens during the recovery-first stage of the split
Staked vs Unstaked
— when staking is worth giving up Fundamental Value growth
Arbitrage & MEV
— the arb trades that generate LEVAMM's fee flow
veYB
— locking, claim cadence, voting power
Dev: FeeDistributor
— full distribution mechanics
Dev: Refueling Loop
— the contract-level interest sweep
Where fee value comes from
Where fee value goes
How LPs see fees
Why veYB distributions arrive as ybBTC tokens
Worked example
Refueling: subsidising rebalancing
Related
## /user/protocol/hybrid-vaults
On this page
Hybrid Vaults let you deposit BTC or ETH into YieldBasis
beyond
the standard per-pool cap, in exchange for keeping a proportional crvUSD deposit in scrvUSD on the side. You earn yield on both: scrvUSD's savings rate
and
the YieldBasis pool returns. The two positions stay separate: your crvUSD goes directly to scrvUSD and never touches the underlying BTC/crvUSD pool your LP position sits in.
The dual-yield model
Position
Yield source
crvUSD backing
scrvUSD's savings yield (sourced from Curve's crvUSD mint-market borrow rate)
YieldBasis pool position
Trading fees (Fundamental Value growth) and optional YB emissions if staked
The two yields accumulate separately. You can claim or withdraw from either side without disturbing the other. Each side is independently exposed to its own risks — the crvUSD side to scrvUSD's smart-contract risk and to the crvUSD peg, the LP side to YieldBasis's normal market and protocol risks. Your crvUSD has no exposure to the underlying BTC/crvUSD Curve pool.
Why Hybrid Vaults exist
The scaling problem
Standard YieldBasis pools fill within minutes of each cap raise: BTC exposure that earns trading fees without underperforming a plain hold is scarce. (The position still carries full BTC price exposure, down as well as up.) The reason for the cap is to maintain crvUSD peg stability. YB pools borrow crvUSD to create their leveraged positions, and large BTC or ETH price moves translate into outsized crvUSD-stable swaps inside the underlying Curve pools. Uncapped YB growth would pressure the peg.
Hybrid Vaults create direct demand for crvUSD (you either mint it or buy it), which supports the peg. In return, YieldBasis grants the LP a personal cap that lets them deposit into pools beyond the standard limit. Bigger backing → bigger personal cap → more peg support.
YieldBasis operates with a crvUSD credit line extended by Curve DAO, and Hybrid Vaults are one of the ways YB scales towards that credit-line ceiling while preserving crvUSD peg stability. The other scaling lever is the PID-based net-pressure incentive system (see
Net Pressure & the PID Controller
), which streams crvUSD incentives to a Curve sink pool whenever markets drift out of balance.
How it works
1. Create your Hybrid Vault
Each address gets one Hybrid Vault. At creation, you choose an ERC-4626 vault to hold your crvUSD backing. scrvUSD is the default; governance can allow-list other options.
2. Deposit crvUSD
The vault deposits your crvUSD into the chosen allow-listed ERC-4626 vault (e.g., scrvUSD), where it earns that vault's yield while sitting as backing.
3. Deposit into YB pools
The crvUSD backing determines how much you can deposit into YB markets. The protocol enforces a
stablecoin fraction
(45% since the June 2026 DAO vote; governance-set, and higher in practice when pools are imbalanced): for every $100 of position value, you need $45 of crvUSD backing. You can split your capacity across multiple YB markets, up to 16 simultaneous positions.
4. Earn on both sides
The crvUSD deposited into scrvUSD (or whichever allow-listed ERC-4626 vault you selected) earns yield. The LP positions earn YieldBasis pool returns (Fundamental Value growth, or YB emissions if staked).
5. Withdraw in two stages
From a YB pool.
Withdraw your LP position first. If your remaining crvUSD backing exceeds what is required for the remaining positions, the excess becomes withdrawable.
Fully exit a position.
Frees the proportional crvUSD backing. Exiting every position frees all your crvUSD.
What you watch
The Hybrid Vault UI shows:
Personal Capacity
— total YB-pool deposit capacity unlocked by your current backing
Deposit capacity
— capacity remaining after current positions
Available crvUSD
— backing not yet committed to a position
Total crvUSD Deposits
/
Total crvUSD Available
— your overall backing and what you could withdraw
Plus the standard per-market data (Fundamental Value, Redemption Value, TRD)
Details
Personal Caps are personal.
Other users' deposits don't reduce your capacity, and yours doesn't reduce theirs.
Hybrid Vault caps are separate
from the standard per-pool caps. Both are DAO-governed and can be adjusted independently.
No deposit or withdrawal fees at the Hybrid Vault layer.
Standard YB pool fees still apply to the LP position itself.
First market
: WETH, with a $25M Hybrid Vault cap at launch. Additional assets follow.
TRD applies the same way
as it does for regular pool positions.
Audited by ChainSecurity and MixBytes
alongside the rest of the protocol. See
Audits
.
Example
Deposit $10,000 of crvUSD into a Hybrid Vault using scrvUSD as backing. At 45%, this unlocks roughly $10,000 / 0.45 ≈ $22,222 of LP capacity.
Split it: $11,111 into the cbBTC market and $11,111 into the WETH market.
Annual yield, fees aside:
crvUSD backing
: ~$450/year (at an illustrative 4.5% scrvUSD rate; the live rate moves with crvUSD markets)
cbBTC pool position
: tracks BTC + trading fees or YB emissions
WETH pool position
: tracks ETH + trading fees or YB emissions
The crvUSD yield is independent of the pool yields. Either side can be staked, paused, or withdrawn without affecting the other.
TRD-adjusted backing
When a pool's TRD is negative (Redemption Value below Fundamental Value), entering that pool requires more backing than the flat 45% would give. Example: at TRD = −2%, a $100 cbBTC position requires about $47 of backing instead of $45. This prevents under-backing of positions whose realisable exit value sits below their accounting value.
Changing your backing vault
You can switch the backing vault when no pool positions are open. Old vault shares are redeemed back to crvUSD and re-deposited into the new vault in one transaction. Only allow-listed ERC-4626 vaults are valid choices.
Emergency withdrawal
If a pool's oracle breaks or a position enters an abnormal state, the vault exposes a separate withdrawal path that doesn't depend on oracle health. It may return less than a normal withdrawal. Unstake first — staked positions need to be unstaked before this path can act on them.
Related
Use Hybrid Vaults
— step-by-step deposit walkthrough
Fundamental Value, Redemption Value, and TRD
— why TRD matters when withdrawing
Audits
— full audit history including the Hybrid Vault contracts
Dev: HybridVault
— contract reference
Dev: HybridVaultFactory
— vault creation and allow-list mechanics
The dual-yield model
Why Hybrid Vaults exist
The scaling problem
How it works
1. Create your Hybrid Vault
2. Deposit crvUSD
3. Deposit into YB pools
4. Earn on both sides
5. Withdraw in two stages
What you watch
Details
Example
TRD-adjusted backing
Changing your backing vault
Emergency withdrawal
Related
## /user/protocol/net-pressure-and-pid
On this page
When YieldBasis markets drift out of balance, the protocol needs to attract crvUSD liquidity faster than a governance vote can react. The PID controller measures that pressure on-chain and streams crvUSD incentives to a designated Curve pool until the pressure clears.
What net pressure is
Every YieldBasis market holds Curve LP tokens (for example cbBTC/crvUSD) as collateral against crvUSD debt.
Net pressure
is the market's debt minus the crvUSD sitting inside those LP tokens.
Say 프로젝트로 돌아가기