@agoric/zoe 0.26.3-dev-e2e36cc.0 → 0.26.3-dev-e6cde48.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/bundles/bundle-contractFacet-js-meta.json +87 -87
- package/bundles/bundle-contractFacet.js +1 -1
- package/package.json +14 -14
- package/src/contractSupport/priceAuthority.d.ts +1 -1
- package/src/contractSupport/priceAuthorityTransform.d.ts +1 -1
- package/src/contractSupport/priceAuthorityTransform.d.ts.map +1 -1
- package/src/contracts/auction/index.d.ts +4 -4
- package/tools/fakePriceAuthority.d.ts +1 -1
- package/tools/internal-types.d.ts +2 -1
- package/tools/internal-types.d.ts.map +1 -1
- package/tools/internal-types.js +3 -1
- package/tools/types-ambient.d.ts +1 -1
- package/tools/types.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/zoe",
|
|
3
|
-
"version": "0.26.3-dev-
|
|
3
|
+
"version": "0.26.3-dev-e6cde48.0+e6cde48",
|
|
4
4
|
"description": "Zoe: the Smart Contract Framework for Offer Enforcement",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/zoeService/zoe.js",
|
|
@@ -43,17 +43,17 @@
|
|
|
43
43
|
},
|
|
44
44
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@agoric/assert": "0.6.1-dev-
|
|
47
|
-
"@agoric/base-zone": "0.1.1-dev-
|
|
48
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
49
|
-
"@agoric/internal": "0.3.3-dev-
|
|
50
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
51
|
-
"@agoric/store": "0.9.3-dev-
|
|
52
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
53
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
54
|
-
"@agoric/time": "0.3.3-dev-
|
|
55
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
56
|
-
"@agoric/zone": "0.2.3-dev-
|
|
46
|
+
"@agoric/assert": "0.6.1-dev-e6cde48.0+e6cde48",
|
|
47
|
+
"@agoric/base-zone": "0.1.1-dev-e6cde48.0+e6cde48",
|
|
48
|
+
"@agoric/ertp": "0.16.3-dev-e6cde48.0+e6cde48",
|
|
49
|
+
"@agoric/internal": "0.3.3-dev-e6cde48.0+e6cde48",
|
|
50
|
+
"@agoric/notifier": "0.6.3-dev-e6cde48.0+e6cde48",
|
|
51
|
+
"@agoric/store": "0.9.3-dev-e6cde48.0+e6cde48",
|
|
52
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-e6cde48.0+e6cde48",
|
|
53
|
+
"@agoric/swingset-vat": "0.32.3-dev-e6cde48.0+e6cde48",
|
|
54
|
+
"@agoric/time": "0.3.3-dev-e6cde48.0+e6cde48",
|
|
55
|
+
"@agoric/vat-data": "0.5.3-dev-e6cde48.0+e6cde48",
|
|
56
|
+
"@agoric/zone": "0.2.3-dev-e6cde48.0+e6cde48",
|
|
57
57
|
"@endo/bundle-source": "^3.2.2",
|
|
58
58
|
"@endo/captp": "^4.1.1",
|
|
59
59
|
"@endo/common": "^1.2.1",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"yargs-parser": "^21.1.1"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@agoric/kmarshal": "0.1.1-dev-
|
|
71
|
+
"@agoric/kmarshal": "0.1.1-dev-e6cde48.0+e6cde48",
|
|
72
72
|
"@endo/init": "^1.1.1",
|
|
73
73
|
"ava": "^5.3.0",
|
|
74
74
|
"c8": "^9.1.0",
|
|
@@ -141,5 +141,5 @@
|
|
|
141
141
|
"typeCoverage": {
|
|
142
142
|
"atLeast": 84.9
|
|
143
143
|
},
|
|
144
|
-
"gitHead": "
|
|
144
|
+
"gitHead": "e6cde482e02072514bda74657b7e1a6928b1e8ec"
|
|
145
145
|
}
|
|
@@ -17,7 +17,7 @@ export const PriceAuthorityI: import("@endo/patterns").InterfaceGuard<{
|
|
|
17
17
|
export function makeOnewayPriceAuthorityKit(opts: {
|
|
18
18
|
quoteIssuer: Issuer<'set'>;
|
|
19
19
|
notifier: ERef<Notifier<unknown>>;
|
|
20
|
-
timer: ERef<
|
|
20
|
+
timer: ERef<TimerService>;
|
|
21
21
|
createQuote: PriceQuoteCreate;
|
|
22
22
|
actualBrandIn: Brand<'nat'>;
|
|
23
23
|
actualBrandOut: Brand<'nat'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function mintQuote(quoteBrand: Brand<'set'>, amountIn: Amount<'nat'>, amountOut: Amount<'nat'>, timer: ERef<
|
|
1
|
+
export function mintQuote(quoteBrand: Brand<'set'>, amountIn: Amount<'nat'>, amountOut: Amount<'nat'>, timer: ERef<TimerService>, timestamp: import('@agoric/time').Timestamp, quoteMint: ERef<globalThis.Mint<"set">>): Promise<PriceQuote>;
|
|
2
2
|
export function makePriceAuthorityTransform({ quoteMint, sourcePriceAuthority, sourceBrandIn, sourceBrandOut, actualBrandIn, actualBrandOut, makeSourceAmountIn, makeSourceAmountOut, transformSourceAmountIn, transformSourceAmountOut, }: {
|
|
3
3
|
quoteMint: ERef<globalThis.Mint<"set">>;
|
|
4
4
|
sourcePriceAuthority: ERef<PriceAuthority>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"priceAuthorityTransform.d.ts","sourceRoot":"","sources":["priceAuthorityTransform.js"],"names":[],"mappings":"AAiBO,sCARI,MAAM,KAAK,CAAC,YACZ,OAAO,KAAK,CAAC,aACb,OAAO,KAAK,CAAC
|
|
1
|
+
{"version":3,"file":"priceAuthorityTransform.d.ts","sourceRoot":"","sources":["priceAuthorityTransform.js"],"names":[],"mappings":"AAiBO,sCARI,MAAM,KAAK,CAAC,YACZ,OAAO,KAAK,CAAC,aACb,OAAO,KAAK,CAAC,wCAEb,OAAO,cAAc,EAAE,SAAS,4CAE9B,QAAQ,UAAU,CAAC,CAmB/B;AAeM;;;mBATI,MAAM,KAAK,CAAC;oBACZ,MAAM,KAAK,CAAC;;;qCAGD,OAAO,KAAK,CAAC,KAAK,OAAO,KAAK,CAAC;uCAC9B,OAAO,KAAK,CAAC,KAAK,OAAO,KAAK,CAAC;gDAC1B,OAAO,KAAK,CAAC,KAAK,OAAO,KAAK,CAAC;kDAC9B,OAAO,KAAK,CAAC,KAAK,OAAO,KAAK,CAAC;4BA4N3D"}
|
|
@@ -34,7 +34,7 @@ export function start(zcf: ZCF<{
|
|
|
34
34
|
winnerPriceOption: string;
|
|
35
35
|
closesAfter: any;
|
|
36
36
|
bidDuration: bigint;
|
|
37
|
-
timeAuthority:
|
|
37
|
+
timeAuthority: TimerService;
|
|
38
38
|
bids: string | any[];
|
|
39
39
|
};
|
|
40
40
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
@@ -45,7 +45,7 @@ export function start(zcf: ZCF<{
|
|
|
45
45
|
winnerPriceOption: string;
|
|
46
46
|
closesAfter: any;
|
|
47
47
|
bidDuration: bigint;
|
|
48
|
-
timeAuthority:
|
|
48
|
+
timeAuthority: TimerService;
|
|
49
49
|
bids: string | any[];
|
|
50
50
|
};
|
|
51
51
|
}>, undefined>>;
|
|
@@ -57,7 +57,7 @@ export function start(zcf: ZCF<{
|
|
|
57
57
|
winnerPriceOption: string;
|
|
58
58
|
closesAfter: any;
|
|
59
59
|
bidDuration: bigint;
|
|
60
|
-
timeAuthority:
|
|
60
|
+
timeAuthority: TimerService;
|
|
61
61
|
bids: string | any[];
|
|
62
62
|
};
|
|
63
63
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
@@ -68,7 +68,7 @@ export function start(zcf: ZCF<{
|
|
|
68
68
|
winnerPriceOption: string;
|
|
69
69
|
closesAfter: any;
|
|
70
70
|
bidDuration: bigint;
|
|
71
|
-
timeAuthority:
|
|
71
|
+
timeAuthority: TimerService;
|
|
72
72
|
bids: string | any[];
|
|
73
73
|
};
|
|
74
74
|
}>;
|
|
@@ -22,7 +22,7 @@ export type FakePriceAuthorityOptions = {
|
|
|
22
22
|
actualBrandOut: Brand<'nat'>;
|
|
23
23
|
priceList?: number[] | undefined;
|
|
24
24
|
tradeList?: [number, number][] | undefined;
|
|
25
|
-
timer: ERef<
|
|
25
|
+
timer: ERef<TimerService>;
|
|
26
26
|
quoteInterval?: import("@agoric/time").RelativeTime | undefined;
|
|
27
27
|
quoteMint?: ERef<globalThis.Mint<"set">> | undefined;
|
|
28
28
|
unitAmountIn?: globalThis.Amount<"nat"> | undefined;
|
|
@@ -8,5 +8,6 @@ type ManualTimerAdmin = {
|
|
|
8
8
|
tick: (msg?: string) => void | Promise<void>;
|
|
9
9
|
tickN: (nTimes: number, msg?: string) => Promise<void>;
|
|
10
10
|
};
|
|
11
|
-
type ManualTimer =
|
|
11
|
+
type ManualTimer = TimerService & ManualTimerAdmin;
|
|
12
|
+
import type { TimerService } from '@agoric/time';
|
|
12
13
|
//# sourceMappingURL=internal-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal-types.d.ts","sourceRoot":"","sources":["internal-types.js"],"names":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"internal-types.d.ts","sourceRoot":"","sources":["internal-types.js"],"names":[],"mappings":";;;;;;;UAMc,CAAC,GAAG,CAAC,EAAE,MAAM,KAAK,IAAI,GAAG,QAAQ,IAAI,CAAC;WAItC,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,KAAK,QAAQ,IAAI,CAAC;;;kCAR7B,cAAc"}
|
package/tools/internal-types.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// @jessie-check
|
|
2
2
|
|
|
3
|
+
/** @import {TimerService} from '@agoric/time' */
|
|
4
|
+
|
|
3
5
|
/**
|
|
4
6
|
* @typedef {object} ManualTimerAdmin
|
|
5
7
|
* @property {(msg?: string) => void | Promise<void>} tick Advance the timer by one tick.
|
|
@@ -10,5 +12,5 @@
|
|
|
10
12
|
*/
|
|
11
13
|
|
|
12
14
|
/**
|
|
13
|
-
* @typedef {
|
|
15
|
+
* @typedef {TimerService & ManualTimerAdmin} ManualTimer
|
|
14
16
|
*/
|
package/tools/types-ambient.d.ts
CHANGED
|
@@ -64,7 +64,7 @@ type PriceAuthority = {
|
|
|
64
64
|
/**
|
|
65
65
|
* Get the timer used in PriceQuotes for a given brandIn/brandOut pair
|
|
66
66
|
*/
|
|
67
|
-
getTimerService: (brandIn: Brand, brandOut: Brand) => ERef<
|
|
67
|
+
getTimerService: (brandIn: Brand, brandOut: Brand) => ERef<TimerService>;
|
|
68
68
|
/**
|
|
69
69
|
* Be notified of the latest PriceQuotes for a given
|
|
70
70
|
* `amountIn`. The rate at which these are issued may be very different between
|
package/tools/types.d.ts
CHANGED
|
@@ -64,7 +64,7 @@ export type PriceAuthority = {
|
|
|
64
64
|
/**
|
|
65
65
|
* Get the timer used in PriceQuotes for a given brandIn/brandOut pair
|
|
66
66
|
*/
|
|
67
|
-
getTimerService: (brandIn: Brand, brandOut: Brand) => ERef<
|
|
67
|
+
getTimerService: (brandIn: Brand, brandOut: Brand) => ERef<TimerService>;
|
|
68
68
|
/**
|
|
69
69
|
* Be notified of the latest PriceQuotes for a given
|
|
70
70
|
* `amountIn`. The rate at which these are issued may be very different between
|