dao-treasury 0.0.60__cp312-cp312-win32.whl → 0.1.6__cp312-cp312-win32.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.
- dao_treasury/.grafana/provisioning/dashboards/breakdowns/Expenses.json +195 -154
- dao_treasury/.grafana/provisioning/dashboards/breakdowns/Revenue.json +192 -149
- dao_treasury/.grafana/provisioning/dashboards/dashboards.yaml +7 -81
- dao_treasury/.grafana/provisioning/dashboards/streams/LlamaPay.json +10 -22
- dao_treasury/.grafana/provisioning/dashboards/summary/Monthly.json +283 -23
- dao_treasury/.grafana/provisioning/dashboards/transactions/Treasury Transactions.json +49 -39
- dao_treasury/.grafana/provisioning/dashboards/transactions/Unsorted Transactions.json +367 -0
- dao_treasury/.grafana/provisioning/dashboards/treasury/Cashflow (Including Unsorted).json +109 -187
- dao_treasury/.grafana/provisioning/dashboards/treasury/Cashflow.json +77 -127
- dao_treasury/.grafana/provisioning/dashboards/treasury/Current Treasury Assets.json +509 -105
- dao_treasury/.grafana/provisioning/dashboards/treasury/Historical Treasury Balances.json +3856 -2924
- dao_treasury/.grafana/provisioning/dashboards/treasury/Operating Cashflow.json +57 -97
- dao_treasury/.grafana/provisioning/datasources/datasources.yaml +9 -4
- dao_treasury/__init__.py +0 -4
- dao_treasury/_docker.cp312-win32.pyd +0 -0
- dao_treasury/_docker.py +30 -22
- dao_treasury/_nicknames.cp312-win32.pyd +0 -0
- dao_treasury/_nicknames.py +3 -2
- dao_treasury/_wallet.cp312-win32.pyd +0 -0
- dao_treasury/constants.cp312-win32.pyd +0 -0
- dao_treasury/db.py +383 -131
- dao_treasury/docker-compose.yaml +19 -3
- dao_treasury/main.py +42 -4
- dao_treasury/sorting/__init__.cp312-win32.pyd +0 -0
- dao_treasury/sorting/__init__.py +38 -21
- dao_treasury/sorting/_matchers.cp312-win32.pyd +0 -0
- dao_treasury/sorting/_rules.cp312-win32.pyd +0 -0
- dao_treasury/sorting/factory.cp312-win32.pyd +0 -0
- dao_treasury/sorting/rule.cp312-win32.pyd +0 -0
- dao_treasury/sorting/rules/__init__.cp312-win32.pyd +0 -0
- dao_treasury/sorting/rules/ignore/__init__.cp312-win32.pyd +0 -0
- dao_treasury/sorting/rules/ignore/llamapay.cp312-win32.pyd +0 -0
- dao_treasury/treasury.py +4 -2
- dao_treasury/types.cp312-win32.pyd +0 -0
- {dao_treasury-0.0.60.dist-info → dao_treasury-0.1.6.dist-info}/METADATA +18 -4
- dao_treasury-0.1.6.dist-info/RECORD +53 -0
- dao_treasury__mypyc.cp312-win32.pyd +0 -0
- dao_treasury/streams/__init__.cp312-win32.pyd +0 -0
- dao_treasury/streams/llamapay.cp312-win32.pyd +0 -0
- dao_treasury-0.0.60.dist-info/RECORD +0 -54
- {dao_treasury-0.0.60.dist-info → dao_treasury-0.1.6.dist-info}/WHEEL +0 -0
- {dao_treasury-0.0.60.dist-info → dao_treasury-0.1.6.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":
|
|
22
|
+
"id": 9,
|
|
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": {
|
|
@@ -35,10 +37,6 @@
|
|
|
35
37
|
{
|
|
36
38
|
"color": "green",
|
|
37
39
|
"value": 0
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"color": "red",
|
|
41
|
-
"value": 80
|
|
42
40
|
}
|
|
43
41
|
]
|
|
44
42
|
},
|
|
@@ -48,7 +46,7 @@
|
|
|
48
46
|
},
|
|
49
47
|
"gridPos": {
|
|
50
48
|
"h": 3,
|
|
51
|
-
"w":
|
|
49
|
+
"w": 6,
|
|
52
50
|
"x": 0,
|
|
53
51
|
"y": 0
|
|
54
52
|
},
|
|
@@ -60,9 +58,7 @@
|
|
|
60
58
|
"orientation": "auto",
|
|
61
59
|
"percentChangeColorMode": "standard",
|
|
62
60
|
"reduceOptions": {
|
|
63
|
-
"calcs": [
|
|
64
|
-
"last"
|
|
65
|
-
],
|
|
61
|
+
"calcs": ["last"],
|
|
66
62
|
"fields": "",
|
|
67
63
|
"values": false
|
|
68
64
|
},
|
|
@@ -70,7 +66,7 @@
|
|
|
70
66
|
"textMode": "auto",
|
|
71
67
|
"wideLayout": true
|
|
72
68
|
},
|
|
73
|
-
"pluginVersion": "12.2.
|
|
69
|
+
"pluginVersion": "12.2.1",
|
|
74
70
|
"targets": [
|
|
75
71
|
{
|
|
76
72
|
"datasource": "PROMETHEUS",
|
|
@@ -90,24 +86,200 @@
|
|
|
90
86
|
"options": {
|
|
91
87
|
"fields": {
|
|
92
88
|
"Time": {
|
|
93
|
-
"aggregations": [
|
|
94
|
-
|
|
95
|
-
],
|
|
96
|
-
"operation": "aggregate"
|
|
89
|
+
"aggregations": [],
|
|
90
|
+
"operation": "groupby"
|
|
97
91
|
},
|
|
98
92
|
"Value": {
|
|
99
|
-
"aggregations": [
|
|
100
|
-
"last"
|
|
101
|
-
],
|
|
93
|
+
"aggregations": ["sum"],
|
|
102
94
|
"operation": "aggregate"
|
|
103
95
|
},
|
|
104
96
|
"bucket": {
|
|
97
|
+
"aggregations": []
|
|
98
|
+
},
|
|
99
|
+
"token": {
|
|
100
|
+
"aggregations": []
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"id": "filterFieldsByName",
|
|
107
|
+
"options": {
|
|
108
|
+
"include": {
|
|
109
|
+
"names": ["Time", "Value (sum)"]
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"type": "stat"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
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.",
|
|
119
|
+
"fieldConfig": {
|
|
120
|
+
"defaults": {
|
|
121
|
+
"color": {
|
|
122
|
+
"mode": "thresholds"
|
|
123
|
+
},
|
|
124
|
+
"mappings": [],
|
|
125
|
+
"thresholds": {
|
|
126
|
+
"mode": "absolute",
|
|
127
|
+
"steps": [
|
|
128
|
+
{
|
|
129
|
+
"color": "green",
|
|
130
|
+
"value": 0
|
|
131
|
+
}
|
|
132
|
+
]
|
|
133
|
+
},
|
|
134
|
+
"unit": "currencyUSD"
|
|
135
|
+
},
|
|
136
|
+
"overrides": []
|
|
137
|
+
},
|
|
138
|
+
"gridPos": {
|
|
139
|
+
"h": 3,
|
|
140
|
+
"w": 4,
|
|
141
|
+
"x": 6,
|
|
142
|
+
"y": 0
|
|
143
|
+
},
|
|
144
|
+
"id": 10,
|
|
145
|
+
"options": {
|
|
146
|
+
"colorMode": "value",
|
|
147
|
+
"graphMode": "area",
|
|
148
|
+
"justifyMode": "auto",
|
|
149
|
+
"orientation": "auto",
|
|
150
|
+
"percentChangeColorMode": "standard",
|
|
151
|
+
"reduceOptions": {
|
|
152
|
+
"calcs": ["last"],
|
|
153
|
+
"fields": "",
|
|
154
|
+
"values": false
|
|
155
|
+
},
|
|
156
|
+
"showPercentChange": false,
|
|
157
|
+
"textMode": "auto",
|
|
158
|
+
"wideLayout": true
|
|
159
|
+
},
|
|
160
|
+
"pluginVersion": "12.2.1",
|
|
161
|
+
"targets": [
|
|
162
|
+
{
|
|
163
|
+
"datasource": "PROMETHEUS",
|
|
164
|
+
"editorMode": "code",
|
|
165
|
+
"expr": "sum(treasury_assets{param=\"usd value\",bucket=\"Cash & cash equivalents\"}<500_000_000) by (bucket, token)",
|
|
166
|
+
"format": "table",
|
|
167
|
+
"instant": false,
|
|
168
|
+
"legendFormat": "__auto",
|
|
169
|
+
"range": true,
|
|
170
|
+
"refId": "A"
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
"title": "Total Stablecoins",
|
|
174
|
+
"transformations": [
|
|
175
|
+
{
|
|
176
|
+
"id": "groupBy",
|
|
177
|
+
"options": {
|
|
178
|
+
"fields": {
|
|
179
|
+
"Time": {
|
|
105
180
|
"aggregations": [],
|
|
106
181
|
"operation": "groupby"
|
|
107
182
|
},
|
|
183
|
+
"Value": {
|
|
184
|
+
"aggregations": ["sum"],
|
|
185
|
+
"operation": "aggregate"
|
|
186
|
+
},
|
|
187
|
+
"bucket": {
|
|
188
|
+
"aggregations": []
|
|
189
|
+
},
|
|
108
190
|
"token": {
|
|
191
|
+
"aggregations": []
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"id": "filterFieldsByName",
|
|
198
|
+
"options": {
|
|
199
|
+
"include": {
|
|
200
|
+
"names": ["Time", "Value (sum)"]
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
"type": "stat"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
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.",
|
|
210
|
+
"fieldConfig": {
|
|
211
|
+
"defaults": {
|
|
212
|
+
"color": {
|
|
213
|
+
"mode": "thresholds"
|
|
214
|
+
},
|
|
215
|
+
"mappings": [],
|
|
216
|
+
"thresholds": {
|
|
217
|
+
"mode": "absolute",
|
|
218
|
+
"steps": [
|
|
219
|
+
{
|
|
220
|
+
"color": "green",
|
|
221
|
+
"value": 0
|
|
222
|
+
}
|
|
223
|
+
]
|
|
224
|
+
},
|
|
225
|
+
"unit": "currencyUSD"
|
|
226
|
+
},
|
|
227
|
+
"overrides": []
|
|
228
|
+
},
|
|
229
|
+
"gridPos": {
|
|
230
|
+
"h": 3,
|
|
231
|
+
"w": 4,
|
|
232
|
+
"x": 10,
|
|
233
|
+
"y": 0
|
|
234
|
+
},
|
|
235
|
+
"id": 11,
|
|
236
|
+
"options": {
|
|
237
|
+
"colorMode": "value",
|
|
238
|
+
"graphMode": "area",
|
|
239
|
+
"justifyMode": "auto",
|
|
240
|
+
"orientation": "auto",
|
|
241
|
+
"percentChangeColorMode": "standard",
|
|
242
|
+
"reduceOptions": {
|
|
243
|
+
"calcs": ["last"],
|
|
244
|
+
"fields": "",
|
|
245
|
+
"values": false
|
|
246
|
+
},
|
|
247
|
+
"showPercentChange": false,
|
|
248
|
+
"textMode": "auto",
|
|
249
|
+
"wideLayout": true
|
|
250
|
+
},
|
|
251
|
+
"pluginVersion": "12.2.1",
|
|
252
|
+
"targets": [
|
|
253
|
+
{
|
|
254
|
+
"datasource": "PROMETHEUS",
|
|
255
|
+
"editorMode": "code",
|
|
256
|
+
"expr": "sum(treasury_assets{param=\"usd value\",bucket=\"ETH\"}<500_000_000) by (bucket, token)",
|
|
257
|
+
"format": "table",
|
|
258
|
+
"instant": false,
|
|
259
|
+
"legendFormat": "__auto",
|
|
260
|
+
"range": true,
|
|
261
|
+
"refId": "A"
|
|
262
|
+
}
|
|
263
|
+
],
|
|
264
|
+
"title": "Total ETH",
|
|
265
|
+
"transformations": [
|
|
266
|
+
{
|
|
267
|
+
"id": "groupBy",
|
|
268
|
+
"options": {
|
|
269
|
+
"fields": {
|
|
270
|
+
"Time": {
|
|
109
271
|
"aggregations": [],
|
|
110
272
|
"operation": "groupby"
|
|
273
|
+
},
|
|
274
|
+
"Value": {
|
|
275
|
+
"aggregations": ["sum"],
|
|
276
|
+
"operation": "aggregate"
|
|
277
|
+
},
|
|
278
|
+
"bucket": {
|
|
279
|
+
"aggregations": []
|
|
280
|
+
},
|
|
281
|
+
"token": {
|
|
282
|
+
"aggregations": []
|
|
111
283
|
}
|
|
112
284
|
}
|
|
113
285
|
}
|
|
@@ -116,21 +288,99 @@
|
|
|
116
288
|
"id": "filterFieldsByName",
|
|
117
289
|
"options": {
|
|
118
290
|
"include": {
|
|
119
|
-
"names": [
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
291
|
+
"names": ["Time", "Value (sum)"]
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
],
|
|
296
|
+
"type": "stat"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
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.",
|
|
301
|
+
"fieldConfig": {
|
|
302
|
+
"defaults": {
|
|
303
|
+
"color": {
|
|
304
|
+
"mode": "thresholds"
|
|
305
|
+
},
|
|
306
|
+
"mappings": [],
|
|
307
|
+
"thresholds": {
|
|
308
|
+
"mode": "absolute",
|
|
309
|
+
"steps": [
|
|
310
|
+
{
|
|
311
|
+
"color": "green",
|
|
312
|
+
"value": 0
|
|
313
|
+
}
|
|
314
|
+
]
|
|
315
|
+
},
|
|
316
|
+
"unit": "currencyUSD"
|
|
317
|
+
},
|
|
318
|
+
"overrides": []
|
|
319
|
+
},
|
|
320
|
+
"gridPos": {
|
|
321
|
+
"h": 3,
|
|
322
|
+
"w": 4,
|
|
323
|
+
"x": 14,
|
|
324
|
+
"y": 0
|
|
325
|
+
},
|
|
326
|
+
"id": 12,
|
|
327
|
+
"options": {
|
|
328
|
+
"colorMode": "value",
|
|
329
|
+
"graphMode": "area",
|
|
330
|
+
"justifyMode": "auto",
|
|
331
|
+
"orientation": "auto",
|
|
332
|
+
"percentChangeColorMode": "standard",
|
|
333
|
+
"reduceOptions": {
|
|
334
|
+
"calcs": ["last"],
|
|
335
|
+
"fields": "",
|
|
336
|
+
"values": false
|
|
337
|
+
},
|
|
338
|
+
"showPercentChange": false,
|
|
339
|
+
"textMode": "auto",
|
|
340
|
+
"wideLayout": true
|
|
341
|
+
},
|
|
342
|
+
"pluginVersion": "12.2.1",
|
|
343
|
+
"targets": [
|
|
344
|
+
{
|
|
345
|
+
"datasource": "PROMETHEUS",
|
|
346
|
+
"editorMode": "code",
|
|
347
|
+
"expr": "sum(treasury_assets{param=\"usd value\",bucket=\"BTC\"}<500_000_000) by (bucket, token)",
|
|
348
|
+
"format": "table",
|
|
349
|
+
"instant": false,
|
|
350
|
+
"legendFormat": "__auto",
|
|
351
|
+
"range": true,
|
|
352
|
+
"refId": "A"
|
|
353
|
+
}
|
|
354
|
+
],
|
|
355
|
+
"title": "Total BTC",
|
|
356
|
+
"transformations": [
|
|
357
|
+
{
|
|
358
|
+
"id": "groupBy",
|
|
359
|
+
"options": {
|
|
360
|
+
"fields": {
|
|
361
|
+
"Time": {
|
|
362
|
+
"aggregations": [],
|
|
363
|
+
"operation": "groupby"
|
|
364
|
+
},
|
|
365
|
+
"Value": {
|
|
366
|
+
"aggregations": ["sum"],
|
|
367
|
+
"operation": "aggregate"
|
|
368
|
+
},
|
|
369
|
+
"bucket": {
|
|
370
|
+
"aggregations": []
|
|
371
|
+
},
|
|
372
|
+
"token": {
|
|
373
|
+
"aggregations": []
|
|
374
|
+
}
|
|
123
375
|
}
|
|
124
376
|
}
|
|
125
377
|
},
|
|
126
378
|
{
|
|
127
|
-
"id": "
|
|
379
|
+
"id": "filterFieldsByName",
|
|
128
380
|
"options": {
|
|
129
|
-
"
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
"sum"
|
|
133
|
-
]
|
|
381
|
+
"include": {
|
|
382
|
+
"names": ["Time", "Value (sum)"]
|
|
383
|
+
}
|
|
134
384
|
}
|
|
135
385
|
}
|
|
136
386
|
],
|
|
@@ -138,6 +388,7 @@
|
|
|
138
388
|
},
|
|
139
389
|
{
|
|
140
390
|
"datasource": "PROMETHEUS",
|
|
391
|
+
"description": "Shows the timestamp of the most recent complete data snapshot for treasury assets.",
|
|
141
392
|
"fieldConfig": {
|
|
142
393
|
"defaults": {
|
|
143
394
|
"color": {
|
|
@@ -163,10 +414,6 @@
|
|
|
163
414
|
{
|
|
164
415
|
"color": "green",
|
|
165
416
|
"value": 0
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"color": "red",
|
|
169
|
-
"value": 80
|
|
170
417
|
}
|
|
171
418
|
]
|
|
172
419
|
}
|
|
@@ -184,7 +431,7 @@
|
|
|
184
431
|
"cellHeight": "sm",
|
|
185
432
|
"showHeader": true
|
|
186
433
|
},
|
|
187
|
-
"pluginVersion": "12.2.
|
|
434
|
+
"pluginVersion": "12.2.1",
|
|
188
435
|
"targets": [
|
|
189
436
|
{
|
|
190
437
|
"datasource": "PROMETHEUS",
|
|
@@ -204,9 +451,7 @@
|
|
|
204
451
|
"options": {
|
|
205
452
|
"includeTimeField": true,
|
|
206
453
|
"mode": "reduceFields",
|
|
207
|
-
"reducers": [
|
|
208
|
-
"last"
|
|
209
|
-
]
|
|
454
|
+
"reducers": ["last"]
|
|
210
455
|
}
|
|
211
456
|
},
|
|
212
457
|
{
|
|
@@ -214,9 +459,7 @@
|
|
|
214
459
|
"options": {
|
|
215
460
|
"byVariable": false,
|
|
216
461
|
"include": {
|
|
217
|
-
"names": [
|
|
218
|
-
"Time"
|
|
219
|
-
]
|
|
462
|
+
"names": ["Time"]
|
|
220
463
|
}
|
|
221
464
|
}
|
|
222
465
|
},
|
|
@@ -232,6 +475,147 @@
|
|
|
232
475
|
},
|
|
233
476
|
{
|
|
234
477
|
"datasource": "PROMETHEUS",
|
|
478
|
+
"description": "Pie chart visualizing the distribution of treasury assets by bucket (e.g., stablecoins, ETH, BTC, other assets).",
|
|
479
|
+
"fieldConfig": {
|
|
480
|
+
"defaults": {
|
|
481
|
+
"color": {
|
|
482
|
+
"fixedColor": "#0066ff",
|
|
483
|
+
"mode": "palette-classic"
|
|
484
|
+
},
|
|
485
|
+
"custom": {
|
|
486
|
+
"hideFrom": {
|
|
487
|
+
"legend": false,
|
|
488
|
+
"tooltip": false,
|
|
489
|
+
"viz": false
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
"mappings": [],
|
|
493
|
+
"unit": "currencyUSD"
|
|
494
|
+
},
|
|
495
|
+
"overrides": [
|
|
496
|
+
{
|
|
497
|
+
"matcher": {
|
|
498
|
+
"id": "byName",
|
|
499
|
+
"options": "BTC"
|
|
500
|
+
},
|
|
501
|
+
"properties": [
|
|
502
|
+
{
|
|
503
|
+
"id": "color",
|
|
504
|
+
"value": {
|
|
505
|
+
"fixedColor": "orange",
|
|
506
|
+
"mode": "shades"
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
]
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"matcher": {
|
|
513
|
+
"id": "byName",
|
|
514
|
+
"options": "ETH"
|
|
515
|
+
},
|
|
516
|
+
"properties": [
|
|
517
|
+
{
|
|
518
|
+
"id": "color",
|
|
519
|
+
"value": {
|
|
520
|
+
"fixedColor": "blue",
|
|
521
|
+
"mode": "fixed"
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
]
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"matcher": {
|
|
528
|
+
"id": "byName",
|
|
529
|
+
"options": "Cash & cash equivalents"
|
|
530
|
+
},
|
|
531
|
+
"properties": [
|
|
532
|
+
{
|
|
533
|
+
"id": "color",
|
|
534
|
+
"value": {
|
|
535
|
+
"fixedColor": "semi-dark-green",
|
|
536
|
+
"mode": "fixed"
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
]
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"matcher": {
|
|
543
|
+
"id": "byName",
|
|
544
|
+
"options": "Other short term assets"
|
|
545
|
+
},
|
|
546
|
+
"properties": [
|
|
547
|
+
{
|
|
548
|
+
"id": "color",
|
|
549
|
+
"value": {
|
|
550
|
+
"fixedColor": "semi-dark-purple",
|
|
551
|
+
"mode": "fixed"
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
]
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"matcher": {
|
|
558
|
+
"id": "byName",
|
|
559
|
+
"options": "YFI"
|
|
560
|
+
},
|
|
561
|
+
"properties": [
|
|
562
|
+
{
|
|
563
|
+
"id": "color",
|
|
564
|
+
"value": {
|
|
565
|
+
"fixedColor": "#0027ff",
|
|
566
|
+
"mode": "fixed"
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
]
|
|
570
|
+
}
|
|
571
|
+
]
|
|
572
|
+
},
|
|
573
|
+
"gridPos": {
|
|
574
|
+
"h": 8,
|
|
575
|
+
"w": 9,
|
|
576
|
+
"x": 0,
|
|
577
|
+
"y": 3
|
|
578
|
+
},
|
|
579
|
+
"id": 13,
|
|
580
|
+
"options": {
|
|
581
|
+
"displayLabels": [],
|
|
582
|
+
"legend": {
|
|
583
|
+
"displayMode": "list",
|
|
584
|
+
"placement": "bottom",
|
|
585
|
+
"showLegend": true,
|
|
586
|
+
"values": ["percent"]
|
|
587
|
+
},
|
|
588
|
+
"pieType": "pie",
|
|
589
|
+
"reduceOptions": {
|
|
590
|
+
"calcs": ["lastNotNull"],
|
|
591
|
+
"fields": "",
|
|
592
|
+
"values": false
|
|
593
|
+
},
|
|
594
|
+
"sort": "desc",
|
|
595
|
+
"tooltip": {
|
|
596
|
+
"hideZeros": false,
|
|
597
|
+
"mode": "multi",
|
|
598
|
+
"sort": "asc"
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
"pluginVersion": "12.2.1",
|
|
602
|
+
"targets": [
|
|
603
|
+
{
|
|
604
|
+
"datasource": "PROMETHEUS",
|
|
605
|
+
"editorMode": "code",
|
|
606
|
+
"expr": "sum(treasury_assets{param=\"usd value\"}<500_000_000) by (bucket)",
|
|
607
|
+
"instant": false,
|
|
608
|
+
"legendFormat": "__auto",
|
|
609
|
+
"range": true,
|
|
610
|
+
"refId": "A"
|
|
611
|
+
}
|
|
612
|
+
],
|
|
613
|
+
"title": "",
|
|
614
|
+
"type": "piechart"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"datasource": "PROMETHEUS",
|
|
618
|
+
"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.",
|
|
235
619
|
"fieldConfig": {
|
|
236
620
|
"defaults": {
|
|
237
621
|
"color": {
|
|
@@ -243,7 +627,7 @@
|
|
|
243
627
|
"type": "auto"
|
|
244
628
|
},
|
|
245
629
|
"footer": {
|
|
246
|
-
"reducers": []
|
|
630
|
+
"reducers": ["sum"]
|
|
247
631
|
},
|
|
248
632
|
"inspect": false
|
|
249
633
|
},
|
|
@@ -252,23 +636,36 @@
|
|
|
252
636
|
"mode": "absolute",
|
|
253
637
|
"steps": [
|
|
254
638
|
{
|
|
255
|
-
"color": "
|
|
639
|
+
"color": "text",
|
|
256
640
|
"value": 0
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"color": "red",
|
|
260
|
-
"value": 80
|
|
261
641
|
}
|
|
262
642
|
]
|
|
263
643
|
},
|
|
264
644
|
"unit": "currencyUSD"
|
|
265
645
|
},
|
|
266
|
-
"overrides": [
|
|
646
|
+
"overrides": [
|
|
647
|
+
{
|
|
648
|
+
"matcher": {
|
|
649
|
+
"id": "byName",
|
|
650
|
+
"options": "Last Known Value USD"
|
|
651
|
+
},
|
|
652
|
+
"properties": [
|
|
653
|
+
{
|
|
654
|
+
"id": "custom.cellOptions",
|
|
655
|
+
"value": {
|
|
656
|
+
"mode": "basic",
|
|
657
|
+
"type": "gauge",
|
|
658
|
+
"valueDisplayMode": "text"
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
]
|
|
662
|
+
}
|
|
663
|
+
]
|
|
267
664
|
},
|
|
268
665
|
"gridPos": {
|
|
269
|
-
"h":
|
|
270
|
-
"w":
|
|
271
|
-
"x":
|
|
666
|
+
"h": 8,
|
|
667
|
+
"w": 15,
|
|
668
|
+
"x": 9,
|
|
272
669
|
"y": 3
|
|
273
670
|
},
|
|
274
671
|
"id": 1,
|
|
@@ -278,11 +675,11 @@
|
|
|
278
675
|
"sortBy": [
|
|
279
676
|
{
|
|
280
677
|
"desc": true,
|
|
281
|
-
"displayName": "
|
|
678
|
+
"displayName": "Last Known Value USD"
|
|
282
679
|
}
|
|
283
680
|
]
|
|
284
681
|
},
|
|
285
|
-
"pluginVersion": "12.2.
|
|
682
|
+
"pluginVersion": "12.2.1",
|
|
286
683
|
"targets": [
|
|
287
684
|
{
|
|
288
685
|
"datasource": "PROMETHEUS",
|
|
@@ -326,15 +723,11 @@
|
|
|
326
723
|
"aggregations": []
|
|
327
724
|
},
|
|
328
725
|
"Time": {
|
|
329
|
-
"aggregations": [
|
|
330
|
-
"last"
|
|
331
|
-
],
|
|
726
|
+
"aggregations": ["last"],
|
|
332
727
|
"operation": "aggregate"
|
|
333
728
|
},
|
|
334
729
|
"Value": {
|
|
335
|
-
"aggregations": [
|
|
336
|
-
"last"
|
|
337
|
-
],
|
|
730
|
+
"aggregations": ["last"],
|
|
338
731
|
"operation": "aggregate"
|
|
339
732
|
},
|
|
340
733
|
"bucket": {
|
|
@@ -348,19 +741,6 @@
|
|
|
348
741
|
}
|
|
349
742
|
}
|
|
350
743
|
},
|
|
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
744
|
{
|
|
365
745
|
"id": "groupBy",
|
|
366
746
|
"options": {
|
|
@@ -370,27 +750,19 @@
|
|
|
370
750
|
"operation": "groupby"
|
|
371
751
|
},
|
|
372
752
|
"Last Known Value USD": {
|
|
373
|
-
"aggregations": [
|
|
374
|
-
"sum"
|
|
375
|
-
],
|
|
753
|
+
"aggregations": ["sum"],
|
|
376
754
|
"operation": "aggregate"
|
|
377
755
|
},
|
|
378
756
|
"Last Seen": {
|
|
379
|
-
"aggregations": [
|
|
380
|
-
"min"
|
|
381
|
-
],
|
|
757
|
+
"aggregations": ["min"],
|
|
382
758
|
"operation": "aggregate"
|
|
383
759
|
},
|
|
384
760
|
"Time (last)": {
|
|
385
|
-
"aggregations": [
|
|
386
|
-
"min"
|
|
387
|
-
],
|
|
761
|
+
"aggregations": ["min"],
|
|
388
762
|
"operation": "aggregate"
|
|
389
763
|
},
|
|
390
764
|
"Value (last)": {
|
|
391
|
-
"aggregations": [
|
|
392
|
-
"sum"
|
|
393
|
-
],
|
|
765
|
+
"aggregations": ["sum"],
|
|
394
766
|
"operation": "aggregate"
|
|
395
767
|
},
|
|
396
768
|
"bucket": {
|
|
@@ -423,10 +795,12 @@
|
|
|
423
795
|
},
|
|
424
796
|
{
|
|
425
797
|
"datasource": "PROMETHEUS",
|
|
798
|
+
"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.",
|
|
426
799
|
"fieldConfig": {
|
|
427
800
|
"defaults": {
|
|
428
801
|
"color": {
|
|
429
|
-
"
|
|
802
|
+
"fixedColor": "text",
|
|
803
|
+
"mode": "fixed"
|
|
430
804
|
},
|
|
431
805
|
"custom": {
|
|
432
806
|
"align": "auto",
|
|
@@ -445,22 +819,52 @@
|
|
|
445
819
|
{
|
|
446
820
|
"color": "green",
|
|
447
821
|
"value": 0
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
"color": "red",
|
|
451
|
-
"value": 80
|
|
452
822
|
}
|
|
453
823
|
]
|
|
454
824
|
},
|
|
455
825
|
"unit": "currencyUSD"
|
|
456
826
|
},
|
|
457
|
-
"overrides": [
|
|
827
|
+
"overrides": [
|
|
828
|
+
{
|
|
829
|
+
"matcher": {
|
|
830
|
+
"id": "byName",
|
|
831
|
+
"options": "token"
|
|
832
|
+
},
|
|
833
|
+
"properties": [
|
|
834
|
+
{
|
|
835
|
+
"id": "links",
|
|
836
|
+
"value": [
|
|
837
|
+
{
|
|
838
|
+
"targetBlank": true,
|
|
839
|
+
"title": "View Transactions for ${__value.raw}",
|
|
840
|
+
"url": "/d/b21f1092-66a4-4fb0-90ef-ed77d2becaa4?var-Token=${__value.raw}&from=now-5y&to=now"
|
|
841
|
+
}
|
|
842
|
+
]
|
|
843
|
+
}
|
|
844
|
+
]
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"matcher": {
|
|
848
|
+
"id": "byName",
|
|
849
|
+
"options": "Last Known Value USD"
|
|
850
|
+
},
|
|
851
|
+
"properties": [
|
|
852
|
+
{
|
|
853
|
+
"id": "custom.cellOptions",
|
|
854
|
+
"value": {
|
|
855
|
+
"mode": "basic",
|
|
856
|
+
"type": "gauge"
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
]
|
|
860
|
+
}
|
|
861
|
+
]
|
|
458
862
|
},
|
|
459
863
|
"gridPos": {
|
|
460
864
|
"h": 13,
|
|
461
865
|
"w": 24,
|
|
462
866
|
"x": 0,
|
|
463
|
-
"y":
|
|
867
|
+
"y": 11
|
|
464
868
|
},
|
|
465
869
|
"id": 4,
|
|
466
870
|
"options": {
|
|
@@ -473,7 +877,7 @@
|
|
|
473
877
|
}
|
|
474
878
|
]
|
|
475
879
|
},
|
|
476
|
-
"pluginVersion": "12.2.
|
|
880
|
+
"pluginVersion": "12.2.1",
|
|
477
881
|
"targets": [
|
|
478
882
|
{
|
|
479
883
|
"datasource": "PROMETHEUS",
|
|
@@ -517,15 +921,11 @@
|
|
|
517
921
|
"aggregations": []
|
|
518
922
|
},
|
|
519
923
|
"Time": {
|
|
520
|
-
"aggregations": [
|
|
521
|
-
"last"
|
|
522
|
-
],
|
|
924
|
+
"aggregations": ["last"],
|
|
523
925
|
"operation": "aggregate"
|
|
524
926
|
},
|
|
525
927
|
"Value": {
|
|
526
|
-
"aggregations": [
|
|
527
|
-
"last"
|
|
528
|
-
],
|
|
928
|
+
"aggregations": ["last"],
|
|
529
929
|
"operation": "aggregate"
|
|
530
930
|
},
|
|
531
931
|
"bucket": {
|
|
@@ -544,11 +944,7 @@
|
|
|
544
944
|
"id": "filterFieldsByName",
|
|
545
945
|
"options": {
|
|
546
946
|
"include": {
|
|
547
|
-
"names": [
|
|
548
|
-
"bucket",
|
|
549
|
-
"token",
|
|
550
|
-
"Value (last)"
|
|
551
|
-
]
|
|
947
|
+
"names": ["bucket", "token", "Value (last)"]
|
|
552
948
|
}
|
|
553
949
|
}
|
|
554
950
|
},
|
|
@@ -577,17 +973,25 @@
|
|
|
577
973
|
],
|
|
578
974
|
"preload": false,
|
|
579
975
|
"schemaVersion": 42,
|
|
580
|
-
"tags": [],
|
|
976
|
+
"tags": ["assets", "current"],
|
|
581
977
|
"templating": {
|
|
582
|
-
"list": [
|
|
978
|
+
"list": [
|
|
979
|
+
{
|
|
980
|
+
"baseFilters": [],
|
|
981
|
+
"datasource": "PROMETHEUS",
|
|
982
|
+
"filters": [],
|
|
983
|
+
"name": "Filters",
|
|
984
|
+
"type": "adhoc"
|
|
985
|
+
}
|
|
986
|
+
]
|
|
583
987
|
},
|
|
584
988
|
"time": {
|
|
585
|
-
"from": "now-
|
|
989
|
+
"from": "now-3d",
|
|
586
990
|
"to": "now"
|
|
587
991
|
},
|
|
588
992
|
"timepicker": {},
|
|
589
993
|
"timezone": "browser",
|
|
590
|
-
"title": "Current Assets",
|
|
994
|
+
"title": "Current Treasury Assets",
|
|
591
995
|
"uid": "ad47zqk",
|
|
592
|
-
"version":
|
|
996
|
+
"version": 12
|
|
593
997
|
}
|