@agoric/zoe 0.28.0-u23.0 → 0.28.0-u23.1
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 +10 -10
- package/source-spec-registry.d.ts +25 -0
- package/source-spec-registry.d.ts.map +1 -0
- package/src/cleanProposal.d.ts +13 -0
- package/src/cleanProposal.d.ts.map +1 -0
- package/src/contractFacet/allocationMath.d.ts +11 -0
- package/src/contractFacet/allocationMath.d.ts.map +1 -0
- package/src/contractFacet/evalContractCode.d.ts +2 -0
- package/src/contractFacet/evalContractCode.d.ts.map +1 -0
- package/src/contractFacet/exit.d.ts +2 -0
- package/src/contractFacet/exit.d.ts.map +1 -0
- package/src/contractFacet/offerHandlerStorage.d.ts +14 -0
- package/src/contractFacet/offerHandlerStorage.d.ts.map +1 -0
- package/src/contractFacet/offerSafety.d.ts +36 -0
- package/src/contractFacet/offerSafety.d.ts.map +1 -0
- package/src/contractFacet/reallocate.d.ts +6 -0
- package/src/contractFacet/reallocate.d.ts.map +1 -0
- package/src/contractFacet/rightsConservation.d.ts +13 -0
- package/src/contractFacet/rightsConservation.d.ts.map +1 -0
- package/src/contractFacet/typeGuards.d.ts +8 -0
- package/src/contractFacet/typeGuards.d.ts.map +1 -0
- package/src/contractFacet/types.d.ts +182 -0
- package/src/contractFacet/types.d.ts.map +1 -0
- package/src/contractFacet/vatRoot.d.ts +30 -0
- package/src/contractFacet/vatRoot.d.ts.map +1 -0
- package/src/contractFacet/zcfMint.d.ts +18 -0
- package/src/contractFacet/zcfMint.d.ts.map +1 -0
- package/src/contractFacet/zcfSeat.d.ts +12 -0
- package/src/contractFacet/zcfSeat.d.ts.map +1 -0
- package/src/contractFacet/zcfZygote.d.ts +19 -0
- package/src/contractFacet/zcfZygote.d.ts.map +1 -0
- package/src/contractSupport/atomicTransfer.d.ts +13 -0
- package/src/contractSupport/atomicTransfer.d.ts.map +1 -0
- package/src/contractSupport/bondingCurves.d.ts +7 -0
- package/src/contractSupport/bondingCurves.d.ts.map +1 -0
- package/src/contractSupport/durability.d.ts +10 -0
- package/src/contractSupport/durability.d.ts.map +1 -0
- package/src/contractSupport/index.d.ts +14 -0
- package/src/contractSupport/index.d.ts.map +1 -0
- package/src/contractSupport/prepare-ownable.d.ts +14 -0
- package/src/contractSupport/prepare-ownable.d.ts.map +1 -0
- package/src/contractSupport/priceAuthority.d.ts +36 -0
- package/src/contractSupport/priceAuthority.d.ts.map +1 -0
- package/src/contractSupport/priceAuthorityInitial.d.ts +8 -0
- package/src/contractSupport/priceAuthorityInitial.d.ts.map +1 -0
- package/src/contractSupport/priceAuthorityQuoteMint.d.ts +6 -0
- package/src/contractSupport/priceAuthorityQuoteMint.d.ts.map +1 -0
- package/src/contractSupport/priceAuthorityTransform.d.ts +23 -0
- package/src/contractSupport/priceAuthorityTransform.d.ts.map +1 -0
- package/src/contractSupport/priceQuote.d.ts +13 -0
- package/src/contractSupport/priceQuote.d.ts.map +1 -0
- package/src/contractSupport/recorder.d.ts +91 -0
- package/src/contractSupport/recorder.d.ts.map +1 -0
- package/src/contractSupport/stateMachine.d.ts +6 -0
- package/src/contractSupport/stateMachine.d.ts.map +1 -0
- package/src/contractSupport/statistics.d.ts +7 -0
- package/src/contractSupport/statistics.d.ts.map +1 -0
- package/src/contractSupport/testJigHelpers.d.ts +7 -0
- package/src/contractSupport/testJigHelpers.d.ts.map +1 -0
- package/src/contractSupport/topics.d.ts +52 -0
- package/src/contractSupport/topics.d.ts.map +1 -0
- package/src/contractSupport/types.d.ts +70 -0
- package/src/contractSupport/types.d.ts.map +1 -0
- package/src/contractSupport/zoeHelpers.d.ts +53 -0
- package/src/contractSupport/zoeHelpers.d.ts.map +1 -0
- package/src/contracts/atomicSwap.d.ts +20 -0
- package/src/contracts/atomicSwap.d.ts.map +1 -0
- package/src/contracts/auction/assertBidSeat.d.ts +2 -0
- package/src/contracts/auction/assertBidSeat.d.ts.map +1 -0
- package/src/contracts/auction/firstPriceLogic.d.ts +4 -0
- package/src/contracts/auction/firstPriceLogic.d.ts.map +1 -0
- package/src/contracts/auction/index.d.ts +84 -0
- package/src/contracts/auction/index.d.ts.map +1 -0
- package/src/contracts/auction/secondPriceLogic.d.ts +4 -0
- package/src/contracts/auction/secondPriceLogic.d.ts.map +1 -0
- package/src/contracts/automaticRefund.d.ts +29 -0
- package/src/contracts/automaticRefund.d.ts.map +1 -0
- package/src/contracts/autoswap.d.ts +51 -0
- package/src/contracts/autoswap.d.ts.map +1 -0
- package/src/contracts/barterExchange.d.ts +26 -0
- package/src/contracts/barterExchange.d.ts.map +1 -0
- package/src/contracts/callSpread/calculateShares.d.ts +2 -0
- package/src/contracts/callSpread/calculateShares.d.ts.map +1 -0
- package/src/contracts/callSpread/fundedCallSpread.d.ts +71 -0
- package/src/contracts/callSpread/fundedCallSpread.d.ts.map +1 -0
- package/src/contracts/callSpread/payoffHandler.d.ts +23 -0
- package/src/contracts/callSpread/payoffHandler.d.ts.map +1 -0
- package/src/contracts/callSpread/percent.d.ts +3 -0
- package/src/contracts/callSpread/percent.d.ts.map +1 -0
- package/src/contracts/callSpread/position.d.ts +10 -0
- package/src/contracts/callSpread/position.d.ts.map +1 -0
- package/src/contracts/callSpread/pricedCallSpread.d.ts +69 -0
- package/src/contracts/callSpread/pricedCallSpread.d.ts.map +1 -0
- package/src/contracts/callSpread/types.d.ts +34 -0
- package/src/contracts/callSpread/types.d.ts.map +1 -0
- package/src/contracts/coveredCall-durable.d.ts +23 -0
- package/src/contracts/coveredCall-durable.d.ts.map +1 -0
- package/src/contracts/coveredCall.d.ts +68 -0
- package/src/contracts/coveredCall.d.ts.map +1 -0
- package/src/contracts/loan/addCollateral.d.ts +8 -0
- package/src/contracts/loan/addCollateral.d.ts.map +1 -0
- package/src/contracts/loan/borrow.d.ts +12 -0
- package/src/contracts/loan/borrow.d.ts.map +1 -0
- package/src/contracts/loan/close.d.ts +8 -0
- package/src/contracts/loan/close.d.ts.map +1 -0
- package/src/contracts/loan/index.d.ts +75 -0
- package/src/contracts/loan/index.d.ts.map +1 -0
- package/src/contracts/loan/lend.d.ts +8 -0
- package/src/contracts/loan/lend.d.ts.map +1 -0
- package/src/contracts/loan/liquidate.d.ts +5 -0
- package/src/contracts/loan/liquidate.d.ts.map +1 -0
- package/src/contracts/loan/scheduleLiquidation.d.ts +7 -0
- package/src/contracts/loan/scheduleLiquidation.d.ts.map +1 -0
- package/src/contracts/loan/types.d.ts +176 -0
- package/src/contracts/loan/types.d.ts.map +1 -0
- package/src/contracts/loan/updateDebt.d.ts +17 -0
- package/src/contracts/loan/updateDebt.d.ts.map +1 -0
- package/src/contracts/mintAndSellNFT.d.ts +35 -0
- package/src/contracts/mintAndSellNFT.d.ts.map +1 -0
- package/src/contracts/mintPayments.d.ts +34 -0
- package/src/contracts/mintPayments.d.ts.map +1 -0
- package/src/contracts/oracle.d.ts +38 -0
- package/src/contracts/oracle.d.ts.map +1 -0
- package/src/contracts/otcDesk.d.ts +90 -0
- package/src/contracts/otcDesk.d.ts.map +1 -0
- package/src/contracts/priceAggregator.d.ts +125 -0
- package/src/contracts/priceAggregator.d.ts.map +1 -0
- package/src/contracts/priceAggregatorTypes.d.ts +83 -0
- package/src/contracts/priceAggregatorTypes.d.ts.map +1 -0
- package/src/contracts/scaledPriceAuthority.d.ts +26 -0
- package/src/contracts/scaledPriceAuthority.d.ts.map +1 -0
- package/src/contracts/sellItems.d.ts +40 -0
- package/src/contracts/sellItems.d.ts.map +1 -0
- package/src/contracts/simpleExchange.d.ts +42 -0
- package/src/contracts/simpleExchange.d.ts.map +1 -0
- package/src/contracts/types.d.ts +87 -0
- package/src/contracts/types.d.ts.map +1 -0
- package/src/contracts/valueVow.contract.d.ts +20 -0
- package/src/contracts/valueVow.contract.d.ts.map +1 -0
- package/src/handleWarning.d.ts +4 -0
- package/src/handleWarning.d.ts.map +1 -0
- package/src/instanceRecordStorage.d.ts +5 -0
- package/src/instanceRecordStorage.d.ts.map +1 -0
- package/src/internal-types.d.ts +196 -0
- package/src/internal-types.d.ts.map +1 -0
- package/src/issuerRecord.d.ts +9 -0
- package/src/issuerRecord.d.ts.map +1 -0
- package/src/issuerStorage.d.ts +24 -0
- package/src/issuerStorage.d.ts.map +1 -0
- package/src/makeHandle.d.ts +6 -0
- package/src/makeHandle.d.ts.map +1 -0
- package/src/typeGuards.d.ts +185 -0
- package/src/typeGuards.d.ts.map +1 -0
- package/src/types.d.ts +29 -0
- package/src/types.d.ts.map +1 -0
- package/src/zoeService/createZCFVat.d.ts +2 -0
- package/src/zoeService/createZCFVat.d.ts.map +1 -0
- package/src/zoeService/escrowStorage.d.ts +12 -0
- package/src/zoeService/escrowStorage.d.ts.map +1 -0
- package/src/zoeService/feeMint.d.ts +27 -0
- package/src/zoeService/feeMint.d.ts.map +1 -0
- package/src/zoeService/installationStorage.d.ts +21 -0
- package/src/zoeService/installationStorage.d.ts.map +1 -0
- package/src/zoeService/instanceAdminStorage.d.ts +107 -0
- package/src/zoeService/instanceAdminStorage.d.ts.map +1 -0
- package/src/zoeService/internal-types.d.ts +125 -0
- package/src/zoeService/internal-types.d.ts.map +1 -0
- package/src/zoeService/invitationQueries.d.ts +9 -0
- package/src/zoeService/invitationQueries.d.ts.map +1 -0
- package/src/zoeService/makeInvitation.d.ts +9 -0
- package/src/zoeService/makeInvitation.d.ts.map +1 -0
- package/src/zoeService/offer/burnInvitation.d.ts +11 -0
- package/src/zoeService/offer/burnInvitation.d.ts.map +1 -0
- package/src/zoeService/offer/offer.d.ts +3 -0
- package/src/zoeService/offer/offer.d.ts.map +1 -0
- package/src/zoeService/originalZoeSeat.d.ts +36 -0
- package/src/zoeService/originalZoeSeat.d.ts.map +1 -0
- package/src/zoeService/startInstance.d.ts +7 -0
- package/src/zoeService/startInstance.d.ts.map +1 -0
- package/src/zoeService/types.d.ts +238 -0
- package/src/zoeService/types.d.ts.map +1 -0
- package/src/zoeService/zoe.d.ts +70 -0
- package/src/zoeService/zoe.d.ts.map +1 -0
- package/src/zoeService/zoeSeat.d.ts +31 -0
- package/src/zoeService/zoeSeat.d.ts.map +1 -0
- package/src/zoeService/zoeStorageManager.d.ts +47 -0
- package/src/zoeService/zoeStorageManager.d.ts.map +1 -0
- package/tools/fakePriceAuthority.d.ts +37 -0
- package/tools/fakePriceAuthority.d.ts.map +1 -0
- package/tools/fakeVatAdmin.d.ts +118 -0
- package/tools/fakeVatAdmin.d.ts.map +1 -0
- package/tools/manualPriceAuthority.d.ts +33 -0
- package/tools/manualPriceAuthority.d.ts.map +1 -0
- package/tools/manualTimer.d.ts +23 -0
- package/tools/manualTimer.d.ts.map +1 -0
- package/tools/prepare-test-env-ava.d.ts +2 -0
- package/tools/prepare-test-env-ava.d.ts.map +1 -0
- package/tools/prepare-test-env.d.ts +2 -0
- package/tools/prepare-test-env.d.ts.map +1 -0
- package/tools/scriptedOracle.d.ts +39 -0
- package/tools/scriptedOracle.d.ts.map +1 -0
- package/tools/scriptedPriceAuthority.d.ts +37 -0
- package/tools/scriptedPriceAuthority.d.ts.map +1 -0
- package/tools/setup-zoe.d.ts +43 -0
- package/tools/setup-zoe.d.ts.map +1 -0
- package/tools/test-utils.d.ts +24 -0
- package/tools/test-utils.d.ts.map +1 -0
- package/tools/types.d.ts +152 -0
- package/tools/types.d.ts.map +1 -0
- package/bundles/bundle-contractFacet-js-meta.json +0 -1075
- package/bundles/bundle-contractFacet.d.ts +0 -7
- package/bundles/bundle-contractFacet.d.ts.map +0 -1
- package/bundles/bundle-contractFacet.js +0 -1
- package/bundles/bundle-valueVow.contract-esbuild.js +0 -1
- package/bundles/bundle-valueVow.contract-js-meta.json +0 -560
- package/bundles/bundle-valueVow.contract.js +0 -1
- package/bundles/esbuild-bundle-20251113T203237.423Z.js +0 -1
- package/bundles/esbuild-bundle-20251113T203238.037Z.js +0 -1
- package/bundles/esbuild-bundle-20251113T203238.695Z.js +0 -1
- package/bundles/esbuild-bundle-20251113T203327.010Z.js +0 -1
- package/bundles/esbuild-bundle-20251113T203330.583Z.js +0 -1
- package/bundles/esbuild-bundle-20251113T232226.026Z.js +0 -1
- package/bundles/esbuild-bundle-20251113T232229.459Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162409.358Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162409.367Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162417.875Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162419.685Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162420.279Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162421.865Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162422.353Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162423.173Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162427.670Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162429.725Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162429.727Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162430.603Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162431.414Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162433.433Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162435.370Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162437.257Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162438.372Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162438.596Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162439.399Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162439.647Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162441.758Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162441.816Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162442.916Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162443.223Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162443.627Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162444.919Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162445.277Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162446.456Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162446.985Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162447.123Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162448.243Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162448.612Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162448.908Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162449.945Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162450.616Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162451.429Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162451.929Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162452.191Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162452.687Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162453.614Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162454.028Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162454.171Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162455.073Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162455.907Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162500.300Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162501.073Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162502.359Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162502.366Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162503.345Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162503.433Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162504.445Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162505.137Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162505.167Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162505.419Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162515.878Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162516.428Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162518.796Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162521.136Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162521.391Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162522.786Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162523.313Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162524.174Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162526.066Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162527.972Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162533.153Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162537.633Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162603.943Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162604.799Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162605.605Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162606.399Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162607.115Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162607.943Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162608.705Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162609.486Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162610.269Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162611.045Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162611.814Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162612.650Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162613.429Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162614.233Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162640.495Z.js +0 -1
- package/bundles/esbuild-bundle-20251114T162950.705Z.js +0 -1
- package/bundles/zcf.b64 +0 -1
- package/bundles/zcf.zip +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export function buildZoeManualTimer(log?: (...args: any[]) => void, startValue?: Timestamp | bigint, options?: ZoeManualTimerOptions): ZoeManualTimer;
|
|
2
|
+
export default buildZoeManualTimer;
|
|
3
|
+
export type ZoeManualTimerOptions = {
|
|
4
|
+
timeStep?: RelativeTime | bigint;
|
|
5
|
+
eventLoopIteration?: () => Promise<void>;
|
|
6
|
+
};
|
|
7
|
+
export type ManualTimerAdmin = {
|
|
8
|
+
/**
|
|
9
|
+
* Advance the timer by one tick.
|
|
10
|
+
* DEPRECATED: use `await tickN(1)` instead. `tick` function errors might be
|
|
11
|
+
* thrown synchronously, even though success is signaled by returning anything
|
|
12
|
+
* other than a rejected promise.
|
|
13
|
+
*/
|
|
14
|
+
tick: (msg?: string) => void | Promise<void>;
|
|
15
|
+
tickN: (nTimes: number, msg?: string) => Promise<void>;
|
|
16
|
+
};
|
|
17
|
+
export type ZoeManualTimer = ReturnType<typeof buildManualTimer> & RemotableBrand<ManualTimerAdmin, TimerServiceCommon & ManualTimerAdmin> & ManualTimerAdmin;
|
|
18
|
+
import type { Timestamp } from '@agoric/time';
|
|
19
|
+
import type { RelativeTime } from '@agoric/time';
|
|
20
|
+
import { buildManualTimer } from '@agoric/swingset-vat/tools/manual-timer.js';
|
|
21
|
+
import type { TimerServiceCommon } from '@agoric/time';
|
|
22
|
+
import type { RemotableBrand } from '@endo/eventual-send';
|
|
23
|
+
//# sourceMappingURL=manualTimer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manualTimer.d.ts","sourceRoot":"","sources":["manualTimer.js"],"names":[],"mappings":"AA2EO,0CANI,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,eACxB,SAAS,GAAG,MAAM,YAClB,qBAAqB,GACnB,cAAc,CAsD1B;;oCA5GY;IACT,QAAQ,CAAC,EAAE,YAAY,GAAG,MAAM,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CACzC;;;;;;;;UAOU,CAAC,GAAG,CAAC,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;WAItC,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC;;6BAG/C,UAAU,CAAC,OAAO,gBAAgB,CAAC,GAAG,eAAe,gBAAgB,EAAE,kBAAkB,GAAG,gBAAgB,CAAC,GAAG,gBAAgB;+BAxBlH,cAAc;kCADX,cAAc;iCAPZ,4CAA4C;wCAIxC,cAAc;oCAElB,qBAAqB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prepare-test-env-ava.d.ts","sourceRoot":"","sources":["prepare-test-env-ava.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prepare-test-env.d.ts","sourceRoot":"","sources":["prepare-test-env.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @import {Installation, ZoeService} from '@agoric/zoe';
|
|
3
|
+
* @import {OracleStart} from '../src/contracts/oracle.js';
|
|
4
|
+
* @import {TimerService} from '@agoric/time';
|
|
5
|
+
* @import {OracleHandler} from '../src/contracts/priceAggregatorTypes.js';
|
|
6
|
+
* @import {Issuer} from '@agoric/ertp';
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Start an instance of an Oracle that follows a script. The Oracle has access
|
|
10
|
+
* to a timer, and looks in the script for events indexed by the current time.
|
|
11
|
+
* It responds to onQuery() by reporting any current event. This is intended to
|
|
12
|
+
* be useful for tests.
|
|
13
|
+
* The queries return an object that has fields { event, time, query }. event is
|
|
14
|
+
* whatever was in the script indexed by the time. The query is returned in the
|
|
15
|
+
* result, but has no impact on the result. If the script has no entry for the
|
|
16
|
+
* time, the event is 'nothing to report'.
|
|
17
|
+
*
|
|
18
|
+
* @param {Record<string, any>} script
|
|
19
|
+
* @param {Installation<OracleStart>} oracleInstallation
|
|
20
|
+
* @param {TimerService} timer
|
|
21
|
+
* @param {ZoeService} zoe
|
|
22
|
+
* @param {Issuer} feeIssuer
|
|
23
|
+
*/
|
|
24
|
+
export function makeScriptedOracle(script: Record<string, any>, oracleInstallation: Installation<OracleStart>, timer: TimerService, zoe: ZoeService, feeIssuer: Issuer): Promise<{
|
|
25
|
+
publicFacet: object & {
|
|
26
|
+
query(query: import("../src/contracts/priceAggregatorTypes.js").OracleQuery): Promise<unknown>;
|
|
27
|
+
makeQueryInvitation(query: import("../src/contracts/priceAggregatorTypes.js").OracleQuery): Promise<import("@agoric/zoe").Invitation<unknown, never>>;
|
|
28
|
+
} & import("@endo/marshal").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
29
|
+
query(query: import("../src/contracts/priceAggregatorTypes.js").OracleQuery): Promise<unknown>;
|
|
30
|
+
makeQueryInvitation(query: import("../src/contracts/priceAggregatorTypes.js").OracleQuery): Promise<import("@agoric/zoe").Invitation<unknown, never>>;
|
|
31
|
+
}>;
|
|
32
|
+
creatorFacet: import("../src/contracts/priceAggregatorTypes.js").OracleCreatorFacet;
|
|
33
|
+
}>;
|
|
34
|
+
import type { OracleStart } from '../src/contracts/oracle.js';
|
|
35
|
+
import type { Installation } from '@agoric/zoe';
|
|
36
|
+
import type { TimerService } from '@agoric/time';
|
|
37
|
+
import type { ZoeService } from '@agoric/zoe';
|
|
38
|
+
import type { Issuer } from '@agoric/ertp';
|
|
39
|
+
//# sourceMappingURL=scriptedOracle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scriptedOracle.d.ts","sourceRoot":"","sources":["scriptedOracle.js"],"names":[],"mappings":"AAIA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;GAeG;AACH,2CANW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,sBACnB,aAAa,WAAW,CAAC,SACzB,YAAY,OACZ,UAAU,aACV,MAAM;;;;;;;;;GAqChB;iCAzD6B,4BAA4B;kCADf,aAAa;kCAEzB,cAAc;gCAFF,aAAa;4BAI/B,cAAc"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @import {Brand} from '@agoric/ertp';
|
|
3
|
+
* @import {Notifier} from '@agoric/notifier';
|
|
4
|
+
* @import {TimerService, RelativeTime} from '@agoric/time';
|
|
5
|
+
* @import {PriceAuthority, PriceDescription, PriceQuote, PriceQuoteValue, PriceQuery} from '@agoric/zoe/tools/types.js';
|
|
6
|
+
* @import {Timestamp} from '@agoric/time';
|
|
7
|
+
* @import {Amount} from '@agoric/ertp';
|
|
8
|
+
* @import {IssuerKit} from '@agoric/ertp';
|
|
9
|
+
* @import {ERef} from '@agoric/vow';
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @param {object} options
|
|
14
|
+
* @param {Brand<'nat'>} options.actualBrandIn
|
|
15
|
+
* @param {Brand<'nat'>} options.actualBrandOut
|
|
16
|
+
* @param {bigint[]} options.priceList
|
|
17
|
+
* @param {TimerService} options.timer
|
|
18
|
+
* @param {Amount<'nat'>} [options.unitAmountIn]
|
|
19
|
+
* @param {RelativeTime} options.quoteInterval
|
|
20
|
+
* @param {IssuerKit<'set', PriceDescription>} [options.quoteIssuerKit]
|
|
21
|
+
*/
|
|
22
|
+
export function makeScriptedPriceAuthority(options: {
|
|
23
|
+
actualBrandIn: Brand<"nat">;
|
|
24
|
+
actualBrandOut: Brand<"nat">;
|
|
25
|
+
priceList: bigint[];
|
|
26
|
+
timer: TimerService;
|
|
27
|
+
unitAmountIn?: import("@agoric/ertp").NatAmount | undefined;
|
|
28
|
+
quoteInterval: RelativeTime;
|
|
29
|
+
quoteIssuerKit?: IssuerKit<"set", PriceDescription> | undefined;
|
|
30
|
+
}): PriceAuthority;
|
|
31
|
+
import type { Brand } from '@agoric/ertp';
|
|
32
|
+
import type { TimerService } from '@agoric/time';
|
|
33
|
+
import type { RelativeTime } from '@agoric/time';
|
|
34
|
+
import type { PriceDescription } from '@agoric/zoe/tools/types.js';
|
|
35
|
+
import type { IssuerKit } from '@agoric/ertp';
|
|
36
|
+
import type { PriceAuthority } from '@agoric/zoe/tools/types.js';
|
|
37
|
+
//# sourceMappingURL=scriptedPriceAuthority.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scriptedPriceAuthority.d.ts","sourceRoot":"","sources":["scriptedPriceAuthority.js"],"names":[],"mappings":"AAWA;;;;;;;;;GASG;AAEH;;;;;;;;;;GAUG;AACH,oDARG;IAA+B,aAAa,EAApC,MAAM,KAAK,CAAC;IACW,cAAc,EAArC,MAAM,KAAK,CAAC;IACO,SAAS,EAA5B,MAAM,EAAE;IACe,KAAK,EAA5B,YAAY;IACa,YAAY;IACd,aAAa,EAApC,YAAY;IACkC,cAAc;CAAC,kBAuFvE;2BA1GuB,cAAc;kCAEO,cAAc;kCAAd,cAAc;sCACiC,4BAA4B;+BAG5F,cAAc;oCAHkD,4BAA4B"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export function makeZoeKitForTest(vatAdminSvc?: VatAdminSvc): {
|
|
2
|
+
zoeService: import("@endo/exo").Guarded<import("../src/types-index.js").ZoeService>;
|
|
3
|
+
zoeConfigFacet: import("@endo/exo").Guarded<{
|
|
4
|
+
updateZcfBundleId(bundleId: any): void;
|
|
5
|
+
}>;
|
|
6
|
+
feeMintAccess: import("../src/types-index.js").FeeMintAccess;
|
|
7
|
+
setVatAdminService: ((lateVatAdminSvc: any) => void) & import("@endo/captp").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, (lateVatAdminSvc: any) => void>;
|
|
8
|
+
};
|
|
9
|
+
export function makeZoeForTest(vatAdminSvc?: VatAdminSvc): import("@endo/exo").Guarded<import("../src/types-index.js").ZoeService>;
|
|
10
|
+
export function setUpZoeForTest<T extends unknown = any>({ setJig, feeIssuerConfig, vatAdminSvc, useNearRemote, }?: {
|
|
11
|
+
setJig?: ((jig: T) => void) | undefined;
|
|
12
|
+
feeIssuerConfig?: FeeIssuerConfig | undefined;
|
|
13
|
+
vatAdminSvc?: VatAdminSvc | undefined;
|
|
14
|
+
useNearRemote?: boolean | undefined;
|
|
15
|
+
}): Promise<{
|
|
16
|
+
zoe: import("@endo/exo").Guarded<import("../src/types-index.js").ZoeService>;
|
|
17
|
+
feeMintAccessP: import("../src/types-index.js").FeeMintAccess;
|
|
18
|
+
bundleAndInstall: (pathOrExports: object, bundleId?: string) => Promise<Installation>;
|
|
19
|
+
vatAdminSvc: VatAdminSvc;
|
|
20
|
+
vatAdminState: {
|
|
21
|
+
getExitMessage: () => any;
|
|
22
|
+
getHasExited: () => boolean;
|
|
23
|
+
getExitWithFailure: () => any;
|
|
24
|
+
getBundleID: (base: string, bundle: EndoZipBase64Bundle | TestBundle) => string;
|
|
25
|
+
registerBundle: (base: string, bundle: EndoZipBase64Bundle | TestBundle) => string;
|
|
26
|
+
installBundle: (id: string, bundle: EndoZipBase64Bundle | TestBundle) => any;
|
|
27
|
+
installNamedBundle: (name: any, id: any, bundle: any) => any;
|
|
28
|
+
getCriticalVatKey: () => {};
|
|
29
|
+
getVatPowers: () => {
|
|
30
|
+
D: (bcap: any) => {
|
|
31
|
+
getBundle: () => EndoZipBase64Bundle | {
|
|
32
|
+
moduleFormat: "test";
|
|
33
|
+
} | undefined;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
} | undefined;
|
|
37
|
+
}>;
|
|
38
|
+
import type { VatAdminSvc } from '@agoric/swingset-vat';
|
|
39
|
+
import type { FeeIssuerConfig } from '../src/types-index.js';
|
|
40
|
+
import type { Installation } from '../src/types-index.js';
|
|
41
|
+
import type { EndoZipBase64Bundle } from '@agoric/swingset-vat';
|
|
42
|
+
import type { TestBundle } from '@agoric/swingset-vat';
|
|
43
|
+
//# sourceMappingURL=setup-zoe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setup-zoe.d.ts","sourceRoot":"","sources":["setup-zoe.js"],"names":[],"mappings":"AAgBO,gDAFI,WAAW;;;;;;;EAOrB;AAKM,6CAFI,WAAW,2EAGqB;AAapC,gCAPgB,CAAC,mFAErB;IAAmC,MAAM,UAA3B,CAAC,KAAK,IAAI;IACU,eAAe;IACnB,WAAW;IACf,aAAa;CAAC;;;sCAoD9B,MAAM,aACN,MAAM,KACJ,OAAO,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;GAoBnC;iCAvG8D,sBAAsB;qCACrC,uBAAuB;kCAAvB,uBAAuB;yCADR,sBAAsB;gCAAtB,sBAAsB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export function withAmountUtils(kit: Pick<IssuerKit<"nat", any>, "brand" | "issuer" | "mint">): {
|
|
2
|
+
/** @param {NatValue} v */
|
|
3
|
+
make: (v: NatValue) => import("@agoric/ertp").NatAmount;
|
|
4
|
+
makeEmpty: () => import("@agoric/ertp").NatAmount;
|
|
5
|
+
/**
|
|
6
|
+
* @param {NatValue} n
|
|
7
|
+
* @param {NatValue} [d]
|
|
8
|
+
*/
|
|
9
|
+
makeRatio: (n: NatValue, d?: NatValue) => import("@agoric/ertp/src/ratio.js").Ratio;
|
|
10
|
+
/** @param {number} n */
|
|
11
|
+
units: (n: number) => import("@agoric/ertp").NatAmount;
|
|
12
|
+
/** The intact Exo remotable */
|
|
13
|
+
issuerKit: Pick<IssuerKit<"nat", any>, "brand" | "issuer" | "mint">;
|
|
14
|
+
brand: Brand<"nat">;
|
|
15
|
+
issuer: Issuer<"nat", any>;
|
|
16
|
+
mint: import("@agoric/ertp").Mint<"nat", any>;
|
|
17
|
+
};
|
|
18
|
+
export { makeFakeStorageKit } from "@agoric/internal/src/storage-test-utils.js";
|
|
19
|
+
export type AmountUtils = ReturnType<typeof withAmountUtils>;
|
|
20
|
+
import type { IssuerKit } from '@agoric/ertp';
|
|
21
|
+
import type { NatValue } from '@agoric/ertp';
|
|
22
|
+
import type { Brand } from '@agoric/ertp';
|
|
23
|
+
import type { Issuer } from '@agoric/ertp';
|
|
24
|
+
//# sourceMappingURL=test-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["test-utils.js"],"names":[],"mappings":"AAQO,qCADK,IAAI,CAAC,UAAU,KAAK,EAAE,GAAG,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAKhE,0BAA0B;cAAd,QAAQ;;IAGpB;;;OAGG;mBAFQ,QAAQ,MACR,QAAQ;IAGnB,wBAAwB;eAAZ,MAAM;IAGlB,+BAA+B;;;;;EAGlC;;0BACa,UAAU,CAAC,OAAO,eAAe,CAAC;+BAvB2B,cAAc;8BAAd,cAAc;2BAAd,cAAc;4BAAd,cAAc"}
|
package/tools/types.d.ts
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
export type PriceQuote = {
|
|
2
|
+
/**
|
|
3
|
+
* Amount whose value is a PriceQuoteValue
|
|
4
|
+
*/
|
|
5
|
+
quoteAmount: Amount<"set", PriceDescription>;
|
|
6
|
+
/**
|
|
7
|
+
* The `quoteAmount` wrapped as a payment
|
|
8
|
+
*/
|
|
9
|
+
quotePayment: ERef<Payment<"set", PriceDescription>>;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* A single-valued set of PriceDescriptions. This is the `value` in
|
|
13
|
+
* PriceQuote.quoteAmount (`{ brand, value: PriceQuoteValue }`).
|
|
14
|
+
*/
|
|
15
|
+
export type PriceQuoteValue = [PriceDescription];
|
|
16
|
+
/**
|
|
17
|
+
* A description of a single quote
|
|
18
|
+
*/
|
|
19
|
+
export type PriceDescription = {
|
|
20
|
+
/**
|
|
21
|
+
* The amount supplied to a trade
|
|
22
|
+
*/
|
|
23
|
+
amountIn: Amount<"nat">;
|
|
24
|
+
/**
|
|
25
|
+
* The quoted result of trading `amountIn`
|
|
26
|
+
*/
|
|
27
|
+
amountOut: Amount<"nat">;
|
|
28
|
+
/**
|
|
29
|
+
* The service that gave the `timestamp`
|
|
30
|
+
*/
|
|
31
|
+
timer: RemotableObject & TimerService;
|
|
32
|
+
/**
|
|
33
|
+
* A timestamp according to `timer` for the quote
|
|
34
|
+
*/
|
|
35
|
+
timestamp: TimestampRecord;
|
|
36
|
+
/**
|
|
37
|
+
* Additional conditions for the quote
|
|
38
|
+
*/
|
|
39
|
+
conditions?: any;
|
|
40
|
+
};
|
|
41
|
+
export type PriceQuoteCreate = (priceQuery: PriceQuery) => ERef<PriceQuote> | undefined;
|
|
42
|
+
export type PriceQuoteTrigger = (createQuote: PriceQuoteCreate) => any;
|
|
43
|
+
export type PriceAuthorityAdmin = {
|
|
44
|
+
fireTriggers: (createQuote: PriceQuoteCreate) => Promise<void>;
|
|
45
|
+
};
|
|
46
|
+
export type PriceAuthorityKit = {
|
|
47
|
+
priceAuthority: PriceAuthority;
|
|
48
|
+
adminFacet: PriceAuthorityAdmin;
|
|
49
|
+
};
|
|
50
|
+
export type MutableQuote = {
|
|
51
|
+
cancel: (reason?: any) => void;
|
|
52
|
+
updateLevel: (amountIn: Amount<"nat">, amountOut: Amount<"nat">) => void;
|
|
53
|
+
getPromise: () => ERef<PriceQuote>;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* An object that mints PriceQuotes and handles
|
|
57
|
+
* triggers and notifiers for changes in the price
|
|
58
|
+
*/
|
|
59
|
+
export type PriceAuthority = {
|
|
60
|
+
/**
|
|
61
|
+
* Get the ERTP issuer of PriceQuotes for a given brandIn/brandOut pair
|
|
62
|
+
*/
|
|
63
|
+
getQuoteIssuer: (brandIn: Brand, brandOut: Brand) => ERef<Issuer<"set", PriceDescription>>;
|
|
64
|
+
/**
|
|
65
|
+
* Get the timer used in PriceQuotes for a given brandIn/brandOut pair
|
|
66
|
+
*/
|
|
67
|
+
getTimerService: (brandIn: Brand, brandOut: Brand) => ERef<TimerService>;
|
|
68
|
+
/**
|
|
69
|
+
* Be notified of the latest PriceQuotes for a given
|
|
70
|
+
* `amountIn`. The rate at which these are issued may be very different between
|
|
71
|
+
* `priceAuthorities`.
|
|
72
|
+
*/
|
|
73
|
+
makeQuoteNotifier: (amountIn: Amount<"nat">, brandOut: Brand<"nat">) => ERef<Notifier<PriceQuote>>;
|
|
74
|
+
/**
|
|
75
|
+
* Resolves after `deadline` passes on the
|
|
76
|
+
* priceAuthority's timerService with the price quote of `amountIn` at that time
|
|
77
|
+
*/
|
|
78
|
+
quoteAtTime: (deadline: Timestamp, amountIn: Amount<"nat">, brandOut: Brand<"nat">) => Promise<PriceQuote>;
|
|
79
|
+
/**
|
|
80
|
+
* Get a quote corresponding to the specified amountIn
|
|
81
|
+
*/
|
|
82
|
+
quoteGiven: (amountIn: Amount<"nat">, brandOut: Brand<"nat">) => Promise<PriceQuote>;
|
|
83
|
+
/**
|
|
84
|
+
* Get a quote corresponding to the specified amountOut
|
|
85
|
+
*/
|
|
86
|
+
quoteWanted: (brandIn: Brand<"nat">, amountOut: Amount<"nat">) => Promise<PriceQuote>;
|
|
87
|
+
/**
|
|
88
|
+
* Resolve when a price quote of `amountIn` exceeds `amountOutLimit`
|
|
89
|
+
*/
|
|
90
|
+
quoteWhenGT: (amountIn: Amount<"nat">, amountOutLimit: Amount<"nat">) => Promise<PriceQuote>;
|
|
91
|
+
/**
|
|
92
|
+
* Resolve when a price quote of `amountIn` reaches or exceeds `amountOutLimit`
|
|
93
|
+
*/
|
|
94
|
+
quoteWhenGTE: (amountIn: Amount<"nat">, amountOutLimit: Amount<"nat">) => Promise<PriceQuote>;
|
|
95
|
+
/**
|
|
96
|
+
* Resolve when a price quote of `amountIn` reaches or drops below
|
|
97
|
+
* `amountOutLimit`
|
|
98
|
+
*/
|
|
99
|
+
quoteWhenLTE: (amountIn: Amount, amountOutLimit: Amount) => Promise<PriceQuote>;
|
|
100
|
+
/**
|
|
101
|
+
* Resolve when the price quote of `amountIn` drops below `amountOutLimit`
|
|
102
|
+
*/
|
|
103
|
+
quoteWhenLT: (amountIn: Amount, amountOutLimit: Amount) => Promise<PriceQuote>;
|
|
104
|
+
/**
|
|
105
|
+
* Resolve when a price quote of `amountIn` exceeds `amountOutLimit`
|
|
106
|
+
*/
|
|
107
|
+
mutableQuoteWhenGT: (amountIn: Amount, amountOutLimit: Amount) => ERef<MutableQuote>;
|
|
108
|
+
/**
|
|
109
|
+
* Resolve when a price quote of `amountIn` reaches or exceeds
|
|
110
|
+
* `amountOutLimit`
|
|
111
|
+
*/
|
|
112
|
+
mutableQuoteWhenGTE: (amountIn: Amount, amountOutLimit: Amount) => ERef<MutableQuote>;
|
|
113
|
+
/**
|
|
114
|
+
* Resolve when a price quote of `amountIn` reaches or drops below
|
|
115
|
+
* `amountOutLimit`
|
|
116
|
+
*/
|
|
117
|
+
mutableQuoteWhenLTE: (amountIn: Amount, amountOutLimit: Amount) => ERef<MutableQuote>;
|
|
118
|
+
/**
|
|
119
|
+
* Resolve when the price quote of `amountIn` drops below `amountOutLimit`
|
|
120
|
+
*/
|
|
121
|
+
mutableQuoteWhenLT: (amountIn: Amount, amountOutLimit: Amount) => ERef<MutableQuote>;
|
|
122
|
+
};
|
|
123
|
+
export type PriceCalculator = (amount: Amount<"nat">) => Amount<"nat">;
|
|
124
|
+
export type PriceQuery = (calcAmountIn: PriceCalculator, calcAmountOut: PriceCalculator) => {
|
|
125
|
+
amountIn: Amount<"nat">;
|
|
126
|
+
amountOut: Amount<"nat">;
|
|
127
|
+
timestamp?: TimestampRecord;
|
|
128
|
+
} | undefined;
|
|
129
|
+
/**
|
|
130
|
+
* A description of a single quote
|
|
131
|
+
*/
|
|
132
|
+
export type PriceLevel = {
|
|
133
|
+
/**
|
|
134
|
+
* The amount supplied to a trade
|
|
135
|
+
*/
|
|
136
|
+
amountIn: Amount<"nat">;
|
|
137
|
+
/**
|
|
138
|
+
* The quoted result of trading `amountIn`
|
|
139
|
+
*/
|
|
140
|
+
amountOut: Amount<"nat">;
|
|
141
|
+
};
|
|
142
|
+
import type { Amount } from '@agoric/ertp';
|
|
143
|
+
import type { Payment } from '@agoric/ertp';
|
|
144
|
+
import type { ERef } from '@agoric/vow';
|
|
145
|
+
import type { RemotableObject } from '@endo/pass-style';
|
|
146
|
+
import type { TimerService } from '@agoric/time';
|
|
147
|
+
import type { TimestampRecord } from '@agoric/time';
|
|
148
|
+
import type { Brand } from '@agoric/ertp';
|
|
149
|
+
import type { Issuer } from '@agoric/ertp';
|
|
150
|
+
import type { Notifier } from '@agoric/notifier';
|
|
151
|
+
import type { Timestamp } from '@agoric/time';
|
|
152
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.js"],"names":[],"mappings":"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"}
|