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

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

function claimSupporterEgls(uint _gasTarget, uint8 _lockupDuration) external whenNotPause

Validations

Events Emitted

  • VotesTallied (Conditional)

  • SupporterTokensClaimed

  • Vote

Web3 Example:

await eglVotingInstance.claimSupporterEgls(15500000, 4, { from: "0x2be650ba..."})

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

function claimSeederEgls(uint _gasTarget, uint8 _lockupDuration) external whenNotPaused

Validations

Events Emitted

  • VotesTallied (Conditional)

  • SeedAccountClaimed

  • Vote

Web3 Example:

await eglVotingInstance.claimSeederEgls(15500000, 4, { from: "0x2be650ba..."})

Last updated