@agoric/inter-protocol 0.16.2-dev-8e82183.0 → 0.16.2-dev-2e2466e.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/inter-protocol",
|
|
3
|
-
"version": "0.16.2-dev-
|
|
3
|
+
"version": "0.16.2-dev-2e2466e.0+2e2466e",
|
|
4
4
|
"description": "Core cryptoeconomy contracts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@agoric/assert": "0.6.1-dev-
|
|
35
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
36
|
-
"@agoric/governance": "0.10.4-dev-
|
|
37
|
-
"@agoric/internal": "0.3.3-dev-
|
|
38
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
39
|
-
"@agoric/store": "0.9.3-dev-
|
|
40
|
-
"@agoric/time": "0.3.3-dev-
|
|
41
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
42
|
-
"@agoric/vats": "0.15.2-dev-
|
|
43
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
34
|
+
"@agoric/assert": "0.6.1-dev-2e2466e.0+2e2466e",
|
|
35
|
+
"@agoric/ertp": "0.16.3-dev-2e2466e.0+2e2466e",
|
|
36
|
+
"@agoric/governance": "0.10.4-dev-2e2466e.0+2e2466e",
|
|
37
|
+
"@agoric/internal": "0.3.3-dev-2e2466e.0+2e2466e",
|
|
38
|
+
"@agoric/notifier": "0.6.3-dev-2e2466e.0+2e2466e",
|
|
39
|
+
"@agoric/store": "0.9.3-dev-2e2466e.0+2e2466e",
|
|
40
|
+
"@agoric/time": "0.3.3-dev-2e2466e.0+2e2466e",
|
|
41
|
+
"@agoric/vat-data": "0.5.3-dev-2e2466e.0+2e2466e",
|
|
42
|
+
"@agoric/vats": "0.15.2-dev-2e2466e.0+2e2466e",
|
|
43
|
+
"@agoric/zoe": "0.26.3-dev-2e2466e.0+2e2466e",
|
|
44
44
|
"@endo/captp": "^4.1.1",
|
|
45
45
|
"@endo/eventual-send": "^1.2.1",
|
|
46
46
|
"@endo/far": "^1.1.1",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"jessie.js": "^0.3.4"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@agoric/smart-wallet": "0.5.4-dev-
|
|
54
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
55
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
56
|
-
"@agoric/zone": "0.2.3-dev-
|
|
53
|
+
"@agoric/smart-wallet": "0.5.4-dev-2e2466e.0+2e2466e",
|
|
54
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-2e2466e.0+2e2466e",
|
|
55
|
+
"@agoric/swingset-vat": "0.32.3-dev-2e2466e.0+2e2466e",
|
|
56
|
+
"@agoric/zone": "0.2.3-dev-2e2466e.0+2e2466e",
|
|
57
57
|
"@endo/bundle-source": "^3.2.2",
|
|
58
58
|
"@endo/init": "^1.1.1",
|
|
59
59
|
"@endo/promise-kit": "^1.1.1",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"typeCoverage": {
|
|
86
86
|
"atLeast": 95.89
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "2e2466e86e6f5417557fa7a0d0f7ca5104061cdd"
|
|
89
89
|
}
|
|
@@ -7,71 +7,7 @@ export function setupReserve({ consume: { board, feeMintAccess: feeMintAccessP,
|
|
|
7
7
|
}>, privateArgs: {
|
|
8
8
|
feeMintAccess: FeeMintAccess;
|
|
9
9
|
initialPoserInvitation: Invitation;
|
|
10
|
-
marshaller: ERef<
|
|
11
|
-
/** @import {start as VFStart} from '../vaultFactory/vaultFactory.js' */
|
|
12
|
-
/** @typedef {Awaited<ReturnType<VFStart>>['publicFacet']} VaultFactoryPublicFacet */
|
|
13
|
-
/**
|
|
14
|
-
* @typedef {object} PSMKit
|
|
15
|
-
* @property {string} label
|
|
16
|
-
* @property {Instance} psm
|
|
17
|
-
* @property {Instance} psmGovernor
|
|
18
|
-
* @property {Awaited<
|
|
19
|
-
* ReturnType<
|
|
20
|
-
* Awaited<
|
|
21
|
-
* ReturnType<import('../psm/psm.js')['start']>
|
|
22
|
-
* >['creatorFacet']['getLimitedCreatorFacet']
|
|
23
|
-
* >
|
|
24
|
-
* >} psmCreatorFacet
|
|
25
|
-
* @property {GovernorCreatorFacet<import('../../src/psm/psm.js')['start']>} psmGovernorCreatorFacet
|
|
26
|
-
* @property {AdminFacet} psmAdminFacet
|
|
27
|
-
*/
|
|
28
|
-
/** @typedef {GovernanceFacetKit<import('../auction/auctioneer.js').start>} AuctioneerKit */
|
|
29
|
-
/**
|
|
30
|
-
* @typedef {WellKnownSpaces & ChainBootstrapSpace & EconomyBootstrapSpace} EconomyBootstrapPowers
|
|
31
|
-
*
|
|
32
|
-
* @typedef {PromiseSpaceOf<{
|
|
33
|
-
* economicCommitteeKit: CommitteeStartResult;
|
|
34
|
-
* economicCommitteeCreatorFacet: import('@agoric/governance/src/committee.js').CommitteeElectorateCreatorFacet;
|
|
35
|
-
* feeDistributorKit: StartedInstanceKit<
|
|
36
|
-
* typeof import('../feeDistributor.js').start
|
|
37
|
-
* >;
|
|
38
|
-
* periodicFeeCollectors: MapStore<
|
|
39
|
-
* number,
|
|
40
|
-
* import('../feeDistributor.js').PeriodicFeeCollector
|
|
41
|
-
* >;
|
|
42
|
-
* psmKit: MapStore<Brand, PSMKit>;
|
|
43
|
-
* anchorBalancePayments: MapStore<Brand, Payment<'nat'>>;
|
|
44
|
-
* econCharterKit: EconCharterStartResult;
|
|
45
|
-
* reserveKit: GovernanceFacetKit<
|
|
46
|
-
* import('../reserve/assetReserve.js')['start']
|
|
47
|
-
* >;
|
|
48
|
-
* vaultFactoryKit: GovernanceFacetKit<VFStart>;
|
|
49
|
-
* auctioneerKit: AuctioneerKit;
|
|
50
|
-
* newAuctioneerKit: AuctioneerKit;
|
|
51
|
-
* minInitialDebt: NatValue;
|
|
52
|
-
* }>} EconomyBootstrapSpace
|
|
53
|
-
*/
|
|
54
|
-
/**
|
|
55
|
-
* @typedef {StartedInstanceKit<
|
|
56
|
-
* import('../econCommitteeCharter.js')['start']
|
|
57
|
-
* >} EconCharterStartResult
|
|
58
|
-
*/
|
|
59
|
-
/**
|
|
60
|
-
* @typedef {StartedInstanceKit<
|
|
61
|
-
* import('@agoric/governance/src/committee.js')['start']
|
|
62
|
-
* >} CommitteeStartResult
|
|
63
|
-
*/
|
|
64
|
-
/**
|
|
65
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
66
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
67
|
-
* vat config.
|
|
68
|
-
*
|
|
69
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
70
|
-
*
|
|
71
|
-
* In production called by @agoric/vats to bootstrap.
|
|
72
|
-
*/
|
|
73
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
74
|
-
Marshaller>;
|
|
10
|
+
marshaller: ERef<Marshaller>;
|
|
75
11
|
storageNode: ERef<StorageNode>;
|
|
76
12
|
}, baggage: import("@agoric/vat-data").Baggage) => Promise<{
|
|
77
13
|
creatorFacet: globalThis.GovernedCreatorFacet<import("@endo/exo").Guarded<{
|
|
@@ -87,7 +23,7 @@ export function setupReserve({ consume: { board, feeMintAccess: feeMintAccessP,
|
|
|
87
23
|
getPublicTopics(): {
|
|
88
24
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../reserve/assetReserveKit.js").MetricsNotification>;
|
|
89
25
|
};
|
|
90
|
-
}>>;
|
|
26
|
+
}>>;
|
|
91
27
|
}>>>;
|
|
92
28
|
export function setupVaultFactoryArguments(consume: EconomyBootstrapPowers["consume"], { interestTiming, options: { referencedUi }, }: {
|
|
93
29
|
interestTiming?: InterestTiming | undefined;
|
|
@@ -194,7 +130,18 @@ export function startRewardDistributor({ consume: { chainTimerService, bankManag
|
|
|
194
130
|
export function startAuctioneer({ consume: { zoe, board, chainTimerService, priceAuthority, chainStorage, economicCommitteeCreatorFacet: electorateCreatorFacet, }, produce: { auctioneerKit }, instance: { produce: { auctioneer: auctionInstance }, consume: { reserve: reserveInstance }, }, installation: { consume: { auctioneer: auctionInstallation, contractGovernor: contractGovernorInstallation, }, }, issuer: { consume: { [Stable.symbol]: stableIssuerP }, }, }: EconomyBootstrapPowers, { auctionParams, }?: {
|
|
195
131
|
auctionParams?: any;
|
|
196
132
|
}): Promise<void>;
|
|
197
|
-
export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: VaultFactoryZCF, privateArgs:
|
|
133
|
+
export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: VaultFactoryZCF, privateArgs:
|
|
134
|
+
/**
|
|
135
|
+
* @file A collection of productions, each of which declares inputs and outputs.
|
|
136
|
+
* Each function is passed a set of powers for reading from and writing to the
|
|
137
|
+
* vat config.
|
|
138
|
+
*
|
|
139
|
+
* Each of the things they produce they're responsible for resolving or setting.
|
|
140
|
+
*
|
|
141
|
+
* In production called by @agoric/vats to bootstrap.
|
|
142
|
+
*/
|
|
143
|
+
/** @param {EconomyBootstrapPowers} powers */
|
|
144
|
+
{
|
|
198
145
|
feeMintAccess: FeeMintAccess;
|
|
199
146
|
initialPoserInvitation: Invitation;
|
|
200
147
|
initialShortfallInvitation: Invitation;
|
|
@@ -229,16 +176,6 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: VaultFactoryZCF,
|
|
|
229
176
|
publicSubscribers: {
|
|
230
177
|
vault: {
|
|
231
178
|
description: string;
|
|
232
|
-
/**
|
|
233
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
234
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
235
|
-
* vat config.
|
|
236
|
-
*
|
|
237
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
238
|
-
*
|
|
239
|
-
* In production called by @agoric/vats to bootstrap.
|
|
240
|
-
*/
|
|
241
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
242
179
|
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
243
180
|
storagePath: Promise<string>;
|
|
244
181
|
};
|
|
@@ -252,16 +189,6 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: VaultFactoryZCF,
|
|
|
252
189
|
getPublicTopics(): {
|
|
253
190
|
vault: {
|
|
254
191
|
description: string;
|
|
255
|
-
/**
|
|
256
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
257
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
258
|
-
* vat config.
|
|
259
|
-
*
|
|
260
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
261
|
-
*
|
|
262
|
-
* In production called by @agoric/vats to bootstrap.
|
|
263
|
-
*/
|
|
264
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
265
192
|
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
266
193
|
storagePath: Promise<string>;
|
|
267
194
|
};
|
|
@@ -281,16 +208,6 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: VaultFactoryZCF,
|
|
|
281
208
|
publicSubscribers: {
|
|
282
209
|
vault: {
|
|
283
210
|
description: string;
|
|
284
|
-
/**
|
|
285
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
286
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
287
|
-
* vat config.
|
|
288
|
-
*
|
|
289
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
290
|
-
*
|
|
291
|
-
* In production called by @agoric/vats to bootstrap.
|
|
292
|
-
*/
|
|
293
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
294
211
|
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
295
212
|
storagePath: Promise<string>;
|
|
296
213
|
};
|
|
@@ -304,16 +221,6 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: VaultFactoryZCF,
|
|
|
304
221
|
getPublicTopics(): {
|
|
305
222
|
vault: {
|
|
306
223
|
description: string;
|
|
307
|
-
/**
|
|
308
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
309
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
310
|
-
* vat config.
|
|
311
|
-
*
|
|
312
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
313
|
-
*
|
|
314
|
-
* In production called by @agoric/vats to bootstrap.
|
|
315
|
-
*/
|
|
316
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
317
224
|
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
318
225
|
storagePath: Promise<string>;
|
|
319
226
|
};
|
|
@@ -389,16 +296,6 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: VaultFactoryZCF,
|
|
|
389
296
|
publicSubscribers: {
|
|
390
297
|
vault: {
|
|
391
298
|
description: string;
|
|
392
|
-
/**
|
|
393
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
394
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
395
|
-
* vat config.
|
|
396
|
-
*
|
|
397
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
398
|
-
*
|
|
399
|
-
* In production called by @agoric/vats to bootstrap.
|
|
400
|
-
*/
|
|
401
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
402
299
|
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
403
300
|
storagePath: Promise<string>;
|
|
404
301
|
};
|
|
@@ -412,16 +309,6 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: VaultFactoryZCF,
|
|
|
412
309
|
getPublicTopics(): {
|
|
413
310
|
vault: {
|
|
414
311
|
description: string;
|
|
415
|
-
/**
|
|
416
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
417
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
418
|
-
* vat config.
|
|
419
|
-
*
|
|
420
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
421
|
-
*
|
|
422
|
-
* In production called by @agoric/vats to bootstrap.
|
|
423
|
-
*/
|
|
424
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
425
312
|
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
426
313
|
storagePath: Promise<string>;
|
|
427
314
|
};
|
|
@@ -532,57 +419,9 @@ export type EconomyBootstrapSpace = {
|
|
|
532
419
|
}>) => Promise<{
|
|
533
420
|
creatorFacet: {
|
|
534
421
|
makeContractFeeCollector: (zoe: ERef<ZoeService>, creatorFacet: ERef<CollectibleContractFacet>) => {
|
|
535
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
536
|
-
* @typedef {WellKnownSpaces & ChainBootstrapSpace & EconomyBootstrapSpace} EconomyBootstrapPowers
|
|
537
|
-
*
|
|
538
|
-
* @typedef {PromiseSpaceOf<{
|
|
539
|
-
* economicCommitteeKit: CommitteeStartResult;
|
|
540
|
-
* economicCommitteeCreatorFacet: import('@agoric/governance/src/committee.js').CommitteeElectorateCreatorFacet;
|
|
541
|
-
* feeDistributorKit: StartedInstanceKit<
|
|
542
|
-
* typeof import('../feeDistributor.js').start
|
|
543
|
-
* >;
|
|
544
|
-
* periodicFeeCollectors: MapStore<
|
|
545
|
-
* number,
|
|
546
|
-
* import('../feeDistributor.js').PeriodicFeeCollector
|
|
547
|
-
* >;
|
|
548
|
-
* psmKit: MapStore<Brand, PSMKit>;
|
|
549
|
-
* anchorBalancePayments: MapStore<Brand, Payment<'nat'>>;
|
|
550
|
-
* econCharterKit: EconCharterStartResult;
|
|
551
|
-
* reserveKit: GovernanceFacetKit<
|
|
552
|
-
* import('../reserve/assetReserve.js')['start']
|
|
553
|
-
* >;
|
|
554
|
-
* vaultFactoryKit: GovernanceFacetKit<VFStart>;
|
|
555
|
-
* auctioneerKit: AuctioneerKit;
|
|
556
|
-
* newAuctioneerKit: AuctioneerKit;
|
|
557
|
-
* minInitialDebt: NatValue;
|
|
558
|
-
* }>} EconomyBootstrapSpace
|
|
559
|
-
*/
|
|
422
|
+
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
560
423
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
561
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
562
|
-
* @typedef {WellKnownSpaces & ChainBootstrapSpace & EconomyBootstrapSpace} EconomyBootstrapPowers
|
|
563
|
-
*
|
|
564
|
-
* @typedef {PromiseSpaceOf<{
|
|
565
|
-
* economicCommitteeKit: CommitteeStartResult;
|
|
566
|
-
* economicCommitteeCreatorFacet: import('@agoric/governance/src/committee.js').CommitteeElectorateCreatorFacet;
|
|
567
|
-
* feeDistributorKit: StartedInstanceKit<
|
|
568
|
-
* typeof import('../feeDistributor.js').start
|
|
569
|
-
* >;
|
|
570
|
-
* periodicFeeCollectors: MapStore<
|
|
571
|
-
* number,
|
|
572
|
-
* import('../feeDistributor.js').PeriodicFeeCollector
|
|
573
|
-
* >;
|
|
574
|
-
* psmKit: MapStore<Brand, PSMKit>;
|
|
575
|
-
* anchorBalancePayments: MapStore<Brand, Payment<'nat'>>;
|
|
576
|
-
* econCharterKit: EconCharterStartResult;
|
|
577
|
-
* reserveKit: GovernanceFacetKit<
|
|
578
|
-
* import('../reserve/assetReserve.js')['start']
|
|
579
|
-
* >;
|
|
580
|
-
* vaultFactoryKit: GovernanceFacetKit<VFStart>;
|
|
581
|
-
* auctioneerKit: AuctioneerKit;
|
|
582
|
-
* newAuctioneerKit: AuctioneerKit;
|
|
583
|
-
* minInitialDebt: NatValue;
|
|
584
|
-
* }>} EconomyBootstrapSpace
|
|
585
|
-
*/
|
|
424
|
+
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
586
425
|
}>;
|
|
587
426
|
startPeriodicCollection: (debugName: string, collectorP: ERef<FeeCollector>) => Promise<import("../feeDistributor.js").PeriodicFeeCollector>;
|
|
588
427
|
makeDepositFacetDestination: (depositFacet: import("@endo/far").EOnly<import("@agoric/ertp/exported.js").DepositFacet>) => {
|
|
@@ -599,57 +438,9 @@ export type EconomyBootstrapSpace = {
|
|
|
599
438
|
setKeywordShares: (newShares: Record<Keyword, bigint>) => void;
|
|
600
439
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
601
440
|
makeContractFeeCollector: (zoe: ERef<ZoeService>, creatorFacet: ERef<CollectibleContractFacet>) => {
|
|
602
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
603
|
-
* @typedef {WellKnownSpaces & ChainBootstrapSpace & EconomyBootstrapSpace} EconomyBootstrapPowers
|
|
604
|
-
*
|
|
605
|
-
* @typedef {PromiseSpaceOf<{
|
|
606
|
-
* economicCommitteeKit: CommitteeStartResult;
|
|
607
|
-
* economicCommitteeCreatorFacet: import('@agoric/governance/src/committee.js').CommitteeElectorateCreatorFacet;
|
|
608
|
-
* feeDistributorKit: StartedInstanceKit<
|
|
609
|
-
* typeof import('../feeDistributor.js').start
|
|
610
|
-
* >;
|
|
611
|
-
* periodicFeeCollectors: MapStore<
|
|
612
|
-
* number,
|
|
613
|
-
* import('../feeDistributor.js').PeriodicFeeCollector
|
|
614
|
-
* >;
|
|
615
|
-
* psmKit: MapStore<Brand, PSMKit>;
|
|
616
|
-
* anchorBalancePayments: MapStore<Brand, Payment<'nat'>>;
|
|
617
|
-
* econCharterKit: EconCharterStartResult;
|
|
618
|
-
* reserveKit: GovernanceFacetKit<
|
|
619
|
-
* import('../reserve/assetReserve.js')['start']
|
|
620
|
-
* >;
|
|
621
|
-
* vaultFactoryKit: GovernanceFacetKit<VFStart>;
|
|
622
|
-
* auctioneerKit: AuctioneerKit;
|
|
623
|
-
* newAuctioneerKit: AuctioneerKit;
|
|
624
|
-
* minInitialDebt: NatValue;
|
|
625
|
-
* }>} EconomyBootstrapSpace
|
|
626
|
-
*/
|
|
441
|
+
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
627
442
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
628
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
629
|
-
* @typedef {WellKnownSpaces & ChainBootstrapSpace & EconomyBootstrapSpace} EconomyBootstrapPowers
|
|
630
|
-
*
|
|
631
|
-
* @typedef {PromiseSpaceOf<{
|
|
632
|
-
* economicCommitteeKit: CommitteeStartResult;
|
|
633
|
-
* economicCommitteeCreatorFacet: import('@agoric/governance/src/committee.js').CommitteeElectorateCreatorFacet;
|
|
634
|
-
* feeDistributorKit: StartedInstanceKit<
|
|
635
|
-
* typeof import('../feeDistributor.js').start
|
|
636
|
-
* >;
|
|
637
|
-
* periodicFeeCollectors: MapStore<
|
|
638
|
-
* number,
|
|
639
|
-
* import('../feeDistributor.js').PeriodicFeeCollector
|
|
640
|
-
* >;
|
|
641
|
-
* psmKit: MapStore<Brand, PSMKit>;
|
|
642
|
-
* anchorBalancePayments: MapStore<Brand, Payment<'nat'>>;
|
|
643
|
-
* econCharterKit: EconCharterStartResult;
|
|
644
|
-
* reserveKit: GovernanceFacetKit<
|
|
645
|
-
* import('../reserve/assetReserve.js')['start']
|
|
646
|
-
* >;
|
|
647
|
-
* vaultFactoryKit: GovernanceFacetKit<VFStart>;
|
|
648
|
-
* auctioneerKit: AuctioneerKit;
|
|
649
|
-
* newAuctioneerKit: AuctioneerKit;
|
|
650
|
-
* minInitialDebt: NatValue;
|
|
651
|
-
* }>} EconomyBootstrapSpace
|
|
652
|
-
*/
|
|
443
|
+
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
653
444
|
}>;
|
|
654
445
|
startPeriodicCollection: (debugName: string, collectorP: ERef<FeeCollector>) => Promise<import("../feeDistributor.js").PeriodicFeeCollector>;
|
|
655
446
|
makeDepositFacetDestination: (depositFacet: import("@endo/far").EOnly<import("@agoric/ertp/exported.js").DepositFacet>) => {
|
|
@@ -682,71 +473,7 @@ export type EconomyBootstrapSpace = {
|
|
|
682
473
|
}>, privateArgs: {
|
|
683
474
|
feeMintAccess: FeeMintAccess;
|
|
684
475
|
initialPoserInvitation: Invitation;
|
|
685
|
-
marshaller: ERef<
|
|
686
|
-
/** @import {start as VFStart} from '../vaultFactory/vaultFactory.js' */
|
|
687
|
-
/** @typedef {Awaited<ReturnType<VFStart>>['publicFacet']} VaultFactoryPublicFacet */
|
|
688
|
-
/**
|
|
689
|
-
* @typedef {object} PSMKit
|
|
690
|
-
* @property {string} label
|
|
691
|
-
* @property {Instance} psm
|
|
692
|
-
* @property {Instance} psmGovernor
|
|
693
|
-
* @property {Awaited<
|
|
694
|
-
* ReturnType<
|
|
695
|
-
* Awaited<
|
|
696
|
-
* ReturnType<import('../psm/psm.js')['start']>
|
|
697
|
-
* >['creatorFacet']['getLimitedCreatorFacet']
|
|
698
|
-
* >
|
|
699
|
-
* >} psmCreatorFacet
|
|
700
|
-
* @property {GovernorCreatorFacet<import('../../src/psm/psm.js')['start']>} psmGovernorCreatorFacet
|
|
701
|
-
* @property {AdminFacet} psmAdminFacet
|
|
702
|
-
*/
|
|
703
|
-
/** @typedef {GovernanceFacetKit<import('../auction/auctioneer.js').start>} AuctioneerKit */
|
|
704
|
-
/**
|
|
705
|
-
* @typedef {WellKnownSpaces & ChainBootstrapSpace & EconomyBootstrapSpace} EconomyBootstrapPowers
|
|
706
|
-
*
|
|
707
|
-
* @typedef {PromiseSpaceOf<{
|
|
708
|
-
* economicCommitteeKit: CommitteeStartResult;
|
|
709
|
-
* economicCommitteeCreatorFacet: import('@agoric/governance/src/committee.js').CommitteeElectorateCreatorFacet;
|
|
710
|
-
* feeDistributorKit: StartedInstanceKit<
|
|
711
|
-
* typeof import('../feeDistributor.js').start
|
|
712
|
-
* >;
|
|
713
|
-
* periodicFeeCollectors: MapStore<
|
|
714
|
-
* number,
|
|
715
|
-
* import('../feeDistributor.js').PeriodicFeeCollector
|
|
716
|
-
* >;
|
|
717
|
-
* psmKit: MapStore<Brand, PSMKit>;
|
|
718
|
-
* anchorBalancePayments: MapStore<Brand, Payment<'nat'>>;
|
|
719
|
-
* econCharterKit: EconCharterStartResult;
|
|
720
|
-
* reserveKit: GovernanceFacetKit<
|
|
721
|
-
* import('../reserve/assetReserve.js')['start']
|
|
722
|
-
* >;
|
|
723
|
-
* vaultFactoryKit: GovernanceFacetKit<VFStart>;
|
|
724
|
-
* auctioneerKit: AuctioneerKit;
|
|
725
|
-
* newAuctioneerKit: AuctioneerKit;
|
|
726
|
-
* minInitialDebt: NatValue;
|
|
727
|
-
* }>} EconomyBootstrapSpace
|
|
728
|
-
*/
|
|
729
|
-
/**
|
|
730
|
-
* @typedef {StartedInstanceKit<
|
|
731
|
-
* import('../econCommitteeCharter.js')['start']
|
|
732
|
-
* >} EconCharterStartResult
|
|
733
|
-
*/
|
|
734
|
-
/**
|
|
735
|
-
* @typedef {StartedInstanceKit<
|
|
736
|
-
* import('@agoric/governance/src/committee.js')['start']
|
|
737
|
-
* >} CommitteeStartResult
|
|
738
|
-
*/
|
|
739
|
-
/**
|
|
740
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
741
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
742
|
-
* vat config.
|
|
743
|
-
*
|
|
744
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
745
|
-
*
|
|
746
|
-
* In production called by @agoric/vats to bootstrap.
|
|
747
|
-
*/
|
|
748
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
749
|
-
Marshaller>;
|
|
476
|
+
marshaller: ERef<Marshaller>;
|
|
750
477
|
storageNode: ERef<StorageNode>;
|
|
751
478
|
}, baggage: import("@agoric/vat-data").Baggage) => Promise<{
|
|
752
479
|
creatorFacet: globalThis.GovernedCreatorFacet<import("@endo/exo").Guarded<{
|
|
@@ -762,9 +489,20 @@ export type EconomyBootstrapSpace = {
|
|
|
762
489
|
getPublicTopics(): {
|
|
763
490
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../reserve/assetReserveKit.js").MetricsNotification>;
|
|
764
491
|
};
|
|
765
|
-
}>>;
|
|
492
|
+
}>>;
|
|
766
493
|
}>>>;
|
|
767
|
-
vaultFactoryKit: Promise<globalThis.GovernanceFacetKit<(zcf: VaultFactoryZCF, privateArgs:
|
|
494
|
+
vaultFactoryKit: Promise<globalThis.GovernanceFacetKit<(zcf: VaultFactoryZCF, privateArgs:
|
|
495
|
+
/**
|
|
496
|
+
* @file A collection of productions, each of which declares inputs and outputs.
|
|
497
|
+
* Each function is passed a set of powers for reading from and writing to the
|
|
498
|
+
* vat config.
|
|
499
|
+
*
|
|
500
|
+
* Each of the things they produce they're responsible for resolving or setting.
|
|
501
|
+
*
|
|
502
|
+
* In production called by @agoric/vats to bootstrap.
|
|
503
|
+
*/
|
|
504
|
+
/** @param {EconomyBootstrapPowers} powers */
|
|
505
|
+
{
|
|
768
506
|
feeMintAccess: FeeMintAccess;
|
|
769
507
|
initialPoserInvitation: Invitation;
|
|
770
508
|
initialShortfallInvitation: Invitation;
|
|
@@ -799,16 +537,6 @@ export type EconomyBootstrapSpace = {
|
|
|
799
537
|
publicSubscribers: {
|
|
800
538
|
vault: {
|
|
801
539
|
description: string;
|
|
802
|
-
/**
|
|
803
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
804
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
805
|
-
* vat config.
|
|
806
|
-
*
|
|
807
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
808
|
-
*
|
|
809
|
-
* In production called by @agoric/vats to bootstrap.
|
|
810
|
-
*/
|
|
811
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
812
540
|
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
813
541
|
storagePath: Promise<string>;
|
|
814
542
|
};
|
|
@@ -822,16 +550,6 @@ export type EconomyBootstrapSpace = {
|
|
|
822
550
|
getPublicTopics(): {
|
|
823
551
|
vault: {
|
|
824
552
|
description: string;
|
|
825
|
-
/**
|
|
826
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
827
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
828
|
-
* vat config.
|
|
829
|
-
*
|
|
830
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
831
|
-
*
|
|
832
|
-
* In production called by @agoric/vats to bootstrap.
|
|
833
|
-
*/
|
|
834
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
835
553
|
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
836
554
|
storagePath: Promise<string>;
|
|
837
555
|
};
|
|
@@ -851,16 +569,6 @@ export type EconomyBootstrapSpace = {
|
|
|
851
569
|
publicSubscribers: {
|
|
852
570
|
vault: {
|
|
853
571
|
description: string;
|
|
854
|
-
/**
|
|
855
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
856
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
857
|
-
* vat config.
|
|
858
|
-
*
|
|
859
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
860
|
-
*
|
|
861
|
-
* In production called by @agoric/vats to bootstrap.
|
|
862
|
-
*/
|
|
863
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
864
572
|
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
865
573
|
storagePath: Promise<string>;
|
|
866
574
|
};
|
|
@@ -874,16 +582,6 @@ export type EconomyBootstrapSpace = {
|
|
|
874
582
|
getPublicTopics(): {
|
|
875
583
|
vault: {
|
|
876
584
|
description: string;
|
|
877
|
-
/**
|
|
878
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
879
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
880
|
-
* vat config.
|
|
881
|
-
*
|
|
882
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
883
|
-
*
|
|
884
|
-
* In production called by @agoric/vats to bootstrap.
|
|
885
|
-
*/
|
|
886
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
887
585
|
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
888
586
|
storagePath: Promise<string>;
|
|
889
587
|
};
|
|
@@ -959,16 +657,6 @@ export type EconomyBootstrapSpace = {
|
|
|
959
657
|
publicSubscribers: {
|
|
960
658
|
vault: {
|
|
961
659
|
description: string;
|
|
962
|
-
/**
|
|
963
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
964
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
965
|
-
* vat config.
|
|
966
|
-
*
|
|
967
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
968
|
-
*
|
|
969
|
-
* In production called by @agoric/vats to bootstrap.
|
|
970
|
-
*/
|
|
971
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
972
660
|
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
973
661
|
storagePath: Promise<string>;
|
|
974
662
|
};
|
|
@@ -982,16 +670,6 @@ export type EconomyBootstrapSpace = {
|
|
|
982
670
|
getPublicTopics(): {
|
|
983
671
|
vault: {
|
|
984
672
|
description: string;
|
|
985
|
-
/**
|
|
986
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
987
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
988
|
-
* vat config.
|
|
989
|
-
*
|
|
990
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
991
|
-
*
|
|
992
|
-
* In production called by @agoric/vats to bootstrap.
|
|
993
|
-
*/
|
|
994
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
995
673
|
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
996
674
|
storagePath: Promise<string>;
|
|
997
675
|
};
|
|
@@ -1040,57 +718,9 @@ export type EconomyBootstrapSpace = {
|
|
|
1040
718
|
}>) => Promise<{
|
|
1041
719
|
creatorFacet: {
|
|
1042
720
|
makeContractFeeCollector: (zoe: ERef<ZoeService>, creatorFacet: ERef<CollectibleContractFacet>) => {
|
|
1043
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
1044
|
-
* @typedef {WellKnownSpaces & ChainBootstrapSpace & EconomyBootstrapSpace} EconomyBootstrapPowers
|
|
1045
|
-
*
|
|
1046
|
-
* @typedef {PromiseSpaceOf<{
|
|
1047
|
-
* economicCommitteeKit: CommitteeStartResult;
|
|
1048
|
-
* economicCommitteeCreatorFacet: import('@agoric/governance/src/committee.js').CommitteeElectorateCreatorFacet;
|
|
1049
|
-
* feeDistributorKit: StartedInstanceKit<
|
|
1050
|
-
* typeof import('../feeDistributor.js').start
|
|
1051
|
-
* >;
|
|
1052
|
-
* periodicFeeCollectors: MapStore<
|
|
1053
|
-
* number,
|
|
1054
|
-
* import('../feeDistributor.js').PeriodicFeeCollector
|
|
1055
|
-
* >;
|
|
1056
|
-
* psmKit: MapStore<Brand, PSMKit>;
|
|
1057
|
-
* anchorBalancePayments: MapStore<Brand, Payment<'nat'>>;
|
|
1058
|
-
* econCharterKit: EconCharterStartResult;
|
|
1059
|
-
* reserveKit: GovernanceFacetKit<
|
|
1060
|
-
* import('../reserve/assetReserve.js')['start']
|
|
1061
|
-
* >;
|
|
1062
|
-
* vaultFactoryKit: GovernanceFacetKit<VFStart>;
|
|
1063
|
-
* auctioneerKit: AuctioneerKit;
|
|
1064
|
-
* newAuctioneerKit: AuctioneerKit;
|
|
1065
|
-
* minInitialDebt: NatValue;
|
|
1066
|
-
* }>} EconomyBootstrapSpace
|
|
1067
|
-
*/
|
|
721
|
+
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
1068
722
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
1069
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
1070
|
-
* @typedef {WellKnownSpaces & ChainBootstrapSpace & EconomyBootstrapSpace} EconomyBootstrapPowers
|
|
1071
|
-
*
|
|
1072
|
-
* @typedef {PromiseSpaceOf<{
|
|
1073
|
-
* economicCommitteeKit: CommitteeStartResult;
|
|
1074
|
-
* economicCommitteeCreatorFacet: import('@agoric/governance/src/committee.js').CommitteeElectorateCreatorFacet;
|
|
1075
|
-
* feeDistributorKit: StartedInstanceKit<
|
|
1076
|
-
* typeof import('../feeDistributor.js').start
|
|
1077
|
-
* >;
|
|
1078
|
-
* periodicFeeCollectors: MapStore<
|
|
1079
|
-
* number,
|
|
1080
|
-
* import('../feeDistributor.js').PeriodicFeeCollector
|
|
1081
|
-
* >;
|
|
1082
|
-
* psmKit: MapStore<Brand, PSMKit>;
|
|
1083
|
-
* anchorBalancePayments: MapStore<Brand, Payment<'nat'>>;
|
|
1084
|
-
* econCharterKit: EconCharterStartResult;
|
|
1085
|
-
* reserveKit: GovernanceFacetKit<
|
|
1086
|
-
* import('../reserve/assetReserve.js')['start']
|
|
1087
|
-
* >;
|
|
1088
|
-
* vaultFactoryKit: GovernanceFacetKit<VFStart>;
|
|
1089
|
-
* auctioneerKit: AuctioneerKit;
|
|
1090
|
-
* newAuctioneerKit: AuctioneerKit;
|
|
1091
|
-
* minInitialDebt: NatValue;
|
|
1092
|
-
* }>} EconomyBootstrapSpace
|
|
1093
|
-
*/
|
|
723
|
+
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
1094
724
|
}>;
|
|
1095
725
|
startPeriodicCollection: (debugName: string, collectorP: ERef<FeeCollector>) => Promise<import("../feeDistributor.js").PeriodicFeeCollector>;
|
|
1096
726
|
makeDepositFacetDestination: (depositFacet: import("@endo/far").EOnly<import("@agoric/ertp/exported.js").DepositFacet>) => {
|
|
@@ -1107,57 +737,9 @@ export type EconomyBootstrapSpace = {
|
|
|
1107
737
|
setKeywordShares: (newShares: Record<Keyword, bigint>) => void;
|
|
1108
738
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
1109
739
|
makeContractFeeCollector: (zoe: ERef<ZoeService>, creatorFacet: ERef<CollectibleContractFacet>) => {
|
|
1110
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
1111
|
-
* @typedef {WellKnownSpaces & ChainBootstrapSpace & EconomyBootstrapSpace} EconomyBootstrapPowers
|
|
1112
|
-
*
|
|
1113
|
-
* @typedef {PromiseSpaceOf<{
|
|
1114
|
-
* economicCommitteeKit: CommitteeStartResult;
|
|
1115
|
-
* economicCommitteeCreatorFacet: import('@agoric/governance/src/committee.js').CommitteeElectorateCreatorFacet;
|
|
1116
|
-
* feeDistributorKit: StartedInstanceKit<
|
|
1117
|
-
* typeof import('../feeDistributor.js').start
|
|
1118
|
-
* >;
|
|
1119
|
-
* periodicFeeCollectors: MapStore<
|
|
1120
|
-
* number,
|
|
1121
|
-
* import('../feeDistributor.js').PeriodicFeeCollector
|
|
1122
|
-
* >;
|
|
1123
|
-
* psmKit: MapStore<Brand, PSMKit>;
|
|
1124
|
-
* anchorBalancePayments: MapStore<Brand, Payment<'nat'>>;
|
|
1125
|
-
* econCharterKit: EconCharterStartResult;
|
|
1126
|
-
* reserveKit: GovernanceFacetKit<
|
|
1127
|
-
* import('../reserve/assetReserve.js')['start']
|
|
1128
|
-
* >;
|
|
1129
|
-
* vaultFactoryKit: GovernanceFacetKit<VFStart>;
|
|
1130
|
-
* auctioneerKit: AuctioneerKit;
|
|
1131
|
-
* newAuctioneerKit: AuctioneerKit;
|
|
1132
|
-
* minInitialDebt: NatValue;
|
|
1133
|
-
* }>} EconomyBootstrapSpace
|
|
1134
|
-
*/
|
|
740
|
+
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
1135
741
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
1136
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
1137
|
-
* @typedef {WellKnownSpaces & ChainBootstrapSpace & EconomyBootstrapSpace} EconomyBootstrapPowers
|
|
1138
|
-
*
|
|
1139
|
-
* @typedef {PromiseSpaceOf<{
|
|
1140
|
-
* economicCommitteeKit: CommitteeStartResult;
|
|
1141
|
-
* economicCommitteeCreatorFacet: import('@agoric/governance/src/committee.js').CommitteeElectorateCreatorFacet;
|
|
1142
|
-
* feeDistributorKit: StartedInstanceKit<
|
|
1143
|
-
* typeof import('../feeDistributor.js').start
|
|
1144
|
-
* >;
|
|
1145
|
-
* periodicFeeCollectors: MapStore<
|
|
1146
|
-
* number,
|
|
1147
|
-
* import('../feeDistributor.js').PeriodicFeeCollector
|
|
1148
|
-
* >;
|
|
1149
|
-
* psmKit: MapStore<Brand, PSMKit>;
|
|
1150
|
-
* anchorBalancePayments: MapStore<Brand, Payment<'nat'>>;
|
|
1151
|
-
* econCharterKit: EconCharterStartResult;
|
|
1152
|
-
* reserveKit: GovernanceFacetKit<
|
|
1153
|
-
* import('../reserve/assetReserve.js')['start']
|
|
1154
|
-
* >;
|
|
1155
|
-
* vaultFactoryKit: GovernanceFacetKit<VFStart>;
|
|
1156
|
-
* auctioneerKit: AuctioneerKit;
|
|
1157
|
-
* newAuctioneerKit: AuctioneerKit;
|
|
1158
|
-
* minInitialDebt: NatValue;
|
|
1159
|
-
* }>} EconomyBootstrapSpace
|
|
1160
|
-
*/
|
|
742
|
+
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
1161
743
|
}>;
|
|
1162
744
|
startPeriodicCollection: (debugName: string, collectorP: ERef<FeeCollector>) => Promise<import("../feeDistributor.js").PeriodicFeeCollector>;
|
|
1163
745
|
makeDepositFacetDestination: (depositFacet: import("@endo/far").EOnly<import("@agoric/ertp/exported.js").DepositFacet>) => {
|
|
@@ -1206,7 +788,7 @@ export type EconomyBootstrapSpace = {
|
|
|
1206
788
|
getPublicTopics(): {
|
|
1207
789
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../reserve/assetReserveKit.js").MetricsNotification>;
|
|
1208
790
|
};
|
|
1209
|
-
}>>;
|
|
791
|
+
}>>;
|
|
1210
792
|
}>>>;
|
|
1211
793
|
vaultFactoryKit: Producer<globalThis.GovernanceFacetKit<(zcf: VaultFactoryZCF, privateArgs: {
|
|
1212
794
|
feeMintAccess: FeeMintAccess;
|
|
@@ -1243,16 +825,6 @@ export type EconomyBootstrapSpace = {
|
|
|
1243
825
|
publicSubscribers: {
|
|
1244
826
|
vault: {
|
|
1245
827
|
description: string;
|
|
1246
|
-
/**
|
|
1247
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
1248
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
1249
|
-
* vat config.
|
|
1250
|
-
*
|
|
1251
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
1252
|
-
*
|
|
1253
|
-
* In production called by @agoric/vats to bootstrap.
|
|
1254
|
-
*/
|
|
1255
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
1256
828
|
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
1257
829
|
storagePath: Promise<string>;
|
|
1258
830
|
};
|
|
@@ -1266,16 +838,6 @@ export type EconomyBootstrapSpace = {
|
|
|
1266
838
|
getPublicTopics(): {
|
|
1267
839
|
vault: {
|
|
1268
840
|
description: string;
|
|
1269
|
-
/**
|
|
1270
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
1271
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
1272
|
-
* vat config.
|
|
1273
|
-
*
|
|
1274
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
1275
|
-
*
|
|
1276
|
-
* In production called by @agoric/vats to bootstrap.
|
|
1277
|
-
*/
|
|
1278
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
1279
841
|
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
1280
842
|
storagePath: Promise<string>;
|
|
1281
843
|
};
|
|
@@ -1295,16 +857,6 @@ export type EconomyBootstrapSpace = {
|
|
|
1295
857
|
publicSubscribers: {
|
|
1296
858
|
vault: {
|
|
1297
859
|
description: string;
|
|
1298
|
-
/**
|
|
1299
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
1300
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
1301
|
-
* vat config.
|
|
1302
|
-
*
|
|
1303
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
1304
|
-
*
|
|
1305
|
-
* In production called by @agoric/vats to bootstrap.
|
|
1306
|
-
*/
|
|
1307
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
1308
860
|
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
1309
861
|
storagePath: Promise<string>;
|
|
1310
862
|
};
|
|
@@ -1318,16 +870,6 @@ export type EconomyBootstrapSpace = {
|
|
|
1318
870
|
getPublicTopics(): {
|
|
1319
871
|
vault: {
|
|
1320
872
|
description: string;
|
|
1321
|
-
/**
|
|
1322
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
1323
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
1324
|
-
* vat config.
|
|
1325
|
-
*
|
|
1326
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
1327
|
-
*
|
|
1328
|
-
* In production called by @agoric/vats to bootstrap.
|
|
1329
|
-
*/
|
|
1330
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
1331
873
|
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
1332
874
|
storagePath: Promise<string>;
|
|
1333
875
|
};
|
|
@@ -1403,16 +945,6 @@ export type EconomyBootstrapSpace = {
|
|
|
1403
945
|
publicSubscribers: {
|
|
1404
946
|
vault: {
|
|
1405
947
|
description: string;
|
|
1406
|
-
/**
|
|
1407
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
1408
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
1409
|
-
* vat config.
|
|
1410
|
-
*
|
|
1411
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
1412
|
-
*
|
|
1413
|
-
* In production called by @agoric/vats to bootstrap.
|
|
1414
|
-
*/
|
|
1415
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
1416
948
|
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
1417
949
|
storagePath: Promise<string>;
|
|
1418
950
|
};
|
|
@@ -1426,16 +958,6 @@ export type EconomyBootstrapSpace = {
|
|
|
1426
958
|
getPublicTopics(): {
|
|
1427
959
|
vault: {
|
|
1428
960
|
description: string;
|
|
1429
|
-
/**
|
|
1430
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
1431
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
1432
|
-
* vat config.
|
|
1433
|
-
*
|
|
1434
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
1435
|
-
*
|
|
1436
|
-
* In production called by @agoric/vats to bootstrap.
|
|
1437
|
-
*/
|
|
1438
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
1439
961
|
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
1440
962
|
storagePath: Promise<string>;
|
|
1441
963
|
};
|
|
@@ -1505,26 +1027,6 @@ export type EconCharterStartResult = {
|
|
|
1505
1027
|
}>;
|
|
1506
1028
|
}>>;
|
|
1507
1029
|
creatorFacet: {};
|
|
1508
|
-
/**
|
|
1509
|
-
* @typedef {StartedInstanceKit<
|
|
1510
|
-
* import('../econCommitteeCharter.js')['start']
|
|
1511
|
-
* >} EconCharterStartResult
|
|
1512
|
-
*/
|
|
1513
|
-
/**
|
|
1514
|
-
* @typedef {StartedInstanceKit<
|
|
1515
|
-
* import('@agoric/governance/src/committee.js')['start']
|
|
1516
|
-
* >} CommitteeStartResult
|
|
1517
|
-
*/
|
|
1518
|
-
/**
|
|
1519
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
1520
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
1521
|
-
* vat config.
|
|
1522
|
-
*
|
|
1523
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
1524
|
-
*
|
|
1525
|
-
* In production called by @agoric/vats to bootstrap.
|
|
1526
|
-
*/
|
|
1527
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
1528
1030
|
publicFacet: {};
|
|
1529
1031
|
} & {
|
|
1530
1032
|
creatorFacet: import("@endo/exo").Guarded<{
|
|
@@ -1560,26 +1062,6 @@ export type CommitteeStartResult = {
|
|
|
1560
1062
|
publicFacet: globalThis.CommitteeElectoratePublic;
|
|
1561
1063
|
}>;
|
|
1562
1064
|
creatorFacet: {};
|
|
1563
|
-
/**
|
|
1564
|
-
* @typedef {StartedInstanceKit<
|
|
1565
|
-
* import('../econCommitteeCharter.js')['start']
|
|
1566
|
-
* >} EconCharterStartResult
|
|
1567
|
-
*/
|
|
1568
|
-
/**
|
|
1569
|
-
* @typedef {StartedInstanceKit<
|
|
1570
|
-
* import('@agoric/governance/src/committee.js')['start']
|
|
1571
|
-
* >} CommitteeStartResult
|
|
1572
|
-
*/
|
|
1573
|
-
/**
|
|
1574
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
1575
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
1576
|
-
* vat config.
|
|
1577
|
-
*
|
|
1578
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
1579
|
-
*
|
|
1580
|
-
* In production called by @agoric/vats to bootstrap.
|
|
1581
|
-
*/
|
|
1582
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
1583
1065
|
publicFacet: {};
|
|
1584
1066
|
} & {
|
|
1585
1067
|
creatorFacet: import("@agoric/governance/src/committee.js").CommitteeElectorateCreatorFacet;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"econ-behaviors.d.ts","sourceRoot":"","sources":["econ-behaviors.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"econ-behaviors.d.ts","sourceRoot":"","sources":["econ-behaviors.js"],"names":[],"mappings":"AAmBA,qCAAsC;AACtC,sCAA0C;AAC1C,qCAAsD;AACtD,sCAAqD;AAuE9C,mcADK,sBAAsB,8BAxE3B,IAAI,mBAAyB,GAAE;IAAE,cACtB,CAAE,2BAA2B,CAAC,CAAC;CAChD,CAAK,eAAiB;IAAC,eAAoB,aAEzC,CAAC;IAAA,wBAA6B,UAAW,CAAC;IAAA,YAAiB,KAAM,UAC/D,CAAC,CAAC;IAAA,aAAkB,KAAM,WAAW,CAAC,CAAC;CAAK;;0BAuK9C,MAAK;;;oDA4FJ,OAAG,KAAK,CACZ;kDAeuC,OAErC,KAAI,CAAC;;;;;;;;;KAnHN;AAUM,oDAPI,sBAAsB,CAAC,SAAS,CAAC;IAET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AAP,OAAO;;;;;;;;;;uBAvCM,gCAAgC;wCAKjB,qCAAqC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
// @jessie-check
|
|
2
2
|
|
|
3
3
|
// XXX ambient types runtime imports until https://github.com/Agoric/agoric-sdk/issues/6512
|
|
4
|
-
import '../../exported.js';
|
|
5
|
-
import '@agoric/governance/exported.js';
|
|
6
4
|
import '@agoric/vats/src/core/types-ambient.js';
|
|
7
5
|
|
|
8
6
|
import { AmountMath } from '@agoric/ertp';
|