@agoric/inter-protocol 0.16.2-dev-f8abc2e.0 → 0.16.2-dev-860d051.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 +1 -1
- package/src/auction/auctionBook.d.ts.map +1 -1
- package/src/auction/auctionBook.js +1 -1
- package/src/auction/auctioneer.d.ts +21 -7
- package/src/auction/auctioneer.d.ts.map +1 -1
- package/src/auction/auctioneer.js +1 -1
- package/src/auction/offerBook.d.ts +2 -2
- package/src/auction/offerBook.d.ts.map +1 -1
- package/src/auction/offerBook.js +1 -1
- package/src/auction/params.d.ts +2 -4
- package/src/auction/params.d.ts.map +1 -1
- package/src/auction/params.js +2 -2
- package/src/auction/scheduleMath.d.ts.map +1 -1
- package/src/auction/scheduler.d.ts +1 -1
- package/src/auction/scheduler.d.ts.map +1 -1
- package/src/auction/util.d.ts +4 -4
- package/src/auction/util.d.ts.map +1 -1
- package/src/feeDistributor.d.ts +5 -5
- package/src/feeDistributor.d.ts.map +1 -1
- package/src/feeDistributor.js +2 -3
- package/src/interest.d.ts +4 -5
- package/src/interest.d.ts.map +1 -1
- package/src/interest.js +2 -3
- package/src/price/fluxAggregatorContract.d.ts +6 -7
- package/src/price/fluxAggregatorContract.d.ts.map +1 -1
- package/src/price/fluxAggregatorContract.js +2 -3
- package/src/price/fluxAggregatorKit.d.ts +4 -48
- package/src/price/fluxAggregatorKit.d.ts.map +1 -1
- package/src/price/fluxAggregatorKit.js +5 -9
- package/src/price/roundsManager.d.ts +37 -14
- package/src/price/roundsManager.d.ts.map +1 -1
- package/src/price/roundsManager.js +3 -4
- package/src/proposals/addAssetToVault.d.ts +1 -1
- package/src/proposals/addAssetToVault.d.ts.map +1 -1
- package/src/proposals/addAssetToVault.js +1 -1
- package/src/proposals/core-proposal.d.ts.map +1 -1
- package/src/proposals/core-proposal.js +0 -2
- package/src/proposals/econ-behaviors.d.ts +8 -10
- package/src/proposals/econ-behaviors.d.ts.map +1 -1
- package/src/proposals/econ-behaviors.js +2 -4
- package/src/proposals/startPSM.d.ts +7 -9
- package/src/proposals/startPSM.d.ts.map +1 -1
- package/src/proposals/startPSM.js +4 -4
- package/src/proposals/utils.d.ts +1 -1
- package/src/proposals/utils.d.ts.map +1 -1
- package/src/provisionPoolKit.d.ts +13 -17
- package/src/provisionPoolKit.d.ts.map +1 -1
- package/src/provisionPoolKit.js +1 -2
- package/src/psm/psm.d.ts +2 -3
- package/src/psm/psm.d.ts.map +1 -1
- package/src/psm/psm.js +1 -1
- package/src/psm/types.d.ts +1 -1
- package/src/psm/types.d.ts.map +1 -1
- package/src/psm/types.js +1 -1
- package/src/reserve/assetReserve.d.ts +1 -1
- package/src/reserve/assetReserve.d.ts.map +1 -1
- package/src/reserve/assetReserve.js +1 -1
- package/src/vaultFactory/liquidation.d.ts +154 -16
- package/src/vaultFactory/liquidation.d.ts.map +1 -1
- package/src/vaultFactory/liquidation.js +4 -4
- package/src/vaultFactory/orderedVaultStore.d.ts +225 -17
- package/src/vaultFactory/orderedVaultStore.d.ts.map +1 -1
- package/src/vaultFactory/orderedVaultStore.js +2 -2
- package/src/vaultFactory/params.d.ts +14 -9
- package/src/vaultFactory/params.d.ts.map +1 -1
- package/src/vaultFactory/prioritizedVaults.d.ts +625 -62
- package/src/vaultFactory/prioritizedVaults.d.ts.map +1 -1
- package/src/vaultFactory/prioritizedVaults.js +2 -2
- package/src/vaultFactory/storeUtils.d.ts +1 -2
- package/src/vaultFactory/storeUtils.d.ts.map +1 -1
- package/src/vaultFactory/storeUtils.js +1 -1
- package/src/vaultFactory/types.d.ts +120 -11
- package/src/vaultFactory/types.d.ts.map +1 -1
- package/src/vaultFactory/types.js +10 -20
- package/src/vaultFactory/vault.d.ts +63 -5
- package/src/vaultFactory/vault.d.ts.map +1 -1
- package/src/vaultFactory/vault.js +2 -2
- package/src/vaultFactory/vaultDirector.d.ts +34 -34
- package/src/vaultFactory/vaultDirector.d.ts.map +1 -1
- package/src/vaultFactory/vaultDirector.js +1 -1
- package/src/vaultFactory/vaultFactory.d.ts +21 -16
- package/src/vaultFactory/vaultFactory.d.ts.map +1 -1
- package/src/vaultFactory/vaultFactory.js +1 -1
- package/src/vaultFactory/vaultHolder.d.ts +95 -17
- package/src/vaultFactory/vaultHolder.d.ts.map +1 -1
- package/src/vaultFactory/vaultHolder.js +1 -1
- package/src/vaultFactory/vaultKit.d.ts +74 -4
- package/src/vaultFactory/vaultKit.d.ts.map +1 -1
- package/src/vaultFactory/vaultKit.js +1 -1
- package/src/vaultFactory/vaultManager.d.ts +391 -41
- package/src/vaultFactory/vaultManager.d.ts.map +1 -1
- package/src/vaultFactory/vaultManager.js +3 -3
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export function setWakeupsForNextAuction(auctioneerPublicFacet: ERef<GovernedPublicFacet<{
|
|
2
2
|
getElectorate: () => Amount<"set">;
|
|
3
|
-
getStartFrequency: () =>
|
|
4
|
-
getClockStep: () =>
|
|
3
|
+
getStartFrequency: () => RelativeTime;
|
|
4
|
+
getClockStep: () => RelativeTime;
|
|
5
5
|
getStartingRate: () => bigint;
|
|
6
6
|
getLowestRate: () => bigint;
|
|
7
7
|
getDiscountStep: () => bigint;
|
|
8
|
-
getAuctionStartDelay: () =>
|
|
9
|
-
getPriceLockPeriod: () =>
|
|
8
|
+
getAuctionStartDelay: () => RelativeTime;
|
|
9
|
+
getPriceLockPeriod: () => RelativeTime;
|
|
10
10
|
makeBidInvitation(collateralBrand: Brand<"nat">): Promise<Invitation<string, ({
|
|
11
11
|
maxBuy: Amount<"nat">;
|
|
12
12
|
} & {
|
|
@@ -34,20 +34,20 @@ export function setWakeupsForNextAuction(auctioneerPublicFacet: ERef<GovernedPub
|
|
|
34
34
|
makeDepositInvitation: () => Promise<Invitation<string, {
|
|
35
35
|
goal: Amount<"nat">;
|
|
36
36
|
}>>;
|
|
37
|
-
}>>, timer: ERef<
|
|
37
|
+
}>>, timer: ERef<TimerService>, priceLockWaker: TimerWaker, liquidationWaker: TimerWaker, reschedulerWaker: TimerWaker): Promise<void>;
|
|
38
38
|
export function liquidationResults(debt: Amount<'nat'>, minted: Amount<'nat'>): {
|
|
39
39
|
overage: Amount<'nat'>;
|
|
40
40
|
shortfall: Amount<'nat'>;
|
|
41
41
|
};
|
|
42
42
|
export function watchForGovernanceChange(auctioneerPublicFacet: ERef<GovernedPublicFacet<{
|
|
43
43
|
getElectorate: () => Amount<"set">;
|
|
44
|
-
getStartFrequency: () =>
|
|
45
|
-
getClockStep: () =>
|
|
44
|
+
getStartFrequency: () => RelativeTime;
|
|
45
|
+
getClockStep: () => RelativeTime;
|
|
46
46
|
getStartingRate: () => bigint;
|
|
47
47
|
getLowestRate: () => bigint;
|
|
48
48
|
getDiscountStep: () => bigint;
|
|
49
|
-
getAuctionStartDelay: () =>
|
|
50
|
-
getPriceLockPeriod: () =>
|
|
49
|
+
getAuctionStartDelay: () => RelativeTime;
|
|
50
|
+
getPriceLockPeriod: () => RelativeTime;
|
|
51
51
|
makeBidInvitation(collateralBrand: Brand<"nat">): Promise<Invitation<string, ({
|
|
52
52
|
maxBuy: Amount<"nat">;
|
|
53
53
|
} & {
|
|
@@ -75,13 +75,153 @@ export function watchForGovernanceChange(auctioneerPublicFacet: ERef<GovernedPub
|
|
|
75
75
|
makeDepositInvitation: () => Promise<Invitation<string, {
|
|
76
76
|
goal: Amount<"nat">;
|
|
77
77
|
}>>;
|
|
78
|
-
}>>, timer: ERef<
|
|
78
|
+
}>>, timer: ERef<TimerService>, reschedulerWaker: TimerWaker): void;
|
|
79
79
|
export function getLiquidatableVaults(zcf: ZCF, collateralizationDetails: {
|
|
80
80
|
quote: PriceQuote;
|
|
81
81
|
interest: Ratio;
|
|
82
82
|
margin: Ratio;
|
|
83
|
-
}, prioritizedVaults: ReturnType<typeof import('./prioritizedVaults.js').makePrioritizedVaults>, liquidatingVaults: SetStore<
|
|
84
|
-
|
|
83
|
+
}, prioritizedVaults: ReturnType<typeof import('./prioritizedVaults.js').makePrioritizedVaults>, liquidatingVaults: SetStore<import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
84
|
+
getVaultSeat(): ZCFSeat;
|
|
85
|
+
initVaultKit(seat: ZCFSeat, storageNode: StorageNode): Promise<{
|
|
86
|
+
publicSubscribers: {
|
|
87
|
+
vault: {
|
|
88
|
+
description: string;
|
|
89
|
+
subscriber: Subscriber<VaultNotification>;
|
|
90
|
+
storagePath: Promise<string>;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
invitationMakers: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
94
|
+
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
95
|
+
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
96
|
+
TransferVault(): Promise<Invitation<any, undefined>>;
|
|
97
|
+
}>;
|
|
98
|
+
vault: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
99
|
+
getPublicTopics(): {
|
|
100
|
+
vault: {
|
|
101
|
+
description: string;
|
|
102
|
+
subscriber: Subscriber<VaultNotification>;
|
|
103
|
+
storagePath: Promise<string>;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
107
|
+
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
108
|
+
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
109
|
+
getCollateralAmount(): Amount<"nat">;
|
|
110
|
+
getCurrentDebt(): Amount<"nat">;
|
|
111
|
+
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
112
|
+
}>;
|
|
113
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
114
|
+
}>;
|
|
115
|
+
liquidating(): void;
|
|
116
|
+
liquidated(): void;
|
|
117
|
+
abortLiquidation(): string;
|
|
118
|
+
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
119
|
+
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
120
|
+
makeTransferInvitation(): Promise<Invitation<{
|
|
121
|
+
publicSubscribers: {
|
|
122
|
+
vault: {
|
|
123
|
+
description: string;
|
|
124
|
+
subscriber: Subscriber<VaultNotification>;
|
|
125
|
+
storagePath: Promise<string>;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
invitationMakers: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
129
|
+
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
130
|
+
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
131
|
+
TransferVault(): Promise<Invitation<any, undefined>>;
|
|
132
|
+
}>;
|
|
133
|
+
vault: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
134
|
+
getPublicTopics(): {
|
|
135
|
+
vault: {
|
|
136
|
+
description: string;
|
|
137
|
+
subscriber: Subscriber<VaultNotification>;
|
|
138
|
+
storagePath: Promise<string>;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
142
|
+
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
143
|
+
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
144
|
+
getCollateralAmount(): Amount<"nat">;
|
|
145
|
+
getCurrentDebt(): Amount<"nat">;
|
|
146
|
+
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
147
|
+
}>;
|
|
148
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
149
|
+
}, undefined>>;
|
|
150
|
+
getCollateralAmount(): Amount<"nat">;
|
|
151
|
+
getCurrentDebt(): Amount<"nat">;
|
|
152
|
+
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
153
|
+
}>>, debtBrand: Brand<'nat'>, collateralBrand: Brand<'nat'>): {
|
|
154
|
+
vaultData: MapStore<import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
155
|
+
getVaultSeat(): ZCFSeat;
|
|
156
|
+
initVaultKit(seat: ZCFSeat, storageNode: StorageNode): Promise<{
|
|
157
|
+
publicSubscribers: {
|
|
158
|
+
vault: {
|
|
159
|
+
description: string;
|
|
160
|
+
subscriber: Subscriber<VaultNotification>;
|
|
161
|
+
storagePath: Promise<string>;
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
invitationMakers: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
165
|
+
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
166
|
+
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
167
|
+
TransferVault(): Promise<Invitation<any, undefined>>;
|
|
168
|
+
}>;
|
|
169
|
+
vault: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
170
|
+
getPublicTopics(): {
|
|
171
|
+
vault: {
|
|
172
|
+
description: string;
|
|
173
|
+
subscriber: Subscriber<VaultNotification>;
|
|
174
|
+
storagePath: Promise<string>;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
178
|
+
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
179
|
+
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
180
|
+
getCollateralAmount(): Amount<"nat">;
|
|
181
|
+
getCurrentDebt(): Amount<"nat">;
|
|
182
|
+
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
183
|
+
}>;
|
|
184
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
185
|
+
}>;
|
|
186
|
+
liquidating(): void;
|
|
187
|
+
liquidated(): void;
|
|
188
|
+
abortLiquidation(): string;
|
|
189
|
+
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
190
|
+
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
191
|
+
makeTransferInvitation(): Promise<Invitation<{
|
|
192
|
+
publicSubscribers: {
|
|
193
|
+
vault: {
|
|
194
|
+
description: string;
|
|
195
|
+
subscriber: Subscriber<VaultNotification>;
|
|
196
|
+
storagePath: Promise<string>;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
invitationMakers: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
200
|
+
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
201
|
+
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
202
|
+
TransferVault(): Promise<Invitation<any, undefined>>;
|
|
203
|
+
}>;
|
|
204
|
+
vault: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
205
|
+
getPublicTopics(): {
|
|
206
|
+
vault: {
|
|
207
|
+
description: string;
|
|
208
|
+
subscriber: Subscriber<VaultNotification>;
|
|
209
|
+
storagePath: Promise<string>;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
213
|
+
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
214
|
+
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
215
|
+
getCollateralAmount(): Amount<"nat">;
|
|
216
|
+
getCurrentDebt(): Amount<"nat">;
|
|
217
|
+
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
218
|
+
}>;
|
|
219
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
220
|
+
}, undefined>>;
|
|
221
|
+
getCollateralAmount(): Amount<"nat">;
|
|
222
|
+
getCurrentDebt(): Amount<"nat">;
|
|
223
|
+
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
224
|
+
}>, {
|
|
85
225
|
collateralAmount: Amount<'nat'>;
|
|
86
226
|
debtAmount: Amount<'nat'>;
|
|
87
227
|
}>;
|
|
@@ -89,8 +229,6 @@ export function getLiquidatableVaults(zcf: ZCF, collateralizationDetails: {
|
|
|
89
229
|
totalCollateral: Amount<'nat'>;
|
|
90
230
|
liqSeat: ZCFSeat;
|
|
91
231
|
};
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
export type CancelToken = import('@agoric/time').CancelToken;
|
|
95
|
-
export type RelativeTimeRecord = import('@agoric/time').RelativeTimeRecord;
|
|
232
|
+
import type { TimerService } from '@agoric/time';
|
|
233
|
+
import type { TimerWaker } from '@agoric/time';
|
|
96
234
|
//# sourceMappingURL=liquidation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"liquidation.d.ts","sourceRoot":"","sources":["liquidation.js"],"names":[],"mappings":"AAoJO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"liquidation.d.ts","sourceRoot":"","sources":["liquidation.js"],"names":[],"mappings":"AAoJO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yHAFM,QAAQ,IAAI,CAAC,CAqCzB;AAQM,yCAJI,OAAO,KAAK,CAAC,UACb,OAAO,KAAK,CAAC,GACX;IAAE,OAAO,EAAE,OAAO,KAAK,CAAC,CAAC;IAAC,SAAS,EAAE,OAAO,KAAK,CAAC,CAAA;CAAE,CAYhE;AAWM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAFM,IAAI,CA0BhB;AAwBM,2CArBI,GAAG;IAEkC,KAAK,EAA1C,UAAU;IACsB,QAAQ,EAAxC,KAAK;IAC2B,MAAM,EAAtC,KAAK;sBACL,WACV,cAAkB,wBAAwB,EAAE,qBAAqB,CAC9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAEO,MAAM,KAAK,CAAC,mBACZ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAII,OAAO,KAAK,CAAC;oBAAc,OAAO,KAAK,CAAC;;eAEnD,OAAO,KAAK,CAAC;qBACP,OAAO,KAAK,CAAC;aACrB,OAAO;EAkDpB;kCApS+B,cAAc;gCAChB,cAAc"}
|
|
@@ -13,10 +13,10 @@ import { makeCancelTokenMaker } from '../auction/util.js';
|
|
|
13
13
|
|
|
14
14
|
const trace = makeTracer('LIQ');
|
|
15
15
|
|
|
16
|
-
/** @
|
|
17
|
-
/** @
|
|
18
|
-
/** @
|
|
19
|
-
/** @
|
|
16
|
+
/** @import {TimerService} from '@agoric/time' */
|
|
17
|
+
/** @import {TimerWaker} from '@agoric/time' */
|
|
18
|
+
/** @import {CancelToken} from '@agoric/time' */
|
|
19
|
+
/** @import {RelativeTimeRecord} from '@agoric/time' */
|
|
20
20
|
|
|
21
21
|
const makeCancelToken = makeCancelTokenMaker('liq');
|
|
22
22
|
|
|
@@ -1,6 +1,216 @@
|
|
|
1
|
-
export function makeOrderedVaultStore(store: MapStore<string,
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export function makeOrderedVaultStore(store: MapStore<string, import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
2
|
+
getVaultSeat(): ZCFSeat;
|
|
3
|
+
initVaultKit(seat: ZCFSeat, storageNode: StorageNode): Promise<{
|
|
4
|
+
publicSubscribers: {
|
|
5
|
+
vault: {
|
|
6
|
+
description: string;
|
|
7
|
+
subscriber: Subscriber<VaultNotification>;
|
|
8
|
+
storagePath: Promise<string>;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
invitationMakers: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
12
|
+
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
13
|
+
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
14
|
+
TransferVault(): Promise<Invitation<any, undefined>>;
|
|
15
|
+
}>;
|
|
16
|
+
vault: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
17
|
+
getPublicTopics(): {
|
|
18
|
+
vault: {
|
|
19
|
+
description: string;
|
|
20
|
+
subscriber: Subscriber<VaultNotification>;
|
|
21
|
+
storagePath: Promise<string>;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
25
|
+
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
26
|
+
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
27
|
+
getCollateralAmount(): Amount<"nat">;
|
|
28
|
+
getCurrentDebt(): Amount<"nat">;
|
|
29
|
+
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
30
|
+
}>;
|
|
31
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
32
|
+
}>;
|
|
33
|
+
liquidating(): void;
|
|
34
|
+
liquidated(): void;
|
|
35
|
+
abortLiquidation(): string;
|
|
36
|
+
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
37
|
+
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
38
|
+
makeTransferInvitation(): Promise<Invitation<{
|
|
39
|
+
publicSubscribers: {
|
|
40
|
+
vault: {
|
|
41
|
+
description: string;
|
|
42
|
+
subscriber: Subscriber<VaultNotification>;
|
|
43
|
+
storagePath: Promise<string>;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
invitationMakers: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
47
|
+
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
48
|
+
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
49
|
+
TransferVault(): Promise<Invitation<any, undefined>>;
|
|
50
|
+
}>;
|
|
51
|
+
vault: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
52
|
+
getPublicTopics(): {
|
|
53
|
+
vault: {
|
|
54
|
+
description: string;
|
|
55
|
+
subscriber: Subscriber<VaultNotification>;
|
|
56
|
+
storagePath: Promise<string>;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
60
|
+
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
61
|
+
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
62
|
+
getCollateralAmount(): Amount<"nat">;
|
|
63
|
+
getCurrentDebt(): Amount<"nat">;
|
|
64
|
+
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
65
|
+
}>;
|
|
66
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
67
|
+
}, undefined>>;
|
|
68
|
+
getCollateralAmount(): Amount<"nat">;
|
|
69
|
+
getCurrentDebt(): Amount<"nat">;
|
|
70
|
+
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
71
|
+
}>>): {
|
|
72
|
+
addVault: (vaultId: string, vault: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
73
|
+
getVaultSeat(): ZCFSeat;
|
|
74
|
+
initVaultKit(seat: ZCFSeat, storageNode: StorageNode): Promise<{
|
|
75
|
+
publicSubscribers: {
|
|
76
|
+
vault: {
|
|
77
|
+
description: string;
|
|
78
|
+
subscriber: Subscriber<VaultNotification>;
|
|
79
|
+
storagePath: Promise<string>;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
invitationMakers: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
83
|
+
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
84
|
+
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
85
|
+
TransferVault(): Promise<Invitation<any, undefined>>;
|
|
86
|
+
}>;
|
|
87
|
+
vault: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
88
|
+
getPublicTopics(): {
|
|
89
|
+
vault: {
|
|
90
|
+
description: string;
|
|
91
|
+
subscriber: Subscriber<VaultNotification>;
|
|
92
|
+
storagePath: Promise<string>;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
96
|
+
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
97
|
+
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
98
|
+
getCollateralAmount(): Amount<"nat">;
|
|
99
|
+
getCurrentDebt(): Amount<"nat">;
|
|
100
|
+
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
101
|
+
}>;
|
|
102
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
103
|
+
}>;
|
|
104
|
+
liquidating(): void;
|
|
105
|
+
liquidated(): void;
|
|
106
|
+
abortLiquidation(): string;
|
|
107
|
+
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
108
|
+
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
109
|
+
makeTransferInvitation(): Promise<Invitation<{
|
|
110
|
+
publicSubscribers: {
|
|
111
|
+
vault: {
|
|
112
|
+
description: string;
|
|
113
|
+
subscriber: Subscriber<VaultNotification>;
|
|
114
|
+
storagePath: Promise<string>;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
invitationMakers: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
118
|
+
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
119
|
+
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
120
|
+
TransferVault(): Promise<Invitation<any, undefined>>;
|
|
121
|
+
}>;
|
|
122
|
+
vault: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
123
|
+
getPublicTopics(): {
|
|
124
|
+
vault: {
|
|
125
|
+
description: string;
|
|
126
|
+
subscriber: Subscriber<VaultNotification>;
|
|
127
|
+
storagePath: Promise<string>;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
131
|
+
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
132
|
+
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
133
|
+
getCollateralAmount(): Amount<"nat">;
|
|
134
|
+
getCurrentDebt(): Amount<"nat">;
|
|
135
|
+
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
136
|
+
}>;
|
|
137
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
138
|
+
}, undefined>>;
|
|
139
|
+
getCollateralAmount(): Amount<"nat">;
|
|
140
|
+
getCurrentDebt(): Amount<"nat">;
|
|
141
|
+
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
142
|
+
}>) => string;
|
|
143
|
+
removeByKey: (key: string) => import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
144
|
+
getVaultSeat(): ZCFSeat;
|
|
145
|
+
initVaultKit(seat: ZCFSeat, storageNode: StorageNode): Promise<{
|
|
146
|
+
publicSubscribers: {
|
|
147
|
+
vault: {
|
|
148
|
+
description: string;
|
|
149
|
+
subscriber: Subscriber<VaultNotification>;
|
|
150
|
+
storagePath: Promise<string>;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
invitationMakers: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
154
|
+
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
155
|
+
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
156
|
+
TransferVault(): Promise<Invitation<any, undefined>>;
|
|
157
|
+
}>;
|
|
158
|
+
vault: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
159
|
+
getPublicTopics(): {
|
|
160
|
+
vault: {
|
|
161
|
+
description: string;
|
|
162
|
+
subscriber: Subscriber<VaultNotification>;
|
|
163
|
+
storagePath: Promise<string>;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
167
|
+
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
168
|
+
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
169
|
+
getCollateralAmount(): Amount<"nat">;
|
|
170
|
+
getCurrentDebt(): Amount<"nat">;
|
|
171
|
+
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
172
|
+
}>;
|
|
173
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
174
|
+
}>;
|
|
175
|
+
liquidating(): void;
|
|
176
|
+
liquidated(): void;
|
|
177
|
+
abortLiquidation(): string;
|
|
178
|
+
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
179
|
+
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
180
|
+
makeTransferInvitation(): Promise<Invitation<{
|
|
181
|
+
publicSubscribers: {
|
|
182
|
+
vault: {
|
|
183
|
+
description: string;
|
|
184
|
+
subscriber: Subscriber<VaultNotification>;
|
|
185
|
+
storagePath: Promise<string>;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
invitationMakers: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
189
|
+
AdjustBalances(): Promise<Invitation<string, undefined>>;
|
|
190
|
+
CloseVault(): Promise<Invitation<string, undefined>>;
|
|
191
|
+
TransferVault(): Promise<Invitation<any, undefined>>;
|
|
192
|
+
}>;
|
|
193
|
+
vault: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
194
|
+
getPublicTopics(): {
|
|
195
|
+
vault: {
|
|
196
|
+
description: string;
|
|
197
|
+
subscriber: Subscriber<VaultNotification>;
|
|
198
|
+
storagePath: Promise<string>;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
makeAdjustBalancesInvitation(): Promise<Invitation<string, undefined>>;
|
|
202
|
+
makeCloseInvitation(): Promise<Invitation<string, undefined>>;
|
|
203
|
+
makeTransferInvitation(): Promise<Invitation<any, undefined>>;
|
|
204
|
+
getCollateralAmount(): Amount<"nat">;
|
|
205
|
+
getCurrentDebt(): Amount<"nat">;
|
|
206
|
+
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
207
|
+
}>;
|
|
208
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
209
|
+
}, undefined>>;
|
|
210
|
+
getCollateralAmount(): Amount<"nat">;
|
|
211
|
+
getCurrentDebt(): Amount<"nat">;
|
|
212
|
+
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
213
|
+
}>;
|
|
4
214
|
has: (key: string) => boolean;
|
|
5
215
|
keys: (keyPatt?: any, valuePatt?: any) => Iterable<string>;
|
|
6
216
|
entries: (keyPatt?: any, valuePatt?: any) => Iterable<[string, import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
@@ -9,7 +219,7 @@ export function makeOrderedVaultStore(store: MapStore<string, Vault>): {
|
|
|
9
219
|
publicSubscribers: {
|
|
10
220
|
vault: {
|
|
11
221
|
description: string;
|
|
12
|
-
subscriber: Subscriber<
|
|
222
|
+
subscriber: Subscriber<VaultNotification>;
|
|
13
223
|
storagePath: Promise<string>;
|
|
14
224
|
};
|
|
15
225
|
};
|
|
@@ -22,7 +232,7 @@ export function makeOrderedVaultStore(store: MapStore<string, Vault>): {
|
|
|
22
232
|
getPublicTopics(): {
|
|
23
233
|
vault: {
|
|
24
234
|
description: string;
|
|
25
|
-
subscriber: Subscriber<
|
|
235
|
+
subscriber: Subscriber<VaultNotification>;
|
|
26
236
|
storagePath: Promise<string>;
|
|
27
237
|
};
|
|
28
238
|
};
|
|
@@ -33,7 +243,7 @@ export function makeOrderedVaultStore(store: MapStore<string, Vault>): {
|
|
|
33
243
|
getCurrentDebt(): Amount<"nat">;
|
|
34
244
|
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
35
245
|
}>;
|
|
36
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<
|
|
246
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
37
247
|
}>;
|
|
38
248
|
liquidating(): void;
|
|
39
249
|
liquidated(): void;
|
|
@@ -44,7 +254,7 @@ export function makeOrderedVaultStore(store: MapStore<string, Vault>): {
|
|
|
44
254
|
publicSubscribers: {
|
|
45
255
|
vault: {
|
|
46
256
|
description: string;
|
|
47
|
-
subscriber: Subscriber<
|
|
257
|
+
subscriber: Subscriber<VaultNotification>;
|
|
48
258
|
storagePath: Promise<string>;
|
|
49
259
|
};
|
|
50
260
|
};
|
|
@@ -57,7 +267,7 @@ export function makeOrderedVaultStore(store: MapStore<string, Vault>): {
|
|
|
57
267
|
getPublicTopics(): {
|
|
58
268
|
vault: {
|
|
59
269
|
description: string;
|
|
60
|
-
subscriber: Subscriber<
|
|
270
|
+
subscriber: Subscriber<VaultNotification>;
|
|
61
271
|
storagePath: Promise<string>;
|
|
62
272
|
};
|
|
63
273
|
};
|
|
@@ -68,7 +278,7 @@ export function makeOrderedVaultStore(store: MapStore<string, Vault>): {
|
|
|
68
278
|
getCurrentDebt(): Amount<"nat">;
|
|
69
279
|
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
70
280
|
}>;
|
|
71
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<
|
|
281
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
72
282
|
}, undefined>>;
|
|
73
283
|
getCollateralAmount(): Amount<"nat">;
|
|
74
284
|
getCurrentDebt(): Amount<"nat">;
|
|
@@ -81,7 +291,7 @@ export function makeOrderedVaultStore(store: MapStore<string, Vault>): {
|
|
|
81
291
|
publicSubscribers: {
|
|
82
292
|
vault: {
|
|
83
293
|
description: string;
|
|
84
|
-
subscriber: Subscriber<
|
|
294
|
+
subscriber: Subscriber<VaultNotification>;
|
|
85
295
|
storagePath: Promise<string>;
|
|
86
296
|
};
|
|
87
297
|
};
|
|
@@ -94,7 +304,7 @@ export function makeOrderedVaultStore(store: MapStore<string, Vault>): {
|
|
|
94
304
|
getPublicTopics(): {
|
|
95
305
|
vault: {
|
|
96
306
|
description: string;
|
|
97
|
-
subscriber: Subscriber<
|
|
307
|
+
subscriber: Subscriber<VaultNotification>;
|
|
98
308
|
storagePath: Promise<string>;
|
|
99
309
|
};
|
|
100
310
|
};
|
|
@@ -105,7 +315,7 @@ export function makeOrderedVaultStore(store: MapStore<string, Vault>): {
|
|
|
105
315
|
getCurrentDebt(): Amount<"nat">;
|
|
106
316
|
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
107
317
|
}>;
|
|
108
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<
|
|
318
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
109
319
|
}>;
|
|
110
320
|
liquidating(): void;
|
|
111
321
|
liquidated(): void;
|
|
@@ -116,7 +326,7 @@ export function makeOrderedVaultStore(store: MapStore<string, Vault>): {
|
|
|
116
326
|
publicSubscribers: {
|
|
117
327
|
vault: {
|
|
118
328
|
description: string;
|
|
119
|
-
subscriber: Subscriber<
|
|
329
|
+
subscriber: Subscriber<VaultNotification>;
|
|
120
330
|
storagePath: Promise<string>;
|
|
121
331
|
};
|
|
122
332
|
};
|
|
@@ -129,7 +339,7 @@ export function makeOrderedVaultStore(store: MapStore<string, Vault>): {
|
|
|
129
339
|
getPublicTopics(): {
|
|
130
340
|
vault: {
|
|
131
341
|
description: string;
|
|
132
|
-
subscriber: Subscriber<
|
|
342
|
+
subscriber: Subscriber<VaultNotification>;
|
|
133
343
|
storagePath: Promise<string>;
|
|
134
344
|
};
|
|
135
345
|
};
|
|
@@ -140,13 +350,11 @@ export function makeOrderedVaultStore(store: MapStore<string, Vault>): {
|
|
|
140
350
|
getCurrentDebt(): Amount<"nat">;
|
|
141
351
|
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
142
352
|
}>;
|
|
143
|
-
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<
|
|
353
|
+
vaultUpdater: import("@agoric/zoe/src/contractSupport/recorder.js").Recorder<VaultNotification>;
|
|
144
354
|
}, undefined>>;
|
|
145
355
|
getCollateralAmount(): Amount<"nat">;
|
|
146
356
|
getCurrentDebt(): Amount<"nat">;
|
|
147
357
|
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
148
358
|
}>>;
|
|
149
359
|
};
|
|
150
|
-
export type Vault = import('./vault.js').Vault;
|
|
151
|
-
export type CompositeKey = import('./storeUtils.js').CompositeKey;
|
|
152
360
|
//# sourceMappingURL=orderedVaultStore.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orderedVaultStore.d.ts","sourceRoot":"","sources":["orderedVaultStore.js"],"names":[],"mappings":"AAiBO,
|
|
1
|
+
{"version":3,"file":"orderedVaultStore.d.ts","sourceRoot":"","sources":["orderedVaultStore.js"],"names":[],"mappings":"AAiBO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAEM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAYN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkClB"}
|
|
@@ -11,8 +11,8 @@ import { fromVaultKey, toVaultKey } from './storeUtils.js';
|
|
|
11
11
|
* debt-to-collateral come first.)
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
/** @
|
|
15
|
-
/** @
|
|
14
|
+
/** @import {Vault} from './vault.js' */
|
|
15
|
+
/** @import {CompositeKey} from './storeUtils.js' */
|
|
16
16
|
|
|
17
17
|
/** @param {MapStore<string, Vault>} store */
|
|
18
18
|
export const makeOrderedVaultStore = store => {
|
|
@@ -28,13 +28,13 @@ export const vaultParamPattern: import("@endo/patterns").Matcher;
|
|
|
28
28
|
export function makeGovernedTerms({ auctioneerPublicFacet, bootstrapPaymentValue, electorateInvitationAmount, interestTiming, minInitialDebt, priceAuthority, reservePublicFacet, timer, shortfallInvitationAmount, referencedUi, }: {
|
|
29
29
|
auctioneerPublicFacet: ERef<GovernedPublicFacet<{
|
|
30
30
|
getElectorate: () => Amount<"set">;
|
|
31
|
-
getStartFrequency: () =>
|
|
32
|
-
getClockStep: () =>
|
|
31
|
+
getStartFrequency: () => RelativeTime;
|
|
32
|
+
getClockStep: () => RelativeTime;
|
|
33
33
|
getStartingRate: () => bigint;
|
|
34
34
|
getLowestRate: () => bigint;
|
|
35
35
|
getDiscountStep: () => bigint;
|
|
36
|
-
getAuctionStartDelay: () =>
|
|
37
|
-
getPriceLockPeriod: () =>
|
|
36
|
+
getAuctionStartDelay: () => RelativeTime;
|
|
37
|
+
getPriceLockPeriod: () => RelativeTime;
|
|
38
38
|
makeBidInvitation(collateralBrand: Brand<"nat">): Promise<Invitation<string, ({
|
|
39
39
|
maxBuy: Amount<"nat">;
|
|
40
40
|
} & {
|
|
@@ -68,20 +68,25 @@ export function makeGovernedTerms({ auctioneerPublicFacet, bootstrapPaymentValue
|
|
|
68
68
|
bootstrapPaymentValue: bigint;
|
|
69
69
|
priceAuthority: ERef<PriceAuthority>;
|
|
70
70
|
timer: ERef<import("@agoric/time").TimerService>;
|
|
71
|
-
reservePublicFacet:
|
|
71
|
+
reservePublicFacet: GovernedPublicFacet<import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
72
|
+
makeAddCollateralInvitation(): Promise<Invitation<string, never>>;
|
|
73
|
+
getPublicTopics(): {
|
|
74
|
+
metrics: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("../reserve/assetReserveKit.js").MetricsNotification>;
|
|
75
|
+
};
|
|
76
|
+
}>>;
|
|
72
77
|
interestTiming: InterestTiming;
|
|
73
78
|
shortfallInvitationAmount: Amount<'set'>;
|
|
74
79
|
referencedUi?: string | undefined;
|
|
75
80
|
}): {
|
|
76
81
|
auctioneerPublicFacet: ERef<GovernedPublicFacet<{
|
|
77
82
|
getElectorate: () => Amount<"set">;
|
|
78
|
-
getStartFrequency: () =>
|
|
79
|
-
getClockStep: () =>
|
|
83
|
+
getStartFrequency: () => RelativeTime;
|
|
84
|
+
getClockStep: () => RelativeTime;
|
|
80
85
|
getStartingRate: () => bigint;
|
|
81
86
|
getLowestRate: () => bigint;
|
|
82
87
|
getDiscountStep: () => bigint;
|
|
83
|
-
getAuctionStartDelay: () =>
|
|
84
|
-
getPriceLockPeriod: () =>
|
|
88
|
+
getAuctionStartDelay: () => RelativeTime;
|
|
89
|
+
getPriceLockPeriod: () => RelativeTime;
|
|
85
90
|
makeBidInvitation(collateralBrand: Brand<"nat">): Promise<Invitation<string, ({
|
|
86
91
|
maxBuy: Amount<"nat">;
|
|
87
92
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"params.d.ts","sourceRoot":"","sources":["params.js"],"names":[],"mappings":"AAgBA,mDAAoD;AACpD,qDAAsD;AAEtD,yCAA0C;AAC1C,yDAA0D;AAC1D,2DAA4D;AAC5D,2DAA4D;AAC5D,+CAAgD;AAChD,qCAAsC;AACtC,oDAAqD;AACrD,6DAA8D;AAC9D,+CAAgD;;;;;;;AAgEzC,oDAHI,OAAO,kBAAkB,EAAE,kBAAkB,CAAC,2BAA2B,CAAC,oGAC1E,uBAAuB;;;;;;;GAoB9B;AACJ,4EAA4E;AAE5E,iEAYE;AAgBK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAX0B,OAAO,KAAK,CAAC;oBACzB,OAAO,KAAK,CAAC;2BACN,MAAM
|
|
1
|
+
{"version":3,"file":"params.d.ts","sourceRoot":"","sources":["params.js"],"names":[],"mappings":"AAgBA,mDAAoD;AACpD,qDAAsD;AAEtD,yCAA0C;AAC1C,yDAA0D;AAC1D,2DAA4D;AAC5D,2DAA4D;AAC5D,+CAAgD;AAChD,qCAAsC;AACtC,oDAAqD;AACrD,6DAA8D;AAC9D,+CAAgD;;;;;;;AAgEzC,oDAHI,OAAO,kBAAkB,EAAE,kBAAkB,CAAC,2BAA2B,CAAC,oGAC1E,uBAAuB;;;;;;;GAoB9B;AACJ,4EAA4E;AAE5E,iEAYE;AAgBK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAX0B,OAAO,KAAK,CAAC;oBACzB,OAAO,KAAK,CAAC;2BACN,MAAM;;;;;;;;;oBAIb,cAAc;+BACH,OAAO,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8B5C;AAWM,mDAHI,OAAO,kBAAkB,EAAE,OAAO;IAgCzC;;;;OAIG;2BAHQ,KAAK,eACL,WAAW,sBACX,uBAAuB;;;;;;;;IAOlC,2BAA2B;eAAf,KAAK;;;;;;;;EAKpB;kCA/IY,OAAO,gEAAgE,EAAE,uBAAuB,CAC5G,WAAiB,8BAA8B,CAAC,CAC3C;gCA8BQ,WAAW,4BAA4B,CAAC;AAzEtD;;;;;;GAMG;AACH,qEANW,OAAO,KAAK,CAAC,kBACb,OAAO,KAAK,CAAC,6BACb,OAAO,KAAK,CAAC,gBACb,MAAM,kBACN,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;EAgCxB"}
|