GammaSwap Docs
  • Introduction 👋
  • Getting Started
    • 🔗 | Create & Connect a Wallet
      • Create a Wallet
      • Connect Your Wallet
    • ✅ | Add & Approve Tokens
      • Add Tokens To Your Wallet
      • Approve Tokens
  • Guides
    • 🌊 | Provide Liquidity
      • Why LP in GammaSwap?
      • How to Provide Liquidity
      • How to Remove Liquidity
      • Risks of Providing Liquidity
      • Creating a Pool
    • 📈 | Trade Perpetual Options
      • Perpetual Options Explained
      • Opening & Closing Positions
      • Position Details
      • Borrow Rate
      • Trading Fees
      • How to Calculate PnL
      • Risks of Perpetual Options
    • 🤝 | Swap
      • How to Swap
    • 💧 | Liquidations
      • What if I was Liquidated?
      • How Liquidations Work
    • ⚙️ | Tokenomics
      • Token Distribution
      • Rewards Overview
    • 🥩 | esGS Staking
      • Staking Guide
      • Vesting Staking Rewards
    • 🚜 | Farms
      • Farming esGS via Liquidity Mining
      • Vesting escrowed tokens from farms
      • Legacy Farms
  • Resources
    • Contract Addresses
    • Treasury & Timelocks
    • Audits
    • Governance
    • Subgraphs
    • Glossary
    • Partnerships
    • Support
Powered by GitBook
On this page
  • Vesting esGS
  • Opportunity cost to vesting
  1. Guides
  2. 🥩 | esGS Staking

Vesting Staking Rewards

Vesting esGS to GS

PreviousStaking GuideNext🚜 | Farms

Last updated 2 months ago

Vesting esGS

The action of vesting converts escrowed GS (esGS) to GS linearly over a period of 30 days continuously every block.

To vest, simply click on the "Vest" button on the stake tab.

When initiating vesting, the average aggregate amount of GS, esGS and MP points used to earn the esGS will need to be reserved.

For example, if you staked 100 GS and earned 10 esGS token, then to vest 10 esGS, 100 GS tokens will need to be reserved. The reserve amount required is calculated directly in the staking contract and is essentially a time weighted average of the tokens leveraged to earn esGS. If you remove your staked position or modify it, it can lower your reservable amount for vesting. The longer you stake, the more you can vest. The purpose of this mechanism is to reduce mercenary farming. If you do not meet the reserve requirement to vest, you will get an error message. Either lower the amount to vest, wait more time for the reserve requirement to decrease or stake more GS/esGS.

Depositing into the vesting vault with ongoing vesting is supported. New deposits will renew the vesting schedule as there can only be one vesting schedule at a time. You can have a different vesting schedule across staking and farms. Farm rewards and vesting schedules for each pool are unique.

Opportunity cost to vesting

Vesting esGS poses an opportunity cost since esGS deposited into the vesting vault cannot earn staking rewards. The reserve tokens used to initiate vesting, however, remain in the staking contract and earn rewards continuously. If the user does not have the required reserve tokens to begin vesting, the tokens must be purchased on the open market.

Tokens from the vesting contract are claimable at any time, users are not required to wait until the end of the vesting period. Claiming will withdraw all GS and esGS tokens from the vesting contract. This will pause the vesting schedule.