@agoric/inter-protocol 0.16.2-upgrade-16-dev-d45b478.0 → 0.16.2-upgrade-16-dev-5e17008.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +16 -16
- package/src/auction/auctionBook.d.ts +95 -32
- package/src/auction/auctionBook.d.ts.map +1 -1
- package/src/auction/auctioneer.d.ts +10 -24
- package/src/auction/auctioneer.d.ts.map +1 -1
- package/src/auction/offerBook.d.ts.map +1 -1
- package/src/auction/params.d.ts +4 -9
- package/src/auction/params.d.ts.map +1 -1
- package/src/auction/scheduleMath.d.ts.map +1 -1
- package/src/auction/scheduler.d.ts.map +1 -1
- package/src/auction/util.d.ts.map +1 -1
- package/src/contractSupport.d.ts +2 -2
- package/src/contractSupport.d.ts.map +1 -1
- package/src/econCommitteeCharter.d.ts +3 -3
- package/src/feeDistributor.d.ts +2 -2
- package/src/feeDistributor.d.ts.map +1 -1
- package/src/interest.d.ts.map +1 -1
- package/src/price/fluxAggregatorContract.d.ts +3 -3
- package/src/price/fluxAggregatorContract.d.ts.map +1 -1
- package/src/price/fluxAggregatorKit.d.ts +2 -2
- package/src/price/fluxAggregatorKit.d.ts.map +1 -1
- package/src/price/priceOracleKit.d.ts.map +1 -1
- package/src/price/roundsManager.d.ts +9 -43
- package/src/price/roundsManager.d.ts.map +1 -1
- package/src/proposals/addAssetToVault.d.ts.map +1 -1
- package/src/proposals/econ-behaviors.d.ts +137 -755
- package/src/proposals/econ-behaviors.d.ts.map +1 -1
- package/src/proposals/price-feed-proposal.d.ts.map +1 -1
- package/src/proposals/startEconCommittee.d.ts.map +1 -1
- package/src/proposals/startPSM.d.ts +3 -3
- package/src/proposals/startPSM.d.ts.map +1 -1
- package/src/proposals/upgrade-vaults.d.ts.map +1 -1
- package/src/proposals/upgrade-vaults.js +43 -10
- package/src/proposals/utils.d.ts.map +1 -1
- package/src/provisionPool.d.ts +8 -8
- package/src/provisionPool.d.ts.map +1 -1
- package/src/provisionPoolKit.d.ts +58 -467
- package/src/provisionPoolKit.d.ts.map +1 -1
- package/src/psm/psm.d.ts +4 -4
- package/src/psm/psm.d.ts.map +1 -1
- package/src/reserve/assetReserve.d.ts +2 -2
- package/src/reserve/assetReserve.d.ts.map +1 -1
- package/src/vaultFactory/liquidation.d.ts +4 -144
- package/src/vaultFactory/liquidation.d.ts.map +1 -1
- package/src/vaultFactory/math.d.ts.map +1 -1
- package/src/vaultFactory/orderedVaultStore.d.ts +10 -277
- package/src/vaultFactory/orderedVaultStore.d.ts.map +1 -1
- package/src/vaultFactory/params.d.ts +2 -7
- package/src/vaultFactory/params.d.ts.map +1 -1
- package/src/vaultFactory/prioritizedVaults.d.ts +31 -744
- package/src/vaultFactory/prioritizedVaults.d.ts.map +1 -1
- package/src/vaultFactory/proceeds.d.ts.map +1 -1
- package/src/vaultFactory/storeUtils.d.ts.map +1 -1
- package/src/vaultFactory/types-ambient.d.ts +1 -98
- package/src/vaultFactory/types-ambient.d.ts.map +1 -1
- package/src/vaultFactory/vault.d.ts +4 -74
- package/src/vaultFactory/vault.d.ts.map +1 -1
- package/src/vaultFactory/vaultDirector.d.ts +2 -50
- package/src/vaultFactory/vaultDirector.d.ts.map +1 -1
- package/src/vaultFactory/vaultFactory.d.ts +7 -83
- package/src/vaultFactory/vaultFactory.d.ts.map +1 -1
- package/src/vaultFactory/vaultHolder.d.ts +18 -162
- package/src/vaultFactory/vaultHolder.d.ts.map +1 -1
- package/src/vaultFactory/vaultKit.d.ts +1 -71
- package/src/vaultFactory/vaultKit.d.ts.map +1 -1
- package/src/vaultFactory/vaultManager.d.ts +236 -381
- package/src/vaultFactory/vaultManager.d.ts.map +1 -1
|
@@ -5,73 +5,12 @@ export const SECONDS_PER_WEEK: bigint;
|
|
|
5
5
|
export function setupReserve({ consume: { board, feeMintAccess: feeMintAccessP, chainStorage, chainTimerService, diagnostics, zoe, economicCommitteeCreatorFacet: committeeCreator, }, produce: { reserveKit }, issuer: { consume: { [Stable.symbol]: centralIssuer }, }, instance: { produce: { reserve: reserveInstanceProducer, reserveGovernor }, }, installation: { consume: { contractGovernor: governorInstallation, reserve: reserveInstallation, }, }, }: EconomyBootstrapPowers): Promise<Installation<(zcf: ZCF<GovernanceTerms<{}> & {
|
|
6
6
|
governedApis: ["burnFeesToReduceShortfall"];
|
|
7
7
|
}>, privateArgs: {
|
|
8
|
-
feeMintAccess: FeeMintAccess;
|
|
9
|
-
* @typedef {object} PSMKit
|
|
10
|
-
* @property {string} label
|
|
11
|
-
* @property {Instance} psm
|
|
12
|
-
* @property {Instance} psmGovernor
|
|
13
|
-
* @property {Awaited<
|
|
14
|
-
* ReturnType<
|
|
15
|
-
* Awaited<
|
|
16
|
-
* ReturnType<import('../psm/psm.js')['start']>
|
|
17
|
-
* >['creatorFacet']['getLimitedCreatorFacet']
|
|
18
|
-
* >
|
|
19
|
-
* >} psmCreatorFacet
|
|
20
|
-
* @property {GovernorCreatorFacet<import('../../src/psm/psm.js')['start']>} psmGovernorCreatorFacet
|
|
21
|
-
* @property {AdminFacet} psmAdminFacet
|
|
22
|
-
*/
|
|
23
|
-
/** @typedef {GovernanceFacetKit<import('../auction/auctioneer.js').start>} AuctioneerKit */
|
|
24
|
-
/**
|
|
25
|
-
* @typedef {WellKnownSpaces & ChainBootstrapSpace & EconomyBootstrapSpace} EconomyBootstrapPowers
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* @typedef {PromiseSpaceOf<{
|
|
29
|
-
* economicCommitteeKit: CommitteeStartResult;
|
|
30
|
-
* economicCommitteeCreatorFacet: import('@agoric/governance/src/committee.js').CommitteeElectorateCreatorFacet;
|
|
31
|
-
* feeDistributorKit: StartedInstanceKit<
|
|
32
|
-
* typeof import('../feeDistributor.js').start
|
|
33
|
-
* >;
|
|
34
|
-
* periodicFeeCollectors: MapStore<
|
|
35
|
-
* number,
|
|
36
|
-
* import('../feeDistributor.js').PeriodicFeeCollector
|
|
37
|
-
* >;
|
|
38
|
-
* psmKit: MapStore<Brand, PSMKit>;
|
|
39
|
-
* anchorBalancePayments: MapStore<Brand, Payment<'nat'>>;
|
|
40
|
-
* econCharterKit: EconCharterStartResult;
|
|
41
|
-
* reserveKit: GovernanceFacetKit<
|
|
42
|
-
* import('../reserve/assetReserve.js')['start']
|
|
43
|
-
* >;
|
|
44
|
-
* vaultFactoryKit: GovernanceFacetKit<VFStart>;
|
|
45
|
-
* auctioneerKit: AuctioneerKit;
|
|
46
|
-
* newAuctioneerKit: AuctioneerKit | undefined;
|
|
47
|
-
* minInitialDebt: NatValue;
|
|
48
|
-
* }>} EconomyBootstrapSpace
|
|
49
|
-
*/
|
|
50
|
-
/**
|
|
51
|
-
* @typedef {StartedInstanceKit<
|
|
52
|
-
* import('../econCommitteeCharter.js')['start']
|
|
53
|
-
* >} EconCharterStartResult
|
|
54
|
-
*/
|
|
55
|
-
/**
|
|
56
|
-
* @typedef {StartedInstanceKit<
|
|
57
|
-
* import('@agoric/governance/src/committee.js')['start']
|
|
58
|
-
* >} CommitteeStartResult
|
|
59
|
-
*/
|
|
60
|
-
/**
|
|
61
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
62
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
63
|
-
* vat config.
|
|
64
|
-
*
|
|
65
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
66
|
-
*
|
|
67
|
-
* In production called by @agoric/vats to bootstrap.
|
|
68
|
-
*/
|
|
69
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
8
|
+
feeMintAccess: FeeMintAccess;
|
|
70
9
|
initialPoserInvitation: Invitation;
|
|
71
10
|
marshaller: ERef<Marshaller>;
|
|
72
11
|
storageNode: ERef<StorageNode>;
|
|
73
12
|
}, baggage: import("@agoric/vat-data").Baggage) => Promise<{
|
|
74
|
-
creatorFacet:
|
|
13
|
+
creatorFacet: GovernedCreatorFacet<import("@endo/exo").Guarded<{
|
|
75
14
|
addIssuer(issuer: Issuer, keyword: string): Promise<void>;
|
|
76
15
|
getAllocations(): Allocation;
|
|
77
16
|
makeShortfallReportingInvitation(): Promise<Invitation<import("@endo/exo").Guarded<{
|
|
@@ -79,7 +18,7 @@ export function setupReserve({ consume: { board, feeMintAccess: feeMintAccessP,
|
|
|
79
18
|
reduceLiquidationShortfall(reduction: Amount<"nat">): void;
|
|
80
19
|
}>, undefined>>;
|
|
81
20
|
}>>;
|
|
82
|
-
publicFacet:
|
|
21
|
+
publicFacet: GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
83
22
|
makeAddCollateralInvitation(): Promise<Invitation<string, never>>;
|
|
84
23
|
getPublicTopics(): {
|
|
85
24
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../reserve/assetReserveKit.js").MetricsNotification>;
|
|
@@ -270,31 +209,7 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: VaultFactoryZCF,
|
|
|
270
209
|
};
|
|
271
210
|
}>;
|
|
272
211
|
lockOraclePrices(): import("@agoric/zoe/tools/types.js").PriceQuote;
|
|
273
|
-
liquidateVaults(auctionPF:
|
|
274
|
-
getElectorate: () => import("@agoric/ertp/src/types.js").SetAmount<import("@endo/patterns").Key>;
|
|
275
|
-
getStartFrequency: () => RelativeTime;
|
|
276
|
-
getClockStep: () => RelativeTime;
|
|
277
|
-
getStartingRate: () => bigint;
|
|
278
|
-
getLowestRate: () => bigint;
|
|
279
|
-
getDiscountStep: () => bigint;
|
|
280
|
-
getAuctionStartDelay: () => RelativeTime;
|
|
281
|
-
getPriceLockPeriod: () => RelativeTime;
|
|
282
|
-
makeBidInvitation(collateralBrand: Brand<"nat">): Promise<Invitation<string, import("../auction/auctionBook.js").OfferSpec>>;
|
|
283
|
-
getSchedules(): {
|
|
284
|
-
liveAuctionSchedule: import("../auction/scheduler.js").Schedule | null;
|
|
285
|
-
nextAuctionSchedule: import("../auction/scheduler.js").Schedule | null;
|
|
286
|
-
};
|
|
287
|
-
getScheduleUpdates(): globalThis.Subscriber<import("../auction/scheduler.js").ScheduleNotification>;
|
|
288
|
-
getBookDataUpdates(brand: any): globalThis.Subscriber<import("../auction/auctionBook.js").BookDataNotification>;
|
|
289
|
-
getPublicTopics(brand: any): {
|
|
290
|
-
bookData: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/auctionBook.js").BookDataNotification>;
|
|
291
|
-
} | {
|
|
292
|
-
schedule: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/scheduler.js").ScheduleNotification>;
|
|
293
|
-
};
|
|
294
|
-
makeDepositInvitation: () => Promise<Invitation<string, {
|
|
295
|
-
goal: import("@agoric/ertp/src/types.js").NatAmount;
|
|
296
|
-
}>>;
|
|
297
|
-
}>>): Promise<void>;
|
|
212
|
+
liquidateVaults(auctionPF: ERef<AuctioneerPublicFacet>): Promise<void>;
|
|
298
213
|
}>>;
|
|
299
214
|
makeCollectFeesInvitation(): Promise<Invitation<string, undefined>>;
|
|
300
215
|
getRewardAllocation(): Allocation;
|
|
@@ -315,7 +230,7 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: VaultFactoryZCF,
|
|
|
315
230
|
}>;
|
|
316
231
|
setShortfallReporter(newInvitation: any): Promise<void>;
|
|
317
232
|
}>;
|
|
318
|
-
getGovernedApis():
|
|
233
|
+
getGovernedApis(): ERef<GovernedApis>;
|
|
319
234
|
getGovernedApiNames(): never[];
|
|
320
235
|
setOfferFilter: (strings: any) => Promise<void>;
|
|
321
236
|
}>;
|
|
@@ -380,23 +295,9 @@ export type PSMKit = {
|
|
|
380
295
|
psmGovernorCreatorFacet: GovernorCreatorFacet<typeof import("../psm/psm.js")["start"]>;
|
|
381
296
|
psmAdminFacet: AdminFacet;
|
|
382
297
|
};
|
|
383
|
-
export type AuctioneerKit = GovernanceFacetKit<(zcf: ZCF<
|
|
384
|
-
Electorate: "invitation";
|
|
385
|
-
StartFrequency: "relativeTime";
|
|
386
|
-
ClockStep: "relativeTime";
|
|
387
|
-
StartingRate: "nat";
|
|
388
|
-
LowestRate: "nat";
|
|
389
|
-
DiscountStep: "nat";
|
|
390
|
-
AuctionStartDelay: "relativeTime";
|
|
391
|
-
PriceLockPeriod: "relativeTime";
|
|
392
|
-
}> & {
|
|
298
|
+
export type AuctioneerKit = GovernanceFacetKit<(zcf: ZCF<GovernanceTerms<typeof import("../auction/params.js").auctioneerParamTypes> & {
|
|
393
299
|
timerService: import("@agoric/time").TimerService;
|
|
394
|
-
reservePublicFacet:
|
|
395
|
-
makeAddCollateralInvitation(): Promise<Invitation<string, never>>;
|
|
396
|
-
getPublicTopics(): {
|
|
397
|
-
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../reserve/assetReserveKit.js").MetricsNotification>;
|
|
398
|
-
};
|
|
399
|
-
}>>;
|
|
300
|
+
reservePublicFacet: AssetReservePublicFacet;
|
|
400
301
|
priceAuthority: import("@agoric/zoe/tools/types.js").PriceAuthority;
|
|
401
302
|
}>, privateArgs: {
|
|
402
303
|
initialPoserInvitation: Invitation;
|
|
@@ -404,14 +305,14 @@ export type AuctioneerKit = GovernanceFacetKit<(zcf: ZCF<globalThis.GovernanceTe
|
|
|
404
305
|
marshaller: Marshaller;
|
|
405
306
|
}, baggage: import("@agoric/vat-data").Baggage) => Promise<{
|
|
406
307
|
publicFacet: globalThis.GovernedPublicFacet<{
|
|
407
|
-
getElectorate: () => import("@agoric/
|
|
408
|
-
getStartFrequency: () =>
|
|
409
|
-
getClockStep: () =>
|
|
410
|
-
getStartingRate: () =>
|
|
411
|
-
getLowestRate: () =>
|
|
412
|
-
getDiscountStep: () =>
|
|
413
|
-
getAuctionStartDelay: () =>
|
|
414
|
-
getPriceLockPeriod: () =>
|
|
308
|
+
getElectorate: () => import("@agoric/governance/src/types.js").ParamValueForType<"invitation">;
|
|
309
|
+
getStartFrequency: () => import("@agoric/governance/src/types.js").ParamValueForType<"relativeTime">;
|
|
310
|
+
getClockStep: () => import("@agoric/governance/src/types.js").ParamValueForType<"relativeTime">;
|
|
311
|
+
getStartingRate: () => import("@agoric/governance/src/types.js").ParamValueForType<"nat">;
|
|
312
|
+
getLowestRate: () => import("@agoric/governance/src/types.js").ParamValueForType<"nat">;
|
|
313
|
+
getDiscountStep: () => import("@agoric/governance/src/types.js").ParamValueForType<"nat">;
|
|
314
|
+
getAuctionStartDelay: () => import("@agoric/governance/src/types.js").ParamValueForType<"relativeTime">;
|
|
315
|
+
getPriceLockPeriod: () => import("@agoric/governance/src/types.js").ParamValueForType<"relativeTime">;
|
|
415
316
|
makeBidInvitation(collateralBrand: Brand<"nat">): Promise<Invitation<string, import("../auction/auctionBook.js").OfferSpec>>;
|
|
416
317
|
getSchedules(): {
|
|
417
318
|
liveAuctionSchedule: import("../auction/scheduler.js").Schedule | null;
|
|
@@ -425,7 +326,7 @@ export type AuctioneerKit = GovernanceFacetKit<(zcf: ZCF<globalThis.GovernanceTe
|
|
|
425
326
|
schedule: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/scheduler.js").ScheduleNotification>;
|
|
426
327
|
};
|
|
427
328
|
makeDepositInvitation: () => Promise<Invitation<string, {
|
|
428
|
-
goal:
|
|
329
|
+
goal: Amount<"nat">;
|
|
429
330
|
}>>;
|
|
430
331
|
}>;
|
|
431
332
|
creatorFacet: globalThis.GovernedCreatorFacet<{
|
|
@@ -437,305 +338,49 @@ export type AuctioneerKit = GovernanceFacetKit<(zcf: ZCF<globalThis.GovernanceTe
|
|
|
437
338
|
}>>;
|
|
438
339
|
}>>;
|
|
439
340
|
export type EconomyBootstrapPowers = WellKnownSpaces & ChainBootstrapSpace & EconomyBootstrapSpace;
|
|
440
|
-
export type EconomyBootstrapSpace = {
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
setKeywordShares: (newShares: Record<Keyword, bigint>) => void;
|
|
468
|
-
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
469
|
-
makeContractFeeCollector: (zoe: ERef<ZoeService>, creatorFacet: ERef<CollectibleContractFacet>) => {
|
|
470
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
471
|
-
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
472
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
473
|
-
}>;
|
|
474
|
-
startPeriodicCollection: (debugName: string, collectorP: ERef<FeeCollector>) => Promise<import("../feeDistributor.js").PeriodicFeeCollector>;
|
|
475
|
-
makeDepositFacetDestination: (depositFacet: import("@endo/far").EOnly<import("@agoric/ertp/src/types.js").DepositFacet>) => {
|
|
476
|
-
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
477
|
-
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
478
|
-
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
479
|
-
}>;
|
|
480
|
-
makeOfferDestination: (zoe: ERef<ZoeService>, keyword: string, target: unknown, makeInvitationMethod: PropertyKey, args?: unknown[] | undefined) => {
|
|
481
|
-
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
482
|
-
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
483
|
-
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
341
|
+
export type EconomyBootstrapSpace = PromiseSpaceOf<{
|
|
342
|
+
economicCommitteeKit: CommitteeStartResult;
|
|
343
|
+
economicCommitteeCreatorFacet: import("@agoric/governance/src/committee.js").CommitteeElectorateCreatorFacet;
|
|
344
|
+
feeDistributorKit: StartedInstanceKit<typeof import("../feeDistributor.js").start>;
|
|
345
|
+
periodicFeeCollectors: MapStore<number, import("../feeDistributor.js").PeriodicFeeCollector>;
|
|
346
|
+
psmKit: MapStore<Brand, PSMKit>;
|
|
347
|
+
anchorBalancePayments: MapStore<Brand, Payment<"nat">>;
|
|
348
|
+
econCharterKit: EconCharterStartResult;
|
|
349
|
+
reserveKit: GovernanceFacetKit<typeof import("../reserve/assetReserve.js")["start"]>;
|
|
350
|
+
vaultFactoryKit: GovernanceFacetKit<(zcf: VaultFactoryZCF, privateArgs: {
|
|
351
|
+
feeMintAccess: FeeMintAccess;
|
|
352
|
+
initialPoserInvitation: Invitation;
|
|
353
|
+
initialShortfallInvitation: Invitation;
|
|
354
|
+
storageNode: ERef<StorageNode>;
|
|
355
|
+
marshaller: ERef<Marshaller>;
|
|
356
|
+
auctioneerInstance: Instance;
|
|
357
|
+
managerParams: Record<string, import("../vaultFactory/params.js").VaultManagerParamOverrides>;
|
|
358
|
+
}, baggage: import("@agoric/swingset-liveslots").Baggage) => Promise<{
|
|
359
|
+
creatorFacet: import("@endo/exo").Guarded<{
|
|
360
|
+
getParamMgrRetriever: () => {
|
|
361
|
+
get: (paramPath?: VaultFactoryParamPath) => import("../vaultFactory/vaultDirector.js").VaultDirectorParamManager | import("@agoric/governance/src/contractGovernance/typedParamManager.js").TypedParamManager<{
|
|
362
|
+
DebtLimit: "amount";
|
|
363
|
+
InterestRate: "ratio";
|
|
364
|
+
LiquidationPadding: "ratio";
|
|
365
|
+
LiquidationMargin: "ratio";
|
|
366
|
+
LiquidationPenalty: "ratio";
|
|
367
|
+
MintFee: "ratio";
|
|
484
368
|
}>;
|
|
485
|
-
setDestinations: (newDestinations: Record<Keyword, ERef<FeeDestination>>) => Promise<void>;
|
|
486
|
-
setKeywordShares: (newShares: Record<Keyword, bigint>) => void;
|
|
487
|
-
}>;
|
|
488
|
-
publicFacet: {
|
|
489
|
-
distributeFees: (payment: Payment<"nat">) => Promise<void>;
|
|
490
|
-
getKeywordShares: () => Record<string, bigint>;
|
|
491
369
|
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
econCharterKit: Promise<EconCharterStartResult>;
|
|
500
|
-
reserveKit: Promise<globalThis.GovernanceFacetKit<(zcf: ZCF<GovernanceTerms<{}> & {
|
|
501
|
-
governedApis: ["burnFeesToReduceShortfall"];
|
|
502
|
-
}>, privateArgs: {
|
|
503
|
-
feeMintAccess: FeeMintAccess; /**
|
|
504
|
-
* @typedef {object} PSMKit
|
|
505
|
-
* @property {string} label
|
|
506
|
-
* @property {Instance} psm
|
|
507
|
-
* @property {Instance} psmGovernor
|
|
508
|
-
* @property {Awaited<
|
|
509
|
-
* ReturnType<
|
|
510
|
-
* Awaited<
|
|
511
|
-
* ReturnType<import('../psm/psm.js')['start']>
|
|
512
|
-
* >['creatorFacet']['getLimitedCreatorFacet']
|
|
513
|
-
* >
|
|
514
|
-
* >} psmCreatorFacet
|
|
515
|
-
* @property {GovernorCreatorFacet<import('../../src/psm/psm.js')['start']>} psmGovernorCreatorFacet
|
|
516
|
-
* @property {AdminFacet} psmAdminFacet
|
|
517
|
-
*/
|
|
518
|
-
/** @typedef {GovernanceFacetKit<import('../auction/auctioneer.js').start>} AuctioneerKit */
|
|
519
|
-
/**
|
|
520
|
-
* @typedef {WellKnownSpaces & ChainBootstrapSpace & EconomyBootstrapSpace} EconomyBootstrapPowers
|
|
521
|
-
*
|
|
522
|
-
*
|
|
523
|
-
* @typedef {PromiseSpaceOf<{
|
|
524
|
-
* economicCommitteeKit: CommitteeStartResult;
|
|
525
|
-
* economicCommitteeCreatorFacet: import('@agoric/governance/src/committee.js').CommitteeElectorateCreatorFacet;
|
|
526
|
-
* feeDistributorKit: StartedInstanceKit<
|
|
527
|
-
* typeof import('../feeDistributor.js').start
|
|
528
|
-
* >;
|
|
529
|
-
* periodicFeeCollectors: MapStore<
|
|
530
|
-
* number,
|
|
531
|
-
* import('../feeDistributor.js').PeriodicFeeCollector
|
|
532
|
-
* >;
|
|
533
|
-
* psmKit: MapStore<Brand, PSMKit>;
|
|
534
|
-
* anchorBalancePayments: MapStore<Brand, Payment<'nat'>>;
|
|
535
|
-
* econCharterKit: EconCharterStartResult;
|
|
536
|
-
* reserveKit: GovernanceFacetKit<
|
|
537
|
-
* import('../reserve/assetReserve.js')['start']
|
|
538
|
-
* >;
|
|
539
|
-
* vaultFactoryKit: GovernanceFacetKit<VFStart>;
|
|
540
|
-
* auctioneerKit: AuctioneerKit;
|
|
541
|
-
* newAuctioneerKit: AuctioneerKit | undefined;
|
|
542
|
-
* minInitialDebt: NatValue;
|
|
543
|
-
* }>} EconomyBootstrapSpace
|
|
544
|
-
*/
|
|
545
|
-
/**
|
|
546
|
-
* @typedef {StartedInstanceKit<
|
|
547
|
-
* import('../econCommitteeCharter.js')['start']
|
|
548
|
-
* >} EconCharterStartResult
|
|
549
|
-
*/
|
|
550
|
-
/**
|
|
551
|
-
* @typedef {StartedInstanceKit<
|
|
552
|
-
* import('@agoric/governance/src/committee.js')['start']
|
|
553
|
-
* >} CommitteeStartResult
|
|
554
|
-
*/
|
|
555
|
-
/**
|
|
556
|
-
* @file A collection of productions, each of which declares inputs and outputs.
|
|
557
|
-
* Each function is passed a set of powers for reading from and writing to the
|
|
558
|
-
* vat config.
|
|
559
|
-
*
|
|
560
|
-
* Each of the things they produce they're responsible for resolving or setting.
|
|
561
|
-
*
|
|
562
|
-
* In production called by @agoric/vats to bootstrap.
|
|
563
|
-
*/
|
|
564
|
-
/** @param {EconomyBootstrapPowers} powers */
|
|
565
|
-
initialPoserInvitation: Invitation;
|
|
566
|
-
marshaller: ERef<Marshaller>;
|
|
567
|
-
storageNode: ERef<StorageNode>;
|
|
568
|
-
}, baggage: import("@agoric/vat-data").Baggage) => Promise<{
|
|
569
|
-
creatorFacet: globalThis.GovernedCreatorFacet<import("@endo/exo").Guarded<{
|
|
570
|
-
addIssuer(issuer: Issuer, keyword: string): Promise<void>;
|
|
571
|
-
getAllocations(): Allocation;
|
|
572
|
-
makeShortfallReportingInvitation(): Promise<Invitation<import("@endo/exo").Guarded<{
|
|
573
|
-
increaseLiquidationShortfall(shortfall: Amount<"nat">): void;
|
|
574
|
-
reduceLiquidationShortfall(reduction: Amount<"nat">): void;
|
|
575
|
-
}>, undefined>>;
|
|
576
|
-
}>>;
|
|
577
|
-
publicFacet: globalThis.GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
578
|
-
makeAddCollateralInvitation(): Promise<Invitation<string, never>>;
|
|
579
|
-
getPublicTopics(): {
|
|
580
|
-
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../reserve/assetReserveKit.js").MetricsNotification>;
|
|
581
|
-
};
|
|
582
|
-
}>>;
|
|
583
|
-
}>>>;
|
|
584
|
-
vaultFactoryKit: Promise<globalThis.GovernanceFacetKit<(zcf: VaultFactoryZCF, privateArgs: {
|
|
585
|
-
feeMintAccess: FeeMintAccess;
|
|
586
|
-
initialPoserInvitation: Invitation;
|
|
587
|
-
initialShortfallInvitation: Invitation;
|
|
588
|
-
storageNode: ERef<StorageNode>;
|
|
589
|
-
marshaller: ERef<Marshaller>;
|
|
590
|
-
auctioneerInstance: Instance;
|
|
591
|
-
managerParams: Record<string, import("../vaultFactory/params.js").VaultManagerParamOverrides>;
|
|
592
|
-
}, baggage: import("@agoric/swingset-liveslots").Baggage) => Promise<{
|
|
593
|
-
creatorFacet: import("@endo/exo").Guarded<{
|
|
594
|
-
getParamMgrRetriever: () => {
|
|
595
|
-
get: (paramPath?: VaultFactoryParamPath) => import("../vaultFactory/vaultDirector.js").VaultDirectorParamManager | import("@agoric/governance/src/contractGovernance/typedParamManager.js").TypedParamManager<{
|
|
596
|
-
DebtLimit: "amount";
|
|
597
|
-
InterestRate: "ratio";
|
|
598
|
-
LiquidationPadding: "ratio";
|
|
599
|
-
LiquidationMargin: "ratio";
|
|
600
|
-
LiquidationPenalty: "ratio";
|
|
601
|
-
MintFee: "ratio";
|
|
602
|
-
}>;
|
|
603
|
-
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
604
|
-
get: (paramPath?: VaultFactoryParamPath) => import("../vaultFactory/vaultDirector.js").VaultDirectorParamManager | import("@agoric/governance/src/contractGovernance/typedParamManager.js").TypedParamManager<{
|
|
605
|
-
DebtLimit: "amount";
|
|
606
|
-
InterestRate: "ratio";
|
|
607
|
-
LiquidationPadding: "ratio";
|
|
608
|
-
LiquidationMargin: "ratio";
|
|
609
|
-
LiquidationPenalty: "ratio";
|
|
610
|
-
MintFee: "ratio";
|
|
611
|
-
}>;
|
|
612
|
-
}>;
|
|
613
|
-
getInvitation(name: string): Promise<Invitation<unknown, undefined>>;
|
|
614
|
-
getLimitedCreatorFacet(): import("@endo/exo").Guarded<{
|
|
615
|
-
addVaultType(collateralIssuer: Issuer<"nat">, collateralKeyword: Keyword, initialParamValues: VaultManagerParamValues): Promise<import("@endo/exo").Guarded<{
|
|
616
|
-
getGovernedParams(): import("../vaultFactory/vaultManager.js").GovernedParamGetters;
|
|
617
|
-
makeVaultKit(seat: ZCFSeat): Promise<{
|
|
618
|
-
publicSubscribers: {
|
|
619
|
-
vault: {
|
|
620
|
-
description: string;
|
|
621
|
-
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
622
|
-
storagePath: Promise<string>;
|
|
623
|
-
};
|
|
624
|
-
};
|
|
625
|
-
invitationMakers: import("@endo/exo").Guarded<{
|
|
626
|
-
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
627
|
-
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
628
|
-
TransferVault(): Promise<Invitation<any, undefined>>;
|
|
629
|
-
}>;
|
|
630
|
-
vault: import("@endo/exo").Guarded<{
|
|
631
|
-
getPublicTopics(): {
|
|
632
|
-
vault: {
|
|
633
|
-
description: string;
|
|
634
|
-
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
635
|
-
storagePath: Promise<string>;
|
|
636
|
-
};
|
|
637
|
-
};
|
|
638
|
-
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
639
|
-
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
640
|
-
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
641
|
-
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
642
|
-
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
643
|
-
getNormalizedDebt(): import("../vaultFactory/storeUtils.js").NormalizedDebt;
|
|
644
|
-
}>;
|
|
645
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
646
|
-
}>;
|
|
647
|
-
getCollateralQuote(): import("@agoric/zoe/tools/types.js").PriceQuote;
|
|
648
|
-
getPublicFacet(): import("@endo/exo").Guarded<{
|
|
649
|
-
makeVaultInvitation(): Promise<Invitation<{
|
|
650
|
-
publicSubscribers: {
|
|
651
|
-
vault: {
|
|
652
|
-
description: string;
|
|
653
|
-
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
654
|
-
storagePath: Promise<string>;
|
|
655
|
-
};
|
|
656
|
-
};
|
|
657
|
-
invitationMakers: import("@endo/exo").Guarded<{
|
|
658
|
-
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
659
|
-
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
660
|
-
TransferVault(): Promise<Invitation<any, undefined>>;
|
|
661
|
-
}>;
|
|
662
|
-
vault: import("@endo/exo").Guarded<{
|
|
663
|
-
getPublicTopics(): {
|
|
664
|
-
vault: {
|
|
665
|
-
description: string;
|
|
666
|
-
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
667
|
-
storagePath: Promise<string>;
|
|
668
|
-
};
|
|
669
|
-
};
|
|
670
|
-
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
671
|
-
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
672
|
-
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
673
|
-
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
674
|
-
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
675
|
-
getNormalizedDebt(): import("../vaultFactory/storeUtils.js").NormalizedDebt;
|
|
676
|
-
}>;
|
|
677
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
678
|
-
}, undefined>>;
|
|
679
|
-
getQuotes(): import("@agoric/notifier").StoredNotifier<import("@agoric/zoe/tools/types.js").PriceQuote>;
|
|
680
|
-
getCompoundedInterest(): Ratio;
|
|
681
|
-
getPublicTopics(): {
|
|
682
|
-
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").AssetState>;
|
|
683
|
-
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").MetricsNotification>;
|
|
684
|
-
};
|
|
685
|
-
}>;
|
|
686
|
-
lockOraclePrices(): import("@agoric/zoe/tools/types.js").PriceQuote;
|
|
687
|
-
liquidateVaults(auctionPF: globalThis.ERef<globalThis.GovernedPublicFacet<{
|
|
688
|
-
getElectorate: () => import("@agoric/ertp/src/types.js").SetAmount<import("@endo/patterns").Key>;
|
|
689
|
-
getStartFrequency: () => RelativeTime;
|
|
690
|
-
getClockStep: () => RelativeTime;
|
|
691
|
-
getStartingRate: () => bigint;
|
|
692
|
-
getLowestRate: () => bigint;
|
|
693
|
-
getDiscountStep: () => bigint;
|
|
694
|
-
getAuctionStartDelay: () => RelativeTime;
|
|
695
|
-
getPriceLockPeriod: () => RelativeTime;
|
|
696
|
-
makeBidInvitation(collateralBrand: Brand<"nat">): Promise<Invitation<string, import("../auction/auctionBook.js").OfferSpec>>;
|
|
697
|
-
getSchedules(): {
|
|
698
|
-
liveAuctionSchedule: import("../auction/scheduler.js").Schedule | null;
|
|
699
|
-
nextAuctionSchedule: import("../auction/scheduler.js").Schedule | null;
|
|
700
|
-
};
|
|
701
|
-
getScheduleUpdates(): globalThis.Subscriber<import("../auction/scheduler.js").ScheduleNotification>;
|
|
702
|
-
getBookDataUpdates(brand: any): globalThis.Subscriber<import("../auction/auctionBook.js").BookDataNotification>;
|
|
703
|
-
getPublicTopics(brand: any): {
|
|
704
|
-
bookData: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/auctionBook.js").BookDataNotification>;
|
|
705
|
-
} | {
|
|
706
|
-
schedule: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/scheduler.js").ScheduleNotification>;
|
|
707
|
-
};
|
|
708
|
-
makeDepositInvitation: () => Promise<Invitation<string, {
|
|
709
|
-
goal: import("@agoric/ertp/src/types.js").NatAmount;
|
|
710
|
-
}>>;
|
|
711
|
-
}>>): Promise<void>;
|
|
712
|
-
}>>;
|
|
713
|
-
makeCollectFeesInvitation(): Promise<Invitation<string, undefined>>;
|
|
714
|
-
getRewardAllocation(): Allocation;
|
|
715
|
-
makeLiquidationWaker(): {
|
|
716
|
-
wake: (timestamp: any) => any;
|
|
717
|
-
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
718
|
-
wake: (timestamp: any) => any;
|
|
719
|
-
}>;
|
|
720
|
-
makeReschedulerWaker(): {
|
|
721
|
-
wake: (timestamp: any) => any;
|
|
722
|
-
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
723
|
-
wake: (timestamp: any) => any;
|
|
724
|
-
}>;
|
|
725
|
-
makePriceLockWaker(): {
|
|
726
|
-
wake: (timestamp: any) => any;
|
|
727
|
-
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
728
|
-
wake: (timestamp: any) => any;
|
|
729
|
-
}>;
|
|
730
|
-
setShortfallReporter(newInvitation: any): Promise<void>;
|
|
370
|
+
get: (paramPath?: VaultFactoryParamPath) => import("../vaultFactory/vaultDirector.js").VaultDirectorParamManager | import("@agoric/governance/src/contractGovernance/typedParamManager.js").TypedParamManager<{
|
|
371
|
+
DebtLimit: "amount";
|
|
372
|
+
InterestRate: "ratio";
|
|
373
|
+
LiquidationPadding: "ratio";
|
|
374
|
+
LiquidationMargin: "ratio";
|
|
375
|
+
LiquidationPenalty: "ratio";
|
|
376
|
+
MintFee: "ratio";
|
|
731
377
|
}>;
|
|
732
|
-
getGovernedApis(): globalThis.ERef<globalThis.GovernedApis>;
|
|
733
|
-
getGovernedApiNames(): never[];
|
|
734
|
-
setOfferFilter: (strings: any) => Promise<void>;
|
|
735
378
|
}>;
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
379
|
+
getInvitation(name: string): Promise<Invitation<unknown, undefined>>;
|
|
380
|
+
getLimitedCreatorFacet(): import("@endo/exo").Guarded<{
|
|
381
|
+
addVaultType(collateralIssuer: Issuer<"nat">, collateralKeyword: Keyword, initialParamValues: VaultManagerParamValues): Promise<import("@endo/exo").Guarded<{
|
|
382
|
+
getGovernedParams(): import("../vaultFactory/vaultManager.js").GovernedParamGetters;
|
|
383
|
+
makeVaultKit(seat: ZCFSeat): Promise<{
|
|
739
384
|
publicSubscribers: {
|
|
740
385
|
vault: {
|
|
741
386
|
description: string;
|
|
@@ -764,148 +409,10 @@ export type EconomyBootstrapSpace = {
|
|
|
764
409
|
getNormalizedDebt(): import("../vaultFactory/storeUtils.js").NormalizedDebt;
|
|
765
410
|
}>;
|
|
766
411
|
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
767
|
-
}, undefined>>;
|
|
768
|
-
getQuotes(): import("@agoric/notifier").StoredNotifier<import("@agoric/zoe/tools/types.js").PriceQuote>;
|
|
769
|
-
getCompoundedInterest(): Ratio;
|
|
770
|
-
getPublicTopics(): {
|
|
771
|
-
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").AssetState>;
|
|
772
|
-
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").MetricsNotification>;
|
|
773
|
-
};
|
|
774
|
-
}>;
|
|
775
|
-
getDebtIssuer(): globalThis.Issuer<"nat", import("@endo/patterns").Key>;
|
|
776
|
-
getSubscription({ collateralBrand }: {
|
|
777
|
-
collateralBrand: Brand;
|
|
778
|
-
}): globalThis.StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
779
|
-
getPublicTopics(): {
|
|
780
|
-
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultDirector.js").MetricsNotification>;
|
|
781
|
-
};
|
|
782
|
-
getElectorateSubscription(): globalThis.StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
783
|
-
getGovernedParams({ collateralBrand }: {
|
|
784
|
-
collateralBrand: Brand;
|
|
785
|
-
}): globalThis.ERef<globalThis.ParamStateRecord>;
|
|
786
|
-
getInvitationAmount(name: string): import("@agoric/ertp/src/types.js").SetAmount<InvitationDetails>;
|
|
787
|
-
}>;
|
|
788
|
-
}>>>;
|
|
789
|
-
auctioneerKit: Promise<AuctioneerKit>;
|
|
790
|
-
newAuctioneerKit: Promise<AuctioneerKit | undefined>;
|
|
791
|
-
minInitialDebt: Promise<bigint>;
|
|
792
|
-
};
|
|
793
|
-
produce: {
|
|
794
|
-
economicCommitteeKit: Producer<CommitteeStartResult>;
|
|
795
|
-
economicCommitteeCreatorFacet: Producer<import("@agoric/governance/src/committee.js").CommitteeElectorateCreatorFacet>;
|
|
796
|
-
feeDistributorKit: Producer<StartedInstanceKit<(zcf: ZCF<{
|
|
797
|
-
keywordShares: Record<string, bigint>;
|
|
798
|
-
timerService: globalThis.ERef<import("@agoric/time").TimerService>;
|
|
799
|
-
collectionInterval: RelativeTime;
|
|
800
|
-
}>) => Promise<{
|
|
801
|
-
creatorFacet: {
|
|
802
|
-
makeContractFeeCollector: (zoe: ERef<ZoeService>, creatorFacet: ERef<CollectibleContractFacet>) => {
|
|
803
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
804
|
-
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
805
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
806
|
-
}>;
|
|
807
|
-
startPeriodicCollection: (debugName: string, collectorP: ERef<FeeCollector>) => Promise<import("../feeDistributor.js").PeriodicFeeCollector>;
|
|
808
|
-
makeDepositFacetDestination: (depositFacet: import("@endo/far").EOnly<import("@agoric/ertp/src/types.js").DepositFacet>) => {
|
|
809
|
-
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
810
|
-
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
811
|
-
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
812
|
-
}>;
|
|
813
|
-
makeOfferDestination: (zoe: ERef<ZoeService>, keyword: string, target: unknown, makeInvitationMethod: PropertyKey, args?: unknown[] | undefined) => {
|
|
814
|
-
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
815
|
-
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
816
|
-
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
817
|
-
}>;
|
|
818
|
-
setDestinations: (newDestinations: Record<Keyword, ERef<FeeDestination>>) => Promise<void>;
|
|
819
|
-
setKeywordShares: (newShares: Record<Keyword, bigint>) => void;
|
|
820
|
-
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
821
|
-
makeContractFeeCollector: (zoe: ERef<ZoeService>, creatorFacet: ERef<CollectibleContractFacet>) => {
|
|
822
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
823
|
-
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
824
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
825
|
-
}>;
|
|
826
|
-
startPeriodicCollection: (debugName: string, collectorP: ERef<FeeCollector>) => Promise<import("../feeDistributor.js").PeriodicFeeCollector>;
|
|
827
|
-
makeDepositFacetDestination: (depositFacet: import("@endo/far").EOnly<import("@agoric/ertp/src/types.js").DepositFacet>) => {
|
|
828
|
-
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
829
|
-
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
830
|
-
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
831
|
-
}>;
|
|
832
|
-
makeOfferDestination: (zoe: ERef<ZoeService>, keyword: string, target: unknown, makeInvitationMethod: PropertyKey, args?: unknown[] | undefined) => {
|
|
833
|
-
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
834
|
-
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
835
|
-
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
836
|
-
}>;
|
|
837
|
-
setDestinations: (newDestinations: Record<Keyword, ERef<FeeDestination>>) => Promise<void>;
|
|
838
|
-
setKeywordShares: (newShares: Record<Keyword, bigint>) => void;
|
|
839
|
-
}>;
|
|
840
|
-
publicFacet: {
|
|
841
|
-
distributeFees: (payment: Payment<"nat">) => Promise<void>;
|
|
842
|
-
getKeywordShares: () => Record<string, bigint>;
|
|
843
|
-
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
844
|
-
distributeFees: (payment: Payment<"nat">) => Promise<void>;
|
|
845
|
-
getKeywordShares: () => Record<string, bigint>;
|
|
846
|
-
}>;
|
|
847
|
-
}>>>;
|
|
848
|
-
periodicFeeCollectors: Producer<globalThis.MapStore<number, import("../feeDistributor.js").PeriodicFeeCollector>>;
|
|
849
|
-
psmKit: Producer<globalThis.MapStore<globalThis.Brand, PSMKit>>;
|
|
850
|
-
anchorBalancePayments: Producer<globalThis.MapStore<globalThis.Brand, globalThis.Payment<"nat">>>;
|
|
851
|
-
econCharterKit: Producer<EconCharterStartResult>;
|
|
852
|
-
reserveKit: Producer<globalThis.GovernanceFacetKit<(zcf: ZCF<GovernanceTerms<{}> & {
|
|
853
|
-
governedApis: ["burnFeesToReduceShortfall"];
|
|
854
|
-
}>, privateArgs: {
|
|
855
|
-
feeMintAccess: FeeMintAccess;
|
|
856
|
-
initialPoserInvitation: Invitation;
|
|
857
|
-
marshaller: ERef<Marshaller>;
|
|
858
|
-
storageNode: ERef<StorageNode>;
|
|
859
|
-
}, baggage: import("@agoric/vat-data").Baggage) => Promise<{
|
|
860
|
-
creatorFacet: globalThis.GovernedCreatorFacet<import("@endo/exo").Guarded<{
|
|
861
|
-
addIssuer(issuer: Issuer, keyword: string): Promise<void>;
|
|
862
|
-
getAllocations(): Allocation;
|
|
863
|
-
makeShortfallReportingInvitation(): Promise<Invitation<import("@endo/exo").Guarded<{
|
|
864
|
-
increaseLiquidationShortfall(shortfall: Amount<"nat">): void;
|
|
865
|
-
reduceLiquidationShortfall(reduction: Amount<"nat">): void;
|
|
866
|
-
}>, undefined>>;
|
|
867
|
-
}>>;
|
|
868
|
-
publicFacet: globalThis.GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
869
|
-
makeAddCollateralInvitation(): Promise<Invitation<string, never>>;
|
|
870
|
-
getPublicTopics(): {
|
|
871
|
-
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../reserve/assetReserveKit.js").MetricsNotification>;
|
|
872
|
-
};
|
|
873
|
-
}>>;
|
|
874
|
-
}>>>;
|
|
875
|
-
vaultFactoryKit: Producer<globalThis.GovernanceFacetKit<(zcf: VaultFactoryZCF, privateArgs: {
|
|
876
|
-
feeMintAccess: FeeMintAccess;
|
|
877
|
-
initialPoserInvitation: Invitation;
|
|
878
|
-
initialShortfallInvitation: Invitation;
|
|
879
|
-
storageNode: ERef<StorageNode>;
|
|
880
|
-
marshaller: ERef<Marshaller>;
|
|
881
|
-
auctioneerInstance: Instance;
|
|
882
|
-
managerParams: Record<string, import("../vaultFactory/params.js").VaultManagerParamOverrides>;
|
|
883
|
-
}, baggage: import("@agoric/swingset-liveslots").Baggage) => Promise<{
|
|
884
|
-
creatorFacet: import("@endo/exo").Guarded<{
|
|
885
|
-
getParamMgrRetriever: () => {
|
|
886
|
-
get: (paramPath?: VaultFactoryParamPath) => import("../vaultFactory/vaultDirector.js").VaultDirectorParamManager | import("@agoric/governance/src/contractGovernance/typedParamManager.js").TypedParamManager<{
|
|
887
|
-
DebtLimit: "amount";
|
|
888
|
-
InterestRate: "ratio";
|
|
889
|
-
LiquidationPadding: "ratio";
|
|
890
|
-
LiquidationMargin: "ratio";
|
|
891
|
-
LiquidationPenalty: "ratio";
|
|
892
|
-
MintFee: "ratio";
|
|
893
412
|
}>;
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
InterestRate: "ratio";
|
|
898
|
-
LiquidationPadding: "ratio";
|
|
899
|
-
LiquidationMargin: "ratio";
|
|
900
|
-
LiquidationPenalty: "ratio";
|
|
901
|
-
MintFee: "ratio";
|
|
902
|
-
}>;
|
|
903
|
-
}>;
|
|
904
|
-
getInvitation(name: string): Promise<Invitation<unknown, undefined>>;
|
|
905
|
-
getLimitedCreatorFacet(): import("@endo/exo").Guarded<{
|
|
906
|
-
addVaultType(collateralIssuer: Issuer<"nat">, collateralKeyword: Keyword, initialParamValues: VaultManagerParamValues): Promise<import("@endo/exo").Guarded<{
|
|
907
|
-
getGovernedParams(): import("../vaultFactory/vaultManager.js").GovernedParamGetters;
|
|
908
|
-
makeVaultKit(seat: ZCFSeat): Promise<{
|
|
413
|
+
getCollateralQuote(): import("@agoric/zoe/tools/types.js").PriceQuote;
|
|
414
|
+
getPublicFacet(): import("@endo/exo").Guarded<{
|
|
415
|
+
makeVaultInvitation(): Promise<Invitation<{
|
|
909
416
|
publicSubscribers: {
|
|
910
417
|
vault: {
|
|
911
418
|
description: string;
|
|
@@ -934,224 +441,99 @@ export type EconomyBootstrapSpace = {
|
|
|
934
441
|
getNormalizedDebt(): import("../vaultFactory/storeUtils.js").NormalizedDebt;
|
|
935
442
|
}>;
|
|
936
443
|
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
937
|
-
}
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
945
|
-
storagePath: Promise<string>;
|
|
946
|
-
};
|
|
947
|
-
};
|
|
948
|
-
invitationMakers: import("@endo/exo").Guarded<{
|
|
949
|
-
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
950
|
-
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
951
|
-
TransferVault(): Promise<Invitation<any, undefined>>;
|
|
952
|
-
}>;
|
|
953
|
-
vault: import("@endo/exo").Guarded<{
|
|
954
|
-
getPublicTopics(): {
|
|
955
|
-
vault: {
|
|
956
|
-
description: string;
|
|
957
|
-
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
958
|
-
storagePath: Promise<string>;
|
|
959
|
-
};
|
|
960
|
-
};
|
|
961
|
-
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
962
|
-
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
963
|
-
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
964
|
-
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
965
|
-
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
966
|
-
getNormalizedDebt(): import("../vaultFactory/storeUtils.js").NormalizedDebt;
|
|
967
|
-
}>;
|
|
968
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
969
|
-
}, undefined>>;
|
|
970
|
-
getQuotes(): import("@agoric/notifier").StoredNotifier<import("@agoric/zoe/tools/types.js").PriceQuote>;
|
|
971
|
-
getCompoundedInterest(): Ratio;
|
|
972
|
-
getPublicTopics(): {
|
|
973
|
-
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").AssetState>;
|
|
974
|
-
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").MetricsNotification>;
|
|
975
|
-
};
|
|
976
|
-
}>;
|
|
977
|
-
lockOraclePrices(): import("@agoric/zoe/tools/types.js").PriceQuote;
|
|
978
|
-
liquidateVaults(auctionPF: globalThis.ERef<globalThis.GovernedPublicFacet<{
|
|
979
|
-
getElectorate: () => import("@agoric/ertp/src/types.js").SetAmount<import("@endo/patterns").Key>;
|
|
980
|
-
getStartFrequency: () => RelativeTime;
|
|
981
|
-
getClockStep: () => RelativeTime;
|
|
982
|
-
getStartingRate: () => bigint;
|
|
983
|
-
getLowestRate: () => bigint;
|
|
984
|
-
getDiscountStep: () => bigint;
|
|
985
|
-
getAuctionStartDelay: () => RelativeTime;
|
|
986
|
-
getPriceLockPeriod: () => RelativeTime;
|
|
987
|
-
makeBidInvitation(collateralBrand: Brand<"nat">): Promise<Invitation<string, import("../auction/auctionBook.js").OfferSpec>>;
|
|
988
|
-
getSchedules(): {
|
|
989
|
-
liveAuctionSchedule: import("../auction/scheduler.js").Schedule | null;
|
|
990
|
-
nextAuctionSchedule: import("../auction/scheduler.js").Schedule | null;
|
|
991
|
-
};
|
|
992
|
-
getScheduleUpdates(): globalThis.Subscriber<import("../auction/scheduler.js").ScheduleNotification>;
|
|
993
|
-
getBookDataUpdates(brand: any): globalThis.Subscriber<import("../auction/auctionBook.js").BookDataNotification>;
|
|
994
|
-
getPublicTopics(brand: any): {
|
|
995
|
-
bookData: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/auctionBook.js").BookDataNotification>;
|
|
996
|
-
} | {
|
|
997
|
-
schedule: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/scheduler.js").ScheduleNotification>;
|
|
998
|
-
};
|
|
999
|
-
makeDepositInvitation: () => Promise<Invitation<string, {
|
|
1000
|
-
goal: import("@agoric/ertp/src/types.js").NatAmount;
|
|
1001
|
-
}>>;
|
|
1002
|
-
}>>): Promise<void>;
|
|
1003
|
-
}>>;
|
|
1004
|
-
makeCollectFeesInvitation(): Promise<Invitation<string, undefined>>;
|
|
1005
|
-
getRewardAllocation(): Allocation;
|
|
1006
|
-
makeLiquidationWaker(): {
|
|
1007
|
-
wake: (timestamp: any) => any;
|
|
1008
|
-
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
1009
|
-
wake: (timestamp: any) => any;
|
|
1010
|
-
}>;
|
|
1011
|
-
makeReschedulerWaker(): {
|
|
1012
|
-
wake: (timestamp: any) => any;
|
|
1013
|
-
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
1014
|
-
wake: (timestamp: any) => any;
|
|
1015
|
-
}>;
|
|
1016
|
-
makePriceLockWaker(): {
|
|
1017
|
-
wake: (timestamp: any) => any;
|
|
1018
|
-
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
1019
|
-
wake: (timestamp: any) => any;
|
|
444
|
+
}, undefined>>;
|
|
445
|
+
getQuotes(): import("@agoric/notifier").StoredNotifier<import("@agoric/zoe/tools/types.js").PriceQuote>;
|
|
446
|
+
getCompoundedInterest(): Ratio;
|
|
447
|
+
getPublicTopics(): {
|
|
448
|
+
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").AssetState>;
|
|
449
|
+
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").MetricsNotification>;
|
|
450
|
+
};
|
|
1020
451
|
}>;
|
|
1021
|
-
|
|
452
|
+
lockOraclePrices(): import("@agoric/zoe/tools/types.js").PriceQuote;
|
|
453
|
+
liquidateVaults(auctionPF: ERef<AuctioneerPublicFacet>): Promise<void>;
|
|
454
|
+
}>>;
|
|
455
|
+
makeCollectFeesInvitation(): Promise<Invitation<string, undefined>>;
|
|
456
|
+
getRewardAllocation(): Allocation;
|
|
457
|
+
makeLiquidationWaker(): {
|
|
458
|
+
wake: (timestamp: any) => any;
|
|
459
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
460
|
+
wake: (timestamp: any) => any;
|
|
461
|
+
}>;
|
|
462
|
+
makeReschedulerWaker(): {
|
|
463
|
+
wake: (timestamp: any) => any;
|
|
464
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
465
|
+
wake: (timestamp: any) => any;
|
|
466
|
+
}>;
|
|
467
|
+
makePriceLockWaker(): {
|
|
468
|
+
wake: (timestamp: any) => any;
|
|
469
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
470
|
+
wake: (timestamp: any) => any;
|
|
1022
471
|
}>;
|
|
1023
|
-
|
|
1024
|
-
getGovernedApiNames(): never[];
|
|
1025
|
-
setOfferFilter: (strings: any) => Promise<void>;
|
|
472
|
+
setShortfallReporter(newInvitation: any): Promise<void>;
|
|
1026
473
|
}>;
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
474
|
+
getGovernedApis(): ERef<GovernedApis>;
|
|
475
|
+
getGovernedApiNames(): never[];
|
|
476
|
+
setOfferFilter: (strings: any) => Promise<void>;
|
|
477
|
+
}>;
|
|
478
|
+
publicFacet: import("@endo/exo").Guarded<{
|
|
479
|
+
getCollateralManager(brandIn: Brand): import("@endo/exo").Guarded<{
|
|
480
|
+
makeVaultInvitation(): Promise<Invitation<{
|
|
481
|
+
publicSubscribers: {
|
|
482
|
+
vault: {
|
|
483
|
+
description: string;
|
|
484
|
+
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
485
|
+
storagePath: Promise<string>;
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
|
+
invitationMakers: import("@endo/exo").Guarded<{
|
|
489
|
+
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
490
|
+
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
491
|
+
TransferVault(): Promise<Invitation<any, undefined>>;
|
|
492
|
+
}>;
|
|
493
|
+
vault: import("@endo/exo").Guarded<{
|
|
494
|
+
getPublicTopics(): {
|
|
1031
495
|
vault: {
|
|
1032
496
|
description: string;
|
|
1033
497
|
subscriber: globalThis.Subscriber<VaultNotification>;
|
|
1034
498
|
storagePath: Promise<string>;
|
|
1035
499
|
};
|
|
1036
500
|
};
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
};
|
|
1049
|
-
};
|
|
1050
|
-
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
1051
|
-
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
1052
|
-
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
1053
|
-
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
1054
|
-
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
1055
|
-
getNormalizedDebt(): import("../vaultFactory/storeUtils.js").NormalizedDebt;
|
|
1056
|
-
}>;
|
|
1057
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
1058
|
-
}, undefined>>;
|
|
1059
|
-
getQuotes(): import("@agoric/notifier").StoredNotifier<import("@agoric/zoe/tools/types.js").PriceQuote>;
|
|
1060
|
-
getCompoundedInterest(): Ratio;
|
|
1061
|
-
getPublicTopics(): {
|
|
1062
|
-
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").AssetState>;
|
|
1063
|
-
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").MetricsNotification>;
|
|
1064
|
-
};
|
|
1065
|
-
}>;
|
|
1066
|
-
getDebtIssuer(): globalThis.Issuer<"nat", import("@endo/patterns").Key>;
|
|
1067
|
-
getSubscription({ collateralBrand }: {
|
|
1068
|
-
collateralBrand: Brand;
|
|
1069
|
-
}): globalThis.StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
501
|
+
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
502
|
+
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
503
|
+
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
504
|
+
getCollateralAmount(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
505
|
+
getCurrentDebt(): import("@agoric/ertp/src/types.js").NatAmount;
|
|
506
|
+
getNormalizedDebt(): import("../vaultFactory/storeUtils.js").NormalizedDebt;
|
|
507
|
+
}>;
|
|
508
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
509
|
+
}, undefined>>;
|
|
510
|
+
getQuotes(): import("@agoric/notifier").StoredNotifier<import("@agoric/zoe/tools/types.js").PriceQuote>;
|
|
511
|
+
getCompoundedInterest(): Ratio;
|
|
1070
512
|
getPublicTopics(): {
|
|
1071
|
-
|
|
513
|
+
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").AssetState>;
|
|
514
|
+
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultManager.js").MetricsNotification>;
|
|
1072
515
|
};
|
|
1073
|
-
getElectorateSubscription(): globalThis.StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
1074
|
-
getGovernedParams({ collateralBrand }: {
|
|
1075
|
-
collateralBrand: Brand;
|
|
1076
|
-
}): globalThis.ERef<globalThis.ParamStateRecord>;
|
|
1077
|
-
getInvitationAmount(name: string): import("@agoric/ertp/src/types.js").SetAmount<InvitationDetails>;
|
|
1078
516
|
}>;
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
makeCharterMemberInvitation: () => Promise<Invitation<{
|
|
1092
|
-
invitationMakers: import("@endo/exo").Guarded<{
|
|
1093
|
-
VoteOnParamChange: () => Promise<Invitation<import("@agoric/governance/src/types.js").ContractGovernanceVoteResult, import("../econCommitteeCharter.js").ParamChangesOfferArgs>>;
|
|
1094
|
-
VoteOnPauseOffers: (instance: any, strings: any, deadline: any) => Promise<Invitation<import("@agoric/governance/src/types.js").ContractGovernanceVoteResult, undefined>>;
|
|
1095
|
-
VoteOnApiCall: (instance: Instance, methodName: string, methodArgs: string[], deadline: import("@agoric/time").TimestampValue) => Promise<Invitation<import("@agoric/governance/src/types.js").ContractGovernanceVoteResult, undefined>>;
|
|
1096
|
-
}>;
|
|
1097
|
-
}, undefined>>;
|
|
1098
|
-
}>;
|
|
1099
|
-
}>>;
|
|
1100
|
-
adminFacet: import("@agoric/zoe/src/zoeService/utils.js").AdminFacet<(zcf: ZCF<{
|
|
1101
|
-
binaryVoteCounterInstallation: Installation;
|
|
1102
|
-
}>, privateArgs: undefined, baggage: import("@agoric/vat-data").Baggage) => Promise<{
|
|
1103
|
-
creatorFacet: import("@endo/exo").Guarded<{
|
|
1104
|
-
addInstance: (governedInstance: Instance, governorFacet: GovernorCreatorFacet<any>, label?: string | undefined) => void;
|
|
1105
|
-
makeCharterMemberInvitation: () => Promise<Invitation<{
|
|
1106
|
-
invitationMakers: import("@endo/exo").Guarded<{
|
|
1107
|
-
VoteOnParamChange: () => Promise<Invitation<import("@agoric/governance/src/types.js").ContractGovernanceVoteResult, import("../econCommitteeCharter.js").ParamChangesOfferArgs>>;
|
|
1108
|
-
VoteOnPauseOffers: (instance: any, strings: any, deadline: any) => Promise<Invitation<import("@agoric/governance/src/types.js").ContractGovernanceVoteResult, undefined>>;
|
|
1109
|
-
VoteOnApiCall: (instance: Instance, methodName: string, methodArgs: string[], deadline: import("@agoric/time").TimestampValue) => Promise<Invitation<import("@agoric/governance/src/types.js").ContractGovernanceVoteResult, undefined>>;
|
|
1110
|
-
}>;
|
|
1111
|
-
}, undefined>>;
|
|
517
|
+
getDebtIssuer(): globalThis.Issuer<"nat", import("@endo/patterns").Key>;
|
|
518
|
+
getSubscription({ collateralBrand }: {
|
|
519
|
+
collateralBrand: Brand;
|
|
520
|
+
}): globalThis.StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
521
|
+
getPublicTopics(): {
|
|
522
|
+
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultDirector.js").MetricsNotification>;
|
|
523
|
+
};
|
|
524
|
+
getElectorateSubscription(): globalThis.StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
525
|
+
getGovernedParams({ collateralBrand }: {
|
|
526
|
+
collateralBrand: Brand;
|
|
527
|
+
}): globalThis.ERef<globalThis.ParamStateRecord>;
|
|
528
|
+
getInvitationAmount(name: string): import("@agoric/ertp/src/types.js").SetAmount<InvitationDetails>;
|
|
1112
529
|
}>;
|
|
1113
530
|
}>>;
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
invitationMakers: import("@endo/exo").Guarded<{
|
|
1121
|
-
VoteOnParamChange: () => Promise<Invitation<import("@agoric/governance/src/types.js").ContractGovernanceVoteResult, import("../econCommitteeCharter.js").ParamChangesOfferArgs>>;
|
|
1122
|
-
VoteOnPauseOffers: (instance: any, strings: any, deadline: any) => Promise<Invitation<import("@agoric/governance/src/types.js").ContractGovernanceVoteResult, undefined>>;
|
|
1123
|
-
VoteOnApiCall: (instance: Instance, methodName: string, methodArgs: string[], deadline: import("@agoric/time").TimestampValue) => Promise<Invitation<import("@agoric/governance/src/types.js").ContractGovernanceVoteResult, undefined>>;
|
|
1124
|
-
}>;
|
|
1125
|
-
}, undefined>>;
|
|
1126
|
-
}>;
|
|
1127
|
-
};
|
|
1128
|
-
export type CommitteeStartResult = {
|
|
1129
|
-
instance: import("@agoric/zoe/src/zoeService/utils.js").Instance<(zcf: ZCF<{
|
|
1130
|
-
committeeName: string;
|
|
1131
|
-
committeeSize: number;
|
|
1132
|
-
}>, privateArgs: {
|
|
1133
|
-
storageNode: ERef<StorageNode>;
|
|
1134
|
-
marshaller: ERef<Marshaller>;
|
|
1135
|
-
}, baggage: import("@agoric/vat-data").Baggage) => {
|
|
1136
|
-
creatorFacet: import("@agoric/governance/src/committee.js").CommitteeElectorateCreatorFacet;
|
|
1137
|
-
publicFacet: globalThis.CommitteeElectoratePublic;
|
|
1138
|
-
}>;
|
|
1139
|
-
adminFacet: import("@agoric/zoe/src/zoeService/utils.js").AdminFacet<(zcf: ZCF<{
|
|
1140
|
-
committeeName: string;
|
|
1141
|
-
committeeSize: number;
|
|
1142
|
-
}>, privateArgs: {
|
|
1143
|
-
storageNode: ERef<StorageNode>;
|
|
1144
|
-
marshaller: ERef<Marshaller>;
|
|
1145
|
-
}, baggage: import("@agoric/vat-data").Baggage) => {
|
|
1146
|
-
creatorFacet: import("@agoric/governance/src/committee.js").CommitteeElectorateCreatorFacet;
|
|
1147
|
-
publicFacet: globalThis.CommitteeElectoratePublic;
|
|
1148
|
-
}>;
|
|
1149
|
-
creatorFacet: {};
|
|
1150
|
-
publicFacet: {};
|
|
1151
|
-
} & {
|
|
1152
|
-
creatorFacet: import("@agoric/governance/src/committee.js").CommitteeElectorateCreatorFacet;
|
|
1153
|
-
publicFacet: globalThis.CommitteeElectoratePublic;
|
|
1154
|
-
};
|
|
531
|
+
auctioneerKit: AuctioneerKit;
|
|
532
|
+
newAuctioneerKit: AuctioneerKit | undefined;
|
|
533
|
+
minInitialDebt: NatValue;
|
|
534
|
+
}>;
|
|
535
|
+
export type EconCharterStartResult = StartedInstanceKit<typeof import("../econCommitteeCharter.js")["start"]>;
|
|
536
|
+
export type CommitteeStartResult = StartedInstanceKit<typeof import("@agoric/governance/src/committee.js")["start"]>;
|
|
1155
537
|
import { Stable } from '@agoric/internal/src/tokens.js';
|
|
1156
538
|
import type { StartedInstanceKit } from '@agoric/zoe/src/zoeService/utils.js';
|
|
1157
539
|
//# sourceMappingURL=econ-behaviors.d.ts.map
|