eth-portfolio-temp 0.2.1.dev0__tar.gz → 0.2.2.dev0__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 eth-portfolio-temp might be problematic. Click here for more details.
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/PKG-INFO +1 -1
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/exporter.rst +3 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/_portfolio.py +29 -26
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/balances.py +5 -1
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/main.py +6 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_temp.egg-info/PKG-INFO +1 -1
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/.env.sample +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/.github/workflows/black.yaml +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/.github/workflows/compile.yaml +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/.github/workflows/deploy_docs.yaml +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/.github/workflows/mypy.yaml +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/.github/workflows/release.yaml +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/.gitignore +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/Makefile +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/README.md +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/brownie-config.yaml +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/Makefile +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/_build/html/_static/alabaster.css +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/_build/html/_static/basic.css +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/_build/html/_static/custom.css +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/_build/html/_static/doctools.js +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/_build/html/_static/documentation_options.js +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/_build/html/_static/file.png +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/_build/html/_static/language_data.js +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/_build/html/_static/minus.png +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/_build/html/_static/plus.png +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/_build/html/_static/pygments.css +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/_build/html/_static/searchtools.js +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/_build/html/_static/sphinx_highlight.js +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/caching.rst +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/conf.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/index.rst +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/make.bat +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/new-protocols.rst +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/__init__.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_argspec.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_cache.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_config.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_db/__init__.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_db/decorators.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_db/entities.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_db/utils.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_decimal.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_decorators.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_exceptions.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_ledgers/__init__.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_ledgers/address.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_ledgers/portfolio.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_loaders/__init__.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_loaders/_nonce.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_loaders/balances.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_loaders/token_transfer.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_loaders/transaction.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_loaders/utils.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_shitcoins.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_stableish.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_submodules.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_utils.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_ydb/__init__.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_ydb/token_transfers.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/address.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/buckets.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/constants.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/portfolio.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/protocols/__init__.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/protocols/_base.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/protocols/convex.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/protocols/dsr.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/protocols/lending/README.md +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/protocols/lending/__init__.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/protocols/lending/_base.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/protocols/lending/compound.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/protocols/lending/liquity.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/protocols/lending/maker.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/protocols/lending/unit.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/protocols/liquity.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/py.typed +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/structs/__init__.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/structs/modified.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/structs/structs.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/typing/__init__.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/typing/balance/single.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/__init__.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/_args.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/_logging.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/_utils.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/docker/.grafana/dashboards/Portfolio/Balances.json +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/docker/.grafana/dashboards/dashboards.yaml +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/docker/.grafana/datasources/datasources.yml +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/docker/__init__.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/docker/check.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/docker/docker-compose.yaml +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/docker/docker_compose.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/py.typed +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/victoria/__init__.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/victoria/types.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_temp.egg-info/SOURCES.txt +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_temp.egg-info/dependency_links.txt +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_temp.egg-info/entry_points.txt +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_temp.egg-info/not-zip-safe +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_temp.egg-info/requires.txt +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_temp.egg-info/top_level.txt +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/pyproject.toml +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/renovate.json +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/requirements.txt +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/setup.cfg +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/setup.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/tests/_test_completeness.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/tests/conftest.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/tests/fixtures.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/tests/protocols/test_external.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/tests/scripts/test_utils.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/tests/test_portfolio.py +0 -0
- {eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/tests/test_typing.py +0 -0
|
@@ -33,6 +33,9 @@ The Portfolio Exporter supports several command-line options to customize its be
|
|
|
33
33
|
- ``--interval <interval>``
|
|
34
34
|
The time interval between datapoints. default: 6h
|
|
35
35
|
|
|
36
|
+
- ``--concurrency <concurrency>``
|
|
37
|
+
The max number of historical blocks to export concurrently. default: 60
|
|
38
|
+
|
|
36
39
|
- ``--first-tx-block <block>``
|
|
37
40
|
The block of your portfolio's first transaction, if known. This value, if provided, allows us to speed up processing of your data by limiting the block range we need to query. If not provided, the whole blockchain will be scanned. default: 0
|
|
38
41
|
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/_portfolio.py
RENAMED
|
@@ -40,8 +40,10 @@ class ExportablePortfolio(Portfolio):
|
|
|
40
40
|
def __init__(
|
|
41
41
|
self,
|
|
42
42
|
addresses: Addresses,
|
|
43
|
+
*,
|
|
43
44
|
start_block: int = 0,
|
|
44
45
|
label: str = _DEFAULT_LABEL,
|
|
46
|
+
concurrency: int = 60,
|
|
45
47
|
load_prices: bool = True,
|
|
46
48
|
get_bucket: Callable[[ChecksumAddress], Awaitable[str]] = get_token_bucket,
|
|
47
49
|
num_workers_transactions: int = 1000,
|
|
@@ -51,6 +53,7 @@ class ExportablePortfolio(Portfolio):
|
|
|
51
53
|
addresses, start_block, label, load_prices, num_workers_transactions, asynchronous
|
|
52
54
|
)
|
|
53
55
|
self.get_bucket = get_bucket
|
|
56
|
+
self._semaphore = a_sync.Semaphore(concurrency)
|
|
54
57
|
|
|
55
58
|
@cached_property
|
|
56
59
|
def _data_queries(self) -> Tuple[str, str]:
|
|
@@ -88,36 +91,36 @@ class ExportablePortfolio(Portfolio):
|
|
|
88
91
|
except Exception as e:
|
|
89
92
|
log_error("Error processing %s:", dt, exc_info=True)
|
|
90
93
|
|
|
91
|
-
@a_sync.Semaphore(60)
|
|
92
94
|
async def get_data_for_export(self, block: BlockNumber, ts: datetime) -> List[victoria.Metric]:
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
for
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
await self.__process_token(ts, section, wallet, token, bals)
|
|
105
|
-
)
|
|
106
|
-
elif isinstance(section_data, RemoteTokenBalances):
|
|
107
|
-
if section == "external":
|
|
108
|
-
section = "assets"
|
|
109
|
-
for protocol, token_bals in section_data.items():
|
|
110
|
-
for token, bals in dict.items(token_bals):
|
|
95
|
+
async with self._semaphore:
|
|
96
|
+
print(f"exporting {ts} for {self.label}")
|
|
97
|
+
start = datetime.now(tz=timezone.utc)
|
|
98
|
+
|
|
99
|
+
metrics_to_export = []
|
|
100
|
+
data: PortfolioBalances = await self.describe(block, sync=False)
|
|
101
|
+
|
|
102
|
+
for wallet, wallet_data in dict.items(data):
|
|
103
|
+
for section, section_data in wallet_data.items():
|
|
104
|
+
if isinstance(section_data, TokenBalances):
|
|
105
|
+
for token, bals in dict.items(section_data):
|
|
111
106
|
metrics_to_export.extend(
|
|
112
|
-
await self.__process_token(
|
|
113
|
-
ts, section, wallet, token, bals, protocol=protocol
|
|
114
|
-
)
|
|
107
|
+
await self.__process_token(ts, section, wallet, token, bals)
|
|
115
108
|
)
|
|
116
|
-
|
|
117
|
-
|
|
109
|
+
elif isinstance(section_data, RemoteTokenBalances):
|
|
110
|
+
if section == "external":
|
|
111
|
+
section = "assets"
|
|
112
|
+
for protocol, token_bals in section_data.items():
|
|
113
|
+
for token, bals in dict.items(token_bals):
|
|
114
|
+
metrics_to_export.extend(
|
|
115
|
+
await self.__process_token(
|
|
116
|
+
ts, section, wallet, token, bals, protocol=protocol
|
|
117
|
+
)
|
|
118
|
+
)
|
|
119
|
+
else:
|
|
120
|
+
raise NotImplementedError()
|
|
118
121
|
|
|
119
|
-
|
|
120
|
-
|
|
122
|
+
print(f"got data for {ts} in {datetime.now(tz=timezone.utc) - start}")
|
|
123
|
+
return metrics_to_export
|
|
121
124
|
|
|
122
125
|
def __get_data_exists_coros(self, dt: datetime) -> Iterator[str]:
|
|
123
126
|
for query in self._data_queries:
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/balances.py
RENAMED
|
@@ -26,7 +26,11 @@ async def export_balances(args: Namespace) -> None:
|
|
|
26
26
|
|
|
27
27
|
interval = parse_timedelta(args.interval)
|
|
28
28
|
portfolio = ExportablePortfolio(
|
|
29
|
-
args.wallet,
|
|
29
|
+
args.wallet,
|
|
30
|
+
label=args.label,
|
|
31
|
+
start_block=args.first_tx_block,
|
|
32
|
+
concurrency=args.concurrency,
|
|
33
|
+
load_prices=False,
|
|
30
34
|
)
|
|
31
35
|
|
|
32
36
|
if export_start_block := args.export_start_block or args.first_tx_block:
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/main.py
RENAMED
|
@@ -54,6 +54,12 @@ export_parser.add_argument(
|
|
|
54
54
|
help="The time interval between datapoints. default: 6h",
|
|
55
55
|
default="6h",
|
|
56
56
|
)
|
|
57
|
+
export_parser.add_argument(
|
|
58
|
+
"--concurrency",
|
|
59
|
+
type=int,
|
|
60
|
+
help="The max number of historical blocks to export concurrently. default: 60",
|
|
61
|
+
default=60,
|
|
62
|
+
)
|
|
57
63
|
export_parser.add_argument(
|
|
58
64
|
"--first-tx-block",
|
|
59
65
|
type=int,
|
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/.github/workflows/black.yaml
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/.github/workflows/compile.yaml
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/.github/workflows/deploy_docs.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/.github/workflows/release.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/_build/html/_static/basic.css
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/_build/html/_static/custom.css
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/_build/html/_static/doctools.js
RENAMED
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/_build/html/_static/file.png
RENAMED
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/_build/html/_static/minus.png
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/docs/_build/html/_static/plus.png
RENAMED
|
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
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_db/__init__.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_db/decorators.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_db/entities.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_decorators.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_exceptions.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_ledgers/__init__.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_ledgers/address.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_ledgers/portfolio.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_loaders/__init__.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_loaders/_nonce.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_loaders/balances.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_loaders/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_submodules.py
RENAMED
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/_ydb/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/protocols/__init__.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/protocols/_base.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/protocols/convex.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/protocols/dsr.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/protocols/liquity.py
RENAMED
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/structs/__init__.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/structs/modified.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/structs/structs.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio/typing/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/__init__.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/_args.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/_logging.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/eth_portfolio_scripts/py.typed
RENAMED
|
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
|
{eth_portfolio_temp-0.2.1.dev0 → eth_portfolio_temp-0.2.2.dev0}/tests/protocols/test_external.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|