dao-treasury 0.0.71__cp311-cp311-win_amd64.whl → 0.1.1__cp311-cp311-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of dao-treasury might be problematic. Click here for more details.

Files changed (40) hide show
  1. dao_treasury/.grafana/provisioning/dashboards/breakdowns/Expenses.json +89 -73
  2. dao_treasury/.grafana/provisioning/dashboards/breakdowns/Revenue.json +86 -68
  3. dao_treasury/.grafana/provisioning/dashboards/streams/LlamaPay.json +5 -12
  4. dao_treasury/.grafana/provisioning/dashboards/summary/Monthly.json +5 -6
  5. dao_treasury/.grafana/provisioning/dashboards/transactions/Treasury Transactions.json +220 -195
  6. dao_treasury/.grafana/provisioning/dashboards/transactions/Unsorted Transactions.json +367 -0
  7. dao_treasury/.grafana/provisioning/dashboards/treasury/Cashflow (Including Unsorted).json +61 -71
  8. dao_treasury/.grafana/provisioning/dashboards/treasury/Cashflow.json +43 -50
  9. dao_treasury/.grafana/provisioning/dashboards/treasury/Current Treasury Assets.json +50 -90
  10. dao_treasury/.grafana/provisioning/dashboards/treasury/Historical Treasury Balances.json +1403 -532
  11. dao_treasury/.grafana/provisioning/dashboards/treasury/Operating Cashflow.json +31 -36
  12. dao_treasury/.grafana/provisioning/datasources/datasources.yaml +9 -4
  13. dao_treasury/__init__.py +0 -4
  14. dao_treasury/_docker.cp311-win_amd64.pyd +0 -0
  15. dao_treasury/_docker.py +6 -2
  16. dao_treasury/_nicknames.cp311-win_amd64.pyd +0 -0
  17. dao_treasury/_nicknames.py +3 -2
  18. dao_treasury/_wallet.cp311-win_amd64.pyd +0 -0
  19. dao_treasury/constants.cp311-win_amd64.pyd +0 -0
  20. dao_treasury/db.py +340 -120
  21. dao_treasury/docker-compose.yaml +18 -2
  22. dao_treasury/main.py +5 -2
  23. dao_treasury/sorting/__init__.cp311-win_amd64.pyd +0 -0
  24. dao_treasury/sorting/__init__.py +38 -21
  25. dao_treasury/sorting/_matchers.cp311-win_amd64.pyd +0 -0
  26. dao_treasury/sorting/_rules.cp311-win_amd64.pyd +0 -0
  27. dao_treasury/sorting/factory.cp311-win_amd64.pyd +0 -0
  28. dao_treasury/sorting/rule.cp311-win_amd64.pyd +0 -0
  29. dao_treasury/sorting/rules/__init__.cp311-win_amd64.pyd +0 -0
  30. dao_treasury/sorting/rules/ignore/__init__.cp311-win_amd64.pyd +0 -0
  31. dao_treasury/sorting/rules/ignore/llamapay.cp311-win_amd64.pyd +0 -0
  32. dao_treasury/types.cp311-win_amd64.pyd +0 -0
  33. {dao_treasury-0.0.71.dist-info → dao_treasury-0.1.1.dist-info}/METADATA +3 -2
  34. dao_treasury-0.1.1.dist-info/RECORD +53 -0
  35. dao_treasury__mypyc.cp311-win_amd64.pyd +0 -0
  36. dao_treasury/streams/__init__.cp311-win_amd64.pyd +0 -0
  37. dao_treasury/streams/llamapay.cp311-win_amd64.pyd +0 -0
  38. dao_treasury-0.0.71.dist-info/RECORD +0 -54
  39. {dao_treasury-0.0.71.dist-info → dao_treasury-0.1.1.dist-info}/WHEEL +0 -0
  40. {dao_treasury-0.0.71.dist-info → dao_treasury-0.1.1.dist-info}/top_level.txt +0 -0
@@ -15,14 +15,16 @@
15
15
  }
16
16
  ]
17
17
  },
