Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 2.41 KB

aip-10.md

File metadata and controls

51 lines (34 loc) · 2.41 KB
  AIP: 10
  Title: Automatic Profit Sharing
  Authors: ryano
  Status: Draft
  Type: 
  Created: 2017-06-24
  Last Update: 2017-06-24

Abstract

Delegates would be able to explicitly state their profit sharing in a public way such that the Ark they forge is automatically shared with their voters.

  • Add a transaction type to specify profit sharing amount (0% - 100%).
  • Determine voter share at each round.
  • Proportionally reward delegate and voters upon a successfully forged block.

Motivation

Delegates should not have to use third party systems for profit sharing and given the wide spread use of profit sharing as a motivating for attracting voters, this should be a parameter built in and taken care of automatically. Voters are forced to trust a delegate to pay. Small voters have their rewards consumed by unnecessary transaction fees. Existing delegates are also forced to implement "fidelity" features to avoid pool hoppers. This AIP solves all of those issues.

Rationale

This has an additional advantage of allowing delegate profit sharing to be displayed with confidence in the voting portion of a wallet. Doing this also eliminates the need to do unnecessary transactions and incur unnecessary transaction fees for sharing forged Ark with voters. Voters can accrue Ark immediately as their delegates do. Delegates will not need any form of voter fidelity because only voters at the time a block is forged will receive Ark.

Specifications

Using a transaction, a delegate would specify their promised profit sharing, from 0 to 1 (allowing decimals, ex: 0.8). I propose a fee of 1 Ark.

Determine at each round the forging delegates and their voters. This should be done by the round, with rewards paid out if the voters chosen delegate successfully receives a reward. Rationale here is because we only care about voters who successfully put a delegate into a round, so changing your vote mid round will only affect rewards in the following round.

We will need to create a profit sharing module that gets a delegate's voters and their vote amounts as a proportion of the delegates total votes. We can grab the list of voters and their amounts from sql/rounds.js, but will need to add a field to each voter to update their share of rewards.

When that delegate forges a block, Ark is automatically added to their voters accounts in the correct proportion at each forged block.