dao-treasury 0.0.39__cp311-cp311-win32.whl → 0.0.41__cp311-cp311-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.
- bf2b4fe1f86ad2ea158b__mypyc.cp311-win32.pyd +0 -0
- dao_treasury/ENVIRONMENT_VARIABLES.py +12 -0
- dao_treasury/__init__.py +14 -0
- dao_treasury/_docker.cp311-win32.pyd +0 -0
- dao_treasury/_docker.py +14 -1
- dao_treasury/_nicknames.cp311-win32.pyd +0 -0
- dao_treasury/_nicknames.py +15 -0
- dao_treasury/_wallet.cp311-win32.pyd +0 -0
- dao_treasury/constants.cp311-win32.pyd +0 -0
- dao_treasury/constants.py +19 -0
- dao_treasury/db.py +23 -0
- dao_treasury/sorting/__init__.cp311-win32.pyd +0 -0
- dao_treasury/sorting/_matchers.cp311-win32.pyd +0 -0
- dao_treasury/sorting/_rules.cp311-win32.pyd +0 -0
- dao_treasury/sorting/factory.cp311-win32.pyd +0 -0
- dao_treasury/sorting/rule.cp311-win32.pyd +0 -0
- dao_treasury/sorting/rules/__init__.cp311-win32.pyd +0 -0
- dao_treasury/sorting/rules/ignore/__init__.cp311-win32.pyd +0 -0
- dao_treasury/sorting/rules/ignore/__init__.py +0 -1
- dao_treasury/sorting/rules/ignore/llamapay.cp311-win32.pyd +0 -0
- dao_treasury/streams/__init__.cp311-win32.pyd +0 -0
- dao_treasury/streams/llamapay.cp311-win32.pyd +0 -0
- dao_treasury/treasury.py +33 -14
- dao_treasury/types.cp311-win32.pyd +0 -0
- {dao_treasury-0.0.39.dist-info → dao_treasury-0.0.41.dist-info}/METADATA +2 -2
- dao_treasury-0.0.41.dist-info/RECORD +51 -0
- dao_treasury-0.0.41.dist-info/top_level.txt +2 -0
- 8a0ad9a1a4146730a0f6__mypyc.cp311-win32.pyd +0 -0
- dao_treasury/sorting/rules/ignore/shitcoins.cp311-win32.pyd +0 -0
- dao_treasury/sorting/rules/ignore/shitcoins.py +0 -24
- dao_treasury-0.0.39.dist-info/RECORD +0 -53
- dao_treasury-0.0.39.dist-info/top_level.txt +0 -2
- {dao_treasury-0.0.39.dist-info → dao_treasury-0.0.41.dist-info}/WHEEL +0 -0
Binary file
|
@@ -1,3 +1,15 @@
|
|
1
|
+
"""Environment variable configuration for DAO Treasury.
|
2
|
+
|
3
|
+
Defines and loads environment variables (with types and defaults) used for
|
4
|
+
system configuration, such as SQL debugging. Uses :mod:`typed_envs` for convenience and safety.
|
5
|
+
|
6
|
+
Key Responsibilities:
|
7
|
+
- Define and load environment variables for the system.
|
8
|
+
- Provide type-safe access to configuration options.
|
9
|
+
|
10
|
+
This is the single source of truth for environment-based settings.
|
11
|
+
"""
|
12
|
+
|
1
13
|
from typing import Final
|
2
14
|
|
3
15
|
from typed_envs import EnvVarFactory
|
dao_treasury/__init__.py
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
"""DAO Treasury package initializer.
|
2
|
+
|
3
|
+
Exposes the main public API for the library, including the Treasury class,
|
4
|
+
wallet management, sorting rules, and database models. Sets up address
|
5
|
+
nicknames and enables SQL debugging if configured.
|
6
|
+
|
7
|
+
Key Responsibilities:
|
8
|
+
- Import and expose core classes and functions.
|
9
|
+
- Initialize address nicknames in the database.
|
10
|
+
- Configure SQL debugging for development.
|
11
|
+
|
12
|
+
This is the main import point for users and integrations.
|
13
|
+
"""
|
14
|
+
|
1
15
|
from dao_treasury import ENVIRONMENT_VARIABLES as ENVS
|
2
16
|
from dao_treasury._nicknames import setup_address_nicknames_in_db
|
3
17
|
from dao_treasury._wallet import TreasuryWallet
|
Binary file
|
dao_treasury/_docker.py
CHANGED
@@ -1,4 +1,17 @@
|
|
1
|
-
"""
|
1
|
+
"""Docker orchestration utilities for DAO Treasury.
|
2
|
+
|
3
|
+
Provides functions to build, start, and stop Docker Compose services
|
4
|
+
required for analytics dashboards (Grafana, renderer). Integrates with
|
5
|
+
eth-portfolio's Docker setup and ensures all containers are managed
|
6
|
+
consistently for local analytics.
|
7
|
+
|
8
|
+
Key Responsibilities:
|
9
|
+
- Build and manage Grafana and renderer containers.
|
10
|
+
- Integrate with eth-portfolio Docker services.
|
11
|
+
- Provide decorators/utilities for container lifecycle management.
|
12
|
+
|
13
|
+
This is the main entry for all Docker-based orchestration.
|
14
|
+
"""
|
2
15
|
|
3
16
|
import logging
|
4
17
|
from importlib import resources
|
Binary file
|
dao_treasury/_nicknames.py
CHANGED
@@ -1,3 +1,18 @@
|
|
1
|
+
"""Address nickname setup utilities.
|
2
|
+
|
3
|
+
This module provides functions to assign human-readable nicknames to
|
4
|
+
important on-chain addresses (e.g., Zero Address, Disperse.app, tokens).
|
5
|
+
It is used at package initialization to ensure all analytics and dashboards
|
6
|
+
display professional, consistent labels.
|
7
|
+
|
8
|
+
Key Responsibilities:
|
9
|
+
- Set nicknames for core addresses in the database.
|
10
|
+
- Integrate with constants and token metadata.
|
11
|
+
- Support professional, readable analytics outputs.
|
12
|
+
|
13
|
+
This is called automatically on package import.
|
14
|
+
"""
|
15
|
+
|
1
16
|
from typing import Final
|
2
17
|
|
3
18
|
from pony.orm import db_session
|
Binary file
|
Binary file
|
dao_treasury/constants.py
CHANGED
@@ -1,11 +1,29 @@
|
|
1
|
+
"""Core constants for DAO Treasury.
|
2
|
+
|
3
|
+
All constants are marked with `Final`, ensuring immutability and allowing
|
4
|
+
mypyc to compile them as extremely fast C-level constants for maximum
|
5
|
+
performance. Defines chain IDs, zero address, and key contract addresses
|
6
|
+
(e.g., Disperse.app) used throughout the system for transaction processing,
|
7
|
+
nickname assignment, and analytics.
|
8
|
+
|
9
|
+
Key Responsibilities:
|
10
|
+
- Provide canonical addresses and chain IDs.
|
11
|
+
- Support nickname setup and transaction categorization.
|
12
|
+
- Guarantee fast, immutable constants at runtime.
|
13
|
+
|
14
|
+
This is the single source of truth for system-wide constants.
|
15
|
+
"""
|
16
|
+
|
1
17
|
from typing import Final
|
2
18
|
|
3
19
|
import y.constants
|
4
20
|
|
5
21
|
|
6
22
|
CHAINID: Final = y.constants.CHAINID
|
23
|
+
# TODO: add docstring
|
7
24
|
|
8
25
|
ZERO_ADDRESS: Final = "0x0000000000000000000000000000000000000000"
|
26
|
+
# TODO: add docstring
|
9
27
|
|
10
28
|
# TODO: move disperse.app stuff from yearn-treasury to dao-treasury and then write a docs file
|
11
29
|
DISPERSE_APP: Final = (
|
@@ -13,3 +31,4 @@ DISPERSE_APP: Final = (
|
|
13
31
|
"0xd15fE25eD0Dba12fE05e7029C88b10C25e8880E3",
|
14
32
|
)
|
15
33
|
"""If your treasury sends funds to disperse.app, we create additional txs in the db so each individual send can be accounted for."""
|
34
|
+
# TODO: all crosslink to disperse.py once ready
|
dao_treasury/db.py
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
Database models and utilities for DAO treasury reporting.
|
4
4
|
|
5
5
|
This module defines Pony ORM entities for:
|
6
|
+
|
6
7
|
- Blockchain networks (:class:`Chain`)
|
7
8
|
- On-chain addresses (:class:`Address`)
|
8
9
|
- ERC-20 tokens and native coin placeholder (:class:`Token`)
|
@@ -25,6 +26,7 @@ from pathlib import Path
|
|
25
26
|
from typing import TYPE_CHECKING, Dict, Final, Tuple, Union, final
|
26
27
|
from datetime import date, datetime, time, timezone
|
27
28
|
|
29
|
+
import eth_portfolio
|
28
30
|
from a_sync import AsyncThreadPoolExecutor
|
29
31
|
from brownie import chain
|
30
32
|
from brownie.convert.datatypes import HexString
|
@@ -1383,3 +1385,24 @@ def _validate_integrity_error(
|
|
1383
1385
|
)
|
1384
1386
|
else None
|
1385
1387
|
)
|
1388
|
+
|
1389
|
+
|
1390
|
+
def _drop_shitcoin_txs() -> None:
|
1391
|
+
"""
|
1392
|
+
Purge any shitcoin txs from the db.
|
1393
|
+
|
1394
|
+
These should not be frequent, and only occur if a user populated the db before a shitcoin was added to the SHITCOINS mapping.
|
1395
|
+
"""
|
1396
|
+
shitcoins = eth_portfolio.SHITCOINS[CHAINID]
|
1397
|
+
with db_session:
|
1398
|
+
shitcoin_txs = select(
|
1399
|
+
tx for tx in TreasuryTx if tx.token.address.address in shitcoins
|
1400
|
+
)
|
1401
|
+
if count := shitcoin_txs.count():
|
1402
|
+
logger.info(f"Purging {count} shitcoin txs from the database...")
|
1403
|
+
for tx in shitcoin_txs:
|
1404
|
+
tx.delete()
|
1405
|
+
logger.info("Shitcoin tx purge complete.")
|
1406
|
+
|
1407
|
+
|
1408
|
+
_drop_shitcoin_txs()
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
dao_treasury/treasury.py
CHANGED
@@ -1,3 +1,20 @@
|
|
1
|
+
"""Treasury orchestration and analytics interface.
|
2
|
+
|
3
|
+
This module defines the Treasury class, which aggregates DAO wallets, sets up
|
4
|
+
sorting rules, and manages transaction ingestion and streaming analytics.
|
5
|
+
It coordinates the end-to-end flow from wallet configuration to database
|
6
|
+
population and dashboard analytics.
|
7
|
+
|
8
|
+
Key Responsibilities:
|
9
|
+
- Aggregate and manage DAO-controlled wallets.
|
10
|
+
- Ingest and process on-chain transactions.
|
11
|
+
- Apply sorting/categorization rules.
|
12
|
+
- Integrate with streaming protocols (e.g., LlamaPay).
|
13
|
+
- Populate the database for analytics and dashboards.
|
14
|
+
|
15
|
+
This is the main entry point for orchestrating DAO treasury analytics.
|
16
|
+
"""
|
17
|
+
|
1
18
|
from asyncio import create_task, gather
|
2
19
|
from logging import getLogger
|
3
20
|
from pathlib import Path
|
@@ -59,20 +76,22 @@ class Treasury(a_sync.ASyncGenericBase): # type: ignore [misc]
|
|
59
76
|
TypeError: If any item in `wallets` is not a str or TreasuryWallet.
|
60
77
|
|
61
78
|
Examples:
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
79
|
+
.. code-block:: python
|
80
|
+
|
81
|
+
# Create a synchronous Treasury
|
82
|
+
treasury = Treasury(
|
83
|
+
wallets=["0xAbc123...", TreasuryWallet("0xDef456...", start_block=1000)],
|
84
|
+
sort_rules=Path("/path/to/rules"),
|
85
|
+
start_block=500,
|
86
|
+
label="DAO Treasury",
|
87
|
+
asynchronous=False
|
88
|
+
)
|
89
|
+
|
90
|
+
# Create an asynchronous Treasury
|
91
|
+
treasury_async = Treasury(
|
92
|
+
wallets=["0xAbc123..."],
|
93
|
+
asynchronous=True
|
94
|
+
)
|
76
95
|
"""
|
77
96
|
global TREASURY
|
78
97
|
if TREASURY is not None:
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: dao_treasury
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.41
|
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
|
@@ -14,7 +14,7 @@ Classifier: Operating System :: OS Independent
|
|
14
14
|
Classifier: Topic :: Software Development :: Libraries
|
15
15
|
Requires-Python: >=3.10,<3.13
|
16
16
|
Description-Content-Type: text/markdown
|
17
|
-
Requires-Dist: eth-portfolio-temp<0.1,>=0.0.
|
17
|
+
Requires-Dist: eth-portfolio-temp<0.1,>=0.0.38.dev0
|
18
18
|
Dynamic: classifier
|
19
19
|
Dynamic: description
|
20
20
|
Dynamic: description-content-type
|
@@ -0,0 +1,51 @@
|
|
1
|
+
bf2b4fe1f86ad2ea158b__mypyc.cp311-win32.pyd,sha256=eHcpEs5KO-_thkCSMr-P6WumS3ZE3Dvux7yOkYvyEH4,381440
|
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.cp311-win32.pyd,sha256=_oZ-5R_uYMEy9wru-luvB3RF_puufwWY74eoxvI49hA,9216
|
5
|
+
dao_treasury/_docker.py,sha256=UFMN-TIBUQBheMIhIhSMhaq7UFgt6ubUcfzwPNap_6o,6098
|
6
|
+
dao_treasury/_nicknames.cp311-win32.pyd,sha256=1VZvaP9pCuca8VcMMiRY97hDSBrIByvMGGpG55_doOc,9216
|
7
|
+
dao_treasury/_nicknames.py,sha256=n8c-JZhORYymCMv6jsC96IthAzAhpslyEn-KCk_YiSM,1049
|
8
|
+
dao_treasury/_wallet.cp311-win32.pyd,sha256=C-slPpT4JMmTa0wkta530lM2waW3y9Hwup9D3p_WKgM,9216
|
9
|
+
dao_treasury/_wallet.py,sha256=nHBAKFJstdKuYbvpskGVx2KU80YrZHGHsEh5V3TwIHs,10712
|
10
|
+
dao_treasury/constants.cp311-win32.pyd,sha256=NLfXbknpTMjRG7eT0Mdha4FW2HWlZYQmoSY8DzNy7Z0,9216
|
11
|
+
dao_treasury/constants.py,sha256=PYKWO-TiUrROAawAsIdyuPvRwUMJSWWpgPQdoqoZYcQ,1254
|
12
|
+
dao_treasury/db.py,sha256=kqjYsJDibWj73NL6pc4XOA4Me_HgymexcgbmXk3l3mU,49421
|
13
|
+
dao_treasury/docker-compose.yaml,sha256=s0Nq-u--kIyknC-rlmJW2ycdKPjwJ_HetG7jBBJD95A,1350
|
14
|
+
dao_treasury/main.py,sha256=yVQGwDgO4XKcxV6tQQPxEcLcZPSEEK1yJS8Djfq3Esc,8294
|
15
|
+
dao_treasury/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
|
+
dao_treasury/treasury.py,sha256=wh4wESLbYSHjcfpa-sW5TIqa5pSC9Y_7Id8tzLzJLaw,7414
|
17
|
+
dao_treasury/types.cp311-win32.pyd,sha256=CpCDZ7X_T4zCFsCzVMLniuDjp4p19-t2zXh536MvXwA,9216
|
18
|
+
dao_treasury/types.py,sha256=KFz4WKPp4t_RBwIT6YGwOcgbzw8tdHIOcXTFsUA0pJA,3818
|
19
|
+
dao_treasury/.grafana/provisioning/dashboards/dashboards.yaml,sha256=PwGrxPA5snT37bmpCuP9WE9T7weACm39N9lEsudr7f0,1337
|
20
|
+
dao_treasury/.grafana/provisioning/dashboards/streams/LlamaPay.json,sha256=Q0QTL1UIYQCsqj8GQuZMt81Ick-FMhYphbBo8XV1TQs,7248
|
21
|
+
dao_treasury/.grafana/provisioning/dashboards/summary/Monthly.json,sha256=AvwYvGO4BmEKuwkdUQ0lyo2J4dp5E8DsmF0LGDOiA7A,6640
|
22
|
+
dao_treasury/.grafana/provisioning/dashboards/transactions/Treasury Transactions.json,sha256=JRQDKLG4KHVTETtbaKPdP0LgSehRzGMABvlHQ6S5knQ,13617
|
23
|
+
dao_treasury/.grafana/provisioning/dashboards/treasury/Cashflow (Including Unsorted).json,sha256=nF76JC3vvlcSsFixf9M5b3H31HLVNP3VxTrOx02TLZE,26499
|
24
|
+
dao_treasury/.grafana/provisioning/dashboards/treasury/Cashflow.json,sha256=TDDhrZu0RRh3JNMNg-NrF9vhXe7QuuIa4WXn74d1rOw,18754
|
25
|
+
dao_treasury/.grafana/provisioning/dashboards/treasury/Operating Cashflow.json,sha256=_W5Zt-J0YTVGAKPbM5kbMnv0EC3K_eZgJbqLgzkanS4,14844
|
26
|
+
dao_treasury/.grafana/provisioning/dashboards/treasury/Treasury.json,sha256=6y7Fp-2g1iRanRBtWKKN13sXjaKxBvqld7416ZJu4YI,72196
|
27
|
+
dao_treasury/.grafana/provisioning/datasources/datasources.yaml,sha256=gLmJsOkEXNzWRDibShfHFySWeuExW-dSB_U0OSfH868,344
|
28
|
+
dao_treasury/sorting/__init__.cp311-win32.pyd,sha256=q0YkqFYqqMWzEeNvf8oP1XuI2ac8YfiA3OdwbBRQHC8,9216
|
29
|
+
dao_treasury/sorting/__init__.py,sha256=_uxM_FE1paM8oDAhDdHSyhDwnrlxCYX_lGn2DOqCaHU,10666
|
30
|
+
dao_treasury/sorting/_matchers.cp311-win32.pyd,sha256=zSWiEMsj7U8FtpVIVfpe86ZjBixgUc4lNomwK2qMubI,9216
|
31
|
+
dao_treasury/sorting/_matchers.py,sha256=ACi6aXZCKW5OTiztsID7CXCGJounj5c6ivhOCg2436M,14392
|
32
|
+
dao_treasury/sorting/_rules.cp311-win32.pyd,sha256=jwQ7eyVhmBrUT6dbUm7qaZfiyER-_jL4cHjmPtlNxNQ,9216
|
33
|
+
dao_treasury/sorting/_rules.py,sha256=DxhdUgpS0q0LWeLl9W1Bjn5LZz9z4OLA03vQllPMH9k,9229
|
34
|
+
dao_treasury/sorting/factory.cp311-win32.pyd,sha256=23AoUs4oyauGIYfTNzgDzxh6K8CNVPtc4Cahl0k-OVY,9216
|
35
|
+
dao_treasury/sorting/factory.py,sha256=zlJ18xlMTxv8ACV6_MimCVIDsw3K5AZcyvKaNYY7R14,10484
|
36
|
+
dao_treasury/sorting/rule.cp311-win32.pyd,sha256=ya5zP_RRNUqHw8CcVb6Z9SSW8zR1H0d9jvS9zStMYuU,9216
|
37
|
+
dao_treasury/sorting/rule.py,sha256=TsSlaU4UlYr4QWJBdUY7EOAfC_SK6_VA3wEFOFNUUrU,11837
|
38
|
+
dao_treasury/sorting/rules/__init__.cp311-win32.pyd,sha256=T5dU0nMAWW9cKrcw2M5qf8O5E1yoGQTQWrw7Wq_yyrY,9216
|
39
|
+
dao_treasury/sorting/rules/__init__.py,sha256=hcLfejOEwD8RaM2RE-38Ej6_WkvL9BVGvIIGY848E6E,49
|
40
|
+
dao_treasury/sorting/rules/ignore/__init__.cp311-win32.pyd,sha256=31OGfgdQ54-Z0fgJV-ozk-aXW12ObKhSTxBcXvNuTgQ,9216
|
41
|
+
dao_treasury/sorting/rules/ignore/__init__.py,sha256=16THKoGdj6qfkkytuCFVG_R1M6KSErMI4AVE1p0ukS4,58
|
42
|
+
dao_treasury/sorting/rules/ignore/llamapay.cp311-win32.pyd,sha256=nV4KUP_qKfm-FKjHltxZ2FfybM07zgtFsgvrLHZ3IDk,9216
|
43
|
+
dao_treasury/sorting/rules/ignore/llamapay.py,sha256=aYyAJRlmv419IeaqkcV5o3ffx0UVfteU0lTl80j0BGo,783
|
44
|
+
dao_treasury/streams/__init__.cp311-win32.pyd,sha256=HRf08oj_mjutih5MMpYyVx9ES4Ls4dUkjVr_AN5j-_c,9216
|
45
|
+
dao_treasury/streams/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
46
|
+
dao_treasury/streams/llamapay.cp311-win32.pyd,sha256=j3CPkv1t_1fe5T4SRsH-XKiIXz71yeUGzbRPc0fKZs8,9216
|
47
|
+
dao_treasury/streams/llamapay.py,sha256=rO1Mh2ndTziR6pnRkKHnQ22a_Yx9PM_-BG7I4dspEZ8,13535
|
48
|
+
dao_treasury-0.0.41.dist-info/METADATA,sha256=D1QvH3LZ-dGtFNo8TqEMSk1lC0a9IT49FMSisfP7zww,7149
|
49
|
+
dao_treasury-0.0.41.dist-info/WHEEL,sha256=Ri8zddKrjGdgjlj1OpSsvpDnvHfnQhMQWi3E_v2pqng,97
|
50
|
+
dao_treasury-0.0.41.dist-info/top_level.txt,sha256=Gw-ri_26lZA_3hwhnOX48mffUbmBGr8NhtoQ0XoMeF8,41
|
51
|
+
dao_treasury-0.0.41.dist-info/RECORD,,
|
Binary file
|
Binary file
|
@@ -1,24 +0,0 @@
|
|
1
|
-
"""This module is used to ignore any transactions that involve shitcoins in the :obj:`~eth_portfolio.SHITCOINS` mapping."""
|
2
|
-
|
3
|
-
from typing import Final
|
4
|
-
|
5
|
-
import eth_portfolio
|
6
|
-
|
7
|
-
from dao_treasury import TreasuryTx
|
8
|
-
from dao_treasury.constants import CHAINID
|
9
|
-
from dao_treasury.sorting.factory import ignore
|
10
|
-
|
11
|
-
|
12
|
-
SHITCOINS: Final = eth_portfolio.SHITCOINS[CHAINID]
|
13
|
-
|
14
|
-
|
15
|
-
@ignore("Shitcoin")
|
16
|
-
def is_shitcoin(tx: TreasuryTx) -> bool:
|
17
|
-
"""
|
18
|
-
This category is for any token transfers involving any shitcoin which was added
|
19
|
-
to your database before the shitcoin was added to :obj:`eth_portfolio.SHITCOINS`.
|
20
|
-
|
21
|
-
Since the tx would now be excluded from the db entirely if you did a clean pull,
|
22
|
-
we can safely ignore it.
|
23
|
-
"""
|
24
|
-
return tx.token.address.address in SHITCOINS
|
@@ -1,53 +0,0 @@
|
|
1
|
-
8a0ad9a1a4146730a0f6__mypyc.cp311-win32.pyd,sha256=jObclMnNEz8KNtfuvMmbzzYnhmkg9bc3Zt6P094BGwY,414720
|
2
|
-
dao_treasury/ENVIRONMENT_VARIABLES.py,sha256=ci7djcsXc9uRi6_vBQv-avGQrrIacyftXmcwKuitWWU,203
|
3
|
-
dao_treasury/__init__.py,sha256=U8BsakN_w15wVE_7MjVbHD9LBal48LfJ6a1Icf5oHdY,1052
|
4
|
-
dao_treasury/_docker.cp311-win32.pyd,sha256=BO1fgy8w7GAyzjZJOgOfWm3IwsJenSuZ0aR7w1xs19M,9216
|
5
|
-
dao_treasury/_docker.py,sha256=wY26wCrQ8p-L0KfMJftyzI_YAszHjnBWLw94eh0LxxY,5607
|
6
|
-
dao_treasury/_nicknames.cp311-win32.pyd,sha256=7DLOi0G9RkrLQtmKgZVTEHKz37Vaf81ldqx9kk1APwk,9216
|
7
|
-
dao_treasury/_nicknames.py,sha256=NpbQ4NtmZF_A_vqTGSal2KzKzkH5t7_wbI8EtMBqEr4,497
|
8
|
-
dao_treasury/_wallet.cp311-win32.pyd,sha256=aSwIyB7p2Y-cOoawE_m01xu09BJRVeNb3qIuMkgMow4,9216
|
9
|
-
dao_treasury/_wallet.py,sha256=nHBAKFJstdKuYbvpskGVx2KU80YrZHGHsEh5V3TwIHs,10712
|
10
|
-
dao_treasury/constants.cp311-win32.pyd,sha256=_fx2qY3ISqYBuAmjGuy3EkA77f711wDcX0eZrSrHETM,9216
|
11
|
-
dao_treasury/constants.py,sha256=VNzlrwC8HB8LdKNmoIfncUACKHfXZxp2GtBBrH_lZKE,522
|
12
|
-
dao_treasury/db.py,sha256=aZhY33XFHv5vwTQecolpaYXB_0SBPWvYGvZWlme_yH4,48703
|
13
|
-
dao_treasury/docker-compose.yaml,sha256=s0Nq-u--kIyknC-rlmJW2ycdKPjwJ_HetG7jBBJD95A,1350
|
14
|
-
dao_treasury/main.py,sha256=yVQGwDgO4XKcxV6tQQPxEcLcZPSEEK1yJS8Djfq3Esc,8294
|
15
|
-
dao_treasury/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
|
-
dao_treasury/treasury.py,sha256=64_z0lsjOngGFASCVQNUM-QfbC5YqhKMgOdtLh758co,6678
|
17
|
-
dao_treasury/types.cp311-win32.pyd,sha256=AkAyXkEBlzpGpv-kqhRJoYBu3_KuchTZeBkwhC1_FU4,9216
|
18
|
-
dao_treasury/types.py,sha256=KFz4WKPp4t_RBwIT6YGwOcgbzw8tdHIOcXTFsUA0pJA,3818
|
19
|
-
dao_treasury/.grafana/provisioning/dashboards/dashboards.yaml,sha256=PwGrxPA5snT37bmpCuP9WE9T7weACm39N9lEsudr7f0,1337
|
20
|
-
dao_treasury/.grafana/provisioning/dashboards/streams/LlamaPay.json,sha256=Q0QTL1UIYQCsqj8GQuZMt81Ick-FMhYphbBo8XV1TQs,7248
|
21
|
-
dao_treasury/.grafana/provisioning/dashboards/summary/Monthly.json,sha256=AvwYvGO4BmEKuwkdUQ0lyo2J4dp5E8DsmF0LGDOiA7A,6640
|
22
|
-
dao_treasury/.grafana/provisioning/dashboards/transactions/Treasury Transactions.json,sha256=JRQDKLG4KHVTETtbaKPdP0LgSehRzGMABvlHQ6S5knQ,13617
|
23
|
-
dao_treasury/.grafana/provisioning/dashboards/treasury/Cashflow (Including Unsorted).json,sha256=nF76JC3vvlcSsFixf9M5b3H31HLVNP3VxTrOx02TLZE,26499
|
24
|
-
dao_treasury/.grafana/provisioning/dashboards/treasury/Cashflow.json,sha256=TDDhrZu0RRh3JNMNg-NrF9vhXe7QuuIa4WXn74d1rOw,18754
|
25
|
-
dao_treasury/.grafana/provisioning/dashboards/treasury/Operating Cashflow.json,sha256=_W5Zt-J0YTVGAKPbM5kbMnv0EC3K_eZgJbqLgzkanS4,14844
|
26
|
-
dao_treasury/.grafana/provisioning/dashboards/treasury/Treasury.json,sha256=6y7Fp-2g1iRanRBtWKKN13sXjaKxBvqld7416ZJu4YI,72196
|
27
|
-
dao_treasury/.grafana/provisioning/datasources/datasources.yaml,sha256=gLmJsOkEXNzWRDibShfHFySWeuExW-dSB_U0OSfH868,344
|
28
|
-
dao_treasury/sorting/__init__.cp311-win32.pyd,sha256=w5mo26CpqA3rbfm-499urZIQwM0MY3cmY6yLpYy8rVU,9216
|
29
|
-
dao_treasury/sorting/__init__.py,sha256=_uxM_FE1paM8oDAhDdHSyhDwnrlxCYX_lGn2DOqCaHU,10666
|
30
|
-
dao_treasury/sorting/_matchers.cp311-win32.pyd,sha256=UBYGVdbVNqXxKukOA0B2oZps7JDtDo3ifA3e6wcktf4,9216
|
31
|
-
dao_treasury/sorting/_matchers.py,sha256=ACi6aXZCKW5OTiztsID7CXCGJounj5c6ivhOCg2436M,14392
|
32
|
-
dao_treasury/sorting/_rules.cp311-win32.pyd,sha256=atZUKc_Pv7vqRrSXOmCD-0Vn6k7fovgYbp9Mqut6KrI,9216
|
33
|
-
dao_treasury/sorting/_rules.py,sha256=DxhdUgpS0q0LWeLl9W1Bjn5LZz9z4OLA03vQllPMH9k,9229
|
34
|
-
dao_treasury/sorting/factory.cp311-win32.pyd,sha256=_xzRX7aAx5aKGxTfCOptI24k3mWyw1cRMrwet7yTk9Q,9216
|
35
|
-
dao_treasury/sorting/factory.py,sha256=zlJ18xlMTxv8ACV6_MimCVIDsw3K5AZcyvKaNYY7R14,10484
|
36
|
-
dao_treasury/sorting/rule.cp311-win32.pyd,sha256=4tlqw6FYlSTcPUxkS30qcoR1_1_Bj_Ijz--MAluXp7c,9216
|
37
|
-
dao_treasury/sorting/rule.py,sha256=TsSlaU4UlYr4QWJBdUY7EOAfC_SK6_VA3wEFOFNUUrU,11837
|
38
|
-
dao_treasury/sorting/rules/__init__.cp311-win32.pyd,sha256=Dl7SYDk79J_hseEwK9Cxprn0SDnyLry5GnHZzxvjlTk,9216
|
39
|
-
dao_treasury/sorting/rules/__init__.py,sha256=hcLfejOEwD8RaM2RE-38Ej6_WkvL9BVGvIIGY848E6E,49
|
40
|
-
dao_treasury/sorting/rules/ignore/__init__.cp311-win32.pyd,sha256=lYLlKW69nXdSX4Y-U_vKJ9UfPiT2FIqMZY7KypCVGwM,9216
|
41
|
-
dao_treasury/sorting/rules/ignore/__init__.py,sha256=5zsmr_PMgVUXhQDz5grBtYhfSjqKMI_amFjvD2G6lZs,117
|
42
|
-
dao_treasury/sorting/rules/ignore/llamapay.cp311-win32.pyd,sha256=7aUehf2QBmFHogKzrNN50hyGz1vI1gIBPj-oIdG8EvI,9216
|
43
|
-
dao_treasury/sorting/rules/ignore/llamapay.py,sha256=aYyAJRlmv419IeaqkcV5o3ffx0UVfteU0lTl80j0BGo,783
|
44
|
-
dao_treasury/sorting/rules/ignore/shitcoins.cp311-win32.pyd,sha256=xruQ_gaG8pkwJThFFubcjngj6yvv8zxQ9NHh1vSuyZE,9216
|
45
|
-
dao_treasury/sorting/rules/ignore/shitcoins.py,sha256=8zdwOSi46yJeASEu8M6Ji_zG36IM8Nbu0SSYtcl32u4,791
|
46
|
-
dao_treasury/streams/__init__.cp311-win32.pyd,sha256=K-qzzZNdIqdxjppqQucTwHf7bsxV_JRhyUtQIjFYVSs,9216
|
47
|
-
dao_treasury/streams/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
48
|
-
dao_treasury/streams/llamapay.cp311-win32.pyd,sha256=7gQGfbtKDVgALa0PihDuLjN2f6Ww_z0ieD79s0hVcIc,9216
|
49
|
-
dao_treasury/streams/llamapay.py,sha256=rO1Mh2ndTziR6pnRkKHnQ22a_Yx9PM_-BG7I4dspEZ8,13535
|
50
|
-
dao_treasury-0.0.39.dist-info/METADATA,sha256=-wDgbX3YfkykBjBD0ztk8uYjAl2GfGDOcOvHilFMlrY,7149
|
51
|
-
dao_treasury-0.0.39.dist-info/WHEEL,sha256=Ri8zddKrjGdgjlj1OpSsvpDnvHfnQhMQWi3E_v2pqng,97
|
52
|
-
dao_treasury-0.0.39.dist-info/top_level.txt,sha256=OJ9btLujcmz6HPYrhPuxnkTZ5Fl9uw584qBW96ZpkV4,41
|
53
|
-
dao_treasury-0.0.39.dist-info/RECORD,,
|
File without changes
|