@agoric/inter-protocol 0.16.2-dev-b8140f3.0 → 0.16.2-dev-38b6b62.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-b8140f3.0+b8140f3",
3
+ "version": "0.16.2-dev-38b6b62.0+38b6b62",
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-b8140f3.0+b8140f3",
35
- "@agoric/ertp": "0.16.3-dev-b8140f3.0+b8140f3",
36
- "@agoric/governance": "0.10.4-dev-b8140f3.0+b8140f3",
37
- "@agoric/internal": "0.3.3-dev-b8140f3.0+b8140f3",
38
- "@agoric/notifier": "0.6.3-dev-b8140f3.0+b8140f3",
39
- "@agoric/store": "0.9.3-dev-b8140f3.0+b8140f3",
40
- "@agoric/time": "0.3.3-dev-b8140f3.0+b8140f3",
41
- "@agoric/vat-data": "0.5.3-dev-b8140f3.0+b8140f3",
42
- "@agoric/vats": "0.15.2-dev-b8140f3.0+b8140f3",
43
- "@agoric/zoe": "0.26.3-dev-b8140f3.0+b8140f3",
34
+ "@agoric/assert": "0.6.1-dev-38b6b62.0+38b6b62",
35
+ "@agoric/ertp": "0.16.3-dev-38b6b62.0+38b6b62",
36
+ "@agoric/governance": "0.10.4-dev-38b6b62.0+38b6b62",
37
+ "@agoric/internal": "0.3.3-dev-38b6b62.0+38b6b62",
38
+ "@agoric/notifier": "0.6.3-dev-38b6b62.0+38b6b62",
39
+ "@agoric/store": "0.9.3-dev-38b6b62.0+38b6b62",
40
+ "@agoric/time": "0.3.3-dev-38b6b62.0+38b6b62",
41
+ "@agoric/vat-data": "0.5.3-dev-38b6b62.0+38b6b62",
42
+ "@agoric/vats": "0.15.2-dev-38b6b62.0+38b6b62",
43
+ "@agoric/zoe": "0.26.3-dev-38b6b62.0+38b6b62",
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-b8140f3.0+b8140f3",
54
- "@agoric/swingset-liveslots": "0.10.3-dev-b8140f3.0+b8140f3",
55
- "@agoric/swingset-vat": "0.32.3-dev-b8140f3.0+b8140f3",
56
- "@agoric/zone": "0.2.3-dev-b8140f3.0+b8140f3",
53
+ "@agoric/smart-wallet": "0.5.4-dev-38b6b62.0+38b6b62",
54
+ "@agoric/swingset-liveslots": "0.10.3-dev-38b6b62.0+38b6b62",
55
+ "@agoric/swingset-vat": "0.32.3-dev-38b6b62.0+38b6b62",
56
+ "@agoric/zone": "0.2.3-dev-38b6b62.0+38b6b62",
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": "b8140f3af9d8f4c76eef2a7d2311b9dbdec860d5"
88
+ "gitHead": "38b6b62535a9b618708e0af77ee8fff5adba661a"
89
89
  }
