@agoric/orchestration 0.1.1-dev-0610edb.0.0610edb → 0.1.1-dev-cbcb2b4.0.cbcb2b4

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 (39) hide show
  1. package/package.json +17 -17
  2. package/src/examples/auto-stake-it.contract.d.ts +2 -1
  3. package/src/examples/auto-stake-it.contract.d.ts.map +1 -1
  4. package/src/examples/auto-stake-it.contract.js +2 -1
  5. package/src/examples/axelar-gmp.contract.d.ts +3 -3
  6. package/src/examples/axelar-gmp.contract.d.ts.map +1 -1
  7. package/src/examples/axelar-gmp.contract.js +1 -1
  8. package/src/examples/basic-flows.contract.d.ts +2 -1
  9. package/src/examples/basic-flows.contract.d.ts.map +1 -1
  10. package/src/examples/basic-flows.contract.js +2 -1
  11. package/src/examples/send-anywhere.contract.d.ts +2 -2
  12. package/src/examples/send-anywhere.contract.d.ts.map +1 -1
  13. package/src/examples/send-anywhere.contract.js +1 -1
  14. package/src/examples/stake-bld.contract.d.ts +2 -2
  15. package/src/examples/stake-bld.contract.d.ts.map +1 -1
  16. package/src/examples/stake-bld.contract.js +2 -2
  17. package/src/examples/stake-ica.contract.d.ts +3 -3
  18. package/src/examples/stake-ica.contract.d.ts.map +1 -1
  19. package/src/examples/stake-ica.contract.js +8 -4
  20. package/src/examples/staking-combinations.contract.d.ts +2 -1
  21. package/src/examples/staking-combinations.contract.d.ts.map +1 -1
  22. package/src/examples/staking-combinations.contract.js +2 -1
  23. package/src/examples/swap-anything.contract.d.ts +2 -2
  24. package/src/examples/swap-anything.contract.d.ts.map +1 -1
  25. package/src/examples/swap-anything.contract.js +1 -1
  26. package/src/examples/swap.contract.d.ts +1 -1
  27. package/src/examples/swap.contract.d.ts.map +1 -1
  28. package/src/examples/swap.contract.js +1 -1
  29. package/src/examples/unbond.contract.d.ts +1 -1
  30. package/src/examples/unbond.contract.d.ts.map +1 -1
  31. package/src/examples/unbond.contract.js +1 -1
  32. package/src/fixtures/query-flows.contract.d.ts +2 -1
  33. package/src/fixtures/query-flows.contract.d.ts.map +1 -1
  34. package/src/fixtures/query-flows.contract.js +2 -1
  35. package/src/proposals/init-chain-info.js +1 -1
  36. package/src/utils/start-helper.d.ts +5 -3
  37. package/src/utils/start-helper.d.ts.map +1 -1
  38. package/src/utils/start-helper.js +4 -2
  39. package/tools/contract-tests.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-0610edb.0.0610edb",
3
+ "version": "0.1.1-dev-cbcb2b4.0.cbcb2b4",
4
4
  "description": "Chain abstraction for Agoric's orchestration clients",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -35,19 +35,19 @@
35
35
  },
36
36
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
37
37
  "dependencies": {
38
- "@agoric/async-flow": "0.1.1-dev-0610edb.0.0610edb",
39
- "@agoric/cosmic-proto": "0.4.1-dev-0610edb.0.0610edb",
40
- "@agoric/ertp": "0.16.3-dev-0610edb.0.0610edb",
41
- "@agoric/internal": "0.3.3-dev-0610edb.0.0610edb",
42
- "@agoric/network": "0.1.1-dev-0610edb.0.0610edb",
43
- "@agoric/notifier": "0.6.3-dev-0610edb.0.0610edb",
44
- "@agoric/store": "0.9.3-dev-0610edb.0.0610edb",
45
- "@agoric/time": "0.3.3-dev-0610edb.0.0610edb",
46
- "@agoric/vat-data": "0.5.3-dev-0610edb.0.0610edb",
47
- "@agoric/vats": "0.15.2-dev-0610edb.0.0610edb",
48
- "@agoric/vow": "0.1.1-dev-0610edb.0.0610edb",
49
- "@agoric/zoe": "0.26.3-dev-0610edb.0.0610edb",
50
- "@agoric/zone": "0.2.3-dev-0610edb.0.0610edb",
38
+ "@agoric/async-flow": "0.1.1-dev-cbcb2b4.0.cbcb2b4",
39
+ "@agoric/cosmic-proto": "0.4.1-dev-cbcb2b4.0.cbcb2b4",
40
+ "@agoric/ertp": "0.16.3-dev-cbcb2b4.0.cbcb2b4",
41
+ "@agoric/internal": "0.3.3-dev-cbcb2b4.0.cbcb2b4",
42
+ "@agoric/network": "0.1.1-dev-cbcb2b4.0.cbcb2b4",
43
+ "@agoric/notifier": "0.6.3-dev-cbcb2b4.0.cbcb2b4",
44
+ "@agoric/store": "0.9.3-dev-cbcb2b4.0.cbcb2b4",
45
+ "@agoric/time": "0.3.3-dev-cbcb2b4.0.cbcb2b4",
46
+ "@agoric/vat-data": "0.5.3-dev-cbcb2b4.0.cbcb2b4",
47
+ "@agoric/vats": "0.15.2-dev-cbcb2b4.0.cbcb2b4",
48
+ "@agoric/vow": "0.1.1-dev-cbcb2b4.0.cbcb2b4",
49
+ "@agoric/zoe": "0.26.3-dev-cbcb2b4.0.cbcb2b4",
50
+ "@agoric/zone": "0.2.3-dev-cbcb2b4.0.cbcb2b4",
51
51
  "@cosmjs/encoding": "^0.36.0",
52
52
  "@endo/base64": "^1.0.12",
53
53
  "@endo/errors": "^1.2.13",
@@ -59,7 +59,7 @@
59
59
  "bs58": "^6.0.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@agoric/swingset-liveslots": "0.10.3-dev-0610edb.0.0610edb",
62
+ "@agoric/swingset-liveslots": "0.10.3-dev-cbcb2b4.0.cbcb2b4",
63
63
  "@chain-registry/client": "^1.53.194",
64
64
  "@cosmjs/amino": "^0.36.0",
65
65
  "@cosmjs/proto-signing": "^0.36.0",
@@ -103,7 +103,7 @@
103
103
  "access": "public"
104
104
  },
