@agoric/vats 0.15.2-dev-de2008a.0 → 0.15.2-dev-9d7a377.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 +16 -16
- package/src/bridge.d.ts +1 -1
- package/src/core/basic-behaviors.d.ts +65 -80
- package/src/core/basic-behaviors.d.ts.map +1 -1
- package/src/core/boot-chain.d.ts +92 -1038
- package/src/core/boot-chain.d.ts.map +1 -1
- package/src/core/boot-sim.d.ts +2 -2
- package/src/core/boot-sim.d.ts.map +1 -1
- package/src/core/boot-solo.d.ts +2 -2
- package/src/core/boot-solo.d.ts.map +1 -1
- package/src/core/chain-behaviors.d.ts +21 -46
- package/src/core/chain-behaviors.d.ts.map +1 -1
- package/src/core/client-behaviors.d.ts +2 -2
- package/src/core/demoIssuers.d.ts +2 -2
- package/src/core/lib-boot.d.ts +4 -4
- package/src/core/lib-boot.d.ts.map +1 -1
- package/src/core/promise-space.d.ts +2 -2
- package/src/core/promise-space.d.ts.map +1 -1
- package/src/core/sim-behaviors.d.ts +1 -1
- package/src/core/startWalletFactory.d.ts +21 -21
- package/src/core/startWalletFactory.d.ts.map +1 -1
- package/src/core/utils.d.ts +11 -61
- package/src/core/utils.d.ts.map +1 -1
- package/src/ibc.d.ts +15 -16
- package/src/ibc.d.ts.map +1 -1
- package/src/lib-board.d.ts +2 -2
- package/src/lib-board.d.ts.map +1 -1
- package/src/localchain.d.ts +11 -11
- package/src/localchain.d.ts.map +1 -1
- package/src/mintHolder.d.ts.map +1 -1
- package/src/nameHub.d.ts +3 -3
- package/src/priceAuthorityRegistry.d.ts +1 -1
- package/src/proposals/localchain-proposal.d.ts +12 -24
- package/src/proposals/localchain-proposal.d.ts.map +1 -1
- package/src/proposals/localchain-test.d.ts +1 -1
- package/src/proposals/namesByAddress-fix-proposal.d.ts +1 -1
- package/src/proposals/network-proposal.d.ts +1 -1
- package/src/proposals/restart-vats-proposal.d.ts +1 -1
- package/src/proposals/upgrade-zoe-proposal.d.ts +37 -67
- package/src/proposals/upgrade-zoe-proposal.d.ts.map +1 -1
- package/src/proposals/zcf-proposal.d.ts +37 -67
- package/src/proposals/zcf-proposal.d.ts.map +1 -1
- package/src/vat-agoricNames.d.ts +1 -1
- package/src/vat-bank.d.ts +133 -9
- package/src/vat-bank.d.ts.map +1 -1
- package/src/vat-board.d.ts +7 -7
- package/src/vat-board.d.ts.map +1 -1
- package/src/vat-bridge.d.ts +4 -4
- package/src/vat-bridge.d.ts.map +1 -1
- package/src/vat-ibc.d.ts +14 -14
- package/src/vat-ibc.d.ts.map +1 -1
- package/src/vat-localchain.d.ts +8 -20
- package/src/vat-localchain.d.ts.map +1 -1
- package/src/vat-network.d.ts +12 -12
- package/src/vat-network.d.ts.map +1 -1
- package/src/vat-priceAuthority.d.ts +1 -1
- package/src/vat-provisioning.d.ts +1 -1
- package/src/virtual-purse.d.ts +1 -1
- package/tools/bank-utils.d.ts +2 -2
- package/tools/board-utils.d.ts +5 -5
- package/tools/board-utils.d.ts.map +1 -1
- package/tools/ibc-utils.d.ts +3 -3
package/src/core/boot-chain.d.ts
CHANGED
|
@@ -5,20 +5,20 @@ export function buildRootObject(vatPowers: * TerminationVatPowers & {
|
|
|
5
5
|
logger: (msg: any) => void;
|
|
6
6
|
}, vatParameters: {
|
|
7
7
|
coreProposalCodeSteps?: string[];
|
|
8
|
-
}, baggage: import(
|
|
8
|
+
}, baggage: import("@agoric/vat-data").Baggage): {
|
|
9
9
|
bootstrap: (vats: SwingsetVats, devices: SoloDevices | ChainDevices) => Promise<void>;
|
|
10
10
|
consumeItem: (name: any) => Promise<unknown>;
|
|
11
11
|
produceItem: (name: any, resolution: any) => void;
|
|
12
12
|
resetItem: (name: any) => void;
|
|
13
13
|
awaitVatObject: (presence: any, path?: any[]) => Promise<any>;
|
|
14
|
-
snapshotStore: <K, V>(store:
|
|
14
|
+
snapshotStore: <K, V>(store: MapStore<K, V>) => [K, V][];
|
|
15
15
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
16
16
|
bootstrap: (vats: SwingsetVats, devices: SoloDevices | ChainDevices) => Promise<void>;
|
|
17
17
|
consumeItem: (name: any) => Promise<unknown>;
|
|
18
18
|
produceItem: (name: any, resolution: any) => void;
|
|
19
19
|
resetItem: (name: any) => void;
|
|
20
20
|
awaitVatObject: (presence: any, path?: any[]) => Promise<any>;
|
|
21
|
-
snapshotStore: <K, V>(store:
|
|
21
|
+
snapshotStore: <K, V>(store: MapStore<K, V>) => [K, V][];
|
|
22
22
|
}>;
|
|
23
23
|
export type BootstrapModules = typeof modules;
|
|
24
24
|
declare namespace modules {
|
|
@@ -100,9 +100,9 @@ declare namespace modules {
|
|
|
100
100
|
comms: CommsVatRoot;
|
|
101
101
|
};
|
|
102
102
|
}) => Promise<void>;
|
|
103
|
-
callProperties: (builders: ((...args: any
|
|
104
|
-
extract: (template:
|
|
105
|
-
extractPowers: (permit:
|
|
103
|
+
callProperties: (builders: ((...args: any) => Record<string, unknown>)[], ...args: unknown[]) => Record<string, unknown>;
|
|
104
|
+
extract: (template: true | string | Record<string, any>, specimen: unknown, path?: string[] | undefined) => any;
|
|
105
|
+
extractPowers: (permit: true | string | Record<string, any>, allPowers: unknown) => any;
|
|
106
106
|
runModuleBehaviors: ({ allPowers, behaviors, manifest, makeConfig, }: {
|
|
107
107
|
allPowers: unknown;
|
|
108
108
|
behaviors: Record<string, unknown>;
|
|
@@ -200,17 +200,17 @@ declare namespace modules {
|
|
|
200
200
|
getNameHub: () => import("../types.js").NameHub;
|
|
201
201
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
202
202
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
203
|
-
provideInertBrand: (keyword: string, displayInfo:
|
|
203
|
+
provideInertBrand: (keyword: string, displayInfo: DisplayInfo) => any;
|
|
204
204
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
205
205
|
getNameHub: () => import("../types.js").NameHub;
|
|
206
206
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
207
207
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
208
|
-
provideInertBrand: (keyword: string, displayInfo:
|
|
208
|
+
provideInertBrand: (keyword: string, displayInfo: DisplayInfo) => any;
|
|
209
209
|
}>>;
|
|
210
210
|
board: Promise<{
|
|
211
211
|
getBoard: () => import("@endo/exo").Guarded<{
|
|
212
212
|
getId(value: any): string;
|
|
213
|
-
getValue(id:
|
|
213
|
+
getValue(id: BoardId): any;
|
|
214
214
|
lookup(...path: string[]): Promise<any>;
|
|
215
215
|
has(val: any): boolean;
|
|
216
216
|
ids(): string[];
|
|
@@ -227,12 +227,12 @@ declare namespace modules {
|
|
|
227
227
|
unserialize(data: any): any;
|
|
228
228
|
}>;
|
|
229
229
|
}>;
|
|
230
|
-
makePublishingRecorderKit: <T>(storageNode: StorageNode |
|
|
231
|
-
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode |
|
|
230
|
+
makePublishingRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
231
|
+
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
232
232
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
233
233
|
getBoard: () => import("@endo/exo").Guarded<{
|
|
234
234
|
getId(value: any): string;
|
|
235
|
-
getValue(id:
|
|
235
|
+
getValue(id: BoardId): any;
|
|
236
236
|
lookup(...path: string[]): Promise<any>;
|
|
237
237
|
has(val: any): boolean;
|
|
238
238
|
ids(): string[];
|
|
@@ -249,8 +249,8 @@ declare namespace modules {
|
|
|
249
249
|
unserialize(data: any): any;
|
|
250
250
|
}>;
|
|
251
251
|
}>;
|
|
252
|
-
makePublishingRecorderKit: <T>(storageNode: StorageNode |
|
|
253
|
-
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode |
|
|
252
|
+
makePublishingRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
253
|
+
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
254
254
|
}>>;
|
|
255
255
|
};
|
|
256
256
|
};
|
|
@@ -266,7 +266,7 @@ declare namespace modules {
|
|
|
266
266
|
noProvisioner: ({ produce: { provisioning } }: BootstrapPowers) => Promise<void>;
|
|
267
267
|
bridgeProvisioner: ({ consume: { provisioning: provisioningP, provisionBridgeManager: provisionBridgeManagerP, provisionWalletBridgeManager: provisionWalletBridgeManagerP, }, }: BootstrapPowers) => Promise<void>;
|
|
268
268
|
setupClientManager: ({ produce: { client, clientCreator: clientCreatorP } }: BootstrapSpace, { template, }?: {
|
|
269
|
-
template?: Record<string, unknown
|
|
269
|
+
template?: Record<string, unknown>;
|
|
270
270
|
}) => Promise<void>;
|
|
271
271
|
startTimerService: ({ devices: { timer: timerDevice }, vats: { timer: timerVat }, consume: { client }, produce: { chainTimerService: produceTimer }, brand: { produce: { timer }, }, }: BootstrapPowers) => Promise<void>;
|
|
272
272
|
makeBridgeManager: ({ consume: { loadCriticalVat }, devices: { bridge }, produce: { bridgeManager: bridgeManagerP, provisionBridgeManager, provisionWalletBridgeManager, walletBridgeManager, }, }: BootDevices<ChainDevices> & WellKnownSpaces & PromiseSpaceOf<ChainBootstrapSpaceT & {
|
|
@@ -299,250 +299,27 @@ declare namespace modules {
|
|
|
299
299
|
loadCriticalVat: ERef<VatLoader<ChainStorageVat>>;
|
|
300
300
|
};
|
|
301
301
|
}) => Promise<void>;
|
|
302
|
-
publishAgoricNamesToChainStorage: ({ consume: { chainStorage: rootP }, namedVat: { consume: { agoricNames, board: vatBoard }, }, }:
|
|
303
|
-
vatAdminSvc: VatAdminSvc;
|
|
304
|
-
}, {}, {
|
|
305
|
-
loadVat: VatLoader<unknown>;
|
|
306
|
-
loadCriticalVat: VatLoader<unknown>;
|
|
307
|
-
}> & {
|
|
308
|
-
zone: import("@agoric/base-zone").Zone;
|
|
309
|
-
devices: SoloDevices | ChainDevices;
|
|
310
|
-
vats: SwingsetVats;
|
|
311
|
-
vatPowers: {
|
|
312
|
-
[prop: string]: any;
|
|
313
|
-
D: DProxy<any>;
|
|
314
|
-
};
|
|
315
|
-
vatParameters: BootstrapVatParams;
|
|
316
|
-
runBehaviors: (manifest: unknown) => Promise<unknown>;
|
|
317
|
-
modules: {
|
|
318
|
-
behaviors: any;
|
|
319
|
-
utils: {
|
|
320
|
-
agoricNamesReserved: {
|
|
321
|
-
issuer: {
|
|
322
|
-
IST: string;
|
|
323
|
-
BLD: string;
|
|
324
|
-
Invitation: string;
|
|
325
|
-
AUSD: string;
|
|
326
|
-
};
|
|
327
|
-
installation: {
|
|
328
|
-
reserve: string;
|
|
329
|
-
centralSupply: string;
|
|
330
|
-
mintHolder: string;
|
|
331
|
-
walletFactory: string;
|
|
332
|
-
provisionPool: string;
|
|
333
|
-
auctioneer: string;
|
|
334
|
-
feeDistributor: string;
|
|
335
|
-
contractGovernor: string;
|
|
336
|
-
committee: string;
|
|
337
|
-
noActionElectorate: string;
|
|
338
|
-
binaryVoteCounter: string;
|
|
339
|
-
VaultFactory: string;
|
|
340
|
-
liquidate: string;
|
|
341
|
-
Pegasus: string;
|
|
342
|
-
psm: string;
|
|
343
|
-
scaledPriceAuthority: string;
|
|
344
|
-
stakeAtom: string;
|
|
345
|
-
stakeBld: string;
|
|
346
|
-
econCommitteeCharter: string;
|
|
347
|
-
priceAggregator: string;
|
|
348
|
-
};
|
|
349
|
-
instance: {
|
|
350
|
-
reserve: string;
|
|
351
|
-
walletFactory: string;
|
|
352
|
-
provisionPool: string;
|
|
353
|
-
auctioneer: string;
|
|
354
|
-
feeDistributor: string;
|
|
355
|
-
VaultFactory: string;
|
|
356
|
-
Pegasus: string;
|
|
357
|
-
stakeAtom: string;
|
|
358
|
-
stakeBld: string;
|
|
359
|
-
econCommitteeCharter: string;
|
|
360
|
-
economicCommittee: string;
|
|
361
|
-
VaultFactoryGovernor: string;
|
|
362
|
-
reserveGovernor: string;
|
|
363
|
-
};
|
|
364
|
-
oracleBrand: {
|
|
365
|
-
USD: string;
|
|
366
|
-
};
|
|
367
|
-
uiConfig: {
|
|
368
|
-
VaultFactory: string;
|
|
369
|
-
};
|
|
370
|
-
};
|
|
371
|
-
feeIssuerConfig: FeeIssuerConfig;
|
|
372
|
-
addRemote: (addr: string, { vats: { comms, vattp } }: {
|
|
373
|
-
vats: {
|
|
374
|
-
vattp: VattpVat;
|
|
375
|
-
comms: CommsVatRoot;
|
|
376
|
-
};
|
|
377
|
-
}) => Promise<void>;
|
|
378
|
-
callProperties: (builders: ((...args: any[]) => Record<string, unknown>)[], ...args: unknown[]) => Record<string, unknown>;
|
|
379
|
-
extract: (template: string | true | Record<string, any>, specimen: unknown, path?: string[] | undefined) => any;
|
|
380
|
-
extractPowers: (permit: string | true | Record<string, any>, allPowers: unknown) => any;
|
|
381
|
-
runModuleBehaviors: ({ allPowers, behaviors, manifest, makeConfig, }: {
|
|
382
|
-
allPowers: unknown;
|
|
383
|
-
behaviors: Record<string, unknown>;
|
|
384
|
-
manifest: Record<string, Record<string, unknown>>;
|
|
385
|
-
makeConfig: (name: string, permit: Record<string, unknown>) => unknown;
|
|
386
|
-
}) => Promise<any[]>;
|
|
387
|
-
makePromiseSpaceForNameHub: (nameAdmin: ERef<import("../types.js").NameAdmin>, log?: {
|
|
388
|
-
(...data: any[]): void;
|
|
389
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
390
|
-
} | undefined) => PromiseSpaceOf<any, {}, {}>;
|
|
391
|
-
makeWellKnownSpaces: (parentAdmin: ERef<import("../types.js").NameAdmin>, log?: {
|
|
392
|
-
(...data: any[]): void;
|
|
393
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
394
|
-
} | undefined, kinds?: string[] | undefined) => Promise<WellKnownSpaces>;
|
|
395
|
-
makeAgoricNamesAccess: (log?: {
|
|
396
|
-
(...data: any[]): void;
|
|
397
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
398
|
-
} | undefined, reserved?: Record<string, Record<string, unknown>>) => Promise<{
|
|
399
|
-
agoricNames: import("../types.js").NameHub;
|
|
400
|
-
agoricNamesAdmin: import("../types.js").NameAdmin;
|
|
401
|
-
spaces: WellKnownSpaces;
|
|
402
|
-
}>;
|
|
403
|
-
makeMyAddressNameAdminKit: (address: string) => {
|
|
404
|
-
nameHub: import("../types.js").NameHub;
|
|
405
|
-
myAddressNameAdmin: import("../types.js").MyAddressNameAdmin;
|
|
406
|
-
};
|
|
407
|
-
makeVatSpace: (svc: ERef<import("@endo/exo").Guarded<{
|
|
408
|
-
waitForBundleCap(bundleID: any): any;
|
|
409
|
-
getBundleCap(bundleID: any): any;
|
|
410
|
-
getNamedBundleCap(name: any): any;
|
|
411
|
-
getBundleIDByName(name: any): any;
|
|
412
|
-
createMeter(remaining: any, threshold: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
413
|
-
addRemaining({ state }: {
|
|
414
|
-
state: any;
|
|
415
|
-
}, delta: any): void;
|
|
416
|
-
setThreshold({ state }: {
|
|
417
|
-
state: any;
|
|
418
|
-
}, newThreshold: any): void;
|
|
419
|
-
get: ({ state }: {
|
|
420
|
-
state: any;
|
|
421
|
-
}) => any;
|
|
422
|
-
getNotifier: ({ _self }: {
|
|
423
|
-
_self: any;
|
|
424
|
-
}) => never;
|
|
425
|
-
}>;
|
|
426
|
-
createUnlimitedMeter(_context: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
427
|
-
addRemaining(_context: any, _delta: any): void;
|
|
428
|
-
setThreshold(_context: any, _newThreshold: any): void;
|
|
429
|
-
get: () => {
|
|
430
|
-
remaining: string;
|
|
431
|
-
threshold: number;
|
|
432
|
-
};
|
|
433
|
-
getNotifier: ({ _self }: {
|
|
434
|
-
_self: any;
|
|
435
|
-
}) => never;
|
|
436
|
-
}>;
|
|
437
|
-
createVat(bundleOrBundleCap: any, options?: {}): Promise<{
|
|
438
|
-
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
439
|
-
terminateWithFailure({ state }: {
|
|
440
|
-
state: any;
|
|
441
|
-
}, reason: any): void;
|
|
442
|
-
done({ state }: {
|
|
443
|
-
state: any;
|
|
444
|
-
}): any;
|
|
445
|
-
upgrade({ state }: {
|
|
446
|
-
state: any;
|
|
447
|
-
}, bundlecap: any, options: any): Promise<any>;
|
|
448
|
-
changeOptions({ state }: {
|
|
449
|
-
state: any;
|
|
450
|
-
}, options: any): void;
|
|
451
|
-
}>;
|
|
452
|
-
root: any;
|
|
453
|
-
}>;
|
|
454
|
-
createVatByName(bundleName: any, options?: {}): Promise<{
|
|
455
|
-
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
456
|
-
terminateWithFailure({ state }: {
|
|
457
|
-
state: any;
|
|
458
|
-
}, reason: any): void;
|
|
459
|
-
done({ state }: {
|
|
460
|
-
state: any;
|
|
461
|
-
}): any;
|
|
462
|
-
upgrade({ state }: {
|
|
463
|
-
state: any;
|
|
464
|
-
}, bundlecap: any, options: any): Promise<any>;
|
|
465
|
-
changeOptions({ state }: {
|
|
466
|
-
state: any;
|
|
467
|
-
}, options: any): void;
|
|
468
|
-
}>;
|
|
469
|
-
root: any;
|
|
470
|
-
}>;
|
|
471
|
-
}>>, criticalVatKey: unknown, log?: ((...args: any) => void) | undefined, label?: string | undefined) => {
|
|
472
|
-
space: {
|
|
473
|
-
consume: {
|
|
474
|
-
agoricNames: Promise<{
|
|
475
|
-
getNameHub: () => import("../types.js").NameHub;
|
|
476
|
-
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
477
|
-
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
478
|
-
provideInertBrand: (keyword: string, displayInfo: globalThis.DisplayInfo) => any;
|
|
479
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
480
|
-
getNameHub: () => import("../types.js").NameHub;
|
|
481
|
-
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
482
|
-
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
483
|
-
provideInertBrand: (keyword: string, displayInfo: globalThis.DisplayInfo) => any;
|
|
484
|
-
}>>;
|
|
485
|
-
board: Promise<{
|
|
486
|
-
getBoard: () => import("@endo/exo").Guarded<{
|
|
487
|
-
getId(value: any): string;
|
|
488
|
-
getValue(id: string): any;
|
|
489
|
-
lookup(...path: string[]): Promise<any>;
|
|
490
|
-
has(val: any): boolean;
|
|
491
|
-
ids(): string[];
|
|
492
|
-
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
493
|
-
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
494
|
-
fromCapData(data: any): any;
|
|
495
|
-
serialize(data: any): import("@endo/marshal").CapData<string>;
|
|
496
|
-
unserialize(data: any): any;
|
|
497
|
-
}>;
|
|
498
|
-
getReadonlyMarshaller(): import("@endo/exo").Guarded<{
|
|
499
|
-
toCapData(val: any): import("@endo/marshal").CapData<string | null>;
|
|
500
|
-
fromCapData(data: any): any;
|
|
501
|
-
serialize(data: any): import("@endo/marshal").CapData<string | null>;
|
|
502
|
-
unserialize(data: any): any;
|
|
503
|
-
}>;
|
|
504
|
-
}>;
|
|
505
|
-
makePublishingRecorderKit: <T>(storageNode: StorageNode | (import("@endo/eventual-send").DataOnly<StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<StorageNode>, StorageNode>), valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
506
|
-
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | (import("@endo/eventual-send").DataOnly<StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<StorageNode>, StorageNode>), valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
507
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
508
|
-
getBoard: () => import("@endo/exo").Guarded<{
|
|
509
|
-
getId(value: any): string;
|
|
510
|
-
getValue(id: string): any;
|
|
511
|
-
lookup(...path: string[]): Promise<any>;
|
|
512
|
-
has(val: any): boolean;
|
|
513
|
-
ids(): string[];
|
|
514
|
-
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
515
|
-
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
516
|
-
fromCapData(data: any): any;
|
|
517
|
-
serialize(data: any): import("@endo/marshal").CapData<string>;
|
|
518
|
-
unserialize(data: any): any;
|
|
519
|
-
}>;
|
|
520
|
-
getReadonlyMarshaller(): import("@endo/exo").Guarded<{
|
|
521
|
-
toCapData(val: any): import("@endo/marshal").CapData<string | null>;
|
|
522
|
-
fromCapData(data: any): any;
|
|
523
|
-
serialize(data: any): import("@endo/marshal").CapData<string | null>;
|
|
524
|
-
unserialize(data: any): any;
|
|
525
|
-
}>;
|
|
526
|
-
}>;
|
|
527
|
-
makePublishingRecorderKit: <T>(storageNode: StorageNode | (import("@endo/eventual-send").DataOnly<StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<StorageNode>, StorageNode>), valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
528
|
-
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | (import("@endo/eventual-send").DataOnly<StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<StorageNode>, StorageNode>), valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
529
|
-
}>>;
|
|
530
|
-
};
|
|
531
|
-
};
|
|
532
|
-
durableStore: MapStore<K, V>;
|
|
533
|
-
};
|
|
534
|
-
};
|
|
535
|
-
};
|
|
536
|
-
} & NamedVatPowers) => Promise<void>;
|
|
302
|
+
publishAgoricNamesToChainStorage: ({ consume: { chainStorage: rootP }, namedVat: { consume: { agoricNames, board: vatBoard }, }, }: BootstrapPowers & NamedVatPowers) => Promise<void>;
|
|
537
303
|
publishAgoricNames: ({ consume: { agoricNamesAdmin, board, chainStorage: rootP } }: BootstrapPowers, { options: { agoricNamesOptions } }?: {
|
|
538
304
|
options?: {
|
|
539
305
|
agoricNamesOptions?: {
|
|
540
|
-
topLevel?: string[]
|
|
541
|
-
}
|
|
542
|
-
}
|
|
306
|
+
topLevel?: string[];
|
|
307
|
+
};
|
|
308
|
+
};
|
|
543
309
|
}) => Promise<void>;
|
|
544
310
|
connectChainFaucet: ({ consume: { client } }: BootstrapPowers) => Promise<void>;
|
|
545
|
-
makeVatsFromBundles: ({ vats, devices, consume: { vatStore }, produce: { vatAdminSvc, loadVat, loadCriticalVat }, }:
|
|
311
|
+
makeVatsFromBundles: ({ vats, devices, consume: { vatStore }, produce: { vatAdminSvc, loadVat, loadCriticalVat }, }: BootstrapPowers & {}) => Promise<void>;
|
|
312
|
+
produceDiagnostics: ({ produce }: Pick<ChainBootstrapSpace, "produce">) => Promise<void>;
|
|
313
|
+
produceStartUpgradable: ({ zone, consume: { diagnostics, zoe }, produce, }: BootstrapSpace & {
|
|
314
|
+
zone: import("@agoric/zone").Zone;
|
|
315
|
+
}) => Promise<void>;
|
|
316
|
+
produceStartGovernedUpgradable: ({ zone, consume: { chainTimerService, diagnostics, economicCommitteeCreatorFacet, zoe, }, produce, installation: { consume: { contractGovernor }, }, }: BootstrapSpace & {
|
|
317
|
+
zone: import("@agoric/zone").Zone;
|
|
318
|
+
consume: {
|
|
319
|
+
economicCommitteeCreatorFacet: import("@agoric/inter-protocol/src/proposals/econ-behaviors.js").EconomyBootstrapPowers["consume"]["economicCommitteeCreatorFacet"];
|
|
320
|
+
};
|
|
321
|
+
}) => Promise<void>;
|
|
322
|
+
buildZoe: ({ consume: { vatAdminSvc, loadCriticalVat, client }, produce: { zoe, feeMintAccess }, brand: { produce: { Invitation: invitationBrand }, }, issuer: { produce: { Invitation: invitationIssuer }, }, }: WellKnownSpaces & PromiseSpaceOf<ChainBootstrapSpaceT & {
|
|
546
323
|
vatAdminSvc: VatAdminSvc;
|
|
547
324
|
}, {}, {
|
|
548
325
|
loadVat: VatLoader<unknown>;
|
|
@@ -618,9 +395,9 @@ declare namespace modules {
|
|
|
618
395
|
comms: CommsVatRoot;
|
|
619
396
|
};
|
|
620
397
|
}) => Promise<void>;
|
|
621
|
-
callProperties: (builders: ((...args: any
|
|
622
|
-
extract: (template:
|
|
623
|
-
extractPowers: (permit:
|
|
398
|
+
callProperties: (builders: ((...args: any) => Record<string, unknown>)[], ...args: unknown[]) => Record<string, unknown>;
|
|
399
|
+
extract: (template: true | string | Record<string, any>, specimen: unknown, path?: string[] | undefined) => any;
|
|
400
|
+
extractPowers: (permit: true | string | Record<string, any>, allPowers: unknown) => any;
|
|
624
401
|
runModuleBehaviors: ({ allPowers, behaviors, manifest, makeConfig, }: {
|
|
625
402
|
allPowers: unknown;
|
|
626
403
|
behaviors: Record<string, unknown>;
|
|
@@ -718,17 +495,17 @@ declare namespace modules {
|
|
|
718
495
|
getNameHub: () => import("../types.js").NameHub;
|
|
719
496
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
720
497
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
721
|
-
provideInertBrand: (keyword: string, displayInfo:
|
|
498
|
+
provideInertBrand: (keyword: string, displayInfo: DisplayInfo) => any;
|
|
722
499
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
723
500
|
getNameHub: () => import("../types.js").NameHub;
|
|
724
501
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
725
502
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
726
|
-
provideInertBrand: (keyword: string, displayInfo:
|
|
503
|
+
provideInertBrand: (keyword: string, displayInfo: DisplayInfo) => any;
|
|
727
504
|
}>>;
|
|
728
505
|
board: Promise<{
|
|
729
506
|
getBoard: () => import("@endo/exo").Guarded<{
|
|
730
507
|
getId(value: any): string;
|
|
731
|
-
getValue(id:
|
|
508
|
+
getValue(id: BoardId): any;
|
|
732
509
|
lookup(...path: string[]): Promise<any>;
|
|
733
510
|
has(val: any): boolean;
|
|
734
511
|
ids(): string[];
|
|
@@ -745,12 +522,12 @@ declare namespace modules {
|
|
|
745
522
|
unserialize(data: any): any;
|
|
746
523
|
}>;
|
|
747
524
|
}>;
|
|
748
|
-
makePublishingRecorderKit: <T>(storageNode: StorageNode |
|
|
749
|
-
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode |
|
|
525
|
+
makePublishingRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
526
|
+
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
750
527
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
751
528
|
getBoard: () => import("@endo/exo").Guarded<{
|
|
752
529
|
getId(value: any): string;
|
|
753
|
-
getValue(id:
|
|
530
|
+
getValue(id: BoardId): any;
|
|
754
531
|
lookup(...path: string[]): Promise<any>;
|
|
755
532
|
has(val: any): boolean;
|
|
756
533
|
ids(): string[];
|
|
@@ -767,8 +544,8 @@ declare namespace modules {
|
|
|
767
544
|
unserialize(data: any): any;
|
|
768
545
|
}>;
|
|
769
546
|
}>;
|
|
770
|
-
makePublishingRecorderKit: <T>(storageNode: StorageNode |
|
|
771
|
-
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode |
|
|
547
|
+
makePublishingRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
548
|
+
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
772
549
|
}>>;
|
|
773
550
|
};
|
|
774
551
|
};
|
|
@@ -776,28 +553,12 @@ declare namespace modules {
|
|
|
776
553
|
};
|
|
777
554
|
};
|
|
778
555
|
};
|
|
779
|
-
}
|
|
780
|
-
produceDiagnostics: ({ produce }: Pick<ChainBootstrapSpace, "produce">) => Promise<void>;
|
|
781
|
-
produceStartUpgradable: ({ zone, consume: { diagnostics, zoe }, produce, }: WellKnownSpaces & PromiseSpaceOf<ChainBootstrapSpaceT & {
|
|
782
|
-
vatAdminSvc: VatAdminSvc;
|
|
783
|
-
}, {}, {
|
|
784
|
-
loadVat: VatLoader<unknown>;
|
|
785
|
-
loadCriticalVat: VatLoader<unknown>;
|
|
786
|
-
}> & {
|
|
787
|
-
zone: import("@agoric/base-zone").Zone;
|
|
788
|
-
}) => Promise<void>;
|
|
789
|
-
produceStartGovernedUpgradable: ({ zone, consume: { chainTimerService, diagnostics, economicCommitteeCreatorFacet, zoe, }, produce, installation: { consume: { contractGovernor }, }, }: WellKnownSpaces & PromiseSpaceOf<ChainBootstrapSpaceT & {
|
|
790
|
-
vatAdminSvc: VatAdminSvc;
|
|
791
|
-
}, {}, {
|
|
792
|
-
loadVat: VatLoader<unknown>;
|
|
793
|
-
loadCriticalVat: VatLoader<unknown>;
|
|
794
|
-
}> & {
|
|
795
|
-
zone: import("@agoric/base-zone").Zone;
|
|
556
|
+
} & {
|
|
796
557
|
consume: {
|
|
797
|
-
|
|
558
|
+
loadCriticalVat: ERef<VatLoader<basicBehaviorsPlus.ZoeVat>>;
|
|
798
559
|
};
|
|
799
560
|
}) => Promise<void>;
|
|
800
|
-
|
|
561
|
+
startPriceAuthorityRegistry: ({ consume: { loadCriticalVat, client }, produce, }: WellKnownSpaces & PromiseSpaceOf<ChainBootstrapSpaceT & {
|
|
801
562
|
vatAdminSvc: VatAdminSvc;
|
|
802
563
|
}, {}, {
|
|
803
564
|
loadVat: VatLoader<unknown>;
|
|
@@ -873,9 +634,9 @@ declare namespace modules {
|
|
|
873
634
|
comms: CommsVatRoot;
|
|
874
635
|
};
|
|
875
636
|
}) => Promise<void>;
|
|
876
|
-
callProperties: (builders: ((...args: any
|
|
877
|
-
extract: (template:
|
|
878
|
-
extractPowers: (permit:
|
|
637
|
+
callProperties: (builders: ((...args: any) => Record<string, unknown>)[], ...args: unknown[]) => Record<string, unknown>;
|
|
638
|
+
extract: (template: true | string | Record<string, any>, specimen: unknown, path?: string[] | undefined) => any;
|
|
639
|
+
extractPowers: (permit: true | string | Record<string, any>, allPowers: unknown) => any;
|
|
879
640
|
runModuleBehaviors: ({ allPowers, behaviors, manifest, makeConfig, }: {
|
|
880
641
|
allPowers: unknown;
|
|
881
642
|
behaviors: Record<string, unknown>;
|
|
@@ -973,17 +734,17 @@ declare namespace modules {
|
|
|
973
734
|
getNameHub: () => import("../types.js").NameHub;
|
|
974
735
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
975
736
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
976
|
-
provideInertBrand: (keyword: string, displayInfo:
|
|
737
|
+
provideInertBrand: (keyword: string, displayInfo: DisplayInfo) => any;
|
|
977
738
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
978
739
|
getNameHub: () => import("../types.js").NameHub;
|
|
979
740
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
980
741
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
981
|
-
provideInertBrand: (keyword: string, displayInfo:
|
|
742
|
+
provideInertBrand: (keyword: string, displayInfo: DisplayInfo) => any;
|
|
982
743
|
}>>;
|
|
983
744
|
board: Promise<{
|
|
984
745
|
getBoard: () => import("@endo/exo").Guarded<{
|
|
985
746
|
getId(value: any): string;
|
|
986
|
-
getValue(id:
|
|
747
|
+
getValue(id: BoardId): any;
|
|
987
748
|
lookup(...path: string[]): Promise<any>;
|
|
988
749
|
has(val: any): boolean;
|
|
989
750
|
ids(): string[];
|
|
@@ -1000,12 +761,12 @@ declare namespace modules {
|
|
|
1000
761
|
unserialize(data: any): any;
|
|
1001
762
|
}>;
|
|
1002
763
|
}>;
|
|
1003
|
-
makePublishingRecorderKit: <T>(storageNode: StorageNode |
|
|
1004
|
-
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode |
|
|
764
|
+
makePublishingRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
765
|
+
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1005
766
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
1006
767
|
getBoard: () => import("@endo/exo").Guarded<{
|
|
1007
768
|
getId(value: any): string;
|
|
1008
|
-
getValue(id:
|
|
769
|
+
getValue(id: BoardId): any;
|
|
1009
770
|
lookup(...path: string[]): Promise<any>;
|
|
1010
771
|
has(val: any): boolean;
|
|
1011
772
|
ids(): string[];
|
|
@@ -1022,8 +783,8 @@ declare namespace modules {
|
|
|
1022
783
|
unserialize(data: any): any;
|
|
1023
784
|
}>;
|
|
1024
785
|
}>;
|
|
1025
|
-
makePublishingRecorderKit: <T>(storageNode: StorageNode |
|
|
1026
|
-
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode |
|
|
786
|
+
makePublishingRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
787
|
+
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1027
788
|
}>>;
|
|
1028
789
|
};
|
|
1029
790
|
};
|
|
@@ -1033,718 +794,11 @@ declare namespace modules {
|
|
|
1033
794
|
};
|
|
1034
795
|
} & {
|
|
1035
796
|
consume: {
|
|
1036
|
-
loadCriticalVat: ERef<VatLoader<basicBehaviorsPlus.
|
|
797
|
+
loadCriticalVat: ERef<VatLoader<basicBehaviorsPlus.PriceAuthorityVat>>;
|
|
1037
798
|
};
|
|
1038
799
|
}) => Promise<void>;
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
}, {}, {
|
|
1042
|
-
loadVat: VatLoader<unknown>;
|
|
1043
|
-
loadCriticalVat: VatLoader<unknown>;
|
|
1044
|
-
}> & {
|
|
1045
|
-
zone: import("@agoric/base-zone").Zone;
|
|
1046
|
-
devices: SoloDevices | ChainDevices;
|
|
1047
|
-
vats: SwingsetVats;
|
|
1048
|
-
vatPowers: {
|
|
1049
|
-
[prop: string]: any;
|
|
1050
|
-
D: DProxy<any>;
|
|
1051
|
-
};
|
|
1052
|
-
vatParameters: BootstrapVatParams;
|
|
1053
|
-
runBehaviors: (manifest: unknown) => Promise<unknown>;
|
|
1054
|
-
modules: {
|
|
1055
|
-
behaviors: any;
|
|
1056
|
-
utils: {
|
|
1057
|
-
agoricNamesReserved: {
|
|
1058
|
-
issuer: {
|
|
1059
|
-
IST: string;
|
|
1060
|
-
BLD: string;
|
|
1061
|
-
Invitation: string;
|
|
1062
|
-
AUSD: string;
|
|
1063
|
-
};
|
|
1064
|
-
installation: {
|
|
1065
|
-
reserve: string;
|
|
1066
|
-
centralSupply: string;
|
|
1067
|
-
mintHolder: string;
|
|
1068
|
-
walletFactory: string;
|
|
1069
|
-
provisionPool: string;
|
|
1070
|
-
auctioneer: string;
|
|
1071
|
-
feeDistributor: string;
|
|
1072
|
-
contractGovernor: string;
|
|
1073
|
-
committee: string;
|
|
1074
|
-
noActionElectorate: string;
|
|
1075
|
-
binaryVoteCounter: string;
|
|
1076
|
-
VaultFactory: string;
|
|
1077
|
-
liquidate: string;
|
|
1078
|
-
Pegasus: string;
|
|
1079
|
-
psm: string;
|
|
1080
|
-
scaledPriceAuthority: string;
|
|
1081
|
-
stakeAtom: string;
|
|
1082
|
-
stakeBld: string;
|
|
1083
|
-
econCommitteeCharter: string;
|
|
1084
|
-
priceAggregator: string;
|
|
1085
|
-
};
|
|
1086
|
-
instance: {
|
|
1087
|
-
reserve: string;
|
|
1088
|
-
walletFactory: string;
|
|
1089
|
-
provisionPool: string;
|
|
1090
|
-
auctioneer: string;
|
|
1091
|
-
feeDistributor: string;
|
|
1092
|
-
VaultFactory: string;
|
|
1093
|
-
Pegasus: string;
|
|
1094
|
-
stakeAtom: string;
|
|
1095
|
-
stakeBld: string;
|
|
1096
|
-
econCommitteeCharter: string;
|
|
1097
|
-
economicCommittee: string;
|
|
1098
|
-
VaultFactoryGovernor: string;
|
|
1099
|
-
reserveGovernor: string;
|
|
1100
|
-
};
|
|
1101
|
-
oracleBrand: {
|
|
1102
|
-
USD: string;
|
|
1103
|
-
};
|
|
1104
|
-
uiConfig: {
|
|
1105
|
-
VaultFactory: string;
|
|
1106
|
-
};
|
|
1107
|
-
};
|
|
1108
|
-
feeIssuerConfig: FeeIssuerConfig;
|
|
1109
|
-
addRemote: (addr: string, { vats: { comms, vattp } }: {
|
|
1110
|
-
vats: {
|
|
1111
|
-
vattp: VattpVat;
|
|
1112
|
-
comms: CommsVatRoot;
|
|
1113
|
-
};
|
|
1114
|
-
}) => Promise<void>;
|
|
1115
|
-
callProperties: (builders: ((...args: any[]) => Record<string, unknown>)[], ...args: unknown[]) => Record<string, unknown>;
|
|
1116
|
-
extract: (template: string | true | Record<string, any>, specimen: unknown, path?: string[] | undefined) => any;
|
|
1117
|
-
extractPowers: (permit: string | true | Record<string, any>, allPowers: unknown) => any;
|
|
1118
|
-
runModuleBehaviors: ({ allPowers, behaviors, manifest, makeConfig, }: {
|
|
1119
|
-
allPowers: unknown;
|
|
1120
|
-
behaviors: Record<string, unknown>;
|
|
1121
|
-
manifest: Record<string, Record<string, unknown>>;
|
|
1122
|
-
makeConfig: (name: string, permit: Record<string, unknown>) => unknown;
|
|
1123
|
-
}) => Promise<any[]>;
|
|
1124
|
-
makePromiseSpaceForNameHub: (nameAdmin: ERef<import("../types.js").NameAdmin>, log?: {
|
|
1125
|
-
(...data: any[]): void;
|
|
1126
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
1127
|
-
} | undefined) => PromiseSpaceOf<any, {}, {}>;
|
|
1128
|
-
makeWellKnownSpaces: (parentAdmin: ERef<import("../types.js").NameAdmin>, log?: {
|
|
1129
|
-
(...data: any[]): void;
|
|
1130
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
1131
|
-
} | undefined, kinds?: string[] | undefined) => Promise<WellKnownSpaces>;
|
|
1132
|
-
makeAgoricNamesAccess: (log?: {
|
|
1133
|
-
(...data: any[]): void;
|
|
1134
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
1135
|
-
} | undefined, reserved?: Record<string, Record<string, unknown>>) => Promise<{
|
|
1136
|
-
agoricNames: import("../types.js").NameHub;
|
|
1137
|
-
agoricNamesAdmin: import("../types.js").NameAdmin;
|
|
1138
|
-
spaces: WellKnownSpaces;
|
|
1139
|
-
}>;
|
|
1140
|
-
makeMyAddressNameAdminKit: (address: string) => {
|
|
1141
|
-
nameHub: import("../types.js").NameHub;
|
|
1142
|
-
myAddressNameAdmin: import("../types.js").MyAddressNameAdmin;
|
|
1143
|
-
};
|
|
1144
|
-
makeVatSpace: (svc: ERef<import("@endo/exo").Guarded<{
|
|
1145
|
-
waitForBundleCap(bundleID: any): any;
|
|
1146
|
-
getBundleCap(bundleID: any): any;
|
|
1147
|
-
getNamedBundleCap(name: any): any;
|
|
1148
|
-
getBundleIDByName(name: any): any;
|
|
1149
|
-
createMeter(remaining: any, threshold: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
1150
|
-
addRemaining({ state }: {
|
|
1151
|
-
state: any;
|
|
1152
|
-
}, delta: any): void;
|
|
1153
|
-
setThreshold({ state }: {
|
|
1154
|
-
state: any;
|
|
1155
|
-
}, newThreshold: any): void;
|
|
1156
|
-
get: ({ state }: {
|
|
1157
|
-
state: any;
|
|
1158
|
-
}) => any;
|
|
1159
|
-
getNotifier: ({ _self }: {
|
|
1160
|
-
_self: any;
|
|
1161
|
-
}) => never;
|
|
1162
|
-
}>;
|
|
1163
|
-
createUnlimitedMeter(_context: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
1164
|
-
addRemaining(_context: any, _delta: any): void;
|
|
1165
|
-
setThreshold(_context: any, _newThreshold: any): void;
|
|
1166
|
-
get: () => {
|
|
1167
|
-
remaining: string;
|
|
1168
|
-
threshold: number;
|
|
1169
|
-
};
|
|
1170
|
-
getNotifier: ({ _self }: {
|
|
1171
|
-
_self: any;
|
|
1172
|
-
}) => never;
|
|
1173
|
-
}>;
|
|
1174
|
-
createVat(bundleOrBundleCap: any, options?: {}): Promise<{
|
|
1175
|
-
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
1176
|
-
terminateWithFailure({ state }: {
|
|
1177
|
-
state: any;
|
|
1178
|
-
}, reason: any): void;
|
|
1179
|
-
done({ state }: {
|
|
1180
|
-
state: any;
|
|
1181
|
-
}): any;
|
|
1182
|
-
upgrade({ state }: {
|
|
1183
|
-
state: any;
|
|
1184
|
-
}, bundlecap: any, options: any): Promise<any>;
|
|
1185
|
-
changeOptions({ state }: {
|
|
1186
|
-
state: any;
|
|
1187
|
-
}, options: any): void;
|
|
1188
|
-
}>;
|
|
1189
|
-
root: any;
|
|
1190
|
-
}>;
|
|
1191
|
-
createVatByName(bundleName: any, options?: {}): Promise<{
|
|
1192
|
-
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
1193
|
-
terminateWithFailure({ state }: {
|
|
1194
|
-
state: any;
|
|
1195
|
-
}, reason: any): void;
|
|
1196
|
-
done({ state }: {
|
|
1197
|
-
state: any;
|
|
1198
|
-
}): any;
|
|
1199
|
-
upgrade({ state }: {
|
|
1200
|
-
state: any;
|
|
1201
|
-
}, bundlecap: any, options: any): Promise<any>;
|
|
1202
|
-
changeOptions({ state }: {
|
|
1203
|
-
state: any;
|
|
1204
|
-
}, options: any): void;
|
|
1205
|
-
}>;
|
|
1206
|
-
root: any;
|
|
1207
|
-
}>;
|
|
1208
|
-
}>>, criticalVatKey: unknown, log?: ((...args: any) => void) | undefined, label?: string | undefined) => {
|
|
1209
|
-
space: {
|
|
1210
|
-
consume: {
|
|
1211
|
-
agoricNames: Promise<{
|
|
1212
|
-
getNameHub: () => import("../types.js").NameHub;
|
|
1213
|
-
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
1214
|
-
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
1215
|
-
provideInertBrand: (keyword: string, displayInfo: globalThis.DisplayInfo) => any;
|
|
1216
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
1217
|
-
getNameHub: () => import("../types.js").NameHub;
|
|
1218
|
-
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
1219
|
-
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
1220
|
-
provideInertBrand: (keyword: string, displayInfo: globalThis.DisplayInfo) => any;
|
|
1221
|
-
}>>;
|
|
1222
|
-
board: Promise<{
|
|
1223
|
-
getBoard: () => import("@endo/exo").Guarded<{
|
|
1224
|
-
getId(value: any): string;
|
|
1225
|
-
getValue(id: string): any;
|
|
1226
|
-
lookup(...path: string[]): Promise<any>;
|
|
1227
|
-
has(val: any): boolean;
|
|
1228
|
-
ids(): string[];
|
|
1229
|
-
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
1230
|
-
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
1231
|
-
fromCapData(data: any): any;
|
|
1232
|
-
serialize(data: any): import("@endo/marshal").CapData<string>;
|
|
1233
|
-
unserialize(data: any): any;
|
|
1234
|
-
}>;
|
|
1235
|
-
getReadonlyMarshaller(): import("@endo/exo").Guarded<{
|
|
1236
|
-
toCapData(val: any): import("@endo/marshal").CapData<string | null>;
|
|
1237
|
-
fromCapData(data: any): any;
|
|
1238
|
-
serialize(data: any): import("@endo/marshal").CapData<string | null>;
|
|
1239
|
-
unserialize(data: any): any;
|
|
1240
|
-
}>;
|
|
1241
|
-
}>;
|
|
1242
|
-
makePublishingRecorderKit: <T>(storageNode: StorageNode | (import("@endo/eventual-send").DataOnly<StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<StorageNode>, StorageNode>), valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1243
|
-
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | (import("@endo/eventual-send").DataOnly<StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<StorageNode>, StorageNode>), valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1244
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
1245
|
-
getBoard: () => import("@endo/exo").Guarded<{
|
|
1246
|
-
getId(value: any): string;
|
|
1247
|
-
getValue(id: string): any;
|
|
1248
|
-
lookup(...path: string[]): Promise<any>;
|
|
1249
|
-
has(val: any): boolean;
|
|
1250
|
-
ids(): string[];
|
|
1251
|
-
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
1252
|
-
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
1253
|
-
fromCapData(data: any): any;
|
|
1254
|
-
serialize(data: any): import("@endo/marshal").CapData<string>;
|
|
1255
|
-
unserialize(data: any): any;
|
|
1256
|
-
}>;
|
|
1257
|
-
getReadonlyMarshaller(): import("@endo/exo").Guarded<{
|
|
1258
|
-
toCapData(val: any): import("@endo/marshal").CapData<string | null>;
|
|
1259
|
-
fromCapData(data: any): any;
|
|
1260
|
-
serialize(data: any): import("@endo/marshal").CapData<string | null>;
|
|
1261
|
-
unserialize(data: any): any;
|
|
1262
|
-
}>;
|
|
1263
|
-
}>;
|
|
1264
|
-
makePublishingRecorderKit: <T>(storageNode: StorageNode | (import("@endo/eventual-send").DataOnly<StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<StorageNode>, StorageNode>), valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1265
|
-
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | (import("@endo/eventual-send").DataOnly<StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<StorageNode>, StorageNode>), valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1266
|
-
}>>;
|
|
1267
|
-
};
|
|
1268
|
-
};
|
|
1269
|
-
durableStore: MapStore<K, V>;
|
|
1270
|
-
};
|
|
1271
|
-
};
|
|
1272
|
-
};
|
|
1273
|
-
} & {
|
|
1274
|
-
consume: {
|
|
1275
|
-
loadCriticalVat: ERef<VatLoader<basicBehaviorsPlus.PriceAuthorityVat>>;
|
|
1276
|
-
};
|
|
1277
|
-
}) => Promise<void>;
|
|
1278
|
-
makeOracleBrands: ({ namedVat: { consume: { agoricNames }, }, oracleBrand: { produce: { USD }, }, }: WellKnownSpaces & PromiseSpaceOf<ChainBootstrapSpaceT & {
|
|
1279
|
-
vatAdminSvc: VatAdminSvc;
|
|
1280
|
-
}, {}, {
|
|
1281
|
-
loadVat: VatLoader<unknown>;
|
|
1282
|
-
loadCriticalVat: VatLoader<unknown>;
|
|
1283
|
-
}> & {
|
|
1284
|
-
zone: import("@agoric/base-zone").Zone;
|
|
1285
|
-
devices: SoloDevices | ChainDevices;
|
|
1286
|
-
vats: SwingsetVats;
|
|
1287
|
-
vatPowers: {
|
|
1288
|
-
[prop: string]: any;
|
|
1289
|
-
D: DProxy<any>;
|
|
1290
|
-
};
|
|
1291
|
-
vatParameters: BootstrapVatParams;
|
|
1292
|
-
runBehaviors: (manifest: unknown) => Promise<unknown>;
|
|
1293
|
-
modules: {
|
|
1294
|
-
behaviors: any;
|
|
1295
|
-
utils: {
|
|
1296
|
-
agoricNamesReserved: {
|
|
1297
|
-
issuer: {
|
|
1298
|
-
IST: string;
|
|
1299
|
-
BLD: string;
|
|
1300
|
-
Invitation: string;
|
|
1301
|
-
AUSD: string;
|
|
1302
|
-
};
|
|
1303
|
-
installation: {
|
|
1304
|
-
reserve: string;
|
|
1305
|
-
centralSupply: string;
|
|
1306
|
-
mintHolder: string;
|
|
1307
|
-
walletFactory: string;
|
|
1308
|
-
provisionPool: string;
|
|
1309
|
-
auctioneer: string;
|
|
1310
|
-
feeDistributor: string;
|
|
1311
|
-
contractGovernor: string;
|
|
1312
|
-
committee: string;
|
|
1313
|
-
noActionElectorate: string;
|
|
1314
|
-
binaryVoteCounter: string;
|
|
1315
|
-
VaultFactory: string;
|
|
1316
|
-
liquidate: string;
|
|
1317
|
-
Pegasus: string;
|
|
1318
|
-
psm: string;
|
|
1319
|
-
scaledPriceAuthority: string;
|
|
1320
|
-
stakeAtom: string;
|
|
1321
|
-
stakeBld: string;
|
|
1322
|
-
econCommitteeCharter: string;
|
|
1323
|
-
priceAggregator: string;
|
|
1324
|
-
};
|
|
1325
|
-
instance: {
|
|
1326
|
-
reserve: string;
|
|
1327
|
-
walletFactory: string;
|
|
1328
|
-
provisionPool: string;
|
|
1329
|
-
auctioneer: string;
|
|
1330
|
-
feeDistributor: string;
|
|
1331
|
-
VaultFactory: string;
|
|
1332
|
-
Pegasus: string;
|
|
1333
|
-
stakeAtom: string;
|
|
1334
|
-
stakeBld: string;
|
|
1335
|
-
econCommitteeCharter: string;
|
|
1336
|
-
economicCommittee: string;
|
|
1337
|
-
VaultFactoryGovernor: string;
|
|
1338
|
-
reserveGovernor: string;
|
|
1339
|
-
};
|
|
1340
|
-
oracleBrand: {
|
|
1341
|
-
USD: string;
|
|
1342
|
-
};
|
|
1343
|
-
uiConfig: {
|
|
1344
|
-
VaultFactory: string;
|
|
1345
|
-
};
|
|
1346
|
-
};
|
|
1347
|
-
feeIssuerConfig: FeeIssuerConfig;
|
|
1348
|
-
addRemote: (addr: string, { vats: { comms, vattp } }: {
|
|
1349
|
-
vats: {
|
|
1350
|
-
vattp: VattpVat;
|
|
1351
|
-
comms: CommsVatRoot;
|
|
1352
|
-
};
|
|
1353
|
-
}) => Promise<void>;
|
|
1354
|
-
callProperties: (builders: ((...args: any[]) => Record<string, unknown>)[], ...args: unknown[]) => Record<string, unknown>;
|
|
1355
|
-
extract: (template: string | true | Record<string, any>, specimen: unknown, path?: string[] | undefined) => any;
|
|
1356
|
-
extractPowers: (permit: string | true | Record<string, any>, allPowers: unknown) => any;
|
|
1357
|
-
runModuleBehaviors: ({ allPowers, behaviors, manifest, makeConfig, }: {
|
|
1358
|
-
allPowers: unknown;
|
|
1359
|
-
behaviors: Record<string, unknown>;
|
|
1360
|
-
manifest: Record<string, Record<string, unknown>>;
|
|
1361
|
-
makeConfig: (name: string, permit: Record<string, unknown>) => unknown;
|
|
1362
|
-
}) => Promise<any[]>;
|
|
1363
|
-
makePromiseSpaceForNameHub: (nameAdmin: ERef<import("../types.js").NameAdmin>, log?: {
|
|
1364
|
-
(...data: any[]): void;
|
|
1365
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
1366
|
-
} | undefined) => PromiseSpaceOf<any, {}, {}>;
|
|
1367
|
-
makeWellKnownSpaces: (parentAdmin: ERef<import("../types.js").NameAdmin>, log?: {
|
|
1368
|
-
(...data: any[]): void;
|
|
1369
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
1370
|
-
} | undefined, kinds?: string[] | undefined) => Promise<WellKnownSpaces>;
|
|
1371
|
-
makeAgoricNamesAccess: (log?: {
|
|
1372
|
-
(...data: any[]): void;
|
|
1373
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
1374
|
-
} | undefined, reserved?: Record<string, Record<string, unknown>>) => Promise<{
|
|
1375
|
-
agoricNames: import("../types.js").NameHub;
|
|
1376
|
-
agoricNamesAdmin: import("../types.js").NameAdmin;
|
|
1377
|
-
spaces: WellKnownSpaces;
|
|
1378
|
-
}>;
|
|
1379
|
-
makeMyAddressNameAdminKit: (address: string) => {
|
|
1380
|
-
nameHub: import("../types.js").NameHub;
|
|
1381
|
-
myAddressNameAdmin: import("../types.js").MyAddressNameAdmin;
|
|
1382
|
-
};
|
|
1383
|
-
makeVatSpace: (svc: ERef<import("@endo/exo").Guarded<{
|
|
1384
|
-
waitForBundleCap(bundleID: any): any;
|
|
1385
|
-
getBundleCap(bundleID: any): any;
|
|
1386
|
-
getNamedBundleCap(name: any): any;
|
|
1387
|
-
getBundleIDByName(name: any): any;
|
|
1388
|
-
createMeter(remaining: any, threshold: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
1389
|
-
addRemaining({ state }: {
|
|
1390
|
-
state: any;
|
|
1391
|
-
}, delta: any): void;
|
|
1392
|
-
setThreshold({ state }: {
|
|
1393
|
-
state: any;
|
|
1394
|
-
}, newThreshold: any): void;
|
|
1395
|
-
get: ({ state }: {
|
|
1396
|
-
state: any;
|
|
1397
|
-
}) => any;
|
|
1398
|
-
getNotifier: ({ _self }: {
|
|
1399
|
-
_self: any;
|
|
1400
|
-
}) => never;
|
|
1401
|
-
}>;
|
|
1402
|
-
createUnlimitedMeter(_context: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
1403
|
-
addRemaining(_context: any, _delta: any): void;
|
|
1404
|
-
setThreshold(_context: any, _newThreshold: any): void;
|
|
1405
|
-
get: () => {
|
|
1406
|
-
remaining: string;
|
|
1407
|
-
threshold: number;
|
|
1408
|
-
};
|
|
1409
|
-
getNotifier: ({ _self }: {
|
|
1410
|
-
_self: any;
|
|
1411
|
-
}) => never;
|
|
1412
|
-
}>;
|
|
1413
|
-
createVat(bundleOrBundleCap: any, options?: {}): Promise<{
|
|
1414
|
-
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
1415
|
-
terminateWithFailure({ state }: {
|
|
1416
|
-
state: any;
|
|
1417
|
-
}, reason: any): void;
|
|
1418
|
-
done({ state }: {
|
|
1419
|
-
state: any;
|
|
1420
|
-
}): any;
|
|
1421
|
-
upgrade({ state }: {
|
|
1422
|
-
state: any;
|
|
1423
|
-
}, bundlecap: any, options: any): Promise<any>;
|
|
1424
|
-
changeOptions({ state }: {
|
|
1425
|
-
state: any;
|
|
1426
|
-
}, options: any): void;
|
|
1427
|
-
}>;
|
|
1428
|
-
root: any;
|
|
1429
|
-
}>;
|
|
1430
|
-
createVatByName(bundleName: any, options?: {}): Promise<{
|
|
1431
|
-
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
1432
|
-
terminateWithFailure({ state }: {
|
|
1433
|
-
state: any;
|
|
1434
|
-
}, reason: any): void;
|
|
1435
|
-
done({ state }: {
|
|
1436
|
-
state: any;
|
|
1437
|
-
}): any;
|
|
1438
|
-
upgrade({ state }: {
|
|
1439
|
-
state: any;
|
|
1440
|
-
}, bundlecap: any, options: any): Promise<any>;
|
|
1441
|
-
changeOptions({ state }: {
|
|
1442
|
-
state: any;
|
|
1443
|
-
}, options: any): void;
|
|
1444
|
-
}>;
|
|
1445
|
-
root: any;
|
|
1446
|
-
}>;
|
|
1447
|
-
}>>, criticalVatKey: unknown, log?: ((...args: any) => void) | undefined, label?: string | undefined) => {
|
|
1448
|
-
space: {
|
|
1449
|
-
consume: {
|
|
1450
|
-
agoricNames: Promise<{
|
|
1451
|
-
getNameHub: () => import("../types.js").NameHub;
|
|
1452
|
-
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
1453
|
-
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
1454
|
-
provideInertBrand: (keyword: string, displayInfo: globalThis.DisplayInfo) => any;
|
|
1455
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
1456
|
-
getNameHub: () => import("../types.js").NameHub;
|
|
1457
|
-
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
1458
|
-
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
1459
|
-
provideInertBrand: (keyword: string, displayInfo: globalThis.DisplayInfo) => any;
|
|
1460
|
-
}>>;
|
|
1461
|
-
board: Promise<{
|
|
1462
|
-
getBoard: () => import("@endo/exo").Guarded<{
|
|
1463
|
-
getId(value: any): string;
|
|
1464
|
-
getValue(id: string): any;
|
|
1465
|
-
lookup(...path: string[]): Promise<any>;
|
|
1466
|
-
has(val: any): boolean;
|
|
1467
|
-
ids(): string[];
|
|
1468
|
-
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
1469
|
-
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
1470
|
-
fromCapData(data: any): any;
|
|
1471
|
-
serialize(data: any): import("@endo/marshal").CapData<string>;
|
|
1472
|
-
unserialize(data: any): any;
|
|
1473
|
-
}>;
|
|
1474
|
-
getReadonlyMarshaller(): import("@endo/exo").Guarded<{
|
|
1475
|
-
toCapData(val: any): import("@endo/marshal").CapData<string | null>;
|
|
1476
|
-
fromCapData(data: any): any;
|
|
1477
|
-
serialize(data: any): import("@endo/marshal").CapData<string | null>;
|
|
1478
|
-
unserialize(data: any): any;
|
|
1479
|
-
}>;
|
|
1480
|
-
}>;
|
|
1481
|
-
makePublishingRecorderKit: <T>(storageNode: StorageNode | (import("@endo/eventual-send").DataOnly<StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<StorageNode>, StorageNode>), valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1482
|
-
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | (import("@endo/eventual-send").DataOnly<StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<StorageNode>, StorageNode>), valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1483
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
1484
|
-
getBoard: () => import("@endo/exo").Guarded<{
|
|
1485
|
-
getId(value: any): string;
|
|
1486
|
-
getValue(id: string): any;
|
|
1487
|
-
lookup(...path: string[]): Promise<any>;
|
|
1488
|
-
has(val: any): boolean;
|
|
1489
|
-
ids(): string[];
|
|
1490
|
-
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
1491
|
-
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
1492
|
-
fromCapData(data: any): any;
|
|
1493
|
-
serialize(data: any): import("@endo/marshal").CapData<string>;
|
|
1494
|
-
unserialize(data: any): any;
|
|
1495
|
-
}>;
|
|
1496
|
-
getReadonlyMarshaller(): import("@endo/exo").Guarded<{
|
|
1497
|
-
toCapData(val: any): import("@endo/marshal").CapData<string | null>;
|
|
1498
|
-
fromCapData(data: any): any;
|
|
1499
|
-
serialize(data: any): import("@endo/marshal").CapData<string | null>;
|
|
1500
|
-
unserialize(data: any): any;
|
|
1501
|
-
}>;
|
|
1502
|
-
}>;
|
|
1503
|
-
makePublishingRecorderKit: <T>(storageNode: StorageNode | (import("@endo/eventual-send").DataOnly<StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<StorageNode>, StorageNode>), valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1504
|
-
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | (import("@endo/eventual-send").DataOnly<StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<StorageNode>, StorageNode>), valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1505
|
-
}>>;
|
|
1506
|
-
};
|
|
1507
|
-
};
|
|
1508
|
-
durableStore: MapStore<K, V>;
|
|
1509
|
-
};
|
|
1510
|
-
};
|
|
1511
|
-
};
|
|
1512
|
-
} & NamedVatPowers) => Promise<void>;
|
|
1513
|
-
produceBoard: ({ consume: { client }, produce: { board: pBoard }, namedVat: { consume: { board: vatBoard }, }, }: WellKnownSpaces & PromiseSpaceOf<ChainBootstrapSpaceT & {
|
|
1514
|
-
vatAdminSvc: VatAdminSvc;
|
|
1515
|
-
}, {}, {
|
|
1516
|
-
loadVat: VatLoader<unknown>;
|
|
1517
|
-
loadCriticalVat: VatLoader<unknown>;
|
|
1518
|
-
}> & {
|
|
1519
|
-
zone: import("@agoric/base-zone").Zone;
|
|
1520
|
-
devices: SoloDevices | ChainDevices;
|
|
1521
|
-
vats: SwingsetVats;
|
|
1522
|
-
vatPowers: {
|
|
1523
|
-
[prop: string]: any;
|
|
1524
|
-
D: DProxy<any>;
|
|
1525
|
-
};
|
|
1526
|
-
vatParameters: BootstrapVatParams;
|
|
1527
|
-
runBehaviors: (manifest: unknown) => Promise<unknown>;
|
|
1528
|
-
modules: {
|
|
1529
|
-
behaviors: any;
|
|
1530
|
-
utils: {
|
|
1531
|
-
agoricNamesReserved: {
|
|
1532
|
-
issuer: {
|
|
1533
|
-
IST: string;
|
|
1534
|
-
BLD: string;
|
|
1535
|
-
Invitation: string;
|
|
1536
|
-
AUSD: string;
|
|
1537
|
-
};
|
|
1538
|
-
installation: {
|
|
1539
|
-
reserve: string;
|
|
1540
|
-
centralSupply: string;
|
|
1541
|
-
mintHolder: string;
|
|
1542
|
-
walletFactory: string;
|
|
1543
|
-
provisionPool: string;
|
|
1544
|
-
auctioneer: string;
|
|
1545
|
-
feeDistributor: string;
|
|
1546
|
-
contractGovernor: string;
|
|
1547
|
-
committee: string;
|
|
1548
|
-
noActionElectorate: string;
|
|
1549
|
-
binaryVoteCounter: string;
|
|
1550
|
-
VaultFactory: string;
|
|
1551
|
-
liquidate: string;
|
|
1552
|
-
Pegasus: string;
|
|
1553
|
-
psm: string;
|
|
1554
|
-
scaledPriceAuthority: string;
|
|
1555
|
-
stakeAtom: string;
|
|
1556
|
-
stakeBld: string;
|
|
1557
|
-
econCommitteeCharter: string;
|
|
1558
|
-
priceAggregator: string;
|
|
1559
|
-
};
|
|
1560
|
-
instance: {
|
|
1561
|
-
reserve: string;
|
|
1562
|
-
walletFactory: string;
|
|
1563
|
-
provisionPool: string;
|
|
1564
|
-
auctioneer: string;
|
|
1565
|
-
feeDistributor: string;
|
|
1566
|
-
VaultFactory: string;
|
|
1567
|
-
Pegasus: string;
|
|
1568
|
-
stakeAtom: string;
|
|
1569
|
-
stakeBld: string;
|
|
1570
|
-
econCommitteeCharter: string;
|
|
1571
|
-
economicCommittee: string;
|
|
1572
|
-
VaultFactoryGovernor: string;
|
|
1573
|
-
reserveGovernor: string;
|
|
1574
|
-
};
|
|
1575
|
-
oracleBrand: {
|
|
1576
|
-
USD: string;
|
|
1577
|
-
};
|
|
1578
|
-
uiConfig: {
|
|
1579
|
-
VaultFactory: string;
|
|
1580
|
-
};
|
|
1581
|
-
};
|
|
1582
|
-
feeIssuerConfig: FeeIssuerConfig;
|
|
1583
|
-
addRemote: (addr: string, { vats: { comms, vattp } }: {
|
|
1584
|
-
vats: {
|
|
1585
|
-
vattp: VattpVat;
|
|
1586
|
-
comms: CommsVatRoot;
|
|
1587
|
-
};
|
|
1588
|
-
}) => Promise<void>;
|
|
1589
|
-
callProperties: (builders: ((...args: any[]) => Record<string, unknown>)[], ...args: unknown[]) => Record<string, unknown>;
|
|
1590
|
-
extract: (template: string | true | Record<string, any>, specimen: unknown, path?: string[] | undefined) => any;
|
|
1591
|
-
extractPowers: (permit: string | true | Record<string, any>, allPowers: unknown) => any;
|
|
1592
|
-
runModuleBehaviors: ({ allPowers, behaviors, manifest, makeConfig, }: {
|
|
1593
|
-
allPowers: unknown;
|
|
1594
|
-
behaviors: Record<string, unknown>;
|
|
1595
|
-
manifest: Record<string, Record<string, unknown>>;
|
|
1596
|
-
makeConfig: (name: string, permit: Record<string, unknown>) => unknown;
|
|
1597
|
-
}) => Promise<any[]>;
|
|
1598
|
-
makePromiseSpaceForNameHub: (nameAdmin: ERef<import("../types.js").NameAdmin>, log?: {
|
|
1599
|
-
(...data: any[]): void;
|
|
1600
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
1601
|
-
} | undefined) => PromiseSpaceOf<any, {}, {}>;
|
|
1602
|
-
makeWellKnownSpaces: (parentAdmin: ERef<import("../types.js").NameAdmin>, log?: {
|
|
1603
|
-
(...data: any[]): void;
|
|
1604
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
1605
|
-
} | undefined, kinds?: string[] | undefined) => Promise<WellKnownSpaces>;
|
|
1606
|
-
makeAgoricNamesAccess: (log?: {
|
|
1607
|
-
(...data: any[]): void;
|
|
1608
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
1609
|
-
} | undefined, reserved?: Record<string, Record<string, unknown>>) => Promise<{
|
|
1610
|
-
agoricNames: import("../types.js").NameHub;
|
|
1611
|
-
agoricNamesAdmin: import("../types.js").NameAdmin;
|
|
1612
|
-
spaces: WellKnownSpaces;
|
|
1613
|
-
}>;
|
|
1614
|
-
makeMyAddressNameAdminKit: (address: string) => {
|
|
1615
|
-
nameHub: import("../types.js").NameHub;
|
|
1616
|
-
myAddressNameAdmin: import("../types.js").MyAddressNameAdmin;
|
|
1617
|
-
};
|
|
1618
|
-
makeVatSpace: (svc: ERef<import("@endo/exo").Guarded<{
|
|
1619
|
-
waitForBundleCap(bundleID: any): any;
|
|
1620
|
-
getBundleCap(bundleID: any): any;
|
|
1621
|
-
getNamedBundleCap(name: any): any;
|
|
1622
|
-
getBundleIDByName(name: any): any;
|
|
1623
|
-
createMeter(remaining: any, threshold: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
1624
|
-
addRemaining({ state }: {
|
|
1625
|
-
state: any;
|
|
1626
|
-
}, delta: any): void;
|
|
1627
|
-
setThreshold({ state }: {
|
|
1628
|
-
state: any;
|
|
1629
|
-
}, newThreshold: any): void;
|
|
1630
|
-
get: ({ state }: {
|
|
1631
|
-
state: any;
|
|
1632
|
-
}) => any;
|
|
1633
|
-
getNotifier: ({ _self }: {
|
|
1634
|
-
_self: any;
|
|
1635
|
-
}) => never;
|
|
1636
|
-
}>;
|
|
1637
|
-
createUnlimitedMeter(_context: any): import("@agoric/swingset-liveslots").KindFacet<{
|
|
1638
|
-
addRemaining(_context: any, _delta: any): void;
|
|
1639
|
-
setThreshold(_context: any, _newThreshold: any): void;
|
|
1640
|
-
get: () => {
|
|
1641
|
-
remaining: string;
|
|
1642
|
-
threshold: number;
|
|
1643
|
-
};
|
|
1644
|
-
getNotifier: ({ _self }: {
|
|
1645
|
-
_self: any;
|
|
1646
|
-
}) => never;
|
|
1647
|
-
}>;
|
|
1648
|
-
createVat(bundleOrBundleCap: any, options?: {}): Promise<{
|
|
1649
|
-
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
1650
|
-
terminateWithFailure({ state }: {
|
|
1651
|
-
state: any;
|
|
1652
|
-
}, reason: any): void;
|
|
1653
|
-
done({ state }: {
|
|
1654
|
-
state: any;
|
|
1655
|
-
}): any;
|
|
1656
|
-
upgrade({ state }: {
|
|
1657
|
-
state: any;
|
|
1658
|
-
}, bundlecap: any, options: any): Promise<any>;
|
|
1659
|
-
changeOptions({ state }: {
|
|
1660
|
-
state: any;
|
|
1661
|
-
}, options: any): void;
|
|
1662
|
-
}>;
|
|
1663
|
-
root: any;
|
|
1664
|
-
}>;
|
|
1665
|
-
createVatByName(bundleName: any, options?: {}): Promise<{
|
|
1666
|
-
adminNode: import("@agoric/swingset-liveslots").KindFacet<{
|
|
1667
|
-
terminateWithFailure({ state }: {
|
|
1668
|
-
state: any;
|
|
1669
|
-
}, reason: any): void;
|
|
1670
|
-
done({ state }: {
|
|
1671
|
-
state: any;
|
|
1672
|
-
}): any;
|
|
1673
|
-
upgrade({ state }: {
|
|
1674
|
-
state: any;
|
|
1675
|
-
}, bundlecap: any, options: any): Promise<any>;
|
|
1676
|
-
changeOptions({ state }: {
|
|
1677
|
-
state: any;
|
|
1678
|
-
}, options: any): void;
|
|
1679
|
-
}>;
|
|
1680
|
-
root: any;
|
|
1681
|
-
}>;
|
|
1682
|
-
}>>, criticalVatKey: unknown, log?: ((...args: any) => void) | undefined, label?: string | undefined) => {
|
|
1683
|
-
space: {
|
|
1684
|
-
consume: {
|
|
1685
|
-
agoricNames: Promise<{
|
|
1686
|
-
getNameHub: () => import("../types.js").NameHub;
|
|
1687
|
-
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
1688
|
-
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
1689
|
-
provideInertBrand: (keyword: string, displayInfo: globalThis.DisplayInfo) => any;
|
|
1690
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
1691
|
-
getNameHub: () => import("../types.js").NameHub;
|
|
1692
|
-
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
1693
|
-
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
1694
|
-
provideInertBrand: (keyword: string, displayInfo: globalThis.DisplayInfo) => any;
|
|
1695
|
-
}>>;
|
|
1696
|
-
board: Promise<{
|
|
1697
|
-
getBoard: () => import("@endo/exo").Guarded<{
|
|
1698
|
-
getId(value: any): string;
|
|
1699
|
-
getValue(id: string): any;
|
|
1700
|
-
lookup(...path: string[]): Promise<any>;
|
|
1701
|
-
has(val: any): boolean;
|
|
1702
|
-
ids(): string[];
|
|
1703
|
-
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
1704
|
-
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
1705
|
-
fromCapData(data: any): any;
|
|
1706
|
-
serialize(data: any): import("@endo/marshal").CapData<string>;
|
|
1707
|
-
unserialize(data: any): any;
|
|
1708
|
-
}>;
|
|
1709
|
-
getReadonlyMarshaller(): import("@endo/exo").Guarded<{
|
|
1710
|
-
toCapData(val: any): import("@endo/marshal").CapData<string | null>;
|
|
1711
|
-
fromCapData(data: any): any;
|
|
1712
|
-
serialize(data: any): import("@endo/marshal").CapData<string | null>;
|
|
1713
|
-
unserialize(data: any): any;
|
|
1714
|
-
}>;
|
|
1715
|
-
}>;
|
|
1716
|
-
makePublishingRecorderKit: <T>(storageNode: StorageNode | (import("@endo/eventual-send").DataOnly<StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<StorageNode>, StorageNode>), valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1717
|
-
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | (import("@endo/eventual-send").DataOnly<StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<StorageNode>, StorageNode>), valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1718
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
1719
|
-
getBoard: () => import("@endo/exo").Guarded<{
|
|
1720
|
-
getId(value: any): string;
|
|
1721
|
-
getValue(id: string): any;
|
|
1722
|
-
lookup(...path: string[]): Promise<any>;
|
|
1723
|
-
has(val: any): boolean;
|
|
1724
|
-
ids(): string[];
|
|
1725
|
-
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
1726
|
-
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
1727
|
-
fromCapData(data: any): any;
|
|
1728
|
-
serialize(data: any): import("@endo/marshal").CapData<string>;
|
|
1729
|
-
unserialize(data: any): any;
|
|
1730
|
-
}>;
|
|
1731
|
-
getReadonlyMarshaller(): import("@endo/exo").Guarded<{
|
|
1732
|
-
toCapData(val: any): import("@endo/marshal").CapData<string | null>;
|
|
1733
|
-
fromCapData(data: any): any;
|
|
1734
|
-
serialize(data: any): import("@endo/marshal").CapData<string | null>;
|
|
1735
|
-
unserialize(data: any): any;
|
|
1736
|
-
}>;
|
|
1737
|
-
}>;
|
|
1738
|
-
makePublishingRecorderKit: <T>(storageNode: StorageNode | (import("@endo/eventual-send").DataOnly<StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<StorageNode>, StorageNode>), valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1739
|
-
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | (import("@endo/eventual-send").DataOnly<StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<StorageNode>, StorageNode>), valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1740
|
-
}>>;
|
|
1741
|
-
};
|
|
1742
|
-
};
|
|
1743
|
-
durableStore: MapStore<K, V>;
|
|
1744
|
-
};
|
|
1745
|
-
};
|
|
1746
|
-
};
|
|
1747
|
-
} & NamedVatPowers) => Promise<void>;
|
|
800
|
+
makeOracleBrands: ({ namedVat: { consume: { agoricNames }, }, oracleBrand: { produce: { USD }, }, }: BootstrapPowers & NamedVatPowers) => Promise<void>;
|
|
801
|
+
produceBoard: ({ consume: { client }, produce: { board: pBoard }, namedVat: { consume: { board: vatBoard }, }, }: BootstrapPowers & NamedVatPowers) => Promise<void>;
|
|
1748
802
|
makeBoard: ({ consume: { loadCriticalVat, client }, produce: { board: { resolve: resolveBoard }, }, }: WellKnownSpaces & PromiseSpaceOf<ChainBootstrapSpaceT & {
|
|
1749
803
|
vatAdminSvc: VatAdminSvc;
|
|
1750
804
|
}, {}, {
|
|
@@ -1821,9 +875,9 @@ declare namespace modules {
|
|
|
1821
875
|
comms: CommsVatRoot;
|
|
1822
876
|
};
|
|
1823
877
|
}) => Promise<void>;
|
|
1824
|
-
callProperties: (builders: ((...args: any
|
|
1825
|
-
extract: (template:
|
|
1826
|
-
extractPowers: (permit:
|
|
878
|
+
callProperties: (builders: ((...args: any) => Record<string, unknown>)[], ...args: unknown[]) => Record<string, unknown>;
|
|
879
|
+
extract: (template: true | string | Record<string, any>, specimen: unknown, path?: string[] | undefined) => any;
|
|
880
|
+
extractPowers: (permit: true | string | Record<string, any>, allPowers: unknown) => any;
|
|
1827
881
|
runModuleBehaviors: ({ allPowers, behaviors, manifest, makeConfig, }: {
|
|
1828
882
|
allPowers: unknown;
|
|
1829
883
|
behaviors: Record<string, unknown>;
|
|
@@ -1921,17 +975,17 @@ declare namespace modules {
|
|
|
1921
975
|
getNameHub: () => import("../types.js").NameHub;
|
|
1922
976
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
1923
977
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
1924
|
-
provideInertBrand: (keyword: string, displayInfo:
|
|
978
|
+
provideInertBrand: (keyword: string, displayInfo: DisplayInfo) => any;
|
|
1925
979
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
1926
980
|
getNameHub: () => import("../types.js").NameHub;
|
|
1927
981
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
1928
982
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
1929
|
-
provideInertBrand: (keyword: string, displayInfo:
|
|
983
|
+
provideInertBrand: (keyword: string, displayInfo: DisplayInfo) => any;
|
|
1930
984
|
}>>;
|
|
1931
985
|
board: Promise<{
|
|
1932
986
|
getBoard: () => import("@endo/exo").Guarded<{
|
|
1933
987
|
getId(value: any): string;
|
|
1934
|
-
getValue(id:
|
|
988
|
+
getValue(id: BoardId): any;
|
|
1935
989
|
lookup(...path: string[]): Promise<any>;
|
|
1936
990
|
has(val: any): boolean;
|
|
1937
991
|
ids(): string[];
|
|
@@ -1948,12 +1002,12 @@ declare namespace modules {
|
|
|
1948
1002
|
unserialize(data: any): any;
|
|
1949
1003
|
}>;
|
|
1950
1004
|
}>;
|
|
1951
|
-
makePublishingRecorderKit: <T>(storageNode: StorageNode |
|
|
1952
|
-
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode |
|
|
1005
|
+
makePublishingRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1006
|
+
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1953
1007
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
1954
1008
|
getBoard: () => import("@endo/exo").Guarded<{
|
|
1955
1009
|
getId(value: any): string;
|
|
1956
|
-
getValue(id:
|
|
1010
|
+
getValue(id: BoardId): any;
|
|
1957
1011
|
lookup(...path: string[]): Promise<any>;
|
|
1958
1012
|
has(val: any): boolean;
|
|
1959
1013
|
ids(): string[];
|
|
@@ -1970,8 +1024,8 @@ declare namespace modules {
|
|
|
1970
1024
|
unserialize(data: any): any;
|
|
1971
1025
|
}>;
|
|
1972
1026
|
}>;
|
|
1973
|
-
makePublishingRecorderKit: <T>(storageNode: StorageNode |
|
|
1974
|
-
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode |
|
|
1027
|
+
makePublishingRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1028
|
+
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1975
1029
|
}>>;
|
|
1976
1030
|
};
|
|
1977
1031
|
};
|
|
@@ -2064,9 +1118,9 @@ declare namespace modules {
|
|
|
2064
1118
|
comms: CommsVatRoot;
|
|
2065
1119
|
};
|
|
2066
1120
|
}) => Promise<void>;
|
|
2067
|
-
callProperties: (builders: ((...args: any
|
|
2068
|
-
extract: (template:
|
|
2069
|
-
extractPowers: (permit:
|
|
1121
|
+
callProperties: (builders: ((...args: any) => Record<string, unknown>)[], ...args: unknown[]) => Record<string, unknown>;
|
|
1122
|
+
extract: (template: true | string | Record<string, any>, specimen: unknown, path?: string[] | undefined) => any;
|
|
1123
|
+
extractPowers: (permit: true | string | Record<string, any>, allPowers: unknown) => any;
|
|
2070
1124
|
runModuleBehaviors: ({ allPowers, behaviors, manifest, makeConfig, }: {
|
|
2071
1125
|
allPowers: unknown;
|
|
2072
1126
|
behaviors: Record<string, unknown>;
|
|
@@ -2164,17 +1218,17 @@ declare namespace modules {
|
|
|
2164
1218
|
getNameHub: () => import("../types.js").NameHub;
|
|
2165
1219
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
2166
1220
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
2167
|
-
provideInertBrand: (keyword: string, displayInfo:
|
|
1221
|
+
provideInertBrand: (keyword: string, displayInfo: DisplayInfo) => any;
|
|
2168
1222
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
2169
1223
|
getNameHub: () => import("../types.js").NameHub;
|
|
2170
1224
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
2171
1225
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
2172
|
-
provideInertBrand: (keyword: string, displayInfo:
|
|
1226
|
+
provideInertBrand: (keyword: string, displayInfo: DisplayInfo) => any;
|
|
2173
1227
|
}>>;
|
|
2174
1228
|
board: Promise<{
|
|
2175
1229
|
getBoard: () => import("@endo/exo").Guarded<{
|
|
2176
1230
|
getId(value: any): string;
|
|
2177
|
-
getValue(id:
|
|
1231
|
+
getValue(id: BoardId): any;
|
|
2178
1232
|
lookup(...path: string[]): Promise<any>;
|
|
2179
1233
|
has(val: any): boolean;
|
|
2180
1234
|
ids(): string[];
|
|
@@ -2191,12 +1245,12 @@ declare namespace modules {
|
|
|
2191
1245
|
unserialize(data: any): any;
|
|
2192
1246
|
}>;
|
|
2193
1247
|
}>;
|
|
2194
|
-
makePublishingRecorderKit: <T>(storageNode: StorageNode |
|
|
2195
|
-
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode |
|
|
1248
|
+
makePublishingRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1249
|
+
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
2196
1250
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
2197
1251
|
getBoard: () => import("@endo/exo").Guarded<{
|
|
2198
1252
|
getId(value: any): string;
|
|
2199
|
-
getValue(id:
|
|
1253
|
+
getValue(id: BoardId): any;
|
|
2200
1254
|
lookup(...path: string[]): Promise<any>;
|
|
2201
1255
|
has(val: any): boolean;
|
|
2202
1256
|
ids(): string[];
|
|
@@ -2213,8 +1267,8 @@ declare namespace modules {
|
|
|
2213
1267
|
unserialize(data: any): any;
|
|
2214
1268
|
}>;
|
|
2215
1269
|
}>;
|
|
2216
|
-
makePublishingRecorderKit: <T>(storageNode: StorageNode |
|
|
2217
|
-
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode |
|
|
1270
|
+
makePublishingRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1271
|
+
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
2218
1272
|
}>>;
|
|
2219
1273
|
};
|
|
2220
1274
|
};
|
|
@@ -2310,9 +1364,9 @@ declare namespace modules {
|
|
|
2310
1364
|
comms: CommsVatRoot;
|
|
2311
1365
|
};
|
|
2312
1366
|
}) => Promise<void>;
|
|
2313
|
-
callProperties: (builders: ((...args: any
|
|
2314
|
-
extract: (template:
|
|
2315
|
-
extractPowers: (permit:
|
|
1367
|
+
callProperties: (builders: ((...args: any) => Record<string, unknown>)[], ...args: unknown[]) => Record<string, unknown>;
|
|
1368
|
+
extract: (template: true | string | Record<string, any>, specimen: unknown, path?: string[] | undefined) => any;
|
|
1369
|
+
extractPowers: (permit: true | string | Record<string, any>, allPowers: unknown) => any;
|
|
2316
1370
|
runModuleBehaviors: ({ allPowers, behaviors, manifest, makeConfig, }: {
|
|
2317
1371
|
allPowers: unknown;
|
|
2318
1372
|
behaviors: Record<string, unknown>;
|
|
@@ -2410,17 +1464,17 @@ declare namespace modules {
|
|
|
2410
1464
|
getNameHub: () => import("../types.js").NameHub;
|
|
2411
1465
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
2412
1466
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
2413
|
-
provideInertBrand: (keyword: string, displayInfo:
|
|
1467
|
+
provideInertBrand: (keyword: string, displayInfo: DisplayInfo) => any;
|
|
2414
1468
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
2415
1469
|
getNameHub: () => import("../types.js").NameHub;
|
|
2416
1470
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
2417
1471
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
2418
|
-
provideInertBrand: (keyword: string, displayInfo:
|
|
1472
|
+
provideInertBrand: (keyword: string, displayInfo: DisplayInfo) => any;
|
|
2419
1473
|
}>>;
|
|
2420
1474
|
board: Promise<{
|
|
2421
1475
|
getBoard: () => import("@endo/exo").Guarded<{
|
|
2422
1476
|
getId(value: any): string;
|
|
2423
|
-
getValue(id:
|
|
1477
|
+
getValue(id: BoardId): any;
|
|
2424
1478
|
lookup(...path: string[]): Promise<any>;
|
|
2425
1479
|
has(val: any): boolean;
|
|
2426
1480
|
ids(): string[];
|
|
@@ -2437,12 +1491,12 @@ declare namespace modules {
|
|
|
2437
1491
|
unserialize(data: any): any;
|
|
2438
1492
|
}>;
|
|
2439
1493
|
}>;
|
|
2440
|
-
makePublishingRecorderKit: <T>(storageNode: StorageNode |
|
|
2441
|
-
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode |
|
|
1494
|
+
makePublishingRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1495
|
+
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
2442
1496
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
2443
1497
|
getBoard: () => import("@endo/exo").Guarded<{
|
|
2444
1498
|
getId(value: any): string;
|
|
2445
|
-
getValue(id:
|
|
1499
|
+
getValue(id: BoardId): any;
|
|
2446
1500
|
lookup(...path: string[]): Promise<any>;
|
|
2447
1501
|
has(val: any): boolean;
|
|
2448
1502
|
ids(): string[];
|
|
@@ -2459,8 +1513,8 @@ declare namespace modules {
|
|
|
2459
1513
|
unserialize(data: any): any;
|
|
2460
1514
|
}>;
|
|
2461
1515
|
}>;
|
|
2462
|
-
makePublishingRecorderKit: <T>(storageNode: StorageNode |
|
|
2463
|
-
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode |
|
|
1516
|
+
makePublishingRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
1517
|
+
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
2464
1518
|
}>>;
|
|
2465
1519
|
};
|
|
2466
1520
|
};
|