dao-treasury 0.0.66__cp310-cp310-win_amd64.whl → 0.0.68__cp310-cp310-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.
Files changed (30) hide show
  1. dao_treasury/.grafana/provisioning/dashboards/breakdowns/Expenses.json +51 -125
  2. dao_treasury/.grafana/provisioning/dashboards/breakdowns/Revenue.json +51 -125
  3. dao_treasury/.grafana/provisioning/dashboards/streams/LlamaPay.json +3 -8
  4. dao_treasury/.grafana/provisioning/dashboards/summary/Monthly.json +1 -3
  5. dao_treasury/.grafana/provisioning/dashboards/transactions/Treasury Transactions.json +22 -25
  6. dao_treasury/.grafana/provisioning/dashboards/treasury/Cashflow (Including Unsorted).json +32 -105
  7. dao_treasury/.grafana/provisioning/dashboards/treasury/Cashflow.json +21 -69
  8. dao_treasury/.grafana/provisioning/dashboards/treasury/Current Treasury Assets.json +463 -75
  9. dao_treasury/.grafana/provisioning/dashboards/treasury/Historical Treasury Balances.json +2892 -2930
  10. dao_treasury/.grafana/provisioning/dashboards/treasury/Operating Cashflow.json +17 -55
  11. dao_treasury/_docker.cp310-win_amd64.pyd +0 -0
  12. dao_treasury/_nicknames.cp310-win_amd64.pyd +0 -0
  13. dao_treasury/_wallet.cp310-win_amd64.pyd +0 -0
  14. dao_treasury/constants.cp310-win_amd64.pyd +0 -0
  15. dao_treasury/sorting/__init__.cp310-win_amd64.pyd +0 -0
  16. dao_treasury/sorting/_matchers.cp310-win_amd64.pyd +0 -0
  17. dao_treasury/sorting/_rules.cp310-win_amd64.pyd +0 -0
  18. dao_treasury/sorting/factory.cp310-win_amd64.pyd +0 -0
  19. dao_treasury/sorting/rule.cp310-win_amd64.pyd +0 -0
  20. dao_treasury/sorting/rules/__init__.cp310-win_amd64.pyd +0 -0
  21. dao_treasury/sorting/rules/ignore/__init__.cp310-win_amd64.pyd +0 -0
  22. dao_treasury/sorting/rules/ignore/llamapay.cp310-win_amd64.pyd +0 -0
  23. dao_treasury/streams/__init__.cp310-win_amd64.pyd +0 -0
  24. dao_treasury/streams/llamapay.cp310-win_amd64.pyd +0 -0
  25. dao_treasury/types.cp310-win_amd64.pyd +0 -0
  26. {dao_treasury-0.0.66.dist-info → dao_treasury-0.0.68.dist-info}/METADATA +1 -1
  27. {dao_treasury-0.0.66.dist-info → dao_treasury-0.0.68.dist-info}/RECORD +30 -30
  28. dao_treasury__mypyc.cp310-win_amd64.pyd +0 -0
  29. {dao_treasury-0.0.66.dist-info → dao_treasury-0.0.68.dist-info}/WHEEL +0 -0
  30. {dao_treasury-0.0.66.dist-info → dao_treasury-0.0.68.dist-info}/top_level.txt +0 -0
@@ -48,7 +48,7 @@
48
48
  },
49
49
  "gridPos": {
50
50
  "h": 3,
51
- "w": 18,
51
+ "w": 6,
52
52
  "x": 0,
53
53
  "y": 0
54
54
  },
@@ -60,9 +60,7 @@
60
60
  "orientation": "auto",
61
61
  "percentChangeColorMode": "standard",
62
62
  "reduceOptions": {
63
- "calcs": [
64
- "last"
65
- ],
63
+ "calcs": ["last"],
66
64
  "fields": "",
67
65
  "values": false
68
66
  },
@@ -70,7 +68,7 @@
70
68
  "textMode": "auto",
71
69
  "wideLayout": true
72
70
  },
