You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To introduce a delegated voting mechanism in pallet_dao_token. DAO token holders should be able to delegate their voting power to another account. This delegation should be forward-looking, meaning it should not affect old checkpoints or currently running proposals.
Requirements
Create an Extrinsic to Delegate Voting Power: This extrinsic should write a new checkpoint for the caller, setting their voting power to 0, and another checkpoint for the delegate, adding the caller's voting power to them.
Handle Voting Power During Transfers and Other Actions: When a transfer or any other action that affects voting power occurs, update the delegate's voting power in a new checkpoint. Do not write a new checkpoint for the original user.
Create an Extrinsic to Remove the Delegate: This extrinsic should write a new checkpoint for the original user with their current balance and another checkpoint for the delegate with the reduced voting power.
Note: The implementation should not increase the maximum number of possible checkpoints per user.
Tasks
Implementation Phase
Implement the extrinsic for delegating voting power.
Implement logic to update the delegate's voting power during transfers and other actions.
Implement the extrinsic for removing the delegate.
Testing Phase
Unit tests for delegating voting power.
Unit tests for updating delegate's voting power during transfers and other actions.
Unit tests for removing the delegate.
Documentation Phase
Write inline code documentation.
Update user guide to include delegated voting features.
The text was updated successfully, but these errors were encountered:
deep-ink-ventures
changed the title
Ink! Delegated Council Voting for Streamlined and Expert DAO Governance
Delegated Council Voting for Streamlined and Expert DAO Governance
Sep 11, 2023
deep-ink-ventures
changed the title
Delegated Council Voting for Streamlined and Expert DAO Governance
Implement Delegated Voting in pallet_dao_tokenSep 11, 2023
In addition we also have to have following changes in pallet_asset.
[ ] Currently while storing AccountHistory we are only storing the balance. If this change is to made without extra storage we have to add another field stating weather it is delegated or not. if so from whom.
Description
Objective
To introduce a delegated voting mechanism in
pallet_dao_token
. DAO token holders should be able to delegate their voting power to another account. This delegation should be forward-looking, meaning it should not affect old checkpoints or currently running proposals.Requirements
Note: The implementation should not increase the maximum number of possible checkpoints per user.
Tasks
Implementation Phase
Testing Phase
Documentation Phase
The text was updated successfully, but these errors were encountered: