primecli 0.2.1__tar.gz → 0.2.5__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.2.1 → primecli-0.2.5}/PKG-INFO +9 -6
- {primecli-0.2.1 → primecli-0.2.5}/README.md +8 -5
- {primecli-0.2.1 → primecli-0.2.5}/primecli/degenprime.py +293 -62
- {primecli-0.2.1 → primecli-0.2.5}/primecli/deltaprime.py +1057 -245
- {primecli-0.2.1 → primecli-0.2.5}/primecli.egg-info/PKG-INFO +9 -6
- {primecli-0.2.1 → primecli-0.2.5}/pyproject.toml +1 -1
- {primecli-0.2.1 → primecli-0.2.5}/LICENSE +0 -0
- {primecli-0.2.1 → primecli-0.2.5}/primecli/__init__.py +0 -0
- {primecli-0.2.1 → primecli-0.2.5}/primecli.egg-info/SOURCES.txt +0 -0
- {primecli-0.2.1 → primecli-0.2.5}/primecli.egg-info/dependency_links.txt +0 -0
- {primecli-0.2.1 → primecli-0.2.5}/primecli.egg-info/entry_points.txt +0 -0
- {primecli-0.2.1 → primecli-0.2.5}/primecli.egg-info/requires.txt +0 -0
- {primecli-0.2.1 → primecli-0.2.5}/primecli.egg-info/top_level.txt +0 -0
- {primecli-0.2.1 → primecli-0.2.5}/setup.cfg +0 -0
- {primecli-0.2.1 → primecli-0.2.5}/tests/test_redstone_encoding.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: primecli
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.5
|
|
4
4
|
Summary: Agent-friendly CLI tools for the DeltaPrime (Avalanche) and DegenPrime (Base) lending and leverage protocols. Preview-by-default; no Etherscan key required.
|
|
5
5
|
Author: Mnemosyne-quest contributors
|
|
6
6
|
License: MIT
|
|
@@ -63,12 +63,15 @@ Full threat model and trust assumptions: [docs/security.md](docs/security.md).
|
|
|
63
63
|
|
|
64
64
|
## Install
|
|
65
65
|
|
|
66
|
-
Requires Python 3.10+.
|
|
67
|
-
|
|
68
66
|
```bash
|
|
69
67
|
pip install primecli
|
|
70
68
|
```
|
|
71
69
|
|
|
70
|
+
Requires Python 3.10+. Step-by-step install + first-use walkthroughs:
|
|
71
|
+
|
|
72
|
+
- **Humans** new to Python CLI tools: [docs/install-humans.md](docs/install-humans.md).
|
|
73
|
+
- **AI agents** integrating the tool: [docs/install-agents.md](docs/install-agents.md).
|
|
74
|
+
|
|
72
75
|
From the latest `main` (ahead of the most recent release):
|
|
73
76
|
|
|
74
77
|
```bash
|
|
@@ -118,9 +121,9 @@ State-changing commands preview by default. Add `--execute` to broadcast.
|
|
|
118
121
|
|
|
119
122
|
| Group | Commands |
|
|
120
123
|
|-------|----------|
|
|
121
|
-
| Lending core | `pool-info [--json]`, `my-positions`, `deposit`, `withdraw`, `borrow`, `repay`, `fund` |
|
|
124
|
+
| Lending core | `pool-info [--json]`, `my-positions`, `deposit`, `withdraw` (24h delayed lender flow, step 1), `withdrawal-requests`, `execute-withdrawal-request --pool X [--index N]`, `cancel-withdrawal-request --pool X --index N`, `borrow`, `repay`, `fund` |
|
|
122
125
|
| Prime Account | `create-prime-account` (alias `create-account`), `prime-summary`, `defi --json`, `withdraw-collateral`, `withdrawal-intents`, `execute-withdrawal` |
|
|
123
|
-
| Swaps | `swap --from S --to S --amount N [--via yak\|paraswap] [--slippage P]
|
|
126
|
+
| Swaps | `swap --from S --to S --amount N [--via yak\|paraswap] [--slippage P]` (⚠️ `--via paraswap` blocked upstream, see [issue #2](https://github.com/Mnemosyne-quest/primecli/issues/2)), `swap-debt --from S --to S --amount N [--slippage P]` (⚠️ also blocked upstream — same allowlist) |
|
|
124
127
|
| GMX V2 LP (async, keeper-executed) | `gmx-positions`, `gmx-deposit --market M --amount N [--side long\|short]`, `gmx-withdraw --market M --amount N` |
|
|
125
128
|
| TraderJoe V2 LB | `lb-positions`, `lb-add --pair P --amount-x N --amount-y N [--shape spot\|curve\|bidask] [--range R]`, `lb-remove --pair P` |
|
|
126
129
|
| sJOE staking | `sjoe-position`, `sjoe-stake --amount N`, `sjoe-unstake --amount N`, `sjoe-claim` |
|
|
@@ -137,7 +140,7 @@ Full per-command reference: [docs/deltaprime-reference.md](docs/deltaprime-refer
|
|
|
137
140
|
|
|
138
141
|
| Group | Commands |
|
|
139
142
|
|-------|----------|
|
|
140
|
-
| Lending core | `pool-info [--json]`, `my-positions`, `deposit`, `withdraw`, `borrow`, `repay`, `fund` |
|
|
143
|
+
| Lending core | `pool-info [--json]`, `my-positions`, `deposit`, `withdraw` (24h delayed lender flow, step 1), `withdrawal-requests`, `execute-withdrawal-request --pool X [--index N]`, `cancel-withdrawal-request --pool X --index N`, `borrow`, `repay`, `fund` |
|
|
141
144
|
| Degen Account | `create-account`, `summary [--json]`, `withdraw-collateral`, `withdrawal-intents`, `execute-withdrawal`, `cancel-withdrawal` |
|
|
142
145
|
| Swaps | `swap --from S --to S --amount N [--slippage P]` (ParaSwap v6), `swap-debt --from S --to S --amount N` |
|
|
143
146
|
| Aerodrome (read-only in v1) | `aerodrome-positions` |
|
|
@@ -31,12 +31,15 @@ Full threat model and trust assumptions: [docs/security.md](docs/security.md).
|
|
|
31
31
|
|
|
32
32
|
## Install
|
|
33
33
|
|
|
34
|
-
Requires Python 3.10+.
|
|
35
|
-
|
|
36
34
|
```bash
|
|
37
35
|
pip install primecli
|
|
38
36
|
```
|
|
39
37
|
|
|
38
|
+
Requires Python 3.10+. Step-by-step install + first-use walkthroughs:
|
|
39
|
+
|
|
40
|
+
- **Humans** new to Python CLI tools: [docs/install-humans.md](docs/install-humans.md).
|
|
41
|
+
- **AI agents** integrating the tool: [docs/install-agents.md](docs/install-agents.md).
|
|
42
|
+
|
|
40
43
|
From the latest `main` (ahead of the most recent release):
|
|
41
44
|
|
|
42
45
|
```bash
|
|
@@ -86,9 +89,9 @@ State-changing commands preview by default. Add `--execute` to broadcast.
|
|
|
86
89
|
|
|
87
90
|
| Group | Commands |
|
|
88
91
|
|-------|----------|
|
|
89
|
-
| Lending core | `pool-info [--json]`, `my-positions`, `deposit`, `withdraw`, `borrow`, `repay`, `fund` |
|
|
92
|
+
| Lending core | `pool-info [--json]`, `my-positions`, `deposit`, `withdraw` (24h delayed lender flow, step 1), `withdrawal-requests`, `execute-withdrawal-request --pool X [--index N]`, `cancel-withdrawal-request --pool X --index N`, `borrow`, `repay`, `fund` |
|
|
90
93
|
| Prime Account | `create-prime-account` (alias `create-account`), `prime-summary`, `defi --json`, `withdraw-collateral`, `withdrawal-intents`, `execute-withdrawal` |
|
|
91
|
-
| Swaps | `swap --from S --to S --amount N [--via yak\|paraswap] [--slippage P]
|
|
94
|
+
| Swaps | `swap --from S --to S --amount N [--via yak\|paraswap] [--slippage P]` (⚠️ `--via paraswap` blocked upstream, see [issue #2](https://github.com/Mnemosyne-quest/primecli/issues/2)), `swap-debt --from S --to S --amount N [--slippage P]` (⚠️ also blocked upstream — same allowlist) |
|
|
92
95
|
| GMX V2 LP (async, keeper-executed) | `gmx-positions`, `gmx-deposit --market M --amount N [--side long\|short]`, `gmx-withdraw --market M --amount N` |
|
|
93
96
|
| TraderJoe V2 LB | `lb-positions`, `lb-add --pair P --amount-x N --amount-y N [--shape spot\|curve\|bidask] [--range R]`, `lb-remove --pair P` |
|
|
94
97
|
| sJOE staking | `sjoe-position`, `sjoe-stake --amount N`, `sjoe-unstake --amount N`, `sjoe-claim` |
|
|
@@ -105,7 +108,7 @@ Full per-command reference: [docs/deltaprime-reference.md](docs/deltaprime-refer
|
|
|
105
108
|
|
|
106
109
|
| Group | Commands |
|
|
107
110
|
|-------|----------|
|
|
108
|
-
| Lending core | `pool-info [--json]`, `my-positions`, `deposit`, `withdraw`, `borrow`, `repay`, `fund` |
|
|
111
|
+
| Lending core | `pool-info [--json]`, `my-positions`, `deposit`, `withdraw` (24h delayed lender flow, step 1), `withdrawal-requests`, `execute-withdrawal-request --pool X [--index N]`, `cancel-withdrawal-request --pool X --index N`, `borrow`, `repay`, `fund` |
|
|
109
112
|
| Degen Account | `create-account`, `summary [--json]`, `withdraw-collateral`, `withdrawal-intents`, `execute-withdrawal`, `cancel-withdrawal` |
|
|
110
113
|
| Swaps | `swap --from S --to S --amount N [--slippage P]` (ParaSwap v6), `swap-debt --from S --to S --amount N` |
|
|
111
114
|
| Aerodrome (read-only in v1) | `aerodrome-positions` |
|