@agoric/vats 0.15.2-dev-c731c8c.0 → 0.15.2-dev-21c29e2.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 +15 -15
- package/src/core/boot-chain.d.ts +622 -132
- package/src/core/boot-chain.d.ts.map +1 -1
- package/src/core/boot-sim.d.ts +1 -1
- package/src/core/boot-solo.d.ts +1 -1
- package/src/core/lib-boot.d.ts +1 -1
- package/src/core/startWalletFactory.d.ts +65 -16
- package/src/core/startWalletFactory.d.ts.map +1 -1
- package/src/core/types-ambient.d.ts +1 -1
- package/src/core/utils.d.ts +4 -4
- package/src/ibc.d.ts +4 -4
- package/src/proposals/localchain-proposal.d.ts +60 -11
- package/src/proposals/localchain-proposal.d.ts.map +1 -1
- package/src/vat-mints.d.ts +2 -2
package/src/core/boot-chain.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @typedef {typeof modules} BootstrapModules */
|
|
2
2
|
export const MANIFEST: import("./lib-boot.js").BootstrapManifest;
|
|
3
|
-
export function buildRootObject(vatPowers: import("@agoric/swingset-vat").
|
|
3
|
+
export function buildRootObject(vatPowers: import("@agoric/swingset-vat").VatPowers & {
|
|
4
4
|
D: DProxy;
|
|
5
5
|
logger: (msg: any) => void;
|
|
6
6
|
}, vatParameters: {
|
|
@@ -30,7 +30,7 @@ declare namespace modules {
|
|
|
30
30
|
loadVat: VatLoader<unknown>;
|
|
31
31
|
loadCriticalVat: VatLoader<unknown>;
|
|
32
32
|
}> & {
|
|
33
|
-
zone: import("@agoric/zone").Zone;
|
|
33
|
+
zone: import("@agoric/base-zone").Zone;
|
|
34
34
|
devices: SoloDevices | ChainDevices;
|
|
35
35
|
vats: SwingsetVats;
|
|
36
36
|
vatPowers: {
|
|
@@ -50,10 +50,9 @@ declare namespace modules {
|
|
|
50
50
|
AUSD: string;
|
|
51
51
|
};
|
|
52
52
|
installation: {
|
|
53
|
-
walletFactory: string;
|
|
54
|
-
reserve: string;
|
|
55
53
|
centralSupply: string;
|
|
56
54
|
mintHolder: string;
|
|
55
|
+
walletFactory: string;
|
|
57
56
|
provisionPool: string;
|
|
58
57
|
auctioneer: string;
|
|
59
58
|
feeDistributor: string;
|
|
@@ -64,6 +63,7 @@ declare namespace modules {
|
|
|
64
63
|
VaultFactory: string;
|
|
65
64
|
liquidate: string;
|
|
66
65
|
Pegasus: string;
|
|
66
|
+
reserve: string;
|
|
67
67
|
psm: string;
|
|
68
68
|
scaledPriceAuthority: string;
|
|
69
69
|
econCommitteeCharter: string;
|
|
@@ -71,12 +71,12 @@ declare namespace modules {
|
|
|
71
71
|
};
|
|
72
72
|
instance: {
|
|
73
73
|
walletFactory: string;
|
|
74
|
-
reserve: string;
|
|
75
74
|
provisionPool: string;
|
|
76
75
|
auctioneer: string;
|
|
77
76
|
feeDistributor: string;
|
|
78
77
|
VaultFactory: string;
|
|
79
78
|
Pegasus: string;
|
|
79
|
+
reserve: string;
|
|
80
80
|
econCommitteeCharter: string;
|
|
81
81
|
economicCommittee: string;
|
|
82
82
|
VaultFactoryGovernor: string;
|
|
@@ -117,12 +117,12 @@ declare namespace modules {
|
|
|
117
117
|
(...data: any[]): void;
|
|
118
118
|
(message?: any, ...optionalParams: any[]): void;
|
|
119
119
|
} | undefined, reserved?: Record<string, Record<string, unknown>>) => Promise<{
|
|
120
|
-
agoricNames: import("
|
|
120
|
+
agoricNames: import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
121
121
|
agoricNamesAdmin: import("../types.js").NameAdmin;
|
|
122
122
|
spaces: WellKnownSpaces;
|
|
123
123
|
}>;
|
|
124
124
|
makeMyAddressNameAdminKit: (address: string) => {
|
|
125
|
-
nameHub: import("
|
|
125
|
+
nameHub: import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
126
126
|
myAddressNameAdmin: import("../types.js").MyAddressNameAdmin;
|
|
127
127
|
};
|
|
128
128
|
makeVatSpace: (svc: ERef<import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
@@ -130,26 +130,75 @@ declare namespace modules {
|
|
|
130
130
|
getBundleCap(bundleID: any): any;
|
|
131
131
|
getNamedBundleCap(name: any): any;
|
|
132
132
|
getBundleIDByName(name: any): any;
|
|
133
|
-
createMeter(remaining: any, threshold: any):
|
|
134
|
-
|
|
133
|
+
createMeter(remaining: any, threshold: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
134
|
+
addRemaining({ state }: {
|
|
135
|
+
state: any;
|
|
136
|
+
}, delta: any): void;
|
|
137
|
+
setThreshold({ state }: {
|
|
138
|
+
state: any;
|
|
139
|
+
}, newThreshold: any): void;
|
|
140
|
+
get: ({ state }: {
|
|
141
|
+
state: any;
|
|
142
|
+
}) => any;
|
|
143
|
+
getNotifier: ({ _self }: {
|
|
144
|
+
_self: any;
|
|
145
|
+
}) => never;
|
|
146
|
+
}>;
|
|
147
|
+
createUnlimitedMeter(_context: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
148
|
+
addRemaining(_context: any, _delta: any): void;
|
|
149
|
+
setThreshold(_context: any, _newThreshold: any): void;
|
|
150
|
+
get: () => {
|
|
151
|
+
remaining: string;
|
|
152
|
+
threshold: number;
|
|
153
|
+
};
|
|
154
|
+
getNotifier: ({ _self }: {
|
|
155
|
+
_self: any;
|
|
156
|
+
}) => never;
|
|
157
|
+
}>;
|
|
135
158
|
createVat(bundleOrBundleCap: any, options?: {}): Promise<{
|
|
136
|
-
adminNode:
|
|
159
|
+
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
160
|
+
terminateWithFailure({ state }: {
|
|
161
|
+
state: any;
|
|
162
|
+
}, reason: any): void;
|
|
163
|
+
done({ state }: {
|
|
164
|
+
state: any;
|
|
165
|
+
}): any;
|
|
166
|
+
upgrade({ state }: {
|
|
167
|
+
state: any;
|
|
168
|
+
}, bundlecap: any, options: any): Promise<any>;
|
|
169
|
+
changeOptions({ state }: {
|
|
170
|
+
state: any;
|
|
171
|
+
}, options: any): void;
|
|
172
|
+
}>;
|
|
137
173
|
root: any;
|
|
138
174
|
}>;
|
|
139
175
|
createVatByName(bundleName: any, options?: {}): Promise<{
|
|
140
|
-
adminNode:
|
|
176
|
+
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
177
|
+
terminateWithFailure({ state }: {
|
|
178
|
+
state: any;
|
|
179
|
+
}, reason: any): void;
|
|
180
|
+
done({ state }: {
|
|
181
|
+
state: any;
|
|
182
|
+
}): any;
|
|
183
|
+
upgrade({ state }: {
|
|
184
|
+
state: any;
|
|
185
|
+
}, bundlecap: any, options: any): Promise<any>;
|
|
186
|
+
changeOptions({ state }: {
|
|
187
|
+
state: any;
|
|
188
|
+
}, options: any): void;
|
|
189
|
+
}>;
|
|
141
190
|
root: any;
|
|
142
191
|
}>;
|
|
143
192
|
}>>, criticalVatKey: unknown, log?: ((...args: any) => void) | undefined, label?: string | undefined) => {
|
|
144
193
|
space: {
|
|
145
194
|
consume: {
|
|
146
195
|
agoricNames: Promise<{
|
|
147
|
-
getNameHub: () => import("
|
|
196
|
+
getNameHub: () => import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
148
197
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
149
198
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
150
199
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo<AssetKind>) => any;
|
|
151
200
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
152
|
-
getNameHub: () => import("
|
|
201
|
+
getNameHub: () => import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
153
202
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
154
203
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
155
204
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo<AssetKind>) => any;
|
|
@@ -201,7 +250,7 @@ declare namespace modules {
|
|
|
201
250
|
}>>;
|
|
202
251
|
};
|
|
203
252
|
};
|
|
204
|
-
durableStore:
|
|
253
|
+
durableStore: MapStore<K, V>;
|
|
205
254
|
};
|
|
206
255
|
};
|
|
207
256
|
};
|
|
@@ -252,7 +301,7 @@ declare namespace modules {
|
|
|
252
301
|
loadVat: VatLoader<unknown>;
|
|
253
302
|
loadCriticalVat: VatLoader<unknown>;
|
|
254
303
|
}> & {
|
|
255
|
-
zone: import("@agoric/zone").Zone;
|
|
304
|
+
zone: import("@agoric/base-zone").Zone;
|
|
256
305
|
devices: SoloDevices | ChainDevices;
|
|
257
306
|
vats: SwingsetVats;
|
|
258
307
|
vatPowers: {
|
|
@@ -272,10 +321,9 @@ declare namespace modules {
|
|
|
272
321
|
AUSD: string;
|
|
273
322
|
};
|
|
274
323
|
installation: {
|
|
275
|
-
walletFactory: string;
|
|
276
|
-
reserve: string;
|
|
277
324
|
centralSupply: string;
|
|
278
325
|
mintHolder: string;
|
|
326
|
+
walletFactory: string;
|
|
279
327
|
provisionPool: string;
|
|
280
328
|
auctioneer: string;
|
|
281
329
|
feeDistributor: string;
|
|
@@ -286,6 +334,7 @@ declare namespace modules {
|
|
|
286
334
|
VaultFactory: string;
|
|
287
335
|
liquidate: string;
|
|
288
336
|
Pegasus: string;
|
|
337
|
+
reserve: string;
|
|
289
338
|
psm: string;
|
|
290
339
|
scaledPriceAuthority: string;
|
|
291
340
|
econCommitteeCharter: string;
|
|
@@ -293,12 +342,12 @@ declare namespace modules {
|
|
|
293
342
|
};
|
|
294
343
|
instance: {
|
|
295
344
|
walletFactory: string;
|
|
296
|
-
reserve: string;
|
|
297
345
|
provisionPool: string;
|
|
298
346
|
auctioneer: string;
|
|
299
347
|
feeDistributor: string;
|
|
300
348
|
VaultFactory: string;
|
|
301
349
|
Pegasus: string;
|
|
350
|
+
reserve: string;
|
|
302
351
|
econCommitteeCharter: string;
|
|
303
352
|
economicCommittee: string;
|
|
304
353
|
VaultFactoryGovernor: string;
|
|
@@ -339,12 +388,12 @@ declare namespace modules {
|
|
|
339
388
|
(...data: any[]): void;
|
|
340
389
|
(message?: any, ...optionalParams: any[]): void;
|
|
341
390
|
} | undefined, reserved?: Record<string, Record<string, unknown>>) => Promise<{
|
|
342
|
-
agoricNames: import("
|
|
391
|
+
agoricNames: import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
343
392
|
agoricNamesAdmin: import("../types.js").NameAdmin;
|
|
344
393
|
spaces: WellKnownSpaces;
|
|
345
394
|
}>;
|
|
346
395
|
makeMyAddressNameAdminKit: (address: string) => {
|
|
347
|
-
nameHub: import("
|
|
396
|
+
nameHub: import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
348
397
|
myAddressNameAdmin: import("../types.js").MyAddressNameAdmin;
|
|
349
398
|
};
|
|
350
399
|
makeVatSpace: (svc: ERef<import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
@@ -352,26 +401,75 @@ declare namespace modules {
|
|
|
352
401
|
getBundleCap(bundleID: any): any;
|
|
353
402
|
getNamedBundleCap(name: any): any;
|
|
354
403
|
getBundleIDByName(name: any): any;
|
|
355
|
-
createMeter(remaining: any, threshold: any):
|
|
356
|
-
|
|
404
|
+
createMeter(remaining: any, threshold: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
405
|
+
addRemaining({ state }: {
|
|
406
|
+
state: any;
|
|
407
|
+
}, delta: any): void;
|
|
408
|
+
setThreshold({ state }: {
|
|
409
|
+
state: any;
|
|
410
|
+
}, newThreshold: any): void;
|
|
411
|
+
get: ({ state }: {
|
|
412
|
+
state: any;
|
|
413
|
+
}) => any;
|
|
414
|
+
getNotifier: ({ _self }: {
|
|
415
|
+
_self: any;
|
|
416
|
+
}) => never;
|
|
417
|
+
}>;
|
|
418
|
+
createUnlimitedMeter(_context: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
419
|
+
addRemaining(_context: any, _delta: any): void;
|
|
420
|
+
setThreshold(_context: any, _newThreshold: any): void;
|
|
421
|
+
get: () => {
|
|
422
|
+
remaining: string;
|
|
423
|
+
threshold: number;
|
|
424
|
+
};
|
|
425
|
+
getNotifier: ({ _self }: {
|
|
426
|
+
_self: any;
|
|
427
|
+
}) => never;
|
|
428
|
+
}>;
|
|
357
429
|
createVat(bundleOrBundleCap: any, options?: {}): Promise<{
|
|
358
|
-
adminNode:
|
|
430
|
+
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
431
|
+
terminateWithFailure({ state }: {
|
|
432
|
+
state: any;
|
|
433
|
+
}, reason: any): void;
|
|
434
|
+
done({ state }: {
|
|
435
|
+
state: any;
|
|
436
|
+
}): any;
|
|
437
|
+
upgrade({ state }: {
|
|
438
|
+
state: any;
|
|
439
|
+
}, bundlecap: any, options: any): Promise<any>;
|
|
440
|
+
changeOptions({ state }: {
|
|
441
|
+
state: any;
|
|
442
|
+
}, options: any): void;
|
|
443
|
+
}>;
|
|
359
444
|
root: any;
|
|
360
445
|
}>;
|
|
361
446
|
createVatByName(bundleName: any, options?: {}): Promise<{
|
|
362
|
-
adminNode:
|
|
447
|
+
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
448
|
+
terminateWithFailure({ state }: {
|
|
449
|
+
state: any;
|
|
450
|
+
}, reason: any): void;
|
|
451
|
+
done({ state }: {
|
|
452
|
+
state: any;
|
|
453
|
+
}): any;
|
|
454
|
+
upgrade({ state }: {
|
|
455
|
+
state: any;
|
|
456
|
+
}, bundlecap: any, options: any): Promise<any>;
|
|
457
|
+
changeOptions({ state }: {
|
|
458
|
+
state: any;
|
|
459
|
+
}, options: any): void;
|
|
460
|
+
}>;
|
|
363
461
|
root: any;
|
|
364
462
|
}>;
|
|
365
463
|
}>>, criticalVatKey: unknown, log?: ((...args: any) => void) | undefined, label?: string | undefined) => {
|
|
366
464
|
space: {
|
|
367
465
|
consume: {
|
|
368
466
|
agoricNames: Promise<{
|
|
369
|
-
getNameHub: () => import("
|
|
467
|
+
getNameHub: () => import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
370
468
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
371
469
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
372
470
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo<AssetKind>) => any;
|
|
373
471
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
374
|
-
getNameHub: () => import("
|
|
472
|
+
getNameHub: () => import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
375
473
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
376
474
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
377
475
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo<AssetKind>) => any;
|
|
@@ -423,7 +521,7 @@ declare namespace modules {
|
|
|
423
521
|
}>>;
|
|
424
522
|
};
|
|
425
523
|
};
|
|
426
|
-
durableStore:
|
|
524
|
+
durableStore: MapStore<K, V>;
|
|
427
525
|
};
|
|
428
526
|
};
|
|
429
527
|
};
|
|
@@ -442,7 +540,7 @@ declare namespace modules {
|
|
|
442
540
|
loadVat: VatLoader<unknown>;
|
|
443
541
|
loadCriticalVat: VatLoader<unknown>;
|
|
444
542
|
}> & {
|
|
445
|
-
zone: import("@agoric/zone").Zone;
|
|
543
|
+
zone: import("@agoric/base-zone").Zone;
|
|
446
544
|
devices: SoloDevices | ChainDevices;
|
|
447
545
|
vats: SwingsetVats;
|
|
448
546
|
vatPowers: {
|
|
@@ -462,10 +560,9 @@ declare namespace modules {
|
|
|
462
560
|
AUSD: string;
|
|
463
561
|
};
|
|
464
562
|
installation: {
|
|
465
|
-
walletFactory: string;
|
|
466
|
-
reserve: string;
|
|
467
563
|
centralSupply: string;
|
|
468
564
|
mintHolder: string;
|
|
565
|
+
walletFactory: string;
|
|
469
566
|
provisionPool: string;
|
|
470
567
|
auctioneer: string;
|
|
471
568
|
feeDistributor: string;
|
|
@@ -476,6 +573,7 @@ declare namespace modules {
|
|
|
476
573
|
VaultFactory: string;
|
|
477
574
|
liquidate: string;
|
|
478
575
|
Pegasus: string;
|
|
576
|
+
reserve: string;
|
|
479
577
|
psm: string;
|
|
480
578
|
scaledPriceAuthority: string;
|
|
481
579
|
econCommitteeCharter: string;
|
|
@@ -483,12 +581,12 @@ declare namespace modules {
|
|
|
483
581
|
};
|
|
484
582
|
instance: {
|
|
485
583
|
walletFactory: string;
|
|
486
|
-
reserve: string;
|
|
487
584
|
provisionPool: string;
|
|
488
585
|
auctioneer: string;
|
|
489
586
|
feeDistributor: string;
|
|
490
587
|
VaultFactory: string;
|
|
491
588
|
Pegasus: string;
|
|
589
|
+
reserve: string;
|
|
492
590
|
econCommitteeCharter: string;
|
|
493
591
|
economicCommittee: string;
|
|
494
592
|
VaultFactoryGovernor: string;
|
|
@@ -529,12 +627,12 @@ declare namespace modules {
|
|
|
529
627
|
(...data: any[]): void;
|
|
530
628
|
(message?: any, ...optionalParams: any[]): void;
|
|
531
629
|
} | undefined, reserved?: Record<string, Record<string, unknown>>) => Promise<{
|
|
532
|
-
agoricNames: import("
|
|
630
|
+
agoricNames: import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
533
631
|
agoricNamesAdmin: import("../types.js").NameAdmin;
|
|
534
632
|
spaces: WellKnownSpaces;
|
|
535
633
|
}>;
|
|
536
634
|
makeMyAddressNameAdminKit: (address: string) => {
|
|
537
|
-
nameHub: import("
|
|
635
|
+
nameHub: import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
538
636
|
myAddressNameAdmin: import("../types.js").MyAddressNameAdmin;
|
|
539
637
|
};
|
|
540
638
|
makeVatSpace: (svc: ERef<import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
@@ -542,26 +640,75 @@ declare namespace modules {
|
|
|
542
640
|
getBundleCap(bundleID: any): any;
|
|
543
641
|
getNamedBundleCap(name: any): any;
|
|
544
642
|
getBundleIDByName(name: any): any;
|
|
545
|
-
createMeter(remaining: any, threshold: any):
|
|
546
|
-
|
|
643
|
+
createMeter(remaining: any, threshold: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
644
|
+
addRemaining({ state }: {
|
|
645
|
+
state: any;
|
|
646
|
+
}, delta: any): void;
|
|
647
|
+
setThreshold({ state }: {
|
|
648
|
+
state: any;
|
|
649
|
+
}, newThreshold: any): void;
|
|
650
|
+
get: ({ state }: {
|
|
651
|
+
state: any;
|
|
652
|
+
}) => any;
|
|
653
|
+
getNotifier: ({ _self }: {
|
|
654
|
+
_self: any;
|
|
655
|
+
}) => never;
|
|
656
|
+
}>;
|
|
657
|
+
createUnlimitedMeter(_context: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
658
|
+
addRemaining(_context: any, _delta: any): void;
|
|
659
|
+
setThreshold(_context: any, _newThreshold: any): void;
|
|
660
|
+
get: () => {
|
|
661
|
+
remaining: string;
|
|
662
|
+
threshold: number;
|
|
663
|
+
};
|
|
664
|
+
getNotifier: ({ _self }: {
|
|
665
|
+
_self: any;
|
|
666
|
+
}) => never;
|
|
667
|
+
}>;
|
|
547
668
|
createVat(bundleOrBundleCap: any, options?: {}): Promise<{
|
|
548
|
-
adminNode:
|
|
669
|
+
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
670
|
+
terminateWithFailure({ state }: {
|
|
671
|
+
state: any;
|
|
672
|
+
}, reason: any): void;
|
|
673
|
+
done({ state }: {
|
|
674
|
+
state: any;
|
|
675
|
+
}): any;
|
|
676
|
+
upgrade({ state }: {
|
|
677
|
+
state: any;
|
|
678
|
+
}, bundlecap: any, options: any): Promise<any>;
|
|
679
|
+
changeOptions({ state }: {
|
|
680
|
+
state: any;
|
|
681
|
+
}, options: any): void;
|
|
682
|
+
}>;
|
|
549
683
|
root: any;
|
|
550
684
|
}>;
|
|
551
685
|
createVatByName(bundleName: any, options?: {}): Promise<{
|
|
552
|
-
adminNode:
|
|
686
|
+
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
687
|
+
terminateWithFailure({ state }: {
|
|
688
|
+
state: any;
|
|
689
|
+
}, reason: any): void;
|
|
690
|
+
done({ state }: {
|
|
691
|
+
state: any;
|
|
692
|
+
}): any;
|
|
693
|
+
upgrade({ state }: {
|
|
694
|
+
state: any;
|
|
695
|
+
}, bundlecap: any, options: any): Promise<any>;
|
|
696
|
+
changeOptions({ state }: {
|
|
697
|
+
state: any;
|
|
698
|
+
}, options: any): void;
|
|
699
|
+
}>;
|
|
553
700
|
root: any;
|
|
554
701
|
}>;
|
|
555
702
|
}>>, criticalVatKey: unknown, log?: ((...args: any) => void) | undefined, label?: string | undefined) => {
|
|
556
703
|
space: {
|
|
557
704
|
consume: {
|
|
558
705
|
agoricNames: Promise<{
|
|
559
|
-
getNameHub: () => import("
|
|
706
|
+
getNameHub: () => import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
560
707
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
561
708
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
562
709
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo<AssetKind>) => any;
|
|
563
710
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
564
|
-
getNameHub: () => import("
|
|
711
|
+
getNameHub: () => import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
565
712
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
566
713
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
567
714
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo<AssetKind>) => any;
|
|
@@ -613,7 +760,7 @@ declare namespace modules {
|
|
|
613
760
|
}>>;
|
|
614
761
|
};
|
|
615
762
|
};
|
|
616
|
-
durableStore:
|
|
763
|
+
durableStore: MapStore<K, V>;
|
|
617
764
|
};
|
|
618
765
|
};
|
|
619
766
|
};
|
|
@@ -625,7 +772,7 @@ declare namespace modules {
|
|
|
625
772
|
loadVat: VatLoader<unknown>;
|
|
626
773
|
loadCriticalVat: VatLoader<unknown>;
|
|
627
774
|
}> & {
|
|
628
|
-
zone: import("@agoric/zone").Zone;
|
|
775
|
+
zone: import("@agoric/base-zone").Zone;
|
|
629
776
|
}) => Promise<void>;
|
|
630
777
|
produceStartGovernedUpgradable: ({ zone, consume: { chainTimerService, diagnostics, economicCommitteeCreatorFacet, zoe, }, produce, installation: { consume: { contractGovernor }, }, }: WellKnownSpaces & PromiseSpaceOf<ChainBootstrapSpaceT & {
|
|
631
778
|
vatAdminSvc: import("@agoric/swingset-vat").VatAdminSvc;
|
|
@@ -633,7 +780,7 @@ declare namespace modules {
|
|
|
633
780
|
loadVat: VatLoader<unknown>;
|
|
634
781
|
loadCriticalVat: VatLoader<unknown>;
|
|
635
782
|
}> & {
|
|
636
|
-
zone: import("@agoric/zone").Zone;
|
|
783
|
+
zone: import("@agoric/base-zone").Zone;
|
|
637
784
|
consume: {
|
|
638
785
|
economicCommitteeCreatorFacet: Promise<import("@agoric/governance/src/committee.js").CommitteeElectorateCreatorFacet>;
|
|
639
786
|
};
|
|
@@ -644,7 +791,7 @@ declare namespace modules {
|
|
|
644
791
|
loadVat: VatLoader<unknown>;
|
|
645
792
|
loadCriticalVat: VatLoader<unknown>;
|
|
646
793
|
}> & {
|
|
647
|
-
zone: import("@agoric/zone").Zone;
|
|
794
|
+
zone: import("@agoric/base-zone").Zone;
|
|
648
795
|
devices: SoloDevices | ChainDevices;
|
|
649
796
|
vats: SwingsetVats;
|
|
650
797
|
vatPowers: {
|
|
@@ -664,10 +811,9 @@ declare namespace modules {
|
|
|
664
811
|
AUSD: string;
|
|
665
812
|
};
|
|
666
813
|
installation: {
|
|
667
|
-
walletFactory: string;
|
|
668
|
-
reserve: string;
|
|
669
814
|
centralSupply: string;
|
|
670
815
|
mintHolder: string;
|
|
816
|
+
walletFactory: string;
|
|
671
817
|
provisionPool: string;
|
|
672
818
|
auctioneer: string;
|
|
673
819
|
feeDistributor: string;
|
|
@@ -678,6 +824,7 @@ declare namespace modules {
|
|
|
678
824
|
VaultFactory: string;
|
|
679
825
|
liquidate: string;
|
|
680
826
|
Pegasus: string;
|
|
827
|
+
reserve: string;
|
|
681
828
|
psm: string;
|
|
682
829
|
scaledPriceAuthority: string;
|
|
683
830
|
econCommitteeCharter: string;
|
|
@@ -685,12 +832,12 @@ declare namespace modules {
|
|
|
685
832
|
};
|
|
686
833
|
instance: {
|
|
687
834
|
walletFactory: string;
|
|
688
|
-
reserve: string;
|
|
689
835
|
provisionPool: string;
|
|
690
836
|
auctioneer: string;
|
|
691
837
|
feeDistributor: string;
|
|
692
838
|
VaultFactory: string;
|
|
693
839
|
Pegasus: string;
|
|
840
|
+
reserve: string;
|
|
694
841
|
econCommitteeCharter: string;
|
|
695
842
|
economicCommittee: string;
|
|
696
843
|
VaultFactoryGovernor: string;
|
|
@@ -731,12 +878,12 @@ declare namespace modules {
|
|
|
731
878
|
(...data: any[]): void;
|
|
732
879
|
(message?: any, ...optionalParams: any[]): void;
|
|
733
880
|
} | undefined, reserved?: Record<string, Record<string, unknown>>) => Promise<{
|
|
734
|
-
agoricNames: import("
|
|
881
|
+
agoricNames: import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
735
882
|
agoricNamesAdmin: import("../types.js").NameAdmin;
|
|
736
883
|
spaces: WellKnownSpaces;
|
|
737
884
|
}>;
|
|
738
885
|
makeMyAddressNameAdminKit: (address: string) => {
|
|
739
|
-
nameHub: import("
|
|
886
|
+
nameHub: import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
740
887
|
myAddressNameAdmin: import("../types.js").MyAddressNameAdmin;
|
|
741
888
|
};
|
|
742
889
|
makeVatSpace: (svc: ERef<import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
@@ -744,26 +891,75 @@ declare namespace modules {
|
|
|
744
891
|
getBundleCap(bundleID: any): any;
|
|
745
892
|
getNamedBundleCap(name: any): any;
|
|
746
893
|
getBundleIDByName(name: any): any;
|
|
747
|
-
createMeter(remaining: any, threshold: any):
|
|
748
|
-
|
|
894
|
+
createMeter(remaining: any, threshold: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
895
|
+
addRemaining({ state }: {
|
|
896
|
+
state: any;
|
|
897
|
+
}, delta: any): void;
|
|
898
|
+
setThreshold({ state }: {
|
|
899
|
+
state: any;
|
|
900
|
+
}, newThreshold: any): void;
|
|
901
|
+
get: ({ state }: {
|
|
902
|
+
state: any;
|
|
903
|
+
}) => any;
|
|
904
|
+
getNotifier: ({ _self }: {
|
|
905
|
+
_self: any;
|
|
906
|
+
}) => never;
|
|
907
|
+
}>;
|
|
908
|
+
createUnlimitedMeter(_context: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
909
|
+
addRemaining(_context: any, _delta: any): void;
|
|
910
|
+
setThreshold(_context: any, _newThreshold: any): void;
|
|
911
|
+
get: () => {
|
|
912
|
+
remaining: string;
|
|
913
|
+
threshold: number;
|
|
914
|
+
};
|
|
915
|
+
getNotifier: ({ _self }: {
|
|
916
|
+
_self: any;
|
|
917
|
+
}) => never;
|
|
918
|
+
}>;
|
|
749
919
|
createVat(bundleOrBundleCap: any, options?: {}): Promise<{
|
|
750
|
-
adminNode:
|
|
920
|
+
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
921
|
+
terminateWithFailure({ state }: {
|
|
922
|
+
state: any;
|
|
923
|
+
}, reason: any): void;
|
|
924
|
+
done({ state }: {
|
|
925
|
+
state: any;
|
|
926
|
+
}): any;
|
|
927
|
+
upgrade({ state }: {
|
|
928
|
+
state: any;
|
|
929
|
+
}, bundlecap: any, options: any): Promise<any>;
|
|
930
|
+
changeOptions({ state }: {
|
|
931
|
+
state: any;
|
|
932
|
+
}, options: any): void;
|
|
933
|
+
}>;
|
|
751
934
|
root: any;
|
|
752
935
|
}>;
|
|
753
936
|
createVatByName(bundleName: any, options?: {}): Promise<{
|
|
754
|
-
adminNode:
|
|
937
|
+
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
938
|
+
terminateWithFailure({ state }: {
|
|
939
|
+
state: any;
|
|
940
|
+
}, reason: any): void;
|
|
941
|
+
done({ state }: {
|
|
942
|
+
state: any;
|
|
943
|
+
}): any;
|
|
944
|
+
upgrade({ state }: {
|
|
945
|
+
state: any;
|
|
946
|
+
}, bundlecap: any, options: any): Promise<any>;
|
|
947
|
+
changeOptions({ state }: {
|
|
948
|
+
state: any;
|
|
949
|
+
}, options: any): void;
|
|
950
|
+
}>;
|
|
755
951
|
root: any;
|
|
756
952
|
}>;
|
|
757
953
|
}>>, criticalVatKey: unknown, log?: ((...args: any) => void) | undefined, label?: string | undefined) => {
|
|
758
954
|
space: {
|
|
759
955
|
consume: {
|
|
760
956
|
agoricNames: Promise<{
|
|
761
|
-
getNameHub: () => import("
|
|
957
|
+
getNameHub: () => import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
762
958
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
763
959
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
764
960
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo<AssetKind>) => any;
|
|
765
961
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
766
|
-
getNameHub: () => import("
|
|
962
|
+
getNameHub: () => import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
767
963
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
768
964
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
769
965
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo<AssetKind>) => any;
|
|
@@ -815,7 +1011,7 @@ declare namespace modules {
|
|
|
815
1011
|
}>>;
|
|
816
1012
|
};
|
|
817
1013
|
};
|
|
818
|
-
durableStore:
|
|
1014
|
+
durableStore: MapStore<K, V>;
|
|
819
1015
|
};
|
|
820
1016
|
};
|
|
821
1017
|
};
|
|
@@ -830,7 +1026,7 @@ declare namespace modules {
|
|
|
830
1026
|
loadVat: VatLoader<unknown>;
|
|
831
1027
|
loadCriticalVat: VatLoader<unknown>;
|
|
832
1028
|
}> & {
|
|
833
|
-
zone: import("@agoric/zone").Zone;
|
|
1029
|
+
zone: import("@agoric/base-zone").Zone;
|
|
834
1030
|
devices: SoloDevices | ChainDevices;
|
|
835
1031
|
vats: SwingsetVats;
|
|
836
1032
|
vatPowers: {
|
|
@@ -850,10 +1046,9 @@ declare namespace modules {
|
|
|
850
1046
|
AUSD: string;
|
|
851
1047
|
};
|
|
852
1048
|
installation: {
|
|
853
|
-
walletFactory: string;
|
|
854
|
-
reserve: string;
|
|
855
1049
|
centralSupply: string;
|
|
856
1050
|
mintHolder: string;
|
|
1051
|
+
walletFactory: string;
|
|
857
1052
|
provisionPool: string;
|
|
858
1053
|
auctioneer: string;
|
|
859
1054
|
feeDistributor: string;
|
|
@@ -864,6 +1059,7 @@ declare namespace modules {
|
|
|
864
1059
|
VaultFactory: string;
|
|
865
1060
|
liquidate: string;
|
|
866
1061
|
Pegasus: string;
|
|
1062
|
+
reserve: string;
|
|
867
1063
|
psm: string;
|
|
868
1064
|
scaledPriceAuthority: string;
|
|
869
1065
|
econCommitteeCharter: string;
|
|
@@ -871,12 +1067,12 @@ declare namespace modules {
|
|
|
871
1067
|
};
|
|
872
1068
|
instance: {
|
|
873
1069
|
walletFactory: string;
|
|
874
|
-
reserve: string;
|
|
875
1070
|
provisionPool: string;
|
|
876
1071
|
auctioneer: string;
|
|
877
1072
|
feeDistributor: string;
|
|
878
1073
|
VaultFactory: string;
|
|
879
1074
|
Pegasus: string;
|
|
1075
|
+
reserve: string;
|
|
880
1076
|
econCommitteeCharter: string;
|
|
881
1077
|
economicCommittee: string;
|
|
882
1078
|
VaultFactoryGovernor: string;
|
|
@@ -917,12 +1113,12 @@ declare namespace modules {
|
|
|
917
1113
|
(...data: any[]): void;
|
|
918
1114
|
(message?: any, ...optionalParams: any[]): void;
|
|
919
1115
|
} | undefined, reserved?: Record<string, Record<string, unknown>>) => Promise<{
|
|
920
|
-
agoricNames: import("
|
|
1116
|
+
agoricNames: import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
921
1117
|
agoricNamesAdmin: import("../types.js").NameAdmin;
|
|
922
1118
|
spaces: WellKnownSpaces;
|
|
923
1119
|
}>;
|
|
924
1120
|
makeMyAddressNameAdminKit: (address: string) => {
|
|
925
|
-
nameHub: import("
|
|
1121
|
+
nameHub: import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
926
1122
|
myAddressNameAdmin: import("../types.js").MyAddressNameAdmin;
|
|
927
1123
|
};
|
|
928
1124
|
makeVatSpace: (svc: ERef<import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
@@ -930,26 +1126,75 @@ declare namespace modules {
|
|
|
930
1126
|
getBundleCap(bundleID: any): any;
|
|
931
1127
|
getNamedBundleCap(name: any): any;
|
|
932
1128
|
getBundleIDByName(name: any): any;
|
|
933
|
-
createMeter(remaining: any, threshold: any):
|
|
934
|
-
|
|
1129
|
+
createMeter(remaining: any, threshold: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
1130
|
+
addRemaining({ state }: {
|
|
1131
|
+
state: any;
|
|
1132
|
+
}, delta: any): void;
|
|
1133
|
+
setThreshold({ state }: {
|
|
1134
|
+
state: any;
|
|
1135
|
+
}, newThreshold: any): void;
|
|
1136
|
+
get: ({ state }: {
|
|
1137
|
+
state: any;
|
|
1138
|
+
}) => any;
|
|
1139
|
+
getNotifier: ({ _self }: {
|
|
1140
|
+
_self: any;
|
|
1141
|
+
}) => never;
|
|
1142
|
+
}>;
|
|
1143
|
+
createUnlimitedMeter(_context: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
1144
|
+
addRemaining(_context: any, _delta: any): void;
|
|
1145
|
+
setThreshold(_context: any, _newThreshold: any): void;
|
|
1146
|
+
get: () => {
|
|
1147
|
+
remaining: string;
|
|
1148
|
+
threshold: number;
|
|
1149
|
+
};
|
|
1150
|
+
getNotifier: ({ _self }: {
|
|
1151
|
+
_self: any;
|
|
1152
|
+
}) => never;
|
|
1153
|
+
}>;
|
|
935
1154
|
createVat(bundleOrBundleCap: any, options?: {}): Promise<{
|
|
936
|
-
adminNode:
|
|
1155
|
+
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
1156
|
+
terminateWithFailure({ state }: {
|
|
1157
|
+
state: any;
|
|
1158
|
+
}, reason: any): void;
|
|
1159
|
+
done({ state }: {
|
|
1160
|
+
state: any;
|
|
1161
|
+
}): any;
|
|
1162
|
+
upgrade({ state }: {
|
|
1163
|
+
state: any;
|
|
1164
|
+
}, bundlecap: any, options: any): Promise<any>;
|
|
1165
|
+
changeOptions({ state }: {
|
|
1166
|
+
state: any;
|
|
1167
|
+
}, options: any): void;
|
|
1168
|
+
}>;
|
|
937
1169
|
root: any;
|
|
938
1170
|
}>;
|
|
939
1171
|
createVatByName(bundleName: any, options?: {}): Promise<{
|
|
940
|
-
adminNode:
|
|
1172
|
+
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
1173
|
+
terminateWithFailure({ state }: {
|
|
1174
|
+
state: any;
|
|
1175
|
+
}, reason: any): void;
|
|
1176
|
+
done({ state }: {
|
|
1177
|
+
state: any;
|
|
1178
|
+
}): any;
|
|
1179
|
+
upgrade({ state }: {
|
|
1180
|
+
state: any;
|
|
1181
|
+
}, bundlecap: any, options: any): Promise<any>;
|
|
1182
|
+
changeOptions({ state }: {
|
|
1183
|
+
state: any;
|
|
1184
|
+
}, options: any): void;
|
|
1185
|
+
}>;
|
|
941
1186
|
root: any;
|
|
942
1187
|
}>;
|
|
943
1188
|
}>>, criticalVatKey: unknown, log?: ((...args: any) => void) | undefined, label?: string | undefined) => {
|
|
944
1189
|
space: {
|
|
945
1190
|
consume: {
|
|
946
1191
|
agoricNames: Promise<{
|
|
947
|
-
getNameHub: () => import("
|
|
1192
|
+
getNameHub: () => import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
948
1193
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
949
1194
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
950
1195
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo<AssetKind>) => any;
|
|
951
1196
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
952
|
-
getNameHub: () => import("
|
|
1197
|
+
getNameHub: () => import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
953
1198
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
954
1199
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
955
1200
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo<AssetKind>) => any;
|
|
@@ -1001,7 +1246,7 @@ declare namespace modules {
|
|
|
1001
1246
|
}>>;
|
|
1002
1247
|
};
|
|
1003
1248
|
};
|
|
1004
|
-
durableStore:
|
|
1249
|
+
durableStore: MapStore<K, V>;
|
|
1005
1250
|
};
|
|
1006
1251
|
};
|
|
1007
1252
|
};
|
|
@@ -1016,7 +1261,7 @@ declare namespace modules {
|
|
|
1016
1261
|
loadVat: VatLoader<unknown>;
|
|
1017
1262
|
loadCriticalVat: VatLoader<unknown>;
|
|
1018
1263
|
}> & {
|
|
1019
|
-
zone: import("@agoric/zone").Zone;
|
|
1264
|
+
zone: import("@agoric/base-zone").Zone;
|
|
1020
1265
|
devices: SoloDevices | ChainDevices;
|
|
1021
1266
|
vats: SwingsetVats;
|
|
1022
1267
|
vatPowers: {
|
|
@@ -1036,10 +1281,9 @@ declare namespace modules {
|
|
|
1036
1281
|
AUSD: string;
|
|
1037
1282
|
};
|
|
1038
1283
|
installation: {
|
|
1039
|
-
walletFactory: string;
|
|
1040
|
-
reserve: string;
|
|
1041
1284
|
centralSupply: string;
|
|
1042
1285
|
mintHolder: string;
|
|
1286
|
+
walletFactory: string;
|
|
1043
1287
|
provisionPool: string;
|
|
1044
1288
|
auctioneer: string;
|
|
1045
1289
|
feeDistributor: string;
|
|
@@ -1050,6 +1294,7 @@ declare namespace modules {
|
|
|
1050
1294
|
VaultFactory: string;
|
|
1051
1295
|
liquidate: string;
|
|
1052
1296
|
Pegasus: string;
|
|
1297
|
+
reserve: string;
|
|
1053
1298
|
psm: string;
|
|
1054
1299
|
scaledPriceAuthority: string;
|
|
1055
1300
|
econCommitteeCharter: string;
|
|
@@ -1057,12 +1302,12 @@ declare namespace modules {
|
|
|
1057
1302
|
};
|
|
1058
1303
|
instance: {
|
|
1059
1304
|
walletFactory: string;
|
|
1060
|
-
reserve: string;
|
|
1061
1305
|
provisionPool: string;
|
|
1062
1306
|
auctioneer: string;
|
|
1063
1307
|
feeDistributor: string;
|
|
1064
1308
|
VaultFactory: string;
|
|
1065
1309
|
Pegasus: string;
|
|
1310
|
+
reserve: string;
|
|
1066
1311
|
econCommitteeCharter: string;
|
|
1067
1312
|
economicCommittee: string;
|
|
1068
1313
|
VaultFactoryGovernor: string;
|
|
@@ -1103,12 +1348,12 @@ declare namespace modules {
|
|
|
1103
1348
|
(...data: any[]): void;
|
|
1104
1349
|
(message?: any, ...optionalParams: any[]): void;
|
|
1105
1350
|
} | undefined, reserved?: Record<string, Record<string, unknown>>) => Promise<{
|
|
1106
|
-
agoricNames: import("
|
|
1351
|
+
agoricNames: import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
1107
1352
|
agoricNamesAdmin: import("../types.js").NameAdmin;
|
|
1108
1353
|
spaces: WellKnownSpaces;
|
|
1109
1354
|
}>;
|
|
1110
1355
|
makeMyAddressNameAdminKit: (address: string) => {
|
|
1111
|
-
nameHub: import("
|
|
1356
|
+
nameHub: import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
1112
1357
|
myAddressNameAdmin: import("../types.js").MyAddressNameAdmin;
|
|
1113
1358
|
};
|
|
1114
1359
|
makeVatSpace: (svc: ERef<import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
@@ -1116,26 +1361,75 @@ declare namespace modules {
|
|
|
1116
1361
|
getBundleCap(bundleID: any): any;
|
|
1117
1362
|
getNamedBundleCap(name: any): any;
|
|
1118
1363
|
getBundleIDByName(name: any): any;
|
|
1119
|
-
createMeter(remaining: any, threshold: any):
|
|
1120
|
-
|
|
1364
|
+
createMeter(remaining: any, threshold: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
1365
|
+
addRemaining({ state }: {
|
|
1366
|
+
state: any;
|
|
1367
|
+
}, delta: any): void;
|
|
1368
|
+
setThreshold({ state }: {
|
|
1369
|
+
state: any;
|
|
1370
|
+
}, newThreshold: any): void;
|
|
1371
|
+
get: ({ state }: {
|
|
1372
|
+
state: any;
|
|
1373
|
+
}) => any;
|
|
1374
|
+
getNotifier: ({ _self }: {
|
|
1375
|
+
_self: any;
|
|
1376
|
+
}) => never;
|
|
1377
|
+
}>;
|
|
1378
|
+
createUnlimitedMeter(_context: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
1379
|
+
addRemaining(_context: any, _delta: any): void;
|
|
1380
|
+
setThreshold(_context: any, _newThreshold: any): void;
|
|
1381
|
+
get: () => {
|
|
1382
|
+
remaining: string;
|
|
1383
|
+
threshold: number;
|
|
1384
|
+
};
|
|
1385
|
+
getNotifier: ({ _self }: {
|
|
1386
|
+
_self: any;
|
|
1387
|
+
}) => never;
|
|
1388
|
+
}>;
|
|
1121
1389
|
createVat(bundleOrBundleCap: any, options?: {}): Promise<{
|
|
1122
|
-
adminNode:
|
|
1390
|
+
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
1391
|
+
terminateWithFailure({ state }: {
|
|
1392
|
+
state: any;
|
|
1393
|
+
}, reason: any): void;
|
|
1394
|
+
done({ state }: {
|
|
1395
|
+
state: any;
|
|
1396
|
+
}): any;
|
|
1397
|
+
upgrade({ state }: {
|
|
1398
|
+
state: any;
|
|
1399
|
+
}, bundlecap: any, options: any): Promise<any>;
|
|
1400
|
+
changeOptions({ state }: {
|
|
1401
|
+
state: any;
|
|
1402
|
+
}, options: any): void;
|
|
1403
|
+
}>;
|
|
1123
1404
|
root: any;
|
|
1124
1405
|
}>;
|
|
1125
1406
|
createVatByName(bundleName: any, options?: {}): Promise<{
|
|
1126
|
-
adminNode:
|
|
1407
|
+
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
1408
|
+
terminateWithFailure({ state }: {
|
|
1409
|
+
state: any;
|
|
1410
|
+
}, reason: any): void;
|
|
1411
|
+
done({ state }: {
|
|
1412
|
+
state: any;
|
|
1413
|
+
}): any;
|
|
1414
|
+
upgrade({ state }: {
|
|
1415
|
+
state: any;
|
|
1416
|
+
}, bundlecap: any, options: any): Promise<any>;
|
|
1417
|
+
changeOptions({ state }: {
|
|
1418
|
+
state: any;
|
|
1419
|
+
}, options: any): void;
|
|
1420
|
+
}>;
|
|
1127
1421
|
root: any;
|
|
1128
1422
|
}>;
|
|
1129
1423
|
}>>, criticalVatKey: unknown, log?: ((...args: any) => void) | undefined, label?: string | undefined) => {
|
|
1130
1424
|
space: {
|
|
1131
1425
|
consume: {
|
|
1132
1426
|
agoricNames: Promise<{
|
|
1133
|
-
getNameHub: () => import("
|
|
1427
|
+
getNameHub: () => import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
1134
1428
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
1135
1429
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
1136
1430
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo<AssetKind>) => any;
|
|
1137
1431
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
1138
|
-
getNameHub: () => import("
|
|
1432
|
+
getNameHub: () => import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
1139
1433
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
1140
1434
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
1141
1435
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo<AssetKind>) => any;
|
|
@@ -1187,7 +1481,7 @@ declare namespace modules {
|
|
|
1187
1481
|
}>>;
|
|
1188
1482
|
};
|
|
1189
1483
|
};
|
|
1190
|
-
durableStore:
|
|
1484
|
+
durableStore: MapStore<K, V>;
|
|
1191
1485
|
};
|
|
1192
1486
|
};
|
|
1193
1487
|
};
|
|
@@ -1198,7 +1492,7 @@ declare namespace modules {
|
|
|
1198
1492
|
loadVat: VatLoader<unknown>;
|
|
1199
1493
|
loadCriticalVat: VatLoader<unknown>;
|
|
1200
1494
|
}> & {
|
|
1201
|
-
zone: import("@agoric/zone").Zone;
|
|
1495
|
+
zone: import("@agoric/base-zone").Zone;
|
|
1202
1496
|
devices: SoloDevices | ChainDevices;
|
|
1203
1497
|
vats: SwingsetVats;
|
|
1204
1498
|
vatPowers: {
|
|
@@ -1218,10 +1512,9 @@ declare namespace modules {
|
|
|
1218
1512
|
AUSD: string;
|
|
1219
1513
|
};
|
|
1220
1514
|
installation: {
|
|
1221
|
-
walletFactory: string;
|
|
1222
|
-
reserve: string;
|
|
1223
1515
|
centralSupply: string;
|
|
1224
1516
|
mintHolder: string;
|
|
1517
|
+
walletFactory: string;
|
|
1225
1518
|
provisionPool: string;
|
|
1226
1519
|
auctioneer: string;
|
|
1227
1520
|
feeDistributor: string;
|
|
@@ -1232,6 +1525,7 @@ declare namespace modules {
|
|
|
1232
1525
|
VaultFactory: string;
|
|
1233
1526
|
liquidate: string;
|
|
1234
1527
|
Pegasus: string;
|
|
1528
|
+
reserve: string;
|
|
1235
1529
|
psm: string;
|
|
1236
1530
|
scaledPriceAuthority: string;
|
|
1237
1531
|
econCommitteeCharter: string;
|
|
@@ -1239,12 +1533,12 @@ declare namespace modules {
|
|
|
1239
1533
|
};
|
|
1240
1534
|
instance: {
|
|
1241
1535
|
walletFactory: string;
|
|
1242
|
-
reserve: string;
|
|
1243
1536
|
provisionPool: string;
|
|
1244
1537
|
auctioneer: string;
|
|
1245
1538
|
feeDistributor: string;
|
|
1246
1539
|
VaultFactory: string;
|
|
1247
1540
|
Pegasus: string;
|
|
1541
|
+
reserve: string;
|
|
1248
1542
|
econCommitteeCharter: string;
|
|
1249
1543
|
economicCommittee: string;
|
|
1250
1544
|
VaultFactoryGovernor: string;
|
|
@@ -1285,12 +1579,12 @@ declare namespace modules {
|
|
|
1285
1579
|
(...data: any[]): void;
|
|
1286
1580
|
(message?: any, ...optionalParams: any[]): void;
|
|
1287
1581
|
} | undefined, reserved?: Record<string, Record<string, unknown>>) => Promise<{
|
|
1288
|
-
agoricNames: import("
|
|
1582
|
+
agoricNames: import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
1289
1583
|
agoricNamesAdmin: import("../types.js").NameAdmin;
|
|
1290
1584
|
spaces: WellKnownSpaces;
|
|
1291
1585
|
}>;
|
|
1292
1586
|
makeMyAddressNameAdminKit: (address: string) => {
|
|
1293
|
-
nameHub: import("
|
|
1587
|
+
nameHub: import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
1294
1588
|
myAddressNameAdmin: import("../types.js").MyAddressNameAdmin;
|
|
1295
1589
|
};
|
|
1296
1590
|
makeVatSpace: (svc: ERef<import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
@@ -1298,26 +1592,75 @@ declare namespace modules {
|
|
|
1298
1592
|
getBundleCap(bundleID: any): any;
|
|
1299
1593
|
getNamedBundleCap(name: any): any;
|
|
1300
1594
|
getBundleIDByName(name: any): any;
|
|
1301
|
-
createMeter(remaining: any, threshold: any):
|
|
1302
|
-
|
|
1595
|
+
createMeter(remaining: any, threshold: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
1596
|
+
addRemaining({ state }: {
|
|
1597
|
+
state: any;
|
|
1598
|
+
}, delta: any): void;
|
|
1599
|
+
setThreshold({ state }: {
|
|
1600
|
+
state: any;
|
|
1601
|
+
}, newThreshold: any): void;
|
|
1602
|
+
get: ({ state }: {
|
|
1603
|
+
state: any;
|
|
1604
|
+
}) => any;
|
|
1605
|
+
getNotifier: ({ _self }: {
|
|
1606
|
+
_self: any;
|
|
1607
|
+
}) => never;
|
|
1608
|
+
}>;
|
|
1609
|
+
createUnlimitedMeter(_context: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
1610
|
+
addRemaining(_context: any, _delta: any): void;
|
|
1611
|
+
setThreshold(_context: any, _newThreshold: any): void;
|
|
1612
|
+
get: () => {
|
|
1613
|
+
remaining: string;
|
|
1614
|
+
threshold: number;
|
|
1615
|
+
};
|
|
1616
|
+
getNotifier: ({ _self }: {
|
|
1617
|
+
_self: any;
|
|
1618
|
+
}) => never;
|
|
1619
|
+
}>;
|
|
1303
1620
|
createVat(bundleOrBundleCap: any, options?: {}): Promise<{
|
|
1304
|
-
adminNode:
|
|
1621
|
+
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
1622
|
+
terminateWithFailure({ state }: {
|
|
1623
|
+
state: any;
|
|
1624
|
+
}, reason: any): void;
|
|
1625
|
+
done({ state }: {
|
|
1626
|
+
state: any;
|
|
1627
|
+
}): any;
|
|
1628
|
+
upgrade({ state }: {
|
|
1629
|
+
state: any;
|
|
1630
|
+
}, bundlecap: any, options: any): Promise<any>;
|
|
1631
|
+
changeOptions({ state }: {
|
|
1632
|
+
state: any;
|
|
1633
|
+
}, options: any): void;
|
|
1634
|
+
}>;
|
|
1305
1635
|
root: any;
|
|
1306
1636
|
}>;
|
|
1307
1637
|
createVatByName(bundleName: any, options?: {}): Promise<{
|
|
1308
|
-
adminNode:
|
|
1638
|
+
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
1639
|
+
terminateWithFailure({ state }: {
|
|
1640
|
+
state: any;
|
|
1641
|
+
}, reason: any): void;
|
|
1642
|
+
done({ state }: {
|
|
1643
|
+
state: any;
|
|
1644
|
+
}): any;
|
|
1645
|
+
upgrade({ state }: {
|
|
1646
|
+
state: any;
|
|
1647
|
+
}, bundlecap: any, options: any): Promise<any>;
|
|
1648
|
+
changeOptions({ state }: {
|
|
1649
|
+
state: any;
|
|
1650
|
+
}, options: any): void;
|
|
1651
|
+
}>;
|
|
1309
1652
|
root: any;
|
|
1310
1653
|
}>;
|
|
1311
1654
|
}>>, criticalVatKey: unknown, log?: ((...args: any) => void) | undefined, label?: string | undefined) => {
|
|
1312
1655
|
space: {
|
|
1313
1656
|
consume: {
|
|
1314
1657
|
agoricNames: Promise<{
|
|
1315
|
-
getNameHub: () => import("
|
|
1658
|
+
getNameHub: () => import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
1316
1659
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
1317
1660
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
1318
1661
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo<AssetKind>) => any;
|
|
1319
1662
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
1320
|
-
getNameHub: () => import("
|
|
1663
|
+
getNameHub: () => import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
1321
1664
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
1322
1665
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
1323
1666
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo<AssetKind>) => any;
|
|
@@ -1369,7 +1712,7 @@ declare namespace modules {
|
|
|
1369
1712
|
}>>;
|
|
1370
1713
|
};
|
|
1371
1714
|
};
|
|
1372
|
-
durableStore:
|
|
1715
|
+
durableStore: MapStore<K, V>;
|
|
1373
1716
|
};
|
|
1374
1717
|
};
|
|
1375
1718
|
};
|
|
@@ -1380,7 +1723,7 @@ declare namespace modules {
|
|
|
1380
1723
|
loadVat: VatLoader<unknown>;
|
|
1381
1724
|
loadCriticalVat: VatLoader<unknown>;
|
|
1382
1725
|
}> & {
|
|
1383
|
-
zone: import("@agoric/zone").Zone;
|
|
1726
|
+
zone: import("@agoric/base-zone").Zone;
|
|
1384
1727
|
devices: SoloDevices | ChainDevices;
|
|
1385
1728
|
vats: SwingsetVats;
|
|
1386
1729
|
vatPowers: {
|
|
@@ -1400,10 +1743,9 @@ declare namespace modules {
|
|
|
1400
1743
|
AUSD: string;
|
|
1401
1744
|
};
|
|
1402
1745
|
installation: {
|
|
1403
|
-
walletFactory: string;
|
|
1404
|
-
reserve: string;
|
|
1405
1746
|
centralSupply: string;
|
|
1406
1747
|
mintHolder: string;
|
|
1748
|
+
walletFactory: string;
|
|
1407
1749
|
provisionPool: string;
|
|
1408
1750
|
auctioneer: string;
|
|
1409
1751
|
feeDistributor: string;
|
|
@@ -1414,6 +1756,7 @@ declare namespace modules {
|
|
|
1414
1756
|
VaultFactory: string;
|
|
1415
1757
|
liquidate: string;
|
|
1416
1758
|
Pegasus: string;
|
|
1759
|
+
reserve: string;
|
|
1417
1760
|
psm: string;
|
|
1418
1761
|
scaledPriceAuthority: string;
|
|
1419
1762
|
econCommitteeCharter: string;
|
|
@@ -1421,12 +1764,12 @@ declare namespace modules {
|
|
|
1421
1764
|
};
|
|
1422
1765
|
instance: {
|
|
1423
1766
|
walletFactory: string;
|
|
1424
|
-
reserve: string;
|
|
1425
1767
|
provisionPool: string;
|
|
1426
1768
|
auctioneer: string;
|
|
1427
1769
|
feeDistributor: string;
|
|
1428
1770
|
VaultFactory: string;
|
|
1429
1771
|
Pegasus: string;
|
|
1772
|
+
reserve: string;
|
|
1430
1773
|
econCommitteeCharter: string;
|
|
1431
1774
|
economicCommittee: string;
|
|
1432
1775
|
VaultFactoryGovernor: string;
|
|
@@ -1467,12 +1810,12 @@ declare namespace modules {
|
|
|
1467
1810
|
(...data: any[]): void;
|
|
1468
1811
|
(message?: any, ...optionalParams: any[]): void;
|
|
1469
1812
|
} | undefined, reserved?: Record<string, Record<string, unknown>>) => Promise<{
|
|
1470
|
-
agoricNames: import("
|
|
1813
|
+
agoricNames: import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
1471
1814
|
agoricNamesAdmin: import("../types.js").NameAdmin;
|
|
1472
1815
|
spaces: WellKnownSpaces;
|
|
1473
1816
|
}>;
|
|
1474
1817
|
makeMyAddressNameAdminKit: (address: string) => {
|
|
1475
|
-
nameHub: import("
|
|
1818
|
+
nameHub: import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
1476
1819
|
myAddressNameAdmin: import("../types.js").MyAddressNameAdmin;
|
|
1477
1820
|
};
|
|
1478
1821
|
makeVatSpace: (svc: ERef<import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
@@ -1480,26 +1823,75 @@ declare namespace modules {
|
|
|
1480
1823
|
getBundleCap(bundleID: any): any;
|
|
1481
1824
|
getNamedBundleCap(name: any): any;
|
|
1482
1825
|
getBundleIDByName(name: any): any;
|
|
1483
|
-
createMeter(remaining: any, threshold: any):
|
|
1484
|
-
|
|
1826
|
+
createMeter(remaining: any, threshold: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
1827
|
+
addRemaining({ state }: {
|
|
1828
|
+
state: any;
|
|
1829
|
+
}, delta: any): void;
|
|
1830
|
+
setThreshold({ state }: {
|
|
1831
|
+
state: any;
|
|
1832
|
+
}, newThreshold: any): void;
|
|
1833
|
+
get: ({ state }: {
|
|
1834
|
+
state: any;
|
|
1835
|
+
}) => any;
|
|
1836
|
+
getNotifier: ({ _self }: {
|
|
1837
|
+
_self: any;
|
|
1838
|
+
}) => never;
|
|
1839
|
+
}>;
|
|
1840
|
+
createUnlimitedMeter(_context: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
1841
|
+
addRemaining(_context: any, _delta: any): void;
|
|
1842
|
+
setThreshold(_context: any, _newThreshold: any): void;
|
|
1843
|
+
get: () => {
|
|
1844
|
+
remaining: string;
|
|
1845
|
+
threshold: number;
|
|
1846
|
+
};
|
|
1847
|
+
getNotifier: ({ _self }: {
|
|
1848
|
+
_self: any;
|
|
1849
|
+
}) => never;
|
|
1850
|
+
}>;
|
|
1485
1851
|
createVat(bundleOrBundleCap: any, options?: {}): Promise<{
|
|
1486
|
-
adminNode:
|
|
1852
|
+
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
1853
|
+
terminateWithFailure({ state }: {
|
|
1854
|
+
state: any;
|
|
1855
|
+
}, reason: any): void;
|
|
1856
|
+
done({ state }: {
|
|
1857
|
+
state: any;
|
|
1858
|
+
}): any;
|
|
1859
|
+
upgrade({ state }: {
|
|
1860
|
+
state: any;
|
|
1861
|
+
}, bundlecap: any, options: any): Promise<any>;
|
|
1862
|
+
changeOptions({ state }: {
|
|
1863
|
+
state: any;
|
|
1864
|
+
}, options: any): void;
|
|
1865
|
+
}>;
|
|
1487
1866
|
root: any;
|
|
1488
1867
|
}>;
|
|
1489
1868
|
createVatByName(bundleName: any, options?: {}): Promise<{
|
|
1490
|
-
adminNode:
|
|
1869
|
+
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
1870
|
+
terminateWithFailure({ state }: {
|
|
1871
|
+
state: any;
|
|
1872
|
+
}, reason: any): void;
|
|
1873
|
+
done({ state }: {
|
|
1874
|
+
state: any;
|
|
1875
|
+
}): any;
|
|
1876
|
+
upgrade({ state }: {
|
|
1877
|
+
state: any;
|
|
1878
|
+
}, bundlecap: any, options: any): Promise<any>;
|
|
1879
|
+
changeOptions({ state }: {
|
|
1880
|
+
state: any;
|
|
1881
|
+
}, options: any): void;
|
|
1882
|
+
}>;
|
|
1491
1883
|
root: any;
|
|
1492
1884
|
}>;
|
|
1493
1885
|
}>>, criticalVatKey: unknown, log?: ((...args: any) => void) | undefined, label?: string | undefined) => {
|
|
1494
1886
|
space: {
|
|
1495
1887
|
consume: {
|
|
1496
1888
|
agoricNames: Promise<{
|
|
1497
|
-
getNameHub: () => import("
|
|
1889
|
+
getNameHub: () => import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
1498
1890
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
1499
1891
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
1500
1892
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo<AssetKind>) => any;
|
|
1501
1893
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
1502
|
-
getNameHub: () => import("
|
|
1894
|
+
getNameHub: () => import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
1503
1895
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
1504
1896
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
1505
1897
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo<AssetKind>) => any;
|
|
@@ -1551,7 +1943,7 @@ declare namespace modules {
|
|
|
1551
1943
|
}>>;
|
|
1552
1944
|
};
|
|
1553
1945
|
};
|
|
1554
|
-
durableStore:
|
|
1946
|
+
durableStore: MapStore<K, V>;
|
|
1555
1947
|
};
|
|
1556
1948
|
};
|
|
1557
1949
|
};
|
|
@@ -1570,7 +1962,7 @@ declare namespace modules {
|
|
|
1570
1962
|
loadVat: VatLoader<unknown>;
|
|
1571
1963
|
loadCriticalVat: VatLoader<unknown>;
|
|
1572
1964
|
}> & {
|
|
1573
|
-
zone: import("@agoric/zone").Zone;
|
|
1965
|
+
zone: import("@agoric/base-zone").Zone;
|
|
1574
1966
|
devices: SoloDevices | ChainDevices;
|
|
1575
1967
|
vats: SwingsetVats;
|
|
1576
1968
|
vatPowers: {
|
|
@@ -1590,10 +1982,9 @@ declare namespace modules {
|
|
|
1590
1982
|
AUSD: string;
|
|
1591
1983
|
};
|
|
1592
1984
|
installation: {
|
|
1593
|
-
walletFactory: string;
|
|
1594
|
-
reserve: string;
|
|
1595
1985
|
centralSupply: string;
|
|
1596
1986
|
mintHolder: string;
|
|
1987
|
+
walletFactory: string;
|
|
1597
1988
|
provisionPool: string;
|
|
1598
1989
|
auctioneer: string;
|
|
1599
1990
|
feeDistributor: string;
|
|
@@ -1604,6 +1995,7 @@ declare namespace modules {
|
|
|
1604
1995
|
VaultFactory: string;
|
|
1605
1996
|
liquidate: string;
|
|
1606
1997
|
Pegasus: string;
|
|
1998
|
+
reserve: string;
|
|
1607
1999
|
psm: string;
|
|
1608
2000
|
scaledPriceAuthority: string;
|
|
1609
2001
|
econCommitteeCharter: string;
|
|
@@ -1611,12 +2003,12 @@ declare namespace modules {
|
|
|
1611
2003
|
};
|
|
1612
2004
|
instance: {
|
|
1613
2005
|
walletFactory: string;
|
|
1614
|
-
reserve: string;
|
|
1615
2006
|
provisionPool: string;
|
|
1616
2007
|
auctioneer: string;
|
|
1617
2008
|
feeDistributor: string;
|
|
1618
2009
|
VaultFactory: string;
|
|
1619
2010
|
Pegasus: string;
|
|
2011
|
+
reserve: string;
|
|
1620
2012
|
econCommitteeCharter: string;
|
|
1621
2013
|
economicCommittee: string;
|
|
1622
2014
|
VaultFactoryGovernor: string;
|
|
@@ -1657,12 +2049,12 @@ declare namespace modules {
|
|
|
1657
2049
|
(...data: any[]): void;
|
|
1658
2050
|
(message?: any, ...optionalParams: any[]): void;
|
|
1659
2051
|
} | undefined, reserved?: Record<string, Record<string, unknown>>) => Promise<{
|
|
1660
|
-
agoricNames: import("
|
|
2052
|
+
agoricNames: import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
1661
2053
|
agoricNamesAdmin: import("../types.js").NameAdmin;
|
|
1662
2054
|
spaces: WellKnownSpaces;
|
|
1663
2055
|
}>;
|
|
1664
2056
|
makeMyAddressNameAdminKit: (address: string) => {
|
|
1665
|
-
nameHub: import("
|
|
2057
|
+
nameHub: import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
1666
2058
|
myAddressNameAdmin: import("../types.js").MyAddressNameAdmin;
|
|
1667
2059
|
};
|
|
1668
2060
|
makeVatSpace: (svc: ERef<import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
@@ -1670,26 +2062,75 @@ declare namespace modules {
|
|
|
1670
2062
|
getBundleCap(bundleID: any): any;
|
|
1671
2063
|
getNamedBundleCap(name: any): any;
|
|
1672
2064
|
getBundleIDByName(name: any): any;
|
|
1673
|
-
createMeter(remaining: any, threshold: any):
|
|
1674
|
-
|
|
2065
|
+
createMeter(remaining: any, threshold: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
2066
|
+
addRemaining({ state }: {
|
|
2067
|
+
state: any;
|
|
2068
|
+
}, delta: any): void;
|
|
2069
|
+
setThreshold({ state }: {
|
|
2070
|
+
state: any;
|
|
2071
|
+
}, newThreshold: any): void;
|
|
2072
|
+
get: ({ state }: {
|
|
2073
|
+
state: any;
|
|
2074
|
+
}) => any;
|
|
2075
|
+
getNotifier: ({ _self }: {
|
|
2076
|
+
_self: any;
|
|
2077
|
+
}) => never;
|
|
2078
|
+
}>;
|
|
2079
|
+
createUnlimitedMeter(_context: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
2080
|
+
addRemaining(_context: any, _delta: any): void;
|
|
2081
|
+
setThreshold(_context: any, _newThreshold: any): void;
|
|
2082
|
+
get: () => {
|
|
2083
|
+
remaining: string;
|
|
2084
|
+
threshold: number;
|
|
2085
|
+
};
|
|
2086
|
+
getNotifier: ({ _self }: {
|
|
2087
|
+
_self: any;
|
|
2088
|
+
}) => never;
|
|
2089
|
+
}>;
|
|
1675
2090
|
createVat(bundleOrBundleCap: any, options?: {}): Promise<{
|
|
1676
|
-
adminNode:
|
|
2091
|
+
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
2092
|
+
terminateWithFailure({ state }: {
|
|
2093
|
+
state: any;
|
|
2094
|
+
}, reason: any): void;
|
|
2095
|
+
done({ state }: {
|
|
2096
|
+
state: any;
|
|
2097
|
+
}): any;
|
|
2098
|
+
upgrade({ state }: {
|
|
2099
|
+
state: any;
|
|
2100
|
+
}, bundlecap: any, options: any): Promise<any>;
|
|
2101
|
+
changeOptions({ state }: {
|
|
2102
|
+
state: any;
|
|
2103
|
+
}, options: any): void;
|
|
2104
|
+
}>;
|
|
1677
2105
|
root: any;
|
|
1678
2106
|
}>;
|
|
1679
2107
|
createVatByName(bundleName: any, options?: {}): Promise<{
|
|
1680
|
-
adminNode:
|
|
2108
|
+
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
2109
|
+
terminateWithFailure({ state }: {
|
|
2110
|
+
state: any;
|
|
2111
|
+
}, reason: any): void;
|
|
2112
|
+
done({ state }: {
|
|
2113
|
+
state: any;
|
|
2114
|
+
}): any;
|
|
2115
|
+
upgrade({ state }: {
|
|
2116
|
+
state: any;
|
|
2117
|
+
}, bundlecap: any, options: any): Promise<any>;
|
|
2118
|
+
changeOptions({ state }: {
|
|
2119
|
+
state: any;
|
|
2120
|
+
}, options: any): void;
|
|
2121
|
+
}>;
|
|
1681
2122
|
root: any;
|
|
1682
2123
|
}>;
|
|
1683
2124
|
}>>, criticalVatKey: unknown, log?: ((...args: any) => void) | undefined, label?: string | undefined) => {
|
|
1684
2125
|
space: {
|
|
1685
2126
|
consume: {
|
|
1686
2127
|
agoricNames: Promise<{
|
|
1687
|
-
getNameHub: () => import("
|
|
2128
|
+
getNameHub: () => import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
1688
2129
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
1689
2130
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
1690
2131
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo<AssetKind>) => any;
|
|
1691
2132
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
1692
|
-
getNameHub: () => import("
|
|
2133
|
+
getNameHub: () => import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
1693
2134
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
1694
2135
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
1695
2136
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo<AssetKind>) => any;
|
|
@@ -1741,7 +2182,7 @@ declare namespace modules {
|
|
|
1741
2182
|
}>>;
|
|
1742
2183
|
};
|
|
1743
2184
|
};
|
|
1744
|
-
durableStore:
|
|
2185
|
+
durableStore: MapStore<K, V>;
|
|
1745
2186
|
};
|
|
1746
2187
|
};
|
|
1747
2188
|
};
|
|
@@ -1783,10 +2224,9 @@ declare namespace modules {
|
|
|
1783
2224
|
AUSD: string;
|
|
1784
2225
|
};
|
|
1785
2226
|
installation: {
|
|
1786
|
-
walletFactory: string;
|
|
1787
|
-
reserve: string;
|
|
1788
2227
|
centralSupply: string;
|
|
1789
2228
|
mintHolder: string;
|
|
2229
|
+
walletFactory: string;
|
|
1790
2230
|
provisionPool: string;
|
|
1791
2231
|
auctioneer: string;
|
|
1792
2232
|
feeDistributor: string;
|
|
@@ -1797,6 +2237,7 @@ declare namespace modules {
|
|
|
1797
2237
|
VaultFactory: string;
|
|
1798
2238
|
liquidate: string;
|
|
1799
2239
|
Pegasus: string;
|
|
2240
|
+
reserve: string;
|
|
1800
2241
|
psm: string;
|
|
1801
2242
|
scaledPriceAuthority: string;
|
|
1802
2243
|
econCommitteeCharter: string;
|
|
@@ -1804,12 +2245,12 @@ declare namespace modules {
|
|
|
1804
2245
|
};
|
|
1805
2246
|
instance: {
|
|
1806
2247
|
walletFactory: string;
|
|
1807
|
-
reserve: string;
|
|
1808
2248
|
provisionPool: string;
|
|
1809
2249
|
auctioneer: string;
|
|
1810
2250
|
feeDistributor: string;
|
|
1811
2251
|
VaultFactory: string;
|
|
1812
2252
|
Pegasus: string;
|
|
2253
|
+
reserve: string;
|
|
1813
2254
|
econCommitteeCharter: string;
|
|
1814
2255
|
economicCommittee: string;
|
|
1815
2256
|
VaultFactoryGovernor: string;
|
|
@@ -1850,12 +2291,12 @@ declare namespace modules {
|
|
|
1850
2291
|
(...data: any[]): void;
|
|
1851
2292
|
(message?: any, ...optionalParams: any[]): void;
|
|
1852
2293
|
} | undefined, reserved?: Record<string, Record<string, unknown>>) => Promise<{
|
|
1853
|
-
agoricNames: import("
|
|
2294
|
+
agoricNames: import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
1854
2295
|
agoricNamesAdmin: import("../types.js").NameAdmin;
|
|
1855
2296
|
spaces: WellKnownSpaces;
|
|
1856
2297
|
}>;
|
|
1857
2298
|
makeMyAddressNameAdminKit: (address: string) => {
|
|
1858
|
-
nameHub: import("
|
|
2299
|
+
nameHub: import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
1859
2300
|
myAddressNameAdmin: import("../types.js").MyAddressNameAdmin;
|
|
1860
2301
|
};
|
|
1861
2302
|
makeVatSpace: (svc: ERef<import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
@@ -1863,26 +2304,75 @@ declare namespace modules {
|
|
|
1863
2304
|
getBundleCap(bundleID: any): any;
|
|
1864
2305
|
getNamedBundleCap(name: any): any;
|
|
1865
2306
|
getBundleIDByName(name: any): any;
|
|
1866
|
-
createMeter(remaining: any, threshold: any):
|
|
1867
|
-
|
|
2307
|
+
createMeter(remaining: any, threshold: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
2308
|
+
addRemaining({ state }: {
|
|
2309
|
+
state: any;
|
|
2310
|
+
}, delta: any): void;
|
|
2311
|
+
setThreshold({ state }: {
|
|
2312
|
+
state: any;
|
|
2313
|
+
}, newThreshold: any): void;
|
|
2314
|
+
get: ({ state }: {
|
|
2315
|
+
state: any;
|
|
2316
|
+
}) => any;
|
|
2317
|
+
getNotifier: ({ _self }: {
|
|
2318
|
+
_self: any;
|
|
2319
|
+
}) => never;
|
|
2320
|
+
}>;
|
|
2321
|
+
createUnlimitedMeter(_context: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
2322
|
+
addRemaining(_context: any, _delta: any): void;
|
|
2323
|
+
setThreshold(_context: any, _newThreshold: any): void;
|
|
2324
|
+
get: () => {
|
|
2325
|
+
remaining: string;
|
|
2326
|
+
threshold: number;
|
|
2327
|
+
};
|
|
2328
|
+
getNotifier: ({ _self }: {
|
|
2329
|
+
_self: any;
|
|
2330
|
+
}) => never;
|
|
2331
|
+
}>;
|
|
1868
2332
|
createVat(bundleOrBundleCap: any, options?: {}): Promise<{
|
|
1869
|
-
adminNode:
|
|
2333
|
+
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
2334
|
+
terminateWithFailure({ state }: {
|
|
2335
|
+
state: any;
|
|
2336
|
+
}, reason: any): void;
|
|
2337
|
+
done({ state }: {
|
|
2338
|
+
state: any;
|
|
2339
|
+
}): any;
|
|
2340
|
+
upgrade({ state }: {
|
|
2341
|
+
state: any;
|
|
2342
|
+
}, bundlecap: any, options: any): Promise<any>;
|
|
2343
|
+
changeOptions({ state }: {
|
|
2344
|
+
state: any;
|
|
2345
|
+
}, options: any): void;
|
|
2346
|
+
}>;
|
|
1870
2347
|
root: any;
|
|
1871
2348
|
}>;
|
|
1872
2349
|
createVatByName(bundleName: any, options?: {}): Promise<{
|
|
1873
|
-
adminNode:
|
|
2350
|
+
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
2351
|
+
terminateWithFailure({ state }: {
|
|
2352
|
+
state: any;
|
|
2353
|
+
}, reason: any): void;
|
|
2354
|
+
done({ state }: {
|
|
2355
|
+
state: any;
|
|
2356
|
+
}): any;
|
|
2357
|
+
upgrade({ state }: {
|
|
2358
|
+
state: any;
|
|
2359
|
+
}, bundlecap: any, options: any): Promise<any>;
|
|
2360
|
+
changeOptions({ state }: {
|
|
2361
|
+
state: any;
|
|
2362
|
+
}, options: any): void;
|
|
2363
|
+
}>;
|
|
1874
2364
|
root: any;
|
|
1875
2365
|
}>;
|
|
1876
2366
|
}>>, criticalVatKey: unknown, log?: ((...args: any) => void) | undefined, label?: string | undefined) => {
|
|
1877
2367
|
space: {
|
|
1878
2368
|
consume: {
|
|
1879
2369
|
agoricNames: Promise<{
|
|
1880
|
-
getNameHub: () => import("
|
|
2370
|
+
getNameHub: () => import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
1881
2371
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
1882
2372
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
1883
2373
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo<AssetKind>) => any;
|
|
1884
2374
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
1885
|
-
getNameHub: () => import("
|
|
2375
|
+
getNameHub: () => import("@agoric/smart-wallet/src/walletFactory.js").NameHub;
|
|
1886
2376
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
1887
2377
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
1888
2378
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo<AssetKind>) => any;
|
|
@@ -1934,7 +2424,7 @@ declare namespace modules {
|
|
|
1934
2424
|
}>>;
|
|
1935
2425
|
};
|
|
1936
2426
|
};
|
|
1937
|
-
durableStore:
|
|
2427
|
+
durableStore: MapStore<K, V>;
|
|
1938
2428
|
};
|
|
1939
2429
|
};
|
|
1940
2430
|
}
|