@agoric/inter-protocol 0.16.2-dev-8358d20.0 → 0.16.2-dev-5eb596e.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 (39) hide show
  1. package/bundles/bundle-auctioneer-js-meta.json +130 -118
  2. package/bundles/bundle-auctioneer.js +1 -1
  3. package/bundles/bundle-econCommitteeCharter-js-meta.json +84 -72
  4. package/bundles/bundle-econCommitteeCharter.js +1 -1
  5. package/bundles/bundle-feeDistributor-js-meta.json +70 -58
  6. package/bundles/bundle-feeDistributor.js +1 -1
  7. package/bundles/bundle-fluxAggregatorKit-js-meta.json +124 -112
  8. package/bundles/bundle-fluxAggregatorKit.js +1 -1
  9. package/bundles/bundle-psm-js-meta.json +122 -110
  10. package/bundles/bundle-psm.js +1 -1
  11. package/bundles/bundle-reserve-js-meta.json +121 -109
  12. package/bundles/bundle-reserve.js +1 -1
  13. package/bundles/bundle-scaledPriceAuthority-js-meta.json +91 -79
  14. package/bundles/bundle-scaledPriceAuthority.js +1 -1
  15. package/bundles/bundle-vaultFactory-js-meta.json +150 -138
  16. package/bundles/bundle-vaultFactory.js +1 -1
  17. package/package.json +17 -17
  18. package/src/econCommitteeCharter.d.ts +3 -5
  19. package/src/econCommitteeCharter.d.ts.map +1 -1
  20. package/src/econCommitteeCharter.js +10 -5
  21. package/src/feeDistributor.d.ts +2 -8
  22. package/src/feeDistributor.d.ts.map +1 -1
  23. package/src/feeDistributor.js +9 -6
  24. package/src/price/fluxAggregatorContract.d.ts +3 -2
  25. package/src/price/fluxAggregatorContract.d.ts.map +1 -1
  26. package/src/price/fluxAggregatorContract.js +23 -18
  27. package/src/proposals/econ-behaviors.d.ts +6 -6
  28. package/src/proposals/econ-behaviors.d.ts.map +1 -1
  29. package/src/proposals/econ-behaviors.js +6 -6
  30. package/src/proposals/price-feed-proposal.js +1 -1
  31. package/src/psm/psm.d.ts +26 -33
  32. package/src/psm/psm.d.ts.map +1 -1
  33. package/src/psm/psm.js +35 -32
  34. package/src/reserve/assetReserve.d.ts +5 -3
  35. package/src/reserve/assetReserve.d.ts.map +1 -1
  36. package/src/reserve/assetReserve.js +10 -4
  37. package/src/vaultFactory/vaultFactory.d.ts +4 -3
  38. package/src/vaultFactory/vaultFactory.d.ts.map +1 -1
  39. package/src/vaultFactory/vaultFactory.js +20 -15
@@ -44,19 +44,23 @@ const trace = makeTracer('VF', true);
44
44
  * >} VaultFactoryZCF
45
45
  */
46
46
 
47
- export const privateArgsShape = M.splitRecord(
48
- harden({
49
- marshaller: M.remotable('Marshaller'),
50
- storageNode: StorageNodeShape,
51
- }),
52
- harden({
53
- // only necessary on first invocation, not subsequent
54
- feeMintAccess: FeeMintAccessShape,
55
- initialPoserInvitation: InvitationShape,
56
- initialShortfallInvitation: InvitationShape,
57
- }),
58
- );
59
- harden(privateArgsShape);
47
+ /** @type {ContractMeta} */
48
+ export const meta = {
49
+ privateArgsShape: M.splitRecord(
50
+ {
51
+ marshaller: M.remotable('Marshaller'),
52
+ storageNode: StorageNodeShape,
53
+ },
54
+ {
55
+ // only necessary on first invocation, not subsequent
56
+ feeMintAccess: FeeMintAccessShape,
57
+ initialPoserInvitation: InvitationShape,
58
+ initialShortfallInvitation: InvitationShape,
59
+ },
60
+ ),
61
+ upgradability: 'canUpgrade',
62
+ };
63
+ harden(meta);
60
64
 
61
65
  /**
62
66
  * @param {VaultFactoryZCF} zcf
@@ -69,7 +73,7 @@ harden(privateArgsShape);
69
73
  * }} privateArgs
70
74
  * @param {import('@agoric/ertp').Baggage} baggage
71
75
  */
72
- export const prepare = async (zcf, privateArgs, baggage) => {
76
+ export const start = async (zcf, privateArgs, baggage) => {
73
77
  trace('prepare start', privateArgs, [...baggage.keys()]);
74
78
  const {
75
79
  initialPoserInvitation,
@@ -147,5 +151,6 @@ export const prepare = async (zcf, privateArgs, baggage) => {
147
151
  publicFacet: director.public,
148
152
  });
149
153
  };
154
+ harden(start);
150
155
 
151
- /** @typedef {ContractOf<typeof prepare>} VaultFactoryContract */
156
+ /** @typedef {ContractOf<typeof start>} VaultFactoryContract */