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
This is a suggestion for implementing off-chain or batch voting alongside the model for delegate voting see -PR 2.
The solution is based on / mirrors the reference implementation of SIP-018 - see money-order example.
The solution only impacts the EDE001 Proposal Voting extension introducing a new function batch-vote which overrides vote for off-chain voting.
The vote data contains the voter principal and the signature is created by voter - note this is compatible with delegate voting since it makes no difference whether the voter is a delegate (proxy) voter or direct voter.
Prop for Implementing Off Chain Voting
This is a suggestion for implementing off-chain or batch voting alongside the model for delegate voting see -PR 2.
The solution is based on / mirrors the reference implementation of SIP-018 - see money-order example.
The solution only impacts the
EDE001 Proposal Voting
extension introducing a new functionbatch-vote
which overridesvote
for off-chain voting.The vote data contains the
voter
principal and the signature is created byvoter
- note this is compatible with delegate voting since it makes no difference whether thevoter
is a delegate (proxy) voter or direct voter.The votes are unfolded and the signatures checked before counting the
vote
on the proposal.E.g.
The text was updated successfully, but these errors were encountered: