Claiming EGLs
Public Functions
If a wallet has participated in Genesis, or has been added as a Signal / Seeder account, they are eligible to claim EGL's. Attempts to claim by any other wallet will result in the function call being reverted and the transaction failing
Bonus Voting EGLs
1.claimSupporterEgls()
claimSupporterEgls()
Allows Genesis supporters to claim their bonus voting EGL's. The bonus voting EGL's are immediately put into a vote upon claiming, so a valid gasTarget
and lockupDuration
are required when calling this function.
The number of bonus voting EGL's as well as BTP's is calculated when this function is called - see Release Schedule for more information
The releaseDate
(date that EGL's are available to withdraw) for Genesis supporters is initially set to 52 weeks from the start of the first vote, although this is updated to the date all BPT's are released, unless the Supporter has chosen to extend their lockup further using reVote()
This function will additionally call tallyVotes()
if the current voting period (epoch) has elapsed and the vote for the previous period has not yet been tallied. See Tally Votes
Function Signature
Parameters | Data Type | Description | Example |
|
| The gas limit value you are voting for (must be + / - 4,000,000 of the current gas limit) | 16000000 |
|
| The number of weeks your vote will be locked up for (valid values are numbers 1 through 8) | 4 |
Validations
Validation Rule | Description |
| The contracts remaining bonus voting EGL balance must be greater than 0 |
| The contracts remaining Balancer pool token balance must be greater than 0 |
| EGL Genesis must be closed |
| The claiming address must not have already claimed their tokens |
| The claiming address must have contributed in Genesis |
Events Emitted
VotesTallied
(Conditional)SupporterTokensClaimed
Vote
Web3 Example:
2. claimSeederEgls()
claimSeederEgls()
Allow preconfigured signal / seeder accounts to claim their bonus voting EGL's. The bonus voting EGL's are immediately put into a vote upon claiming, so a valid gasTarget
and lockupDuration
are required when calling this function.
The releaseDate
(date that EGL's are available to withdraw) for signal / seeder accounts is set to 52 weeks from the start of the first vote
This function will additionally call tallyVotes()
if the current voting period (epoch) has elapsed and the vote for the previous epoch has not yet been tallied. See Tally Votes
Function Signature
Parameters | Data Type | Description | Example |
|
| The gas limit value you are voting for (must be + / - 4,000,000 of the current gas limit) | 16000000 |
|
| The number of weeks your vote will be locked up for (valid values are numbers 1 through 8) | 4 |
Validations
Validation | Description |
| The claiming address must be configured as a seeder / signal account |
Events Emitted
VotesTallied
(Conditional)SeedAccountClaimed
Vote
Web3 Example:
Last updated