@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.
- package/bundles/bundle-auctioneer-js-meta.json +130 -118
- package/bundles/bundle-auctioneer.js +1 -1
- package/bundles/bundle-econCommitteeCharter-js-meta.json +84 -72
- package/bundles/bundle-econCommitteeCharter.js +1 -1
- package/bundles/bundle-feeDistributor-js-meta.json +70 -58
- package/bundles/bundle-feeDistributor.js +1 -1
- package/bundles/bundle-fluxAggregatorKit-js-meta.json +124 -112
- package/bundles/bundle-fluxAggregatorKit.js +1 -1
- package/bundles/bundle-psm-js-meta.json +122 -110
- package/bundles/bundle-psm.js +1 -1
- package/bundles/bundle-reserve-js-meta.json +121 -109
- package/bundles/bundle-reserve.js +1 -1
- package/bundles/bundle-scaledPriceAuthority-js-meta.json +91 -79
- package/bundles/bundle-scaledPriceAuthority.js +1 -1
- package/bundles/bundle-vaultFactory-js-meta.json +150 -138
- package/bundles/bundle-vaultFactory.js +1 -1
- package/package.json +17 -17
- package/src/econCommitteeCharter.d.ts +3 -5
- package/src/econCommitteeCharter.d.ts.map +1 -1
- package/src/econCommitteeCharter.js +10 -5
- package/src/feeDistributor.d.ts +2 -8
- package/src/feeDistributor.d.ts.map +1 -1
- package/src/feeDistributor.js +9 -6
- package/src/price/fluxAggregatorContract.d.ts +3 -2
- package/src/price/fluxAggregatorContract.d.ts.map +1 -1
- package/src/price/fluxAggregatorContract.js +23 -18
- package/src/proposals/econ-behaviors.d.ts +6 -6
- package/src/proposals/econ-behaviors.d.ts.map +1 -1
- package/src/proposals/econ-behaviors.js +6 -6
- package/src/proposals/price-feed-proposal.js +1 -1
- package/src/psm/psm.d.ts +26 -33
- package/src/psm/psm.d.ts.map +1 -1
- package/src/psm/psm.js +35 -32
- package/src/reserve/assetReserve.d.ts +5 -3
- package/src/reserve/assetReserve.d.ts.map +1 -1
- package/src/reserve/assetReserve.js +10 -4
- package/src/vaultFactory/vaultFactory.d.ts +4 -3
- package/src/vaultFactory/vaultFactory.d.ts.map +1 -1
- package/src/vaultFactory/vaultFactory.js +20 -15
|
@@ -44,19 +44,23 @@ const trace = makeTracer('VF', true);
|
|
|
44
44
|
* >} VaultFactoryZCF
|
|
45
45
|
*/
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
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
|
|
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
|
|
156
|
+
/** @typedef {ContractOf<typeof start>} VaultFactoryContract */
|