Skip to content

Add on chain reputation score for Fortune #78

Description

@portuu3

It should affect only to Fortune
Create a contract for storing addresses and their reputations on chain.

The reputation score is a value from 0 to 100 (for ease of increase/decrease)

In case of “correct” work(from the rep oracle perspective):

  1. The reputation score of the worker should be increased. (If the value is not already the maximum value)
  2. The worker is rewarded with the appropriate amount of tokens based on its reputation.

In case of "incorrect" work:

  1. The reputation score of the worker should be decreased. (If the value is not already the minimum value)
  2. The worker shouldn't receive reward for this work.

The formula for the payout is:
x=[worker_rep_score]*[total_reward]/sum(all_wokers_rep_score)

Issue linked to #131

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions