@agoric/inter-protocol 0.16.2-dev-eb7e9eb.0 → 0.16.2-u11.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/CHANGELOG.md +1041 -0
- package/bundles/bundle-auctioneer-js-meta.json +722 -0
- package/bundles/bundle-auctioneer.js +1 -0
- package/bundles/bundle-econCommitteeCharter-js-meta.json +222 -242
- package/bundles/bundle-econCommitteeCharter.js +1 -1
- package/bundles/bundle-feeDistributor-js-meta.json +458 -0
- package/bundles/bundle-feeDistributor.js +1 -0
- package/bundles/bundle-fluxAggregatorKit-js-meta.json +327 -343
- package/bundles/bundle-fluxAggregatorKit.js +1 -1
- package/bundles/bundle-psm-js-meta.json +308 -328
- package/bundles/bundle-psm.js +1 -1
- package/bundles/bundle-reserve-js-meta.json +662 -0
- package/bundles/bundle-reserve.js +1 -0
- package/bundles/bundle-scaledPriceAuthority-js-meta.json +542 -0
- package/bundles/bundle-scaledPriceAuthority.js +1 -0
- package/bundles/bundle-vaultFactory-js-meta.json +790 -0
- package/bundles/bundle-vaultFactory.js +1 -0
- package/package.json +31 -31
- package/scripts/add-collateral-core.js +112 -0
- package/scripts/build-bundles.js +21 -5
- package/scripts/deploy-contracts.js +100 -0
- package/scripts/init-core.js +198 -0
- package/scripts/invite-committee-core.js +42 -0
- package/scripts/manual-price-feed.js +117 -0
- package/scripts/price-feed-core.js +104 -0
- package/scripts/start-local-chain.sh +84 -0
- package/src/auction/auctionBook.js +56 -68
- package/src/auction/auctioneer.js +44 -56
- package/src/auction/offerBook.js +11 -12
- package/src/auction/params.js +5 -3
- package/src/auction/scheduleMath.js +13 -13
- package/src/auction/scheduler.js +32 -22
- package/src/auction/sortedOffers.js +7 -8
- package/src/auction/util.js +4 -4
- package/src/clientSupport.js +96 -152
- package/src/contractSupport.js +5 -5
- package/src/econCommitteeCharter.js +15 -16
- package/src/feeDistributor.js +33 -34
- package/src/interest.js +14 -20
- package/src/price/fluxAggregatorContract.js +45 -51
- package/src/price/fluxAggregatorKit.js +32 -47
- package/src/price/priceOracleKit.js +13 -11
- package/src/price/roundsManager.js +64 -52
- package/src/proposals/addAssetToVault.js +3 -15
- package/src/proposals/committee-proposal.js +9 -5
- package/src/proposals/core-proposal.js +7 -7
- package/src/proposals/econ-behaviors.js +32 -57
- package/src/proposals/price-feed-proposal.js +26 -59
- package/src/proposals/startEconCommittee.js +1 -1
- package/src/proposals/startPSM.js +22 -32
- package/src/proposals/utils.js +7 -26
- package/src/psm/psm.js +63 -69
- package/src/reserve/assetReserve.js +18 -27
- package/src/reserve/assetReserveKit.js +22 -14
- package/src/typeGuards.js +13 -0
- package/src/vaultFactory/liquidation.js +17 -30
- package/src/vaultFactory/math.js +9 -8
- package/src/vaultFactory/orderedVaultStore.js +9 -6
- package/src/vaultFactory/params.js +18 -24
- package/src/vaultFactory/prioritizedVaults.js +2 -2
- package/src/vaultFactory/proceeds.js +18 -24
- package/src/vaultFactory/storeUtils.js +12 -8
- package/src/vaultFactory/types.js +28 -38
- package/src/vaultFactory/vault.js +89 -88
- package/src/vaultFactory/vaultDirector.js +41 -33
- package/src/vaultFactory/vaultFactory.js +26 -33
- package/src/vaultFactory/vaultHolder.js +13 -8
- package/src/vaultFactory/vaultKit.js +2 -3
- package/src/vaultFactory/vaultManager.js +120 -138
- package/src/auction/auctionBook.d.ts +0 -83
- package/src/auction/auctionBook.d.ts.map +0 -1
- package/src/auction/auctioneer.d.ts +0 -75
- package/src/auction/auctioneer.d.ts.map +0 -1
- package/src/auction/offerBook.d.ts +0 -72
- package/src/auction/offerBook.d.ts.map +0 -1
- package/src/auction/params.d.ts +0 -142
- package/src/auction/params.d.ts.map +0 -1
- package/src/auction/scheduleMath.d.ts +0 -4
- package/src/auction/scheduleMath.d.ts.map +0 -1
- package/src/auction/scheduler.d.ts +0 -49
- package/src/auction/scheduler.d.ts.map +0 -1
- package/src/auction/sortedOffers.d.ts +0 -8
- package/src/auction/sortedOffers.d.ts.map +0 -1
- package/src/auction/util.d.ts +0 -30
- package/src/auction/util.d.ts.map +0 -1
- package/src/clientSupport.d.ts +0 -167
- package/src/clientSupport.d.ts.map +0 -1
- package/src/collectFees.d.ts +0 -2
- package/src/collectFees.d.ts.map +0 -1
- package/src/contractSupport.d.ts +0 -33
- package/src/contractSupport.d.ts.map +0 -1
- package/src/econCommitteeCharter.d.ts +0 -41
- package/src/econCommitteeCharter.d.ts.map +0 -1
- package/src/feeDistributor.d.ts +0 -212
- package/src/feeDistributor.d.ts.map +0 -1
- package/src/index.d.ts +0 -2
- package/src/index.d.ts.map +0 -1
- package/src/interest-math.d.ts +0 -3
- package/src/interest-math.d.ts.map +0 -1
- package/src/interest.d.ts +0 -29
- package/src/interest.d.ts.map +0 -1
- package/src/price/fluxAggregatorContract.d.ts +0 -112
- package/src/price/fluxAggregatorContract.d.ts.map +0 -1
- package/src/price/fluxAggregatorKit.d.ts +0 -155
- package/src/price/fluxAggregatorKit.d.ts.map +0 -1
- package/src/price/priceOracleKit.d.ts +0 -52
- package/src/price/priceOracleKit.d.ts.map +0 -1
- package/src/price/roundsManager.d.ts +0 -330
- package/src/price/roundsManager.d.ts.map +0 -1
- package/src/proposals/addAssetToVault.d.ts +0 -155
- package/src/proposals/addAssetToVault.d.ts.map +0 -1
- package/src/proposals/committee-proposal.d.ts +0 -121
- package/src/proposals/committee-proposal.d.ts.map +0 -1
- package/src/proposals/core-proposal.d.ts +0 -149
- package/src/proposals/core-proposal.d.ts.map +0 -1
- package/src/proposals/econ-behaviors.d.ts +0 -201
- package/src/proposals/econ-behaviors.d.ts.map +0 -1
- package/src/proposals/price-feed-proposal.d.ts +0 -83
- package/src/proposals/price-feed-proposal.d.ts.map +0 -1
- package/src/proposals/startEconCommittee.d.ts +0 -34
- package/src/proposals/startEconCommittee.d.ts.map +0 -1
- package/src/proposals/startPSM.d.ts +0 -61
- package/src/proposals/startPSM.d.ts.map +0 -1
- package/src/proposals/utils.d.ts +0 -15
- package/src/proposals/utils.d.ts.map +0 -1
- package/src/provisionPool.d.ts +0 -165
- package/src/provisionPool.d.ts.map +0 -1
- package/src/provisionPool.js +0 -119
- package/src/provisionPoolKit.d.ts +0 -379
- package/src/provisionPoolKit.d.ts.map +0 -1
- package/src/provisionPoolKit.js +0 -461
- package/src/psm/psm.d.ts +0 -178
- package/src/psm/psm.d.ts.map +0 -1
- package/src/psm/types.d.ts +0 -2
- package/src/psm/types.d.ts.map +0 -1
- package/src/reserve/assetReserve.d.ts +0 -44
- package/src/reserve/assetReserve.d.ts.map +0 -1
- package/src/reserve/assetReserveKit.d.ts +0 -114
- package/src/reserve/assetReserveKit.d.ts.map +0 -1
- package/src/reserve/params.d.ts +0 -10
- package/src/reserve/params.d.ts.map +0 -1
- package/src/tokens.d.ts +0 -3
- package/src/tokens.d.ts.map +0 -1
- package/src/tokens.js +0 -5
- package/src/vaultFactory/burn.d.ts +0 -2
- package/src/vaultFactory/burn.d.ts.map +0 -1
- package/src/vaultFactory/liquidation.d.ts +0 -24
- package/src/vaultFactory/liquidation.d.ts.map +0 -1
- package/src/vaultFactory/math.d.ts +0 -10
- package/src/vaultFactory/math.d.ts.map +0 -1
- package/src/vaultFactory/orderedVaultStore.d.ts +0 -94
- package/src/vaultFactory/orderedVaultStore.d.ts.map +0 -1
- package/src/vaultFactory/params.d.ts +0 -159
- package/src/vaultFactory/params.d.ts.map +0 -1
- package/src/vaultFactory/prioritizedVaults.d.ts +0 -279
- package/src/vaultFactory/prioritizedVaults.d.ts.map +0 -1
- package/src/vaultFactory/proceeds.d.ts +0 -34
- package/src/vaultFactory/proceeds.d.ts.map +0 -1
- package/src/vaultFactory/storeUtils.d.ts +0 -25
- package/src/vaultFactory/storeUtils.d.ts.map +0 -1
- package/src/vaultFactory/type-imports.d.ts +0 -2
- package/src/vaultFactory/type-imports.d.ts.map +0 -1
- package/src/vaultFactory/types.d.ts +0 -137
- package/src/vaultFactory/types.d.ts.map +0 -1
- package/src/vaultFactory/vault.d.ts +0 -529
- package/src/vaultFactory/vault.d.ts.map +0 -1
- package/src/vaultFactory/vaultDirector.d.ts +0 -560
- package/src/vaultFactory/vaultDirector.d.ts.map +0 -1
- package/src/vaultFactory/vaultFactory.d.ts +0 -162
- package/src/vaultFactory/vaultFactory.d.ts.map +0 -1
- package/src/vaultFactory/vaultHolder.d.ts +0 -201
- package/src/vaultFactory/vaultHolder.d.ts.map +0 -1
- package/src/vaultFactory/vaultKit.d.ts +0 -32
- package/src/vaultFactory/vaultKit.d.ts.map +0 -1
- package/src/vaultFactory/vaultManager.d.ts +0 -554
- package/src/vaultFactory/vaultManager.d.ts.map +0 -1
|
@@ -1,560 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Prepare the VaultDirector kind, get or make the singleton
|
|
3
|
-
*
|
|
4
|
-
* @type {(
|
|
5
|
-
* ...pvdArgs: Parameters<typeof prepareVaultDirector>
|
|
6
|
-
* ) => ReturnType<ReturnType<typeof prepareVaultDirector>>}
|
|
7
|
-
*/
|
|
8
|
-
export const provideDirector: (baggage: import("@agoric/swingset-liveslots").Baggage, zcf: import("./vaultFactory.js").VaultFactoryZCF, directorParamManager: VaultDirectorParamManager, debtMint: ZCFMint<"nat">, timer: ERef<import("@agoric/time/src/types").TimerService>, auctioneer: ERef<GovernedPublicFacet<{
|
|
9
|
-
getElectorate: () => Amount<"set">;
|
|
10
|
-
getStartFrequency: () => import("@agoric/time/src/types").RelativeTime;
|
|
11
|
-
getClockStep: () => import("@agoric/time/src/types").RelativeTime;
|
|
12
|
-
getStartingRate: () => bigint;
|
|
13
|
-
getLowestRate: () => bigint;
|
|
14
|
-
getDiscountStep: () => bigint;
|
|
15
|
-
getAuctionStartDelay: () => import("@agoric/time/src/types").RelativeTime;
|
|
16
|
-
getPriceLockPeriod: () => import("@agoric/time/src/types").RelativeTime;
|
|
17
|
-
makeBidInvitation(collateralBrand: Brand<"nat">): Promise<Invitation<R, A>>;
|
|
18
|
-
getSchedules(): {
|
|
19
|
-
liveAuctionSchedule: import("../auction/scheduler.js").Schedule | null;
|
|
20
|
-
nextAuctionSchedule: import("../auction/scheduler.js").Schedule | null;
|
|
21
|
-
};
|
|
22
|
-
getScheduleUpdates(): Subscriber<import("../auction/scheduler.js").ScheduleNotification>;
|
|
23
|
-
getBookDataUpdates(brand: any): Subscriber<import("../auction/auctionBook.js").BookDataNotification>;
|
|
24
|
-
getPublicTopics(brand: any): {
|
|
25
|
-
bookData: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/auctionBook.js").BookDataNotification>;
|
|
26
|
-
} | {
|
|
27
|
-
schedule: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/scheduler.js").ScheduleNotification>;
|
|
28
|
-
};
|
|
29
|
-
makeDepositInvitation: () => Promise<Invitation<R, A>>;
|
|
30
|
-
}>>, storageNode: ERef<StorageNode>, marshaller: ERef<Marshaller<unknown>>, makeRecorderKit: <T>(storageNode: StorageNode, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>, makeERecorderKit: <T_1>(storageNodeP: ERef<StorageNode>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T_1> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").EventualRecorderKit<T_1>) => ReturnType<ReturnType<typeof prepareVaultDirector>>;
|
|
31
|
-
export type MetricsNotification = {
|
|
32
|
-
collaterals: Brand[];
|
|
33
|
-
rewardPoolAllocation: AmountKeywordRecord;
|
|
34
|
-
};
|
|
35
|
-
export type ImmutableState = Readonly<{}>;
|
|
36
|
-
export type MutableState = {};
|
|
37
|
-
export type State = ImmutableState & MutableState;
|
|
38
|
-
export type FactoryPowersFacet = {
|
|
39
|
-
burnDebt: BurnDebt;
|
|
40
|
-
getGovernedParams: (collateralBrand: Brand) => import('./vaultManager.js').GovernedParamGetters;
|
|
41
|
-
mintAndTransfer: MintAndTransfer;
|
|
42
|
-
getShortfallReporter: () => Promise<import('../reserve/assetReserve.js').ShortfallReporter>;
|
|
43
|
-
};
|
|
44
|
-
export type MethodContext = Readonly<{
|
|
45
|
-
state: State;
|
|
46
|
-
}>;
|
|
47
|
-
export type VaultDirectorParamManager = import('@agoric/governance/src/contractGovernance/typedParamManager').TypedParamManager<import('./params.js').VaultDirectorParams>;
|
|
48
|
-
/**
|
|
49
|
-
* @param {import('@agoric/ertp').Baggage} baggage
|
|
50
|
-
* @param {import('./vaultFactory.js').VaultFactoryZCF} zcf
|
|
51
|
-
* @param {VaultDirectorParamManager} directorParamManager
|
|
52
|
-
* @param {ZCFMint<'nat'>} debtMint
|
|
53
|
-
* @param {ERef<import('@agoric/time/src/types').TimerService>} timer
|
|
54
|
-
* @param {ERef<import('../auction/auctioneer.js').AuctioneerPublicFacet>} auctioneer
|
|
55
|
-
* @param {ERef<StorageNode>} storageNode
|
|
56
|
-
* @param {ERef<Marshaller>} marshaller
|
|
57
|
-
* @param {import('@agoric/zoe/src/contractSupport/recorder.js').MakeRecorderKit} makeRecorderKit
|
|
58
|
-
* @param {import('@agoric/zoe/src/contractSupport/recorder.js').MakeERecorderKit} makeERecorderKit
|
|
59
|
-
*/
|
|
60
|
-
declare function prepareVaultDirector(baggage: import('@agoric/ertp').Baggage, zcf: import('./vaultFactory.js').VaultFactoryZCF, directorParamManager: VaultDirectorParamManager, debtMint: ZCFMint<'nat'>, timer: ERef<import('@agoric/time/src/types').TimerService>, auctioneer: ERef<import('../auction/auctioneer.js').AuctioneerPublicFacet>, storageNode: ERef<StorageNode>, marshaller: ERef<Marshaller>, makeRecorderKit: import('@agoric/zoe/src/contractSupport/recorder.js').MakeRecorderKit, makeERecorderKit: import('@agoric/zoe/src/contractSupport/recorder.js').MakeERecorderKit): () => {
|
|
61
|
-
creator: {
|
|
62
|
-
getParamMgrRetriever: () => {
|
|
63
|
-
/** @param {VaultFactoryParamPath} paramPath */
|
|
64
|
-
get: (paramPath?: VaultFactoryParamPath) => VaultDirectorParamManager | import("@agoric/governance/src/contractGovernance/typedParamManager").TypedParamManager<{
|
|
65
|
-
DebtLimit: "amount";
|
|
66
|
-
InterestRate: "ratio";
|
|
67
|
-
LiquidationPadding: "ratio";
|
|
68
|
-
LiquidationMargin: "ratio";
|
|
69
|
-
LiquidationPenalty: "ratio";
|
|
70
|
-
MintFee: "ratio";
|
|
71
|
-
}>;
|
|
72
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
73
|
-
/** @param {VaultFactoryParamPath} paramPath */
|
|
74
|
-
get: (paramPath?: VaultFactoryParamPath) => VaultDirectorParamManager | import("@agoric/governance/src/contractGovernance/typedParamManager").TypedParamManager<{
|
|
75
|
-
DebtLimit: "amount";
|
|
76
|
-
InterestRate: "ratio";
|
|
77
|
-
LiquidationPadding: "ratio";
|
|
78
|
-
LiquidationMargin: "ratio";
|
|
79
|
-
LiquidationPenalty: "ratio";
|
|
80
|
-
MintFee: "ratio";
|
|
81
|
-
}>;
|
|
82
|
-
}>;
|
|
83
|
-
/** @param {string} name */
|
|
84
|
-
getInvitation(name: string): Promise<Invitation<R, A>>;
|
|
85
|
-
getLimitedCreatorFacet(): {
|
|
86
|
-
/**
|
|
87
|
-
* @param {Issuer<'nat'>} collateralIssuer
|
|
88
|
-
* @param {Keyword} collateralKeyword
|
|
89
|
-
* @param {VaultManagerParamValues} initialParamValues
|
|
90
|
-
*/
|
|
91
|
-
addVaultType(collateralIssuer: Issuer<'nat'>, collateralKeyword: Keyword, initialParamValues: VaultManagerParamValues): Promise<{
|
|
92
|
-
getGovernedParams(): import("./vaultManager.js").GovernedParamGetters;
|
|
93
|
-
makeVaultKit(seat: ZCFSeat): Promise<{
|
|
94
|
-
publicSubscribers: {
|
|
95
|
-
vault: {
|
|
96
|
-
description: string;
|
|
97
|
-
subscriber: Subscriber<import("./vault.js").VaultNotification>;
|
|
98
|
-
storagePath: Promise<string>;
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
invitationMakers: {
|
|
102
|
-
AdjustBalances(): Promise<Invitation<R, A>>;
|
|
103
|
-
CloseVault(): Promise<Invitation<R, A>>;
|
|
104
|
-
TransferVault(): Promise<Invitation<R, A>>;
|
|
105
|
-
};
|
|
106
|
-
vault: {
|
|
107
|
-
getPublicTopics(): {
|
|
108
|
-
vault: {
|
|
109
|
-
description: string;
|
|
110
|
-
subscriber: Subscriber<import("./vault.js").VaultNotification>;
|
|
111
|
-
storagePath: Promise<string>;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
makeAdjustBalancesInvitation(): Promise<Invitation<R, A>>;
|
|
115
|
-
makeCloseInvitation(): Promise<Invitation<R, A>>;
|
|
116
|
-
makeTransferInvitation(): Promise<Invitation<R, A>>;
|
|
117
|
-
getCollateralAmount(): Amount<"nat">;
|
|
118
|
-
getCurrentDebt(): Amount<"nat">;
|
|
119
|
-
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
120
|
-
};
|
|
121
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<import("./vault.js").VaultNotification>;
|
|
122
|
-
}>;
|
|
123
|
-
getCollateralQuote(): PriceQuote;
|
|
124
|
-
getPublicFacet(): {
|
|
125
|
-
makeVaultInvitation(): Promise<Invitation<R, A>>;
|
|
126
|
-
getQuotes(): import("@agoric/notifier").StoredNotifier<PriceQuote>;
|
|
127
|
-
getCompoundedInterest(): Ratio;
|
|
128
|
-
getPublicTopics(): {
|
|
129
|
-
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("./vaultManager.js").AssetState>;
|
|
130
|
-
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("./vaultManager.js").MetricsNotification>;
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
lockOraclePrices(): PriceQuote;
|
|
134
|
-
liquidateVaults(auctionPF: ERef<GovernedPublicFacet<{
|
|
135
|
-
getElectorate: () => Amount<"set">;
|
|
136
|
-
getStartFrequency: () => import("@agoric/time/src/types").RelativeTime;
|
|
137
|
-
getClockStep: () => import("@agoric/time/src/types").RelativeTime;
|
|
138
|
-
getStartingRate: () => bigint;
|
|
139
|
-
getLowestRate: () => bigint;
|
|
140
|
-
getDiscountStep: () => bigint;
|
|
141
|
-
getAuctionStartDelay: () => import("@agoric/time/src/types").RelativeTime;
|
|
142
|
-
getPriceLockPeriod: () => import("@agoric/time/src/types").RelativeTime;
|
|
143
|
-
makeBidInvitation(collateralBrand: Brand<"nat">): Promise<Invitation<R, A>>;
|
|
144
|
-
getSchedules(): {
|
|
145
|
-
liveAuctionSchedule: import("../auction/scheduler.js").Schedule | null;
|
|
146
|
-
nextAuctionSchedule: import("../auction/scheduler.js").Schedule | null;
|
|
147
|
-
};
|
|
148
|
-
getScheduleUpdates(): Subscriber<import("../auction/scheduler.js").ScheduleNotification>;
|
|
149
|
-
getBookDataUpdates(brand: any): Subscriber<import("../auction/auctionBook.js").BookDataNotification>;
|
|
150
|
-
getPublicTopics(brand: any): {
|
|
151
|
-
bookData: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/auctionBook.js").BookDataNotification>;
|
|
152
|
-
} | {
|
|
153
|
-
schedule: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/scheduler.js").ScheduleNotification>;
|
|
154
|
-
};
|
|
155
|
-
makeDepositInvitation: () => Promise<Invitation<R, A>>;
|
|
156
|
-
}>>): Promise<void>;
|
|
157
|
-
}>;
|
|
158
|
-
makeCollectFeesInvitation(): Promise<Invitation<R, A>>;
|
|
159
|
-
getRewardAllocation(): AmountKeywordRecord;
|
|
160
|
-
makeLiquidationWaker(): {
|
|
161
|
-
wake: (timestamp: any) => any;
|
|
162
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
163
|
-
wake: (timestamp: any) => any;
|
|
164
|
-
}>;
|
|
165
|
-
makeReschedulerWaker(): {
|
|
166
|
-
wake: (timestamp: any) => any;
|
|
167
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
168
|
-
wake: (timestamp: any) => any;
|
|
169
|
-
}>;
|
|
170
|
-
makePriceLockWaker(): {
|
|
171
|
-
wake: (timestamp: any) => any;
|
|
172
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
173
|
-
wake: (timestamp: any) => any;
|
|
174
|
-
}>;
|
|
175
|
-
};
|
|
176
|
-
/** @returns {ERef<GovernedApis>} */
|
|
177
|
-
getGovernedApis(): ERef<GovernedApis>;
|
|
178
|
-
getGovernedApiNames(): never[];
|
|
179
|
-
setOfferFilter: (strings: any) => Promise<void>;
|
|
180
|
-
};
|
|
181
|
-
machine: {
|
|
182
|
-
/**
|
|
183
|
-
* @param {Issuer<'nat'>} collateralIssuer
|
|
184
|
-
* @param {Keyword} collateralKeyword
|
|
185
|
-
* @param {VaultManagerParamValues} initialParamValues
|
|
186
|
-
*/
|
|
187
|
-
addVaultType(collateralIssuer: Issuer<'nat'>, collateralKeyword: Keyword, initialParamValues: VaultManagerParamValues): Promise<{
|
|
188
|
-
getGovernedParams(): import("./vaultManager.js").GovernedParamGetters;
|
|
189
|
-
makeVaultKit(seat: ZCFSeat): Promise<{
|
|
190
|
-
publicSubscribers: {
|
|
191
|
-
vault: {
|
|
192
|
-
description: string;
|
|
193
|
-
subscriber: Subscriber<import("./vault.js").VaultNotification>;
|
|
194
|
-
storagePath: Promise<string>;
|
|
195
|
-
};
|
|
196
|
-
};
|
|
197
|
-
invitationMakers: {
|
|
198
|
-
AdjustBalances(): Promise<Invitation<R, A>>;
|
|
199
|
-
CloseVault(): Promise<Invitation<R, A>>;
|
|
200
|
-
TransferVault(): Promise<Invitation<R, A>>;
|
|
201
|
-
};
|
|
202
|
-
vault: {
|
|
203
|
-
getPublicTopics(): {
|
|
204
|
-
vault: {
|
|
205
|
-
description: string;
|
|
206
|
-
subscriber: Subscriber<import("./vault.js").VaultNotification>;
|
|
207
|
-
storagePath: Promise<string>;
|
|
208
|
-
};
|
|
209
|
-
};
|
|
210
|
-
makeAdjustBalancesInvitation(): Promise<Invitation<R, A>>;
|
|
211
|
-
makeCloseInvitation(): Promise<Invitation<R, A>>;
|
|
212
|
-
makeTransferInvitation(): Promise<Invitation<R, A>>;
|
|
213
|
-
getCollateralAmount(): Amount<"nat">;
|
|
214
|
-
getCurrentDebt(): Amount<"nat">;
|
|
215
|
-
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
216
|
-
};
|
|
217
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<import("./vault.js").VaultNotification>;
|
|
218
|
-
}>;
|
|
219
|
-
getCollateralQuote(): PriceQuote;
|
|
220
|
-
getPublicFacet(): {
|
|
221
|
-
makeVaultInvitation(): Promise<Invitation<R, A>>;
|
|
222
|
-
getQuotes(): import("@agoric/notifier").StoredNotifier<PriceQuote>;
|
|
223
|
-
getCompoundedInterest(): Ratio;
|
|
224
|
-
getPublicTopics(): {
|
|
225
|
-
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("./vaultManager.js").AssetState>;
|
|
226
|
-
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("./vaultManager.js").MetricsNotification>;
|
|
227
|
-
};
|
|
228
|
-
};
|
|
229
|
-
lockOraclePrices(): PriceQuote;
|
|
230
|
-
liquidateVaults(auctionPF: ERef<GovernedPublicFacet<{
|
|
231
|
-
getElectorate: () => Amount<"set">;
|
|
232
|
-
getStartFrequency: () => import("@agoric/time/src/types").RelativeTime;
|
|
233
|
-
getClockStep: () => import("@agoric/time/src/types").RelativeTime;
|
|
234
|
-
getStartingRate: () => bigint;
|
|
235
|
-
getLowestRate: () => bigint;
|
|
236
|
-
getDiscountStep: () => bigint;
|
|
237
|
-
getAuctionStartDelay: () => import("@agoric/time/src/types").RelativeTime;
|
|
238
|
-
getPriceLockPeriod: () => import("@agoric/time/src/types").RelativeTime;
|
|
239
|
-
makeBidInvitation(collateralBrand: Brand<"nat">): Promise<Invitation<R, A>>;
|
|
240
|
-
getSchedules(): {
|
|
241
|
-
liveAuctionSchedule: import("../auction/scheduler.js").Schedule | null;
|
|
242
|
-
nextAuctionSchedule: import("../auction/scheduler.js").Schedule | null;
|
|
243
|
-
};
|
|
244
|
-
getScheduleUpdates(): Subscriber<import("../auction/scheduler.js").ScheduleNotification>;
|
|
245
|
-
getBookDataUpdates(brand: any): Subscriber<import("../auction/auctionBook.js").BookDataNotification>;
|
|
246
|
-
getPublicTopics(brand: any): {
|
|
247
|
-
bookData: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/auctionBook.js").BookDataNotification>;
|
|
248
|
-
} | {
|
|
249
|
-
schedule: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/scheduler.js").ScheduleNotification>;
|
|
250
|
-
};
|
|
251
|
-
makeDepositInvitation: () => Promise<Invitation<R, A>>;
|
|
252
|
-
}>>): Promise<void>;
|
|
253
|
-
}>;
|
|
254
|
-
makeCollectFeesInvitation(): Promise<Invitation<R, A>>;
|
|
255
|
-
getRewardAllocation(): AmountKeywordRecord;
|
|
256
|
-
makeLiquidationWaker(): {
|
|
257
|
-
wake: (timestamp: any) => any;
|
|
258
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
259
|
-
wake: (timestamp: any) => any;
|
|
260
|
-
}>;
|
|
261
|
-
makeReschedulerWaker(): {
|
|
262
|
-
wake: (timestamp: any) => any;
|
|
263
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
264
|
-
wake: (timestamp: any) => any;
|
|
265
|
-
}>;
|
|
266
|
-
makePriceLockWaker(): {
|
|
267
|
-
wake: (timestamp: any) => any;
|
|
268
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
269
|
-
wake: (timestamp: any) => any;
|
|
270
|
-
}>;
|
|
271
|
-
};
|
|
272
|
-
public: {
|
|
273
|
-
/** @param {Brand} brandIn */
|
|
274
|
-
getCollateralManager(brandIn: Brand): {
|
|
275
|
-
makeVaultInvitation(): Promise<Invitation<R, A>>;
|
|
276
|
-
getQuotes(): import("@agoric/notifier").StoredNotifier<PriceQuote>;
|
|
277
|
-
getCompoundedInterest(): Ratio;
|
|
278
|
-
getPublicTopics(): {
|
|
279
|
-
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("./vaultManager.js").AssetState>;
|
|
280
|
-
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("./vaultManager.js").MetricsNotification>;
|
|
281
|
-
};
|
|
282
|
-
};
|
|
283
|
-
getDebtIssuer(): Issuer<"nat">;
|
|
284
|
-
/**
|
|
285
|
-
* subscription for the paramManager for a particular vaultManager
|
|
286
|
-
*
|
|
287
|
-
* @param {{ collateralBrand: Brand }} selector
|
|
288
|
-
*/
|
|
289
|
-
getSubscription({ collateralBrand }: {
|
|
290
|
-
collateralBrand: Brand;
|
|
291
|
-
}): StoredSubscription<GovernanceSubscriptionState>;
|
|
292
|
-
getPublicTopics(): {
|
|
293
|
-
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<MetricsNotification>;
|
|
294
|
-
};
|
|
295
|
-
/** subscription for the paramManager for the vaultFactory's electorate */
|
|
296
|
-
getElectorateSubscription(): StoredSubscription<GovernanceSubscriptionState>;
|
|
297
|
-
/** @param {{ collateralBrand: Brand }} selector */
|
|
298
|
-
getGovernedParams({ collateralBrand }: {
|
|
299
|
-
collateralBrand: Brand;
|
|
300
|
-
}): ERef<ParamStateRecord>;
|
|
301
|
-
/** @param {string} name */
|
|
302
|
-
getInvitationAmount(name: string): Amount<"set">;
|
|
303
|
-
};
|
|
304
|
-
helper: {
|
|
305
|
-
resetWakeupsForNextAuction(): Promise<void>;
|
|
306
|
-
/** Start non-durable processes (or restart if needed after vat restart) */
|
|
307
|
-
start(): Promise<void>;
|
|
308
|
-
};
|
|
309
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
310
|
-
creator: {
|
|
311
|
-
getParamMgrRetriever: () => {
|
|
312
|
-
/** @param {VaultFactoryParamPath} paramPath */
|
|
313
|
-
get: (paramPath?: VaultFactoryParamPath) => VaultDirectorParamManager | import("@agoric/governance/src/contractGovernance/typedParamManager").TypedParamManager<{
|
|
314
|
-
DebtLimit: "amount";
|
|
315
|
-
InterestRate: "ratio";
|
|
316
|
-
LiquidationPadding: "ratio";
|
|
317
|
-
LiquidationMargin: "ratio";
|
|
318
|
-
LiquidationPenalty: "ratio";
|
|
319
|
-
MintFee: "ratio";
|
|
320
|
-
}>;
|
|
321
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
322
|
-
/** @param {VaultFactoryParamPath} paramPath */
|
|
323
|
-
get: (paramPath?: VaultFactoryParamPath) => VaultDirectorParamManager | import("@agoric/governance/src/contractGovernance/typedParamManager").TypedParamManager<{
|
|
324
|
-
DebtLimit: "amount";
|
|
325
|
-
InterestRate: "ratio";
|
|
326
|
-
LiquidationPadding: "ratio";
|
|
327
|
-
LiquidationMargin: "ratio";
|
|
328
|
-
LiquidationPenalty: "ratio";
|
|
329
|
-
MintFee: "ratio";
|
|
330
|
-
}>;
|
|
331
|
-
}>;
|
|
332
|
-
/** @param {string} name */
|
|
333
|
-
getInvitation(name: string): Promise<Invitation<R, A>>;
|
|
334
|
-
getLimitedCreatorFacet(): {
|
|
335
|
-
/**
|
|
336
|
-
* @param {Issuer<'nat'>} collateralIssuer
|
|
337
|
-
* @param {Keyword} collateralKeyword
|
|
338
|
-
* @param {VaultManagerParamValues} initialParamValues
|
|
339
|
-
*/
|
|
340
|
-
addVaultType(collateralIssuer: Issuer<'nat'>, collateralKeyword: Keyword, initialParamValues: VaultManagerParamValues): Promise<{
|
|
341
|
-
getGovernedParams(): import("./vaultManager.js").GovernedParamGetters;
|
|
342
|
-
makeVaultKit(seat: ZCFSeat): Promise<{
|
|
343
|
-
publicSubscribers: {
|
|
344
|
-
vault: {
|
|
345
|
-
description: string;
|
|
346
|
-
subscriber: Subscriber<import("./vault.js").VaultNotification>;
|
|
347
|
-
storagePath: Promise<string>;
|
|
348
|
-
};
|
|
349
|
-
};
|
|
350
|
-
invitationMakers: {
|
|
351
|
-
AdjustBalances(): Promise<Invitation<R, A>>;
|
|
352
|
-
CloseVault(): Promise<Invitation<R, A>>;
|
|
353
|
-
TransferVault(): Promise<Invitation<R, A>>;
|
|
354
|
-
};
|
|
355
|
-
vault: {
|
|
356
|
-
getPublicTopics(): {
|
|
357
|
-
vault: {
|
|
358
|
-
description: string;
|
|
359
|
-
subscriber: Subscriber<import("./vault.js").VaultNotification>;
|
|
360
|
-
storagePath: Promise<string>;
|
|
361
|
-
};
|
|
362
|
-
};
|
|
363
|
-
makeAdjustBalancesInvitation(): Promise<Invitation<R, A>>;
|
|
364
|
-
makeCloseInvitation(): Promise<Invitation<R, A>>;
|
|
365
|
-
makeTransferInvitation(): Promise<Invitation<R, A>>;
|
|
366
|
-
getCollateralAmount(): Amount<"nat">;
|
|
367
|
-
getCurrentDebt(): Amount<"nat">;
|
|
368
|
-
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
369
|
-
};
|
|
370
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<import("./vault.js").VaultNotification>;
|
|
371
|
-
}>;
|
|
372
|
-
getCollateralQuote(): PriceQuote;
|
|
373
|
-
getPublicFacet(): {
|
|
374
|
-
makeVaultInvitation(): Promise<Invitation<R, A>>;
|
|
375
|
-
getQuotes(): import("@agoric/notifier").StoredNotifier<PriceQuote>;
|
|
376
|
-
getCompoundedInterest(): Ratio;
|
|
377
|
-
getPublicTopics(): {
|
|
378
|
-
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("./vaultManager.js").AssetState>;
|
|
379
|
-
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("./vaultManager.js").MetricsNotification>;
|
|
380
|
-
};
|
|
381
|
-
};
|
|
382
|
-
lockOraclePrices(): PriceQuote;
|
|
383
|
-
liquidateVaults(auctionPF: ERef<GovernedPublicFacet<{
|
|
384
|
-
getElectorate: () => Amount<"set">;
|
|
385
|
-
getStartFrequency: () => import("@agoric/time/src/types").RelativeTime;
|
|
386
|
-
getClockStep: () => import("@agoric/time/src/types").RelativeTime;
|
|
387
|
-
getStartingRate: () => bigint;
|
|
388
|
-
getLowestRate: () => bigint;
|
|
389
|
-
getDiscountStep: () => bigint;
|
|
390
|
-
getAuctionStartDelay: () => import("@agoric/time/src/types").RelativeTime;
|
|
391
|
-
getPriceLockPeriod: () => import("@agoric/time/src/types").RelativeTime;
|
|
392
|
-
makeBidInvitation(collateralBrand: Brand<"nat">): Promise<Invitation<R, A>>;
|
|
393
|
-
getSchedules(): {
|
|
394
|
-
liveAuctionSchedule: import("../auction/scheduler.js").Schedule | null;
|
|
395
|
-
nextAuctionSchedule: import("../auction/scheduler.js").Schedule | null;
|
|
396
|
-
};
|
|
397
|
-
getScheduleUpdates(): Subscriber<import("../auction/scheduler.js").ScheduleNotification>;
|
|
398
|
-
getBookDataUpdates(brand: any): Subscriber<import("../auction/auctionBook.js").BookDataNotification>;
|
|
399
|
-
getPublicTopics(brand: any): {
|
|
400
|
-
bookData: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/auctionBook.js").BookDataNotification>;
|
|
401
|
-
} | {
|
|
402
|
-
schedule: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/scheduler.js").ScheduleNotification>;
|
|
403
|
-
};
|
|
404
|
-
makeDepositInvitation: () => Promise<Invitation<R, A>>;
|
|
405
|
-
}>>): Promise<void>;
|
|
406
|
-
}>;
|
|
407
|
-
makeCollectFeesInvitation(): Promise<Invitation<R, A>>;
|
|
408
|
-
getRewardAllocation(): AmountKeywordRecord;
|
|
409
|
-
makeLiquidationWaker(): {
|
|
410
|
-
wake: (timestamp: any) => any;
|
|
411
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
412
|
-
wake: (timestamp: any) => any;
|
|
413
|
-
}>;
|
|
414
|
-
makeReschedulerWaker(): {
|
|
415
|
-
wake: (timestamp: any) => any;
|
|
416
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
417
|
-
wake: (timestamp: any) => any;
|
|
418
|
-
}>;
|
|
419
|
-
makePriceLockWaker(): {
|
|
420
|
-
wake: (timestamp: any) => any;
|
|
421
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
422
|
-
wake: (timestamp: any) => any;
|
|
423
|
-
}>;
|
|
424
|
-
};
|
|
425
|
-
/** @returns {ERef<GovernedApis>} */
|
|
426
|
-
getGovernedApis(): ERef<GovernedApis>;
|
|
427
|
-
getGovernedApiNames(): never[];
|
|
428
|
-
setOfferFilter: (strings: any) => Promise<void>;
|
|
429
|
-
};
|
|
430
|
-
machine: {
|
|
431
|
-
/**
|
|
432
|
-
* @param {Issuer<'nat'>} collateralIssuer
|
|
433
|
-
* @param {Keyword} collateralKeyword
|
|
434
|
-
* @param {VaultManagerParamValues} initialParamValues
|
|
435
|
-
*/
|
|
436
|
-
addVaultType(collateralIssuer: Issuer<'nat'>, collateralKeyword: Keyword, initialParamValues: VaultManagerParamValues): Promise<{
|
|
437
|
-
getGovernedParams(): import("./vaultManager.js").GovernedParamGetters;
|
|
438
|
-
makeVaultKit(seat: ZCFSeat): Promise<{
|
|
439
|
-
publicSubscribers: {
|
|
440
|
-
vault: {
|
|
441
|
-
description: string;
|
|
442
|
-
subscriber: Subscriber<import("./vault.js").VaultNotification>;
|
|
443
|
-
storagePath: Promise<string>;
|
|
444
|
-
};
|
|
445
|
-
};
|
|
446
|
-
invitationMakers: {
|
|
447
|
-
AdjustBalances(): Promise<Invitation<R, A>>;
|
|
448
|
-
CloseVault(): Promise<Invitation<R, A>>;
|
|
449
|
-
TransferVault(): Promise<Invitation<R, A>>;
|
|
450
|
-
};
|
|
451
|
-
vault: {
|
|
452
|
-
getPublicTopics(): {
|
|
453
|
-
vault: {
|
|
454
|
-
description: string;
|
|
455
|
-
subscriber: Subscriber<import("./vault.js").VaultNotification>;
|
|
456
|
-
storagePath: Promise<string>;
|
|
457
|
-
};
|
|
458
|
-
};
|
|
459
|
-
makeAdjustBalancesInvitation(): Promise<Invitation<R, A>>;
|
|
460
|
-
makeCloseInvitation(): Promise<Invitation<R, A>>;
|
|
461
|
-
makeTransferInvitation(): Promise<Invitation<R, A>>;
|
|
462
|
-
getCollateralAmount(): Amount<"nat">;
|
|
463
|
-
getCurrentDebt(): Amount<"nat">;
|
|
464
|
-
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
465
|
-
};
|
|
466
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<import("./vault.js").VaultNotification>;
|
|
467
|
-
}>;
|
|
468
|
-
getCollateralQuote(): PriceQuote;
|
|
469
|
-
getPublicFacet(): {
|
|
470
|
-
makeVaultInvitation(): Promise<Invitation<R, A>>;
|
|
471
|
-
getQuotes(): import("@agoric/notifier").StoredNotifier<PriceQuote>;
|
|
472
|
-
getCompoundedInterest(): Ratio;
|
|
473
|
-
getPublicTopics(): {
|
|
474
|
-
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("./vaultManager.js").AssetState>;
|
|
475
|
-
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("./vaultManager.js").MetricsNotification>;
|
|
476
|
-
};
|
|
477
|
-
};
|
|
478
|
-
lockOraclePrices(): PriceQuote;
|
|
479
|
-
liquidateVaults(auctionPF: ERef<GovernedPublicFacet<{
|
|
480
|
-
getElectorate: () => Amount<"set">;
|
|
481
|
-
getStartFrequency: () => import("@agoric/time/src/types").RelativeTime;
|
|
482
|
-
getClockStep: () => import("@agoric/time/src/types").RelativeTime;
|
|
483
|
-
getStartingRate: () => bigint;
|
|
484
|
-
getLowestRate: () => bigint;
|
|
485
|
-
getDiscountStep: () => bigint;
|
|
486
|
-
getAuctionStartDelay: () => import("@agoric/time/src/types").RelativeTime;
|
|
487
|
-
getPriceLockPeriod: () => import("@agoric/time/src/types").RelativeTime;
|
|
488
|
-
makeBidInvitation(collateralBrand: Brand<"nat">): Promise<Invitation<R, A>>;
|
|
489
|
-
getSchedules(): {
|
|
490
|
-
liveAuctionSchedule: import("../auction/scheduler.js").Schedule | null;
|
|
491
|
-
nextAuctionSchedule: import("../auction/scheduler.js").Schedule | null;
|
|
492
|
-
};
|
|
493
|
-
getScheduleUpdates(): Subscriber<import("../auction/scheduler.js").ScheduleNotification>;
|
|
494
|
-
getBookDataUpdates(brand: any): Subscriber<import("../auction/auctionBook.js").BookDataNotification>;
|
|
495
|
-
getPublicTopics(brand: any): {
|
|
496
|
-
bookData: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/auctionBook.js").BookDataNotification>;
|
|
497
|
-
} | {
|
|
498
|
-
schedule: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../auction/scheduler.js").ScheduleNotification>;
|
|
499
|
-
};
|
|
500
|
-
makeDepositInvitation: () => Promise<Invitation<R, A>>;
|
|
501
|
-
}>>): Promise<void>;
|
|
502
|
-
}>;
|
|
503
|
-
makeCollectFeesInvitation(): Promise<Invitation<R, A>>;
|
|
504
|
-
getRewardAllocation(): AmountKeywordRecord;
|
|
505
|
-
makeLiquidationWaker(): {
|
|
506
|
-
wake: (timestamp: any) => any;
|
|
507
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
508
|
-
wake: (timestamp: any) => any;
|
|
509
|
-
}>;
|
|
510
|
-
makeReschedulerWaker(): {
|
|
511
|
-
wake: (timestamp: any) => any;
|
|
512
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
513
|
-
wake: (timestamp: any) => any;
|
|
514
|
-
}>;
|
|
515
|
-
makePriceLockWaker(): {
|
|
516
|
-
wake: (timestamp: any) => any;
|
|
517
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
518
|
-
wake: (timestamp: any) => any;
|
|
519
|
-
}>;
|
|
520
|
-
};
|
|
521
|
-
public: {
|
|
522
|
-
/** @param {Brand} brandIn */
|
|
523
|
-
getCollateralManager(brandIn: Brand): {
|
|
524
|
-
makeVaultInvitation(): Promise<Invitation<R, A>>;
|
|
525
|
-
getQuotes(): import("@agoric/notifier").StoredNotifier<PriceQuote>;
|
|
526
|
-
getCompoundedInterest(): Ratio;
|
|
527
|
-
getPublicTopics(): {
|
|
528
|
-
asset: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("./vaultManager.js").AssetState>;
|
|
529
|
-
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("./vaultManager.js").MetricsNotification>;
|
|
530
|
-
};
|
|
531
|
-
};
|
|
532
|
-
getDebtIssuer(): Issuer<"nat">;
|
|
533
|
-
/**
|
|
534
|
-
* subscription for the paramManager for a particular vaultManager
|
|
535
|
-
*
|
|
536
|
-
* @param {{ collateralBrand: Brand }} selector
|
|
537
|
-
*/
|
|
538
|
-
getSubscription({ collateralBrand }: {
|
|
539
|
-
collateralBrand: Brand;
|
|
540
|
-
}): StoredSubscription<GovernanceSubscriptionState>;
|
|
541
|
-
getPublicTopics(): {
|
|
542
|
-
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<MetricsNotification>;
|
|
543
|
-
};
|
|
544
|
-
/** subscription for the paramManager for the vaultFactory's electorate */
|
|
545
|
-
getElectorateSubscription(): StoredSubscription<GovernanceSubscriptionState>;
|
|
546
|
-
/** @param {{ collateralBrand: Brand }} selector */
|
|
547
|
-
getGovernedParams({ collateralBrand }: {
|
|
548
|
-
collateralBrand: Brand;
|
|
549
|
-
}): ERef<ParamStateRecord>;
|
|
550
|
-
/** @param {string} name */
|
|
551
|
-
getInvitationAmount(name: string): Amount<"set">;
|
|
552
|
-
};
|
|
553
|
-
helper: {
|
|
554
|
-
resetWakeupsForNextAuction(): Promise<void>;
|
|
555
|
-
/** Start non-durable processes (or restart if needed after vat restart) */
|
|
556
|
-
start(): Promise<void>;
|
|
557
|
-
};
|
|
558
|
-
}>;
|
|
559
|
-
export {};
|
|
560
|
-
//# sourceMappingURL=vaultDirector.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vaultDirector.d.ts","sourceRoot":"","sources":["vaultDirector.js"],"names":[],"mappings":"AAkgBA;;;;;;GAMG;AACH;;;;;;;;;;;;;;;;;;;;;;qhBAFQ,WAAW,WAAW,2BAA2B,CAAC,CAAC,CAQzD;kCAleW;IACZ,WAAe,EAAE,KAAK,EAAE,CAAC;IACzB,oBAAwB,EAAE,mBAAmB,CAAC;CAC3C;6BAES,SAAS,EAAE,CAAC;2BAEZ,EAAE;oBAEF,cAAc,GAAG,YAAY;;cAG3B,QAAQ;yCAEC,KAAK,KACnB,OAAO,mBAAmB,EAAE,oBAAoB;qBACpC,eAAe;0BACV,MAAM,QAChC,OAAa,4BAA4B,EAAE,iBAAiB,CACvD;;4BAGO,SAAS;IACrB,KAAS,EAAE,KAAK,CAAC;CACd,CAAC;wCAEQ,OAAO,6DAA6D,EAAE,iBAAiB,CACnG,OAAa,aAAa,EAAE,mBAAmB,CAC1C;AAKN;;;;;;;;;;;GAWG;AACH,+CAXW,OAAO,cAAc,EAAE,OAAO,OAC9B,OAAO,mBAAmB,EAAE,eAAe,wBAC3C,yBAAyB,YACzB,QAAQ,KAAK,CAAC,SACd,KAAK,OAAO,wBAAwB,EAAE,YAAY,CAAC,cACnD,KAAK,OAAO,0BAA0B,EAAE,qBAAqB,CAAC,eAC9D,KAAK,WAAW,CAAC,cACjB,KAAK,UAAU,CAAC,mBAChB,OAAO,6CAA6C,EAAE,eAAe,oBACrE,OAAO,6CAA6C,EAAE,gBAAgB;;;YAwOrE,+CAA+C;8BAAnC,qBAAqB;;;;;;;;;YAAjC,+CAA+C;8BAAnC,qBAAqB;;;;;;;;;QAarC,2BAA2B;4BAAf,MAAM;;YAmBlB;;;;eAIG;2CAHQ,OAAO,KAAK,CAAC,qBACb,OAAO,sBACP,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAflC,oCAAoC;2BAAtB,KAAK,YAAY,CAAC;;;;;QAYhC;;;;WAIG;uCAHQ,OAAO,KAAK,CAAC,qBACb,OAAO,sBACP,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAuFlC,6BAA6B;sCAAjB,KAAK;;;;;;;;;;QAUjB;;;;WAIG;6CADQ;YAAE,eAAe,EAAE,KAAK,CAAA;SAAE;;;;QAQrC,0EAA0E;;QAI1E,mDAAmD;+CAAvC;YAAE,eAAe,EAAE,KAAK,CAAA;SAAE;QAKtC,2BAA2B;kCAAf,MAAM;;;;QAoBlB,2EAA2E;;;;;;YA5KvE,+CAA+C;8BAAnC,qBAAqB;;;;;;;;;YAAjC,+CAA+C;8BAAnC,qBAAqB;;;;;;;;;QAarC,2BAA2B;4BAAf,MAAM;;YAmBlB;;;;eAIG;2CAHQ,OAAO,KAAK,CAAC,qBACb,OAAO,sBACP,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAflC,oCAAoC;2BAAtB,KAAK,YAAY,CAAC;;;;;QAYhC;;;;WAIG;uCAHQ,OAAO,KAAK,CAAC,qBACb,OAAO,sBACP,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAuFlC,6BAA6B;sCAAjB,KAAK;;;;;;;;;;QAUjB;;;;WAIG;6CADQ;YAAE,eAAe,EAAE,KAAK,CAAA;SAAE;;;;QAQrC,0EAA0E;;QAI1E,mDAAmD;+CAAvC;YAAE,eAAe,EAAE,KAAK,CAAA;SAAE;QAKtC,2BAA2B;kCAAf,MAAM;;;;QAoBlB,2EAA2E;;;GAmBlF"}
|