Skip to content

Commit

Permalink
refactor(drips): rename splits_at to block
Browse files Browse the repository at this point in the history
  • Loading branch information
nya-elimu committed Sep 30, 2024
1 parent ee8752d commit 83906e4
Show file tree
Hide file tree
Showing 21 changed files with 12 additions and 12 deletions.
Binary file modified split-events/charts/splits_VoltAir.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified split-events/charts/splits_analytics.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified split-events/charts/splits_appstore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified split-events/charts/splits_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified split-events/charts/splits_nyas-space-quest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified split-events/charts/splits_soga.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified split-events/charts/splits_start-guide.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified split-events/charts/splits_vitabu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified split-events/charts/splits_webapp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified split-events/charts/splits_website.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions split-events/csvs/query-repo-events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ async function query() {
ethereum_address: ethereumAddress
}
for (const blockNumber of splitsSetEventBlocks) {
dataRow[`splits_at_${blockNumber}`] = 0
dataRow[`block_${blockNumber}`] = 0
}

for (const splitsSetEvent of splitsSetEvents) {
Expand All @@ -137,7 +137,7 @@ async function query() {
const splitsReceiverSeenEventUserId: string = String(splitsReceiverSeenEvent['topics'][2])
if (splitsReceiverSeenEventUserId == ethereumAddress) {
// console.log(ethereumAddress, splitsReceiverSeenEvent.blockNumber, Number(ethers.formatUnits(splitsReceiverSeenEvent['data'], 4)))
dataRow[`splits_at_${splitsReceiverSeenEvent.blockNumber}`] = Number(ethers.formatUnits(splitsReceiverSeenEvent['data'], 4))
dataRow[`block_${splitsReceiverSeenEvent.blockNumber}`] = Number(ethers.formatUnits(splitsReceiverSeenEvent['data'], 4))
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion split-events/csvs/splits_VoltAir.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ethereum_address,splits_at_20448586
ethereum_address,block_20448586
"0x0000000000000000000000000000000000000000000000000000000000000000",18.6081
"0x0000000000000000000000005d388ec24cc2c0c77458338696aa63afb706a7b1",6.8318
"0x00000000000000000000000079b58d333e77c01256a2d14f63e18f398068cbcb",26.616
Expand Down
2 changes: 1 addition & 1 deletion split-events/csvs/splits_analytics.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ethereum_address,splits_at_20444139
ethereum_address,block_20444139
"0x0000000000000000000000000000000000000000000000000000000000000000",2.6
"0x0000000000000000000000001d5878059679effa13ec0dc2c894e008307050bc",42.608
"0x000000000000000000000000342faeb14127a79735144bbdc772abb6b1bbe343",0.04
Expand Down
2 changes: 1 addition & 1 deletion split-events/csvs/splits_appstore.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ethereum_address,splits_at_20446875
ethereum_address,block_20446875
"0x0000000000000000000000000000000000000000000000000000000000000000",20.424
"0x0000000000000000000000001d5878059679effa13ec0dc2c894e008307050bc",45.944
"0x0000000000000000000000001f1319c79f1496357781691a22b1f37dac9d844f",0.2
Expand Down
2 changes: 1 addition & 1 deletion split-events/csvs/splits_launcher.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ethereum_address,splits_at_20447010
ethereum_address,block_20447010
"0x0000000000000000000000001d5878059679effa13ec0dc2c894e008307050bc",38.552
"0x0000000000000000000000001f1319c79f1496357781691a22b1f37dac9d844f",15.936
"0x00000000000000000000000048ac1399035bcce8c7996d8c60e014b9373b3962",0.4879
Expand Down
2 changes: 1 addition & 1 deletion split-events/csvs/splits_nyas-space-quest.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ethereum_address,splits_at_20450389
ethereum_address,block_20450389
"0x0000000000000000000000005d388ec24cc2c0c77458338696aa63afb706a7b1",6.928
"0x000000000000000000000000b77c19804f102312c8cf66221da8886c1bf2c431",45.688
"0x000000000000000000000000d46cc93e3ee6a4fb532d9b48e95be7ed8f8f1da0",27.384
Expand Down
2 changes: 1 addition & 1 deletion split-events/csvs/splits_soga.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ethereum_address,splits_at_20495788
ethereum_address,block_20495788
"0x000000000000000000000000342faeb14127a79735144bbdc772abb6b1bbe343",9.192
"0x00000000000000000000000052671ed206b7789f30f2fc36e73e24702d2c9b41",16.72
"0x0000000000000000000000005d388ec24cc2c0c77458338696aa63afb706a7b1",6.496
Expand Down
2 changes: 1 addition & 1 deletion split-events/csvs/splits_start-guide.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ethereum_address,splits_at_20482125
ethereum_address,block_20482125
"0x0000000000000000000000001d5878059679effa13ec0dc2c894e008307050bc",27.072
"0x0000000000000000000000001f1319c79f1496357781691a22b1f37dac9d844f",39.6639
"0x000000000000000000000000342faeb14127a79735144bbdc772abb6b1bbe343",0.096
Expand Down
2 changes: 1 addition & 1 deletion split-events/csvs/splits_vitabu.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ethereum_address,splits_at_20181540
ethereum_address,block_20181540
"0x0000000000000000000000000000000000000000000000000000000000000000",1.664
"0x0000000000000000000000001f1319c79f1496357781691a22b1f37dac9d844f",22.944
"0x000000000000000000000000342faeb14127a79735144bbdc772abb6b1bbe343",0.24
Expand Down
2 changes: 1 addition & 1 deletion split-events/csvs/splits_webapp.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ethereum_address,splits_at_18533142,splits_at_18860628,splits_at_18860837,splits_at_19592288,splits_at_20383501,splits_at_20597000
ethereum_address,block_18533142,block_18860628,block_18860837,block_19592288,block_20383501,block_20597000
"0x00000000000000000000000054e67ae7f27bcd6e6e90aa11ff3ec06e6c4ebe15",12,0,0,0,0,0
"0x000000000000000000000000883753beab357a2c29f3766c6ad158e72a78ce51",48,30,30,0,0,0
"0x000000030070736965676d616e2f657075626c69620000000000000000000000",40,13.3333,20,20,8.0001,8.0014
Expand Down
2 changes: 1 addition & 1 deletion split-events/csvs/splits_website.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ethereum_address,splits_at_20125009,splits_at_20125639,splits_at_20383788
ethereum_address,block_20125009,block_20125639,block_20383788
"0x0000000000000000000000000000000000000000000000000000000000000000",5.124,3.1079,4.4
"0x0000000000000000000000001d5878059679effa13ec0dc2c894e008307050bc",33.9059,33.9058,46.816
"0x0000000000000000000000004709ebf314c6492d57f4c6d4f57357d5b2bb074e",1.062,1.0619,1.376
Expand Down

0 comments on commit 83906e4

Please sign in to comment.