@agoric/inter-protocol 0.16.2-dev-6d71e87.0 → 0.16.2-dev-10ec2d9.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 +15 -15
- package/src/auction/auctioneer.d.ts +1 -1
- package/src/auction/scheduler.d.ts +1 -1
- package/src/auction/util.d.ts +1 -1
- package/src/auction/util.d.ts.map +1 -1
- package/src/feeDistributor.d.ts +17 -17
- package/src/price/fluxAggregatorContract.d.ts +2 -2
- package/src/price/fluxAggregatorKit.d.ts +1 -1
- package/src/price/roundsManager.d.ts +1 -1
- package/src/provisionPool.d.ts +1 -1
- package/src/provisionPoolKit.d.ts +2 -2
- package/src/psm/psm.d.ts +1 -1
- package/src/vaultFactory/prioritizedVaults.d.ts +1 -1
- package/src/vaultFactory/storeUtils.d.ts +2 -2
- package/src/vaultFactory/storeUtils.d.ts.map +1 -1
- package/src/vaultFactory/vaultDirector.d.ts +7 -7
- package/src/vaultFactory/vaultFactory.d.ts +6 -6
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-10ec2d9.0+10ec2d9",
|
|
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/ertp": "0.16.3-dev-
|
|
35
|
-
"@agoric/governance": "0.10.4-dev-
|
|
36
|
-
"@agoric/internal": "0.3.3-dev-
|
|
37
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
38
|
-
"@agoric/store": "0.9.3-dev-
|
|
39
|
-
"@agoric/time": "0.3.3-dev-
|
|
40
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
41
|
-
"@agoric/vats": "0.15.2-dev-
|
|
42
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
43
|
-
"@agoric/zone": "0.2.3-dev-
|
|
34
|
+
"@agoric/ertp": "0.16.3-dev-10ec2d9.0+10ec2d9",
|
|
35
|
+
"@agoric/governance": "0.10.4-dev-10ec2d9.0+10ec2d9",
|
|
36
|
+
"@agoric/internal": "0.3.3-dev-10ec2d9.0+10ec2d9",
|
|
37
|
+
"@agoric/notifier": "0.6.3-dev-10ec2d9.0+10ec2d9",
|
|
38
|
+
"@agoric/store": "0.9.3-dev-10ec2d9.0+10ec2d9",
|
|
39
|
+
"@agoric/time": "0.3.3-dev-10ec2d9.0+10ec2d9",
|
|
40
|
+
"@agoric/vat-data": "0.5.3-dev-10ec2d9.0+10ec2d9",
|
|
41
|
+
"@agoric/vats": "0.15.2-dev-10ec2d9.0+10ec2d9",
|
|
42
|
+
"@agoric/zoe": "0.26.3-dev-10ec2d9.0+10ec2d9",
|
|
43
|
+
"@agoric/zone": "0.2.3-dev-10ec2d9.0+10ec2d9",
|
|
44
44
|
"@endo/captp": "^4.4.5",
|
|
45
45
|
"@endo/errors": "^1.2.10",
|
|
46
46
|
"@endo/eventual-send": "^1.3.1",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"jessie.js": "^0.3.4"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@agoric/smart-wallet": "0.5.4-dev-
|
|
55
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
56
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
54
|
+
"@agoric/smart-wallet": "0.5.4-dev-10ec2d9.0+10ec2d9",
|
|
55
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-10ec2d9.0+10ec2d9",
|
|
56
|
+
"@agoric/swingset-vat": "0.32.3-dev-10ec2d9.0+10ec2d9",
|
|
57
57
|
"@endo/bundle-source": "^4.0.0",
|
|
58
58
|
"@endo/init": "^1.1.9",
|
|
59
59
|
"@endo/promise-kit": "^1.1.10",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"typeCoverage": {
|
|
85
85
|
"atLeast": 95.72
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "10ec2d9d92b0ecd194a22685d56c29d4de5dc878"
|
|
88
88
|
}
|
|
@@ -46,7 +46,7 @@ export function start(zcf: ZCF<GovernanceTerms<typeof auctioneerParamTypes> & {
|
|
|
46
46
|
addBrand(issuer: Issuer<"nat">, kwd: Keyword): Promise<void>;
|
|
47
47
|
/** @returns {Promise<import('./scheduler.js').FullSchedule>} */
|
|
48
48
|
getSchedule(): Promise<import("./scheduler.js").FullSchedule>;
|
|
49
|
-
} &
|
|
49
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
50
50
|
/**
|
|
51
51
|
* @param {Issuer<'nat'>} issuer
|
|
52
52
|
* @param {Keyword} kwd
|
|
@@ -4,7 +4,7 @@ export function makeScheduler(auctionDriver: AuctionDriver, timer: import("@agor
|
|
|
4
4
|
nextAuctionSchedule: Schedule | null;
|
|
5
5
|
};
|
|
6
6
|
getAuctionState: () => AuctionState;
|
|
7
|
-
} &
|
|
7
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
8
8
|
getSchedule: () => {
|
|
9
9
|
liveAuctionSchedule: Schedule | null;
|
|
10
10
|
nextAuctionSchedule: Schedule | null;
|
package/src/auction/util.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export function makeBrandedRatioPattern(numeratorAmountShape: {
|
|
|
25
25
|
export function isScaledBidPriceHigher(bidScaling: Ratio, currentPrice: Ratio, oraclePrice: Ratio): boolean;
|
|
26
26
|
/** @type {(quote: PriceQuote) => Ratio} */
|
|
27
27
|
export const priceFrom: (quote: PriceQuote) => Ratio;
|
|
28
|
-
export function makeCancelTokenMaker(name: any): () =>
|
|
28
|
+
export function makeCancelTokenMaker(name: any): () => RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {}>;
|
|
29
29
|
import type { Pattern } from '@endo/patterns';
|
|
30
30
|
import type { PriceQuote } from '@agoric/zoe/tools/types.js';
|
|
31
31
|
//# sourceMappingURL=util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["util.js"],"names":[],"mappings":";;;2BAiBU,CAAC,OAAO,YAAY,EAAE,MAAM,OAAO,YAAY,CAAC;;;;;AAYnD,8DAHI;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,0BAChC;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE;;eADvB,KAAK;eAAS,OAAO;;;eACrB,KAAK;eAAS,OAAO;;EAUxC;AASM,mDANI,KAAK,gBACL,KAAK,eACL,KAAK,GACH,OAAO,CAI6C;AAEjE,2CAA2C;AAC3C,wBADW,CAAC,KAAK,EAAE,UAAU,KAAK,KAAK,CAKnC;AAEG
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["util.js"],"names":[],"mappings":";;;2BAiBU,CAAC,OAAO,YAAY,EAAE,MAAM,OAAO,YAAY,CAAC;;;;;AAYnD,8DAHI;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,0BAChC;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE;;eADvB,KAAK;eAAS,OAAO;;;eACrB,KAAK;eAAS,OAAO;;EAUxC;AASM,mDANI,KAAK,gBACL,KAAK,eACL,KAAK,GACH,OAAO,CAI6C;AAEjE,2CAA2C;AAC3C,wBADW,CAAC,KAAK,EAAE,UAAU,KAAK,KAAK,CAKnC;AAEG,oJAIN;6BAlD8B,gBAAgB;gCAC8C,4BAA4B"}
|
package/src/feeDistributor.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export const meta: ContractMeta<typeof start>;
|
|
3
3
|
export function makeContractFeeCollector(zoe: ERef<ZoeService>, creatorFacet: ERef<CollectibleContractFacet>): {
|
|
4
4
|
collectFees: () => Promise<globalThis.Payment<any, any>>;
|
|
5
|
-
} &
|
|
5
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
6
6
|
collectFees: () => Promise<globalThis.Payment<any, any>>;
|
|
7
7
|
}>;
|
|
8
8
|
export function startDistributing(schedulePayments: () => Promise<unknown>, timerService: ERef<TimerService>, collectionInterval?: RelativeTime): void;
|
|
@@ -22,7 +22,7 @@ export function makeFeeDistributor(feeIssuer: ERef<Issuer<"nat">>, terms: {
|
|
|
22
22
|
creatorFacet: {
|
|
23
23
|
makeContractFeeCollector: (zoe: ERef<ZoeService>, creatorFacet: ERef<CollectibleContractFacet>) => {
|
|
24
24
|
collectFees: () => Promise<globalThis.Payment<any, any>>;
|
|
25
|
-
} &
|
|
25
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
26
26
|
collectFees: () => Promise<globalThis.Payment<any, any>>;
|
|
27
27
|
}>;
|
|
28
28
|
/**
|
|
@@ -39,7 +39,7 @@ export function makeFeeDistributor(feeIssuer: ERef<Issuer<"nat">>, terms: {
|
|
|
39
39
|
*/
|
|
40
40
|
makeDepositFacetDestination: (depositFacet: import("@endo/far").EOnly<import("@agoric/ertp/src/types.js").DepositFacet>) => {
|
|
41
41
|
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
42
|
-
} &
|
|
42
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
43
43
|
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
44
44
|
}>;
|
|
45
45
|
/**
|
|
@@ -53,17 +53,17 @@ export function makeFeeDistributor(feeIssuer: ERef<Issuer<"nat">>, terms: {
|
|
|
53
53
|
*/
|
|
54
54
|
makeOfferDestination: (zoe: ERef<ZoeService>, keyword: string, target: unknown, makeInvitationMethod: PropertyKey, args?: unknown[]) => {
|
|
55
55
|
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
56
|
-
} &
|
|
56
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
57
57
|
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
58
58
|
}>;
|
|
59
59
|
/** @param {Record<Keyword, ERef<FeeDestination>>} newDestinations */
|
|
60
60
|
setDestinations: (newDestinations: Record<Keyword, ERef<FeeDestination>>) => Promise<void>;
|
|
61
61
|
/** @param {Record<Keyword, bigint>} newShares */
|
|
62
62
|
setKeywordShares: (newShares: Record<Keyword, bigint>) => void;
|
|
63
|
-
} &
|
|
63
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
64
64
|
makeContractFeeCollector: (zoe: ERef<ZoeService>, creatorFacet: ERef<CollectibleContractFacet>) => {
|
|
65
65
|
collectFees: () => Promise<globalThis.Payment<any, any>>;
|
|
66
|
-
} &
|
|
66
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
67
67
|
collectFees: () => Promise<globalThis.Payment<any, any>>;
|
|
68
68
|
}>;
|
|
69
69
|
/**
|
|
@@ -80,7 +80,7 @@ export function makeFeeDistributor(feeIssuer: ERef<Issuer<"nat">>, terms: {
|
|
|
80
80
|
*/
|
|
81
81
|
makeDepositFacetDestination: (depositFacet: import("@endo/far").EOnly<import("@agoric/ertp/src/types.js").DepositFacet>) => {
|
|
82
82
|
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
83
|
-
} &
|
|
83
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
84
84
|
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
85
85
|
}>;
|
|
86
86
|
/**
|
|
@@ -94,7 +94,7 @@ export function makeFeeDistributor(feeIssuer: ERef<Issuer<"nat">>, terms: {
|
|
|
94
94
|
*/
|
|
95
95
|
makeOfferDestination: (zoe: ERef<ZoeService>, keyword: string, target: unknown, makeInvitationMethod: PropertyKey, args?: unknown[]) => {
|
|
96
96
|
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
97
|
-
} &
|
|
97
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
98
98
|
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
99
99
|
}>;
|
|
100
100
|
/** @param {Record<Keyword, ERef<FeeDestination>>} newDestinations */
|
|
@@ -105,7 +105,7 @@ export function makeFeeDistributor(feeIssuer: ERef<Issuer<"nat">>, terms: {
|
|
|
105
105
|
publicFacet: {
|
|
106
106
|
distributeFees: (payment: Payment<"nat">) => Promise<void>;
|
|
107
107
|
getKeywordShares: () => Record<string, bigint>;
|
|
108
|
-
} &
|
|
108
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
109
109
|
distributeFees: (payment: Payment<"nat">) => Promise<void>;
|
|
110
110
|
getKeywordShares: () => Record<string, bigint>;
|
|
111
111
|
}>;
|
|
@@ -114,7 +114,7 @@ export function start(zcf: ZCF<Parameters<typeof makeFeeDistributor>[1]>): Promi
|
|
|
114
114
|
creatorFacet: {
|
|
115
115
|
makeContractFeeCollector: (zoe: ERef<ZoeService>, creatorFacet: ERef<CollectibleContractFacet>) => {
|
|
116
116
|
collectFees: () => Promise<globalThis.Payment<any, any>>;
|
|
117
|
-
} &
|
|
117
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
118
118
|
collectFees: () => Promise<globalThis.Payment<any, any>>;
|
|
119
119
|
}>;
|
|
120
120
|
/**
|
|
@@ -131,7 +131,7 @@ export function start(zcf: ZCF<Parameters<typeof makeFeeDistributor>[1]>): Promi
|
|
|
131
131
|
*/
|
|
132
132
|
makeDepositFacetDestination: (depositFacet: import("@endo/far").EOnly<import("@agoric/ertp/src/types.js").DepositFacet>) => {
|
|
133
133
|
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
134
|
-
} &
|
|
134
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
135
135
|
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
136
136
|
}>;
|
|
137
137
|
/**
|
|
@@ -145,17 +145,17 @@ export function start(zcf: ZCF<Parameters<typeof makeFeeDistributor>[1]>): Promi
|
|
|
145
145
|
*/
|
|
146
146
|
makeOfferDestination: (zoe: ERef<ZoeService>, keyword: string, target: unknown, makeInvitationMethod: PropertyKey, args?: unknown[]) => {
|
|
147
147
|
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
148
|
-
} &
|
|
148
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
149
149
|
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
150
150
|
}>;
|
|
151
151
|
/** @param {Record<Keyword, ERef<FeeDestination>>} newDestinations */
|
|
152
152
|
setDestinations: (newDestinations: Record<Keyword, ERef<FeeDestination>>) => Promise<void>;
|
|
153
153
|
/** @param {Record<Keyword, bigint>} newShares */
|
|
154
154
|
setKeywordShares: (newShares: Record<Keyword, bigint>) => void;
|
|
155
|
-
} &
|
|
155
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
156
156
|
makeContractFeeCollector: (zoe: ERef<ZoeService>, creatorFacet: ERef<CollectibleContractFacet>) => {
|
|
157
157
|
collectFees: () => Promise<globalThis.Payment<any, any>>;
|
|
158
|
-
} &
|
|
158
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
159
159
|
collectFees: () => Promise<globalThis.Payment<any, any>>;
|
|
160
160
|
}>;
|
|
161
161
|
/**
|
|
@@ -172,7 +172,7 @@ export function start(zcf: ZCF<Parameters<typeof makeFeeDistributor>[1]>): Promi
|
|
|
172
172
|
*/
|
|
173
173
|
makeDepositFacetDestination: (depositFacet: import("@endo/far").EOnly<import("@agoric/ertp/src/types.js").DepositFacet>) => {
|
|
174
174
|
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
175
|
-
} &
|
|
175
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
176
176
|
pushPayment: (payment: any, _issuer: any) => Promise<globalThis.Amount>;
|
|
177
177
|
}>;
|
|
178
178
|
/**
|
|
@@ -186,7 +186,7 @@ export function start(zcf: ZCF<Parameters<typeof makeFeeDistributor>[1]>): Promi
|
|
|
186
186
|
*/
|
|
187
187
|
makeOfferDestination: (zoe: ERef<ZoeService>, keyword: string, target: unknown, makeInvitationMethod: PropertyKey, args?: unknown[]) => {
|
|
188
188
|
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
189
|
-
} &
|
|
189
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
190
190
|
pushPayment: (payment: any, issuer: any) => Promise<any>;
|
|
191
191
|
}>;
|
|
192
192
|
/** @param {Record<Keyword, ERef<FeeDestination>>} newDestinations */
|
|
@@ -197,7 +197,7 @@ export function start(zcf: ZCF<Parameters<typeof makeFeeDistributor>[1]>): Promi
|
|
|
197
197
|
publicFacet: {
|
|
198
198
|
distributeFees: (payment: Payment<"nat">) => Promise<void>;
|
|
199
199
|
getKeywordShares: () => Record<string, bigint>;
|
|
200
|
-
} &
|
|
200
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
201
201
|
distributeFees: (payment: Payment<"nat">) => Promise<void>;
|
|
202
202
|
getKeywordShares: () => Record<string, bigint>;
|
|
203
203
|
}>;
|
|
@@ -22,7 +22,7 @@ export function start(zcf: ZCF<import("./fluxAggregatorKit.js").ChainlinkConfig
|
|
|
22
22
|
get: () => import("@agoric/governance/src/contractGovernance/typedParamManager.js").TypedParamManager<{
|
|
23
23
|
Electorate: "invitation";
|
|
24
24
|
}>;
|
|
25
|
-
} &
|
|
25
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
26
26
|
get: () => import("@agoric/governance/src/contractGovernance/typedParamManager.js").TypedParamManager<{
|
|
27
27
|
Electorate: "invitation";
|
|
28
28
|
}>;
|
|
@@ -32,7 +32,7 @@ export function start(zcf: ZCF<import("./fluxAggregatorKit.js").ChainlinkConfig
|
|
|
32
32
|
makeOracleInvitation(oracleId: string): Promise<globalThis.Invitation<{
|
|
33
33
|
invitationMakers: {
|
|
34
34
|
PushPrice(result: import("./roundsManager.js").PriceRound): Promise<globalThis.Invitation<void, undefined>>;
|
|
35
|
-
} &
|
|
35
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
36
36
|
PushPrice(result: import("./roundsManager.js").PriceRound): Promise<globalThis.Invitation<void, undefined>>;
|
|
37
37
|
}>;
|
|
38
38
|
oracle: import("@endo/exo").Guarded<{
|
|
@@ -20,7 +20,7 @@ export function prepareFluxAggregatorKit(baggage: Baggage, zcf: ZCF<ChainlinkCon
|
|
|
20
20
|
invitationMakers: {
|
|
21
21
|
/** @param {import('./roundsManager.js').PriceRound} result */
|
|
22
22
|
PushPrice(result: import("./roundsManager.js").PriceRound): Promise<globalThis.Invitation<void, undefined>>;
|
|
23
|
-
} &
|
|
23
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
24
24
|
/** @param {import('./roundsManager.js').PriceRound} result */
|
|
25
25
|
PushPrice(result: import("./roundsManager.js").PriceRound): Promise<globalThis.Invitation<void, undefined>>;
|
|
26
26
|
}>;
|
|
@@ -92,7 +92,7 @@ export function prepareRoundsManagerKit(baggage: any): (args_0: Readonly<import(
|
|
|
92
92
|
}): ((priceQuery: any) => Promise<{
|
|
93
93
|
quoteAmount: import("@agoric/ertp").SetAmount<PriceDescription>;
|
|
94
94
|
quotePayment: globalThis.Payment<"set", PriceDescription>;
|
|
95
|
-
}> | undefined) &
|
|
95
|
+
}> | undefined) & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, (priceQuery: any) => Promise<{
|
|
96
96
|
quoteAmount: import("@agoric/ertp").SetAmount<PriceDescription>;
|
|
97
97
|
quotePayment: globalThis.Payment<"set", PriceDescription>;
|
|
98
98
|
}> | undefined>;
|
package/src/provisionPool.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export function start(zcf: ZCF<ProvisionTerms>, privateArgs: {
|
|
|
21
21
|
} & {
|
|
22
22
|
Electorate: "invitation";
|
|
23
23
|
}>;
|
|
24
|
-
} &
|
|
24
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
25
25
|
get: () => import("@agoric/governance/src/contractGovernance/typedParamManager.js").TypedParamManager<{
|
|
26
26
|
PerAccountInitialAmount: "amount";
|
|
27
27
|
} & {
|
|
@@ -40,7 +40,7 @@ export type PsmInstance = import("@agoric/zoe/src/zoeService/utils.js").Instance
|
|
|
40
40
|
initialPoserInvitation: Invitation;
|
|
41
41
|
storageNode: StorageNode;
|
|
42
42
|
marshaller: Marshaller;
|
|
43
|
-
}, baggage:
|
|
43
|
+
}, baggage: Baggage) => Promise<{
|
|
44
44
|
creatorFacet: import("@endo/exo").Guarded<{
|
|
45
45
|
getParamMgrRetriever: () => {
|
|
46
46
|
get: () => import("@agoric/governance/src/contractGovernance/typedParamManager").TypedParamManager<{
|
|
@@ -50,7 +50,7 @@ export type PsmInstance = import("@agoric/zoe/src/zoeService/utils.js").Instance
|
|
|
50
50
|
} & {
|
|
51
51
|
Electorate: "invitation";
|
|
52
52
|
}>;
|
|
53
|
-
} &
|
|
53
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
54
54
|
get: () => import("@agoric/governance/src/contractGovernance/typedParamManager").TypedParamManager<{
|
|
55
55
|
GiveMintedFee: "ratio";
|
|
56
56
|
MintLimit: "amount";
|
package/src/psm/psm.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ export function start(zcf: ZCF<GovernanceTerms<{
|
|
|
51
51
|
} & {
|
|
52
52
|
Electorate: "invitation";
|
|
53
53
|
}>;
|
|
54
|
-
} &
|
|
54
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
55
55
|
get: () => import("@agoric/governance/src/contractGovernance/typedParamManager.js").TypedParamManager<{
|
|
56
56
|
GiveMintedFee: "ratio";
|
|
57
57
|
MintLimit: "amount";
|
|
@@ -136,7 +136,7 @@ export function makePrioritizedVaults(store: MapStore<string, Vault>): {
|
|
|
136
136
|
getNormalizedDebt(): import("./storeUtils.js").NormalizedDebt;
|
|
137
137
|
}>>;
|
|
138
138
|
countVaultsBelow: (crKey: any) => number;
|
|
139
|
-
} &
|
|
139
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
140
140
|
addVault: (vaultId: VaultId, vault: Vault) => string;
|
|
141
141
|
entries: (keyPatt?: Pattern, valuePatt?: Pattern) => Iterable<[string, import("@endo/exo").Guarded<{
|
|
142
142
|
getVaultSeat(): globalThis.ZCFSeat;
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
* @param {PureData} key
|
|
5
5
|
* @returns {string}
|
|
6
6
|
*/
|
|
7
|
-
export const encodeData: (p:
|
|
7
|
+
export const encodeData: (p: Passable) => string;
|
|
8
8
|
/**
|
|
9
9
|
* @param {string} encoded
|
|
10
10
|
* @returns {PureData}
|
|
11
11
|
*/
|
|
12
|
-
export const decodeData: (encoded: string, skip?: number) =>
|
|
12
|
+
export const decodeData: (encoded: string, skip?: number) => Passable;
|
|
13
13
|
export function toVaultKey(normalizedDebt: NormalizedDebt, collateral: Amount<"nat">, vaultId: VaultId): string;
|
|
14
14
|
export function fromVaultKey(key: string): [normalizedCollateralization: number, vaultId: VaultId];
|
|
15
15
|
export function normalizedCollRatio(quote: PriceQuote, compoundedInterest: Ratio, margin: Ratio): number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storeUtils.d.ts","sourceRoot":"","sources":["storeUtils.js"],"names":[],"mappings":"AAuBA,8CAA8C;AAE9C,sFAAsF;AAOtF;;;GAGG;AACH,
|
|
1
|
+
{"version":3,"file":"storeUtils.d.ts","sourceRoot":"","sources":["storeUtils.js"],"names":[],"mappings":"AAuBA,8CAA8C;AAE9C,sFAAsF;AAOtF;;;GAGG;AACH,iDAA+C;AAO/C;;;GAGG;AACH,sEAA+C;AAkDxC,2CANI,cAAc,cACd,MAAM,CAAC,KAAK,CAAC,WACb,OAAO,GACL,MAAM,CAelB;AAOM,kCAHI,MAAM,GACJ,CAAC,2BAA2B,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,CAKnE;AAgBM,2CALI,UAAU,sBACV,KAAK,UACL,KAAK,GACH,MAAM,CAiBlB;AAcM,8CANI,UAAU,sBACV,KAAK,UACL,KAAK,GACH,MAAM,CAMlB;2BA9Ia,CAAC,2BAA2B,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC;6BA4CvD,MAAM,CAAC,KAAK,CAAC,GAAG;IAAE,UAAU,EAAE,IAAI,CAAA;CAAE;yBACpC,MAAM,CAAC,KAAK,CAAC,GAAG;IAAE,UAAU,EAAE,KAAK,CAAA;CAAE;gCA/D2C,4BAA4B"}
|
|
@@ -51,7 +51,7 @@ declare function prepareVaultDirector(baggage: import("@agoric/swingset-liveslot
|
|
|
51
51
|
LiquidationPenalty: "ratio";
|
|
52
52
|
MintFee: "ratio";
|
|
53
53
|
}>;
|
|
54
|
-
} &
|
|
54
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
55
55
|
/** @param {VaultFactoryParamPath} paramPath */
|
|
56
56
|
get: (paramPath?: VaultFactoryParamPath) => VaultDirectorParamManager | import("@agoric/governance/src/contractGovernance/typedParamManager.js").TypedParamManager<{
|
|
57
57
|
DebtLimit: "amount";
|
|
@@ -148,17 +148,17 @@ declare function prepareVaultDirector(baggage: import("@agoric/swingset-liveslot
|
|
|
148
148
|
getRewardAllocation(): Allocation;
|
|
149
149
|
makeLiquidationWaker(): {
|
|
150
150
|
wake: (timestamp: any) => any;
|
|
151
|
-
} &
|
|
151
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
152
152
|
wake: (timestamp: any) => any;
|
|
153
153
|
}>;
|
|
154
154
|
makeReschedulerWaker(): {
|
|
155
155
|
wake: (timestamp: any) => any;
|
|
156
|
-
} &
|
|
156
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
157
157
|
wake: (timestamp: any) => any;
|
|
158
158
|
}>;
|
|
159
159
|
makePriceLockWaker(): {
|
|
160
160
|
wake: (timestamp: any) => any;
|
|
161
|
-
} &
|
|
161
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
162
162
|
wake: (timestamp: any) => any;
|
|
163
163
|
}>;
|
|
164
164
|
setShortfallReporter(newInvitation: any): Promise<void>;
|
|
@@ -252,17 +252,17 @@ declare function prepareVaultDirector(baggage: import("@agoric/swingset-liveslot
|
|
|
252
252
|
getRewardAllocation(): Allocation;
|
|
253
253
|
makeLiquidationWaker(): {
|
|
254
254
|
wake: (timestamp: any) => any;
|
|
255
|
-
} &
|
|
255
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
256
256
|
wake: (timestamp: any) => any;
|
|
257
257
|
}>;
|
|
258
258
|
makeReschedulerWaker(): {
|
|
259
259
|
wake: (timestamp: any) => any;
|
|
260
|
-
} &
|
|
260
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
261
261
|
wake: (timestamp: any) => any;
|
|
262
262
|
}>;
|
|
263
263
|
makePriceLockWaker(): {
|
|
264
264
|
wake: (timestamp: any) => any;
|
|
265
|
-
} &
|
|
265
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
266
266
|
wake: (timestamp: any) => any;
|
|
267
267
|
}>;
|
|
268
268
|
setShortfallReporter(newInvitation: any): Promise<void>;
|
|
@@ -23,7 +23,7 @@ export function start(zcf: VaultFactoryZCF, privateArgs: {
|
|
|
23
23
|
initialPoserInvitation: Invitation;
|
|
24
24
|
storageNode: StorageNode;
|
|
25
25
|
marshaller: Marshaller;
|
|
26
|
-
}, baggage:
|
|
26
|
+
}, baggage: Baggage) => Promise<{
|
|
27
27
|
publicFacet: globalThis.GovernedPublicFacet<{
|
|
28
28
|
getElectorate: () => import("@agoric/ertp").SetAmount<import("@endo/patterns").Key>;
|
|
29
29
|
getStartFrequency: () => RelativeTime;
|
|
@@ -52,7 +52,7 @@ export function start(zcf: VaultFactoryZCF, privateArgs: {
|
|
|
52
52
|
creatorFacet: globalThis.GovernedCreatorFacet<{
|
|
53
53
|
addBrand(issuer: Issuer<"nat">, kwd: Keyword): Promise<void>;
|
|
54
54
|
getSchedule(): Promise<import("../auction/scheduler.js").FullSchedule>;
|
|
55
|
-
} &
|
|
55
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
56
56
|
addBrand(issuer: Issuer<"nat">, kwd: Keyword): Promise<void>;
|
|
57
57
|
getSchedule(): Promise<import("../auction/scheduler.js").FullSchedule>;
|
|
58
58
|
}>>;
|
|
@@ -70,7 +70,7 @@ export function start(zcf: VaultFactoryZCF, privateArgs: {
|
|
|
70
70
|
LiquidationPenalty: "ratio";
|
|
71
71
|
MintFee: "ratio";
|
|
72
72
|
}>;
|
|
73
|
-
} &
|
|
73
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
74
74
|
get: (paramPath?: VaultFactoryParamPath) => import("./vaultDirector.js").VaultDirectorParamManager | import("@agoric/governance/src/contractGovernance/typedParamManager.js").TypedParamManager<{
|
|
75
75
|
DebtLimit: "amount";
|
|
76
76
|
InterestRate: "ratio";
|
|
@@ -160,17 +160,17 @@ export function start(zcf: VaultFactoryZCF, privateArgs: {
|
|
|
160
160
|
getRewardAllocation(): Allocation;
|
|
161
161
|
makeLiquidationWaker(): {
|
|
162
162
|
wake: (timestamp: any) => any;
|
|
163
|
-
} &
|
|
163
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
164
164
|
wake: (timestamp: any) => any;
|
|
165
165
|
}>;
|
|
166
166
|
makeReschedulerWaker(): {
|
|
167
167
|
wake: (timestamp: any) => any;
|
|
168
|
-
} &
|
|
168
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
169
169
|
wake: (timestamp: any) => any;
|
|
170
170
|
}>;
|
|
171
171
|
makePriceLockWaker(): {
|
|
172
172
|
wake: (timestamp: any) => any;
|
|
173
|
-
} &
|
|
173
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
174
174
|
wake: (timestamp: any) => any;
|
|
175
175
|
}>;
|
|
176
176
|
setShortfallReporter(newInvitation: any): Promise<void>;
|