Selecting a longer lockup period when staking either your YDF or liquidity provides higher APRs on the yield you earn, but we understand there are situations where one might need the capital before a lockup period has completed for whatever reason. We allow you to unstake at any time regardless of whether you're in a lockup period or not, but if you have not staked the full lockup period length of time you will be subject to a principal penalty that's directly and linearly proportional to your lockup time and the length of time you've currently staked.
(stakedPrincipal * lengthOfTimeStaked) / stakeLockupLengthOfTime
John stakes 100 YDF with a 120 day lockup period earning 100% APR.
After 60 days, John needs capital to pay bills and opts to unstake his staked YDF. When John unstakes his 100% APR earned yield over the 60 days will begin vesting (see YDF Yield Vesting), but he will only receive 50 YDF from his principal back because he only staked his tokens for 50% of the lockup period.
The below table shows the outcome of various unstaking scenarios based on the above example where John stakes 100 YDF with a 120 day lockup period at 100% APR.
The YDF component of any capital that is sacrificed by an early claimer will be burned. Just like with the decay tax, this helps the protocol offset emissions by reducing the available supply of YDF. If the sacrificed capital was part of an LP position, then either:
- 1.YDF is burned and the ETH is sent to the treasury to be paid as Non-YDF Staking Rewards or
- 2.LP Position is transferred to a Protocol owned address and becomes protocol owned liquidity