73
- "pluginVersion": "12.2.0",
71
+ "pluginVersion": "12.2.1",
74
72
  "targets": [
75
73
  {
76
74
  "datasource": "PROMETHEUS",
@@ -90,15 +88,219 @@
90
88
  "options": {
91
89
  "fields": {
92
90
  "Time": {
93
- "aggregations": [
94
- "last"
95
- ],
91
+ "aggregations": ["last"],
92
+ "operation": "aggregate"
93
+ },
94
+ "Value": {
95
+ "aggregations": ["last"],
96
+ "operation": "aggregate"
97
+ },
98
+ "bucket": {
99
+ "aggregations": [],
100
+ "operation": "groupby"
101
+ },
102
+ "token": {
103
+ "aggregations": [],
104
+ "operation": "groupby"
105
+ }
106
+ }
107
+ }
108
+ },
109
+ {
110
+ "id": "filterFieldsByName",
111
+ "options": {
112
+ "include": {
113
+ "names": ["Value (last)", "Time (last)"]
114
+ }
115
+ }
116
+ },
117
+ {
118
+ "id": "reduce",
119
+ "options": {
120
+ "includeTimeField": false,
121
+ "mode": "reduceFields",
122
+ "reducers": ["sum"]
123
+ }
124
+ }
125
+ ],
126
+ "type": "stat"
127
+ },
128
+ {
129
+ "datasource": "PROMETHEUS",
130
+ "fieldConfig": {
131
+ "defaults": {
132
+ "color": {
133
+ "mode": "thresholds"
134
+ },
135
+ "mappings": [],
136
+ "thresholds": {
137
+ "mode": "absolute",
138
+ "steps": [
139
+ {
140
+ "color": "green",
141
+ "value": 0
142
+ },
143
+ {
144
+ "color": "red",
145
+ "value": 80
146
+ }
147
+ ]
148
+ },
149
+ "unit": "currencyUSD"
150
+ },
151
+ "overrides": []
152
+ },
153
+ "gridPos": {
154
+ "h": 3,
155
+ "w": 4,
156
+ "x": 6,
157
+ "y": 0
158
+ },
159
+ "id": 10,
160
+ "options": {
161
+ "colorMode": "value",
162
+ "graphMode": "area",
163
+ "justifyMode": "auto",
164
+ "orientation": "auto",
165
+ "percentChangeColorMode": "standard",
166
+ "reduceOptions": {
167
+ "calcs": ["last"],
168
+ "fields": "",
169
+ "values": false
170
+ },
171
+ "showPercentChange": false,
172
+ "textMode": "auto",
173
+ "wideLayout": true
174
+ },
175
+ "pluginVersion": "12.2.1",
176
+ "targets": [
177
+ {
178
+ "datasource": "PROMETHEUS",
179
+ "editorMode": "code",
180
+ "expr": "sum(treasury_assets{param=\"usd value\",bucket=\"Cash & cash equivalents\"}<500_000_000) by (bucket, token)",
181
+ "format": "table",
182
+ "instant": false,
183
+ "legendFormat": "__auto",
184
+ "range": true,
185
+ "refId": "A"
186
+ }
187
+ ],
188
+ "title": "Total Stablecoins",
189
+ "transformations": [
190
+ {
191
+ "id": "groupBy",
192
+ "options": {
193
+ "fields": {
194
+ "Time": {
195
+ "aggregations": ["last"],
196
+ "operation": "aggregate"
197
+ },
198
+ "Value": {
199
+ "aggregations": ["last"],
200
+ "operation": "aggregate"
201
+ },
202
+ "bucket": {
203
+ "aggregations": [],
204
+ "operation": "groupby"
205
+ },
206
+ "token": {
207
+ "aggregations": [],
208
+ "operation": "groupby"
209
+ }
210
+ }
211
+ }
212
+ },
213
+ {
214
+ "id": "filterFieldsByName",
215
+ "options": {
216
+ "include": {
217
+ "names": ["Value (last)", "Time (last)"]
218
+ }
219
+ }
220
+ },
221
+ {
222
+ "id": "reduce",
223
+ "options": {
224
+ "includeTimeField": false,
225
+ "mode": "reduceFields",
226
+ "reducers": ["sum"]
227
+ }
228
+ }
229
+ ],
230
+ "type": "stat"
231
+ },
232
+ {
233
+ "datasource": "PROMETHEUS",
234
+ "fieldConfig": {
235
+ "defaults": {
236
+ "color": {
237
+ "mode": "thresholds"
238
+ },
239
+ "mappings": [],
240
+ "thresholds": {
241
+ "mode": "absolute",
242
+ "steps": [
243
+ {
244
+ "color": "green",
245
+ "value": 0
246
+ },
247
+ {
248
+ "color": "red",
249
+ "value": 80
250
+ }
251
+ ]
252
+ },
253
+ "unit": "currencyUSD"
254
+ },
255
+ "overrides": []
256
+ },
257
+ "gridPos": {
258
+ "h": 3,
259
+ "w": 4,
260
+ "x": 10,
261
+ "y": 0
262
+ },
263
+ "id": 11,
264
+ "options": {
265
+ "colorMode": "value",
266
+ "graphMode": "area",
267
+ "justifyMode": "auto",
268
+ "orientation": "auto",
269
+ "percentChangeColorMode": "standard",
270
+ "reduceOptions": {
271
+ "calcs": ["last"],
272
+ "fields": "",
273
+ "values": false
274
+ },
275
+ "showPercentChange": false,
276
+ "textMode": "auto",
277
+ "wideLayout": true
278
+ },
279
+ "pluginVersion": "12.2.1",
280
+ "targets": [
281
+ {
282
+ "datasource": "PROMETHEUS",
283
+ "editorMode": "code",
284
+ "expr": "sum(treasury_assets{param=\"usd value\",bucket=\"ETH\"}<500_000_000) by (bucket, token)",
285
+ "format": "table",
286
+ "instant": false,
287
+ "legendFormat": "__auto",
288
+ "range": true,
289
+ "refId": "A"
290
+ }
291
+ ],
292
+ "title": "Total ETH",
293
+ "transformations": [
294
+ {
295
+ "id": "groupBy",
296
+ "options": {
297
+ "fields": {
298
+ "Time": {
299
+ "aggregations": ["last"],
96
300
  "operation": "aggregate"
97
301
  },
98
302
  "Value": {
99
- "aggregations": [
100
- "last"
101
- ],
303
+ "aggregations": ["last"],
102
304
  "operation": "aggregate"
103
305
  },
104
306
  "bucket": {
@@ -116,10 +318,7 @@
116
318
  "id": "filterFieldsByName",
117
319
  "options": {
118
320
  "include": {
119
- "names": [
120
- "Value (last)",
121
- "Time (last)"
122
- ]
321
+ "names": ["Value (last)", "Time (last)"]
123
322
  }
124
323
  }
125
324
  },
@@ -128,9 +327,111 @@
128
327
  "options": {
129
328
  "includeTimeField": false,
130
329
  "mode": "reduceFields",
131
- "reducers": [
132
- "sum"
330
+ "reducers": ["sum"]
331
+ }
332
+ }
333
+ ],
334
+ "type": "stat"
335
+ },
336
+ {
337
+ "datasource": "PROMETHEUS",
338
+ "fieldConfig": {
339
+ "defaults": {
340
+ "color": {
341
+ "mode": "thresholds"
342
+ },
343
+ "mappings": [],
344
+ "thresholds": {
345
+ "mode": "absolute",
346
+ "steps": [
347
+ {
348
+ "color": "green",
349
+ "value": 0
350
+ },
351
+ {
352
+ "color": "red",
353
+ "value": 80
354
+ }
133
355
  ]
356
+ },
357
+ "unit": "currencyUSD"
358
+ },
359
+ "overrides": []
360
+ },
361
+ "gridPos": {
362
+ "h": 3,
363
+ "w": 4,
364
+ "x": 14,
365
+ "y": 0
366
+ },
367
+ "id": 12,
368
+ "options": {
369
+ "colorMode": "value",
370
+ "graphMode": "area",
371
+ "justifyMode": "auto",
372
+ "orientation": "auto",
373
+ "percentChangeColorMode": "standard",
374
+ "reduceOptions": {
375
+ "calcs": ["last"],
376
+ "fields": "",
377
+ "values": false
378
+ },
379
+ "showPercentChange": false,
380
+ "textMode": "auto",
381
+ "wideLayout": true
382
+ },
383
+ "pluginVersion": "12.2.1",
384
+ "targets": [
385
+ {
386
+ "datasource": "PROMETHEUS",
387
+ "editorMode": "code",
388
+ "expr": "sum(treasury_assets{param=\"usd value\",bucket=\"BTC\"}<500_000_000) by (bucket, token)",
389
+ "format": "table",
390
+ "instant": false,
391
+ "legendFormat": "__auto",
392
+ "range": true,
393
+ "refId": "A"
394
+ }
395
+ ],
396
+ "title": "Total BTC",
397
+ "transformations": [
398
+ {
399
+ "id": "groupBy",
400
+ "options": {
401
+ "fields": {
402
+ "Time": {
403
+ "aggregations": ["last"],
404
+ "operation": "aggregate"
405
+ },
406
+ "Value": {
407
+ "aggregations": ["last"],
408
+ "operation": "aggregate"
409
+ },
410
+ "bucket": {
411
+ "aggregations": [],
412
+ "operation": "groupby"
413
+ },
414
+ "token": {
415
+ "aggregations": [],
416
+ "operation": "groupby"
417
+ }
418
+ }
419
+ }
420
+ },
421
+ {
422
+ "id": "filterFieldsByName",
423
+ "options": {
424
+ "include": {
425
+ "names": ["Value (last)", "Time (last)"]
426
+ }
427
+ }
428
+ },
429
+ {
430
+ "id": "reduce",
431
+ "options": {
432
+ "includeTimeField": false,
433
+ "mode": "reduceFields",
434
+ "reducers": ["sum"]
134
435
  }
135
436
  }
136
437
  ],
@@ -184,7 +485,7 @@
184
485
  "cellHeight": "sm",
185
486
  "showHeader": true
186
487
  },
187
- "pluginVersion": "12.2.0",
488
+ "pluginVersion": "12.2.1",
188
489
  "targets": [
189
490
  {
190
491
  "datasource": "PROMETHEUS",
@@ -204,9 +505,7 @@
204
505
  "options": {
205
506
  "includeTimeField": true,
206
507
  "mode": "reduceFields",
207
- "reducers": [
208
- "last"
209
- ]
508
+ "reducers": ["last"]
210
509
  }
211
510
  },
212
511
  {
@@ -214,9 +513,7 @@
214
513
  "options": {
215
514
  "byVariable": false,
216
515
  "include": {
217
- "names": [
218
- "Time"
219
- ]
516
+ "names": ["Time"]
220
517
  }
221
518
  }
222
519
  },
@@ -230,6 +527,130 @@
230
527
  ],
231
528
  "type": "table"
232
529
  },
530
+ {
531
+ "datasource": "PROMETHEUS",
532
+ "fieldConfig": {
533
+ "defaults": {
534
+ "color": {
535
+ "fixedColor": "#0066ff",
536
+ "mode": "palette-classic"
537
+ },
538
+ "custom": {
539
+ "hideFrom": {
540
+ "legend": false,
541
+ "tooltip": false,
542
+ "viz": false
543
+ }
544
+ },
545
+ "mappings": [],
546
+ "unit": "currencyUSD"
547
+ },
548
+ "overrides": [
549
+ {
550
+ "matcher": {
551
+ "id": "byName",
552
+ "options": "BTC"
553
+ },
554
+ "properties": [
555
+ {
556
+ "id": "color",
557
+ "value": {
558
+ "fixedColor": "orange",
559
+ "mode": "shades"
560
+ }
561
+ }
562
+ ]
563
+ },
564
+ {
565
+ "matcher": {
566
+ "id": "byName",
567
+ "options": "ETH"
568
+ },
569
+ "properties": [
570
+ {
571
+ "id": "color",
572
+ "value": {
573
+ "fixedColor": "#0066ff",
574
+ "mode": "fixed"
575
+ }
576
+ }
577
+ ]
578
+ },
579
+ {
580
+ "matcher": {
581
+ "id": "byName",
582
+ "options": "Cash & cash equivalents"
583
+ },
584
+ "properties": [
585
+ {
586
+ "id": "color",
587
+ "value": {
588
+ "fixedColor": "semi-dark-green",
589
+ "mode": "fixed"
590
+ }
591
+ }
592
+ ]
593
+ },
594
+ {
595
+ "matcher": {
596
+ "id": "byName",
597
+ "options": "Other short term assets"
598
+ },
599
+ "properties": [
600
+ {
601
+ "id": "color",
602
+ "value": {
603
+ "fixedColor": "semi-dark-purple",
604
+ "mode": "fixed"
605
+ }
606
+ }
607
+ ]
608
+ }
609
+ ]
610
+ },
611
+ "gridPos": {
612
+ "h": 7,
613
+ "w": 9,
614
+ "x": 0,
615
+ "y": 3
616
+ },
617
+ "id": 13,
618
+ "options": {
619
+ "displayLabels": [],
620
+ "legend": {
621
+ "displayMode": "list",
622
+ "placement": "bottom",
623
+ "showLegend": true,
624
+ "values": ["percent"]
625
+ },
626
+ "pieType": "pie",
627
+ "reduceOptions": {
628
+ "calcs": ["lastNotNull"],
629
+ "fields": "",
630
+ "values": false
631
+ },
632
+ "sort": "desc",
633
+ "tooltip": {
634
+ "hideZeros": false,
635
+ "mode": "multi",
636
+ "sort": "asc"
637
+ }
638
+ },
639
+ "pluginVersion": "12.2.1",
640
+ "targets": [
641
+ {
642
+ "datasource": "PROMETHEUS",
643
+ "editorMode": "code",
644
+ "expr": "sum(treasury_assets{param=\"usd value\"}<500_000_000) by (bucket)",
645
+ "instant": false,
646
+ "legendFormat": "__auto",
647
+ "range": true,
648
+ "refId": "A"
649
+ }
650
+ ],
651
+ "title": "",
652
+ "type": "piechart"
653
+ },
233
654
  {
234
655
  "datasource": "PROMETHEUS",
235
656
  "fieldConfig": {
@@ -266,9 +687,9 @@
266
687
  "overrides": []
267
688
  },
268
689
  "gridPos": {
269
- "h": 6,
270
- "w": 24,
271
- "x": 0,
690
+ "h": 7,
691
+ "w": 15,
692
+ "x": 9,
272
693
  "y": 3
273
694
  },
274
695
  "id": 1,
@@ -278,11 +699,11 @@
278
699
  "sortBy": [
279
700
  {
280
701
  "desc": true,
281
- "displayName": "Current Balance"
702
+ "displayName": "Last Known Value USD"
282
703
  }
283
704
  ]
284
705
  },
285
- "pluginVersion": "12.2.0",
706
+ "pluginVersion": "12.2.1",
286
707
  "targets": [
287
708
  {
288
709
  "datasource": "PROMETHEUS",
@@ -326,15 +747,11 @@
326
747
  "aggregations": []
327
748
  },
328
749
  "Time": {
329
- "aggregations": [
330
- "last"
331
- ],
750
+ "aggregations": ["last"],
332
751
  "operation": "aggregate"
333
752
  },
334
753
  "Value": {
335
- "aggregations": [
336
- "last"
337
- ],
754
+ "aggregations": ["last"],
338
755
  "operation": "aggregate"
339
756
  },
340
757
  "bucket": {
@@ -348,19 +765,6 @@
348
765
  }
349
766
  }
350
767
  },
351
- {
352
- "disabled": true,
353
- "id": "filterFieldsByName",
354
- "options": {
355
- "include": {
356
- "names": [
357
- "bucket",
358
- "token",
359
- "Value (last)"
360
- ]
361
- }
362
- }
363
- },
364
768
  {
365
769
  "id": "groupBy",
366
770
  "options": {
@@ -370,27 +774,19 @@
370
774
  "operation": "groupby"
371
775
  },
372
776
  "Last Known Value USD": {
373
- "aggregations": [
374
- "sum"
375
- ],
777
+ "aggregations": ["sum"],
376
778
  "operation": "aggregate"
377
779
  },
378
780
  "Last Seen": {
379
- "aggregations": [
380
- "min"
381
- ],
781
+ "aggregations": ["min"],
382
782
  "operation": "aggregate"
383
783
  },
384
784
  "Time (last)": {
385
- "aggregations": [
386
- "min"
387
- ],
785
+ "aggregations": ["min"],
388
786
  "operation": "aggregate"
389
787
  },
390
788
  "Value (last)": {
391
- "aggregations": [
392
- "sum"
393
- ],
789
+ "aggregations": ["sum"],
394
790
  "operation": "aggregate"
395
791
  },
396
792
  "bucket": {
@@ -460,7 +856,7 @@
460
856
  "h": 13,
461
857
  "w": 24,
462
858
  "x": 0,
463
- "y": 9
859
+ "y": 10
464
860
  },
465
861
  "id": 4,
466
862
  "options": {
@@ -473,7 +869,7 @@
473
869
  }
474
870
  ]
475
871
  },
