@agoric/inter-protocol 0.16.2-dev-247cc9b.0 → 0.16.2-dev-3c1b9a2.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/auction/auctioneer.d.ts +1 -10
- package/src/auction/auctioneer.d.ts.map +1 -1
- package/src/auction/params.d.ts +7 -2
- package/src/auction/params.d.ts.map +1 -1
- package/src/auction/sortedOffers.d.ts.map +1 -1
- package/src/auction/util.d.ts.map +1 -1
- package/src/clientSupport.d.ts +1 -1
- package/src/clientSupport.d.ts.map +1 -1
- package/src/feeDistributor.d.ts +11 -11
- package/src/feeDistributor.d.ts.map +1 -1
- package/src/interest.d.ts.map +1 -1
- package/src/price/fluxAggregatorContract.d.ts +4 -4
- package/src/price/fluxAggregatorContract.d.ts.map +1 -1
- package/src/price/fluxAggregatorKit.d.ts +1 -1
- package/src/price/fluxAggregatorKit.d.ts.map +1 -1
- package/src/price/priceOracleKit.d.ts.map +1 -1
- package/src/proposals/econ-behaviors.d.ts.map +1 -1
- package/src/proposals/price-feed-proposal.d.ts +2 -2
- package/src/proposals/price-feed-proposal.d.ts.map +1 -1
- package/src/proposals/utils.d.ts +26 -4
- package/src/proposals/utils.d.ts.map +1 -1
- package/src/provisionPool.d.ts +1 -1
- package/src/provisionPool.d.ts.map +1 -1
- package/src/provisionPoolKit.d.ts +470 -6
- package/src/provisionPoolKit.d.ts.map +1 -1
- package/src/psm/psm.d.ts.map +1 -1
- package/src/reserve/assetReserve.d.ts +1 -1
- package/src/reserve/assetReserve.d.ts.map +1 -1
- package/src/vaultFactory/liquidation.d.ts +74 -2
- package/src/vaultFactory/liquidation.d.ts.map +1 -1
- package/src/vaultFactory/params.d.ts +40 -4
- package/src/vaultFactory/params.d.ts.map +1 -1
- package/src/vaultFactory/types.d.ts.map +1 -1
- package/src/vaultFactory/vault.d.ts.map +1 -1
- package/src/vaultFactory/vaultDirector.d.ts +39 -3
- package/src/vaultFactory/vaultDirector.d.ts.map +1 -1
- package/src/vaultFactory/vaultFactory.d.ts +58 -7
- package/src/vaultFactory/vaultFactory.d.ts.map +1 -1
- package/src/vaultFactory/vaultHolder.d.ts +2 -46
- package/src/vaultFactory/vaultHolder.d.ts.map +1 -1
- package/src/vaultFactory/vaultManager.d.ts +38 -2
- package/src/vaultFactory/vaultManager.d.ts.map +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function makeBridgeProvisionTool(sendInitialPayment: (depositBank: ERef<Bank>) => Promise<void>, onProvisioned: () => void): ({ bankManager, namesByAddressAdmin, walletFactory, }: ProvisionPoolKitReferences) => {
|
|
1
|
+
export function makeBridgeProvisionTool(sendInitialPayment: (depositBank: ERef<import("@agoric/vats/src/vat-bank.js").Bank>) => Promise<void>, onProvisioned: () => void): ({ bankManager, namesByAddressAdmin, walletFactory, }: ProvisionPoolKitReferences) => {
|
|
2
2
|
fromBridge: (obj: any) => Promise<void>;
|
|
3
3
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
4
4
|
fromBridge: (obj: any) => Promise<void>;
|
|
@@ -244,7 +244,7 @@ export function prepareProvisionPoolKit(baggage: import('@agoric/vat-data').Bagg
|
|
|
244
244
|
onSendFunds(provided: any): void;
|
|
245
245
|
onProvisioned(): void;
|
|
246
246
|
/** @param {ERef<Bank>} destBank */
|
|
247
|
-
sendInitialPayment(destBank: ERef<Bank>): Promise<void>;
|
|
247
|
+
sendInitialPayment(destBank: ERef<import("@agoric/vats/src/vat-bank.js").Bank>): Promise<void>;
|
|
248
248
|
/**
|
|
249
249
|
* @param {object} [options]
|
|
250
250
|
* @param {MetricsNotification} [options.metrics]
|
|
@@ -257,7 +257,7 @@ export function prepareProvisionPoolKit(baggage: import('@agoric/vat-data').Bagg
|
|
|
257
257
|
* @param {Amount} amount
|
|
258
258
|
* @param {PsmInstance} instance
|
|
259
259
|
*/
|
|
260
|
-
swap(payIn: ERef<Payment
|
|
260
|
+
swap(payIn: ERef<Payment<AssetKind>>, amount: Amount, instance: PsmInstance): Promise<Amount<"nat">>;
|
|
261
261
|
};
|
|
262
262
|
public: {
|
|
263
263
|
getPublicTopics(): {
|
|
@@ -330,9 +330,473 @@ export type PsmInstance = import('@agoric/zoe/src/zoeService/utils.js').Instance
|
|
|
330
330
|
}>;
|
|
331
331
|
}>>;
|
|
332
332
|
export type ProvisionPoolKitReferences = {
|
|
333
|
-
bankManager: ERef<
|
|
334
|
-
|
|
335
|
-
|
|
333
|
+
bankManager: ERef<{
|
|
334
|
+
getAssetSubscription(): IterableEachTopic<import("@agoric/vats/src/vat-bank.js").AssetDescriptor>;
|
|
335
|
+
getRewardDistributorDepositFacet(denom: string, feeKit: import("@agoric/vats/src/vat-bank.js").AssetIssuerKit<AssetKind>): ERef<{
|
|
336
|
+
/**
|
|
337
|
+
* Deposit all the contents of payment
|
|
338
|
+
* into the purse that made this facet, returning the amount. If the optional
|
|
339
|
+
* argument `optAmount` does not equal the amount of digital assets in the
|
|
340
|
+
* payment, throw an error.
|
|
341
|
+
*
|
|
342
|
+
* If payment is a promise, throw an error.
|
|
343
|
+
*/
|
|
344
|
+
receive: (args_0: Payment<AssetKind>, args_1?: any) => ERef<Amount<AssetKind>>;
|
|
345
|
+
}>;
|
|
346
|
+
getModuleAccountAddress(moduleName: string): Promise<string | null>;
|
|
347
|
+
addAsset(denom: string, issuerName: string, proposedName: string, kit: import("@agoric/vats/src/vat-bank.js").AssetIssuerKit<AssetKind> & {
|
|
348
|
+
payment?: ERef<Payment<AssetKind>> | undefined;
|
|
349
|
+
}): Promise<void>;
|
|
350
|
+
getBankForAddress(address: string): Promise<import("@agoric/vats/src/vat-bank.js").Bank>;
|
|
351
|
+
} & import("@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
352
|
+
getAssetSubscription(): IterableEachTopic<import("@agoric/vats/src/vat-bank.js").AssetDescriptor>;
|
|
353
|
+
getRewardDistributorDepositFacet(denom: string, feeKit: import("@agoric/vats/src/vat-bank.js").AssetIssuerKit<AssetKind>): ERef<{
|
|
354
|
+
/**
|
|
355
|
+
* Deposit all the contents of payment
|
|
356
|
+
* into the purse that made this facet, returning the amount. If the optional
|
|
357
|
+
* argument `optAmount` does not equal the amount of digital assets in the
|
|
358
|
+
* payment, throw an error.
|
|
359
|
+
*
|
|
360
|
+
* If payment is a promise, throw an error.
|
|
361
|
+
*/
|
|
362
|
+
receive: (args_0: Payment<AssetKind>, args_1?: any) => ERef<Amount<AssetKind>>;
|
|
363
|
+
}>;
|
|
364
|
+
getModuleAccountAddress(moduleName: string): Promise<string | null>;
|
|
365
|
+
addAsset(denom: string, issuerName: string, proposedName: string, kit: import("@agoric/vats/src/vat-bank.js").AssetIssuerKit<AssetKind> & {
|
|
366
|
+
payment?: ERef<Payment<AssetKind>> | undefined;
|
|
367
|
+
}): Promise<void>;
|
|
368
|
+
getBankForAddress(address: string): Promise<import("@agoric/vats/src/vat-bank.js").Bank>;
|
|
369
|
+
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
370
|
+
getAssetSubscription(): IterableEachTopic<import("@agoric/vats/src/vat-bank.js").AssetDescriptor>;
|
|
371
|
+
getRewardDistributorDepositFacet(denom: string, feeKit: import("@agoric/vats/src/vat-bank.js").AssetIssuerKit<AssetKind>): ERef<{
|
|
372
|
+
/**
|
|
373
|
+
* Deposit all the contents of payment
|
|
374
|
+
* into the purse that made this facet, returning the amount. If the optional
|
|
375
|
+
* argument `optAmount` does not equal the amount of digital assets in the
|
|
376
|
+
* payment, throw an error.
|
|
377
|
+
*
|
|
378
|
+
* If payment is a promise, throw an error.
|
|
379
|
+
*/
|
|
380
|
+
receive: (args_0: Payment<AssetKind>, args_1?: any) => ERef<Amount<AssetKind>>;
|
|
381
|
+
}>;
|
|
382
|
+
getModuleAccountAddress(moduleName: string): Promise<string | null>;
|
|
383
|
+
addAsset(denom: string, issuerName: string, proposedName: string, kit: import("@agoric/vats/src/vat-bank.js").AssetIssuerKit<AssetKind> & {
|
|
384
|
+
payment?: ERef<Payment<AssetKind>> | undefined;
|
|
385
|
+
}): Promise<void>;
|
|
386
|
+
getBankForAddress(address: string): Promise<import("@agoric/vats/src/vat-bank.js").Bank>;
|
|
387
|
+
} & import("@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
388
|
+
getAssetSubscription(): IterableEachTopic<import("@agoric/vats/src/vat-bank.js").AssetDescriptor>;
|
|
389
|
+
getRewardDistributorDepositFacet(denom: string, feeKit: import("@agoric/vats/src/vat-bank.js").AssetIssuerKit<AssetKind>): ERef<{
|
|
390
|
+
/**
|
|
391
|
+
* Deposit all the contents of payment
|
|
392
|
+
* into the purse that made this facet, returning the amount. If the optional
|
|
393
|
+
* argument `optAmount` does not equal the amount of digital assets in the
|
|
394
|
+
* payment, throw an error.
|
|
395
|
+
*
|
|
396
|
+
* If payment is a promise, throw an error.
|
|
397
|
+
*/
|
|
398
|
+
receive: (args_0: Payment<AssetKind>, args_1?: any) => ERef<Amount<AssetKind>>;
|
|
399
|
+
}>;
|
|
400
|
+
getModuleAccountAddress(moduleName: string): Promise<string | null>;
|
|
401
|
+
addAsset(denom: string, issuerName: string, proposedName: string, kit: import("@agoric/vats/src/vat-bank.js").AssetIssuerKit<AssetKind> & {
|
|
402
|
+
payment?: ERef<Payment<AssetKind>> | undefined;
|
|
403
|
+
}): Promise<void>;
|
|
404
|
+
getBankForAddress(address: string): Promise<import("@agoric/vats/src/vat-bank.js").Bank>;
|
|
405
|
+
}>>>;
|
|
406
|
+
namesByAddressAdmin: ERef<import("@agoric/vats").NameAdmin>;
|
|
407
|
+
walletFactory: ERef<{
|
|
408
|
+
provideSmartWallet(address: string, bank: ERef<import("@agoric/vats/src/vat-bank.js").Bank>, namesByAddressAdmin: ERef<import("@agoric/vats").NameAdmin>): Promise<[wallet: {
|
|
409
|
+
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
410
|
+
getDepositFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
411
|
+
receive(payment: Payment<AssetKind>): Promise<Amount<AssetKind>>;
|
|
412
|
+
}>;
|
|
413
|
+
getOffersFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
414
|
+
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
415
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
416
|
+
}>;
|
|
417
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
418
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
419
|
+
getPublicTopics(): {
|
|
420
|
+
current: {
|
|
421
|
+
description: string;
|
|
422
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
423
|
+
storagePath: Promise<string>;
|
|
424
|
+
};
|
|
425
|
+
updates: {
|
|
426
|
+
description: string;
|
|
427
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
428
|
+
storagePath: Promise<string>;
|
|
429
|
+
};
|
|
430
|
+
};
|
|
431
|
+
repairWalletForIncarnation2(key: any): void;
|
|
432
|
+
} & import("@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
433
|
+
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
434
|
+
getDepositFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
435
|
+
receive(payment: Payment<AssetKind>): Promise<Amount<AssetKind>>;
|
|
436
|
+
}>;
|
|
437
|
+
getOffersFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
438
|
+
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
439
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
440
|
+
}>;
|
|
441
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
442
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
443
|
+
getPublicTopics(): {
|
|
444
|
+
current: {
|
|
445
|
+
description: string;
|
|
446
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
447
|
+
storagePath: Promise<string>;
|
|
448
|
+
};
|
|
449
|
+
updates: {
|
|
450
|
+
description: string;
|
|
451
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
452
|
+
storagePath: Promise<string>;
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
repairWalletForIncarnation2(key: any): void;
|
|
456
|
+
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
457
|
+
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
458
|
+
getDepositFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
459
|
+
receive(payment: Payment<AssetKind>): Promise<Amount<AssetKind>>;
|
|
460
|
+
}>;
|
|
461
|
+
getOffersFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
462
|
+
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
463
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
464
|
+
}>;
|
|
465
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
466
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
467
|
+
getPublicTopics(): {
|
|
468
|
+
current: {
|
|
469
|
+
description: string;
|
|
470
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
471
|
+
storagePath: Promise<string>;
|
|
472
|
+
};
|
|
473
|
+
updates: {
|
|
474
|
+
description: string;
|
|
475
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
476
|
+
storagePath: Promise<string>;
|
|
477
|
+
};
|
|
478
|
+
};
|
|
479
|
+
repairWalletForIncarnation2(key: any): void;
|
|
480
|
+
} & import("@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
481
|
+
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
482
|
+
getDepositFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
483
|
+
receive(payment: Payment<AssetKind>): Promise<Amount<AssetKind>>;
|
|
484
|
+
}>;
|
|
485
|
+
getOffersFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
486
|
+
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
487
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
488
|
+
}>;
|
|
489
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
490
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
491
|
+
getPublicTopics(): {
|
|
492
|
+
current: {
|
|
493
|
+
description: string;
|
|
494
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
495
|
+
storagePath: Promise<string>;
|
|
496
|
+
};
|
|
497
|
+
updates: {
|
|
498
|
+
description: string;
|
|
499
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
500
|
+
storagePath: Promise<string>;
|
|
501
|
+
};
|
|
502
|
+
};
|
|
503
|
+
repairWalletForIncarnation2(key: any): void;
|
|
504
|
+
}>>, isNew: boolean]>;
|
|
505
|
+
} & import("@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
506
|
+
provideSmartWallet(address: string, bank: ERef<import("@agoric/vats/src/vat-bank.js").Bank>, namesByAddressAdmin: ERef<import("@agoric/vats").NameAdmin>): Promise<[wallet: {
|
|
507
|
+
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
508
|
+
getDepositFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
509
|
+
receive(payment: Payment<AssetKind>): Promise<Amount<AssetKind>>;
|
|
510
|
+
}>;
|
|
511
|
+
getOffersFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
512
|
+
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
513
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
514
|
+
}>;
|
|
515
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
516
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
517
|
+
getPublicTopics(): {
|
|
518
|
+
current: {
|
|
519
|
+
description: string;
|
|
520
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
521
|
+
storagePath: Promise<string>;
|
|
522
|
+
};
|
|
523
|
+
updates: {
|
|
524
|
+
description: string;
|
|
525
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
526
|
+
storagePath: Promise<string>;
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
repairWalletForIncarnation2(key: any): void;
|
|
530
|
+
} & import("@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
531
|
+
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
532
|
+
getDepositFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
533
|
+
receive(payment: Payment<AssetKind>): Promise<Amount<AssetKind>>;
|
|
534
|
+
}>;
|
|
535
|
+
getOffersFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
536
|
+
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
537
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
538
|
+
}>;
|
|
539
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
540
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
541
|
+
getPublicTopics(): {
|
|
542
|
+
current: {
|
|
543
|
+
description: string;
|
|
544
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
545
|
+
storagePath: Promise<string>;
|
|
546
|
+
};
|
|
547
|
+
updates: {
|
|
548
|
+
description: string;
|
|
549
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
550
|
+
storagePath: Promise<string>;
|
|
551
|
+
};
|
|
552
|
+
};
|
|
553
|
+
repairWalletForIncarnation2(key: any): void;
|
|
554
|
+
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
555
|
+
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
556
|
+
getDepositFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
557
|
+
receive(payment: Payment<AssetKind>): Promise<Amount<AssetKind>>;
|
|
558
|
+
}>;
|
|
559
|
+
getOffersFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
560
|
+
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
561
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
562
|
+
}>;
|
|
563
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
564
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
565
|
+
getPublicTopics(): {
|
|
566
|
+
current: {
|
|
567
|
+
description: string;
|
|
568
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
569
|
+
storagePath: Promise<string>;
|
|
570
|
+
};
|
|
571
|
+
updates: {
|
|
572
|
+
description: string;
|
|
573
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
574
|
+
storagePath: Promise<string>;
|
|
575
|
+
};
|
|
576
|
+
};
|
|
577
|
+
repairWalletForIncarnation2(key: any): void;
|
|
578
|
+
} & import("@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
579
|
+
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
580
|
+
getDepositFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
581
|
+
receive(payment: Payment<AssetKind>): Promise<Amount<AssetKind>>;
|
|
582
|
+
}>;
|
|
583
|
+
getOffersFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
584
|
+
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
585
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
586
|
+
}>;
|
|
587
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
588
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
589
|
+
getPublicTopics(): {
|
|
590
|
+
current: {
|
|
591
|
+
description: string;
|
|
592
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
593
|
+
storagePath: Promise<string>;
|
|
594
|
+
};
|
|
595
|
+
updates: {
|
|
596
|
+
description: string;
|
|
597
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
598
|
+
storagePath: Promise<string>;
|
|
599
|
+
};
|
|
600
|
+
};
|
|
601
|
+
repairWalletForIncarnation2(key: any): void;
|
|
602
|
+
}>>, isNew: boolean]>;
|
|
603
|
+
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
604
|
+
provideSmartWallet(address: string, bank: ERef<import("@agoric/vats/src/vat-bank.js").Bank>, namesByAddressAdmin: ERef<import("@agoric/vats").NameAdmin>): Promise<[wallet: {
|
|
605
|
+
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
606
|
+
getDepositFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
607
|
+
receive(payment: Payment<AssetKind>): Promise<Amount<AssetKind>>;
|
|
608
|
+
}>;
|
|
609
|
+
getOffersFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
610
|
+
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
611
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
612
|
+
}>;
|
|
613
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
614
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
615
|
+
getPublicTopics(): {
|
|
616
|
+
current: {
|
|
617
|
+
description: string;
|
|
618
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
619
|
+
storagePath: Promise<string>;
|
|
620
|
+
};
|
|
621
|
+
updates: {
|
|
622
|
+
description: string;
|
|
623
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
624
|
+
storagePath: Promise<string>;
|
|
625
|
+
};
|
|
626
|
+
};
|
|
627
|
+
repairWalletForIncarnation2(key: any): void;
|
|
628
|
+
} & import("@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
629
|
+
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
630
|
+
getDepositFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
631
|
+
receive(payment: Payment<AssetKind>): Promise<Amount<AssetKind>>;
|
|
632
|
+
}>;
|
|
633
|
+
getOffersFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
634
|
+
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
635
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
636
|
+
}>;
|
|
637
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
638
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
639
|
+
getPublicTopics(): {
|
|
640
|
+
current: {
|
|
641
|
+
description: string;
|
|
642
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
643
|
+
storagePath: Promise<string>;
|
|
644
|
+
};
|
|
645
|
+
updates: {
|
|
646
|
+
description: string;
|
|
647
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
648
|
+
storagePath: Promise<string>;
|
|
649
|
+
};
|
|
650
|
+
};
|
|
651
|
+
repairWalletForIncarnation2(key: any): void;
|
|
652
|
+
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
653
|
+
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
654
|
+
getDepositFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
655
|
+
receive(payment: Payment<AssetKind>): Promise<Amount<AssetKind>>;
|
|
656
|
+
}>;
|
|
657
|
+
getOffersFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
658
|
+
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
659
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
660
|
+
}>;
|
|
661
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
662
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
663
|
+
getPublicTopics(): {
|
|
664
|
+
current: {
|
|
665
|
+
description: string;
|
|
666
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
667
|
+
storagePath: Promise<string>;
|
|
668
|
+
};
|
|
669
|
+
updates: {
|
|
670
|
+
description: string;
|
|
671
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
672
|
+
storagePath: Promise<string>;
|
|
673
|
+
};
|
|
674
|
+
};
|
|
675
|
+
repairWalletForIncarnation2(key: any): void;
|
|
676
|
+
} & import("@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
677
|
+
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
678
|
+
getDepositFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
679
|
+
receive(payment: Payment<AssetKind>): Promise<Amount<AssetKind>>;
|
|
680
|
+
}>;
|
|
681
|
+
getOffersFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
682
|
+
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
683
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
684
|
+
}>;
|
|
685
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
686
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
687
|
+
getPublicTopics(): {
|
|
688
|
+
current: {
|
|
689
|
+
description: string;
|
|
690
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
691
|
+
storagePath: Promise<string>;
|
|
692
|
+
};
|
|
693
|
+
updates: {
|
|
694
|
+
description: string;
|
|
695
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
696
|
+
storagePath: Promise<string>;
|
|
697
|
+
};
|
|
698
|
+
};
|
|
699
|
+
repairWalletForIncarnation2(key: any): void;
|
|
700
|
+
}>>, isNew: boolean]>;
|
|
701
|
+
} & import("@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
702
|
+
provideSmartWallet(address: string, bank: ERef<import("@agoric/vats/src/vat-bank.js").Bank>, namesByAddressAdmin: ERef<import("@agoric/vats").NameAdmin>): Promise<[wallet: {
|
|
703
|
+
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
704
|
+
getDepositFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
705
|
+
receive(payment: Payment<AssetKind>): Promise<Amount<AssetKind>>;
|
|
706
|
+
}>;
|
|
707
|
+
getOffersFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
708
|
+
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
709
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
710
|
+
}>;
|
|
711
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
712
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
713
|
+
getPublicTopics(): {
|
|
714
|
+
current: {
|
|
715
|
+
description: string;
|
|
716
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
717
|
+
storagePath: Promise<string>;
|
|
718
|
+
};
|
|
719
|
+
updates: {
|
|
720
|
+
description: string;
|
|
721
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
722
|
+
storagePath: Promise<string>;
|
|
723
|
+
};
|
|
724
|
+
};
|
|
725
|
+
repairWalletForIncarnation2(key: any): void;
|
|
726
|
+
} & import("@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
727
|
+
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
728
|
+
getDepositFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
729
|
+
receive(payment: Payment<AssetKind>): Promise<Amount<AssetKind>>;
|
|
730
|
+
}>;
|
|
731
|
+
getOffersFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
732
|
+
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
733
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
734
|
+
}>;
|
|
735
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
736
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
737
|
+
getPublicTopics(): {
|
|
738
|
+
current: {
|
|
739
|
+
description: string;
|
|
740
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
741
|
+
storagePath: Promise<string>;
|
|
742
|
+
};
|
|
743
|
+
updates: {
|
|
744
|
+
description: string;
|
|
745
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
746
|
+
storagePath: Promise<string>;
|
|
747
|
+
};
|
|
748
|
+
};
|
|
749
|
+
repairWalletForIncarnation2(key: any): void;
|
|
750
|
+
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
751
|
+
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
752
|
+
getDepositFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
753
|
+
receive(payment: Payment<AssetKind>): Promise<Amount<AssetKind>>;
|
|
754
|
+
}>;
|
|
755
|
+
getOffersFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
756
|
+
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
757
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
758
|
+
}>;
|
|
759
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
760
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
761
|
+
getPublicTopics(): {
|
|
762
|
+
current: {
|
|
763
|
+
description: string;
|
|
764
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
765
|
+
storagePath: Promise<string>;
|
|
766
|
+
};
|
|
767
|
+
updates: {
|
|
768
|
+
description: string;
|
|
769
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
770
|
+
storagePath: Promise<string>;
|
|
771
|
+
};
|
|
772
|
+
};
|
|
773
|
+
repairWalletForIncarnation2(key: any): void;
|
|
774
|
+
} & import("@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
775
|
+
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
776
|
+
getDepositFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
777
|
+
receive(payment: Payment<AssetKind>): Promise<Amount<AssetKind>>;
|
|
778
|
+
}>;
|
|
779
|
+
getOffersFacet(): import("@endo/exo/src/exo-makers").Guarded<{
|
|
780
|
+
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
781
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
782
|
+
}>;
|
|
783
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
784
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
785
|
+
getPublicTopics(): {
|
|
786
|
+
current: {
|
|
787
|
+
description: string;
|
|
788
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
789
|
+
storagePath: Promise<string>;
|
|
790
|
+
};
|
|
791
|
+
updates: {
|
|
792
|
+
description: string;
|
|
793
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
794
|
+
storagePath: Promise<string>;
|
|
795
|
+
};
|
|
796
|
+
};
|
|
797
|
+
repairWalletForIncarnation2(key: any): void;
|
|
798
|
+
}>>, isNew: boolean]>;
|
|
799
|
+
}>>>;
|
|
336
800
|
};
|
|
337
801
|
/**
|
|
338
802
|
* Metrics naming scheme is that nouns are
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provisionPoolKit.d.ts","sourceRoot":"","sources":["provisionPoolKit.js"],"names":[],"mappings":"AA2DO,
|
|
1
|
+
{"version":3,"file":"provisionPoolKit.d.ts","sourceRoot":"","sources":["provisionPoolKit.js"],"names":[],"mappings":"AA2DO,gIALiC,QAAQ,IAAI,CAAC,iBAC1C,MAAM,IAAI,0DAKP,0BAA0B;;;;GA+BvC;AAWM,iDARI,OAAO,kBAAkB,EAAE,OAAO,8CAClC;IACV,eAAmB,EAAE,OAAO,6CAA6C,EAAE,eAAe,CAAC;IAC3F,MAAU,EAAE,GAAG,CAAC;IAChB,QAAY,EAAE,OAAO,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7C,GAAO,EAAE,GAAG,CAAC;CACV;eAuVS,KAAK;;;;QAxQV,qCAAqC;4CAAzB,MAAM,EAAE;;YA+CpB,8BAA8B;kCAAlB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAqBlB;;;eAGG;+BAFQ,MAAM,GACJ,OAAO;;QA9DpB,gDAAgD;6BAApC,0BAA0B;;;;;;QA6BtC;;;WAGG;uBAFQ,KAAK,YACL,WAAW;;;QAQtB,8BAA8B;8BAAlB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAqBlB;;;WAGG;2BAFQ,MAAM,GACJ,OAAO;;;;;;;QAgDpB,mCAAmC;;QA0BnC;;;WAGG;;;;QA2EH;;;;WAIG;sDAFQ,MAAM,YACN,WAAW;;;;;;;IAwD7B;0BAlbY,OAAO,qCAAqC,EAAE,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2JAyJ3D,qCAAqC;;;;;GAvJzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAeU,MAAM;;;;;yBACN,OAAO,KAAK,CAAC;;;;;0BAEb,OAAO,KAAK,CAAC;;;;;;mBAWd,OAAO,8BAA8B,EAAE,IAAI"}
|
package/src/psm/psm.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"psm.d.ts","sourceRoot":"","sources":["psm.js"],"names":[],"mappings":"AAyCA;;;;;;GAMG;AAEH;;;;;;;;;;;;;GAaG;AAEH,4DAA4D;AAE5D,2BAA2B;AAC3B,mBADW,YAAY,CAkCrB;AAsBK;
|
|
1
|
+
{"version":3,"file":"psm.d.ts","sourceRoot":"","sources":["psm.js"],"names":[],"mappings":"AAyCA;;;;;;GAMG;AAEH;;;;;;;;;;;;;GAaG;AAEH,4DAA4D;AAE5D,2BAA2B;AAC3B,mBADW,YAAY,CAkCrB;AAsBK,2BAlBI,IACV,gBAAoB;IACpB,aAAmB,EAAE,OAAO,CAAC;IAC7B,aAAmB,EAAE,OAAO,CAAC;IAC7B,SAAe,EAAE,QAAQ,CAAC;CACrB,CAAC,GAAG;IACT,WAAiB,EAAE,MAAM,KAAK,CAAC,CAAC;IAChC,eAAqB,EAAE,KAAK,CAAC;CACxB,CACF,eACO;IACV,aAAiB,EAAE,aAAa,CAAC;IACjC,sBAA0B,EAAE,UAAU,CAAC;IACvC,WAAe,EAAE,WAAW,CAAC;IAC7B,UAAc,EAAE,UAAU,CAAC;CACxB,WACO,OAAO;;;;;;;;;;;;;;;;;;;;QAuHhB,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+MrC;;;;;;;;;;uBA1Ya,OAAO,KAAK,CAAC;;;;;uBAEb,OAAO,KAAK,CAAC;;;;;oBAEb,OAAO,KAAK,CAAC;;;;;yBAEb,OAAO,KAAK,CAAC;;;;;yBAEb,OAAO,KAAK,CAAC;;sBAIb,OAAO,kBAAkB,EAAE,OAAO;6BAiYlC,QAAQ,WAAW,YAAY,CAAC,CAAC,CAAC,aAAa,CAAC"}
|
|
@@ -5,7 +5,7 @@ export function start(zcf: ZCF<GovernanceTerms<{}> & {
|
|
|
5
5
|
}>, privateArgs: {
|
|
6
6
|
feeMintAccess: FeeMintAccess;
|
|
7
7
|
initialPoserInvitation: Invitation;
|
|
8
|
-
marshaller: ERef<Marshaller
|
|
8
|
+
marshaller: ERef<Marshaller<unknown>>;
|
|
9
9
|
storageNode: ERef<StorageNode>;
|
|
10
10
|
}, baggage: Baggage): Promise<{
|
|
11
11
|
/** @type {GovernedCreatorFacet<typeof assetReserveKit.machine>} */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assetReserve.d.ts","sourceRoot":"","sources":["assetReserve.js"],"names":[],"mappings":"AAYA,2BAA2B;AAC3B,mBADW,YAAY,CAGrB;AAgCK,2BAbI,IACV,gBAAoB,EAAE,CAAC,GAAG;IAC1B,YAAkB,EAAE,CAAC,2BAA2B,CAAC,CAAC;CAC7C,CACF;mBAEgB,aAAa;4BACJ,UAAU
|
|
1
|
+
{"version":3,"file":"assetReserve.d.ts","sourceRoot":"","sources":["assetReserve.js"],"names":[],"mappings":"AAYA,2BAA2B;AAC3B,mBADW,YAAY,CAGrB;AAgCK,2BAbI,IACV,gBAAoB,EAAE,CAAC,GAAG;IAC1B,YAAkB,EAAE,CAAC,2BAA2B,CAAC,CAAC;CAC7C,CACF;mBAEgB,aAAa;4BACJ,UAAU;;;YAI5B,OAAO;IA6Dd,mEAAmE;;;;;;;;;IAEnE,iEAAiE;;;;;;;GAKpE;sCA9FY;IACZ,4BAAgC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7D,0BAA8B,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CACzD;sBAGU,OAAO,kBAAkB,EAAE,OAAO;;kCA6FlC,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI;gCAC3B,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI;;;eAK3B,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,IAAI;oBACrC,MAAM,UAAU;sCAChB,MAAM,QAAQ,WAAW,iBAAiB,CAAC,CAAC;;sCAG5C,QAAQ,WAAW,YAAY,CAAC,CAAC,CAAC,aAAa,CAAC;;;;uCAEjD,QAAQ,WAAW,YAAY,CAAC,CAAC,CAAC,cAAc,CAAC"}
|
|
@@ -1,9 +1,81 @@
|
|
|
1
|
-
export function setWakeupsForNextAuction(auctioneerPublicFacet: ERef<
|
|
1
|
+
export function setWakeupsForNextAuction(auctioneerPublicFacet: ERef<GovernedPublicFacet<{
|
|
2
|
+
getElectorate: () => Amount<"set">;
|
|
3
|
+
getStartFrequency: () => import("@agoric/time").RelativeTime;
|
|
4
|
+
getClockStep: () => import("@agoric/time").RelativeTime;
|
|
5
|
+
getStartingRate: () => bigint;
|
|
6
|
+
getLowestRate: () => bigint;
|
|
7
|
+
getDiscountStep: () => bigint;
|
|
8
|
+
getAuctionStartDelay: () => import("@agoric/time").RelativeTime;
|
|
9
|
+
getPriceLockPeriod: () => import("@agoric/time").RelativeTime;
|
|
10
|
+
makeBidInvitation(collateralBrand: Brand<"nat">): Promise<Invitation<string, ({
|
|
11
|
+
maxBuy: Amount<"nat">;
|
|
12
|
+
} & {
|
|
13
|
+
exitAfterBuy?: boolean | undefined;
|
|
14
|
+
} & {
|
|
15
|
+
offerPrice: Ratio;
|
|
16
|
+
}) | ({
|
|
17
|
+
maxBuy: Amount<"nat">;
|
|
18
|
+
} & {
|
|
19
|
+
exitAfterBuy?: boolean | undefined;
|
|
20
|
+
} & {
|
|
21
|
+
offerBidScaling: Ratio;
|
|
22
|
+
})>>;
|
|
23
|
+
getSchedules(): {
|
|
24
|
+
liveAuctionSchedule: import("../auction/scheduler.js").Schedule | null;
|
|
25
|
+
nextAuctionSchedule: import("../auction/scheduler.js").Schedule | null;
|
|
26
|
+
};
|
|
27
|
+
getScheduleUpdates(): Subscriber<import("../auction/scheduler.js").ScheduleNotification>;
|
|
28
|
+
getBookDataUpdates(brand: any): Subscriber<import("../auction/auctionBook.js").BookDataNotification>;
|
|
29
|
+
getPublicTopics(brand: any): {
|
|
30
|
+
bookData: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/auctionBook.js").BookDataNotification>;
|
|
31
|
+
} | {
|
|
32
|
+
schedule: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/scheduler.js").ScheduleNotification>;
|
|
33
|
+
};
|
|
34
|
+
makeDepositInvitation: () => Promise<Invitation<string, {
|
|
35
|
+
goal: Amount<"nat">;
|
|
36
|
+
}>>;
|
|
37
|
+
}>>, timer: ERef<import("@agoric/time").TimerService>, priceLockWaker: TimerWaker, liquidationWaker: TimerWaker, reschedulerWaker: TimerWaker): Promise<void>;
|
|
2
38
|
export function liquidationResults(debt: Amount<'nat'>, minted: Amount<'nat'>): {
|
|
3
39
|
overage: Amount<'nat'>;
|
|
4
40
|
shortfall: Amount<'nat'>;
|
|
5
41
|
};
|
|
6
|
-
export function watchForGovernanceChange(auctioneerPublicFacet: ERef<
|
|
42
|
+
export function watchForGovernanceChange(auctioneerPublicFacet: ERef<GovernedPublicFacet<{
|
|
43
|
+
getElectorate: () => Amount<"set">;
|
|
44
|
+
getStartFrequency: () => import("@agoric/time").RelativeTime;
|
|
45
|
+
getClockStep: () => import("@agoric/time").RelativeTime;
|
|
46
|
+
getStartingRate: () => bigint;
|
|
47
|
+
getLowestRate: () => bigint;
|
|
48
|
+
getDiscountStep: () => bigint;
|
|
49
|
+
getAuctionStartDelay: () => import("@agoric/time").RelativeTime;
|
|
50
|
+
getPriceLockPeriod: () => import("@agoric/time").RelativeTime;
|
|
51
|
+
makeBidInvitation(collateralBrand: Brand<"nat">): Promise<Invitation<string, ({
|
|
52
|
+
maxBuy: Amount<"nat">;
|
|
53
|
+
} & {
|
|
54
|
+
exitAfterBuy?: boolean | undefined;
|
|
55
|
+
} & {
|
|
56
|
+
offerPrice: Ratio;
|
|
57
|
+
}) | ({
|
|
58
|
+
maxBuy: Amount<"nat">;
|
|
59
|
+
} & {
|
|
60
|
+
exitAfterBuy?: boolean | undefined;
|
|
61
|
+
} & {
|
|
62
|
+
offerBidScaling: Ratio;
|
|
63
|
+
})>>;
|
|
64
|
+
getSchedules(): {
|
|
65
|
+
liveAuctionSchedule: import("../auction/scheduler.js").Schedule | null;
|
|
66
|
+
nextAuctionSchedule: import("../auction/scheduler.js").Schedule | null;
|
|
67
|
+
};
|
|
68
|
+
getScheduleUpdates(): Subscriber<import("../auction/scheduler.js").ScheduleNotification>;
|
|
69
|
+
getBookDataUpdates(brand: any): Subscriber<import("../auction/auctionBook.js").BookDataNotification>;
|
|
70
|
+
getPublicTopics(brand: any): {
|
|
71
|
+
bookData: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/auctionBook.js").BookDataNotification>;
|
|
72
|
+
} | {
|
|
73
|
+
schedule: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/scheduler.js").ScheduleNotification>;
|
|
74
|
+
};
|
|
75
|
+
makeDepositInvitation: () => Promise<Invitation<string, {
|
|
76
|
+
goal: Amount<"nat">;
|
|
77
|
+
}>>;
|
|
78
|
+
}>>, timer: ERef<import("@agoric/time").TimerService>, reschedulerWaker: TimerWaker): void;
|
|
7
79
|
export function getLiquidatableVaults(zcf: ZCF, collateralizationDetails: {
|
|
8
80
|
quote: PriceQuote;
|
|
9
81
|
interest: Ratio;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"liquidation.d.ts","sourceRoot":"","sources":["liquidation.js"],"names":[],"mappings":"AAoJO,
|
|
1
|
+
{"version":3,"file":"liquidation.d.ts","sourceRoot":"","sources":["liquidation.js"],"names":[],"mappings":"AAoJO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uEALI,UAAU,oBACV,UAAU,oBACV,UAAU,GACR,QAAQ,IAAI,CAAC,CAqCzB;AAQM,yCAJI,OAAO,KAAK,CAAC,UACb,OAAO,KAAK,CAAC,GACX;IAAE,OAAO,EAAE,OAAO,KAAK,CAAC,CAAC;IAAC,SAAS,EAAE,OAAO,KAAK,CAAC,CAAA;CAAE,CAYhE;AAWM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yEAHI,UAAU,GACR,IAAI,CA0BhB;AAwBM,2CArBI,GAAG;IAEkC,KAAK,EAA1C,UAAU;IACsB,QAAQ,EAAxC,KAAK;IAC2B,MAAM,EAAtC,KAAK;sBACL,WACV,cAAkB,wBAAwB,EAAE,qBAAqB,CAC9D,qBACO,SAAS,KAAK,CAAC,aACf,MAAM,KAAK,CAAC,mBACZ,MAAM,KAAK,CAAC,GACV;IACZ,SAAa,EAAE,SACf,KAAW,EACX;QAAQ,gBAAgB,EAAE,OAAO,KAAK,CAAC,CAAC;QAAC,UAAU,EAAE,OAAO,KAAK,CAAC,CAAA;KAAE,CAC/D,CAAC;IACN,SAAa,EAAE,OAAO,KAAK,CAAC,CAAC;IAC7B,eAAmB,EAAE,OAAO,KAAK,CAAC,CAAC;IACnC,OAAW,EAAE,OAAO,CAAC;CAClB,CAiDH;2BApSa,OAAO,cAAc,EAAE,YAAY;yBACnC,OAAO,cAAc,EAAE,UAAU;0BACjC,OAAO,cAAc,EAAE,WAAW;iCAClC,OAAO,cAAc,EAAE,kBAAkB"}
|