@agoric/orchestration 0.1.1-other-dev-d15096d.0.d15096d → 0.1.1-other-dev-ecf44df.0.ecf44df

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.
Files changed (259) hide show
  1. package/README.md +48 -0
  2. package/ava.config.js +12 -0
  3. package/index.js +0 -4
  4. package/package.json +46 -51
  5. package/src/axelar-types.d.ts +3 -1
  6. package/src/axelar-types.d.ts.map +1 -1
  7. package/src/axelar-types.js +3 -1
  8. package/src/chain-info.d.ts +92 -6
  9. package/src/chain-info.d.ts.map +1 -1
  10. package/src/chain-info.js +7 -5
  11. package/src/cosmos-api.d.ts +102 -68
  12. package/src/cosmos-api.d.ts.map +1 -1
  13. package/src/cosmos-api.js +567 -0
  14. package/src/{ethereum-api.ts → ethereum-api.js} +1 -1
  15. package/src/examples/auto-stake-it-tap-kit.d.ts +38 -3
  16. package/src/examples/auto-stake-it-tap-kit.d.ts.map +1 -1
  17. package/src/examples/auto-stake-it-tap-kit.js +5 -3
  18. package/src/examples/auto-stake-it.contract.d.ts +42 -8
  19. package/src/examples/auto-stake-it.contract.d.ts.map +1 -1
  20. package/src/examples/auto-stake-it.contract.js +1 -0
  21. package/src/examples/auto-stake-it.flows.d.ts +6 -3
  22. package/src/examples/auto-stake-it.flows.d.ts.map +1 -1
  23. package/src/examples/auto-stake-it.flows.js +2 -1
  24. package/src/examples/axelar-gmp-account-kit.d.ts +44 -2
  25. package/src/examples/axelar-gmp-account-kit.d.ts.map +1 -1
  26. package/src/examples/axelar-gmp-account-kit.js +2 -4
  27. package/src/examples/axelar-gmp.contract.d.ts +25 -11
  28. package/src/examples/axelar-gmp.contract.d.ts.map +1 -1
  29. package/src/examples/axelar-gmp.contract.js +1 -1
  30. package/src/examples/axelar-gmp.flows.d.ts +4 -2
  31. package/src/examples/axelar-gmp.flows.d.ts.map +1 -1
  32. package/src/examples/basic-flows.contract.d.ts +65 -7
  33. package/src/examples/basic-flows.contract.d.ts.map +1 -1
  34. package/src/examples/basic-flows.contract.js +1 -0
  35. package/src/examples/basic-flows.flows.d.ts +6 -3
  36. package/src/examples/basic-flows.flows.d.ts.map +1 -1
  37. package/src/examples/basic-flows.flows.js +2 -1
  38. package/src/examples/send-anywhere.contract.d.ts +103 -9
  39. package/src/examples/send-anywhere.contract.d.ts.map +1 -1
  40. package/src/examples/send-anywhere.contract.js +3 -0
  41. package/src/examples/send-anywhere.flows.d.ts +1 -1
  42. package/src/examples/send-anywhere.flows.js +1 -1
  43. package/src/examples/stake-bld.contract.d.ts +539 -32
  44. package/src/examples/stake-bld.contract.d.ts.map +1 -1
  45. package/src/examples/stake-bld.contract.js +9 -0
  46. package/src/examples/stake-ica.contract.d.ts +1159 -82
  47. package/src/examples/stake-ica.contract.d.ts.map +1 -1
  48. package/src/examples/stake-ica.contract.js +13 -1
  49. package/src/examples/staking-combinations.contract.d.ts +7 -3
  50. package/src/examples/staking-combinations.contract.d.ts.map +1 -1
  51. package/src/examples/staking-combinations.contract.js +3 -2
  52. package/src/examples/staking-combinations.flows.d.ts +3 -2
  53. package/src/examples/staking-combinations.flows.d.ts.map +1 -1
  54. package/src/examples/staking-combinations.flows.js +7 -6
  55. package/src/examples/swap-anything.contract.d.ts +103 -9
  56. package/src/examples/swap-anything.contract.d.ts.map +1 -1
  57. package/src/examples/swap-anything.contract.js +5 -4
  58. package/src/examples/swap.contract.d.ts +18 -6
  59. package/src/examples/swap.contract.d.ts.map +1 -1
  60. package/src/examples/swap.contract.js +8 -2
  61. package/src/examples/swap.flows.d.ts +2 -0
  62. package/src/examples/swap.flows.d.ts.map +1 -1
  63. package/src/examples/swap.flows.js +2 -0
  64. package/src/examples/unbond.contract.d.ts +6 -3
  65. package/src/examples/unbond.contract.d.ts.map +1 -1
  66. package/src/examples/unbond.contract.js +5 -2
  67. package/src/exos/chain-hub-admin.d.ts +5 -2
  68. package/src/exos/chain-hub-admin.d.ts.map +1 -1
  69. package/src/exos/chain-hub-admin.js +2 -1
  70. package/src/exos/chain-hub.d.ts +183 -4
  71. package/src/exos/chain-hub.d.ts.map +1 -1
  72. package/src/exos/chain-hub.js +4 -3
  73. package/src/exos/cosmos-interchain-service.d.ts +3281 -2
  74. package/src/exos/cosmos-interchain-service.d.ts.map +1 -1
  75. package/src/exos/cosmos-interchain-service.js +25 -7
  76. package/src/exos/cosmos-orchestration-account.d.ts +2650 -199
  77. package/src/exos/cosmos-orchestration-account.d.ts.map +1 -1
  78. package/src/exos/cosmos-orchestration-account.js +666 -494
  79. package/src/exos/exo-interfaces.d.ts +1 -1
  80. package/src/exos/exo-interfaces.d.ts.map +1 -1
  81. package/src/exos/exo-interfaces.js +35 -0
  82. package/src/exos/ibc-packet.d.ts +78 -21
  83. package/src/exos/ibc-packet.d.ts.map +1 -1
  84. package/src/exos/ibc-packet.js +21 -16
  85. package/src/exos/ica-account-kit.d.ts +301 -19
  86. package/src/exos/ica-account-kit.d.ts.map +1 -1
  87. package/src/exos/ica-account-kit.js +11 -8
  88. package/src/exos/icq-connection-kit.d.ts +503 -23
  89. package/src/exos/icq-connection-kit.d.ts.map +1 -1
  90. package/src/exos/icq-connection-kit.js +20 -7
  91. package/src/exos/local-chain-facade.d.ts +1738 -6
  92. package/src/exos/local-chain-facade.d.ts.map +1 -1
  93. package/src/exos/local-chain-facade.js +5 -3
  94. package/src/exos/local-orchestration-account.d.ts +686 -61
  95. package/src/exos/local-orchestration-account.d.ts.map +1 -1
  96. package/src/exos/local-orchestration-account.js +149 -115
  97. package/src/exos/orchestrator.d.ts +35468 -77
  98. package/src/exos/orchestrator.d.ts.map +1 -1
  99. package/src/exos/orchestrator.js +7 -10
  100. package/src/exos/packet-tools.d.ts +64 -15
  101. package/src/exos/packet-tools.d.ts.map +1 -1
  102. package/src/exos/packet-tools.js +90 -59
  103. package/src/exos/portfolio-holder-kit.d.ts +223 -9
  104. package/src/exos/portfolio-holder-kit.d.ts.map +1 -1
  105. package/src/exos/portfolio-holder-kit.js +3 -3
  106. package/src/exos/remote-chain-facade.d.ts +1623 -3
  107. package/src/exos/remote-chain-facade.d.ts.map +1 -1
  108. package/src/exos/remote-chain-facade.js +7 -4
  109. package/src/facade.d.ts +1 -0
  110. package/src/facade.d.ts.map +1 -1
  111. package/src/facade.js +4 -6
  112. package/src/fetched-chain-info.d.ts +72 -0
  113. package/src/fetched-chain-info.js +72 -0
  114. package/src/fixtures/query-flows.contract.d.ts +116 -6
  115. package/src/fixtures/query-flows.contract.d.ts.map +1 -1
  116. package/src/fixtures/query-flows.contract.js +1 -0
  117. package/src/fixtures/query-flows.flows.d.ts +1 -0
  118. package/src/fixtures/query-flows.flows.d.ts.map +1 -1
  119. package/src/fixtures/query-flows.flows.js +1 -0
  120. package/src/orchestration-api.d.ts +46 -32
  121. package/src/orchestration-api.d.ts.map +1 -1
  122. package/src/orchestration-api.js +410 -0
  123. package/src/proposals/init-chain-info.js +3 -0
  124. package/src/proposals/orchestration-proposal.js +3 -0
  125. package/src/proposals/revise-chain-info.js +4 -1
  126. package/src/proposals/start-auto-stake-it.js +1 -0
  127. package/src/proposals/start-axelar-gmp.js +3 -3
  128. package/src/proposals/start-basic-flows.js +5 -0
  129. package/src/proposals/start-send-anywhere.js +5 -3
  130. package/src/proposals/start-stakeAtom.js +3 -1
  131. package/src/proposals/start-stakeBld.js +2 -0
  132. package/src/proposals/start-stakeOsmo.js +3 -1
  133. package/src/proposals/start-swap-anything.js +5 -3
  134. package/src/stubs/{viem-abi.d.ts → viem-address.js} +1 -4
  135. package/src/stubs/viem-typedData.js +20 -0
  136. package/src/typeGuards.d.ts +212 -59
  137. package/src/typeGuards.d.ts.map +1 -1
  138. package/src/typeGuards.js +168 -40
  139. package/src/types.d.ts +1 -0
  140. package/src/types.d.ts.map +1 -1
  141. package/src/types.js +27 -0
  142. package/src/utils/abitype.d.ts +92 -0
  143. package/src/utils/abitype.d.ts.map +1 -0
  144. package/src/utils/abitype.js +151 -0
  145. package/src/utils/address.d.ts +14 -4
  146. package/src/utils/address.d.ts.map +1 -1
  147. package/src/utils/address.js +10 -5
  148. package/src/utils/amounts.d.ts +1 -0
  149. package/src/utils/amounts.d.ts.map +1 -1
  150. package/src/utils/amounts.js +1 -0
  151. package/src/utils/asset.d.ts +1 -0
  152. package/src/utils/asset.d.ts.map +1 -1
  153. package/src/utils/asset.js +1 -0
  154. package/src/utils/chain-hub-helper.d.ts +1 -0
  155. package/src/utils/chain-hub-helper.d.ts.map +1 -1
  156. package/src/utils/chain-hub-helper.js +1 -0
  157. package/src/utils/codecs.d.ts +108 -0
  158. package/src/utils/codecs.d.ts.map +1 -0
  159. package/src/utils/codecs.js +215 -0
  160. package/src/utils/cosmos.d.ts +2 -2
  161. package/src/utils/cosmos.d.ts.map +1 -1
  162. package/src/utils/cosmos.js +9 -2
  163. package/src/utils/eip712-message-handler.d.ts +128 -0
  164. package/src/utils/eip712-message-handler.d.ts.map +1 -0
  165. package/src/utils/eip712-message-handler.js +676 -0
  166. package/src/utils/eip712-messages.d.ts +174 -0
  167. package/src/utils/eip712-messages.d.ts.map +1 -0
  168. package/src/utils/eip712-messages.js +619 -0
  169. package/src/utils/evm-address.d.ts +4 -0
  170. package/src/utils/evm-address.d.ts.map +1 -0
  171. package/src/utils/evm-address.js +28 -0
  172. package/src/utils/exo-helpers.d.ts +172 -0
  173. package/src/utils/exo-helpers.d.ts.map +1 -0
  174. package/src/utils/exo-helpers.js +243 -0
  175. package/src/utils/gmp.d.ts +1 -1
  176. package/src/utils/gmp.d.ts.map +1 -1
  177. package/src/utils/gmp.js +17 -10
  178. package/src/utils/meta.d.ts +31 -0
  179. package/src/utils/meta.d.ts.map +1 -0
  180. package/src/utils/meta.js +87 -0
  181. package/src/utils/orchestrationAccount.d.ts +232 -23
  182. package/src/utils/orchestrationAccount.d.ts.map +1 -1
  183. package/src/utils/orchestrationAccount.js +206 -22
  184. package/src/utils/packet.d.ts +17 -3
  185. package/src/utils/packet.d.ts.map +1 -1
  186. package/src/utils/packet.js +15 -1
  187. package/src/utils/permit2/signatureTransfer.d.ts +229 -0
  188. package/src/utils/permit2/signatureTransfer.d.ts.map +1 -0
  189. package/src/utils/permit2/signatureTransfer.js +266 -0
  190. package/src/utils/permit2/signatureTransferHelpers.d.ts +345 -0
  191. package/src/utils/permit2/signatureTransferHelpers.d.ts.map +1 -0
  192. package/src/utils/permit2/signatureTransferHelpers.js +339 -0
  193. package/src/utils/permit2.d.ts +11 -0
  194. package/src/utils/permit2.d.ts.map +1 -0
  195. package/src/utils/permit2.js +11 -0
  196. package/src/utils/progress.d.ts +46 -0
  197. package/src/utils/progress.d.ts.map +1 -0
  198. package/src/utils/progress.js +180 -0
  199. package/src/utils/registry.d.ts.map +1 -1
  200. package/src/utils/registry.js +9 -7
  201. package/src/utils/start-helper.d.ts +294 -21
  202. package/src/utils/start-helper.d.ts.map +1 -1
  203. package/src/utils/start-helper.js +8 -1
  204. package/src/utils/viem-utils/eip712-normalize.d.ts +155 -0
  205. package/src/utils/viem-utils/eip712-normalize.d.ts.map +1 -0
  206. package/src/utils/viem-utils/eip712-normalize.js +578 -0
  207. package/src/utils/viem-utils/hashTypedData.d.ts +21 -0
  208. package/src/utils/viem-utils/hashTypedData.d.ts.map +1 -0
  209. package/src/utils/viem-utils/hashTypedData.js +61 -0
  210. package/src/utils/viem-utils/types.d.ts +6 -0
  211. package/src/utils/viem-utils/types.d.ts.map +1 -0
  212. package/src/utils/viem-utils/types.js +18 -0
  213. package/src/utils/viem.d.ts +12 -0
  214. package/src/utils/viem.d.ts.map +1 -0
  215. package/src/utils/viem.js +12 -0
  216. package/src/utils/zcf-tools.d.ts +15 -1
  217. package/src/utils/zcf-tools.d.ts.map +1 -1
  218. package/src/utils/zcf-tools.js +19 -3
  219. package/src/utils/zoe-tools.d.ts +5 -2
  220. package/src/utils/zoe-tools.d.ts.map +1 -1
  221. package/src/utils/zoe-tools.js +8 -2
  222. package/src/vat-orchestration.d.ts +6565 -5
  223. package/src/vat-orchestration.d.ts.map +1 -1
  224. package/src/vat-orchestration.js +4 -3
  225. package/src/vendor/viem/{_esm-YOAV66U4.js → _esm-MGOEZCKB.js} +9 -6
  226. package/src/vendor/viem/{ccip-AAQDZF3N.js → ccip-UQBYU7KN.js} +1 -2
  227. package/src/vendor/viem/chunk-7BNMBC44.js +325 -0
  228. package/src/vendor/viem/{chunk-4EF4K2MH.js → chunk-UQHGCCOH.js} +175 -88
  229. package/src/vendor/viem/viem-abi.js +2 -2
  230. package/src/vendor/viem/viem-address.d.ts +1 -0
  231. package/src/vendor/viem/viem-address.js +12 -0
  232. package/src/vendor/viem/viem-typedData.d.ts +24 -0
  233. package/src/vendor/viem/viem-typedData.js +63 -0
  234. package/tools/contract-tests.d.ts +10156 -127
  235. package/tools/contract-tests.d.ts.map +1 -1
  236. package/tools/contract-tests.ts +20 -10
  237. package/tools/ibc-mock-fixtures.d.ts +49 -0
  238. package/tools/ibc-mock-fixtures.d.ts.map +1 -0
  239. package/tools/ibc-mock-fixtures.ts +161 -0
  240. package/tools/ibc-mocks.d.ts +4 -4
  241. package/tools/ibc-mocks.d.ts.map +1 -1
  242. package/tools/ibc-mocks.ts +9 -8
  243. package/tools/make-test-address.d.ts +1 -1
  244. package/tools/make-test-address.d.ts.map +1 -1
  245. package/tools/make-test-address.js +1 -2
  246. package/tools/network-fakes.d.ts +278 -0
  247. package/tools/network-fakes.d.ts.map +1 -0
  248. package/tools/network-fakes.ts +390 -0
  249. package/tools/protobuf-decoder.d.ts.map +1 -1
  250. package/tools/protobuf-decoder.js +0 -1
  251. package/tsup.config.ts +8 -1
  252. package/src/cosmos-api.ts +0 -490
  253. package/src/exos/exo-interfaces.ts +0 -35
  254. package/src/orchestration-api.ts +0 -383
  255. package/src/stubs/viem-abi.d.ts.map +0 -1
  256. package/src/types.ts +0 -26
  257. package/src/vendor/viem/chunk-XN4LUOIH.js +0 -253
  258. package/src/vendor/viem/secp256k1-WHBDSQB2.js +0 -1914
  259. /package/src/stubs/{viem-abi.ts → viem-abi.js} +0 -0
