dao-treasury 0.0.10__cp310-cp310-win32.whl → 0.0.70__cp310-cp310-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.
Files changed (58) hide show
  1. dao_treasury/.grafana/provisioning/dashboards/breakdowns/Expenses.json +551 -0
  2. dao_treasury/.grafana/provisioning/dashboards/breakdowns/Revenue.json +551 -0
  3. dao_treasury/.grafana/provisioning/dashboards/dashboards.yaml +7 -7
  4. dao_treasury/.grafana/provisioning/dashboards/streams/LlamaPay.json +220 -0
  5. dao_treasury/.grafana/provisioning/dashboards/summary/Monthly.json +153 -29
  6. dao_treasury/.grafana/provisioning/dashboards/transactions/Treasury Transactions.json +181 -29
  7. dao_treasury/.grafana/provisioning/dashboards/treasury/Cashflow (Including Unsorted).json +808 -0
  8. dao_treasury/.grafana/provisioning/dashboards/treasury/Cashflow.json +602 -0
  9. dao_treasury/.grafana/provisioning/dashboards/treasury/Current Treasury Assets.json +981 -0
  10. dao_treasury/.grafana/provisioning/dashboards/treasury/Historical Treasury Balances.json +2989 -0
  11. dao_treasury/.grafana/provisioning/dashboards/treasury/Operating Cashflow.json +478 -0
  12. dao_treasury/.grafana/provisioning/datasources/datasources.yaml +17 -0
  13. dao_treasury/ENVIRONMENT_VARIABLES.py +20 -0
  14. dao_treasury/__init__.py +36 -10
  15. dao_treasury/_docker.cp310-win32.pyd +0 -0
  16. dao_treasury/_docker.py +169 -37
  17. dao_treasury/_nicknames.cp310-win32.pyd +0 -0
  18. dao_treasury/_nicknames.py +32 -0
  19. dao_treasury/_wallet.cp310-win32.pyd +0 -0
  20. dao_treasury/_wallet.py +164 -12
  21. dao_treasury/constants.cp310-win32.pyd +0 -0
  22. dao_treasury/constants.py +39 -0
  23. dao_treasury/db.py +925 -150
  24. dao_treasury/docker-compose.yaml +6 -5
  25. dao_treasury/main.py +238 -28
  26. dao_treasury/sorting/__init__.cp310-win32.pyd +0 -0
  27. dao_treasury/sorting/__init__.py +219 -115
  28. dao_treasury/sorting/_matchers.cp310-win32.pyd +0 -0
  29. dao_treasury/sorting/_matchers.py +261 -17
  30. dao_treasury/sorting/_rules.cp310-win32.pyd +0 -0
  31. dao_treasury/sorting/_rules.py +166 -21
  32. dao_treasury/sorting/factory.cp310-win32.pyd +0 -0
  33. dao_treasury/sorting/factory.py +245 -37
  34. dao_treasury/sorting/rule.cp310-win32.pyd +0 -0
  35. dao_treasury/sorting/rule.py +228 -46
  36. dao_treasury/sorting/rules/__init__.cp310-win32.pyd +0 -0
  37. dao_treasury/sorting/rules/__init__.py +1 -0
  38. dao_treasury/sorting/rules/ignore/__init__.cp310-win32.pyd +0 -0
  39. dao_treasury/sorting/rules/ignore/__init__.py +1 -0
  40. dao_treasury/sorting/rules/ignore/llamapay.cp310-win32.pyd +0 -0
  41. dao_treasury/sorting/rules/ignore/llamapay.py +20 -0
  42. dao_treasury/streams/__init__.cp310-win32.pyd +0 -0
  43. dao_treasury/streams/__init__.py +0 -0
  44. dao_treasury/streams/llamapay.cp310-win32.pyd +0 -0
  45. dao_treasury/streams/llamapay.py +388 -0
  46. dao_treasury/treasury.py +118 -25
  47. dao_treasury/types.cp310-win32.pyd +0 -0
  48. dao_treasury/types.py +104 -7
  49. dao_treasury-0.0.70.dist-info/METADATA +134 -0
  50. dao_treasury-0.0.70.dist-info/RECORD +54 -0
  51. dao_treasury-0.0.70.dist-info/top_level.txt +2 -0
  52. dao_treasury__mypyc.cp310-win32.pyd +0 -0
  53. a743a720bbc4482d330e__mypyc.cp310-win32.pyd +0 -0
  54. dao_treasury/.grafana/provisioning/datasources/sqlite.yaml +0 -10
  55. dao_treasury-0.0.10.dist-info/METADATA +0 -36
  56. dao_treasury-0.0.10.dist-info/RECORD +0 -28
  57. dao_treasury-0.0.10.dist-info/top_level.txt +0 -2
  58. {dao_treasury-0.0.10.dist-info → dao_treasury-0.0.70.dist-info}/WHEEL +0 -0