105
105
  "typeCoverage": {
106
- "atLeast": 97.49
106
+ "atLeast": 97.46
107
107
  },
108
- "gitHead": "0610edb5158dc741f3835fcd2c900a0bd8353015"
108
+ "gitHead": "cbcb2b45335dbc3e56238b85021ded728d402003"
109
109
  }
@@ -1,5 +1,5 @@
1
1
  export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: OrchestrationPowers & {
2
- marshaller: Marshaller;
2
+ marshaller: Remote<Marshaller>;
3
3
  chainInfo?: Record<string, CosmosChainInfo>;
4
4
  assetInfo?: [Denom, DenomDetail & {
5
5
  brandKey?: string;
@@ -26,6 +26,7 @@ export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: Orchestrati
26
26
  export type AutoStakeItSF = typeof start;
27
27
  import type { ZCF } from '@agoric/zoe';
28
28
  import type { OrchestrationPowers } from '../utils/start-helper.js';
29
+ import type { Remote } from '@agoric/internal';
29
30
  import type { CosmosChainInfo } from '../types.js';
30
31
  import type { Denom } from '../types.js';
31
32
  import type { DenomDetail } from '../types.js';
@@ -1 +1 @@
1
- {"version":3,"file":"auto-stake-it.contract.d.ts","sourceRoot":"","sources":["auto-stake-it.contract.js"],"names":[],"mappings":"AAoFA;gBAzDiB,UAAU;gBACV,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;gBAC/B,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE;;;;;;;;;;;;;;;;;;;GAuDgB;4BAGjE,OAAO,KAAK;yBAvEJ,aAAa;yCAFuB,0BAA0B;qCAC9B,aAAa;2BAAb,aAAa;iCAAb,aAAa"}
1
+ {"version":3,"file":"auto-stake-it.contract.d.ts","sourceRoot":"","sources":["auto-stake-it.contract.js"],"names":[],"mappings":"AAqFA;gBAzDiB,OAAO,UAAU,CAAC;gBAClB,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;gBAC/B,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE;;;;;;;;;;;;;;;;;;;GAuDgB;4BAGjE,OAAO,KAAK;yBAvEJ,aAAa;yCAFuB,0BAA0B;4BAF3D,kBAAkB;qCAGW,aAAa;2BAAb,aAAa;iCAAb,aAAa"}
@@ -11,6 +11,7 @@ import * as flows from './auto-stake-it.flows.js';
11
11
  import { registerChainsAndAssets } from '../utils/chain-hub-helper.js';
12
12
 
13
13
  /**
14
+ * @import {Remote} from '@agoric/internal';
14
15
  * @import {Zone} from '@agoric/zone';
15
16
  * @import {OrchestrationPowers, OrchestrationTools} from '../utils/start-helper.js';
16
17
  * @import {CosmosChainInfo, Denom, DenomDetail} from '../types.js';
@@ -25,7 +26,7 @@ import { registerChainsAndAssets } from '../utils/chain-hub-helper.js';
25
26
  *
26
27
  * @param {ZCF} zcf
27
28
  * @param {OrchestrationPowers & {
28
- * marshaller: Marshaller;
29
+ * marshaller: Remote<Marshaller>;
29
30
  * chainInfo?: Record<string, CosmosChainInfo>;
30
31
  * assetInfo?: [Denom, DenomDetail & { brandKey?: string }][];
31
32
  * }} privateArgs
@@ -1,5 +1,5 @@
1
1
  export function contract(zcf: ZCF, privateArgs: OrchestrationPowers & {
2
- marshaller: Marshaller;
2
+ marshaller: Remote<Marshaller>;
3
3
  chainInfo?: Record<string, CosmosChainInfo>;
4
4
  assetInfo?: [Denom, DenomDetail & {
5
5
  brandKey?: string;
@@ -19,7 +19,7 @@ export function contract(zcf: ZCF, privateArgs: OrchestrationPowers & {
19
19
  }>;
20
20
  }>;
21
21
  export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: OrchestrationPowers & {
22
- marshaller: Marshaller;
22
+ marshaller: Remote<Marshaller>;
23
23
  chainInfo?: Record<string, CosmosChainInfo>;
24
24
  assetInfo?: [Denom, DenomDetail & {
25
25
  brandKey?: string;
@@ -41,11 +41,11 @@ export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: Orchestrati
41
41
  import type { ZCF } from '@agoric/zoe';
42
42
  import type { OrchestrationPowers } from '../utils/start-helper.js';
43
43
  import type { Marshaller } from '@agoric/internal/src/lib-chainStorage.js';
44
+ import type { Remote } from '@agoric/vow';
44
45
  import type { CosmosChainInfo } from '@agoric/orchestration';
45
46
  import type { Denom } from '@agoric/orchestration';
46
47
  import type { DenomDetail } from '@agoric/orchestration';
47
48
  import type { StorageNode } from '@agoric/internal/src/lib-chainStorage.js';
48
- import type { Remote } from '@agoric/vow';
49
49
  import type { Zone } from '@agoric/zone';
50
50
  import type { OrchestrationTools } from '../utils/start-helper.js';
51
51
  import type { Vow } from '@agoric/vow';
@@ -1 +1 @@
1
- {"version":3,"file":"axelar-gmp.contract.d.ts","sourceRoot":"","sources":["axelar-gmp.contract.js"],"names":[],"mappings":"AAiCO,8BAVI,GAAG,eACH,mBAAmB,GAAG;IAC5B,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAC5C,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IAC3D,WAAW,EAAE,OAAO,WAAW,CAAC,CAAC;CAClC,QACO,IAAI,oDACJ,kBAAkB;;;;;;;;;;;;GA8D5B;AAGD;gBAvEiB,UAAU;gBACV,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;gBAC/B,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE;iBAC7C,OAAO,WAAW,CAAC;;;;;;;;;;;;;GAoEY;yBAjF3B,aAAa;yCAHuB,0BAA0B;gCAE1C,0CAA0C;qCAD9B,uBAAuB;2BAAvB,uBAAuB;iCAAvB,uBAAuB;iCACnC,0CAA0C;4BAJtD,aAAa;0BACpB,cAAc;wCACqB,0BAA0B;yBAFtD,aAAa"}
1
+ {"version":3,"file":"axelar-gmp.contract.d.ts","sourceRoot":"","sources":["axelar-gmp.contract.js"],"names":[],"mappings":"AAiCO,8BAVI,GAAG,eACH,mBAAmB,GAAG;IAC5B,UAAU,EAAE,OAAO,UAAU,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAC5C,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IAC3D,WAAW,EAAE,OAAO,WAAW,CAAC,CAAC;CAClC,QACO,IAAI,oDACJ,kBAAkB;;;;;;;;;;;;GA8D5B;AAGD;gBAvEiB,OAAO,UAAU,CAAC;gBAClB,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;gBAC/B,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE;iBAC7C,OAAO,WAAW,CAAC;;;;;;;;;;;;;GAoEY;yBAjF3B,aAAa;yCAHuB,0BAA0B;gCAE1C,0CAA0C;4BAJtD,aAAa;qCAGW,uBAAuB;2BAAvB,uBAAuB;iCAAvB,uBAAuB;iCACnC,0CAA0C;0BAH7D,cAAc;wCACqB,0BAA0B;yBAFtD,aAAa"}
@@ -23,7 +23,7 @@ const trace = makeTracer('AxelarGmp');
23
23
  *
24
24
  * @param {ZCF} zcf
25
25
  * @param {OrchestrationPowers & {
26
- * marshaller: Marshaller;
26
+ * marshaller: Remote<Marshaller>;
27
27
  * chainInfo?: Record<string, CosmosChainInfo>;
28
28
  * assetInfo?: [Denom, DenomDetail & { brandKey?: string }][];
29
29
  * storageNode: Remote<StorageNode>;
@@ -1,5 +1,5 @@
1
1
  export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: OrchestrationPowers & {
2
- marshaller: Marshaller;
2
+ marshaller: Remote<Marshaller>;
3
3
  chainInfo?: Record<string, CosmosChainInfo>;
4
4
  assetInfo?: [Denom, DenomDetail & {
5
5
  brandKey?: string;
@@ -24,6 +24,7 @@ export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: Orchestrati
24
24
  export type BasicFlowsSF = typeof start;
25
25
  import type { ZCF } from '@agoric/zoe';
26
26
  import type { OrchestrationPowers } from '../utils/start-helper.js';
27
+ import type { Remote } from '@agoric/internal';
27
28
  import type { CosmosChainInfo } from '@agoric/orchestration';
28
29
  import type { Denom } from '@agoric/orchestration';
29
30
  import type { DenomDetail } from '@agoric/orchestration';
@@ -1 +1 @@
1
- {"version":3,"file":"basic-flows.contract.d.ts","sourceRoot":"","sources":["basic-flows.contract.js"],"names":[],"mappings":"AAyEA;gBApDiB,UAAU;gBACV,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;gBAC/B,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE;;;;;;;;;;;;;;;;;GAkDgB;2BAGjE,OAAO,KAAK;yBA9DJ,aAAa;yCACuB,0BAA0B;qCAF9B,uBAAuB;2BAAvB,uBAAuB;iCAAvB,uBAAuB"}
1
+ {"version":3,"file":"basic-flows.contract.d.ts","sourceRoot":"","sources":["basic-flows.contract.js"],"names":[],"mappings":"AA0EA;gBApDiB,OAAO,UAAU,CAAC;gBAClB,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;gBAC/B,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE;;;;;;;;;;;;;;;;;GAkDgB;2BAGjE,OAAO,KAAK;yBA9DJ,aAAa;yCACuB,0BAA0B;4BAJ3D,kBAAkB;qCAEW,uBAAuB;2BAAvB,uBAAuB;iCAAvB,uBAAuB"}
@@ -10,6 +10,7 @@ import { registerChainsAndAssets } from '../utils/chain-hub-helper.js';
10
10
  import * as flows from './basic-flows.flows.js';
11
11
 
12
12
  /**
13
+ * @import {Remote} from '@agoric/internal';
13
14
  * @import {Zone} from '@agoric/zone';
14
15
  * @import {CosmosChainInfo, Denom, DenomDetail} from '@agoric/orchestration';
15
16
  * @import {ZCF} from '@agoric/zoe';
@@ -19,7 +20,7 @@ import * as flows from './basic-flows.flows.js';
19
20
  /**
20
21
  * @param {ZCF} zcf
21
22
  * @param {OrchestrationPowers & {
22
- * marshaller: Marshaller;
23
+ * marshaller: Remote<Marshaller>;
23
24
  * chainInfo?: Record<string, CosmosChainInfo>;
24
25
  * assetInfo?: [Denom, DenomDetail & { brandKey?: string }][];
25
26
  * }} privateArgs
@@ -10,7 +10,7 @@ export function contract(zcf: ZCF, privateArgs: OrchestrationPowers & {
10
10
  brandKey?: string;
11
11
  }][];
12
12
  chainInfo?: Record<string, CosmosChainInfo>;
13
- marshaller: Marshaller;
13
+ marshaller: Remote<Marshaller>;
14
14
  storageNode: Remote<StorageNode>;
15
15
  }, zone: Zone, { chainHub, orchestrate, vowTools, zoeTools }: OrchestrationTools): Promise<{
16
16
  publicFacet: import("@endo/exo").Guarded<{
@@ -29,7 +29,7 @@ export const start: (zcf: globalThis.ZCF<Record<string, unknown>>, privateArgs:
29
29
  brandKey?: string;
30
30
  }][];
31
31
  chainInfo?: Record<string, CosmosChainInfo>;
32
- marshaller: Marshaller;
32
+ marshaller: Remote<Marshaller>;
33
33
  storageNode: Remote<StorageNode>;
34
34
  }, baggage: Baggage) => Promise<{
35
35
  publicFacet: import("@endo/exo").Guarded<{
@@ -1 +1 @@
1
- {"version":3,"file":"send-anywhere.contract.d.ts","sourceRoot":"","sources":["send-anywhere.contract.js"],"names":[],"mappings":"AAaA;;;;;GAKG;AAEH,qEAKE;AAoBK,8BAVI,GAAG,eACH,mBAAmB,GAAG;IAC5B,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAC5C,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,OAAO,WAAW,CAAC,CAAC;CAClC,QACO,IAAI,iDACJ,kBAAkB;;;;;;;;;;;GAoF5B;AAGD;gBA7FiB,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE;gBAC9C,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;gBAC/B,UAAU;iBACT,OAAO,WAAW,CAAC;;;;;;;;;;;;GA0F0C;yCAlHrB,0BAA0B;2BAC9B,uBAAuB;iCAAvB,uBAAuB;qCAAvB,uBAAuB;4BAH/C,aAAa;0BACpB,cAAc;wCACqB,0BAA0B;yBAFtD,aAAa"}
1
+ {"version":3,"file":"send-anywhere.contract.d.ts","sourceRoot":"","sources":["send-anywhere.contract.js"],"names":[],"mappings":"AAaA;;;;;GAKG;AAEH,qEAKE;AAoBK,8BAVI,GAAG,eACH,mBAAmB,GAAG;IAC5B,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAC5C,UAAU,EAAE,OAAO,UAAU,CAAC,CAAC;IAC/B,WAAW,EAAE,OAAO,WAAW,CAAC,CAAC;CAClC,QACO,IAAI,iDACJ,kBAAkB;;;;;;;;;;;GAoF5B;AAGD;gBA7FiB,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE;gBAC9C,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;gBAC/B,OAAO,UAAU,CAAC;iBACjB,OAAO,WAAW,CAAC;;;;;;;;;;;;GA0F0C;yCAlHrB,0BAA0B;2BAC9B,uBAAuB;iCAAvB,uBAAuB;qCAAvB,uBAAuB;4BAH/C,aAAa;0BACpB,cAAc;wCACqB,0BAA0B;yBAFtD,aAAa"}
@@ -37,7 +37,7 @@ harden(SingleNatAmountRecord);
37
37
  * @param {OrchestrationPowers & {
38
38
  * assetInfo?: [Denom, DenomDetail & { brandKey?: string }][];
39
39
  * chainInfo?: Record<string, CosmosChainInfo>;
40
- * marshaller: Marshaller;
40
+ * marshaller: Remote<Marshaller>;
41
41
  * storageNode: Remote<StorageNode>;
42
42
  * }} privateArgs
43
43
  * @param {Zone} zone
@@ -1,8 +1,8 @@
1
1
  export function start(zcf: ZCF, privateArgs: {
2
2
  agoricNames: Remote<NameHub>;
3
3
  localchain: Remote<LocalChain>;
4
- marshaller: Marshaller;
5
- storageNode: StorageNode;
4
+ marshaller: Remote<Marshaller>;
5
+ storageNode: Remote<StorageNode>;
6
6
  timerService: TimerService;
7
7
  }, baggage: import("@agoric/vat-data").Baggage): Promise<{
8
8
  publicFacet: import("@endo/exo").Guarded<{
@@ -1 +1 @@
1
- {"version":3,"file":"stake-bld.contract.d.ts","sourceRoot":"","sources":["stake-bld.contract.js"],"names":[],"mappings":"AAqCO,2BAVI,GAAG,eACH;IACN,WAAW,EAAE,OAAO,OAAO,CAAC,CAAC;IAC7B,UAAU,EAAE,OAAO,UAAU,CAAC,CAAC;IAC/B,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC;IACzB,YAAY,EAAE,YAAY,CAAC;CAC5B,WACO,OAAO,kBAAkB,EAAE,OAAO;;QAsEvC;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA6BH;;WAEG;;;GAaR;yBAlIqB,aAAa;6BAJT,cAAc;4BACf,kBAAkB;gCAEd,gCAAgC;kCAD9B,cAAc"}
1
+ {"version":3,"file":"stake-bld.contract.d.ts","sourceRoot":"","sources":["stake-bld.contract.js"],"names":[],"mappings":"AAqCO,2BAVI,GAAG,eACH;IACN,WAAW,EAAE,OAAO,OAAO,CAAC,CAAC;IAC7B,UAAU,EAAE,OAAO,UAAU,CAAC,CAAC;IAC/B,UAAU,EAAE,OAAO,UAAU,CAAC,CAAC;IAC/B,WAAW,EAAE,OAAO,WAAW,CAAC,CAAC;IACjC,YAAY,EAAE,YAAY,CAAC;CAC5B,WACO,OAAO,kBAAkB,EAAE,OAAO;;QAsEvC;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA6BH;;WAEG;;;GAaR;yBAlIqB,aAAa;6BAJT,cAAc;4BACf,kBAAkB;gCAEd,gCAAgC;kCAD9B,cAAc"}
@@ -29,8 +29,8 @@ const trace = makeTracer('StakeBld');
29
29
  * @param {{
30
30
  * agoricNames: Remote<NameHub>;
31
31
  * localchain: Remote<LocalChain>;
32
- * marshaller: Marshaller;
33
- * storageNode: StorageNode;
32
+ * marshaller: Remote<Marshaller>;
33
+ * storageNode: Remote<StorageNode>;
34
34
  * timerService: TimerService;
35
35
  * }} privateArgs
36
36
  * @param {import('@agoric/vat-data').Baggage} baggage
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @import {Baggage} from '@agoric/vat-data';
3
- * @import {Remote} from '@agoric/internal';
3
+ * @import {ERemote, Remote} from '@agoric/internal';
4
4
  * @import {CosmosChainInfo, CosmosInterchainService, Denom, DenomDetail} from '@agoric/orchestration';
5
5
  * @import {ContractMeta, Invitation, ZCF, ZCFSeat} from '@agoric/zoe';
6
6
  * @import {IBCConnectionID, NameHub} from '@agoric/vats';
@@ -19,8 +19,8 @@ export const privateArgsShape: {
19
19
  export function start(zcf: ZCF<StakeIcaTerms>, privateArgs: {
20
20
  agoricNames: Remote<NameHub>;
21
21
  cosmosInterchainService: CosmosInterchainService;
22
- storageNode: StorageNode;
23
- marshaller: Marshaller;
22
+ storageNode: Remote<StorageNode>;
23
+ marshaller: Remote<Marshaller>;
24
24
  timer: TimerService;
25
25
  }, baggage: Baggage): Promise<{
26
26
  publicFacet: import("@endo/exo").Guarded<{
@@ -1 +1 @@
1
- {"version":3,"file":"stake-ica.contract.d.ts","sourceRoot":"","sources":["stake-ica.contract.js"],"names":[],"mappings":"AAgBA;;;;;;;;GAQG;AAEH,yCAAyC;AACzC,mBADW,aAAa,OAAO,KAAK,CAAC,CAelC;AAEH;;;;;;cAAsD;AAuB/C,2BAVI,IAAI,aAAa,CAAC,eAClB;IACN,WAAW,EAAE,OAAO,OAAO,CAAC,CAAC;IAC7B,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,WAAW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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAiHkg7C,CAAC;;;;;;;;;GAJph7C;4BA9HY;IACR,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,eAAe,CAAC;IAClC,sBAAsB,EAAE,eAAe,CAAC;IACxC,UAAU,EAAE,OAAO,CAAC;CACrB;yBA4HU,OAAO,KAAK;kCA5J+B,aAAa;yBAAb,aAAa;6BAC3B,cAAc;4BAHvB,kBAAkB;6CAC2B,uBAAuB;kCAGvE,cAAc;6BALnB,kBAAkB;mDAMI,uBAAuB;2BAJQ,uBAAuB;gCAC7C,aAAa;qCAC3B,cAAc"}
@@ -16,7 +16,7 @@ import { makeChainHub } from '../exos/chain-hub.js';
16
16
  const trace = makeTracer('StakeIca');
17
17
  /**
18
18
  * @import {Baggage} from '@agoric/vat-data';
19
- * @import {Remote} from '@agoric/internal';
19
+ * @import {ERemote, Remote} from '@agoric/internal';
20
20
  * @import {CosmosChainInfo, CosmosInterchainService, Denom, DenomDetail} from '@agoric/orchestration';
21
21
  * @import {ContractMeta, Invitation, ZCF, ZCFSeat} from '@agoric/zoe';
22
22
  * @import {IBCConnectionID, NameHub} from '@agoric/vats';
@@ -58,8 +58,8 @@ harden(privateArgsShape);
58
58
  * @param {{
59
59
  * agoricNames: Remote<NameHub>;
60
60
  * cosmosInterchainService: CosmosInterchainService;
61
- * storageNode: StorageNode;
62
- * marshaller: Marshaller;
61
+ * storageNode: Remote<StorageNode>;
62
+ * marshaller: Remote<Marshaller>;
63
63
  * timer: TimerService;
64
64
  * }} privateArgs
65
65
  * @param {Baggage} baggage
@@ -78,7 +78,10 @@ export const start = async (zcf, privateArgs, baggage) => {
78
78
  const zone = makeDurableZone(baggage);
79
79
 
80
80
  const { accountsStorageNode } = await provideAll(baggage, {
81
- accountsStorageNode: () => E(storageNode).makeChildNode('accounts'),
81
+ accountsStorageNode: () =>
82
+ /** @type {ERemote<StorageNode>} */ (
83
+ E(storageNode).makeChildNode('accounts')
84
+ ),
82
85
  });
83
86
 
84
87
  const { makeRecorderKit } = prepareRecorderKitMakers(baggage, marshaller);
@@ -119,6 +122,7 @@ export const start = async (zcf, privateArgs, baggage) => {
119
122
  E(account).getRemoteAddress(),
120
123
  ]);