package/README.md CHANGED
@@ -18,3 +18,51 @@ The call to `orchestrate` using a flow function in reincarnations of the vat mus
18
18
  - importing them all with `import * as flows` to get a single object keyed by the export name
19
19
  - using `orchestrateAll` to treat each export name as the `durableName` of the flow
20
20
  - adopting `@agoric/eslint-config` that has rules to help detect problems
21
+
22
+ ## Chain info
23
+
24
+ `src/fetched-chain-info.js` holds the minimal chain and IBC connection data that
25
+ `agoricNames` needs. `scripts/fetch-chain-info.ts` generates it from the cosmos
26
+ [chain-registry](https://github.com/cosmos/chain-registry), fetching over the
27
+ network but **pinned to a specific chain-registry commit** (the
28
+ `CHAIN_REGISTRY_COMMIT` constant in that script).
29
+
30
+ Pinning is what keeps this deterministic: `yarn codegen` fetches the same
31
+ immutable commit every time, so its output never changes on its own and is
32
+ verified idempotent in CI (`scripts/verify-codegen-idempotence.mjs`). Upstream
33
+ changes to chain-registry `master` therefore can't break CI — you adopt them
34
+ deliberately by refreshing.
35
+
36
+ So there are two distinct operations:
37
+
38
+ - **`yarn codegen`** — regenerate `src/fetched-chain-info.js` from the pinned
39
+ commit. Run this after editing the conversion logic in `src/utils/registry.js`;
40
+ it will not pick up upstream chain-registry changes.
41
+ - **`yarn codegen --refresh`** — re-pin to the latest chain-registry commit, then
42
+ regenerate. This is how you pull in new chains or updated IBC connections.
43
+
44
+ ### Refreshing chain info
45
+
46
+ One command re-pins and regenerates; then commit both changed files together:
47
+
48
+ ```sh
49
+ # from packages/orchestration
50
+ yarn codegen --refresh
51
+ git add scripts/fetch-chain-info.ts src/fetched-chain-info.js
52
+ git commit -m 'chore(orchestration): refresh chain info from chain-registry'
53
+ ```
54
+
55
+ `--refresh` rewrites the `CHAIN_REGISTRY_COMMIT` constant in
56
+ `scripts/fetch-chain-info.ts` to the latest chain-registry commit, so a refresh
57
+ shows up as a one-line bump to that constant plus the regenerated output, making
58
+ the change to the pinned source easy to review.
59
+
60
+ To add a chain, append its registry name to `chainNames` in
61
+ `scripts/fetch-chain-info.ts`, then refresh. To pin to a specific commit instead
62
+ of the latest, edit `CHAIN_REGISTRY_COMMIT` directly and run `yarn codegen`
63
+ (without `--refresh`).
64
+
65
+ > [!NOTE]
66
+ > A refresh reflects whatever the registry publishes at the new commit, so the
67
+ > diff to `fetched-chain-info.js` may include unrelated chains that changed since
68
+ > the last refresh. Review it before committing.
package/ava.config.js ADDED
@@ -0,0 +1,12 @@
1
+ // This file configures AVA for this package. A config file next to each
2
+ // package.json avoids AVA's warning about using a config file from an
3
+ // ancestor directory:
4
+ // https://github.com/avajs/ava/blob/main/lib/cli.js
5
+ import base from '../../ava.config.js';
6
+
7
+ export default {
8
+ ...base,
9
+ extensions: ['js', 'ts'],
10
+ nodeArguments: ['--import=ts-blank-space/register', '--no-warnings'],
11
+ timeout: '20m',
12
+ };
package/index.js CHANGED
@@ -1,7 +1,3 @@
1
- /// <reference types="@agoric/internal/exported.js" />
2
- /// <reference types="@agoric/vats/src/core/types-ambient.js" />
3
- /// <reference types="@agoric/zoe/exported.js" />
4
-
5
1
  // eslint-disable-next-line import/export
6
2
  export * from './src/types-index.js'; // no named exports
7
3
  export * from './src/exos/cosmos-interchain-service.js';
package/package.json CHANGED
@@ -1,27 +1,27 @@
1
1
  {
2
2
  "name": "@agoric/orchestration",
3
- "version": "0.1.1-other-dev-d15096d.0.d15096d",
3
+ "version": "0.1.1-other-dev-ecf44df.0.ecf44df",
4
4
  "description": "Chain abstraction for Agoric's orchestration clients",
5
5
  "type": "module",
6
6
  "main": "index.js",
7
7
  "types": "index.js",
8
8
  "engines": {
9
- "node": "^20.9 || ^22.11"
9
+ "node": "^22.11 || ^24.14"
10
10
  },
11
11
  "scripts": {
12
12
  "esbuild:axelar": "esbuild ./src/examples/axelar-gmp.contract.js --platform=node --format=esm --bundle --outfile=dist/axelar-gmp.contract.bundle.js",
13
13
  "codegen:viem-abi": "tsup",
14
14
  "build": "yarn esbuild:axelar",
15
15
  "codegen": "scripts/fetch-chain-info.ts",
16
- "prepack": "yarn run -T tsc --build tsconfig.build.json",
17
- "postpack": "git clean -f '*.d.*ts*' '*.tsbuildinfo'",
16
+ "prepack": "yarn run -T prepack-package",
17
+ "postpack": "yarn run -T postpack-package",
18
18
  "test": "ava",
19
19
  "test:c8": "c8 --all ${C8_OPTIONS:-} ava",
20
- "test:xs": "exit 0",
20
+ "test:xs": "ava test/utils/eip712-normalize.xs.test.js",
21
21
  "lint-fix": "yarn lint:eslint --fix",
22
22
  "lint": "yarn run -T run-s --continue-on-error 'lint:*'",
23
- "lint:eslint": "yarn run -T eslint .",
24
- "lint:types": "yarn run -T tsc"
23
+ "lint:eslint": "node ../../scripts/eslint-repo.mjs .",
24
+ "lint:types": "yarn run -T tsgo --tsBuildInfoFile tsconfig.tsgo.tsbuildinfo"
25
25
  },
26
26
  "repository": {
27
27
  "type": "git",
@@ -35,63 +35,58 @@
35
35
  },
36
36
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
37
37
  "dependencies": {
38
- "@agoric/async-flow": "0.1.1-other-dev-d15096d.0.d15096d",
39
- "@agoric/cosmic-proto": "0.4.1-other-dev-d15096d.0.d15096d",
40
- "@agoric/ertp": "0.16.3-other-dev-d15096d.0.d15096d",
41
- "@agoric/internal": "0.3.3-other-dev-d15096d.0.d15096d",
42
- "@agoric/network": "0.1.1-other-dev-d15096d.0.d15096d",
43
- "@agoric/notifier": "0.6.3-other-dev-d15096d.0.d15096d",
44
- "@agoric/store": "0.9.3-other-dev-d15096d.0.d15096d",
45
- "@agoric/time": "0.3.3-other-dev-d15096d.0.d15096d",
46
- "@agoric/vat-data": "0.5.3-other-dev-d15096d.0.d15096d",
47
- "@agoric/vats": "0.15.2-other-dev-d15096d.0.d15096d",
48
- "@agoric/vow": "0.1.1-other-dev-d15096d.0.d15096d",
49
- "@agoric/zoe": "0.26.3-other-dev-d15096d.0.d15096d",
50
- "@agoric/zone": "0.2.3-other-dev-d15096d.0.d15096d",
38
+ "@agoric/async-flow": "0.1.1-other-dev-ecf44df.0.ecf44df",
39
+ "@agoric/cosmic-proto": "0.4.1-other-dev-ecf44df.0.ecf44df",
40
+ "@agoric/ertp": "0.16.3-other-dev-ecf44df.0.ecf44df",
41
+ "@agoric/internal": "0.3.3-other-dev-ecf44df.0.ecf44df",
42
+ "@agoric/network": "0.1.1-other-dev-ecf44df.0.ecf44df",
43
+ "@agoric/notifier": "0.6.3-other-dev-ecf44df.0.ecf44df",
44
+ "@agoric/store": "0.9.3-other-dev-ecf44df.0.ecf44df",
45
+ "@agoric/time": "0.3.3-other-dev-ecf44df.0.ecf44df",
46
+ "@agoric/vat-data": "0.5.3-other-dev-ecf44df.0.ecf44df",
47
+ "@agoric/vow": "0.1.1-other-dev-ecf44df.0.ecf44df",
48
+ "@agoric/zoe": "0.26.3-other-dev-ecf44df.0.ecf44df",
49
+ "@agoric/zone": "0.2.3-other-dev-ecf44df.0.ecf44df",
51
50
  "@cosmjs/encoding": "^0.36.0",
52
- "@endo/base64": "^1.0.12",
53
- "@endo/errors": "^1.2.13",
54
- "@endo/eventual-send": "^1.3.4",
51
+ "@endo/base64": "^1.1.1",
52
+ "@endo/common": "^1.4.0",
53
+ "@endo/errors": "^1.3.1",
54
+ "@endo/eventual-send": "^1.5.0",
55
55
  "@endo/far": "^1.1.14",
56
- "@endo/marshal": "^1.8.0",
57
- "@endo/patterns": "^1.7.0",
56
+ "@endo/marshal": "^1.10.0",
57
+ "@endo/patterns": "^1.9.1",
58
+ "@endo/promise-kit": "^1.2.1",
58
59
  "@noble/hashes": "~1.5.0",
60
+ "bech32": "^2.0.0",
59
61
  "bs58": "^6.0.0"
60
62
  },
61
63
  "devDependencies": {
62
- "@agoric/swingset-liveslots": "0.10.3-other-dev-d15096d.0.d15096d",
64
+ "@agoric/swingset-liveslots": "0.10.3-other-dev-ecf44df.0.ecf44df",
65
+ "@agoric/vats": "0.15.2-other-dev-ecf44df.0.ecf44df",
66
+ "@agoric/xsnap": "0.14.3-other-dev-ecf44df.0.ecf44df",
63
67
  "@chain-registry/client": "^1.53.194",
64
68
  "@cosmjs/amino": "^0.36.0",
65
69
  "@cosmjs/proto-signing": "^0.36.0",
66
- "@endo/bundle-source": "^4.1.2",
67
- "@endo/import-bundle": "^1.5.2",
68
- "@endo/ses-ava": "^1.3.2",
69
- "ava": "^5.3.0",
70
- "bech32": "^2.0.0",
70
+ "@endo/bundle-source": "^4.3.2",
71
+ "@endo/import-bundle": "^1.7.0",
72
+ "@endo/init": "^1.1.13",
73
+ "@endo/ses-ava": "^1.4.2",
74
+ "ava": "^8.0.1",
71
75
  "c8": "^10.1.3",
72
76
  "esbuild": "^0.25.2",
73
- "prettier": "^3.5.3",
77
+ "prettier": "^3.7.4",
78
+ "tmp": "^0.2.1",
74
79
  "ts-blank-space": "^0.6.2",
75
80
  "tsup": "^8.5.0",
76
81
  "viem": "^2.31.0"
77
82
  },
78
- "ava": {
79
- "extensions": {
80
- "js": true,
81
- "ts": "module"
82
- },
83
- "files": [
84
- "test/**/*.test.*"
85
- ],
86
- "nodeArguments": [
87
- "--loader=ts-blank-space/register",
88
- "--no-warnings"
89
- ],
90
- "require": [
91
- "@endo/init/debug.js"
92
- ],
93
- "timeout": "20m",
94
- "workerThreads": false
83
+ "peerDependencies": {
84
+ "@agoric/vats": "0.15.2-pre.0"
85
+ },
86
+ "peerDependenciesMeta": {
87
+ "@agoric/vats": {
88
+ "optional": true
89
+ }
95
90
  },
96
91
  "files": [
97
92
  "*.js",
@@ -103,7 +98,7 @@
103
98
  "access": "public"
104
99
  },
105
100
  "typeCoverage": {
106
- "atLeast": 97.46
101
+ "atLeast": 96.68
107
102
  },
108
- "gitHead": "d15096dc4ff8b96e9b6cd11954c20d3a9efbb393"
103
+ "gitHead": "ecf44df5eadcc7a1d68745f056fca19155fb5231"
109
104
  }
@@ -36,6 +36,7 @@ export type ContractCall = {
36
36
  target: `0x${string}`;
37
37
  functionSignature: string;
38
38
  args: unknown[];
39
+ abi?: Abi | undefined;
39
40
  };
40
41
  export type AbiEncodedContractCall = {
41
42
  target: `0x${string}`;
@@ -45,7 +46,8 @@ export type SupportedEVMChains = keyof typeof EVM_CHAINS;
45
46
  import type { Bech32Address } from '@agoric/orchestration';
46
47
  import type { OrchestrationAccount } from '@agoric/orchestration';
47
48
  import type { CosmosChainAddress } from '@agoric/orchestration';
48
- import type { IBCChannelID } from '@agoric/vats';
49
+ import type { IBCChannelID } from '@agoric/network/ibc';
49
50
  import type { Denom } from '@agoric/orchestration';
51
+ import type { Abi } from 'viem';
50
52
  import type { EVM_CHAINS } from './utils/gmp.js';
51
53
  //# sourceMappingURL=axelar-types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"axelar-types.d.ts","sourceRoot":"","sources":["axelar-types.js"],"names":[],"mappings":";;;;;6BAwBa,CAAC,OAAO,oBAAoB,EAAE,MAAM,OAAO,oBAAoB,CAAC;;kBAK/D,MAAM;oBACN,MAAM;aACN,MAAM;UACN,cAAc;;;YAKd,MAAM;eACN,aAAa;;;uBAKb,MAAM;yBACN,MAAM;aACN,MAAM,EAAE,GAAG,IAAI;UACf,cAAc;;;;kBAMd,qBAAqB;QAAE,OAAO,EAAE,QAAQ,CAAA;KAAE,CAAC;uBAC3C,kBAAkB;mBAClB,YAAY;gBACZ,KAAK;YACL,GAAG;qBACH,GAAG;WACH,MAAM;;;YAKN,KAAK,MAAM,EAAE;uBACb,MAAM;UACN,OAAO,EAAE;;;YAKT,KAAK,MAAM,EAAE;UACb,KAAK,MAAM,EAAE;;iCAId,MAAa,iBAAU;mCAvEV,uBAAuB;0CAAvB,uBAAuB;wCAAvB,uBAAuB;kCAClB,cAAc;2BADnB,uBAAuB;gCAEpB,gBAAgB"}
1
+ {"version":3,"file":"axelar-types.d.ts","sourceRoot":"","sources":["axelar-types.js"],"names":[],"mappings":";;;;;6BAyBa,CAAC,OAAO,oBAAoB,EAAE,MAAM,OAAO,oBAAoB,CAAC;;kBAK/D,MAAM;oBACN,MAAM;aACN,MAAM;UACN,cAAc;;;YAKd,MAAM;eACN,aAAa;;;uBAKb,MAAM;yBACN,MAAM;aACN,MAAM,EAAE,GAAG,IAAI;UACf,cAAc;;;;kBAMd,qBAAqB;QAAE,OAAO,EAAE,QAAQ,CAAA;KAAE,CAAC;uBAC3C,kBAAkB;mBAClB,YAAY;gBACZ,KAAK;YACL,GAAG;qBACH,GAAG;WACH,MAAM;;;YAKN,KAAK,MAAM,EAAE;uBACb,MAAM;UACN,OAAO,EAAE;;;;YAMT,KAAK,MAAM,EAAE;UACb,KAAK,MAAM,EAAE;;iCAId,MAAa,iBAAU;mCAzEV,uBAAuB;0CAAvB,uBAAuB;wCAAvB,uBAAuB;kCAClB,qBAAqB;2BAD1B,uBAAuB;yBAG3B,MAAM;gCADC,gBAAgB"}
@@ -3,8 +3,9 @@
3
3
  * CosmosChainAddress,
4
4
  * Denom,
5
5
  * Bech32Address,} from '@agoric/orchestration';
6
- * @import {IBCChannelID} from '@agoric/vats';
6
+ * @import {IBCChannelID} from '@agoric/network/ibc';
7
7
  * @import {EVM_CHAINS} from './utils/gmp.js';
8
+ * @import {Abi} from 'viem';
8
9
  */
9
10
 
10
11
  // NOTE: The following 3 types are also documented in README.md located at:
@@ -64,6 +65,7 @@ harden(AxelarGMPMessageType);
64
65
  * @property {`0x${string}`} target
65
66
  * @property {string} functionSignature
66
67
  * @property {unknown[]} args
68
+ * @property {Abi} [abi]
67
69
  */
68
70
 
69
71
  /**
@@ -1,17 +1,31 @@
1
1
  /**
2
- * *
2
+ * Well-known namespaces supported by the Orchestration SDK
3
3
  */
4
4
  export type KnownNamespace = (typeof KnownNamespace)[keyof typeof KnownNamespace];
5
- export namespace KnownNamespace {
6
- let cosmos: "cosmos";
7
- let eip155: "eip155";
8
- let solana: "solana";
9
- }
5
+ /**
6
+ * @import {CosmosAssetInfo, CosmosChainInfo, IBCConnectionInfo} from './types.js';
7
+ * @import {NameAdmin} from '@agoric/vats';
8
+ * @import {ChainInfo} from './orchestration-api.js';
9
+ * @import {NameHubKit} from '@agoric/vats';
10
+ * @import {ERef} from '@agoric/vow';
11
+ */
12
+ /**
13
+ * Well-known namespaces supported by the Orchestration SDK
14
+ *
15
+ * @typedef {(typeof KnownNamespace)[keyof typeof KnownNamespace]} KnownNamespace
16
+ * @see {@link https://github.com/ChainAgnostic/CAIPs/blob/c599f7601d0ce83e6dd9f350c6c21d158d56fd6d/CAIPs/caip-2.md}
17
+ */
18
+ export const KnownNamespace: import("@agoric/internal").KeyMirrorResult<{
19
+ cosmos: null;
20
+ eip155: null;
21
+ solana: null;
22
+ }>;
10
23
  export function registerChainAssets(agoricNamesAdmin: ERef<NameAdmin>, name: string, assets: CosmosAssetInfo[]): Promise<void>;
11
24
  export function registerChain(agoricNamesAdmin: ERef<NameAdmin>, name: string, chainInfo: ChainInfo, log?: (...messages: string[]) => void, handledConnections?: Set<string>): Promise<void>;
12
25
  export function registerKnownChains(agoricNamesAdmin: ERef<NameHubKit["nameAdmin"]>, log?: (...messages: string[]) => void, chains?: Record<string, ChainInfo>): Promise<void>;
13
26
  export type KnownChains = typeof knownChains;
14
27
  import type { NameAdmin } from '@agoric/vats';
28
+ import type { ERef } from '@agoric/vow';
15
29
  import type { CosmosAssetInfo } from './types.js';
16
30
  import type { ChainInfo } from './orchestration-api.js';
17
31
  import type { NameHubKit } from '@agoric/vats';
@@ -151,6 +165,24 @@ declare const knownChains: {
151
165
  readonly version: "ics20-1";
152
166
  };
153
167
  };
168
+ readonly 'injective-1': {
169
+ readonly id: "connection-118";
170
+ readonly client_id: "07-tendermint-126";
171
+ readonly counterparty: {
172
+ readonly client_id: "07-tendermint-328";
173
+ readonly connection_id: "connection-333";
174
+ };
175
+ readonly state: 3;
176
+ readonly transferChannel: {
177
+ readonly channelId: "channel-492";
178
+ readonly portId: "transfer";
179
+ readonly counterPartyChannelId: "channel-454";
180
+ readonly counterPartyPortId: "transfer";
181
+ readonly ordering: 0;
182
+ readonly state: 3;
183
+ readonly version: "ics20-1";
184
+ };
185
+ };
154
186
  readonly 'kaiyo-1': {
155
187
  readonly id: "connection-20";
156
188
  readonly client_id: "07-tendermint-20";
@@ -1172,6 +1204,24 @@ declare const knownChains: {
1172
1204
  readonly version: "ics20-1";
1173
1205
  };
1174
1206
  };
1207
+ readonly 'cosmoshub-4': {
1208
+ readonly id: "connection-103";
1209
+ readonly client_id: "07-tendermint-151";
1210
+ readonly counterparty: {
1211
+ readonly client_id: "07-tendermint-1480";
1212
+ readonly connection_id: "connection-1272";
1213
+ };
1214
+ readonly state: 3;
1215
+ readonly transferChannel: {
1216
+ readonly channelId: "channel-278";
1217
+ readonly portId: "transfer";
1218
+ readonly counterPartyChannelId: "channel-1879";
1219
+ readonly counterPartyPortId: "transfer";
1220
+ readonly ordering: 0;
1221
+ readonly state: 3;
1222
+ readonly version: "ics20-1";
1223
+ };
1224
+ };
1175
1225
  readonly 'dymension_1100-1': {
1176
1226
  readonly id: "connection-52";
1177
1227
  readonly client_id: "07-tendermint-82";
@@ -1656,6 +1706,24 @@ declare const knownChains: {
1656
1706
  readonly version: "ics20-1";
1657
1707
  };
1658
1708
  };
1709
+ readonly celestia: {
1710
+ readonly id: "connection-1272";
1711
+ readonly client_id: "07-tendermint-1480";
1712
+ readonly counterparty: {
1713
+ readonly client_id: "07-tendermint-151";
1714
+ readonly connection_id: "connection-103";
1715
+ };
1716
+ readonly state: 3;
1717
+ readonly transferChannel: {
1718
+ readonly channelId: "channel-1879";
1719
+ readonly portId: "transfer";
1720
+ readonly counterPartyChannelId: "channel-278";
1721
+ readonly counterPartyPortId: "transfer";
1722
+ readonly ordering: 0;
1723
+ readonly state: 3;
1724
+ readonly version: "ics20-1";
1725
+ };
1726
+ };
1659
1727
  readonly 'coreum-mainnet-1': {
1660
1728
  readonly id: "connection-884";
1661
1729
  readonly client_id: "07-tendermint-1162";
@@ -3628,6 +3696,24 @@ declare const knownChains: {
3628
3696
  readonly denom: "inj";
3629
3697
  }];
3630
3698
  readonly connections: {
3699
+ readonly 'agoric-3': {
3700
+ readonly id: "connection-333";
3701
+ readonly client_id: "07-tendermint-328";
3702
+ readonly counterparty: {
3703
+ readonly client_id: "07-tendermint-126";
3704
+ readonly connection_id: "connection-118";
3705
+ };
3706
+ readonly state: 3;
3707
+ readonly transferChannel: {
3708
+ readonly channelId: "channel-454";
3709
+ readonly portId: "transfer";
3710
+ readonly counterPartyChannelId: "channel-492";
3711
+ readonly counterPartyPortId: "transfer";
3712
+ readonly ordering: 0;
3713
+ readonly state: 3;
3714
+ readonly version: "ics20-1";
3715
+ };
3716
+ };
3631
3717
  readonly 'axelar-dojo-1': {
3632
3718
  readonly id: "connection-93";
3633
3719
  readonly client_id: "07-tendermint-113";
@@ -1 +1 @@
1
- {"version":3,"file":"chain-info.d.ts","sourceRoot":"","sources":["chain-info.js"],"names":[],"mappings":";;;6BAyBU,CAAC,OAAO,cAAc,EAAE,MAAM,OAAO,cAAc,CAAC;;;;;;AA6BvD,sDALI,IAAI,CAAC,SAAS,CAAC,QACf,MAAM,UACN,eAAe,EAAE,iBAS3B;AAYM,gDAPI,IAAI,CAAC,SAAS,CAAC,QACf,MAAM,aACN,SAAS,QACT,CAAC,GAAG,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,uBAC/B,GAAG,CAAC,MAAM,CAAC,iBAgDrB;AAWM,sDAJI,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC,QAC7B,CAAC,GAAG,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,WAC/B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,iBAWnC;0BAhGY,OAAO,WAAW;+BAxBH,cAAc;qCAD4B,YAAY;+BAEtD,wBAAwB;gCACvB,cAAc;AAiB3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEE"}
package/src/chain-info.js CHANGED
@@ -7,6 +7,7 @@
7
7
 
8
8
  import { E } from '@endo/far';
9
9
  import { M, mustMatch } from '@endo/patterns';
10
+ import { keyMirror } from '@agoric/internal';
10
11
  import cctpChainInfo from './cctp-chain-info.js';
11
12
  import { withChainCapabilities } from './chain-capabilities.js';
12
13
  import { HubName, normalizeConnectionInfo } from './exos/chain-hub.js';
@@ -18,18 +19,19 @@ import { ChainInfoShape, CosmosAssetInfoShape } from './typeGuards.js';
18
19
  * @import {NameAdmin} from '@agoric/vats';
19
20
  * @import {ChainInfo} from './orchestration-api.js';
20
21
  * @import {NameHubKit} from '@agoric/vats';
22
+ * @import {ERef} from '@agoric/vow';
21
23
  */
22
24
 
23
25
  /**
24
26
  * Well-known namespaces supported by the Orchestration SDK
25
27
  *
26
- * @enum {(typeof KnownNamespace)[keyof typeof KnownNamespace]}
28
+ * @typedef {(typeof KnownNamespace)[keyof typeof KnownNamespace]} KnownNamespace
27
29
  * @see {@link https://github.com/ChainAgnostic/CAIPs/blob/c599f7601d0ce83e6dd9f350c6c21d158d56fd6d/CAIPs/caip-2.md}
28
30
  */
29
- export const KnownNamespace = /** @type {const} */ ({
30
- cosmos: 'cosmos',
31
- eip155: 'eip155',
32
- solana: 'solana',
31
+ export const KnownNamespace = keyMirror({
32
+ cosmos: null,
33
+ eip155: null,
34
+ solana: null,
33
35
  });
34
36
  harden(KnownNamespace);
35
37