@agoric/inter-protocol 0.16.2-dev-fa844b5.0 → 0.16.2-dev-21fe8d9.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/auctioneer.d.ts +4 -4
- package/src/auction/params.d.ts +2 -2
- package/src/econCommitteeCharter.d.ts +3 -3
- package/src/price/fluxAggregatorContract.d.ts +1 -1
- package/src/proposals/econ-behaviors.d.ts +19 -19
- package/src/provisionPool.d.ts +3 -3
- package/src/provisionPoolKit.d.ts +4 -4
- package/src/psm/psm.d.ts +3 -3
- package/src/reserve/assetReserve.d.ts +2 -2
- package/src/vaultFactory/liquidation.d.ts +2 -2
- package/src/vaultFactory/params.d.ts +4 -4
- package/src/vaultFactory/types.d.ts +1 -1
- package/src/vaultFactory/vaultDirector.d.ts +8 -8
- package/src/vaultFactory/vaultFactory.d.ts +7 -7
- package/src/vaultFactory/vaultManager.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/inter-protocol",
|
|
3
|
-
"version": "0.16.2-dev-
|
|
3
|
+
"version": "0.16.2-dev-21fe8d9.0+21fe8d9",
|
|
4
4
|
"description": "Core cryptoeconomy contracts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@agoric/assert": "0.6.1-dev-
|
|
35
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
36
|
-
"@agoric/governance": "0.10.4-dev-
|
|
37
|
-
"@agoric/internal": "0.3.3-dev-
|
|
38
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
39
|
-
"@agoric/store": "0.9.3-dev-
|
|
40
|
-
"@agoric/time": "0.3.3-dev-
|
|
41
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
42
|
-
"@agoric/vats": "0.15.2-dev-
|
|
43
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
34
|
+
"@agoric/assert": "0.6.1-dev-21fe8d9.0+21fe8d9",
|
|
35
|
+
"@agoric/ertp": "0.16.3-dev-21fe8d9.0+21fe8d9",
|
|
36
|
+
"@agoric/governance": "0.10.4-dev-21fe8d9.0+21fe8d9",
|
|
37
|
+
"@agoric/internal": "0.3.3-dev-21fe8d9.0+21fe8d9",
|
|
38
|
+
"@agoric/notifier": "0.6.3-dev-21fe8d9.0+21fe8d9",
|
|
39
|
+
"@agoric/store": "0.9.3-dev-21fe8d9.0+21fe8d9",
|
|
40
|
+
"@agoric/time": "0.3.3-dev-21fe8d9.0+21fe8d9",
|
|
41
|
+
"@agoric/vat-data": "0.5.3-dev-21fe8d9.0+21fe8d9",
|
|
42
|
+
"@agoric/vats": "0.15.2-dev-21fe8d9.0+21fe8d9",
|
|
43
|
+
"@agoric/zoe": "0.26.3-dev-21fe8d9.0+21fe8d9",
|
|
44
44
|
"@endo/captp": "^4.1.0",
|
|
45
45
|
"@endo/eventual-send": "^1.2.0",
|
|
46
46
|
"@endo/far": "^1.1.0",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"jessie.js": "^0.3.4"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@agoric/smart-wallet": "0.5.4-dev-
|
|
54
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
55
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
56
|
-
"@agoric/zone": "0.2.3-dev-
|
|
53
|
+
"@agoric/smart-wallet": "0.5.4-dev-21fe8d9.0+21fe8d9",
|
|
54
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-21fe8d9.0+21fe8d9",
|
|
55
|
+
"@agoric/swingset-vat": "0.32.3-dev-21fe8d9.0+21fe8d9",
|
|
56
|
+
"@agoric/zone": "0.2.3-dev-21fe8d9.0+21fe8d9",
|
|
57
57
|
"@endo/bundle-source": "^3.2.1",
|
|
58
58
|
"@endo/init": "^1.1.0",
|
|
59
59
|
"@endo/promise-kit": "^1.1.0",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"typeCoverage": {
|
|
86
86
|
"atLeast": 95.9
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "21fe8d921225214fb388191548ad63d81912e65f"
|
|
89
89
|
}
|
|
@@ -3,7 +3,7 @@ export function distributeProportionalSharesWithLimits(unsoldCollateral: Amount<
|
|
|
3
3
|
amount: Amount<'nat'>;
|
|
4
4
|
goal: Amount<'nat'>;
|
|
5
5
|
}[], collateralSeat: ZCFSeat, bidHoldingSeat: ZCFSeat, collateralKeyword: string, reserveSeat: ZCFSeat, brand: Brand): TransferPart[];
|
|
6
|
-
export function start(zcf: ZCF<GovernanceTerms<{
|
|
6
|
+
export function start(zcf: ZCF<globalThis.GovernanceTerms<{
|
|
7
7
|
Electorate: "invitation";
|
|
8
8
|
StartFrequency: "relativeTime";
|
|
9
9
|
ClockStep: "relativeTime";
|
|
@@ -14,7 +14,7 @@ export function start(zcf: ZCF<GovernanceTerms<{
|
|
|
14
14
|
PriceLockPeriod: "relativeTime";
|
|
15
15
|
}> & {
|
|
16
16
|
timerService: import('@agoric/time').TimerService;
|
|
17
|
-
reservePublicFacet: GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
17
|
+
reservePublicFacet: globalThis.GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
18
18
|
makeAddCollateralInvitation(): Promise<Invitation<string, never>>;
|
|
19
19
|
getPublicTopics(): {
|
|
20
20
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../reserve/assetReserveKit.js").MetricsNotification>;
|
|
@@ -26,7 +26,7 @@ export function start(zcf: ZCF<GovernanceTerms<{
|
|
|
26
26
|
storageNode: StorageNode;
|
|
27
27
|
marshaller: Marshaller;
|
|
28
28
|
}, baggage: Baggage): Promise<{
|
|
29
|
-
publicFacet: GovernedPublicFacet<{
|
|
29
|
+
publicFacet: globalThis.GovernedPublicFacet<{
|
|
30
30
|
getElectorate: () => globalThis.Amount<"set">;
|
|
31
31
|
getStartFrequency: () => RelativeTime;
|
|
32
32
|
getClockStep: () => RelativeTime;
|
|
@@ -64,7 +64,7 @@ export function start(zcf: ZCF<GovernanceTerms<{
|
|
|
64
64
|
goal: Amount<'nat'>;
|
|
65
65
|
}>>;
|
|
66
66
|
}>;
|
|
67
|
-
creatorFacet: GovernedCreatorFacet<{
|
|
67
|
+
creatorFacet: globalThis.GovernedCreatorFacet<{
|
|
68
68
|
/**
|
|
69
69
|
* @param {Issuer} issuer
|
|
70
70
|
* @param {Keyword} kwd
|
package/src/auction/params.d.ts
CHANGED
|
@@ -81,14 +81,14 @@ export function makeAuctioneerParamManager(publisherKit: import('@agoric/notifie
|
|
|
81
81
|
export function makeGovernedTerms({ storageNode: _storageNode, marshaller: _marshaller }: {
|
|
82
82
|
storageNode: ERef<StorageNode>;
|
|
83
83
|
marshaller: ERef<Marshaller<unknown>>;
|
|
84
|
-
}, timer: ERef<import("@agoric/time").TimerService>, priceAuthority: ERef<PriceAuthority>, reservePublicFacet: ERef<GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
84
|
+
}, timer: ERef<import("@agoric/time").TimerService>, priceAuthority: ERef<PriceAuthority>, reservePublicFacet: ERef<globalThis.GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
85
85
|
makeAddCollateralInvitation(): Promise<Invitation<string, never>>;
|
|
86
86
|
getPublicTopics(): {
|
|
87
87
|
metrics: import("@agoric/zoe/src/contractSupport").PublicTopic<import("../reserve/assetReserveKit").MetricsNotification>;
|
|
88
88
|
};
|
|
89
89
|
}>>>, params: AuctionParams): {
|
|
90
90
|
priceAuthority: ERef<PriceAuthority>;
|
|
91
|
-
reservePublicFacet: ERef<GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
91
|
+
reservePublicFacet: ERef<globalThis.GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
92
92
|
makeAddCollateralInvitation(): Promise<Invitation<string, never>>;
|
|
93
93
|
getPublicTopics(): {
|
|
94
94
|
metrics: import("@agoric/zoe/src/contractSupport").PublicTopic<import("../reserve/assetReserveKit").MetricsNotification>;
|
|
@@ -19,9 +19,9 @@ export function start(zcf: ZCF<{
|
|
|
19
19
|
addInstance: (governedInstance: Instance, governorFacet: GovernorCreatorFacet<any>, label?: string | undefined) => void;
|
|
20
20
|
makeCharterMemberInvitation: () => Promise<Invitation<{
|
|
21
21
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
22
|
-
VoteOnParamChange: () => Promise<Invitation<ContractGovernanceVoteResult, ParamChangesOfferArgs>>;
|
|
23
|
-
VoteOnPauseOffers: (instance: any, strings: any, deadline: any) => Promise<Invitation<ContractGovernanceVoteResult, undefined>>;
|
|
24
|
-
VoteOnApiCall: (instance: Instance, methodName: string, methodArgs: string[], deadline: import('@agoric/time').TimestampValue) => Promise<Invitation<ContractGovernanceVoteResult, undefined>>;
|
|
22
|
+
VoteOnParamChange: () => Promise<Invitation<import("@agoric/governance/exported.js").ContractGovernanceVoteResult, ParamChangesOfferArgs>>;
|
|
23
|
+
VoteOnPauseOffers: (instance: any, strings: any, deadline: any) => Promise<Invitation<import("@agoric/governance/exported.js").ContractGovernanceVoteResult, undefined>>;
|
|
24
|
+
VoteOnApiCall: (instance: Instance, methodName: string, methodArgs: string[], deadline: import('@agoric/time').TimestampValue) => Promise<Invitation<import("@agoric/governance/exported.js").ContractGovernanceVoteResult, undefined>>;
|
|
25
25
|
}>;
|
|
26
26
|
}, undefined>>;
|
|
27
27
|
}>;
|
|
@@ -59,7 +59,7 @@ export function start(zcf: ZCF<import("./fluxAggregatorKit.js").ChainlinkConfig
|
|
|
59
59
|
}>>;
|
|
60
60
|
oracleRoundState(oracleId: string, queriedRoundId: bigint): Promise<import("./fluxAggregatorKit.js").RoundState>;
|
|
61
61
|
}>;
|
|
62
|
-
getGovernedApis: () => GovernedApis;
|
|
62
|
+
getGovernedApis: () => globalThis.GovernedApis;
|
|
63
63
|
getGovernedApiNames: () => string[];
|
|
64
64
|
setOfferFilter: (strings: any) => Promise<void>;
|
|
65
65
|
}>;
|
|
@@ -2,7 +2,7 @@ export const SECONDS_PER_MINUTE: 60n;
|
|
|
2
2
|
export const SECONDS_PER_HOUR: bigint;
|
|
3
3
|
export const SECONDS_PER_DAY: bigint;
|
|
4
4
|
export const SECONDS_PER_WEEK: bigint;
|
|
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<{}> & {
|
|
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<globalThis.GovernanceTerms<{}> & {
|
|
6
6
|
governedApis: ["burnFeesToReduceShortfall"];
|
|
7
7
|
}>, privateArgs: {
|
|
8
8
|
feeMintAccess: FeeMintAccess;
|
|
@@ -10,7 +10,7 @@ export function setupReserve({ consume: { board, feeMintAccess: feeMintAccessP,
|
|
|
10
10
|
marshaller: ERef<Marshaller<unknown>>;
|
|
11
11
|
storageNode: ERef<StorageNode>;
|
|
12
12
|
}, baggage: import("@agoric/vat-data").Baggage) => Promise<{
|
|
13
|
-
creatorFacet: GovernedCreatorFacet<import("@endo/exo").Guarded<{
|
|
13
|
+
creatorFacet: globalThis.GovernedCreatorFacet<import("@endo/exo").Guarded<{
|
|
14
14
|
addIssuer(issuer: globalThis.Issuer, keyword: string): Promise<void>;
|
|
15
15
|
getAllocations(): AmountKeywordRecord;
|
|
16
16
|
makeShortfallReportingInvitation(): Promise<Invitation<import("@endo/exo").Guarded<{
|
|
@@ -18,7 +18,7 @@ export function setupReserve({ consume: { board, feeMintAccess: feeMintAccessP,
|
|
|
18
18
|
reduceLiquidationShortfall(reduction: globalThis.Amount<"nat">): void;
|
|
19
19
|
}>, undefined>>;
|
|
20
20
|
}>>;
|
|
21
|
-
publicFacet: GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
21
|
+
publicFacet: globalThis.GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
22
22
|
makeAddCollateralInvitation(): Promise<Invitation<string, never>>;
|
|
23
23
|
getPublicTopics(): {
|
|
24
24
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../reserve/assetReserveKit.js").MetricsNotification>;
|
|
@@ -32,7 +32,7 @@ export function setupVaultFactoryArguments(consume: EconomyBootstrapPowers['cons
|
|
|
32
32
|
} | undefined;
|
|
33
33
|
} | undefined, minInitialDebt: Amount<'nat'>): Promise<{
|
|
34
34
|
vaultFactoryTerms: {
|
|
35
|
-
auctioneerPublicFacet: ERef<GovernedPublicFacet<{
|
|
35
|
+
auctioneerPublicFacet: ERef<globalThis.GovernedPublicFacet<{
|
|
36
36
|
getElectorate: () => globalThis.Amount<"set">;
|
|
37
37
|
getStartFrequency: () => RelativeTime;
|
|
38
38
|
getClockStep: () => RelativeTime;
|
|
@@ -70,7 +70,7 @@ export function setupVaultFactoryArguments(consume: EconomyBootstrapPowers['cons
|
|
|
70
70
|
}>>;
|
|
71
71
|
}>>;
|
|
72
72
|
priceAuthority: ERef<PriceAuthority>;
|
|
73
|
-
reservePublicFacet: GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
73
|
+
reservePublicFacet: globalThis.GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
74
74
|
makeAddCollateralInvitation(): Promise<Invitation<string, never>>;
|
|
75
75
|
getPublicTopics(): {
|
|
76
76
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../reserve/assetReserveKit.js").MetricsNotification>;
|
|
@@ -243,7 +243,7 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: import("../vaultF
|
|
|
243
243
|
};
|
|
244
244
|
}>;
|
|
245
245
|
lockOraclePrices(): PriceQuote;
|
|
246
|
-
liquidateVaults(auctionPF: ERef<GovernedPublicFacet<{
|
|
246
|
+
liquidateVaults(auctionPF: ERef<globalThis.GovernedPublicFacet<{
|
|
247
247
|
getElectorate: () => globalThis.Amount<"set">;
|
|
248
248
|
getStartFrequency: () => RelativeTime;
|
|
249
249
|
getClockStep: () => RelativeTime;
|
|
@@ -299,7 +299,7 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: import("../vaultF
|
|
|
299
299
|
wake: (timestamp: any) => any;
|
|
300
300
|
}>;
|
|
301
301
|
}>;
|
|
302
|
-
getGovernedApis(): ERef<GovernedApis>;
|
|
302
|
+
getGovernedApis(): ERef<globalThis.GovernedApis>;
|
|
303
303
|
getGovernedApiNames(): never[];
|
|
304
304
|
setOfferFilter: (strings: any) => Promise<void>;
|
|
305
305
|
}>;
|
|
@@ -345,14 +345,14 @@ export type VaultFactoryPublicFacet = Awaited<ReturnType<(zcf: import("../vaultF
|
|
|
345
345
|
getDebtIssuer(): globalThis.Issuer<"nat">;
|
|
346
346
|
getSubscription({ collateralBrand }: {
|
|
347
347
|
collateralBrand: globalThis.Brand;
|
|
348
|
-
}): StoredSubscription<GovernanceSubscriptionState>;
|
|
348
|
+
}): StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
349
349
|
getPublicTopics(): {
|
|
350
350
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultDirector.js").MetricsNotification>;
|
|
351
351
|
};
|
|
352
|
-
getElectorateSubscription(): StoredSubscription<GovernanceSubscriptionState>;
|
|
352
|
+
getElectorateSubscription(): StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
353
353
|
getGovernedParams({ collateralBrand }: {
|
|
354
354
|
collateralBrand: globalThis.Brand;
|
|
355
|
-
}): ERef<ParamStateRecord>;
|
|
355
|
+
}): ERef<globalThis.ParamStateRecord>;
|
|
356
356
|
getInvitationAmount(name: string): globalThis.Amount<"set">;
|
|
357
357
|
}>;
|
|
358
358
|
}>>>['publicFacet'];
|
|
@@ -364,7 +364,7 @@ export type PSMKit = {
|
|
|
364
364
|
psmGovernorCreatorFacet: GovernorCreatorFacet<typeof import("../psm/psm.js")['start']>;
|
|
365
365
|
psmAdminFacet: AdminFacet;
|
|
366
366
|
};
|
|
367
|
-
export type AuctioneerKit = GovernanceFacetKit<(zcf: ZCF<GovernanceTerms<{
|
|
367
|
+
export type AuctioneerKit = GovernanceFacetKit<(zcf: ZCF<globalThis.GovernanceTerms<{
|
|
368
368
|
Electorate: "invitation";
|
|
369
369
|
StartFrequency: "relativeTime";
|
|
370
370
|
ClockStep: "relativeTime";
|
|
@@ -375,7 +375,7 @@ export type AuctioneerKit = GovernanceFacetKit<(zcf: ZCF<GovernanceTerms<{
|
|
|
375
375
|
PriceLockPeriod: "relativeTime";
|
|
376
376
|
}> & {
|
|
377
377
|
timerService: import("@agoric/time").TimerService;
|
|
378
|
-
reservePublicFacet: GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
378
|
+
reservePublicFacet: globalThis.GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
379
379
|
makeAddCollateralInvitation(): Promise<Invitation<string, never>>;
|
|
380
380
|
getPublicTopics(): {
|
|
381
381
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../reserve/assetReserveKit.js").MetricsNotification>;
|
|
@@ -387,7 +387,7 @@ export type AuctioneerKit = GovernanceFacetKit<(zcf: ZCF<GovernanceTerms<{
|
|
|
387
387
|
storageNode: StorageNode;
|
|
388
388
|
marshaller: Marshaller<unknown>;
|
|
389
389
|
}, baggage: import("@agoric/vat-data").Baggage) => Promise<{
|
|
390
|
-
publicFacet: GovernedPublicFacet<{
|
|
390
|
+
publicFacet: globalThis.GovernedPublicFacet<{
|
|
391
391
|
getElectorate: () => globalThis.Amount<"set">;
|
|
392
392
|
getStartFrequency: () => RelativeTime;
|
|
393
393
|
getClockStep: () => RelativeTime;
|
|
@@ -424,7 +424,7 @@ export type AuctioneerKit = GovernanceFacetKit<(zcf: ZCF<GovernanceTerms<{
|
|
|
424
424
|
goal: globalThis.Amount<"nat">;
|
|
425
425
|
}>>;
|
|
426
426
|
}>;
|
|
427
|
-
creatorFacet: GovernedCreatorFacet<{
|
|
427
|
+
creatorFacet: globalThis.GovernedCreatorFacet<{
|
|
428
428
|
addBrand(issuer: globalThis.Issuer, kwd: string): Promise<void>;
|
|
429
429
|
getSchedule(): Promise<import("../auction/scheduler.js").FullSchedule>;
|
|
430
430
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
@@ -543,7 +543,7 @@ export type EconomyBootstrapSpace = PromiseSpaceOf<{
|
|
|
543
543
|
};
|
|
544
544
|
}>;
|
|
545
545
|
lockOraclePrices(): PriceQuote;
|
|
546
|
-
liquidateVaults(auctionPF: ERef<GovernedPublicFacet<{
|
|
546
|
+
liquidateVaults(auctionPF: ERef<globalThis.GovernedPublicFacet<{
|
|
547
547
|
getElectorate: () => globalThis.Amount<"set">;
|
|
548
548
|
getStartFrequency: () => RelativeTime;
|
|
549
549
|
getClockStep: () => RelativeTime;
|
|
@@ -599,7 +599,7 @@ export type EconomyBootstrapSpace = PromiseSpaceOf<{
|
|
|
599
599
|
wake: (timestamp: any) => any;
|
|
600
600
|
}>;
|
|
601
601
|
}>;
|
|
602
|
-
getGovernedApis(): ERef<GovernedApis>;
|
|
602
|
+
getGovernedApis(): ERef<globalThis.GovernedApis>;
|
|
603
603
|
getGovernedApiNames(): never[];
|
|
604
604
|
setOfferFilter: (strings: any) => Promise<void>;
|
|
605
605
|
}>;
|
|
@@ -645,14 +645,14 @@ export type EconomyBootstrapSpace = PromiseSpaceOf<{
|
|
|
645
645
|
getDebtIssuer(): globalThis.Issuer<"nat">;
|
|
646
646
|
getSubscription({ collateralBrand }: {
|
|
647
647
|
collateralBrand: globalThis.Brand;
|
|
648
|
-
}): StoredSubscription<GovernanceSubscriptionState>;
|
|
648
|
+
}): StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
649
649
|
getPublicTopics(): {
|
|
650
650
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../vaultFactory/vaultDirector.js").MetricsNotification>;
|
|
651
651
|
};
|
|
652
|
-
getElectorateSubscription(): StoredSubscription<GovernanceSubscriptionState>;
|
|
652
|
+
getElectorateSubscription(): StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
653
653
|
getGovernedParams({ collateralBrand }: {
|
|
654
654
|
collateralBrand: globalThis.Brand;
|
|
655
|
-
}): ERef<ParamStateRecord>;
|
|
655
|
+
}): ERef<globalThis.ParamStateRecord>;
|
|
656
656
|
getInvitationAmount(name: string): globalThis.Amount<"set">;
|
|
657
657
|
}>;
|
|
658
658
|
}>>;
|
package/src/provisionPool.d.ts
CHANGED
|
@@ -132,7 +132,7 @@ export function start(zcf: ZCF<ProvisionTerms>, privateArgs: {
|
|
|
132
132
|
}>;
|
|
133
133
|
initPSM(brand: globalThis.Brand, instance: import("./provisionPoolKit.js").PsmInstance): void;
|
|
134
134
|
}>;
|
|
135
|
-
getGovernedApis: () => GovernedApis;
|
|
135
|
+
getGovernedApis: () => globalThis.GovernedApis;
|
|
136
136
|
getGovernedApiNames: () => string[];
|
|
137
137
|
setOfferFilter: (strings: any) => Promise<void>;
|
|
138
138
|
}>;
|
|
@@ -148,8 +148,8 @@ export function start(zcf: ZCF<ProvisionTerms>, privateArgs: {
|
|
|
148
148
|
getTimestamp: (name: string) => import("@agoric/time").TimestampRecord;
|
|
149
149
|
getRelativeTime: (name: string) => import("@agoric/time").RelativeTimeRecord;
|
|
150
150
|
getUnknown: (name: string) => any;
|
|
151
|
-
getSubscription: () => StoredSubscription<GovernanceSubscriptionState>;
|
|
152
|
-
getGovernedParams: () => ERef<ParamStateRecord>;
|
|
151
|
+
getSubscription: () => StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
152
|
+
getGovernedParams: () => ERef<globalThis.ParamStateRecord>;
|
|
153
153
|
getMetrics(): Subscriber<import("./provisionPoolKit.js").MetricsNotification>;
|
|
154
154
|
getPublicTopics(): {
|
|
155
155
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("./provisionPoolKit.js").MetricsNotification>;
|
|
@@ -265,7 +265,7 @@ export function prepareProvisionPoolKit(baggage: import('@agoric/vat-data').Bagg
|
|
|
265
265
|
};
|
|
266
266
|
};
|
|
267
267
|
}>>;
|
|
268
|
-
export type PsmInstance = import('@agoric/zoe/src/zoeService/utils.js').Instance<(zcf: ZCF<GovernanceTerms<{
|
|
268
|
+
export type PsmInstance = import('@agoric/zoe/src/zoeService/utils.js').Instance<(zcf: ZCF<globalThis.GovernanceTerms<{
|
|
269
269
|
GiveMintedFee: "ratio";
|
|
270
270
|
WantMintedFee: "ratio";
|
|
271
271
|
MintLimit: "amount";
|
|
@@ -302,7 +302,7 @@ export type PsmInstance = import('@agoric/zoe/src/zoeService/utils.js').Instance
|
|
|
302
302
|
makeCollectFeesInvitation(): Promise<Invitation<string, undefined>>;
|
|
303
303
|
makeRestoreMetricsInvitation(): Promise<Invitation<void, Omit<import("@agoric/inter-protocol/src/psm/psm.js").MetricsNotification, "anchorPoolBalance">>>;
|
|
304
304
|
}>;
|
|
305
|
-
getGovernedApis: () => GovernedApis;
|
|
305
|
+
getGovernedApis: () => globalThis.GovernedApis;
|
|
306
306
|
getGovernedApiNames: () => string[];
|
|
307
307
|
setOfferFilter: (strings: any) => Promise<void>;
|
|
308
308
|
}>;
|
|
@@ -318,8 +318,8 @@ export type PsmInstance = import('@agoric/zoe/src/zoeService/utils.js').Instance
|
|
|
318
318
|
getTimestamp: (name: string) => import("@agoric/time").TimestampRecord;
|
|
319
319
|
getRelativeTime: (name: string) => import("@agoric/time").RelativeTimeRecord;
|
|
320
320
|
getUnknown: (name: string) => any;
|
|
321
|
-
getSubscription: () => StoredSubscription<GovernanceSubscriptionState>;
|
|
322
|
-
getGovernedParams: () => ERef<ParamStateRecord>;
|
|
321
|
+
getSubscription: () => StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
322
|
+
getGovernedParams: () => ERef<globalThis.ParamStateRecord>;
|
|
323
323
|
getMetrics(): Subscriber<import("@agoric/inter-protocol/src/psm/psm.js").MetricsNotification>;
|
|
324
324
|
getPoolBalance(): Amount<"nat">;
|
|
325
325
|
getPublicTopics(): {
|
package/src/psm/psm.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ export function start(zcf: ZCF<GovernanceTerms<{
|
|
|
59
59
|
makeCollectFeesInvitation(): Promise<Invitation<string, undefined>>;
|
|
60
60
|
makeRestoreMetricsInvitation(): Promise<Invitation<void, Omit<MetricsNotification, "anchorPoolBalance">>>;
|
|
61
61
|
}>;
|
|
62
|
-
getGovernedApis: () => GovernedApis;
|
|
62
|
+
getGovernedApis: () => globalThis.GovernedApis;
|
|
63
63
|
getGovernedApiNames: () => string[];
|
|
64
64
|
setOfferFilter: (strings: any) => Promise<void>;
|
|
65
65
|
}>;
|
|
@@ -75,8 +75,8 @@ export function start(zcf: ZCF<GovernanceTerms<{
|
|
|
75
75
|
getTimestamp: (name: string) => import("@agoric/time").TimestampRecord;
|
|
76
76
|
getRelativeTime: (name: string) => import("@agoric/time").RelativeTimeRecord;
|
|
77
77
|
getUnknown: (name: string) => any;
|
|
78
|
-
getSubscription: () => StoredSubscription<GovernanceSubscriptionState>;
|
|
79
|
-
getGovernedParams: () => ERef<ParamStateRecord>;
|
|
78
|
+
getSubscription: () => StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
79
|
+
getGovernedParams: () => ERef<globalThis.ParamStateRecord>;
|
|
80
80
|
getMetrics(): Subscriber<MetricsNotification>;
|
|
81
81
|
getPoolBalance(): globalThis.Amount<"nat">;
|
|
82
82
|
getPublicTopics(): {
|
|
@@ -9,7 +9,7 @@ export function start(zcf: ZCF<GovernanceTerms<{}> & {
|
|
|
9
9
|
storageNode: ERef<StorageNode>;
|
|
10
10
|
}, baggage: Baggage): Promise<{
|
|
11
11
|
/** @type {GovernedCreatorFacet<typeof assetReserveKit.machine>} */
|
|
12
|
-
creatorFacet: GovernedCreatorFacet<import("@endo/exo").Guarded<{
|
|
12
|
+
creatorFacet: globalThis.GovernedCreatorFacet<import("@endo/exo").Guarded<{
|
|
13
13
|
addIssuer(issuer: globalThis.Issuer, keyword: string): Promise<void>;
|
|
14
14
|
getAllocations(): AmountKeywordRecord;
|
|
15
15
|
makeShortfallReportingInvitation(): Promise<Invitation<import("@endo/exo").Guarded<{
|
|
@@ -18,7 +18,7 @@ export function start(zcf: ZCF<GovernanceTerms<{}> & {
|
|
|
18
18
|
}>, undefined>>;
|
|
19
19
|
}>>;
|
|
20
20
|
/** @type {GovernedPublicFacet<typeof assetReserveKit.public>} */
|
|
21
|
-
publicFacet: GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
21
|
+
publicFacet: globalThis.GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
22
22
|
makeAddCollateralInvitation(): Promise<Invitation<string, never>>;
|
|
23
23
|
getPublicTopics(): {
|
|
24
24
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("./assetReserveKit.js").MetricsNotification>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function setWakeupsForNextAuction(auctioneerPublicFacet: ERef<GovernedPublicFacet<{
|
|
1
|
+
export function setWakeupsForNextAuction(auctioneerPublicFacet: ERef<globalThis.GovernedPublicFacet<{
|
|
2
2
|
getElectorate: () => globalThis.Amount<"set">;
|
|
3
3
|
getStartFrequency: () => RelativeTime;
|
|
4
4
|
getClockStep: () => RelativeTime;
|
|
@@ -39,7 +39,7 @@ export function liquidationResults(debt: Amount<'nat'>, minted: Amount<'nat'>):
|
|
|
39
39
|
overage: Amount<'nat'>;
|
|
40
40
|
shortfall: Amount<'nat'>;
|
|
41
41
|
};
|
|
42
|
-
export function watchForGovernanceChange(auctioneerPublicFacet: ERef<GovernedPublicFacet<{
|
|
42
|
+
export function watchForGovernanceChange(auctioneerPublicFacet: ERef<globalThis.GovernedPublicFacet<{
|
|
43
43
|
getElectorate: () => globalThis.Amount<"set">;
|
|
44
44
|
getStartFrequency: () => RelativeTime;
|
|
45
45
|
getClockStep: () => RelativeTime;
|
|
@@ -26,7 +26,7 @@ export function makeVaultParamManager(publisherKit: import('@agoric/notifier').S
|
|
|
26
26
|
/** @typedef {ReturnType<typeof makeVaultParamManager>} VaultParamManager */
|
|
27
27
|
export const vaultParamPattern: import("@endo/patterns").Matcher;
|
|
28
28
|
export function makeGovernedTerms({ auctioneerPublicFacet, bootstrapPaymentValue, electorateInvitationAmount, interestTiming, minInitialDebt, priceAuthority, reservePublicFacet, timer, shortfallInvitationAmount, referencedUi, }: {
|
|
29
|
-
auctioneerPublicFacet: ERef<GovernedPublicFacet<{
|
|
29
|
+
auctioneerPublicFacet: ERef<globalThis.GovernedPublicFacet<{
|
|
30
30
|
getElectorate: () => globalThis.Amount<"set">;
|
|
31
31
|
getStartFrequency: () => RelativeTime;
|
|
32
32
|
getClockStep: () => RelativeTime;
|
|
@@ -68,7 +68,7 @@ export function makeGovernedTerms({ auctioneerPublicFacet, bootstrapPaymentValue
|
|
|
68
68
|
bootstrapPaymentValue: bigint;
|
|
69
69
|
priceAuthority: ERef<PriceAuthority>;
|
|
70
70
|
timer: ERef<import("@agoric/time").TimerService>;
|
|
71
|
-
reservePublicFacet: GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
71
|
+
reservePublicFacet: globalThis.GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
72
72
|
makeAddCollateralInvitation(): Promise<Invitation<string, never>>;
|
|
73
73
|
getPublicTopics(): {
|
|
74
74
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../reserve/assetReserveKit.js").MetricsNotification>;
|
|
@@ -78,7 +78,7 @@ export function makeGovernedTerms({ auctioneerPublicFacet, bootstrapPaymentValue
|
|
|
78
78
|
shortfallInvitationAmount: Amount<'set'>;
|
|
79
79
|
referencedUi?: string | undefined;
|
|
80
80
|
}): {
|
|
81
|
-
auctioneerPublicFacet: ERef<GovernedPublicFacet<{
|
|
81
|
+
auctioneerPublicFacet: ERef<globalThis.GovernedPublicFacet<{
|
|
82
82
|
getElectorate: () => globalThis.Amount<"set">;
|
|
83
83
|
getStartFrequency: () => RelativeTime;
|
|
84
84
|
getClockStep: () => RelativeTime;
|
|
@@ -116,7 +116,7 @@ export function makeGovernedTerms({ auctioneerPublicFacet, bootstrapPaymentValue
|
|
|
116
116
|
}>>;
|
|
117
117
|
}>>;
|
|
118
118
|
priceAuthority: ERef<PriceAuthority>;
|
|
119
|
-
reservePublicFacet: GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
119
|
+
reservePublicFacet: globalThis.GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
120
120
|
makeAddCollateralInvitation(): Promise<Invitation<string, never>>;
|
|
121
121
|
getPublicTopics(): {
|
|
122
122
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../reserve/assetReserveKit.js").MetricsNotification>;
|
|
@@ -103,7 +103,7 @@ type AddVaultType = (collateralIssuer: Issuer, collateralKeyword: Keyword, param
|
|
|
103
103
|
};
|
|
104
104
|
}>;
|
|
105
105
|
lockOraclePrices(): PriceQuote;
|
|
106
|
-
liquidateVaults(auctionPF: ERef<GovernedPublicFacet<{
|
|
106
|
+
liquidateVaults(auctionPF: ERef<globalThis.GovernedPublicFacet<{
|
|
107
107
|
getElectorate: () => globalThis.Amount<"set">;
|
|
108
108
|
getStartFrequency: () => RelativeTime;
|
|
109
109
|
getClockStep: () => RelativeTime;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* ...pvdArgs: Parameters<typeof prepareVaultDirector>
|
|
6
6
|
* ) => ReturnType<ReturnType<typeof prepareVaultDirector>>}
|
|
7
7
|
*/
|
|
8
|
-
export const provideDirector: (...pvdArgs: [baggage: MapStore<string, any>, zcf: import("./vaultFactory.js").VaultFactoryZCF, directorParamManager: VaultDirectorParamManager, debtMint: ZCFMint<"nat">, timer: ERef<import("@agoric/time").TimerService>, auctioneer: ERef<GovernedPublicFacet<{
|
|
8
|
+
export const provideDirector: (...pvdArgs: [baggage: MapStore<string, any>, zcf: import("./vaultFactory.js").VaultFactoryZCF, directorParamManager: VaultDirectorParamManager, debtMint: ZCFMint<"nat">, timer: ERef<import("@agoric/time").TimerService>, auctioneer: ERef<globalThis.GovernedPublicFacet<{
|
|
9
9
|
getElectorate: () => globalThis.Amount<"set">;
|
|
10
10
|
getStartFrequency: () => RelativeTime;
|
|
11
11
|
getClockStep: () => RelativeTime;
|
|
@@ -71,7 +71,7 @@ export type VaultDirectorParamManager = import('@agoric/governance/src/contractG
|
|
|
71
71
|
* @param {import('@agoric/zoe/src/contractSupport/recorder.js').MakeRecorderKit} makeRecorderKit
|
|
72
72
|
* @param {import('@agoric/zoe/src/contractSupport/recorder.js').MakeERecorderKit} makeERecorderKit
|
|
73
73
|
*/
|
|
74
|
-
declare function prepareVaultDirector(baggage: MapStore<string, any>, zcf: import('./vaultFactory.js').VaultFactoryZCF, directorParamManager: VaultDirectorParamManager, debtMint: ZCFMint<'nat'>, timer: ERef<import("@agoric/time").TimerService>, auctioneer: ERef<GovernedPublicFacet<{
|
|
74
|
+
declare function prepareVaultDirector(baggage: MapStore<string, any>, zcf: import('./vaultFactory.js').VaultFactoryZCF, directorParamManager: VaultDirectorParamManager, debtMint: ZCFMint<'nat'>, timer: ERef<import("@agoric/time").TimerService>, auctioneer: ERef<globalThis.GovernedPublicFacet<{
|
|
75
75
|
getElectorate: () => globalThis.Amount<"set">;
|
|
76
76
|
getStartFrequency: () => RelativeTime;
|
|
77
77
|
getClockStep: () => RelativeTime;
|
|
@@ -210,7 +210,7 @@ declare function prepareVaultDirector(baggage: MapStore<string, any>, zcf: impor
|
|
|
210
210
|
};
|
|
211
211
|
}>;
|
|
212
212
|
lockOraclePrices(): PriceQuote;
|
|
213
|
-
liquidateVaults(auctionPF: ERef<GovernedPublicFacet<{
|
|
213
|
+
liquidateVaults(auctionPF: ERef<globalThis.GovernedPublicFacet<{
|
|
214
214
|
getElectorate: () => globalThis.Amount<"set">;
|
|
215
215
|
getStartFrequency: () => RelativeTime;
|
|
216
216
|
getClockStep: () => RelativeTime;
|
|
@@ -267,7 +267,7 @@ declare function prepareVaultDirector(baggage: MapStore<string, any>, zcf: impor
|
|
|
267
267
|
}>;
|
|
268
268
|
}>;
|
|
269
269
|
/** @returns {ERef<GovernedApis>} */
|
|
270
|
-
getGovernedApis(): ERef<GovernedApis>;
|
|
270
|
+
getGovernedApis(): ERef<globalThis.GovernedApis>;
|
|
271
271
|
getGovernedApiNames(): never[];
|
|
272
272
|
setOfferFilter: (strings: any) => Promise<void>;
|
|
273
273
|
};
|
|
@@ -349,7 +349,7 @@ declare function prepareVaultDirector(baggage: MapStore<string, any>, zcf: impor
|
|
|
349
349
|
};
|
|
350
350
|
}>;
|
|
351
351
|
lockOraclePrices(): PriceQuote;
|
|
352
|
-
liquidateVaults(auctionPF: ERef<GovernedPublicFacet<{
|
|
352
|
+
liquidateVaults(auctionPF: ERef<globalThis.GovernedPublicFacet<{
|
|
353
353
|
getElectorate: () => globalThis.Amount<"set">;
|
|
354
354
|
getStartFrequency: () => RelativeTime;
|
|
355
355
|
getClockStep: () => RelativeTime;
|
|
@@ -453,12 +453,12 @@ declare function prepareVaultDirector(baggage: MapStore<string, any>, zcf: impor
|
|
|
453
453
|
*/
|
|
454
454
|
getSubscription({ collateralBrand }: {
|
|
455
455
|
collateralBrand: Brand;
|
|
456
|
-
}): StoredSubscription<GovernanceSubscriptionState>;
|
|
456
|
+
}): StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
457
457
|
getPublicTopics(): {
|
|
458
458
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<MetricsNotification>;
|
|
459
459
|
};
|
|
460
460
|
/** subscription for the paramManager for the vaultFactory's electorate */
|
|
461
|
-
getElectorateSubscription(): StoredSubscription<GovernanceSubscriptionState>;
|
|
461
|
+
getElectorateSubscription(): StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
462
462
|
/**
|
|
463
463
|
* Note this works only for a collateral manager. For the director use,
|
|
464
464
|
* `getElectorateSubscription`
|
|
@@ -467,7 +467,7 @@ declare function prepareVaultDirector(baggage: MapStore<string, any>, zcf: impor
|
|
|
467
467
|
*/
|
|
468
468
|
getGovernedParams({ collateralBrand }: {
|
|
469
469
|
collateralBrand: Brand;
|
|
470
|
-
}): ERef<ParamStateRecord>;
|
|
470
|
+
}): ERef<globalThis.ParamStateRecord>;
|
|
471
471
|
/** @param {string} name */
|
|
472
472
|
getInvitationAmount(name: string): globalThis.Amount<"set">;
|
|
473
473
|
};
|
|
@@ -111,7 +111,7 @@ export function start(zcf: VaultFactoryZCF, privateArgs: {
|
|
|
111
111
|
};
|
|
112
112
|
}>;
|
|
113
113
|
lockOraclePrices(): PriceQuote;
|
|
114
|
-
liquidateVaults(auctionPF: ERef<GovernedPublicFacet<{
|
|
114
|
+
liquidateVaults(auctionPF: ERef<globalThis.GovernedPublicFacet<{
|
|
115
115
|
getElectorate: () => globalThis.Amount<"set">;
|
|
116
116
|
getStartFrequency: () => RelativeTime;
|
|
117
117
|
getClockStep: () => RelativeTime;
|
|
@@ -167,7 +167,7 @@ export function start(zcf: VaultFactoryZCF, privateArgs: {
|
|
|
167
167
|
wake: (timestamp: any) => any;
|
|
168
168
|
}>;
|
|
169
169
|
}>;
|
|
170
|
-
getGovernedApis(): ERef<GovernedApis>;
|
|
170
|
+
getGovernedApis(): ERef<globalThis.GovernedApis>;
|
|
171
171
|
getGovernedApiNames(): never[];
|
|
172
172
|
setOfferFilter: (strings: any) => Promise<void>;
|
|
173
173
|
}>;
|
|
@@ -213,14 +213,14 @@ export function start(zcf: VaultFactoryZCF, privateArgs: {
|
|
|
213
213
|
getDebtIssuer(): globalThis.Issuer<"nat">;
|
|
214
214
|
getSubscription({ collateralBrand }: {
|
|
215
215
|
collateralBrand: globalThis.Brand;
|
|
216
|
-
}): StoredSubscription<GovernanceSubscriptionState>;
|
|
216
|
+
}): StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
217
217
|
getPublicTopics(): {
|
|
218
218
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("./vaultDirector.js").MetricsNotification>;
|
|
219
219
|
};
|
|
220
|
-
getElectorateSubscription(): StoredSubscription<GovernanceSubscriptionState>;
|
|
220
|
+
getElectorateSubscription(): StoredSubscription<globalThis.GovernanceSubscriptionState>;
|
|
221
221
|
getGovernedParams({ collateralBrand }: {
|
|
222
222
|
collateralBrand: globalThis.Brand;
|
|
223
|
-
}): ERef<ParamStateRecord>;
|
|
223
|
+
}): ERef<globalThis.ParamStateRecord>;
|
|
224
224
|
getInvitationAmount(name: string): globalThis.Amount<"set">;
|
|
225
225
|
}>;
|
|
226
226
|
}>;
|
|
@@ -234,7 +234,7 @@ export type VaultFactoryZCF = {
|
|
|
234
234
|
shutdownWithFailure: ShutdownWithFailure;
|
|
235
235
|
getZoeService: () => ERef<ZoeService>;
|
|
236
236
|
getInvitationIssuer: () => globalThis.Issuer<"set">;
|
|
237
|
-
getTerms: () => StandardTerms & GovernanceTerms<import("@agoric/governance/src/contractGovernance/typedParamManager.js").ParamTypesMapFromRecord<{
|
|
237
|
+
getTerms: () => StandardTerms & globalThis.GovernanceTerms<import("@agoric/governance/src/contractGovernance/typedParamManager.js").ParamTypesMapFromRecord<{
|
|
238
238
|
Electorate: {
|
|
239
239
|
type: "invitation";
|
|
240
240
|
value: globalThis.Amount<"set">;
|
|
@@ -263,7 +263,7 @@ export type VaultFactoryZCF = {
|
|
|
263
263
|
}>> & {
|
|
264
264
|
auctioneerPublicFacet: import('../auction/auctioneer.js').AuctioneerPublicFacet;
|
|
265
265
|
priceAuthority: ERef<PriceAuthority>;
|
|
266
|
-
reservePublicFacet: GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
266
|
+
reservePublicFacet: globalThis.GovernedPublicFacet<import("@endo/exo").Guarded<{
|
|
267
267
|
makeAddCollateralInvitation(): Promise<Invitation<string, never>>;
|
|
268
268
|
getPublicTopics(): {
|
|
269
269
|
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../reserve/assetReserveKit.js").MetricsNotification>;
|
|
@@ -509,7 +509,7 @@ export function prepareVaultManagerKit(baggage: MapStore<string, any>, { zcf, ma
|
|
|
509
509
|
}>;
|
|
510
510
|
lockOraclePrices(): PriceQuote;
|
|
511
511
|
/** @param {ERef<AuctioneerPublicFacet>} auctionPF */
|
|
512
|
-
liquidateVaults(auctionPF: ERef<GovernedPublicFacet<{
|
|
512
|
+
liquidateVaults(auctionPF: ERef<globalThis.GovernedPublicFacet<{
|
|
513
513
|
getElectorate: () => globalThis.Amount<"set">;
|
|
514
514
|
getStartFrequency: () => RelativeTime;
|
|
515
515
|
getClockStep: () => RelativeTime;
|