@agoric/inter-protocol 0.16.2-dev-fbd8633.0 → 0.16.2-dev-e456308.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/auctionBook.d.ts +2 -2
- package/src/auction/auctionBook.d.ts.map +1 -1
- package/src/auction/auctionBook.js +2 -0
- package/src/auction/auctioneer.d.ts +2 -2
- package/src/auction/params.d.ts +5 -5
- package/src/auction/params.d.ts.map +1 -1
- package/src/econCommitteeCharter.d.ts +3 -3
- package/src/feeDistributor.d.ts +12 -12
- package/src/feeDistributor.d.ts.map +1 -1
- package/src/price/fluxAggregatorContract.d.ts +1 -1
- package/src/price/fluxAggregatorContract.d.ts.map +1 -1
- package/src/proposals/econ-behaviors.d.ts +650 -106
- package/src/proposals/econ-behaviors.d.ts.map +1 -1
- package/src/proposals/econ-behaviors.js +3 -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 +3 -19
- package/src/proposals/utils.d.ts.map +1 -1
- package/src/provisionPool.d.ts +19 -19
- package/src/provisionPool.d.ts.map +1 -1
- package/src/provisionPoolKit.d.ts +106 -181
- package/src/provisionPoolKit.d.ts.map +1 -1
- package/src/provisionPoolKit.js +1 -1
- package/src/psm/psm.d.ts +3 -3
- package/src/psm/psm.d.ts.map +1 -1
- package/src/psm/psm.js +1 -0
- package/src/reserve/assetReserve.d.ts +1 -1
- package/src/reserve/assetReserve.d.ts.map +1 -1
- package/src/vaultFactory/burn.d.ts.map +1 -1
- package/src/vaultFactory/burn.js +1 -0
- package/src/vaultFactory/liquidation.d.ts +10 -58
- package/src/vaultFactory/liquidation.d.ts.map +1 -1
- package/src/vaultFactory/orderedVaultStore.d.ts +20 -20
- package/src/vaultFactory/orderedVaultStore.d.ts.map +1 -1
- package/src/vaultFactory/params.d.ts +9 -9
- package/src/vaultFactory/params.d.ts.map +1 -1
- package/src/vaultFactory/prioritizedVaults.d.ts +48 -48
- package/src/vaultFactory/prioritizedVaults.d.ts.map +1 -1
- package/src/vaultFactory/types.d.ts +7 -7
- package/src/vaultFactory/vault.d.ts +7 -7
- package/src/vaultFactory/vault.d.ts.map +1 -1
- package/src/vaultFactory/vault.js +1 -0
- package/src/vaultFactory/vaultDirector.d.ts +21 -45
- package/src/vaultFactory/vaultDirector.d.ts.map +1 -1
- package/src/vaultFactory/vaultFactory.d.ts +27 -19
- package/src/vaultFactory/vaultFactory.d.ts.map +1 -1
- package/src/vaultFactory/vaultFactory.js +1 -0
- package/src/vaultFactory/vaultHolder.d.ts +15 -15
- package/src/vaultFactory/vaultHolder.d.ts.map +1 -1
- package/src/vaultFactory/vaultKit.d.ts +7 -7
- package/src/vaultFactory/vaultKit.d.ts.map +1 -1
- package/src/vaultFactory/vaultManager.d.ts +36 -36
- package/src/vaultFactory/vaultManager.d.ts.map +1 -1
|
@@ -10,7 +10,7 @@ export function prepareProvisionPoolKit(baggage: import("@agoric/vat-data").Bagg
|
|
|
10
10
|
zcf: ZCF;
|
|
11
11
|
}): ({ poolBrand, storageNode }: {
|
|
12
12
|
poolBrand: Brand<"nat">;
|
|
13
|
-
storageNode: ERef<StorageNode>;
|
|
13
|
+
storageNode: ERef<globalThis.StorageNode>;
|
|
14
14
|
}) => Promise<import("@endo/exo").GuardedKit<{
|
|
15
15
|
machine: {
|
|
16
16
|
/** @param {string[]} oldAddresses */
|
|
@@ -26,17 +26,17 @@ export function prepareProvisionPoolKit(baggage: import("@agoric/vat-data").Bagg
|
|
|
26
26
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
27
27
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
28
28
|
}>;
|
|
29
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
30
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
29
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
30
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
31
31
|
getPublicTopics(): {
|
|
32
32
|
current: {
|
|
33
33
|
description: string;
|
|
34
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
34
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
35
35
|
storagePath: Promise<string>;
|
|
36
36
|
};
|
|
37
37
|
updates: {
|
|
38
38
|
description: string;
|
|
39
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
39
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
40
40
|
storagePath: Promise<string>;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
@@ -50,17 +50,17 @@ export function prepareProvisionPoolKit(baggage: import("@agoric/vat-data").Bagg
|
|
|
50
50
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
51
51
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
52
52
|
}>;
|
|
53
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
54
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
53
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
54
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
55
55
|
getPublicTopics(): {
|
|
56
56
|
current: {
|
|
57
57
|
description: string;
|
|
58
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
58
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
59
59
|
storagePath: Promise<string>;
|
|
60
60
|
};
|
|
61
61
|
updates: {
|
|
62
62
|
description: string;
|
|
63
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
63
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
64
64
|
storagePath: Promise<string>;
|
|
65
65
|
};
|
|
66
66
|
};
|
|
@@ -74,17 +74,17 @@ export function prepareProvisionPoolKit(baggage: import("@agoric/vat-data").Bagg
|
|
|
74
74
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
75
75
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
76
76
|
}>;
|
|
77
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
78
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
77
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
78
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
79
79
|
getPublicTopics(): {
|
|
80
80
|
current: {
|
|
81
81
|
description: string;
|
|
82
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
82
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
83
83
|
storagePath: Promise<string>;
|
|
84
84
|
};
|
|
85
85
|
updates: {
|
|
86
86
|
description: string;
|
|
87
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
87
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
88
88
|
storagePath: Promise<string>;
|
|
89
89
|
};
|
|
90
90
|
};
|
|
@@ -98,17 +98,17 @@ export function prepareProvisionPoolKit(baggage: import("@agoric/vat-data").Bagg
|
|
|
98
98
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
99
99
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
100
100
|
}>;
|
|
101
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
102
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
101
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
102
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
103
103
|
getPublicTopics(): {
|
|
104
104
|
current: {
|
|
105
105
|
description: string;
|
|
106
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
106
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
107
107
|
storagePath: Promise<string>;
|
|
108
108
|
};
|
|
109
109
|
updates: {
|
|
110
110
|
description: string;
|
|
111
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
111
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
112
112
|
storagePath: Promise<string>;
|
|
113
113
|
};
|
|
114
114
|
};
|
|
@@ -144,17 +144,17 @@ export function prepareProvisionPoolKit(baggage: import("@agoric/vat-data").Bagg
|
|
|
144
144
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
145
145
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
146
146
|
}>;
|
|
147
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
148
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
147
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
148
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
149
149
|
getPublicTopics(): {
|
|
150
150
|
current: {
|
|
151
151
|
description: string;
|
|
152
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
152
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
153
153
|
storagePath: Promise<string>;
|
|
154
154
|
};
|
|
155
155
|
updates: {
|
|
156
156
|
description: string;
|
|
157
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
157
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
158
158
|
storagePath: Promise<string>;
|
|
159
159
|
};
|
|
160
160
|
};
|
|
@@ -168,17 +168,17 @@ export function prepareProvisionPoolKit(baggage: import("@agoric/vat-data").Bagg
|
|
|
168
168
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
169
169
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
170
170
|
}>;
|
|
171
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
172
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
171
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
172
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
173
173
|
getPublicTopics(): {
|
|
174
174
|
current: {
|
|
175
175
|
description: string;
|
|
176
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
176
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
177
177
|
storagePath: Promise<string>;
|
|
178
178
|
};
|
|
179
179
|
updates: {
|
|
180
180
|
description: string;
|
|
181
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
181
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
182
182
|
storagePath: Promise<string>;
|
|
183
183
|
};
|
|
184
184
|
};
|
|
@@ -192,17 +192,17 @@ export function prepareProvisionPoolKit(baggage: import("@agoric/vat-data").Bagg
|
|
|
192
192
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
193
193
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
194
194
|
}>;
|
|
195
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
196
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
195
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
196
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
197
197
|
getPublicTopics(): {
|
|
198
198
|
current: {
|
|
199
199
|
description: string;
|
|
200
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
200
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
201
201
|
storagePath: Promise<string>;
|
|
202
202
|
};
|
|
203
203
|
updates: {
|
|
204
204
|
description: string;
|
|
205
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
205
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
206
206
|
storagePath: Promise<string>;
|
|
207
207
|
};
|
|
208
208
|
};
|
|
@@ -216,17 +216,17 @@ export function prepareProvisionPoolKit(baggage: import("@agoric/vat-data").Bagg
|
|
|
216
216
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
217
217
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
218
218
|
}>;
|
|
219
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
220
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
219
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
220
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
221
221
|
getPublicTopics(): {
|
|
222
222
|
current: {
|
|
223
223
|
description: string;
|
|
224
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
224
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
225
225
|
storagePath: Promise<string>;
|
|
226
226
|
};
|
|
227
227
|
updates: {
|
|
228
228
|
description: string;
|
|
229
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
229
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
230
230
|
storagePath: Promise<string>;
|
|
231
231
|
};
|
|
232
232
|
};
|
|
@@ -303,7 +303,10 @@ export type PsmInstance = import("@agoric/zoe/src/zoeService/utils.js").Instance
|
|
|
303
303
|
makeRestoreMetricsInvitation(): Promise<Invitation<void, Omit<import("@agoric/inter-protocol/src/psm/psm.js").MetricsNotification, "anchorPoolBalance">>>;
|
|
304
304
|
}>;
|
|
305
305
|
getGovernedApis: () => globalThis.GovernedApis;
|
|
306
|
-
getGovernedApiNames: () => string[];
|
|
306
|
+
getGovernedApiNames: () => string[]; /**
|
|
307
|
+
* @param {string} address
|
|
308
|
+
* @returns {boolean} isRevive
|
|
309
|
+
*/
|
|
307
310
|
setOfferFilter: (strings: any) => Promise<void>;
|
|
308
311
|
}>;
|
|
309
312
|
publicFacet: import("@endo/exo").Guarded<{
|
|
@@ -318,9 +321,9 @@ export type PsmInstance = import("@agoric/zoe/src/zoeService/utils.js").Instance
|
|
|
318
321
|
getTimestamp: (name: string) => import("@agoric/time").TimestampRecord;
|
|
319
322
|
getRelativeTime: (name: string) => import("@agoric/time").RelativeTimeRecord;
|
|
320
323
|
getUnknown: (name: string) => any;
|
|
321
|
-
getSubscription: () => StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
324
|
+
getSubscription: () => globalThis.StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
322
325
|
getGovernedParams: () => ERef<globalThis.ParamStateRecord>;
|
|
323
|
-
getMetrics(): Subscriber<import("@agoric/inter-protocol/src/psm/psm.js").MetricsNotification>;
|
|
326
|
+
getMetrics(): globalThis.Subscriber<import("@agoric/inter-protocol/src/psm/psm.js").MetricsNotification>;
|
|
324
327
|
getPoolBalance(): Amount<"nat">;
|
|
325
328
|
getPublicTopics(): {
|
|
326
329
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("@agoric/inter-protocol/src/psm/psm.js").MetricsNotification>;
|
|
@@ -330,35 +333,9 @@ export type PsmInstance = import("@agoric/zoe/src/zoeService/utils.js").Instance
|
|
|
330
333
|
}>;
|
|
331
334
|
}>>;
|
|
332
335
|
export type ProvisionPoolKitReferences = {
|
|
333
|
-
bankManager: ERef<{
|
|
334
|
-
getAssetSubscription(): IterableEachTopic<import("@agoric/vats/src/vat-bank.js").AssetDescriptor>;
|
|
335
|
-
getRewardDistributorDepositFacet(denom: string, feeKit: AssetIssuerKit): 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: globalThis.Payment, args_1?: any) => ERef<Amount>;
|
|
345
|
-
}>;
|
|
346
|
-
getModuleAccountAddress(moduleName: string): Promise<string | null>;
|
|
347
|
-
addAsset(denom: string, issuerName: string, proposedName: string, kit: AssetIssuerKit & {
|
|
348
|
-
payment?: ERef<Payment>;
|
|
349
|
-
}): Promise<void>;
|
|
350
|
-
getBankForAddress(address: string): Promise<Bank>;
|
|
351
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
352
|
-
getAssetSubscription(): IterableEachTopic<import("@agoric/vats/src/vat-bank.js").AssetDescriptor>;
|
|
336
|
+
bankManager: ERef<import("@endo/exo").Guarded<{
|
|
337
|
+
getAssetSubscription(): globalThis.IterableEachTopic<import("@agoric/vats/src/vat-bank.js").AssetDescriptor>;
|
|
353
338
|
getRewardDistributorDepositFacet(denom: string, feeKit: AssetIssuerKit): 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
339
|
/**
|
|
363
340
|
* Deposit all the contents of payment
|
|
364
341
|
* into the purse that made this facet, returning the amount. If the optional
|
|
@@ -374,59 +351,7 @@ export type ProvisionPoolKitReferences = {
|
|
|
374
351
|
payment?: ERef<Payment>;
|
|
375
352
|
}): Promise<void>;
|
|
376
353
|
getBankForAddress(address: string): Promise<Bank>;
|
|
377
|
-
}
|
|
378
|
-
getAssetSubscription(): IterableEachTopic<import("@agoric/vats/src/vat-bank.js").AssetDescriptor>;
|
|
379
|
-
getRewardDistributorDepositFacet(denom: string, feeKit: AssetIssuerKit): ERef<{
|
|
380
|
-
/**
|
|
381
|
-
* Deposit all the contents of payment
|
|
382
|
-
* into the purse that made this facet, returning the amount. If the optional
|
|
383
|
-
* argument `optAmount` does not equal the amount of digital assets in the
|
|
384
|
-
* payment, throw an error.
|
|
385
|
-
*
|
|
386
|
-
* If payment is a promise, throw an error.
|
|
387
|
-
*/
|
|
388
|
-
/**
|
|
389
|
-
* Deposit all the contents of payment
|
|
390
|
-
* into the purse that made this facet, returning the amount. If the optional
|
|
391
|
-
* argument `optAmount` does not equal the amount of digital assets in the
|
|
392
|
-
* payment, throw an error.
|
|
393
|
-
*
|
|
394
|
-
* If payment is a promise, throw an error.
|
|
395
|
-
*/
|
|
396
|
-
receive: (args_0: globalThis.Payment, args_1?: any) => ERef<Amount>;
|
|
397
|
-
}>;
|
|
398
|
-
getModuleAccountAddress(moduleName: string): Promise<string | null>;
|
|
399
|
-
addAsset(denom: string, issuerName: string, proposedName: string, kit: AssetIssuerKit & {
|
|
400
|
-
payment?: ERef<Payment>;
|
|
401
|
-
}): Promise<void>;
|
|
402
|
-
getBankForAddress(address: string): Promise<Bank>;
|
|
403
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
404
|
-
getAssetSubscription(): IterableEachTopic<import("@agoric/vats/src/vat-bank.js").AssetDescriptor>;
|
|
405
|
-
getRewardDistributorDepositFacet(denom: string, feeKit: AssetIssuerKit): ERef<{
|
|
406
|
-
/**
|
|
407
|
-
* Deposit all the contents of payment
|
|
408
|
-
* into the purse that made this facet, returning the amount. If the optional
|
|
409
|
-
* argument `optAmount` does not equal the amount of digital assets in the
|
|
410
|
-
* payment, throw an error.
|
|
411
|
-
*
|
|
412
|
-
* If payment is a promise, throw an error.
|
|
413
|
-
*/
|
|
414
|
-
/**
|
|
415
|
-
* Deposit all the contents of payment
|
|
416
|
-
* into the purse that made this facet, returning the amount. If the optional
|
|
417
|
-
* argument `optAmount` does not equal the amount of digital assets in the
|
|
418
|
-
* payment, throw an error.
|
|
419
|
-
*
|
|
420
|
-
* If payment is a promise, throw an error.
|
|
421
|
-
*/
|
|
422
|
-
receive: (args_0: globalThis.Payment, args_1?: any) => ERef<Amount>;
|
|
423
|
-
}>;
|
|
424
|
-
getModuleAccountAddress(moduleName: string): Promise<string | null>;
|
|
425
|
-
addAsset(denom: string, issuerName: string, proposedName: string, kit: AssetIssuerKit & {
|
|
426
|
-
payment?: ERef<Payment>;
|
|
427
|
-
}): Promise<void>;
|
|
428
|
-
getBankForAddress(address: string): Promise<Bank>;
|
|
429
|
-
}>>>;
|
|
354
|
+
}>>;
|
|
430
355
|
namesByAddressAdmin: ERef<import("@agoric/vats").NameAdmin>;
|
|
431
356
|
walletFactory: ERef<{
|
|
432
357
|
provideSmartWallet(address: string, bank: ERef<import("@agoric/vats/src/vat-bank.js").Bank>, namesByAddressAdmin: ERef<import("@agoric/vats/src/types.js").NameAdmin>): Promise<[wallet: {
|
|
@@ -438,17 +363,17 @@ export type ProvisionPoolKitReferences = {
|
|
|
438
363
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
439
364
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
440
365
|
}>;
|
|
441
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
442
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
366
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
367
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
443
368
|
getPublicTopics(): {
|
|
444
369
|
current: {
|
|
445
370
|
description: string;
|
|
446
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
371
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
447
372
|
storagePath: Promise<string>;
|
|
448
373
|
};
|
|
449
374
|
updates: {
|
|
450
375
|
description: string;
|
|
451
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
376
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
452
377
|
storagePath: Promise<string>;
|
|
453
378
|
};
|
|
454
379
|
};
|
|
@@ -462,17 +387,17 @@ export type ProvisionPoolKitReferences = {
|
|
|
462
387
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
463
388
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
464
389
|
}>;
|
|
465
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
466
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
390
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
391
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
467
392
|
getPublicTopics(): {
|
|
468
393
|
current: {
|
|
469
394
|
description: string;
|
|
470
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
395
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
471
396
|
storagePath: Promise<string>;
|
|
472
397
|
};
|
|
473
398
|
updates: {
|
|
474
399
|
description: string;
|
|
475
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
400
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
476
401
|
storagePath: Promise<string>;
|
|
477
402
|
};
|
|
478
403
|
};
|
|
@@ -486,17 +411,17 @@ export type ProvisionPoolKitReferences = {
|
|
|
486
411
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
487
412
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
488
413
|
}>;
|
|
489
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
490
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
414
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
415
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
491
416
|
getPublicTopics(): {
|
|
492
417
|
current: {
|
|
493
418
|
description: string;
|
|
494
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
419
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
495
420
|
storagePath: Promise<string>;
|
|
496
421
|
};
|
|
497
422
|
updates: {
|
|
498
423
|
description: string;
|
|
499
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
424
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
500
425
|
storagePath: Promise<string>;
|
|
501
426
|
};
|
|
502
427
|
};
|
|
@@ -510,17 +435,17 @@ export type ProvisionPoolKitReferences = {
|
|
|
510
435
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
511
436
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
512
437
|
}>;
|
|
513
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
514
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
438
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
439
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
515
440
|
getPublicTopics(): {
|
|
516
441
|
current: {
|
|
517
442
|
description: string;
|
|
518
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
443
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
519
444
|
storagePath: Promise<string>;
|
|
520
445
|
};
|
|
521
446
|
updates: {
|
|
522
447
|
description: string;
|
|
523
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
448
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
524
449
|
storagePath: Promise<string>;
|
|
525
450
|
};
|
|
526
451
|
};
|
|
@@ -536,17 +461,17 @@ export type ProvisionPoolKitReferences = {
|
|
|
536
461
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
537
462
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
538
463
|
}>;
|
|
539
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
540
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
464
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
465
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
541
466
|
getPublicTopics(): {
|
|
542
467
|
current: {
|
|
543
468
|
description: string;
|
|
544
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
469
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
545
470
|
storagePath: Promise<string>;
|
|
546
471
|
};
|
|
547
472
|
updates: {
|
|
548
473
|
description: string;
|
|
549
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
474
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
550
475
|
storagePath: Promise<string>;
|
|
551
476
|
};
|
|
552
477
|
};
|
|
@@ -560,17 +485,17 @@ export type ProvisionPoolKitReferences = {
|
|
|
560
485
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
561
486
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
562
487
|
}>;
|
|
563
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
564
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
488
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
489
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
565
490
|
getPublicTopics(): {
|
|
566
491
|
current: {
|
|
567
492
|
description: string;
|
|
568
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
493
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
569
494
|
storagePath: Promise<string>;
|
|
570
495
|
};
|
|
571
496
|
updates: {
|
|
572
497
|
description: string;
|
|
573
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
498
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
574
499
|
storagePath: Promise<string>;
|
|
575
500
|
};
|
|
576
501
|
};
|
|
@@ -584,17 +509,17 @@ export type ProvisionPoolKitReferences = {
|
|
|
584
509
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
585
510
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
586
511
|
}>;
|
|
587
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
588
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
512
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
513
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
589
514
|
getPublicTopics(): {
|
|
590
515
|
current: {
|
|
591
516
|
description: string;
|
|
592
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
517
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
593
518
|
storagePath: Promise<string>;
|
|
594
519
|
};
|
|
595
520
|
updates: {
|
|
596
521
|
description: string;
|
|
597
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
522
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
598
523
|
storagePath: Promise<string>;
|
|
599
524
|
};
|
|
600
525
|
};
|
|
@@ -608,17 +533,17 @@ export type ProvisionPoolKitReferences = {
|
|
|
608
533
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
609
534
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
610
535
|
}>;
|
|
611
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
612
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
536
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
537
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
613
538
|
getPublicTopics(): {
|
|
614
539
|
current: {
|
|
615
540
|
description: string;
|
|
616
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
541
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
617
542
|
storagePath: Promise<string>;
|
|
618
543
|
};
|
|
619
544
|
updates: {
|
|
620
545
|
description: string;
|
|
621
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
546
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
622
547
|
storagePath: Promise<string>;
|
|
623
548
|
};
|
|
624
549
|
};
|
|
@@ -634,17 +559,17 @@ export type ProvisionPoolKitReferences = {
|
|
|
634
559
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
635
560
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
636
561
|
}>;
|
|
637
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
638
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
562
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
563
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
639
564
|
getPublicTopics(): {
|
|
640
565
|
current: {
|
|
641
566
|
description: string;
|
|
642
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
567
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
643
568
|
storagePath: Promise<string>;
|
|
644
569
|
};
|
|
645
570
|
updates: {
|
|
646
571
|
description: string;
|
|
647
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
572
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
648
573
|
storagePath: Promise<string>;
|
|
649
574
|
};
|
|
650
575
|
};
|
|
@@ -658,17 +583,17 @@ export type ProvisionPoolKitReferences = {
|
|
|
658
583
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
659
584
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
660
585
|
}>;
|
|
661
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
662
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
586
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
587
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
663
588
|
getPublicTopics(): {
|
|
664
589
|
current: {
|
|
665
590
|
description: string;
|
|
666
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
591
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
667
592
|
storagePath: Promise<string>;
|
|
668
593
|
};
|
|
669
594
|
updates: {
|
|
670
595
|
description: string;
|
|
671
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
596
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
672
597
|
storagePath: Promise<string>;
|
|
673
598
|
};
|
|
674
599
|
};
|
|
@@ -682,17 +607,17 @@ export type ProvisionPoolKitReferences = {
|
|
|
682
607
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
683
608
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
684
609
|
}>;
|
|
685
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
686
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
610
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
611
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
687
612
|
getPublicTopics(): {
|
|
688
613
|
current: {
|
|
689
614
|
description: string;
|
|
690
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
615
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
691
616
|
storagePath: Promise<string>;
|
|
692
617
|
};
|
|
693
618
|
updates: {
|
|
694
619
|
description: string;
|
|
695
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
620
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
696
621
|
storagePath: Promise<string>;
|
|
697
622
|
};
|
|
698
623
|
};
|
|
@@ -706,17 +631,17 @@ export type ProvisionPoolKitReferences = {
|
|
|
706
631
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
707
632
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
708
633
|
}>;
|
|
709
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
710
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
634
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
635
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
711
636
|
getPublicTopics(): {
|
|
712
637
|
current: {
|
|
713
638
|
description: string;
|
|
714
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
639
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
715
640
|
storagePath: Promise<string>;
|
|
716
641
|
};
|
|
717
642
|
updates: {
|
|
718
643
|
description: string;
|
|
719
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
644
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
720
645
|
storagePath: Promise<string>;
|
|
721
646
|
};
|
|
722
647
|
};
|
|
@@ -732,17 +657,17 @@ export type ProvisionPoolKitReferences = {
|
|
|
732
657
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
733
658
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
734
659
|
}>;
|
|
735
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
736
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
660
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
661
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
737
662
|
getPublicTopics(): {
|
|
738
663
|
current: {
|
|
739
664
|
description: string;
|
|
740
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
665
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
741
666
|
storagePath: Promise<string>;
|
|
742
667
|
};
|
|
743
668
|
updates: {
|
|
744
669
|
description: string;
|
|
745
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
670
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
746
671
|
storagePath: Promise<string>;
|
|
747
672
|
};
|
|
748
673
|
};
|
|
@@ -756,17 +681,17 @@ export type ProvisionPoolKitReferences = {
|
|
|
756
681
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
757
682
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
758
683
|
}>;
|
|
759
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
760
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
684
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
685
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
761
686
|
getPublicTopics(): {
|
|
762
687
|
current: {
|
|
763
688
|
description: string;
|
|
764
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
689
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
765
690
|
storagePath: Promise<string>;
|
|
766
691
|
};
|
|
767
692
|
updates: {
|
|
768
693
|
description: string;
|
|
769
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
694
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
770
695
|
storagePath: Promise<string>;
|
|
771
696
|
};
|
|
772
697
|
};
|
|
@@ -780,17 +705,17 @@ export type ProvisionPoolKitReferences = {
|
|
|
780
705
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
781
706
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
782
707
|
}>;
|
|
783
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
784
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
708
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
709
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
785
710
|
getPublicTopics(): {
|
|
786
711
|
current: {
|
|
787
712
|
description: string;
|
|
788
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
713
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
789
714
|
storagePath: Promise<string>;
|
|
790
715
|
};
|
|
791
716
|
updates: {
|
|
792
717
|
description: string;
|
|
793
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
718
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
794
719
|
storagePath: Promise<string>;
|
|
795
720
|
};
|
|
796
721
|
};
|
|
@@ -804,17 +729,17 @@ export type ProvisionPoolKitReferences = {
|
|
|
804
729
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
805
730
|
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
806
731
|
}>;
|
|
807
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
808
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
732
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
733
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
809
734
|
getPublicTopics(): {
|
|
810
735
|
current: {
|
|
811
736
|
description: string;
|
|
812
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
737
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
813
738
|
storagePath: Promise<string>;
|
|
814
739
|
};
|
|
815
740
|
updates: {
|
|
816
741
|
description: string;
|
|
817
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
742
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
818
743
|
storagePath: Promise<string>;
|
|
819
744
|
};
|
|
820
745
|
};
|