@agoric/builders 0.1.1-other-dev-fbe72e7.0.fbe72e7 → 0.1.1-other-dev-d15096d.0.d15096d

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 (82) hide show
  1. package/package.json +19 -19
  2. package/scripts/inter-protocol/add-STARS.js +8 -3
  3. package/scripts/inter-protocol/add-collateral-core.js +10 -4
  4. package/scripts/inter-protocol/init-core.js +7 -2
  5. package/scripts/inter-protocol/invite-committee-core.js +7 -2
  6. package/scripts/inter-protocol/manual-price-feed.js +5 -1
  7. package/scripts/inter-protocol/price-feed-core.js +5 -1
  8. package/scripts/inter-protocol/replace-electorate-core.js +9 -3
  9. package/scripts/inter-protocol/replace-feeDistributor-combo.js +7 -2
  10. package/scripts/inter-protocol/replace-feeDistributor.js +7 -2
  11. package/scripts/inter-protocol/updatePriceFeeds.js +7 -3
  12. package/scripts/inter-protocol/withdraw-reserve.build.js +7 -2
  13. package/scripts/inter-protocol/withdraw-vbank-reserve-permit.json +6 -0
  14. package/scripts/inter-protocol/withdraw-vbank-reserve.js +67 -0
  15. package/scripts/orchestration/axelar-gmp.build.js +4 -2
  16. package/scripts/orchestration/hook-localchain-msg-send.js +7 -2
  17. package/scripts/orchestration/init-basic-flows.js +7 -2
  18. package/scripts/orchestration/init-stakeAtom.js +7 -2
  19. package/scripts/orchestration/init-stakeBld.js +7 -2
  20. package/scripts/orchestration/init-stakeOsmo.js +7 -2
  21. package/scripts/orchestration/write-chain-info.js +7 -2
  22. package/scripts/pegasus/init-core.js +7 -2
  23. package/scripts/smart-wallet/build-game1-start.js +7 -2
  24. package/scripts/smart-wallet/build-wallet-factory2-upgrade.js +7 -2
  25. package/scripts/smart-wallet/build-walletFactory-upgrade.js +7 -2
  26. package/scripts/testing/add-LEMONS.js +7 -2
  27. package/scripts/testing/add-OLIVES.js +7 -2
  28. package/scripts/testing/add-USD-LEMONS.js +5 -1
  29. package/scripts/testing/add-USD-OLIVES.js +5 -1
  30. package/scripts/testing/append-chain-info.js +9 -3
  31. package/scripts/testing/init-auto-stake-it.js +7 -2
  32. package/scripts/testing/init-send-anywhere.js +7 -2
  33. package/scripts/testing/init-swap-anything.js +7 -2
  34. package/scripts/testing/provokeBOYD.js +8 -4
  35. package/scripts/testing/publish-test-info.js +7 -2
  36. package/scripts/testing/recorded-retired-instances.js +7 -2
  37. package/scripts/testing/replace-feeDistributor-short.js +7 -2
  38. package/scripts/testing/restart-axelar-gmp.js +5 -3
  39. package/scripts/testing/restart-basic-flows.js +5 -3
  40. package/scripts/testing/restart-send-anywhere.js +5 -3
  41. package/scripts/testing/restart-stakeAtom.js +5 -3
  42. package/scripts/testing/restart-valueVow.js +7 -4
  43. package/scripts/testing/start-query-flows.js +4 -2
  44. package/scripts/testing/start-valueVow.js +7 -4
  45. package/scripts/testing/test-upgraded-board.js +7 -2
  46. package/scripts/testing/tweak-chain-info.js +9 -3
  47. package/scripts/testing/upgrade-send-anywhere.js +5 -3
  48. package/scripts/testing/upgrade-vaultFactory.js +7 -2
  49. package/scripts/vats/add-auction.js +7 -2
  50. package/scripts/vats/init-core.js +7 -2
  51. package/scripts/vats/init-localchain.js +7 -2
  52. package/scripts/vats/init-network.js +7 -2
  53. package/scripts/vats/init-orchestration.js +7 -2
  54. package/scripts/vats/init-transfer.js +7 -2
  55. package/scripts/vats/priceFeedSupport.js +7 -3
  56. package/scripts/vats/probe-zcf-bundle.js +7 -2
  57. package/scripts/vats/replace-provisioning.js +7 -2
  58. package/scripts/vats/replace-zoe.js +7 -2
  59. package/scripts/vats/restart-vats.js +7 -2
  60. package/scripts/vats/revive-kread.js +7 -2
  61. package/scripts/vats/test-localchain.js +7 -2
  62. package/scripts/vats/test-vtransfer.js +7 -2
  63. package/scripts/vats/updateAtomPriceFeed.js +7 -2
  64. package/scripts/vats/updateStAtomPriceFeed.js +7 -2
  65. package/scripts/vats/updateStOsmoPriceFeed.js +7 -2
  66. package/scripts/vats/updateStTiaPriceFeed.js +7 -2
  67. package/scripts/vats/updateStkAtomPriceFeed.js +7 -2
  68. package/scripts/vats/upgrade-agoricNames.js +7 -2
  69. package/scripts/vats/upgrade-asset-reserve.js +7 -2
  70. package/scripts/vats/upgrade-bank.js +7 -2
  71. package/scripts/vats/upgrade-board.js +7 -2
  72. package/scripts/vats/upgrade-mintHolder.js +7 -2
  73. package/scripts/vats/upgrade-orchestration.js +7 -2
  74. package/scripts/vats/upgrade-paRegistry.js +7 -2
  75. package/scripts/vats/upgrade-provisionPool-to-BLD.js +7 -2
  76. package/scripts/vats/upgrade-provisionPool.js +7 -2
  77. package/scripts/vats/upgrade-psm.js +7 -2
  78. package/scripts/vats/upgrade-vats.js +6 -2
  79. package/scripts/vats/upgrade-zcf.js +7 -2
  80. package/scripts/vats/upgrade-zoe.js +7 -2
  81. package/scripts/vats/upgradeScaledPriceAuthorities.js +7 -2
  82. package/scripts/vats/upgradeVaults.js +7 -2
