@agoric/inter-protocol 0.16.2-dev-16095c5.0 → 0.16.2-dev-980ff41.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 -17
- package/src/auction/auctionBook.d.ts +1 -1
- package/src/auction/auctionBook.d.ts.map +1 -1
- package/src/auction/auctionBook.js +1 -4
- package/src/auction/auctioneer.d.ts +1 -1
- package/src/auction/auctioneer.d.ts.map +1 -1
- package/src/auction/auctioneer.js +1 -2
- package/src/auction/params.d.ts +2 -2
- package/src/econCommitteeCharter.d.ts.map +1 -1
- package/src/econCommitteeCharter.js +1 -2
- package/src/feeDistributor.d.ts +8 -8
- package/src/feeDistributor.d.ts.map +1 -1
- package/src/feeDistributor.js +1 -1
- package/src/price/roundsManager.d.ts +3 -3
- package/src/proposals/econ-behaviors.d.ts +57 -67
- package/src/proposals/econ-behaviors.d.ts.map +1 -1
- package/src/provisionPool.d.ts +1 -1
- package/src/provisionPool.d.ts.map +1 -1
- package/src/provisionPoolKit.d.ts +1 -1
- package/src/provisionPoolKit.d.ts.map +1 -1
- package/src/psm/psm.d.ts +3 -3
- package/src/psm/psm.d.ts.map +1 -1
- package/src/psm/psm.js +1 -4
- package/src/reserve/assetReserve.d.ts +1 -1
- package/src/reserve/assetReserveKit.d.ts +1 -1
- package/src/vaultFactory/burn.d.ts.map +1 -1
- package/src/vaultFactory/burn.js +1 -2
- package/src/vaultFactory/liquidation.d.ts +12 -12
- package/src/vaultFactory/liquidation.d.ts.map +1 -1
- package/src/vaultFactory/math.d.ts +4 -4
- package/src/vaultFactory/orderedVaultStore.d.ts +30 -30
- package/src/vaultFactory/orderedVaultStore.d.ts.map +1 -1
- package/src/vaultFactory/params.d.ts +6 -6
- package/src/vaultFactory/prioritizedVaults.d.ts +96 -240
- package/src/vaultFactory/prioritizedVaults.d.ts.map +1 -1
- package/src/vaultFactory/types-ambient.d.ts +6 -6
- package/src/vaultFactory/types-ambient.d.ts.map +1 -1
- package/src/vaultFactory/vault.d.ts.map +1 -1
- package/src/vaultFactory/vault.js +0 -3
- package/src/vaultFactory/vaultDirector.d.ts +18 -17
- package/src/vaultFactory/vaultDirector.d.ts.map +1 -1
- package/src/vaultFactory/vaultDirector.js +2 -2
- package/src/vaultFactory/vaultFactory.d.ts +13 -13
- package/src/vaultFactory/vaultFactory.d.ts.map +1 -1
- package/src/vaultFactory/vaultFactory.js +1 -4
- package/src/vaultFactory/vaultHolder.d.ts +20 -20
- package/src/vaultFactory/vaultHolder.d.ts.map +1 -1
- package/src/vaultFactory/vaultKit.d.ts +8 -8
- package/src/vaultFactory/vaultKit.d.ts.map +1 -1
- package/src/vaultFactory/vaultKit.js +1 -1
- package/src/vaultFactory/vaultManager.d.ts +45 -45
- package/src/vaultFactory/vaultManager.d.ts.map +1 -1
- package/src/vaultFactory/vaultManager.js +1 -1
- package/exported.js +0 -2
- package/src/vaultFactory/type-imports.d.ts +0 -2
- package/src/vaultFactory/type-imports.d.ts.map +0 -1
- package/src/vaultFactory/type-imports.js +0 -4
|
@@ -29,17 +29,11 @@ export function currentDebtToCollateral(vault: import("@endo/exo").Guarded<{
|
|
|
29
29
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
30
30
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
31
31
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
32
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
33
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
32
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
33
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
34
34
|
getNormalizedDebt(): NormalizedDebt;
|
|
35
35
|
}>;
|
|
36
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
37
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
38
|
-
* can be quickly found and liquidated.
|
|
39
|
-
*
|
|
40
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
41
|
-
* previous highest
|
|
42
|
-
*/
|
|
36
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
43
37
|
}>;
|
|
44
38
|
liquidating(): void;
|
|
45
39
|
liquidated(): void;
|
|
@@ -75,20 +69,14 @@ export function currentDebtToCollateral(vault: import("@endo/exo").Guarded<{
|
|
|
75
69
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
76
70
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
77
71
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
78
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
79
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
72
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
73
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
80
74
|
getNormalizedDebt(): NormalizedDebt;
|
|
81
75
|
}>;
|
|
82
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
83
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
84
|
-
* can be quickly found and liquidated.
|
|
85
|
-
*
|
|
86
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
87
|
-
* previous highest
|
|
88
|
-
*/
|
|
76
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
89
77
|
}, undefined>>;
|
|
90
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
91
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
78
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
79
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
92
80
|
getNormalizedDebt(): NormalizedDebt;
|
|
93
81
|
}>): Ratio;
|
|
94
82
|
export function makePrioritizedVaults(store: globalThis.MapStore<string, import("@endo/exo").Guarded<{
|
|
@@ -122,17 +110,11 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
122
110
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
123
111
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
124
112
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
125
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
126
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
113
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
114
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
127
115
|
getNormalizedDebt(): NormalizedDebt;
|
|
128
116
|
}>;
|
|
129
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
130
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
131
|
-
* can be quickly found and liquidated.
|
|
132
|
-
*
|
|
133
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
134
|
-
* previous highest
|
|
135
|
-
*/
|
|
117
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
136
118
|
}>;
|
|
137
119
|
liquidating(): void;
|
|
138
120
|
liquidated(): void;
|
|
@@ -168,20 +150,14 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
168
150
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
169
151
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
170
152
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
171
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
172
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
153
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
154
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
173
155
|
getNormalizedDebt(): NormalizedDebt;
|
|
174
156
|
}>;
|
|
175
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
176
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
177
|
-
* can be quickly found and liquidated.
|
|
178
|
-
*
|
|
179
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
180
|
-
* previous highest
|
|
181
|
-
*/
|
|
157
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
182
158
|
}, undefined>>;
|
|
183
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
184
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
159
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
160
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
185
161
|
getNormalizedDebt(): NormalizedDebt;
|
|
186
162
|
}>>): {
|
|
187
163
|
addVault: (vaultId: VaultId, vault: import("@endo/exo").Guarded<{
|
|
@@ -215,17 +191,11 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
215
191
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
216
192
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
217
193
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
218
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
219
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
194
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
195
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
220
196
|
getNormalizedDebt(): NormalizedDebt;
|
|
221
197
|
}>;
|
|
222
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
223
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
224
|
-
* can be quickly found and liquidated.
|
|
225
|
-
*
|
|
226
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
227
|
-
* previous highest
|
|
228
|
-
*/
|
|
198
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
229
199
|
}>;
|
|
230
200
|
liquidating(): void;
|
|
231
201
|
liquidated(): void;
|
|
@@ -261,20 +231,14 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
261
231
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
262
232
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
263
233
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
264
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
265
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
234
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
235
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
266
236
|
getNormalizedDebt(): NormalizedDebt;
|
|
267
237
|
}>;
|
|
268
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
269
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
270
|
-
* can be quickly found and liquidated.
|
|
271
|
-
*
|
|
272
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
273
|
-
* previous highest
|
|
274
|
-
*/
|
|
238
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
275
239
|
}, undefined>>;
|
|
276
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
277
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
240
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
241
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
278
242
|
getNormalizedDebt(): NormalizedDebt;
|
|
279
243
|
}>) => string;
|
|
280
244
|
entries: (keyPatt?: globalThis.Pattern, valuePatt?: globalThis.Pattern) => Iterable<[string, import("@endo/exo").Guarded<{
|
|
@@ -308,17 +272,11 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
308
272
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
309
273
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
310
274
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
311
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
312
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
275
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
276
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
313
277
|
getNormalizedDebt(): NormalizedDebt;
|
|
314
278
|
}>;
|
|
315
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
316
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
317
|
-
* can be quickly found and liquidated.
|
|
318
|
-
*
|
|
319
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
320
|
-
* previous highest
|
|
321
|
-
*/
|
|
279
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
322
280
|
}>;
|
|
323
281
|
liquidating(): void;
|
|
324
282
|
liquidated(): void;
|
|
@@ -354,20 +312,14 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
354
312
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
355
313
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
356
314
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
357
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
358
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
315
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
316
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
359
317
|
getNormalizedDebt(): NormalizedDebt;
|
|
360
318
|
}>;
|
|
361
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
362
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
363
|
-
* can be quickly found and liquidated.
|
|
364
|
-
*
|
|
365
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
366
|
-
* previous highest
|
|
367
|
-
*/
|
|
319
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
368
320
|
}, undefined>>;
|
|
369
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
370
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
321
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
322
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
371
323
|
getNormalizedDebt(): NormalizedDebt;
|
|
372
324
|
}>]>;
|
|
373
325
|
getCount: (keyPatt?: globalThis.Pattern, valuePatt?: globalThis.Pattern) => number;
|
|
@@ -404,17 +356,11 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
404
356
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
405
357
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
406
358
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
407
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
408
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
359
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
360
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
409
361
|
getNormalizedDebt(): NormalizedDebt;
|
|
410
362
|
}>;
|
|
411
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
412
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
413
|
-
* can be quickly found and liquidated.
|
|
414
|
-
*
|
|
415
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
416
|
-
* previous highest
|
|
417
|
-
*/
|
|
363
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
418
364
|
}>;
|
|
419
365
|
liquidating(): void;
|
|
420
366
|
liquidated(): void;
|
|
@@ -450,20 +396,14 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
450
396
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
451
397
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
452
398
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
453
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
454
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
399
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
400
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
455
401
|
getNormalizedDebt(): NormalizedDebt;
|
|
456
402
|
}>;
|
|
457
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
458
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
459
|
-
* can be quickly found and liquidated.
|
|
460
|
-
*
|
|
461
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
462
|
-
* previous highest
|
|
463
|
-
*/
|
|
403
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
464
404
|
}, undefined>>;
|
|
465
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
466
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
405
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
406
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
467
407
|
getNormalizedDebt(): NormalizedDebt;
|
|
468
408
|
}>;
|
|
469
409
|
removeVaultByAttributes: (oldDebt: NormalizedDebt, oldCollateral: Amount<"nat">, vaultId: string) => import("@endo/exo").Guarded<{
|
|
@@ -497,17 +437,11 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
497
437
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
498
438
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
499
439
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
500
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
501
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
440
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
441
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
502
442
|
getNormalizedDebt(): NormalizedDebt;
|
|
503
443
|
}>;
|
|
504
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
505
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
506
|
-
* can be quickly found and liquidated.
|
|
507
|
-
*
|
|
508
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
509
|
-
* previous highest
|
|
510
|
-
*/
|
|
444
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
511
445
|
}>;
|
|
512
446
|
liquidating(): void;
|
|
513
447
|
liquidated(): void;
|
|
@@ -543,20 +477,14 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
543
477
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
544
478
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
545
479
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
546
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
547
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
480
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
481
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
548
482
|
getNormalizedDebt(): NormalizedDebt;
|
|
549
483
|
}>;
|
|
550
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
551
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
552
|
-
* can be quickly found and liquidated.
|
|
553
|
-
*
|
|
554
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
555
|
-
* previous highest
|
|
556
|
-
*/
|
|
484
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
557
485
|
}, undefined>>;
|
|
558
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
559
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
486
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
487
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
560
488
|
getNormalizedDebt(): NormalizedDebt;
|
|
561
489
|
}>;
|
|
562
490
|
removeVaultsBelow: ({ margin, quote, interest }: {
|
|
@@ -594,17 +522,11 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
594
522
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
595
523
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
596
524
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
597
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
598
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
525
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
526
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
599
527
|
getNormalizedDebt(): NormalizedDebt;
|
|
600
528
|
}>;
|
|
601
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
602
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
603
|
-
* can be quickly found and liquidated.
|
|
604
|
-
*
|
|
605
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
606
|
-
* previous highest
|
|
607
|
-
*/
|
|
529
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
608
530
|
}>;
|
|
609
531
|
liquidating(): void;
|
|
610
532
|
liquidated(): void;
|
|
@@ -640,20 +562,14 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
640
562
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
641
563
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
642
564
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
643
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
644
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
565
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
566
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
645
567
|
getNormalizedDebt(): NormalizedDebt;
|
|
646
568
|
}>;
|
|
647
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
648
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
649
|
-
* can be quickly found and liquidated.
|
|
650
|
-
*
|
|
651
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
652
|
-
* previous highest
|
|
653
|
-
*/
|
|
569
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
654
570
|
}, undefined>>;
|
|
655
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
656
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
571
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
572
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
657
573
|
getNormalizedDebt(): NormalizedDebt;
|
|
658
574
|
}>>;
|
|
659
575
|
countVaultsBelow: (crKey: any) => number;
|
|
@@ -689,17 +605,11 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
689
605
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
690
606
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
691
607
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
692
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
693
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
608
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
609
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
694
610
|
getNormalizedDebt(): NormalizedDebt;
|
|
695
611
|
}>;
|
|
696
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
697
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
698
|
-
* can be quickly found and liquidated.
|
|
699
|
-
*
|
|
700
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
701
|
-
* previous highest
|
|
702
|
-
*/
|
|
612
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
703
613
|
}>;
|
|
704
614
|
liquidating(): void;
|
|
705
615
|
liquidated(): void;
|
|
@@ -735,20 +645,14 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
735
645
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
736
646
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
737
647
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
738
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
739
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
648
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
649
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
740
650
|
getNormalizedDebt(): NormalizedDebt;
|
|
741
651
|
}>;
|
|
742
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
743
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
744
|
-
* can be quickly found and liquidated.
|
|
745
|
-
*
|
|
746
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
747
|
-
* previous highest
|
|
748
|
-
*/
|
|
652
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
749
653
|
}, undefined>>;
|
|
750
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
751
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
654
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
655
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
752
656
|
getNormalizedDebt(): NormalizedDebt;
|
|
753
657
|
}>) => string;
|
|
754
658
|
entries: (keyPatt?: globalThis.Pattern, valuePatt?: globalThis.Pattern) => Iterable<[string, import("@endo/exo").Guarded<{
|
|
@@ -782,17 +686,11 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
782
686
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
783
687
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
784
688
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
785
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
786
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
689
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
690
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
787
691
|
getNormalizedDebt(): NormalizedDebt;
|
|
788
692
|
}>;
|
|
789
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
790
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
791
|
-
* can be quickly found and liquidated.
|
|
792
|
-
*
|
|
793
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
794
|
-
* previous highest
|
|
795
|
-
*/
|
|
693
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
796
694
|
}>;
|
|
797
695
|
liquidating(): void;
|
|
798
696
|
liquidated(): void;
|
|
@@ -828,20 +726,14 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
828
726
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
829
727
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
830
728
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
831
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
832
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
729
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
730
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
833
731
|
getNormalizedDebt(): NormalizedDebt;
|
|
834
732
|
}>;
|
|
835
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
836
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
837
|
-
* can be quickly found and liquidated.
|
|
838
|
-
*
|
|
839
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
840
|
-
* previous highest
|
|
841
|
-
*/
|
|
733
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
842
734
|
}, undefined>>;
|
|
843
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
844
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
735
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
736
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
845
737
|
getNormalizedDebt(): NormalizedDebt;
|
|
846
738
|
}>]>;
|
|
847
739
|
getCount: (keyPatt?: globalThis.Pattern, valuePatt?: globalThis.Pattern) => number;
|
|
@@ -878,17 +770,11 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
878
770
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
879
771
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
880
772
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
881
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
882
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
773
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
774
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
883
775
|
getNormalizedDebt(): NormalizedDebt;
|
|
884
776
|
}>;
|
|
885
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
886
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
887
|
-
* can be quickly found and liquidated.
|
|
888
|
-
*
|
|
889
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
890
|
-
* previous highest
|
|
891
|
-
*/
|
|
777
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
892
778
|
}>;
|
|
893
779
|
liquidating(): void;
|
|
894
780
|
liquidated(): void;
|
|
@@ -924,20 +810,14 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
924
810
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
925
811
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
926
812
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
927
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
928
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
813
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
814
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
929
815
|
getNormalizedDebt(): NormalizedDebt;
|
|
930
816
|
}>;
|
|
931
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
932
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
933
|
-
* can be quickly found and liquidated.
|
|
934
|
-
*
|
|
935
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
936
|
-
* previous highest
|
|
937
|
-
*/
|
|
817
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
938
818
|
}, undefined>>;
|
|
939
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
940
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
819
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
820
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
941
821
|
getNormalizedDebt(): NormalizedDebt;
|
|
942
822
|
}>;
|
|
943
823
|
removeVaultByAttributes: (oldDebt: NormalizedDebt, oldCollateral: Amount<"nat">, vaultId: string) => import("@endo/exo").Guarded<{
|
|
@@ -971,17 +851,11 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
971
851
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
972
852
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
973
853
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
974
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
975
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
854
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
855
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
976
856
|
getNormalizedDebt(): NormalizedDebt;
|
|
977
857
|
}>;
|
|
978
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
979
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
980
|
-
* can be quickly found and liquidated.
|
|
981
|
-
*
|
|
982
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
983
|
-
* previous highest
|
|
984
|
-
*/
|
|
858
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
985
859
|
}>;
|
|
986
860
|
liquidating(): void;
|
|
987
861
|
liquidated(): void;
|
|
@@ -1017,20 +891,14 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
1017
891
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
1018
892
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
1019
893
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
1020
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
1021
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
894
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
895
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
1022
896
|
getNormalizedDebt(): NormalizedDebt;
|
|
1023
897
|
}>;
|
|
1024
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
1025
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
1026
|
-
* can be quickly found and liquidated.
|
|
1027
|
-
*
|
|
1028
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
1029
|
-
* previous highest
|
|
1030
|
-
*/
|
|
898
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
1031
899
|
}, undefined>>;
|
|
1032
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
1033
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
900
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
901
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
1034
902
|
getNormalizedDebt(): NormalizedDebt;
|
|
1035
903
|
}>;
|
|
1036
904
|
removeVaultsBelow: ({ margin, quote, interest }: {
|
|
@@ -1068,17 +936,11 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
1068
936
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
1069
937
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
1070
938
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
1071
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
1072
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
939
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
940
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
1073
941
|
getNormalizedDebt(): NormalizedDebt;
|
|
1074
942
|
}>;
|
|
1075
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
1076
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
1077
|
-
* can be quickly found and liquidated.
|
|
1078
|
-
*
|
|
1079
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
1080
|
-
* previous highest
|
|
1081
|
-
*/
|
|
943
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
1082
944
|
}>;
|
|
1083
945
|
liquidating(): void;
|
|
1084
946
|
liquidated(): void;
|
|
@@ -1114,20 +976,14 @@ export function makePrioritizedVaults(store: globalThis.MapStore<string, import(
|
|
|
1114
976
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
1115
977
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
1116
978
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
1117
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
1118
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
979
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
980
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
1119
981
|
getNormalizedDebt(): NormalizedDebt;
|
|
1120
982
|
}>;
|
|
1121
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
1122
|
-
* Vaults, ordered by their debt ratio so that all the vaults below a threshold
|
|
1123
|
-
* can be quickly found and liquidated.
|
|
1124
|
-
*
|
|
1125
|
-
* @param {MapStore<string, Vault>} store vault has a higher debt ratio than the
|
|
1126
|
-
* previous highest
|
|
1127
|
-
*/
|
|
983
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
1128
984
|
}, undefined>>;
|
|
1129
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
1130
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
985
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
986
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
1131
987
|
getNormalizedDebt(): NormalizedDebt;
|
|
1132
988
|
}>>;
|
|
1133
989
|
countVaultsBelow: (crKey: any) => number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prioritizedVaults.d.ts","sourceRoot":"","sources":["prioritizedVaults.js"],"names":[],"mappings":"AAuCO;;
|
|
1
|
+
{"version":3,"file":"prioritizedVaults.d.ts","sourceRoot":"","sources":["prioritizedVaults.js"],"names":[],"mappings":"AAuCO;;uBAgHiigB,OAAO,eAA0B,WAAW;;;;;;;;;YA3DllgB;;;;eAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAJH;;;;eAIG;;;;;;;;;;;;;;;;;;;;;;;;;KA3DQ,KAAK,CAMf;AASI;;;;;;;;;;;YAwCL;;;;eAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAJH;;;;eAIG;;;;;;;;;;;;;;;;;;;;;;;;;;wBAOQ,OAAO;;2BAgDohgB,OAAO,eAA0B,WAAW;;;;;;;;;gBA3DllgB;;;;mBAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAJH;;;;mBAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAJH;;;;mBAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAJH;;;;mBAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;mEArBQ,MAAM,CAAC,KAAK,CAAC,WACb,MAAM;wBAlBJ,KAAK,GAAG,SAAS;uBA0BnB,MAAM;;;;;;;;;;;gBAQjB;;;;mBAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAJH;;;;mBAIG;;;;;;;;;;;;;;;;;;;;;;;;;;sEAFQ,MAAM,CAAC,KAAK,CAAC,WACb,MAAM;;;;;;;;;;;gBAHjB;;;;mBAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAJH;;;;mBAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAJH;;;;mBAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAJH;;;;mBAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAOQ,OAAO;;;;;;;;;;;gBAXlB;;;;mBAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAJH;;;;mBAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAJH;;;;mBAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAJH;;;;mBAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;mEArBQ,MAAM,CAAC,KAAK,CAAC,WACb,MAAM;wBAlBJ,KAAK,GAAG,SAAS;uBA0BnB,MAAM;;;;;;;;;;;gBAQjB;;;;mBAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAJH;;;;mBAIG;;;;;;;;;;;;;;;;;;;;;;;;;;sEAFQ,MAAM,CAAC,KAAK,CAAC,WACb,MAAM;;;;;;;;;;;gBAHjB;;;;mBAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAJH;;;;mBAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAJH;;;;mBAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAJH;;;;mBAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDJ;oCAtIiC,iBAAiB"}
|
|
@@ -57,8 +57,8 @@ type AddVaultType = (collateralIssuer: Issuer, collateralKeyword: Keyword, param
|
|
|
57
57
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
58
58
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
59
59
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
60
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
61
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
60
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
61
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
62
62
|
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
63
63
|
}>;
|
|
64
64
|
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
@@ -89,8 +89,8 @@ type AddVaultType = (collateralIssuer: Issuer, collateralKeyword: Keyword, param
|
|
|
89
89
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
90
90
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
91
91
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
92
|
-
getCollateralAmount(): import("@agoric/ertp/
|
|
93
|
-
getCurrentDebt(): import("@agoric/ertp/
|
|
92
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
93
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
94
94
|
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
95
95
|
}>;
|
|
96
96
|
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
@@ -104,7 +104,7 @@ type AddVaultType = (collateralIssuer: Issuer, collateralKeyword: Keyword, param
|
|
|
104
104
|
}>;
|
|
105
105
|
lockOraclePrices(): import("@agoric/zoe/tools/types.js").PriceQuote;
|
|
106
106
|
liquidateVaults(auctionPF: globalThis.ERef<globalThis.GovernedPublicFacet<{
|
|
107
|
-
getElectorate: () => import("@agoric/ertp/
|
|
107
|
+
getElectorate: () => import("@agoric/ertp/src/types.js").SetAmount<import("@endo/patterns").Key>;
|
|
108
108
|
getStartFrequency: () => RelativeTime;
|
|
109
109
|
getClockStep: () => RelativeTime;
|
|
110
110
|
getStartingRate: () => bigint;
|
|
@@ -125,7 +125,7 @@ type AddVaultType = (collateralIssuer: Issuer, collateralKeyword: Keyword, param
|
|
|
125
125
|
schedule: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/scheduler.js").ScheduleNotification>;
|
|
126
126
|
};
|
|
127
127
|
makeDepositInvitation: () => Promise<Invitation<string, {
|
|
128
|
-
goal: import("@agoric/ertp/
|
|
128
|
+
goal: import("@agoric/ertp/src/types.js").NatAmount;
|
|
129
129
|
}>>;
|
|
130
130
|
}>>): Promise<void>;
|
|
131
131
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types-ambient.d.ts","sourceRoot":"","sources":["types-ambient.js"],"names":[],"mappings":"+BAGa,OAAO,mBAAmB,EAAE,oBAAoB,CAAC,aAAa,CAAC;;mBAe9D,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,KAAK,MAAM;wBACxC,MAAM,UAAU;;;;;;;uBAKhB,KAAK;;;;;wBAEL,KAAK;;;;;kBAEL,KAAK;;;;;aAEL,KAAK;eAEL,MAAM,CAAC,KAAK,CAAC;;;;;;;uCAOhB,MAAM,qBACN,OAAO,UACP,uBAAuB;;
|
|
1
|
+
{"version":3,"file":"types-ambient.d.ts","sourceRoot":"","sources":["types-ambient.js"],"names":[],"mappings":"+BAGa,OAAO,mBAAmB,EAAE,oBAAoB,CAAC,aAAa,CAAC;;mBAe9D,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,KAAK,MAAM;wBACxC,MAAM,UAAU;;;;;;;uBAKhB,KAAK;;;;;wBAEL,KAAK;;;;;kBAEL,KAAK;;;;;aAEL,KAAK;eAEL,MAAM,CAAC,KAAK,CAAC;;;;;;;uCAOhB,MAAM,qBACN,OAAO,UACP,uBAAuB;;uBA6Fg38B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAApqa,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;kBAvFnviB,YAAY;yBACZ,MAAM,UAAU;+BAChB,MAAM,OAAO,CAAC,UAAU,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;0BACxC,MAAM,OAAO,cAAc,EAAE,UAAU;wBACvC,MAAM,OAAO,cAAc,EAAE,UAAU;;;;;;;;sCAQ1C,OAAO,UACP,MAAM,CAAC,KAAK,CAAC,OACb,MAAM,CAAC,KAAK,CAAC,aACb,YAAY,EAAE,KACZ,IAAI;;;;;yBAMN,MAAM,YACN,OAAO,KACL,IAAI;;0BAKH,MAAM,KAAK;gBACX,MAAM,KAAK;wBACX,MAAM,OAAO,CAAC,OAAO,4BAA4B,EAAE,UAAU,CAAC;;;;;qBAC9D,MAAM,KAAK;;;;;;;;;;;;eAQX,MAAM;;;;;;;;;;;;oBAUN,MAAM,oBAAoB;kBAC1B,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,QAAQ;oBAC7C,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,UAAU,CAAC;;;6BAKrC,MAAM,OAAO,CAC1B,UAAc,CAAC,IAAI,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;QAAC,WAAW,EAAE,KAAK,CAAA;KAAE,CAAC,CAC9D;;;;;;;cAMU,QAAQ;;;;aACR,QAAQ;;8BAKX,UAAU,6BAER,UAAU;;;;;;eAKT,SAAS;;;;;;;8BAET,SAAS;;6BAMT;IAAE,GAAG,EAAE,gBAAgB,GAAG;QAAE,eAAe,EAAE,KAAK,CAAA;KAAE,CAAA;CAAE;uCAjIhC,YAAY;2BACxB,YAAY;8BACT,eAAe;kCACX,mBAAmB;uCACd,mBAAmB;qDACL,4BAA4B;6CACpC,4BAA4B;2CAC9B,0BAA0B;+BACtC,cAAc;kCACX,cAAc"}
|