@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/src/vat-bank.d.ts CHANGED
@@ -8,7 +8,7 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
8
8
  */
9
9
  makeBankManager(bankBridgeManagerP?: ERef<import("./types.js").ScopedBridgeManager | undefined>, nameAdminP?: ERef<{
10
10
  update: import('./types.js').NameAdmin['update'];
11
- }> | undefined): Promise<import("@endo/exo/src/exo-makers.js").Guarded<{
11
+ }> | undefined): Promise<import("@endo/exo").Guarded<{
12
12
  /**
13
13
  * Returns assets as they are added to the bank.
14
14
  *
@@ -18,7 +18,11 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
18
18
  /**
19
19
  * @param {string} denom
20
20
  * @param {AssetIssuerKit} feeKit
21
- * @returns {ERef<import('@endo/far').EOnly<DepositFacet>>}
21
+ * @returns {ERef<
22
+ * import('@endo/far').EOnly<
23
+ * import('@agoric/ertp/exported.js').DepositFacet
24
+ * >
25
+ * >}
22
26
  */
23
27
  getRewardDistributorDepositFacet(denom: string, feeKit: AssetIssuerKit): ERef<{
24
28
  /**
@@ -29,7 +33,7 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
29
33
  *
30
34
  * If payment is a promise, throw an error.
31
35
  */
32
- receive: (args_0: Payment<AssetKind>, args_1?: any) => ERef<Amount<AssetKind>>;
36
+ receive: (args_0: globalThis.Payment, args_1?: any) => ERef<globalThis.Amount>;
33
37
  }>;
34
38
  /**
35
39
  * Get the address of named module account.
@@ -52,8 +56,8 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
52
56
  * @param {AssetIssuerKit & { payment?: ERef<Payment> }} kit ERTP issuer
53
57
  * kit (mint, brand, issuer)
54
58
  */
55
- addAsset(denom: string, issuerName: string, proposedName: string, kit: AssetIssuerKit<AssetKind> & {
56
- payment?: ERef<Payment<AssetKind>> | undefined;
59
+ addAsset(denom: string, issuerName: string, proposedName: string, kit: AssetIssuerKit<globalThis.AssetKind> & {
60
+ payment?: ERef<globalThis.Payment> | undefined;
57
61
  }): Promise<void>;
58
62
  /**
59
63
  * Create a new personal bank interface for a given address.
@@ -73,7 +77,7 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
73
77
  */
74
78
  makeBankManager(bankBridgeManagerP?: ERef<import("./types.js").ScopedBridgeManager | undefined>, nameAdminP?: ERef<{
75
79
  update: import('./types.js').NameAdmin['update'];
76
- }> | undefined): Promise<import("@endo/exo/src/exo-makers.js").Guarded<{
80
+ }> | undefined): Promise<import("@endo/exo").Guarded<{
77
81
  /**
78
82
  * Returns assets as they are added to the bank.
79
83
  *
@@ -83,7 +87,11 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
83
87
  /**
84
88
  * @param {string} denom
85
89
  * @param {AssetIssuerKit} feeKit
86
- * @returns {ERef<import('@endo/far').EOnly<DepositFacet>>}
90
+ * @returns {ERef<
91
+ * import('@endo/far').EOnly<
92
+ * import('@agoric/ertp/exported.js').DepositFacet
93
+ * >
94
+ * >}
87
95
  */
88
96
  getRewardDistributorDepositFacet(denom: string, feeKit: AssetIssuerKit): ERef<{
89
97
  /**
@@ -94,7 +102,7 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
94
102
  *
95
103
  * If payment is a promise, throw an error.
96
104
  */
97
- receive: (args_0: Payment<AssetKind>, args_1?: any) => ERef<Amount<AssetKind>>;
105
+ receive: (args_0: globalThis.Payment, args_1?: any) => ERef<globalThis.Amount>;
98
106
  }>;
99
107
  /**
100
108
  * Get the address of named module account.
@@ -117,8 +125,8 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
117
125
  * @param {AssetIssuerKit & { payment?: ERef<Payment> }} kit ERTP issuer
118
126
  * kit (mint, brand, issuer)
119
127
  */
120
- addAsset(denom: string, issuerName: string, proposedName: string, kit: AssetIssuerKit<AssetKind> & {
121
- payment?: ERef<Payment<AssetKind>> | undefined;
128
+ addAsset(denom: string, issuerName: string, proposedName: string, kit: AssetIssuerKit<globalThis.AssetKind> & {
129
+ payment?: ERef<globalThis.Payment> | undefined;
122
130
  }): Promise<void>;
123
131
  /**
124
132
  * Create a new personal bank interface for a given address.
@@ -160,18 +168,18 @@ export type BalanceUpdater = {
160
168
  update: (value: string, nonce?: string) => void;
161
169
  };
162
170
  export type BridgeChannel = Pick<import('./types.js').ScopedBridgeManager, 'fromBridge' | 'toBridge'>;
163
- export type AssetIssuerKit<K extends AssetKind = AssetKind> = {
164
- mint?: ERef<Mint<K>> | undefined;
165
- issuer: ERef<Issuer<K>>;
171
+ export type AssetIssuerKit<K extends globalThis.AssetKind = globalThis.AssetKind> = {
172
+ mint?: ERef<globalThis.Mint<K>> | undefined;
173
+ issuer: ERef<globalThis.Issuer<K>>;
166
174
  brand: Brand<K>;
167
175
  };
168
- export type AssetRecord = AssetIssuerKit<AssetKind> & {
176
+ export type AssetRecord = AssetIssuerKit<globalThis.AssetKind> & {
169
177
  denom: string;
170
- escrowPurse?: ERef<Purse<AssetKind>> | undefined;
178
+ escrowPurse?: ERef<globalThis.Purse> | undefined;
171
179
  };
172
180
  export type AssetDescriptor = {
173
181
  brand: Brand;
174
- issuer: ERef<Issuer<AssetKind>>;
182
+ issuer: ERef<globalThis.Issuer>;
175
183
  issuerName: string;
176
184
  denom: string;
177
185
  proposedName: string;
@@ -203,18 +211,18 @@ import { prepareVirtualPurse } from './virtual-purse.js';
203
211
  * @param {ReturnType<prepareVirtualPurse>} makers.makeVirtualPurse
204
212
  */
205
213
  declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provideAssetSubscription, makeBank, makePublishKit, makeRewardPurseController, makeVirtualPurse, }: {
206
- provideAssetSubscription: ReturnType<(zone: import('@agoric/zone').Zone) => (brandToAssetDescriptor?: any, assetSubscriber?: any) => import("@endo/exo/src/exo-makers.js").Guarded<{
214
+ provideAssetSubscription: ReturnType<(zone: import('@agoric/zone').Zone) => (brandToAssetDescriptor?: any, assetSubscriber?: any) => import("@endo/exo").Guarded<{
207
215
  subscribeAfter(publishCount?: bigint): any;
208
216
  [Symbol.asyncIterator](): ForkableAsyncIterableIterator<any, any, undefined>;
209
217
  }>>;
210
218
  makeBank: ReturnType<(zone: import('@agoric/zone').Zone, { provideAssetSubscription, makePublishKit, makeVirtualPurse }: {
211
- provideAssetSubscription: ReturnType<(zone: import('@agoric/zone').Zone) => (brandToAssetDescriptor?: any, assetSubscriber?: any) => import("@endo/exo/src/exo-makers.js").Guarded<{
219
+ provideAssetSubscription: ReturnType<(zone: import('@agoric/zone').Zone) => (brandToAssetDescriptor?: any, assetSubscriber?: any) => import("@endo/exo").Guarded<{
212
220
  subscribeAfter(publishCount?: bigint): any;
213
221
  [Symbol.asyncIterator](): ForkableAsyncIterableIterator<any, any, undefined>;
214
222
  }>>;
215
223
  makePublishKit: ReturnType<(baggage: MapStore<string, any>, kindName: string) => (options?: {
216
224
  valueDurability?: "mandatory" | undefined;
217
- } | undefined) => import("@endo/exo/src/exo-makers.js").GuardedKit<{
225
+ } | undefined) => import("@endo/exo").GuardedKit<{
218
226
  publisher: {
219
227
  publish(value: any): void;
220
228
  finish(finalValue: any): void;
@@ -226,10 +234,10 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
226
234
  };
227
235
  }>>;
228
236
  makeVirtualPurse: ReturnType<(zone: import("@agoric/zone").Zone) => (vpc: ERef<VirtualPurseController>, { escrowPurse: defaultEscrowPurse, ...issuerKit }: {
229
- issuer: ERef<Issuer<AssetKind>>;
230
- brand: Brand<AssetKind>;
231
- mint?: ERef<Mint<AssetKind>> | undefined;
232
- escrowPurse?: ERef<Purse<AssetKind>> | undefined;
237
+ issuer: ERef<globalThis.Issuer>;
238
+ brand: globalThis.Brand;
239
+ mint?: ERef<globalThis.Mint> | undefined;
240
+ escrowPurse?: ERef<globalThis.Purse> | undefined;
233
241
  }) => Promise<{
234
242
  /**
235
243
  * Get the alleged Brand for this
@@ -239,20 +247,20 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
239
247
  /**
240
248
  * Should be used with `issuer.getBrand` to ensure an issuer and brand match.
241
249
  */
242
- isMyIssuer: (allegedIssuer: ERef<Issuer<AssetKind>>) => ERef<boolean>;
250
+ isMyIssuer: (allegedIssuer: ERef<globalThis.Issuer>) => ERef<boolean>;
243
251
  getAllegedName: () => ERef<string>;
244
252
  /**
245
253
  * Give information to UI on how
246
254
  * to display the amount.
247
255
  */
248
- getDisplayInfo: () => ERef<DisplayInfo<AssetKind>>;
256
+ getDisplayInfo: () => ERef<globalThis.DisplayInfo<globalThis.AssetKind>>;
249
257
  getAmountShape: () => any;
250
258
  }>;
251
259
  /**
252
260
  * Get the amount contained in this
253
261
  * purse.
254
262
  */
255
- getCurrentAmount: () => ERef<Amount<AssetKind>>;
263
+ getCurrentAmount: () => ERef<globalThis.Amount<globalThis.AssetKind>>;
256
264
  /**
257
265
  * Get a lossy
258
266
  * notifier for changes to this purse's balance.
@@ -268,7 +276,7 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
268
276
  * Used to make lossy ("latest") iterators.
269
277
  * NOTE: Use of `number` as an `updateCount` is deprecated.
270
278
  */
271
- getUpdateSince: (updateCount?: number | bigint | undefined) => ERef<UpdateRecord<Amount<AssetKind>>>;
279
+ getUpdateSince: (updateCount?: number | bigint | undefined) => ERef<UpdateRecord<globalThis.Amount<globalThis.AssetKind>>>;
272
280
  }>;
273
281
  /**
274
282
  * Deposit all the contents of payment into
@@ -277,7 +285,7 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
277
285
  *
278
286
  * If payment is a promise, throw an error.
279
287
  */
280
- deposit: (args_0: Payment<AssetKind>, args_1?: any) => ERef<Amount<AssetKind>>;
288
+ deposit: (args_0: globalThis.Payment<globalThis.AssetKind>, args_1?: any) => ERef<globalThis.Amount<globalThis.AssetKind>>;
281
289
  /**
282
290
  * Return an object whose
283
291
  * `receive` method deposits to the current Purse.
@@ -291,13 +299,13 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
291
299
  *
292
300
  * If payment is a promise, throw an error.
293
301
  */
294
- receive: (args_0: Payment<AssetKind>, args_1?: any) => ERef<Amount<AssetKind>>;
302
+ receive: (args_0: globalThis.Payment, args_1?: any) => ERef<globalThis.Amount>;
295
303
  }>;
296
304
  /**
297
305
  * Withdraw amount from
298
306
  * this purse into a new Payment.
299
307
  */
300
- withdraw: (amount: Amount<AssetKind>) => ERef<{
308
+ withdraw: (amount: globalThis.Amount<globalThis.AssetKind>) => ERef<{
301
309
  /**
302
310
  * Get the allegedBrand, indicating
303
311
  * the type of digital asset this payment purports to be, and which issuer to
@@ -308,13 +316,13 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
308
316
  /**
309
317
  * Should be used with `issuer.getBrand` to ensure an issuer and brand match.
310
318
  */
311
- isMyIssuer: (allegedIssuer: ERef<Issuer<AssetKind>>) => ERef<boolean>;
319
+ isMyIssuer: (allegedIssuer: ERef<globalThis.Issuer>) => ERef<boolean>;
312
320
  getAllegedName: () => ERef<string>;
313
321
  /**
314
322
  * Give information to UI on how
315
323
  * to display the amount.
316
324
  */
317
- getDisplayInfo: () => ERef<DisplayInfo<AssetKind>>;
325
+ getDisplayInfo: () => ERef<globalThis.DisplayInfo<globalThis.AssetKind>>;
318
326
  getAmountShape: () => any;
319
327
  }>;
320
328
  }>;
@@ -330,7 +338,7 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
330
338
  *
331
339
  * Returns an empty set if this issuer does not support recovery sets.
332
340
  */
333
- getRecoverySet: () => ERef<CopySet<Payment<AssetKind>>>;
341
+ getRecoverySet: () => ERef<import("@endo/patterns").CopySet<globalThis.Payment<globalThis.AssetKind>>>;
334
342
  /**
335
343
  * For use in emergencies, such as coming
336
344
  * back from a traumatic crash and upgrade. This deposits all the payments in
@@ -339,7 +347,7 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
339
347
  *
340
348
  * Returns an empty amount if this issuer does not support recovery sets.
341
349
  */
342
- recoverAll: () => ERef<Amount<AssetKind>>;
350
+ recoverAll: () => ERef<globalThis.Amount<globalThis.AssetKind>>;
343
351
  }>>;
344
352
  }) => (args_0: {
345
353
  address: string;
@@ -349,8 +357,8 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
349
357
  brandToAssetRecord: MapStore<Brand, AssetRecord>;
350
358
  brandToVPurse: MapStore<Brand, VirtualPurse>;
351
359
  denomToAddressUpdater: MapStore<string, MapStore<string, BalanceUpdater>>;
352
- }) => import("@endo/exo/src/exo-makers.js").Guarded<{
353
- getAssetSubscription(): import("@endo/exo/src/exo-makers.js").Guarded<{
360
+ }) => import("@endo/exo").Guarded<{
361
+ getAssetSubscription(): import("@endo/exo").Guarded<{
354
362
  subscribeAfter(publishCount?: bigint): any;
355
363
  [Symbol.asyncIterator](): ForkableAsyncIterableIterator<any, any, undefined>;
356
364
  }>;
@@ -364,20 +372,20 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
364
372
  /**
365
373
  * Should be used with `issuer.getBrand` to ensure an issuer and brand match.
366
374
  */
367
- isMyIssuer: (allegedIssuer: ERef<Issuer<AssetKind>>) => ERef<boolean>;
375
+ isMyIssuer: (allegedIssuer: ERef<globalThis.Issuer>) => ERef<boolean>;
368
376
  getAllegedName: () => ERef<string>;
369
377
  /**
370
378
  * Give information to UI on how
371
379
  * to display the amount.
372
380
  */
373
- getDisplayInfo: () => ERef<DisplayInfo<AssetKind>>;
381
+ getDisplayInfo: () => ERef<globalThis.DisplayInfo<globalThis.AssetKind>>;
374
382
  getAmountShape: () => any;
375
383
  }>;
376
384
  /**
377
385
  * Get the amount contained in this
378
386
  * purse.
379
387
  */
380
- getCurrentAmount: () => ERef<Amount<AssetKind>>;
388
+ getCurrentAmount: () => ERef<globalThis.Amount<globalThis.AssetKind>>;
381
389
  /**
382
390
  * Get a lossy
383
391
  * notifier for changes to this purse's balance.
@@ -393,7 +401,7 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
393
401
  * Used to make lossy ("latest") iterators.
394
402
  * NOTE: Use of `number` as an `updateCount` is deprecated.
395
403
  */
396
- getUpdateSince: (updateCount?: number | bigint | undefined) => ERef<UpdateRecord<Amount<AssetKind>>>;
404
+ getUpdateSince: (updateCount?: number | bigint | undefined) => ERef<UpdateRecord<globalThis.Amount<globalThis.AssetKind>>>;
397
405
  }>;
398
406
  /**
399
407
  * Deposit all the contents of payment into
@@ -402,7 +410,7 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
402
410
  *
403
411
  * If payment is a promise, throw an error.
404
412
  */
405
- deposit: (args_0: Payment<AssetKind>, args_1?: any) => ERef<Amount<AssetKind>>;
413
+ deposit: (args_0: globalThis.Payment<globalThis.AssetKind>, args_1?: any) => ERef<globalThis.Amount<globalThis.AssetKind>>;
406
414
  /**
407
415
  * Return an object whose
408
416
  * `receive` method deposits to the current Purse.
@@ -416,13 +424,13 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
416
424
  *
417
425
  * If payment is a promise, throw an error.
418
426
  */
419
- receive: (args_0: Payment<AssetKind>, args_1?: any) => ERef<Amount<AssetKind>>;
427
+ receive: (args_0: globalThis.Payment, args_1?: any) => ERef<globalThis.Amount>;
420
428
  }>;
421
429
  /**
422
430
  * Withdraw amount from
423
431
  * this purse into a new Payment.
424
432
  */
425
- withdraw: (amount: Amount<AssetKind>) => ERef<{
433
+ withdraw: (amount: globalThis.Amount<globalThis.AssetKind>) => ERef<{
426
434
  /**
427
435
  * Get the allegedBrand, indicating
428
436
  * the type of digital asset this payment purports to be, and which issuer to
@@ -433,13 +441,13 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
433
441
  /**
434
442
  * Should be used with `issuer.getBrand` to ensure an issuer and brand match.
435
443
  */
436
- isMyIssuer: (allegedIssuer: ERef<Issuer<AssetKind>>) => ERef<boolean>;
444
+ isMyIssuer: (allegedIssuer: ERef<globalThis.Issuer>) => ERef<boolean>;
437
445
  getAllegedName: () => ERef<string>;
438
446
  /**
439
447
  * Give information to UI on how
440
448
  * to display the amount.
441
449
  */
442
- getDisplayInfo: () => ERef<DisplayInfo<AssetKind>>;
450
+ getDisplayInfo: () => ERef<globalThis.DisplayInfo<globalThis.AssetKind>>;
443
451
  getAmountShape: () => any;
444
452
  }>;
445
453
  }>;
@@ -455,7 +463,7 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
455
463
  *
456
464
  * Returns an empty set if this issuer does not support recovery sets.
457
465
  */
458
- getRecoverySet: () => ERef<CopySet<Payment<AssetKind>>>;
466
+ getRecoverySet: () => ERef<import("@endo/patterns").CopySet<globalThis.Payment<globalThis.AssetKind>>>;
459
467
  /**
460
468
  * For use in emergencies, such as coming
461
469
  * back from a traumatic crash and upgrade. This deposits all the payments in
@@ -464,12 +472,12 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
464
472
  *
465
473
  * Returns an empty amount if this issuer does not support recovery sets.
466
474
  */
467
- recoverAll: () => ERef<Amount<AssetKind>>;
475
+ recoverAll: () => ERef<globalThis.Amount<globalThis.AssetKind>>;
468
476
  }>;
