Stake and claim YB
Use this guide to stake yb-LP shares in a market's LiquidityGauge for YB emissions (Token APR), claim accrued rewards, and unstake back to unstaked yb-LP (FT APY).
Staked yb-LP gives up Fundamental Value growth from trading fees in exchange for YB emissions. When a market suffers losses and drops below the watermark (staked < ideal_staked while the gauge holds at least 0.01 yb-LP), a staked position can redeem for less than its value when staked until later gains close the gap. Do not stake capital you may need to withdraw quickly. Read Positions and yield before staking.
Choose between unstaked fee yield and staked YB emissions
Every YieldBasis market offers two mutually exclusive modes for your liquidity shares:
| Mode | UI tab | Yield source | Watermark exposure |
|---|---|---|---|
Unstaked (yb-LP) | Yield Bearing Vault | Fundamental yield (FT APY) from trading fees minus borrow and rebalancing costs | None |
Staked (g(yb-...)) | Staked Vault | YB emissions (Token APR) directed by veYB gauge votes | Yes—if losses push staked value below its watermark (staked < ideal_staked), admin fees pause and gains rebuild staked value first; unstaking early locks in the shortfall |
Never add FT APY and Token APR together for a single staked position. You earn one or the other for each share.
Prerequisites
- Unstaked
yb-LPshares in your wallet (or, if you have not deposited yet, deposit and stake in one step via Staked Vault → Deposit; see Provide and withdraw liquidity). - ETH in your wallet for gas.
Stake existing yb-LP
- Open yieldbasis.com and connect your wallet.
- Navigate to Earn → My Markets and select your market.
- Select Yield Bearing Vault → Convert. Converting from Yield Bearing Vault to Staked Vault stakes your
yb-LPinto the market'sLiquidityGauge. - Enter the amount of
yb-LPto stake. - If prompted, approve the gauge contract to spend your
yb-LP(one approval per market). - Submit the conversion and sign the transaction in your wallet.
Expected result
LiquidityGauge takes custody of your yb-LP and mints transferable ERC-4626 gauge shares (g(yb-...)) to your wallet. The app displays this balance under Staked Vault, and YB emissions begin accruing immediately.
Claim YB emissions
LiquidityGauge distributes YB emissions pro rata by gauge-share balance. Holding veYB does not boost your personal staking share; veYB votes direct emissions across gauges via GaugeController.
You do not need to unstake to claim. You can claim accrued rewards before or after unstaking.
-
On the market page, select Staked Vault → Claim.

-
Submit the claim and sign the transaction in your wallet.
Expected result
LiquidityGauge.claim transfers your accrued YB directly to your wallet. If a gauge distributes additional external reward tokens (up to 7 external reward tokens in addition to YB, 8 total per gauge), claim each token separately.
Unstake yb-LP
Unstaking burns your gauge shares and returns yb-LP to your wallet so you resume earning Fundamental yield (FT APY) instead of YB emissions (Token APR).
If you want to exit the market all the way back to BTC or ETH, follow Provide and withdraw liquidity instead to check TRD first and unstake-and-withdraw in one transaction.
-
Open yieldbasis.com and navigate to Earn → My Markets.
-
Select your market and open Staked Vault → Convert.
-
Enter the gauge-share amount to unstake and review the
yb-LPoutput.Returned yb-LP can differ from your staked amountThe
yb-LPbacking each gauge share adjusts whenLTrebases the gauge balance during gains or losses. Read Positions and yield for how gauge rebasing and the watermark work. -
Submit the conversion and sign the transaction in your wallet.
Expected result
LiquidityGauge burns your gauge shares, checkpoints any unclaimed rewards, and transfers yb-LP to your wallet under Yield Bearing Vault. Return to Staked Vault → Claim at any time to collect checkpointed rewards.
Common stop conditions
- Insufficient balance or allowance: Confirm your
yb-LPsits in your wallet (not already staked) and that your approval transaction confirmed. - Zero claimable YB: Wait for emissions to accrue after staking, or confirm the market's gauge has active
veYBweight inGaugeController. - Wallet does not display
yb-LPafter unstaking: Import the token address from Contract addresses.
Next steps
- Lock YB and vote: lock claimed YB into
veYBto direct gauge emissions and earn admin fees. - Provide and withdraw liquidity: check TRD and redeem
yb-LPfor BTC or ETH. - Dev: DAO contracts:
LiquidityGaugeandStakeZapcontract specifications.