Skip to main content

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).

Staking trades fee growth for YB emissions and introduces watermark risk

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:

ModeUI tabYield sourceWatermark exposure
Unstaked (yb-LP)Yield Bearing VaultFundamental yield (FT APY) from trading fees minus borrow and rebalancing costsNone
Staked (g(yb-...))Staked VaultYB emissions (Token APR) directed by veYB gauge votesYes—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-LP shares 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​

  1. Open yieldbasis.com and connect your wallet.
  2. Navigate to Earn → My Markets and select your market.
  3. Select Yield Bearing Vault → Convert. Converting from Yield Bearing Vault to Staked Vault stakes your yb-LP into the market's LiquidityGauge.
  4. Enter the amount of yb-LP to stake.
  5. If prompted, approve the gauge contract to spend your yb-LP (one approval per market).
  6. 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.

  1. On the market page, select Staked Vault → Claim.

    Claim tab of the Staked Vault showing claimable YB emissions

  2. 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.

  1. Open yieldbasis.com and navigate to Earn → My Markets.

  2. Select your market and open Staked Vault → Convert.

  3. Enter the gauge-share amount to unstake and review the yb-LP output.

    Returned yb-LP can differ from your staked amount

    The yb-LP backing each gauge share adjusts when LT rebases the gauge balance during gains or losses. Read Positions and yield for how gauge rebasing and the watermark work.

  4. 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-LP sits 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 veYB weight in GaugeController.
  • Wallet does not display yb-LP after unstaking: Import the token address from Contract addresses.

Next steps​