@agoric/orchestration 0.1.1-dev-4687f0d.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.
Files changed (37) hide show
  1. package/package.json +15 -15
  2. package/src/chain-info.d.ts +334 -74
  3. package/src/chain-info.d.ts.map +1 -1
  4. package/src/chain-info.js +3 -1
  5. package/src/examples/sendAnywhere.contract.d.ts +1 -1
  6. package/src/examples/stakeIca.contract.d.ts +3 -1
  7. package/src/examples/stakeIca.contract.d.ts.map +1 -1
  8. package/src/examples/stakeIca.contract.js +4 -2
  9. package/src/examples/swapExample.contract.d.ts +1 -1
  10. package/src/examples/swapExample.contract.d.ts.map +1 -1
  11. package/src/examples/swapExample.contract.js +7 -7
  12. package/src/examples/unbondExample.contract.d.ts +2 -3
  13. package/src/examples/unbondExample.contract.d.ts.map +1 -1
  14. package/src/examples/unbondExample.contract.js +3 -3
  15. package/src/exos/chainAccountKit.d.ts +2 -1
  16. package/src/exos/chainAccountKit.d.ts.map +1 -1
  17. package/src/exos/chainAccountKit.js +5 -4
  18. package/src/exos/local-chain-account-kit.d.ts +346 -85
  19. package/src/exos/local-chain-account-kit.d.ts.map +1 -1
  20. package/src/facade.d.ts +1 -1
  21. package/src/facade.d.ts.map +1 -1
  22. package/src/facade.js +20 -14
  23. package/src/fetched-chain-info.d.ts +1935 -2984
  24. package/src/fetched-chain-info.js +335 -73
  25. package/src/proposals/orchestration-proposal.d.ts +10 -6
  26. package/src/proposals/orchestration-proposal.d.ts.map +1 -1
  27. package/src/proposals/orchestration-proposal.js +43 -24
  28. package/src/proposals/start-stakeAtom.d.ts +1 -1
  29. package/src/proposals/start-stakeAtom.d.ts.map +1 -1
  30. package/src/proposals/start-stakeAtom.js +4 -2
  31. package/src/service.d.ts +2 -1
  32. package/src/service.d.ts.map +1 -1
  33. package/src/service.js +8 -3
  34. package/src/utils/chainHub.d.ts +378 -88
  35. package/src/utils/chainHub.d.ts.map +1 -1
  36. package/src/utils/chainHub.js +47 -19
  37. package/src/vat-orchestration.d.ts +2 -2
