@agoric/inter-protocol 0.16.2-dev-d7a0e3b.0 → 0.16.2-dev-5b09631.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 +15 -15
- package/src/auction/auctionBook.d.ts +1 -2
- package/src/auction/auctionBook.d.ts.map +1 -1
- package/src/auction/auctionMath.d.ts +1 -1
- package/src/auction/auctionMath.d.ts.map +1 -1
- package/src/auction/params.d.ts.map +1 -1
- package/src/contractSupport.d.ts +1 -1
- package/src/contractSupport.d.ts.map +1 -1
- package/src/econCommitteeCharter.d.ts +1 -1
- package/src/econCommitteeCharter.d.ts.map +1 -1
- package/src/feeDistributor.d.ts +6 -6
- package/src/feeDistributor.d.ts.map +1 -1
- package/src/price/fluxAggregatorContract.d.ts.map +1 -1
- package/src/price/fluxAggregatorKit.d.ts.map +1 -1
- package/src/price/priceOracleKit.d.ts.map +1 -1
- package/src/price/roundsManager.d.ts +0 -1
- package/src/price/roundsManager.d.ts.map +1 -1
- package/src/proposals/econ-behaviors.d.ts +13 -13
- package/src/proposals/econ-behaviors.d.ts.map +1 -1
- package/src/proposals/price-feed-proposal.d.ts +1 -1
- package/src/proposals/price-feed-proposal.d.ts.map +1 -1
- package/src/proposals/startPSM.d.ts +1 -1
- package/src/proposals/startPSM.d.ts.map +1 -1
- package/src/provisionPool.d.ts +3 -110
- package/src/provisionPool.d.ts.map +1 -1
- package/src/provisionPoolKit.d.ts +6 -252
- package/src/provisionPoolKit.d.ts.map +1 -1
- package/src/provisionPoolKit.js +10 -0
- package/src/reserve/params.d.ts +5 -3
- package/src/reserve/params.d.ts.map +1 -1
- package/src/reserve/params.js +4 -2
- package/src/vaultFactory/math.d.ts +1 -1
- package/src/vaultFactory/math.d.ts.map +1 -1
- package/src/vaultFactory/orderedVaultStore.d.ts +4 -4
- package/src/vaultFactory/orderedVaultStore.d.ts.map +1 -1
- package/src/vaultFactory/params.d.ts.map +1 -1
- package/src/vaultFactory/prioritizedVaults.d.ts +12 -12
- package/src/vaultFactory/prioritizedVaults.d.ts.map +1 -1
- package/src/vaultFactory/vault.d.ts +2 -2
- package/src/vaultFactory/vaultDirector.d.ts +10 -10
- package/src/vaultFactory/vaultFactory.d.ts +6 -6
- package/src/vaultFactory/vaultHolder.d.ts +50 -6
- package/src/vaultFactory/vaultHolder.d.ts.map +1 -1
- package/src/vaultFactory/vaultKit.d.ts +2 -2
- package/src/vaultFactory/vaultManager.d.ts +16 -18
- package/src/vaultFactory/vaultManager.d.ts.map +1 -1
|
@@ -11,258 +11,12 @@ export function prepareProvisionPoolKit(baggage: import("@agoric/vat-data").Bagg
|
|
|
11
11
|
}): ({ poolBrand, storageNode }: {
|
|
12
12
|
poolBrand: Brand<"nat">;
|
|
13
13
|
storageNode: ERef<StorageNode>;
|
|
14
|
-
}) => Promise<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
reviveWallet(address: string): Promise<{
|
|
21
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
22
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
23
|
-
receive(payment: Payment): Promise<Amount>;
|
|
24
|
-
}>;
|
|
25
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
26
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
27
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers").OfferId): Promise<void>;
|
|
28
|
-
}>;
|
|
29
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
30
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
31
|
-
getPublicTopics(): {
|
|
32
|
-
current: {
|
|
33
|
-
description: string;
|
|
34
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
35
|
-
storagePath: Promise<string>;
|
|
36
|
-
};
|
|
37
|
-
updates: {
|
|
38
|
-
description: string;
|
|
39
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
40
|
-
storagePath: Promise<string>;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
44
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
45
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
46
|
-
receive(payment: Payment): Promise<Amount>;
|
|
47
|
-
}>;
|
|
48
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
49
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
50
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers").OfferId): Promise<void>;
|
|
51
|
-
}>;
|
|
52
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
53
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
54
|
-
getPublicTopics(): {
|
|
55
|
-
current: {
|
|
56
|
-
description: string;
|
|
57
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
58
|
-
storagePath: Promise<string>;
|
|
59
|
-
};
|
|
60
|
-
updates: {
|
|
61
|
-
description: string;
|
|
62
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
63
|
-
storagePath: Promise<string>;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
67
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
68
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
69
|
-
receive(payment: Payment): Promise<Amount>;
|
|
70
|
-
}>;
|
|
71
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
72
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
73
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers").OfferId): Promise<void>;
|
|
74
|
-
}>;
|
|
75
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
76
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
77
|
-
getPublicTopics(): {
|
|
78
|
-
current: {
|
|
79
|
-
description: string;
|
|
80
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
81
|
-
storagePath: Promise<string>;
|
|
82
|
-
};
|
|
83
|
-
updates: {
|
|
84
|
-
description: string;
|
|
85
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
86
|
-
storagePath: Promise<string>;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
90
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
91
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
92
|
-
receive(payment: Payment): Promise<Amount>;
|
|
93
|
-
}>;
|
|
94
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
95
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
96
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers").OfferId): Promise<void>;
|
|
97
|
-
}>;
|
|
98
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
99
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
100
|
-
getPublicTopics(): {
|
|
101
|
-
current: {
|
|
102
|
-
description: string;
|
|
103
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
104
|
-
storagePath: Promise<string>;
|
|
105
|
-
};
|
|
106
|
-
updates: {
|
|
107
|
-
description: string;
|
|
108
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
109
|
-
storagePath: Promise<string>;
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
}>> & import("@endo/pass-style").RemotableObject>;
|
|
113
|
-
/**
|
|
114
|
-
* @param {string} address
|
|
115
|
-
* @returns {boolean} isRevive
|
|
116
|
-
*/
|
|
117
|
-
ackWallet(address: string): boolean;
|
|
118
|
-
}>;
|
|
119
|
-
/** @param {ProvisionPoolKitReferences} erefs */
|
|
120
|
-
setReferences(erefs: ProvisionPoolKitReferences): Promise<void>;
|
|
121
|
-
makeHandler(): {
|
|
122
|
-
fromBridge: (obj: any) => Promise<void>;
|
|
123
|
-
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
124
|
-
fromBridge: (obj: any) => Promise<void>;
|
|
125
|
-
}>;
|
|
126
|
-
/**
|
|
127
|
-
* @param {Brand} brand
|
|
128
|
-
* @param {PsmInstance} instance
|
|
129
|
-
*/
|
|
130
|
-
initPSM(brand: Brand, instance: PsmInstance): void;
|
|
131
|
-
};
|
|
132
|
-
walletReviver: {
|
|
133
|
-
/** @param {string} address */
|
|
134
|
-
reviveWallet(address: string): Promise<{
|
|
135
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
136
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
137
|
-
receive(payment: Payment): Promise<Amount>;
|
|
138
|
-
}>;
|
|
139
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
140
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
141
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers").OfferId): Promise<void>;
|
|
142
|
-
}>;
|
|
143
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
144
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
145
|
-
getPublicTopics(): {
|
|
146
|
-
current: {
|
|
147
|
-
description: string;
|
|
148
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
149
|
-
storagePath: Promise<string>;
|
|
150
|
-
};
|
|
151
|
-
updates: {
|
|
152
|
-
description: string;
|
|
153
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
154
|
-
storagePath: Promise<string>;
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
158
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
159
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
160
|
-
receive(payment: Payment): Promise<Amount>;
|
|
161
|
-
}>;
|
|
162
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
163
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
164
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers").OfferId): Promise<void>;
|
|
165
|
-
}>;
|
|
166
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
167
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
168
|
-
getPublicTopics(): {
|
|
169
|
-
current: {
|
|
170
|
-
description: string;
|
|
171
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
172
|
-
storagePath: Promise<string>;
|
|
173
|
-
};
|
|
174
|
-
updates: {
|
|
175
|
-
description: string;
|
|
176
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
177
|
-
storagePath: Promise<string>;
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
|
-
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
181
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
182
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
183
|
-
receive(payment: Payment): Promise<Amount>;
|
|
184
|
-
}>;
|
|
185
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
186
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
187
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers").OfferId): Promise<void>;
|
|
188
|
-
}>;
|
|
189
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
190
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
191
|
-
getPublicTopics(): {
|
|
192
|
-
current: {
|
|
193
|
-
description: string;
|
|
194
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
195
|
-
storagePath: Promise<string>;
|
|
196
|
-
};
|
|
197
|
-
updates: {
|
|
198
|
-
description: string;
|
|
199
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
200
|
-
storagePath: Promise<string>;
|
|
201
|
-
};
|
|
202
|
-
};
|
|
203
|
-
} & import("../../../node_modules/@endo/exo/src/get-interface").GetInterfaceGuard<{
|
|
204
|
-
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
205
|
-
getDepositFacet(): import("@endo/exo").Guarded<{
|
|
206
|
-
receive(payment: Payment): Promise<Amount>;
|
|
207
|
-
}>;
|
|
208
|
-
getOffersFacet(): import("@endo/exo").Guarded<{
|
|
209
|
-
executeOffer(offerSpec: OfferSpec): Promise<void>;
|
|
210
|
-
tryExitOffer(offerId: import("@agoric/smart-wallet/src/offers").OfferId): Promise<void>;
|
|
211
|
-
}>;
|
|
212
|
-
getCurrentSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
213
|
-
getUpdatesSubscriber(): globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
214
|
-
getPublicTopics(): {
|
|
215
|
-
current: {
|
|
216
|
-
description: string;
|
|
217
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").CurrentWalletRecord>;
|
|
218
|
-
storagePath: Promise<string>;
|
|
219
|
-
};
|
|
220
|
-
updates: {
|
|
221
|
-
description: string;
|
|
222
|
-
subscriber: globalThis.Subscriber<import("@agoric/smart-wallet/src/smartWallet").UpdateRecord>;
|
|
223
|
-
storagePath: Promise<string>;
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
}>> & import("@endo/pass-style").RemotableObject>;
|
|
227
|
-
/**
|
|
228
|
-
* @param {string} address
|
|
229
|
-
* @returns {boolean} isRevive
|
|
230
|
-
*/
|
|
231
|
-
ackWallet(address: string): boolean;
|
|
232
|
-
};
|
|
233
|
-
helper: {
|
|
234
|
-
publishMetrics(): void;
|
|
235
|
-
onTrade(converted: any): void;
|
|
236
|
-
onSendFunds(provided: any): void;
|
|
237
|
-
onProvisioned(): void;
|
|
238
|
-
/** @param {ERef<Bank>} destBank */
|
|
239
|
-
sendInitialPayment(destBank: ERef<Bank>): Promise<void>;
|
|
240
|
-
/**
|
|
241
|
-
* @param {ERef<Purse>} exchangePurse
|
|
242
|
-
* @param {ERef<Brand>} brand
|
|
243
|
-
*/
|
|
244
|
-
watchCurrentAmount(exchangePurse: ERef<Purse>, brand: ERef<Brand>): void;
|
|
245
|
-
watchAssetSubscription(): Promise<undefined>;
|
|
246
|
-
/**
|
|
247
|
-
* @param {object} [options]
|
|
248
|
-
* @param {MetricsNotification} [options.metrics]
|
|
249
|
-
*/
|
|
250
|
-
start({ metrics }?: {
|
|
251
|
-
metrics?: MetricsNotification | undefined;
|
|
252
|
-
} | undefined): void;
|
|
253
|
-
/**
|
|
254
|
-
* @param {ERef<Payment>} payIn
|
|
255
|
-
* @param {Amount} amount
|
|
256
|
-
* @param {PsmInstance} instance
|
|
257
|
-
*/
|
|
258
|
-
swap(payIn: ERef<Payment>, amount: Amount, instance: PsmInstance): Promise<import("@agoric/ertp").NatAmount>;
|
|
259
|
-
};
|
|
260
|
-
public: {
|
|
261
|
-
getPublicTopics(): {
|
|
262
|
-
metrics: import("@agoric/zoe/src/contractSupport").PublicTopic<MetricsNotification>;
|
|
263
|
-
};
|
|
264
|
-
};
|
|
265
|
-
}>>;
|
|
14
|
+
}) => Promise<ProvisionPoolKit>;
|
|
15
|
+
export type ProvisionPoolKit = {
|
|
16
|
+
machine: any;
|
|
17
|
+
helper: any;
|
|
18
|
+
public: any;
|
|
19
|
+
};
|
|
266
20
|
export type PsmInstance = import("@agoric/zoe/src/zoeService/utils.js").Instance<(zcf: ZCF<GovernanceTerms<{
|
|
267
21
|
GiveMintedFee: "ratio";
|
|
268
22
|
WantMintedFee: "ratio";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provisionPoolKit.d.ts","sourceRoot":"","sources":["provisionPoolKit.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"provisionPoolKit.d.ts","sourceRoot":"","sources":["provisionPoolKit.js"],"names":[],"mappings":"AAgFO,4DAHI,CAAC,WAAW,EAAE,KAAK,IAAI,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,iBAC1C,MAAM,IAAI,0DAGP,0BAA0B;;;;GA+BvC;AAWM,iDARI,OAAO,kBAAkB,EAAE,OAAO,8CAClC;IACN,eAAe,EAAE,OAAO,6CAA6C,EAAE,eAAe,CAAC;IACvF,MAAM,EAAE,GAAG,CAAC;IACZ,QAAQ,EAAE,OAAO,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACzC,GAAG,EAAE,GAAG,CAAC;CACV,gCA0YC;IAA2B,SAAS,EAA5B,KAAK,CAAC,KAAK,CAAC;IACY,WAAW,EAAnC,KAAK,WAAW,CAAC;CACzB,KAAU,OAAO,CAAC,gBAAgB,CAAC,CAcvC;+BA1eY;IACR,OAAO,EAAE,GAAG,CAAC;IACb,MAAM,EAAE,GAAG,CAAC;IACZ,MAAM,EAAE,GAAG,CAAC;CACb;0BAIS,OAAO,qCAAqC,EAAE,QAAQ,CAClE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+CAsW6B,cACrB;kDAEK,cAAG;;;;;;;;;;;;EAzWyC,CACtD;;iBAKU,KAAK,WAAW,CAAC;yBACjB,KAAK,OAAO,cAAc,EAAE,SAAS,CAAC;mBACtC,KACb,OAAW,6CAA6C,EAAE,wBAAwB,CAAC,cAAc,CAAC,CAC/F;;;;;;;;;;wBAMU,MAAM;;;;;yBACN,OAAO,KAAK,CAAC;;;;;0BAEb,OAAO,KAAK,CAAC;;0BAjCS,8BAA8B;0BAF3C,WAAW;4BACT,2BAA2B;iCAChB,8BAA8B"}
|
package/src/provisionPoolKit.js
CHANGED
|
@@ -37,6 +37,15 @@ const FIRST_LOWER_NEAR_KEYWORD = /^[a-z][a-zA-Z0-9_$]*$/;
|
|
|
37
37
|
* @import {Bank, BankManager} from '@agoric/vats/src/vat-bank.js'
|
|
38
38
|
*/
|
|
39
39
|
|
|
40
|
+
// XXX when inferred, error TS2742: cannot be named without a reference to '../../../node_modules/@endo/exo/src/get-interface.js'. This is likely not portable. A type annotation is necessary.
|
|
41
|
+
/**
|
|
42
|
+
* @typedef {{
|
|
43
|
+
* machine: any;
|
|
44
|
+
* helper: any;
|
|
45
|
+
* public: any;
|
|
46
|
+
* }} ProvisionPoolKit
|
|
47
|
+
*/
|
|
48
|
+
|
|
40
49
|
/**
|
|
41
50
|
* @typedef {import('@agoric/zoe/src/zoeService/utils.js').Instance<
|
|
42
51
|
* import('@agoric/inter-protocol/src/psm/psm.js').start
|
|
@@ -506,6 +515,7 @@ export const prepareProvisionPoolKit = (
|
|
|
506
515
|
* @param {object} opts
|
|
507
516
|
* @param {Brand<'nat'>} opts.poolBrand
|
|
508
517
|
* @param {ERef<StorageNode>} opts.storageNode
|
|
518
|
+
* @returns {Promise<ProvisionPoolKit>}
|
|
509
519
|
*/
|
|
510
520
|
const makeProvisionPoolKit = async ({ poolBrand, storageNode }) => {
|
|
511
521
|
const fundPurse = await E(poolBank).getPurse(poolBrand);
|
package/src/reserve/params.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @param {InvitationAmount} poserInvitationAmount
|
|
3
|
+
*/
|
|
4
|
+
export function makeReserveTerms(poserInvitationAmount: InvitationAmount): {
|
|
3
5
|
governedParams: {
|
|
4
6
|
Electorate: {
|
|
5
7
|
type: "invitation";
|
|
6
|
-
value:
|
|
8
|
+
value: import("@agoric/ertp").SetAmount<InvitationDetails>;
|
|
7
9
|
};
|
|
8
10
|
};
|
|
9
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"params.d.ts","sourceRoot":"","sources":["params.js"],"names":[],"mappings":"AAIA
|
|
1
|
+
{"version":3,"file":"params.d.ts","sourceRoot":"","sources":["params.js"],"names":[],"mappings":"AAIA;;GAEG;AACH,wDAFW,gBAAgB;;;;;;;EASzB"}
|
package/src/reserve/params.js
CHANGED
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
import { CONTRACT_ELECTORATE, ParamTypes } from '@agoric/governance';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
/**
|
|
6
|
+
* @param {InvitationAmount} poserInvitationAmount
|
|
7
|
+
*/
|
|
8
|
+
const makeReserveTerms = poserInvitationAmount => ({
|
|
7
9
|
governedParams: harden({
|
|
8
10
|
[CONTRACT_ELECTORATE]: {
|
|
9
11
|
type: ParamTypes.INVITATION,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export function calculateMinimumCollateralization(liquidationMargin: Ratio, liquidationPadding: Ratio): Ratio;
|
|
2
|
-
export function minimumPrice(quoteA: PriceQuote, quoteB?: PriceQuote
|
|
2
|
+
export function minimumPrice(quoteA: PriceQuote, quoteB?: PriceQuote): Ratio;
|
|
3
3
|
export function maxDebtForVault(quoteAmount: PriceQuote, liquidationMargin: Ratio, liquidationPadding: Ratio): Amount<"nat">;
|
|
4
4
|
export function calculateDebtCosts(currentDebt: Amount<"nat">, give: Amount<"nat">, want: Amount<"nat">, debtFee: Ratio): {
|
|
5
5
|
newDebt: import("@agoric/ertp").NatAmount;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"math.d.ts","sourceRoot":"","sources":["math.js"],"names":[],"mappings":"AA4BO,qEAJI,KAAK,sBACL,KAAK,GACH,KAAK,CAKmC;AAS9C,qCAJI,UAAU,
|
|
1
|
+
{"version":3,"file":"math.d.ts","sourceRoot":"","sources":["math.js"],"names":[],"mappings":"AA4BO,qEAJI,KAAK,sBACL,KAAK,GACH,KAAK,CAKmC;AAS9C,qCAJI,UAAU,WACV,UAAU,GACR,KAAK,CAajB;AAYM,6CALI,UAAU,qBACV,KAAK,sBACL,KAAK,GACH,MAAM,CAAC,KAAK,CAAC,CAczB;AAaM,gDALI,MAAM,CAAC,KAAK,CAAC,QACb,MAAM,CAAC,KAAK,CAAC,QACb,MAAM,CAAC,KAAK,CAAC,WACb,KAAK;;;;;EASf;gCA7E6F,4BAA4B"}
|
|
@@ -16,7 +16,7 @@ export function makeOrderedVaultStore(store: MapStore<string, Vault>): {
|
|
|
16
16
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
17
17
|
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
18
18
|
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
19
|
-
TransferVault(): Promise<Invitation
|
|
19
|
+
TransferVault(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
20
20
|
}>;
|
|
21
21
|
vault: import("@endo/exo").Guarded<{
|
|
22
22
|
getPublicTopics(): {
|
|
@@ -28,7 +28,7 @@ export function makeOrderedVaultStore(store: MapStore<string, Vault>): {
|
|
|
28
28
|
};
|
|
29
29
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
30
30
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
31
|
-
makeTransferInvitation(): Promise<Invitation
|
|
31
|
+
makeTransferInvitation(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
32
32
|
getCollateralAmount(): import("@agoric/ertp").NatAmount;
|
|
33
33
|
getCurrentDebt(): import("@agoric/ertp").NatAmount;
|
|
34
34
|
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
@@ -59,7 +59,7 @@ export function makeOrderedVaultStore(store: MapStore<string, Vault>): {
|
|
|
59
59
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
60
60
|
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
61
61
|
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
62
|
-
TransferVault(): Promise<Invitation
|
|
62
|
+
TransferVault(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
63
63
|
}>;
|
|
64
64
|
vault: import("@endo/exo").Guarded<{
|
|
65
65
|
getPublicTopics(): {
|
|
@@ -71,7 +71,7 @@ export function makeOrderedVaultStore(store: MapStore<string, Vault>): {
|
|
|
71
71
|
};
|
|
72
72
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
73
73
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
74
|
-
makeTransferInvitation(): Promise<Invitation
|
|
74
|
+
makeTransferInvitation(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
75
75
|
getCollateralAmount(): import("@agoric/ertp").NatAmount;
|
|
76
76
|
getCurrentDebt(): import("@agoric/ertp").NatAmount;
|
|
77
77
|
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orderedVaultStore.d.ts","sourceRoot":"","sources":["orderedVaultStore.js"],"names":[],"mappings":"AAiBO,6CADK,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC;wBAGtB,MAAM,SACN,KAAK;uBAWL,MAAM,KACJ,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAkCgt1B,iBAAiB
|
|
1
|
+
{"version":3,"file":"orderedVaultStore.d.ts","sourceRoot":"","sources":["orderedVaultStore.js"],"names":[],"mappings":"AAiBO,6CADK,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC;wBAGtB,MAAM,SACN,KAAK;uBAWL,MAAM,KACJ,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAkCgt1B,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAjB,iBAAiB;;EADpv1B;2BApDwB,YAAY"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"params.d.ts","sourceRoot":"","sources":["params.js"],"names":[],"mappings":"AAiBA,8HAA8H;AAE9H,
|
|
1
|
+
{"version":3,"file":"params.d.ts","sourceRoot":"","sources":["params.js"],"names":[],"mappings":"AAiBA,8HAA8H;AAE9H,kCAAmC,gBAAgB,CAAC;AACpD,mCAAoC,iBAAiB,CAAC;AAEtD,6BAA8B,WAAW,CAAC;AAC1C,qCAAsC,mBAAmB,CAAC;AAC1D,sCAAuC,oBAAoB,CAAC;AAC5D,sCAAuC,oBAAoB,CAAC;AAC5D,gCAAiC,cAAc,CAAC;AAChD,2BAA4B,SAAS,CAAC;AACtC,mCAAoC,gBAAgB,CAAC;AACrD,uCAAwC,qBAAqB,CAAC;AAC9D,gCAAiC,cAAc,CAAC;;;;;;;AAkEzC,oDAHI,OAAO,kBAAkB,EAAE,kBAAkB,CAAC,2BAA2B,CAAC,oGAC1E,uBAAuB;;;;;;;GAoB9B;AACJ,4EAA4E;AAE5E,iEAYE;AAeK,8MAZI;IACN,0BAA0B,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;IAC1C,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;IAC9B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;IACrC,KAAK,EAAE,IAAI,CAAC,OAAO,cAAc,EAAE,YAAY,CAAC,CAAC;IACjD,kBAAkB,EAAE,uBAAuB,CAAC;IAC5C,cAAc,EAAE,cAAc,CAAC;IAC/B,yBAAyB,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;IACzC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BH;AAeM,mDAJI,OAAO,kBAAkB,EAAE,OAAO,cAClC,IAAI,CAAC,UAAU,CAAC,yBAChB,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC;IA+CjD;;;;OAIG;2BAHQ,KAAK,eACL,WAAW,sBACX,uBAAuB;;;;;;;;IAOlC,2BAA2B;eAAf,KAAK;;;;;;;;EAKpB;kCAhKY,OAAO,gEAAgE,EAAE,uBAAuB,CACtG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAC3C;gCA8BQ,UAAU,CAAC,OAAO,qBAAqB,CAAC;yCAwDxC,uBAAuB,GAAG;IAAE,KAAK,EAAE,KAAK,CAAA;CAAE;oCA1JsC,4BAA4B;AAyB1H;;;;;;GAMG;AACH,qEANW,MAAM,CAAC,KAAK,CAAC,kBACb,MAAM,CAAC,KAAK,CAAC,6BACb,MAAM,CAAC,KAAK,CAAC,gBACb,MAAM,kBACN,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;EAgCxB"}
|
|
@@ -14,7 +14,7 @@ export function makePrioritizedVaults(store: MapStore<string, Vault>): {
|
|
|
14
14
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
15
15
|
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
16
16
|
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
17
|
-
TransferVault(): Promise<Invitation
|
|
17
|
+
TransferVault(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
18
18
|
}>;
|
|
19
19
|
vault: import("@endo/exo").Guarded<{
|
|
20
20
|
getPublicTopics(): {
|
|
@@ -26,7 +26,7 @@ export function makePrioritizedVaults(store: MapStore<string, Vault>): {
|
|
|
26
26
|
};
|
|
27
27
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
28
28
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
29
|
-
makeTransferInvitation(): Promise<Invitation
|
|
29
|
+
makeTransferInvitation(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
30
30
|
getCollateralAmount(): import("@agoric/ertp").NatAmount;
|
|
31
31
|
getCurrentDebt(): import("@agoric/ertp").NatAmount;
|
|
32
32
|
getNormalizedDebt(): NormalizedDebt;
|
|
@@ -60,7 +60,7 @@ export function makePrioritizedVaults(store: MapStore<string, Vault>): {
|
|
|
60
60
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
61
61
|
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
62
62
|
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
63
|
-
TransferVault(): Promise<Invitation
|
|
63
|
+
TransferVault(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
64
64
|
}>;
|
|
65
65
|
vault: import("@endo/exo").Guarded<{
|
|
66
66
|
getPublicTopics(): {
|
|
@@ -72,7 +72,7 @@ export function makePrioritizedVaults(store: MapStore<string, Vault>): {
|
|
|
72
72
|
};
|
|
73
73
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
74
74
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
75
|
-
makeTransferInvitation(): Promise<Invitation
|
|
75
|
+
makeTransferInvitation(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
76
76
|
getCollateralAmount(): import("@agoric/ertp").NatAmount;
|
|
77
77
|
getCurrentDebt(): import("@agoric/ertp").NatAmount;
|
|
78
78
|
getNormalizedDebt(): NormalizedDebt;
|
|
@@ -106,7 +106,7 @@ export function makePrioritizedVaults(store: MapStore<string, Vault>): {
|
|
|
106
106
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
107
107
|
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
108
108
|
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
109
|
-
TransferVault(): Promise<Invitation
|
|
109
|
+
TransferVault(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
110
110
|
}>;
|
|
111
111
|
vault: import("@endo/exo").Guarded<{
|
|
112
112
|
getPublicTopics(): {
|
|
@@ -118,7 +118,7 @@ export function makePrioritizedVaults(store: MapStore<string, Vault>): {
|
|
|
118
118
|
};
|
|
119
119
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
120
120
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
121
|
-
makeTransferInvitation(): Promise<Invitation
|
|
121
|
+
makeTransferInvitation(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
122
122
|
getCollateralAmount(): import("@agoric/ertp").NatAmount;
|
|
123
123
|
getCurrentDebt(): import("@agoric/ertp").NatAmount;
|
|
124
124
|
getNormalizedDebt(): NormalizedDebt;
|
|
@@ -151,7 +151,7 @@ export function makePrioritizedVaults(store: MapStore<string, Vault>): {
|
|
|
151
151
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
152
152
|
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
153
153
|
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
154
|
-
TransferVault(): Promise<Invitation
|
|
154
|
+
TransferVault(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
155
155
|
}>;
|
|
156
156
|
vault: import("@endo/exo").Guarded<{
|
|
157
157
|
getPublicTopics(): {
|
|
@@ -163,7 +163,7 @@ export function makePrioritizedVaults(store: MapStore<string, Vault>): {
|
|
|
163
163
|
};
|
|
164
164
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
165
165
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
166
|
-
makeTransferInvitation(): Promise<Invitation
|
|
166
|
+
makeTransferInvitation(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
167
167
|
getCollateralAmount(): import("@agoric/ertp").NatAmount;
|
|
168
168
|
getCurrentDebt(): import("@agoric/ertp").NatAmount;
|
|
169
169
|
getNormalizedDebt(): NormalizedDebt;
|
|
@@ -197,7 +197,7 @@ export function makePrioritizedVaults(store: MapStore<string, Vault>): {
|
|
|
197
197
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
198
198
|
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
199
199
|
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
200
|
-
TransferVault(): Promise<Invitation
|
|
200
|
+
TransferVault(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
201
201
|
}>;
|
|
202
202
|
vault: import("@endo/exo").Guarded<{
|
|
203
203
|
getPublicTopics(): {
|
|
@@ -209,7 +209,7 @@ export function makePrioritizedVaults(store: MapStore<string, Vault>): {
|
|
|
209
209
|
};
|
|
210
210
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
211
211
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
212
|
-
makeTransferInvitation(): Promise<Invitation
|
|
212
|
+
makeTransferInvitation(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
213
213
|
getCollateralAmount(): import("@agoric/ertp").NatAmount;
|
|
214
214
|
getCurrentDebt(): import("@agoric/ertp").NatAmount;
|
|
215
215
|
getNormalizedDebt(): NormalizedDebt;
|
|
@@ -243,7 +243,7 @@ export function makePrioritizedVaults(store: MapStore<string, Vault>): {
|
|
|
243
243
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
244
244
|
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
245
245
|
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
246
|
-
TransferVault(): Promise<Invitation
|
|
246
|
+
TransferVault(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
247
247
|
}>;
|
|
248
248
|
vault: import("@endo/exo").Guarded<{
|
|
249
249
|
getPublicTopics(): {
|
|
@@ -255,7 +255,7 @@ export function makePrioritizedVaults(store: MapStore<string, Vault>): {
|
|
|
255
255
|
};
|
|
256
256
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
257
257
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
258
|
-
makeTransferInvitation(): Promise<Invitation
|
|
258
|
+
makeTransferInvitation(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
259
259
|
getCollateralAmount(): import("@agoric/ertp").NatAmount;
|
|
260
260
|
getCurrentDebt(): import("@agoric/ertp").NatAmount;
|
|
261
261
|
getNormalizedDebt(): NormalizedDebt;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prioritizedVaults.d.ts","sourceRoot":"","sources":["prioritizedVaults.js"],"names":[],"mappings":"AAuCO,+CAHI,KAAK,GACH,KAAK,CAMf;AASI,6CAHI,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC;wBAsDrB,OAAO,SACP,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA+C0zwB,iBAAiB;;;oCA7Eh1wB,cAAc,iBACd,MAAM,CAAC,KAAK,CAAC,WACb,MAAM;wBAlBJ,KAAK,GAAG,SAAS;uBA0BnB,MAAM,KACJ,KAAK;uCAQP,cAAc,iBACd,MAAM,CAAC,KAAK,CAAC,WACb,MAAM
|
|
1
|
+
{"version":3,"file":"prioritizedVaults.d.ts","sourceRoot":"","sources":["prioritizedVaults.js"],"names":[],"mappings":"AAuCO,+CAHI,KAAK,GACH,KAAK,CAMf;AASI,6CAHI,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC;wBAsDrB,OAAO,SACP,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA+C0zwB,iBAAiB;;;oCA7Eh1wB,cAAc,iBACd,MAAM,CAAC,KAAK,CAAC,WACb,MAAM;wBAlBJ,KAAK,GAAG,SAAS;uBA0BnB,MAAM,KACJ,KAAK;uCAQP,cAAc,iBACd,MAAM,CAAC,KAAK,CAAC,WACb,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAwDyzwB,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAjB,iBAAiB;;;;wBAhDh1wB,OAAO,SACP,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA+C0zwB,iBAAiB;;;oCA7Eh1wB,cAAc,iBACd,MAAM,CAAC,KAAK,CAAC,WACb,MAAM;wBAlBJ,KAAK,GAAG,SAAS;uBA0BnB,MAAM,KACJ,KAAK;uCAQP,cAAc,iBACd,MAAM,CAAC,KAAK,CAAC,WACb,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAwDyzwB,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAjB,iBAAiB;;;GAD51wB;2BAvIwB,YAAY;oCACH,iBAAiB"}
|
|
@@ -225,7 +225,7 @@ export function prepareVault(baggage: import("@agoric/swingset-liveslots").Bagga
|
|
|
225
225
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
226
226
|
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
227
227
|
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
228
|
-
TransferVault(): Promise<Invitation
|
|
228
|
+
TransferVault(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
229
229
|
}>;
|
|
230
230
|
vault: import("@endo/exo").Guarded<{
|
|
231
231
|
getPublicTopics(): {
|
|
@@ -237,7 +237,7 @@ export function prepareVault(baggage: import("@agoric/swingset-liveslots").Bagga
|
|
|
237
237
|
};
|
|
238
238
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
239
239
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
240
|
-
makeTransferInvitation(): Promise<Invitation
|
|
240
|
+
makeTransferInvitation(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
241
241
|
getCollateralAmount(): import("@agoric/ertp").NatAmount;
|
|
242
242
|
getCurrentDebt(): import("@agoric/ertp").NatAmount;
|
|
243
243
|
getNormalizedDebt(): NormalizedDebt;
|
|
@@ -81,7 +81,7 @@ declare function prepareVaultDirector(baggage: import("@agoric/swingset-liveslot
|
|
|
81
81
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
82
82
|
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
83
83
|
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
84
|
-
TransferVault(): Promise<Invitation
|
|
84
|
+
TransferVault(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
85
85
|
}>;
|
|
86
86
|
vault: import("@endo/exo").Guarded<{
|
|
87
87
|
getPublicTopics(): {
|
|
@@ -93,7 +93,7 @@ declare function prepareVaultDirector(baggage: import("@agoric/swingset-liveslot
|
|
|
93
93
|
};
|
|
94
94
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
95
95
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
96
|
-
makeTransferInvitation(): Promise<Invitation
|
|
96
|
+
makeTransferInvitation(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
97
97
|
getCollateralAmount(): import("@agoric/ertp").NatAmount;
|
|
98
98
|
getCurrentDebt(): import("@agoric/ertp").NatAmount;
|
|
99
99
|
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
@@ -113,7 +113,7 @@ declare function prepareVaultDirector(baggage: import("@agoric/swingset-liveslot
|
|
|
113
113
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
114
114
|
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
115
115
|
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
116
|
-
TransferVault(): Promise<Invitation
|
|
116
|
+
TransferVault(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
117
117
|
}>;
|
|
118
118
|
vault: import("@endo/exo").Guarded<{
|
|
119
119
|
getPublicTopics(): {
|
|
@@ -125,7 +125,7 @@ declare function prepareVaultDirector(baggage: import("@agoric/swingset-liveslot
|
|
|
125
125
|
};
|
|
126
126
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
127
127
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
128
|
-
makeTransferInvitation(): Promise<Invitation
|
|
128
|
+
makeTransferInvitation(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
129
129
|
getCollateralAmount(): import("@agoric/ertp").NatAmount;
|
|
130
130
|
getCurrentDebt(): import("@agoric/ertp").NatAmount;
|
|
131
131
|
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
@@ -185,7 +185,7 @@ declare function prepareVaultDirector(baggage: import("@agoric/swingset-liveslot
|
|
|
185
185
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
186
186
|
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
187
187
|
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
188
|
-
TransferVault(): Promise<Invitation
|
|
188
|
+
TransferVault(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
189
189
|
}>;
|
|
190
190
|
vault: import("@endo/exo").Guarded<{
|
|
191
191
|
getPublicTopics(): {
|
|
@@ -197,7 +197,7 @@ declare function prepareVaultDirector(baggage: import("@agoric/swingset-liveslot
|
|
|
197
197
|
};
|
|
198
198
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
199
199
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
200
|
-
makeTransferInvitation(): Promise<Invitation
|
|
200
|
+
makeTransferInvitation(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
201
201
|
getCollateralAmount(): import("@agoric/ertp").NatAmount;
|
|
202
202
|
getCurrentDebt(): import("@agoric/ertp").NatAmount;
|
|
203
203
|
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
@@ -217,7 +217,7 @@ declare function prepareVaultDirector(baggage: import("@agoric/swingset-liveslot
|
|
|
217
217
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
218
218
|
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
219
219
|
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
220
|
-
TransferVault(): Promise<Invitation
|
|
220
|
+
TransferVault(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
221
221
|
}>;
|
|
222
222
|
vault: import("@endo/exo").Guarded<{
|
|
223
223
|
getPublicTopics(): {
|
|
@@ -229,7 +229,7 @@ declare function prepareVaultDirector(baggage: import("@agoric/swingset-liveslot
|
|
|
229
229
|
};
|
|
230
230
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
231
231
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
232
|
-
makeTransferInvitation(): Promise<Invitation
|
|
232
|
+
makeTransferInvitation(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
233
233
|
getCollateralAmount(): import("@agoric/ertp").NatAmount;
|
|
234
234
|
getCurrentDebt(): import("@agoric/ertp").NatAmount;
|
|
235
235
|
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
@@ -279,7 +279,7 @@ declare function prepareVaultDirector(baggage: import("@agoric/swingset-liveslot
|
|
|
279
279
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
280
280
|
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
281
281
|
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
282
|
-
TransferVault(): Promise<Invitation
|
|
282
|
+
TransferVault(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
283
283
|
}>;
|
|
284
284
|
vault: import("@endo/exo").Guarded<{
|
|
285
285
|
getPublicTopics(): {
|
|
@@ -291,7 +291,7 @@ declare function prepareVaultDirector(baggage: import("@agoric/swingset-liveslot
|
|
|
291
291
|
};
|
|
292
292
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
293
293
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
294
|
-
makeTransferInvitation(): Promise<Invitation
|
|
294
|
+
makeTransferInvitation(): Promise<Invitation</*elided*/ any, undefined>>;
|
|
295
295
|
getCollateralAmount(): import("@agoric/ertp").NatAmount;
|
|
296
296
|
getCurrentDebt(): import("@agoric/ertp").NatAmount;
|
|
297
297
|
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|