Attributes
Attribute | Data Type | Description |
desiredEgl | int | |
baselineEgl | int | the average block gas limit of all blocks in an epoch that include vote transaction |
initialEgl | int | the actual block gas limit fo the block that deployed the contract |
tallyVotesGasLimit | int | the gas limit of the block that contained the successful tally votes function call |
creatorEglsTotal | uint256 | the total number of EGL's awarded to the creators |
liquidityEglMatchingTotal | uint256 | the total number of EGL's to deploy to Balancer when the pool is created |
currentEpoch | uint16 | the current active epoch |
currentEpochStartDate | uint256 | the start date of the current epoch |
tokensInCirculation | uint256 | the token number of tokens in circulation |
voterRewardSums | uint256[52] | an array of length 52 (max reward epochs) where each index contains the sum of all the vote weights for that epoch |
votesTotal | uint256[8] | an array of length 8 (max lockup duration) where each index contains the sum of all vote amounts for that epoch |
voteWeightsSum | uint256[8] | an array of length 8 (max lockup duration) where each index contains the sum of all vote weights that epoch |
gasTargetSum | uint256[8] | an array of length 8 (max lockup duration) where each index contains the sum of all target gas limit values for that epoch |
voters | mapping(address => Voter) | a mapping that maps addresses to Voter structs. Represents all votes |
supporters | mapping(address => Supporter) | a mapping that maps addresses to Supporter structs. Represents all genesis participants |
seeders | mapping(address => uint256) | a mapping that maps addresses to the EGL amount given to each signal/seeder account. |
Voter | struct | a struct containing the active vote details for each address . The struct has the following attributes:
|
Supporter | struct | a struct containing the claim status of a genesis participant. The struct has the following attributes:
|
votingThreshold | uint256 | the percentage of eglsInCirculation that must participate in the vote for tallyVotes() to “pass” |
eglAmount | unit256 | Amount of EGL's used for voting |
Last modified 2yr ago