Yield Basis 백서

Yield Basis

원문

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

nd is filtered. Tab: VeYB Revenue ​ Fee distribution to veYB holders. Top metrics ​ Label What it is veYB APR Annualized % return based on current epoch distribution $/veYB/year Historical weighted average USD per veYB across all completed epochs Total distributed Cumulative USD distributed to veYB holders since genesis Current epoch USD distributed in the active epoch so far Total veYB Current veYB supply Locked YB Total YB locked in VotingEscrow Pending admin fees Fees collected but not yet claimed + distributed tip Fees claimed during an epoch are distributed evenly across the subsequent four epochs . This is why current-epoch numbers include tails from the prior four claim events. Charts ​ veYB APR (time series) Fee Distribution by Token (USD) — stacked bar, per-token value per epoch Fee Distribution by Token (Amounts) — same, raw token quantities (no USD conversion) Epochs table ​ Per-epoch breakdown: Column Meaning Epoch Epoch number; * = current, ** = ended Epoch start Start timestamp veYB supply Supply snapshot during epoch YB price YB/USD at epoch Distribution (USD) Total USD distributed $/veYB/year Annualized VeYB APR Annualized % "Estimates for future epochs are based on currently distributed fees, veYB supply, and the YB price, and do not constitute predictions of future distributions." Claim action ​ The "Claim Fees" button executes a multicall: LT.withdraw_admin_fees on each market with pending fees, then FeeDistributor.fill_epochs . Admins and anyone can trigger; gas cost scales with number of markets with pending balances. Tab: Locks ​ Lock-supply distribution. Top metrics ​ Label What it is veYB APR Same as VeYB Revenue tab Holders Number of lock positions Total veYB veYB supply Locked YB YB locked in VotingEscrow Permalocked YB YB locked with infinite = True % of eligible locked Fraction of lockable YB supply that is locked % of eligible permalocked Fraction that is permalocked (no decay) Tooltip on % of eligible locked: "The percentage of the YB supply eligible for locking that is locked" — "eligible" excludes team/treasury YB subject to cliff vesting. Charts ​ % of eligible locked — two lines: locked (solid), permalocked (dashed) YB Locked — absolute quantities, same two series Lock time distribution — histogram of lock-end dates Holders table ​ Ranked by veYB share, paginated at 100/page. Columns: rank, address (with ENS), locked YB, veYB share, lock end (or "Permalock"). Search by address or ENS. Market detail page ​ Clicking a market opens /analytics/market/:ltAddress with per-market depth. Market details ​ Fundamental PPS — pricePerShare() Redemption PPS — preview_withdraw(shares) / shares for a reference share count Market TRD — redemption / fundamental − 1 (negative during a discount) Pool details ​ TVL — True USD TVL from oracle pricing Rebalance Reserve — VP Reserve (fees) + Donations . The buffer Cryptoswap uses to absorb price_scale rebalance cost. Higher = less LP drag during volatility. See Refueling and Donations . Dynamic Fee — current Cryptoswap dynamic fee (rises with imbalance, falls when balanced) Charts specific to market detail ​ Plain PPS vs Watermark PPS — dual-axis: PPS (Fundamental) + Watermark PPS on left; asset price (USD) on right. Watermark PPS tracks ideal_staked / staked_tokens . Price Per Share (PLAIN) — Fundamental + Redemption for unstaked. Price Per Share (STAKED + EMISSIONS) — same for staked. Trading APY — window-selectable. Token APR — gauge APR for this market. Pool state charts ​ Three side-by-side, exposing Cryptoswap internals: Virtual Price vs XCP Profit Half — Virtual price is "value of 1 LP token"; grows with fees, drops when price_scale rebalances. xcp_profit_half is 50% of lifetime profit and is a floor virtual price should not cross. The gap is the rebalance reserve. Price Oracle vs Price Scale — price_oracle is EMA of recent trade prices; price_scale is where pool liquidity is concentrated. The pool rebalances price_scale toward the oracle when conditions are met — this is the internal mechanism and is fee-funded, separate from user/arb swaps. Donation Shares vs Available Shares — linear unlock of interest donations over the pool's donation window (default 7 days; governance-configurable per pool). donation_shares locked; available_shares unlocked. Donations boost virtual price without diluting LPs. Admin fees ​ Area chart of admin fees collected for this specific market. USD/asset-unit toggle. 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. Gauges & Emissions : how gauge votes route emissions. Withdraw Liquidity : the full withdraw walkthrough. Tab: Markets Top metrics Markets table PPS charts (plain — unstaked path) PPS charts (staked — with emissions) APY / APR charts Admin fees charts Tab: Gauges Top metrics Gauges table Gauge charts Tab: VeYB Revenue Top metrics Charts Epochs table Claim action Tab: Locks Top metrics Charts Holders table Market detail page Market details Pool details Charts specific to market detail Pool state charts Admin fees Related ## /user/reference/risks On this page Providing liquidity on YieldBasis and participating in leveraged liquidity provision carries inherent risks. Before depositing or engaging with the protocol, users must research and understand the risks involved. This document catalogues the primary risk categories. Audits & documentation ​ YieldBasis smart contracts have been audited by Statemind, ChainSecurity, Quantstamp, MixBytes, Electisec, and Pashov , and a public security contest was hosted with Sherlock . Audit reports are listed at Audits & Bug Bounties . Check each report for the status of its findings — a published report does not mean every finding was remediated. Audits reduce risk; they do not eliminate it. Technology risk ​ Smart contract risk ​ YieldBasis relies on self-executing smart contracts. While designed to be secure and reviewed by multiple independent firms, no audit eliminates all risk — vulnerabilities, bugs, or novel attack vectors could exist. Malicious actors exploiting such issues could cause loss of funds or other adverse outcomes. Users should conduct due diligence and review the smart contracts and audit reports before depositing. Vyper 0.4.3 implementation throughout. Core YB contracts are immutable — they cannot be upgraded. Parameter updates (fees, allocations, gauge weights) go through the DAO. A migration path exists from legacy to current markets via LTMigrator.vy . Oracle risk and price-feed dependency ​ YieldBasis uses a composite oracle to price LP tokens and maintain leverage: Curve Cryptopool LP oracle — 2 × virtual_price × √price_scale × p_agg (see Oracle Design ). crvUSD price aggregator — samples from multiple major liquidity pools and takes an EMA. Bound check — at Factory init and on aggregator updates ( Factory.vy::set_agg ), the crvUSD oracle price must fall within ($0.90, $1.10) (exclusive on both ends). The aggregator setter reverts outside the band; routine deposit, withdraw, and exchange operations do not re-validate it. The EMA dampens flash-loan manipulation: you cannot move price_scale within a single block enough to spoof the oracle. However, oracles are not infallible. In extreme market conditions, price feeds may experience latency, temporary unavailability, or genuine disagreement between the oracle and live market price. Such disruptions could impact the protocol's ability to maintain the target leverage ratio, result in unfavourable trade execution, or temporarily destabilise the system. Leverage mechanism and rebalancing risk ​ YieldBasis maintains a constant 2× compounding leverage via an arbitrage-driven rebalancing mechanism (see Compounding Leverage ). LEVAMM posts quotes via its invariant; arbitrageurs trade against those quotes when they diverge from Cryptoswap spot, which simultaneously restores the leverage target. This mechanism depends on economic incentives: Normal conditions — arbs execute rebalancing trades for profit, holding the ratio near its 50% target. Extreme volatility / network congestion — rebalancing may be delayed. High gas costs can make small arb trades economically unviable, letting the leverage drift from its target for longer periods. crvUSD depeg — if crvUSD deviates far from $1.00, the effective leverage ratio can deviate from the target even when arbs are active. Self-correction via arbitrage is not instantaneous. It depends on market participants responding to economic incentives under prevailing gas and volatility conditions. Spread fluctuations and withdrawal variability ​ Users may observe that withdrawal amounts fluctuate between blocks. This is a consequence of the Cryptoswap-vs-LEVAMM gap ( TRD ) — LEVAMM's quote adjusts to the debt-to-value ratio, and Cryptoswap's live pool state shifts with trades. When the leverage drifts from 50%, the effective spread widens to incentivise rebalancing; as arbs respond, the spread narrows. In practice: The amount received on withdraw can vary between a pre-trade quote and execution, depending on other activity in the block. During rapid price movement, spread adjustments are more pronounced and TRD can widen. Always review transaction previews ( preview_withdraw ) and set a realistic min_assets parameter to protect against unfavourable execution. TRD normally resolves within hours via arbitrage. See Temporary Redemption Discount . Immutability and irreversibility of transactions ​ Transactions on Ethereum and EVM-compatible chains are immutable and irreversible . Once confirmed on-chain, a transaction cannot be modified, reversed, or deleted. If funds are sent to a wrong address, signed for the wrong amount, or routed to a malicious contract, recovery is typically impossible. Verify transaction details, use trusted wallets, and double-check contract addresses against Contract Addresses before confirming. Counterparty risk ​ Access control ​ YieldBasis smart contracts are intentionally immutable and noncustodial . They cannot be upgraded, and liquidity providers always retain control of their funds. This limits protective action in emergencies but strengthens user assurance over custody. Protocol governance is handled by a DAO of veYB holders (see Proposals ): 1 veYB minimum to create a proposal. 30% quorum (minimum participation of total veYB supply). 55% support threshold. 7-day voting window with linear decay after 50% of duration. The DAO controls the implementation of new system contracts and parameter adjustments. Users considering deposit should be comfortable with decisions being made collectively by veYB holders. Emergency procedures ​ YieldBasis does not implement a traditional emergency-pause function or circuit breaker at the protocol level. This design prioritises user custody and access — liquidity providers can always exit, regardless of protocol state. Caveats: Market kill-switch — YB's emergency_admin can call set_killed on an AMM to block new deposits and normal withdrawals ( LT.withdraw reverts with "We're dead. Use emergency_withdraw" ). When a market is killed, emergency_withdraw remains available so users can always unwind — this path does not depend on oracle or AMM health. Use only when the standard path is unavailable; returns may be suboptimal. Curve Emergency DAO — since YB markets are built on Curve Cryptoswap pools, the Curve Emergency DAO can pause the underlying Curve pool in extreme situations. This may affect swap functionality (including arbitrage-based rebalancing), but withdrawals from YieldBasis remain possible even if the underlying Curve pool is paused. Users should understand the dependency: YB itself has no pause, but the upstream infrastructure it builds on does. Emergency safeguards at the Curve level could temporarily affect certain functions while preserving withdrawal capability. Dependency on Curve Finance infrastructure ​ YieldBasis is built on Curve Finance: Cryptoswap pools provide the underlying liquidity and LP token semantics. crvUSD is the debt asset. LP pricing and the refueling mechanism rely on Curve's infrastructure. YieldBasis inherits both the benefits (extensive audit history, years of production usage, mature oracle design) and the risks of this dependency. Changes to Curve pool parameters, upgrades to Curve contracts, or issues with Curve infrastructure could affect YieldBasis markets without direct control by YieldBasis governance. Any vulnerability, exploit, or failure in Curve contracts could directly impact YieldBasis users. Economic risk ​ Unstaked LPs ​ PPS drag — if net rebalance losses (after the refueling subsidy from borrower interest) exceed trading-fee inflow over a sustained period, PPS grows more slowly or stagnates. Borrower interest itself does not directly drag PPS; the drag is the residual slippage cost donations do not cover. Recovery requires forward fees to outpace forward drag. See Fundamental Value vs Redemption Value . TRD on withdrawal — normal, self-resolving via arbitrage; typically takes hours. See Temporary Redemption Discount . Staked LPs ​ Watermark drawdown — the main staked-specific exposure. If rebalance losses outrun fees (see Fee Mechanics ), the staked side drops below ideal_staked . The parameter set is tuned to keep rolling 60-day APY positive, so drawdown is rare and the safety net rarely triggers; when it does, recovery is forward-fee-dependent and YB emissions are the compensation for the wait. See Watermark and Recovery . Forfeited PPS growth — staked positions do not earn unstaked PPS growth. Their only economic return is YB emissions (valued at YB/USD). The opportunity cost versus staying unstaked is real. YB price risk — YB emissions are the compensation for watermark exposure and forfeited PPS growth; if the YB token's market price is low relative to realised protocol yield, emissions under-compensate. Gauge weight risk — emissions per gauge are allocated by veYB vote. If your market's gauge weight is low, emissions to stakers in that market are low. Asset risk ​ BTC and ETH wrapper token risk ​ YieldBasis supports multiple wrapped BTC and ETH variants across its markets — cbBTC, WBTC, tBTC, WETH , etc. Each wrapped token represents the underlying asset held by a specific custodian or bridge mechanism, and each carries its own trust assumptions: Wrapped BTC tokens are not native Bitcoin . They depend on the solvency and operational integrity of issuers or bridge protocols (custodian risk for cbBTC/WBTC; bridge risk for tBTC; etc.). If a wrapped token loses its peg to the underlying (custodian insolvency, bridge exploit, regulatory action, technical failure), liquidity providers in the corresponding yb-LP market experience the full effect. Markets are isolated from each other. A depeg in one wrapped variant does not directly affect LPs in other YB markets. Carefully evaluate the trust model of the wrapper you choose before depositing. crvUSD stability and peg risk ​ YieldBasis borrows crvUSD through a dedicated collateralised debt position (CDP) line to achieve 2× leverage. The leverage mechanism assumes crvUSD trades near $1.00: The oracle validates crvUSD price within ($0.90, $1.10) (exclusive on both ends) when the aggregator is set; routine operations do not re-check the band. Short-term crvUSD volatility inside the band can still affect effective leverage ratios and position values. Large depeg events (deep under- or over-peg) would distort the protocol's effective leverage and the value of user positions. Permanent depeg due to systemic issues with crvUSD collateral or redemption would cause losses proportional to the severity and direction of the depeg, as YB debt is denominated in crvUSD. Market dynamics and liquidity risks ​ Underlying volatility. The value of user positions is driven by the underlying asset (BTC, ETH). Cryptoasset prices move fast and far; that is normal, not exceptional. YB gives you 1:1 exposure to the underlying via 2× leverage with IL cancelled, so you carry the full downside as well as the upside. Flash crashes and rapid moves. Sudden market events can produce substantial gains or losses. Rebalancing efficiency depends on liquidity. In thin liquidity or extreme stress, arb trades may be less efficient and the leverage target can drift for longer. Oracle-safety-band edges may also temporarily gate arb, extending drift. Flash loan dependency ​ YieldBasis's arb-based rebalancing uses flash loans to enable capital-efficient trades. VirtualPool.vy integrates with a flash lender (configured on Factory.flash ) so arbitrageurs can rebalance without upfront capital. If flash-loan infrastructure is unavailable or experiences technical issues , the protocol's ability to rebalance quickly is impaired. If flash-loan fees rise , rebalancing arbitrage becomes less profitable and the leverage target can drift further before arbs respond. Flash-loan protocols have been reliable historically, but any disruption delays return to optimal leverage during volatile conditions. Governance risk ​ The DAO can alter critical parameters (admin fee floor, emission schedule, gauge approvals, factory allocations, stablecoin fraction for Hybrid Vaults, etc.) subject to the 30% quorum / 55% support thresholds. veYB voting weight concentration at launch creates a vote-centralisation risk until distribution matures. Emergency admin can kill individual markets (see above). This is a fast-path tool for broken oracles or insolvency that cannot wait for a full DAO vote. Regulatory risk ​ Standard DeFi regulatory uncertainty applies. Users are responsible for understanding the legal and tax status of yb-LP positions, veYB, and YB emissions in their jurisdiction. Disclaimer ​ The information provided within this document does not constitute financial, legal, or tax advice personalised to individual circumstances. It is for informational purposes only and should not be relied upon as a substitute for professional advice. The protocol is provided "as is" without warranties of any kind, and users engage with YieldBasis entirely at their own risk. Users are strongly encouraged to seek advice from qualified professionals regarding financial, legal, and tax matters before engaging with YieldBasis. Past performance is not indicative of future results , and users may lose some or all of deposited capital. Only deposit funds you can afford to lose, and carefully consider your risk tolerance, financial situation, and investment objectives before participating in leveraged liquidity provision. Related ​ Audits & Bug Bounties Staked vs Unstaked Economics Temporary Redemption Discount Watermark & Recovery Oracle Design Proposals Audits & documentation Technology risk Smart contract risk Oracle risk and price-feed dependency Leverage mechanism and rebalancing risk Spread fluctuations and withdrawal variability Immutability and irreversibility of transactions Counterparty risk Access control Emergency procedures Dependency on Curve Finance infrastructure Economic risk Unstaked LPs Staked LPs Asset risk BTC and ETH wrapper token risk crvUSD stability and peg risk Market dynamics and liquidity risks Flash loan dependency Governance risk Regulatory risk Disclaimer Related ## /user/reference/audits On this page YieldBasis has undergone multiple security audits, AI-assisted reviews, and competitive security reviews to improve the safety and reliability of the protocol. However, no audit can guarantee absolute security, and smart contract risk remains. Finding-level remediation status is not summarized here until each report's finding matrix and current remediat
프로젝트로 돌아가기