👷Staker Functions
https://gains.trade/vault
Last updated
https://gains.trade/vault
Last updated
These functions apply to all gToken vaults. gDAI is used for demonstration.
Deposit DAI in exchange for gDAI. See #gDAI in overview.
You can deposit at anytime.
Deposit DAI into the vault in exchange for a gNFT, which represents rights to locked gDAI.
Discount percentage is based on the current collateralization ratio of the vault and the duration the staker is willing to lock gDAI for.
You can deposit at anytime.
See #gNFT in overview.
Current maximum discount: 5%
Current lock window: [7d, 365d]
gNFT holders are able to claim gDAI anytime after the unlock date by unlocking through the UI. This function burns the NFT and transfers gDAI to owner's wallet.
Make a withdraw request for any amount of unlocked gDAI.
This can only be done during the withdraw window of an epoch.
See #Withdraw-Locks in overview.
When a withdraw request's epoch is the active epoch, the requested amount may be redeemed. If the epoch window is missed, the request becomes invalid and a new request must be made.
This can only be done during the withdraw window of an epoch.
See #Withdraw-Locks in overview.