primecli 0.8.0__tar.gz → 0.9.0__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.
- {primecli-0.8.0 → primecli-0.9.0}/PKG-INFO +2 -2
- {primecli-0.8.0 → primecli-0.9.0}/README.md +1 -1
- {primecli-0.8.0 → primecli-0.9.0}/primecli/arbprime.py +1 -1
- {primecli-0.8.0 → primecli-0.9.0}/primecli/degenprime.py +1273 -124
- {primecli-0.8.0 → primecli-0.9.0}/primecli/deltaprime.py +1 -1
- primecli-0.9.0/primecli/health_monitor.py +1316 -0
- {primecli-0.8.0 → primecli-0.9.0}/primecli.egg-info/PKG-INFO +2 -2
- {primecli-0.8.0 → primecli-0.9.0}/primecli.egg-info/SOURCES.txt +1 -0
- {primecli-0.8.0 → primecli-0.9.0}/pyproject.toml +1 -1
- primecli-0.9.0/tests/test_aero_rebalance.py +125 -0
- {primecli-0.8.0 → primecli-0.9.0}/tests/test_health_meter.py +114 -0
- primecli-0.9.0/tests/test_health_monitor.py +800 -0
- primecli-0.8.0/primecli/health_monitor.py +0 -834
- primecli-0.8.0/tests/test_health_monitor.py +0 -343
- {primecli-0.8.0 → primecli-0.9.0}/LICENSE +0 -0
- {primecli-0.8.0 → primecli-0.9.0}/primecli/__init__.py +0 -0
- {primecli-0.8.0 → primecli-0.9.0}/primecli.egg-info/dependency_links.txt +0 -0
- {primecli-0.8.0 → primecli-0.9.0}/primecli.egg-info/entry_points.txt +0 -0
- {primecli-0.8.0 → primecli-0.9.0}/primecli.egg-info/requires.txt +0 -0
- {primecli-0.8.0 → primecli-0.9.0}/primecli.egg-info/top_level.txt +0 -0
- {primecli-0.8.0 → primecli-0.9.0}/setup.cfg +0 -0
- {primecli-0.8.0 → primecli-0.9.0}/tests/test_cross_file_identity.py +0 -0
- {primecli-0.8.0 → primecli-0.9.0}/tests/test_gas_limit.py +0 -0
- {primecli-0.8.0 → primecli-0.9.0}/tests/test_gas_pricing.py +0 -0
- {primecli-0.8.0 → primecli-0.9.0}/tests/test_paraswap_validator.py +0 -0
- {primecli-0.8.0 → primecli-0.9.0}/tests/test_redstone_encoding.py +0 -0
- {primecli-0.8.0 → primecli-0.9.0}/tests/test_to_wei_units.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: primecli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.9.0
|
|
4
4
|
Summary: Agent-friendly CLI tools for the DeltaPrime (Avalanche + Arbitrum) and DegenPrime (Base) lending and leverage protocols. Preview-by-default; no Etherscan key required.
|
|
5
5
|
Author: Mnemosyne-quest contributors
|
|
6
6
|
License: MIT
|
|
@@ -47,7 +47,7 @@ Built for agent use:
|
|
|
47
47
|
- RedStone-signed solvency math handled internally, with a regression test pinning the half-boundary `toFixed(8)` encoding.
|
|
48
48
|
- ParaSwap calldata validated client-side against the on-chain executor allowlist before broadcast.
|
|
49
49
|
|
|
50
|
-
**Current version:** 0.
|
|
50
|
+
**Current version:** 0.9.0 The 0.x line is pre-1.0, so breaking changes are possible. See [Releases](https://github.com/Mnemosyne-quest/primecli/releases).
|
|
51
51
|
|
|
52
52
|
> **Breaking change in 0.5.0:** there is no longer a default signing key. Earlier versions silently fell back to a baked-in agent when no key was configured; that fallback has been removed. With no key configured, every command now fails closed with `No signing key found...`. Set a key explicitly (see [Configuration](#configuration)).
|
|
53
53
|
|
|
@@ -16,7 +16,7 @@ Built for agent use:
|
|
|
16
16
|
- RedStone-signed solvency math handled internally, with a regression test pinning the half-boundary `toFixed(8)` encoding.
|
|
17
17
|
- ParaSwap calldata validated client-side against the on-chain executor allowlist before broadcast.
|
|
18
18
|
|
|
19
|
-
**Current version:** 0.
|
|
19
|
+
**Current version:** 0.9.0 The 0.x line is pre-1.0, so breaking changes are possible. See [Releases](https://github.com/Mnemosyne-quest/primecli/releases).
|
|
20
20
|
|
|
21
21
|
> **Breaking change in 0.5.0:** there is no longer a default signing key. Earlier versions silently fell back to a baked-in agent when no key was configured; that fallback has been removed. With no key configured, every command now fails closed with `No signing key found...`. Set a key explicitly (see [Configuration](#configuration)).
|
|
22
22
|
|
|
@@ -2364,7 +2364,7 @@ def cmd_repay(pool_name: str, amount: float, execute: bool = False):
|
|
|
2364
2364
|
f"(total {in_acct_wei / 10**cfg['decimals']:.6f} minus "
|
|
2365
2365
|
f"{total_intent_wei / 10**cfg['decimals']:.6f} pending withdrawal intent) — "
|
|
2366
2366
|
f"swap into {symbol} first or wait for intents to mature.")
|
|
2367
|
-
|
|
2367
|
+
sys.exit(2)
|
|
2368
2368
|
cap_notes = []
|
|
2369
2369
|
if amount_wei < requested_wei:
|
|
2370
2370
|
if available_wei < min(requested_wei, debt_wei):
|