@orbs-network/spot 2.10.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 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) as the canonical source for supported chains and runtime addresses.
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
- "unknownAdapter": "0x1aa43154c4be61f2790f139ef440a68806cfbbb86d0dc5e2704937cd93cbafc4",
19
- "unknownFee": "0x429599ae7495b3e6a93b88d653ac97772fb130b0b74e755d9d215912a252cb7e",
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
- "unknown": {
33
+ "external": {
34
34
  "type": "universal",
35
35
  "adapter": "0xada00982E8a888a6aa9BFb270591cb54cE7190d0",
36
36
  "fee": "0xfEe00C84894160d582860D76cd7e896d96DBD3d5"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbs-network/spot",
3
- "version": "2.10.0",
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": "forge test && ./script/config",
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
  },