121
124
  trace('account address', chainAddress);
125
+ /** @type {Remote<StorageNode>} */
122
126
  const accountNode = await E(accountsStorageNode).makeChildNode(
123
127
  chainAddress.value,
124
128
  );
@@ -1,5 +1,5 @@
1
1
  export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: OrchestrationPowers & {
2
- marshaller: Marshaller;
2
+ marshaller: Remote<Marshaller>;
3
3
  }, baggage: Baggage) => Promise<{
4
4
  publicFacet: import("@endo/exo").Guarded<{
5
5
  makeAccount(): Promise<Invitation<import("@agoric/vow").Vow<import("../utils/zoe-tools.js").ResolvedContinuingOfferResult>, {
@@ -13,5 +13,6 @@ export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: Orchestrati
13
13
  }>;
14
14
  import type { ZCF } from '@agoric/zoe';
15
15
  import type { OrchestrationPowers } from '../utils/start-helper.js';
16
+ import type { Remote } from '@agoric/internal';
16
17
  import type { Invitation } from '@agoric/zoe';
17
18
  //# sourceMappingURL=staking-combinations.contract.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"staking-combinations.contract.d.ts","sourceRoot":"","sources":["staking-combinations.contract.js"],"names":[],"mappings":"AAkKA;gBA5HiB,UAAU;;;;;;;;;;;GA4HoD;yBA/ItB,aAAa;yCAEZ,0BAA0B;gCAF3B,aAAa"}
1
+ {"version":3,"file":"staking-combinations.contract.d.ts","sourceRoot":"","sources":["staking-combinations.contract.js"],"names":[],"mappings":"AAmKA;gBA5HiB,OAAO,UAAU,CAAC;;;;;;;;;;;GA4H4C;yBA/ItB,aAAa;yCAEZ,0BAA0B;4BAJ3D,kBAAkB;gCAEc,aAAa"}
@@ -16,6 +16,7 @@ import * as sharedFlows from './shared.flows.js';
16
16
  import { prepareChainHubAdmin } from '../exos/chain-hub-admin.js';
17
17
 
18
18
  /**
19
+ * @import {Remote} from '@agoric/internal';
19
20
  * @import {GuestInterface} from '@agoric/async-flow';
20
21
  * @import {ContractMeta, Invitation, ZCF, ZCFSeat} from '@agoric/zoe';
21
22
  * @import {Zone} from '@agoric/zone';
@@ -36,7 +37,7 @@ const emptyOfferShape = harden({
36
37
  *
37
38
  * @param {ZCF} zcf
38
39
  * @param {OrchestrationPowers & {
39
- * marshaller: Marshaller;
40
+ * marshaller: Remote<Marshaller>;
40
41
  * }} privateArgs
41
42
  * @param {Zone} zone
42
43
  * @param {OrchestrationTools} tools
@@ -10,7 +10,7 @@ export function contract(zcf: ZCF, privateArgs: OrchestrationPowers & {
10
10
  brandKey?: string;
11
11
  }][];
12
12
  chainInfo?: Record<string, CosmosChainInfo>;
13
- marshaller: Marshaller;
13
+ marshaller: Remote<Marshaller>;
14
14
  storageNode: Remote<StorageNode>;
15
15
  }, zone: Zone, { chainHub, orchestrate, vowTools, zoeTools }: OrchestrationTools): Promise<{
16
16
  publicFacet: import("@endo/exo").Guarded<{
@@ -26,7 +26,7 @@ export const start: (zcf: globalThis.ZCF<Record<string, unknown>>, privateArgs:
26
26
  brandKey?: string;
27
27
  }][];
28
28
  chainInfo?: Record<string, CosmosChainInfo>;
29
- marshaller: Marshaller;
29
+ marshaller: Remote<Marshaller>;
30
30
  storageNode: Remote<StorageNode>;
31
31
  }, baggage: Baggage) => Promise<{
32
32
  publicFacet: import("@endo/exo").Guarded<{
@@ -1 +1 @@
1
- {"version":3,"file":"swap-anything.contract.d.ts","sourceRoot":"","sources":["swap-anything.contract.js"],"names":[],"mappings":"AAcA;;;;;GAKG;AAEH,qEAGE;AAmBK,8BAVI,GAAG,eACH,mBAAmB,GAAG;IAC5B,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IAC3D,SAAS,CAAC,EAAE,MAA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uBAAuB;4BAHrE,aAAa;0BACpB,cAAc;wCACqB,0BAA0B;yBAFtD,aAAa"}
@@ -35,7 +35,7 @@ harden(SingleNatAmountRecord);
35
35
  * @param {OrchestrationPowers & {
36
36
  * assetInfo?: [Denom, DenomDetail & { brandKey?: string }][];
37
37
  * chainInfo?: Record<string, CosmosChainInfo>;
38
- * marshaller: Marshaller;
38
+ * marshaller: Remote<Marshaller>;
39
39
  * storageNode: Remote<StorageNode>;
40
40
  * }} privateArgs
41
41
  * @param {Zone} zone
@@ -20,7 +20,7 @@ export const start: (zcf: globalThis.ZCF<Record<string, unknown>>, privateArgs:
20
20
  orchestrationService: Remote<CosmosInterchainService>;
21
21
  storageNode: Remote<StorageNode>;
22
22
  timerService: Remote<TimerService>;
23
- marshaller: Marshaller;
23
+ marshaller: Remote<Marshaller>;
24
24
  chainInfo: Record<string, CosmosChainInfo>;
25
25
  assetInfo: [Denom, DenomDetail & {
26
26
  brandKey?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"swap.contract.d.ts","sourceRoot":"","sources":["swap.contract.js"],"names":[],"mappings":"AAOA;;;;;;;;;GASG;AAEH,yCAAyC;AACzC,mBADW,YAAY,CAAC,OAAO,KAAK,CAAC,CAanC;AASK,0CAHI,KAAK,QACL,QAAQ;;;EAGmC;AAkDtD;iBA1CkB,OAAO,OAAO,CAAC;gBAChB,OAAO,UAAU,CAAC;0BACR,OAAO,uBAAuB,CAAC;iBACxC,OAAO,WAAW,CAAC;kBAClB,OAAO,YAAY,CAAC;gBACtB,UAAU;eACX,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;eAC/B,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE;;;;;;;;GAmCiB;6BA/ErD,cAAc;4BAFf,kBAAkB;gCADd,gCAAgC;6CAEnB,2BAA2B;kCAHtC,cAAc;qCAOS,uBAAuB;2BAAvB,uBAAuB;iCAAvB,uBAAuB"}
1
+ {"version":3,"file":"swap.contract.d.ts","sourceRoot":"","sources":["swap.contract.js"],"names":[],"mappings":"AAOA;;;;;;;;;GASG;AAEH,yCAAyC;AACzC,mBADW,YAAY,CAAC,OAAO,KAAK,CAAC,CAanC;AASK,0CAHI,KAAK,QACL,QAAQ;;;EAGmC;AAkDtD;iBA1CkB,OAAO,OAAO,CAAC;gBAChB,OAAO,UAAU,CAAC;0BACR,OAAO,uBAAuB,CAAC;iBACxC,OAAO,WAAW,CAAC;kBAClB,OAAO,YAAY,CAAC;gBACtB,OAAO,UAAU,CAAC;eACnB,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;eAC/B,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE;;;;;;;;GAmCiB;6BA/ErD,cAAc;4BAFf,kBAAkB;gCADd,gCAAgC;6CAEnB,2BAA2B;kCAHtC,cAAc;qCAOS,uBAAuB;2BAAvB,uBAAuB;iCAAvB,uBAAuB"}
@@ -52,7 +52,7 @@ harden(makeNatAmountShape);
52
52
  * orchestrationService: Remote<CosmosInterchainService>;
53
53
  * storageNode: Remote<StorageNode>;
54
54
  * timerService: Remote<TimerService>;
55
- * marshaller: Marshaller;
55
+ * marshaller: Remote<Marshaller>;
56
56
  * chainInfo: Record<string, CosmosChainInfo>;
57
57
  * assetInfo: [Denom, DenomDetail & { brandKey?: string }][];
58
58
  * }} privateArgs
@@ -3,7 +3,7 @@ export const start: (zcf: globalThis.ZCF<Record<string, unknown>>, privateArgs:
3
3
  localchain: Remote<LocalChain>;
4
4
  orchestrationService: Remote<CosmosInterchainService>;
5
5
  storageNode: Remote<StorageNode>;
6
- marshaller: Marshaller;
6
+ marshaller: Remote<Marshaller>;
7
7
  timerService: Remote<TimerService>;
8
8
  }, baggage: Baggage) => Promise<{
9
9
  publicFacet: import("@endo/exo").Guarded<{
@@ -1 +1 @@
1
- {"version":3,"file":"unbond.contract.d.ts","sourceRoot":"","sources":["unbond.contract.js"],"names":[],"mappings":"AAwDA;iBArCkB,OAAO,OAAO,CAAC;gBAChB,OAAO,UAAU,CAAC;0BACR,OAAO,uBAAuB,CAAC;iBACxC,OAAO,WAAW,CAAC;gBACpB,UAAU;kBACR,OAAO,YAAY,CAAC;;;;;GAgCwC;6BAjDrD,cAAc;4BACf,kBAAkB;gCAFd,gCAAgC;6CAInB,2BAA2B;kCALtC,cAAc"}
1
+ {"version":3,"file":"unbond.contract.d.ts","sourceRoot":"","sources":["unbond.contract.js"],"names":[],"mappings":"AAwDA;iBArCkB,OAAO,OAAO,CAAC;gBAChB,OAAO,UAAU,CAAC;0BACR,OAAO,uBAAuB,CAAC;iBACxC,OAAO,WAAW,CAAC;gBACpB,OAAO,UAAU,CAAC;kBAChB,OAAO,YAAY,CAAC;;;;;GAgCwC;6BAjDrD,cAAc;4BACf,kBAAkB;gCAFd,gCAAgC;6CAInB,2BAA2B;kCALtC,cAAc"}
@@ -21,7 +21,7 @@ import * as flows from './unbond.flows.js';
21
21
  * localchain: Remote<LocalChain>;
22
22
  * orchestrationService: Remote<CosmosInterchainService>;
23
23
  * storageNode: Remote<StorageNode>;
24
- * marshaller: Marshaller;
24
+ * marshaller: Remote<Marshaller>;
25
25
  * timerService: Remote<TimerService>;
26
26
  * }} privateArgs
27
27
  * @param {Zone} zone
@@ -1,5 +1,5 @@
1
1
  export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: OrchestrationPowers & {
2
- marshaller: Marshaller;
2
+ marshaller: Remote<Marshaller>;
3
3
  chainInfo?: Record<string, CosmosChainInfo>;
4
4
  assetInfo?: [Denom, DenomDetail & {
5
5
  brandKey?: string;
@@ -25,6 +25,7 @@ export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: Orchestrati
25
25
  export type QueryFlowsSF = typeof start;
26
26
  import type { ZCF } from '@agoric/zoe';
27
27
  import type { OrchestrationPowers } from '../utils/start-helper.js';
28
+ import type { Remote } from '@agoric/internal';
28
29
  import type { CosmosChainInfo } from '@agoric/orchestration';
29
30
  import type { Denom } from '@agoric/orchestration';
30
31
  import type { DenomDetail } from '@agoric/orchestration';
@@ -1 +1 @@
1
- {"version":3,"file":"query-flows.contract.d.ts","sourceRoot":"","sources":["query-flows.contract.js"],"names":[],"mappings":"AAkFA;gBA/DiB,UAAU;gBACV,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;gBAC/B,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE;;;;;;;;;;;;;;;;;;GA6DgB;2BAGjE,OAAO,KAAK;yBA3EJ,aAAa;yCAGuB,0BAA0B;qCAD9B,uBAAuB;2BAAvB,uBAAuB;iCAAvB,uBAAuB"}
1
+ {"version":3,"file":"query-flows.contract.d.ts","sourceRoot":"","sources":["query-flows.contract.js"],"names":[],"mappings":"AAmFA;gBA/DiB,OAAO,UAAU,CAAC;gBAClB,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;gBAC/B,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE;;;;;;;;;;;;;;;;;;GA6DgB;2BAGjE,OAAO,KAAK;yBA5EJ,aAAa;yCAIuB,0BAA0B;4BAF3D,kBAAkB;qCACW,uBAAuB;2BAAvB,uBAAuB;iCAAvB,uBAAuB"}
@@ -10,6 +10,7 @@ import * as flows from './query-flows.flows.js';
10
10
  /**
11
11
  * @import {ZCF} from '@agoric/zoe';
12
12
  * @import {Zone} from '@agoric/zone';
13
+ * @import {Remote} from '@agoric/internal';
13
14
  * @import {CosmosChainInfo, Denom, DenomDetail} from '@agoric/orchestration';
14
15
  * @import {OrchestrationPowers, OrchestrationTools} from '../utils/start-helper.js';
15
16
  */
@@ -17,7 +18,7 @@ import * as flows from './query-flows.flows.js';
17
18
  /**
18
19
  * @param {ZCF} zcf
19
20
  * @param {OrchestrationPowers & {
20
- * marshaller: Marshaller;
21
+ * marshaller: Remote<Marshaller>;
21
22
  * chainInfo?: Record<string, CosmosChainInfo>;
22
23
  * assetInfo?: [Denom, DenomDetail & { brandKey?: string }][];
23
24
  * }} privateArgs
@@ -14,7 +14,7 @@ const trace = makeTracer('InitChainInfo', true);
14
14
 
15
15
  /**
16
16
  * @param {ERef<import('@agoric/vats').NameHubKit['nameAdmin']>} agoricNamesAdmin
17
- * @param {ERef<StorageNode | null>} chainStorageP
17
+ * @param {ERef<import('@agoric/internal').Remote<StorageNode> | null>} chainStorageP
18
18
  */
19
19
  const publishChainInfoToChainStorage = async (
20
20
  agoricNamesAdmin,
@@ -1,4 +1,4 @@
1
- export function provideOrchestration(zcf: ZCF, baggage: Baggage, remotePowers: OrchestrationPowers, marshaller: Marshaller, opts?: {
1
+ export function provideOrchestration(zcf: ZCF, baggage: Baggage, remotePowers: OrchestrationPowers, marshaller: ERemote<Marshaller>, opts?: {
2
2
  chainInfoValueShape?: WithOrchestrationOpts["chainInfoValueShape"];
3
3
  }): {
4
4
  makeOrchestrateKit: (zone: Zone) => {
@@ -76,7 +76,7 @@ export function provideOrchestration(zcf: ZCF, baggage: Baggage, remotePowers: O
76
76
  }>(guestFns: GFM, hostCtx: HC) => { [N in keyof GFM]: HostForGuest<GFM[N]>; };
77
77
  };
78
78
  export function withOrchestration<CT extends Record<string, unknown>, PA extends OrchestrationPowers & {
79
- marshaller: Marshaller;
79
+ marshaller: Remote<Marshaller>;
80
80
  }, R>(contractFn: (zcf: ZCF<CT>, privateArgs: PA, zone: Zone, tools: OrchestrationTools) => Promise<R>, opts?: WithOrchestrationOpts): (zcf: ZCF<CT>, privateArgs: PA, baggage: Baggage) => Promise<R>;
81
81
  export type OrchestrationPowers = {
82
82
  localchain: Remote<LocalChain>;
@@ -101,10 +101,12 @@ export type WithOrchestrationOpts = {
101
101
  };
102
102
  export type OrchestrationTools = Omit<ReturnType<typeof provideOrchestration>, "zone">;
103
103
  import type { Baggage } from '@agoric/vat-data';
104
+ import type { ERemote } from '@agoric/internal';
104
105
  import type { Zone } from '@agoric/zone';
105
- import type { LocalChain } from '@agoric/vats/src/localchain.js';
106
106
  import type { Remote } from '@agoric/vow';
107
+ import type { LocalChain } from '@agoric/vats/src/localchain.js';
107
108
  import type { CosmosInterchainService } from '../exos/exo-interfaces.js';
109
+ import type { StorageNode } from '@agoric/internal/src/lib-chainStorage.js';
108
110
  import type { TimerService } from '@agoric/time';
109
111
  import type { NameHub } from '@agoric/vats';
110
112
  import type { Pattern } from '@endo/patterns';
@@ -1 +1 @@
1
- {"version":3,"file":"start-helper.d.ts","sourceRoot":"","sources":["start-helper.js"],"names":[],"mappings":"AA2DO,0CARI,GAAG,WACH,OAAO,gBACP,mBAAmB,cACnB,UAAU,SAElB;IAA4D,mBAAmB,GAAvE,qBAAqB,CAAC,qBAAqB,CAAC;CACpD;+BAmGU,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA5DX,CAAC;;;;;;;;;;;;;;;;;;;;;sBA2IqlX,CAAC;;;;;;;;;;;;;;;;;;;;EA9C5lX;AA+BM,kCAfgC,EAAE,SAA3B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAE,EAGhC,EAAE,SAFM,mBAAmB,GAAG;IAC/B,UAAU,EAAE,UAAU,CAAC;CACvB,EACQ,CAAC,cACH,CACN,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC,EACZ,WAAW,EAAE,EAAE,EACf,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,kBAAkB,KACtB,OAAO,CAAC,CAAC,CAAC,SACP,qBAAqB,GACnB,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,CAAC,CAAC,CAgBzE;kCA/MU;IACR,UAAU,EAAE,OAAO,UAAU,CAAC,CAAC;IAC/B,oBAAoB,EAAE,OAAO,uBAAuB,CAAC,CAAC;IACtD,WAAW,CAAC,EAAE,OAAO,WA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D,WAAW,CAAC,EAAE,OAAO,WAAW,CAAC,CAAC;IAClC,YAAY,EAAE,OAAO,YAAY,CAAC,CAAC;IACnC,WAAW,EAAE,OAAO,OAAO,CAAC,CAAC;CAC9B;;;;;;;;;;;;;0BAQU,OAAO;;iCAwJP,IAAI,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,EAAE,MAAM,CAAC;6BA/KzC,kBAAkB;6BAJlB,kBAAkB;0BAOrB,cAAc;4BADZ,aAAa;gCAJT,gCAAgC;6CAOnB,2BAA2B;iCARvC,0CAA0C;kCAEzC,cAAc;6BAEnB,cAAc;6BAGd,gBAAgB"}
@@ -13,6 +13,8 @@ import { makeZoeTools } from './zoe-tools.js';
13
13
  import { makeZcfTools } from './zcf-tools.js';
14
14
 
15
15
  /**
16
+ * @import {ERemote} from '@agoric/internal';
17
+ * @import {StorageNode} from '@agoric/internal/src/lib-chainStorage.js';
16
18
  * @import {LocalChain} from '@agoric/vats/src/localchain.js';
17
19
  * @import {TimerService} from '@agoric/time';
18
20
  * @import {Baggage} from '@agoric/vat-data';
@@ -52,7 +54,7 @@ import { makeZcfTools } from './zcf-tools.js';
52
54
  * @param {ZCF} zcf
53
55
  * @param {Baggage} baggage
54
56
  * @param {OrchestrationPowers} remotePowers
55
- * @param {Marshaller} marshaller
57
+ * @param {ERemote<Marshaller>} marshaller
56
58
  * @param {object} [opts]
57
59
  * @param {WithOrchestrationOpts['chainInfoValueShape']} [opts.chainInfoValueShape]
58
60
  * @internal
@@ -205,7 +207,7 @@ harden(provideOrchestration);
205
207
  *
206
208
  * @template {Record<string, unknown>} CT
207
209
  * @template {OrchestrationPowers & {
208
- * marshaller: Marshaller;
210
+ * marshaller: Remote<Marshaller>;
209
211
  * }} PA
210
212
  * @template R
211
213
  * @param {(
@@ -1 +1 @@
1
- {"version":3,"file":"contract-tests.d.ts","sourceRoot":"","sources":["contract-tests.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yDA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