476
- "pluginVersion": "12.2.0",
872
+ "pluginVersion": "12.2.1",
477
873
  "targets": [
478
874
  {
479
875
  "datasource": "PROMETHEUS",
@@ -517,15 +913,11 @@
517
913
  "aggregations": []
518
914
  },
519
915
  "Time": {
520
- "aggregations": [
521
- "last"
522
- ],
916
+ "aggregations": ["last"],
523
917
  "operation": "aggregate"
524
918
  },
525
919
  "Value": {
526
- "aggregations": [
527
- "last"
528
- ],
920
+ "aggregations": ["last"],
529
921
  "operation": "aggregate"
530
922
  },
531
923
  "bucket": {
@@ -544,11 +936,7 @@
544
936
  "id": "filterFieldsByName",
545
937
  "options": {
546
938
  "include": {
547
- "names": [
548
- "bucket",
549
- "token",
550
- "Value (last)"
551
- ]
939
+ "names": ["bucket", "token", "Value (last)"]
552
940
  }
553
941
  }
554
942
  },
@@ -582,12 +970,12 @@
582
970
  "list": []
583
971
  },
584
972
  "time": {
585
- "from": "now-2d",
973
+ "from": "now-3d",
586
974
  "to": "now"
587
975
  },
588
976
  "timepicker": {},
589
977
  "timezone": "browser",
590
978
  "title": "Current Assets",
591
979
  "uid": "ad47zqk",
592
- "version": 2
980
+ "version": 5
593
981
  }