-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
Clarification and motivation
The instructions VOTING_POWER and TOTAL_VOTING_POWER allow us to query the individual, total amount of rolls staked by bakers, respectively.
As with the BYO token DAO (#170), the (un)freeze entrypoints can be modified to consider the amount staked to be the amount of governance tokens held. In other words, a user with VOTING_POWER = N is considered to hold N governance tokens.
Acceptance criteria
Note: proposal and voting cycles must be aligned with the actual on-chain baking cycles.
This allows the results of VOTING_POWER and TOTAL_VOTING_POWER to be cached until the next voting/proposing cycle.
Changes to BaseDAO
- The quorum becomes a fixed ratio or percentage of
TOTAL_VOTING_POWER - The duration of proposing and voting cycles are exact multiples of baking cycles (and must fit within 7 cycles)
- The proposal and voting cycles must also be synchronized with the baking cycles, since the
VOTING_POWERcan change at the end of a baking cycle - There is no ledger of unfrozen governance tokens
- Regarding frozen tokens:
- Users are only allowed to freeze exactly their
VOTING_POWERnumber of tokens - This operation (freezing) must do nothing or fail if it’s called more than once before the end of the proposal cycle
- All frozen tokens are invalidated at the end of the proposal cycle and must be re-frozen (triggering additional calls to
VOTING_POWER, etc)
- Users are only allowed to freeze exactly their
Reactions are currently unavailable