dao_treasury/types.py CHANGED
@@ -5,26 +5,105 @@ from y import Network
5
5
  if TYPE_CHECKING:
6
6
  from dao_treasury.db import TreasuryTx
7
7
  from dao_treasury.sorting.rule import (
8
- CostOfRevenueSortRule,
9
- ExpenseSortRule,
10
- IgnoreSortRule,
11
- OtherExpenseSortRule,
12
- OtherIncomeSortRule,
8
+ CostOfRevenueSortRule,
9
+ ExpenseSortRule,
10
+ IgnoreSortRule,
11
+ OtherExpenseSortRule,
12
+ OtherIncomeSortRule,
13
13
  RevenueSortRule,
14
14
  )
15
15
 
16
16
 
17
17
  Networks = Union[Network, Iterable[Network]]
18
+ """Type alias for specifying one or more blockchain networks.
19
+
20
+ This can be a single :class:`~y.networks.Network` enum member or any iterable
21
+ of such members. It is used to restrict operations to specific networks when
22
+ configuring or querying treasury data.
23
+
24
+ Examples:
25
+ Specify a single network:
26
+ >>> net: Networks = Network.Mainnet
27
+
28
+ Specify multiple networks:
29
+ >>> nets: Networks = [Network.Mainnet, Network.Optimism]
30
+
31
+ See Also:
32
+ :class:`~y.networks.Network`
33
+ """
34
+
35
+
36
+ TopLevelCategory = Literal[
37
+ "Revenue",
38
+ "Cost of Revenue",
39
+ "Expenses",
40
+ "Other Income",
41
+ "Other Expenses",
42
+ "Ignore",
43
+ ]
44
+ """Literal type defining the allowed top‐level categories for treasury transactions.
45
+
46
+ Each transaction must be assigned to one of these categories in order to
47
+ generate financial reports.
48
+
49
+ Examples:
50
+ Grouping a transaction as revenue:
51
+ >>> cat: TopLevelCategory = "Revenue"
52
+
53
+ Ignoring a transaction:
54
+ >>> cat: TopLevelCategory = "Ignore"
55
+ """
18
56
 
19
- TopLevelCategory = Literal["Revenue", "Cost of Revenue", "Expenses", "Other Income", "Other Expenses", "Ignore"]
20
57
 
21
58
  TxGroupDbid = NewType("TxGroupDbid", int)
59
+ """NewType representing the primary key of a transaction group in the database.
60
+
61
+ This is the integer identifier returned by
62
+ :meth:`~dao_treasury.db.TxGroup.get_dbid`.
63
+
64
+ Examples:
65
+ Get the database ID for the "Expenses" group:
66
+ >>> dbid: TxGroupDbid = TxGroupDbid(3)
67
+ """
68
+
69
+
22
70
  TxGroupName = str
71
+ """Alias for the human‐readable name of a transaction group.
72
+
73
+ Names are passed to
74
+ :meth:`~dao_treasury.db.TxGroup.get_dbid`
75
+ to retrieve or create groups in the database.
76
+
77
+ Examples:
78
+ Creating or retrieving the "Other Income" group:
79
+ >>> name: TxGroupName = "Other Income"
80
+ >>> dbid = TxGroup.get_dbid(name)
81
+ """
82
+
23
83
 
24
84
  SortFunction = Union[
25
- Callable[["TreasuryTx"], bool],
85
+ Callable[["TreasuryTx"], bool],
26
86
  Callable[["TreasuryTx"], Awaitable[bool]],
27
87
  ]
88
+ """Type for a function or coroutine that determines if a transaction matches a rule.
89
+
90
+ A sorting function takes a single :class:`~dao_treasury.db.TreasuryTx`
91
+ instance and returns a boolean or an awaitable resolving to a boolean to
92
+ indicate whether the rule applies.
93
+
94
+ Examples:
95
+ Synchronous matcher:
96
+ >>> def is_large(tx: TreasuryTx) -> bool:
97
+ ... return tx.amount > 1000
98
+
99
+ Asynchronous matcher:
100
+ >>> async def has_tag(tx: TreasuryTx) -> bool:
101
+ ... return await some_external_check(tx.hash)
102
+
103
+ See Also:
104
+ :class:`~dao_treasury.sorting.rule._SortRule.match`
105
+ """
106
+
28
107
 
