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

New Merkle Distribution for Jan 1st 24 #118

Merged
merged 1 commit into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4,022 changes: 4,022 additions & 0 deletions distributions/2024-01-01/MerkleDist.json

Large diffs are not rendered by default.

658 changes: 658 additions & 0 deletions distributions/2024-01-01/MerkleInputBonusRewards.json

Large diffs are not rendered by default.

1,062 changes: 1,062 additions & 0 deletions distributions/2024-01-01/MerkleInputPreRewards.json

Large diffs are not rendered by default.

626 changes: 626 additions & 0 deletions distributions/2024-01-01/MerkleInputTbtcv2Rewards.json

Large diffs are not rendered by default.

1,090 changes: 1,090 additions & 0 deletions distributions/2024-01-01/MerkleInputTotalRewards.json

Large diffs are not rendered by default.

3,363 changes: 3,363 additions & 0 deletions distributions/2024-01-01/tBTCv2-rewards-details/1701993600-1704067200.json

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions distributions/distributions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LatestCumulativeAmount": "665214635800154191882903509",
"LatestCumulativeAmount": "687886608859233439480873711",
"CumulativeAmountByDistribution": {
"2022-07-15": "124734992091552235627767774",
"2022-09-01": "183365680150625789032093616",
Expand All @@ -19,6 +19,7 @@
"2023-11-01": "629110104280766546988133843",
"2023-11-22": "650469442934220952184301762",
"2023-12-01": "658532485099719945522079260",
"2023-12-08": "665214635800154191882903509"
"2023-12-08": "665214635800154191882903509",
"2024-01-01": "687886608859233439480873711"
}
}
6 changes: 3 additions & 3 deletions src/scripts/gen_rewards_dist.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ const MerkleDist = require("./merkle_dist/merkle_dist.js")
const bonusWeight = 0.0
const preWeight = 0.25
const tbtcv2Weight = 0.75
const startTime = new Date("2023-12-01T00:00:00+00:00").getTime() / 1000
const endTime = new Date("2023-12-08T00:00:00+00:00").getTime() / 1000
const lastDistribution = "2023-12-01"
const startTime = new Date("2023-12-08T00:00:00+00:00").getTime() / 1000
const endTime = new Date("2024-01-01T00:00:00+00:00").getTime() / 1000
const lastDistribution = "2023-12-08"

const etherscanApiKey = process.env.ETHERSCAN_TOKEN
const subgraphApiKey = process.env.SUBGRAPH_API_KEY
Expand Down