@agoric/zoe 0.26.1 → 0.26.3-dev-51ee28f.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 +8 -0
- package/bundles/bundle-contractFacet-js-meta.json +281 -281
- package/bundles/bundle-contractFacet.js +1 -1
- package/package.json +10 -10
- package/src/contracts/priceAggregator.js +1 -1
- package/tools/manualPriceAuthority.d.ts +1 -0
- package/tools/manualPriceAuthority.d.ts.map +1 -1
- package/tools/manualPriceAuthority.js +1 -0
- package/tools/types-ambient.d.ts +2 -2
- package/tools/types-ambient.d.ts.map +1 -1
- package/tools/types-ambient.js +2 -2
- package/tools/types.d.ts +2 -2
- package/tools/types.d.ts.map +1 -1
- package/tools/types.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/zoe",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.3-dev-51ee28f.0+51ee28f",
|
|
4
4
|
"description": "Zoe: the Smart Contract Framework for Offer Enforcement",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/zoeService/zoe.js",
|
|
@@ -43,14 +43,14 @@
|
|
|
43
43
|
},
|
|
44
44
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@agoric/assert": "
|
|
47
|
-
"@agoric/ertp": "
|
|
48
|
-
"@agoric/internal": "
|
|
49
|
-
"@agoric/notifier": "
|
|
50
|
-
"@agoric/store": "
|
|
51
|
-
"@agoric/swingset-vat": "
|
|
52
|
-
"@agoric/time": "
|
|
53
|
-
"@agoric/vat-data": "
|
|
46
|
+
"@agoric/assert": "0.6.1-dev-51ee28f.0+51ee28f",
|
|
47
|
+
"@agoric/ertp": "0.16.3-dev-51ee28f.0+51ee28f",
|
|
48
|
+
"@agoric/internal": "0.3.3-dev-51ee28f.0+51ee28f",
|
|
49
|
+
"@agoric/notifier": "0.6.3-dev-51ee28f.0+51ee28f",
|
|
50
|
+
"@agoric/store": "0.9.3-dev-51ee28f.0+51ee28f",
|
|
51
|
+
"@agoric/swingset-vat": "0.32.3-dev-51ee28f.0+51ee28f",
|
|
52
|
+
"@agoric/time": "0.3.3-dev-51ee28f.0+51ee28f",
|
|
53
|
+
"@agoric/vat-data": "0.5.3-dev-51ee28f.0+51ee28f",
|
|
54
54
|
"@endo/bundle-source": "^2.5.1",
|
|
55
55
|
"@endo/captp": "^3.1.1",
|
|
56
56
|
"@endo/eventual-send": "^0.17.2",
|
|
@@ -126,5 +126,5 @@
|
|
|
126
126
|
"publishConfig": {
|
|
127
127
|
"access": "public"
|
|
128
128
|
},
|
|
129
|
-
"gitHead": "
|
|
129
|
+
"gitHead": "51ee28ffe0395ed9a8924388e46b898b6564cf24"
|
|
130
130
|
}
|
|
@@ -166,7 +166,7 @@ const start = async (zcf, privateArgs) => {
|
|
|
166
166
|
/**
|
|
167
167
|
* @param {object} param0
|
|
168
168
|
* @param {Ratio} [param0.overridePrice]
|
|
169
|
-
* @param {import('@agoric/time/src/types').
|
|
169
|
+
* @param {import('@agoric/time/src/types').TimestampRecord} [param0.timestamp]
|
|
170
170
|
*/
|
|
171
171
|
const makeCreateQuote = ({ overridePrice, timestamp } = {}) =>
|
|
172
172
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manualPriceAuthority.d.ts","sourceRoot":"","sources":["manualPriceAuthority.js"],"names":[],"mappings":"AAYA;;;;;;;;GAQG;AACH;IAPiC,aAAa,EAAnC,MAAM,KAAK,CAAC;IACU,cAAc,EAApC,MAAM,KAAK,CAAC;IACG,YAAY,EAA3B,KAAK;IACkD,KAAK,EAA5D,OAAO,wBAAwB,EAAE,YAAY;IAClB,cAAc;;8BACC,IAAI;EAsExD"}
|
|
1
|
+
{"version":3,"file":"manualPriceAuthority.d.ts","sourceRoot":"","sources":["manualPriceAuthority.js"],"names":[],"mappings":"AAYA;;;;;;;;GAQG;AACH;IAPiC,aAAa,EAAnC,MAAM,KAAK,CAAC;IACU,cAAc,EAApC,MAAM,KAAK,CAAC;IACG,YAAY,EAA3B,KAAK;IACkD,KAAK,EAA5D,OAAO,wBAAwB,EAAE,YAAY;IAClB,cAAc;;8BACC,IAAI;EAsExD;mCACa,WAAW,+BAA+B,CAAC"}
|
package/tools/types-ambient.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ type PriceDescription = {
|
|
|
32
32
|
/**
|
|
33
33
|
* A timestamp according to `timer` for the quote
|
|
34
34
|
*/
|
|
35
|
-
timestamp: import('@agoric/time/src/types').
|
|
35
|
+
timestamp: import('@agoric/time/src/types').TimestampRecord;
|
|
36
36
|
/**
|
|
37
37
|
* Additional conditions for the quote
|
|
38
38
|
*/
|
|
@@ -124,7 +124,7 @@ type PriceCalculator = (amount: Amount<'nat'>) => Amount<'nat'>;
|
|
|
124
124
|
type PriceQuery = (calcAmountIn: PriceCalculator, calcAmountOut: PriceCalculator) => {
|
|
125
125
|
amountIn: Amount<'nat'>;
|
|
126
126
|
amountOut: Amount<'nat'>;
|
|
127
|
-
timestamp?: import('@agoric/time/src/types').
|
|
127
|
+
timestamp?: import('@agoric/time/src/types').TimestampRecord;
|
|
128
128
|
} | undefined;
|
|
129
129
|
/**
|
|
130
130
|
* A description of a single quote
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types-ambient.d.ts","sourceRoot":"","sources":["types-ambient.js"],"names":[],"mappings":";;;;iBAIc,OAAO,KAAK,CAAC;;;;kBAEb,KAAK,QAAQ,KAAK,CAAC,CAAC;;;;;;uBAKrB,CAAC,gBAAgB,CAAC;;;;;;;;cAQjB,OAAO,KAAK,CAAC;;;;eAEb,OAAO,KAAK,CAAC;;;;WAEb,OAAO,wBAAwB,EAAE,YAAY;;;;eAE7C,OAAO,wBAAwB,EAAE,
|
|
1
|
+
{"version":3,"file":"types-ambient.d.ts","sourceRoot":"","sources":["types-ambient.js"],"names":[],"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Q,UAAU,CAAC;;;;4BAIF,MAAM,kBACA,MAAM,KAC7B,QAAQ,UAAU,CAAC;;;;mCAGF,MAAM,kBACA,MAAM,KAC7B,KAAK,YAAY,CAAC;;;;;oCAGD,MAAM,kBACA,MAAM,KAC7B,KAAK,YAAY,CAAC;;;;;oCAID,MAAM,kBACA,MAAM,KAC7B,KAAK,YAAY,CAAC;;;;mCAID,MAAM,kBACA,MAAM,KAC7B,KAAK,YAAY,CAAC;;gCAKJ,OAAO,KAAK,CAAC,KAAK,OAAO,KAAK,CAAC;iCAK1C,eAAe,iBACf,eAAe,KACb;IAAE,QAAQ,EAAE,OAAO,KAAK,CAAC,CAAC;IAAC,SAAS,EAAE,OAAO,KAAK,CAAC,CAAC;IAAC,SAAS,CAAC,EAAE,OAAO,wBAAwB,EAAE,eAAe,CAAA;CAAE,GAAG,SAAS;;;;;;;;cAO9H,OAAO,KAAK,CAAC;;;;eAEb,OAAO,KAAK,CAAC"}
|
package/tools/types-ambient.js
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
* The quoted result of trading `amountIn`
|
|
24
24
|
* @property {import('@agoric/time/src/types').TimerService} timer
|
|
25
25
|
* The service that gave the `timestamp`
|
|
26
|
-
* @property {import('@agoric/time/src/types').
|
|
26
|
+
* @property {import('@agoric/time/src/types').TimestampRecord} timestamp
|
|
27
27
|
* A timestamp according to `timer` for the quote
|
|
28
28
|
* @property {any} [conditions]
|
|
29
29
|
* Additional conditions for the quote
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
* @callback PriceQuery
|
|
147
147
|
* @param {PriceCalculator} calcAmountIn
|
|
148
148
|
* @param {PriceCalculator} calcAmountOut
|
|
149
|
-
* @returns {{ amountIn: Amount<'nat'>, amountOut: Amount<'nat'>, timestamp?: import('@agoric/time/src/types').
|
|
149
|
+
* @returns {{ amountIn: Amount<'nat'>, amountOut: Amount<'nat'>, timestamp?: import('@agoric/time/src/types').TimestampRecord } | undefined}
|
|
150
150
|
*/
|
|
151
151
|
|
|
152
152
|
/**
|
package/tools/types.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export type PriceDescription = {
|
|
|
32
32
|
/**
|
|
33
33
|
* A timestamp according to `timer` for the quote
|
|
34
34
|
*/
|
|
35
|
-
timestamp: import('@agoric/time/src/types').
|
|
35
|
+
timestamp: import('@agoric/time/src/types').TimestampRecord;
|
|
36
36
|
/**
|
|
37
37
|
* Additional conditions for the quote
|
|
38
38
|
*/
|
|
@@ -124,7 +124,7 @@ export type PriceCalculator = (amount: Amount<'nat'>) => Amount<'nat'>;
|
|
|
124
124
|
export type PriceQuery = (calcAmountIn: PriceCalculator, calcAmountOut: PriceCalculator) => {
|
|
125
125
|
amountIn: Amount<'nat'>;
|
|
126
126
|
amountOut: Amount<'nat'>;
|
|
127
|
-
timestamp?: import('@agoric/time/src/types').
|
|
127
|
+
timestamp?: import('@agoric/time/src/types').TimestampRecord;
|
|
128
128
|
} | undefined;
|
|
129
129
|
/**
|
|
130
130
|
* A description of a single quote
|
package/tools/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.js"],"names":[],"mappings":";;;;iBAKc,OAAO,KAAK,CAAC;;;;kBAEb,KAAK,QAAQ,KAAK,CAAC,CAAC;;;;;;8BAKrB,CAAC,gBAAgB,CAAC;;;;;;;;cAQjB,OAAO,KAAK,CAAC;;;;eAEb,OAAO,KAAK,CAAC;;;;WAEb,OAAO,wBAAwB,EAAE,YAAY;;;;eAE7C,OAAO,wBAAwB,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.js"],"names":[],"mappings":";;;;iBAKc,OAAO,KAAK,CAAC;;;;kBAEb,KAAK,QAAQ,KAAK,CAAC,CAAC;;;;;;8BAKrB,CAAC,gBAAgB,CAAC;;;;;;;;cAQjB,OAAO,KAAK,CAAC;;;;eAEb,OAAO,KAAK,CAAC;;;;WAEb,OAAO,wBAAw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M,kBACA,MAAM,KAC7B,KAAK,YAAY,CAAC;;;;mCAID,MAAM,kBACA,MAAM,KAC7B,KAAK,YAAY,CAAC;;uCAKJ,OAAO,KAAK,CAAC,KAAK,OAAO,KAAK,CAAC;wCAK1C,eAAe,iBACf,eAAe,KACb;IAAE,QAAQ,EAAE,OAAO,KAAK,CAAC,CAAC;IAAC,SAAS,EAAE,OAAO,KAAK,CAAC,CAAC;IAAC,SAAS,CAAC,EAAE,OAAO,wBAAwB,EAAE,eAAe,CAAA;CAAE,GAAG,SAAS;;;;;;;;cAO9H,OAAO,KAAK,CAAC;;;;eAEb,OAAO,KAAK,CAAC"}
|
package/tools/types.js
CHANGED
|
@@ -24,7 +24,7 @@ export {};
|
|
|
24
24
|
* The quoted result of trading `amountIn`
|
|
25
25
|
* @property {import('@agoric/time/src/types').TimerService} timer
|
|
26
26
|
* The service that gave the `timestamp`
|
|
27
|
-
* @property {import('@agoric/time/src/types').
|
|
27
|
+
* @property {import('@agoric/time/src/types').TimestampRecord} timestamp
|
|
28
28
|
* A timestamp according to `timer` for the quote
|
|
29
29
|
* @property {any} [conditions]
|
|
30
30
|
* Additional conditions for the quote
|
|
@@ -147,7 +147,7 @@ export {};
|
|
|
147
147
|
* @callback PriceQuery
|
|
148
148
|
* @param {PriceCalculator} calcAmountIn
|
|
149
149
|
* @param {PriceCalculator} calcAmountOut
|
|
150
|
-
* @returns {{ amountIn: Amount<'nat'>, amountOut: Amount<'nat'>, timestamp?: import('@agoric/time/src/types').
|
|
150
|
+
* @returns {{ amountIn: Amount<'nat'>, amountOut: Amount<'nat'>, timestamp?: import('@agoric/time/src/types').TimestampRecord } | undefined}
|
|
151
151
|
*/
|
|
152
152
|
|
|
153
153
|
/**
|