Lock YB for veYB
Lock YB to get a veYB NFT. The NFT gives you votes on proposals, votes on gauge weights, and a share of admin fees. More YB and a longer lock give more voting power.
The steps create a term lock: a lock with an unlock date that you choose, whose voting power decays to zero at that date. Optionally, you can then turn it into a permalock, which keeps full voting power with no decay.
Prerequisites
Check that you have each of these:
- YB in your wallet.
- ETH for gas.
Steps
-
Go to yieldbasis.com.
-
Open Lock.

-
In the Create Lock panel, enter the amount of YB.
-
Select the lock duration:
- To use a preset, select 1M, 6M, 1Y, or 4Y.
- To choose a date, select a Lock end date.
The unlock date is a Thursday 00:00 UTC, at most 4 years ahead. Voting power decays linearly to zero at that date.
You cannot withdraw before the unlock dateYour YB stays locked until the date that you choose here. You cannot shorten a term lock.

-
Submit the lock.
-
Sign the transaction.
-
Optional: make your lock a permalock. A permalock keeps voting power equal to the locked amount, with no decay.
A permalock blocks withdrawal, and turning it off starts a 4-year lockWhile the permalock is on, you cannot withdraw. To turn it off, first set all your gauge votes to zero. When you turn it off, your lock ends 4 years later, rounded down to a Thursday.
- Turn on the permalock.
- Sign the transaction.
Result
You receive a veYB NFT for the lock. To confirm the lock, open Lock and check the voting power summary.
With the NFT, you can vote on proposals and on gauges. For the voting-power formula, lock styles, and transfer rules, read veYB.
Related
- veYB: voting power per lock, and its decay.
- Vote for gauges: direct YB emissions with your veYB.
- Fees and veYB revenue: how admin fees reach veYB holders.
- Dev: VotingEscrow: the lock contract.