@agoric/orchestration 0.1.1-dev-1d94913.0 → 0.1.1-dev-0282e58.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 +15 -15
- package/src/chain-info.d.ts +261 -1
- package/src/chain-info.d.ts.map +1 -1
- package/src/chain-info.js +3 -1
- package/src/examples/sendAnywhere.contract.d.ts +1 -1
- package/src/examples/stakeIca.contract.d.ts +3 -1
- package/src/examples/stakeIca.contract.d.ts.map +1 -1
- package/src/examples/stakeIca.contract.js +4 -2
- package/src/examples/swapExample.contract.d.ts +1 -1
- package/src/examples/swapExample.contract.d.ts.map +1 -1
- package/src/examples/swapExample.contract.js +7 -7
- package/src/examples/unbondExample.contract.d.ts +2 -3
- package/src/examples/unbondExample.contract.d.ts.map +1 -1
- package/src/examples/unbondExample.contract.js +3 -3
- package/src/exos/chainAccountKit.d.ts +2 -1
- package/src/exos/chainAccountKit.d.ts.map +1 -1
- package/src/exos/chainAccountKit.js +5 -4
- package/src/exos/local-chain-account-kit.d.ts +275 -23
- package/src/exos/local-chain-account-kit.d.ts.map +1 -1
- package/src/facade.d.ts +1 -1
- package/src/facade.d.ts.map +1 -1
- package/src/facade.js +20 -14
- package/src/fetched-chain-info.d.ts +324 -61
- package/src/fetched-chain-info.js +262 -0
- package/src/proposals/orchestration-proposal.d.ts +3 -3
- package/src/proposals/start-stakeAtom.d.ts +1 -1
- package/src/proposals/start-stakeAtom.d.ts.map +1 -1
- package/src/proposals/start-stakeAtom.js +4 -2
- package/src/service.d.ts +2 -1
- package/src/service.d.ts.map +1 -1
- package/src/service.js +8 -3
- package/src/utils/chainHub.d.ts +300 -19
- package/src/utils/chainHub.d.ts.map +1 -1
- package/src/utils/chainHub.js +11 -13
- package/src/vat-orchestration.d.ts +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
|
-
namespace
|
|
2
|
+
namespace agoric {
|
|
3
3
|
let chainId: string;
|
|
4
4
|
let stakingTokens: {
|
|
5
5
|
denom: string;
|
|
6
6
|
}[];
|
|
7
7
|
let connections: {
|
|
8
|
-
'
|
|
8
|
+
'cosmoshub-4': {
|
|
9
9
|
id: string;
|
|
10
10
|
client_id: string;
|
|
11
11
|
counterparty: {
|
|
@@ -26,7 +26,7 @@ declare namespace _default {
|
|
|
26
26
|
version: string;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
-
'
|
|
29
|
+
'noble-1': {
|
|
30
30
|
id: string;
|
|
31
31
|
client_id: string;
|
|
32
32
|
counterparty: {
|
|
@@ -47,7 +47,7 @@ declare namespace _default {
|
|
|
47
47
|
version: string;
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
|
-
'
|
|
50
|
+
'omniflixhub-1': {
|
|
51
51
|
id: string;
|
|
52
52
|
client_id: string;
|
|
53
53
|
counterparty: {
|
|
@@ -68,7 +68,28 @@ declare namespace _default {
|
|
|
68
68
|
version: string;
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
|
-
'
|
|
71
|
+
'osmosis-1': {
|
|
72
|
+
id: string;
|
|
73
|
+
client_id: string;
|
|
74
|
+
counterparty: {
|
|
75
|
+
client_id: string;
|
|
76
|
+
connection_id: string;
|
|
77
|
+
prefix: {
|
|
78
|
+
key_prefix: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
state: number;
|
|
82
|
+
transferChannel: {
|
|
83
|
+
channelId: string;
|
|
84
|
+
portId: string;
|
|
85
|
+
counterPartyChannelId: string;
|
|
86
|
+
counterPartyPortId: string;
|
|
87
|
+
ordering: number;
|
|
88
|
+
state: number;
|
|
89
|
+
version: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
'secret-4': {
|
|
72
93
|
id: string;
|
|
73
94
|
client_id: string;
|
|
74
95
|
counterparty: {
|
|
@@ -112,7 +133,7 @@ declare namespace _default {
|
|
|
112
133
|
};
|
|
113
134
|
};
|
|
114
135
|
}
|
|
115
|
-
namespace
|
|
136
|
+
namespace celestia {
|
|
116
137
|
let chainId_1: string;
|
|
117
138
|
export { chainId_1 as chainId };
|
|
118
139
|
let stakingTokens_1: {
|
|
@@ -120,6 +141,143 @@ declare namespace _default {
|
|
|
120
141
|
}[];
|
|
121
142
|
export { stakingTokens_1 as stakingTokens };
|
|
122
143
|
let connections_1: {
|
|
144
|
+
'neutron-1': {
|
|
145
|
+
id: string;
|
|
146
|
+
client_id: string;
|
|
147
|
+
counterparty: {
|
|
148
|
+
client_id: string;
|
|
149
|
+
connection_id: string;
|
|
150
|
+
prefix: {
|
|
151
|
+
key_prefix: string;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
state: number;
|
|
155
|
+
transferChannel: {
|
|
156
|
+
channelId: string;
|
|
157
|
+
portId: string;
|
|
158
|
+
counterPartyChannelId: string;
|
|
159
|
+
counterPartyPortId: string;
|
|
160
|
+
ordering: number;
|
|
161
|
+
state: number;
|
|
162
|
+
version: string;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
'osmosis-1': {
|
|
166
|
+
id: string;
|
|
167
|
+
client_id: string;
|
|
168
|
+
counterparty: {
|
|
169
|
+
client_id: string;
|
|
170
|
+
connection_id: string;
|
|
171
|
+
prefix: {
|
|
172
|
+
key_prefix: string;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
state: number;
|
|
176
|
+
transferChannel: {
|
|
177
|
+
channelId: string;
|
|
178
|
+
portId: string;
|
|
179
|
+
counterPartyChannelId: string;
|
|
180
|
+
counterPartyPortId: string;
|
|
181
|
+
ordering: number;
|
|
182
|
+
state: number;
|
|
183
|
+
version: string;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
'secret-4': {
|
|
187
|
+
id: string;
|
|
188
|
+
client_id: string;
|
|
189
|
+
counterparty: {
|
|
190
|
+
client_id: string;
|
|
191
|
+
connection_id: string;
|
|
192
|
+
prefix: {
|
|
193
|
+
key_prefix: string;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
state: number;
|
|
197
|
+
transferChannel: {
|
|
198
|
+
channelId: string;
|
|
199
|
+
portId: string;
|
|
200
|
+
counterPartyChannelId: string;
|
|
201
|
+
counterPartyPortId: string;
|
|
202
|
+
ordering: number;
|
|
203
|
+
state: number;
|
|
204
|
+
version: string;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
'stargaze-1': {
|
|
208
|
+
id: string;
|
|
209
|
+
client_id: string;
|
|
210
|
+
counterparty: {
|
|
211
|
+
client_id: string;
|
|
212
|
+
connection_id: string;
|
|
213
|
+
prefix: {
|
|
214
|
+
key_prefix: string;
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
state: number;
|
|
218
|
+
transferChannel: {
|
|
219
|
+
channelId: string;
|
|
220
|
+
portId: string;
|
|
221
|
+
counterPartyChannelId: string;
|
|
222
|
+
counterPartyPortId: string;
|
|
223
|
+
ordering: number;
|
|
224
|
+
state: number;
|
|
225
|
+
version: string;
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
'stride-1': {
|
|
229
|
+
id: string;
|
|
230
|
+
client_id: string;
|
|
231
|
+
counterparty: {
|
|
232
|
+
client_id: string;
|
|
233
|
+
connection_id: string;
|
|
234
|
+
prefix: {
|
|
235
|
+
key_prefix: string;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
state: number;
|
|
239
|
+
transferChannel: {
|
|
240
|
+
channelId: string;
|
|
241
|
+
portId: string;
|
|
242
|
+
counterPartyChannelId: string;
|
|
243
|
+
counterPartyPortId: string;
|
|
244
|
+
ordering: number;
|
|
245
|
+
state: number;
|
|
246
|
+
version: string;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
export { connections_1 as connections };
|
|
251
|
+
}
|
|
252
|
+
namespace cosmoshub {
|
|
253
|
+
let chainId_2: string;
|
|
254
|
+
export { chainId_2 as chainId };
|
|
255
|
+
let stakingTokens_2: {
|
|
256
|
+
denom: string;
|
|
257
|
+
}[];
|
|
258
|
+
export { stakingTokens_2 as stakingTokens };
|
|
259
|
+
let connections_2: {
|
|
260
|
+
'agoric-3': {
|
|
261
|
+
id: string;
|
|
262
|
+
client_id: string;
|
|
263
|
+
counterparty: {
|
|
264
|
+
client_id: string;
|
|
265
|
+
connection_id: string;
|
|
266
|
+
prefix: {
|
|
267
|
+
key_prefix: string;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
state: number;
|
|
271
|
+
transferChannel: {
|
|
272
|
+
channelId: string;
|
|
273
|
+
portId: string;
|
|
274
|
+
counterPartyChannelId: string;
|
|
275
|
+
counterPartyPortId: string;
|
|
276
|
+
ordering: number;
|
|
277
|
+
state: number;
|
|
278
|
+
version: string;
|
|
279
|
+
};
|
|
280
|
+
};
|
|
123
281
|
'juno-1': {
|
|
124
282
|
id: string;
|
|
125
283
|
client_id: string;
|
|
@@ -289,16 +447,16 @@ declare namespace _default {
|
|
|
289
447
|
};
|
|
290
448
|
};
|
|
291
449
|
};
|
|
292
|
-
export {
|
|
450
|
+
export { connections_2 as connections };
|
|
293
451
|
}
|
|
294
452
|
namespace dydx {
|
|
295
|
-
let
|
|
296
|
-
export {
|
|
297
|
-
let
|
|
453
|
+
let chainId_3: string;
|
|
454
|
+
export { chainId_3 as chainId };
|
|
455
|
+
let stakingTokens_3: {
|
|
298
456
|
denom: string;
|
|
299
457
|
}[];
|
|
300
|
-
export {
|
|
301
|
-
let
|
|
458
|
+
export { stakingTokens_3 as stakingTokens };
|
|
459
|
+
let connections_3: {
|
|
302
460
|
'neutron-1': {
|
|
303
461
|
id: string;
|
|
304
462
|
client_id: string;
|
|
@@ -384,16 +542,16 @@ declare namespace _default {
|
|
|
384
542
|
};
|
|
385
543
|
};
|
|
386
544
|
};
|
|
387
|
-
export {
|
|
545
|
+
export { connections_3 as connections };
|
|
388
546
|
}
|
|
389
547
|
namespace juno {
|
|
390
|
-
let
|
|
391
|
-
export {
|
|
392
|
-
let
|
|
548
|
+
let chainId_4: string;
|
|
549
|
+
export { chainId_4 as chainId };
|
|
550
|
+
let stakingTokens_4: {
|
|
393
551
|
denom: string;
|
|
394
552
|
}[];
|
|
395
|
-
export {
|
|
396
|
-
let
|
|
553
|
+
export { stakingTokens_4 as stakingTokens };
|
|
554
|
+
let connections_4: {
|
|
397
555
|
'cosmoshub-4': {
|
|
398
556
|
id: string;
|
|
399
557
|
client_id: string;
|
|
@@ -542,16 +700,16 @@ declare namespace _default {
|
|
|
542
700
|
};
|
|
543
701
|
};
|
|
544
702
|
};
|
|
545
|
-
export {
|
|
703
|
+
export { connections_4 as connections };
|
|
546
704
|
}
|
|
547
705
|
namespace neutron {
|
|
548
|
-
let
|
|
549
|
-
export {
|
|
550
|
-
let
|
|
706
|
+
let chainId_5: string;
|
|
707
|
+
export { chainId_5 as chainId };
|
|
708
|
+
let stakingTokens_5: {
|
|
551
709
|
denom: string;
|
|
552
710
|
}[];
|
|
553
|
-
export {
|
|
554
|
-
let
|
|
711
|
+
export { stakingTokens_5 as stakingTokens };
|
|
712
|
+
let connections_5: {
|
|
555
713
|
celestia: {
|
|
556
714
|
id: string;
|
|
557
715
|
client_id: string;
|
|
@@ -742,16 +900,37 @@ declare namespace _default {
|
|
|
742
900
|
};
|
|
743
901
|
};
|
|
744
902
|
};
|
|
745
|
-
export {
|
|
903
|
+
export { connections_5 as connections };
|
|
746
904
|
}
|
|
747
905
|
namespace noble {
|
|
748
|
-
let
|
|
749
|
-
export {
|
|
750
|
-
let
|
|
906
|
+
let chainId_6: string;
|
|
907
|
+
export { chainId_6 as chainId };
|
|
908
|
+
let stakingTokens_6: {
|
|
751
909
|
denom: string;
|
|
752
910
|
}[];
|
|
753
|
-
export {
|
|
754
|
-
let
|
|
911
|
+
export { stakingTokens_6 as stakingTokens };
|
|
912
|
+
let connections_6: {
|
|
913
|
+
'agoric-3': {
|
|
914
|
+
id: string;
|
|
915
|
+
client_id: string;
|
|
916
|
+
counterparty: {
|
|
917
|
+
client_id: string;
|
|
918
|
+
connection_id: string;
|
|
919
|
+
prefix: {
|
|
920
|
+
key_prefix: string;
|
|
921
|
+
};
|
|
922
|
+
};
|
|
923
|
+
state: number;
|
|
924
|
+
transferChannel: {
|
|
925
|
+
channelId: string;
|
|
926
|
+
portId: string;
|
|
927
|
+
counterPartyChannelId: string;
|
|
928
|
+
counterPartyPortId: string;
|
|
929
|
+
ordering: number;
|
|
930
|
+
state: number;
|
|
931
|
+
version: string;
|
|
932
|
+
};
|
|
933
|
+
};
|
|
755
934
|
'cosmoshub-4': {
|
|
756
935
|
id: string;
|
|
757
936
|
client_id: string;
|
|
@@ -921,16 +1100,37 @@ declare namespace _default {
|
|
|
921
1100
|
};
|
|
922
1101
|
};
|
|
923
1102
|
};
|
|
924
|
-
export {
|
|
1103
|
+
export { connections_6 as connections };
|
|
925
1104
|
}
|
|
926
1105
|
namespace omniflixhub {
|
|
927
|
-
let
|
|
928
|
-
export {
|
|
929
|
-
let
|
|
1106
|
+
let chainId_7: string;
|
|
1107
|
+
export { chainId_7 as chainId };
|
|
1108
|
+
let stakingTokens_7: {
|
|
930
1109
|
denom: string;
|
|
931
1110
|
}[];
|
|
932
|
-
export {
|
|
933
|
-
let
|
|
1111
|
+
export { stakingTokens_7 as stakingTokens };
|
|
1112
|
+
let connections_7: {
|
|
1113
|
+
'agoric-3': {
|
|
1114
|
+
id: string;
|
|
1115
|
+
client_id: string;
|
|
1116
|
+
counterparty: {
|
|
1117
|
+
client_id: string;
|
|
1118
|
+
connection_id: string;
|
|
1119
|
+
prefix: {
|
|
1120
|
+
key_prefix: string;
|
|
1121
|
+
};
|
|
1122
|
+
};
|
|
1123
|
+
state: number;
|
|
1124
|
+
transferChannel: {
|
|
1125
|
+
channelId: string;
|
|
1126
|
+
portId: string;
|
|
1127
|
+
counterPartyChannelId: string;
|
|
1128
|
+
counterPartyPortId: string;
|
|
1129
|
+
ordering: number;
|
|
1130
|
+
state: number;
|
|
1131
|
+
version: string;
|
|
1132
|
+
};
|
|
1133
|
+
};
|
|
934
1134
|
'cosmoshub-4': {
|
|
935
1135
|
id: string;
|
|
936
1136
|
client_id: string;
|
|
@@ -995,17 +1195,38 @@ declare namespace _default {
|
|
|
995
1195
|
};
|
|
996
1196
|
};
|
|
997
1197
|
};
|
|
998
|
-
export {
|
|
1198
|
+
export { connections_7 as connections };
|
|
999
1199
|
}
|
|
1000
1200
|
namespace osmosis {
|
|
1001
|
-
let
|
|
1002
|
-
export {
|
|
1003
|
-
let
|
|
1201
|
+
let chainId_8: string;
|
|
1202
|
+
export { chainId_8 as chainId };
|
|
1203
|
+
let stakingTokens_8: {
|
|
1004
1204
|
denom: string;
|
|
1005
1205
|
}[];
|
|
1006
|
-
export {
|
|
1206
|
+
export { stakingTokens_8 as stakingTokens };
|
|
1007
1207
|
export let icqEnabled: boolean;
|
|
1008
|
-
let
|
|
1208
|
+
let connections_8: {
|
|
1209
|
+
'agoric-3': {
|
|
1210
|
+
id: string;
|
|
1211
|
+
client_id: string;
|
|
1212
|
+
counterparty: {
|
|
1213
|
+
client_id: string;
|
|
1214
|
+
connection_id: string;
|
|
1215
|
+
prefix: {
|
|
1216
|
+
key_prefix: string;
|
|
1217
|
+
};
|
|
1218
|
+
};
|
|
1219
|
+
state: number;
|
|
1220
|
+
transferChannel: {
|
|
1221
|
+
channelId: string;
|
|
1222
|
+
portId: string;
|
|
1223
|
+
counterPartyChannelId: string;
|
|
1224
|
+
counterPartyPortId: string;
|
|
1225
|
+
ordering: number;
|
|
1226
|
+
state: number;
|
|
1227
|
+
version: string;
|
|
1228
|
+
};
|
|
1229
|
+
};
|
|
1009
1230
|
celestia: {
|
|
1010
1231
|
id: string;
|
|
1011
1232
|
client_id: string;
|
|
@@ -1217,16 +1438,37 @@ declare namespace _default {
|
|
|
1217
1438
|
};
|
|
1218
1439
|
};
|
|
1219
1440
|
};
|
|
1220
|
-
export {
|
|
1441
|
+
export { connections_8 as connections };
|
|
1221
1442
|
}
|
|
1222
1443
|
namespace secretnetwork {
|
|
1223
|
-
let
|
|
1224
|
-
export {
|
|
1225
|
-
let
|
|
1444
|
+
let chainId_9: string;
|
|
1445
|
+
export { chainId_9 as chainId };
|
|
1446
|
+
let stakingTokens_9: {
|
|
1226
1447
|
denom: string;
|
|
1227
1448
|
}[];
|
|
1228
|
-
export {
|
|
1229
|
-
let
|
|
1449
|
+
export { stakingTokens_9 as stakingTokens };
|
|
1450
|
+
let connections_9: {
|
|
1451
|
+
'agoric-3': {
|
|
1452
|
+
id: string;
|
|
1453
|
+
client_id: string;
|
|
1454
|
+
counterparty: {
|
|
1455
|
+
client_id: string;
|
|
1456
|
+
connection_id: string;
|
|
1457
|
+
prefix: {
|
|
1458
|
+
key_prefix: string;
|
|
1459
|
+
};
|
|
1460
|
+
};
|
|
1461
|
+
state: number;
|
|
1462
|
+
transferChannel: {
|
|
1463
|
+
channelId: string;
|
|
1464
|
+
portId: string;
|
|
1465
|
+
counterPartyChannelId: string;
|
|
1466
|
+
counterPartyPortId: string;
|
|
1467
|
+
ordering: number;
|
|
1468
|
+
state: number;
|
|
1469
|
+
version: string;
|
|
1470
|
+
};
|
|
1471
|
+
};
|
|
1230
1472
|
celestia: {
|
|
1231
1473
|
id: string;
|
|
1232
1474
|
client_id: string;
|
|
@@ -1396,16 +1638,16 @@ declare namespace _default {
|
|
|
1396
1638
|
};
|
|
1397
1639
|
};
|
|
1398
1640
|
};
|
|
1399
|
-
export {
|
|
1641
|
+
export { connections_9 as connections };
|
|
1400
1642
|
}
|
|
1401
1643
|
namespace stargaze {
|
|
1402
|
-
let
|
|
1403
|
-
export {
|
|
1404
|
-
let
|
|
1644
|
+
let chainId_10: string;
|
|
1645
|
+
export { chainId_10 as chainId };
|
|
1646
|
+
let stakingTokens_10: {
|
|
1405
1647
|
denom: string;
|
|
1406
1648
|
}[];
|
|
1407
|
-
export {
|
|
1408
|
-
let
|
|
1649
|
+
export { stakingTokens_10 as stakingTokens };
|
|
1650
|
+
let connections_10: {
|
|
1409
1651
|
celestia: {
|
|
1410
1652
|
id: string;
|
|
1411
1653
|
client_id: string;
|
|
@@ -1575,16 +1817,37 @@ declare namespace _default {
|
|
|
1575
1817
|
};
|
|
1576
1818
|
};
|
|
1577
1819
|
};
|
|
1578
|
-
export {
|
|
1820
|
+
export { connections_10 as connections };
|
|
1579
1821
|
}
|
|
1580
1822
|
namespace stride {
|
|
1581
|
-
let
|
|
1582
|
-
export {
|
|
1583
|
-
let
|
|
1823
|
+
let chainId_11: string;
|
|
1824
|
+
export { chainId_11 as chainId };
|
|
1825
|
+
let stakingTokens_11: {
|
|
1584
1826
|
denom: string;
|
|
1585
1827
|
}[];
|
|
1586
|
-
export {
|
|
1587
|
-
let
|
|
1828
|
+
export { stakingTokens_11 as stakingTokens };
|
|
1829
|
+
let connections_11: {
|
|
1830
|
+
'agoric-3': {
|
|
1831
|
+
id: string;
|
|
1832
|
+
client_id: string;
|
|
1833
|
+
counterparty: {
|
|
1834
|
+
client_id: string;
|
|
1835
|
+
connection_id: string;
|
|
1836
|
+
prefix: {
|
|
1837
|
+
key_prefix: string;
|
|
1838
|
+
};
|
|
1839
|
+
};
|
|
1840
|
+
state: number;
|
|
1841
|
+
transferChannel: {
|
|
1842
|
+
channelId: string;
|
|
1843
|
+
portId: string;
|
|
1844
|
+
counterPartyChannelId: string;
|
|
1845
|
+
counterPartyPortId: string;
|
|
1846
|
+
ordering: number;
|
|
1847
|
+
state: number;
|
|
1848
|
+
version: string;
|
|
1849
|
+
};
|
|
1850
|
+
};
|
|
1588
1851
|
celestia: {
|
|
1589
1852
|
id: string;
|
|
1590
1853
|
client_id: string;
|
|
@@ -1754,7 +2017,7 @@ declare namespace _default {
|
|
|
1754
2017
|
};
|
|
1755
2018
|
};
|
|
1756
2019
|
};
|
|
1757
|
-
export {
|
|
2020
|
+
export { connections_11 as connections };
|
|
1758
2021
|
}
|
|
1759
2022
|
}
|
|
1760
2023
|
export default _default;
|