29
108
  SortRule = Union[
30
109
  "RevenueSortRule",
@@ -34,3 +113,21 @@ SortRule = Union[
34
113
  "OtherExpenseSortRule",
35
114
  "IgnoreSortRule",
36
115
  ]
116
+ """Union of all built‐in sort rule classes.
117
+
118
+ Each rule assigns transactions to a specific category by matching on
119
+ transaction attributes or by invoking a custom function.
120
+
121
+ Examples:
122
+ Define a list of available sort rules:
123
+ >>> from dao_treasury.sorting.rule import SORT_RULES
124
+ >>> rules: list[SortRule] = SORT_RULES
125
+
126
+ See Also:
127
+ :class:`~dao_treasury.sorting.rule.RevenueSortRule`
128
+ :class:`~dao_treasury.sorting.rule.ExpenseSortRule`
129
+ :class:`~dao_treasury.sorting.rule.IgnoreSortRule`
130
+ :class:`~dao_treasury.sorting.rule.CostOfRevenueSortRule`
131
+ :class:`~dao_treasury.sorting.rule.OtherIncomeSortRule`
132
+ :class:`~dao_treasury.sorting.rule.OtherExpenseSortRule`
133
+ """
@@ -0,0 +1,134 @@
1
+ Metadata-Version: 2.4
2
+ Name: dao_treasury
3
+ Version: 0.0.70
4
+ Summary: Produce comprehensive financial reports for your on-chain org
5
+ Classifier: Development Status :: 3 - Alpha
6
+ Classifier: Intended Audience :: Developers
7
+ Classifier: Intended Audience :: Science/Research
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.10
10
+ Classifier: Programming Language :: Python :: 3.11
11
+ Classifier: Programming Language :: Python :: 3.12
12
+ Classifier: Programming Language :: Python :: Implementation :: CPython
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Topic :: Software Development :: Libraries
15
+ Requires-Python: >=3.10,<3.13
16
+ Description-Content-Type: text/markdown
17
+ Requires-Dist: eth-portfolio-temp==0.3.1
18
+ Dynamic: classifier
19
+ Dynamic: description
20
+ Dynamic: description-content-type
21
+ Dynamic: requires-dist
22
+ Dynamic: requires-python
23
+ Dynamic: summary
24
+
25
+ DAO Treasury is a comprehensive financial reporting and treasury management solution designed specifically for decentralized organizations. Built as an extension to [eth-portfolio](https://github.com/BobTheBuidler/eth-portfolio)'s [Portfolio Exporter](https://bobthebuidler.github.io/eth-portfolio/exporter.html), DAO Treasury automates the collection and visualization of financial data, enabling organizations to monitor and report on treasury activities with clarity and transparency.
26
+
27
+ ## Key Features
28
+
29
+ - **Financial Reporting for DAOs:** Extends core portfolio functionalities to generate detailed reports tailored for on-chain organizations.
30
+ - **Dashboard Provisioning:** Utilizes [Grafana](https://grafana.com/) dashboards—defined in JSON files within the .grafana/provisioning directories—to offer real-time, dynamic visualizations of treasury data.
31
+ - **Automated Data Export:** Features a treasury export tool that, once configured (with a supported [brownie network](https://eth-brownie.readthedocs.io/en/stable/network-management.html) and [Docker](https://www.docker.com/get-started/)), continuously captures financial snapshots at set intervals.
32
+ - **Custom Buckets for Wallets:** Assign custom categories ("buckets") to specific wallet addresses for more granular reporting using the `--custom-bucket` CLI option.
33
+ - **Ease of Contribution:** Non-technical users can easily update or create dashboard visuals using Grafana’s intuitive UI. The [Contributing Guidelines](https://github.com/BobTheBuidler/dao-treasury/blob/master/CONTRIBUTING.md) document provides a step-by-step guide to defining new visuals and dashboards and integrating those changes into the repository, ensuring that anyone can contribute to the visual reporting aspect of the project.
34
+
35
+ ## Requirements
36
+ - Python 3.10 or higher.
37
+ - At least 16GB of RAM.
38
+ - All dependencies installed as specified in the project’s pyproject.toml file.
39
+
40
+ ## Prerequisites
41
+
42
+ - First, you will need to bring your own archive node. This can be one you run yourself, or one from one of the common providers (Tenderly, Alchemy, QuickNode, etc.). Your archive node must have tracing enabled (free-tier Alchemy nodes do not support this option).
43
+ - You must configure a [brownie network](https://eth-brownie.readthedocs.io/en/stable/network-management.html) to use your RPC.
44
+ - You will need an auth token for [Etherscan](https://etherscan.io/)'s API. Follow their [guide](https://docs.etherscan.io/etherscan-v2/getting-an-api-key) to get your key, and set env var `ETHERSCAN_TOKEN` with its value.
45
+ - You'll also need [Docker](https://www.docker.com/get-started/) installed on your system. If on MacOS, you will need to leave Docker Desktop open while DAO Treasury is running.
46
+
47
+ ## Installation
48
+
49
+ ```bash
50
+ pip install dao-treasury
51
+ ```
52
+
53
+ ## Usage
54
+
55
+ Run the treasury export tool:
56
+
57
+ ```bash
58
+ # For pip installations:
59
+ dao-treasury run --wallet 0x123 --network mainnet --interval 12h
60
+ ```
61
+
62
+ For local development (from source installation), use:
63
+ ```bash
64
+ poetry run dao-treasury run --wallet 0x123 --network mainnet --interval 12h
65
+ ```
66
+
67
+ **Assigning Custom Buckets to Wallets:**
68
+
69
+ You can assign custom categories ("buckets") to specific wallet addresses for more granular reporting. Use the `--custom-bucket` option one or more times, each with the format `address:bucket_name`:
70
+
71
+ ```bash
72
+ dao-treasury run --wallet 0x123 --network mainnet --custom-bucket "0x123:Operations" --custom-bucket "0x456:Grants" --custom-bucket "0x789:Investments"
73
+ ```
74
+
75
+ **CLI Options:**
76
+ > Only optional arguments are listed here. Required arguments (such as `--wallet` or `--wallets`) are shown in the usage examples above.
77
+
78
+ - `--network`: The id of the brownie network the exporter will connect to (default: mainnet)
79
+ - `--interval`: The time interval between each data snapshot (default: 12h)
80
+ - `--concurrency`: The max number of historical blocks to export concurrently. (default: 30)
81
+ - `--daemon`: Run the export process in the background (default: False) (NOTE: currently unsupported)
82
+ - `--sort-rules`: Directory containing sort rules definitions for transaction categorization.
83
+ - `--nicknames`: File containing address nicknames for reporting.
84
+ - `--grafana-port`: Set the port for the Grafana dashboard where you can view data (default: 3004)
85
+ - `--renderer-port`: Set the port for the report rendering service (default: 8091)
86
+ - `--victoria-port`: Set the port for the Victoria metrics reporting endpoint (default: 8430)
87
+ - `--start-renderer`: If set, both the Grafana and renderer containers will be started for dashboard image export. By default, only the grafana container is started.
88
+ - `--custom-bucket`: Assign a custom bucket/category to a wallet address for reporting. Specify as `address:bucket_name`. Can be used multiple times.
89
+
90
+ After running the command, the export script will run continuously until you close your terminal.
91
+ To view the dashboards, just open your browser and navigate to [http://localhost:3004](http://localhost:3004)!
92
+
93
+ ## Docker
94
+
95
+ When you run DAO Treasury, [eth-portfolio](https://github.com/BobTheBuidler/eth-portfolio) will build and start 4 [required Docker containers](https://bobthebuidler.github.io/eth-portfolio/exporter.html#docker-containers) on your system. Additionally, DAO Treasury will build and start 2 more required containers:
96
+
97
+ - **grafana**
98
+ - Provides a web-based dashboard for visualizing your treasury data.
99
+ - Pre-configured with dashboards and plugins for real-time monitoring.
100
+ - Uses persistent storage to retain dashboard settings and data.
101
+ - Accessible locally (default port `3004`, configurable via `--grafana-port`).
102
+ - Supports anonymous access for convenience.
103
+ - Integrates with the renderer container for dashboard image export.
104
+ - Loads dashboards and data sources automatically via provisioning files.
105
+
106
+ - **renderer**
107
+ - Runs the official Grafana image renderer service.
108
+ - Enables Grafana to export dashboards as images for reporting or sharing.
109
+ - Operates on port `8091` by default (configurable via `--renderer-port`).
110
+ - Tightly integrated with the Grafana container for seamless image rendering.
111
+ - **Note:** The renderer container is only started if you pass the `--start-renderer` CLI flag.
112
+
113
+ **How it works:**
114
+ 1. DAO Treasury collects and exports treasury data.
115
+ 2. Grafana displays this data in pre-built dashboards for analysis and reporting.
116
+ 3. The renderer container allows dashboards to be exported as images directly from Grafana (if enabled).
117
+
118
+ **Additional Information:**
119
+ - All containers are orchestrated via Docker Compose and started automatically as needed.
120
+ - Grafana provisioning ensures dashboards and data sources are set up out-of-the-box.
121
+ - All dashboard data and settings are persisted for durability.
122
+ - Dashboard images can be generated for reporting via the renderer (if enabled).
123
+
124
+ ## Screenshots
125
+
126
+ #### [DAO Transactions Dashboard](https://bobthebuidler.github.io/dao-treasury/transactions.html)
127
+
128
+ ![image](https://github.com/user-attachments/assets/64eb8947-bdd9-490e-a9ea-c9a8e4194df2)
129
+
130
+ ## Contributing
131
+
132
+ We welcome contributions to DAO Treasury! For detailed guidelines on how to contribute, please see the [Contributing Guidelines](https://github.com/BobTheBuidler/dao-treasury/blob/master/CONTRIBUTING.md).
133
+
134
+ Enjoy!
@@ -0,0 +1,54 @@
1
+ dao_treasury__mypyc.cp310-win32.pyd,sha256=4C-azMTuC8iUJ6EOP9OtfTPHdW_yr108bBUFmi_9R98,394752
2
+ dao_treasury/ENVIRONMENT_VARIABLES.py,sha256=LS_D4ALB3BO-vYKyh1tzRHi10QBE6f654Zy8pmJ_xPY,656
3
+ dao_treasury/__init__.py,sha256=ai8iALE_Zv43O9cH1jkNJ39bzhr60kBDX6L7C4Nj9FA,1539
4
+ dao_treasury/_docker.cp310-win32.pyd,sha256=6K5ZsCE2V6B1leINcOQcm__0NTJRmRfNUQEe0UzeDC8,9216
5
+ dao_treasury/_docker.py,sha256=Rki3eLKOmsNxN3nF-gmbM9UQV49SY7ToEHZboL_HYvA,6118
6
+ dao_treasury/_nicknames.cp310-win32.pyd,sha256=XJPKnwMCnZV7Uw5HoyxltqG_y1FufA8vBHN94eGZ0IM,9216
7
+ dao_treasury/_nicknames.py,sha256=n8c-JZhORYymCMv6jsC96IthAzAhpslyEn-KCk_YiSM,1049
8
+ dao_treasury/_wallet.cp310-win32.pyd,sha256=hyIuUsq5TigPuExkYUQC7-HX6GC5eUM5KdiZRDILcdg,9216
9
+ dao_treasury/_wallet.py,sha256=nHBAKFJstdKuYbvpskGVx2KU80YrZHGHsEh5V3TwIHs,10712
10
+ dao_treasury/constants.cp310-win32.pyd,sha256=JT0bIUBainnd_-Jpz1jCoWDvQ1aevr9Al-rO1ZJiN5s,9216
11
+ dao_treasury/constants.py,sha256=-T0oPw7lC5YeaiplHAtYL-2ss7knvKrJKQ1LCc8kX8g,1483
12
+ dao_treasury/db.py,sha256=4Vc_U3mmrG8hOpsuDcgCQQuwGyL3pyfYH2jjktDXx48,50734
13
+ dao_treasury/docker-compose.yaml,sha256=wNNE9xmkchcV-nJxzrmUkbUA0CW1qgdGQKJ7uw2P8nU,1350
14
+ dao_treasury/main.py,sha256=_Q-Nhn9WJ6alovqxt8Aa2X24-cxPgH4b25ulj0mEygs,9611
15
+ dao_treasury/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
+ dao_treasury/treasury.py,sha256=K4XOg-5BHoP5HoRlHNu4afNpYs2-8sjCOOGwdt3M21w,7541
17
+ dao_treasury/types.cp310-win32.pyd,sha256=a5wq7uL9_oMtUQ2otd6U8CqrczuW6blPm0chjH1s-Aw,9216
18
+ dao_treasury/types.py,sha256=KFz4WKPp4t_RBwIT6YGwOcgbzw8tdHIOcXTFsUA0pJA,3818
19
+ dao_treasury/.grafana/provisioning/dashboards/dashboards.yaml,sha256=to_cVfl8X6-5zVskkDxNtTE191TH52XO2peGfHPI5F0,201
20
+ dao_treasury/.grafana/provisioning/dashboards/breakdowns/Expenses.json,sha256=seX4E48q7XTIDYTzwiZzDR_n-vii-MqfT8MJ4mIhpUc,19964
21
+ dao_treasury/.grafana/provisioning/dashboards/breakdowns/Revenue.json,sha256=tdHBpE0gMk3tcVyT2rP4eMNUbTs5c98zjv_hPlMvhmM,19171
22
+ dao_treasury/.grafana/provisioning/dashboards/streams/LlamaPay.json,sha256=rQ3-eFc9vk4AzQfwG5d1NlonyPTlHuBQfr-IdlAI-QE,7724
23
+ dao_treasury/.grafana/provisioning/dashboards/summary/Monthly.json,sha256=6a-1pkN8yK1wk0imR6C0InYalgh2fEeCVjFdZClpmRw,10998
24
+ dao_treasury/.grafana/provisioning/dashboards/transactions/Treasury Transactions.json,sha256=uDwsIgrHJoR5yp7177IpMXExp8o-vMQBMN9bzxzNI18,15064
25
+ dao_treasury/.grafana/provisioning/dashboards/treasury/Cashflow (Including Unsorted).json,sha256=tzg4DcF5mFMvhveq6cfgB9CJWivxvbeN1Bo8L0ngx-I,28154
26
+ dao_treasury/.grafana/provisioning/dashboards/treasury/Cashflow.json,sha256=DpAoMqDRo6xhn-QDT0tCCqk1yO6z5qQBMvOC8oXlViA,20239
27
+ dao_treasury/.grafana/provisioning/dashboards/treasury/Current Treasury Assets.json,sha256=HCzFfESFmLruuKxMKOatkoFcHXgx90dnyuFgHmcocKk,26281
28
+ dao_treasury/.grafana/provisioning/dashboards/treasury/Historical Treasury Balances.json,sha256=K8zqxPFlvde9lhopzvox-CM52rLP0lzZMATi7EcPOJ0,107548
29
+ dao_treasury/.grafana/provisioning/dashboards/treasury/Operating Cashflow.json,sha256=KFmBbIdiiFdgc0qmQDbK_YAIn2b10H_e5K_3hifHWoM,15949
30
+ dao_treasury/.grafana/provisioning/datasources/datasources.yaml,sha256=gLmJsOkEXNzWRDibShfHFySWeuExW-dSB_U0OSfH868,344
31
+ dao_treasury/sorting/__init__.cp310-win32.pyd,sha256=rvdijFRKdAOFOiKkNRNcHp2pJW85ZoBP_cgKRwMCb-k,9216
32
+ dao_treasury/sorting/__init__.py,sha256=_uxM_FE1paM8oDAhDdHSyhDwnrlxCYX_lGn2DOqCaHU,10666
33
+ dao_treasury/sorting/_matchers.cp310-win32.pyd,sha256=9-45uc_UOwq2QRY3q3K2H935nCFhVuzijBhoEdbtcLk,9216
34
+ dao_treasury/sorting/_matchers.py,sha256=ACi6aXZCKW5OTiztsID7CXCGJounj5c6ivhOCg2436M,14392
35
+ dao_treasury/sorting/_rules.cp310-win32.pyd,sha256=i9BaLlavF33YNX2XwV5w_ibkzk6JHQNPeysokH9aZjM,9216
36
+ dao_treasury/sorting/_rules.py,sha256=DxhdUgpS0q0LWeLl9W1Bjn5LZz9z4OLA03vQllPMH9k,9229
37
+ dao_treasury/sorting/factory.cp310-win32.pyd,sha256=yN8WMppiPrxMBkddZuQEgE-pFqqKak77IgjsdpSVPNA,9216
38
+ dao_treasury/sorting/factory.py,sha256=zlJ18xlMTxv8ACV6_MimCVIDsw3K5AZcyvKaNYY7R14,10484
39
+ dao_treasury/sorting/rule.cp310-win32.pyd,sha256=yC7NHHTE2nGK69fFcA84i_AP_2bkDBFUmOrpTZdzIvM,9216
40
+ dao_treasury/sorting/rule.py,sha256=wbL8s0-6dxcCKghUtEDSkLDBnyvggsJ3gt_RawQ6kB4,11972
41
+ dao_treasury/sorting/rules/__init__.cp310-win32.pyd,sha256=fGqpAit9xppQYcjbKQTGW0LIhKCc4GhklJ3lrR-Irpc,9216
42
+ dao_treasury/sorting/rules/__init__.py,sha256=hcLfejOEwD8RaM2RE-38Ej6_WkvL9BVGvIIGY848E6E,49
43
+ dao_treasury/sorting/rules/ignore/__init__.cp310-win32.pyd,sha256=7f-jf8buVZL1vaOVDVk4XkJjVQW0xX5NKLjUdCqGBg0,9216
44
+ dao_treasury/sorting/rules/ignore/__init__.py,sha256=16THKoGdj6qfkkytuCFVG_R1M6KSErMI4AVE1p0ukS4,58
45
+ dao_treasury/sorting/rules/ignore/llamapay.cp310-win32.pyd,sha256=8PHU_ivt2-h6r2-tm9eqjQdSJWSNXVDeQsjOZZZP_PQ,9216
46
+ dao_treasury/sorting/rules/ignore/llamapay.py,sha256=aYyAJRlmv419IeaqkcV5o3ffx0UVfteU0lTl80j0BGo,783
47
+ dao_treasury/streams/__init__.cp310-win32.pyd,sha256=NaDQ4XjlkjKnV_zemyYHrSy7Ww5wlH-6Pp37uywELOM,9216
48
+ dao_treasury/streams/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
49
+ dao_treasury/streams/llamapay.cp310-win32.pyd,sha256=PbtMpLZkYCd4BKNDD1zhkJIcOK6iV_tpESreUkcRnOU,9216
50
+ dao_treasury/streams/llamapay.py,sha256=rO1Mh2ndTziR6pnRkKHnQ22a_Yx9PM_-BG7I4dspEZ8,13535
51
+ dao_treasury-0.0.70.dist-info/METADATA,sha256=zNKm5xmiLAurcHuLj1sct6NXQUprw7GXqsgGgrmq8Gk,8267
52
+ dao_treasury-0.0.70.dist-info/WHEEL,sha256=GWZF0cboiU4MhsG0baPl8rrtCaXFSLW25384gp3vddM,97
53
+ dao_treasury-0.0.70.dist-info/top_level.txt,sha256=CV8aYytuSYplDhLVY4n0GphckdysXCd1lHmbqfsPxNk,33
54
+ dao_treasury-0.0.70.dist-info/RECORD,,
@@ -0,0 +1,2 @@
1
+ dao_treasury
2
+ dao_treasury__mypyc
Binary file
Binary file
@@ -1,10 +0,0 @@
1
- apiVersion: 1
2
-
3
- datasources:
4
- - name: SQLite
5
- type: frser-sqlite-datasource
6
- isDefault: true
7
- editable: false
8
- jsonData:
9
- path: /app/dao-treasury-data/dao-treasury.sqlite
10
- secureJsonData: {}
@@ -1,36 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: dao_treasury
3
- Version: 0.0.10
4
- Summary: Produce financial reports for your on-chain org
5
- Classifier: Development Status :: 3 - Alpha
6
- Classifier: Intended Audience :: Developers
7
- Classifier: Intended Audience :: Science/Research
8
- Classifier: Programming Language :: Python :: 3
9
- Classifier: Programming Language :: Python :: 3.10
10
- Classifier: Programming Language :: Python :: 3.11
11
- Classifier: Programming Language :: Python :: 3.12
12
- Classifier: Programming Language :: Python :: Implementation :: CPython
13
- Classifier: Operating System :: OS Independent
14
- Classifier: Topic :: Software Development :: Libraries
15
- Requires-Python: >=3.10,<3.13
16
- Description-Content-Type: text/markdown
17
- Requires-Dist: eth-portfolio-temp<0.1,>=0.0.11
18
- Dynamic: classifier
19
- Dynamic: description
20
- Dynamic: description-content-type
21
- Dynamic: requires-dist
22
- Dynamic: requires-python
23
- Dynamic: summary
24
-
25
- This library extends eth_portfolio with additional functionality centered around producing financial reports for DAOs and other on-chain orgs.
26
-
27
- ## Installation
28
-
29
- ```bash
30
- pip install dao-treasury
31
- ```
32
-
33
- ## Prerequisites
34
-
35
- You must have a [brownie network](https://eth-brownie.readthedocs.io/en/stable/network-management.html) configured to use your RPC.
36
- You will also need [Docker](https://www.docker.com/get-started/) installed on your system.
@@ -1,28 +0,0 @@
1
- a743a720bbc4482d330e__mypyc.cp310-win32.pyd,sha256=UaRC7aOViA-JC_k1hVBxe6ujnehnUMdtFPAui1ywBww,128512
2
- dao_treasury/__init__.py,sha256=DJ_LIcUlbXc-s9WmAXPBrwKW4rRuGWlWSlm4nqZOIfU,781
3
- dao_treasury/_docker.py,sha256=QzVO4apwj0SlZWR5UGTL7wEYAPqtCsFC1ZFUhLBlYLc,1880
4
- dao_treasury/_wallet.cp310-win32.pyd,sha256=KKfC3D265RdAyBc3ySA1Il9tutFRGHikwBH6N-7Z-pk,9216
5
- dao_treasury/_wallet.py,sha256=YlKGoEwEexFiqbKRrk9oj-Tu0uMjoihu91Q8YeyW7Sg,4106
6
- dao_treasury/db.py,sha256=nqPVmqR-n_QTP9qNElkDIQkhgV4cKCb8WEO0xWZnjnY,24461
7
- dao_treasury/docker-compose.yaml,sha256=hmBB6oxipwzMGa4Wzngcp-Bl51nBwI7_EasJN3ORfS4,1273
8
- dao_treasury/main.py,sha256=HGxaITlcOO6EA0-5KVXH3Q6ZfEpoDHI24IHFDmmu2ug,2204
9
- dao_treasury/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
- dao_treasury/treasury.py,sha256=IWPpLtXcgXCmgfBsX7TPNBeLbkqlynMU7mP2ndxUBSg,3698
11
- dao_treasury/types.py,sha256=X5bnru64Wgd9s3zO2uM8teUt4OJHcMTcq2qV79i162w,933
12
- dao_treasury/.grafana/provisioning/dashboards/dashboards.yaml,sha256=t9nGDNaCBOPQsWSDPLefGY7i0NtLGDvTGZyTxWHz2pY,217
13
- dao_treasury/.grafana/provisioning/dashboards/summary/Monthly.json,sha256=QQdHEsJc5XhF8hPDhzhyeJPoqTOusBorWQJ2Hi1GOCg,6732
14
- dao_treasury/.grafana/provisioning/dashboards/transactions/Treasury Transactions.json,sha256=lCOGwyonNboVw-iaOD7tsBfiWTnlmfqlRjGp7wH88yc,7836
15
- dao_treasury/.grafana/provisioning/datasources/sqlite.yaml,sha256=SUwhkoSaSMmvTKEDA3Srdop3Vq09GV5XV9UIEfPEwiU,221
16
- dao_treasury/sorting/__init__.cp310-win32.pyd,sha256=vW1eezl6h9X3ykL8S51z_KkcUVJtEaOnyIktRz4VDLI,9216
17
- dao_treasury/sorting/__init__.py,sha256=AoIMQ2OFoisq_UOIlPpCMP_dGiiou8xqq-fssDPx1Vg,7407
18
- dao_treasury/sorting/_matchers.cp310-win32.pyd,sha256=qNl5xCLDAFLPITIls4fDr9wt1qq3yugG8vbwZbD-1Ew,9216
19
- dao_treasury/sorting/_matchers.py,sha256=afx99Lfnr894ZbZdjFAe1QlxHNJ9XgKVp0dwbgCR5Xc,5306
20
- dao_treasury/sorting/_rules.cp310-win32.pyd,sha256=BO1hfUWufOTnoZ9vdEd0GS6y3mIhbkLZSuBnLGHiGNA,9216
21
- dao_treasury/sorting/_rules.py,sha256=MCVWeS4Yf_uHrtS7mujkmquBDo8XjdxU3rSE5xV_220,3977
22
- dao_treasury/sorting/factory.cp310-win32.pyd,sha256=D_yAgNl6Ewy8gN9LNb-LZKt75x2mjV_v12uco_YQY0I,9216
23
- dao_treasury/sorting/factory.py,sha256=RVg_13nED_U_8Z3CDKT5JOJNpLloL_1au-jEDvIwwaA,3594
24
- dao_treasury/sorting/rule.py,sha256=hTPmxZFRHj-nlm5IB9-dFBrb3qddhBF79-k_vG4Kiak,5798
25
- dao_treasury-0.0.10.dist-info/METADATA,sha256=AzYKR5jySR3ZplAZYw92XLu72-x8RGrGXy8lLdEH-sY,1361
26
- dao_treasury-0.0.10.dist-info/WHEEL,sha256=GWZF0cboiU4MhsG0baPl8rrtCaXFSLW25384gp3vddM,97
27
- dao_treasury-0.0.10.dist-info/top_level.txt,sha256=9e8UrVNBTMAhXAyV8KuZIHbOiHYWx2mauNJqsv2DySk,41
28
- dao_treasury-0.0.10.dist-info/RECORD,,
@@ -1,2 +0,0 @@
1
- a743a720bbc4482d330e__mypyc
2
- dao_treasury