@agoric/orchestration 0.1.1-dev-785e426.0 → 0.1.1-dev-8fb6eaf.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/package.json +16 -16
- package/src/chain-capabilities.d.ts +2 -0
- package/src/chain-capabilities.d.ts.map +1 -1
- package/src/chain-capabilities.js +22 -0
- package/src/chain-info.d.ts +7278 -673
- package/src/chain-info.d.ts.map +1 -1
- package/src/cosmos-api.d.ts +1 -0
- package/src/cosmos-api.d.ts.map +1 -1
- package/src/cosmos-api.ts +1 -0
- package/src/examples/auto-stake-it.contract.d.ts +2 -0
- package/src/examples/auto-stake-it.contract.d.ts.map +1 -1
- package/src/examples/basic-flows.contract.d.ts +1 -0
- package/src/examples/basic-flows.contract.d.ts.map +1 -1
- package/src/examples/send-anywhere.contract.d.ts +2 -0
- package/src/examples/send-anywhere.contract.d.ts.map +1 -1
- package/src/examples/staking-combinations.contract.d.ts +1 -0
- package/src/examples/staking-combinations.contract.d.ts.map +1 -1
- package/src/examples/swap.contract.d.ts +1 -0
- package/src/examples/swap.contract.d.ts.map +1 -1
- package/src/exos/chain-hub.d.ts +1 -0
- package/src/exos/chain-hub.d.ts.map +1 -1
- package/src/exos/chain-hub.js +19 -13
- package/src/exos/local-chain-facade.d.ts +2 -0
- package/src/exos/local-chain-facade.d.ts.map +1 -1
- package/src/exos/orchestrator.d.ts +3 -2
- package/src/exos/orchestrator.d.ts.map +1 -1
- package/src/exos/remote-chain-facade.d.ts +1 -0
- package/src/exos/remote-chain-facade.d.ts.map +1 -1
- package/src/fetched-chain-info.d.ts +7475 -735
- package/src/fetched-chain-info.js +7349 -690
- package/src/proposals/start-send-anywhere.d.ts +2 -0
- package/src/proposals/start-send-anywhere.d.ts.map +1 -1
- package/src/utils/registry.d.ts +1 -0
- package/src/utils/registry.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/orchestration",
|
|
3
|
-
"version": "0.1.1-dev-
|
|
3
|
+
"version": "0.1.1-dev-8fb6eaf.0+8fb6eaf",
|
|
4
4
|
"description": "Chain abstraction for Agoric's orchestration clients",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -33,19 +33,19 @@
|
|
|
33
33
|
},
|
|
34
34
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@agoric/async-flow": "0.1.1-dev-
|
|
37
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
38
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
39
|
-
"@agoric/internal": "0.3.3-dev-
|
|
40
|
-
"@agoric/network": "0.1.1-dev-
|
|
41
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
42
|
-
"@agoric/store": "0.9.3-dev-
|
|
43
|
-
"@agoric/time": "0.3.3-dev-
|
|
44
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
45
|
-
"@agoric/vats": "0.15.2-dev-
|
|
46
|
-
"@agoric/vow": "0.1.1-dev-
|
|
47
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
48
|
-
"@agoric/zone": "0.2.3-dev-
|
|
36
|
+
"@agoric/async-flow": "0.1.1-dev-8fb6eaf.0+8fb6eaf",
|
|
37
|
+
"@agoric/cosmic-proto": "0.4.1-dev-8fb6eaf.0+8fb6eaf",
|
|
38
|
+
"@agoric/ertp": "0.16.3-dev-8fb6eaf.0+8fb6eaf",
|
|
39
|
+
"@agoric/internal": "0.3.3-dev-8fb6eaf.0+8fb6eaf",
|
|
40
|
+
"@agoric/network": "0.1.1-dev-8fb6eaf.0+8fb6eaf",
|
|
41
|
+
"@agoric/notifier": "0.6.3-dev-8fb6eaf.0+8fb6eaf",
|
|
42
|
+
"@agoric/store": "0.9.3-dev-8fb6eaf.0+8fb6eaf",
|
|
43
|
+
"@agoric/time": "0.3.3-dev-8fb6eaf.0+8fb6eaf",
|
|
44
|
+
"@agoric/vat-data": "0.5.3-dev-8fb6eaf.0+8fb6eaf",
|
|
45
|
+
"@agoric/vats": "0.15.2-dev-8fb6eaf.0+8fb6eaf",
|
|
46
|
+
"@agoric/vow": "0.1.1-dev-8fb6eaf.0+8fb6eaf",
|
|
47
|
+
"@agoric/zoe": "0.26.3-dev-8fb6eaf.0+8fb6eaf",
|
|
48
|
+
"@agoric/zone": "0.2.3-dev-8fb6eaf.0+8fb6eaf",
|
|
49
49
|
"@endo/base64": "^1.0.9",
|
|
50
50
|
"@endo/errors": "^1.2.8",
|
|
51
51
|
"@endo/far": "^1.1.9",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@noble/hashes": "^1.5.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
57
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-8fb6eaf.0+8fb6eaf",
|
|
58
58
|
"@chain-registry/client": "^1.47.4",
|
|
59
59
|
"@cosmjs/amino": "^0.32.3",
|
|
60
60
|
"@cosmjs/proto-signing": "^0.32.3",
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"typeCoverage": {
|
|
97
97
|
"atLeast": 97.29
|
|
98
98
|
},
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "8fb6eaf1945eaccbd5d0d445566a4fbce0cacd47"
|
|
100
100
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export function withChainCapabilities(chainInfo: Record<string, CosmosChainInfo>, opts?: {
|
|
2
2
|
PfmEnabled: Record<string, boolean>;
|
|
3
3
|
IcqEnabled: Record<string, boolean>;
|
|
4
|
+
IcaEnabled: Record<string, boolean>;
|
|
4
5
|
}): Record<string, {
|
|
5
6
|
pfmEnabled: boolean;
|
|
6
7
|
icqEnabled: boolean;
|
|
8
|
+
icaEnabled: boolean;
|
|
7
9
|
bech32Prefix?: string;
|
|
8
10
|
chainId: string;
|
|
9
11
|
connections?: Record<string, import("@agoric/orchestration").IBCConnectionInfo>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chain-capabilities.d.ts","sourceRoot":"","sources":["chain-capabilities.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chain-capabilities.d.ts","sourceRoot":"","sources":["chain-capabilities.js"],"names":[],"mappings":"AAmEO,iDAPI,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,SAC/B;IACN,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACrC;;;;;;;;;;GAgBH;qCAzE+C,uBAAuB"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file Contains ChainInfo that not available from a well-known chain registry.
|
|
3
|
+
*
|
|
4
|
+
* Info last verified Jan. 21 2025
|
|
3
5
|
*/
|
|
4
6
|
|
|
5
7
|
import { objectMap } from '@endo/patterns';
|
|
@@ -38,11 +40,29 @@ const PfmEnabled = /** @type {const} */ ({
|
|
|
38
40
|
});
|
|
39
41
|
harden(PfmEnabled);
|
|
40
42
|
|
|
43
|
+
const IcaEnabled = /** @type {const} */ ({
|
|
44
|
+
agoric: true,
|
|
45
|
+
celestia: true,
|
|
46
|
+
cosmoshub: true,
|
|
47
|
+
dydx: true,
|
|
48
|
+
juno: true,
|
|
49
|
+
neutron: true,
|
|
50
|
+
noble: true,
|
|
51
|
+
omniflixhub: true,
|
|
52
|
+
osmosis: true,
|
|
53
|
+
secretnetwork: true,
|
|
54
|
+
stargaze: true,
|
|
55
|
+
stride: true,
|
|
56
|
+
umee: true,
|
|
57
|
+
});
|
|
58
|
+
harden(IcaEnabled);
|
|
59
|
+
|
|
41
60
|
/**
|
|
42
61
|
* @param {Record<string, CosmosChainInfo>} chainInfo
|
|
43
62
|
* @param {{
|
|
44
63
|
* PfmEnabled: Record<string, boolean>;
|
|
45
64
|
* IcqEnabled: Record<string, boolean>;
|
|
65
|
+
* IcaEnabled: Record<string, boolean>;
|
|
46
66
|
* }} [opts]
|
|
47
67
|
*/
|
|
48
68
|
export const withChainCapabilities = (
|
|
@@ -50,11 +70,13 @@ export const withChainCapabilities = (
|
|
|
50
70
|
opts = {
|
|
51
71
|
PfmEnabled,
|
|
52
72
|
IcqEnabled,
|
|
73
|
+
IcaEnabled,
|
|
53
74
|
},
|
|
54
75
|
) => {
|
|
55
76
|
return objectMap(chainInfo, (info, name) => ({
|
|
56
77
|
...info,
|
|
57
78
|
pfmEnabled: !!opts.PfmEnabled[name],
|
|
58
79
|
icqEnabled: !!opts.IcqEnabled[name],
|
|
80
|
+
icaEnabled: !!opts.IcqEnabled[name],
|
|
59
81
|
}));
|
|
60
82
|
};
|