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

Distribution 79 #119

Open
wants to merge 56 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
d2179ff
Adjust LP script to increment rewards
youngkidwarrior Mar 8, 2022
40d8e62
Distribution 76
youngkidwarrior Mar 8, 2022
9d631ab
Distribution 76
youngkidwarrior Mar 16, 2022
2ba642e
Distribution 77
youngkidwarrior Mar 21, 2022
b99ab39
Distribution 78
youngkidwarrior Mar 28, 2022
e540d82
Update addressbook.json
youngkidwarrior Apr 2, 2022
626cc0d
Update addressbook.json
youngkidwarrior Apr 2, 2022
59c8f4a
Update addressbook.json
youngkidwarrior Apr 5, 2022
e5f1c3c
Update addressbook.json
youngkidwarrior Apr 5, 2022
9905957
Update addressbook.json
youngkidwarrior Apr 6, 2022
9e55fe6
Update addressbook.json
youngkidwarrior Apr 6, 2022
5277c37
Update addressbook.json
youngkidwarrior Apr 6, 2022
6f5fa77
Update addressbook.json
youngkidwarrior Apr 6, 2022
912f57d
Initialize rescript and erc20 snapshot rescript
youngkidwarrior Jan 28, 2022
520f129
Flow With SHE script + first week
youngkidwarrior Mar 28, 2022
dc8d573
Flow with SHE
youngkidwarrior Apr 4, 2022
a3045ea
Distribution 79
youngkidwarrior Apr 6, 2022
477d8cf
Update addressbook.json
youngkidwarrior Apr 6, 2022
d580e71
Update addressbook.json
youngkidwarrior Apr 6, 2022
1124b46
Update addressbook.json
youngkidwarrior Apr 6, 2022
6f6a671
Update addressbook.json
youngkidwarrior Apr 10, 2022
54ff28e
Update addressbook.json
youngkidwarrior Apr 13, 2022
b8ef340
distribution 82
youngkidwarrior Apr 13, 2022
8ed6621
Distribution 83
youngkidwarrior Apr 24, 2022
da510a4
Distribution 84
youngkidwarrior Apr 25, 2022
0b9d24f
Distribution 85
youngkidwarrior May 9, 2022
5867afd
Distribution 86
youngkidwarrior May 9, 2022
3d6a1ce
Distribution 87
youngkidwarrior May 18, 2022
9ed9ba5
Distribution 88
youngkidwarrior Jun 6, 2022
9e67a45
Distribution 89
youngkidwarrior Jun 7, 2022
75dbdbf
Distribution 90
youngkidwarrior Jun 7, 2022
45b05fa
Distribution 91
youngkidwarrior Jun 14, 2022
1627a92
Distribution-92
youngkidwarrior Jun 22, 2022
84bba81
Distribution 93
youngkidwarrior Jun 27, 2022
26a2654
Distribution 94
youngkidwarrior Jul 11, 2022
7735204
Distribution 95
youngkidwarrior Jul 12, 2022
f0aa5aa
Update addressbook.json
youngkidwarrior Jul 14, 2022
e5dd97e
Update addressbook.json
youngkidwarrior Jul 15, 2022
43ecf8c
Update addressbook.json
youngkidwarrior Jul 15, 2022
be52a95
Update addressbook.json
youngkidwarrior Jul 15, 2022
d80d969
Update addressbook.json
youngkidwarrior Jul 21, 2022
42ab416
Update addressbook.json
youngkidwarrior Jul 21, 2022
9b69e84
Update addressbook.json
youngkidwarrior Jul 21, 2022
adec81a
Update addressbook.json
youngkidwarrior Jul 23, 2022
5970b1d
Update addressbook.json
youngkidwarrior Jul 23, 2022
d3304f2
Distribution 96
youngkidwarrior Jul 23, 2022
861bd71
Distribution 97
youngkidwarrior Jul 26, 2022
8c76601
Distribution 98
youngkidwarrior Aug 2, 2022
f36ac51
Grain trigger
youngkidwarrior Aug 14, 2022
7c951db
Distribution 99
youngkidwarrior Aug 14, 2022
a56fd51
Distribution 100
youngkidwarrior Aug 19, 2022
fc97999
Distribution 101
youngkidwarrior Sep 20, 2022
5d1fe2b
Distribution 102
youngkidwarrior Sep 20, 2022
b7a6ffb
Distribution 103
youngkidwarrior Sep 21, 2022
2b5f6ca
Distribution 104
youngkidwarrior Sep 22, 2022
d9cac55
Distribution 105
youngkidwarrior Sep 22, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .github/workflows/distribute-grain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
# allows us to test this workflow, or manually generate distributions
# PRSs created from grain-trigger-* branches are targeted
# on their immediate base branches, as opposed to master
- "grain-trigger-*"
- 'grain-trigger-*'

jobs:
distribute-grain:
Expand All @@ -21,11 +21,8 @@ jobs:
run: |
yarn --frozen-lockfile

- name: Increment LP Reward Epoch
run: node ./rewards/incrementRewardEpoch.js

- name: LP Rewards
run: node ./rewards/lpScript.js
run: export START_FROM_FIRST_EVENT=yes && node ./rewards/lpScript.js

- name: Load Data and Compute Cred 🧮
run: yarn sourcecred go
Expand Down Expand Up @@ -57,7 +54,7 @@ jobs:
description="${description//$'\r'/'%0D'}"
echo "::set-output name=pr_body::$description"
rm grain_output.txt
# To create a pull request, use this block:
# To create a pull request, use this block:
- name: Create commit and PR for ledger changes
id: pr
uses: peter-evans/[email protected]
Expand All @@ -70,4 +67,4 @@ jobs:
author: credbot <[email protected]>
commit-message: update calculated ledger
title: ${{ env.PULL_REQUEST_TITLE }}
body: ${{ steps.pr_details.outputs.pr_body }}
body: ${{ steps.pr_details.outputs.pr_body }}
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,10 @@ yalc.lock
data/addressbook.json
data/messageIds.json
.env
tx
lib/
.bsb.lock
.merlin
.DS_Store
.vscode
tx
distribution/chat
20 changes: 20 additions & 0 deletions bsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "scoreboard",
"sources": [
{
"dir": "rewards",
"subdirs": true
},
{
"dir": "distribution"
}
],
"package-specs": [
{
"module": "commonjs",
"in-source": true
}
],
"suffix": ".bs.js",
"bs-dependencies": ["@ryyppy/rescript-promise", "rescript-js"]
}
9 changes: 4 additions & 5 deletions config/plugins/sourcecred/discord/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@
"778696882548375552": 0,
"815737136896278530": 0.1,
"817516345809829920": 0,
"818979072302514246": 0
"818979072302514246": 0,
"1005021245072474223": 0
}
},
"guildId": "696853831476314204",
"includeNsfwChannels": false,
"propsChannels": [
"743776266066591806"
],
"propsChannels": ["743776266066591806"],
"reactionWeightConfig": {
"applyAveraging": false,
"defaultWeight": 1,
Expand All @@ -37,4 +36,4 @@
}
}
}
]
]
Loading