@agoric/vats 0.15.2-dev-fbd8633.0 → 0.15.2-dev-a2c6d29.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.
Files changed (45) hide show
  1. package/package.json +16 -16
  2. package/src/core/basic-behaviors.d.ts +6 -1108
  3. package/src/core/basic-behaviors.d.ts.map +1 -1
  4. package/src/core/boot-chain.d.ts +58 -1142
  5. package/src/core/boot-chain.d.ts.map +1 -1
  6. package/src/core/boot-sim.d.ts +1 -1
  7. package/src/core/boot-solo.d.ts +1 -1
  8. package/src/core/chain-behaviors.d.ts +8 -395
  9. package/src/core/chain-behaviors.d.ts.map +1 -1
  10. package/src/core/demoIssuers.d.ts +4 -4
  11. package/src/core/demoIssuers.d.ts.map +1 -1
  12. package/src/core/promise-space.d.ts +1 -1
  13. package/src/core/promise-space.d.ts.map +1 -1
  14. package/src/core/startWalletFactory.d.ts +18 -18
  15. package/src/core/startWalletFactory.d.ts.map +1 -1
  16. package/src/core/utils.d.ts +2 -66
  17. package/src/core/utils.d.ts.map +1 -1
  18. package/src/ibc.d.ts +12 -29
  19. package/src/ibc.d.ts.map +1 -1
  20. package/src/ibc.js +6 -2
  21. package/src/priceAuthorityRegistry.d.ts.map +1 -1
  22. package/src/proposals/localchain-proposal.d.ts +1 -49
  23. package/src/proposals/localchain-proposal.d.ts.map +1 -1
  24. package/src/proposals/network-proposal.d.ts +1 -1
  25. package/src/proposals/network-proposal.d.ts.map +1 -1
  26. package/src/proposals/network-proposal.js +5 -0
  27. package/src/proposals/upgrade-zoe-proposal.d.ts +12 -116
  28. package/src/proposals/upgrade-zoe-proposal.d.ts.map +1 -1
  29. package/src/proposals/zcf-proposal.d.ts +12 -116
  30. package/src/proposals/zcf-proposal.d.ts.map +1 -1
  31. package/src/vat-agoricNames.d.ts.map +1 -1
  32. package/src/vat-bank.d.ts +81 -143
  33. package/src/vat-bank.d.ts.map +1 -1
  34. package/src/vat-bridge.d.ts +4 -4
  35. package/src/vat-bridge.d.ts.map +1 -1
  36. package/src/vat-ibc.d.ts +2 -30
  37. package/src/vat-ibc.d.ts.map +1 -1
  38. package/src/vat-network.d.ts +65 -16
  39. package/src/vat-network.d.ts.map +1 -1
  40. package/src/vat-priceAuthority.d.ts +1 -1
  41. package/src/vat-priceAuthority.d.ts.map +1 -1
  42. package/src/vat-provisioning.d.ts.map +1 -1
  43. package/src/virtual-purse.d.ts +20 -20
  44. package/src/virtual-purse.d.ts.map +1 -1
  45. package/tools/bank-utils.d.ts +1 -1
package/src/vat-bank.d.ts CHANGED
@@ -6,7 +6,7 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
6
6
  * @param {ERef<{ update: import('./types.js').NameAdmin['update'] }>} [nameAdminP]
7
7
  * update facet of a NameAdmin; see addAsset() for detail.
8
8
  */
