primecli 0.10.2__tar.gz → 0.10.3__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.10.2 → primecli-0.10.3}/PKG-INFO +2 -2
- {primecli-0.10.2 → primecli-0.10.3}/README.md +1 -1
- {primecli-0.10.2 → primecli-0.10.3}/primecli/arbprime.py +8 -0
- {primecli-0.10.2 → primecli-0.10.3}/primecli/degenprime.py +8 -0
- {primecli-0.10.2 → primecli-0.10.3}/primecli/deltaprime.py +8 -0
- {primecli-0.10.2 → primecli-0.10.3}/primecli.egg-info/PKG-INFO +2 -2
- {primecli-0.10.2 → primecli-0.10.3}/pyproject.toml +1 -1
- {primecli-0.10.2 → primecli-0.10.3}/LICENSE +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/primecli/__init__.py +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/primecli/_flowledger.py +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/primecli/_wallets.py +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/primecli/bridge.py +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/primecli/health_monitor.py +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/primecli.egg-info/SOURCES.txt +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/primecli.egg-info/dependency_links.txt +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/primecli.egg-info/entry_points.txt +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/primecli.egg-info/requires.txt +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/primecli.egg-info/top_level.txt +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/setup.cfg +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/tests/test_aero_range_and_swap_fallback.py +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/tests/test_aero_rebalance.py +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/tests/test_bridge.py +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/tests/test_cross_file_identity.py +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/tests/test_flowledger_transferred_amount.py +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/tests/test_gas_limit.py +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/tests/test_gas_pricing.py +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/tests/test_health_meter.py +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/tests/test_health_monitor.py +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/tests/test_paraswap_validator.py +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/tests/test_redstone_encoding.py +0 -0
- {primecli-0.10.2 → primecli-0.10.3}/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.10.
|
|
3
|
+
Version: 0.10.3
|
|
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.10.
|
|
50
|
+
**Current version:** 0.10.3 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.10.
|
|
19
|
+
**Current version:** 0.10.3 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
|
|
|
@@ -1904,6 +1904,14 @@ def cmd_create_prime_account(execute: bool = False, fund_pool: str = None, fund_
|
|
|
1904
1904
|
time.sleep(2)
|
|
1905
1905
|
if pa:
|
|
1906
1906
|
print(f" Prime Account: {pa}")
|
|
1907
|
+
if funding:
|
|
1908
|
+
# Seed deposit: createAndFundLoan does transferFrom(EOA, factory, amount)
|
|
1909
|
+
# — the FULL amount or it reverts (can't be partial), so the requested
|
|
1910
|
+
# amount is exact. Log it live so the PnL basis is captured without a
|
|
1911
|
+
# later rescan. token_addr left None (the ERC20 Transfer routes
|
|
1912
|
+
# EOA->factory->account, not directly EOA->account), so the exact
|
|
1913
|
+
# requested amount is logged; the backfill dedupes on (tx, asset, type).
|
|
1914
|
+
_log_fund_flow(pa, symbol, fund_amount, receipt)
|
|
1907
1915
|
else:
|
|
1908
1916
|
print(" Prime Account: created — getLoanForOwner not propagated yet, run 'my-positions' shortly.")
|
|
1909
1917
|
|
|
@@ -1941,6 +1941,14 @@ def cmd_create_account(execute: bool = False, fund_pool: str = None, fund_amount
|
|
|
1941
1941
|
time.sleep(2)
|
|
1942
1942
|
if pa:
|
|
1943
1943
|
print(f" Degen Account: {pa}")
|
|
1944
|
+
if funding:
|
|
1945
|
+
# Seed deposit: createAndFundLoan does transferFrom(EOA, factory, amount)
|
|
1946
|
+
# — the FULL amount or it reverts (can't be partial), so the requested
|
|
1947
|
+
# amount is exact. Log it live so the PnL basis is captured without a
|
|
1948
|
+
# later rescan. token_addr left None (the ERC20 Transfer routes
|
|
1949
|
+
# EOA->factory->account, not directly EOA->account), so the exact
|
|
1950
|
+
# requested amount is logged; the backfill dedupes on (tx, asset, type).
|
|
1951
|
+
_log_fund_flow(pa, symbol, fund_amount, receipt)
|
|
1944
1952
|
else:
|
|
1945
1953
|
print(" Degen Account: created - getLoansForOwner not propagated yet, run 'my-positions' shortly.")
|
|
1946
1954
|
|
|
@@ -1923,6 +1923,14 @@ def cmd_create_prime_account(execute: bool = False, fund_pool: str = None, fund_
|
|
|
1923
1923
|
time.sleep(2)
|
|
1924
1924
|
if pa:
|
|
1925
1925
|
print(f" Prime Account: {pa}")
|
|
1926
|
+
if funding:
|
|
1927
|
+
# Seed deposit: createAndFundLoan does transferFrom(EOA, factory, amount)
|
|
1928
|
+
# — the FULL amount or it reverts (can't be partial), so the requested
|
|
1929
|
+
# amount is exact. Log it live so the PnL basis is captured without a
|
|
1930
|
+
# later rescan. token_addr left None (the ERC20 Transfer routes
|
|
1931
|
+
# EOA->factory->account, not directly EOA->account), so the exact
|
|
1932
|
+
# requested amount is logged; the backfill dedupes on (tx, asset, type).
|
|
1933
|
+
_log_fund_flow(pa, symbol, fund_amount, receipt)
|
|
1926
1934
|
else:
|
|
1927
1935
|
print(" Prime Account: created — getLoanForOwner not propagated yet, run 'my-positions' shortly.")
|
|
1928
1936
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: primecli
|
|
3
|
-
Version: 0.10.
|
|
3
|
+
Version: 0.10.3
|
|
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.10.
|
|
50
|
+
**Current version:** 0.10.3 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
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "primecli"
|
|
7
|
-
version = "0.10.
|
|
7
|
+
version = "0.10.3"
|
|
8
8
|
description = "Agent-friendly CLI tools for the DeltaPrime (Avalanche + Arbitrum) and DegenPrime (Base) lending and leverage protocols. Preview-by-default; no Etherscan key required."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|