-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Bold balance can be packed by using the remaining slot
2**136 - 1 / 1e18 is 8e40
Meaning we can represent 8e+31 billion BOLD, which leave ample room to prevent overflows
V2-gov/src/interfaces/IGovernance.sol
Lines 131 to 134 in 9109d98
| struct GlobalState { | |
| uint88 countedVoteLQTY; // Total LQTY that is included in vote counting | |
| uint32 countedVoteLQTYAverageTimestamp; // Average timestamp: derived initiativeAllocation.averageTimestamp | |
| } |
struct GlobalState {
uint88 countedVoteLQTY; // Total LQTY that is included in vote counting
uint32 countedVoteLQTYAverageTimestamp; // Average timestamp: derived initiativeAllocation.averageTimestamp
} /// TODO: Bold balance? Prob cheaperReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels