Yield Basis 백서

Yield Basis

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 24쪽 중 8쪽

a proposal requires 1 veYB. Passing requires 30% quorum and 55% support. Voting runs for 7 days; voting power decays linearly once the proposal reaches the 50% mark of its duration. Proposals can execute early if the outcome is mathematically certain. Parameters ​ Parameter Value Minimum veYB to create a proposal 1 veYB Minimum participation (quorum) 30% of total veYB supply Support threshold 55% of votes in favour Minimum proposal duration 604,800 seconds (7 days) Voting-power decay Linear, starting at 50% of proposal duration Vote options Yes / No / Abstain Voting-power decay ​ Voting power is captured when the user votes, weighted by their current veYB balance. Decay is applied over the proposal window: First 50% of duration : voting power remains full. After 50% : voting power decreases linearly toward zero at proposal end. The decay discourages late-vote manipulation: a last-minute voter contributes less than an early voter, so bribing or sniping the final hours loses force as the window closes. Early execution ​ A proposal can execute before its 7-day window ends if the outcome is mathematically certain — the remaining possible votes cannot change the result. The conditions: Support threshold (55%) already reached. Minimum participation (30%) already reached. No possible combination of remaining votes could flip the decision. Early execution speeds up clearly-supported decisions. It is enabled during the protocol's early stages and may be disabled via governance later. Execution flow ​ Proposal reaches support + quorum (or meets early-execution conditions). Timelock begins. After timelock, anyone can call execute() on the proposal. Emergency DAO retains a veto path for catastrophic errors before execution. Related ​ veYB — voting power source. YB Token Gauges & Emissions — gauge voting is separate from proposal voting. Dev: VotingEscrow Parameters Voting-power decay Early execution Execution flow Related ## /user/reference/faq On this page Organised by symptom. If you're here because something seems wrong, start with the first section. "Why can I withdraw less than I deposited?" ​ Three common causes. Check in this order (they are independent; a single withdrawal can have more than one at once). Are you hitting TRD? If preview_withdraw(1e18) < pricePerShare() , yes. TRD resolves on its own as arbs align LEVAMM with Cryptoswap. → TRD . Is your position staked? If yes, check watermark. staked / ideal_staked < 1 means a recovery-mode drawdown. Future admin fees route to the staked side first to restore parity. → Watermark & Recovery . Has PPS itself grown slowly? If rebalance losses have exceeded accrued fees over your holding period, PPS has grown less than expected (PPS drag). Only recovers if forward fee capture outpaces forward rebalance cost. → Fundamental Value, Redemption Value, and TRD . "What's the difference between Fundamental Value and Redemption Value?" ​ See Fundamental Value, Redemption Value, and TRD . Short: PPS is the vault's fundamental per-share accounting ( LT.pricePerShare() , oracle-priced); redemption value is what you get on withdraw right now ( LT.preview_withdraw(shares) , live Cryptoswap state). The gap is TRD. "I staked. Should I unstake?" ​ Depends on why. See Staked vs Unstaked Economics . The question: do you trust YB emissions to compensate for watermark drawdown risk? "When does TRD clear?" ​ Typically hours depending on volume and arb activity. High-volume regimes close it within hours; quieter markets can take longer. Arbitrageurs close it by trading. → TRD . "Does YB have a cap?" ​ Yes — hard cap at 1,000,000,000 YB total supply. Emissions follow an exponential-decay schedule from a reserve set at deploy; total supply asymptotically approaches the cap but never exceeds it. See YB Token and Tokenomics . "Is there impermanent loss?" ​ Unstaked yb-LP does not suffer IL relative to holding the asset: the 2× leverage adds convexity that cancels the concave p \sqrt{p} p ​ shape of the LP value curve, so the leveraged net payoff is linear in price: the same P&L as holding, plus fees. You keep full price exposure, including the downside. See Compounding Leverage . The underlying Cryptoswap pool still has IL internally — you do not experience it because your claim is on the wrapped leveraged position. Staked yb-LP can experience watermark drawdown , which is distinct from IL. Drawdown happens when rebalance losses temporarily exceed fees; the staked side recovers via admin-fee routing. That is accounting recovery, not curve geometry. "Why doesn't the staked APY include PPS growth?" ​ Because staked positions do not accrue unstaked PPS growth. Their only economic return is YB emissions. Analytics charts labelled "staked + emissions" show the staked side's value plus accrued emissions — do not add unstaked PPS growth on top; that would double-count an income stream the staker does not earn. "How do I read the analytics page?" ​ See Analytics . Related ​ Glossary Risk Disclaimer "Why can I withdraw less than I deposited?" "What's the difference between Fundamental Value and Redemption Value?" "I staked. Should I unstake?" "When does TRD clear?" "Does YB have a cap?" "Is there impermanent loss?" "Why doesn't the staked APY include PPS growth?" "How do I read the analytics page?" Related ## /user/reference/glossary On this page A ​ admin fee — portion of the LP-side value change (post-watermark-recovery) routed to admin fees and eventually to veYB holders. Formula: 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 / T s/T s / T is the staking ratio. See Fee Mechanics and Math Primer §5.1 . AMM (LEVAMM) — AMM.vy in yb-core. The leveraged constant-product market maker holding Curve LP tokens as collateral and crvUSD as debt. Posts quotes via an oracle-informed invariant; arbs trade against those quotes, keeping the position near L = 2 L = 2 L = 2 . See Compounding Leverage . arbitrageur — external actor who trades between LEVAMM (via VirtualPool) and Cryptoswap, closing the price gap for profit. Each profitable arb trade simultaneously moves LEVAMM back toward L = 2 L = 2 L = 2 . B ​ base APY — Fundamental Value (PPS) growth for unstaked yb-LP holders. Does not accrue to staked positions; stakers earn only YB emissions. Never sum base APY and emissions APR for a gauge staker. C ​ compounding leverage — continuous maintenance of a constant leverage ratio. At L = 2 L = 2 L = 2 on a Curve LP position, cancels volatility drag. See Compounding Leverage . Cryptoswap — Curve's dynamic-peg AMM family (Twocrypto / Tricrypto). YB holds positions in these pools. The pool splits trading-fee profit between its rebalance reserve and LP virtual_price growth by the governance-set reserved_profit_fraction (fixed 50/50 in the original design; per-pool and adjustable in v3 — read it on the pool contract). crvUSD — Curve's over-collateralised stablecoin. The debt side of every LEVAMM position. F ​ Factory — Factory.vy . Atomically deploys YB markets (LT + AMM + VirtualPool + oracle + gauge) from blueprints. All markets deployed by one Factory share the same LEVERAGE (typically 2). FeeDistributor — FeeDistributor.vy . Receives admin-fee flow from each market's LT and distributes to veYB holders weekly (every Thursday 00:00 UTC) with 4-week smoothing. Payouts are in ybBTC tokens per market, not in YB or crvUSD. fundamental value — synonym for PPS in YieldBasis user-facing terminology. The per-share value as the vault accounts for it at oracle price, reported by LT.pricePerShare() . Distinct from redemption value (below). See Fundamental Value, Redemption Value, and TRD . G ​ gauge — per-market staking + emission contract ( LiquidityGauge.vy ). Accepts yb-LP deposits, mints strict ERC-4626 gauge shares, distributes YB emissions and up to 8 custom reward tokens. gauge voting — veYB holders allocate emission weight across gauges via GaugeController.vote_for_gauge_weights . Votes apply instantly , with a 10-day cooldown per-gauge re-vote. H ​ Hybrid Vault — per-address vault that ties YB pool access to proportional crvUSD backing. Backing is held in a governance-allow-listed ERC-4626 vault (scrvUSD by default). The stablecoin fraction is set by governance: 45% since the June 2026 DAO vote (55% at deploy). Earns scrvUSD yield on backing plus YB returns on pool positions. See Hybrid Vaults . I ​ ideal_staked — target value of the staked side, stored in LT.liquidity . Rises when yb-LP is staked; does not fall when the staked side takes a loss. When staked < ideal_staked , admin-fee flow routes to the staked side first until parity is restored (Recovery Mode). See Watermark & Recovery . impermanent loss (IL) — LP underperformance versus a linear hold, due to the p \sqrt{p} p ​ shape of the Cryptoswap LP value curve. Curve geometry, not a fee. Cancelled at the yb-LP depositor level by 2× leverage convexity; see volatility drag and Volatility Decay . L ​ LEVAMM — see AMM . LiquidityGauge — LiquidityGauge.vy . Strict ERC-4626 wrapper over yb-LP shares. Holding gauge shares is how you stake. Emits YB and optional custom reward tokens. LP (Curve LP) — liquidity-provider tokens issued by Curve Cryptoswap pools. LEVAMM holds these as collateral. LT — LT.vy . ERC-20 vault contract that mints yb-LP. ERC-4626-like (emits ERC-4626 Deposit / Withdraw events, has preview_deposit / preview_withdraw ) but not strictly compliant — custom deposit(assets, debt, …) signature, no convertToAssets / mint / redeem on the contract itself. Strict ERC-4626 lives on LiquidityGauge . O ​ oracle price — external reference price used by LEVAMM for sandwich-resistant value computation. Comes from CryptopoolLPOracle + price aggregator; EMA-smoothed so a flash-loan can't move it within one block. P ​ permalock — maximum-duration (4-year) YB lock with no decay, giving constant full veYB power. Toggleable. Can be transferred to another permalocked position under strict conditions. See veYB . PPS (price per share) — total × 1e18 / supply_tokens as reported by LT.pricePerShare() . Oracle-priced, sandwich-resistant. The vault's fundamental per-share value. See Fundamental Value, Redemption Value, and TRD . price_scale — Cryptoswap's internal peg; the price around which liquidity is concentrated. Rebalances internally via the pool's fee-funded mechanism (independent of user/arb trades). PPS drag — slow PPS growth caused by cumulative rebalance slippage outrunning fee inflow over a period. Baked into PPS itself; not recoverable by waiting, only by forward fees outpacing forward drag. Distinct from TRD (transient) and watermark shortfall (staked-side-only, recoverable via fee routing). R ​ rebalance slippage — cost of moving price_scale or of continuous L = 2 L = 2 L = 2 rebalancing on LEVAMM. Offset at the protocol level by the refueling loop (borrower interest donated to the pool as reserve). Recovery Mode — state where staked < ideal_staked . All admin-fee flow routes to the staked side first, at 100% (no admin take), until parity is restored. redemption value — what you receive if you withdraw right now. Computed by LT.preview_withdraw(shares) via Cryptoswap's calc_withdraw_fixed_out . Lags PPS when Cryptoswap state and LEVAMM target are out of sync; the gap is TRD . Refueling — donation cycle where crvUSD borrower interest accrued in LEVAMM is swept by LT and donated to the Cryptoswap pool as rebalance reserve. 100% of collected interest flows through this loop. Not LP yield; a closed accounting loop between leverage cost and rebalance subsidy. See Refueling & Donations . S ​ scrvUSD — Curve's savings-crvUSD ERC-4626 vault. The default (and most common) backing option for Hybrid Vaults. Any governance-allow-listed ERC-4626 crvUSD-denominated vault can serve this role. staked yb-LP — yb-LP held inside a LiquidityGauge . Earns YB emissions only — does not accrue unstaked PPS growth. Exposed to watermark drawdown (recoverable via fee routing). See Staked vs Unstaked Economics . staking ratio — staked / total_supply of an LT. Drives the admin-fee formula and the per-gauge emission adjustment. T ​ TRD (Temporary Redemption Discount) — preview_withdraw(1e18) / pricePerShare() − 1 . The signed gap between what 1 share redeems for now ( LT.preview_withdraw ) and its fundamental per-share value ( LT.pricePerShare ). Negative TRD is the common case during high volatility or drawdowns (e.g. −1% means a share redeems for 1% less than its books value). Positive TRD is the rare premium case. Zero means the two are aligned. Resolves via arbitrage — hours to a few weeks depending on volume. See TRD . U ​ unstaked yb-LP — yb-LP held in the user's wallet (not in the gauge). Earns PPS growth from fee flow. Shares are ERC-20 transferrable. No YB emissions. V ​ veYB — vote-escrowed YB. ERC-721 NFT minted by VotingEscrow.vy when YB is locked. Lock 1 week to 4 years (linear decay) or permalock (no decay). Grants governance votes, gauge-weight votes, and a weekly share of admin fees (paid in ybBTC tokens). See veYB . VirtualPool — VirtualPool.vy . Wraps LEVAMM + Cryptoswap + flash loan to expose direct crvUSD↔asset swaps. The arb path — LEVAMM does not trade directly against users. volatility drag — LP underperformance vs a linear hold, a consequence of the LP value curve's p \sqrt{p} p ​ shape (concave). Cancelled at the depositor level by wrapping the LP in 2× leverage — the convexity of the leveraged position offsets the concavity of the LP, yielding a linear net payoff. Not removed from the underlying Cryptoswap pool; experienced only by the yb-LP depositor as if cancelled. Full treatment: Volatility Decay . W ​ watermark — user-facing name for ideal_staked in LT.vy . The high-water mark value of the staked side that future fees must restore before any admin fee is charged. See Watermark & Recovery . Y ​ YB — YieldBasis governance token. ERC-20, hard-capped at 1,000,000,000 YB total supply. Deployed 15 September 2025. Utility activates only when locked into veYB. See YB Token . ybBTC / ybETH — user-facing name for yb-LP tokens in BTC-pair or ETH-pair markets respectively (e.g. yb-tBTC, yb-cbBTC, yb-WBTC, yb-WETH). Each is the LT share of a specific market. yb-LP — ERC-20 vault share minted by LT.vy . Represents a pro-rata claim on a 2×-leveraged Curve LP position held inside LEVAMM. Transferrable while held in the user's wallet (unstaked); non-transferrable while held by a LiquidityGauge (staked). LT is ERC-4626-like but not strict; strict ERC-4626 lives on the gauge wrapper. A B C F G H I L O P R S T U V W Y ## /user/reference/analytics On this page Every panel on yieldbasis.com/analytics traces back to a specific contract state variable or a derived metric. This page maps each panel to its source and flags the common misreadings. info If a panel label or layout has changed since this doc was written, the code-level source (contract or subgraph field) is still authoritative. Panel labels are quoted exactly as they appear in the UI. The dashboard has four top-level tabs plus a per-market detail view. Tab: Markets ​ Protocol-wide view of all YB markets. Top metrics ​ Label What it is Source TVL Sum of LT vault values across all markets, in USD Aggregated LT.liquidity.total × oracle price Collected admin fees Cumulative admin fees already claimed via withdraw_admin_fees and routed to FeeDistributor Subgraph event log Pending admin fees Admin-fee balance not yet withdrawn LT.liquidity.admin (positive part) per market, summed Admin fees are the protocol's cut of yield, split per the staking ratio. See Fee Mechanics . Markets table ​ Column Meaning Notes Market Asset symbol; Deprecated badge for legacy LTs Legacy markets have withdrawal open but no new deposits FT APY (30D) Fundamental trading APY, trailing 30 days Derived from PPS (fundamental-value) growth driven by trading fees. Does NOT include emissions. Token APR Gauge emission APR at current rate + vote weight YB-denominated at current YB/USD TVL Vault value in asset quantity + USD Composition Cryptoswap pool balances (asset vs crvUSD) Reflects Cryptoswap internal state, not LT TRD Temporary Redemption Discount % (signed) preview_withdraw(1e18) / pricePerShare() − 1 . Negative during a discount (e.g. −1.5% on a drawdown); positive in the rare premium case. Resolves via arb; see TRD The tooltip on TRD says: "Pools may become imbalanced during high volatility, causing redemption discounts. Arbitrage and swaps naturally rebalance them with time, reducing the discount to 0." The Cryptoswap pool rebalances its price_scale internally (fee-funded), and VirtualPool arbitrage closes the LEVAMM-vs-Cryptoswap gap. PPS charts (plain — unstaked path) ​ Fundamental PPS (PLAIN) — PPS-equivalent series if a share were held unstaked. Tracks L = 2 L=2 L = 2 value growth from fees. Redemption PPS (PLAIN) — What you'd receive on preview_withdraw at each point in time. The gap to Fundamental PPS is realized TRD. PPS charts (staked — with emissions) ​ Fundamental PPS (STAKED + EMISSIONS) — Staked-side value per share (subject to watermark, not unstaked PPS) plus accrued YB emissions priced at YB/USD. The two components are summed for display. Redemption PPS (STAKED + EMISSIONS) — Withdrawal value for a staked share including accrued emissions. A gap between these two on the staked charts indicates watermark shortfall ( staked < ideal_staked ); see Watermark and Recovery . caution These staked charts include emissions in their value line. That is how the dashboard makes a like-for-like visual comparison with the unstaked (plain) charts. Do not interpret the staked line as "staked earns PPS growth" — staked positions do not accrue unstaked PPS. The apparent growth in these charts is the emissions component. Your realised return as a staker is emissions-only; comparing to unstaked means comparing emissions-to-you against unstaked PPS growth, not summing them. APY / APR charts ​ Trading APY — Fundamental trading APY over a selectable window (default ALL-TIME). 0% baseline included so you can see underperformance periods. Token APR — Gauge emission APR, bounded at 0. Admin fees charts ​ Total Collected Admin Fees (USD) — Area chart of cumulative protocol-wide admin fees since genesis. Collected Admin Fees by Market (USD) — Per-market breakdown. Helpful for spotting which markets contribute most revenue. Tab: Gauges ​ Governance-adjusted emission routing. Top metrics ​ Label What it is Total veYB votes Total veYB currently in the system Total gauge votes Sum of veYB weight allocated to gauges (≤ total veYB) veYB Vote Utilization total gauge votes / total veYB — fraction of veYB actively voting Total YB Emissions Cumulative YB minted to gauges Daily YB Emissions Projected 24h emission at current schedule Votes per YB/day veYB required to direct 1 YB/day to a gauge The tooltip on "Votes per YB/day" is the practical unit for gauge-vote strategy. Gauges table ​ Column Meaning Source Gauge Gauge's market asset LiquidityGauge.lt → LT asset Staked % Fraction of that market's LT staked in the gauge staked / total_supply on LT Votes veYB allocated to this gauge GaugeController.gauge_weight Vote weight This gauge's votes / total gauge votes Derived Incentives weight Emission share, vote_weight × sqrt(staked/total) See Gauges & Emissions Emissions (24h) YB going to this gauge per 24h YB distributed Lifetime YB minted to this gauge Gauge charts ​ Per-gauge time series: staked %, incentives weight (stacked area), votes (stacked), vote weight %, YB emissions (stacked bar), utilization, votes-per-YB. Initial day may be noisy a
프로젝트로 돌아가기