469
477
  }>>;
470
478
  makePublishKit: ReturnType<(baggage: MapStore<string, any>, kindName: string) => (options?: {
471
479
  valueDurability?: "mandatory" | undefined;
472
- } | undefined) => import("@endo/exo/src/exo-makers.js").GuardedKit<{
480
+ } | undefined) => import("@endo/exo").GuardedKit<{
473
481
  publisher: {
474
482
  publish(value: any): void;
475
483
  finish(finalValue: any): void;
@@ -480,16 +488,16 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
480
488
  getUpdateSince(updateCount: any): any;
481
489
  };
482
490
  }>>;
483
- makeRewardPurseController: ReturnType<(zone: import('@agoric/zone').Zone) => (bankChannel: BridgeChannel, denom: string, brand: Brand<AssetKind>) => import("@endo/exo/src/exo-makers.js").Guarded<{
491
+ makeRewardPurseController: ReturnType<(zone: import('@agoric/zone').Zone) => (bankChannel: BridgeChannel, denom: string, brand: globalThis.Brand) => import("@endo/exo").Guarded<{
484
492
  getBalances(b: any): Notifier<any>;
485
493
  pullAmount(_amount: any): Promise<never>;
486
494
  pushAmount(amount: any): Promise<void>;
487
495
  }>>;
488
496
  makeVirtualPurse: ReturnType<(zone: import("@agoric/zone").Zone) => (vpc: ERef<VirtualPurseController>, { escrowPurse: defaultEscrowPurse, ...issuerKit }: {
489
- issuer: ERef<Issuer<AssetKind>>;
490
- brand: Brand<AssetKind>;
491
- mint?: ERef<Mint<AssetKind>> | undefined;
492
- escrowPurse?: ERef<Purse<AssetKind>> | undefined;
497
+ issuer: ERef<globalThis.Issuer>;
498
+ brand: globalThis.Brand;
499
+ mint?: ERef<globalThis.Mint> | undefined;
500
+ escrowPurse?: ERef<globalThis.Purse> | undefined;
493
501
  }) => Promise<{
494
502
  /**
495
503
  * Get the alleged Brand for this
@@ -499,20 +507,20 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
499
507
  /**
500
508
  * Should be used with `issuer.getBrand` to ensure an issuer and brand match.
501
509
  */
502
- isMyIssuer: (allegedIssuer: ERef<Issuer<AssetKind>>) => ERef<boolean>;
510
+ isMyIssuer: (allegedIssuer: ERef<globalThis.Issuer>) => ERef<boolean>;
503
511
  getAllegedName: () => ERef<string>;
504
512
  /**
505
513
  * Give information to UI on how
506
514
  * to display the amount.
507
515
  */
508
- getDisplayInfo: () => ERef<DisplayInfo<AssetKind>>;
516
+ getDisplayInfo: () => ERef<globalThis.DisplayInfo<globalThis.AssetKind>>;
509
517
  getAmountShape: () => any;
510
518
  }>;
511
519
  /**
512
520
  * Get the amount contained in this
513
521
  * purse.
514
522
  */
515
- getCurrentAmount: () => ERef<Amount<AssetKind>>;
523
+ getCurrentAmount: () => ERef<globalThis.Amount<globalThis.AssetKind>>;
516
524
  /**
517
525
  * Get a lossy
518
526
  * notifier for changes to this purse's balance.
@@ -528,7 +536,7 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
528
536
  * Used to make lossy ("latest") iterators.
529
537
  * NOTE: Use of `number` as an `updateCount` is deprecated.
530
538
  */
531
- getUpdateSince: (updateCount?: number | bigint | undefined) => ERef<UpdateRecord<Amount<AssetKind>>>;
539
+ getUpdateSince: (updateCount?: number | bigint | undefined) => ERef<UpdateRecord<globalThis.Amount<globalThis.AssetKind>>>;
532
540
  }>;
