@agoric/builders 0.1.1-dev-09ccd43.0 → 0.1.1-dev-6fb05ae.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/builders",
3
- "version": "0.1.1-dev-09ccd43.0+09ccd43",
3
+ "version": "0.1.1-dev-6fb05ae.0+6fb05ae",
4
4
  "description": "Build scripts for proposals to an Agoric chain",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -23,14 +23,14 @@
23
23
  "author": "Agoric",
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@agoric/ertp": "0.16.3-dev-09ccd43.0+09ccd43",
27
- "@agoric/fast-usdc": "0.1.1-dev-09ccd43.0+09ccd43",
28
- "@agoric/internal": "0.3.3-dev-09ccd43.0+09ccd43",
29
- "@agoric/notifier": "0.6.3-dev-09ccd43.0+09ccd43",
30
- "@agoric/smart-wallet": "0.5.4-dev-09ccd43.0+09ccd43",
31
- "@agoric/vat-data": "0.5.3-dev-09ccd43.0+09ccd43",
32
- "@agoric/vats": "0.15.2-dev-09ccd43.0+09ccd43",
33
- "@agoric/zoe": "0.26.3-dev-09ccd43.0+09ccd43",
26
+ "@agoric/ertp": "0.16.3-dev-6fb05ae.0+6fb05ae",
27
+ "@agoric/fast-usdc": "0.1.1-dev-6fb05ae.0+6fb05ae",
28
+ "@agoric/internal": "0.3.3-dev-6fb05ae.0+6fb05ae",
29
+ "@agoric/notifier": "0.6.3-dev-6fb05ae.0+6fb05ae",
30
+ "@agoric/smart-wallet": "0.5.4-dev-6fb05ae.0+6fb05ae",
31
+ "@agoric/vat-data": "0.5.3-dev-6fb05ae.0+6fb05ae",
32
+ "@agoric/vats": "0.15.2-dev-6fb05ae.0+6fb05ae",
33
+ "@agoric/zoe": "0.26.3-dev-6fb05ae.0+6fb05ae",
34
34
  "@endo/bundle-source": "^3.5.1",
35
35
  "@endo/captp": "^4.4.4",
36
36
  "@endo/eventual-send": "^1.3.0",
@@ -43,14 +43,14 @@
43
43
  "import-meta-resolve": "^4.1.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@agoric/deploy-script-support": "0.10.4-dev-09ccd43.0+09ccd43",
47
- "@agoric/governance": "0.10.4-dev-09ccd43.0+09ccd43",
48
- "@agoric/inter-protocol": "0.16.2-dev-09ccd43.0+09ccd43",
49
- "@agoric/orchestration": "0.1.1-dev-09ccd43.0+09ccd43",
50
- "@agoric/store": "0.9.3-dev-09ccd43.0+09ccd43",
51
- "@agoric/swing-store": "0.9.2-dev-09ccd43.0+09ccd43",
52
- "@agoric/swingset-liveslots": "0.10.3-dev-09ccd43.0+09ccd43",
53
- "@agoric/time": "0.3.3-dev-09ccd43.0+09ccd43",
46
+ "@agoric/deploy-script-support": "0.10.4-dev-6fb05ae.0+6fb05ae",
47
+ "@agoric/governance": "0.10.4-dev-6fb05ae.0+6fb05ae",
48
+ "@agoric/inter-protocol": "0.16.2-dev-6fb05ae.0+6fb05ae",
49
+ "@agoric/orchestration": "0.1.1-dev-6fb05ae.0+6fb05ae",
50
+ "@agoric/store": "0.9.3-dev-6fb05ae.0+6fb05ae",
51
+ "@agoric/swing-store": "0.9.2-dev-6fb05ae.0+6fb05ae",
52
+ "@agoric/swingset-liveslots": "0.10.3-dev-6fb05ae.0+6fb05ae",
53
+ "@agoric/time": "0.3.3-dev-6fb05ae.0+6fb05ae",
54
54
  "@endo/errors": "^1.2.9",
55
55
  "ava": "^5.3.0",
56
56
  "c8": "^10.1.2"
@@ -83,5 +83,5 @@
83
83
  "typeCoverage": {
84
84
  "atLeast": 91.55
85
85
  },
86
- "gitHead": "09ccd43baa1008caf35c52d900ffc934f8b8419e"
86
+ "gitHead": "6fb05aed0a0a3b44df4c0374f896fe6d4ff6d7ad"
87
87
  }
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Usage:
3
+ * agoric run fast-usdc-fee-config.build.js
4
+ *
5
+ * see {@link @agoric/fast-usdc/src/update-fee-config.core.js}
6
+ */
7
+ import { makeHelpers } from '@agoric/deploy-script-support';
8
+ import { getManifestForUpdateFeeConfig } from '@agoric/fast-usdc/src/update-fee-config.core.js';
9
+
10
+ /**
11
+ * @import {CoreEvalBuilder, DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js';
12
+ */
13
+
14
+ /**
15
+ * @param {Parameters<CoreEvalBuilder>[0]} powers
16
+ * @param {{}} options
17
+ * @satisfies {CoreEvalBuilder}
18
+ */
19
+ export const proposalBuilder = async (
20
+ { publishRef, install },
21
+ options = {},
22
+ ) => {
23
+ return harden({
24
+ sourceSpec: '@agoric/fast-usdc/src/update-fee-config.core.js',
25
+ /** @type {[string, Parameters<typeof getManifestForUpdateFeeConfig>[1]]} */
26
+ getManifestCall: [
27
+ getManifestForUpdateFeeConfig.name,
28
+ {
29
+ options,
30
+ installKeys: {
31
+ fastUsdc: publishRef(
32
+ install('@agoric/fast-usdc/src/fast-usdc.contract.js'),
33
+ ),
34
+ },
35
+ },
36
+ ],
37
+ });
38
+ };
39
+
40
+ /** @type {DeployScriptFunction} */
41
+ export default async (homeP, endowments) => {
42
+ const { writeCoreEval } = await makeHelpers(homeP, endowments);
43
+
44
+ await writeCoreEval('eval-fast-usdc-fee-config', utils =>
45
+ proposalBuilder(utils),
46
+ );
47
+ };