@orbs-network/spot 2.7.2 → 2.8.1
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 +5 -4
- package/config.json +21 -14
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -208,9 +208,10 @@ This repository ships these integration surfaces:
|
|
|
208
208
|
|
|
209
209
|
1. Root package `@orbs-network/spot` for config, build orchestration, contracts, and published metadata inputs.
|
|
210
210
|
2. Self-contained skill package [`skill/`](./skill/) published as `@orbs-network/spot-skill`.
|
|
211
|
-
3.
|
|
212
|
-
4. Hosted
|
|
213
|
-
5. Hosted
|
|
211
|
+
3. Skills-only OpenAI plugin artifact generated with `npm run plugin:build` for marketplace testing and submission.
|
|
212
|
+
4. Hosted MCP endpoint at [`https://agents-sink.orbs.network/mcp`](https://agents-sink.orbs.network/mcp).
|
|
213
|
+
5. Hosted raw files at [`https://orbs-network.github.io/spot/`](https://orbs-network.github.io/spot/) for direct bundle consumption.
|
|
214
|
+
6. Hosted skill distribution on [Clawhub](https://clawhub.ai/eranp-orbs/spot-advanced-swap-orders) for direct skill discovery.
|
|
214
215
|
|
|
215
216
|
## Development
|
|
216
217
|
|
|
@@ -224,7 +225,7 @@ npm run fmt
|
|
|
224
225
|
Notes:
|
|
225
226
|
|
|
226
227
|
1. `npm run build` runs `npm run sync` and then `forge build --extra-output-files abi`.
|
|
227
|
-
2.
|
|
228
|
+
2. `npm run plugin:build` generates the untracked plugin bundle at `dist/spot/`.
|
|
228
229
|
3. Use `forge test` for the Foundry suite.
|
|
229
230
|
|
|
230
231
|
## Contributing
|
package/config.json
CHANGED
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
"refinery": "0x9746de29f1dd31b2c8460d71e92a7aefa34911130e61f274f37776e598c48bec",
|
|
16
16
|
"agentAdapter": "0xf6d54cf6a0619f1fb8e1ded91d4c23e7bb9f498c56735fb0c7669423c766219f",
|
|
17
17
|
"agentFee": "0x151234279af18acc113f70463977058efa2e598b5bfc0c106c75fd638d344c0a",
|
|
18
|
+
"unknownAdapter": "0x1aa43154c4be61f2790f139ef440a68806cfbbb86d0dc5e2704937cd93cbafc4",
|
|
19
|
+
"unknownFee": "0x429599ae7495b3e6a93b88d653ac97772fb130b0b74e755d9d215912a252cb7e",
|
|
18
20
|
"utilaAdapter": "0x7671291910b559d7a05ab73ee31dd714d9c6e7b065c9496338bf427182ae5145",
|
|
19
21
|
"utilaFee": "0x46f797cddb221ecf6279b56f52e2f6360cd721ef95bd5a17dd0ffceffaaf7fd6",
|
|
20
22
|
"efAdapter": "0xa5425e0f84a7cf12c4213f57396810d808d88e43a65210786bd0d9a98a314728",
|
|
@@ -28,6 +30,11 @@
|
|
|
28
30
|
"adapter": "0x0002BeFB46587d460AcEA9B2792c4A4c67B9cADa",
|
|
29
31
|
"fee": "0x0006d9557Ac9Af4f31962896299ba4FaBDaB9fEE"
|
|
30
32
|
},
|
|
33
|
+
"unknown": {
|
|
34
|
+
"type": "universal",
|
|
35
|
+
"adapter": "0xada00982E8a888a6aa9BFb270591cb54cE7190d0",
|
|
36
|
+
"fee": "0xfEe00C84894160d582860D76cd7e896d96DBD3d5"
|
|
37
|
+
},
|
|
31
38
|
"utila": {
|
|
32
39
|
"type": "universal",
|
|
33
40
|
"adapter": "0x000ADa14B2ECF45Da6Cf1B33dE34e05231E9C76f",
|
|
@@ -56,7 +63,7 @@
|
|
|
56
63
|
"Sushi": "0x11985E88847aEC23D1C3BCD77Ca0F4A704aB751c",
|
|
57
64
|
"Ring": "0x47e27973dA3e16dB13F8b713877b3A31623E0E5B",
|
|
58
65
|
"Kyber": "0x6bbE14b2205a87FA0EAdE5f0795C7bb16B5347EA",
|
|
59
|
-
"Magpie": "
|
|
66
|
+
"Magpie": "0x370AC766279eCD03dc1D8eb0E5A632a24A255EAb",
|
|
60
67
|
"OpenOcean": "0x2Be5260d030ff9A6040bA4292326B796ff1a055d",
|
|
61
68
|
"Paraswap": "0x777A3e65a5473148D5d7abdFD2BB5bFB61b6432f"
|
|
62
69
|
},
|
|
@@ -82,7 +89,7 @@
|
|
|
82
89
|
"Nordstern": "0x1D06d98D523F8B51AD693D4A22fb97fCf0838d83",
|
|
83
90
|
"Sushi": "0x11985E88847aEC23D1C3BCD77Ca0F4A704aB751c",
|
|
84
91
|
"Kyber": "0x6bbE14b2205a87FA0EAdE5f0795C7bb16B5347EA",
|
|
85
|
-
"Magpie": "
|
|
92
|
+
"Magpie": "0x370AC766279eCD03dc1D8eb0E5A632a24A255EAb",
|
|
86
93
|
"OpenOcean": "0x2Be5260d030ff9A6040bA4292326B796ff1a055d",
|
|
87
94
|
"Paraswap": "0x777A3e65a5473148D5d7abdFD2BB5bFB61b6432f"
|
|
88
95
|
},
|
|
@@ -95,7 +102,7 @@
|
|
|
95
102
|
"Ring": "0x47e27973dA3e16dB13F8b713877b3A31623E0E5B",
|
|
96
103
|
"Topaz": "0x2Be5260d030ff9A6040bA4292326B796ff1a055d",
|
|
97
104
|
"Kyber": "0x6bbE14b2205a87FA0EAdE5f0795C7bb16B5347EA",
|
|
98
|
-
"Magpie": "
|
|
105
|
+
"Magpie": "0x370AC766279eCD03dc1D8eb0E5A632a24A255EAb",
|
|
99
106
|
"OpenOcean": "0x2Be5260d030ff9A6040bA4292326B796ff1a055d",
|
|
100
107
|
"Paraswap": "0x777A3e65a5473148D5d7abdFD2BB5bFB61b6432f",
|
|
101
108
|
"Sushi": "0xA985f801ea74321AdcC9Ef88B394858CbA3F71ba"
|
|
@@ -134,7 +141,7 @@
|
|
|
134
141
|
"adapter": {
|
|
135
142
|
"Nordstern": "0xEAEEdF2b8818970356212d5C2f449E2BE68D6800",
|
|
136
143
|
"OpenOcean": "0xc7f07C830e22FCA94bF52F38C6707F9D396c6172",
|
|
137
|
-
"Magpie": "
|
|
144
|
+
"Magpie": "0x370AC766279eCD03dc1D8eb0E5A632a24A255EAb",
|
|
138
145
|
"Kyber": "0x6bbE14b2205a87FA0EAdE5f0795C7bb16B5347EA",
|
|
139
146
|
"Sushi": "0xA985f801ea74321AdcC9Ef88B394858CbA3F71ba",
|
|
140
147
|
"Paraswap": "0x777A3e65a5473148D5d7abdFD2BB5bFB61b6432f"
|
|
@@ -168,7 +175,7 @@
|
|
|
168
175
|
"Nordstern": "0xf065b4bFa073b5A0A3eb254D67cbc5118D8B0Ea7",
|
|
169
176
|
"Paraswap": "0x179C4b8e982b5F1365d36CC8d0c1CEB621B7198D",
|
|
170
177
|
"Kyber": "0x6bbE14b2205a87FA0EAdE5f0795C7bb16B5347EA",
|
|
171
|
-
"Magpie": "
|
|
178
|
+
"Magpie": "0x370AC766279eCD03dc1D8eb0E5A632a24A255EAb",
|
|
172
179
|
"OpenOcean": "0x2Be5260d030ff9A6040bA4292326B796ff1a055d",
|
|
173
180
|
"Sushi": "0xA985f801ea74321AdcC9Ef88B394858CbA3F71ba"
|
|
174
181
|
},
|
|
@@ -194,7 +201,7 @@
|
|
|
194
201
|
"Nordstern": "0x763Fb927d181bCE8be779794A030BCE45D4869fA",
|
|
195
202
|
"Ring": "0x47e27973dA3e16dB13F8b713877b3A31623E0E5B",
|
|
196
203
|
"Kyber": "0x6bbE14b2205a87FA0EAdE5f0795C7bb16B5347EA",
|
|
197
|
-
"Magpie": "
|
|
204
|
+
"Magpie": "0x370AC766279eCD03dc1D8eb0E5A632a24A255EAb",
|
|
198
205
|
"OpenOcean": "0x2Be5260d030ff9A6040bA4292326B796ff1a055d",
|
|
199
206
|
"Paraswap": "0x777A3e65a5473148D5d7abdFD2BB5bFB61b6432f"
|
|
200
207
|
},
|
|
@@ -216,7 +223,7 @@
|
|
|
216
223
|
"TrebleSwap": "0x6f4938535879c668A797F2a6e9B912c54f9D43Cf",
|
|
217
224
|
"Sushi": "0x11985E88847aEC23D1C3BCD77Ca0F4A704aB751c",
|
|
218
225
|
"Ring": "0x47e27973dA3e16dB13F8b713877b3A31623E0E5B",
|
|
219
|
-
"Magpie": "
|
|
226
|
+
"Magpie": "0x370AC766279eCD03dc1D8eb0E5A632a24A255EAb",
|
|
220
227
|
"OpenOcean": "0x2Be5260d030ff9A6040bA4292326B796ff1a055d",
|
|
221
228
|
"Paraswap": "0x777A3e65a5473148D5d7abdFD2BB5bFB61b6432f"
|
|
222
229
|
},
|
|
@@ -266,7 +273,7 @@
|
|
|
266
273
|
"OpenOcean": "0xd2e68b1d1C5DBB2D6cC396c10C55017e01309C37",
|
|
267
274
|
"Kyber": "0x6bbE14b2205a87FA0EAdE5f0795C7bb16B5347EA",
|
|
268
275
|
"Sushi": "0xA985f801ea74321AdcC9Ef88B394858CbA3F71ba",
|
|
269
|
-
"Magpie": "
|
|
276
|
+
"Magpie": "0x370AC766279eCD03dc1D8eb0E5A632a24A255EAb"
|
|
270
277
|
},
|
|
271
278
|
"dex": {
|
|
272
279
|
"pancake": {
|
|
@@ -294,7 +301,7 @@
|
|
|
294
301
|
"Sushi": "0x11985E88847aEC23D1C3BCD77Ca0F4A704aB751c",
|
|
295
302
|
"Ring": "0x47e27973dA3e16dB13F8b713877b3A31623E0E5B",
|
|
296
303
|
"Kyber": "0x6bbE14b2205a87FA0EAdE5f0795C7bb16B5347EA",
|
|
297
|
-
"Magpie": "
|
|
304
|
+
"Magpie": "0x370AC766279eCD03dc1D8eb0E5A632a24A255EAb",
|
|
298
305
|
"OpenOcean": "0x2Be5260d030ff9A6040bA4292326B796ff1a055d"
|
|
299
306
|
},
|
|
300
307
|
"dex": {
|
|
@@ -340,7 +347,7 @@
|
|
|
340
347
|
"adapter": {
|
|
341
348
|
"Nordstern": "0x1D06d98D523F8B51AD693D4A22fb97fCf0838d83",
|
|
342
349
|
"Kyber": "0x6f4e5b8d7F6b037c62277992c39E7834D7C04596",
|
|
343
|
-
"Magpie": "
|
|
350
|
+
"Magpie": "0x370AC766279eCD03dc1D8eb0E5A632a24A255EAb",
|
|
344
351
|
"OpenOcean": "0x2Be5260d030ff9A6040bA4292326B796ff1a055d",
|
|
345
352
|
"Paraswap": "0x777A3e65a5473148D5d7abdFD2BB5bFB61b6432f",
|
|
346
353
|
"Sushi": "0xA985f801ea74321AdcC9Ef88B394858CbA3F71ba"
|
|
@@ -368,7 +375,7 @@
|
|
|
368
375
|
"Ring": "0x47e27973dA3e16dB13F8b713877b3A31623E0E5B",
|
|
369
376
|
"Kyber": "0x6bbE14b2205a87FA0EAdE5f0795C7bb16B5347EA",
|
|
370
377
|
"OpenOcean": "0x2Be5260d030ff9A6040bA4292326B796ff1a055d",
|
|
371
|
-
"Magpie": "
|
|
378
|
+
"Magpie": "0x370AC766279eCD03dc1D8eb0E5A632a24A255EAb",
|
|
372
379
|
"Sushi": "0xA985f801ea74321AdcC9Ef88B394858CbA3F71ba"
|
|
373
380
|
},
|
|
374
381
|
"dex": {
|
|
@@ -385,7 +392,7 @@
|
|
|
385
392
|
"adapter": {
|
|
386
393
|
"Ring": "0x47e27973dA3e16dB13F8b713877b3A31623E0E5B",
|
|
387
394
|
"Kyber": "0x6bbE14b2205a87FA0EAdE5f0795C7bb16B5347EA",
|
|
388
|
-
"Magpie": "
|
|
395
|
+
"Magpie": "0x370AC766279eCD03dc1D8eb0E5A632a24A255EAb",
|
|
389
396
|
"Sushi": "0xA985f801ea74321AdcC9Ef88B394858CbA3F71ba"
|
|
390
397
|
},
|
|
391
398
|
"dex": {
|
|
@@ -404,7 +411,7 @@
|
|
|
404
411
|
"Kodiak": "0xcB16237c88A859d46Ae850B97d7D1bdECF482C06",
|
|
405
412
|
"Kyber": "0x6bbE14b2205a87FA0EAdE5f0795C7bb16B5347EA",
|
|
406
413
|
"OpenOcean": "0x2Be5260d030ff9A6040bA4292326B796ff1a055d",
|
|
407
|
-
"Magpie": "
|
|
414
|
+
"Magpie": "0x370AC766279eCD03dc1D8eb0E5A632a24A255EAb",
|
|
408
415
|
"Sushi": "0xA985f801ea74321AdcC9Ef88B394858CbA3F71ba"
|
|
409
416
|
},
|
|
410
417
|
"dex": {
|
|
@@ -461,7 +468,7 @@
|
|
|
461
468
|
"Nordstern": "0xd16A1849E86431872a87f476fa0DfB30eEb96cb3",
|
|
462
469
|
"OpenOcean": "0xc7f07C830e22FCA94bF52F38C6707F9D396c6172",
|
|
463
470
|
"Kyber": "0x6f4e5b8d7F6b037c62277992c39E7834D7C04596",
|
|
464
|
-
"Magpie": "
|
|
471
|
+
"Magpie": "0x370AC766279eCD03dc1D8eb0E5A632a24A255EAb",
|
|
465
472
|
"Sushi": "0xA985f801ea74321AdcC9Ef88B394858CbA3F71ba"
|
|
466
473
|
},
|
|
467
474
|
"dex": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orbs-network/spot",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.1",
|
|
4
4
|
"description": "**A DeFi protocol for noncustodial advanced order types on EVM chains.**",
|
|
5
5
|
"homepage": "https://orbs-network.github.io/spot/",
|
|
6
6
|
"bugs": {
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"fmt": "forge fmt",
|
|
21
21
|
"test:qa": "./script/qa-security.zsh",
|
|
22
22
|
"sync": "./script/sync.zsh",
|
|
23
|
+
"plugin:build": "npm run sync && ./script/plugin.zsh",
|
|
23
24
|
"build": "npm run sync && forge build --extra-output-files abi",
|
|
24
25
|
"test": "forge test && ./script/config",
|
|
25
26
|
"prepublishOnly": "npm run fmt && npm run build && npm run test",
|