Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve(affiliates): Dapp Mining rewards for YD-ETH-JUN21 week 14 #2861

Merged
merged 1 commit into from
Apr 14, 2021

Conversation

daywiss
Copy link
Contributor

@daywiss daywiss commented Apr 13, 2021

Motivation
#2858

Details
Dapp mining for YD-ETH-JUN21 week 14 using 0.3 of dev mining rewards for this period: Math.floor(10891.884429811309161646 * 0.3) = 3267

Reproduce with config.json

{
  "config": {
    "name": "YD-ETH-JUN21",
    "empAddress": "0x0f4e2a456aAfc0068a0718E3107B88d2e8f2bfEF",
    "rewardFactor": 0.3,
    "defaultAddress": "0xa0dfF1F09a0DCEda7641b7eB07c3BDbe66a06C35",
    "whitelistTable": [
      ["UMA (default)", "0xa0dfF1F09a0DCEda7641b7eB07c3BDbe66a06C35"],
      ["OpenDAO", "0x9a9dcd6b52B45a78CD13b395723c245dAbFbAb71"],
      ["MakeShift Finance", "0x45Ea614a7Ea47Ec393BDA310F901702DB1347df9"],
      ["ChickFlock", "0xDAa953f01048253A201BA9B0bd0786575f9C2468"]
    ],
    "empRewards": "10891.884429811309161646",
    "weekNumber": 13,
    "endDate": "04/12/2021 11:00 PM",
    "startDate": "04/05/2021 11:00 PM",
    "startTime": 1617663600000,
    "endTime": 1618268400000,
    "totalRewards": 3267,
    "whitelist": [
      "0xa0dfF1F09a0DCEda7641b7eB07c3BDbe66a06C35",
      "0x9a9dcd6b52B45a78CD13b395723c245dAbFbAb71",
      "0x45Ea614a7Ea47Ec393BDA310F901702DB1347df9",
      "0xDAa953f01048253A201BA9B0bd0786575f9C2468"
    ]
  }
}

And run with cat config.json | node apps/DappMiningRewards.js

Issue(s)
Fixes #2858

Signed-off-by: David Adams <david@umaproject.org>
Copy link
Contributor

@smb2796 smb2796 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UMA bills taking off! LGTM

@hlambur
Copy link
Member

hlambur commented Apr 14, 2021

@hlambur hlambur merged commit b8a5efc into UMAprotocol:master Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Run Dapp Mining rewards for YD-ETH-JUN21 week 14 between 2021/04/05 and 2021/04/12
3 participants