9
- makeBankManager(bankBridgeManagerP?: ERef<import("./types.js").ScopedBridgeManager | undefined>, nameAdminP?: ERef<{
9
+ makeBankManager(bankBridgeManagerP?: ERef<import("./types.js").ScopedBridgeManager | undefined>, nameAdminP?: globalThis.ERef<{
10
10
  update: import("./types.js").NameAdmin["update"];
11
11
  }> | undefined): Promise<import("@endo/exo").Guarded<{
12
12
  /**
@@ -24,17 +24,7 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
24
24
  * >
25
25
  * >}
26
26
  */
27
- getRewardDistributorDepositFacet(denom: string, feeKit: AssetIssuerKit): ERef<{
28
- /**
29
- * Deposit all the contents of payment
30
- * into the purse that made this facet, returning the amount. If the optional
31
- * argument `optAmount` does not equal the amount of digital assets in the
32
- * payment, throw an error.
33
- *
34
- * If payment is a promise, throw an error.
35
- */
36
- receive: (args_0: globalThis.Payment, args_1?: any) => ERef<globalThis.Amount>;
37
- }>;
27
+ getRewardDistributorDepositFacet(denom: string, feeKit: AssetIssuerKit): ERef<import("@endo/far").EOnly<import("@agoric/ertp/exported.js").DepositFacet>>;
38
28
  /**
39
29
  * Get the address of named module account.
40
30
  *
@@ -56,8 +46,8 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
56
46
  * @param {AssetIssuerKit & { payment?: ERef<Payment> }} kit ERTP issuer
57
47
  * kit (mint, brand, issuer)
58
48
  */
59
- addAsset(denom: string, issuerName: string, proposedName: string, kit: AssetIssuerKit<globalThis.AssetKind> & {
60
- payment?: ERef<globalThis.Payment> | undefined;
49
+ addAsset(denom: string, issuerName: string, proposedName: string, kit: AssetIssuerKit & {
50
+ payment?: ERef<Payment>;
61
51
  }): Promise<void>;
62
52
  /**
63
53
  * Create a new personal bank interface for a given address.
@@ -75,7 +65,7 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
75
65
  * @param {ERef<{ update: import('./types.js').NameAdmin['update'] }>} [nameAdminP]
76
66
  * update facet of a NameAdmin; see addAsset() for detail.
77
67
  */
78
- makeBankManager(bankBridgeManagerP?: ERef<import("./types.js").ScopedBridgeManager | undefined>, nameAdminP?: ERef<{
68
+ makeBankManager(bankBridgeManagerP?: ERef<import("./types.js").ScopedBridgeManager | undefined>, nameAdminP?: globalThis.ERef<{
79
69
  update: import("./types.js").NameAdmin["update"];
80
70
  }> | undefined): Promise<import("@endo/exo").Guarded<{
81
71
  /**
@@ -93,25 +83,7 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
93
83
  * >
94
84
  * >}
95
85
  */
96
- getRewardDistributorDepositFacet(denom: string, feeKit: AssetIssuerKit): ERef<{
97
- /**
98
- * Deposit all the contents of payment
99
- * into the purse that made this facet, returning the amount. If the optional
100
- * argument `optAmount` does not equal the amount of digital assets in the
101
- * payment, throw an error.
102
- *
103
- * If payment is a promise, throw an error.
104
- */
105
- /**
106
- * Deposit all the contents of payment
107
- * into the purse that made this facet, returning the amount. If the optional
108
- * argument `optAmount` does not equal the amount of digital assets in the
109
- * payment, throw an error.
110
- *
111
- * If payment is a promise, throw an error.
112
- */
113
- receive: (args_0: globalThis.Payment, args_1?: any) => ERef<globalThis.Amount>;
114
- }>;
86
+ getRewardDistributorDepositFacet(denom: string, feeKit: AssetIssuerKit): ERef<import("@endo/far").EOnly<import("@agoric/ertp/exported.js").DepositFacet>>;
115
87
  /**
116
88
  * Get the address of named module account.
117
89
  *
@@ -133,8 +105,8 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
133
105
  * @param {AssetIssuerKit & { payment?: ERef<Payment> }} kit ERTP issuer
134
106
  * kit (mint, brand, issuer)
135
107
  */
136
- addAsset(denom: string, issuerName: string, proposedName: string, kit: AssetIssuerKit<globalThis.AssetKind> & {
137
- payment?: ERef<globalThis.Payment> | undefined;
108
+ addAsset(denom: string, issuerName: string, proposedName: string, kit: AssetIssuerKit & {
109
+ payment?: ERef<Payment>;
138
110
  }): Promise<void>;
139
111
  /**
140
112
  * Create a new personal bank interface for a given address.
@@ -177,17 +149,17 @@ export type BalanceUpdater = {
177
149
  };
178
150
  export type BridgeChannel = Pick<import("./types.js").ScopedBridgeManager, "fromBridge" | "toBridge">;
179
151
  export type AssetIssuerKit<K extends globalThis.AssetKind = globalThis.AssetKind> = {
180
- mint?: ERef<globalThis.Mint<K>> | undefined;
181
- issuer: ERef<globalThis.Issuer<K>>;
152
+ mint?: globalThis.ERef<globalThis.Mint<K>> | undefined;
153
+ issuer: ERef<Issuer<K>>;
182
154
  brand: Brand<K>;
183
155
  };
184
- export type AssetRecord = AssetIssuerKit<globalThis.AssetKind> & {
156
+ export type AssetRecord = AssetIssuerKit & {
185
157
  denom: string;
186
- escrowPurse?: ERef<globalThis.Purse> | undefined;
158
+ escrowPurse?: ERef<Purse>;
187
159
  };
188
160
  export type AssetDescriptor = {
189
161
  brand: Brand;
190
- issuer: ERef<globalThis.Issuer>;
162
+ issuer: ERef<Issuer>;
191
163
  issuerName: string;
192
164
  denom: string;
193
165
  proposedName: string;
@@ -221,14 +193,14 @@ import { prepareVirtualPurse } from './virtual-purse.js';
221
193
  declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provideAssetSubscription, makeBank, makePublishKit, makeRewardPurseController, makeVirtualPurse, }: {
222
194
  provideAssetSubscription: ReturnType<(zone: import("@agoric/zone").Zone) => (brandToAssetDescriptor?: any, assetSubscriber?: any) => import("@endo/exo").Guarded<{
223
195
  subscribeAfter(publishCount?: bigint): any;
224
- [Symbol.asyncIterator](): ForkableAsyncIterableIterator<any, any, undefined>;
196
+ [Symbol.asyncIterator](): import("@agoric/notifier").ForkableAsyncIterableIterator<any, any>;
225
197
  }>>;
226
198
  makeBank: ReturnType<(zone: import("@agoric/zone").Zone, { provideAssetSubscription, makePublishKit, makeVirtualPurse }: {
227
199
  provideAssetSubscription: ReturnType<(zone: import("@agoric/zone").Zone) => (brandToAssetDescriptor?: any, assetSubscriber?: any) => import("@endo/exo").Guarded<{
228
200
  subscribeAfter(publishCount?: bigint): any;
229
- [Symbol.asyncIterator](): ForkableAsyncIterableIterator<any, any, undefined>;
201
+ [Symbol.asyncIterator](): import("@agoric/notifier").ForkableAsyncIterableIterator<any, any>;
230
202
  }>>;
231
- makePublishKit: ReturnType<(baggage: MapStore<string, any>, kindName: string) => (options?: {
203
+ makePublishKit: ReturnType<(baggage: import("@agoric/swingset-liveslots").Baggage, kindName: string) => (options?: {
232
204
  valueDurability?: "mandatory" | undefined;
233
205
  } | undefined) => import("@endo/exo").GuardedKit<{
234
206
  publisher: {
@@ -242,38 +214,38 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
242
214
  };
243
215
  }>>;
244
216
  makeVirtualPurse: ReturnType<(zone: import("@agoric/zone").Zone) => (vpc: ERef<VirtualPurseController>, { escrowPurse: defaultEscrowPurse, ...issuerKit }: {
245
- issuer: ERef<globalThis.Issuer>;
246
- brand: globalThis.Brand;
247
- mint?: ERef<globalThis.Mint> | undefined;
248
- escrowPurse?: ERef<globalThis.Purse> | undefined;
217
+ issuer: ERef<Issuer>;
218
+ brand: Brand;
219
+ mint?: ERef<Mint>;
220
+ escrowPurse?: ERef<Purse>;
249
221
  }) => Promise<{
250
222
  /**
251
223
  * Get the alleged Brand for this
252
224
  * Purse
253
225
  */
254
- getAllegedBrand: () => ERef<{
226
+ getAllegedBrand: () => globalThis.ERef<{
255
227
  /**
256
228
  * Should be used with `issuer.getBrand` to ensure an issuer and brand match.
257
229
  */
258
- isMyIssuer: (allegedIssuer: ERef<globalThis.Issuer>) => ERef<boolean>;
259
- getAllegedName: () => ERef<string>;
230
+ isMyIssuer: (allegedIssuer: globalThis.ERef<globalThis.Issuer>) => globalThis.ERef<boolean>;
231
+ getAllegedName: () => globalThis.ERef<string>;
260
232
  /**
261
233
  * Give information to UI on how
262
234
  * to display the amount.
263
235
  */
264
- getDisplayInfo: () => ERef<globalThis.DisplayInfo<globalThis.AssetKind>>;
236
+ getDisplayInfo: () => globalThis.ERef<globalThis.DisplayInfo<globalThis.AssetKind>>;
265
237
  getAmountShape: () => any;
266
238
  }>;
267
239
  /**
268
240
  * Get the amount contained in this
269
241
  * purse.
270
242
  */
271
- getCurrentAmount: () => ERef<globalThis.Amount<globalThis.AssetKind>>;
243
+ getCurrentAmount: () => globalThis.ERef<globalThis.Amount<globalThis.AssetKind>>;
272
244
  /**
273
245
  * Get a lossy
274
246
  * notifier for changes to this purse's balance.
275
247
  */
276
- getCurrentAmountNotifier: () => ERef<{
248
+ getCurrentAmountNotifier: () => globalThis.ERef<{
277
249
  /**
278
250
  * Returns a promise for an update record as of an update count.
279
251
  * If the `updateCount` argument is omitted or differs from the current update count,
@@ -284,7 +256,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
284
256
  * Used to make lossy ("latest") iterators.
285
257
  * NOTE: Use of `number` as an `updateCount` is deprecated.
286
258
  */
287
- getUpdateSince: (updateCount?: number | bigint | undefined) => ERef<UpdateRecord<globalThis.Amount<globalThis.AssetKind>>>;
259
+ getUpdateSince: (updateCount?: number | bigint | undefined) => globalThis.ERef<globalThis.UpdateRecord<globalThis.Amount<globalThis.AssetKind>>>;
288
260
  }>;
289
261
  /**
290
262
  * Deposit all the contents of payment into
@@ -293,20 +265,12 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
293
265
  *
294
266
  * If payment is a promise, throw an error.
295
267
  */
296
- deposit: (args_0: globalThis.Payment<globalThis.AssetKind>, args_1?: any) => ERef<globalThis.Amount<globalThis.AssetKind>>;
268
+ deposit: (args_0: globalThis.Payment<globalThis.AssetKind>, args_1?: any) => globalThis.ERef<globalThis.Amount<globalThis.AssetKind>>;
297
269
  /**
298
270
  * Return an object whose
299
271
  * `receive` method deposits to the current Purse.
300
272
  */
301
- getDepositFacet: () => ERef<{
302
- /**
303
- * Deposit all the contents of payment
304
- * into the purse that made this facet, returning the amount. If the optional
305
- * argument `optAmount` does not equal the amount of digital assets in the
306
- * payment, throw an error.
307
- *
308
- * If payment is a promise, throw an error.
309
- */
273
+ getDepositFacet: () => globalThis.ERef<{
310
274
  /**
311
275
  * Deposit all the contents of payment
312
276
  * into the purse that made this facet, returning the amount. If the optional
@@ -315,30 +279,30 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
315
279
  *
316
280
  * If payment is a promise, throw an error.
317
281
  */
318
- receive: (args_0: globalThis.Payment, args_1?: any) => ERef<globalThis.Amount>;
282
+ receive: (args_0: globalThis.Payment, args_1?: any) => globalThis.ERef<globalThis.Amount>;
319
283
  }>;
320
284
  /**
321
285
  * Withdraw amount from
322
286
  * this purse into a new Payment.
323
287
  */
324
- withdraw: (amount: globalThis.Amount<globalThis.AssetKind>) => ERef<{
288
+ withdraw: (amount: globalThis.Amount<globalThis.AssetKind>) => globalThis.ERef<{
325
289
  /**
326
290
  * Get the allegedBrand, indicating
327
291
  * the type of digital asset this payment purports to be, and which issuer to
328
292
  * use. Because payments are not trusted, any method calls on payments should
329
293
  * be treated with suspicion and verified elsewhere.
330
294
  */
331
- getAllegedBrand: () => ERef<{
295
+ getAllegedBrand: () => globalThis.ERef<{
332
296
  /**
333
297
  * Should be used with `issuer.getBrand` to ensure an issuer and brand match.
334
298
  */
335
- isMyIssuer: (allegedIssuer: ERef<globalThis.Issuer>) => ERef<boolean>;
336
- getAllegedName: () => ERef<string>;
299
+ isMyIssuer: (allegedIssuer: globalThis.ERef<globalThis.Issuer>) => globalThis.ERef<boolean>;
300
+ getAllegedName: () => globalThis.ERef<string>;
337
301
  /**
338
302
  * Give information to UI on how
339
303
  * to display the amount.
340
304
  */
341
- getDisplayInfo: () => ERef<globalThis.DisplayInfo<globalThis.AssetKind>>;
305
+ getDisplayInfo: () => globalThis.ERef<globalThis.DisplayInfo<globalThis.AssetKind>>;
342
306
  getAmountShape: () => any;
343
307
  }>;
344
308
  }>;
@@ -354,7 +318,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
354
318
  *
355
319
  * Returns an empty set if this issuer does not support recovery sets.
356
320
  */
357
- getRecoverySet: () => ERef<import("@endo/patterns").CopySet<globalThis.Payment<globalThis.AssetKind>>>;
321
+ getRecoverySet: () => globalThis.ERef<import("@endo/patterns").CopySet<globalThis.Payment<globalThis.AssetKind>>>;
358
322
  /**
359
323
  * For use in emergencies, such as coming
360
324
  * back from a traumatic crash and upgrade. This deposits all the payments in
@@ -363,7 +327,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
363
327
  *
364
328
  * Returns an empty amount if this issuer does not support recovery sets.
365
329
  */
366
- recoverAll: () => ERef<globalThis.Amount<globalThis.AssetKind>>;
330
+ recoverAll: () => globalThis.ERef<globalThis.Amount<globalThis.AssetKind>>;
367
331
  }>>;
368
332
  }) => (args_0: {
369
333
  address: string;
@@ -376,7 +340,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
376
340
  }) => import("@endo/exo").Guarded<{
377
341
  getAssetSubscription(): import("@endo/exo").Guarded<{
378
342
  subscribeAfter(publishCount?: bigint): any;
379
- [Symbol.asyncIterator](): ForkableAsyncIterableIterator<any, any, undefined>;
343
+ [Symbol.asyncIterator](): import("@agoric/notifier").ForkableAsyncIterableIterator<any, any>;
380
344
  }>;
381
345
  /** @param {Brand} brand */
382
346
  getPurse(brand: Brand): Promise<{
@@ -384,29 +348,29 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
384
348
  * Get the alleged Brand for this
385
349
  * Purse
386
350
  */
387
- getAllegedBrand: () => ERef<{
351
+ getAllegedBrand: () => globalThis.ERef<{
388
352
  /**
389
353
  * Should be used with `issuer.getBrand` to ensure an issuer and brand match.
390
354
  */
391
- isMyIssuer: (allegedIssuer: ERef<globalThis.Issuer>) => ERef<boolean>;
392
- getAllegedName: () => ERef<string>;
355
+ isMyIssuer: (allegedIssuer: globalThis.ERef<globalThis.Issuer>) => globalThis.ERef<boolean>;
356
+ getAllegedName: () => globalThis.ERef<string>;
393
357
  /**
394
358
  * Give information to UI on how
395
359
  * to display the amount.
396
360
  */
397
- getDisplayInfo: () => ERef<globalThis.DisplayInfo<globalThis.AssetKind>>;
361
+ getDisplayInfo: () => globalThis.ERef<globalThis.DisplayInfo<globalThis.AssetKind>>;
398
362
  getAmountShape: () => any;
399
363
  }>;
400
364
  /**
401
365
  * Get the amount contained in this
402
366
  * purse.
403
367
  */
404
- getCurrentAmount: () => ERef<globalThis.Amount<globalThis.AssetKind>>;
368
+ getCurrentAmount: () => globalThis.ERef<globalThis.Amount<globalThis.AssetKind>>;
405
369
  /**
406
370
  * Get a lossy
407
371
  * notifier for changes to this purse's balance.
408
372
  */
409
- getCurrentAmountNotifier: () => ERef<{
373
+ getCurrentAmountNotifier: () => globalThis.ERef<{
410
374
  /**
411
375
  * Returns a promise for an update record as of an update count.
412
376
  * If the `updateCount` argument is omitted or differs from the current update count,
@@ -417,7 +381,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
417
381
  * Used to make lossy ("latest") iterators.
418
382
  * NOTE: Use of `number` as an `updateCount` is deprecated.
419
383
  */
420
- getUpdateSince: (updateCount?: number | bigint | undefined) => ERef<UpdateRecord<globalThis.Amount<globalThis.AssetKind>>>;
384
+ getUpdateSince: (updateCount?: number | bigint | undefined) => globalThis.ERef<globalThis.UpdateRecord<globalThis.Amount<globalThis.AssetKind>>>;
421
385
  }>;
422
386
  /**
423
387
  * Deposit all the contents of payment into
@@ -426,12 +390,12 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
426
390
  *
427
391
  * If payment is a promise, throw an error.
428
392
  */
429
- deposit: (args_0: globalThis.Payment<globalThis.AssetKind>, args_1?: any) => ERef<globalThis.Amount<globalThis.AssetKind>>;
393
+ deposit: (args_0: globalThis.Payment<globalThis.AssetKind>, args_1?: any) => globalThis.ERef<globalThis.Amount<globalThis.AssetKind>>;
430
394
  /**
431
395
  * Return an object whose
432
396
  * `receive` method deposits to the current Purse.
433
397
  */
434
- getDepositFacet: () => ERef<{
398
+ getDepositFacet: () => globalThis.ERef<{
435
399
  /**
436
400
  * Deposit all the contents of payment
437
401
  * into the purse that made this facet, returning the amount. If the optional
@@ -440,28 +404,28 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
440
404
  *
441
405
  * If payment is a promise, throw an error.
442
406
  */
443
- receive: (args_0: globalThis.Payment, args_1?: any) => ERef<globalThis.Amount>;
407
+ receive: (args_0: globalThis.Payment, args_1?: any) => globalThis.ERef<globalThis.Amount>;
444
408
  }>;
445
409
  /**
446
410
  * Withdraw amount from
447
411
  * this purse into a new Payment.
448
412
  */
449
- withdraw: (amount: globalThis.Amount<globalThis.AssetKind>) => ERef<{
413
+ withdraw: (amount: globalThis.Amount<globalThis.AssetKind>) => globalThis.ERef<{
450
414
  /**
451
415
  * Get the allegedBrand, indicating
452
416
  * the type of digital asset this payment purports to be, and which issuer to
453
417
  * use. Because payments are not trusted, any method calls on payments should
454
418
  * be treated with suspicion and verified elsewhere.
455
419
  */
456
- getAllegedBrand: () => ERef<{
420
+ getAllegedBrand: () => globalThis.ERef<{
457
421
  /**
458
422
  * Should be used with `issuer.getBrand` to ensure an issuer and brand match.
459
423
  */
460
424
  /**
461
425
  * Should be used with `issuer.getBrand` to ensure an issuer and brand match.
462
426
  */
463
- isMyIssuer: (allegedIssuer: ERef<globalThis.Issuer>) => ERef<boolean>;
464
- getAllegedName: () => ERef<string>;
427
+ isMyIssuer: (allegedIssuer: globalThis.ERef<globalThis.Issuer>) => globalThis.ERef<boolean>;
428
+ getAllegedName: () => globalThis.ERef<string>;
465
429
  /**
466
430
  * Give information to UI on how
467
431
  * to display the amount.
@@ -470,7 +434,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
470
434
  * Give information to UI on how
471
435
  * to display the amount.
472
436
  */
473
- getDisplayInfo: () => ERef<globalThis.DisplayInfo<globalThis.AssetKind>>;
437
+ getDisplayInfo: () => globalThis.ERef<globalThis.DisplayInfo<globalThis.AssetKind>>;
474
438
  getAmountShape: () => any;
475
439
  }>;
476
440
  }>;
@@ -486,7 +450,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
486
450
  *
487
451
  * Returns an empty set if this issuer does not support recovery sets.
488
452
  */
489
- getRecoverySet: () => ERef<import("@endo/patterns").CopySet<globalThis.Payment<globalThis.AssetKind>>>;
453
+ getRecoverySet: () => globalThis.ERef<import("@endo/patterns").CopySet<globalThis.Payment<globalThis.AssetKind>>>;
490
454
  /**
491
455
  * For use in emergencies, such as coming
492
456
  * back from a traumatic crash and upgrade. This deposits all the payments in
@@ -495,10 +459,10 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
495
459
  *
496
460
  * Returns an empty amount if this issuer does not support recovery sets.
497
461
  */
498
- recoverAll: () => ERef<globalThis.Amount<globalThis.AssetKind>>;
462
+ recoverAll: () => globalThis.ERef<globalThis.Amount<globalThis.AssetKind>>;
499
463
  }>;
500
464
  }>>;
501
- makePublishKit: ReturnType<(baggage: MapStore<string, any>, kindName: string) => (options?: {
465
+ makePublishKit: ReturnType<(baggage: import("@agoric/swingset-liveslots").Baggage, kindName: string) => (options?: {
502
466
  valueDurability?: "mandatory" | undefined;
503
467
  } | undefined) => import("@endo/exo").GuardedKit<{
504
468
  publisher: {
@@ -512,15 +476,15 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
512
476
  };
513
477
  }>>;
514
478
  makeRewardPurseController: ReturnType<(zone: import("@agoric/zone").Zone) => (bankChannel: BridgeChannel, denom: string, brand: globalThis.Brand) => import("@endo/exo").Guarded<{
515
- getBalances(b: any): Notifier<any>;
479
+ getBalances(b: any): globalThis.Notifier<any>;
516
480
  pullAmount(_amount: any): Promise<never>;
517
481
  pushAmount(amount: any): Promise<void>;
518
482
  }>>;
519
483
  makeVirtualPurse: ReturnType<(zone: import("@agoric/zone").Zone) => (vpc: ERef<VirtualPurseController>, { escrowPurse: defaultEscrowPurse, ...issuerKit }: {
520
- issuer: ERef<globalThis.Issuer>;
521
- brand: globalThis.Brand;
522
- mint?: ERef<globalThis.Mint> | undefined;
523
- escrowPurse?: ERef<globalThis.Purse> | undefined;
484
+ issuer: ERef<Issuer>;
485
+ brand: Brand;
486
+ mint?: ERef<Mint>;
487
+ escrowPurse?: ERef<Purse>;
524
488
  }) => Promise<{
525
489
  /**
526
490
  * Get the alleged Brand for this
@@ -530,15 +494,15 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
530
494
  * Get the alleged Brand for this
531
495
  * Purse
532
496
  */
533
- getAllegedBrand: () => ERef<{
497
+ getAllegedBrand: () => globalThis.ERef<{
534
498
  /**
535
499
  * Should be used with `issuer.getBrand` to ensure an issuer and brand match.
536
500
  */
537
501
  /**
538
502
  * Should be used with `issuer.getBrand` to ensure an issuer and brand match.
539
503
  */
540
- isMyIssuer: (allegedIssuer: ERef<globalThis.Issuer>) => ERef<boolean>;
541
- getAllegedName: () => ERef<string>;
504
+ isMyIssuer: (allegedIssuer: globalThis.ERef<globalThis.Issuer>) => globalThis.ERef<boolean>;
505
+ getAllegedName: () => globalThis.ERef<string>;
542
506
  /**
543
507
  * Give information to UI on how
544
508
  * to display the amount.
@@ -547,7 +511,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
547
511
  * Give information to UI on how
548
512
  * to display the amount.
549
513
  */
550
- getDisplayInfo: () => ERef<globalThis.DisplayInfo<globalThis.AssetKind>>;
514
+ getDisplayInfo: () => globalThis.ERef<globalThis.DisplayInfo<globalThis.AssetKind>>;
551
515
  getAmountShape: () => any;
552
516
  }>;
553
517
  /**
@@ -558,7 +522,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
558
522
  * Get the amount contained in this
559
523
  * purse.
560
524
  */
561
- getCurrentAmount: () => ERef<globalThis.Amount<globalThis.AssetKind>>;
525
+ getCurrentAmount: () => globalThis.ERef<globalThis.Amount<globalThis.AssetKind>>;
562
526
  /**
563
527
  * Get a lossy
564
528
  * notifier for changes to this purse's balance.
@@ -567,7 +531,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
567
531
  * Get a lossy
568
532
  * notifier for changes to this purse's balance.
569
533
  */
570
- getCurrentAmountNotifier: () => ERef<{
534
+ getCurrentAmountNotifier: () => globalThis.ERef<{
571
535
  /**
572
536
  * Returns a promise for an update record as of an update count.
573
537
  * If the `updateCount` argument is omitted or differs from the current update count,
@@ -588,7 +552,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
588
552
  * Used to make lossy ("latest") iterators.
589
553
  * NOTE: Use of `number` as an `updateCount` is deprecated.
590
554
  */
591
- getUpdateSince: (updateCount?: number | bigint | undefined) => ERef<UpdateRecord<globalThis.Amount<globalThis.AssetKind>>>;
555
+ getUpdateSince: (updateCount?: number | bigint | undefined) => globalThis.ERef<globalThis.UpdateRecord<globalThis.Amount<globalThis.AssetKind>>>;
592
556
  }>;
593
557
  /**
594
558
  * Deposit all the contents of payment into
@@ -604,7 +568,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
604
568
  *
605
569
  * If payment is a promise, throw an error.
606
570
  */
607
- deposit: (args_0: globalThis.Payment<globalThis.AssetKind>, args_1?: any) => ERef<globalThis.Amount<globalThis.AssetKind>>;
571
+ deposit: (args_0: globalThis.Payment<globalThis.AssetKind>, args_1?: any) => globalThis.ERef<globalThis.Amount<globalThis.AssetKind>>;
608
572
  /**
609
573
  * Return an object whose
610
574
  * `receive` method deposits to the current Purse.
@@ -613,7 +577,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
613
577
  * Return an object whose
614
578
  * `receive` method deposits to the current Purse.
615
579
  */
616
- getDepositFacet: () => ERef<{
580
+ getDepositFacet: () => globalThis.ERef<{
617
581
  /**
618
582
  * Deposit all the contents of payment
619
583
  * into the purse that made this facet, returning the amount. If the optional
@@ -630,23 +594,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
630
594
  *
631
595
  * If payment is a promise, throw an error.
632
596
  */
633
- /**
634
- * Deposit all the contents of payment
635
- * into the purse that made this facet, returning the amount. If the optional
636
- * argument `optAmount` does not equal the amount of digital assets in the
637
- * payment, throw an error.
638
- *
639
- * If payment is a promise, throw an error.
640
- */
641
- /**
642
- * Deposit all the contents of payment
643
- * into the purse that made this facet, returning the amount. If the optional
644
- * argument `optAmount` does not equal the amount of digital assets in the
645
- * payment, throw an error.
646
- *
647
- * If payment is a promise, throw an error.
648
- */
649
- receive: (args_0: globalThis.Payment, args_1?: any) => ERef<globalThis.Amount>;
597
+ receive: (args_0: globalThis.Payment, args_1?: any) => globalThis.ERef<globalThis.Amount>;
650
598
  }>;
651
599
  /**
652
600
  * Withdraw amount from
@@ -656,7 +604,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
656
604
  * Withdraw amount from
657
605
  * this purse into a new Payment.
658
606
  */
659
- withdraw: (amount: globalThis.Amount<globalThis.AssetKind>) => ERef<{
607
+ withdraw: (amount: globalThis.Amount<globalThis.AssetKind>) => globalThis.ERef<{
660
608
  /**
661
609
  * Get the allegedBrand, indicating
662
610
  * the type of digital asset this payment purports to be, and which issuer to
@@ -669,15 +617,15 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
669
617
  * use. Because payments are not trusted, any method calls on payments should
670
618
  * be treated with suspicion and verified elsewhere.
671
619
  */
672
- getAllegedBrand: () => ERef<{
620
+ getAllegedBrand: () => globalThis.ERef<{
673
621
  /**
674
622
  * Should be used with `issuer.getBrand` to ensure an issuer and brand match.
675
623
  */
676
624
  /**
677
625
  * Should be used with `issuer.getBrand` to ensure an issuer and brand match.
678
626
  */
679
- isMyIssuer: (allegedIssuer: ERef<globalThis.Issuer>) => ERef<boolean>;
680
- getAllegedName: () => ERef<string>;
627
+ isMyIssuer: (allegedIssuer: globalThis.ERef<globalThis.Issuer>) => globalThis.ERef<boolean>;
628
+ getAllegedName: () => globalThis.ERef<string>;
681
629
  /**
682
630
  * Give information to UI on how
683
631
  * to display the amount.
@@ -686,7 +634,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
686
634
  * Give information to UI on how
687
635
  * to display the amount.
688
636
  */
689
- getDisplayInfo: () => ERef<globalThis.DisplayInfo<globalThis.AssetKind>>;
637
+ getDisplayInfo: () => globalThis.ERef<globalThis.DisplayInfo<globalThis.AssetKind>>;
690
638
  getAmountShape: () => any;
691
639
  }>;
692
640
  }>;
@@ -714,7 +662,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
714
662
  *
715
663
  * Returns an empty set if this issuer does not support recovery sets.
716
664
  */
717
- getRecoverySet: () => ERef<import("@endo/patterns").CopySet<globalThis.Payment<globalThis.AssetKind>>>;
665
+ getRecoverySet: () => globalThis.ERef<import("@endo/patterns").CopySet<globalThis.Payment<globalThis.AssetKind>>>;
718
666
  /**
719
667
  * For use in emergencies, such as coming
720
668
  * back from a traumatic crash and upgrade. This deposits all the payments in
@@ -731,7 +679,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
731
679
  *
732
680
  * Returns an empty amount if this issuer does not support recovery sets.
733
681
  */
734
- recoverAll: () => ERef<globalThis.Amount<globalThis.AssetKind>>;
682
+ recoverAll: () => globalThis.ERef<globalThis.Amount<globalThis.AssetKind>>;
735
683
  }>>;
736
684
  }): (args_0: {
737
685
  bankChannel?: BridgeChannel | undefined;
@@ -753,17 +701,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
753
701
  * >
754
702
  * >}
755
703
  */
756
- getRewardDistributorDepositFacet(denom: string, feeKit: AssetIssuerKit): ERef<{
757
- /**
758
- * Deposit all the contents of payment
759
- * into the purse that made this facet, returning the amount. If the optional
760
- * argument `optAmount` does not equal the amount of digital assets in the
761
- * payment, throw an error.
762
- *
763
- * If payment is a promise, throw an error.
764
- */
765
- receive: (args_0: globalThis.Payment, args_1?: any) => ERef<globalThis.Amount>;
766
- }>;
704
+ getRewardDistributorDepositFacet(denom: string, feeKit: AssetIssuerKit): ERef<import("@endo/far").EOnly<import("@agoric/ertp/exported.js").DepositFacet>>;
767
705
  /**
768
706
  * Get the address of named module account.
769
707
  *
@@ -785,8 +723,8 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
785
723
  * @param {AssetIssuerKit & { payment?: ERef<Payment> }} kit ERTP issuer
786
724
  * kit (mint, brand, issuer)
787
725
  */
788
- addAsset(denom: string, issuerName: string, proposedName: string, kit: AssetIssuerKit<globalThis.AssetKind> & {
789
- payment?: ERef<globalThis.Payment> | undefined;
726
+ addAsset(denom: string, issuerName: string, proposedName: string, kit: AssetIssuerKit & {
727
+ payment?: ERef<Payment>;
790
728
  }): Promise<void>;
791
729
  /**
792
730
  * Create a new personal bank interface for a given address.
@@ -1 +1 @@
1
- {"version":3,"file":"vat-bank.d.ts","sourceRoot":"","sources":["vat-bank.js"],"names":[],"mappings":"AA60BA;IASI;;;;;;OAMG;;gBAFuB,OAAO,YAAY,EAAE,SAAS,CAAC,QAAQ,CAAC;;QArPhE;;;;WAIG;gCADU,iBAAiB,CAAC,eAAe,CAAC;QAS/C;;;;;;;;WAQG;gDAPQ,MAAM,UACN,cAAc;;;;;;;;;;;QAuBzB;;;;;;WAMG;4CAHQ,MAAM,GACJ,OAAO,CAAC,MAAM,GAAG,IAAI,C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AFQ,MAAM,GACJ,OAAO,CAAC,IAAI,CAAC;GAiC/B;4CAnvBwC,oBAAoB"}
@@ -1,20 +1,20 @@
1
1
  export function buildRootObject(vatPowers: any, _args: any, baggage: any): {
2
2
  makeBridgedChainStorageRoot: (storageBridgeManagerP: ERef<import("./types.js").ScopedBridgeManager>, rootPath: string, options?: object) => Promise<import("@endo/exo").Guarded<{
3
3
  getPath(): string;
4
- getStoreKey(): Promise<import("@agoric/internal/src/lib-chainStorage.js").VStorageKey>;
4
+ getStoreKey(): Promise<globalThis.VStorageKey>;
5
5
  makeChildNode(name: string, childNodeOptions?: {
6
6
  sequence?: boolean;
7
- }): import("@agoric/internal/src/lib-chainStorage.js").StorageNode;
7
+ }): globalThis.StorageNode;
8
8
  setValue(value: string): Promise<void>;
9
9
  }>>;
10
10
  provideManagerForBridge: (bridgeDevice: BridgeDevice) => import("./types.js").BridgeManager;
11
11
  } & import("@endo/eventual-send").RemotableBrand<{}, {
12
12
  makeBridgedChainStorageRoot: (storageBridgeManagerP: ERef<import("./types.js").ScopedBridgeManager>, rootPath: string, options?: object) => Promise<import("@endo/exo").Guarded<{
13
13
  getPath(): string;
14
- getStoreKey(): Promise<import("@agoric/internal/src/lib-chainStorage.js").VStorageKey>;
14
+ getStoreKey(): Promise<globalThis.VStorageKey>;
15
15
  makeChildNode(name: string, childNodeOptions?: {
16
16
  sequence?: boolean;
17
- }): import("@agoric/internal/src/lib-chainStorage.js").StorageNode;
17
+ }): globalThis.StorageNode;
18
18
  setValue(value: string): Promise<void>;
19
19
  }>>;
20
20
  provideManagerForBridge: (bridgeDevice: BridgeDevice) => import("./types.js").BridgeManager;
@@ -1 +1 @@
1
- {"version":3,"file":"vat-bridge.d.ts","sourceRoot":"","sources":["vat-bridge.js"],"names":[],"mappings":"AAOA;mHAgBa,MAAM,YACN,MAAM;;;uDA0B2hJ;YAAE,QAAQ,CAAC,UAAS;SAAC;;;4CAArjB,YAAY;;mHA3B7gI,MAAM,YACN,MAAM;;;;oBA0BqiJ,CAAC;;;;;GADxjJ"}
1
+ {"version":3,"file":"vat-bridge.d.ts","sourceRoot":"","sources":["vat-bridge.js"],"names":[],"mappings":"AAOA;yDAea,IAAI,CAAC,OAAO,YAAY,EAAE,mBAAmB,CAAC,YAC9C,MAAM,YACN,MAAM;;;uDA0B2hJ;YAAE,QAAQ,CAAC,UAAS;SAAC;;;4CAArjB,YAAY;;yDA5B7gI,IAAI,CAAC,OAAO,YAAY,EAAE,mBAAmB,CAAC,YAC9C,MAAM,YACN,MAAM;;;;oBA0BqiJ,CAAC;;;;;GADxjJ"}