@agoric/inter-protocol 0.16.2-dev-de2008a.0 → 0.16.2-dev-9d7a377.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 +9 -9
- package/src/auction/auctioneer.d.ts +10 -10
- package/src/auction/offerBook.d.ts +4 -4
- package/src/auction/params.d.ts +5 -5
- package/src/auction/scheduleMath.d.ts +3 -3
- package/src/auction/scheduler.d.ts +3 -3
- package/src/auction/sortedOffers.d.ts +1 -1
- package/src/auction/util.d.ts +2 -2
- package/src/clientSupport.d.ts +15 -15
- package/src/contractSupport.d.ts +3 -3
- package/src/contractSupport.d.ts.map +1 -1
- package/src/econCommitteeCharter.d.ts +2 -2
- package/src/feeDistributor.d.ts +11 -11
- package/src/interest-math.d.ts +2 -2
- package/src/interest.d.ts +3 -3
- package/src/price/fluxAggregatorContract.d.ts +6 -6
- package/src/price/fluxAggregatorContract.d.ts.map +1 -1
- package/src/price/fluxAggregatorKit.d.ts +8 -8
- package/src/price/fluxAggregatorKit.d.ts.map +1 -1
- package/src/price/priceOracleKit.d.ts +1 -1
- package/src/price/roundsManager.d.ts +9 -9
- package/src/proposals/add-auction.d.ts +69 -0
- package/src/proposals/add-auction.d.ts.map +1 -0
- package/src/proposals/add-auction.js +177 -0
- package/src/proposals/committee-proposal.d.ts +4 -4
- package/src/proposals/core-proposal.d.ts +1 -1
- package/src/proposals/econ-behaviors.d.ts +69 -283
- package/src/proposals/econ-behaviors.d.ts.map +1 -1
- package/src/proposals/econ-behaviors.js +1 -0
- package/src/proposals/price-feed-proposal.d.ts +3 -3
- package/src/proposals/startEconCommittee.d.ts +1 -1
- package/src/provisionPool.d.ts +22 -22
- package/src/provisionPool.d.ts.map +1 -1
- package/src/provisionPoolKit.d.ts +257 -233
- package/src/provisionPoolKit.d.ts.map +1 -1
- package/src/psm/psm.d.ts +10 -10
- package/src/reserve/assetReserve.d.ts +6 -6
- package/src/reserve/assetReserve.d.ts.map +1 -1
- package/src/reserve/assetReserveKit.d.ts +11 -11
- package/src/tokens.d.ts +1 -1
- package/src/vaultFactory/liquidation.d.ts +11 -11
- package/src/vaultFactory/liquidation.d.ts.map +1 -1
- package/src/vaultFactory/math.d.ts +2 -2
- 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 +4 -4
- package/src/vaultFactory/prioritizedVaults.d.ts.map +1 -1
- package/src/vaultFactory/proceeds.d.ts +16 -16
- package/src/vaultFactory/storeUtils.d.ts +3 -3
- package/src/vaultFactory/storeUtils.d.ts.map +1 -1
- package/src/vaultFactory/types.d.ts +8 -8
- package/src/vaultFactory/types.d.ts.map +1 -1
- package/src/vaultFactory/vault.d.ts +29 -29
- package/src/vaultFactory/vaultDirector.d.ts +10 -10
- package/src/vaultFactory/vaultDirector.d.ts.map +1 -1
- package/src/vaultFactory/vaultFactory.d.ts +15 -18
- package/src/vaultFactory/vaultFactory.d.ts.map +1 -1
- package/src/vaultFactory/vaultHolder.d.ts +11 -11
- package/src/vaultFactory/vaultHolder.d.ts.map +1 -1
- package/src/vaultFactory/vaultKit.d.ts +1 -1
- package/src/vaultFactory/vaultKit.d.ts.map +1 -1
- package/src/vaultFactory/vaultManager.d.ts +48 -48
- package/src/vaultFactory/vaultManager.d.ts.map +1 -1
|
@@ -3,13 +3,13 @@ export function makeBridgeProvisionTool(sendInitialPayment: (depositBank: ERef<B
|
|
|
3
3
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
4
4
|
fromBridge: (obj: any) => Promise<void>;
|
|
5
5
|
}>;
|
|
6
|
-
export function prepareProvisionPoolKit(baggage: import(
|
|
7
|
-
makeRecorderKit: import(
|
|
6
|
+
export function prepareProvisionPoolKit(baggage: import("@agoric/vat-data").Baggage, { makeRecorderKit, params, poolBank, zcf }: {
|
|
7
|
+
makeRecorderKit: import("@agoric/zoe/src/contractSupport/recorder.js").MakeRecorderKit;
|
|
8
8
|
params: any;
|
|
9
9
|
poolBank: ERef<Bank>;
|
|
10
10
|
zcf: ZCF;
|
|
11
11
|
}): ({ poolBrand, storageNode }: {
|
|
12
|
-
poolBrand: Brand<
|
|
12
|
+
poolBrand: Brand<"nat">;
|
|
13
13
|
storageNode: ERef<StorageNode>;
|
|
14
14
|
}) => Promise<import("@endo/exo").GuardedKit<{
|
|
15
15
|
machine: {
|
|
@@ -20,99 +20,99 @@ export function prepareProvisionPoolKit(baggage: import('@agoric/vat-data').Bagg
|
|
|
20
20
|
reviveWallet(address: string): Promise<{
|
|
21
21
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
22
22
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
23
|
-
receive(payment:
|
|
23
|
+
receive(payment: Payment): Promise<Amount>;
|
|
24
24
|
}>;
|
|
25
25
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
26
|
-
executeOffer(offerSpec:
|
|
27
|
-
tryExitOffer(offerId:
|
|
26
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
27
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
28
28
|
}>;
|
|
29
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
30
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
29
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
30
|
+
getUpdatesSubscriber(): 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").CurrentWalletRecord>;
|
|
34
|
+
subscriber: 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").UpdateRecord>;
|
|
39
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
40
40
|
storagePath: Promise<string>;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
-
repairWalletForIncarnation2(key:
|
|
44
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
43
|
+
repairWalletForIncarnation2(key: object): void;
|
|
44
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
45
45
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
46
46
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
47
|
-
receive(payment:
|
|
47
|
+
receive(payment: Payment): Promise<Amount>;
|
|
48
48
|
}>;
|
|
49
49
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
50
|
-
executeOffer(offerSpec:
|
|
51
|
-
tryExitOffer(offerId:
|
|
50
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
51
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
52
52
|
}>;
|
|
53
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
54
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
53
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
54
|
+
getUpdatesSubscriber(): 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").CurrentWalletRecord>;
|
|
58
|
+
subscriber: 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").UpdateRecord>;
|
|
63
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
64
64
|
storagePath: Promise<string>;
|
|
65
65
|
};
|
|
66
66
|
};
|
|
67
|
-
repairWalletForIncarnation2(key:
|
|
67
|
+
repairWalletForIncarnation2(key: object): void;
|
|
68
68
|
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
69
69
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
70
70
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
71
|
-
receive(payment:
|
|
71
|
+
receive(payment: Payment): Promise<Amount>;
|
|
72
72
|
}>;
|
|
73
73
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
74
|
-
executeOffer(offerSpec:
|
|
75
|
-
tryExitOffer(offerId:
|
|
74
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
75
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
76
76
|
}>;
|
|
77
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
78
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
77
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
78
|
+
getUpdatesSubscriber(): 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").CurrentWalletRecord>;
|
|
82
|
+
subscriber: 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").UpdateRecord>;
|
|
87
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
88
88
|
storagePath: Promise<string>;
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
|
-
repairWalletForIncarnation2(key:
|
|
92
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
91
|
+
repairWalletForIncarnation2(key: object): void;
|
|
92
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
93
93
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
94
94
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
95
|
-
receive(payment:
|
|
95
|
+
receive(payment: Payment): Promise<Amount>;
|
|
96
96
|
}>;
|
|
97
97
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
98
|
-
executeOffer(offerSpec:
|
|
99
|
-
tryExitOffer(offerId:
|
|
98
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
99
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
100
100
|
}>;
|
|
101
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
102
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
101
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
102
|
+
getUpdatesSubscriber(): 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").CurrentWalletRecord>;
|
|
106
|
+
subscriber: 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").UpdateRecord>;
|
|
111
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
112
112
|
storagePath: Promise<string>;
|
|
113
113
|
};
|
|
114
114
|
};
|
|
115
|
-
repairWalletForIncarnation2(key:
|
|
115
|
+
repairWalletForIncarnation2(key: object): void;
|
|
116
116
|
}>>>;
|
|
117
117
|
/**
|
|
118
118
|
* @param {string} address
|
|
@@ -138,99 +138,99 @@ export function prepareProvisionPoolKit(baggage: import('@agoric/vat-data').Bagg
|
|
|
138
138
|
reviveWallet(address: string): Promise<{
|
|
139
139
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
140
140
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
141
|
-
receive(payment:
|
|
141
|
+
receive(payment: Payment): Promise<Amount>;
|
|
142
142
|
}>;
|
|
143
143
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
144
|
-
executeOffer(offerSpec:
|
|
145
|
-
tryExitOffer(offerId:
|
|
144
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
145
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
146
146
|
}>;
|
|
147
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
148
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
147
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
148
|
+
getUpdatesSubscriber(): 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").CurrentWalletRecord>;
|
|
152
|
+
subscriber: 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").UpdateRecord>;
|
|
157
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
158
158
|
storagePath: Promise<string>;
|
|
159
159
|
};
|
|
160
160
|
};
|
|
161
|
-
repairWalletForIncarnation2(key:
|
|
162
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
161
|
+
repairWalletForIncarnation2(key: object): void;
|
|
162
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
163
163
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
164
164
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
165
|
-
receive(payment:
|
|
165
|
+
receive(payment: Payment): Promise<Amount>;
|
|
166
166
|
}>;
|
|
167
167
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
168
|
-
executeOffer(offerSpec:
|
|
169
|
-
tryExitOffer(offerId:
|
|
168
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
169
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
170
170
|
}>;
|
|
171
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
172
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
171
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
172
|
+
getUpdatesSubscriber(): 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").CurrentWalletRecord>;
|
|
176
|
+
subscriber: 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").UpdateRecord>;
|
|
181
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
182
182
|
storagePath: Promise<string>;
|
|
183
183
|
};
|
|
184
184
|
};
|
|
185
|
-
repairWalletForIncarnation2(key:
|
|
185
|
+
repairWalletForIncarnation2(key: object): void;
|
|
186
186
|
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
187
187
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
188
188
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
189
|
-
receive(payment:
|
|
189
|
+
receive(payment: Payment): Promise<Amount>;
|
|
190
190
|
}>;
|
|
191
191
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
192
|
-
executeOffer(offerSpec:
|
|
193
|
-
tryExitOffer(offerId:
|
|
192
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
193
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
194
194
|
}>;
|
|
195
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
196
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
195
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
196
|
+
getUpdatesSubscriber(): 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").CurrentWalletRecord>;
|
|
200
|
+
subscriber: 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").UpdateRecord>;
|
|
205
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
206
206
|
storagePath: Promise<string>;
|
|
207
207
|
};
|
|
208
208
|
};
|
|
209
|
-
repairWalletForIncarnation2(key:
|
|
210
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
209
|
+
repairWalletForIncarnation2(key: object): void;
|
|
210
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
211
211
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
212
212
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
213
|
-
receive(payment:
|
|
213
|
+
receive(payment: Payment): Promise<Amount>;
|
|
214
214
|
}>;
|
|
215
215
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
216
|
-
executeOffer(offerSpec:
|
|
217
|
-
tryExitOffer(offerId:
|
|
216
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
217
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
218
218
|
}>;
|
|
219
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
220
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
219
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
220
|
+
getUpdatesSubscriber(): 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").CurrentWalletRecord>;
|
|
224
|
+
subscriber: 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").UpdateRecord>;
|
|
229
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
230
230
|
storagePath: Promise<string>;
|
|
231
231
|
};
|
|
232
232
|
};
|
|
233
|
-
repairWalletForIncarnation2(key:
|
|
233
|
+
repairWalletForIncarnation2(key: object): void;
|
|
234
234
|
}>>>;
|
|
235
235
|
/**
|
|
236
236
|
* @param {string} address
|
|
@@ -265,22 +265,22 @@ export function prepareProvisionPoolKit(baggage: import('@agoric/vat-data').Bagg
|
|
|
265
265
|
};
|
|
266
266
|
};
|
|
267
267
|
}>>;
|
|
268
|
-
export type PsmInstance = import(
|
|
268
|
+
export type PsmInstance = import("@agoric/zoe/src/zoeService/utils.js").Instance<(zcf: ZCF<GovernanceTerms<{
|
|
269
269
|
GiveMintedFee: "ratio";
|
|
270
270
|
WantMintedFee: "ratio";
|
|
271
271
|
MintLimit: "amount";
|
|
272
272
|
}> & {
|
|
273
|
-
anchorBrand:
|
|
273
|
+
anchorBrand: Brand<"nat">;
|
|
274
274
|
anchorPerMinted: Ratio;
|
|
275
275
|
}>, privateArgs: {
|
|
276
276
|
feeMintAccess: FeeMintAccess;
|
|
277
|
-
initialPoserInvitation: Invitation
|
|
277
|
+
initialPoserInvitation: Invitation;
|
|
278
278
|
storageNode: StorageNode;
|
|
279
|
-
marshaller: Marshaller
|
|
279
|
+
marshaller: Marshaller;
|
|
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").TypedParamManager<{
|
|
283
|
+
get: () => import("@agoric/governance/src/contractGovernance/typedParamManager.js").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/eventual-send").RemotableBrand<{}, {
|
|
291
|
-
get: () => import("@agoric/governance/src/contractGovernance/typedParamManager").TypedParamManager<{
|
|
291
|
+
get: () => import("@agoric/governance/src/contractGovernance/typedParamManager.js").TypedParamManager<{
|
|
292
292
|
GiveMintedFee: "ratio";
|
|
293
293
|
MintLimit: "amount";
|
|
294
294
|
WantMintedFee: "ratio";
|
|
@@ -332,7 +332,7 @@ export type PsmInstance = import('@agoric/zoe/src/zoeService/utils.js').Instance
|
|
|
332
332
|
export type ProvisionPoolKitReferences = {
|
|
333
333
|
bankManager: ERef<{
|
|
334
334
|
getAssetSubscription(): IterableEachTopic<import("@agoric/vats/src/vat-bank.js").AssetDescriptor>;
|
|
335
|
-
getRewardDistributorDepositFacet(denom: string, feeKit:
|
|
335
|
+
getRewardDistributorDepositFacet(denom: string, feeKit: AssetIssuerKit): ERef<{
|
|
336
336
|
/**
|
|
337
337
|
* Deposit all the contents of payment
|
|
338
338
|
* into the purse that made this facet, returning the amount. If the optional
|
|
@@ -344,13 +344,21 @@ export type ProvisionPoolKitReferences = {
|
|
|
344
344
|
receive: (args_0: globalThis.Payment, args_1?: any) => ERef<Amount>;
|
|
345
345
|
}>;
|
|
346
346
|
getModuleAccountAddress(moduleName: string): Promise<string | null>;
|
|
347
|
-
addAsset(denom: string, issuerName: string, proposedName: string, kit:
|
|
348
|
-
payment?: ERef<
|
|
347
|
+
addAsset(denom: string, issuerName: string, proposedName: string, kit: AssetIssuerKit & {
|
|
348
|
+
payment?: ERef<Payment>;
|
|
349
349
|
}): Promise<void>;
|
|
350
350
|
getBankForAddress(address: string): Promise<Bank>;
|
|
351
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
351
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
352
352
|
getAssetSubscription(): IterableEachTopic<import("@agoric/vats/src/vat-bank.js").AssetDescriptor>;
|
|
353
|
-
getRewardDistributorDepositFacet(denom: string, feeKit:
|
|
353
|
+
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
|
+
*/
|
|
354
362
|
/**
|
|
355
363
|
* Deposit all the contents of payment
|
|
356
364
|
* into the purse that made this facet, returning the amount. If the optional
|
|
@@ -362,13 +370,21 @@ export type ProvisionPoolKitReferences = {
|
|
|
362
370
|
receive: (args_0: globalThis.Payment, args_1?: any) => ERef<Amount>;
|
|
363
371
|
}>;
|
|
364
372
|
getModuleAccountAddress(moduleName: string): Promise<string | null>;
|
|
365
|
-
addAsset(denom: string, issuerName: string, proposedName: string, kit:
|
|
366
|
-
payment?: ERef<
|
|
373
|
+
addAsset(denom: string, issuerName: string, proposedName: string, kit: AssetIssuerKit & {
|
|
374
|
+
payment?: ERef<Payment>;
|
|
367
375
|
}): Promise<void>;
|
|
368
376
|
getBankForAddress(address: string): Promise<Bank>;
|
|
369
377
|
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
370
378
|
getAssetSubscription(): IterableEachTopic<import("@agoric/vats/src/vat-bank.js").AssetDescriptor>;
|
|
371
|
-
getRewardDistributorDepositFacet(denom: string, feeKit:
|
|
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
|
+
*/
|
|
372
388
|
/**
|
|
373
389
|
* Deposit all the contents of payment
|
|
374
390
|
* into the purse that made this facet, returning the amount. If the optional
|
|
@@ -380,13 +396,21 @@ export type ProvisionPoolKitReferences = {
|
|
|
380
396
|
receive: (args_0: globalThis.Payment, args_1?: any) => ERef<Amount>;
|
|
381
397
|
}>;
|
|
382
398
|
getModuleAccountAddress(moduleName: string): Promise<string | null>;
|
|
383
|
-
addAsset(denom: string, issuerName: string, proposedName: string, kit:
|
|
384
|
-
payment?: ERef<
|
|
399
|
+
addAsset(denom: string, issuerName: string, proposedName: string, kit: AssetIssuerKit & {
|
|
400
|
+
payment?: ERef<Payment>;
|
|
385
401
|
}): Promise<void>;
|
|
386
402
|
getBankForAddress(address: string): Promise<Bank>;
|
|
387
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
403
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
388
404
|
getAssetSubscription(): IterableEachTopic<import("@agoric/vats/src/vat-bank.js").AssetDescriptor>;
|
|
389
|
-
getRewardDistributorDepositFacet(denom: string, feeKit:
|
|
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
|
+
*/
|
|
390
414
|
/**
|
|
391
415
|
* Deposit all the contents of payment
|
|
392
416
|
* into the purse that made this facet, returning the amount. If the optional
|
|
@@ -398,403 +422,403 @@ export type ProvisionPoolKitReferences = {
|
|
|
398
422
|
receive: (args_0: globalThis.Payment, args_1?: any) => ERef<Amount>;
|
|
399
423
|
}>;
|
|
400
424
|
getModuleAccountAddress(moduleName: string): Promise<string | null>;
|
|
401
|
-
addAsset(denom: string, issuerName: string, proposedName: string, kit:
|
|
402
|
-
payment?: ERef<
|
|
425
|
+
addAsset(denom: string, issuerName: string, proposedName: string, kit: AssetIssuerKit & {
|
|
426
|
+
payment?: ERef<Payment>;
|
|
403
427
|
}): Promise<void>;
|
|
404
428
|
getBankForAddress(address: string): Promise<Bank>;
|
|
405
429
|
}>>>;
|
|
406
430
|
namesByAddressAdmin: ERef<import("@agoric/vats").NameAdmin>;
|
|
407
431
|
walletFactory: ERef<{
|
|
408
|
-
provideSmartWallet(address: string, bank: ERef<Bank>, namesByAddressAdmin: ERef<import("@agoric/vats").NameAdmin>): Promise<[wallet: {
|
|
432
|
+
provideSmartWallet(address: string, bank: ERef<import("@agoric/vats/src/vat-bank.js").Bank>, namesByAddressAdmin: ERef<import("@agoric/vats/src/types.js").NameAdmin>): Promise<[wallet: {
|
|
409
433
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
410
434
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
411
|
-
receive(payment:
|
|
435
|
+
receive(payment: Payment): Promise<Amount>;
|
|
412
436
|
}>;
|
|
413
437
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
414
|
-
executeOffer(offerSpec:
|
|
415
|
-
tryExitOffer(offerId:
|
|
438
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
439
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
416
440
|
}>;
|
|
417
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
418
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
441
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
442
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
419
443
|
getPublicTopics(): {
|
|
420
444
|
current: {
|
|
421
445
|
description: string;
|
|
422
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
446
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
423
447
|
storagePath: Promise<string>;
|
|
424
448
|
};
|
|
425
449
|
updates: {
|
|
426
450
|
description: string;
|
|
427
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
451
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
428
452
|
storagePath: Promise<string>;
|
|
429
453
|
};
|
|
430
454
|
};
|
|
431
|
-
repairWalletForIncarnation2(key:
|
|
432
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
455
|
+
repairWalletForIncarnation2(key: object): void;
|
|
456
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
433
457
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
434
458
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
435
|
-
receive(payment:
|
|
459
|
+
receive(payment: Payment): Promise<Amount>;
|
|
436
460
|
}>;
|
|
437
461
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
438
|
-
executeOffer(offerSpec:
|
|
439
|
-
tryExitOffer(offerId:
|
|
462
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
463
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
440
464
|
}>;
|
|
441
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
442
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
465
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
466
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
443
467
|
getPublicTopics(): {
|
|
444
468
|
current: {
|
|
445
469
|
description: string;
|
|
446
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
470
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
447
471
|
storagePath: Promise<string>;
|
|
448
472
|
};
|
|
449
473
|
updates: {
|
|
450
474
|
description: string;
|
|
451
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
475
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
452
476
|
storagePath: Promise<string>;
|
|
453
477
|
};
|
|
454
478
|
};
|
|
455
|
-
repairWalletForIncarnation2(key:
|
|
479
|
+
repairWalletForIncarnation2(key: object): void;
|
|
456
480
|
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
457
481
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
458
482
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
459
|
-
receive(payment:
|
|
483
|
+
receive(payment: Payment): Promise<Amount>;
|
|
460
484
|
}>;
|
|
461
485
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
462
|
-
executeOffer(offerSpec:
|
|
463
|
-
tryExitOffer(offerId:
|
|
486
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
487
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
464
488
|
}>;
|
|
465
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
466
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
489
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
490
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
467
491
|
getPublicTopics(): {
|
|
468
492
|
current: {
|
|
469
493
|
description: string;
|
|
470
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
494
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
471
495
|
storagePath: Promise<string>;
|
|
472
496
|
};
|
|
473
497
|
updates: {
|
|
474
498
|
description: string;
|
|
475
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
499
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
476
500
|
storagePath: Promise<string>;
|
|
477
501
|
};
|
|
478
502
|
};
|
|
479
|
-
repairWalletForIncarnation2(key:
|
|
480
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
503
|
+
repairWalletForIncarnation2(key: object): void;
|
|
504
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
481
505
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
482
506
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
483
|
-
receive(payment:
|
|
507
|
+
receive(payment: Payment): Promise<Amount>;
|
|
484
508
|
}>;
|
|
485
509
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
486
|
-
executeOffer(offerSpec:
|
|
487
|
-
tryExitOffer(offerId:
|
|
510
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
511
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
488
512
|
}>;
|
|
489
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
490
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
513
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
514
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
491
515
|
getPublicTopics(): {
|
|
492
516
|
current: {
|
|
493
517
|
description: string;
|
|
494
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
518
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
495
519
|
storagePath: Promise<string>;
|
|
496
520
|
};
|
|
497
521
|
updates: {
|
|
498
522
|
description: string;
|
|
499
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
523
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
500
524
|
storagePath: Promise<string>;
|
|
501
525
|
};
|
|
502
526
|
};
|
|
503
|
-
repairWalletForIncarnation2(key:
|
|
527
|
+
repairWalletForIncarnation2(key: object): void;
|
|
504
528
|
}>>, isNew: boolean]>;
|
|
505
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
506
|
-
provideSmartWallet(address: string, bank: ERef<Bank>, namesByAddressAdmin: ERef<import("@agoric/vats").NameAdmin>): Promise<[wallet: {
|
|
529
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
530
|
+
provideSmartWallet(address: string, bank: ERef<import("@agoric/vats/src/vat-bank.js").Bank>, namesByAddressAdmin: ERef<import("@agoric/vats/src/types.js").NameAdmin>): Promise<[wallet: {
|
|
507
531
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
508
532
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
509
|
-
receive(payment:
|
|
533
|
+
receive(payment: Payment): Promise<Amount>;
|
|
510
534
|
}>;
|
|
511
535
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
512
|
-
executeOffer(offerSpec:
|
|
513
|
-
tryExitOffer(offerId:
|
|
536
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
537
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
514
538
|
}>;
|
|
515
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
516
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
539
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
540
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
517
541
|
getPublicTopics(): {
|
|
518
542
|
current: {
|
|
519
543
|
description: string;
|
|
520
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
544
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
521
545
|
storagePath: Promise<string>;
|
|
522
546
|
};
|
|
523
547
|
updates: {
|
|
524
548
|
description: string;
|
|
525
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
549
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
526
550
|
storagePath: Promise<string>;
|
|
527
551
|
};
|
|
528
552
|
};
|
|
529
|
-
repairWalletForIncarnation2(key:
|
|
530
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
553
|
+
repairWalletForIncarnation2(key: object): void;
|
|
554
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
531
555
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
532
556
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
533
|
-
receive(payment:
|
|
557
|
+
receive(payment: Payment): Promise<Amount>;
|
|
534
558
|
}>;
|
|
535
559
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
536
|
-
executeOffer(offerSpec:
|
|
537
|
-
tryExitOffer(offerId:
|
|
560
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
561
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
538
562
|
}>;
|
|
539
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
540
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
563
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
564
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
541
565
|
getPublicTopics(): {
|
|
542
566
|
current: {
|
|
543
567
|
description: string;
|
|
544
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
568
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
545
569
|
storagePath: Promise<string>;
|
|
546
570
|
};
|
|
547
571
|
updates: {
|
|
548
572
|
description: string;
|
|
549
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
573
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
550
574
|
storagePath: Promise<string>;
|
|
551
575
|
};
|
|
552
576
|
};
|
|
553
|
-
repairWalletForIncarnation2(key:
|
|
577
|
+
repairWalletForIncarnation2(key: object): void;
|
|
554
578
|
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
555
579
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
556
580
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
557
|
-
receive(payment:
|
|
581
|
+
receive(payment: Payment): Promise<Amount>;
|
|
558
582
|
}>;
|
|
559
583
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
560
|
-
executeOffer(offerSpec:
|
|
561
|
-
tryExitOffer(offerId:
|
|
584
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
585
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
562
586
|
}>;
|
|
563
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
564
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
587
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
588
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
565
589
|
getPublicTopics(): {
|
|
566
590
|
current: {
|
|
567
591
|
description: string;
|
|
568
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
592
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
569
593
|
storagePath: Promise<string>;
|
|
570
594
|
};
|
|
571
595
|
updates: {
|
|
572
596
|
description: string;
|
|
573
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
597
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
574
598
|
storagePath: Promise<string>;
|
|
575
599
|
};
|
|
576
600
|
};
|
|
577
|
-
repairWalletForIncarnation2(key:
|
|
578
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
601
|
+
repairWalletForIncarnation2(key: object): void;
|
|
602
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
579
603
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
580
604
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
581
|
-
receive(payment:
|
|
605
|
+
receive(payment: Payment): Promise<Amount>;
|
|
582
606
|
}>;
|
|
583
607
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
584
|
-
executeOffer(offerSpec:
|
|
585
|
-
tryExitOffer(offerId:
|
|
608
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
609
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
586
610
|
}>;
|
|
587
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
588
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
611
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
612
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
589
613
|
getPublicTopics(): {
|
|
590
614
|
current: {
|
|
591
615
|
description: string;
|
|
592
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
616
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
593
617
|
storagePath: Promise<string>;
|
|
594
618
|
};
|
|
595
619
|
updates: {
|
|
596
620
|
description: string;
|
|
597
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
621
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
598
622
|
storagePath: Promise<string>;
|
|
599
623
|
};
|
|
600
624
|
};
|
|
601
|
-
repairWalletForIncarnation2(key:
|
|
625
|
+
repairWalletForIncarnation2(key: object): void;
|
|
602
626
|
}>>, isNew: boolean]>;
|
|
603
627
|
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
604
|
-
provideSmartWallet(address: string, bank: ERef<Bank>, namesByAddressAdmin: ERef<import("@agoric/vats").NameAdmin>): Promise<[wallet: {
|
|
628
|
+
provideSmartWallet(address: string, bank: ERef<import("@agoric/vats/src/vat-bank.js").Bank>, namesByAddressAdmin: ERef<import("@agoric/vats/src/types.js").NameAdmin>): Promise<[wallet: {
|
|
605
629
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
606
630
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
607
|
-
receive(payment:
|
|
631
|
+
receive(payment: Payment): Promise<Amount>;
|
|
608
632
|
}>;
|
|
609
633
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
610
|
-
executeOffer(offerSpec:
|
|
611
|
-
tryExitOffer(offerId:
|
|
634
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
635
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
612
636
|
}>;
|
|
613
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
614
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
637
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
638
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
615
639
|
getPublicTopics(): {
|
|
616
640
|
current: {
|
|
617
641
|
description: string;
|
|
618
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
642
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
619
643
|
storagePath: Promise<string>;
|
|
620
644
|
};
|
|
621
645
|
updates: {
|
|
622
646
|
description: string;
|
|
623
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
647
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
624
648
|
storagePath: Promise<string>;
|
|
625
649
|
};
|
|
626
650
|
};
|
|
627
|
-
repairWalletForIncarnation2(key:
|
|
628
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
651
|
+
repairWalletForIncarnation2(key: object): void;
|
|
652
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
629
653
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
630
654
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
631
|
-
receive(payment:
|
|
655
|
+
receive(payment: Payment): Promise<Amount>;
|
|
632
656
|
}>;
|
|
633
657
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
634
|
-
executeOffer(offerSpec:
|
|
635
|
-
tryExitOffer(offerId:
|
|
658
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
659
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
636
660
|
}>;
|
|
637
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
638
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
661
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
662
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
639
663
|
getPublicTopics(): {
|
|
640
664
|
current: {
|
|
641
665
|
description: string;
|
|
642
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
666
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
643
667
|
storagePath: Promise<string>;
|
|
644
668
|
};
|
|
645
669
|
updates: {
|
|
646
670
|
description: string;
|
|
647
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
671
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
648
672
|
storagePath: Promise<string>;
|
|
649
673
|
};
|
|
650
674
|
};
|
|
651
|
-
repairWalletForIncarnation2(key:
|
|
675
|
+
repairWalletForIncarnation2(key: object): void;
|
|
652
676
|
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
653
677
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
654
678
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
655
|
-
receive(payment:
|
|
679
|
+
receive(payment: Payment): Promise<Amount>;
|
|
656
680
|
}>;
|
|
657
681
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
658
|
-
executeOffer(offerSpec:
|
|
659
|
-
tryExitOffer(offerId:
|
|
682
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
683
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
660
684
|
}>;
|
|
661
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
662
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
685
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
686
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
663
687
|
getPublicTopics(): {
|
|
664
688
|
current: {
|
|
665
689
|
description: string;
|
|
666
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
690
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
667
691
|
storagePath: Promise<string>;
|
|
668
692
|
};
|
|
669
693
|
updates: {
|
|
670
694
|
description: string;
|
|
671
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
695
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
672
696
|
storagePath: Promise<string>;
|
|
673
697
|
};
|
|
674
698
|
};
|
|
675
|
-
repairWalletForIncarnation2(key:
|
|
676
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
699
|
+
repairWalletForIncarnation2(key: object): void;
|
|
700
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
677
701
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
678
702
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
679
|
-
receive(payment:
|
|
703
|
+
receive(payment: Payment): Promise<Amount>;
|
|
680
704
|
}>;
|
|
681
705
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
682
|
-
executeOffer(offerSpec:
|
|
683
|
-
tryExitOffer(offerId:
|
|
706
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
707
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
684
708
|
}>;
|
|
685
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
686
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
709
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
710
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
687
711
|
getPublicTopics(): {
|
|
688
712
|
current: {
|
|
689
713
|
description: string;
|
|
690
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
714
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
691
715
|
storagePath: Promise<string>;
|
|
692
716
|
};
|
|
693
717
|
updates: {
|
|
694
718
|
description: string;
|
|
695
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
719
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
696
720
|
storagePath: Promise<string>;
|
|
697
721
|
};
|
|
698
722
|
};
|
|
699
|
-
repairWalletForIncarnation2(key:
|
|
723
|
+
repairWalletForIncarnation2(key: object): void;
|
|
700
724
|
}>>, isNew: boolean]>;
|
|
701
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
702
|
-
provideSmartWallet(address: string, bank: ERef<Bank>, namesByAddressAdmin: ERef<import("@agoric/vats").NameAdmin>): Promise<[wallet: {
|
|
725
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
726
|
+
provideSmartWallet(address: string, bank: ERef<import("@agoric/vats/src/vat-bank.js").Bank>, namesByAddressAdmin: ERef<import("@agoric/vats/src/types.js").NameAdmin>): Promise<[wallet: {
|
|
703
727
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
704
728
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
705
|
-
receive(payment:
|
|
729
|
+
receive(payment: Payment): Promise<Amount>;
|
|
706
730
|
}>;
|
|
707
731
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
708
|
-
executeOffer(offerSpec:
|
|
709
|
-
tryExitOffer(offerId:
|
|
732
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
733
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
710
734
|
}>;
|
|
711
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
712
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
735
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
736
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
713
737
|
getPublicTopics(): {
|
|
714
738
|
current: {
|
|
715
739
|
description: string;
|
|
716
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
740
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
717
741
|
storagePath: Promise<string>;
|
|
718
742
|
};
|
|
719
743
|
updates: {
|
|
720
744
|
description: string;
|
|
721
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
745
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
722
746
|
storagePath: Promise<string>;
|
|
723
747
|
};
|
|
724
748
|
};
|
|
725
|
-
repairWalletForIncarnation2(key:
|
|
726
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
749
|
+
repairWalletForIncarnation2(key: object): void;
|
|
750
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
727
751
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
728
752
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
729
|
-
receive(payment:
|
|
753
|
+
receive(payment: Payment): Promise<Amount>;
|
|
730
754
|
}>;
|
|
731
755
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
732
|
-
executeOffer(offerSpec:
|
|
733
|
-
tryExitOffer(offerId:
|
|
756
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
757
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
734
758
|
}>;
|
|
735
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
736
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
759
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
760
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
737
761
|
getPublicTopics(): {
|
|
738
762
|
current: {
|
|
739
763
|
description: string;
|
|
740
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
764
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
741
765
|
storagePath: Promise<string>;
|
|
742
766
|
};
|
|
743
767
|
updates: {
|
|
744
768
|
description: string;
|
|
745
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
769
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
746
770
|
storagePath: Promise<string>;
|
|
747
771
|
};
|
|
748
772
|
};
|
|
749
|
-
repairWalletForIncarnation2(key:
|
|
773
|
+
repairWalletForIncarnation2(key: object): void;
|
|
750
774
|
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
751
775
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
752
776
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
753
|
-
receive(payment:
|
|
777
|
+
receive(payment: Payment): Promise<Amount>;
|
|
754
778
|
}>;
|
|
755
779
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
756
|
-
executeOffer(offerSpec:
|
|
757
|
-
tryExitOffer(offerId:
|
|
780
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
781
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
758
782
|
}>;
|
|
759
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
760
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
783
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
784
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
761
785
|
getPublicTopics(): {
|
|
762
786
|
current: {
|
|
763
787
|
description: string;
|
|
764
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
788
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
765
789
|
storagePath: Promise<string>;
|
|
766
790
|
};
|
|
767
791
|
updates: {
|
|
768
792
|
description: string;
|
|
769
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
793
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
770
794
|
storagePath: Promise<string>;
|
|
771
795
|
};
|
|
772
796
|
};
|
|
773
|
-
repairWalletForIncarnation2(key:
|
|
774
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
797
|
+
repairWalletForIncarnation2(key: object): void;
|
|
798
|
+
} & import("../../../node_modules/@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
775
799
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
776
800
|
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
777
|
-
receive(payment:
|
|
801
|
+
receive(payment: Payment): Promise<Amount>;
|
|
778
802
|
}>;
|
|
779
803
|
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
780
|
-
executeOffer(offerSpec:
|
|
781
|
-
tryExitOffer(offerId:
|
|
804
|
+
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
805
|
+
tryExitOffer(offerId: OfferId): Promise<void>;
|
|
782
806
|
}>;
|
|
783
|
-
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
784
|
-
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
807
|
+
getCurrentSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
808
|
+
getUpdatesSubscriber(): Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
785
809
|
getPublicTopics(): {
|
|
786
810
|
current: {
|
|
787
811
|
description: string;
|
|
788
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
812
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").CurrentWalletRecord>;
|
|
789
813
|
storagePath: Promise<string>;
|
|
790
814
|
};
|
|
791
815
|
updates: {
|
|
792
816
|
description: string;
|
|
793
|
-
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
817
|
+
subscriber: Subscriber<import("@agoric/smart-wallet/src/smartWallet.js").UpdateRecord>;
|
|
794
818
|
storagePath: Promise<string>;
|
|
795
819
|
};
|
|
796
820
|
};
|
|
797
|
-
repairWalletForIncarnation2(key:
|
|
821
|
+
repairWalletForIncarnation2(key: object): void;
|
|
798
822
|
}>>, isNew: boolean]>;
|
|
799
823
|
}>>>;
|
|
800
824
|
};
|