@@ -8,7 +8,12 @@
8
8
  import { makeHelpers } from '@agoric/deploy-script-support';
9
9
  import { getManifestForGame1 } from '@agoric/smart-wallet/test/start-game1-proposal.js';
10
10
 
11
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').CoreEvalBuilder} */
11
+ /**
12
+ * @import {CoreEvalBuilder} from '@agoric/deploy-script-support/src/externalTypes.js';
13
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
14
+ */
15
+
16
+ /** @type {CoreEvalBuilder} */
12
17
  const game1ProposalBuilder = async ({ publishRef, install }) => {
13
18
  return harden({
14
19
  sourceSpec: '@agoric/smart-wallet/test/start-game1-proposal.js',
@@ -27,7 +32,7 @@ const game1ProposalBuilder = async ({ publishRef, install }) => {
27
32
  });
28
33
  };
29
34
 
30
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
35
+ /** @type {DeployScriptFunction} */
31
36
  export default async (homeP, endowments) => {
32
37
  const { writeCoreEval } = await makeHelpers(homeP, endowments);
33
38
  await writeCoreEval('start-game1', game1ProposalBuilder);
@@ -1,5 +1,10 @@
1
1
  import { makeHelpers } from '@agoric/deploy-script-support';
2
2
 
3
+ /**
4
+ * @import {CoreEvalBuilder} from '@agoric/deploy-script-support/src/externalTypes.js';
5
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
6
+ */
7
+
3
8
  /**
4
9
  * @file
5
10
  * `agoric run scripts/smart-wallet/build-wallet-factory2-upgrade.js`
@@ -7,7 +12,7 @@ import { makeHelpers } from '@agoric/deploy-script-support';
7
12
  * also prints helpful instructions for copying the files and installing them.
8
13
  */
9
14
 
10
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').CoreEvalBuilder} */
15
+ /** @type {CoreEvalBuilder} */
11
16
  export const defaultProposalBuilder = async ({ publishRef, install }) =>
12
17
  harden({
13
18
  sourceSpec:
@@ -22,7 +27,7 @@ export const defaultProposalBuilder = async ({ publishRef, install }) =>
22
27
  ],
23
28
  });
24
29
 
25
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
30
+ /** @type {DeployScriptFunction} */
26
31
  export default async (homeP, endowments) => {
27
32
  const { writeCoreEval } = await makeHelpers(homeP, endowments);
28
33
  await writeCoreEval('upgrade-wallet-factory', defaultProposalBuilder);
@@ -8,7 +8,12 @@
8
8
  import { makeHelpers } from '@agoric/deploy-script-support';
9
9
  import { getManifestForUpgrade } from '@agoric/smart-wallet/src/proposals/upgrade-walletFactory-proposal.js';
10
10
 
11
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').CoreEvalBuilder} */
11
+ /**
12
+ * @import {CoreEvalBuilder} from '@agoric/deploy-script-support/src/externalTypes.js';
13
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
14
+ */
15
+
16
+ /** @type {CoreEvalBuilder} */
12
17
  export const defaultProposalBuilder = async ({ publishRef, install }) => {
13
18
  return harden({
14
19
  sourceSpec:
@@ -28,7 +33,7 @@ export const defaultProposalBuilder = async ({ publishRef, install }) => {
28
33
  });
29
34
  };
30
35
 
31
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
36
+ /** @type {DeployScriptFunction} */
32
37
  export default async (homeP, endowments) => {
33
38
  const { writeCoreEval } = await makeHelpers(homeP, endowments);
34
39
  await writeCoreEval('upgrade-walletFactory', defaultProposalBuilder);
@@ -1,9 +1,14 @@
1
1
  import { makeHelpers } from '@agoric/deploy-script-support';
2
2
  import { defaultProposalBuilder as vaultProposalBuilder } from '../inter-protocol/add-collateral-core.js';
3
3
 
4
+ /**
5
+ * @import {CoreEvalBuilder} from '@agoric/deploy-script-support/src/externalTypes.js';
6
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
7
+ */
8
+
4
9
  /** @file This is for use in tests in a3p-integration */
5
10
 
6
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').CoreEvalBuilder} */
11
+ /** @type {CoreEvalBuilder} */
7
12
  const starsVaultProposalBuilder = async powers => {
8
13
  return vaultProposalBuilder(powers, {
9
14
  interchainAssetOptions: {
@@ -17,7 +22,7 @@ const starsVaultProposalBuilder = async powers => {
17
22
  });
18
23
  };
19
24
 
20
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
25
+ /** @type {DeployScriptFunction} */
21
26
  export default async (homeP, endowments) => {
22
27
  const { writeCoreEval } = await makeHelpers(homeP, endowments);
23
28
  await writeCoreEval('add-STARS-collateral', starsVaultProposalBuilder);
@@ -1,9 +1,14 @@
1
1
  import { makeHelpers } from '@agoric/deploy-script-support';
2
2
  import { defaultProposalBuilder as vaultProposalBuilder } from '../inter-protocol/add-collateral-core.js';
3
3
 
4
+ /**
5
+ * @import {CoreEvalBuilder} from '@agoric/deploy-script-support/src/externalTypes.js';
6
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
7
+ */
8
+
4
9
  /** @file This is for use in tests in a3p-integration */
5
10
 
6
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').CoreEvalBuilder} */
11
+ /** @type {CoreEvalBuilder} */
7
12
  const stars2VaultProposalBuilder = async powers => {
8
13
  return vaultProposalBuilder(powers, {
9
14
  interchainAssetOptions: {
@@ -16,7 +21,7 @@ const stars2VaultProposalBuilder = async powers => {
16
21
  });
17
22
  };
18
23
 
19
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
24
+ /** @type {DeployScriptFunction} */
20
25
  export default async (homeP, endowments) => {
21
26
  const { writeCoreEval } = await makeHelpers(homeP, endowments);
22
27
  await writeCoreEval('add-STARS2-collateral', stars2VaultProposalBuilder);
@@ -1,6 +1,10 @@
1
1
  import { makeHelpers } from '@agoric/deploy-script-support';
2
2
  import { psmProposalBuilder } from '../inter-protocol/add-collateral-core.js';
3
3
 
4
+ /**
5
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
6
+ */
7
+
4
8
  const addUsdLemonsProposalBuilder = async powers => {
5
9
  return psmProposalBuilder(powers, {
6
10
  anchorOptions: {
@@ -12,7 +16,7 @@ const addUsdLemonsProposalBuilder = async powers => {
12
16
  });
13
17
  };
14
18
 
15
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
19
+ /** @type {DeployScriptFunction} */
16
20
  export default async (homeP, endowments) => {
17
21
  const { writeCoreEval } = await makeHelpers(homeP, endowments);
18
22
  await writeCoreEval('add-LEMONS-PSM', addUsdLemonsProposalBuilder);
@@ -1,6 +1,10 @@
1
1
  import { makeHelpers } from '@agoric/deploy-script-support';
2
2
  import { psmProposalBuilder } from '../inter-protocol/add-collateral-core.js';
3
3
 
4
+ /**
5
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
6
+ */
7
+
4
8
  const addUsdOlivesProposalBuilder = async powers => {
5
9
  return psmProposalBuilder(powers, {
6
10
  anchorOptions: {
@@ -12,7 +16,7 @@ const addUsdOlivesProposalBuilder = async powers => {
12
16
  });
13
17
  };
14
18
 
15
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
19
+ /** @type {DeployScriptFunction} */
16
20
  export default async (homeP, endowments) => {
17
21
  const { writeCoreEval } = await makeHelpers(homeP, endowments);
18
22
  await writeCoreEval('add-OLIVES-PSM', addUsdOlivesProposalBuilder);
@@ -1,7 +1,13 @@
1
1
  /// <reference types="ses" />
2
2
  import { makeHelpers } from '@agoric/deploy-script-support';
3
3
 
4
- /** @type {Record<string, import('@agoric/orchestration').ChainInfo>} */
4
+ /**
5
+ * @import {ChainInfo} from '@agoric/orchestration';
6
+ * @import {CoreEvalBuilder} from '@agoric/deploy-script-support/src/externalTypes.js';
7
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
8
+ */
9
+
10
+ /** @type {Record<string, ChainInfo>} */
5
11
  const chainInfo = {
6
12
  hot: {
7
13
  bech32Prefix: 'cosmos',
@@ -31,7 +37,7 @@ const chainInfo = {
31
37
  },
32
38
  };
33
39
 
34
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').CoreEvalBuilder} */
40
+ /** @type {CoreEvalBuilder} */
35
41
  export const defaultProposalBuilder = async () =>
36
42
  harden({
37
43
  sourceSpec: '@agoric/orchestration/src/proposals/revise-chain-info.js',
@@ -43,7 +49,7 @@ export const defaultProposalBuilder = async () =>
43
49
  ],
44
50
  });
45
51
 
46
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
52
+ /** @type {DeployScriptFunction} */
47
53
  export default async (homeP, endowments) => {
48
54
  const { writeCoreEval } = await makeHelpers(homeP, endowments);
49
55
  await writeCoreEval('revise-chain-info', defaultProposalBuilder);
@@ -8,7 +8,12 @@ import { makeHelpers } from '@agoric/deploy-script-support';
8
8
  import { startAutoStakeIt } from '@agoric/orchestration/src/proposals/start-auto-stake-it.js';
9
9
  import { parseChainHubOpts } from '../orchestration/helpers.js';
10
10
 
11
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').CoreEvalBuilder} */
11
+ /**
12
+ * @import {CoreEvalBuilder} from '@agoric/deploy-script-support/src/externalTypes.js';
13
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
14
+ */
15
+
16
+ /** @type {CoreEvalBuilder} */
12
17
  export const defaultProposalBuilder = async (
13
18
  { publishRef, install },
14
19
  options,
@@ -31,7 +36,7 @@ export const defaultProposalBuilder = async (
31
36
  });
32
37
  };
33
38
 
34
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
39
+ /** @type {DeployScriptFunction} */
35
40
  export default async (homeP, endowments) => {
36
41
  const { scriptArgs } = endowments;
37
42
  const opts = parseChainHubOpts(scriptArgs);
@@ -5,7 +5,12 @@ import {
5
5
  } from '@agoric/orchestration/src/proposals/start-send-anywhere.js';
6
6
  import { parseChainHubOpts } from '../orchestration/helpers.js';
7
7
 
8
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').CoreEvalBuilder} */
8
+ /**
9
+ * @import {CoreEvalBuilder} from '@agoric/deploy-script-support/src/externalTypes.js';
10
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
11
+ */
12
+
13
+ /** @type {CoreEvalBuilder} */
9
14
  export const defaultProposalBuilder = async (
10
15
  { publishRef, install },
11
16
  options,
@@ -25,7 +30,7 @@ export const defaultProposalBuilder = async (
25
30
  ],
26
31
  });
27
32
 
28
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
33
+ /** @type {DeployScriptFunction} */
29
34
  export default async (homeP, endowments) => {
30
35
  const { scriptArgs } = endowments;
31
36
  const opts = parseChainHubOpts(scriptArgs);
@@ -5,7 +5,12 @@ import {
5
5
  } from '@agoric/orchestration/src/proposals/start-swap-anything.js';
6
6
  import { parseChainHubOpts } from '../orchestration/helpers.js';
7
7
 
8
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').CoreEvalBuilder} */
8
+ /**
9
+ * @import {CoreEvalBuilder} from '@agoric/deploy-script-support/src/externalTypes.js';
10
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
11
+ */
12
+
13
+ /** @type {CoreEvalBuilder} */
9
14
  export const defaultProposalBuilder = async (
10
15
  { publishRef, install },
11
16
  options,
@@ -25,7 +30,7 @@ export const defaultProposalBuilder = async (
25
30
  ],
26
31
  });
27
32
 
28
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
33
+ /** @type {DeployScriptFunction} */
29
34
  export default async (homeP, endowments) => {
30
35
  const { scriptArgs } = endowments;
31
36
  const opts = parseChainHubOpts(scriptArgs);
@@ -9,8 +9,12 @@
9
9
  import { makeTracer } from '@agoric/internal';
10
10
  import { E } from '@endo/far';
11
11
 
12
- /// <reference types="@agoric/vats/src/core/types-ambient"/>
13
- /** @import {Instance} from '@agoric/zoe/src/zoeService/utils.js'; */
12
+ /// <reference types="@agoric/vats/src/core/types-ambient.js"/>
13
+ /**
14
+ * @import {Instance} from '@agoric/zoe/src/zoeService/utils.js';
15
+ * @import {CoreEvalBuilder} from '@agoric/deploy-script-support/src/externalTypes.js';
16
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
17
+ */
14
18
 
15
19
  const trace = makeTracer('provokeBOYD', true);
16
20
 
@@ -38,14 +42,14 @@ export const getManifestForProvokeBOYD = () => {
38
42
  };
39
43
  };
40
44
 
41
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').CoreEvalBuilder} */
45
+ /** @type {CoreEvalBuilder} */
42
46
  export const defaultProposalBuilder = async () =>
43
47
  harden({
44
48
  sourceSpec: '@agoric/builders/scripts/testing/provokeBOYD.js',
45
49
  getManifestCall: ['getManifestForProvokeBOYD'],
46
50
  });
47
51
 
48
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
52
+ /** @type {DeployScriptFunction} */
49
53
  export default async (homeP, endowments) => {
50
54
  const dspModule = await import('@agoric/deploy-script-support');
51
55
  const { makeHelpers } = dspModule;
@@ -2,6 +2,11 @@ import { makeTracer } from '@agoric/internal';
2
2
  import { E, Far } from '@endo/far';
3
3
  import { makeMarshal } from '@endo/marshal';
4
4
 
5
+ /**
6
+ * @import {CoreEvalBuilder} from '@agoric/deploy-script-support/src/externalTypes.js';
7
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
8
+ */
9
+
5
10
  const trace = makeTracer('PublishTestInfo');
6
11
  const { Fail } = assert;
7
12
 
@@ -61,7 +66,7 @@ export const getManifestForPublishTestInfo = () => {
61
66
  };
62
67
  };
63
68
 
64
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').CoreEvalBuilder} */
69
+ /** @type {CoreEvalBuilder} */
65
70
  export const defaultProposalBuilder = async () =>
66
71
  harden({
67
72
  // Somewhat unorthodox, source the exports from this builder module
@@ -69,7 +74,7 @@ export const defaultProposalBuilder = async () =>
69
74
  getManifestCall: ['getManifestForPublishTestInfo'],
70
75
  });
71
76
 
72
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
77
+ /** @type {DeployScriptFunction} */
73
78
  export default async (homeP, endowments) => {
74
79
  // import dynamically so the module can work in CoreEval environment
75
80
  const dspModule = await import('@agoric/deploy-script-support');
@@ -1,6 +1,11 @@
1
1
  import { makeTracer } from '@agoric/internal';
2
2
  import { E } from '@endo/far';
3
3
 
4
+ /**
5
+ * @import {CoreEvalBuilder} from '@agoric/deploy-script-support/src/externalTypes.js';
6
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
7
+ */
8
+
4
9
  const trace = makeTracer('RecordedRetired', true);
5
10
 
6
11
  /**
@@ -63,7 +68,7 @@ export const getManifestForRecordedRetiredInstances = () => {
63
68
  };
64
69
  };
65
70
 
66
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').CoreEvalBuilder} */
71
+ /** @type {CoreEvalBuilder} */
67
72
  export const defaultProposalBuilder = async () =>
68
73
  harden({
69
74
  sourceSpec:
@@ -71,7 +76,7 @@ export const defaultProposalBuilder = async () =>
71
76
  getManifestCall: ['getManifestForRecordedRetiredInstances', {}],
72
77
  });
73
78
 
74
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
79
+ /** @type {DeployScriptFunction} */
75
80
  export default async (homeP, endowments) => {
76
81
  // import dynamically so the module can work in CoreEval environment
77
82
  const dspModule = await import('@agoric/deploy-script-support');
@@ -1,13 +1,18 @@
1
1
  import { makeHelpers } from '@agoric/deploy-script-support';
2
2
  import { getManifestForReplaceFeeDistributor } from '@agoric/inter-protocol/src/proposals/replace-fee-distributor.js';
3
3
 
4
+ /**
5
+ * @import {CoreEvalBuilder} from '@agoric/deploy-script-support/src/externalTypes.js';
6
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
7
+ */
8
+
4
9
  /**
5
10
  * @file
6
11
  * a Variant of ../inter-protocol/replace-feeDistributor.js that shortens the
7
12
  * collectionInterval for testing
8
13
  */
9
14
 
10
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').CoreEvalBuilder} */
15
+ /** @type {CoreEvalBuilder} */
11
16
  export const defaultProposalBuilder = async (_, opts) => {
12
17
  console.log('feeDist OPTS', opts);
13
18
  return harden({
@@ -17,7 +22,7 @@ export const defaultProposalBuilder = async (_, opts) => {
17
22
  });
18
23
  };
19
24
 
20
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
25
+ /** @type {DeployScriptFunction} */
21
26
  export default async (homeP, endowments) => {
22
27
  const { writeCoreEval } = await makeHelpers(homeP, endowments);
23
28
 
@@ -9,12 +9,14 @@ import {
9
9
  } from '@agoric/internal';
10
10
  import { E } from '@endo/far';
11
11
 
12
- /// <reference types="@agoric/vats/src/core/types-ambient"/>
12
+ /// <reference types="@agoric/vats/src/core/types-ambient.js"/>
13
13
 
14
14
  const trace = makeTracer('StartAxelarGmp', true);
15
15
 
16
16
  /**
17
17
  * @import {start as StartFn} from '@agoric/orchestration/src/examples/axelar-gmp.contract.js';
18
+ * @import {CoreEvalBuilder} from '@agoric/deploy-script-support/src/externalTypes.js';
19
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
18
20
  */
19
21
 
20
22
  /**
@@ -78,14 +80,14 @@ export const getManifest = () => {
78
80
  };
79
81
  };
80
82
 
81
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').CoreEvalBuilder} */
83
+ /** @type {CoreEvalBuilder} */
82
84
  export const defaultProposalBuilder = async () =>
83
85
  harden({
84
86
  sourceSpec: '@agoric/builders/scripts/testing/restart-axelar-gmp.js',
85
87
  getManifestCall: [getManifest.name],
86
88
  });
87
89
 
88
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
90
+ /** @type {DeployScriptFunction} */
89
91
  export default async (homeP, endowments) => {
90
92
  const dspModule = await import('@agoric/deploy-script-support');
91
93
  const { makeHelpers } = dspModule;
@@ -9,12 +9,14 @@ import {
9
9
  } from '@agoric/internal';
10
10
  import { E } from '@endo/far';
11
11
 
12
- /// <reference types="@agoric/vats/src/core/types-ambient"/>
12
+ /// <reference types="@agoric/vats/src/core/types-ambient.js"/>
13
13
 
14
14
  const trace = makeTracer('RestartBasicFlows', true);
15
15
 
16
16
  /**
17
17
  * @import {start as StartFn} from '@agoric/orchestration/src/examples/basic-flows.contract.js';
18
+ * @import {CoreEvalBuilder} from '@agoric/deploy-script-support/src/externalTypes.js';
19
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
18
20
  */
19
21
 
20
22
  /**
@@ -83,7 +85,7 @@ export const getManifest = () => {
83
85
  };
84
86
  };
85
87
 
86
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').CoreEvalBuilder} */
88
+ /** @type {CoreEvalBuilder} */
87
89
  export const defaultProposalBuilder = async () =>
88
90
  harden({
89
91
  // Somewhat unorthodox, source the exports from this builder module
@@ -91,7 +93,7 @@ export const defaultProposalBuilder = async () =>
91
93
  getManifestCall: [getManifest.name],
92
94
  });
93
95
 
94
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
96
+ /** @type {DeployScriptFunction} */
95
97
  export default async (homeP, endowments) => {
96
98
  // import dynamically so the module can work in CoreEval environment
97
99
  const dspModule = await import('@agoric/deploy-script-support');
@@ -9,12 +9,14 @@ import {
9
9
  } from '@agoric/internal';
10
10
  import { E } from '@endo/far';
11
11
 
12
- /// <reference types="@agoric/vats/src/core/types-ambient"/>
12
+ /// <reference types="@agoric/vats/src/core/types-ambient.js"/>
13
13
 
14
14
  const trace = makeTracer('StartSA', true);
15
15
 
16
16
  /**
17
17
  * @import {start as StartFn} from '@agoric/orchestration/src/examples/send-anywhere.contract.js';
18
+ * @import {CoreEvalBuilder} from '@agoric/deploy-script-support/src/externalTypes.js';
19
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
18
20
  */
19
21
 
20
22
  /**
@@ -83,7 +85,7 @@ export const getManifest = () => {
83
85
  };
84
86
  };
85
87
 
86
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').CoreEvalBuilder} */
88
+ /** @type {CoreEvalBuilder} */
87
89
  export const defaultProposalBuilder = async () =>
88
90
  harden({
89
91
  // Somewhat unorthodox, source the exports from this builder module
@@ -91,7 +93,7 @@ export const defaultProposalBuilder = async () =>
91
93
  getManifestCall: [getManifest.name],
92
94
  });
93
95
 
94
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
96
+ /** @type {DeployScriptFunction} */
95
97
  export default async (homeP, endowments) => {
96
98
  // import dynamically so the module can work in CoreEval environment
97
99
  const dspModule = await import('@agoric/deploy-script-support');
@@ -6,12 +6,14 @@ import { deeplyFulfilledObject, makeTracer } from '@agoric/internal';
6
6
  import { makeStorageNodeChild } from '@agoric/internal/src/lib-chainStorage.js';
7
7
  import { E } from '@endo/far';
8
8
 
9
- /// <reference types="@agoric/vats/src/core/types-ambient"/>
9
+ /// <reference types="@agoric/vats/src/core/types-ambient.js"/>
10
10
 
11
11
  const trace = makeTracer('RestartSA', true);
12
12
 
13
13
  /**
14
14
  * @import {start as StartFn} from '@agoric/orchestration/src/examples/stake-ica.contract.js';
15
+ * @import {CoreEvalBuilder} from '@agoric/deploy-script-support/src/externalTypes.js';
16
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
15
17
  */
16
18
 
17
19
  /**
@@ -73,7 +75,7 @@ export const getManifest = () => {
73
75
  };
74
76
  };
75
77
 
76
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').CoreEvalBuilder} */
78
+ /** @type {CoreEvalBuilder} */
77
79
  export const defaultProposalBuilder = async () =>
78
80
  harden({
79
81
  // Somewhat unorthodox, source the exports from this builder module
@@ -81,7 +83,7 @@ export const defaultProposalBuilder = async () =>
81
83
  getManifestCall: [getManifest.name],
82
84
  });
83
85
 
84
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
86
+ /** @type {DeployScriptFunction} */
85
87
  export default async (homeP, endowments) => {
86
88
  // import dynamically so the module can work in CoreEval environment
87
89
  const dspModule = await import('@agoric/deploy-script-support');
@@ -5,9 +5,12 @@
5
5
  import { makeTracer } from '@agoric/internal';
6
6
  import { E } from '@endo/far';
7
7
 
8
- /// <reference types="@agoric/vats/src/core/types-ambient"/>
8
+ /// <reference types="@agoric/vats/src/core/types-ambient.js"/>
9
9
  /**
10
10
  * @import {Instance} from '@agoric/zoe/src/zoeService/utils.js';
11
+ * @import {start} from '@agoric/zoe/src/contracts/valueVow.contract.js';
12
+ * @import {CoreEvalBuilder} from '@agoric/deploy-script-support/src/externalTypes.js';
13
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
11
14
  */
12
15
 
13
16
  const trace = makeTracer('RestartValueVow', true);
@@ -17,7 +20,7 @@ const trace = makeTracer('RestartValueVow', true);
17
20
  * instance: {
18
21
  * consume: {
19
22
  * valueVow: Instance<
20
- * import('@agoric/zoe/src/contracts/valueVow.contract.js').start
23
+ * start
21
24
  * >;
22
25
  * };
23
26
  * };
@@ -57,7 +60,7 @@ export const getManifestForValueVow = ({ restoreRef }, { valueVowRef }) => {
57
60
  };
58
61
  };
59
62
 
60
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').CoreEvalBuilder} */
63
+ /** @type {CoreEvalBuilder} */
61
64
  export const defaultProposalBuilder = async ({ publishRef, install }) =>
62
65
  harden({
63
66
  // Somewhat unorthodox, source the exports from this builder module
@@ -72,7 +75,7 @@ export const defaultProposalBuilder = async ({ publishRef, install }) =>
72
75
  ],
73
76
  });
74
77
 
75
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
78
+ /** @type {DeployScriptFunction} */
76
79
  export default async (homeP, endowments) => {
77
80
  // import dynamically so the module can work in CoreEval environment
78
81
  const dspModule = await import('@agoric/deploy-script-support');
@@ -12,6 +12,8 @@ import { parseChainHubOpts } from '../orchestration/helpers.js';
12
12
  /**
13
13
  * @import {CosmosChainInfo, Denom, DenomDetail} from '@agoric/orchestration';
14
14
  * @import {QueryFlowsSF as StartFn} from '@agoric/orchestration/src/fixtures/query-flows.contract.js';
15
+ * @import {CoreEvalBuilder} from '@agoric/deploy-script-support/src/externalTypes.js';
16
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
15
17
  */
16
18
 
17
19
  const contractName = 'queryFlows';
@@ -118,7 +120,7 @@ export const getManifestForContract = (
118
120
  };
119
121
  };
120
122
 
121
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').CoreEvalBuilder} */
123
+ /** @type {CoreEvalBuilder} */
122
124
  export const defaultProposalBuilder = async (
123
125
  { publishRef, install },
124
126
  options,
@@ -142,7 +144,7 @@ export const defaultProposalBuilder = async (
142
144
  });
143
145
  };
144
146
 
145
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
147
+ /** @type {DeployScriptFunction} */
146
148
  export default async (homeP, endowments) => {
147
149
  // import dynamically so the modules can work in CoreEval environment
148
150
  const { makeHelpers } = await import('@agoric/deploy-script-support');
@@ -5,9 +5,12 @@
5
5
  import { makeTracer } from '@agoric/internal';
6
6
  import { E } from '@endo/far';
7
7
 
8
- /// <reference types="@agoric/vats/src/core/types-ambient"/>
8
+ /// <reference types="@agoric/vats/src/core/types-ambient.js"/>
9
9
  /**
10
10
  * @import {Installation} from '@agoric/zoe/src/zoeService/utils.js';
11
+ * @import {start} from '@agoric/zoe/src/contracts/valueVow.contract.js';
12
+ * @import {CoreEvalBuilder} from '@agoric/deploy-script-support/src/externalTypes.js';
13
+ * @import {DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
11
14
  */
12
15
 
13
16
  const trace = makeTracer('StartValueVow', true);
@@ -17,7 +20,7 @@ const trace = makeTracer('StartValueVow', true);
17
20
  * installation: {
18
21
  * consume: {
19
22
  * valueVow: Installation<
20
- * import('@agoric/zoe/src/contracts/valueVow.contract.js').start
23
+ * start
21
24
  * >;
22
25
  * };
23
26
  * };
@@ -68,7 +71,7 @@ export const getManifestForValueVow = ({ restoreRef }, { valueVowRef }) => {
68
71
  };
69
72
  };
70
73
 
71
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').CoreEvalBuilder} */
74
+ /** @type {CoreEvalBuilder} */
72
75
  export const defaultProposalBuilder = async ({ publishRef, install }) =>
73
76
  harden({
74
77
  // Somewhat unorthodox, source the exports from this builder module
@@ -83,7 +86,7 @@ export const defaultProposalBuilder = async ({ publishRef, install }) =>
83
86
  ],
84
87
  });
85
88
 
86
- /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').DeployScriptFunction} */
89
+ /** @type {DeployScriptFunction} */
87
90
  export default async (homeP, endowments) => {
88
91
  // import dynamically so the module can work in CoreEval environment
89
92
  const dspModule = await import('@agoric/deploy-script-support');