dao-treasury 0.0.57__cp310-cp310-win_amd64.whl → 0.0.58__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.

Potentially problematic release.


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

@@ -74,9 +74,9 @@
74
74
  "targets": [
75
75
  {
76
76
  "datasource": "SQLite",
77
- "queryText": "SELECT SUM(t.value_usd) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) WHERE gh.top_category in ('Cost of Revenue', 'Expenses', 'Other Expense') AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000",
77
+ "queryText": "SELECT SUM(t.value_usd) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) inner join txgroups g USING (txgroup_id) WHERE gh.top_category in ('Cost of Revenue', 'Expenses', 'Other Expense') AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 AND ('$Txgroup' like '{%' or g.name = '$Txgroup')",
78
78
  "queryType": "table",
79
- "rawQueryText": "SELECT SUM(t.value_usd) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) WHERE gh.top_category in ('Cost of Revenue', 'Expenses', 'Other Expense') AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000",
79
+ "rawQueryText": "SELECT SUM(t.value_usd) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) inner join txgroups g USING (txgroup_id) WHERE gh.top_category in ('Cost of Revenue', 'Expenses', 'Other Expense') AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 AND ('$Txgroup' like '{%' or g.name = '$Txgroup')",
80
80
  "refId": "A",
81
81
  "timeColumns": [
82
82
  "time",
@@ -139,9 +139,9 @@
139
139
  "targets": [
140
140
  {
141
141
  "datasource": "SQLite",
142
- "queryText": "SELECT SUM(t.value_usd) / (((1760217520685 - 1744406320685) / 1000.0 / 60 / 60 / 24 / 30.436875)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) WHERE gh.top_category in ('Cost of Revenue', 'Expenses', 'Other Expense') AND t.timestamp >= 1744406320685/1000 AND t.timestamp <= 1760217520685/1000",
142
+ "queryText": "SELECT SUM(t.value_usd) / (((1760217520685 - 1744406320685) / 1000.0 / 60 / 60 / 24 / 30.436875)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) inner join txgroups g USING (txgroup_id) WHERE gh.top_category in ('Cost of Revenue', 'Expenses', 'Other Expense') AND t.timestamp >= 1744406320685/1000 AND t.timestamp <= 1760217520685/1000 AND ('$Txgroup' like '{%' or g.name = '$Txgroup')",
143
143
  "queryType": "table",
144
- "rawQueryText": "SELECT SUM(t.value_usd) / ((($__to - $__from) / 1000.0 / 60 / 60 / 24 / 30.436875)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) WHERE gh.top_category in ('Cost of Revenue', 'Expenses', 'Other Expense') AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000",
144
+ "rawQueryText": "SELECT SUM(t.value_usd) / ((($__to - $__from) / 1000.0 / 60 / 60 / 24 / 30.436875)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) inner join txgroups g USING (txgroup_id) WHERE gh.top_category in ('Cost of Revenue', 'Expenses', 'Other Expense') AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 AND ('$Txgroup' like '{%' or g.name = '$Txgroup')",
145
145
  "refId": "A",
146
146
  "timeColumns": [
147
147
  "time",
@@ -204,9 +204,9 @@
204
204
  "targets": [
205
205
  {
206
206
  "datasource": "SQLite",
207
- "queryText": "SELECT SUM(t.value_usd) / ((($__to - $__from) / 1000.0 / 60 / 60 / 24 / 7)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) WHERE gh.top_category in ('Cost of Revenue', 'Expenses', 'Other Expense') AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000",
207
+ "queryText": "SELECT SUM(t.value_usd) / ((($__to - $__from) / 1000.0 / 60 / 60 / 24 / 7)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) inner join txgroups g USING (txgroup_id) WHERE gh.top_category in ('Cost of Revenue', 'Expenses', 'Other Expense') AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 AND ('$Txgroup' like '{%' or g.name = '$Txgroup')",
208
208
  "queryType": "table",
209
- "rawQueryText": "SELECT SUM(t.value_usd) / ((($__to - $__from) / 1000.0 / 60 / 60 / 24 / 7)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) WHERE gh.top_category in ('Cost of Revenue', 'Expenses', 'Other Expense') AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000",
209
+ "rawQueryText": "SELECT SUM(t.value_usd) / ((($__to - $__from) / 1000.0 / 60 / 60 / 24 / 7)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) inner join txgroups g USING (txgroup_id) WHERE gh.top_category in ('Cost of Revenue', 'Expenses', 'Other Expense') AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 AND ('$Txgroup' like '{%' or g.name = '$Txgroup')",
210
210
  "refId": "A",
211
211
  "timeColumns": [
212
212
  "time",
@@ -269,9 +269,9 @@
269
269
  "targets": [
270
270
  {
271
271
  "datasource": "SQLite",
272
- "queryText": "SELECT SUM(t.value_usd) / ((($__to - $__from) / 1000.0 / 60 / 60 / 24)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) WHERE gh.top_category in ('Cost of Revenue', 'Expenses', 'Other Expense') AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000",
272
+ "queryText": "SELECT SUM(t.value_usd) / ((($__to - $__from) / 1000.0 / 60 / 60 / 24)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) inner join txgroups g USING (txgroup_id) WHERE gh.top_category in ('Cost of Revenue', 'Expenses', 'Other Expense') AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 AND ('$Txgroup' like '{%' or g.name = '$Txgroup')",
273
273
  "queryType": "table",
274
- "rawQueryText": "SELECT SUM(t.value_usd) / ((($__to - $__from) / 1000.0 / 60 / 60 / 24)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) WHERE gh.top_category in ('Cost of Revenue', 'Expenses', 'Other Expense') AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000",
274
+ "rawQueryText": "SELECT SUM(t.value_usd) / ((($__to - $__from) / 1000.0 / 60 / 60 / 24)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) inner join txgroups g USING (txgroup_id) WHERE gh.top_category in ('Cost of Revenue', 'Expenses', 'Other Expense') AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 AND ('$Txgroup' like '{%' or g.name = '$Txgroup')",
275
275
  "refId": "A",
276
276
  "timeColumns": [
277
277
  "time",
@@ -389,9 +389,9 @@
389
389
  "targets": [
390
390
  {
391
391
  "datasource": "SQLite",
392
- "queryText": "SELECT t.timestamp, SUM(CASE WHEN gh.top_category in ('Cost of Revenue', 'Expenses', 'Other Expense') THEN t.value_usd ELSE 0 END) AS \"Total Expenses\" FROM general_ledger AS t JOIN txgroup_hierarchy gh ON t.txgroup_id = gh.txgroup_id WHERE t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 GROUP BY timestamp ORDER BY timestamp;",
392
+ "queryText": "SELECT t.timestamp, SUM(CASE WHEN gh.top_category in ('Cost of Revenue', 'Expenses', 'Other Expense') THEN t.value_usd ELSE 0 END) AS \"Total Expenses\" FROM general_ledger AS t JOIN txgroup_hierarchy gh ON t.txgroup_id = gh.txgroup_id INNER JOIN txgroups g USING (txgroup_id) WHERE t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 AND ('$Txgroup' like '{%' or g.name = '$Txgroup') GROUP BY timestamp ORDER BY timestamp;",
393
393
  "queryType": "table",
394
- "rawQueryText": "SELECT t.timestamp, SUM(CASE WHEN gh.top_category in ('Cost of Revenue', 'Expenses', 'Other Expense') THEN t.value_usd ELSE 0 END) AS \"Total Expenses\" FROM general_ledger AS t JOIN txgroup_hierarchy gh ON t.txgroup_id = gh.txgroup_id WHERE t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 GROUP BY timestamp ORDER BY timestamp;",
394
+ "rawQueryText": "SELECT t.timestamp, SUM(CASE WHEN gh.top_category in ('Cost of Revenue', 'Expenses', 'Other Expense') THEN t.value_usd ELSE 0 END) AS \"Total Expenses\" FROM general_ledger AS t JOIN txgroup_hierarchy gh ON t.txgroup_id = gh.txgroup_id INNER JOIN txgroups g USING (txgroup_id) WHERE t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 AND ('$Txgroup' like '{%' or g.name = '$Txgroup') GROUP BY timestamp ORDER BY timestamp;",
395
395
  "refId": "A",
396
396
  "timeColumns": [
397
397
  "timestamp"
@@ -494,7 +494,25 @@
494
494
  "schemaVersion": 42,
495
495
  "tags": [],
496
496
  "templating": {
497
- "list": []
497
+ "list": [
498
+ {
499
+ "allowCustomValue": true,
500
+ "current": {
501
+ "text": "All",
502
+ "value": "$__all"
503
+ },
504
+ "definition": "SELECT DISTINCT t.name FROM treasury_txs a INNER JOIN txgroup_hierarchy gh ON a.txgroup_id = gh.txgroup_id LEFT JOIN txgroups t ON gh.txgroup_id = t.txgroup_id where gh.top_category = 'Revenue' or gh.top_category = 'Other Income';",
505
+ "description": "",
506
+ "includeAll": true,
507
+ "name": "Txgroup",
508
+ "options": [],
509
+ "query": "SELECT DISTINCT t.name FROM treasury_txs a INNER JOIN txgroup_hierarchy gh ON a.txgroup_id = gh.txgroup_id LEFT JOIN txgroups t ON gh.txgroup_id = t.txgroup_id where gh.top_category = 'Revenue' or gh.top_category = 'Other Income';",
510
+ "refresh": 2,
511
+ "regex": "",
512
+ "sort": 5,
513
+ "type": "query"
514
+ }
515
+ ]
498
516
  },
499
517
  "time": {
500
518
  "from": "now-6M",
@@ -503,5 +521,6 @@
503
521
  "timepicker": {},
504
522
  "timezone": "",
505
523
  "title": "Expenses Over Time",
506
- "version": 1
524
+ "uid": "62bccd38-918c-4395-9180-8f7f911e9ddf",
525
+ "version": 2
507
526
  }
@@ -19,7 +19,7 @@
19
19
  "editable": true,
20
20
  "fiscalYearStartMonth": 0,
21
21
  "graphTooltip": 1,
22
- "id": 5,
22
+ "id": 15,
23
23
  "links": [],
24
24
  "panels": [
25
25
  {
@@ -74,9 +74,9 @@
74
74
  "targets": [
75
75
  {
76
76
  "datasource": "SQLite",
77
- "queryText": "SELECT SUM(t.value_usd) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) WHERE gh.top_category = 'Revenue' AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000",
77
+ "queryText": "SELECT SUM(t.value_usd) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) inner join txgroups t USING (txgroup_id) WHERE gh.top_category = 'Revenue' AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 AND ('$Txgroup' like '{%' or t.name = '$Txgroup')",
78
78
  "queryType": "table",
79
- "rawQueryText": "SELECT SUM(t.value_usd) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) WHERE gh.top_category = 'Revenue' AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000",
79
+ "rawQueryText": "SELECT SUM(t.value_usd) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) inner join txgroups t USING (txgroup_id) WHERE gh.top_category = 'Revenue' AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 AND ('$Txgroup' like '{%' or t.name = '$Txgroup')",
80
80
  "refId": "A",
81
81
  "timeColumns": [
82
82
  "time",
@@ -139,9 +139,9 @@
139
139
  "targets": [
140
140
  {
141
141
  "datasource": "SQLite",
142
- "queryText": "SELECT SUM(t.value_usd) / (((1760217520685 - 1744406320685) / 1000.0 / 60 / 60 / 24 / 30.436875)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) WHERE gh.top_category = 'Revenue' AND t.timestamp >= 1744406320685/1000 AND t.timestamp <= 1760217520685/1000",
142
+ "queryText": "SELECT SUM(t.value_usd) / ((($__to - $__from) / 1000.0 / 60 / 60 / 24 / 30.436875)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) INNER JOIN txgroups t USING (txgroup_id) WHERE gh.top_category = 'Revenue' AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 AND ('$Txgroup' like '{%' or t.name = '$Txgroup')",
143
143
  "queryType": "table",
144
- "rawQueryText": "SELECT SUM(t.value_usd) / ((($__to - $__from) / 1000.0 / 60 / 60 / 24 / 30.436875)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) WHERE gh.top_category = 'Revenue' AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000",
144
+ "rawQueryText": "SELECT SUM(t.value_usd) / ((($__to - $__from) / 1000.0 / 60 / 60 / 24 / 30.436875)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) INNER JOIN txgroups t USING (txgroup_id) WHERE gh.top_category = 'Revenue' AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 AND ('$Txgroup' like '{%' or t.name = '$Txgroup')",
145
145
  "refId": "A",
146
146
  "timeColumns": [
147
147
  "time",
@@ -204,9 +204,9 @@
204
204
  "targets": [
205
205
  {
206
206
  "datasource": "SQLite",
207
- "queryText": "SELECT SUM(t.value_usd) / ((($__to - $__from) / 1000.0 / 60 / 60 / 24 / 7)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) WHERE gh.top_category = 'Revenue' AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000",
207
+ "queryText": "SELECT SUM(t.value_usd) / ((($__to - $__from) / 1000.0 / 60 / 60 / 24 / 7)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) INNER JOIN txgroups t USING (txgroup_id) WHERE gh.top_category = 'Revenue' AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 AND ('$Txgroup' like '{%' or t.name = '$Txgroup')",
208
208
  "queryType": "table",
209
- "rawQueryText": "SELECT SUM(t.value_usd) / ((($__to - $__from) / 1000.0 / 60 / 60 / 24 / 7)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) WHERE gh.top_category = 'Revenue' AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000",
209
+ "rawQueryText": "SELECT SUM(t.value_usd) / ((($__to - $__from) / 1000.0 / 60 / 60 / 24 / 7)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) INNER JOIN txgroups t USING (txgroup_id) WHERE gh.top_category = 'Revenue' AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 AND ('$Txgroup' like '{%' or t.name = '$Txgroup')",
210
210
  "refId": "A",
211
211
  "timeColumns": [
212
212
  "time",
@@ -269,9 +269,9 @@
269
269
  "targets": [
270
270
  {
271
271
  "datasource": "SQLite",
272
- "queryText": "SELECT SUM(t.value_usd) / ((($__to - $__from) / 1000.0 / 60 / 60 / 24)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) WHERE gh.top_category = 'Revenue' AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000",
272
+ "queryText": "SELECT SUM(t.value_usd) / ((($__to - $__from) / 1000.0 / 60 / 60 / 24)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) INNER JOIN txgroups t USING (txgroup_id) WHERE gh.top_category = 'Revenue' AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 AND ('$Txgroup' like '{%' or t.name = '$Txgroup')",
273
273
  "queryType": "table",
274
- "rawQueryText": "SELECT SUM(t.value_usd) / ((($__to - $__from) / 1000.0 / 60 / 60 / 24)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) WHERE gh.top_category = 'Revenue' AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000",
274
+ "rawQueryText": "SELECT SUM(t.value_usd) / ((($__to - $__from) / 1000.0 / 60 / 60 / 24)) AS total_revenue FROM general_ledger t JOIN txgroup_hierarchy gh USING (txgroup_id) INNER JOIN txgroups t USING (txgroup_id) WHERE gh.top_category = 'Revenue' AND t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 AND ('$Txgroup' like '{%' or t.name = '$Txgroup')",
275
275
  "refId": "A",
276
276
  "timeColumns": [
277
277
  "time",
@@ -389,9 +389,9 @@
389
389
  "targets": [
390
390
  {
391
391
  "datasource": "SQLite",
392
- "queryText": "SELECT t.timestamp, SUM(CASE WHEN gh.top_category in ('Revenue', 'Other Income') THEN t.value_usd ELSE 0 END) AS \"Total Revenue\" FROM general_ledger AS t JOIN txgroup_hierarchy gh ON t.txgroup_id = gh.txgroup_id WHERE t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 GROUP BY timestamp ORDER BY timestamp;",
392
+ "queryText": "SELECT t.timestamp, SUM(CASE WHEN gh.top_category in ('Revenue', 'Other Income') THEN t.value_usd ELSE 0 END) AS \"Total Revenue\" FROM general_ledger AS t JOIN txgroup_hierarchy gh ON t.txgroup_id = gh.txgroup_id INNER JOIN txgroups g USING (txgroup_id) WHERE t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 AND ('$Txgroup' like '{%' or g.name = '$Txgroup') GROUP BY timestamp ORDER BY timestamp;",
393
393
  "queryType": "table",
394
- "rawQueryText": "SELECT t.timestamp, SUM(CASE WHEN gh.top_category in ('Revenue', 'Other Income') THEN t.value_usd ELSE 0 END) AS \"Total Revenue\" FROM general_ledger AS t JOIN txgroup_hierarchy gh ON t.txgroup_id = gh.txgroup_id WHERE t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 GROUP BY timestamp ORDER BY timestamp;",
394
+ "rawQueryText": "SELECT t.timestamp, SUM(CASE WHEN gh.top_category in ('Revenue', 'Other Income') THEN t.value_usd ELSE 0 END) AS \"Total Revenue\" FROM general_ledger AS t JOIN txgroup_hierarchy gh ON t.txgroup_id = gh.txgroup_id INNER JOIN txgroups g USING (txgroup_id) WHERE t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000 AND ('$Txgroup' like '{%' or g.name = '$Txgroup') GROUP BY timestamp ORDER BY timestamp;",
395
395
  "refId": "A",
396
396
  "timeColumns": [
397
397
  "timestamp"
@@ -494,7 +494,25 @@
494
494
  "schemaVersion": 42,
495
495
  "tags": [],
496
496
  "templating": {
497
- "list": []
497
+ "list": [
498
+ {
499
+ "allowCustomValue": true,
500
+ "current": {
501
+ "text": "All",
502
+ "value": "$__all"
503
+ },
504
+ "definition": "SELECT DISTINCT t.name FROM treasury_txs a INNER JOIN txgroup_hierarchy gh ON a.txgroup_id = gh.txgroup_id LEFT JOIN txgroups t ON gh.txgroup_id = t.txgroup_id where gh.top_category = 'Revenue' or gh.top_category = 'Other Income';",
505
+ "description": "",
506
+ "includeAll": true,
507
+ "name": "Txgroup",
508
+ "options": [],
509
+ "query": "SELECT DISTINCT t.name FROM treasury_txs a INNER JOIN txgroup_hierarchy gh ON a.txgroup_id = gh.txgroup_id LEFT JOIN txgroups t ON gh.txgroup_id = t.txgroup_id where gh.top_category = 'Revenue' or gh.top_category = 'Other Income';",
510
+ "refresh": 2,
511
+ "regex": "",
512
+ "sort": 5,
513
+ "type": "query"
514
+ }
515
+ ]
498
516
  },
499
517
  "time": {
500
518
  "from": "now-6M",
@@ -503,5 +521,6 @@
503
521
  "timepicker": {},
504
522
  "timezone": "",
505
523
  "title": "Revenue Over Time",
506
- "version": 4
524
+ "uid": "5284bb56-b9fb-4f36-b971-eb125bfdac7d",
525
+ "version": 2
507
526
  }
Binary file
Binary file
Binary file
Binary file
dao_treasury/main.py CHANGED
@@ -100,8 +100,8 @@ parser.add_argument(
100
100
  parser.add_argument(
101
101
  "--concurrency",
102
102
  type=int,
103
- help="The max number of historical blocks to export concurrently. default: 50",
104
- default=50,
103
+ help="The max number of historical blocks to export concurrently. default: 30",
104
+ default=30,
105
105
  )
106
106
  parser.add_argument(
107
107
  "--daemon",
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dao_treasury
3
- Version: 0.0.57
3
+ Version: 0.0.58
4
4
  Summary: Produce comprehensive financial reports for your on-chain org
5
5
  Classifier: Development Status :: 3 - Alpha
6
6
  Classifier: Intended Audience :: Developers
@@ -66,6 +66,7 @@ poetry run dao-treasury run --wallet 0x123 --network mainnet --interval 12h
66
66
  **CLI Options:**
67
67
  - `--network`: The id of the brownie network the exporter will connect to (default: mainnet)
68
68
  - `--interval`: The time interval between each data snapshot (default: 12h)
69
+ - `--concurrency`: The max number of historical blocks to export concurrently. (default: 30)
69
70
  - `--daemon`: Run the export process in the background (default: False) (NOTE: currently unsupported)
70
71
  - `--grafana-port`: Set the port for the Grafana dashboard where you can view data (default: 3004)
71
72
  - `--renderer-port`: Set the port for the report rendering service (default: 8091)
@@ -1,24 +1,24 @@
1
- bf2b4fe1f86ad2ea158b__mypyc.cp310-win_amd64.pyd,sha256=INQ6i1420tb5XkUGJiC_HmHPdIa9WSisI3cc9O3FSfg,454656
1
+ dao_treasury__mypyc.cp310-win_amd64.pyd,sha256=dfm8ZAEP1iQC2zE--YI9Jd0qE6VNTnRycpdRj1_nwGA,454656
2
2
  dao_treasury/ENVIRONMENT_VARIABLES.py,sha256=LS_D4ALB3BO-vYKyh1tzRHi10QBE6f654Zy8pmJ_xPY,656
3
3
  dao_treasury/__init__.py,sha256=ai8iALE_Zv43O9cH1jkNJ39bzhr60kBDX6L7C4Nj9FA,1539
4
- dao_treasury/_docker.cp310-win_amd64.pyd,sha256=zqsu0ejH8esg-70F1JhCQ2K9Mda_vBhMniJPJygMYaQ,10752
4
+ dao_treasury/_docker.cp310-win_amd64.pyd,sha256=lWm-oSdemGnLwyLt-d5VgfMDtBAS_VjX7n0-DoG03us,10752
5
5
  dao_treasury/_docker.py,sha256=UFMN-TIBUQBheMIhIhSMhaq7UFgt6ubUcfzwPNap_6o,6098
6
- dao_treasury/_nicknames.cp310-win_amd64.pyd,sha256=9GFxg14OojHgXHAfdI-lbq-P7dBOSiUunHqRqx4hlxA,10752
6
+ dao_treasury/_nicknames.cp310-win_amd64.pyd,sha256=BS8R0JSxcKQp4HFu85KKmonHFxr73xdqrh8MdM-Df1A,10752
7
7
  dao_treasury/_nicknames.py,sha256=n8c-JZhORYymCMv6jsC96IthAzAhpslyEn-KCk_YiSM,1049
8
- dao_treasury/_wallet.cp310-win_amd64.pyd,sha256=-Ju-I593DfaHS24OcdOSUDHZzDQVNChXxeREO9iM0TA,10752
8
+ dao_treasury/_wallet.cp310-win_amd64.pyd,sha256=hxE0o_GWgF9YK-krn5KUTcGIquvqqMQT8p17gImU93Y,10752
9
9
  dao_treasury/_wallet.py,sha256=nHBAKFJstdKuYbvpskGVx2KU80YrZHGHsEh5V3TwIHs,10712
10
- dao_treasury/constants.cp310-win_amd64.pyd,sha256=7TIgqwl_ZjqbWKsEwBc2YuY_wRK1-TIKC4Gj-8vWRzI,10752
10
+ dao_treasury/constants.cp310-win_amd64.pyd,sha256=SzfDiUfEoSWRIhYhaujN1e3NSNSXIwtUbNTzdDHJBHc,10752
11
11
  dao_treasury/constants.py,sha256=-T0oPw7lC5YeaiplHAtYL-2ss7knvKrJKQ1LCc8kX8g,1483
12
12
  dao_treasury/db.py,sha256=GhWwFYgSgnySsOLARn1aRBoPoYKxGvY8pInBMeVtogc,50262
13
13
  dao_treasury/docker-compose.yaml,sha256=jt1RjPzR3unoBXiCq_2144t7cNXK6NwyiSjjcXbHnLU,1350
14
- dao_treasury/main.py,sha256=xiqXMvVylkF-r9EqArEW_sj2ltfj30VpnozgjIat2qk,8458
14
+ dao_treasury/main.py,sha256=w7VBmBwNBYjOkz2LpT4_9FZ1CI8AVcr4vyfr1wZVk5Q,8458
15
15
  dao_treasury/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  dao_treasury/treasury.py,sha256=wh4wESLbYSHjcfpa-sW5TIqa5pSC9Y_7Id8tzLzJLaw,7414
17
- dao_treasury/types.cp310-win_amd64.pyd,sha256=J-tVN_FBJAWIEYPBvVm_STpCLcRX9NFX9iSMyOD_hPY,10752
17
+ dao_treasury/types.cp310-win_amd64.pyd,sha256=7mh0pnsZUsR2V4nU6P5Ap59LdFl72mZzfqXzKjgGnVg,10752
18
18
  dao_treasury/types.py,sha256=KFz4WKPp4t_RBwIT6YGwOcgbzw8tdHIOcXTFsUA0pJA,3818
19
19
  dao_treasury/.grafana/provisioning/dashboards/dashboards.yaml,sha256=NfmmICGLVfIrI8ulzUTUYc7wFetk2v-x6eaoYHnCvQc,1914
20
- dao_treasury/.grafana/provisioning/dashboards/breakdowns/Expenses.json,sha256=fdSAS_dusVSMgGX_SmZiGsh7FZaNt2HWIlu5ITboLKY,15063
21
- dao_treasury/.grafana/provisioning/dashboards/breakdowns/Revenue.json,sha256=oEPwD-od0YKj_-ZtU9QEHZCEhdrY-jZ8fZQrGzOPIAk,14694
20
+ dao_treasury/.grafana/provisioning/dashboards/breakdowns/Expenses.json,sha256=gxfPI4eO3PDPe70Yx7_dN0Yx5isvgy-MKe-fizBClMw,16879
21
+ dao_treasury/.grafana/provisioning/dashboards/breakdowns/Revenue.json,sha256=eowBLlWgL3bsE1B17oYZKA-N9woBT4lHlRrhdqSY5KA,16483
22
22
  dao_treasury/.grafana/provisioning/dashboards/streams/LlamaPay.json,sha256=zRSpnlDD3_fsynCDxfdV3HRjqWbeAqhad-YBe1rMQGo,7419
23
23
  dao_treasury/.grafana/provisioning/dashboards/summary/Monthly.json,sha256=eqOVxhBV3YYsGhEs2xvnuDU1VX_DdxDFn-XuXKJ3Tpc,6860
24
24
  dao_treasury/.grafana/provisioning/dashboards/transactions/Treasury Transactions.json,sha256=Ig_Z9gdAUnPb3OKZzkokoM9OmFsUiJRIcCTOMImJk-k,13133
@@ -28,27 +28,27 @@ dao_treasury/.grafana/provisioning/dashboards/treasury/Current Treasury Assets.j
28
28
  dao_treasury/.grafana/provisioning/dashboards/treasury/Historical Treasury Balances.json,sha256=7qVXn2PjeBIp2pFRbVfxA4PeWxhhVKQCr4qIPZoIj90,133963
29
29
  dao_treasury/.grafana/provisioning/dashboards/treasury/Operating Cashflow.json,sha256=fYkiZ37Eg2vu9dPJavCZXPPtX6-rTDbJwE_Ougpo2Mk,15828
30
30
  dao_treasury/.grafana/provisioning/datasources/datasources.yaml,sha256=gLmJsOkEXNzWRDibShfHFySWeuExW-dSB_U0OSfH868,344
31
- dao_treasury/sorting/__init__.cp310-win_amd64.pyd,sha256=PAEq1yooR-FRsLGM_mlLtYBDDg0Oh_ae9qbSvH3B_SU,10752
31
+ dao_treasury/sorting/__init__.cp310-win_amd64.pyd,sha256=uWXoVO79KHwjxHt1jMxqJPstleG_LFjwR3fsQ2weksY,10752
32
32
  dao_treasury/sorting/__init__.py,sha256=_uxM_FE1paM8oDAhDdHSyhDwnrlxCYX_lGn2DOqCaHU,10666
33
- dao_treasury/sorting/_matchers.cp310-win_amd64.pyd,sha256=NWZHgNmeQEC1sVkuCL3pZMa9PclySSV94W7sEyRTejY,10752
33
+ dao_treasury/sorting/_matchers.cp310-win_amd64.pyd,sha256=iIgtOS55-gwINLryGWe83dwwgrBJwIjuRbmQM7FFHGg,10752
34
34
  dao_treasury/sorting/_matchers.py,sha256=ACi6aXZCKW5OTiztsID7CXCGJounj5c6ivhOCg2436M,14392
35
- dao_treasury/sorting/_rules.cp310-win_amd64.pyd,sha256=RRi7IaMqdvm4OgBypLzQKfPnoEVb9FUVzlHZ-1swAcc,10752
35
+ dao_treasury/sorting/_rules.cp310-win_amd64.pyd,sha256=r4gvExsakYnf7KbAOno2InKUXOUQkzKMtmJZpIc61Pw,10752
36
36
  dao_treasury/sorting/_rules.py,sha256=DxhdUgpS0q0LWeLl9W1Bjn5LZz9z4OLA03vQllPMH9k,9229
37
- dao_treasury/sorting/factory.cp310-win_amd64.pyd,sha256=xLHdeF4HDBz3n-aojsxdqxz7yhR_j1V7lSzk-BUnHQg,10752
37
+ dao_treasury/sorting/factory.cp310-win_amd64.pyd,sha256=aIoT59wN6GlrBzcZB048FOxDitsq3iqPpyq_uMKsKtY,10752
38
38
  dao_treasury/sorting/factory.py,sha256=zlJ18xlMTxv8ACV6_MimCVIDsw3K5AZcyvKaNYY7R14,10484
39
- dao_treasury/sorting/rule.cp310-win_amd64.pyd,sha256=dai5GsgSff7MViEswwdKbx2cyY8BhPeAwBktXDX6FBA,10752
39
+ dao_treasury/sorting/rule.cp310-win_amd64.pyd,sha256=V6hUTSATMpR8W7KUrNFuuX2pBjIOtZ3wqcFkWbB-_uI,10752
40
40
  dao_treasury/sorting/rule.py,sha256=wbL8s0-6dxcCKghUtEDSkLDBnyvggsJ3gt_RawQ6kB4,11972
41
- dao_treasury/sorting/rules/__init__.cp310-win_amd64.pyd,sha256=lGYzl27gsqfx4gE_1dxYv0llBu808pj9adO3uZERnsg,10752
41
+ dao_treasury/sorting/rules/__init__.cp310-win_amd64.pyd,sha256=BaN2bA5Gis-QAgCzvHAt4nhZnEA5IPTJFTfR778pNcU,10752
42
42
  dao_treasury/sorting/rules/__init__.py,sha256=hcLfejOEwD8RaM2RE-38Ej6_WkvL9BVGvIIGY848E6E,49
43
- dao_treasury/sorting/rules/ignore/__init__.cp310-win_amd64.pyd,sha256=_HRs8pNWRaQR2yunZyY4quc6w09-YENbKJNXevoCaRE,10752
43
+ dao_treasury/sorting/rules/ignore/__init__.cp310-win_amd64.pyd,sha256=4vOi7YUAaFjUrcvzOR6WFqx9yHy4hvOfeTYWnPZJmjw,10752
44
44
  dao_treasury/sorting/rules/ignore/__init__.py,sha256=16THKoGdj6qfkkytuCFVG_R1M6KSErMI4AVE1p0ukS4,58
45
- dao_treasury/sorting/rules/ignore/llamapay.cp310-win_amd64.pyd,sha256=5T08um_nLfSnJOD7ps3iUn-9ylb1SIy0k93vJLejcic,10752
45
+ dao_treasury/sorting/rules/ignore/llamapay.cp310-win_amd64.pyd,sha256=5QGknCutv41IwzKUr3XKy9yE7gLc2iYfmBdWp_tIg5A,10752
46
46
  dao_treasury/sorting/rules/ignore/llamapay.py,sha256=aYyAJRlmv419IeaqkcV5o3ffx0UVfteU0lTl80j0BGo,783
47
- dao_treasury/streams/__init__.cp310-win_amd64.pyd,sha256=HEKGLJb81QRN6JuXs1-qRN6v9MXE0HENLs4Fmi_JI9U,10752
47
+ dao_treasury/streams/__init__.cp310-win_amd64.pyd,sha256=YSuUt3rQASOJ948GeudeEij5RdLMWwj27-mbFSW_j_k,10752
48
48
  dao_treasury/streams/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
49
- dao_treasury/streams/llamapay.cp310-win_amd64.pyd,sha256=oIxvLh0dfnCbDywUzbZpG1CG0vIDJBaWYGUlbZZSOSE,10752
49
+ dao_treasury/streams/llamapay.cp310-win_amd64.pyd,sha256=ebxIrYLEUo_woyunCLxWBAXFuZ5vr9IKNgn8r9fi6MA,10752
50
50
  dao_treasury/streams/llamapay.py,sha256=rO1Mh2ndTziR6pnRkKHnQ22a_Yx9PM_-BG7I4dspEZ8,13535
51
- dao_treasury-0.0.57.dist-info/METADATA,sha256=8AqQaCKQtFZH022oTxTT--Cghi72ur6VF3qOERYlg38,7148
52
- dao_treasury-0.0.57.dist-info/WHEEL,sha256=KUuBC6lxAbHCKilKua8R9W_TM71_-9Sg5uEP3uDWcoU,101
53
- dao_treasury-0.0.57.dist-info/top_level.txt,sha256=Gw-ri_26lZA_3hwhnOX48mffUbmBGr8NhtoQ0XoMeF8,41
54
- dao_treasury-0.0.57.dist-info/RECORD,,
51
+ dao_treasury-0.0.58.dist-info/METADATA,sha256=fdAHv_gbvBgjxYMzYLctnui3rGlXTlrcSWt1jMEdXjo,7242
52
+ dao_treasury-0.0.58.dist-info/WHEEL,sha256=KUuBC6lxAbHCKilKua8R9W_TM71_-9Sg5uEP3uDWcoU,101
53
+ dao_treasury-0.0.58.dist-info/top_level.txt,sha256=CV8aYytuSYplDhLVY4n0GphckdysXCd1lHmbqfsPxNk,33
54
+ dao_treasury-0.0.58.dist-info/RECORD,,
@@ -0,0 +1,2 @@
1
+ dao_treasury
2
+ dao_treasury__mypyc
@@ -1,2 +0,0 @@
1
- bf2b4fe1f86ad2ea158b__mypyc
2
- dao_treasury