Skip to content

Commit

Permalink
nov 1 update
Browse files Browse the repository at this point in the history
  • Loading branch information
Defi-Moses committed Nov 19, 2024
1 parent 00fdd9a commit 039f045
Show file tree
Hide file tree
Showing 10 changed files with 1,433 additions and 249 deletions.
4 changes: 2 additions & 2 deletions components/pastHoldings.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ useEffect(() => {
Promise.all(
years.flatMap((year) =>
months.map((month) =>
(year < 2024 || (year === 2024 && month <= 9)) ?
(year < 2024 || (year === 2024 && month <= 11)) ?
fetch(`/api/data?file=treasurySums_${month}_${year}.csv&type=summary`)
.then((response) => response.json())
.catch(() => null) : // Return null for missing data
Expand All @@ -53,7 +53,7 @@ useEffect(() => {
Promise.all(
years.flatMap((year) =>
months.map((month) =>
(year < 2024 || (year === 2024 && month <= 9)) ?
(year < 2024 || (year === 2024 && month <= 11)) ?
fetch(`/api/data?file=treasuryHoldings_${month}_${year}.csv&type=breakdown`)
.then((response) => response.json())
.catch(() => null) : // Return null for missing data
Expand Down
409 changes: 183 additions & 226 deletions public/data/currentTreasuryHoldings.csv

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions public/data/sums.csv
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
Chain,Claimed Fees,Unclaimed Fees,Swap Unclaimed Fees,CCTP Unclaimed Fees
arbitrum,403479.0623867768,474387.0244612467,76172.9633986631,20614.430841
aurora,0.0,127786.58902687287,65933.46204291226,0
avax,764363.8484498779,35577.33234125424,4157.492793740005,4845.361056
base,161220.5054521944,78141.59778343677,61090.87406354613,0.0
blast,0.0,152886.9990280293,413213.69109635975,0
boba,41853.34283595817,145340.44472288433,58129.15420851766,0.0
bsc,137.63745100953278,333480.75547706307,407861.3078730745,0.0
canto,0.0,165466.87095789728,7864.772622457285,0.0
cronos,0.0,29362.821508839854,2889.492292647915,0.0
dfk,0.0,161220.46655867292,0,0.0
dogechain,0.0,5959.64220441794,0,0.0
ethereum,8410729.585136026,686605.3380925693,38315.16060740162,0.0
fantom,1236.7235057041153,16275.105469343755,0.19595944605286678,0
harmony,8175.906108762055,94.0573772579189,0.6822185984160258,0
metis,220850.85733137862,129717.23405862565,17636.077923990593,0
moonbeam,0.0,300.2855358278497,0,0
moonriver,0.0,199.9840972658019,0,0.0
optimism,277798.83246691216,375326.35597707174,86056.03047182037,7948.796933
polygon,7296.023293212716,40435.32384582306,24650.22375498966,0
klaytn,0.0,32855.66599171731,0,0.0
arbitrum,423587.63130453916,504678.96376263665,99551.47429716492,1295.707546
aurora,0.0,127513.84594069285,65699.61694813278,0
avax,791018.1161488772,42073.923895089065,4779.810516571045,299.4652
base,187033.59076673925,83577.89442883593,84356.29430495923,0.0
blast,0.0,162508.4770065291,538474.8184178034,0
boba,43947.6621455059,146158.2387454084,62590.805730546286,0.0
bsc,173.60235030549197,343065.08204364683,412734.09759079485,0.0
canto,0.0,166668.77492193942,0,0.0
cronos,0.0,29490.252735447684,2904.0283399176797,0.0
dfk,0.0,168381.90806670397,0,0.0
dogechain,0.0,6111.000418503209,0,0.0
ethereum,7613758.8092778262,822560.42229324,48448.30905053096,0.0
fantom,1764.4490871476587,19237.28464031464,0.21669792363886484,0
harmony,0,0,0,0
metis,229661.238767436,131967.92481032334,21260.620422170454,0
moonbeam,0.0,317.30936222892853,0,0
moonriver,0.0,211.74559385627882,0,0.0
optimism,342280.8679415783,386530.92505022,100035.8981705673,374.287395
polygon,6369.079338249313,58233.10230508832,31483.236832269045,0
klaytn,0,0,0,0
388 changes: 388 additions & 0 deletions public/data/treasuryHoldings_10_2024.csv

Large diffs are not rendered by default.

387 changes: 387 additions & 0 deletions public/data/treasuryHoldings_11_2024.csv

Large diffs are not rendered by default.

389 changes: 389 additions & 0 deletions public/data/treasuryHoldings_9_2024.csv

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions public/data/treasurySums_10_2024.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Chain,Claimed Fees,Unclaimed Fees,Swap Unclaimed Fees,CCTP Unclaimed Fees
arbitrum,417633.91884628835,480137.1643393959,92698.9176571538,143.684587
aurora,0.0,127707.54939088946,65694.44532622547,0
avax,782285.0075047481,39241.681477401384,4120.748891458998,75.769478
base,182541.09041382585,80047.30684049542,81150.56301463902,0.0
blast,0.0,157131.33851612144,518652.4402139982,0
boba,42774.885291975035,145739.0724243118,62571.52386290792,0.0
bsc,134.61948985021985,339905.6968679169,410972.97955294646,0.0
canto,0.0,145059.28953538937,5057.311134462076,0.0
cronos,0.0,29416.752708094093,2896.7020648481266,0.0
dfk,0.0,170436.30166612208,0,0.0
dogechain,0.0,6023.469662312983,0,0.0
ethereum,8516375.4364555429,737986.5904415465,42521.16028689911,0.0
fantom,1572.4145938665229,17442.30120733871,0.2047477346536017,0
harmony,0,0,0,0
metis,223993.83583799287,130799.57602527681,21063.594192321958,0
moonbeam,0.0,314.7069245108729,0,0
moonriver,0.0,212.0982137335334,0,0.0
optimism,351994.9853382507,379651.6128010084,99559.32183912134,157.593567
polygon,7277.543322828085,45178.441722753436,22590.00404189691,0
klaytn,0,0,0,0
21 changes: 21 additions & 0 deletions public/data/treasurySums_11_2024.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Chain,Claimed Fees,Unclaimed Fees,Swap Unclaimed Fees,CCTP Unclaimed Fees
arbitrum,423587.63130453916,504678.96376263665,99551.47429716492,1295.707546
aurora,0.0,127513.84594069285,65699.61694813278,0
avax,791018.1161488772,42073.923895089065,4779.810516571045,299.4652
base,187033.59076673925,83577.89442883593,84356.29430495923,0.0
blast,0.0,162508.4770065291,538474.8184178034,0
boba,43947.6621455059,146158.2387454084,62590.805730546286,0.0
bsc,173.60235030549197,343065.08204364683,412734.09759079485,0.0
canto,0.0,166668.77492193942,0,0.0
cronos,0.0,29490.252735447684,2904.0283399176797,0.0
dfk,0.0,168381.90806670397,0,0.0
dogechain,0.0,6111.000418503209,0,0.0
ethereum,7613758.8092778262,822560.42229324,48448.30905053096,0.0
fantom,1764.4490871476587,19237.28464031464,0.21669792363886484,0
harmony,0,0,0,0
metis,229661.238767436,131967.92481032334,21260.620422170454,0
moonbeam,0.0,317.30936222892853,0,0
moonriver,0.0,211.74559385627882,0,0.0
optimism,342280.8679415783,386530.92505022,100035.8981705673,374.287395
polygon,6369.079338249313,58233.10230508832,31483.236832269045,0
klaytn,0,0,0,0
21 changes: 21 additions & 0 deletions public/data/treasurySums_9_2024.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Chain,Claimed Fees,Unclaimed Fees,Swap Unclaimed Fees,CCTP Unclaimed Fees
arbitrum,411073.80235848424,491955.7274914581,89689.40957010398,20541.826194
aurora,0.0,127768.32676049814,65676.97575172466,0
avax,780268.1007000409,36837.33478568041,4290.816858807416,4805.238263
base,169271.65907721478,81587.13450271767,78852.19766250534,0.0
blast,0.0,158473.7019469131,503522.9745660561,0
boba,43953.60645275397,146424.43808698148,62508.18540220927,0.0
bsc,152.9935769437876,336477.4131126402,409041.2124367775,0.0
canto,0.0,166331.56226471008,10117.918187861724,0.0
cronos,0.0,29340.742578650126,2892.8266884153527,0.0
dfk,0.0,160275.1107566633,0,0.0
dogechain,0.0,6077.163348589798,0,0.0
ethereum,7665545.7847971732,696098.9051017603,37986.760887095574,0.0
fantom,1360.6095595213064,17083.57139524027,0.18913958603672548,0
harmony,0,0,0,0
metis,223568.8008129173,131038.87354105548,20845.411419990334,0
moonbeam,0.0,309.0842759851638,0,0
moonriver,0.0,203.555241859834,0,0.0
optimism,296263.6919302706,385067.10542511987,99224.75337376862,7944.796933
polygon,8137.006893988983,36089.45185523529,24446.832569846316,0
klaytn,0,0,0,0
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function Home() {
<span className={`text-xl md:text-xl font-bold font-inter text-white ${styles.treasury}`}>
Treasury Holdings
</span>
<span className={styles.updated}>Sept-04-2024</span>
<span className={styles.updated}>Nov-01-2024</span>
</div>
<div className='flex h-fit'></div>
</div>
Expand Down

0 comments on commit 039f045

Please sign in to comment.