dao-treasury 0.0.55__tar.gz → 0.0.56__tar.gz
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-0.0.55 → dao_treasury-0.0.56}/PKG-INFO +1 -1
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/.grafana/provisioning/dashboards/dashboards.yaml +9 -1
- dao_treasury-0.0.56/dao_treasury/.grafana/provisioning/dashboards/treasury/Current Treasury Assets.json +517 -0
- dao_treasury-0.0.55/dao_treasury/.grafana/provisioning/dashboards/treasury/Treasury.json → dao_treasury-0.0.56/dao_treasury/.grafana/provisioning/dashboards/treasury/Historical Treasury Balances.json +3 -3
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury.egg-info/PKG-INFO +1 -1
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury.egg-info/SOURCES.txt +2 -1
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/pyproject.toml +1 -1
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/MANIFEST.in +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/README.md +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/.grafana/provisioning/dashboards/breakdowns/Expenses.json +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/.grafana/provisioning/dashboards/breakdowns/Revenue.json +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/.grafana/provisioning/dashboards/streams/LlamaPay.json +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/.grafana/provisioning/dashboards/summary/Monthly.json +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/.grafana/provisioning/dashboards/transactions/Treasury Transactions.json +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/.grafana/provisioning/dashboards/treasury/Cashflow (Including Unsorted).json +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/.grafana/provisioning/dashboards/treasury/Cashflow.json +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/.grafana/provisioning/dashboards/treasury/Operating Cashflow.json +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/.grafana/provisioning/datasources/datasources.yaml +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/ENVIRONMENT_VARIABLES.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/__init__.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/_docker.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/_nicknames.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/_wallet.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/constants.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/db.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/docker-compose.yaml +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/main.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/py.typed +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/sorting/__init__.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/sorting/_matchers.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/sorting/_rules.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/sorting/factory.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/sorting/rule.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/sorting/rules/__init__.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/sorting/rules/ignore/__init__.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/sorting/rules/ignore/llamapay.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/streams/__init__.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/streams/llamapay.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/treasury.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury/types.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury.egg-info/dependency_links.txt +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury.egg-info/not-zip-safe +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury.egg-info/requires.txt +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/dao_treasury.egg-info/top_level.txt +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/setup.cfg +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/setup.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/tests/test_treasury.py +0 -0
- {dao_treasury-0.0.55 → dao_treasury-0.0.56}/tests/test_wallet.py +0 -0
|
@@ -11,7 +11,7 @@ providers:
|
|
|
11
11
|
path: /etc/grafana/provisioning/dashboards/summary
|
|
12
12
|
|
|
13
13
|
# Dashboards
|
|
14
|
-
- name: 'Treasury'
|
|
14
|
+
- name: 'Current Treasury Assets'
|
|
15
15
|
folder: 'Treasury'
|
|
16
16
|
type: file
|
|
17
17
|
disableDeletion: true
|
|
@@ -42,6 +42,14 @@ providers:
|
|
|
42
42
|
editable: false
|
|
43
43
|
options:
|
|
44
44
|
path: /etc/grafana/provisioning/dashboards/treasury
|
|
45
|
+
|
|
46
|
+
- name: 'Historical Treasury Balances'
|
|
47
|
+
folder: 'Treasury'
|
|
48
|
+
type: file
|
|
49
|
+
disableDeletion: true
|
|
50
|
+
editable: false
|
|
51
|
+
options:
|
|
52
|
+
path: /etc/grafana/provisioning/dashboards/treasury
|
|
45
53
|
|
|
46
54
|
- name: 'Treasury Transactions'
|
|
47
55
|
folder: 'Transactions'
|
|
@@ -0,0 +1,517 @@
|
|
|
1
|
+
{
|
|
2
|
+
"annotations": {
|
|
3
|
+
"list": [
|
|
4
|
+
{
|
|
5
|
+
"builtIn": 1,
|
|
6
|
+
"datasource": {
|
|
7
|
+
"type": "grafana",
|
|
8
|
+
"uid": "-- Grafana --"
|
|
9
|
+
},
|
|
10
|
+
"enable": true,
|
|
11
|
+
"hide": true,
|
|
12
|
+
"iconColor": "rgba(0, 211, 255, 1)",
|
|
13
|
+
"name": "Annotations & Alerts",
|
|
14
|
+
"type": "dashboard"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"editable": true,
|
|
19
|
+
"fiscalYearStartMonth": 0,
|
|
20
|
+
"graphTooltip": 0,
|
|
21
|
+
"id": 0,
|
|
22
|
+
"links": [],
|
|
23
|
+
"panels": [
|
|
24
|
+
{
|
|
25
|
+
"datasource": "PROMETHEUS",
|
|
26
|
+
"fieldConfig": {
|
|
27
|
+
"defaults": {
|
|
28
|
+
"color": {
|
|
29
|
+
"mode": "thresholds"
|
|
30
|
+
},
|
|
31
|
+
"mappings": [],
|
|
32
|
+
"thresholds": {
|
|
33
|
+
"mode": "absolute",
|
|
34
|
+
"steps": [
|
|
35
|
+
{
|
|
36
|
+
"color": "green",
|
|
37
|
+
"value": 0
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"color": "red",
|
|
41
|
+
"value": 80
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"unit": "currencyUSD"
|
|
46
|
+
},
|
|
47
|
+
"overrides": []
|
|
48
|
+
},
|
|
49
|
+
"gridPos": {
|
|
50
|
+
"h": 3,
|
|
51
|
+
"w": 18,
|
|
52
|
+
"x": 0,
|
|
53
|
+
"y": 0
|
|
54
|
+
},
|
|
55
|
+
"id": 3,
|
|
56
|
+
"options": {
|
|
57
|
+
"colorMode": "value",
|
|
58
|
+
"graphMode": "area",
|
|
59
|
+
"justifyMode": "auto",
|
|
60
|
+
"orientation": "auto",
|
|
61
|
+
"percentChangeColorMode": "standard",
|
|
62
|
+
"reduceOptions": {
|
|
63
|
+
"calcs": [
|
|
64
|
+
"last"
|
|
65
|
+
],
|
|
66
|
+
"fields": "",
|
|
67
|
+
"values": false
|
|
68
|
+
},
|
|
69
|
+
"showPercentChange": false,
|
|
70
|
+
"textMode": "auto",
|
|
71
|
+
"wideLayout": true
|
|
72
|
+
},
|
|
73
|
+
"pluginVersion": "12.2.0",
|
|
74
|
+
"targets": [
|
|
75
|
+
{
|
|
76
|
+
"datasource": "PROMETHEUS",
|
|
77
|
+
"editorMode": "code",
|
|
78
|
+
"expr": "sum(treasury_assets{param=\"usd value\"}<500_000_000)",
|
|
79
|
+
"format": "table",
|
|
80
|
+
"instant": false,
|
|
81
|
+
"legendFormat": "__auto",
|
|
82
|
+
"range": true,
|
|
83
|
+
"refId": "A"
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"title": "Total Balance (dont trust this yet)",
|
|
87
|
+
"transformations": [
|
|
88
|
+
{
|
|
89
|
+
"id": "reduce",
|
|
90
|
+
"options": {
|
|
91
|
+
"includeTimeField": false,
|
|
92
|
+
"mode": "reduceFields",
|
|
93
|
+
"reducers": [
|
|
94
|
+
"last"
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"type": "stat"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"datasource": "PROMETHEUS",
|
|
103
|
+
"fieldConfig": {
|
|
104
|
+
"defaults": {
|
|
105
|
+
"color": {
|
|
106
|
+
"mode": "thresholds"
|
|
107
|
+
},
|
|
108
|
+
"custom": {
|
|
109
|
+
"align": "auto",
|
|
110
|
+
"cellOptions": {
|
|
111
|
+
"type": "auto"
|
|
112
|
+
},
|
|
113
|
+
"footer": {
|
|
114
|
+
"reducers": []
|
|
115
|
+
},
|
|
116
|
+
"hideFrom": {
|
|
117
|
+
"viz": false
|
|
118
|
+
},
|
|
119
|
+
"inspect": false
|
|
120
|
+
},
|
|
121
|
+
"mappings": [],
|
|
122
|
+
"thresholds": {
|
|
123
|
+
"mode": "absolute",
|
|
124
|
+
"steps": [
|
|
125
|
+
{
|
|
126
|
+
"color": "green",
|
|
127
|
+
"value": 0
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"color": "red",
|
|
131
|
+
"value": 80
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"overrides": []
|
|
137
|
+
},
|
|
138
|
+
"gridPos": {
|
|
139
|
+
"h": 3,
|
|
140
|
+
"w": 6,
|
|
141
|
+
"x": 18,
|
|
142
|
+
"y": 0
|
|
143
|
+
},
|
|
144
|
+
"id": 2,
|
|
145
|
+
"options": {
|
|
146
|
+
"cellHeight": "sm",
|
|
147
|
+
"showHeader": true
|
|
148
|
+
},
|
|
149
|
+
"pluginVersion": "12.2.0",
|
|
150
|
+
"targets": [
|
|
151
|
+
{
|
|
152
|
+
"datasource": "PROMETHEUS",
|
|
153
|
+
"editorMode": "code",
|
|
154
|
+
"expr": "sum(treasury_assets{param=\"usd value\"}<500_000_000)",
|
|
155
|
+
"format": "table",
|
|
156
|
+
"instant": false,
|
|
157
|
+
"legendFormat": "__auto",
|
|
158
|
+
"range": true,
|
|
159
|
+
"refId": "A"
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
"title": "Last Update",
|
|
163
|
+
"transformations": [
|
|
164
|
+
{
|
|
165
|
+
"id": "reduce",
|
|
166
|
+
"options": {
|
|
167
|
+
"includeTimeField": true,
|
|
168
|
+
"mode": "reduceFields",
|
|
169
|
+
"reducers": [
|
|
170
|
+
"last"
|
|
171
|
+
]
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"id": "filterFieldsByName",
|
|
176
|
+
"options": {
|
|
177
|
+
"byVariable": false,
|
|
178
|
+
"include": {
|
|
179
|
+
"names": [
|
|
180
|
+
"Time"
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"id": "renameByRegex",
|
|
187
|
+
"options": {
|
|
188
|
+
"regex": "Time",
|
|
189
|
+
"renamePattern": "The last snapshot was taken at:"
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
],
|
|
193
|
+
"type": "table"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"datasource": "PROMETHEUS",
|
|
197
|
+
"fieldConfig": {
|
|
198
|
+
"defaults": {
|
|
199
|
+
"color": {
|
|
200
|
+
"mode": "thresholds"
|
|
201
|
+
},
|
|
202
|
+
"custom": {
|
|
203
|
+
"align": "auto",
|
|
204
|
+
"cellOptions": {
|
|
205
|
+
"type": "auto"
|
|
206
|
+
},
|
|
207
|
+
"footer": {
|
|
208
|
+
"reducers": []
|
|
209
|
+
},
|
|
210
|
+
"inspect": false
|
|
211
|
+
},
|
|
212
|
+
"mappings": [],
|
|
213
|
+
"thresholds": {
|
|
214
|
+
"mode": "absolute",
|
|
215
|
+
"steps": [
|
|
216
|
+
{
|
|
217
|
+
"color": "green",
|
|
218
|
+
"value": 0
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"color": "red",
|
|
222
|
+
"value": 80
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
},
|
|
226
|
+
"unit": "currencyUSD"
|
|
227
|
+
},
|
|
228
|
+
"overrides": []
|
|
229
|
+
},
|
|
230
|
+
"gridPos": {
|
|
231
|
+
"h": 6,
|
|
232
|
+
"w": 24,
|
|
233
|
+
"x": 0,
|
|
234
|
+
"y": 3
|
|
235
|
+
},
|
|
236
|
+
"id": 1,
|
|
237
|
+
"options": {
|
|
238
|
+
"cellHeight": "sm",
|
|
239
|
+
"showHeader": true,
|
|
240
|
+
"sortBy": [
|
|
241
|
+
{
|
|
242
|
+
"desc": true,
|
|
243
|
+
"displayName": "Last Known Value USD"
|
|
244
|
+
}
|
|
245
|
+
]
|
|
246
|
+
},
|
|
247
|
+
"pluginVersion": "12.2.0",
|
|
248
|
+
"targets": [
|
|
249
|
+
{
|
|
250
|
+
"datasource": "PROMETHEUS",
|
|
251
|
+
"editorMode": "code",
|
|
252
|
+
"exemplar": false,
|
|
253
|
+
"expr": "sum(treasury_assets{param=\"usd value\"}<500_000_000) by (bucket)",
|
|
254
|
+
"format": "table",
|
|
255
|
+
"instant": false,
|
|
256
|
+
"interval": "",
|
|
257
|
+
"legendFormat": "__auto",
|
|
258
|
+
"range": true,
|
|
259
|
+
"refId": "A"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"datasource": "PROMETHEUS",
|
|
263
|
+
"editorMode": "code",
|
|
264
|
+
"expr": "sum(treasury_assets{param=\"value\"}<500_000_000) by (token, bucket)",
|
|
265
|
+
"hide": true,
|
|
266
|
+
"instant": false,
|
|
267
|
+
"legendFormat": "__auto",
|
|
268
|
+
"range": true,
|
|
269
|
+
"refId": "B"
|
|
270
|
+
}
|
|
271
|
+
],
|
|
272
|
+
"title": "Current Asset Summary",
|
|
273
|
+
"transformations": [
|
|
274
|
+
{
|
|
275
|
+
"id": "groupBy",
|
|
276
|
+
"options": {
|
|
277
|
+
"fields": {
|
|
278
|
+
"BTC": {
|
|
279
|
+
"aggregations": []
|
|
280
|
+
},
|
|
281
|
+
"Cash & cash equivalents": {
|
|
282
|
+
"aggregations": []
|
|
283
|
+
},
|
|
284
|
+
"ETH": {
|
|
285
|
+
"aggregations": []
|
|
286
|
+
},
|
|
287
|
+
"Other short term assets": {
|
|
288
|
+
"aggregations": []
|
|
289
|
+
},
|
|
290
|
+
"Time": {
|
|
291
|
+
"aggregations": [
|
|
292
|
+
"last"
|
|
293
|
+
],
|
|
294
|
+
"operation": "aggregate"
|
|
295
|
+
},
|
|
296
|
+
"Value": {
|
|
297
|
+
"aggregations": [
|
|
298
|
+
"last"
|
|
299
|
+
],
|
|
300
|
+
"operation": "aggregate"
|
|
301
|
+
},
|
|
302
|
+
"bucket": {
|
|
303
|
+
"aggregations": [],
|
|
304
|
+
"operation": "groupby"
|
|
305
|
+
},
|
|
306
|
+
"token": {
|
|
307
|
+
"aggregations": [],
|
|
308
|
+
"operation": "groupby"
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"disabled": true,
|
|
315
|
+
"id": "filterFieldsByName",
|
|
316
|
+
"options": {
|
|
317
|
+
"include": {
|
|
318
|
+
"names": [
|
|
319
|
+
"bucket",
|
|
320
|
+
"token",
|
|
321
|
+
"Value (last)"
|
|
322
|
+
]
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"id": "organize",
|
|
328
|
+
"options": {
|
|
329
|
+
"excludeByName": {},
|
|
330
|
+
"includeByName": {},
|
|
331
|
+
"indexByName": {
|
|
332
|
+
"Time (last)": 3,
|
|
333
|
+
"Value (last)": 2,
|
|
334
|
+
"bucket": 0,
|
|
335
|
+
"token": 1
|
|
336
|
+
},
|
|
337
|
+
"renameByName": {
|
|
338
|
+
"Time (last)": "Last Seen",
|
|
339
|
+
"Value (last)": "Last Known Value USD",
|
|
340
|
+
"bucket": "Bucket",
|
|
341
|
+
"token": "Token"
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
],
|
|
346
|
+
"type": "table"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"datasource": "PROMETHEUS",
|
|
350
|
+
"fieldConfig": {
|
|
351
|
+
"defaults": {
|
|
352
|
+
"color": {
|
|
353
|
+
"mode": "thresholds"
|
|
354
|
+
},
|
|
355
|
+
"custom": {
|
|
356
|
+
"align": "auto",
|
|
357
|
+
"cellOptions": {
|
|
358
|
+
"type": "auto"
|
|
359
|
+
},
|
|
360
|
+
"footer": {
|
|
361
|
+
"reducers": []
|
|
362
|
+
},
|
|
363
|
+
"inspect": false
|
|
364
|
+
},
|
|
365
|
+
"mappings": [],
|
|
366
|
+
"thresholds": {
|
|
367
|
+
"mode": "absolute",
|
|
368
|
+
"steps": [
|
|
369
|
+
{
|
|
370
|
+
"color": "green",
|
|
371
|
+
"value": 0
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"color": "red",
|
|
375
|
+
"value": 80
|
|
376
|
+
}
|
|
377
|
+
]
|
|
378
|
+
},
|
|
379
|
+
"unit": "currencyUSD"
|
|
380
|
+
},
|
|
381
|
+
"overrides": []
|
|
382
|
+
},
|
|
383
|
+
"gridPos": {
|
|
384
|
+
"h": 13,
|
|
385
|
+
"w": 24,
|
|
386
|
+
"x": 0,
|
|
387
|
+
"y": 9
|
|
388
|
+
},
|
|
389
|
+
"id": 4,
|
|
390
|
+
"options": {
|
|
391
|
+
"cellHeight": "sm",
|
|
392
|
+
"showHeader": true,
|
|
393
|
+
"sortBy": [
|
|
394
|
+
{
|
|
395
|
+
"desc": true,
|
|
396
|
+
"displayName": "Last Known Value USD"
|
|
397
|
+
}
|
|
398
|
+
]
|
|
399
|
+
},
|
|
400
|
+
"pluginVersion": "12.2.0",
|
|
401
|
+
"targets": [
|
|
402
|
+
{
|
|
403
|
+
"datasource": "PROMETHEUS",
|
|
404
|
+
"editorMode": "code",
|
|
405
|
+
"exemplar": false,
|
|
406
|
+
"expr": "sum(treasury_assets{param=\"usd value\"}<500_000_000) by (token, bucket)",
|
|
407
|
+
"format": "table",
|
|
408
|
+
"instant": false,
|
|
409
|
+
"interval": "",
|
|
410
|
+
"legendFormat": "__auto",
|
|
411
|
+
"range": true,
|
|
412
|
+
"refId": "A"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"datasource": "PROMETHEUS",
|
|
416
|
+
"editorMode": "code",
|
|
417
|
+
"expr": "sum(treasury_assets{param=\"value\"}<500_000_000) by (token, bucket)",
|
|
418
|
+
"hide": true,
|
|
419
|
+
"instant": false,
|
|
420
|
+
"legendFormat": "__auto",
|
|
421
|
+
"range": true,
|
|
422
|
+
"refId": "B"
|
|
423
|
+
}
|
|
424
|
+
],
|
|
425
|
+
"title": "Asset Breakdown",
|
|
426
|
+
"transformations": [
|
|
427
|
+
{
|
|
428
|
+
"id": "groupBy",
|
|
429
|
+
"options": {
|
|
430
|
+
"fields": {
|
|
431
|
+
"BTC": {
|
|
432
|
+
"aggregations": []
|
|
433
|
+
},
|
|
434
|
+
"Cash & cash equivalents": {
|
|
435
|
+
"aggregations": []
|
|
436
|
+
},
|
|
437
|
+
"ETH": {
|
|
438
|
+
"aggregations": []
|
|
439
|
+
},
|
|
440
|
+
"Other short term assets": {
|
|
441
|
+
"aggregations": []
|
|
442
|
+
},
|
|
443
|
+
"Time": {
|
|
444
|
+
"aggregations": [
|
|
445
|
+
"last"
|
|
446
|
+
],
|
|
447
|
+
"operation": "aggregate"
|
|
448
|
+
},
|
|
449
|
+
"Value": {
|
|
450
|
+
"aggregations": [
|
|
451
|
+
"last"
|
|
452
|
+
],
|
|
453
|
+
"operation": "aggregate"
|
|
454
|
+
},
|
|
455
|
+
"bucket": {
|
|
456
|
+
"aggregations": [],
|
|
457
|
+
"operation": "groupby"
|
|
458
|
+
},
|
|
459
|
+
"token": {
|
|
460
|
+
"aggregations": [],
|
|
461
|
+
"operation": "groupby"
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"disabled": true,
|
|
468
|
+
"id": "filterFieldsByName",
|
|
469
|
+
"options": {
|
|
470
|
+
"include": {
|
|
471
|
+
"names": [
|
|
472
|
+
"bucket",
|
|
473
|
+
"token",
|
|
474
|
+
"Value (last)"
|
|
475
|
+
]
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"id": "organize",
|
|
481
|
+
"options": {
|
|
482
|
+
"excludeByName": {},
|
|
483
|
+
"includeByName": {},
|
|
484
|
+
"indexByName": {
|
|
485
|
+
"Time (last)": 3,
|
|
486
|
+
"Value (last)": 2,
|
|
487
|
+
"bucket": 0,
|
|
488
|
+
"token": 1
|
|
489
|
+
},
|
|
490
|
+
"renameByName": {
|
|
491
|
+
"Time (last)": "Last Seen",
|
|
492
|
+
"Value (last)": "Last Known Value USD",
|
|
493
|
+
"bucket": "Bucket",
|
|
494
|
+
"token": "Token"
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
],
|
|
499
|
+
"type": "table"
|
|
500
|
+
}
|
|
501
|
+
],
|
|
502
|
+
"preload": false,
|
|
503
|
+
"schemaVersion": 42,
|
|
504
|
+
"tags": [],
|
|
505
|
+
"templating": {
|
|
506
|
+
"list": []
|
|
507
|
+
},
|
|
508
|
+
"time": {
|
|
509
|
+
"from": "now-7d",
|
|
510
|
+
"to": "now"
|
|
511
|
+
},
|
|
512
|
+
"timepicker": {},
|
|
513
|
+
"timezone": "browser",
|
|
514
|
+
"title": "Current Treasury Assets",
|
|
515
|
+
"uid": "ad47zqk",
|
|
516
|
+
"version": 1
|
|
517
|
+
}
|
|
@@ -2992,8 +2992,8 @@
|
|
|
2992
2992
|
},
|
|
2993
2993
|
"timepicker": {},
|
|
2994
2994
|
"timezone": "",
|
|
2995
|
-
"title": "Treasury Balances",
|
|
2995
|
+
"title": "Historical Treasury Balances",
|
|
2996
2996
|
"description": "Displays real-time balances of the DAO's treasury assets, including YFI, ETH, BTC, \"cash\" (stablecoins), and other assets, as well as liabilities and debt. Useful for monitoring the DAO's current financial position and asset allocation.",
|
|
2997
2997
|
"uid": "9_ppKhd7z",
|
|
2998
|
-
"version":
|
|
2999
|
-
}
|
|
2998
|
+
"version": 5
|
|
2999
|
+
}
|
|
@@ -28,8 +28,9 @@ dao_treasury/.grafana/provisioning/dashboards/summary/Monthly.json
|
|
|
28
28
|
dao_treasury/.grafana/provisioning/dashboards/transactions/Treasury Transactions.json
|
|
29
29
|
dao_treasury/.grafana/provisioning/dashboards/treasury/Cashflow (Including Unsorted).json
|
|
30
30
|
dao_treasury/.grafana/provisioning/dashboards/treasury/Cashflow.json
|
|
31
|
+
dao_treasury/.grafana/provisioning/dashboards/treasury/Current Treasury Assets.json
|
|
32
|
+
dao_treasury/.grafana/provisioning/dashboards/treasury/Historical Treasury Balances.json
|
|
31
33
|
dao_treasury/.grafana/provisioning/dashboards/treasury/Operating Cashflow.json
|
|
32
|
-
dao_treasury/.grafana/provisioning/dashboards/treasury/Treasury.json
|
|
33
34
|
dao_treasury/.grafana/provisioning/datasources/datasources.yaml
|
|
34
35
|
dao_treasury/sorting/__init__.py
|
|
35
36
|
dao_treasury/sorting/_matchers.py
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|