Yield Basis 백서

Yield Basis

원문

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

ssions stop accruing. Per Staked vs Unstaked Economics , staked positions earn YB emissions only (not unstaked PPS growth). Unstake before attempting a standard withdrawal — withdraw rejects staked shares. 6. Claim rewards ​ The claim-rewards action collects pending rewards from every staked pool at once and sends them to your wallet. You make one call per reward token (YB, plus any custom reward tokens set on individual gauges). 7. Withdraw ​ Two ways to free capital: A. Withdraw LP from a specific pool ​ Use the withdraw action on a specific pool. The flow supports: Auto-unstake — if your shares are staked in the gauge, the action unstakes them first in the same transaction. Free excess crvUSD — if your remaining backing exceeds what's required for your remaining positions, the surplus crvUSD can be returned to your wallet in the same transaction. Check TRD first. A negative TRD means exiting now locks in the discount as a permanent loss. If the withdrawal is not urgent, waiting for TRD to recover (typically hours) gets you a better exit price. B. Free the full scrvUSD balance ​ After exiting all pool positions, use the redeem-crvusd or withdraw-scrvusd action to move the freed backing out of the vault. 8. Emergency withdrawal (fallback path) ​ If a pool's oracle breaks or the position is in an abnormal state, the emergency-withdraw action uses non-oracle accounting to exit. Unstake first. Staked shares are not accessible to the emergency path. Returns may be suboptimal compared to a normal withdrawal. Use only when standard withdraw fails. You may need to bring crvUSD from your wallet to close the position, since the oracle-dependent path for the vault's internal crvUSD rebalance may be broken. Changing your backing vault ​ The change-backing-vault action rotates your backing to a different allow-listed ERC-4626 vault. Constraint: no active pool positions. Close all positions first. Old vault shares are redeemed to crvUSD and re-deposited into the new vault in the same transaction. Multiple allow-listed options may be available — scrvUSD plus any alternative ERC-4626 vaults governance has approved. Rotation between them is a yield/risk re-selection. If your current vault has been disallowed by governance, you can still withdraw — but you cannot take new pool positions until you rotate to an allow-listed vault. Fees ​ The Hybrid Vault charges no deposit or withdrawal fees at the vault level. The usual YB market fees (LEVAMM trading fees, Cryptoswap trading fees, admin fee on yield) still apply to the underlying positions — those are not specific to HybridVault. Related ​ Hybrid Vaults (concept) Staked vs Unstaked Economics Temporary Redemption Discount Dev: HybridVault Dev: HybridVaultFactory 1. Create your vault 2. Deposit crvUSD backing 3. Deposit into a YB pool 4. Monitor 5. Stake / unstake 6. Claim rewards 7. Withdraw A. Withdraw LP from a specific pool B. Free the full scrvUSD balance 8. Emergency withdrawal (fallback path) Changing your backing vault Fees Related ## /user/governance/yb-token On this page ERC-20 governance token. Hard cap: 1,000,000,000 YB. Deployed 15 September 2025. Utility (voting, gauge direction, fee revenue share) activates only when YB is locked into veYB. Unlocked YB has no protocol utility. Token details ​ Field Value Token name YieldBasis Token symbol YB Token standard ERC-20 Decimals 18 Max supply (hard cap) 1,000,000,000 YB Contract address (mainnet) 0x01791F726B4103694969820be083196cC7c045fF Deployment date 15 September 2025 Supply structure ​ The 1B cap is partitioned at deploy into: Pre-allocations. Minted via mint() to vesting contracts (team, investors, treasury, etc.) before ownership is renounced. Governed by the vesting schedules in Tokenomics . Emission reserve. The remaining balance, released over time via emit() on an exponential-decay schedule controlled by GaugeController . The reserve state variable asymptotes to zero. See Tokenomics for the full distribution and vesting schedules. See Emission Dynamics for the math of the emission curve. Utility (only when locked) ​ Unlocked YB sits idle. Lock YB into veYB to activate: Governance votes. 1 veYB minimum to create a proposal; passes at 30% quorum and 55% support after a 7-day window. See Proposals . Gauge voting. Direct YB emissions across liquidity pools. Votes apply instantly; 10-day re-vote cooldown per gauge. See Gauges & Emissions . Fee revenue share. Weekly distribution of protocol admin fees, paid in ybBTC tokens per market, with 4-week smoothing. Thursday 00:00 UTC. See veYB . Related ​ Tokenomics — full distribution table and vesting schedules. veYB — what locking gets you. Proposals — governance voting rules. Gauges & Emissions — emission routing. Emission Dynamics — emission math. Dev: YB Token — contract-level reference. Token details Supply structure Utility (only when locked) Related ## /user/governance/tokenomics On this page YB is a ve-token. Total supply is hard-capped at 1 billion. 300 million of the total supply is reserved for YB token emissions released through gauges. Voting power, gauge direction, and revenue share accrue only to veYB (locked YB). Distribution ​ The 1B cap is split across 11 categories. All cliffs and vesting schedules below are counted from the deployment date. Category Allocation % of supply Liquidity Incentives 300,000,000 YB 30.000% Team 250,000,000 YB 25.000% Ecosystem Reserve 125,000,000 YB 12.500% Investors 121,000,000 YB 12.100% Curve Licensing 75,000,000 YB 7.500% Protocol Development Reserve 74,000,000 YB 7.400% Public Sale 25,000,000 YB 2.500% YB Pair Rewards 12,500,000 YB 1.250% Early LPs 11,250,000 YB 1.125% Curve Governance 5,000,000 YB 0.500% Initial YB DEX Liquidity 1,250,000 YB 0.125% Total 1,000,000,000 YB 100% YB distribution by category. Vesting schedules ​ Category Allocation Vesting Liquidity Incentives 300M Released through gauges on a decay curve whose speed depends on how well-staked the gauges are. See the emission curve . Team 250M 2-year linear vest with a 6-month cliff from deployment. During the cliff, claimed tokens must be locked into veYB; if locked as a permalock, the resulting NFT is non-transferable until the cliff ends. Ecosystem Reserve 125M 50M unlocked at TGE. Remaining 75M vests linearly over 2 years from deployment. Investors 121M 2-year linear vest with a 6-month cliff from deployment. Same claim-to-lock restriction during the cliff as the team allocation. Curve Licensing 75M Released proportionally to LP emissions: whenever X% of the 300M emission reserve is minted, the same % of this 75M allocation becomes claimable by the Curve DAO. Protocol Development Reserve 74M 1-year cliff from deployment, then 1-year linear vest. Public Sale 25M Fully unlocked at TGE. YB Pair Rewards 12.5M 1-year linear vest from deployment. Early LPs (Season 1) 5.625M 4,046 addresses received an immediate, variable allocation capped at 5,000 YB per address. The immediate allocation totals 736,861.424624554 YB; the remaining 4,888,138.575375446 YB vests linearly over 12 months. Total: 5,625,000 YB. Early LPs (Season 2) 5.625M Distributed only to migrated LPs. ~1.8 BTC equivalent in YB compensates LPs who switched staked/unstaked during migration. The remainder distributes in four tranches — immediate (early-adopter), then 6, 9, and 12 months — pro-rata by LP share at each date among holders still in the pool. Curve Governance 5M Fully unlocked at TGE. Initial YB DEX Liquidity 1.25M Fully unlocked at TGE. The emission curve ​ Circulating supply ramps as cliffs expire and gauge emissions release from the 300M reserve. The reserve decays asymptotically toward the 1B cap: emissions slow over time and never push total supply past it. Cumulative YB supply by category over time. Cliff claim-to-lock rule ​ During the 6-month cliff for team and investor allocations, claimed tokens can only be routed into veYB (not held as free YB). For permalocks, the resulting veYB NFT is non-transferable during the cliff. This keeps early-phase voting power committed rather than liquid. Governance access during the cliff ​ YB allocated through a CliffEscrow proxy gives the recipient governance access before the cliff expires: the recipient can lock into veYB, vote on gauge weights and proposals, and claim the veYB share of protocol fee distributions. The only restriction is on the underlying YB itself, which cannot be transferred out of the escrow until the cliff's unlock time. Incentive alignment is preserved (tokens stay locked) without withholding the recipient's voting rights during the vesting period. Related ​ YB Token — token spec. veYB — lock mechanics and what locking gets you. Proposals — governance voting rules. Gauges & Emissions — how gauge votes route emissions. Emission Dynamics — math of the decay curve. Fee Mechanics — how admin fees are collected per market and routed to veYB. Dev: YB Token Distribution Vesting schedules The emission curve Cliff claim-to-lock rule Governance access during the cliff Related ## /user/governance/veyb On this page veYB is what you get when you commit YB to the protocol for a defined period. You give up liquidity on that YB; in exchange, you vote on governance and gauge weights, and you share in protocol fees. The longer you commit, the more voting power you get per YB. Design origin ​ Vote-escrow (ve) governance was pioneered by Curve in 2020. veCRV, introduced with the original Curve DAO, let CRV holders lock their tokens for up to four years in exchange for voting power that decays linearly toward the unlock date and a share of protocol trading fees. The pattern has since been adopted by a wide set of protocols. YieldBasis inherits the same core ideas: four-year maximum lock, linear voting-power decay, weekly fee distribution to lockers, and gauge voting to direct emissions. Two changes are worth calling out, and the reason for each. veYB is represented as an ERC-721 NFT, not a fungible ERC-20. veCRV is non-transferable by design: an address locks CRV, and the resulting veCRV cannot move. That is a strong safety property but rules out transfers even when both parties have locks under the same terms. An NFT-based position can be transferred under constraints. YieldBasis allows transfer between two positions that are both max-locked or permalocked, with zero active gauge votes on the sender side. The constraint preserves the slope-accounting invariants that veCRV's non-transferability used to enforce; the NFT representation lets a user move a position to a new address when those invariants are met. veYB adds an optional permalock. A standard four-year lock decays: voting power drops linearly, and the holder must re-extend to maintain full weight. Some stakers never intend to exit. Permalock holds the lock at the four-year maximum indefinitely, with no decay and no withdraw path. It is a one-way commitment for holders who want the governance weight and fee flow without the roll-forward overhead. The permalock toggle is reversible (subject to zero active gauge votes), but while on, the position cannot be withdrawn. Fee-distribution cadence matches veCRV closely. Weekly epoch boundaries land on Thursday 00:00 UTC, the same schedule Curve uses. The FeeDistributor contract applies a four-week smoothing window to incoming fees, which is Curve's approach to preventing a single volatile epoch from concentrating payouts. Why lock YB ​ Unlocked YB has no utility by itself. Locking turns it into veYB, which gives you: Governance voting power. Vote on proposals, protocol parameters, and gauge approvals. Gauge voting power. Direct YB emissions across liquidity pools. See Vote for Gauges . Fee revenue share. Weekly distribution of protocol admin fees in ybBTC tokens (see below). How much veYB you get ​ Formula: veYB = YB_amount × (lock_duration / 4_years) Lock duration veYB received per 1 YB 4 years (max) 1.00 veYB 2 years 0.50 veYB 1 year 0.25 veYB 6 months ~0.125 veYB 1 month ~0.021 veYB 2 weeks ~0.010 veYB 1 week (minimum) ~0.00479 veYB (rounded to 0.0048) Voting-power decay over time ​ If you lock 1,000 YB for 2 years on day 0 (= 500 veYB), on day 365 your voting power is ~250 veYB. On day 700 (30 days from unlock), ~10 veYB. At unlock, 0. Voting power decays linearly toward zero at the unlock date. Permalocks are the exception: they hold at full power indefinitely. Unlock cadence ​ Unlock times round to the nearest week and occur on Thursday 00:00 UTC . Voting Power Decay Over Time Day: 0.0 Voting Power: 100.0 % Lock styles ​ Normal decaying lock. 1 week to 4 years. Voting power decreases linearly toward zero as unlock approaches. Permalock. Keeps your lock at the 4-year max, so your voting power never decays. You can toggle permalock on/off at any time, subject to the transfer-clearance check below. To turn permalock on, your currently-allocated gauge votes must sum to zero (reallocate to no gauges first, then toggle, then re-allocate). Fee revenue share ​ Protocol admin fees are distributed to veYB holders through FeeDistributor.vy (the contract that collects weekly admin fees and lets veYB holders claim their share): Claim cadence. Every Thursday 00:00 UTC . Distributed in ybBTC tokens per market (yb-tBTC, yb-cbBTC, yb-WBTC, yb-WETH, etc.). When claiming, you receive one balance per active market. 4-week smoothing. Fees collected in a given epoch are split across the next four epochs to smooth out volatility-driven spikes. Transferring a position ​ You may expect transferring a permalock to be unrestricted. The recipient's lock state must match. Each veYB position is an ERC-721 NFT. Normal decaying locks are non-transferable. Max-locked positions (4-year or permalock) can be transferred, but only under strict conditions. Both sender and receiver must have YB locked for the maximum duration (4 years) or be permalocked. Transfer is approved by GaugeController via the transfer_clearance_checker hook. The sender must have zero allocated gauge vote power at transfer time (otherwise slope accounting for active votes would corrupt). On transfer, the sender's NFT burns; its amount merges into the receiver's position. This is a merge, not a standard ERC-721 send. Implementation quirk Due to how the contract handles merges, the receiving wallet must already hold a max-locked position for the transfer to succeed. If the receiving wallet has no veYB, max-lock at least 1 YB there first, then perform the transfer. Gauge voting ​ veYB grants voting power over gauge emissions. Votes apply instantly. There is a 10-day cooldown per gauge. Full mechanism: Gauges & Emissions . Related ​ YB Token Tokenomics Proposals Gauges & Emissions Lock YB for veYB Vote for Gauges Dev: VotingEscrow — the contract that stores veYB locks and handles lock curves. Design origin Why lock YB How much veYB you get Voting-power decay over time Unlock cadence Lock styles Fee revenue share Transferring a position Gauge voting Related ## /user/governance/gauges-and-emissions On this page A gauge is the staking contract for one YB market. You stake yb-LP into it, and it pays you YB emissions. veYB voting sets the share of emissions each gauge receives. The actual payout per gauge is scaled down if few LPs have staked there. What a gauge is ​ Every YB market has its own gauge contract. You stake yb-LP there to earn YB emissions. Stakers only earn emissions ​ Stakers earn only YB emissions. They do not accrue the unstaked side's Fundamental Value (PPS) growth from fee flow. That goes exclusively to unstaked yb-LP holders. This matters for APY comparisons. A staked position's return is emissions × YB/USD. An unstaked position's return is PPS growth. How emissions are routed ​ Three steps: veYB votes set raw weights. Holders allocate vote weight across gauges. Staking ratio adjusts each gauge's weight. The vote weight is multiplied by the square root of the gauge's staking ratio (sqrt(staked / total_supply)). Stakers in each gauge split pro rata. The math, in order: # Stage 1: vote aggregation (GaugeController.vy) gauge.raw_weight = sum(user_weights × veYB_balance_at_vote_time) # (sum of every voter's weight times their veYB at the moment they voted) # Stage 2: staking ratio adjustment (from LiquidityGauge.get_adjustment) adjustment = sqrt(staked_in_gauge / lt_total_supply) # capped at 1e18 # (capped at 1.0; a gauge can't be adjusted up, only down) gauge.adjusted_weight = raw_weight × adjustment # rate_factor (passed to YB.emit) = sum(adjusted) / sum(raw) total_rate_factor = Σ adjusted_weight / Σ raw_weight # (if gauges average half-utilised, the whole reserve is emitted half as fast) # Per-week emissions weekly_emissions = reserve × (1 − exp(−Δt × max_mint_rate × rate_factor / 1e18)) # Per-gauge share emissions_per_gauge = weekly_emissions × adjusted_weight / Σ adjusted_weight Worked example: two gauges, equal votes ​ Two gauges A and B with equal veYB votes (50% each). A: 80% staking ratio. sqrt(0.8) ≈ 0.894 . Adjusted weight ≈ 0.5 × 0.894 = 0.447. B: 10% staking ratio. sqrt(0.1) ≈ 0.316 . Adjusted weight ≈ 0.5 × 0.316 = 0.158. Total adjusted = 0.605. Emissions split 74% to A, 26% to B. Both gauges have equal votes, but because gauge A is heavily staked and gauge B nearly empty, A receives ~74% of emissions. Also: rate_factor = 0.605 / 1.0 = 0.605 . The overall YB mint rate slows because voted-gauges are not fully utilised. If all gauges had 100% staking, rate_factor = 1.0 and emissions would run at max. Worked example: one gauge empty ​ Gauge A: 50% vote weight, 100% staking ratio. Adjusted = 0.5 × 1.0 = 0.5. Gauge B: 50% vote weight, 0% staking ratio. Adjusted = 0.5 × 0 = 0. Gauge A gets 100% of emissions. Gauge B gets 0. An unstaked gauge earns nothing, regardless of votes. Narrative: one voter ​ Alice locked 10,000 YB for 4 years (= 10,000 veYB). She votes 100% of her weight on gauge X. Gauge X is at 50% adoption. Her 10,000 votes convert to 10,000 × sqrt(0.5) ≈ 7,071 effective vote weight in the emission routing. The adoption curve ​ sqrt(staked / total_supply) scales gauge emissions by the square root of the staking ratio. Staking ratio Adjustment 100% 1.00× 50% 0.71× 25% 0.50× 10% 0.32× 0% 0.00× Emissions reward active, well-adopted gauges. The square root is gentle in the mid-range, so a moderately used gauge keeps most of its share, and steep at the low end, so votes on gauges nobody uses earn little. A gauge at 0% staking gets 0 emissions regardless of votes. Vote timing ​ Votes apply immediately. Gauge weights update in real time when you call vote_for_gauge_weights . No epoch-boundary delay. Same-gauge re-vote cooldown: 10 days. WEIGHT_VOTE_DELAY = 864000 seconds. You can still adjust votes across other gauges within that window. Weekly accrual aligned to Thursday 00:00 UTC. From WEEK = 604800 rounding in GaugeController. This is when emissions are minted to gauges, not when your vote takes effect. Implementation ​ Gauges are deployed by Factory.vy alongside each market. Vote aggregation lives in GaugeController.vy . Staking, reward distribution, and the sqrt-adoption adjustment live in LiquidityGauge.vy . Related ​ Vote for Gauges — step-by-step voting flow. Emission Dynamics — the full math of the emission curve. Staked vs Unstaked Economics — why staking trades PPS growth for emissions. Dev: GaugeController Dev: LiquidityGauge What a gauge is Stakers only earn emissions How emissions are routed Worked example: two gauges, equal votes Worked example: one gauge empty Narrative: one voter The adoption curve Vote timing Implementation Related ## /user/governance/proposals On this page veYB holders can vote on proposals to change protocol parameters, add features, approve gauges, or execute upgrades. Creating
프로젝트로 돌아가기