@axonfi/sdk 0.3.1 → 0.3.3
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.
- package/README.md +9 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -109,7 +109,7 @@ const status = await axon.poll(result.requestId);
|
|
|
109
109
|
|
|
110
110
|
### In-Vault Swaps
|
|
111
111
|
|
|
112
|
-
Rebalance tokens inside your vault without withdrawing. Swap between any tokens on the vault's rebalance whitelist (set by the owner).
|
|
112
|
+
Rebalance tokens inside your vault without withdrawing. Swap between any tokens on the vault's rebalance whitelist (set by the owner). Each bot has a separate `maxRebalanceAmount` cap — independent from payment limits.
|
|
113
113
|
|
|
114
114
|
```typescript
|
|
115
115
|
const result = await axon.swap({
|
|
@@ -121,7 +121,7 @@ const result = await axon.swap({
|
|
|
121
121
|
|
|
122
122
|
### DeFi Protocol Execution
|
|
123
123
|
|
|
124
|
-
Interact with
|
|
124
|
+
Interact with DeFi and Web3 protocols (Uniswap, Aave, GMX, etc.) that need permission to access collateral from your vault. The bot signs an `ExecuteIntent` specifying the target contract and calldata. The relayer handles token approvals, execution, and revocation in a single atomic transaction. All executions are subject to the bot's per-transaction and daily spending limits.
|
|
125
125
|
|
|
126
126
|
```typescript
|
|
127
127
|
const result = await axon.execute({
|
|
@@ -176,13 +176,13 @@ Payments resolve through one of three paths:
|
|
|
176
176
|
|
|
177
177
|
## Chains
|
|
178
178
|
|
|
179
|
-
| Chain | ID | Status
|
|
180
|
-
| ------------ | ----- |
|
|
181
|
-
| Base
|
|
182
|
-
|
|
|
183
|
-
|
|
|
184
|
-
|
|
|
185
|
-
|
|
|
179
|
+
| Chain | ID | Status |
|
|
180
|
+
| ------------ | ----- | ----------- |
|
|
181
|
+
| Base Sepolia | 84532 | Live |
|
|
182
|
+
| Base | 8453 | Coming soon |
|
|
183
|
+
| Arbitrum One | 42161 | Coming soon |
|
|
184
|
+
| Optimism | 10 | Coming soon |
|
|
185
|
+
| Polygon PoS | 137 | Coming soon |
|
|
186
186
|
|
|
187
187
|
## Documentation
|
|
188
188
|
|