> For the complete documentation index, see [llms.txt](https://docs.egl.vote/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.egl.vote/documentation/withdrawing-egls.md).

# 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&#x20;

### 1. `withdraw()`&#x20;

#### Function Signature

```javascript
function withdraw() external whenNotPaused 
```

#### Validations

| 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 |

#### Events Emitted

* `Withdraw`
* `Transfer`

#### Web3 Example

```javascript
await eglVotingInstance.withdraw({ from: "0x2be650ba..."})
```