18
+ "description": "Provides a real-time summary and detailed breakdown of all assets currently held in the DAO's treasury, including stablecoins, ETH, BTC, and other asset types. Useful for monitoring the DAO's current financial position, asset allocation, and recent changes. Data Links allow quick navigation to transaction details for each token.",
18
19
  "editable": true,
19
20
  "fiscalYearStartMonth": 0,
20
21
  "graphTooltip": 0,
21
- "id": 0,
22
+ "id": 6,
22
23
  "links": [],
23
24
  "panels": [
24
25
  {
25
26
  "datasource": "PROMETHEUS",
27
+ "description": "Displays the total value of all DAO treasury assets in USD, aggregated across all wallets, asset types, and buckets.",
26
28
  "fieldConfig": {
27
29
  "defaults": {
28
30
  "color": {
@@ -84,20 +86,18 @@
84
86
  "options": {
85
87
  "fields": {
86
88
  "Time": {
87
- "aggregations": ["last"],
88
- "operation": "aggregate"
89
+ "aggregations": [],
90
+ "operation": "groupby"
89
91
  },
90
92
  "Value": {
91
- "aggregations": ["last"],
93
+ "aggregations": ["sum"],
92
94
  "operation": "aggregate"
93
95
  },
94
96
  "bucket": {
95
- "aggregations": [],
96
- "operation": "groupby"
97
+ "aggregations": []
97
98
  },
98
99
  "token": {
99
- "aggregations": [],
100
- "operation": "groupby"
100
+ "aggregations": []
101
101
  }
102
102
  }
103
103
  }
@@ -106,24 +106,16 @@
106
106
  "id": "filterFieldsByName",
107
107
  "options": {
108
108
  "include": {
109
- "names": ["Value (last)", "Time (last)"]
109
+ "names": ["Time", "Value (sum)"]
110
110
  }
111
111
  }
112
- },
113
- {
114
- "id": "reduce",
115
- "options": {
116
- "includeTimeField": false,
117
- "mode": "reduceFields",
118
- "reducers": ["sum"]
119
- }
120
112
  }
121
113
  ],
122
- "type": "stat",
123
- "description": "Displays the total value of all DAO treasury assets in USD, aggregated across all wallets, asset types, and buckets."
114
+ "type": "stat"
124
115
  },
125
116
  {
126
117
  "datasource": "PROMETHEUS",
118
+ "description": "Displays the total USD value of all stablecoins (cash & cash equivalents) held in any of the DAO's treasury wallets.",
127
119
  "fieldConfig": {
128
120
  "defaults": {
129
121
  "color": {
@@ -185,20 +177,18 @@
185
177
  "options": {
186
178
  "fields": {
187
179
  "Time": {
188
- "aggregations": ["last"],
189
- "operation": "aggregate"
180
+ "aggregations": [],
181
+ "operation": "groupby"
190
182
  },
191
183
  "Value": {
192
- "aggregations": ["last"],
184
+ "aggregations": ["sum"],
193
185
  "operation": "aggregate"
194
186
  },
195
187
  "bucket": {
196
- "aggregations": [],
197
- "operation": "groupby"
188
+ "aggregations": []
198
189
  },
199
190
  "token": {
200
- "aggregations": [],
201
- "operation": "groupby"
191
+ "aggregations": []
202
192
  }
203
193
  }
204
194
  }
@@ -207,24 +197,16 @@
207
197
  "id": "filterFieldsByName",
208
198
  "options": {
209
199
  "include": {
210
- "names": ["Value (last)", "Time (last)"]
200
+ "names": ["Time", "Value (sum)"]
211
201
  }
212
202
  }
213
- },
214
- {
215
- "id": "reduce",
216
- "options": {
217
- "includeTimeField": false,
218
- "mode": "reduceFields",
219
- "reducers": ["sum"]
220
- }
221
203
  }
222
204
  ],
223
- "type": "stat",
224
- "description": "Displays the total USD value of all stablecoins (cash & cash equivalents) held in any of the DAO's treasury wallets."
205
+ "type": "stat"
225
206
  },
226
207
  {
227
208
  "datasource": "PROMETHEUS",
209
+ "description": "Displays the total USD value of all ETH and ETH-like tokens held in any of the DAO's treasury wallets.",
228
210
  "fieldConfig": {
229
211
  "defaults": {
230
212
  "color": {
@@ -286,20 +268,18 @@
286
268
  "options": {
287
269
  "fields": {
288
270
  "Time": {
289
- "aggregations": ["last"],
290
- "operation": "aggregate"
271
+ "aggregations": [],
272
+ "operation": "groupby"
291
273
  },
292
274
  "Value": {
293
- "aggregations": ["last"],
275
+ "aggregations": ["sum"],
294
276
  "operation": "aggregate"
295
277
  },
296
278
  "bucket": {
297
- "aggregations": [],
298
- "operation": "groupby"
279
+ "aggregations": []
299
280
  },
300
281
  "token": {
301
- "aggregations": [],
302
- "operation": "groupby"
282
+ "aggregations": []
303
283
  }
304
284
  }
305
285
  }
@@ -308,24 +288,16 @@
308
288
  "id": "filterFieldsByName",
309
289
  "options": {
310
290
  "include": {
311
- "names": ["Value (last)", "Time (last)"]
291
+ "names": ["Time", "Value (sum)"]
312
292
  }
313
293
  }
314
- },
315
- {
316
- "id": "reduce",
317
- "options": {
318
- "includeTimeField": false,
319
- "mode": "reduceFields",
320
- "reducers": ["sum"]
321
- }
322
294
  }
323
295
  ],
324
- "type": "stat",
325
- "description": "Displays the total USD value of all ETH and ETH-like tokens held in any of the DAO's treasury wallets."
296
+ "type": "stat"
326
297
  },
327
298
  {
328
299
  "datasource": "PROMETHEUS",
300
+ "description": "Displays the total USD value of all BTC and BTC-like tokens held in any of the DAO's treasury wallets.",
329
301
  "fieldConfig": {
330
302
  "defaults": {
331
303
  "color": {
@@ -387,20 +359,18 @@
387
359
  "options": {
388
360
  "fields": {
389
361
  "Time": {
390
- "aggregations": ["last"],
391
- "operation": "aggregate"
362
+ "aggregations": [],
363
+ "operation": "groupby"
392
364
  },
393
365
  "Value": {
394
- "aggregations": ["last"],
366
+ "aggregations": ["sum"],
395
367
  "operation": "aggregate"
396
368
  },
397
369
  "bucket": {
398
- "aggregations": [],
399
- "operation": "groupby"
370
+ "aggregations": []
400
371
  },
401
372
  "token": {
402
- "aggregations": [],
403
- "operation": "groupby"
373
+ "aggregations": []
404
374
  }
405
375
  }
406
376
  }
@@ -409,24 +379,16 @@
409
379
  "id": "filterFieldsByName",
410
380
  "options": {
411
381
  "include": {
412
- "names": ["Value (last)", "Time (last)"]
382
+ "names": ["Time", "Value (sum)"]
413
383
  }
414
384
  }
415
- },
416
- {
417
- "id": "reduce",
418
- "options": {
419
- "includeTimeField": false,
420
- "mode": "reduceFields",
421
- "reducers": ["sum"]
422
- }
423
385
  }
424
386
  ],
425
- "type": "stat",
426
- "description": "Displays the total USD value of all BTC and BTC-like tokens held in any of the DAO's treasury wallets."
387
+ "type": "stat"
427
388
  },
428
389
  {
429
390
  "datasource": "PROMETHEUS",
391
+ "description": "Shows the timestamp of the most recent complete data snapshot for treasury assets.",
430
392
  "fieldConfig": {
431
393
  "defaults": {
432
394
  "color": {
@@ -509,11 +471,11 @@
509
471
  }
510
472
  }
511
473
  ],
512
- "type": "table",
513
- "description": "Shows the timestamp of the most recent complete data snapshot for treasury assets."
474
+ "type": "table"
514
475
  },
515
476
  {
516
477
  "datasource": "PROMETHEUS",
478
+ "description": "Pie chart visualizing the distribution of treasury assets by bucket (e.g., stablecoins, ETH, BTC, other assets).",
517
479
  "fieldConfig": {
518
480
  "defaults": {
519
481
  "color": {
@@ -594,7 +556,7 @@
594
556
  ]
595
557
  },
596
558
  "gridPos": {
597
- "h": 7,
559
+ "h": 8,
598
560
  "w": 9,
599
561
  "x": 0,
600
562
  "y": 3
@@ -634,11 +596,11 @@
634
596
  }
635
597
  ],
636
598
  "title": "",
637
- "type": "piechart",
638
- "description": "Pie chart visualizing the distribution of treasury assets by bucket (e.g., stablecoins, ETH, BTC, other assets)."
599
+ "type": "piechart"
639
600
  },
640
601
  {
641
602
  "datasource": "PROMETHEUS",
603
+ "description": "Table summarizing the latest known USD value for each asset token and bucket, including all available tokens in any of the DAO's treasury wallets.",
642
604
  "fieldConfig": {
643
605
  "defaults": {
644
606
  "color": {
@@ -650,7 +612,7 @@
650
612
  "type": "auto"
651
613
  },
652
614
  "footer": {
653
- "reducers": []
615
+ "reducers": ["sum"]
654
616
  },
655
617
  "inspect": false
656
618
  },
@@ -669,7 +631,7 @@
669
631
  "overrides": []
670
632
  },
671
633
  "gridPos": {
672
- "h": 7,
634
+ "h": 8,
673
635
  "w": 15,
674
636
  "x": 9,
675
637
  "y": 3
@@ -797,11 +759,11 @@
797
759
  }
798
760
  }
799
761
  ],
800
- "type": "table",
801
- "description": "Table summarizing the latest known USD value for each asset token and bucket, including all available tokens in any of the DAO's treasury wallets."
762
+ "type": "table"
802
763
  },
803
764
  {
804
765
  "datasource": "PROMETHEUS",
766
+ "description": "Detailed breakdown of the latest known USD value for each asset token and bucket, including all available tokens in any of the DAO's treasury wallets.\n\nData Link: Click any token to view all transactions for that token in the Treasury Transactions dashboard.",
805
767
  "fieldConfig": {
806
768
  "defaults": {
807
769
  "color": {
@@ -840,9 +802,9 @@
840
802
  "id": "links",
841
803
  "value": [
842
804
  {
805
+ "targetBlank": true,
843
806
  "title": "View Transactions for ${__value.raw}",
844
- "url": "/d/b21f1092-66a4-4fb0-90ef-ed77d2becaa4?var-Token=${__value.raw}&from=now-5y&to=now",
845
- "targetBlank": true
807
+ "url": "/d/b21f1092-66a4-4fb0-90ef-ed77d2becaa4?var-Token=${__value.raw}&from=now-5y&to=now"
846
808
  }
847
809
  ]
848
810
  }
@@ -854,7 +816,7 @@
854
816
  "h": 13,
855
817
  "w": 24,
856
818
  "x": 0,
857
- "y": 10
819
+ "y": 11
858
820
  },
859
821
  "id": 4,
860
822
  "options": {
@@ -958,8 +920,7 @@
958
920
  }
959
921
  }
960
922
  ],
961
- "type": "table",
962
- "description": "Detailed breakdown of the latest known USD value for each asset token and bucket, including all available tokens in any of the DAO's treasury wallets.\n\nData Link: Click any token to view all transactions for that token in the Treasury Transactions dashboard."
923
+ "type": "table"
963
924
  }
964
925
  ],
965
926
  "preload": false,
@@ -974,8 +935,7 @@
974
935
  },
975
936
  "timepicker": {},
976
937
  "timezone": "browser",
977
- "title": "Current Assets",
978
- "description": "Provides a real-time summary and detailed breakdown of all assets currently held in the DAO's treasury, including stablecoins, ETH, BTC, and other asset types. Useful for monitoring the DAO's current financial position, asset allocation, and recent changes. Data Links allow quick navigation to transaction details for each token.",
938
+ "title": "Current Treasury Assets",
979
939
  "uid": "ad47zqk",
980
- "version": 9
940
+ "version": 11
981
941
  }