@agoric/zoe 0.26.3-dev-fbd8633.0 → 0.26.3-dev-e456308.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 +122 -117
- package/bundles/bundle-contractFacet.js +1 -1
- package/exported.js +3 -3
- package/package.json +14 -14
- package/src/contractFacet/internal-types.d.ts.map +1 -1
- package/src/contractFacet/rightsConservation.js +1 -1
- package/src/contractFacet/vatRoot.d.ts +1 -1
- package/src/contractFacet/zcfMint.d.ts.map +1 -1
- package/src/contractFacet/zcfSeat.d.ts +4 -2
- package/src/contractFacet/zcfSeat.d.ts.map +1 -1
- package/src/contractFacet/zcfSeat.js +10 -1
- package/src/contractFacet/zcfZygote.d.ts +1 -1
- package/src/contractFacet/zcfZygote.d.ts.map +1 -1
- package/src/contractSupport/durability.d.ts +3 -3
- package/src/contractSupport/durability.d.ts.map +1 -1
- package/src/contractSupport/priceAuthority.d.ts +1 -1
- package/src/contractSupport/priceAuthority.d.ts.map +1 -1
- package/src/contractSupport/priceAuthorityInitial.d.ts +1 -1
- package/src/contractSupport/priceAuthorityInitial.d.ts.map +1 -1
- package/src/contractSupport/priceAuthorityQuoteMint.d.ts +1 -1
- package/src/contractSupport/priceAuthorityQuoteMint.d.ts.map +1 -1
- package/src/contractSupport/priceAuthorityTransform.d.ts +2 -2
- package/src/contractSupport/priceAuthorityTransform.d.ts.map +1 -1
- package/src/contractSupport/ratio.js +1 -1
- package/src/contractSupport/recorder.d.ts +9 -9
- package/src/contractSupport/recorder.d.ts.map +1 -1
- package/src/contractSupport/topics.d.ts.map +1 -1
- package/src/contractSupport/{types.d.ts → types-ambient.d.ts} +1 -1
- package/src/contractSupport/types-ambient.d.ts.map +1 -0
- package/src/contractSupport/zoeHelpers.d.ts.map +1 -1
- package/src/contracts/callSpread/payoffHandler.d.ts.map +1 -1
- package/src/contracts/loan/types.d.ts.map +1 -1
- package/src/contracts/priceAggregator.d.ts +7 -7
- package/src/contracts/priceAggregator.d.ts.map +1 -1
- package/src/contracts/priceAggregator.js +1 -1
- package/src/contracts/priceAggregatorTypes.d.ts +3 -3
- package/src/contracts/priceAggregatorTypes.d.ts.map +1 -1
- package/src/contracts/scaledPriceAuthority.d.ts.map +1 -1
- package/src/contracts/simpleExchange.d.ts +2 -2
- package/src/handleWarning.d.ts.map +1 -1
- package/src/internal-types.d.ts +7 -21
- package/src/internal-types.d.ts.map +1 -1
- package/src/internal-types.js +5 -49
- package/src/issuerStorage.d.ts +2 -2
- package/src/issuerStorage.d.ts.map +1 -1
- package/src/issuerStorage.js +4 -1
- package/src/{types.d.ts → types-ambient.d.ts} +2 -4
- package/src/types-ambient.d.ts.map +1 -0
- package/src/zoeService/instanceAdminStorage.d.ts +2 -2
- package/src/zoeService/internal-types.d.ts +5 -5
- package/src/zoeService/internal-types.d.ts.map +1 -1
- package/src/zoeService/internal-types.js +4 -4
- package/src/zoeService/offer/burnInvitation.d.ts +1 -1
- package/src/zoeService/offer/burnInvitation.d.ts.map +1 -1
- package/src/zoeService/originalZoeSeat.js +1 -1
- package/src/zoeService/startInstance.d.ts +1 -1
- package/src/zoeService/startInstance.d.ts.map +1 -1
- package/src/zoeService/{types.d.ts → types-ambient.d.ts} +6 -9
- package/src/zoeService/types-ambient.d.ts.map +1 -0
- package/src/zoeService/{types.js → types-ambient.js} +0 -4
- package/src/zoeService/utils.d.ts +3 -4
- package/src/zoeService/zoe.d.ts.map +1 -1
- package/src/zoeService/zoe.js +4 -0
- package/src/zoeService/zoeSeat.d.ts +1 -1
- package/src/zoeService/zoeSeat.js +1 -1
- package/src/zoeService/zoeStorageManager.d.ts +1 -1
- package/src/zoeService/zoeStorageManager.d.ts.map +1 -1
- package/tools/fakePriceAuthority.d.ts +2 -2
- package/tools/fakePriceAuthority.d.ts.map +1 -1
- package/tools/setup-zoe.d.ts +1 -1
- package/tools/types-ambient.d.ts +3 -3
- package/tools/types-ambient.d.ts.map +1 -1
- package/tools/types.d.ts +3 -3
- package/tools/types.d.ts.map +1 -1
- package/src/contractSupport/types.d.ts.map +0 -1
- package/src/types.d.ts.map +0 -1
- package/src/zoeService/types.d.ts.map +0 -1
- /package/src/contractSupport/{types.js → types-ambient.js} +0 -0
- /package/src/{types.js → types-ambient.js} +0 -0
package/exported.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @jessie-check
|
|
2
2
|
|
|
3
3
|
import './src/contractFacet/types-ambient.js';
|
|
4
|
-
import './src/zoeService/types.js';
|
|
5
|
-
import './src/contractSupport/types.js';
|
|
4
|
+
import './src/zoeService/types-ambient.js';
|
|
5
|
+
import './src/contractSupport/types-ambient.js';
|
|
6
6
|
import './src/contracts/exported.js';
|
|
7
|
-
import './src/types.js';
|
|
7
|
+
import './src/types-ambient.js';
|
|
8
8
|
import './tools/types-ambient.js';
|
|
9
9
|
import '@agoric/notifier/exported.js';
|
|
10
10
|
import '@agoric/ertp/exported.js';
|
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-e456308.0+e456308",
|
|
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-e456308.0+e456308",
|
|
47
|
+
"@agoric/base-zone": "0.1.1-dev-e456308.0+e456308",
|
|
48
|
+
"@agoric/ertp": "0.16.3-dev-e456308.0+e456308",
|
|
49
|
+
"@agoric/internal": "0.3.3-dev-e456308.0+e456308",
|
|
50
|
+
"@agoric/notifier": "0.6.3-dev-e456308.0+e456308",
|
|
51
|
+
"@agoric/store": "0.9.3-dev-e456308.0+e456308",
|
|
52
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-e456308.0+e456308",
|
|
53
|
+
"@agoric/swingset-vat": "0.32.3-dev-e456308.0+e456308",
|
|
54
|
+
"@agoric/time": "0.3.3-dev-e456308.0+e456308",
|
|
55
|
+
"@agoric/vat-data": "0.5.3-dev-e456308.0+e456308",
|
|
56
|
+
"@agoric/zone": "0.2.3-dev-e456308.0+e456308",
|
|
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-e456308.0+e456308",
|
|
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": "e4563081e57304520ee75f85aff490fcdb640c20"
|
|
145
145
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal-types.d.ts","sourceRoot":"","sources":["internal-types.js"],"names":[],"mappings":"qBAGa,CAAE,EAAC,GAAG,EAAC,EAAE;IAAC,GAAG,EAAE,GAAG,CAAA;CAAC,KAAM,IAAI;;
|
|
1
|
+
{"version":3,"file":"internal-types.d.ts","sourceRoot":"","sources":["internal-types.js"],"names":[],"mappings":"qBAGa,CAAE,EAAC,GAAG,EAAC,EAAE;IAAC,GAAG,EAAE,GAAG,CAAA;CAAC,KAAM,IAAI;;mBAK5B,CAAC,oBAAoB,EAAE,IAAI,CAAC,gBAAgB,CAAC,EAC1D,qBAA2B,EAAE,cAAc,EAC3C,oBAA0B,EAAE,aAAa,EACzC,WAAiB,CAAC,EAAE,MAAM,KACnB,OAAO,CAAC,qBAAqB,CAAC;qBACxB,CAAC,WAAW,CAAC,EAAE,MAAM,KAAK,IAAI"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @param {{contractBundleCap: BundleCap, zoeService: ZoeService, invitationIssuer: Issuer<'set'>, privateArgs?: any}} vatParameters
|
|
4
4
|
* @param {import('@agoric/vat-data').Baggage} baggage
|
|
5
5
|
*/
|
|
6
|
-
export function buildRootObject(powers:
|
|
6
|
+
export function buildRootObject(powers: TerminationVatPowers & {
|
|
7
7
|
testJigSetter: TestJigSetter;
|
|
8
8
|
}, vatParameters: {
|
|
9
9
|
contractBundleCap: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zcfMint.d.ts","sourceRoot":"","sources":["zcfMint.js"],"names":[],"mappings":"AAsBO,uCAFa,CAAC,oCAFV,mBAAmB,gBACnB,YAAY,CACH,CAAC,AADI,CAAC,GACb,MAAM,CAAC,CAAC,CAAC,CAYrB;AASM,0CANI,OAAO,kBAAkB,EAAE,OAAO,gBAClC;IAAE,CAAC,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,YAAY,GAAG,IAAI,CAAA;CAAE,uBACvD,mBAAmB,oBACnB,CAAC,IAAI,CAAC,EAAE,SAAS,KAAK;IAAE,OAAO,EAAE,GAAG,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAA;CAAE,eACnE,kBAAkB,IAoHE,CAAC,wCAFnB,MAAM,
|
|
1
|
+
{"version":3,"file":"zcfMint.d.ts","sourceRoot":"","sources":["zcfMint.js"],"names":[],"mappings":"AAsBO,uCAFa,CAAC,oCAFV,mBAAmB,gBACnB,YAAY,CACH,CAAC,AADI,CAAC,GACb,MAAM,CAAC,CAAC,CAAC,CAYrB;AASM,0CANI,OAAO,kBAAkB,EAAE,OAAO,gBAClC;IAAE,CAAC,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,YAAY,GAAG,IAAI,CAAA;CAAE,uBACvD,mBAAmB,oBACnB,CAAC,IAAI,CAAC,EAAE,SAAS,KAAK;IAAE,OAAO,EAAE,GAAG,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAA;CAAE,eACnE,kBAAkB,IAoHE,CAAC,wCAFnB,MAAM,YACN,IAAI,CAAC,OAAO,CACM,CAAC,AADL,CAAC,CAAC,KACd,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAWjC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export function createSeatManager(zoeInstanceAdmin: ERef<ZoeInstanceAdmin>, getAssetKindByBrand: GetAssetKindByBrand, shutdownWithFailure: import("@agoric/swingset-vat").ShutdownWithFailure, zcfBaggage: import("@agoric/vat-data").Baggage): {
|
|
2
|
+
seatManager: ZcfSeatManager;
|
|
3
|
+
zcfMintReallocator: ZcfMintReallocator;
|
|
4
|
+
};
|
|
3
5
|
//# sourceMappingURL=zcfSeat.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zcfSeat.d.ts","sourceRoot":"","sources":["zcfSeat.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"zcfSeat.d.ts","sourceRoot":"","sources":["zcfSeat.js"],"names":[],"mappings":"AAqCO,oDANI,IAAI,CAAC,gBAAgB,CAAC,uBACtB,mBAAmB,uBACnB,OAAO,sBAAsB,EAAE,mBAAmB,cAClD,OAAO,kBAAkB,EAAE,OAAO,GAChC;IAAE,WAAW,EAAE,cAAc,CAAC;IAAC,kBAAkB,EAAE,kBAAkB,CAAA;CAAE,CAmenF"}
|
|
@@ -25,7 +25,16 @@ import { TransferPartShape } from '../contractSupport/atomicTransfer.js';
|
|
|
25
25
|
|
|
26
26
|
const { Fail } = assert;
|
|
27
27
|
|
|
28
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* The SeatManager holds the active zcfSeats and can reallocate and
|
|
30
|
+
* make new zcfSeats.
|
|
31
|
+
*
|
|
32
|
+
* @param {ERef<ZoeInstanceAdmin>} zoeInstanceAdmin
|
|
33
|
+
* @param {GetAssetKindByBrand} getAssetKindByBrand
|
|
34
|
+
* @param {import('@agoric/swingset-vat').ShutdownWithFailure} shutdownWithFailure
|
|
35
|
+
* @param {import('@agoric/vat-data').Baggage} zcfBaggage
|
|
36
|
+
* @returns {{ seatManager: ZcfSeatManager, zcfMintReallocator: ZcfMintReallocator }}
|
|
37
|
+
*/
|
|
29
38
|
export const createSeatManager = (
|
|
30
39
|
zoeInstanceAdmin,
|
|
31
40
|
getAssetKindByBrand,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function makeZCFZygote(powers:
|
|
1
|
+
export function makeZCFZygote(powers: TerminationVatPowers, zoeService: ERef<ZoeService>, invitationIssuer: Issuer<"set">, testJigSetter: TestJigSetter, contractBundleCap: any, zcfBaggage?: import("@agoric/vat-data").Baggage): Promise<ZCFZygote>;
|
|
2
2
|
//# sourceMappingURL=zcfZygote.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zcfZygote.d.ts","sourceRoot":"","sources":["zcfZygote.js"],"names":[],"mappings":"AAiDO,
|
|
1
|
+
{"version":3,"file":"zcfZygote.d.ts","sourceRoot":"","sources":["zcfZygote.js"],"names":[],"mappings":"AAiDO,wEAPI,IAAI,CAAC,UAAU,CAAC,oBAChB,MAAM,CAAC,KAAK,CAAC,iBACb,aAAa,uCAEb,OAAO,kBAAkB,EAAE,OAAO,GAChC,OAAO,CAAC,SAAS,CAAC,CAkd9B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export function makeEphemeraProvider<E extends {}, K extends {} = any>(init: (key: K) => E): (key: K) => E;
|
|
2
|
-
export function provideEmptySeat(zcf: ZCF, baggage:
|
|
3
|
-
export function provideAll<T extends Record<string, () => any
|
|
4
|
-
export function provideSingleton<T extends () => any
|
|
2
|
+
export function provideEmptySeat(zcf: ZCF, baggage: import("@agoric/swingset-liveslots").Baggage, name: string): ZCFSeat;
|
|
3
|
+
export function provideAll<T extends Record<string, () => ERef<any>>>(baggage: MapStore<string, any>, thunks: T): Promise<{ [K in keyof T]: Awaited<ReturnType<T[K]>>; }>;
|
|
4
|
+
export function provideSingleton<T extends () => ERef<any>>(mapStore: import("@agoric/vat-data").Baggage, key: string, makeValue: T, withValue?: ((value: Awaited<ReturnType<T>>) => void) | undefined): Promise<Awaited<ReturnType<T>>>;
|
|
5
5
|
//# sourceMappingURL=durability.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"durability.d.ts","sourceRoot":"","sources":["durability.js"],"names":[],"mappings":"AAaO,qCAOiB,CAAC,aATR,CAAC,yBAAP,CAAC,GAAG,EAAE,CAAC,KASM,CAAC,AATD,eASA,CAAC,CAWxB;AAWM,sCALI,GAAG,
|
|
1
|
+
{"version":3,"file":"durability.d.ts","sourceRoot":"","sources":["durability.js"],"names":[],"mappings":"AAaO,qCAOiB,CAAC,aATR,CAAC,yBAAP,CAAC,GAAG,EAAE,CAAC,KASM,CAAC,AATD,eASA,CAAC,CAWxB;AAWM,sCALI,GAAG,WACH,OAAO,4BAA4B,EAAE,OAAO,QAC5C,MAAM,GACJ,OAAO,CAInB;AAiCM,2BAFmD,CAAC,8BAHxB,IAAI,CAAC,GAAG,CAAC,YACjC,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC,UAE0B,CAAC,AAD/C,GACC,OAAO,CAAC,GAAG,CAAC,IAAI,MAA6B,CAAC,AAAvB,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAE,CAAC,CAuBlE;AAgBM,iCAFiC,CAAC,eALrB,IAAI,CAAC,GAAG,CAAC,YAClB,OAAO,kBAAkB,EAAE,OAAO,OAClC,MAAM,aAGuB,CAAC,AAF7B,uBACO,OAAO,CAAC,UAAU,CACG,CAAC,AADF,CAAC,CAAC,KAAK,IAAI,gBACrC,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAc3C"}
|
|
@@ -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<TimerService>;
|
|
20
|
+
timer: ERef<import("@agoric/time").TimerService>;
|
|
21
21
|
createQuote: PriceQuoteCreate;
|
|
22
22
|
actualBrandIn: Brand<"nat">;
|
|
23
23
|
actualBrandOut: Brand<"nat">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"priceAuthority.d.ts","sourceRoot":"","sources":["priceAuthority.js"],"names":[],"mappings":"AA0CA;;;;;;;;;;;;;;;GAiBG;AAYI;
|
|
1
|
+
{"version":3,"file":"priceAuthority.d.ts","sourceRoot":"","sources":["priceAuthority.js"],"names":[],"mappings":"AA0CA;;;;;;;;;;;;;;;GAiBG;AAYI;IARwB,WAAW,EAA/B,MAAM,CAAC,KAAK,CAAC;IACiB,QAAQ,EAAtC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IACyB,KAAK,EAArD,IAAI,CAAC,OAAO,cAAc,EAAE,YAAY,CAAC;IAClB,WAAW,EAAlC,gBAAgB;IACG,aAAa,EAAhC,KAAK,CAAC,KAAK,CAAC;IACO,cAAc,EAAjC,KAAK,CAAC,KAAK,CAAC;IACV,iBAAiB,CAwT7B;qCA7WU,MAAM,eACN,MAAM,KACJ,OAAO;2CAiBT,gBAAgB,KACd,OAAO,CAAC,IAAI,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function makeInitialTransform(priceOutPerIn: Ratio, priceAuthority: PriceAuthority, quoteMint: ERef<
|
|
1
|
+
export function makeInitialTransform(priceOutPerIn: Ratio, priceAuthority: PriceAuthority, quoteMint: ERef<Mint<"set">>, brandIn: Brand<"nat">, brandOut: Brand<"nat">): PriceAuthority;
|
|
2
2
|
//# sourceMappingURL=priceAuthorityInitial.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"priceAuthorityInitial.d.ts","sourceRoot":"","sources":["priceAuthorityInitial.js"],"names":[],"mappings":"AA0BO,oDAPI,KAAK,kBACL,cAAc,
|
|
1
|
+
{"version":3,"file":"priceAuthorityInitial.d.ts","sourceRoot":"","sources":["priceAuthorityInitial.js"],"names":[],"mappings":"AA0BO,oDAPI,KAAK,kBACL,cAAc,aACd,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,WACjB,KAAK,CAAC,KAAK,CAAC,YACZ,KAAK,CAAC,KAAK,CAAC,GACV,cAAc,CAyF1B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function provideQuoteMint(baggage: import("@agoric/vat-data").Baggage): ERef<
|
|
1
|
+
export function provideQuoteMint(baggage: import("@agoric/vat-data").Baggage): ERef<Mint<"set">>;
|
|
2
2
|
//# sourceMappingURL=priceAuthorityQuoteMint.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"priceAuthorityQuoteMint.d.ts","sourceRoot":"","sources":["priceAuthorityQuoteMint.js"],"names":[],"mappings":"AAQO,0CAHI,OAAO,kBAAkB,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"priceAuthorityQuoteMint.d.ts","sourceRoot":"","sources":["priceAuthorityQuoteMint.js"],"names":[],"mappings":"AAQO,0CAHI,OAAO,kBAAkB,EAAE,OAAO,GAChC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAgB7B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export function mintQuote(quoteBrand: Brand<"set">, amountIn: Amount<"nat">, amountOut: Amount<"nat">, timer: ERef<TimerService>, timestamp: import("@agoric/time").Timestamp, quoteMint: ERef<
|
|
1
|
+
export function mintQuote(quoteBrand: Brand<"set">, amountIn: Amount<"nat">, amountOut: Amount<"nat">, timer: ERef<import("@agoric/time").TimerService>, timestamp: import("@agoric/time").Timestamp, quoteMint: ERef<Mint<"set">>): Promise<PriceQuote>;
|
|
2
2
|
export function makePriceAuthorityTransform({ quoteMint, sourcePriceAuthority, sourceBrandIn, sourceBrandOut, actualBrandIn, actualBrandOut, makeSourceAmountIn, makeSourceAmountOut, transformSourceAmountIn, transformSourceAmountOut, }: {
|
|
3
|
-
quoteMint: ERef<
|
|
3
|
+
quoteMint: ERef<Mint<"set">>;
|
|
4
4
|
sourcePriceAuthority: ERef<PriceAuthority>;
|
|
5
5
|
sourceBrandIn: Brand<"nat">;
|
|
6
6
|
sourceBrandOut: Brand<"nat">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"priceAuthorityTransform.d.ts","sourceRoot":"","sources":["priceAuthorityTransform.js"],"names":[],"mappings":"AAiBO,sCARI,KAAK,CAAC,KAAK,CAAC,YACZ,MAAM,CAAC,KAAK,CAAC,aACb,MAAM,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"priceAuthorityTransform.d.ts","sourceRoot":"","sources":["priceAuthorityTransform.js"],"names":[],"mappings":"AAiBO,sCARI,KAAK,CAAC,KAAK,CAAC,YACZ,MAAM,CAAC,KAAK,CAAC,aACb,MAAM,CAAC,KAAK,CAAC,SACb,IAAI,CAAC,OAAO,cAAc,EAAE,YAAY,CAAC,aACzC,OAAO,cAAc,EAAE,SAAS,aAChC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GACf,OAAO,CAAC,UAAU,CAAC,CAmB/B;AAeM;IAX4B,SAAS,EAAjC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACU,oBAAoB,EAA/C,IAAI,CAAC,cAAc,CAAC;IACD,aAAa,EAAhC,KAAK,CAAC,KAAK,CAAC;IACO,cAAc,EAAjC,KAAK,CAAC,KAAK,CAAC;IACQ,aAAa;IACb,cAAc;IACgB,kBAAkB,eAAzD,MAAM,CAAC,KAAK,CAAC,KAAK,MAAM,CAAC,KAAK,CAAC;IACS,mBAAmB,gBAA1D,MAAM,CAAC,KAAK,CAAC,KAAK,MAAM,CAAC,KAAK,CAAC;IACa,uBAAuB,qBAA9D,MAAM,CAAC,KAAK,CAAC,KAAK,MAAM,CAAC,KAAK,CAAC;IACS,wBAAwB,sBAA/D,MAAM,CAAC,KAAK,CAAC,KAAK,MAAM,CAAC,KAAK,CAAC;4BA4N3D"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export function prepareRecorder(baggage: import("@agoric/vat-data").Baggage, marshaller: ERef<Marshaller
|
|
2
|
-
getStorageNode(): import("@endo/eventual-send").DataOnly<StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<StorageNode>, StorageNode>;
|
|
1
|
+
export function prepareRecorder(baggage: import("@agoric/vat-data").Baggage, marshaller: ERef<Marshaller>): (publisher: globalThis.Publisher<unknown>, storageNode: import("@endo/eventual-send").DataOnly<globalThis.StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<globalThis.StorageNode>, globalThis.StorageNode>, valueShape?: TypedMatcher<unknown> | undefined) => import("@endo/exo").Guarded<{
|
|
2
|
+
getStorageNode(): import("@endo/eventual-send").DataOnly<globalThis.StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<globalThis.StorageNode>, globalThis.StorageNode>;
|
|
3
3
|
/**
|
|
4
4
|
* Memoizes the remote call to the storage node
|
|
5
5
|
*
|
|
@@ -29,8 +29,8 @@ export function defineERecorderKit({ makeRecorder, makeDurablePublishKit }: {
|
|
|
29
29
|
makeRecorder: MakeRecorder;
|
|
30
30
|
makeDurablePublishKit: ReturnType<typeof prepareDurablePublishKit>;
|
|
31
31
|
}): <T>(storageNodeP: ERef<StorageNode>, valueShape?: TypedMatcher<T> | undefined) => EventualRecorderKit<T>;
|
|
32
|
-
export function prepareRecorderKit(baggage: import("@agoric/vat-data").Baggage, marshaller: ERef<Marshaller
|
|
33
|
-
export function prepareRecorderKitMakers(baggage: import("@agoric/vat-data").Baggage, marshaller: ERef<Marshaller
|
|
32
|
+
export function prepareRecorderKit(baggage: import("@agoric/vat-data").Baggage, marshaller: ERef<Marshaller>): <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: TypedMatcher<T> | undefined) => RecorderKit<T>;
|
|
33
|
+
export function prepareRecorderKitMakers(baggage: import("@agoric/vat-data").Baggage, marshaller: ERef<Marshaller>): {
|
|
34
34
|
makeDurablePublishKit: (options?: {
|
|
35
35
|
valueDurability?: "mandatory" | undefined;
|
|
36
36
|
} | undefined) => import("@endo/exo").GuardedKit<{
|
|
@@ -44,8 +44,8 @@ export function prepareRecorderKitMakers(baggage: import("@agoric/vat-data").Bag
|
|
|
44
44
|
getUpdateSince(updateCount: any): any;
|
|
45
45
|
};
|
|
46
46
|
}>;
|
|
47
|
-
makeRecorder: (publisher: Publisher<unknown>, storageNode: import("@endo/eventual-send").DataOnly<StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<StorageNode>, StorageNode>, valueShape?: TypedMatcher<unknown> | undefined) => import("@endo/exo").Guarded<{
|
|
48
|
-
getStorageNode(): import("@endo/eventual-send").DataOnly<StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<StorageNode>, StorageNode>;
|
|
47
|
+
makeRecorder: (publisher: globalThis.Publisher<unknown>, storageNode: import("@endo/eventual-send").DataOnly<globalThis.StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<globalThis.StorageNode>, globalThis.StorageNode>, valueShape?: TypedMatcher<unknown> | undefined) => import("@endo/exo").Guarded<{
|
|
48
|
+
getStorageNode(): import("@endo/eventual-send").DataOnly<globalThis.StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<globalThis.StorageNode>, globalThis.StorageNode>;
|
|
49
49
|
/**
|
|
50
50
|
* Memoizes the remote call to the storage node
|
|
51
51
|
*
|
|
@@ -71,7 +71,7 @@ export function prepareRecorderKitMakers(baggage: import("@agoric/vat-data").Bag
|
|
|
71
71
|
makeERecorderKit: <T_1>(storageNodeP: ERef<StorageNode>, valueShape?: TypedMatcher<T_1> | undefined) => EventualRecorderKit<T_1>;
|
|
72
72
|
};
|
|
73
73
|
export function prepareMockRecorderKitMakers(): {
|
|
74
|
-
storageNode: StorageNode & {
|
|
74
|
+
storageNode: globalThis.StorageNode & {
|
|
75
75
|
countSetValueCalls: () => number;
|
|
76
76
|
};
|
|
77
77
|
makeDurablePublishKit: (options?: {
|
|
@@ -87,8 +87,8 @@ export function prepareMockRecorderKitMakers(): {
|
|
|
87
87
|
getUpdateSince(updateCount: any): any;
|
|
88
88
|
};
|
|
89
89
|
}>;
|
|
90
|
-
makeRecorder: (publisher: Publisher<unknown>, storageNode: import("@endo/eventual-send").DataOnly<StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<StorageNode>, StorageNode>, valueShape?: TypedMatcher<unknown> | undefined) => import("@endo/exo").Guarded<{
|
|
91
|
-
getStorageNode(): import("@endo/eventual-send").DataOnly<StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<StorageNode>, StorageNode>;
|
|
90
|
+
makeRecorder: (publisher: globalThis.Publisher<unknown>, storageNode: import("@endo/eventual-send").DataOnly<globalThis.StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<globalThis.StorageNode>, globalThis.StorageNode>, valueShape?: TypedMatcher<unknown> | undefined) => import("@endo/exo").Guarded<{
|
|
91
|
+
getStorageNode(): import("@endo/eventual-send").DataOnly<globalThis.StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<globalThis.StorageNode>, globalThis.StorageNode>;
|
|
92
92
|
/**
|
|
93
93
|
* Memoizes the remote call to the storage node
|
|
94
94
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recorder.d.ts","sourceRoot":"","sources":["recorder.js"],"names":[],"mappings":"AA4CO,yCAHI,OAAO,kBAAkB,EAAE,OAAO;;
|
|
1
|
+
{"version":3,"file":"recorder.d.ts","sourceRoot":"","sources":["recorder.js"],"names":[],"mappings":"AA4CO,yCAHI,OAAO,kBAAkB,EAAE,OAAO,cAClC,IAAI,CAAC,UAAU,CAAC;;IAmCrB;;;;OAIG;sBADU,OAAO,CAAC,MAAM,CAAC;IAa5B;;;;;OAKG;iBAFQ,OAAO,GACL,OAAO,CAAC,IAAI,CAAC;IAa1B;;;;;OAKG;sBAFQ,OAAO,GACL,OAAO,CAAC,IAAI,CAAC;GAkB/B;AAWM,2EAFI;IAAC,YAAY,EAAE,YAAY,CAAC;IAAC,qBAAqB,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAA;CAAC,IAOhF,CAAC,eAFf,WAAW,GAAG,OAAO,CAAC,OAAO,WAAW,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,+CAE5D,WAAW,CAAC,CAAC,CAAC,CAc5B;AAUM,4EAFI;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,AADuE,CAAC,GACrF,WAAW,CAAC,CAAC,CAAC,CAU1B;wBA3B2B,CAAC;
|
|
1
|
+
{"version":3,"file":"topics.d.ts","sourceRoot":"","sources":["topics.js"],"names":[],"mappings":";AAMA,gEAME;AAEF;;;;;;;GAOG;AAEH,iEAA0E;AAcnE,kCAFkB,CAAC,eAFf,MAAM,eACN,OAAO,eAAe,EAAE,WAAW,CACrB,CAAC,AADsB,CAAC,GAAG,OAAO,eAAe,EAAE,mBAAmB,CACtE,CAAC,AADuE,CAAC,GACrF,WAAW,CAAC,CAAC,CAAC,CAU1B;wBA3B2B,CAAC,oBAFhB;IACZ,WAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAc,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;IAC9B,WAAe,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;CAC3B;2BAMS;IACZ,CAAK,SAAS,EAAE,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;CAC3C;gCA5B4B,kBAAkB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-ambient.d.ts","sourceRoot":"","sources":["types-ambient.js"],"names":[],"mappings":";UAMc,OAAO;;;;;WACP,mBAAmB;;;;;;;;YAEnB,mBAAmB;;;;;;;;;;;;;;;kBAqBtB,GAAG,YACH,OAAO,aACP,OAAO,KACL,MAAM;;;;;;;;;;uBAcR,GAAG,YACH,OAAO,aACP,OAAO,KACL,MAAM;;;;4BAIN,MAAM,CAAC,OAAO,EAAC,OAAO,CAAC;;;;;;qEAYvB,oBAAoB;;;;;;;mCAWtB,mBAAmB,GAAG,qBAAqB,GAAG,mBAAmB,GAAG,SAAS,kBAC7E,oBAAoB;;eAKjB,MAAM,CAAC,KAAK,CAAC;iBACb,MAAM,CAAC,KAAK,CAAC;;4BAKhB,MAAM,CAAC,KAAK,CAAC,SACb,KAAK,KACH,MAAM,CAAC,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zoeHelpers.d.ts","sourceRoot":"","sources":["zoeHelpers.js"],"names":[],"mappings":"AASA,iIAAkI;AAM3H,oEAON;AAuBM,+BALI,GAAG,QACH,cAAc,UACd,mBAAmB,GACjB,CAAC,GAAC,CAAC,CAOf;AAED,mBAAmB;AACnB,mBADW,IAAI,CAkBb;AAEF,wBAAwB;AACxB,wBADW,SAAS,CAqBlB;AAiBK,uCAHI,OAAO,iBACP,OAAO,QAIgD;AAsB3D,0CAHI,OAAO,YACP,cAAc,QA+BxB;AAGM,+DAGN;AAED,6EAA8E;AAavE,mCANI,GAAG,iBACH,OAAO,WACP,mBAAmB,YACnB,qBAAqB,GACnB,OAAO,CAAC,MAAM,CAAC,CA8B3B;AAYM,sCALI,GAAG,QACH,OAAO,WACP,mBAAmB,GACjB,OAAO,CAAC,qBAAqB,CAAC,CAQ1C;AAWM,oCAJI,GAAG,wBACH,mBAAmB,8CAgB7B;AAED,0BAA0B;AAC1B,0BADW,WAAW,CAYpB;AAiDK,wBA9B4B,IAAI,kBAqBiB,MAAM,uBAxBnD,GAAG,
|
|
1
|
+
{"version":3,"file":"zoeHelpers.d.ts","sourceRoot":"","sources":["zoeHelpers.js"],"names":[],"mappings":"AASA,iIAAkI;AAM3H,oEAON;AAuBM,+BALI,GAAG,QACH,cAAc,UACd,mBAAmB,GACjB,CAAC,GAAC,CAAC,CAOf;AAED,mBAAmB;AACnB,mBADW,IAAI,CAkBb;AAEF,wBAAwB;AACxB,wBADW,SAAS,CAqBlB;AAiBK,uCAHI,OAAO,iBACP,OAAO,QAIgD;AAsB3D,0CAHI,OAAO,YACP,cAAc,QA+BxB;AAGM,+DAGN;AAED,6EAA8E;AAavE,mCANI,GAAG,iBACH,OAAO,WACP,mBAAmB,YACnB,qBAAqB,GACnB,OAAO,CAAC,MAAM,CAAC,CA8B3B;AAYM,sCALI,GAAG,QACH,OAAO,WACP,mBAAmB,GACjB,OAAO,CAAC,qBAAqB,CAAC,CAQ1C;AAWM,oCAJI,GAAG,wBACH,mBAAmB,8CAgB7B;AAED,0BAA0B;AAC1B,0BADW,WAAW,CAYpB;AAiDK,wBA9B4B,IAAI,kBAqBiB,MAAM,uBAxBnD,GAAG,cAGH,IAAI,CAAC,UAAU,CAqB8B,MAAM,AArB7B,EAAE,IAAI,CAAC,CAAC,kBAG9B,oBAAoB,GAAG,SAAS,YAKhC,QAAQ,YAGR,OAAO,+DAUL,OAAO,CAAC;IAAC,eAAe,EAAE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;IAAC,SAAS,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAA;CAAC,CAAC,CA+D1G;;iBAzVa,MAAM,cAAc;0BACpB,MAAM,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payoffHandler.d.ts","sourceRoot":"","sources":["payoffHandler.js"],"names":[],"mappings":"AAaA;;;;;;;;GAQG;AACH,uCALW,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"payoffHandler.d.ts","sourceRoot":"","sources":["payoffHandler.js"],"names":[],"mappings":"AAaA;;;;;;;;GAQG;AACH,uCALW,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,mBACxB,MAAM,CAAC,YAAY,EAAC,aAAa,CAAC,OAAO,CAAC,CAAC,kBAC3C,OAAO,GACL,aAAa,CAgEzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.js"],"names":[],"mappings":";;;;;;;sBACa,QAAQ,CAAC,OAAO,cAAc,EAAE,eAAe,CAAC;;;;;;;wBAUhD,QAAQ;;;;;;SAUP,KAAK;sBAGL,gBAAgB;;;;;oBAEhB,cAAc;oBAKd,cAAc;;;;;kBAEd,KAAK;oBAIL,OAAO,cAAc,EAAE,YAAY;eAEnC,KAAK;qBACL,KAAK;;;;;;gBAKL,OAAO;;;;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BAElB,MAAM,CAAC,UAAU,CAAC;oBAClB,cAAc;oBACd,cAAc;kBACd,MAAM;oBACN,OAAO,cAAc,EAAE,YAAY;gBACnC,OAAO;;;;;;;6BAMP,MAAM,OAAO,CAAC,UAAU,CAAC;;;;iCAKzB,MAAM,OAAO,CAAC,UAAU,CAAC;;;;;;;2BAIzB,MAAM,OAAO,CAAC,UAAU,CAAC;;;;iCAOzB,MAAM,OAAO,cAAc,EAAE,SAAS;;;;;qBAItC,MAAM,QAAQ,CAAC,MAAM,CAAC;;;;+BAKtB,MAAM,MAAM"}
|
|
@@ -32,7 +32,7 @@ export function start(zcf: ZCF<{
|
|
|
32
32
|
unitAmountIn: Amount<"nat">;
|
|
33
33
|
}>, privateArgs: {
|
|
34
34
|
marshaller: Marshaller;
|
|
35
|
-
quoteMint?: ERef<
|
|
35
|
+
quoteMint?: ERef<Mint<"set">>;
|
|
36
36
|
storageNode: ERef<StorageNode>;
|
|
37
37
|
}): Promise<{
|
|
38
38
|
creatorFacet: {
|
|
@@ -52,7 +52,7 @@ export function start(zcf: ZCF<{
|
|
|
52
52
|
PushPrice: (price: ParsableNumber) => Promise<Invitation<void>>;
|
|
53
53
|
};
|
|
54
54
|
}, {
|
|
55
|
-
notifier?: Notifier<OraclePriceSubmission> | undefined;
|
|
55
|
+
notifier?: globalThis.Notifier<OraclePriceSubmission> | undefined;
|
|
56
56
|
scaleValueOut?: number | undefined;
|
|
57
57
|
} | undefined>>;
|
|
58
58
|
/** @param {OracleKey} oracleKey */
|
|
@@ -80,7 +80,7 @@ export function start(zcf: ZCF<{
|
|
|
80
80
|
PushPrice: (price: ParsableNumber) => Promise<Invitation<void>>;
|
|
81
81
|
};
|
|
82
82
|
}, {
|
|
83
|
-
notifier?: Notifier<OraclePriceSubmission> | undefined;
|
|
83
|
+
notifier?: globalThis.Notifier<OraclePriceSubmission> | undefined;
|
|
84
84
|
scaleValueOut?: number | undefined;
|
|
85
85
|
} | undefined>>;
|
|
86
86
|
/** @param {OracleKey} oracleKey */
|
|
@@ -94,14 +94,14 @@ export function start(zcf: ZCF<{
|
|
|
94
94
|
}>;
|
|
95
95
|
publicFacet: {
|
|
96
96
|
getPriceAuthority(): PriceAuthority;
|
|
97
|
-
getSubscriber: () => StoredSubscriber<unknown>;
|
|
97
|
+
getSubscriber: () => globalThis.StoredSubscriber<unknown>;
|
|
98
98
|
/** Diagnostic tool */
|
|
99
|
-
getRoundCompleteNotifier(): Promise<Notifier<any>>;
|
|
99
|
+
getRoundCompleteNotifier(): Promise<globalThis.Notifier<any>>;
|
|
100
100
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
101
101
|
getPriceAuthority(): PriceAuthority;
|
|
102
|
-
getSubscriber: () => StoredSubscriber<unknown>;
|
|
102
|
+
getSubscriber: () => globalThis.StoredSubscriber<unknown>;
|
|
103
103
|
/** Diagnostic tool */
|
|
104
|
-
getRoundCompleteNotifier(): Promise<Notifier<any>>;
|
|
104
|
+
getRoundCompleteNotifier(): Promise<globalThis.Notifier<any>>;
|
|
105
105
|
}>;
|
|
106
106
|
}>;
|
|
107
107
|
//# sourceMappingURL=priceAggregator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"priceAggregator.d.ts","sourceRoot":"","sources":["priceAggregator.js"],"names":[],"mappings":"6BAoCc,MAAM,GAAG,MAAM,GAAG,MAAM;oCAEzB,QAAQ,CAAC,cAAc,GAAG;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,CAAC;oBAGlD,cAAc,GAAG,KAAK;sCAmlBtB,UAAU,CAAC,OAAO,KAAK,CAAC;AA9kBtC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,2BAbW,GAAG,CAAC;IACd,KAAO,EAAE,OAAO,cAAc,EAAE,YAAY,CAAC;IAC7C,aAAe,EAAE,MAAM,CAAC;IACxB,OAAS,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACxB,QAAU,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACz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CAAmC;kCAAvB,SAAS;QAarB;;;;WAIG;yGADU,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;;;;;QAmHxC,sBAAsB;;;;;QAAtB,sBAAsB;;;GAOzB"}
|
|
@@ -21,13 +21,13 @@ type OraclePublicFacet = {
|
|
|
21
21
|
/**
|
|
22
22
|
* Create an invitation for an oracle query
|
|
23
23
|
*/
|
|
24
|
-
makeQueryInvitation: (query: OracleQuery) => ERef<Invitation
|
|
24
|
+
makeQueryInvitation: (query: OracleQuery) => ERef<Invitation>;
|
|
25
25
|
/**
|
|
26
26
|
* Make an unpaid query
|
|
27
27
|
*/
|
|
28
|
-
query: (query: OracleQuery) => unknown
|
|
28
|
+
query: (query: OracleQuery) => ERef<unknown>;
|
|
29
29
|
};
|
|
30
|
-
type OracleCreatorFacetMakeWithdrawInvitation = (total?: boolean | undefined) => ERef<Invitation
|
|
30
|
+
type OracleCreatorFacetMakeWithdrawInvitation = (total?: boolean | undefined) => ERef<Invitation>;
|
|
31
31
|
/**
|
|
32
32
|
* The private methods accessible from the contract instance
|
|
33
33
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"priceAggregatorTypes.d.ts","sourceRoot":"","sources":["priceAggregatorTypes.js"],"names":[],"mappings":"iBAKuB,CAAC;;;;YAFV,MAAM,OAAO,CAAC,IAAI,CAAC;;;;gBAEnB,CAAC,MAAM,EAAE,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC;;iBAK7B,EAAE,GAAG,MAAM;0BAIX,IAAI,CAAC,OAAO,mBAAmB,EAAE,uBAAuB,EAAE,cAAc,GAAG,aAAa,CAAC;mBAIzF,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IACtC,IAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAW,CAAC,EAAE,MAAM,CAAC;CAClB;;;;;;;;
|
|
1
|
+
{"version":3,"file":"priceAggregatorTypes.d.ts","sourceRoot":"","sources":["priceAggregatorTypes.js"],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GAyD5C
|
|
1
|
+
{"version":3,"file":"scaledPriceAuthority.d.ts","sourceRoot":"","sources":["scaledPriceAuthority.js"],"names":[],"mappings":"AAiCO,6BALI,GAAG,CAAC,wBAAwB,CAAC,eAC7B,MAAM,WACN,OAAO,kBAAkB,EAAE,OAAO;;;;GAyD5C;;0BA1Ea,IAAI,CAAC,cAAc,CAAC;;;;aACpB,KAAK;;;;cACL,KAAK"}
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
export function start(zcf: ZCF): {
|
|
23
23
|
publicFacet: {
|
|
24
24
|
makeInvitation: () => Promise<Invitation<unknown, never>>;
|
|
25
|
-
getNotifier: () => Notifier<{
|
|
25
|
+
getNotifier: () => globalThis.Notifier<{
|
|
26
26
|
buys: any;
|
|
27
27
|
sells: any;
|
|
28
28
|
}>;
|
|
29
29
|
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
30
30
|
makeInvitation: () => Promise<Invitation<unknown, never>>;
|
|
31
|
-
getNotifier: () => Notifier<{
|
|
31
|
+
getNotifier: () => globalThis.Notifier<{
|
|
32
32
|
buys: any;
|
|
33
33
|
sells: any;
|
|
34
34
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handleWarning.d.ts","sourceRoot":"","sources":["handleWarning.js"],"names":[],"mappings":"AASO,wCAHI,OAAO,CAAC,GAAG,CAAC,GACV,IAAI,CAIhB;AASM,
|
|
1
|
+
{"version":3,"file":"handleWarning.d.ts","sourceRoot":"","sources":["handleWarning.js"],"names":[],"mappings":"AASO,wCAHI,OAAO,CAAC,GAAG,CAAC,GACV,IAAI,CAIhB;AASM,8CAHI,aAAa,CAAC,GAAG,CAAC,GAChB,IAAI,CAIhB"}
|
package/src/internal-types.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ type ZoeSeatAdminKit = {
|
|
|
22
22
|
/**
|
|
23
23
|
* Make the Zoe seat admin, user seat and a notifier
|
|
24
24
|
*/
|
|
25
|
-
type MakeZoeSeatAdminKit = (initialAllocation: Allocation, instanceAdminHelper: InstanceAdminHelper, proposal: ProposalRecord, withdrawFacet: WithdrawFacet, exitObj: ERef<ExitObj>, offerResult?: unknown
|
|
25
|
+
type MakeZoeSeatAdminKit = (initialAllocation: Allocation, instanceAdminHelper: InstanceAdminHelper, proposal: ProposalRecord, withdrawFacet: WithdrawFacet, exitObj: ERef<ExitObj>, offerResult?: ERef<unknown>, baggage: import("@agoric/vat-data").Baggage) => ZoeSeatAdminKit;
|
|
26
26
|
type ZoeSeatAdminExit = (completion?: Completion) => void;
|
|
27
27
|
type ZoeSeatAdmin = {
|
|
28
28
|
replaceAllocation: (allocation: Allocation) => void;
|
|
@@ -72,7 +72,7 @@ type HandleOfferObj = {
|
|
|
72
72
|
type ZoeInstanceAdminMakeInvitation = (invitationHandle: InvitationHandle, description: string, customDetails?: Record<string, any> | undefined, proposalShape?: Pattern) => Invitation;
|
|
73
73
|
type ZoeInstanceAdmin = {
|
|
74
74
|
makeInvitation: ZoeInstanceAdminMakeInvitation;
|
|
75
|
-
saveIssuer: (issuerP: ERef<
|
|
75
|
+
saveIssuer: (issuerP: ERef<Issuer>, keyword: Keyword) => Promise<IssuerRecord>;
|
|
76
76
|
makeZoeMint: MakeZoeMint;
|
|
77
77
|
registerFeeMint: RegisterFeeMint;
|
|
78
78
|
makeNoEscrowSeat: MakeNoEscrowSeat;
|
|
@@ -148,32 +148,18 @@ type ZcfSeatManager = {
|
|
|
148
148
|
type ZcfMintReallocator = {
|
|
149
149
|
reallocate: (zcfSeat: ZCFSeat, newAllocation: Allocation) => void;
|
|
150
150
|
};
|
|
151
|
-
/**
|
|
152
|
-
* The SeatManager holds the active zcfSeats and can reallocate and
|
|
153
|
-
* make new zcfSeats.
|
|
154
|
-
*/
|
|
155
|
-
type CreateSeatManager = (zoeInstanceAdmin: ERef<ZoeInstanceAdmin>, getAssetKindByBrand: GetAssetKindByBrand, shutdownWithFailure: import("@agoric/swingset-vat").ShutdownWithFailure, zcfBaggage: import("@agoric/vat-data").Baggage) => {
|
|
156
|
-
seatManager: ZcfSeatManager;
|
|
157
|
-
zcfMintReallocator: ZcfMintReallocator;
|
|
158
|
-
};
|
|
159
151
|
/**
|
|
160
152
|
* Add an issuer and its keyword to the instanceRecord for the
|
|
161
153
|
* contract instance
|
|
162
154
|
*/
|
|
163
155
|
type InstanceStateAddIssuer = (keyword: Keyword, issuerRecord: IssuerRecord) => void;
|
|
164
|
-
type InstanceStateGetTerms = () => AnyTerms;
|
|
165
|
-
type InstanceStateGetInstallation = () => Installation;
|
|
166
|
-
type InstanceRecordGetIssuers = () => IssuerKeywordRecord;
|
|
167
|
-
type InstanceRecordGetBrands = () => BrandKeywordRecord;
|
|
168
156
|
type InstanceState = {
|
|
169
157
|
addIssuer: InstanceStateAddIssuer;
|
|
170
|
-
getInstanceRecord:
|
|
171
|
-
getTerms:
|
|
172
|
-
getInstallation:
|
|
173
|
-
getIssuers:
|
|
174
|
-
getBrands:
|
|
158
|
+
getInstanceRecord: () => InstanceRecord;
|
|
159
|
+
getTerms: () => AnyTerms;
|
|
160
|
+
getInstallation: () => Installation;
|
|
161
|
+
getIssuers: () => IssuerKeywordRecord;
|
|
162
|
+
getBrands: () => BrandKeywordRecord;
|
|
175
163
|
assertUniqueKeyword: (keyword: Keyword) => void;
|
|
176
164
|
};
|
|
177
|
-
type GetInstanceRecord = () => InstanceRecord;
|
|
178
|
-
type IssuerStorageGetIssuerRecords = (issuers: Issuer[]) => IssuerRecords;
|
|
179
165
|
//# sourceMappingURL=internal-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal-types.d.ts","sourceRoot":"","sources":["internal-types.js"],"names":[],"mappings":";cAIc,cAAc;uBACd,UAAU;gBACV,UAAU;gBACV,MAAM;;;;;qCAOT,UAAU,KACR,qBAAqB;;sBAKpB,CAAC,UAAU,EAAC,UAAU,KAAK,qBAAqB;;;sBAKhD,CAAC,YAAY,EAAE,YAAY,KAAK,IAAI;eACpC,CAAC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C,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC,KAAK,IAAI;;;cAShC,QAAQ;qBACR,eAAe;;;kBAKf,MAAM;;iBAEN,MAAM;oBACN,cAAc;;mCAKjB,IAAI,CAAC,gBAAgB,CAAC,yBACtB,cAAc,wBACd,aAAa,gBACb,MAAM,KACJ,OAAO,CAAC,qBAAqB,CAAC;sCAKhC,MAAM,KACJ,OAAO,kCAAkC;8BAK3C,cAAc,gBACd,OAAO,KACL,OAAO;;UAKN,MAAM,IAAI;;kBAIX,MAAM,CAAC,MAAM,CAAC;;;;;;mCAShB,KAAK,KACH,SAAS;qBAIT,KAAK,CAAC,YAAY,CAAC;8BAKrB,QAAQ,KACN,OAAO;;;;;+BAQP,IAAI;;iBAKH,WAAW;gBACX,UAAU;uBACV,iBAAiB;;;gBAKjB,CAAC,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,UAAU,KAAK,IAAI;;;;;;wCASxD,OAAO,gBACP,YAAY,KACV,IAAI;;eAKH,sBAAsB;uBACtB,MAAM,cAAc;cACpB,MAAM,QAAQ;qBACd,MAAM,YAAY;gBAClB,MAAM,mBAAmB;eACzB,MAAM,kBAAkB;yBACxB,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI"}
|
package/src/internal-types.js
CHANGED
|
@@ -281,19 +281,6 @@
|
|
|
281
281
|
* @property {(zcfSeat: ZCFSeat, newAllocation: Allocation) => void} reallocate
|
|
282
282
|
*/
|
|
283
283
|
|
|
284
|
-
/**
|
|
285
|
-
* @callback CreateSeatManager
|
|
286
|
-
*
|
|
287
|
-
* The SeatManager holds the active zcfSeats and can reallocate and
|
|
288
|
-
* make new zcfSeats.
|
|
289
|
-
*
|
|
290
|
-
* @param {ERef<ZoeInstanceAdmin>} zoeInstanceAdmin
|
|
291
|
-
* @param {GetAssetKindByBrand} getAssetKindByBrand
|
|
292
|
-
* @param {import('@agoric/swingset-vat').ShutdownWithFailure} shutdownWithFailure
|
|
293
|
-
* @param {import('@agoric/vat-data').Baggage} zcfBaggage
|
|
294
|
-
* @returns {{ seatManager: ZcfSeatManager, zcfMintReallocator: ZcfMintReallocator }}
|
|
295
|
-
*/
|
|
296
|
-
|
|
297
284
|
/**
|
|
298
285
|
* @callback InstanceStateAddIssuer
|
|
299
286
|
*
|
|
@@ -305,44 +292,13 @@
|
|
|
305
292
|
* @returns {void}
|
|
306
293
|
*/
|
|
307
294
|
|
|
308
|
-
/**
|
|
309
|
-
* @callback InstanceStateGetTerms
|
|
310
|
-
* @returns {AnyTerms}
|
|
311
|
-
*/
|
|
312
|
-
|
|
313
|
-
/**
|
|
314
|
-
* @callback InstanceStateGetInstallation
|
|
315
|
-
* @returns {Installation}
|
|
316
|
-
*/
|
|
317
|
-
|
|
318
|
-
/**
|
|
319
|
-
* @callback InstanceRecordGetIssuers
|
|
320
|
-
* @returns {IssuerKeywordRecord}
|
|
321
|
-
*/
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* @callback InstanceRecordGetBrands
|
|
325
|
-
* @returns {BrandKeywordRecord}
|
|
326
|
-
*/
|
|
327
|
-
|
|
328
295
|
/**
|
|
329
296
|
* @typedef {object} InstanceState
|
|
330
297
|
* @property {InstanceStateAddIssuer} addIssuer
|
|
331
|
-
* @property {
|
|
332
|
-
* @property {
|
|
333
|
-
* @property {
|
|
334
|
-
* @property {
|
|
335
|
-
* @property {
|
|
298
|
+
* @property {() => InstanceRecord} getInstanceRecord
|
|
299
|
+
* @property {() => AnyTerms} getTerms
|
|
300
|
+
* @property {() => Installation} getInstallation
|
|
301
|
+
* @property {() => IssuerKeywordRecord} getIssuers
|
|
302
|
+
* @property {() => BrandKeywordRecord} getBrands
|
|
336
303
|
* @property {(keyword: Keyword) => void} assertUniqueKeyword
|
|
337
304
|
*/
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* @callback GetInstanceRecord
|
|
341
|
-
* @returns {InstanceRecord}
|
|
342
|
-
*/
|
|
343
|
-
|
|
344
|
-
/**
|
|
345
|
-
* @callback IssuerStorageGetIssuerRecords
|
|
346
|
-
* @param {Issuer[]} issuers
|
|
347
|
-
* @returns {IssuerRecords}
|
|
348
|
-
*/
|