533
541
  /**
534
542
  * Deposit all the contents of payment into
@@ -537,7 +545,7 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
537
545
  *
538
546
  * If payment is a promise, throw an error.
539
547
  */
540
- deposit: (args_0: Payment<AssetKind>, args_1?: any) => ERef<Amount<AssetKind>>;
548
+ deposit: (args_0: globalThis.Payment<globalThis.AssetKind>, args_1?: any) => ERef<globalThis.Amount<globalThis.AssetKind>>;
541
549
  /**
542
550
  * Return an object whose
543
551
  * `receive` method deposits to the current Purse.
@@ -551,13 +559,13 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
551
559
  *
552
560
  * If payment is a promise, throw an error.
553
561
  */
554
- receive: (args_0: Payment<AssetKind>, args_1?: any) => ERef<Amount<AssetKind>>;
562
+ receive: (args_0: globalThis.Payment, args_1?: any) => ERef<globalThis.Amount>;
555
563
  }>;
556
564
  /**
557
565
  * Withdraw amount from
558
566
  * this purse into a new Payment.
559
567
  */
560
- withdraw: (amount: Amount<AssetKind>) => ERef<{
568
+ withdraw: (amount: globalThis.Amount<globalThis.AssetKind>) => ERef<{
561
569
  /**
562
570
  * Get the allegedBrand, indicating
563
571
  * the type of digital asset this payment purports to be, and which issuer to
@@ -568,13 +576,13 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
568
576
  /**
569
577
  * Should be used with `issuer.getBrand` to ensure an issuer and brand match.
570
578
  */
571
- isMyIssuer: (allegedIssuer: ERef<Issuer<AssetKind>>) => ERef<boolean>;
579
+ isMyIssuer: (allegedIssuer: ERef<globalThis.Issuer>) => ERef<boolean>;
572
580
  getAllegedName: () => ERef<string>;
573
581
  /**
574
582
  * Give information to UI on how
575
583
  * to display the amount.
576
584
  */
577
- getDisplayInfo: () => ERef<DisplayInfo<AssetKind>>;
585
+ getDisplayInfo: () => ERef<globalThis.DisplayInfo<globalThis.AssetKind>>;
578
586
  getAmountShape: () => any;
579
587
  }>;
580
588
  }>;
