From bf1fef5a76a06f5177cc1732ef8c8815930be6b2 Mon Sep 17 00:00:00 2001 From: nya-elimu Date: Mon, 30 Sep 2024 19:36:09 +0700 Subject: [PATCH] refactor: add funding splits https://github.com/elimu-ai/web3-wiki/issues/59 --- DRIP_LIST_FUNDING_SPLITS.md | 16 +++++++------- funding-splits-content/README.md | 2 ++ .../github_webapp/FUNDING_SPLITS.csv | 21 +++++++++++++++++++ .../github_analytics/FUNDING_SPLITS.csv | 9 ++++++++ .../github_appstore/FUNDING_SPLITS.csv | 11 ++++++++++ .../github_launcher/FUNDING_SPLITS.csv | 7 +++++++ .../FUNDING_SPLITS.csv | 10 +++++++++ .../github_start-guide/FUNDING_SPLITS.csv | 6 ++++++ .../github_web3-sponsors/FUNDING_SPLITS.csv | 6 ++++++ .../github_website/FUNDING_SPLITS.csv | 6 ++++++ split-events/charts/generate-charts.py | 7 +++++-- split-events/csvs/query-repo-events.ts | 2 +- 12 files changed, 92 insertions(+), 11 deletions(-) create mode 100644 funding-splits-content/github_webapp/FUNDING_SPLITS.csv create mode 100644 funding-splits-distribution/github_analytics/FUNDING_SPLITS.csv create mode 100644 funding-splits-distribution/github_appstore/FUNDING_SPLITS.csv create mode 100644 funding-splits-distribution/github_launcher/FUNDING_SPLITS.csv create mode 100644 funding-splits-distribution/github_ml-authentication/FUNDING_SPLITS.csv create mode 100644 funding-splits-distribution/github_start-guide/FUNDING_SPLITS.csv create mode 100644 funding-splits-distribution/github_web3-sponsors/FUNDING_SPLITS.csv create mode 100644 funding-splits-distribution/github_website/FUNDING_SPLITS.csv diff --git a/DRIP_LIST_FUNDING_SPLITS.md b/DRIP_LIST_FUNDING_SPLITS.md index 6fd8822..3e7fa4c 100644 --- a/DRIP_LIST_FUNDING_SPLITS.md +++ b/DRIP_LIST_FUNDING_SPLITS.md @@ -42,7 +42,7 @@ content.elimu.eth,oers.content.elimu.eth,10 | Project | Manager | Funding Split CSV | | --- | --- | --- | | [crowdsource](https://github.com/elimu-ai/crowdsource) | `content.elimu.eth` | | -| [webapp](https://github.com/elimu-ai/webapp) | `content.elimu.eth` | [`FUNDING_SPLITS.csv`](https://github.com/elimu-ai/webapp/blob/main/FUNDING_SPLITS.csv) | +| [webapp](https://github.com/elimu-ai/webapp) | `content.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-content/github_webapp/FUNDING_SPLITS.csv) | | Hindi Language 🏏🐯 | `hin.content.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-content/lang-HIN/FUNDING_SPLITS.csv) | | Tagalog Language 🏝️🦎 | `tgl.content.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-content/lang-TGL/FUNDING_SPLITS.csv) | | English Language πŸ”πŸˆ | `eng.content.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-content/lang-ENG/FUNDING_SPLITS.csv) | @@ -113,13 +113,13 @@ distribution.elimu.eth,tgl.distribution.elimu.eth,10 | Project | Manager | Funding Split CSV | | --- | --- | --- | -| [analytics](https://github.com/elimu-ai/analytics) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](https://github.com/elimu-ai/analytics/blob/main/FUNDING_SPLITS.csv) | -| [appstore](https://github.com/elimu-ai/appstore) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](https://github.com/elimu-ai/appstore/blob/main/FUNDING_SPLITS.csv) | -| [launcher](https://github.com/elimu-ai/launcher) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](https://github.com/elimu-ai/launcher/blob/main/FUNDING_SPLITS.csv) | -| [ml-authentication](https://github.com/elimu-ai/ml-authentication) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](https://github.com/elimu-ai/ml-authentication/blob/main/FUNDING_SPLITS.csv) | -| [start-guide](https://github.com/elimu-ai/start-guide) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](https://github.com/elimu-ai/start-guide/blob/main/FUNDING_SPLITS.csv) | -| [website](https://github.com/elimu-ai/website) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](https://github.com/elimu-ai/website/blob/main/FUNDING_SPLITS.csv) | -| [web3-sponsors](https://github.com/elimu-ai/web3-sponsors) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](https://github.com/elimu-ai/web3-sponsors/blob/main/FUNDING_SPLITS.csv) | +| [analytics](https://github.com/elimu-ai/analytics) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-distribution/github_analytics/FUNDING_SPLITS.csv) | +| [appstore](https://github.com/elimu-ai/appstore) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-distribution/github_appstore/FUNDING_SPLITS.csv) | +| [launcher](https://github.com/elimu-ai/launcher) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-distribution/github_launcher/FUNDING_SPLITS.csv) | +| [ml-authentication](https://github.com/elimu-ai/ml-authentication) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-distribution/github_ml-authentication/FUNDING_SPLITS.csv) | +| [start-guide](https://github.com/elimu-ai/start-guide) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-distribution/github_start-guide/FUNDING_SPLITS.csv) | +| [web3-sponsors](https://github.com/elimu-ai/web3-sponsors) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-distribution/github_web3-sponsors/FUNDING_SPLITS.csv) | +| [website](https://github.com/elimu-ai/website) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-distribution/github_website/FUNDING_SPLITS.csv) | | Hindi Language 🏏🐯 | `hin.distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-distribution/lang-HIN/FUNDING_SPLITS.csv) | | Tagalog Language 🏝️🦎 | `tgl.distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-distribution/lang-TGL/FUNDING_SPLITS.csv) | diff --git a/funding-splits-content/README.md b/funding-splits-content/README.md index 0f51017..a644846 100644 --- a/funding-splits-content/README.md +++ b/funding-splits-content/README.md @@ -2,6 +2,8 @@ > Drip List funding splits for Content Creation πŸŽΆπŸŽ™οΈ +See [`../DRIP_LIST_FUNDING_SPLITS.md#content`](../DRIP_LIST_FUNDING_SPLITS.md#content) + ## Install Dependencies ```bash diff --git a/funding-splits-content/github_webapp/FUNDING_SPLITS.csv b/funding-splits-content/github_webapp/FUNDING_SPLITS.csv new file mode 100644 index 0000000..8336508 --- /dev/null +++ b/funding-splits-content/github_webapp/FUNDING_SPLITS.csv @@ -0,0 +1,21 @@ +ethereum_address,github_username,impact_percentage +0x5D388Ec24Cc2C0C77458338696aa63AFB706A7b1,nya-elimu,44.79 +0xd46Cc93E3eE6a4fb532D9B48E95be7eD8f8f1DA0,jo-elimu,39.46 +0x342FaeB14127A79735144bbdC772AbB6b1bBe343,coderabbitai,4.29 +0x3965d420cde24fe00f742cb31257ca90e04556a7,tomaszsmy,0.96 +0x819e4F5E912abb36c8f6c03790e7508e03cc37a3,UmenR,0.91 +0x513DceE2929a6e0CD115fb65Ec926d6569d98aff,venkatesh2k3,0.79 +0x5367a6d4F5991327Bb20466684790e394bE000dE,Shubham-Vishwakarma,0.62 +0x4709ebf314c6492d57f4c6d4f57357d5b2bb074e,vrudas,0.60 +0x0000000000000000000000000000000000000000,aschworer,0.59 +0x0000000000000000000000000000000000000000,SnehaHS65,0.48 +0x6321286F9B73f427C72e1f9F1bC6b3d25eF06605,hhio618,0.46 +0x0000000000000000000000000000000000000000,urosht,0.46 +0x0000000000000000000000000000000000000000,alexander-kuruvilla,0.45 +0x22d83d2681c8F04877b60F907D8288f011b314F8,Souvik-Cyclic,0.43 +0x78888390AA08D9A25f3BDB8A1B35351D7c7F8a12,Bender-22,0.38 +0x914dBEe36BcAb63B2D15fAED08839Be43797b421,watr-sheep,0.31 +0x0000000000000000000000000000000000000000,eymaal,0.29 +0x0000000000000000000000000000000000000000,jpatel3,0.28 +0x38c19Bc91fC35f8bCAd07F177cC2F11098B1F3ff,vuriaval,0.28 +0x0000000000000000000000000000000000000000,Keerthi4308,0.28 diff --git a/funding-splits-distribution/github_analytics/FUNDING_SPLITS.csv b/funding-splits-distribution/github_analytics/FUNDING_SPLITS.csv new file mode 100644 index 0000000..db928c2 --- /dev/null +++ b/funding-splits-distribution/github_analytics/FUNDING_SPLITS.csv @@ -0,0 +1,9 @@ +ethereum_address,github_username,impact_percentage +0x1D5878059679eFFA13ec0Dc2C894e008307050bc,jo-elimu,54.65 +0xEF836b1b90E42c8c69F3cEf628eB10983C10E792,nya-elimu,39.73 +0x342FaeB14127A79735144bbdC772AbB6b1bBe343,coderabbitai,1.58 +0x0000000000000000000000000000000000000000,jpascoe32fb,1.56 +0x0000000000000000000000000000000000000000,Eunoia1729,1.43 +0xc6AC0D6AbD1bbB371Db2B3Ef7cbc9fC972C700A6,bikash,0.51 +0x48Ac1399035bcCE8C7996D8C60E014b9373B3962,sladomic,0.39 +0xea4529D359A6aA73515cDa46896b2a51D48e6D46,Alin-GFR,0.15 diff --git a/funding-splits-distribution/github_appstore/FUNDING_SPLITS.csv b/funding-splits-distribution/github_appstore/FUNDING_SPLITS.csv new file mode 100644 index 0000000..fc6bdfd --- /dev/null +++ b/funding-splits-distribution/github_appstore/FUNDING_SPLITS.csv @@ -0,0 +1,11 @@ +ethereum_address,github_username,impact_percentage +0x1D5878059679eFFA13ec0Dc2C894e008307050bc,jo-elimu,57.43 +0xEF836b1b90E42c8c69F3cEf628eB10983C10E792,nya-elimu,10.66 +0x48Ac1399035bcCE8C7996D8C60E014b9373B3962,sladomic,3.04 +0x9D8dC28E9d9C4C5a387A858182edF9ab8B90F565,tuancoltech,2.15 +0xb7bCEbD47E00cED9Caf7430A16EBFAc8Ec074380,arvind-1,0.83 +0x0000000000000000000000000000000000000000,bojanvu23,0.51 +0x0000000000000000000000000000000000000000,bvalbo,0.32 +0x1f1319c79F1496357781691a22B1f37dAC9D844F,gscdev,0.25 +0x819e4F5E912abb36c8f6c03790e7508e03cc37a3,UmenR,0.11 +0x0000000000000000000000000000000000000000,bojanvuCT,0.04 diff --git a/funding-splits-distribution/github_launcher/FUNDING_SPLITS.csv b/funding-splits-distribution/github_launcher/FUNDING_SPLITS.csv new file mode 100644 index 0000000..86f0a67 --- /dev/null +++ b/funding-splits-distribution/github_launcher/FUNDING_SPLITS.csv @@ -0,0 +1,7 @@ +ethereum_address,github_username,impact_percentage +0x1D5878059679eFFA13ec0Dc2C894e008307050bc,jo-elimu,48.19 +0xEF836b1b90E42c8c69F3cEf628eB10983C10E792,nya-elimu,29.41 +0x1f1319c79F1496357781691a22B1f37dAC9D844F,gscdev,19.92 +0xc6AC0D6AbD1bbB371Db2B3Ef7cbc9fC972C700A6,bikash,1.31 +0x48Ac1399035bcCE8C7996D8C60E014b9373B3962,sladomic,0.61 +0x819e4F5E912abb36c8f6c03790e7508e03cc37a3,UmenR,0.55 diff --git a/funding-splits-distribution/github_ml-authentication/FUNDING_SPLITS.csv b/funding-splits-distribution/github_ml-authentication/FUNDING_SPLITS.csv new file mode 100644 index 0000000..4636297 --- /dev/null +++ b/funding-splits-distribution/github_ml-authentication/FUNDING_SPLITS.csv @@ -0,0 +1,10 @@ +ethereum_address,github_username,impact_percentage +0x1D5878059679eFFA13ec0Dc2C894e008307050bc,jo-elimu,58.24 +0x48Ac1399035bcCE8C7996D8C60E014b9373B3962,sladomic,26.60 +0xEF836b1b90E42c8c69F3cEf628eB10983C10E792,nya-elimu,8.83 +0xCc661d7f89795C908D10f4C297525474DF757eE1,schaemik,3.66 +0x14E9535A9004fb4b12d2233CBf1739A654bA51a4,adrygll2,1.85 +0x0000000000000000000000000000000000000000,AdrianoCelentano,0.60 +0x1f1319c79F1496357781691a22B1f37dAC9D844F,gscdev,0.13 +0x0000000000000000000000000000000000000000,waffle-iron,0.09 +0x0000000000000000000000000000000000000000,jperez2534,0.01 diff --git a/funding-splits-distribution/github_start-guide/FUNDING_SPLITS.csv b/funding-splits-distribution/github_start-guide/FUNDING_SPLITS.csv new file mode 100644 index 0000000..b598abc --- /dev/null +++ b/funding-splits-distribution/github_start-guide/FUNDING_SPLITS.csv @@ -0,0 +1,6 @@ +ethereum_address,github_username,impact_percentage +0x1f1319c79F1496357781691a22B1f37dAC9D844F,gscdev,49.58 +0x1D5878059679eFFA13ec0Dc2C894e008307050bc,jo-elimu,33.84 +0x48Ac1399035bcCE8C7996D8C60E014b9373B3962,sladomic,8.33 +0xEF836b1b90E42c8c69F3cEf628eB10983C10E792,nya-elimu,8.13 +0x342FaeB14127A79735144bbdC772AbB6b1bBe343,coderabbitai,0.13 diff --git a/funding-splits-distribution/github_web3-sponsors/FUNDING_SPLITS.csv b/funding-splits-distribution/github_web3-sponsors/FUNDING_SPLITS.csv new file mode 100644 index 0000000..875b545 --- /dev/null +++ b/funding-splits-distribution/github_web3-sponsors/FUNDING_SPLITS.csv @@ -0,0 +1,6 @@ +ethereum_address,github_username,impact_percentage +0x1D5878059679eFFA13ec0Dc2C894e008307050bc,jo-elimu,66.65 +0x342FaeB14127A79735144bbdC772AbB6b1bBe343,coderabbitai,16.61 +0x78888390AA08D9A25f3BDB8A1B35351D7c7F8a12,Bender-22,12.80 +0x0000000000000000000000000000000000000000,netlify,2.29 +0xEF836b1b90E42c8c69F3cEf628eB10983C10E792,nya-elimu,1.64 diff --git a/funding-splits-distribution/github_website/FUNDING_SPLITS.csv b/funding-splits-distribution/github_website/FUNDING_SPLITS.csv new file mode 100644 index 0000000..939612f --- /dev/null +++ b/funding-splits-distribution/github_website/FUNDING_SPLITS.csv @@ -0,0 +1,6 @@ +ethereum_address,github_username,impact_percentage +0x1D5878059679eFFA13ec0Dc2C894e008307050bc,jo-elimu,58.52 +0xEF836b1b90E42c8c69F3cEf628eB10983C10E792,nya-elimu,31.01 +0x0000000000000000000000000000000000000000,netlify,5.50 +0x342FaeB14127A79735144bbdC772AbB6b1bBe343,coderabbitai,3.25 +0x4709ebf314c6492d57f4c6d4f57357d5b2bb074e,vrudas,1.72 diff --git a/split-events/charts/generate-charts.py b/split-events/charts/generate-charts.py index 0eb454d..6d5bccb 100644 --- a/split-events/charts/generate-charts.py +++ b/split-events/charts/generate-charts.py @@ -60,8 +60,8 @@ def format_ethereum_address(row): 'launcher', 'ml-authentication', 'start-guide', - 'website', 'web3-sponsors', + 'website', ] for repo in repos: print() @@ -70,7 +70,7 @@ def format_ethereum_address(row): csv_path = f'../csvs/splits_{repo}.csv' print('csv_path:', csv_path) if not os.path.isfile(csv_path): - print('\033[93m' + 'File not found' + '\033[0m') + print('\033[93m' + 'File not found. Skipping.' + '\033[0m') continue splits_csv = pandas.read_csv(csv_path) @@ -106,3 +106,6 @@ def format_ethereum_address(row): plt.legend(loc='center left', bbox_to_anchor=(1, 0.5)) plt.tight_layout() plt.savefig(f'splits_{repo}.png') + +print() +print('Chart generation completed') diff --git a/split-events/csvs/query-repo-events.ts b/split-events/csvs/query-repo-events.ts index b02cca3..8f8f5ce 100644 --- a/split-events/csvs/query-repo-events.ts +++ b/split-events/csvs/query-repo-events.ts @@ -78,8 +78,8 @@ async function query() { 'launcher', 'ml-authentication', 'start-guide', - 'website', 'web3-sponsors', + 'website', ] for (const repo of repos) { console.log()