@agoric/inter-protocol 0.16.2-upgrade-16-dev-d45b478.0 → 0.16.2-upgrade-16-dev-5e17008.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 +95 -32
- package/src/auction/auctionBook.d.ts.map +1 -1
- package/src/auction/auctioneer.d.ts +10 -24
- package/src/auction/auctioneer.d.ts.map +1 -1
- package/src/auction/offerBook.d.ts.map +1 -1
- package/src/auction/params.d.ts +4 -9
- package/src/auction/params.d.ts.map +1 -1
- package/src/auction/scheduleMath.d.ts.map +1 -1
- package/src/auction/scheduler.d.ts.map +1 -1
- package/src/auction/util.d.ts.map +1 -1
- package/src/contractSupport.d.ts +2 -2
- package/src/contractSupport.d.ts.map +1 -1
- package/src/econCommitteeCharter.d.ts +3 -3
- package/src/feeDistributor.d.ts +2 -2
- package/src/feeDistributor.d.ts.map +1 -1
- package/src/interest.d.ts.map +1 -1
- package/src/price/fluxAggregatorContract.d.ts +3 -3
- package/src/price/fluxAggregatorContract.d.ts.map +1 -1
- package/src/price/fluxAggregatorKit.d.ts +2 -2
- package/src/price/fluxAggregatorKit.d.ts.map +1 -1
- package/src/price/priceOracleKit.d.ts.map +1 -1
- package/src/price/roundsManager.d.ts +9 -43
- package/src/price/roundsManager.d.ts.map +1 -1
- package/src/proposals/addAssetToVault.d.ts.map +1 -1
- package/src/proposals/econ-behaviors.d.ts +137 -755
- package/src/proposals/econ-behaviors.d.ts.map +1 -1
- package/src/proposals/price-feed-proposal.d.ts.map +1 -1
- package/src/proposals/startEconCommittee.d.ts.map +1 -1
- package/src/proposals/startPSM.d.ts +3 -3
- package/src/proposals/startPSM.d.ts.map +1 -1
- package/src/proposals/upgrade-vaults.d.ts.map +1 -1
- package/src/proposals/upgrade-vaults.js +43 -10
- package/src/proposals/utils.d.ts.map +1 -1
- package/src/provisionPool.d.ts +8 -8
- package/src/provisionPool.d.ts.map +1 -1
- package/src/provisionPoolKit.d.ts +58 -467
- package/src/provisionPoolKit.d.ts.map +1 -1
- package/src/psm/psm.d.ts +4 -4
- package/src/psm/psm.d.ts.map +1 -1
- package/src/reserve/assetReserve.d.ts +2 -2
- package/src/reserve/assetReserve.d.ts.map +1 -1
- package/src/vaultFactory/liquidation.d.ts +4 -144
- package/src/vaultFactory/liquidation.d.ts.map +1 -1
- package/src/vaultFactory/math.d.ts.map +1 -1
- package/src/vaultFactory/orderedVaultStore.d.ts +10 -277
- package/src/vaultFactory/orderedVaultStore.d.ts.map +1 -1
- package/src/vaultFactory/params.d.ts +2 -7
- package/src/vaultFactory/params.d.ts.map +1 -1
- package/src/vaultFactory/prioritizedVaults.d.ts +31 -744
- package/src/vaultFactory/prioritizedVaults.d.ts.map +1 -1
- package/src/vaultFactory/proceeds.d.ts.map +1 -1
- package/src/vaultFactory/storeUtils.d.ts.map +1 -1
- package/src/vaultFactory/types-ambient.d.ts +1 -98
- package/src/vaultFactory/types-ambient.d.ts.map +1 -1
- package/src/vaultFactory/vault.d.ts +4 -74
- package/src/vaultFactory/vault.d.ts.map +1 -1
- package/src/vaultFactory/vaultDirector.d.ts +2 -50
- package/src/vaultFactory/vaultDirector.d.ts.map +1 -1
- package/src/vaultFactory/vaultFactory.d.ts +7 -83
- package/src/vaultFactory/vaultFactory.d.ts.map +1 -1
- package/src/vaultFactory/vaultHolder.d.ts +18 -162
- package/src/vaultFactory/vaultHolder.d.ts.map +1 -1
- package/src/vaultFactory/vaultKit.d.ts +1 -71
- package/src/vaultFactory/vaultKit.d.ts.map +1 -1
- package/src/vaultFactory/vaultManager.d.ts +236 -381
- package/src/vaultFactory/vaultManager.d.ts.map +1 -1
|
@@ -6,11 +6,11 @@ export function makeBridgeProvisionTool(sendInitialPayment: (depositBank: ERef<B
|
|
|
6
6
|
export function prepareProvisionPoolKit(baggage: import("@agoric/vat-data").Baggage, { makeRecorderKit, params, poolBank, zcf }: {
|
|
7
7
|
makeRecorderKit: import("@agoric/zoe/src/contractSupport/recorder.js").MakeRecorderKit;
|
|
8
8
|
params: any;
|
|
9
|
-
poolBank: ERef<Bank>;
|
|
9
|
+
poolBank: import("@endo/far").ERef<Bank>;
|
|
10
10
|
zcf: ZCF;
|
|
11
11
|
}): ({ poolBrand, storageNode }: {
|
|
12
12
|
poolBrand: Brand<"nat">;
|
|
13
|
-
storageNode: ERef<
|
|
13
|
+
storageNode: ERef<StorageNode>;
|
|
14
14
|
}) => Promise<import("@endo/exo").GuardedKit<{
|
|
15
15
|
machine: {
|
|
16
16
|
/** @param {string[]} oldAddresses */
|
|
@@ -24,43 +24,43 @@ export function prepareProvisionPoolKit(baggage: import("@agoric/vat-data").Bagg
|
|
|
24
24
|
}>;
|
|
25
25
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
26
26
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
27
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers
|
|
27
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers").OfferId): Promise<void>;
|
|
28
28
|
}>;
|
|
29
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
30
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
29
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
30
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
31
31
|
getPublicTopics(): {
|
|
32
32
|
current: {
|
|
33
33
|
description: string;
|
|
34
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
34
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
35
35
|
storagePath: Promise<string>;
|
|
36
36
|
};
|
|
37
37
|
updates: {
|
|
38
38
|
description: string;
|
|
39
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
39
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
40
40
|
storagePath: Promise<string>;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
43
|
repairWalletForIncarnation2(key: object): void;
|
|
44
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface
|
|
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
46
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
47
47
|
receive(payment: Payment): Promise<Amount>;
|
|
48
48
|
}>;
|
|
49
49
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
50
50
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
51
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers
|
|
51
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers").OfferId): Promise<void>;
|
|
52
52
|
}>;
|
|
53
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
54
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
53
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
54
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
55
55
|
getPublicTopics(): {
|
|
56
56
|
current: {
|
|
57
57
|
description: string;
|
|
58
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
58
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
59
59
|
storagePath: Promise<string>;
|
|
60
60
|
};
|
|
61
61
|
updates: {
|
|
62
62
|
description: string;
|
|
63
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
63
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
64
64
|
storagePath: Promise<string>;
|
|
65
65
|
};
|
|
66
66
|
};
|
|
@@ -72,43 +72,43 @@ export function prepareProvisionPoolKit(baggage: import("@agoric/vat-data").Bagg
|
|
|
72
72
|
}>;
|
|
73
73
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
74
74
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
75
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers
|
|
75
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers").OfferId): Promise<void>;
|
|
76
76
|
}>;
|
|
77
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
78
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
77
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
78
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
79
79
|
getPublicTopics(): {
|
|
80
80
|
current: {
|
|
81
81
|
description: string;
|
|
82
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
82
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
83
83
|
storagePath: Promise<string>;
|
|
84
84
|
};
|
|
85
85
|
updates: {
|
|
86
86
|
description: string;
|
|
87
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
87
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
88
88
|
storagePath: Promise<string>;
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
91
|
repairWalletForIncarnation2(key: object): void;
|
|
92
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface
|
|
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
94
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
95
95
|
receive(payment: Payment): Promise<Amount>;
|
|
96
96
|
}>;
|
|
97
97
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
98
98
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
99
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers
|
|
99
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers").OfferId): Promise<void>;
|
|
100
100
|
}>;
|
|
101
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
102
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
101
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
102
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
103
103
|
getPublicTopics(): {
|
|
104
104
|
current: {
|
|
105
105
|
description: string;
|
|
106
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
106
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
107
107
|
storagePath: Promise<string>;
|
|
108
108
|
};
|
|
109
109
|
updates: {
|
|
110
110
|
description: string;
|
|
111
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
111
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
112
112
|
storagePath: Promise<string>;
|
|
113
113
|
};
|
|
114
114
|
};
|
|
@@ -142,43 +142,43 @@ export function prepareProvisionPoolKit(baggage: import("@agoric/vat-data").Bagg
|
|
|
142
142
|
}>;
|
|
143
143
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
144
144
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
145
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers
|
|
145
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers").OfferId): Promise<void>;
|
|
146
146
|
}>;
|
|
147
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
148
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
147
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
148
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
149
149
|
getPublicTopics(): {
|
|
150
150
|
current: {
|
|
151
151
|
description: string;
|
|
152
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
152
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
153
153
|
storagePath: Promise<string>;
|
|
154
154
|
};
|
|
155
155
|
updates: {
|
|
156
156
|
description: string;
|
|
157
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
157
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
158
158
|
storagePath: Promise<string>;
|
|
159
159
|
};
|
|
160
160
|
};
|
|
161
161
|
repairWalletForIncarnation2(key: object): void;
|
|
162
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface
|
|
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
164
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
165
165
|
receive(payment: Payment): Promise<Amount>;
|
|
166
166
|
}>;
|
|
167
167
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
168
168
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
169
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers
|
|
169
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers").OfferId): Promise<void>;
|
|
170
170
|
}>;
|
|
171
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
172
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
171
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
172
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
173
173
|
getPublicTopics(): {
|
|
174
174
|
current: {
|
|
175
175
|
description: string;
|
|
176
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
176
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
177
177
|
storagePath: Promise<string>;
|
|
178
178
|
};
|
|
179
179
|
updates: {
|
|
180
180
|
description: string;
|
|
181
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
181
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
182
182
|
storagePath: Promise<string>;
|
|
183
183
|
};
|
|
184
184
|
};
|
|
@@ -190,43 +190,43 @@ export function prepareProvisionPoolKit(baggage: import("@agoric/vat-data").Bagg
|
|
|
190
190
|
}>;
|
|
191
191
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
192
192
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
193
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers
|
|
193
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers").OfferId): Promise<void>;
|
|
194
194
|
}>;
|
|
195
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
196
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
195
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
196
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
197
197
|
getPublicTopics(): {
|
|
198
198
|
current: {
|
|
199
199
|
description: string;
|
|
200
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
200
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
201
201
|
storagePath: Promise<string>;
|
|
202
202
|
};
|
|
203
203
|
updates: {
|
|
204
204
|
description: string;
|
|
205
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
205
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
206
206
|
storagePath: Promise<string>;
|
|
207
207
|
};
|
|
208
208
|
};
|
|
209
209
|
repairWalletForIncarnation2(key: object): void;
|
|
210
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface
|
|
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
212
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
213
213
|
receive(payment: Payment): Promise<Amount>;
|
|
214
214
|
}>;
|
|
215
215
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
216
216
|
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
217
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers
|
|
217
|
+
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers").OfferId): Promise<void>;
|
|
218
218
|
}>;
|
|
219
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
220
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
219
|
+
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
220
|
+
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
221
221
|
getPublicTopics(): {
|
|
222
222
|
current: {
|
|
223
223
|
description: string;
|
|
224
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
224
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
225
225
|
storagePath: Promise<string>;
|
|
226
226
|
};
|
|
227
227
|
updates: {
|
|
228
228
|
description: string;
|
|
229
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet
|
|
229
|
+
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
230
230
|
storagePath: Promise<string>;
|
|
231
231
|
};
|
|
232
232
|
};
|
|
@@ -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<
|
|
260
|
+
swap(payIn: ERef<Payment>, amount: Amount, instance: PsmInstance): Promise<import("@agoric/ertp/src/types.js").NatAmount>;
|
|
261
261
|
};
|
|
262
262
|
public: {
|
|
263
263
|
getPublicTopics(): {
|
|
@@ -280,7 +280,7 @@ export type PsmInstance = import("@agoric/zoe/src/zoeService/utils.js").Instance
|
|
|
280
280
|
}, baggage: import("@agoric/vat-data").Baggage) => Promise<{
|
|
281
281
|
creatorFacet: import("@endo/exo").Guarded<{
|
|
282
282
|
getParamMgrRetriever: () => {
|
|
283
|
-
get: () => import("@agoric/governance/src/contractGovernance/typedParamManager
|
|
283
|
+
get: () => import("@agoric/governance/src/contractGovernance/typedParamManager").TypedParamManager<{
|
|
284
284
|
GiveMintedFee: "ratio";
|
|
285
285
|
MintLimit: "amount";
|
|
286
286
|
WantMintedFee: "ratio";
|
|
@@ -288,7 +288,7 @@ export type PsmInstance = import("@agoric/zoe/src/zoeService/utils.js").Instance
|
|
|
288
288
|
Electorate: "invitation";
|
|
289
289
|
}>;
|
|
290
290
|
} & import("@endo/marshal").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
291
|
-
get: () => import("@agoric/governance/src/contractGovernance/typedParamManager
|
|
291
|
+
get: () => import("@agoric/governance/src/contractGovernance/typedParamManager").TypedParamManager<{
|
|
292
292
|
GiveMintedFee: "ratio";
|
|
293
293
|
MintLimit: "amount";
|
|
294
294
|
WantMintedFee: "ratio";
|
|
@@ -296,7 +296,7 @@ export type PsmInstance = import("@agoric/zoe/src/zoeService/utils.js").Instance
|
|
|
296
296
|
Electorate: "invitation";
|
|
297
297
|
}>;
|
|
298
298
|
}>;
|
|
299
|
-
getInvitation: (name: any) => Promise<Invitation<unknown, undefined>>;
|
|
299
|
+
getInvitation: (name: any) => Promise<Invitation<unknown, undefined>>;
|
|
300
300
|
getLimitedCreatorFacet: () => import("@endo/exo").Guarded<{
|
|
301
301
|
getRewardAllocation(): Allocation;
|
|
302
302
|
makeCollectFeesInvitation(): Promise<Invitation<string, undefined>>;
|
|
@@ -308,10 +308,10 @@ export type PsmInstance = import("@agoric/zoe/src/zoeService/utils.js").Instance
|
|
|
308
308
|
}>;
|
|
309
309
|
publicFacet: import("@endo/exo").Guarded<{
|
|
310
310
|
getAmount: (name: string) => Amount;
|
|
311
|
-
getBrand: (name: string) =>
|
|
311
|
+
getBrand: (name: string) => Brand;
|
|
312
312
|
getInstance: (name: string) => Instance;
|
|
313
|
-
getInstallation: (name: string) => Installation
|
|
314
|
-
getInvitationAmount: (name: string) =>
|
|
313
|
+
getInstallation: (name: string) => Installation;
|
|
314
|
+
getInvitationAmount: (name: string) => InvitationAmount;
|
|
315
315
|
getNat: (name: string) => bigint;
|
|
316
316
|
getRatio: (name: string) => Ratio;
|
|
317
317
|
getString: (name: string) => string;
|
|
@@ -330,419 +330,9 @@ export type PsmInstance = import("@agoric/zoe/src/zoeService/utils.js").Instance
|
|
|
330
330
|
}>;
|
|
331
331
|
}>>;
|
|
332
332
|
export type ProvisionPoolKitReferences = {
|
|
333
|
-
bankManager: ERef<
|
|
334
|
-
getAssetSubscription(): globalThis.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?: globalThis.Pattern) => ERef<Amount>;
|
|
345
|
-
}>;
|
|
346
|
-
getModuleAccountAddress(moduleName: string): Promise<string | null>;
|
|
347
|
-
addAsset(denom: string, issuerName: string, proposedName: string, kit: AssetIssuerKit & {
|
|
348
|
-
payment?: ERef<Payment<"nat">>;
|
|
349
|
-
}): Promise<void>;
|
|
350
|
-
getBankForAddress(address: string): Promise<Bank>;
|
|
351
|
-
}>>;
|
|
333
|
+
bankManager: ERef<BankManager>;
|
|
352
334
|
namesByAddressAdmin: ERef<import("@agoric/vats").NameAdmin>;
|
|
353
|
-
walletFactory: ERef<
|
|
354
|
-
provideSmartWallet(address: string, bank: ERef<import("@agoric/vats/src/vat-bank.js").Bank>, namesByAddressAdmin: ERef<import("@agoric/vats/src/types.js").NameAdmin>): Promise<[wallet: {
|
|
355
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
356
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
357
|
-
receive(payment: Payment): Promise<Amount>;
|
|
358
|
-
}>;
|
|
359
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
360
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
361
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers.js").OfferId): Promise<void>;
|
|
362
|
-
}>;
|
|
363
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
364
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
365
|
-
getPublicTopics(): {
|
|
366
|
-
current: {
|
|
367
|
-
description: string;
|
|
368
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
369
|
-
storagePath: Promise<string>;
|
|
370
|
-
};
|
|
371
|
-
updates: {
|
|
372
|
-
description: string;
|
|
373
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
374
|
-
storagePath: Promise<string>;
|
|
375
|
-
};
|
|
376
|
-
};
|
|
377
|
-
repairWalletForIncarnation2(key: object): void;
|
|
378
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
379
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
380
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
381
|
-
receive(payment: Payment): Promise<Amount>;
|
|
382
|
-
}>;
|
|
383
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
384
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
385
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers.js").OfferId): Promise<void>;
|
|
386
|
-
}>;
|
|
387
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
388
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
389
|
-
getPublicTopics(): {
|
|
390
|
-
current: {
|
|
391
|
-
description: string;
|
|
392
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
393
|
-
storagePath: Promise<string>;
|
|
394
|
-
};
|
|
395
|
-
updates: {
|
|
396
|
-
description: string;
|
|
397
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
398
|
-
storagePath: Promise<string>;
|
|
399
|
-
};
|
|
400
|
-
};
|
|
401
|
-
repairWalletForIncarnation2(key: object): void;
|
|
402
|
-
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
403
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
404
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
405
|
-
receive(payment: Payment): Promise<Amount>;
|
|
406
|
-
}>;
|
|
407
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
408
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
409
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers.js").OfferId): Promise<void>;
|
|
410
|
-
}>;
|
|
411
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
412
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
413
|
-
getPublicTopics(): {
|
|
414
|
-
current: {
|
|
415
|
-
description: string;
|
|
416
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
417
|
-
storagePath: Promise<string>;
|
|
418
|
-
};
|
|
419
|
-
updates: {
|
|
420
|
-
description: string;
|
|
421
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
422
|
-
storagePath: Promise<string>;
|
|
423
|
-
};
|
|
424
|
-
};
|
|
425
|
-
repairWalletForIncarnation2(key: object): void;
|
|
426
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
427
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
428
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
429
|
-
receive(payment: Payment): Promise<Amount>;
|
|
430
|
-
}>;
|
|
431
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
432
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
433
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers.js").OfferId): Promise<void>;
|
|
434
|
-
}>;
|
|
435
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
436
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
437
|
-
getPublicTopics(): {
|
|
438
|
-
current: {
|
|
439
|
-
description: string;
|
|
440
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
441
|
-
storagePath: Promise<string>;
|
|
442
|
-
};
|
|
443
|
-
updates: {
|
|
444
|
-
description: string;
|
|
445
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
446
|
-
storagePath: Promise<string>;
|
|
447
|
-
};
|
|
448
|
-
};
|
|
449
|
-
repairWalletForIncarnation2(key: object): void;
|
|
450
|
-
}>> & import("@endo/marshal").RemotableObject, isNew: boolean]>;
|
|
451
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
452
|
-
provideSmartWallet(address: string, bank: ERef<import("@agoric/vats/src/vat-bank.js").Bank>, namesByAddressAdmin: ERef<import("@agoric/vats/src/types.js").NameAdmin>): Promise<[wallet: {
|
|
453
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
454
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
455
|
-
receive(payment: Payment): Promise<Amount>;
|
|
456
|
-
}>;
|
|
457
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
458
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
459
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers.js").OfferId): Promise<void>;
|
|
460
|
-
}>;
|
|
461
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
462
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
463
|
-
getPublicTopics(): {
|
|
464
|
-
current: {
|
|
465
|
-
description: string;
|
|
466
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
467
|
-
storagePath: Promise<string>;
|
|
468
|
-
};
|
|
469
|
-
updates: {
|
|
470
|
-
description: string;
|
|
471
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
472
|
-
storagePath: Promise<string>;
|
|
473
|
-
};
|
|
474
|
-
};
|
|
475
|
-
repairWalletForIncarnation2(key: object): void;
|
|
476
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
477
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
478
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
479
|
-
receive(payment: Payment): Promise<Amount>;
|
|
480
|
-
}>;
|
|
481
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
482
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
483
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers.js").OfferId): Promise<void>;
|
|
484
|
-
}>;
|
|
485
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
486
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
487
|
-
getPublicTopics(): {
|
|
488
|
-
current: {
|
|
489
|
-
description: string;
|
|
490
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
491
|
-
storagePath: Promise<string>;
|
|
492
|
-
};
|
|
493
|
-
updates: {
|
|
494
|
-
description: string;
|
|
495
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
496
|
-
storagePath: Promise<string>;
|
|
497
|
-
};
|
|
498
|
-
};
|
|
499
|
-
repairWalletForIncarnation2(key: object): void;
|
|
500
|
-
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
501
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
502
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
503
|
-
receive(payment: Payment): Promise<Amount>;
|
|
504
|
-
}>;
|
|
505
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
506
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
507
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers.js").OfferId): Promise<void>;
|
|
508
|
-
}>;
|
|
509
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
510
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
511
|
-
getPublicTopics(): {
|
|
512
|
-
current: {
|
|
513
|
-
description: string;
|
|
514
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
515
|
-
storagePath: Promise<string>;
|
|
516
|
-
};
|
|
517
|
-
updates: {
|
|
518
|
-
description: string;
|
|
519
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
520
|
-
storagePath: Promise<string>;
|
|
521
|
-
};
|
|
522
|
-
};
|
|
523
|
-
repairWalletForIncarnation2(key: object): void;
|
|
524
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
525
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
526
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
527
|
-
receive(payment: Payment): Promise<Amount>;
|
|
528
|
-
}>;
|
|
529
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
530
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
531
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers.js").OfferId): Promise<void>;
|
|
532
|
-
}>;
|
|
533
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
534
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
535
|
-
getPublicTopics(): {
|
|
536
|
-
current: {
|
|
537
|
-
description: string;
|
|
538
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
539
|
-
storagePath: Promise<string>;
|
|
540
|
-
};
|
|
541
|
-
updates: {
|
|
542
|
-
description: string;
|
|
543
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
544
|
-
storagePath: Promise<string>;
|
|
545
|
-
};
|
|
546
|
-
};
|
|
547
|
-
repairWalletForIncarnation2(key: object): void;
|
|
548
|
-
}>> & import("@endo/marshal").RemotableObject, isNew: boolean]>;
|
|
549
|
-
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
550
|
-
provideSmartWallet(address: string, bank: ERef<import("@agoric/vats/src/vat-bank.js").Bank>, namesByAddressAdmin: ERef<import("@agoric/vats/src/types.js").NameAdmin>): Promise<[wallet: {
|
|
551
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
552
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
553
|
-
receive(payment: Payment): Promise<Amount>;
|
|
554
|
-
}>;
|
|
555
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
556
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
557
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers.js").OfferId): Promise<void>;
|
|
558
|
-
}>;
|
|
559
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
560
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
561
|
-
getPublicTopics(): {
|
|
562
|
-
current: {
|
|
563
|
-
description: string;
|
|
564
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
565
|
-
storagePath: Promise<string>;
|
|
566
|
-
};
|
|
567
|
-
updates: {
|
|
568
|
-
description: string;
|
|
569
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
570
|
-
storagePath: Promise<string>;
|
|
571
|
-
};
|
|
572
|
-
};
|
|
573
|
-
repairWalletForIncarnation2(key: object): void;
|
|
574
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
575
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
576
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
577
|
-
receive(payment: Payment): Promise<Amount>;
|
|
578
|
-
}>;
|
|
579
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
580
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
581
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers.js").OfferId): Promise<void>;
|
|
582
|
-
}>;
|
|
583
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
584
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
585
|
-
getPublicTopics(): {
|
|
586
|
-
current: {
|
|
587
|
-
description: string;
|
|
588
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
589
|
-
storagePath: Promise<string>;
|
|
590
|
-
};
|
|
591
|
-
updates: {
|
|
592
|
-
description: string;
|
|
593
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
594
|
-
storagePath: Promise<string>;
|
|
595
|
-
};
|
|
596
|
-
};
|
|
597
|
-
repairWalletForIncarnation2(key: object): void;
|
|
598
|
-
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
599
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
600
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
601
|
-
receive(payment: Payment): Promise<Amount>;
|
|
602
|
-
}>;
|
|
603
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
604
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
605
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers.js").OfferId): Promise<void>;
|
|
606
|
-
}>;
|
|
607
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
608
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
609
|
-
getPublicTopics(): {
|
|
610
|
-
current: {
|
|
611
|
-
description: string;
|
|
612
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
613
|
-
storagePath: Promise<string>;
|
|
614
|
-
};
|
|
615
|
-
updates: {
|
|
616
|
-
description: string;
|
|
617
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
618
|
-
storagePath: Promise<string>;
|
|
619
|
-
};
|
|
620
|
-
};
|
|
621
|
-
repairWalletForIncarnation2(key: object): void;
|
|
622
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
623
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
624
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
625
|
-
receive(payment: Payment): Promise<Amount>;
|
|
626
|
-
}>;
|
|
627
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
628
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
629
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers.js").OfferId): Promise<void>;
|
|
630
|
-
}>;
|
|
631
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
632
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
633
|
-
getPublicTopics(): {
|
|
634
|
-
current: {
|
|
635
|
-
description: string;
|
|
636
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
637
|
-
storagePath: Promise<string>;
|
|
638
|
-
};
|
|
639
|
-
updates: {
|
|
640
|
-
description: string;
|
|
641
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
642
|
-
storagePath: Promise<string>;
|
|
643
|
-
};
|
|
644
|
-
};
|
|
645
|
-
repairWalletForIncarnation2(key: object): void;
|
|
646
|
-
}>> & import("@endo/marshal").RemotableObject, isNew: boolean]>;
|
|
647
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
648
|
-
provideSmartWallet(address: string, bank: ERef<import("@agoric/vats/src/vat-bank.js").Bank>, namesByAddressAdmin: ERef<import("@agoric/vats/src/types.js").NameAdmin>): Promise<[wallet: {
|
|
649
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
650
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
651
|
-
receive(payment: Payment): Promise<Amount>;
|
|
652
|
-
}>;
|
|
653
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
654
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
655
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers.js").OfferId): Promise<void>;
|
|
656
|
-
}>;
|
|
657
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
658
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
659
|
-
getPublicTopics(): {
|
|
660
|
-
current: {
|
|
661
|
-
description: string;
|
|
662
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
663
|
-
storagePath: Promise<string>;
|
|
664
|
-
};
|
|
665
|
-
updates: {
|
|
666
|
-
description: string;
|
|
667
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
668
|
-
storagePath: Promise<string>;
|
|
669
|
-
};
|
|
670
|
-
};
|
|
671
|
-
repairWalletForIncarnation2(key: object): void;
|
|
672
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
673
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
674
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
675
|
-
receive(payment: Payment): Promise<Amount>;
|
|
676
|
-
}>;
|
|
677
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
678
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
679
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers.js").OfferId): Promise<void>;
|
|
680
|
-
}>;
|
|
681
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
682
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
683
|
-
getPublicTopics(): {
|
|
684
|
-
current: {
|
|
685
|
-
description: string;
|
|
686
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
687
|
-
storagePath: Promise<string>;
|
|
688
|
-
};
|
|
689
|
-
updates: {
|
|
690
|
-
description: string;
|
|
691
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
692
|
-
storagePath: Promise<string>;
|
|
693
|
-
};
|
|
694
|
-
};
|
|
695
|
-
repairWalletForIncarnation2(key: object): void;
|
|
696
|
-
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
697
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
698
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
699
|
-
receive(payment: Payment): Promise<Amount>;
|
|
700
|
-
}>;
|
|
701
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
702
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
703
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers.js").OfferId): Promise<void>;
|
|
704
|
-
}>;
|
|
705
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
706
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
707
|
-
getPublicTopics(): {
|
|
708
|
-
current: {
|
|
709
|
-
description: string;
|
|
710
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
711
|
-
storagePath: Promise<string>;
|
|
712
|
-
};
|
|
713
|
-
updates: {
|
|
714
|
-
description: string;
|
|
715
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
716
|
-
storagePath: Promise<string>;
|
|
717
|
-
};
|
|
718
|
-
};
|
|
719
|
-
repairWalletForIncarnation2(key: object): void;
|
|
720
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
721
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
722
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
723
|
-
receive(payment: Payment): Promise<Amount>;
|
|
724
|
-
}>;
|
|
725
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
726
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
727
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers.js").OfferId): Promise<void>;
|
|
728
|
-
}>;
|
|
729
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
730
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
731
|
-
getPublicTopics(): {
|
|
732
|
-
current: {
|
|
733
|
-
description: string;
|
|
734
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
735
|
-
storagePath: Promise<string>;
|
|
736
|
-
};
|
|
737
|
-
updates: {
|
|
738
|
-
description: string;
|
|
739
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
740
|
-
storagePath: Promise<string>;
|
|
741
|
-
};
|
|
742
|
-
};
|
|
743
|
-
repairWalletForIncarnation2(key: object): void;
|
|
744
|
-
}>> & import("@endo/marshal").RemotableObject, isNew: boolean]>;
|
|
745
|
-
}>> & import("@endo/marshal").RemotableObject>;
|
|
335
|
+
walletFactory: ERef<import("@agoric/vats/src/core/startWalletFactory.js").WalletFactoryStartResult["creatorFacet"]>;
|
|
746
336
|
};
|
|
747
337
|
/**
|
|
748
338
|
* Metrics naming scheme is that nouns are
|
|
@@ -757,14 +347,15 @@ export type MetricsNotification = {
|
|
|
757
347
|
* running sum of Minted provided
|
|
758
348
|
* to new wallets
|
|
759
349
|
*/
|
|
760
|
-
totalMintedProvided:
|
|
350
|
+
totalMintedProvided: Amount<"nat">;
|
|
761
351
|
/**
|
|
762
352
|
* running sum of Minted ever
|
|
763
353
|
* received by the contract from PSM
|
|
764
354
|
*/
|
|
765
|
-
totalMintedConverted:
|
|
355
|
+
totalMintedConverted: Amount<"nat">;
|
|
766
356
|
};
|
|
767
357
|
import type { Bank } from '@agoric/vats/src/vat-bank.js';
|
|
768
358
|
import type { ERef } from '@endo/far';
|
|
769
359
|
import type { Amount } from '@agoric/ertp/src/types.js';
|
|
360
|
+
import type { BankManager } from '@agoric/vats/src/vat-bank.js';
|
|
770
361
|
//# sourceMappingURL=provisionPoolKit.d.ts.map
|