@@ -1,7 +1,7 @@
1
1
  export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => RecorderKit<T>, zcf: ZCF, timerService: Remote<TimerService>, chainHub: {
2
2
  registerChain(name: string, chainInfo: CosmosChainInfo): void;
3
- getChainInfo<K extends string>(chainName: K): Promise<K extends "celestia" | "agoric" | "neutron" | "osmosis" | "secretnetwork" | "stargaze" | "stride" | "cosmoshub" | "juno" | "noble" | "omniflixhub" | "dydx" ? Omit<{
4
- agoric: {
3
+ getChainInfo<K extends string>(chainName: K): Promise<K extends "celestia" | "agoriclocal" | "agoric" | "cosmoshub" | "dydx" | "juno" | "neutron" | "noble" | "omniflixhub" | "osmosis" | "secretnetwork" | "stargaze" | "stride" ? Omit<{
4
+ agoriclocal: {
5
5
  chainId: string;
6
6
  connections: {
7
7
  'cosmoshub-4': {
@@ -48,13 +48,147 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
48
48
  };
49
49
  };
50
50
  };
51
+ agoric: {
52
+ chainId: string;
53
+ stakingTokens: {
54
+ denom: string;
55
+ }[];
56
+ connections: {
57
+ 'cosmoshub-4': {
58
+ id: string;
59
+ client_id: string;
60
+ counterparty: {
61
+ client_id: string;
62
+ connection_id: string;
63
+ prefix: {
64
+ key_prefix: string;
65
+ };
66
+ };
67
+ state: number;
68
+ transferChannel: {
69
+ channelId: string;
70
+ portId: string;
71
+ counterPartyChannelId: string;
72
+ counterPartyPortId: string;
73
+ ordering: number;
74
+ state: number;
75
+ version: string;
76
+ };
77
+ };
78
+ 'noble-1': {
79
+ id: string;
80
+ client_id: string;
81
+ counterparty: {
82
+ client_id: string;
83
+ connection_id: string;
84
+ prefix: {
85
+ key_prefix: string;
86
+ };
87
+ };
88
+ state: number;
89
+ transferChannel: {
90
+ channelId: string;
91
+ portId: string;
92
+ counterPartyChannelId: string;
93
+ counterPartyPortId: string;
94
+ ordering: number;
95
+ state: number;
96
+ version: string;
97
+ };
98
+ };
99
+ 'omniflixhub-1': {
100
+ id: string;
101
+ client_id: string;
102
+ counterparty: {
103
+ client_id: string;
104
+ connection_id: string;
105
+ prefix: {
106
+ key_prefix: string;
107
+ };
108
+ };
109
+ state: number;
110
+ transferChannel: {
111
+ channelId: string;
112
+ portId: string;
113
+ counterPartyChannelId: string;
114
+ counterPartyPortId: string;
115
+ ordering: number;
116
+ state: number;
117
+ version: string;
118
+ };
119
+ };
120
+ 'osmosis-1': {
121
+ id: string;
122
+ client_id: string;
123
+ counterparty: {
124
+ client_id: string;
125
+ connection_id: string;
126
+ prefix: {
127
+ key_prefix: string;
128
+ };
129
+ };
130
+ state: number;
131
+ transferChannel: {
132
+ channelId: string;
133
+ portId: string;
134
+ counterPartyChannelId: string;
135
+ counterPartyPortId: string;
136
+ ordering: number;
137
+ state: number;
138
+ version: string;
139
+ };
140
+ };
141
+ 'secret-4': {
142
+ id: string;
143
+ client_id: string;
144
+ counterparty: {
145
+ client_id: string;
146
+ connection_id: string;
147
+ prefix: {
148
+ key_prefix: string;
149
+ }; /** Make an object wrapping an LCA with Zoe interfaces. */
150
+ };
151
+ state: number;
152
+ transferChannel: {
153
+ channelId: string;
154
+ portId: string;
155
+ counterPartyChannelId: string;
156
+ counterPartyPortId: string;
157
+ ordering: number;
158
+ state: number;
159
+ version: string;
160
+ };
161
+ };
162
+ 'stride-1': {
163
+ id: string;
164
+ client_id: string;
165
+ counterparty: {
166
+ client_id: string;
167
+ connection_id: string;
168
+ prefix: {
169
+ key_prefix: string;
170
+ };
171
+ };
172
+ state: number;
173
+ transferChannel: {
174
+ channelId: string;
175
+ portId: string;
176
+ counterPartyChannelId: string;
177
+ counterPartyPortId: string;
178
+ ordering: number;
179
+ state: number;
180
+ version: string;
181
+ };
182
+ };
183
+ };
184
+ };
51
185
  celestia: {
52
186
  chainId: string;
53
187
  stakingTokens: {
54
188
  denom: string;
55
189
  }[];
56
190
  connections: {
57
- neutron: {
191
+ 'neutron-1': {
58
192
  id: string;
59
193
  client_id: string;
60
194
  counterparty: {
@@ -75,7 +209,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
75
209
  version: string;
76
210
  };
77
211
  };
78
- osmosis: {
212
+ 'osmosis-1': {
79
213
  id: string;
80
214
  client_id: string;
81
215
  counterparty: {
@@ -96,7 +230,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
96
230
  version: string;
97
231
  };
98
232
  };
99
- secretnetwork: {
233
+ 'secret-4': {
100
234
  id: string;
101
235
  client_id: string;
102
236
  counterparty: {
@@ -109,6 +243,10 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
109
243
  state: number;
110
244
  transferChannel: {
111
245
  channelId: string;
246
+ /**
247
+ * @param {string} validatorAddress
248
+ * @param {Amount<'nat'>} ertpAmount
249
+ */
112
250
  portId: string;
113
251
  counterPartyChannelId: string;
114
252
  counterPartyPortId: string;
@@ -117,14 +255,14 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
117
255
  version: string;
118
256
  };
119
257
  };
120
- stargaze: {
258
+ 'stargaze-1': {
121
259
  id: string;
122
260
  client_id: string;
123
261
  counterparty: {
124
262
  client_id: string;
125
263
  connection_id: string;
126
264
  prefix: {
127
- key_prefix: string; /** @type {{ [name: string]: [description: string, valueShape: Pattern] }} */
265
+ key_prefix: string;
128
266
  };
129
267
  };
130
268
  state: number;
@@ -138,7 +276,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
138
276
  version: string;
139
277
  };
140
278
  };
141
- stride: {
279
+ 'stride-1': {
142
280
  id: string;
143
281
  client_id: string;
144
282
  counterparty: {
@@ -147,7 +285,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
147
285
  prefix: {
148
286
  key_prefix: string;
149
287
  };
150
- }; /** Make an object wrapping an LCA with Zoe interfaces. */
288
+ };
151
289
  state: number;
152
290
  transferChannel: {
153
291
  channelId: string;
@@ -167,7 +305,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
167
305
  denom: string;
168
306
  }[];
169
307
  connections: {
170
- juno: {
308
+ 'agoric-3': {
171
309
  id: string;
172
310
  client_id: string;
173
311
  counterparty: {
@@ -188,9 +326,30 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
188
326
  version: string;
189
327
  };
190
328
  };
191
- neutron: {
329
+ 'juno-1': {
192
330
  id: string;
193
331
  client_id: string;
332
+ counterparty: {
333
+ client_id: string;
334
+ connection_id: string;
335
+ prefix: {
336
+ key_prefix: string;
337
+ }; /** @type {LocalChainAccount['withdraw']} */
338
+ };
339
+ state: number;
340
+ transferChannel: {
341
+ channelId: string;
342
+ portId: string;
343
+ counterPartyChannelId: string;
344
+ counterPartyPortId: string;
345
+ ordering: number;
346
+ state: number;
347
+ version: string;
348
+ };
349
+ };
350
+ 'neutron-1': {
351
+ id: string; /** @returns {ChainAddress['address']} */
352
+ client_id: string;
194
353
  counterparty: {
195
354
  client_id: string;
196
355
  connection_id: string;
@@ -209,7 +368,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
209
368
  version: string;
210
369
  };
211
370
  };
212
- noble: {
371
+ 'noble-1': {
213
372
  id: string;
214
373
  client_id: string;
215
374
  counterparty: {
@@ -230,7 +389,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
230
389
  version: string;
231
390
  };
232
391
  };
233
- omniflixhub: {
392
+ 'omniflixhub-1': {
234
393
  id: string;
235
394
  client_id: string;
236
395
  counterparty: {
@@ -243,10 +402,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
243
402
  state: number;
244
403
  transferChannel: {
245
404
  channelId: string;
246
- portId: string; /**
247
- * @param {string} validatorAddress
248
- * @param {Amount<'nat'>} ertpAmount
249
- */
405
+ portId: string;
250
406
  counterPartyChannelId: string;
251
407
  counterPartyPortId: string;
252
408
  ordering: number;
@@ -254,7 +410,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
254
410
  version: string;
255
411
  };
256
412
  };
257
- osmosis: {
413
+ 'osmosis-1': {
258
414
  id: string;
259
415
  client_id: string;
260
416
  counterparty: {
@@ -275,7 +431,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
275
431
  version: string;
276
432
  };
277
433
  };
278
- secretnetwork: {
434
+ 'secret-4': {
279
435
  id: string;
280
436
  client_id: string;
281
437
  counterparty: {
@@ -296,7 +452,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
296
452
  version: string;
297
453
  };
298
454
  };
299
- stargaze: {
455
+ 'stargaze-1': {
300
456
  id: string;
301
457
  client_id: string;
302
458
  counterparty: {
@@ -317,7 +473,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
317
473
  version: string;
318
474
  };
319
475
  };
320
- stride: {
476
+ 'stride-1': {
321
477
  id: string;
322
478
  client_id: string;
323
479
  counterparty: {
@@ -331,7 +487,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
331
487
  transferChannel: {
332
488
  channelId: string;
333
489
  portId: string;
334
- counterPartyChannelId: string; /** @type {LocalChainAccount['withdraw']} */
490
+ counterPartyChannelId: string;
335
491
  counterPartyPortId: string;
336
492
  ordering: number;
337
493
  state: number;
@@ -339,14 +495,14 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
339
495
  };
340
496
  };
341
497
  };
342
- }; /** @type {LocalChainAccount['executeTx']} */
498
+ };
343
499
  dydx: {
344
500
  chainId: string;
345
501
  stakingTokens: {
346
502
  denom: string;
347
503
  }[];
348
504
  connections: {
349
- neutron: {
505
+ 'neutron-1': {
350
506
  id: string;
351
507
  client_id: string;
352
508
  counterparty: {
@@ -367,7 +523,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
367
523
  version: string;
368
524
  };
369
525
  };
370
- noble: {
526
+ 'noble-1': {
371
527
  id: string;
372
528
  client_id: string;
373
529
  counterparty: {
@@ -388,7 +544,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
388
544
  version: string;
389
545
  };
390
546
  };
391
- osmosis: {
547
+ 'osmosis-1': {
392
548
  id: string;
393
549
  client_id: string;
394
550
  counterparty: {
@@ -409,7 +565,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
409
565
  version: string;
410
566
  };
411
567
  };
412
- stride: {
568
+ 'stride-1': {
413
569
  id: string;
414
570
  client_id: string;
415
571
  counterparty: {
@@ -438,7 +594,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
438
594
  denom: string;
439
595
  }[];
440
596
  connections: {
441
- cosmoshub: {
597
+ 'cosmoshub-4': {
442
598
  id: string;
443
599
  client_id: string;
444
600
  counterparty: {
@@ -459,7 +615,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
459
615
  version: string;
460
616
  };
461
617
  };
462
- neutron: {
618
+ 'neutron-1': {
463
619
  id: string;
464
620
  client_id: string;
465
621
  counterparty: {
@@ -480,7 +636,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
480
636
  version: string;
481
637
  };
482
638
  };
483
- noble: {
639
+ 'noble-1': {
484
640
  id: string;
485
641
  client_id: string;
486
642
  counterparty: {
@@ -501,7 +657,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
501
657
  version: string;
502
658
  };
503
659
  };
504
- osmosis: {
660
+ 'osmosis-1': {
505
661
  id: string;
506
662
  client_id: string;
507
663
  counterparty: {
@@ -522,7 +678,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
522
678
  version: string;
523
679
  };
524
680
  };
525
- secretnetwork: {
681
+ 'secret-4': {
526
682
  id: string;
527
683
  client_id: string;
528
684
  counterparty: {
@@ -543,7 +699,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
543
699
  version: string;
544
700
  };
545
701
  };
546
- stargaze: {
702
+ 'stargaze-1': {
547
703
  id: string;
548
704
  client_id: string;
549
705
  counterparty: {
@@ -564,7 +720,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
564
720
  version: string;
565
721
  };
566
722
  };
567
- stride: {
723
+ 'stride-1': {
568
724
  id: string;
569
725
  client_id: string;
570
726
  counterparty: {
@@ -614,7 +770,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
614
770
  version: string;
615
771
  };
616
772
  };
617
- cosmoshub: {
773
+ 'cosmoshub-4': {
618
774
  id: string;
619
775
  client_id: string;
620
776
  counterparty: {
@@ -635,7 +791,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
635
791
  version: string;
636
792
  };
637
793
  };
638
- dydx: {
794
+ 'dydx-mainnet-1': {
639
795
  id: string;
640
796
  client_id: string;
641
797
  counterparty: {
@@ -656,7 +812,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
656
812
  version: string;
657
813
  };
658
814
  };
659
- juno: {
815
+ 'juno-1': {
660
816
  id: string;
661
817
  client_id: string;
662
818
  counterparty: {
@@ -677,7 +833,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
677
833
  version: string;
678
834
  };
679
835
  };
680
- noble: {
836
+ 'noble-1': {
681
837
  id: string;
682
838
  client_id: string;
683
839
  counterparty: {
@@ -698,7 +854,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
698
854
  version: string;
699
855
  };
700
856
  };
701
- osmosis: {
857
+ 'osmosis-1': {
702
858
  id: string;
703
859
  client_id: string;
704
860
  counterparty: {
@@ -719,7 +875,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
719
875
  version: string;
720
876
  };
721
877
  };
722
- secretnetwork: {
878
+ 'secret-4': {
723
879
  id: string;
724
880
  client_id: string;
725
881
  counterparty: {
@@ -740,7 +896,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
740
896
  version: string;
741
897
  };
742
898
  };
743
- stargaze: {
899
+ 'stargaze-1': {
744
900
  id: string;
745
901
  client_id: string;
746
902
  counterparty: {
@@ -761,7 +917,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
761
917
  version: string;
762
918
  };
763
919
  };
764
- stride: {
920
+ 'stride-1': {
765
921
  id: string;
766
922
  client_id: string;
767
923
  counterparty: {
@@ -790,7 +946,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
790
946
  denom: string;
791
947
  }[];
792
948
  connections: {
793
- cosmoshub: {
949
+ 'agoric-3': {
794
950
  id: string;
795
951
  client_id: string;
796
952
  counterparty: {
@@ -811,7 +967,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
811
967
  version: string;
812
968
  };
813
969
  };
814
- dydx: {
970
+ 'cosmoshub-4': {
815
971
  id: string;
816
972
  client_id: string;
817
973
  counterparty: {
@@ -832,7 +988,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
832
988
  version: string;
833
989
  };
834
990
  };
835
- juno: {
991
+ 'dydx-mainnet-1': {
836
992
  id: string;
837
993
  client_id: string;
838
994
  counterparty: {
@@ -853,7 +1009,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
853
1009
  version: string;
854
1010
  };
855
1011
  };
856
- neutron: {
1012
+ 'juno-1': {
857
1013
  id: string;
858
1014
  client_id: string;
859
1015
  counterparty: {
@@ -874,7 +1030,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
874
1030
  version: string;
875
1031
  };
876
1032
  };
877
- omniflixhub: {
1033
+ 'neutron-1': {
878
1034
  id: string;
879
1035
  client_id: string;
880
1036
  counterparty: {
@@ -895,7 +1051,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
895
1051
  version: string;
896
1052
  };
897
1053
  };
898
- osmosis: {
1054
+ 'omniflixhub-1': {
899
1055
  id: string;
900
1056
  client_id: string;
901
1057
  counterparty: {
@@ -916,7 +1072,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
916
1072
  version: string;
917
1073
  };
918
1074
  };
919
- secretnetwork: {
1075
+ 'osmosis-1': {
920
1076
  id: string;
921
1077
  client_id: string;
922
1078
  counterparty: {
@@ -937,7 +1093,28 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
937
1093
  version: string;
938
1094
  };
939
1095
  };
940
- stargaze: {
1096
+ 'secret-4': {
1097
+ id: string;
1098
+ client_id: string;
1099
+ counterparty: {
1100
+ client_id: string;
1101
+ connection_id: string;
1102
+ prefix: {
1103
+ key_prefix: string;
1104
+ };
1105
+ };
1106
+ state: number;
1107
+ transferChannel: {
1108
+ channelId: string;
1109
+ portId: string;
1110
+ counterPartyChannelId: string;
1111
+ counterPartyPortId: string;
1112
+ ordering: number;
1113
+ state: number;
1114
+ version: string;
1115
+ };
1116
+ };
1117
+ 'stargaze-1': {
941
1118
  id: string;
942
1119
  client_id: string;
943
1120
  counterparty: {
@@ -966,7 +1143,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
966
1143
  denom: string;
967
1144
  }[];
968
1145
  connections: {
969
- cosmoshub: {
1146
+ 'agoric-3': {
970
1147
  id: string;
971
1148
  client_id: string;
972
1149
  counterparty: {
@@ -987,7 +1164,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
987
1164
  version: string;
988
1165
  };
989
1166
  };
990
- noble: {
1167
+ 'cosmoshub-4': {
991
1168
  id: string;
992
1169
  client_id: string;
993
1170
  counterparty: {
@@ -1008,7 +1185,28 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1008
1185
  version: string;
1009
1186
  };
1010
1187
  };
1011
- osmosis: {
1188
+ 'noble-1': {
1189
+ id: string;
1190
+ client_id: string;
1191
+ counterparty: {
1192
+ client_id: string;
1193
+ connection_id: string;
1194
+ prefix: {
1195
+ key_prefix: string;
1196
+ };
1197
+ };
1198
+ state: number;
1199
+ transferChannel: {
1200
+ channelId: string;
1201
+ portId: string;
1202
+ counterPartyChannelId: string;
1203
+ counterPartyPortId: string;
1204
+ ordering: number;
1205
+ state: number;
1206
+ version: string;
1207
+ };
1208
+ };
1209
+ 'osmosis-1': {
1012
1210
  id: string;
1013
1211
  client_id: string;
1014
1212
  counterparty: {
@@ -1038,6 +1236,27 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1038
1236
  }[];
1039
1237
  icqEnabled: boolean;
1040
1238
  connections: {
1239
+ 'agoric-3': {
1240
+ id: string;
1241
+ client_id: string;
1242
+ counterparty: {
1243
+ client_id: string;
1244
+ connection_id: string;
1245
+ prefix: {
1246
+ key_prefix: string;
1247
+ };
1248
+ };
1249
+ state: number;
1250
+ transferChannel: {
1251
+ channelId: string;
1252
+ portId: string;
1253
+ counterPartyChannelId: string;
1254
+ counterPartyPortId: string;
1255
+ ordering: number;
1256
+ state: number;
1257
+ version: string;
1258
+ };
1259
+ };
1041
1260
  celestia: {
1042
1261
  id: string;
1043
1262
  client_id: string;
@@ -1059,7 +1278,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1059
1278
  version: string;
1060
1279
  };
1061
1280
  };
1062
- cosmoshub: {
1281
+ 'cosmoshub-4': {
1063
1282
  id: string;
1064
1283
  client_id: string;
1065
1284
  counterparty: {
@@ -1080,7 +1299,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1080
1299
  version: string;
1081
1300
  };
1082
1301
  };
1083
- dydx: {
1302
+ 'dydx-mainnet-1': {
1084
1303
  id: string;
1085
1304
  client_id: string;
1086
1305
  counterparty: {
@@ -1101,7 +1320,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1101
1320
  version: string;
1102
1321
  };
1103
1322
  };
1104
- juno: {
1323
+ 'juno-1': {
1105
1324
  id: string;
1106
1325
  client_id: string;
1107
1326
  counterparty: {
@@ -1122,7 +1341,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1122
1341
  version: string;
1123
1342
  };
1124
1343
  };
1125
- neutron: {
1344
+ 'neutron-1': {
1126
1345
  id: string;
1127
1346
  client_id: string;
1128
1347
  counterparty: {
@@ -1143,7 +1362,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1143
1362
  version: string;
1144
1363
  };
1145
1364
  };
1146
- noble: {
1365
+ 'noble-1': {
1147
1366
  id: string;
1148
1367
  client_id: string;
1149
1368
  counterparty: {
@@ -1164,7 +1383,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1164
1383
  version: string;
1165
1384
  };
1166
1385
  };
1167
- omniflixhub: {
1386
+ 'omniflixhub-1': {
1168
1387
  id: string;
1169
1388
  client_id: string;
1170
1389
  counterparty: {
@@ -1185,7 +1404,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1185
1404
  version: string;
1186
1405
  };
1187
1406
  };
1188
- secretnetwork: {
1407
+ 'secret-4': {
1189
1408
  id: string;
1190
1409
  client_id: string;
1191
1410
  counterparty: {
@@ -1206,7 +1425,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1206
1425
  version: string;
1207
1426
  };
1208
1427
  };
1209
- stargaze: {
1428
+ 'stargaze-1': {
1210
1429
  id: string;
1211
1430
  client_id: string;
1212
1431
  counterparty: {
@@ -1227,7 +1446,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1227
1446
  version: string;
1228
1447
  };
1229
1448
  };
1230
- stride: {
1449
+ 'stride-1': {
1231
1450
  id: string;
1232
1451
  client_id: string;
1233
1452
  counterparty: {
@@ -1256,6 +1475,27 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1256
1475
  denom: string;
1257
1476
  }[];
1258
1477
  connections: {
1478
+ 'agoric-3': {
1479
+ id: string;
1480
+ client_id: string;
1481
+ counterparty: {
1482
+ client_id: string;
1483
+ connection_id: string;
1484
+ prefix: {
1485
+ key_prefix: string;
1486
+ };
1487
+ };
1488
+ state: number;
1489
+ transferChannel: {
1490
+ channelId: string;
1491
+ portId: string;
1492
+ counterPartyChannelId: string;
1493
+ counterPartyPortId: string;
1494
+ ordering: number;
1495
+ state: number;
1496
+ version: string;
1497
+ };
1498
+ };
1259
1499
  celestia: {
1260
1500
  id: string;
1261
1501
  client_id: string;
@@ -1277,7 +1517,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1277
1517
  version: string;
1278
1518
  };
1279
1519
  };
1280
- cosmoshub: {
1520
+ 'cosmoshub-4': {
1281
1521
  id: string;
1282
1522
  client_id: string;
1283
1523
  counterparty: {
@@ -1298,7 +1538,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1298
1538
  version: string;
1299
1539
  };
1300
1540
  };
1301
- juno: {
1541
+ 'juno-1': {
1302
1542
  id: string;
1303
1543
  client_id: string;
1304
1544
  counterparty: {
@@ -1319,7 +1559,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1319
1559
  version: string;
1320
1560
  };
1321
1561
  };
1322
- neutron: {
1562
+ 'neutron-1': {
1323
1563
  id: string;
1324
1564
  client_id: string;
1325
1565
  counterparty: {
@@ -1340,7 +1580,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1340
1580
  version: string;
1341
1581
  };
1342
1582
  };
1343
- noble: {
1583
+ 'noble-1': {
1344
1584
  id: string;
1345
1585
  client_id: string;
1346
1586
  counterparty: {
@@ -1361,7 +1601,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1361
1601
  version: string;
1362
1602
  };
1363
1603
  };
1364
- osmosis: {
1604
+ 'osmosis-1': {
1365
1605
  id: string;
1366
1606
  client_id: string;
1367
1607
  counterparty: {
@@ -1382,7 +1622,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1382
1622
  version: string;
1383
1623
  };
1384
1624
  };
1385
- stargaze: {
1625
+ 'stargaze-1': {
1386
1626
  id: string;
1387
1627
  client_id: string;
1388
1628
  counterparty: {
@@ -1403,7 +1643,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1403
1643
  version: string;
1404
1644
  };
1405
1645
  };
1406
- stride: {
1646
+ 'stride-1': {
1407
1647
  id: string;
1408
1648
  client_id: string;
1409
1649
  counterparty: {
@@ -1453,7 +1693,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1453
1693
  version: string;
1454
1694
  };
1455
1695
  };
1456
- cosmoshub: {
1696
+ 'cosmoshub-4': {
1457
1697
  id: string;
1458
1698
  client_id: string;
1459
1699
  counterparty: {
@@ -1474,7 +1714,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1474
1714
  version: string;
1475
1715
  };
1476
1716
  };
1477
- juno: {
1717
+ 'juno-1': {
1478
1718
  id: string;
1479
1719
  client_id: string;
1480
1720
  counterparty: {
@@ -1495,7 +1735,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1495
1735
  version: string;
1496
1736
  };
1497
1737
  };
1498
- neutron: {
1738
+ 'neutron-1': {
1499
1739
  id: string;
1500
1740
  client_id: string;
1501
1741
  counterparty: {
@@ -1516,7 +1756,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1516
1756
  version: string;
1517
1757
  };
1518
1758
  };
1519
- noble: {
1759
+ 'noble-1': {
1520
1760
  id: string;
1521
1761
  client_id: string;
1522
1762
  counterparty: {
@@ -1537,7 +1777,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1537
1777
  version: string;
1538
1778
  };
1539
1779
  };
1540
- osmosis: {
1780
+ 'osmosis-1': {
1541
1781
  id: string;
1542
1782
  client_id: string;
1543
1783
  counterparty: {
@@ -1558,7 +1798,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1558
1798
  version: string;
1559
1799
  };
1560
1800
  };
1561
- secretnetwork: {
1801
+ 'secret-4': {
1562
1802
  id: string;
1563
1803
  client_id: string;
1564
1804
  counterparty: {
@@ -1579,7 +1819,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1579
1819
  version: string;
1580
1820
  };
1581
1821
  };
1582
- stride: {
1822
+ 'stride-1': {
1583
1823
  id: string;
1584
1824
  client_id: string;
1585
1825
  counterparty: {
@@ -1608,6 +1848,27 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1608
1848
  denom: string;
1609
1849
  }[];
1610
1850
  connections: {
1851
+ 'agoric-3': {
1852
+ id: string;
1853
+ client_id: string;
1854
+ counterparty: {
1855
+ client_id: string;
1856
+ connection_id: string;
1857
+ prefix: {
1858
+ key_prefix: string;
1859
+ };
1860
+ };
1861
+ state: number;
1862
+ transferChannel: {
1863
+ channelId: string;
1864
+ portId: string;
1865
+ counterPartyChannelId: string;
1866
+ counterPartyPortId: string;
1867
+ ordering: number;
1868
+ state: number;
1869
+ version: string;
1870
+ };
1871
+ };
1611
1872
  celestia: {
1612
1873
  id: string;
1613
1874
  client_id: string;
@@ -1629,7 +1890,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1629
1890
  version: string;
1630
1891
  };
1631
1892
  };
1632
- cosmoshub: {
1893
+ 'cosmoshub-4': {
1633
1894
  id: string;
1634
1895
  client_id: string;
1635
1896
  counterparty: {
@@ -1650,7 +1911,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1650
1911
  version: string;
1651
1912
  };
1652
1913
  };
1653
- dydx: {
1914
+ 'dydx-mainnet-1': {
1654
1915
  id: string;
1655
1916
  client_id: string;
1656
1917
  counterparty: {
@@ -1671,7 +1932,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1671
1932
  version: string;
1672
1933
  };
1673
1934
  };
1674
- juno: {
1935
+ 'juno-1': {
1675
1936
  id: string;
1676
1937
  client_id: string;
1677
1938
  counterparty: {
@@ -1692,7 +1953,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1692
1953
  version: string;
1693
1954
  };
1694
1955
  };
1695
- neutron: {
1956
+ 'neutron-1': {
1696
1957
  id: string;
1697
1958
  client_id: string;
1698
1959
  counterparty: {
@@ -1713,7 +1974,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1713
1974
  version: string;
1714
1975
  };
1715
1976
  };
1716
- osmosis: {
1977
+ 'osmosis-1': {
1717
1978
  id: string;
1718
1979
  client_id: string;
1719
1980
  counterparty: {
@@ -1734,7 +1995,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1734
1995
  version: string;
1735
1996
  };
1736
1997
  };
1737
- secretnetwork: {
1998
+ 'secret-4': {
1738
1999
  id: string;
1739
2000
  client_id: string;
1740
2001
  counterparty: {
@@ -1755,7 +2016,7 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1755
2016
  version: string;
1756
2017
  };
1757
2018
  };
1758
- stargaze: {
2019
+ 'stargaze-1': {
1759
2020
  id: string;
1760
2021
  client_id: string;
1761
2022
  counterparty: {
@@ -1779,8 +2040,8 @@ export function prepareLocalChainAccountKit(zone: Zone, makeRecorderKit: <T>(sto
1779
2040
  };
1780
2041
  };
1781
2042
  }[K], "connections"> : import("@agoric/orchestration").ChainInfo>;
1782
- registerConnection(srcChainId: string, destChainId: string, connectionInfo: import("@agoric/orchestration").IBCConnectionInfo): void;
1783
- getConnectionInfo(srcChainId: string, destChainId: string): Promise<import("@agoric/orchestration").IBCConnectionInfo>;
2043
+ registerConnection(chainId1: string, chainId2: string, connectionInfo: import("@agoric/orchestration").IBCConnectionInfo): void;
2044
+ getConnectionInfo(chainId1: string, chainId2: string): Promise<import("@agoric/orchestration").IBCConnectionInfo>;
1784
2045
  }): (args_0: {
1785
2046
  account: import("@endo/exo").Guarded<{
1786
2047
  getAddress(): string;