Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Make a bribing smart contract #4

Open
clesaege opened this issue Jun 28, 2018 · 1 comment
Open

Make a bribing smart contract #4

clesaege opened this issue Jun 28, 2018 · 1 comment

Comments

@clesaege
Copy link
Member

clesaege commented Jun 28, 2018

Make a contract to bribe Kleros jurors.
This contract should give a reward to jurors if they make a particular vote in a particular dispute.

https://github.com/kleros/kleros/blob/master/contracts/Kleros.sol

@whwgeorge
Copy link

whwgeorge commented Sep 3, 2018

Specifically, one should submit at deployment the following inputs : 1) a case to influence (disputeID), 2) a desired outcome for that case (0 or 1), 3) an amount in ETH offered as a bribe to jurors who vote the desired outcome in that case.

The attacker should only be able to withdraw any remaining ETH left over after the bribes are allocated once the case is finalized. Ideally jurors would be able to withdraw their bribes right after their vote. (If they need to wait until a time when they would be in competition with jurors from later rounds for a limited amount of bribes payable by the ETH in the contract, then you need a mechanism that guarantees the people from the early rounds can get their bribes.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants