@agoric/vats 0.15.2-dev-a3bdfb1.0 → 0.15.2-dev-fa844b5.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/centralSupply.d.ts +2 -2
- package/src/core/basic-behaviors.d.ts +27 -27
- package/src/core/boot-chain.d.ts +90 -90
- package/src/core/chain-behaviors.d.ts +9 -9
- package/src/core/chain-behaviors.js +1 -1
- package/src/core/demoIssuers.d.ts +7 -7
- package/src/core/promise-space.d.ts +1 -1
- package/src/core/promise-space.d.ts.map +1 -1
- package/src/core/promise-space.js +1 -1
- package/src/core/startWalletFactory.d.ts +15 -15
- package/src/core/utils.d.ts +9 -9
- package/src/ibc.d.ts +4 -4
- package/src/lib-board.d.ts +3 -3
- package/src/localchain.d.ts +5 -5
- package/src/mintHolder.d.ts +4 -4
- package/src/mintHolder.d.ts.map +1 -1
- package/src/nameHub.d.ts +1 -1
- package/src/nameHub.d.ts.map +1 -1
- package/src/proposals/localchain-proposal.d.ts +6 -6
- package/src/proposals/upgrade-zoe-proposal.d.ts +9 -9
- package/src/proposals/zcf-proposal.d.ts +9 -9
- package/src/vat-bank.d.ts +81 -69
- package/src/vat-bank.d.ts.map +1 -1
- package/src/vat-bank.js +5 -1
- package/src/vat-board.d.ts +6 -6
- package/src/vat-bridge.d.ts +2 -2
- package/src/vat-ibc.d.ts +6 -6
- package/src/vat-localchain.d.ts +6 -6
- package/src/vat-mints.d.ts +20 -20
- package/src/vat-network.d.ts +6 -6
- package/src/vat-provisioning.d.ts +2 -2
- package/src/virtual-purse.d.ts +3 -3
- package/tools/board-utils.d.ts +3 -3
|
@@ -264,7 +264,7 @@ export function makeProvisioner({ consume: { clientCreator, loadCriticalVat }, v
|
|
|
264
264
|
nameHub: import("../types.js").NameHub;
|
|
265
265
|
myAddressNameAdmin: import("../types.js").MyAddressNameAdmin;
|
|
266
266
|
};
|
|
267
|
-
makeVatSpace: (svc: farExports.ERef<import("@endo/exo
|
|
267
|
+
makeVatSpace: (svc: farExports.ERef<import("@endo/exo").Guarded<{
|
|
268
268
|
waitForBundleCap(bundleID: any): any;
|
|
269
269
|
getBundleCap(bundleID: any): any;
|
|
270
270
|
getNamedBundleCap(name: any): any;
|
|
@@ -335,27 +335,27 @@ export function makeProvisioner({ consume: { clientCreator, loadCriticalVat }, v
|
|
|
335
335
|
getNameHub: () => import("../types.js").NameHub;
|
|
336
336
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
337
337
|
publishNameHubs: (nameStorage: farExports.ERef<StorageNode>, vatBoard: farExports.ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
338
|
-
provideInertBrand: (keyword: string, displayInfo: DisplayInfo
|
|
338
|
+
provideInertBrand: (keyword: string, displayInfo: globalThis.DisplayInfo) => any;
|
|
339
339
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
340
340
|
getNameHub: () => import("../types.js").NameHub;
|
|
341
341
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
342
342
|
publishNameHubs: (nameStorage: farExports.ERef<StorageNode>, vatBoard: farExports.ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
343
|
-
provideInertBrand: (keyword: string, displayInfo: DisplayInfo
|
|
343
|
+
provideInertBrand: (keyword: string, displayInfo: globalThis.DisplayInfo) => any;
|
|
344
344
|
}>>;
|
|
345
345
|
board: Promise<{
|
|
346
|
-
getBoard: () => import("@endo/exo
|
|
346
|
+
getBoard: () => import("@endo/exo").Guarded<{
|
|
347
347
|
getId(value: any): string;
|
|
348
348
|
getValue(id: string): any;
|
|
349
349
|
lookup(...path: string[]): Promise<any>;
|
|
350
350
|
has(val: any): boolean;
|
|
351
351
|
ids(): string[];
|
|
352
|
-
getPublishingMarshaller(): import("@endo/exo
|
|
352
|
+
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
353
353
|
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
354
354
|
fromCapData(data: any): any;
|
|
355
355
|
serialize(data: any): import("@endo/marshal").CapData<string>;
|
|
356
356
|
unserialize(data: any): any;
|
|
357
357
|
}>;
|
|
358
|
-
getReadonlyMarshaller(): import("@endo/exo
|
|
358
|
+
getReadonlyMarshaller(): import("@endo/exo").Guarded<{
|
|
359
359
|
toCapData(val: any): import("@endo/marshal").CapData<string | null>;
|
|
360
360
|
fromCapData(data: any): any;
|
|
361
361
|
serialize(data: any): import("@endo/marshal").CapData<string | null>;
|
|
@@ -365,19 +365,19 @@ export function makeProvisioner({ consume: { clientCreator, loadCriticalVat }, v
|
|
|
365
365
|
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>;
|
|
366
366
|
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>;
|
|
367
367
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
368
|
-
getBoard: () => import("@endo/exo
|
|
368
|
+
getBoard: () => import("@endo/exo").Guarded<{
|
|
369
369
|
getId(value: any): string;
|
|
370
370
|
getValue(id: string): any;
|
|
371
371
|
lookup(...path: string[]): Promise<any>;
|
|
372
372
|
has(val: any): boolean;
|
|
373
373
|
ids(): string[];
|
|
374
|
-
getPublishingMarshaller(): import("@endo/exo
|
|
374
|
+
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
375
375
|
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
376
376
|
fromCapData(data: any): any;
|
|
377
377
|
serialize(data: any): import("@endo/marshal").CapData<string>;
|
|
378
378
|
unserialize(data: any): any;
|
|
379
379
|
}>;
|
|
380
|
-
getReadonlyMarshaller(): import("@endo/exo
|
|
380
|
+
getReadonlyMarshaller(): import("@endo/exo").Guarded<{
|
|
381
381
|
toCapData(val: any): import("@endo/marshal").CapData<string | null>;
|
|
382
382
|
fromCapData(data: any): any;
|
|
383
383
|
serialize(data: any): import("@endo/marshal").CapData<string | null>;
|
|
@@ -57,7 +57,7 @@ export const bridgeCoreEval = async allPowers => {
|
|
|
57
57
|
async fromBridge(obj) {
|
|
58
58
|
switch (obj.type) {
|
|
59
59
|
case 'CORE_EVAL': {
|
|
60
|
-
/** @type {import('@agoric/cosmic-proto/
|
|
60
|
+
/** @type {import('@agoric/cosmic-proto/swingset/swingset.js').CoreEvalProposalSDKType} */
|
|
61
61
|
const { evals } = obj;
|
|
62
62
|
return Promise.all(
|
|
63
63
|
evals.map(({ json_permits: jsonPermit, js_code: code }) =>
|
|
@@ -51,23 +51,23 @@ export function ammPoolRunDeposits(issuers: typeof AMMDemoState): {
|
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
53
|
export function splitAllCentralPayments(bootstrapPayment: Payment, balances: Record<string, bigint>, central: {
|
|
54
|
-
issuer: ERef<Issuer
|
|
54
|
+
issuer: ERef<globalThis.Issuer>;
|
|
55
55
|
brand: Brand;
|
|
56
56
|
}): Promise<{
|
|
57
57
|
[k: string]: {
|
|
58
|
-
payment: Payment
|
|
59
|
-
amount: Amount<AssetKind>;
|
|
58
|
+
payment: globalThis.Payment;
|
|
59
|
+
amount: globalThis.Amount<globalThis.AssetKind>;
|
|
60
60
|
};
|
|
61
61
|
}>;
|
|
62
62
|
export function poolRates(issuerName: string, record: (typeof AMMDemoState)['ATOM'], kits: Record<string, {
|
|
63
|
-
issuer: ERef<Issuer
|
|
63
|
+
issuer: ERef<globalThis.Issuer>;
|
|
64
64
|
brand: Brand;
|
|
65
65
|
}>, central: {
|
|
66
|
-
issuer: ERef<Issuer<"nat">>;
|
|
66
|
+
issuer: ERef<globalThis.Issuer<"nat">>;
|
|
67
67
|
brand: Brand<'nat'>;
|
|
68
68
|
}): {
|
|
69
69
|
rates: {
|
|
70
|
-
debtLimit: Amount<"nat">;
|
|
70
|
+
debtLimit: globalThis.Amount<"nat">;
|
|
71
71
|
initialPrice: Ratio;
|
|
72
72
|
initialMargin: Ratio;
|
|
73
73
|
liquidationMargin: Ratio;
|
|
@@ -80,7 +80,7 @@ export function poolRates(issuerName: string, record: (typeof AMMDemoState)['ATO
|
|
|
80
80
|
};
|
|
81
81
|
export type Rational = readonly [bigint, bigint];
|
|
82
82
|
export type UserPaymentRecord = {
|
|
83
|
-
issuer: ERef<Issuer
|
|
83
|
+
issuer: ERef<globalThis.Issuer>;
|
|
84
84
|
issuerPetname: string;
|
|
85
85
|
payment: Payment;
|
|
86
86
|
brand: Brand;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export function makeLogHooks(log: typeof console.log): PromiseSpaceHooks;
|
|
2
|
-
export function makeStoreHooks(store:
|
|
2
|
+
export function makeStoreHooks(store: MapStore<string, import('@endo/marshal').Passable>, log?: {
|
|
3
3
|
(...data: any[]): void;
|
|
4
4
|
(message?: any, ...optionalParams: any[]): void;
|
|
5
5
|
} | undefined): PromiseSpaceHooks;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promise-space.d.ts","sourceRoot":"","sources":["promise-space.js"],"names":[],"mappings":"AAoBO,kCAHI,OAAO,QAAQ,GAAG,GAChB,iBAAiB,CAS1B;AAUG;;;
|
|
1
|
+
{"version":3,"file":"promise-space.d.ts","sourceRoot":"","sources":["promise-space.js"],"names":[],"mappings":"AAoBO,kCAHI,OAAO,QAAQ,GAAG,GAChB,iBAAiB,CAS1B;AAUG,sCAJI,SAAS,MAAM,EAAE,OAAO,eAAe,EAAE,QAAQ,CAAC;;;gBAEhD,iBAAiB,CAkC7B;AAgBM;;;;;;;;;;;WALa,SAAS,MAAM,EAAE,GAAG,CAAC;4CA0GxC;;cAnLc,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI;qBACd,MAAM,qBAA2B,IAAI;eAC3C,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,MAAM,CAAC,KAAK,IAAI;aAC/C,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI"}
|
|
@@ -31,7 +31,7 @@ export const makeLogHooks = log =>
|
|
|
31
31
|
* Note: caller is responsible for synchronization in case of onResolve() called
|
|
32
32
|
* with a promise.
|
|
33
33
|
*
|
|
34
|
-
* @param {MapStore<string, Passable>} store
|
|
34
|
+
* @param {MapStore<string, import('@endo/marshal').Passable>} store
|
|
35
35
|
* @param {typeof console.log} [log]
|
|
36
36
|
* @returns {PromiseSpaceHooks}
|
|
37
37
|
*/
|
|
@@ -128,13 +128,13 @@ declare function startFactoryInstance(zoe: ERef<ZoeService>, inst: Installation<
|
|
|
128
128
|
walletBridgeManager?: ERef<import("../types.js").ScopedBridgeManager> | undefined;
|
|
129
129
|
walletReviver?: ERef<import("@agoric/smart-wallet/src/walletFactory.js").WalletReviver> | undefined;
|
|
130
130
|
}, baggage: import("@agoric/vat-data").Baggage) => Promise<{
|
|
131
|
-
creatorFacet: import("@endo/exo
|
|
131
|
+
creatorFacet: import("@endo/exo").Guarded<{
|
|
132
132
|
provideSmartWallet(address: string, bank: ERef<import("../vat-bank.js").Bank>, namesByAddressAdmin: ERef<import("../types.js").NameAdmin>): Promise<[wallet: {
|
|
133
133
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
134
|
-
getDepositFacet(): import("@endo/exo
|
|
135
|
-
receive(payment: Payment
|
|
134
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
135
|
+
receive(payment: globalThis.Payment): Promise<globalThis.Amount>;
|
|
136
136
|
}>;
|
|
137
|
-
getOffersFacet(): import("@endo/exo
|
|
137
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
138
138
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet.js").OfferSpec): Promise<void>;
|
|
139
139
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet.js").OfferId): Promise<void>;
|
|
140
140
|
}>;
|
|
@@ -153,12 +153,12 @@ declare function startFactoryInstance(zoe: ERef<ZoeService>, inst: Installation<
|
|
|
153
153
|
};
|
|
154
154
|
};
|
|
155
155
|
repairWalletForIncarnation2(key: any): void;
|
|
156
|
-
} & import("
|
|
156
|
+
} & import("../../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
157
157
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
158
|
-
getDepositFacet(): import("@endo/exo
|
|
159
|
-
receive(payment: Payment
|
|
158
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
159
|
+
receive(payment: globalThis.Payment): Promise<globalThis.Amount>;
|
|
160
160
|
}>;
|
|
161
|
-
getOffersFacet(): import("@endo/exo
|
|
161
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
162
162
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet.js").OfferSpec): Promise<void>;
|
|
163
163
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet.js").OfferId): Promise<void>;
|
|
164
164
|
}>;
|
|
@@ -179,10 +179,10 @@ declare function startFactoryInstance(zoe: ERef<ZoeService>, inst: Installation<
|
|
|
179
179
|
repairWalletForIncarnation2(key: any): void;
|
|
180
180
|
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
181
181
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
182
|
-
getDepositFacet(): import("@endo/exo
|
|
183
|
-
receive(payment: Payment
|
|
182
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
183
|
+
receive(payment: globalThis.Payment): Promise<globalThis.Amount>;
|
|
184
184
|
}>;
|
|
185
|
-
getOffersFacet(): import("@endo/exo
|
|
185
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
186
186
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet.js").OfferSpec): Promise<void>;
|
|
187
187
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet.js").OfferId): Promise<void>;
|
|
188
188
|
}>;
|
|
@@ -201,12 +201,12 @@ declare function startFactoryInstance(zoe: ERef<ZoeService>, inst: Installation<
|
|
|
201
201
|
};
|
|
202
202
|
};
|
|
203
203
|
repairWalletForIncarnation2(key: any): void;
|
|
204
|
-
} & import("
|
|
204
|
+
} & import("../../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
205
205
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
206
|
-
getDepositFacet(): import("@endo/exo
|
|
207
|
-
receive(payment: Payment
|
|
206
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
207
|
+
receive(payment: globalThis.Payment): Promise<globalThis.Amount>;
|
|
208
208
|
}>;
|
|
209
|
-
getOffersFacet(): import("@endo/exo
|
|
209
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
210
210
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet.js").OfferSpec): Promise<void>;
|
|
211
211
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet.js").OfferId): Promise<void>;
|
|
212
212
|
}>;
|
package/src/core/utils.d.ts
CHANGED
|
@@ -91,7 +91,7 @@ export function makeMyAddressNameAdminKit(address: string): {
|
|
|
91
91
|
nameHub: import("../types.js").NameHub;
|
|
92
92
|
myAddressNameAdmin: import("../types.js").MyAddressNameAdmin;
|
|
93
93
|
};
|
|
94
|
-
export function makeVatSpace(svc: ERef<import("@endo/exo
|
|
94
|
+
export function makeVatSpace(svc: ERef<import("@endo/exo").Guarded<{
|
|
95
95
|
waitForBundleCap(bundleID: any): any;
|
|
96
96
|
getBundleCap(bundleID: any): any;
|
|
97
97
|
getNamedBundleCap(name: any): any;
|
|
@@ -162,27 +162,27 @@ export function makeVatSpace(svc: ERef<import("@endo/exo/src/exo-makers.js").Gua
|
|
|
162
162
|
getNameHub: () => import("../types.js").NameHub;
|
|
163
163
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
164
164
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
165
|
-
provideInertBrand: (keyword: string, displayInfo: DisplayInfo
|
|
165
|
+
provideInertBrand: (keyword: string, displayInfo: globalThis.DisplayInfo) => any;
|
|
166
166
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
167
167
|
getNameHub: () => import("../types.js").NameHub;
|
|
168
168
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
169
169
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
170
|
-
provideInertBrand: (keyword: string, displayInfo: DisplayInfo
|
|
170
|
+
provideInertBrand: (keyword: string, displayInfo: globalThis.DisplayInfo) => any;
|
|
171
171
|
}>>;
|
|
172
172
|
board: Promise<{
|
|
173
|
-
getBoard: () => import("@endo/exo
|
|
173
|
+
getBoard: () => import("@endo/exo").Guarded<{
|
|
174
174
|
getId(value: any): string;
|
|
175
175
|
getValue(id: string): any;
|
|
176
176
|
lookup(...path: string[]): Promise<any>;
|
|
177
177
|
has(val: any): boolean;
|
|
178
178
|
ids(): string[];
|
|
179
|
-
getPublishingMarshaller(): import("@endo/exo
|
|
179
|
+
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
180
180
|
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
181
181
|
fromCapData(data: any): any;
|
|
182
182
|
serialize(data: any): import("@endo/marshal").CapData<string>;
|
|
183
183
|
unserialize(data: any): any;
|
|
184
184
|
}>;
|
|
185
|
-
getReadonlyMarshaller(): import("@endo/exo
|
|
185
|
+
getReadonlyMarshaller(): import("@endo/exo").Guarded<{
|
|
186
186
|
toCapData(val: any): import("@endo/marshal").CapData<string | null>;
|
|
187
187
|
fromCapData(data: any): any;
|
|
188
188
|
serialize(data: any): import("@endo/marshal").CapData<string | null>;
|
|
@@ -192,19 +192,19 @@ export function makeVatSpace(svc: ERef<import("@endo/exo/src/exo-makers.js").Gua
|
|
|
192
192
|
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>;
|
|
193
193
|
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>;
|
|
194
194
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
195
|
-
getBoard: () => import("@endo/exo
|
|
195
|
+
getBoard: () => import("@endo/exo").Guarded<{
|
|
196
196
|
getId(value: any): string;
|
|
197
197
|
getValue(id: string): any;
|
|
198
198
|
lookup(...path: string[]): Promise<any>;
|
|
199
199
|
has(val: any): boolean;
|
|
200
200
|
ids(): string[];
|
|
201
|
-
getPublishingMarshaller(): import("@endo/exo
|
|
201
|
+
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
202
202
|
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
203
203
|
fromCapData(data: any): any;
|
|
204
204
|
serialize(data: any): import("@endo/marshal").CapData<string>;
|
|
205
205
|
unserialize(data: any): any;
|
|
206
206
|
}>;
|
|
207
|
-
getReadonlyMarshaller(): import("@endo/exo
|
|
207
|
+
getReadonlyMarshaller(): import("@endo/exo").Guarded<{
|
|
208
208
|
toCapData(val: any): import("@endo/marshal").CapData<string | null>;
|
|
209
209
|
fromCapData(data: any): any;
|
|
210
210
|
serialize(data: any): import("@endo/marshal").CapData<string | null>;
|
package/src/ibc.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function prepareIBCConnectionHandler(zone: import('@agoric/base-zone').Zone): (args_0?: any, args_1?: any) => import("@endo/exo
|
|
1
|
+
export function prepareIBCConnectionHandler(zone: import('@agoric/base-zone').Zone): (args_0?: any, args_1?: any) => import("@endo/exo").Guarded<{
|
|
2
2
|
onOpen(conn: any, localAddr: any, remoteAddr: any, _handler: any): Promise<void>;
|
|
3
3
|
/**
|
|
4
4
|
* @param {Connection} _conn
|
|
@@ -25,7 +25,7 @@ export function prepareIBCProtocol(zone: import('@agoric/base-zone').Zone, power
|
|
|
25
25
|
protocolHandler: ProtocolHandler;
|
|
26
26
|
bridgeHandler: BridgeHandler;
|
|
27
27
|
} | {
|
|
28
|
-
protocolHandler: import("@endo/exo
|
|
28
|
+
protocolHandler: import("@endo/exo").Guarded<{
|
|
29
29
|
onCreate(impl: any, _protocolHandler: any): Promise<void>;
|
|
30
30
|
onInstantiate(): Promise<string>;
|
|
31
31
|
generatePortID(_localAddr: any, _protocolHandler: any): Promise<string>;
|
|
@@ -35,11 +35,11 @@ export function prepareIBCProtocol(zone: import('@agoric/base-zone').Zone, power
|
|
|
35
35
|
onListenRemove(_port: any, localAddr: any, _listenHandler: any): Promise<void>;
|
|
36
36
|
onRevoke(_port: any, localAddr: any, _protocolHandler: any): Promise<void>;
|
|
37
37
|
}>;
|
|
38
|
-
bridgeHandler: import("@endo/exo
|
|
38
|
+
bridgeHandler: import("@endo/exo").Guarded<{
|
|
39
39
|
fromBridge(obj: any): Promise<import("@agoric/vow").Vow<any> | undefined>;
|
|
40
40
|
}>;
|
|
41
41
|
};
|
|
42
|
-
export function prepareCallbacks(zone: import('@agoric/base-zone').Zone): (dibcBridgeManager: import("@agoric/vats").ScopedBridgeManager) => import("@endo/exo
|
|
42
|
+
export function prepareCallbacks(zone: import('@agoric/base-zone').Zone): (dibcBridgeManager: import("@agoric/vats").ScopedBridgeManager) => import("@endo/exo").Guarded<{
|
|
43
43
|
downcall(method: any, obj: any): Promise<any>;
|
|
44
44
|
}>;
|
|
45
45
|
export type IBCPortID = string;
|
package/src/lib-board.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export const DEFAULT_PREFIX: "board0";
|
|
|
4
4
|
export function prepareBoardKit(baggage: import('@agoric/vat-data').Baggage): (initSequence?: number | bigint | undefined, args_1?: {
|
|
5
5
|
prefix?: string | undefined;
|
|
6
6
|
crcDigits?: number | undefined;
|
|
7
|
-
} | undefined) => import("@endo/exo
|
|
7
|
+
} | undefined) => import("@endo/exo").GuardedKit<{
|
|
8
8
|
board: {
|
|
9
9
|
/**
|
|
10
10
|
* Provide an ID for a value, generating one if not already present.
|
|
@@ -44,7 +44,7 @@ export function prepareBoardKit(baggage: import('@agoric/vat-data').Baggage): (i
|
|
|
44
44
|
* Get a marshaller that implements the convertValToSlot hook using
|
|
45
45
|
* getId(), "publishing" previously un-mapped objects.
|
|
46
46
|
*/
|
|
47
|
-
getPublishingMarshaller(): import("@endo/exo
|
|
47
|
+
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
48
48
|
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
49
49
|
fromCapData(data: any): any;
|
|
50
50
|
serialize(data: any): import("@endo/marshal").CapData<string>;
|
|
@@ -58,7 +58,7 @@ export function prepareBoardKit(baggage: import('@agoric/vat-data').Baggage): (i
|
|
|
58
58
|
* Un-serializing a null slot always produces a fresh object rather than
|
|
59
59
|
* preserving object identity.
|
|
60
60
|
*/
|
|
61
|
-
getReadonlyMarshaller(): import("@endo/exo
|
|
61
|
+
getReadonlyMarshaller(): import("@endo/exo").Guarded<{
|
|
62
62
|
toCapData(val: any): import("@endo/marshal").CapData<string | null>;
|
|
63
63
|
fromCapData(data: any): any;
|
|
64
64
|
serialize(data: any): import("@endo/marshal").CapData<string | null>;
|
package/src/localchain.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export const LocalChainAdminI: import("@endo/patterns").InterfaceGuard<{
|
|
|
17
17
|
setPower: import("@endo/patterns").MethodGuard;
|
|
18
18
|
}>;
|
|
19
19
|
export function prepareLocalChainTools(zone: import('@agoric/base-zone').Zone): {
|
|
20
|
-
makeLocalChain: (initialPowers?: Partial<LocalChainPowers> | undefined) => import("@endo/exo
|
|
20
|
+
makeLocalChain: (initialPowers?: Partial<LocalChainPowers> | undefined) => import("@endo/exo").GuardedKit<{
|
|
21
21
|
admin: {
|
|
22
22
|
/**
|
|
23
23
|
* @template {keyof LocalChainPowers} K
|
|
@@ -33,7 +33,7 @@ export function prepareLocalChainTools(zone: import('@agoric/base-zone').Zone):
|
|
|
33
33
|
* x/vlocalchain/keeper/keeper.go AllocateAddress for the use of the app
|
|
34
34
|
* hash and block data hash.
|
|
35
35
|
*/
|
|
36
|
-
createAccount(): Promise<import("@endo/exo
|
|
36
|
+
createAccount(): Promise<import("@endo/exo").Guarded<{
|
|
37
37
|
getAddress(): Promise<string>;
|
|
38
38
|
/**
|
|
39
39
|
* Deposit a payment into the bank purse that matches the alleged brand.
|
|
@@ -42,7 +42,7 @@ export function prepareLocalChainTools(zone: import('@agoric/base-zone').Zone):
|
|
|
42
42
|
*
|
|
43
43
|
* @param {Payment} payment
|
|
44
44
|
*/
|
|
45
|
-
deposit(payment: Payment): Promise<Amount<AssetKind>>;
|
|
45
|
+
deposit(payment: Payment): Promise<globalThis.Amount<globalThis.AssetKind>>;
|
|
46
46
|
/**
|
|
47
47
|
* @param {Proto3Jsonable[]} messages
|
|
48
48
|
* @returns {Promise<Proto3Jsonable[]>}
|
|
@@ -87,7 +87,7 @@ export type LocalChainTools = ReturnType<typeof prepareLocalChainTools>;
|
|
|
87
87
|
export type LocalChainKit = ReturnType<LocalChainTools['makeLocalChain']>;
|
|
88
88
|
export type LocalChain = LocalChainKit['public'];
|
|
89
89
|
/** @param {import('@agoric/base-zone').Zone} zone */
|
|
90
|
-
declare function prepareLocalChainAccount(zone: import('@agoric/base-zone').Zone): (address: string, powers: PowerStore) => import("@endo/exo
|
|
90
|
+
declare function prepareLocalChainAccount(zone: import('@agoric/base-zone').Zone): (address: string, powers: PowerStore) => import("@endo/exo").Guarded<{
|
|
91
91
|
getAddress(): Promise<string>;
|
|
92
92
|
/**
|
|
93
93
|
* Deposit a payment into the bank purse that matches the alleged brand.
|
|
@@ -96,7 +96,7 @@ declare function prepareLocalChainAccount(zone: import('@agoric/base-zone').Zone
|
|
|
96
96
|
*
|
|
97
97
|
* @param {Payment} payment
|
|
98
98
|
*/
|
|
99
|
-
deposit(payment: Payment): Promise<Amount<AssetKind>>;
|
|
99
|
+
deposit(payment: Payment): Promise<globalThis.Amount<globalThis.AssetKind>>;
|
|
100
100
|
/**
|
|
101
101
|
* @param {Proto3Jsonable[]} messages
|
|
102
102
|
* @returns {Promise<Proto3Jsonable[]>}
|
package/src/mintHolder.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/** @type {ContractMeta} */
|
|
2
2
|
export const meta: ContractMeta;
|
|
3
|
-
export function start<K extends AssetKind>(zcf: ZCF<IssuerInfo<K>>, _privateArgs: undefined, instanceBaggage: Baggage): {
|
|
4
|
-
publicFacet: Issuer<K>;
|
|
5
|
-
creatorFacet: Mint<K>;
|
|
3
|
+
export function start<K extends globalThis.AssetKind>(zcf: ZCF<IssuerInfo<K>>, _privateArgs: undefined, instanceBaggage: Baggage): {
|
|
4
|
+
publicFacet: globalThis.Issuer<K>;
|
|
5
|
+
creatorFacet: globalThis.Mint<K>;
|
|
6
6
|
};
|
|
7
7
|
/**
|
|
8
8
|
* <K>
|
|
9
9
|
*/
|
|
10
|
-
export type IssuerInfo<K extends AssetKind> = {
|
|
10
|
+
export type IssuerInfo<K extends globalThis.AssetKind> = {
|
|
11
11
|
keyword: string;
|
|
12
12
|
assetKind: K;
|
|
13
13
|
displayInfo: DisplayInfo;
|
package/src/mintHolder.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintHolder.d.ts","sourceRoot":"","sources":["mintHolder.js"],"names":[],"mappings":"AA2BA,2BAA2B;AAC3B,mBADW,YAAY,CAGrB;AAYK,
|
|
1
|
+
{"version":3,"file":"mintHolder.d.ts","sourceRoot":"","sources":["mintHolder.js"],"names":[],"mappings":"AA2BA,2BAA2B;AAC3B,mBADW,YAAY,CAGrB;AAYK,6FAHI,SAAS;;;EAUnB;;;;yDAvCY;IACZ,OAAW,EAAE,MAAM,CAAC;IACpB,SAAa,EAAE,CAAC,CAAC;IACjB,WAAe,EAAE,WAAW,CAAC;CAC1B;6BAVuB,kBAAkB"}
|
package/src/nameHub.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export namespace NameHubIKit {
|
|
|
18
18
|
readonly: import("@endo/patterns").MethodGuard;
|
|
19
19
|
}>;
|
|
20
20
|
}
|
|
21
|
-
export function prepareMixinMyAddress(zone: import('@agoric/zone').Zone): (nameAdmin: import('./types.js').NameAdmin, address: string) => import("@endo/exo
|
|
21
|
+
export function prepareMixinMyAddress(zone: import('@agoric/zone').Zone): (nameAdmin: import('./types.js').NameAdmin, address: string) => import("@endo/exo").Farable<import("./types.js").MyAddressNameAdmin>;
|
|
22
22
|
export function prepareNameHubKit(zone: import('@agoric/zone').Zone): () => import('./types.js').NameHubKit;
|
|
23
23
|
/**
|
|
24
24
|
* Make two facets of a node in a name hierarchy: the nameHub is read access and
|
package/src/nameHub.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nameHub.d.ts","sourceRoot":"","sources":["nameHub.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AA8CO,4CADK,OAAO,cAAc,EAAE,IAAI,eA4B1B,OAAO,YAAY,EAAE,SAAS,WAC9B,MAAM,
|
|
1
|
+
{"version":3,"file":"nameHub.d.ts","sourceRoot":"","sources":["nameHub.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AA8CO,4CADK,OAAO,cAAc,EAAE,IAAI,eA4B1B,OAAO,YAAY,EAAE,SAAS,WAC9B,MAAM,0EAalB;AA4CM,wCAFI,OAAO,cAAc,EAAE,IAAI,SAcnB,OAAO,YAAY,EAAE,UAAU,CA0NjD;AAED;;;;;GAKG;AACH,mCAlOmB,OAAO,YAAY,EAAE,UAAU,CAkOc;2BAvRlD;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE"}
|
|
@@ -60,14 +60,14 @@ export function getManifestForLocalChain(_powers: any, { localchainRef }: {
|
|
|
60
60
|
};
|
|
61
61
|
export type LocalChainVats = {
|
|
62
62
|
localchain: ERef<{
|
|
63
|
-
makeLocalChain(initialPowers?: Partial<import("../localchain.js").LocalChainPowers> | undefined): import("@endo/exo
|
|
63
|
+
makeLocalChain(initialPowers?: Partial<import("../localchain.js").LocalChainPowers> | undefined): import("@endo/exo").GuardedKit<{
|
|
64
64
|
admin: {
|
|
65
65
|
setPower<K extends keyof import("../localchain.js").LocalChainPowers>(name: K, power?: import("../localchain.js").LocalChainPowers[K] | undefined): void;
|
|
66
66
|
};
|
|
67
67
|
public: {
|
|
68
|
-
createAccount(): Promise<import("@endo/exo
|
|
68
|
+
createAccount(): Promise<import("@endo/exo").Guarded<{
|
|
69
69
|
getAddress(): Promise<string>;
|
|
70
|
-
deposit(payment: Payment
|
|
70
|
+
deposit(payment: globalThis.Payment): Promise<globalThis.Amount<globalThis.AssetKind>>;
|
|
71
71
|
executeTx(messages: import("../localchain.js").Proto3Jsonable[]): Promise<import("../localchain.js").Proto3Jsonable[]>;
|
|
72
72
|
}>>;
|
|
73
73
|
query(request: import("../localchain.js").Proto3Jsonable): Promise<import("../localchain.js").Proto3Jsonable>;
|
|
@@ -78,14 +78,14 @@ export type LocalChainVats = {
|
|
|
78
78
|
};
|
|
79
79
|
}>;
|
|
80
80
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
81
|
-
makeLocalChain(initialPowers?: Partial<import("../localchain.js").LocalChainPowers> | undefined): import("@endo/exo
|
|
81
|
+
makeLocalChain(initialPowers?: Partial<import("../localchain.js").LocalChainPowers> | undefined): import("@endo/exo").GuardedKit<{
|
|
82
82
|
admin: {
|
|
83
83
|
setPower<K extends keyof import("../localchain.js").LocalChainPowers>(name: K, power?: import("../localchain.js").LocalChainPowers[K] | undefined): void;
|
|
84
84
|
};
|
|
85
85
|
public: {
|
|
86
|
-
createAccount(): Promise<import("@endo/exo
|
|
86
|
+
createAccount(): Promise<import("@endo/exo").Guarded<{
|
|
87
87
|
getAddress(): Promise<string>;
|
|
88
|
-
deposit(payment: Payment
|
|
88
|
+
deposit(payment: globalThis.Payment): Promise<globalThis.Amount<globalThis.AssetKind>>;
|
|
89
89
|
executeTx(messages: import("../localchain.js").Proto3Jsonable[]): Promise<import("../localchain.js").Proto3Jsonable[]>;
|
|
90
90
|
}>>;
|
|
91
91
|
query(request: import("../localchain.js").Proto3Jsonable): Promise<import("../localchain.js").Proto3Jsonable>;
|
|
@@ -268,7 +268,7 @@ export function upgradeZoe({ consume: { vatAdminSvc, vatStore } }: WellKnownSpac
|
|
|
268
268
|
nameHub: import("../types").NameHub;
|
|
269
269
|
myAddressNameAdmin: import("../types").MyAddressNameAdmin;
|
|
270
270
|
};
|
|
271
|
-
makeVatSpace: (svc: ERef<import("@endo/exo
|
|
271
|
+
makeVatSpace: (svc: ERef<import("@endo/exo").Guarded<{
|
|
272
272
|
waitForBundleCap(bundleID: any): any;
|
|
273
273
|
getBundleCap(bundleID: any): any;
|
|
274
274
|
getNamedBundleCap(name: any): any;
|
|
@@ -339,27 +339,27 @@ export function upgradeZoe({ consume: { vatAdminSvc, vatStore } }: WellKnownSpac
|
|
|
339
339
|
getNameHub: () => import("../types").NameHub;
|
|
340
340
|
getNameHubKit: () => import("../types").NameHubKit;
|
|
341
341
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
342
|
-
provideInertBrand: (keyword: string, displayInfo: DisplayInfo
|
|
342
|
+
provideInertBrand: (keyword: string, displayInfo: globalThis.DisplayInfo) => any;
|
|
343
343
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
344
344
|
getNameHub: () => import("../types").NameHub;
|
|
345
345
|
getNameHubKit: () => import("../types").NameHubKit;
|
|
346
346
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
347
|
-
provideInertBrand: (keyword: string, displayInfo: DisplayInfo
|
|
347
|
+
provideInertBrand: (keyword: string, displayInfo: globalThis.DisplayInfo) => any;
|
|
348
348
|
}>>;
|
|
349
349
|
board: Promise<{
|
|
350
|
-
getBoard: () => import("@endo/exo
|
|
350
|
+
getBoard: () => import("@endo/exo").Guarded<{
|
|
351
351
|
getId(value: any): string;
|
|
352
352
|
getValue(id: string): any;
|
|
353
353
|
lookup(...path: string[]): Promise<any>;
|
|
354
354
|
has(val: any): boolean;
|
|
355
355
|
ids(): string[];
|
|
356
|
-
getPublishingMarshaller(): import("@endo/exo
|
|
356
|
+
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
357
357
|
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
358
358
|
fromCapData(data: any): any;
|
|
359
359
|
serialize(data: any): import("@endo/marshal").CapData<string>;
|
|
360
360
|
unserialize(data: any): any;
|
|
361
361
|
}>;
|
|
362
|
-
getReadonlyMarshaller(): import("@endo/exo
|
|
362
|
+
getReadonlyMarshaller(): import("@endo/exo").Guarded<{
|
|
363
363
|
toCapData(val: any): import("@endo/marshal").CapData<string | null>;
|
|
364
364
|
fromCapData(data: any): any;
|
|
365
365
|
serialize(data: any): import("@endo/marshal").CapData<string | null>;
|
|
@@ -369,19 +369,19 @@ export function upgradeZoe({ consume: { vatAdminSvc, vatStore } }: WellKnownSpac
|
|
|
369
369
|
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").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport").RecorderKit<T>;
|
|
370
370
|
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").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport").RecorderKit<T>;
|
|
371
371
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
372
|
-
getBoard: () => import("@endo/exo
|
|
372
|
+
getBoard: () => import("@endo/exo").Guarded<{
|
|
373
373
|
getId(value: any): string;
|
|
374
374
|
getValue(id: string): any;
|
|
375
375
|
lookup(...path: string[]): Promise<any>;
|
|
376
376
|
has(val: any): boolean;
|
|
377
377
|
ids(): string[];
|
|
378
|
-
getPublishingMarshaller(): import("@endo/exo
|
|
378
|
+
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
379
379
|
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
380
380
|
fromCapData(data: any): any;
|
|
381
381
|
serialize(data: any): import("@endo/marshal").CapData<string>;
|
|
382
382
|
unserialize(data: any): any;
|
|
383
383
|
}>;
|
|
384
|
-
getReadonlyMarshaller(): import("@endo/exo
|
|
384
|
+
getReadonlyMarshaller(): import("@endo/exo").Guarded<{
|
|
385
385
|
toCapData(val: any): import("@endo/marshal").CapData<string | null>;
|
|
386
386
|
fromCapData(data: any): any;
|
|
387
387
|
serialize(data: any): import("@endo/marshal").CapData<string | null>;
|
|
@@ -268,7 +268,7 @@ export function upgradeZcf({ consume: { vatAdminSvc, vatStore } }: WellKnownSpac
|
|
|
268
268
|
nameHub: import("../types").NameHub;
|
|
269
269
|
myAddressNameAdmin: import("../types").MyAddressNameAdmin;
|
|
270
270
|
};
|
|
271
|
-
makeVatSpace: (svc: ERef<import("@endo/exo
|
|
271
|
+
makeVatSpace: (svc: ERef<import("@endo/exo").Guarded<{
|
|
272
272
|
waitForBundleCap(bundleID: any): any;
|
|
273
273
|
getBundleCap(bundleID: any): any;
|
|
274
274
|
getNamedBundleCap(name: any): any;
|
|
@@ -339,27 +339,27 @@ export function upgradeZcf({ consume: { vatAdminSvc, vatStore } }: WellKnownSpac
|
|
|
339
339
|
getNameHub: () => import("../types").NameHub;
|
|
340
340
|
getNameHubKit: () => import("../types").NameHubKit;
|
|
341
341
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
342
|
-
provideInertBrand: (keyword: string, displayInfo: DisplayInfo
|
|
342
|
+
provideInertBrand: (keyword: string, displayInfo: globalThis.DisplayInfo) => any;
|
|
343
343
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
344
344
|
getNameHub: () => import("../types").NameHub;
|
|
345
345
|
getNameHubKit: () => import("../types").NameHubKit;
|
|
346
346
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
347
|
-
provideInertBrand: (keyword: string, displayInfo: DisplayInfo
|
|
347
|
+
provideInertBrand: (keyword: string, displayInfo: globalThis.DisplayInfo) => any;
|
|
348
348
|
}>>;
|
|
349
349
|
board: Promise<{
|
|
350
|
-
getBoard: () => import("@endo/exo
|
|
350
|
+
getBoard: () => import("@endo/exo").Guarded<{
|
|
351
351
|
getId(value: any): string;
|
|
352
352
|
getValue(id: string): any;
|
|
353
353
|
lookup(...path: string[]): Promise<any>;
|
|
354
354
|
has(val: any): boolean;
|
|
355
355
|
ids(): string[];
|
|
356
|
-
getPublishingMarshaller(): import("@endo/exo
|
|
356
|
+
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
357
357
|
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
358
358
|
fromCapData(data: any): any;
|
|
359
359
|
serialize(data: any): import("@endo/marshal").CapData<string>;
|
|
360
360
|
unserialize(data: any): any;
|
|
361
361
|
}>;
|
|
362
|
-
getReadonlyMarshaller(): import("@endo/exo
|
|
362
|
+
getReadonlyMarshaller(): import("@endo/exo").Guarded<{
|
|
363
363
|
toCapData(val: any): import("@endo/marshal").CapData<string | null>;
|
|
364
364
|
fromCapData(data: any): any;
|
|
365
365
|
serialize(data: any): import("@endo/marshal").CapData<string | null>;
|
|
@@ -369,19 +369,19 @@ export function upgradeZcf({ consume: { vatAdminSvc, vatStore } }: WellKnownSpac
|
|
|
369
369
|
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").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport").RecorderKit<T>;
|
|
370
370
|
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").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport").RecorderKit<T>;
|
|
371
371
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
372
|
-
getBoard: () => import("@endo/exo
|
|
372
|
+
getBoard: () => import("@endo/exo").Guarded<{
|
|
373
373
|
getId(value: any): string;
|
|
374
374
|
getValue(id: string): any;
|
|
375
375
|
lookup(...path: string[]): Promise<any>;
|
|
376
376
|
has(val: any): boolean;
|
|
377
377
|
ids(): string[];
|
|
378
|
-
getPublishingMarshaller(): import("@endo/exo
|
|
378
|
+
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
379
379
|
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
380
380
|
fromCapData(data: any): any;
|
|
381
381
|
serialize(data: any): import("@endo/marshal").CapData<string>;
|
|
382
382
|
unserialize(data: any): any;
|
|
383
383
|
}>;
|
|
384
|
-
getReadonlyMarshaller(): import("@endo/exo
|
|
384
|
+
getReadonlyMarshaller(): import("@endo/exo").Guarded<{
|
|
385
385
|
toCapData(val: any): import("@endo/marshal").CapData<string | null>;
|
|
386
386
|
fromCapData(data: any): any;
|
|
387
387
|
serialize(data: any): import("@endo/marshal").CapData<string | null>;
|