leapdao / meta

Everything meta and not-fitting to other repos
Creative Commons Attribution Share Alike 4.0 International
9 stars 7 forks source link

Create UTXO Challenger for Token Governance #196

Closed MaxStalker closed 4 years ago

MaxStalker commented 4 years ago

Bounty

One of the requirements of Token Governance is that members could vote with their UTXO, which will hold specific amount of LEAP tokens and would not be spent on the moment, when proposal started. When new voice is casted, smart contract will emit event, exposing the address of the voting person as well as UTXO hash, which then can be used to check and challenge casted vote. You can reference smart contract code and interface here

Scope

Deliverables

Gain for the project

This will allow org to ensure that all votes are valid and prevent from "double spending" tokens to cast more votes on harmful or lobbied proposals.

Roles

bounty gardener: @MaxStalker / 10% bounty worker: name / 80% bounty reviewer: name / 10%

johannbarbie commented 4 years ago

this RPC function will be super useful to find transactions that Spend an UTXO: https://github.com/leapdao/leap-node/blob/master/src/api/methods/getTransactionByPrevOut.js

troggy commented 4 years ago

expired. Needs to be resubmitted by the gardener