@orbs-network/spot 2.9.0 → 2.11.0
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 -1
- package/config.json +8 -10
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -25,7 +25,11 @@ Spot provides non-custodial market, limit, TWAP, stop-loss, take-profit, and del
|
|
|
25
25
|
|
|
26
26
|
## Supported Chains
|
|
27
27
|
|
|
28
|
-
Spot supports multiple EVM chains. See [`config.json`](./config.json)
|
|
28
|
+
Spot supports multiple EVM chains. See [`config.json`](./config.json) for supported chain configurations and runtime addresses, and [`skill/SKILL.md`](./skill/SKILL.md#supported-chains) for chains supporting order execution.
|
|
29
|
+
|
|
30
|
+
Run `t` before local order QA. `npm test` includes `npm run test:e2e`, a read-only live dependency check using `chain`, `cast`, `jq`, `curl`, and GNU `parallel`. It fetches the current production [offchain oracle config](https://github.com/orbs-network/offchain-oracle/blob/master/config.json) once per run and reports the union of Spot config, skill chains, and oracle chains in a coverage table. `npm run test:e2e -- 1` scopes the report to Ethereum.
|
|
31
|
+
|
|
32
|
+
Every explicit Spot chain must have all six core contracts, a deployed USD oracle and aggregator, deployed and registered oracle adapters, the correct oracle-to-aggregator binding, and positive USD quotes for native, wrapped native, and all configured oracle connectors. Execution chains additionally require the existing solver and integration checks. Missing config, contracts, quotes, or RPC access fail the test with visible details. Oracle-only chains show core discovery and configured oracle coverage; a complete Spot core deployment without an explicit Spot entry also fails. Discovery is limited to the selected config/skill/oracle chain set, not every EVM network. `SPOT_ORACLE_CONFIG_JSON` can supply an explicit oracle config snapshot for reproducible diagnostics; normal tests fetch production directly.
|
|
29
33
|
|
|
30
34
|
Orvex uses Spot's universal integration on Robinhood Chain (`4663`), with execution routing selected at fill time. No other Orvex mainnet deployment is listed in its [official contract directory](https://docs.orvex.fi/developer-resources/contract-addresses).
|
|
31
35
|
|
package/config.json
CHANGED
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"refinery": "0x9746de29f1dd31b2c8460d71e92a7aefa34911130e61f274f37776e598c48bec",
|
|
16
16
|
"agentAdapter": "0xf6d54cf6a0619f1fb8e1ded91d4c23e7bb9f498c56735fb0c7669423c766219f",
|
|
17
17
|
"agentFee": "0x151234279af18acc113f70463977058efa2e598b5bfc0c106c75fd638d344c0a",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
18
|
+
"externalAdapter": "0x1aa43154c4be61f2790f139ef440a68806cfbbb86d0dc5e2704937cd93cbafc4",
|
|
19
|
+
"externalFee": "0x429599ae7495b3e6a93b88d653ac97772fb130b0b74e755d9d215912a252cb7e",
|
|
20
20
|
"utilaAdapter": "0x7671291910b559d7a05ab73ee31dd714d9c6e7b065c9496338bf427182ae5145",
|
|
21
21
|
"utilaFee": "0x46f797cddb221ecf6279b56f52e2f6360cd721ef95bd5a17dd0ffceffaaf7fd6",
|
|
22
22
|
"efAdapter": "0xa5425e0f84a7cf12c4213f57396810d808d88e43a65210786bd0d9a98a314728",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"adapter": "0x0002BeFB46587d460AcEA9B2792c4A4c67B9cADa",
|
|
31
31
|
"fee": "0x0006d9557Ac9Af4f31962896299ba4FaBDaB9fEE"
|
|
32
32
|
},
|
|
33
|
-
"
|
|
33
|
+
"external": {
|
|
34
34
|
"type": "universal",
|
|
35
35
|
"adapter": "0xada00982E8a888a6aa9BFb270591cb54cE7190d0",
|
|
36
36
|
"fee": "0xfEe00C84894160d582860D76cd7e896d96DBD3d5"
|
|
@@ -54,6 +54,11 @@
|
|
|
54
54
|
"type": "universal",
|
|
55
55
|
"adapter": "0x96604C3E846BBa75c43B5518bd076851e5484197",
|
|
56
56
|
"fee": "0xCf2eB80A89A69aB17e295aeF033Ffe9564736155"
|
|
57
|
+
},
|
|
58
|
+
"nami": {
|
|
59
|
+
"type": "universal",
|
|
60
|
+
"adapter": "0x1b836918e5a623807897a4A095AF9eaC8b3f5DB8",
|
|
61
|
+
"fee": "0xeB58450e23632003f013568703F54446070E2E80"
|
|
57
62
|
}
|
|
58
63
|
}
|
|
59
64
|
},
|
|
@@ -437,13 +442,6 @@
|
|
|
437
442
|
"router": "0x11DA6463D6Cb5a03411Dbf5ab6f6bc3997Ac7428",
|
|
438
443
|
"adapter": "0x1e84A9f30607959d2d8b1a04171ef7D9522Ef502",
|
|
439
444
|
"fee": "0x0dc1E0525202b32e89bA78ed55b1e5cEdB751334"
|
|
440
|
-
},
|
|
441
|
-
"nami": {
|
|
442
|
-
"type": "default",
|
|
443
|
-
"solver": "OpenOcean",
|
|
444
|
-
"router": "0x6352a56caadC4F1E25CD6c75970Fa768A3304e64",
|
|
445
|
-
"adapter": "0xba56F9A7865d430c8293851D576b5728Ca711ff5",
|
|
446
|
-
"fee": "0xeB58450e23632003f013568703F54446070E2E80"
|
|
447
445
|
}
|
|
448
446
|
}
|
|
449
447
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orbs-network/spot",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.0",
|
|
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": {
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"sync": "./script/sync.zsh",
|
|
23
23
|
"plugin:build": "npm run sync && ./script/plugin.zsh",
|
|
24
24
|
"build": "npm run sync && forge build --extra-output-files abi",
|
|
25
|
-
"test": "
|
|
25
|
+
"test:e2e": "./script/config",
|
|
26
|
+
"test": "forge test && npm run test:e2e",
|
|
26
27
|
"prepublishOnly": "npm run fmt && npm run build && npm run test",
|
|
27
28
|
"postpublish": "npm publish -w skill && npm pack -w skill"
|
|
28
29
|
},
|