@agoric/inter-protocol 0.16.2-dev-aa68d8f.0 → 0.16.2-dev-96c9ff5.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 +26 -26
- package/src/auction/auctionBook.d.ts +1 -1
- package/src/auction/auctioneer.d.ts +6 -6
- package/src/auction/auctioneer.d.ts.map +1 -1
- package/src/auction/auctioneer.js +1 -1
- package/src/auction/offerBook.d.ts +2 -2
- package/src/auction/params.d.ts +2 -2
- package/src/auction/scheduler.d.ts +1 -1
- package/src/auction/sortedOffers.d.ts.map +1 -1
- package/src/auction/sortedOffers.js +1 -0
- package/src/auction/util.d.ts +1 -1
- package/src/auction/util.d.ts.map +1 -1
- package/src/contractSupport.d.ts +1 -7
- package/src/contractSupport.d.ts.map +1 -1
- package/src/contractSupport.js +7 -7
- package/src/econCommitteeCharter.d.ts.map +1 -1
- package/src/econCommitteeCharter.js +1 -0
- package/src/feeDistributor.d.ts +17 -17
- package/src/price/fluxAggregatorContract.d.ts +2 -2
- package/src/price/fluxAggregatorContract.d.ts.map +1 -1
- package/src/price/fluxAggregatorContract.js +1 -0
- package/src/price/fluxAggregatorKit.d.ts +1 -1
- package/src/price/roundsManager.d.ts +20 -8
- package/src/price/roundsManager.d.ts.map +1 -1
- package/src/price/roundsManager.js +1 -1
- package/src/proposals/add-auction.d.ts.map +1 -1
- package/src/proposals/add-auction.js +5 -1
- package/src/proposals/core-proposal.js +1 -1
- package/src/proposals/econ-behaviors.d.ts +76 -100
- package/src/proposals/econ-behaviors.d.ts.map +1 -1
- package/src/proposals/econ-behaviors.js +4 -0
- package/src/proposals/startPSM.d.ts.map +1 -1
- package/src/proposals/startPSM.js +2 -0
- package/src/provisionPool.d.ts +7 -5
- package/src/provisionPool.d.ts.map +1 -1
- package/src/provisionPool.js +4 -1
- package/src/provisionPoolKit.d.ts +17 -17
- package/src/provisionPoolKit.d.ts.map +1 -1
- package/src/provisionPoolKit.js +3 -3
- package/src/psm/psm.d.ts +3 -3
- 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 +34 -34
- package/src/vaultFactory/orderedVaultStore.d.ts.map +1 -1
- package/src/vaultFactory/params.d.ts +6 -6
- package/src/vaultFactory/prioritizedVaults.d.ts +197 -77
- package/src/vaultFactory/prioritizedVaults.d.ts.map +1 -1
- package/src/vaultFactory/storeUtils.d.ts +2 -2
- package/src/vaultFactory/storeUtils.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 +27 -19
- package/src/vaultFactory/vault.d.ts.map +1 -1
- package/src/vaultFactory/vault.js +12 -2
- package/src/vaultFactory/vaultDirector.d.ts +23 -23
- package/src/vaultFactory/vaultDirector.d.ts.map +1 -1
- package/src/vaultFactory/vaultFactory.d.ts +20 -20
- package/src/vaultFactory/vaultFactory.d.ts.map +1 -1
- package/src/vaultFactory/vaultHolder.d.ts +20 -20
- package/src/vaultFactory/vaultHolder.d.ts.map +1 -1
- package/src/vaultFactory/vaultHolder.js +1 -0
- package/src/vaultFactory/vaultKit.d.ts +8 -8
- package/src/vaultFactory/vaultKit.d.ts.map +1 -1
- package/src/vaultFactory/vaultManager.d.ts +45 -45
- package/src/vaultFactory/vaultManager.d.ts.map +1 -1
- package/src/vaultFactory/vaultManager.js +2 -0
|
@@ -43,15 +43,15 @@ export function setupVaultFactoryArguments(consume: EconomyBootstrapPowers["cons
|
|
|
43
43
|
governedParams: {
|
|
44
44
|
Electorate: {
|
|
45
45
|
type: "invitation";
|
|
46
|
-
value:
|
|
46
|
+
value: import("@agoric/ertp/exported.js").SetAmount<import("@endo/patterns").Key>;
|
|
47
47
|
};
|
|
48
48
|
MinInitialDebt: {
|
|
49
49
|
type: "amount";
|
|
50
|
-
value:
|
|
50
|
+
value: import("@agoric/ertp/exported.js").NatAmount;
|
|
51
51
|
};
|
|
52
52
|
ShortfallInvitation: {
|
|
53
53
|
type: "invitation";
|
|
54
|
-
value:
|
|
54
|
+
value: import("@agoric/ertp/exported.js").SetAmount<import("@endo/patterns").Key>;
|
|
55
55
|
};
|
|
56
56
|
ReferencedUI: {
|
|
57
57
|
type: "string";
|
|
@@ -69,13 +69,13 @@ export function setupVaultFactoryArguments(consume: EconomyBootstrapPowers["cons
|
|
|
69
69
|
bootstrapPaymentValue: bigint;
|
|
70
70
|
};
|
|
71
71
|
vaultFactoryPrivateArgs: {
|
|
72
|
-
auctioneerInstance:
|
|
73
|
-
feeMintAccess:
|
|
74
|
-
initialPoserInvitation:
|
|
72
|
+
auctioneerInstance: import("@endo/pass-style").RemotableObject & Handle<"Instance"> & import("@agoric/internal/src/tagged.js").Tag<"StartFunction", any>;
|
|
73
|
+
feeMintAccess: FeeMintAccess;
|
|
74
|
+
initialPoserInvitation: import("@endo/pass-style").RemotableObject & import("@agoric/ertp/exported.js").PaymentMethods<"set"> & {
|
|
75
75
|
[OfferReturn]?: unknown;
|
|
76
76
|
[OfferArgs]?: undefined;
|
|
77
77
|
};
|
|
78
|
-
initialShortfallInvitation:
|
|
78
|
+
initialShortfallInvitation: import("@endo/pass-style").RemotableObject & import("@agoric/ertp/exported.js").PaymentMethods<"set"> & {
|
|
79
79
|
[OfferReturn]?: import("@endo/exo").Guarded<{
|
|
80
80
|
increaseLiquidationShortfall(shortfall: Amount<"nat">): void;
|
|
81
81
|
reduceLiquidationShortfall(reduction: Amount<"nat">): void;
|
|
@@ -125,7 +125,7 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: VaultFactoryZCF,
|
|
|
125
125
|
LiquidationPenalty: "ratio";
|
|
126
126
|
MintFee: "ratio";
|
|
127
127
|
}>;
|
|
128
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
128
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
129
129
|
get: (paramPath?: VaultFactoryParamPath) => import("../vaultFactory/vaultDirector.js").VaultDirectorParamManager | import("@agoric/governance/src/contractGovernance/typedParamManager.js").TypedParamManager<{
|
|
130
130
|
DebtLimit: "amount";
|
|
131
131
|
InterestRate: "ratio";
|
|
@@ -163,8 +163,8 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: VaultFactoryZCF,
|
|
|
163
163
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
164
164
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
165
165
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
166
|
-
getCollateralAmount():
|
|
167
|
-
getCurrentDebt():
|
|
166
|
+
getCollateralAmount(): import("@agoric/ertp/exported.js").NatAmount;
|
|
167
|
+
getCurrentDebt(): import("@agoric/ertp/exported.js").NatAmount;
|
|
168
168
|
getNormalizedDebt(): import("../vaultFactory/storeUtils.js").NormalizedDebt;
|
|
169
169
|
}>;
|
|
170
170
|
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
@@ -195,8 +195,8 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: VaultFactoryZCF,
|
|
|
195
195
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
196
196
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
197
197
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
198
|
-
getCollateralAmount():
|
|
199
|
-
getCurrentDebt():
|
|
198
|
+
getCollateralAmount(): import("@agoric/ertp/exported.js").NatAmount;
|
|
199
|
+
getCurrentDebt(): import("@agoric/ertp/exported.js").NatAmount;
|
|
200
200
|
getNormalizedDebt(): import("../vaultFactory/storeUtils.js").NormalizedDebt;
|
|
201
201
|
}>;
|
|
202
202
|
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
@@ -204,17 +204,13 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: VaultFactoryZCF,
|
|
|
204
204
|
getQuotes(): import("@agoric/notifier").StoredNotifier<import("@agoric/zoe/tools/types.js").PriceQuote>;
|
|
205
205
|
getCompoundedInterest(): Ratio;
|
|
206
206
|
getPublicTopics(): {
|
|
207
|
-
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").AssetState>;
|
|
208
|
-
* @type {StartedInstanceKit<
|
|
209
|
-
* typeof import('@agoric/inter-protocol/src/feeDistributor.js').start
|
|
210
|
-
* >}
|
|
211
|
-
*/
|
|
207
|
+
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").AssetState>;
|
|
212
208
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").MetricsNotification>;
|
|
213
209
|
};
|
|
214
210
|
}>;
|
|
215
211
|
lockOraclePrices(): import("@agoric/zoe/tools/types.js").PriceQuote;
|
|
216
212
|
liquidateVaults(auctionPF: globalThis.ERef<globalThis.GovernedPublicFacet<{
|
|
217
|
-
getElectorate: () =>
|
|
213
|
+
getElectorate: () => import("@agoric/ertp/exported.js").SetAmount<import("@endo/patterns").Key>;
|
|
218
214
|
getStartFrequency: () => RelativeTime;
|
|
219
215
|
getClockStep: () => RelativeTime;
|
|
220
216
|
getStartingRate: () => bigint;
|
|
@@ -235,7 +231,7 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: VaultFactoryZCF,
|
|
|
235
231
|
schedule: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/scheduler.js").ScheduleNotification>;
|
|
236
232
|
};
|
|
237
233
|
makeDepositInvitation: () => Promise<Invitation<string, {
|
|
238
|
-
goal:
|
|
234
|
+
goal: import("@agoric/ertp/exported.js").NatAmount;
|
|
239
235
|
}>>;
|
|
240
236
|
}>>): Promise<void>;
|
|
241
237
|
}>>;
|
|
@@ -243,17 +239,17 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: VaultFactoryZCF,
|
|
|
243
239
|
getRewardAllocation(): AmountKeywordRecord;
|
|
244
240
|
makeLiquidationWaker(): {
|
|
245
241
|
wake: (timestamp: any) => any;
|
|
246
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
242
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
247
243
|
wake: (timestamp: any) => any;
|
|
248
244
|
}>;
|
|
249
245
|
makeReschedulerWaker(): {
|
|
250
246
|
wake: (timestamp: any) => any;
|
|
251
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
247
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
252
248
|
wake: (timestamp: any) => any;
|
|
253
249
|
}>;
|
|
254
250
|
makePriceLockWaker(): {
|
|
255
251
|
wake: (timestamp: any) => any;
|
|
256
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
252
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
257
253
|
wake: (timestamp: any) => any;
|
|
258
254
|
}>;
|
|
259
255
|
setShortfallReporter(newInvitation: any): Promise<void>;
|
|
@@ -288,8 +284,8 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: VaultFactoryZCF,
|
|
|
288
284
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
289
285
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
290
286
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
291
|
-
getCollateralAmount():
|
|
292
|
-
getCurrentDebt():
|
|
287
|
+
getCollateralAmount(): import("@agoric/ertp/exported.js").NatAmount;
|
|
288
|
+
getCurrentDebt(): import("@agoric/ertp/exported.js").NatAmount;
|
|
293
289
|
getNormalizedDebt(): import("../vaultFactory/storeUtils.js").NormalizedDebt;
|
|
294
290
|
}>;
|
|
295
291
|
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
@@ -297,15 +293,11 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: VaultFactoryZCF,
|
|
|
297
293
|
getQuotes(): import("@agoric/notifier").StoredNotifier<import("@agoric/zoe/tools/types.js").PriceQuote>;
|
|
298
294
|
getCompoundedInterest(): Ratio;
|
|
299
295
|
getPublicTopics(): {
|
|
300
|
-
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").AssetState>;
|
|
301
|
-
* @type {StartedInstanceKit<
|
|
302
|
-
* typeof import('@agoric/inter-protocol/src/feeDistributor.js').start
|
|
303
|
-
* >}
|
|
304
|
-
*/
|
|
296
|
+
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").AssetState>;
|
|
305
297
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").MetricsNotification>;
|
|
306
298
|
};
|
|
307
299
|
}>;
|
|
308
|
-
getDebtIssuer(): globalThis.Issuer<"nat">;
|
|
300
|
+
getDebtIssuer(): globalThis.Issuer<"nat", import("@endo/patterns").Key>;
|
|
309
301
|
getSubscription({ collateralBrand }: {
|
|
310
302
|
collateralBrand: Brand;
|
|
311
303
|
}): globalThis.StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
@@ -316,7 +308,7 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: VaultFactoryZCF,
|
|
|
316
308
|
getGovernedParams({ collateralBrand }: {
|
|
317
309
|
collateralBrand: Brand;
|
|
318
310
|
}): globalThis.ERef<globalThis.ParamStateRecord>;
|
|
319
|
-
getInvitationAmount(name: string):
|
|
311
|
+
getInvitationAmount(name: string): import("@agoric/ertp/exported.js").SetAmount<InvitationDetails>;
|
|
320
312
|
}>;
|
|
321
313
|
}>>>["publicFacet"];
|
|
322
314
|
export type PSMKit = {
|
|
@@ -351,7 +343,7 @@ export type AuctioneerKit = GovernanceFacetKit<(zcf: ZCF<globalThis.GovernanceTe
|
|
|
351
343
|
marshaller: Marshaller;
|
|
352
344
|
}, baggage: import("@agoric/vat-data").Baggage) => Promise<{
|
|
353
345
|
publicFacet: globalThis.GovernedPublicFacet<{
|
|
354
|
-
getElectorate: () =>
|
|
346
|
+
getElectorate: () => import("@agoric/ertp/exported.js").SetAmount<import("@endo/patterns").Key>;
|
|
355
347
|
getStartFrequency: () => RelativeTime;
|
|
356
348
|
getClockStep: () => RelativeTime;
|
|
357
349
|
getStartingRate: () => bigint;
|
|
@@ -372,14 +364,14 @@ export type AuctioneerKit = GovernanceFacetKit<(zcf: ZCF<globalThis.GovernanceTe
|
|
|
372
364
|
schedule: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/scheduler.js").ScheduleNotification>;
|
|
373
365
|
};
|
|
374
366
|
makeDepositInvitation: () => Promise<Invitation<string, {
|
|
375
|
-
goal:
|
|
367
|
+
goal: import("@agoric/ertp/exported.js").NatAmount;
|
|
376
368
|
}>>;
|
|
377
369
|
}>;
|
|
378
370
|
creatorFacet: globalThis.GovernedCreatorFacet<{
|
|
379
|
-
addBrand(issuer: Issuer
|
|
371
|
+
addBrand(issuer: Issuer<"nat">, kwd: Keyword): Promise<void>;
|
|
380
372
|
getSchedule(): Promise<import("../auction/scheduler.js").FullSchedule>;
|
|
381
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
382
|
-
addBrand(issuer: Issuer
|
|
373
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
374
|
+
addBrand(issuer: Issuer<"nat">, kwd: Keyword): Promise<void>;
|
|
383
375
|
getSchedule(): Promise<import("../auction/scheduler.js").FullSchedule>;
|
|
384
376
|
}>>;
|
|
385
377
|
}>>;
|
|
@@ -396,37 +388,37 @@ export type EconomyBootstrapSpace = {
|
|
|
396
388
|
creatorFacet: {
|
|
397
389
|
makeContractFeeCollector: (zoe: ERef<ZoeService>, creatorFacet: ERef<CollectibleContractFacet>) => {
|
|
398
390
|
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
399
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
391
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
400
392
|
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
401
393
|
}>;
|
|
402
394
|
startPeriodicCollection: (debugName: string, collectorP: ERef<FeeCollector>) => Promise<import("../feeDistributor.js").PeriodicFeeCollector>;
|
|
403
395
|
makeDepositFacetDestination: (depositFacet: import("@endo/far").EOnly<import("@agoric/ertp/exported.js").DepositFacet>) => {
|
|
404
396
|
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
405
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
397
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
406
398
|
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
407
399
|
}>;
|
|
408
400
|
makeOfferDestination: (zoe: ERef<ZoeService>, keyword: string, target: unknown, makeInvitationMethod: PropertyKey, args?: unknown[] | undefined) => {
|
|
409
401
|
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
410
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
402
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
411
403
|
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
412
404
|
}>;
|
|
413
405
|
setDestinations: (newDestinations: Record<Keyword, ERef<FeeDestination>>) => Promise<void>;
|
|
414
406
|
setKeywordShares: (newShares: Record<Keyword, bigint>) => void;
|
|
415
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
407
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
416
408
|
makeContractFeeCollector: (zoe: ERef<ZoeService>, creatorFacet: ERef<CollectibleContractFacet>) => {
|
|
417
409
|
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
418
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
410
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
419
411
|
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
420
412
|
}>;
|
|
421
413
|
startPeriodicCollection: (debugName: string, collectorP: ERef<FeeCollector>) => Promise<import("../feeDistributor.js").PeriodicFeeCollector>;
|
|
422
414
|
makeDepositFacetDestination: (depositFacet: import("@endo/far").EOnly<import("@agoric/ertp/exported.js").DepositFacet>) => {
|
|
423
415
|
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
424
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
416
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
425
417
|
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
426
418
|
}>;
|
|
427
419
|
makeOfferDestination: (zoe: ERef<ZoeService>, keyword: string, target: unknown, makeInvitationMethod: PropertyKey, args?: unknown[] | undefined) => {
|
|
428
420
|
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
429
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
421
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
430
422
|
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
431
423
|
}>;
|
|
432
424
|
setDestinations: (newDestinations: Record<Keyword, ERef<FeeDestination>>) => Promise<void>;
|
|
@@ -435,7 +427,7 @@ export type EconomyBootstrapSpace = {
|
|
|
435
427
|
publicFacet: {
|
|
436
428
|
distributeFees: (payment: Payment<"nat">) => Promise<void>;
|
|
437
429
|
getKeywordShares: () => Record<string, bigint>;
|
|
438
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
430
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
439
431
|
distributeFees: (payment: Payment<"nat">) => Promise<void>;
|
|
440
432
|
getKeywordShares: () => Record<string, bigint>;
|
|
441
433
|
}>;
|
|
@@ -486,7 +478,7 @@ export type EconomyBootstrapSpace = {
|
|
|
486
478
|
LiquidationPenalty: "ratio";
|
|
487
479
|
MintFee: "ratio";
|
|
488
480
|
}>;
|
|
489
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
481
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
490
482
|
get: (paramPath?: VaultFactoryParamPath) => import("../vaultFactory/vaultDirector.js").VaultDirectorParamManager | import("@agoric/governance/src/contractGovernance/typedParamManager.js").TypedParamManager<{
|
|
491
483
|
DebtLimit: "amount";
|
|
492
484
|
InterestRate: "ratio";
|
|
@@ -524,8 +516,8 @@ export type EconomyBootstrapSpace = {
|
|
|
524
516
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
525
517
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
526
518
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
527
|
-
getCollateralAmount():
|
|
528
|
-
getCurrentDebt():
|
|
519
|
+
getCollateralAmount(): import("@agoric/ertp/exported.js").NatAmount;
|
|
520
|
+
getCurrentDebt(): import("@agoric/ertp/exported.js").NatAmount;
|
|
529
521
|
getNormalizedDebt(): import("../vaultFactory/storeUtils.js").NormalizedDebt;
|
|
530
522
|
}>;
|
|
531
523
|
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
@@ -556,8 +548,8 @@ export type EconomyBootstrapSpace = {
|
|
|
556
548
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
557
549
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
558
550
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
559
|
-
getCollateralAmount():
|
|
560
|
-
getCurrentDebt():
|
|
551
|
+
getCollateralAmount(): import("@agoric/ertp/exported.js").NatAmount;
|
|
552
|
+
getCurrentDebt(): import("@agoric/ertp/exported.js").NatAmount;
|
|
561
553
|
getNormalizedDebt(): import("../vaultFactory/storeUtils.js").NormalizedDebt;
|
|
562
554
|
}>;
|
|
563
555
|
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
@@ -565,17 +557,13 @@ export type EconomyBootstrapSpace = {
|
|
|
565
557
|
getQuotes(): import("@agoric/notifier").StoredNotifier<import("@agoric/zoe/tools/types.js").PriceQuote>;
|
|
566
558
|
getCompoundedInterest(): Ratio;
|
|
567
559
|
getPublicTopics(): {
|
|
568
|
-
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").AssetState>;
|
|
569
|
-
* @type {StartedInstanceKit<
|
|
570
|
-
* typeof import('@agoric/inter-protocol/src/feeDistributor.js').start
|
|
571
|
-
* >}
|
|
572
|
-
*/
|
|
560
|
+
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").AssetState>;
|
|
573
561
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").MetricsNotification>;
|
|
574
562
|
};
|
|
575
563
|
}>;
|
|
576
564
|
lockOraclePrices(): import("@agoric/zoe/tools/types.js").PriceQuote;
|
|
577
565
|
liquidateVaults(auctionPF: globalThis.ERef<globalThis.GovernedPublicFacet<{
|
|
578
|
-
getElectorate: () =>
|
|
566
|
+
getElectorate: () => import("@agoric/ertp/exported.js").SetAmount<import("@endo/patterns").Key>;
|
|
579
567
|
getStartFrequency: () => RelativeTime;
|
|
580
568
|
getClockStep: () => RelativeTime;
|
|
581
569
|
getStartingRate: () => bigint;
|
|
@@ -596,7 +584,7 @@ export type EconomyBootstrapSpace = {
|
|
|
596
584
|
schedule: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/scheduler.js").ScheduleNotification>;
|
|
597
585
|
};
|
|
598
586
|
makeDepositInvitation: () => Promise<Invitation<string, {
|
|
599
|
-
goal:
|
|
587
|
+
goal: import("@agoric/ertp/exported.js").NatAmount;
|
|
600
588
|
}>>;
|
|
601
589
|
}>>): Promise<void>;
|
|
602
590
|
}>>;
|
|
@@ -604,17 +592,17 @@ export type EconomyBootstrapSpace = {
|
|
|
604
592
|
getRewardAllocation(): AmountKeywordRecord;
|
|
605
593
|
makeLiquidationWaker(): {
|
|
606
594
|
wake: (timestamp: any) => any;
|
|
607
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
595
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
608
596
|
wake: (timestamp: any) => any;
|
|
609
597
|
}>;
|
|
610
598
|
makeReschedulerWaker(): {
|
|
611
599
|
wake: (timestamp: any) => any;
|
|
612
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
600
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
613
601
|
wake: (timestamp: any) => any;
|
|
614
602
|
}>;
|
|
615
603
|
makePriceLockWaker(): {
|
|
616
604
|
wake: (timestamp: any) => any;
|
|
617
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
605
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
618
606
|
wake: (timestamp: any) => any;
|
|
619
607
|
}>;
|
|
620
608
|
setShortfallReporter(newInvitation: any): Promise<void>;
|
|
@@ -649,8 +637,8 @@ export type EconomyBootstrapSpace = {
|
|
|
649
637
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
650
638
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
651
639
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
652
|
-
getCollateralAmount():
|
|
653
|
-
getCurrentDebt():
|
|
640
|
+
getCollateralAmount(): import("@agoric/ertp/exported.js").NatAmount;
|
|
641
|
+
getCurrentDebt(): import("@agoric/ertp/exported.js").NatAmount;
|
|
654
642
|
getNormalizedDebt(): import("../vaultFactory/storeUtils.js").NormalizedDebt;
|
|
655
643
|
}>;
|
|
656
644
|
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
@@ -658,15 +646,11 @@ export type EconomyBootstrapSpace = {
|
|
|
658
646
|
getQuotes(): import("@agoric/notifier").StoredNotifier<import("@agoric/zoe/tools/types.js").PriceQuote>;
|
|
659
647
|
getCompoundedInterest(): Ratio;
|
|
660
648
|
getPublicTopics(): {
|
|
661
|
-
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").AssetState>;
|
|
662
|
-
* @type {StartedInstanceKit<
|
|
663
|
-
* typeof import('@agoric/inter-protocol/src/feeDistributor.js').start
|
|
664
|
-
* >}
|
|
665
|
-
*/
|
|
649
|
+
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").AssetState>;
|
|
666
650
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").MetricsNotification>;
|
|
667
651
|
};
|
|
668
652
|
}>;
|
|
669
|
-
getDebtIssuer(): globalThis.Issuer<"nat">;
|
|
653
|
+
getDebtIssuer(): globalThis.Issuer<"nat", import("@endo/patterns").Key>;
|
|
670
654
|
getSubscription({ collateralBrand }: {
|
|
671
655
|
collateralBrand: Brand;
|
|
672
656
|
}): globalThis.StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
@@ -677,7 +661,7 @@ export type EconomyBootstrapSpace = {
|
|
|
677
661
|
getGovernedParams({ collateralBrand }: {
|
|
678
662
|
collateralBrand: Brand;
|
|
679
663
|
}): globalThis.ERef<globalThis.ParamStateRecord>;
|
|
680
|
-
getInvitationAmount(name: string):
|
|
664
|
+
getInvitationAmount(name: string): import("@agoric/ertp/exported.js").SetAmount<InvitationDetails>;
|
|
681
665
|
}>;
|
|
682
666
|
}>>>;
|
|
683
667
|
auctioneerKit: Promise<AuctioneerKit>;
|
|
@@ -695,37 +679,37 @@ export type EconomyBootstrapSpace = {
|
|
|
695
679
|
creatorFacet: {
|
|
696
680
|
makeContractFeeCollector: (zoe: ERef<ZoeService>, creatorFacet: ERef<CollectibleContractFacet>) => {
|
|
697
681
|
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
698
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
682
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
699
683
|
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
700
684
|
}>;
|
|
701
685
|
startPeriodicCollection: (debugName: string, collectorP: ERef<FeeCollector>) => Promise<import("../feeDistributor.js").PeriodicFeeCollector>;
|
|
702
686
|
makeDepositFacetDestination: (depositFacet: import("@endo/far").EOnly<import("@agoric/ertp/exported.js").DepositFacet>) => {
|
|
703
687
|
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
704
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
688
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
705
689
|
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
706
690
|
}>;
|
|
707
691
|
makeOfferDestination: (zoe: ERef<ZoeService>, keyword: string, target: unknown, makeInvitationMethod: PropertyKey, args?: unknown[] | undefined) => {
|
|
708
692
|
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
709
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
693
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
710
694
|
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
711
695
|
}>;
|
|
712
696
|
setDestinations: (newDestinations: Record<Keyword, ERef<FeeDestination>>) => Promise<void>;
|
|
713
697
|
setKeywordShares: (newShares: Record<Keyword, bigint>) => void;
|
|
714
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
698
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
715
699
|
makeContractFeeCollector: (zoe: ERef<ZoeService>, creatorFacet: ERef<CollectibleContractFacet>) => {
|
|
716
700
|
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
717
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
701
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
718
702
|
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
719
703
|
}>;
|
|
720
704
|
startPeriodicCollection: (debugName: string, collectorP: ERef<FeeCollector>) => Promise<import("../feeDistributor.js").PeriodicFeeCollector>;
|
|
721
705
|
makeDepositFacetDestination: (depositFacet: import("@endo/far").EOnly<import("@agoric/ertp/exported.js").DepositFacet>) => {
|
|
722
706
|
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
723
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
707
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
724
708
|
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
725
709
|
}>;
|
|
726
710
|
makeOfferDestination: (zoe: ERef<ZoeService>, keyword: string, target: unknown, makeInvitationMethod: PropertyKey, args?: unknown[] | undefined) => {
|
|
727
711
|
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
728
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
712
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
729
713
|
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
730
714
|
}>;
|
|
731
715
|
setDestinations: (newDestinations: Record<Keyword, ERef<FeeDestination>>) => Promise<void>;
|
|
@@ -734,7 +718,7 @@ export type EconomyBootstrapSpace = {
|
|
|
734
718
|
publicFacet: {
|
|
735
719
|
distributeFees: (payment: Payment<"nat">) => Promise<void>;
|
|
736
720
|
getKeywordShares: () => Record<string, bigint>;
|
|
737
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
721
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
738
722
|
distributeFees: (payment: Payment<"nat">) => Promise<void>;
|
|
739
723
|
getKeywordShares: () => Record<string, bigint>;
|
|
740
724
|
}>;
|
|
@@ -785,7 +769,7 @@ export type EconomyBootstrapSpace = {
|
|
|
785
769
|
LiquidationPenalty: "ratio";
|
|
786
770
|
MintFee: "ratio";
|
|
787
771
|
}>;
|
|
788
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
772
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
789
773
|
get: (paramPath?: VaultFactoryParamPath) => import("../vaultFactory/vaultDirector.js").VaultDirectorParamManager | import("@agoric/governance/src/contractGovernance/typedParamManager.js").TypedParamManager<{
|
|
790
774
|
DebtLimit: "amount";
|
|
791
775
|
InterestRate: "ratio";
|
|
@@ -823,8 +807,8 @@ export type EconomyBootstrapSpace = {
|
|
|
823
807
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
824
808
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
825
809
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
826
|
-
getCollateralAmount():
|
|
827
|
-
getCurrentDebt():
|
|
810
|
+
getCollateralAmount(): import("@agoric/ertp/exported.js").NatAmount;
|
|
811
|
+
getCurrentDebt(): import("@agoric/ertp/exported.js").NatAmount;
|
|
828
812
|
getNormalizedDebt(): import("../vaultFactory/storeUtils.js").NormalizedDebt;
|
|
829
813
|
}>;
|
|
830
814
|
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
@@ -855,8 +839,8 @@ export type EconomyBootstrapSpace = {
|
|
|
855
839
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
856
840
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
857
841
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
858
|
-
getCollateralAmount():
|
|
859
|
-
getCurrentDebt():
|
|
842
|
+
getCollateralAmount(): import("@agoric/ertp/exported.js").NatAmount;
|
|
843
|
+
getCurrentDebt(): import("@agoric/ertp/exported.js").NatAmount;
|
|
860
844
|
getNormalizedDebt(): import("../vaultFactory/storeUtils.js").NormalizedDebt;
|
|
861
845
|
}>;
|
|
862
846
|
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
@@ -864,17 +848,13 @@ export type EconomyBootstrapSpace = {
|
|
|
864
848
|
getQuotes(): import("@agoric/notifier").StoredNotifier<import("@agoric/zoe/tools/types.js").PriceQuote>;
|
|
865
849
|
getCompoundedInterest(): Ratio;
|
|
866
850
|
getPublicTopics(): {
|
|
867
|
-
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").AssetState>;
|
|
868
|
-
* @type {StartedInstanceKit<
|
|
869
|
-
* typeof import('@agoric/inter-protocol/src/feeDistributor.js').start
|
|
870
|
-
* >}
|
|
871
|
-
*/
|
|
851
|
+
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").AssetState>;
|
|
872
852
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").MetricsNotification>;
|
|
873
853
|
};
|
|
874
854
|
}>;
|
|
875
855
|
lockOraclePrices(): import("@agoric/zoe/tools/types.js").PriceQuote;
|
|
876
856
|
liquidateVaults(auctionPF: globalThis.ERef<globalThis.GovernedPublicFacet<{
|
|
877
|
-
getElectorate: () =>
|
|
857
|
+
getElectorate: () => import("@agoric/ertp/exported.js").SetAmount<import("@endo/patterns").Key>;
|
|
878
858
|
getStartFrequency: () => RelativeTime;
|
|
879
859
|
getClockStep: () => RelativeTime;
|
|
880
860
|
getStartingRate: () => bigint;
|
|
@@ -895,7 +875,7 @@ export type EconomyBootstrapSpace = {
|
|
|
895
875
|
schedule: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/scheduler.js").ScheduleNotification>;
|
|
896
876
|
};
|
|
897
877
|
makeDepositInvitation: () => Promise<Invitation<string, {
|
|
898
|
-
goal:
|
|
878
|
+
goal: import("@agoric/ertp/exported.js").NatAmount;
|
|
899
879
|
}>>;
|
|
900
880
|
}>>): Promise<void>;
|
|
901
881
|
}>>;
|
|
@@ -903,17 +883,17 @@ export type EconomyBootstrapSpace = {
|
|
|
903
883
|
getRewardAllocation(): AmountKeywordRecord;
|
|
904
884
|
makeLiquidationWaker(): {
|
|
905
885
|
wake: (timestamp: any) => any;
|
|
906
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
886
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
907
887
|
wake: (timestamp: any) => any;
|
|
908
888
|
}>;
|
|
909
889
|
makeReschedulerWaker(): {
|
|
910
890
|
wake: (timestamp: any) => any;
|
|
911
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
891
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
912
892
|
wake: (timestamp: any) => any;
|
|
913
893
|
}>;
|
|
914
894
|
makePriceLockWaker(): {
|
|
915
895
|
wake: (timestamp: any) => any;
|
|
916
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
896
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
917
897
|
wake: (timestamp: any) => any;
|
|
918
898
|
}>;
|
|
919
899
|
setShortfallReporter(newInvitation: any): Promise<void>;
|
|
@@ -948,8 +928,8 @@ export type EconomyBootstrapSpace = {
|
|
|
948
928
|
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
949
929
|
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
950
930
|
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
951
|
-
getCollateralAmount():
|
|
952
|
-
getCurrentDebt():
|
|
931
|
+
getCollateralAmount(): import("@agoric/ertp/exported.js").NatAmount;
|
|
932
|
+
getCurrentDebt(): import("@agoric/ertp/exported.js").NatAmount;
|
|
953
933
|
getNormalizedDebt(): import("../vaultFactory/storeUtils.js").NormalizedDebt;
|
|
954
934
|
}>;
|
|
955
935
|
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
@@ -957,15 +937,11 @@ export type EconomyBootstrapSpace = {
|
|
|
957
937
|
getQuotes(): import("@agoric/notifier").StoredNotifier<import("@agoric/zoe/tools/types.js").PriceQuote>;
|
|
958
938
|
getCompoundedInterest(): Ratio;
|
|
959
939
|
getPublicTopics(): {
|
|
960
|
-
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").AssetState>;
|
|
961
|
-
* @type {StartedInstanceKit<
|
|
962
|
-
* typeof import('@agoric/inter-protocol/src/feeDistributor.js').start
|
|
963
|
-
* >}
|
|
964
|
-
*/
|
|
940
|
+
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").AssetState>;
|
|
965
941
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").MetricsNotification>;
|
|
966
942
|
};
|
|
967
943
|
}>;
|
|
968
|
-
getDebtIssuer(): globalThis.Issuer<"nat">;
|
|
944
|
+
getDebtIssuer(): globalThis.Issuer<"nat", import("@endo/patterns").Key>;
|
|
969
945
|
getSubscription({ collateralBrand }: {
|
|
970
946
|
collateralBrand: Brand;
|
|
971
947
|
}): globalThis.StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
@@ -976,7 +952,7 @@ export type EconomyBootstrapSpace = {
|
|
|
976
952
|
getGovernedParams({ collateralBrand }: {
|
|
977
953
|
collateralBrand: Brand;
|
|
978
954
|
}): globalThis.ERef<globalThis.ParamStateRecord>;
|
|
979
|
-
getInvitationAmount(name: string):
|
|
955
|
+
getInvitationAmount(name: string): import("@agoric/ertp/exported.js").SetAmount<InvitationDetails>;
|
|
980
956
|
}>;
|
|
981
957
|
}>>>;
|
|
982
958
|
auctioneerKit: Producer<AuctioneerKit>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"econ-behaviors.d.ts","sourceRoot":"","sources":["econ-behaviors.js"],"names":[],"mappings":"AAmBA,qCAAsC;AACtC,sCAA0C;AAC1C,qCAAsD;AACtD,sCAAqD;AAuE9C,mcADK,sBAAs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,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8EAlMqD,0BACvD;yDACN,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2EAjDX,IAAM;QAAA,+BAA6B,YAAa,CAAA;KACjD,CAAC,mCAEsB,OAAO,kBAAkB,EAAE,OAAO;;4CA0G/C,QACR,iBACe,yBAAyB;;;;;8CArEc,QACpD,kCAIqB,QAAO,YAA0B,OAAO,cAAc,EAC9E,cAAa;;;;;;;oEA7CoC,OAAO;;;;;;;mIA6CxD,cAAa;;;;;;;;;;;;;;+HAAb,cAAa;;;;;;2EAzC2B,IAAI;QAAC,sBAA4B;QAAA,sBAGtE;KAAK,CAAC,eAAiB;QAAE,aAAY,KAAM,WAAW,CAAC,CAAC;QAAA,YAAY,KAAM,UAAU,CAAC,CAAA;KAAC,WAE7E,OAAO,kBACZ,EAAE,OAAO;;;;;;;;;;2CAAP,OAAO;;;;;;;;;;uBAvCM,gCAAgC;wCAKjB,qCAAqC"}
|
|
@@ -166,6 +166,7 @@ export const setupReserve = async ({
|
|
|
166
166
|
]);
|
|
167
167
|
|
|
168
168
|
reserveKit.resolve(
|
|
169
|
+
// @ts-expect-error XXX
|
|
169
170
|
harden({
|
|
170
171
|
label: 'AssetReserve',
|
|
171
172
|
instance,
|
|
@@ -350,6 +351,7 @@ export const startVaultFactory = async (
|
|
|
350
351
|
);
|
|
351
352
|
|
|
352
353
|
vaultFactoryKit.resolve(
|
|
354
|
+
// @ts-expect-error XXX
|
|
353
355
|
harden({
|
|
354
356
|
label: 'VaultFactory',
|
|
355
357
|
creatorFacet: vaultFactoryCreator,
|
|
@@ -465,6 +467,7 @@ export const startRewardDistributor = async ({
|
|
|
465
467
|
const instanceKit = await E(zoe).startInstance(
|
|
466
468
|
feeDistributor,
|
|
467
469
|
{ Fee: centralIssuer },
|
|
470
|
+
// @ts-expect-error XXX
|
|
468
471
|
feeDistributorTerms,
|
|
469
472
|
undefined,
|
|
470
473
|
'feeDistributor',
|
|
@@ -623,6 +626,7 @@ export const startAuctioneer = async (
|
|
|
623
626
|
]);
|
|
624
627
|
|
|
625
628
|
auctioneerKit.resolve(
|
|
629
|
+
// @ts-expect-error XXX
|
|
626
630
|
harden({
|
|
627
631
|
label: 'auctioneer',
|
|
628
632
|
creatorFacet: governedCreatorFacet,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"startPSM.d.ts","sourceRoot":"","sources":["startPSM.js"],"names":[],"mappings":"AAuFO;;;;;wBAFsB,aAAa;;8BAsMzC;AAuBM,4ZAFI;IAAE,OAAO,EAAE;QAAE,aAAa,CAAC,EAAE,aAAa,CAAA;KAAE,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"startPSM.d.ts","sourceRoot":"","sources":["startPSM.js"],"names":[],"mappings":"AAuFO;;;;;wBAFsB,aAAa;;8BAsMzC;AAuBM,4ZAFI;IAAE,OAAO,EAAE;QAAE,aAAa,CAAC,EAAE,aAAa,CAAA;KAAE,CAAA;CAAE,iBAoGxD;AAGD,iEAAiE;AAEjE,8DAiBE;AAEF,gCAAgC;AAChC,6CA4CE;AAGK;;;;;;;;;;;;EAaN;AAEM;;;;;;;;;;;;;;EAcN;;;;;;;uCAleM,yBAAyB;iCAAzB,yBAAyB;oCAAzB,yBAAyB;2CAgYS,qBAAqB;uBAxYvC,gCAAgC;uCAUlB,mCAAmC"}
|
|
@@ -363,6 +363,7 @@ export const makeAnchorAsset = async (
|
|
|
363
363
|
const brand = await E(issuer).getBrand();
|
|
364
364
|
const kit = harden({ mint, issuer, brand });
|
|
365
365
|
|
|
366
|
+
// @ts-expect-error XXX AssetIssuerKit
|
|
366
367
|
testFirstAnchorKit.resolve(kit);
|
|
367
368
|
|
|
368
369
|
const toSlotReviver = makeHistoryReviver(
|
|
@@ -397,6 +398,7 @@ export const makeAnchorAsset = async (
|
|
|
397
398
|
denom,
|
|
398
399
|
keyword,
|
|
399
400
|
proposedName,
|
|
401
|
+
// @ts-expect-error XXX AssetIssuerKit
|
|
400
402
|
kit, // with mint
|
|
401
403
|
),
|
|
402
404
|
]);
|