@agoric/inter-protocol 0.16.2-dev-a3bdfb1.0 → 0.16.2-dev-fa844b5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +17 -17
- package/src/auction/auctionBook.d.ts +2 -2
- package/src/auction/auctioneer.d.ts +4 -4
- package/src/auction/offerBook.d.ts +2 -2
- package/src/auction/params.d.ts +4 -4
- package/src/contractSupport.d.ts +3 -3
- package/src/contractSupport.d.ts.map +1 -1
- package/src/econCommitteeCharter.d.ts +2 -2
- package/src/feeDistributor.d.ts +47 -31
- package/src/feeDistributor.d.ts.map +1 -1
- package/src/feeDistributor.js +5 -1
- package/src/price/fluxAggregatorContract.d.ts +6 -6
- package/src/price/fluxAggregatorKit.d.ts +4 -4
- package/src/price/priceOracleKit.d.ts +1 -1
- package/src/price/roundsManager.d.ts +7 -7
- package/src/proposals/econ-behaviors.d.ts +83 -83
- package/src/proposals/price-feed-proposal.d.ts +2 -2
- package/src/proposals/utils.d.ts +1 -1
- package/src/provisionPool.d.ts +22 -22
- package/src/provisionPoolKit.d.ts +120 -118
- package/src/provisionPoolKit.d.ts.map +1 -1
- package/src/provisionPoolKit.js +7 -2
- package/src/psm/psm.d.ts +7 -7
- package/src/reserve/assetReserve.d.ts +6 -6
- package/src/reserve/assetReserveKit.d.ts +2 -2
- package/src/vaultFactory/burn.d.ts +1 -1
- package/src/vaultFactory/burn.d.ts.map +1 -1
- package/src/vaultFactory/liquidation.d.ts +32 -32
- package/src/vaultFactory/math.d.ts +4 -4
- package/src/vaultFactory/orderedVaultStore.d.ts +55 -55
- package/src/vaultFactory/params.d.ts +18 -18
- package/src/vaultFactory/prioritizedVaults.d.ts +132 -132
- package/src/vaultFactory/types.d.ts +15 -15
- package/src/vaultFactory/vault.d.ts +24 -24
- package/src/vaultFactory/vaultDirector.d.ts +49 -49
- package/src/vaultFactory/vaultFactory.d.ts +37 -37
- package/src/vaultFactory/vaultHolder.d.ts +36 -36
- package/src/vaultFactory/vaultKit.d.ts +15 -15
- package/src/vaultFactory/vaultManager.d.ts +89 -89
|
@@ -9,20 +9,20 @@ export function prepareProvisionPoolKit(baggage: import('@agoric/vat-data').Bagg
|
|
|
9
9
|
poolBank: ERef<Bank>;
|
|
10
10
|
zcf: ZCF;
|
|
11
11
|
}): ({ poolBrand, storageNode }: {
|
|
12
|
-
poolBrand: Brand
|
|
12
|
+
poolBrand: Brand<'nat'>;
|
|
13
13
|
storageNode: ERef<StorageNode>;
|
|
14
|
-
}) => Promise<import("@endo/exo
|
|
14
|
+
}) => Promise<import("@endo/exo").GuardedKit<{
|
|
15
15
|
machine: {
|
|
16
16
|
/** @param {string[]} oldAddresses */
|
|
17
17
|
addRevivableAddresses(oldAddresses: string[]): void;
|
|
18
|
-
getWalletReviver(): import("@endo/exo
|
|
18
|
+
getWalletReviver(): import("@endo/exo").Guarded<{
|
|
19
19
|
/** @param {string} address */
|
|
20
20
|
reviveWallet(address: string): Promise<{
|
|
21
21
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
22
|
-
getDepositFacet(): import("@endo/exo
|
|
23
|
-
receive(payment: Payment
|
|
22
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
23
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
24
24
|
}>;
|
|
25
|
-
getOffersFacet(): import("@endo/exo
|
|
25
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
26
26
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
27
27
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
28
28
|
}>;
|
|
@@ -41,12 +41,12 @@ export function prepareProvisionPoolKit(baggage: import('@agoric/vat-data').Bagg
|
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
43
|
repairWalletForIncarnation2(key: any): void;
|
|
44
|
-
} & import("
|
|
44
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
45
45
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
46
|
-
getDepositFacet(): import("@endo/exo
|
|
47
|
-
receive(payment: Payment
|
|
46
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
47
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
48
48
|
}>;
|
|
49
|
-
getOffersFacet(): import("@endo/exo
|
|
49
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
50
50
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
51
51
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
52
52
|
}>;
|
|
@@ -67,10 +67,10 @@ export function prepareProvisionPoolKit(baggage: import('@agoric/vat-data').Bagg
|
|
|
67
67
|
repairWalletForIncarnation2(key: any): void;
|
|
68
68
|
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
69
69
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
70
|
-
getDepositFacet(): import("@endo/exo
|
|
71
|
-
receive(payment: Payment
|
|
70
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
71
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
72
72
|
}>;
|
|
73
|
-
getOffersFacet(): import("@endo/exo
|
|
73
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
74
74
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
75
75
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
76
76
|
}>;
|
|
@@ -89,12 +89,12 @@ export function prepareProvisionPoolKit(baggage: import('@agoric/vat-data').Bagg
|
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
91
|
repairWalletForIncarnation2(key: any): void;
|
|
92
|
-
} & import("
|
|
92
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
93
93
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
94
|
-
getDepositFacet(): import("@endo/exo
|
|
95
|
-
receive(payment: Payment
|
|
94
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
95
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
96
96
|
}>;
|
|
97
|
-
getOffersFacet(): import("@endo/exo
|
|
97
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
98
98
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
99
99
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
100
100
|
}>;
|
|
@@ -137,10 +137,10 @@ export function prepareProvisionPoolKit(baggage: import('@agoric/vat-data').Bagg
|
|
|
137
137
|
/** @param {string} address */
|
|
138
138
|
reviveWallet(address: string): Promise<{
|
|
139
139
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
140
|
-
getDepositFacet(): import("@endo/exo
|
|
141
|
-
receive(payment: Payment
|
|
140
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
141
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
142
142
|
}>;
|
|
143
|
-
getOffersFacet(): import("@endo/exo
|
|
143
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
144
144
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
145
145
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
146
146
|
}>;
|
|
@@ -159,12 +159,12 @@ export function prepareProvisionPoolKit(baggage: import('@agoric/vat-data').Bagg
|
|
|
159
159
|
};
|
|
160
160
|
};
|
|
161
161
|
repairWalletForIncarnation2(key: any): void;
|
|
162
|
-
} & import("
|
|
162
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
163
163
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
164
|
-
getDepositFacet(): import("@endo/exo
|
|
165
|
-
receive(payment: Payment
|
|
164
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
165
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
166
166
|
}>;
|
|
167
|
-
getOffersFacet(): import("@endo/exo
|
|
167
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
168
168
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
169
169
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
170
170
|
}>;
|
|
@@ -185,10 +185,10 @@ export function prepareProvisionPoolKit(baggage: import('@agoric/vat-data').Bagg
|
|
|
185
185
|
repairWalletForIncarnation2(key: any): void;
|
|
186
186
|
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
187
187
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
188
|
-
getDepositFacet(): import("@endo/exo
|
|
189
|
-
receive(payment: Payment
|
|
188
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
189
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
190
190
|
}>;
|
|
191
|
-
getOffersFacet(): import("@endo/exo
|
|
191
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
192
192
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
193
193
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
194
194
|
}>;
|
|
@@ -207,12 +207,12 @@ export function prepareProvisionPoolKit(baggage: import('@agoric/vat-data').Bagg
|
|
|
207
207
|
};
|
|
208
208
|
};
|
|
209
209
|
repairWalletForIncarnation2(key: any): void;
|
|
210
|
-
} & import("
|
|
210
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
211
211
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
212
|
-
getDepositFacet(): import("@endo/exo
|
|
213
|
-
receive(payment: Payment
|
|
212
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
213
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
214
214
|
}>;
|
|
215
|
-
getOffersFacet(): import("@endo/exo
|
|
215
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
216
216
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
217
217
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
218
218
|
}>;
|
|
@@ -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<globalThis.Payment>, amount: Amount, instance: PsmInstance): Promise<Amount<"nat">>;
|
|
261
261
|
};
|
|
262
262
|
public: {
|
|
263
263
|
getPublicTopics(): {
|
|
@@ -270,7 +270,7 @@ export type PsmInstance = import('@agoric/zoe/src/zoeService/utils.js').Instance
|
|
|
270
270
|
WantMintedFee: "ratio";
|
|
271
271
|
MintLimit: "amount";
|
|
272
272
|
}> & {
|
|
273
|
-
anchorBrand: Brand<"nat">;
|
|
273
|
+
anchorBrand: globalThis.Brand<"nat">;
|
|
274
274
|
anchorPerMinted: Ratio;
|
|
275
275
|
}>, privateArgs: {
|
|
276
276
|
feeMintAccess: FeeMintAccess;
|
|
@@ -278,7 +278,7 @@ export type PsmInstance = import('@agoric/zoe/src/zoeService/utils.js').Instance
|
|
|
278
278
|
storageNode: StorageNode;
|
|
279
279
|
marshaller: Marshaller<unknown>;
|
|
280
280
|
}, baggage: import("@agoric/vat-data").Baggage) => Promise<{
|
|
281
|
-
creatorFacet: import("@endo/exo
|
|
281
|
+
creatorFacet: import("@endo/exo").Guarded<{
|
|
282
282
|
getParamMgrRetriever: () => {
|
|
283
283
|
get: () => import("@agoric/governance/src/contractGovernance/typedParamManager").TypedParamManager<{
|
|
284
284
|
GiveMintedFee: "ratio";
|
|
@@ -295,9 +295,9 @@ export type PsmInstance = import('@agoric/zoe/src/zoeService/utils.js').Instance
|
|
|
295
295
|
} & {
|
|
296
296
|
Electorate: "invitation";
|
|
297
297
|
}>;
|
|
298
|
-
}>;
|
|
298
|
+
}>;
|
|
299
299
|
getInvitation: (name: any) => Promise<Invitation<unknown, undefined>>;
|
|
300
|
-
getLimitedCreatorFacet: () => import("@endo/exo
|
|
300
|
+
getLimitedCreatorFacet: () => import("@endo/exo").Guarded<{
|
|
301
301
|
getRewardAllocation(): AmountKeywordRecord;
|
|
302
302
|
makeCollectFeesInvitation(): Promise<Invitation<string, undefined>>;
|
|
303
303
|
makeRestoreMetricsInvitation(): Promise<Invitation<void, Omit<import("@agoric/inter-protocol/src/psm/psm.js").MetricsNotification, "anchorPoolBalance">>>;
|
|
@@ -306,9 +306,9 @@ export type PsmInstance = import('@agoric/zoe/src/zoeService/utils.js').Instance
|
|
|
306
306
|
getGovernedApiNames: () => string[];
|
|
307
307
|
setOfferFilter: (strings: any) => Promise<void>;
|
|
308
308
|
}>;
|
|
309
|
-
publicFacet: import("@endo/exo
|
|
310
|
-
getAmount: (name: string) => Amount
|
|
311
|
-
getBrand: (name: string) => Brand
|
|
309
|
+
publicFacet: import("@endo/exo").Guarded<{
|
|
310
|
+
getAmount: (name: string) => Amount;
|
|
311
|
+
getBrand: (name: string) => globalThis.Brand;
|
|
312
312
|
getInstance: (name: string) => Instance;
|
|
313
313
|
getInstallation: (name: string) => Installation<any>;
|
|
314
314
|
getInvitationAmount: (name: string) => Amount<"set">;
|
|
@@ -323,7 +323,7 @@ export type PsmInstance = import('@agoric/zoe/src/zoeService/utils.js').Instance
|
|
|
323
323
|
getMetrics(): Subscriber<import("@agoric/inter-protocol/src/psm/psm.js").MetricsNotification>;
|
|
324
324
|
getPoolBalance(): Amount<"nat">;
|
|
325
325
|
getPublicTopics(): {
|
|
326
|
-
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("@agoric/inter-protocol/src/psm/psm.js").MetricsNotification>;
|
|
326
|
+
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("@agoric/inter-protocol/src/psm/psm.js").MetricsNotification>;
|
|
327
327
|
};
|
|
328
328
|
makeWantMintedInvitation(): Promise<Invitation<void, undefined>>;
|
|
329
329
|
makeGiveMintedInvitation(): Promise<Invitation<void, undefined>>;
|
|
@@ -332,7 +332,7 @@ export type PsmInstance = import('@agoric/zoe/src/zoeService/utils.js').Instance
|
|
|
332
332
|
export type ProvisionPoolKitReferences = {
|
|
333
333
|
bankManager: ERef<{
|
|
334
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<{
|
|
335
|
+
getRewardDistributorDepositFacet(denom: string, feeKit: import("@agoric/vats/src/vat-bank.js").AssetIssuerKit<globalThis.AssetKind>): ERef<{
|
|
336
336
|
/**
|
|
337
337
|
* Deposit all the contents of payment
|
|
338
338
|
* into the purse that made this facet, returning the amount. If the optional
|
|
@@ -341,16 +341,16 @@ export type ProvisionPoolKitReferences = {
|
|
|
341
341
|
*
|
|
342
342
|
* If payment is a promise, throw an error.
|
|
343
343
|
*/
|
|
344
|
-
receive: (args_0: Payment
|
|
344
|
+
receive: (args_0: globalThis.Payment, args_1?: any) => ERef<Amount>;
|
|
345
345
|
}>;
|
|
346
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
|
|
347
|
+
addAsset(denom: string, issuerName: string, proposedName: string, kit: import("@agoric/vats/src/vat-bank.js").AssetIssuerKit<globalThis.AssetKind> & {
|
|
348
|
+
payment?: ERef<globalThis.Payment> | undefined;
|
|
349
349
|
}): Promise<void>;
|
|
350
350
|
getBankForAddress(address: string): Promise<Bank>;
|
|
351
|
-
} & import("
|
|
351
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
352
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<{
|
|
353
|
+
getRewardDistributorDepositFacet(denom: string, feeKit: import("@agoric/vats/src/vat-bank.js").AssetIssuerKit<globalThis.AssetKind>): ERef<{
|
|
354
354
|
/**
|
|
355
355
|
* Deposit all the contents of payment
|
|
356
356
|
* into the purse that made this facet, returning the amount. If the optional
|
|
@@ -359,16 +359,16 @@ export type ProvisionPoolKitReferences = {
|
|
|
359
359
|
*
|
|
360
360
|
* If payment is a promise, throw an error.
|
|
361
361
|
*/
|
|
362
|
-
receive: (args_0: Payment
|
|
362
|
+
receive: (args_0: globalThis.Payment, args_1?: any) => ERef<Amount>;
|
|
363
363
|
}>;
|
|
364
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
|
|
365
|
+
addAsset(denom: string, issuerName: string, proposedName: string, kit: import("@agoric/vats/src/vat-bank.js").AssetIssuerKit<globalThis.AssetKind> & {
|
|
366
|
+
payment?: ERef<globalThis.Payment> | undefined;
|
|
367
367
|
}): Promise<void>;
|
|
368
368
|
getBankForAddress(address: string): Promise<Bank>;
|
|
369
369
|
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
370
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<{
|
|
371
|
+
getRewardDistributorDepositFacet(denom: string, feeKit: import("@agoric/vats/src/vat-bank.js").AssetIssuerKit<globalThis.AssetKind>): ERef<{
|
|
372
372
|
/**
|
|
373
373
|
* Deposit all the contents of payment
|
|
374
374
|
* into the purse that made this facet, returning the amount. If the optional
|
|
@@ -377,16 +377,16 @@ export type ProvisionPoolKitReferences = {
|
|
|
377
377
|
*
|
|
378
378
|
* If payment is a promise, throw an error.
|
|
379
379
|
*/
|
|
380
|
-
receive: (args_0: Payment
|
|
380
|
+
receive: (args_0: globalThis.Payment, args_1?: any) => ERef<Amount>;
|
|
381
381
|
}>;
|
|
382
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
|
|
383
|
+
addAsset(denom: string, issuerName: string, proposedName: string, kit: import("@agoric/vats/src/vat-bank.js").AssetIssuerKit<globalThis.AssetKind> & {
|
|
384
|
+
payment?: ERef<globalThis.Payment> | undefined;
|
|
385
385
|
}): Promise<void>;
|
|
386
386
|
getBankForAddress(address: string): Promise<Bank>;
|
|
387
|
-
} & import("
|
|
387
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
388
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<{
|
|
389
|
+
getRewardDistributorDepositFacet(denom: string, feeKit: import("@agoric/vats/src/vat-bank.js").AssetIssuerKit<globalThis.AssetKind>): ERef<{
|
|
390
390
|
/**
|
|
391
391
|
* Deposit all the contents of payment
|
|
392
392
|
* into the purse that made this facet, returning the amount. If the optional
|
|
@@ -395,11 +395,11 @@ export type ProvisionPoolKitReferences = {
|
|
|
395
395
|
*
|
|
396
396
|
* If payment is a promise, throw an error.
|
|
397
397
|
*/
|
|
398
|
-
receive: (args_0: Payment
|
|
398
|
+
receive: (args_0: globalThis.Payment, args_1?: any) => ERef<Amount>;
|
|
399
399
|
}>;
|
|
400
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
|
|
401
|
+
addAsset(denom: string, issuerName: string, proposedName: string, kit: import("@agoric/vats/src/vat-bank.js").AssetIssuerKit<globalThis.AssetKind> & {
|
|
402
|
+
payment?: ERef<globalThis.Payment> | undefined;
|
|
403
403
|
}): Promise<void>;
|
|
404
404
|
getBankForAddress(address: string): Promise<Bank>;
|
|
405
405
|
}>>>;
|
|
@@ -407,10 +407,10 @@ export type ProvisionPoolKitReferences = {
|
|
|
407
407
|
walletFactory: ERef<{
|
|
408
408
|
provideSmartWallet(address: string, bank: ERef<Bank>, namesByAddressAdmin: ERef<import("@agoric/vats").NameAdmin>): Promise<[wallet: {
|
|
409
409
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
410
|
-
getDepositFacet(): import("@endo/exo
|
|
411
|
-
receive(payment: Payment
|
|
410
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
411
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
412
412
|
}>;
|
|
413
|
-
getOffersFacet(): import("@endo/exo
|
|
413
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
414
414
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
415
415
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
416
416
|
}>;
|
|
@@ -429,12 +429,12 @@ export type ProvisionPoolKitReferences = {
|
|
|
429
429
|
};
|
|
430
430
|
};
|
|
431
431
|
repairWalletForIncarnation2(key: any): void;
|
|
432
|
-
} & import("
|
|
432
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
433
433
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
434
|
-
getDepositFacet(): import("@endo/exo
|
|
435
|
-
receive(payment: Payment
|
|
434
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
435
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
436
436
|
}>;
|
|
437
|
-
getOffersFacet(): import("@endo/exo
|
|
437
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
438
438
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
439
439
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
440
440
|
}>;
|
|
@@ -455,10 +455,10 @@ export type ProvisionPoolKitReferences = {
|
|
|
455
455
|
repairWalletForIncarnation2(key: any): void;
|
|
456
456
|
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
457
457
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
458
|
-
getDepositFacet(): import("@endo/exo
|
|
459
|
-
receive(payment: Payment
|
|
458
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
459
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
460
460
|
}>;
|
|
461
|
-
getOffersFacet(): import("@endo/exo
|
|
461
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
462
462
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
463
463
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
464
464
|
}>;
|
|
@@ -477,12 +477,12 @@ export type ProvisionPoolKitReferences = {
|
|
|
477
477
|
};
|
|
478
478
|
};
|
|
479
479
|
repairWalletForIncarnation2(key: any): void;
|
|
480
|
-
} & import("
|
|
480
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
481
481
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
482
|
-
getDepositFacet(): import("@endo/exo
|
|
483
|
-
receive(payment: Payment
|
|
482
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
483
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
484
484
|
}>;
|
|
485
|
-
getOffersFacet(): import("@endo/exo
|
|
485
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
486
486
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
487
487
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
488
488
|
}>;
|
|
@@ -502,13 +502,13 @@ export type ProvisionPoolKitReferences = {
|
|
|
502
502
|
};
|
|
503
503
|
repairWalletForIncarnation2(key: any): void;
|
|
504
504
|
}>>, isNew: boolean]>;
|
|
505
|
-
} & import("
|
|
505
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
506
506
|
provideSmartWallet(address: string, bank: ERef<Bank>, namesByAddressAdmin: ERef<import("@agoric/vats").NameAdmin>): Promise<[wallet: {
|
|
507
507
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
508
|
-
getDepositFacet(): import("@endo/exo
|
|
509
|
-
receive(payment: Payment
|
|
508
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
509
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
510
510
|
}>;
|
|
511
|
-
getOffersFacet(): import("@endo/exo
|
|
511
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
512
512
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
513
513
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
514
514
|
}>;
|
|
@@ -527,12 +527,12 @@ export type ProvisionPoolKitReferences = {
|
|
|
527
527
|
};
|
|
528
528
|
};
|
|
529
529
|
repairWalletForIncarnation2(key: any): void;
|
|
530
|
-
} & import("
|
|
530
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
531
531
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
532
|
-
getDepositFacet(): import("@endo/exo
|
|
533
|
-
receive(payment: Payment
|
|
532
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
533
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
534
534
|
}>;
|
|
535
|
-
getOffersFacet(): import("@endo/exo
|
|
535
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
536
536
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
537
537
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
538
538
|
}>;
|
|
@@ -553,10 +553,10 @@ export type ProvisionPoolKitReferences = {
|
|
|
553
553
|
repairWalletForIncarnation2(key: any): void;
|
|
554
554
|
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
555
555
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
556
|
-
getDepositFacet(): import("@endo/exo
|
|
557
|
-
receive(payment: Payment
|
|
556
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
557
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
558
558
|
}>;
|
|
559
|
-
getOffersFacet(): import("@endo/exo
|
|
559
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
560
560
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
561
561
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
562
562
|
}>;
|
|
@@ -575,12 +575,12 @@ export type ProvisionPoolKitReferences = {
|
|
|
575
575
|
};
|
|
576
576
|
};
|
|
577
577
|
repairWalletForIncarnation2(key: any): void;
|
|
578
|
-
} & import("
|
|
578
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
579
579
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
580
|
-
getDepositFacet(): import("@endo/exo
|
|
581
|
-
receive(payment: Payment
|
|
580
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
581
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
582
582
|
}>;
|
|
583
|
-
getOffersFacet(): import("@endo/exo
|
|
583
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
584
584
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
585
585
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
586
586
|
}>;
|
|
@@ -603,10 +603,10 @@ export type ProvisionPoolKitReferences = {
|
|
|
603
603
|
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
604
604
|
provideSmartWallet(address: string, bank: ERef<Bank>, namesByAddressAdmin: ERef<import("@agoric/vats").NameAdmin>): Promise<[wallet: {
|
|
605
605
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
606
|
-
getDepositFacet(): import("@endo/exo
|
|
607
|
-
receive(payment: Payment
|
|
606
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
607
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
608
608
|
}>;
|
|
609
|
-
getOffersFacet(): import("@endo/exo
|
|
609
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
610
610
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
611
611
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
612
612
|
}>;
|
|
@@ -625,12 +625,12 @@ export type ProvisionPoolKitReferences = {
|
|
|
625
625
|
};
|
|
626
626
|
};
|
|
627
627
|
repairWalletForIncarnation2(key: any): void;
|
|
628
|
-
} & import("
|
|
628
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
629
629
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
630
|
-
getDepositFacet(): import("@endo/exo
|
|
631
|
-
receive(payment: Payment
|
|
630
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
631
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
632
632
|
}>;
|
|
633
|
-
getOffersFacet(): import("@endo/exo
|
|
633
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
634
634
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
635
635
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
636
636
|
}>;
|
|
@@ -651,10 +651,10 @@ export type ProvisionPoolKitReferences = {
|
|
|
651
651
|
repairWalletForIncarnation2(key: any): void;
|
|
652
652
|
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
653
653
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
654
|
-
getDepositFacet(): import("@endo/exo
|
|
655
|
-
receive(payment: Payment
|
|
654
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
655
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
656
656
|
}>;
|
|
657
|
-
getOffersFacet(): import("@endo/exo
|
|
657
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
658
658
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
659
659
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
660
660
|
}>;
|
|
@@ -673,12 +673,12 @@ export type ProvisionPoolKitReferences = {
|
|
|
673
673
|
};
|
|
674
674
|
};
|
|
675
675
|
repairWalletForIncarnation2(key: any): void;
|
|
676
|
-
} & import("
|
|
676
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
677
677
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
678
|
-
getDepositFacet(): import("@endo/exo
|
|
679
|
-
receive(payment: Payment
|
|
678
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
679
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
680
680
|
}>;
|
|
681
|
-
getOffersFacet(): import("@endo/exo
|
|
681
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
682
682
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
683
683
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
684
684
|
}>;
|
|
@@ -698,13 +698,13 @@ export type ProvisionPoolKitReferences = {
|
|
|
698
698
|
};
|
|
699
699
|
repairWalletForIncarnation2(key: any): void;
|
|
700
700
|
}>>, isNew: boolean]>;
|
|
701
|
-
} & import("
|
|
701
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
702
702
|
provideSmartWallet(address: string, bank: ERef<Bank>, namesByAddressAdmin: ERef<import("@agoric/vats").NameAdmin>): Promise<[wallet: {
|
|
703
703
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
704
|
-
getDepositFacet(): import("@endo/exo
|
|
705
|
-
receive(payment: Payment
|
|
704
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
705
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
706
706
|
}>;
|
|
707
|
-
getOffersFacet(): import("@endo/exo
|
|
707
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
708
708
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
709
709
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
710
710
|
}>;
|
|
@@ -723,12 +723,12 @@ export type ProvisionPoolKitReferences = {
|
|
|
723
723
|
};
|
|
724
724
|
};
|
|
725
725
|
repairWalletForIncarnation2(key: any): void;
|
|
726
|
-
} & import("
|
|
726
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
727
727
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
728
|
-
getDepositFacet(): import("@endo/exo
|
|
729
|
-
receive(payment: Payment
|
|
728
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
729
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
730
730
|
}>;
|
|
731
|
-
getOffersFacet(): import("@endo/exo
|
|
731
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
732
732
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
733
733
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
734
734
|
}>;
|
|
@@ -749,10 +749,10 @@ export type ProvisionPoolKitReferences = {
|
|
|
749
749
|
repairWalletForIncarnation2(key: any): void;
|
|
750
750
|
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
751
751
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
752
|
-
getDepositFacet(): import("@endo/exo
|
|
753
|
-
receive(payment: Payment
|
|
752
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
753
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
754
754
|
}>;
|
|
755
|
-
getOffersFacet(): import("@endo/exo
|
|
755
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
756
756
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
757
757
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
758
758
|
}>;
|
|
@@ -771,12 +771,12 @@ export type ProvisionPoolKitReferences = {
|
|
|
771
771
|
};
|
|
772
772
|
};
|
|
773
773
|
repairWalletForIncarnation2(key: any): void;
|
|
774
|
-
} & import("
|
|
774
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
775
775
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
776
|
-
getDepositFacet(): import("@endo/exo
|
|
777
|
-
receive(payment: Payment
|
|
776
|
+
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
777
|
+
receive(payment: globalThis.Payment): Promise<Amount>;
|
|
778
778
|
}>;
|
|
779
|
-
getOffersFacet(): import("@endo/exo
|
|
779
|
+
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
780
780
|
executeOffer(offerSpec: import("@agoric/smart-wallet/src/smartWallet").OfferSpec): Promise<void>;
|
|
781
781
|
tryExitOffer(offerId: import("@agoric/smart-wallet/src/smartWallet").OfferId): Promise<void>;
|
|
782
782
|
}>;
|
|
@@ -811,12 +811,14 @@ export type MetricsNotification = {
|
|
|
811
811
|
* running sum of Minted provided
|
|
812
812
|
* to new wallets
|
|
813
813
|
*/
|
|
814
|
-
totalMintedProvided: Amount<
|
|
814
|
+
totalMintedProvided: Amount<"nat">;
|
|
815
815
|
/**
|
|
816
816
|
* running sum of Minted ever
|
|
817
817
|
* received by the contract from PSM
|
|
818
818
|
*/
|
|
819
|
-
totalMintedConverted: Amount<
|
|
819
|
+
totalMintedConverted: Amount<"nat">;
|
|
820
820
|
};
|
|
821
821
|
import type { Bank } from '@agoric/vats/src/vat-bank.js';
|
|
822
|
+
import type { ERef } from '@endo/far';
|
|
823
|
+
import type { Amount } from '@agoric/ertp/src/types.js';
|
|
822
824
|
//# sourceMappingURL=provisionPoolKit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provisionPoolKit.d.ts","sourceRoot":"","sources":["provisionPoolKit.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"provisionPoolKit.d.ts","sourceRoot":"","sources":["provisionPoolKit.js"],"names":[],"mappings":"AA+DO,yFAJiC,QAAQ,IAAI,CAAC,iBAC1C,MAAM,IAAI,0DAIP,0BAA0B;;;;GA+BvC;AAWM,iDARI,OAAO,kBAAkB,EAAE,OAAO;qBAEvB,OAAO,6CAA6C,EAAE,eAAe;YAC9E,GAAG;;SAEN,GAAG;;eAwVA,MAAM,KAAK,CAAC;;;;QAxQjB,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;wEADQ,WAAW;;;;;;;IAwD7B;0BAjbY,OAAO,qCAAqC,EAAE,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAE/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAeU,MAAM;;;;;;;;;;;;0BAaG,8BAA8B;0BAnC9B,WAAW;4BACT,2BAA2B"}
|
package/src/provisionPoolKit.js
CHANGED
|
@@ -23,6 +23,11 @@ import { Far, deeplyFulfilled } from '@endo/marshal';
|
|
|
23
23
|
|
|
24
24
|
const { details: X, quote: q, Fail } = assert;
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* @import {ERef} from '@endo/far'
|
|
28
|
+
* @import {Amount} from '@agoric/ertp/src/types.js'
|
|
29
|
+
*/
|
|
30
|
+
|
|
26
31
|
/**
|
|
27
32
|
* @typedef {import('@agoric/zoe/src/zoeService/utils.js').Instance<
|
|
28
33
|
* import('@agoric/inter-protocol/src/psm/psm.js').start
|
|
@@ -136,7 +141,7 @@ export const prepareProvisionPoolKit = (
|
|
|
136
141
|
/**
|
|
137
142
|
* @param {object} opts
|
|
138
143
|
* @param {Purse<'nat'>} opts.fundPurse
|
|
139
|
-
* @param {Brand} opts.poolBrand
|
|
144
|
+
* @param {Brand<'nat'>} opts.poolBrand
|
|
140
145
|
* @param {StorageNode} opts.metricsNode
|
|
141
146
|
*/
|
|
142
147
|
({ fundPurse, poolBrand, metricsNode }) => {
|
|
@@ -440,7 +445,7 @@ export const prepareProvisionPoolKit = (
|
|
|
440
445
|
* Prepare synchronous values before passing to real Exo maker
|
|
441
446
|
*
|
|
442
447
|
* @param {object} opts
|
|
443
|
-
* @param {Brand} opts.poolBrand
|
|
448
|
+
* @param {Brand<'nat'>} opts.poolBrand
|
|
444
449
|
* @param {ERef<StorageNode>} opts.storageNode
|
|
445
450
|
*/
|
|
446
451
|
const makeProvisionPoolKit = async ({ poolBrand, storageNode }) => {
|