@@ -590,7 +598,7 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
590
598
  *
591
599
  * Returns an empty set if this issuer does not support recovery sets.
592
600
  */
593
- getRecoverySet: () => ERef<CopySet<Payment<AssetKind>>>;
601
+ getRecoverySet: () => ERef<import("@endo/patterns").CopySet<globalThis.Payment<globalThis.AssetKind>>>;
594
602
  /**
595
603
  * For use in emergencies, such as coming
596
604
  * back from a traumatic crash and upgrade. This deposits all the payments in
@@ -599,13 +607,13 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
599
607
  *
600
608
  * Returns an empty amount if this issuer does not support recovery sets.
601
609
  */
602
- recoverAll: () => ERef<Amount<AssetKind>>;
610
+ recoverAll: () => ERef<globalThis.Amount<globalThis.AssetKind>>;
603
611
  }>>;
604
612
  }): (args_0: {
605
613
  bankChannel?: BridgeChannel | undefined;
606
614
  denomToAddressUpdater: MapStore<string, MapStore<string, BalanceUpdater>>;
607
615
  nameAdmin?: Pick<import("./types.js").NameAdmin, "update"> | undefined;
608
- }) => import("@endo/exo/src/exo-makers.js").Guarded<{
616
+ }) => import("@endo/exo").Guarded<{
609
617
  /**
610
618
  * Returns assets as they are added to the bank.
611
619
  *
@@ -615,7 +623,11 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
615
623
  /**
616
624
  * @param {string} denom
617
625
  * @param {AssetIssuerKit} feeKit
618
- * @returns {ERef<import('@endo/far').EOnly<DepositFacet>>}
626
+ * @returns {ERef<
627
+ * import('@endo/far').EOnly<
628
+ * import('@agoric/ertp/exported.js').DepositFacet
629
+ * >
630
+ * >}
619
631
  */
620
632
  getRewardDistributorDepositFacet(denom: string, feeKit: AssetIssuerKit): ERef<{
621
633
  /**
@@ -626,7 +638,7 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
626
638
  *
627
639
  * If payment is a promise, throw an error.
628
640
  */
629
- receive: (args_0: Payment<AssetKind>, args_1?: any) => ERef<Amount<AssetKind>>;
641
+ receive: (args_0: globalThis.Payment, args_1?: any) => ERef<globalThis.Amount>;
630
642
  }>;
631
643
  /**
632
644
  * Get the address of named module account.
@@ -649,8 +661,8 @@ declare function prepareBankManager(zone: import('@agoric/zone').Zone, { provide
649
661
  * @param {AssetIssuerKit & { payment?: ERef<Payment> }} kit ERTP issuer
650
662
  * kit (mint, brand, issuer)
651
663
  */
652
- addAsset(denom: string, issuerName: string, proposedName: string, kit: AssetIssuerKit<AssetKind> & {
653
- payment?: ERef<Payment<AssetKind>> | undefined;
664
+ addAsset(denom: string, issuerName: string, proposedName: string, kit: AssetIssuerKit<globalThis.AssetKind> & {
665
+ payment?: ERef<globalThis.Payment> | undefined;
654
666
  }): Promise<void>;
655
667
  /**
656
668
  * 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":"AAy0BA;IASI;;;;;;OAMG;;gBAFuB,OAAO,YAAY,EAAE,SAAS,CAAC,QAAQ,CAAC;;QAjPhE;;;;WAIG;gCADU,kBAAkB,eAAe,CAAC;QAS/C;;;;WAIG;gDAHQ,MAAM,UACN,cAAc;;;;;;;;;;;QAmBzB;;;;;;WAMG;4CAHQ,MAAM,GACJ,QAAQ,MAAM,GAAG,IAAI,CAAC;QAenC;;;;;;;;;;;;WAYG;wBALQ,MAAM,cACN,MAAM,gBACN,MAAM;;;QA4EjB;;;;;WAKG;mCAFQ,MAAM,GACJ,QAAQ,IAAI,CAAC;;;IAgG5B;;;;;;OAMG;;gBAFuB,OAAO,Y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AgB,EAAxD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAA+B;;;2BAoB3B,SAAS,MAAM,EAAE,SAAS,MAAM,EAAE,cAAc,CAAC,CAAC;;;IAwC3D;;;;OAIG;4BADU,kBAAkB,eAAe,CAAC;IAS/C;;;;;;;;OAQG;4CAPQ,MAAM,UACN,cAAc;;;;;;;;;;;IAuBzB;;;;;;OAMG;wCAHQ,MAAM,GACJ,QAAQ,MAAM,GAAG,IAAI,CAAC;IAenC;;;;;;;;;;;;OAYG;oBALQ,MAAM,cACN,MAAM,gBACN,MAAM;;;IA4EjB;;;;;OAKG;+BAFQ,MAAM,GACJ,QAAQ,IAAI,CAAC;GAiC/B;4CAnvBwC,oBAAoB"}
package/src/vat-bank.js CHANGED
@@ -626,7 +626,11 @@ const prepareBankManager = (
626
626
  /**
627
627
  * @param {string} denom
628
628
  * @param {AssetIssuerKit} feeKit
629
- * @returns {ERef<import('@endo/far').EOnly<DepositFacet>>}
629
+ * @returns {ERef<
630
+ * import('@endo/far').EOnly<
631
+ * import('@agoric/ertp/exported.js').DepositFacet
632
+ * >
633
+ * >}
630
634
  */
631
635
  getRewardDistributorDepositFacet(denom, feeKit) {
632
636
  const { bankChannel } = this.state;
@@ -4,19 +4,19 @@
4
4
  * @param {import('@agoric/vat-data').Baggage} baggage
5
5
  */
6
6
  export function buildRootObject(_vatPowers: unknown, _vatParameters: unknown, baggage: import('@agoric/vat-data').Baggage): {
7
- getBoard: () => import("@endo/exo/src/exo-makers.js").Guarded<{
7
+ getBoard: () => import("@endo/exo").Guarded<{
8
8
  getId(value: any): string;
9
9
  getValue(id: string): any;
10
10
  lookup(...path: string[]): Promise<any>;
11
11
  has(val: any): boolean;
12
12
  ids(): string[];
13
- getPublishingMarshaller(): import("@endo/exo/src/exo-makers.js").Guarded<{
13
+ getPublishingMarshaller(): import("@endo/exo").Guarded<{
14
14
  toCapData(val: any): import("@endo/marshal").CapData<string>;
15
15
  fromCapData(data: any): any;
16
16
  serialize(data: any): import("@endo/marshal").CapData<string>;
17
17
  unserialize(data: any): any;
18
18
  }>;
19
- getReadonlyMarshaller(): import("@endo/exo/src/exo-makers.js").Guarded<{
19
+ getReadonlyMarshaller(): import("@endo/exo").Guarded<{
20
20
  toCapData(val: any): import("@endo/marshal").CapData<string | null>;
21
21
  fromCapData(data: any): any;
22
22
  serialize(data: any): import("@endo/marshal").CapData<string | null>;
@@ -26,19 +26,19 @@ export function buildRootObject(_vatPowers: unknown, _vatParameters: unknown, ba
26
26
  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>;
27
27
  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>;
28
28
  } & import("@endo/eventual-send").RemotableBrand<{}, {
29
- getBoard: () => import("@endo/exo/src/exo-makers.js").Guarded<{
29
+ getBoard: () => import("@endo/exo").Guarded<{
30
30
  getId(value: any): string;
31
31
  getValue(id: string): any;
32
32
  lookup(...path: string[]): Promise<any>;
33
33
  has(val: any): boolean;
34
34
  ids(): string[];
35
- getPublishingMarshaller(): import("@endo/exo/src/exo-makers.js").Guarded<{
35
+ getPublishingMarshaller(): import("@endo/exo").Guarded<{
36
36
  toCapData(val: any): import("@endo/marshal").CapData<string>;
37
37
  fromCapData(data: any): any;
38
38
  serialize(data: any): import("@endo/marshal").CapData<string>;
39
39
  unserialize(data: any): any;
40
40
  }>;
41
- getReadonlyMarshaller(): import("@endo/exo/src/exo-makers.js").Guarded<{
41
+ getReadonlyMarshaller(): import("@endo/exo").Guarded<{
42
42
  toCapData(val: any): import("@endo/marshal").CapData<string | null>;
43
43
  fromCapData(data: any): any;
44
44
  serialize(data: any): import("@endo/marshal").CapData<string | null>;
@@ -1,5 +1,5 @@
1
1
  export function buildRootObject(vatPowers: any, _args: any, baggage: any): {
2
- makeBridgedChainStorageRoot: (storageBridgeManagerP: ERef<import("./types.js").ScopedBridgeManager>, rootPath: string, options?: object) => Promise<import("@endo/exo/src/exo-makers.js").Guarded<{
2
+ makeBridgedChainStorageRoot: (storageBridgeManagerP: ERef<import("./types.js").ScopedBridgeManager>, rootPath: string, options?: object) => Promise<import("@endo/exo").Guarded<{
3
3
  getPath(): string;
4
4
  getStoreKey(): Promise<import("@agoric/internal/src/lib-chainStorage.js").VStorageKey>;
5
5
  makeChildNode(name: string, childNodeOptions?: {
@@ -9,7 +9,7 @@ export function buildRootObject(vatPowers: any, _args: any, baggage: any): {
9
9
  }>>;
10
10
  provideManagerForBridge: (bridgeDevice: BridgeDevice) => import("./types.js").BridgeManager;
11
11
  } & import("@endo/eventual-send").RemotableBrand<{}, {
12
- makeBridgedChainStorageRoot: (storageBridgeManagerP: ERef<import("./types.js").ScopedBridgeManager>, rootPath: string, options?: object) => Promise<import("@endo/exo/src/exo-makers.js").Guarded<{
12
+ makeBridgedChainStorageRoot: (storageBridgeManagerP: ERef<import("./types.js").ScopedBridgeManager>, rootPath: string, options?: object) => Promise<import("@endo/exo").Guarded<{
13
13
  getPath(): string;
14
14
  getStoreKey(): Promise<import("@agoric/internal/src/lib-chainStorage.js").VStorageKey>;
15
15
  makeChildNode(name: string, childNodeOptions?: {
package/src/vat-ibc.d.ts CHANGED
@@ -3,7 +3,7 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
3
3
  protocolHandler: ProtocolHandler;
4
4
  bridgeHandler: import("./types.js").BridgeHandler;
5
5
  } | {
6
- protocolHandler: import("@endo/exo/src/exo-makers.js").Guarded<{
6
+ protocolHandler: import("@endo/exo").Guarded<{
7
7
  onCreate(impl: any, _protocolHandler: any): Promise<void>;
8
8
  onInstantiate(): Promise<string>;
9
9
  generatePortID(_localAddr: any, _protocolHandler: any): Promise<string>;
@@ -13,11 +13,11 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
13
13
  onListenRemove(_port: any, localAddr: any, _listenHandler: any): Promise<void>;
14
14
  onRevoke(_port: any, localAddr: any, _protocolHandler: any): Promise<void>;
15
15
  }>;
16
- bridgeHandler: import("@endo/exo/src/exo-makers.js").Guarded<{
16
+ bridgeHandler: import("@endo/exo").Guarded<{
17
17
  fromBridge(obj: any): Promise<import("@agoric/vow").Vow<any> | undefined>;
18
18
  }>;
19
19
  };
20
- makeCallbacks: (dibcBridgeManager: import("./types.js").ScopedBridgeManager) => import("@endo/exo/src/exo-makers.js").Guarded<{
20
+ makeCallbacks: (dibcBridgeManager: import("./types.js").ScopedBridgeManager) => import("@endo/exo").Guarded<{
21
21
  downcall(method: any, obj: any): Promise<any>;
22
22
  }>;
23
23
  } & import("@endo/eventual-send").RemotableBrand<{}, {
@@ -25,7 +25,7 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
25
25
  protocolHandler: ProtocolHandler;
26
26
  bridgeHandler: import("./types.js").BridgeHandler;
27
27
  } | {
28
- protocolHandler: import("@endo/exo/src/exo-makers.js").Guarded<{
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 buildRootObject(_vatPowers: any, _args: any, baggage: any): {
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/src/exo-makers.js").Guarded<{
38
+ bridgeHandler: import("@endo/exo").Guarded<{
39
39
  fromBridge(obj: any): Promise<import("@agoric/vow").Vow<any> | undefined>;
40
40
  }>;
41
41
  };
42
- makeCallbacks: (dibcBridgeManager: import("./types.js").ScopedBridgeManager) => import("@endo/exo/src/exo-makers.js").Guarded<{
42
+ makeCallbacks: (dibcBridgeManager: import("./types.js").ScopedBridgeManager) => import("@endo/exo").Guarded<{
43
43
  downcall(method: any, obj: any): Promise<any>;
44
44
  }>;
45
45
  }>;