@@ -0,0 +1,69 @@
1
+ export function addAuction({ consume: { zoe, board, chainTimerService, priceAuthority, chainStorage, economicCommitteeCreatorFacet: electorateCreatorFacet, auctioneerKit: legacyKitP, }, produce: { newAuctioneerKit }, instance: { consume: { reserve: reserveInstance }, }, installation: { consume: { auctioneer: auctionInstallation, contractGovernor: contractGovernorInstallation, }, }, issuer: { consume: { [Stable.symbol]: stableIssuerP }, }, }: import('./econ-behaviors.js').EconomyBootstrapPowers): Promise<void>;
2
+ export const ADD_AUCTION_MANIFEST: {
3
+ [x: string]: {
4
+ consume: {
5
+ zoe: boolean;
6
+ board: boolean;
7
+ chainTimerService: boolean;
8
+ priceAuthority: boolean;
9
+ chainStorage: boolean;
10
+ economicCommitteeCreatorFacet: boolean;
11
+ auctioneerKit: boolean;
12
+ };
13
+ produce: {
14
+ newAuctioneerKit: boolean;
15
+ };
16
+ instance: {
17
+ consume: {
18
+ reserve: boolean;
19
+ };
20
+ };
21
+ installation: {
22
+ consume: {
23
+ auctioneer: boolean;
24
+ contractGovernor: boolean;
25
+ };
26
+ };
27
+ issuer: {
28
+ consume: {
29
+ IST: boolean;
30
+ };
31
+ };
32
+ };
33
+ };
34
+ export function getManifestForAddAuction(): Promise<{
35
+ manifest: {
36
+ [x: string]: {
37
+ consume: {
38
+ zoe: boolean;
39
+ board: boolean;
40
+ chainTimerService: boolean;
41
+ priceAuthority: boolean;
42
+ chainStorage: boolean;
43
+ economicCommitteeCreatorFacet: boolean;
44
+ auctioneerKit: boolean;
45
+ };
46
+ produce: {
47
+ newAuctioneerKit: boolean;
48
+ };
49
+ instance: {
50
+ consume: {
51
+ reserve: boolean;
52
+ };
53
+ };
54
+ installation: {
55
+ consume: {
56
+ auctioneer: boolean;
57
+ contractGovernor: boolean;
58
+ };
59
+ };
60
+ issuer: {
61
+ consume: {
62
+ IST: boolean;
63
+ };
64
+ };
65
+ };
66
+ };
67
+ }>;
68
+ import { Stable } from '@agoric/internal/src/tokens.js';
69
+ //# sourceMappingURL=add-auction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-auction.d.ts","sourceRoot":"","sources":["add-auction.js"],"names":[],"mappings":"AASO,8bADK,OAAO,qBAAqB,EAAE,sBAAsB,iBAsI/D;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BG;AAGI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAEN;uBA7KsB,gCAAgC"}
@@ -0,0 +1,177 @@
1
+ import { deeplyFulfilledObject, makeTracer } from '@agoric/internal';
2
+ import { makeStorageNodeChild } from '@agoric/internal/src/lib-chainStorage.js';
3
+ import { E } from '@endo/far';
4
+ import { Stable } from '@agoric/internal/src/tokens.js';
5
+ import { makeGovernedTerms as makeGovernedATerms } from '../auction/params.js';
6
+
7
+ const trace = makeTracer('NewAuction', true);
8
+
9
+ /** @param {import('./econ-behaviors.js').EconomyBootstrapPowers} powers */
10
+ export const addAuction = async ({
11
+ consume: {
12
+ zoe,
13
+ board,
14
+ chainTimerService,
15
+ priceAuthority,
16
+ chainStorage,
17
+ economicCommitteeCreatorFacet: electorateCreatorFacet,
18
+ auctioneerKit: legacyKitP,
19
+ },
20
+ produce: { newAuctioneerKit },
21
+ instance: {
22
+ consume: { reserve: reserveInstance },
23
+ },
24
+ installation: {
25
+ consume: {
26
+ auctioneer: auctionInstallation,
27
+ contractGovernor: contractGovernorInstallation,
28
+ },
29
+ },
30
+ issuer: {
31
+ consume: { [Stable.symbol]: stableIssuerP },
32
+ },
33
+ }) => {
34
+ trace('addAuction start');
35
+ const STORAGE_PATH = 'auction';
36
+
37
+ const poserInvitationP = E(electorateCreatorFacet).getPoserInvitation();
38
+
39
+ const [
40
+ initialPoserInvitation,
41
+ electorateInvitationAmount,
42
+ stableIssuer,
43
+ legacyKit,
44
+ ] = await Promise.all([
45
+ poserInvitationP,
46
+ E(E(zoe).getInvitationIssuer()).getAmountOf(poserInvitationP),
47
+ stableIssuerP,
48
+ legacyKitP,
49
+ ]);
50
+
51
+ // Each field has an extra layer of type + value:
52
+ // AuctionStartDelay: { type: 'relativeTime', value: { relValue: 2n, timerBrand: Object [Alleged: timerBrand] {} } }
53
+ /** @type {any} */
54
+ const paramValues = await E(legacyKit.publicFacet).getGovernedParams();
55
+ const params = harden({
56
+ StartFrequency: paramValues.StartFrequency.value,
57
+ ClockStep: paramValues.ClockStep.value,
58
+ StartingRate: paramValues.StartingRate.value,
59
+ LowestRate: paramValues.LowestRate.value,
60
+ DiscountStep: paramValues.DiscountStep.value,
61
+ AuctionStartDelay: paramValues.AuctionStartDelay.value,
62
+ PriceLockPeriod: paramValues.PriceLockPeriod.value,
63
+ });
64
+ const timerBrand = await E(chainTimerService).getTimerBrand();
65
+
66
+ const storageNode = await makeStorageNodeChild(chainStorage, STORAGE_PATH);
67
+ const marshaller = await E(board).getReadonlyMarshaller();
68
+
69
+ const reservePublicFacet = await E(zoe).getPublicFacet(reserveInstance);
70
+
71
+ const auctionTerms = makeGovernedATerms(
72
+ { storageNode, marshaller },
73
+ chainTimerService,
74
+ priceAuthority,
75
+ reservePublicFacet,
76
+ {
77
+ ...params,
78
+ ElectorateInvitationAmount: electorateInvitationAmount,
79
+ TimerBrand: timerBrand,
80
+ },
81
+ );
82
+
83
+ const governorTerms = await deeplyFulfilledObject(
84
+ harden({
85
+ timer: chainTimerService,
86
+ governedContractInstallation: auctionInstallation,
87
+ governed: {
88
+ terms: auctionTerms,
89
+ issuerKeywordRecord: { Bid: stableIssuer },
90
+ storageNode,
91
+ marshaller,
92
+ label: 'auctioneer',
93
+ },
94
+ }),
95
+ );
96
+
97
+ /** @type {GovernorStartedInstallationKit<typeof auctionInstallation>} */
98
+ const governorStartResult = await E(zoe).startInstance(
99
+ contractGovernorInstallation,
100
+ undefined,
101
+ governorTerms,
102
+ harden({
103
+ electorateCreatorFacet,
104
+ governed: {
105
+ initialPoserInvitation,
106
+ storageNode,
107
+ marshaller,
108
+ },
109
+ }),
110
+ 'auctioneer.governor',
111
+ );
112
+
113
+ const [governedInstance, governedCreatorFacet, governedPublicFacet] =
114
+ await Promise.all([
115
+ E(governorStartResult.creatorFacet).getInstance(),
116
+ E(governorStartResult.creatorFacet).getCreatorFacet(),
117
+ E(governorStartResult.creatorFacet).getPublicFacet(),
118
+ ]);
119
+
120
+ const allIssuers = await E(zoe).getIssuers(legacyKit.instance);
121
+ const { Bid: _istIssuer, ...auctionIssuers } = allIssuers;
122
+ await Promise.all(
123
+ Object.keys(auctionIssuers).map(kwd =>
124
+ E(governedCreatorFacet).addBrand(auctionIssuers[kwd], kwd),
125
+ ),
126
+ );
127
+
128
+ // don't overwrite auctioneerKit yet
129
+ newAuctioneerKit.resolve(
130
+ harden({
131
+ label: 'auctioneer',
132
+ creatorFacet: governedCreatorFacet,
133
+ adminFacet: governorStartResult.adminFacet,
134
+ publicFacet: governedPublicFacet,
135
+ instance: governedInstance,
136
+
137
+ governor: governorStartResult.instance,
138
+ governorCreatorFacet: governorStartResult.creatorFacet,
139
+ governorAdminFacet: governorStartResult.adminFacet,
140
+ }),
141
+ );
142
+ // don't replace auction instance yet.
143
+ };
144
+
145
+ export const ADD_AUCTION_MANIFEST = harden({
146
+ [addAuction.name]: {
147
+ consume: {
148
+ zoe: true,
149
+ board: true,
150
+ chainTimerService: true,
151
+ priceAuthority: true,
152
+ chainStorage: true,
153
+ economicCommitteeCreatorFacet: true,
154
+ auctioneerKit: true,
155
+ },
156
+ produce: {
157
+ newAuctioneerKit: true,
158
+ },
159
+ instance: {
160
+ consume: { reserve: true },
161
+ },
162
+ installation: {
163
+ consume: {
164
+ auctioneer: true,
165
+ contractGovernor: true,
166
+ },
167
+ },
168
+ issuer: {
169
+ consume: { [Stable.symbol]: true },
170
+ },
171
+ },
172
+ });
173
+
174
+ /* Add a new auction to a chain that already has one. */
175
+ export const getManifestForAddAuction = async () => {
176
+ return { manifest: ADD_AUCTION_MANIFEST };
177
+ };
@@ -164,16 +164,6 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: import("../vaultF
164
164
  makeVaultKit(seat: ZCFSeat): Promise<{
165
165
  publicSubscribers: {
166
166
  vault: {
167
- /**
168
- * @file A collection of productions, each of which declares inputs and outputs.
169
- * Each function is passed a set of powers for reading from and writing to the
170
- * vat config.
171
- *
172
- * Each of the things they produce they're responsible for resolving or setting.
173
- *
174
- * In production called by @agoric/vats to bootstrap.
175
- */
176
- /** @param {EconomyBootstrapPowers} powers */
177
167
  description: string;
178
168
  subscriber: Subscriber<VaultNotification>;
179
169
  storagePath: Promise<string>;
@@ -187,16 +177,6 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: import("../vaultF
187
177
  vault: import("@endo/exo").Guarded<{
188
178
  getPublicTopics(): {
189
179
  vault: {
190
- /**
191
- * @file A collection of productions, each of which declares inputs and outputs.
192
- * Each function is passed a set of powers for reading from and writing to the
193
- * vat config.
194
- *
195
- * Each of the things they produce they're responsible for resolving or setting.
196
- *
197
- * In production called by @agoric/vats to bootstrap.
198
- */
199
- /** @param {EconomyBootstrapPowers} powers */
200
180
  description: string;
201
181
  subscriber: Subscriber<VaultNotification>;
202
182
  storagePath: Promise<string>;
@@ -216,16 +196,6 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: import("../vaultF
216
196
  makeVaultInvitation(): Promise<Invitation<{
217
197
  publicSubscribers: {
218
198
  vault: {
219
- /**
220
- * @file A collection of productions, each of which declares inputs and outputs.
221
- * Each function is passed a set of powers for reading from and writing to the
222
- * vat config.
223
- *
224
- * Each of the things they produce they're responsible for resolving or setting.
225
- *
226
- * In production called by @agoric/vats to bootstrap.
227
- */
228
- /** @param {EconomyBootstrapPowers} powers */
229
199
  description: string;
230
200
  subscriber: Subscriber<VaultNotification>;
231
201
  storagePath: Promise<string>;
@@ -239,16 +209,6 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: import("../vaultF
239
209
  vault: import("@endo/exo").Guarded<{
240
210
  getPublicTopics(): {
241
211
  vault: {
242
- /**
243
- * @file A collection of productions, each of which declares inputs and outputs.
244
- * Each function is passed a set of powers for reading from and writing to the
245
- * vat config.
246
- *
247
- * Each of the things they produce they're responsible for resolving or setting.
248
- *
249
- * In production called by @agoric/vats to bootstrap.
250
- */
251
- /** @param {EconomyBootstrapPowers} powers */
252
212
  description: string;
253
213
  subscriber: Subscriber<VaultNotification>;
254
214
  storagePath: Promise<string>;
@@ -324,16 +284,6 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: import("../vaultF
324
284
  makeVaultInvitation(): Promise<Invitation<{
325
285
  publicSubscribers: {
326
286
  vault: {
327
- /**
328
- * @file A collection of productions, each of which declares inputs and outputs.
329
- * Each function is passed a set of powers for reading from and writing to the
330
- * vat config.
331
- *
332
- * Each of the things they produce they're responsible for resolving or setting.
333
- *
334
- * In production called by @agoric/vats to bootstrap.
335
- */
336
- /** @param {EconomyBootstrapPowers} powers */
337
287
  description: string;
338
288
  subscriber: Subscriber<VaultNotification>;
339
289
  storagePath: Promise<string>;
@@ -347,16 +297,6 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: import("../vaultF
347
297
  vault: import("@endo/exo").Guarded<{
348
298
  getPublicTopics(): {
349
299
  vault: {
350
- /**
351
- * @file A collection of productions, each of which declares inputs and outputs.
352
- * Each function is passed a set of powers for reading from and writing to the
353
- * vat config.
354
- *
355
- * Each of the things they produce they're responsible for resolving or setting.
356
- *
357
- * In production called by @agoric/vats to bootstrap.
358
- */
359
- /** @param {EconomyBootstrapPowers} powers */
360
300
  description: string;
361
301
  subscriber: Subscriber<VaultNotification>;
362
302
  storagePath: Promise<string>;
@@ -594,16 +534,6 @@ export type EconomyBootstrapSpace = {
594
534
  makeVaultKit(seat: ZCFSeat): Promise<{
595
535
  publicSubscribers: {
596
536
  vault: {
597
- /**
598
- * @file A collection of productions, each of which declares inputs and outputs.
599
- * Each function is passed a set of powers for reading from and writing to the
600
- * vat config.
601
- *
602
- * Each of the things they produce they're responsible for resolving or setting.
603
- *
604
- * In production called by @agoric/vats to bootstrap.
605
- */
606
- /** @param {EconomyBootstrapPowers} powers */
607
537
  description: string;
608
538
  subscriber: Subscriber<VaultNotification>;
609
539
  storagePath: Promise<string>;
@@ -617,16 +547,6 @@ export type EconomyBootstrapSpace = {
617
547
  vault: import("@endo/exo").Guarded<{
618
548
  getPublicTopics(): {
619
549
  vault: {
620
- /**
621
- * @file A collection of productions, each of which declares inputs and outputs.
622
- * Each function is passed a set of powers for reading from and writing to the
623
- * vat config.
624
- *
625
- * Each of the things they produce they're responsible for resolving or setting.
626
- *
627
- * In production called by @agoric/vats to bootstrap.
628
- */
629
- /** @param {EconomyBootstrapPowers} powers */
630
550
  description: string;
631
551
  subscriber: Subscriber<VaultNotification>;
632
552
  storagePath: Promise<string>;
@@ -646,16 +566,6 @@ export type EconomyBootstrapSpace = {
646
566
  makeVaultInvitation(): Promise<Invitation<{
647
567
  publicSubscribers: {
648
568
  vault: {
649
- /**
650
- * @file A collection of productions, each of which declares inputs and outputs.
651
- * Each function is passed a set of powers for reading from and writing to the
652
- * vat config.
653
- *
654
- * Each of the things they produce they're responsible for resolving or setting.
655
- *
656
- * In production called by @agoric/vats to bootstrap.
657
- */
658
- /** @param {EconomyBootstrapPowers} powers */
659
569
  description: string;
660
570
  subscriber: Subscriber<VaultNotification>;
661
571
  storagePath: Promise<string>;
@@ -669,16 +579,6 @@ export type EconomyBootstrapSpace = {
669
579
  vault: import("@endo/exo").Guarded<{
670
580
  getPublicTopics(): {
671
581
  vault: {
672
- /**
673
- * @file A collection of productions, each of which declares inputs and outputs.
674
- * Each function is passed a set of powers for reading from and writing to the
675
- * vat config.
676
- *
677
- * Each of the things they produce they're responsible for resolving or setting.
678
- *
679
- * In production called by @agoric/vats to bootstrap.
680
- */
681
- /** @param {EconomyBootstrapPowers} powers */
682
582
  description: string;
683
583
  subscriber: Subscriber<VaultNotification>;
684
584
  storagePath: Promise<string>;
@@ -754,16 +654,6 @@ export type EconomyBootstrapSpace = {
754
654
  makeVaultInvitation(): Promise<Invitation<{
755
655
  publicSubscribers: {
756
656
  vault: {
757
- /**
758
- * @file A collection of productions, each of which declares inputs and outputs.
759
- * Each function is passed a set of powers for reading from and writing to the
760
- * vat config.
761
- *
762
- * Each of the things they produce they're responsible for resolving or setting.
763
- *
764
- * In production called by @agoric/vats to bootstrap.
765
- */
766
- /** @param {EconomyBootstrapPowers} powers */
767
657
  description: string;
768
658
  subscriber: Subscriber<VaultNotification>;
769
659
  storagePath: Promise<string>;
@@ -777,16 +667,6 @@ export type EconomyBootstrapSpace = {
777
667
  vault: import("@endo/exo").Guarded<{
778
668
  getPublicTopics(): {
779
669
  vault: {
780
- /**
781
- * @file A collection of productions, each of which declares inputs and outputs.
782
- * Each function is passed a set of powers for reading from and writing to the
783
- * vat config.
784
- *
785
- * Each of the things they produce they're responsible for resolving or setting.
786
- *
787
- * In production called by @agoric/vats to bootstrap.
788
- */
789
- /** @param {EconomyBootstrapPowers} powers */
790
670
  description: string;
791
671
  subscriber: Subscriber<VaultNotification>;
792
672
  storagePath: Promise<string>;
@@ -823,6 +703,7 @@ export type EconomyBootstrapSpace = {
823
703
  }>;
824
704
  }>>>;
825
705
  auctioneerKit: Promise<AuctioneerKit>;
706
+ newAuctioneerKit: Promise<AuctioneerKit>;
826
707
  minInitialDebt: Promise<bigint>;
827
708
  };
828
709
  produce: {
@@ -961,16 +842,6 @@ export type EconomyBootstrapSpace = {
961
842
  makeVaultKit(seat: ZCFSeat): Promise<{
962
843
  publicSubscribers: {
963
844
  vault: {
964
- /**
965
- * @file A collection of productions, each of which declares inputs and outputs.
966
- * Each function is passed a set of powers for reading from and writing to the
967
- * vat config.
968
- *
969
- * Each of the things they produce they're responsible for resolving or setting.
970
- *
971
- * In production called by @agoric/vats to bootstrap.
972
- */
973
- /** @param {EconomyBootstrapPowers} powers */
974
845
  description: string;
975
846
  subscriber: Subscriber<VaultNotification>;
976
847
  storagePath: Promise<string>;
@@ -984,16 +855,6 @@ export type EconomyBootstrapSpace = {
984
855
  vault: import("@endo/exo").Guarded<{
985
856
  getPublicTopics(): {
986
857
  vault: {
987
- /**
988
- * @file A collection of productions, each of which declares inputs and outputs.
989
- * Each function is passed a set of powers for reading from and writing to the
990
- * vat config.
991
- *
992
- * Each of the things they produce they're responsible for resolving or setting.
993
- *
994
- * In production called by @agoric/vats to bootstrap.
995
- */
996
- /** @param {EconomyBootstrapPowers} powers */
997
858
  description: string;
998
859
  subscriber: Subscriber<VaultNotification>;
999
860
  storagePath: Promise<string>;
@@ -1013,16 +874,6 @@ export type EconomyBootstrapSpace = {
1013
874
  makeVaultInvitation(): Promise<Invitation<{
1014
875
  publicSubscribers: {
1015
876
  vault: {
1016
- /**
1017
- * @file A collection of productions, each of which declares inputs and outputs.
1018
- * Each function is passed a set of powers for reading from and writing to the
1019
- * vat config.
1020
- *
1021
- * Each of the things they produce they're responsible for resolving or setting.
1022
- *
1023
- * In production called by @agoric/vats to bootstrap.
1024
- */
1025
- /** @param {EconomyBootstrapPowers} powers */
1026
877
  description: string;
1027
878
  subscriber: Subscriber<VaultNotification>;
1028
879
  storagePath: Promise<string>;
@@ -1036,16 +887,6 @@ export type EconomyBootstrapSpace = {
1036
887
  vault: import("@endo/exo").Guarded<{
1037
888
  getPublicTopics(): {
1038
889
  vault: {
1039
- /**
1040
- * @file A collection of productions, each of which declares inputs and outputs.
1041
- * Each function is passed a set of powers for reading from and writing to the
1042
- * vat config.
1043
- *
1044
- * Each of the things they produce they're responsible for resolving or setting.
1045
- *
1046
- * In production called by @agoric/vats to bootstrap.
1047
- */
1048
- /** @param {EconomyBootstrapPowers} powers */
1049
890
  description: string;
1050
891
  subscriber: Subscriber<VaultNotification>;
1051
892
  storagePath: Promise<string>;
@@ -1121,16 +962,6 @@ export type EconomyBootstrapSpace = {
1121
962
  makeVaultInvitation(): Promise<Invitation<{
1122
963
  publicSubscribers: {
1123
964
  vault: {
1124
- /**
1125
- * @file A collection of productions, each of which declares inputs and outputs.
1126
- * Each function is passed a set of powers for reading from and writing to the
1127
- * vat config.
1128
- *
1129
- * Each of the things they produce they're responsible for resolving or setting.
1130
- *
1131
- * In production called by @agoric/vats to bootstrap.
1132
- */
1133
- /** @param {EconomyBootstrapPowers} powers */
1134
965
  description: string;
1135
966
  subscriber: Subscriber<VaultNotification>;
1136
967
  storagePath: Promise<string>;
@@ -1144,16 +975,6 @@ export type EconomyBootstrapSpace = {
1144
975
  vault: import("@endo/exo").Guarded<{
1145
976
  getPublicTopics(): {
1146
977
  vault: {
1147
- /**
1148
- * @file A collection of productions, each of which declares inputs and outputs.
1149
- * Each function is passed a set of powers for reading from and writing to the
1150
- * vat config.
1151
- *
1152
- * Each of the things they produce they're responsible for resolving or setting.
1153
- *
1154
- * In production called by @agoric/vats to bootstrap.
1155
- */
1156
- /** @param {EconomyBootstrapPowers} powers */
1157
978
  description: string;
1158
979
  subscriber: Subscriber<VaultNotification>;
1159
980
  storagePath: Promise<string>;
@@ -1190,6 +1011,7 @@ export type EconomyBootstrapSpace = {
1190
1011
  }>;
1191
1012
  }>>>;
1192
1013
  auctioneerKit: Producer<AuctioneerKit>;
1014
+ newAuctioneerKit: Producer<AuctioneerKit>;
1193
1015
  minInitialDebt: Producer<bigint>;
1194
1016
  };
1195
1017
  };
@@ -1 +1 @@
1
- {"version":3,"file":"econ-behaviors.d.ts","sourceRoot":"","sources":["econ-behaviors.js"],"names":[],"mappings":"AAmBA,qCAAsC;AACtC,sCAA0C;AAC1C,qCAAsD;AACtD,sCAAqD;AAsE9C,mcADK,sBAAsB;;;;;;;;;;;;;;;;;;;;;;KA+FjC;AAUM,oDAPI,sBAAsB,CAAC,SAAS,CAAC;IAET,cAAc;IACtB,OAAO;;;+BAEvB,MAAM,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2EvB;AAUM,wSAPI,sBAAsB;IAEE,cAAc;IACtB,OAAO;;;oBAEvB,MAAM,iBA6FhB;AAWM,wGALI,sBAAsB;;;;8BAuBhC;AAQM,mcAFI,sBAAsB,iBAyGhC;AAQM,+cAJI,sBAAsB;IAET,aAAa,GAA1B,GAAG;kBA0Hb;sCArmBa,OAAO,CAAC,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAwDhC;;;;;;;;+BAQG;4BAEH,6CAA6C;;;;;;;;;;;;;;gCAV7C;;;;;;;;mCAQG;gCAEH,6CAA6C;;;;;;;;;;;;;;;;;;;;gCAV7C;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBApCnD,gCAAgC;wCAKjB,qCAAqC"}
@@ -64,6 +64,7 @@ export const SECONDS_PER_WEEK = 7n * SECONDS_PER_DAY;
64
64
  * >;
65
65
  * vaultFactoryKit: GovernanceFacetKit<VFStart>;
66
66
  * auctioneerKit: AuctioneerKit;
67
+ * newAuctioneerKit: AuctioneerKit;
67
68
  * minInitialDebt: NatValue;
68
69
  * }>} EconomyBootstrapSpace
69
70
  */