Withdrawing EGLs
Once the release date for a vote has been reached, or the lockup period for Genesis supporters and signal / seeder account has expired, the EGLs can be withdrawn from the contract to the voting wallet address. The amount received will be the original voting amount plus any rewards earned from participating in votes
function withdraw() external whenNotPaused
Validation Rule | Description |
voters[msg.sender].tokensLocked > 0 | Voting address must already have a vote locked to use withdraw() |
block.timestamp > voters[msg.sender].releaseDate | EGL's must be available for withdrawal, i.e. the release date must have elapsed |
Withdraw
Transfer
await eglVotingInstance.withdraw({ from: "0x2be650ba..."})
Last modified 2yr ago