@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,185 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @import {TypedPattern} from '@agoric/internal';
|
|
3
|
+
* @import {AfterDeadlineExitRule, Installation, ZoeIssuerRecord} from '@agoric/zoe';
|
|
4
|
+
* @import {ExitRule, Invitation, InvitationHandle, WaivedExitRule} from './types-index.js';
|
|
5
|
+
* @import {InvitationDetails} from './types-index.js';
|
|
6
|
+
*/
|
|
7
|
+
export const KeywordShape: import("@endo/patterns").Matcher;
|
|
8
|
+
/** @type {TypedPattern<InvitationHandle>} */
|
|
9
|
+
export const InvitationHandleShape: TypedPattern<InvitationHandle>;
|
|
10
|
+
/** @type {TypedPattern<Invitation>} */
|
|
11
|
+
export const InvitationShape: TypedPattern<Invitation>;
|
|
12
|
+
export const InstanceHandleShape: import("@endo/patterns").Matcher;
|
|
13
|
+
/** @type {TypedPattern<Installation>} */
|
|
14
|
+
export const InstallationShape: TypedPattern<Installation>;
|
|
15
|
+
export const SeatShape: import("@endo/patterns").Matcher;
|
|
16
|
+
export const AmountKeywordRecordShape: import("@endo/patterns").Matcher;
|
|
17
|
+
export const AmountPatternKeywordRecordShape: import("@endo/patterns").Matcher;
|
|
18
|
+
export const PaymentPKeywordRecordShape: import("@endo/patterns").Matcher;
|
|
19
|
+
export const IssuerKeywordRecordShape: import("@endo/patterns").Matcher;
|
|
20
|
+
export const IssuerPKeywordRecordShape: import("@endo/patterns").Matcher;
|
|
21
|
+
export const BrandKeywordRecordShape: import("@endo/patterns").Matcher;
|
|
22
|
+
/** @type {TypedPattern<ZoeIssuerRecord>} */
|
|
23
|
+
export const IssuerRecordShape: TypedPattern<ZoeIssuerRecord>;
|
|
24
|
+
export namespace TermsShape {
|
|
25
|
+
export { IssuerKeywordRecordShape as issuers };
|
|
26
|
+
export { BrandKeywordRecordShape as brands };
|
|
27
|
+
}
|
|
28
|
+
export namespace InstanceRecordShape {
|
|
29
|
+
export { InstallationShape as installation };
|
|
30
|
+
export { InstanceHandleShape as instance };
|
|
31
|
+
export let terms: import("@endo/patterns").Matcher;
|
|
32
|
+
}
|
|
33
|
+
export const HandleI: import("@endo/patterns").InterfaceGuard<{}>;
|
|
34
|
+
export function makeHandleShape(name: any): import("@endo/patterns").Matcher;
|
|
35
|
+
export const TimerShape: import("@endo/patterns").Matcher;
|
|
36
|
+
export namespace FullProposalShape {
|
|
37
|
+
export { AmountPatternKeywordRecordShape as want };
|
|
38
|
+
export { AmountKeywordRecordShape as give };
|
|
39
|
+
export let exit: import("@endo/patterns").Matcher;
|
|
40
|
+
}
|
|
41
|
+
/** @see {Proposal} type */
|
|
42
|
+
export const ProposalShape: import("@endo/patterns").Matcher;
|
|
43
|
+
export const EmptyProposalShape: import("@endo/patterns").Matcher;
|
|
44
|
+
export function isOnDemandExitRule(exit: any): boolean;
|
|
45
|
+
export function isWaivedExitRule(exit: ExitRule): exit is WaivedExitRule;
|
|
46
|
+
export function isAfterDeadlineExitRule(exit: ExitRule): exit is AfterDeadlineExitRule;
|
|
47
|
+
/** @type {TypedPattern<InvitationDetails>} */
|
|
48
|
+
export const InvitationElementShape: TypedPattern<InvitationDetails>;
|
|
49
|
+
export const OfferHandlerI: import("@endo/patterns").InterfaceGuard<{
|
|
50
|
+
handle: import("@endo/patterns").MethodGuard;
|
|
51
|
+
}>;
|
|
52
|
+
export const SeatHandleAllocationsShape: import("@endo/patterns").Matcher;
|
|
53
|
+
export const ZoeMintShape: import("@endo/patterns").Matcher;
|
|
54
|
+
export const ZoeMintI: import("@endo/patterns").InterfaceGuard<{
|
|
55
|
+
getIssuerRecord: import("@endo/patterns").MethodGuard;
|
|
56
|
+
mintAndEscrow: import("@endo/patterns").MethodGuard;
|
|
57
|
+
withdrawAndBurn: import("@endo/patterns").MethodGuard;
|
|
58
|
+
}>;
|
|
59
|
+
export const FeeMintAccessShape: import("@endo/patterns").Matcher;
|
|
60
|
+
export const ExitObjectI: import("@endo/patterns").InterfaceGuard<{
|
|
61
|
+
exit: import("@endo/patterns").MethodGuard;
|
|
62
|
+
}>;
|
|
63
|
+
export const ExitObjectShape: import("@endo/patterns").Matcher;
|
|
64
|
+
export const InstanceAdminShape: import("@endo/patterns").Matcher;
|
|
65
|
+
export const InstanceAdminI: import("@endo/patterns").InterfaceGuard<{
|
|
66
|
+
makeInvitation: import("@endo/patterns").MethodGuard;
|
|
67
|
+
saveIssuer: import("@endo/patterns").MethodGuard;
|
|
68
|
+
makeNoEscrowSeat: import("@endo/patterns").MethodGuard;
|
|
69
|
+
exitAllSeats: import("@endo/patterns").MethodGuard;
|
|
70
|
+
failAllSeats: import("@endo/patterns").MethodGuard;
|
|
71
|
+
exitSeat: import("@endo/patterns").MethodGuard;
|
|
72
|
+
failSeat: import("@endo/patterns").MethodGuard;
|
|
73
|
+
makeZoeMint: import("@endo/patterns").MethodGuard;
|
|
74
|
+
registerFeeMint: import("@endo/patterns").MethodGuard;
|
|
75
|
+
replaceAllocations: import("@endo/patterns").MethodGuard;
|
|
76
|
+
stopAcceptingOffers: import("@endo/patterns").MethodGuard;
|
|
77
|
+
setOfferFilter: import("@endo/patterns").MethodGuard;
|
|
78
|
+
getOfferFilter: import("@endo/patterns").MethodGuard;
|
|
79
|
+
getExitSubscriber: import("@endo/patterns").MethodGuard;
|
|
80
|
+
isBlocked: import("@endo/patterns").MethodGuard;
|
|
81
|
+
repairContractCompletionWatcher: import("@endo/patterns").MethodGuard;
|
|
82
|
+
}>;
|
|
83
|
+
export namespace InstanceStorageManagerIKit {
|
|
84
|
+
let instanceStorageManager: import("@endo/patterns").InterfaceGuard<{
|
|
85
|
+
getTerms: import("@endo/patterns").MethodGuard;
|
|
86
|
+
getIssuers: import("@endo/patterns").MethodGuard;
|
|
87
|
+
getBrands: import("@endo/patterns").MethodGuard;
|
|
88
|
+
getInstallation: import("@endo/patterns").MethodGuard;
|
|
89
|
+
getInvitationIssuer: import("@endo/patterns").MethodGuard;
|
|
90
|
+
saveIssuer: import("@endo/patterns").MethodGuard;
|
|
91
|
+
makeZoeMint: import("@endo/patterns").MethodGuard;
|
|
92
|
+
registerFeeMint: import("@endo/patterns").MethodGuard;
|
|
93
|
+
getInstanceRecord: import("@endo/patterns").MethodGuard;
|
|
94
|
+
getIssuerRecords: import("@endo/patterns").MethodGuard;
|
|
95
|
+
getWithdrawFacet: import("@endo/patterns").MethodGuard;
|
|
96
|
+
initInstanceAdmin: import("@endo/patterns").MethodGuard;
|
|
97
|
+
deleteInstanceAdmin: import("@endo/patterns").MethodGuard;
|
|
98
|
+
makeInvitation: import("@endo/patterns").MethodGuard;
|
|
99
|
+
getRoot: import("@endo/patterns").MethodGuard;
|
|
100
|
+
getAdminNode: import("@endo/patterns").MethodGuard;
|
|
101
|
+
}>;
|
|
102
|
+
let withdrawFacet: import("@endo/patterns").InterfaceGuard<{
|
|
103
|
+
withdrawPayments: import("@endo/patterns").MethodGuard;
|
|
104
|
+
}>;
|
|
105
|
+
let helpers: import("@endo/patterns").InterfaceGuard<{
|
|
106
|
+
wrapIssuerKitWithZoeMint: import("@endo/patterns").MethodGuard;
|
|
107
|
+
}>;
|
|
108
|
+
}
|
|
109
|
+
export const BundleCapShape: import("@endo/patterns").Matcher;
|
|
110
|
+
export const BundleShape: import("@endo/patterns").Matcher;
|
|
111
|
+
export const UnwrappedInstallationShape: import("@endo/patterns").Matcher;
|
|
112
|
+
export namespace ZoeStorageManagerIKit {
|
|
113
|
+
let zoeServiceDataAccess: import("@endo/patterns").InterfaceGuard<{
|
|
114
|
+
getTerms: import("@endo/patterns").MethodGuard;
|
|
115
|
+
getIssuers: import("@endo/patterns").MethodGuard;
|
|
116
|
+
getBrands: import("@endo/patterns").MethodGuard;
|
|
117
|
+
getInstallation: import("@endo/patterns").MethodGuard;
|
|
118
|
+
getInvitationIssuer: import("@endo/patterns").MethodGuard;
|
|
119
|
+
getBundleIDFromInstallation: import("@endo/patterns").MethodGuard;
|
|
120
|
+
installBundle: import("@endo/patterns").MethodGuard;
|
|
121
|
+
installBundleID: import("@endo/patterns").MethodGuard;
|
|
122
|
+
getPublicFacet: import("@endo/patterns").MethodGuard;
|
|
123
|
+
getOfferFilter: import("@endo/patterns").MethodGuard;
|
|
124
|
+
getProposalShapeForInvitation: import("@endo/patterns").MethodGuard;
|
|
125
|
+
}>;
|
|
126
|
+
let makeOfferAccess: import("@endo/patterns").InterfaceGuard<{
|
|
127
|
+
getAssetKindByBrand: import("@endo/patterns").MethodGuard;
|
|
128
|
+
getInstanceAdmin: import("@endo/patterns").MethodGuard;
|
|
129
|
+
getProposalShapeForInvitation: import("@endo/patterns").MethodGuard;
|
|
130
|
+
getInvitationIssuer: import("@endo/patterns").MethodGuard;
|
|
131
|
+
depositPayments: import("@endo/patterns").MethodGuard;
|
|
132
|
+
}>;
|
|
133
|
+
let startInstanceAccess: import("@endo/patterns").InterfaceGuard<{
|
|
134
|
+
makeZoeInstanceStorageManager: import("@endo/patterns").MethodGuard;
|
|
135
|
+
unwrapInstallation: import("@endo/patterns").MethodGuard;
|
|
136
|
+
}>;
|
|
137
|
+
let invitationIssuerAccess: import("@endo/patterns").InterfaceGuard<{
|
|
138
|
+
getInvitationIssuer: import("@endo/patterns").MethodGuard;
|
|
139
|
+
}>;
|
|
140
|
+
}
|
|
141
|
+
export const ZoeServiceI: import("@endo/patterns").InterfaceGuard<{
|
|
142
|
+
install: import("@endo/patterns").MethodGuard;
|
|
143
|
+
installBundleID: import("@endo/patterns").MethodGuard;
|
|
144
|
+
startInstance: import("@endo/patterns").MethodGuard;
|
|
145
|
+
offer: import("@endo/patterns").MethodGuard;
|
|
146
|
+
getOfferFilter: import("@endo/patterns").MethodGuard;
|
|
147
|
+
getInvitationIssuer: import("@endo/patterns").MethodGuard;
|
|
148
|
+
getFeeIssuer: import("@endo/patterns").MethodGuard;
|
|
149
|
+
getBrands: import("@endo/patterns").MethodGuard;
|
|
150
|
+
getIssuers: import("@endo/patterns").MethodGuard;
|
|
151
|
+
getPublicFacet: import("@endo/patterns").MethodGuard;
|
|
152
|
+
getTerms: import("@endo/patterns").MethodGuard;
|
|
153
|
+
getInstallationForInstance: import("@endo/patterns").MethodGuard;
|
|
154
|
+
getBundleIDFromInstallation: import("@endo/patterns").MethodGuard;
|
|
155
|
+
getInstallation: import("@endo/patterns").MethodGuard;
|
|
156
|
+
getInstance: import("@endo/patterns").MethodGuard;
|
|
157
|
+
getConfiguration: import("@endo/patterns").MethodGuard;
|
|
158
|
+
getInvitationDetails: import("@endo/patterns").MethodGuard;
|
|
159
|
+
getProposalShapeForInvitation: import("@endo/patterns").MethodGuard;
|
|
160
|
+
}>;
|
|
161
|
+
export const AdminFacetI: import("@endo/patterns").InterfaceGuard<{
|
|
162
|
+
getVatShutdownPromise: import("@endo/patterns").MethodGuard;
|
|
163
|
+
restartContract: import("@endo/patterns").MethodGuard;
|
|
164
|
+
upgradeContract: import("@endo/patterns").MethodGuard;
|
|
165
|
+
terminateContract: import("@endo/patterns").MethodGuard;
|
|
166
|
+
}>;
|
|
167
|
+
export const SeatDataShape: import("@endo/patterns").Matcher;
|
|
168
|
+
export const HandleOfferI: import("@endo/patterns").InterfaceGuard<{
|
|
169
|
+
handleOffer: import("@endo/patterns").MethodGuard;
|
|
170
|
+
}>;
|
|
171
|
+
export namespace PriceQuoteShape {
|
|
172
|
+
export { AmountShape as quoteAmount };
|
|
173
|
+
export let quotePayment: import("@endo/patterns").Pattern;
|
|
174
|
+
}
|
|
175
|
+
import type { InvitationHandle } from './types-index.js';
|
|
176
|
+
import type { TypedPattern } from '@agoric/internal';
|
|
177
|
+
import type { Invitation } from './types-index.js';
|
|
178
|
+
import type { Installation } from '@agoric/zoe';
|
|
179
|
+
import type { ZoeIssuerRecord } from '@agoric/zoe';
|
|
180
|
+
import type { ExitRule } from './types-index.js';
|
|
181
|
+
import type { WaivedExitRule } from './types-index.js';
|
|
182
|
+
import type { AfterDeadlineExitRule } from '@agoric/zoe';
|
|
183
|
+
import type { InvitationDetails } from './types-index.js';
|
|
184
|
+
import { AmountShape } from '@agoric/ertp';
|
|
185
|
+
//# sourceMappingURL=typeGuards.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typeGuards.d.ts","sourceRoot":"","sources":["typeGuards.js"],"names":[],"mappings":"AAaA;;;;;GAKG;AAGH,4DAAuC;AAEvC,6CAA6C;AAC7C,oCADW,aAAa,gBAAgB,CAAC,CAC4B;AACrE,uCAAuC;AACvC,8BADW,aAAa,UAAU,CAAC,CACsB;AACzD,mEAAiE;AACjE,yCAAyC;AACzC,gCADW,aAAa,YAAY,CAAC,CACwB;AAC7D,yDAA6C;AAE7C,wEAA8E;AAC9E,+EAGE;AACF,0EAGE;AACF,wEAA8E;AAC9E,yEAGE;AACF,uEAA4E;AAE5E,4CAA4C;AAC5C,gCADW,aAAa,eAAe,CAAC,CAQtC;;;;;;;;;;AAeF,kEAAiD;AAE1C,6EAA4D;AACnE,0DAAmD;;;;;;AA4BnD,2BAA2B;AAC3B,6DAAsE;AAEtE,kEAIG;AAEI,uDAGN;AAOM,uCAHI,QAAQ,GACN,IAAI,IAAI,cAAc,CAKlC;AAOM,8CAHI,QAAQ,GACN,IAAI,IAAI,qBAAqB,CAKzC;AAGD,8CAA8C;AAC9C,qCADW,aAAa,iBAAiB,CAAC,CAMvC;AAEH;;GAEG;AAEH,0EAGG;AAEH,4DAAmD;AACnD;;;;GAIG;AAEH,kEAA+D;AAE/D;;GAEG;AAEH,+DAAsD;AACtD,kEAA+D;AAC/D;;;;;;;;;;;;;;;;;GAkCG;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkDH,8DAAuD;AACvD,2DAGE;AAEF,0EAQE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8DF;;;;;;;;;;;;;;;;;;;GA6CG;AAEH;;;;;GAKG;AAEH,6DASE;AAEF;;GAKG;;;;;sCA/XsE,kBAAkB;kCAF5D,kBAAkB;gCAEwB,kBAAkB;kCADpB,aAAa;qCAAb,aAAa;8BACX,kBAAkB;oCAAlB,kBAAkB;2CADpB,aAAa;uCAEhD,kBAAkB;4BAT/C,cAAc"}
|
package/src/types.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { Brand, Issuer } from '@agoric/ertp';
|
|
2
|
+
import type { RemotableObject } from '@endo/pass-style';
|
|
3
|
+
/**
|
|
4
|
+
* Alias for RemotableObject
|
|
5
|
+
*/
|
|
6
|
+
export type Handle<H extends string> = RemotableObject<H>;
|
|
7
|
+
/** Must start with a capital letter. */
|
|
8
|
+
export type Keyword = string;
|
|
9
|
+
/**
|
|
10
|
+
* - an opaque handle for an invitation
|
|
11
|
+
*/
|
|
12
|
+
export type InvitationHandle = Handle<'Invitation'>;
|
|
13
|
+
export type IssuerKeywordRecord = Record<Keyword, Issuer<any>>;
|
|
14
|
+
export type IssuerPKeywordRecord = Record<Keyword, import('@endo/far').ERef<Issuer<any>>>;
|
|
15
|
+
export type BrandKeywordRecord = Record<Keyword, Brand<any>>;
|
|
16
|
+
export type StandardTerms = {
|
|
17
|
+
/**
|
|
18
|
+
* - record with
|
|
19
|
+
* keywords keys, issuer values
|
|
20
|
+
*/
|
|
21
|
+
issuers: IssuerKeywordRecord;
|
|
22
|
+
/**
|
|
23
|
+
* - record with keywords
|
|
24
|
+
* keys, brand values
|
|
25
|
+
*/
|
|
26
|
+
brands: BrandKeywordRecord;
|
|
27
|
+
};
|
|
28
|
+
export type AnyTerms = StandardTerms & Record<string, any>;
|
|
29
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD;;GAEG;AACH,MAAM,MAAM,MAAM,CAAC,CAAC,SAAS,MAAM,IAAI,eAAe,CAAC,CAAC,CAAC,CAAC;AAK1D,wCAAwC;AACxC,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC;AAE7B;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;AACpD,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;AAC/D,MAAM,MAAM,oBAAoB,GAAG,MAAM,CACvC,OAAO,EACP,OAAO,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CACtC,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;AAC7D,MAAM,MAAM,aAAa,GAAG;IAC1B;;;OAGG;IACH,OAAO,EAAE,mBAAmB,CAAC;IAC7B;;;OAGG;IACH,MAAM,EAAE,kBAAkB,CAAC;CAC5B,CAAC;AACF,MAAM,MAAM,QAAQ,GAAG,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createZCFVat.d.ts","sourceRoot":"","sources":["createZCFVat.js"],"names":[],"mappings":"AAIO,qEAcN"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export function provideEscrowStorage(baggage: Baggage): {
|
|
2
|
+
createPurse: CreatePurse;
|
|
3
|
+
provideLocalPurse: ProvideLocalPurse;
|
|
4
|
+
withdrawPayments: WithdrawPayments;
|
|
5
|
+
depositPayments: DepositPayments;
|
|
6
|
+
};
|
|
7
|
+
import type { Baggage } from '@agoric/vat-data';
|
|
8
|
+
import type { CreatePurse } from './internal-types.js';
|
|
9
|
+
import type { ProvideLocalPurse } from './internal-types.js';
|
|
10
|
+
import type { WithdrawPayments } from '../internal-types.js';
|
|
11
|
+
import type { DepositPayments } from './internal-types.js';
|
|
12
|
+
//# sourceMappingURL=escrowStorage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"escrowStorage.d.ts","sourceRoot":"","sources":["escrowStorage.js"],"names":[],"mappings":"AA4BO,8CAFI,OAAO;;;;;EA8GjB;6BA5HyB,kBAAkB;iCACsB,qBAAqB;uCAArB,qBAAqB;sCACpD,sBAAsB;qCADS,qBAAqB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export namespace defaultFeeIssuerConfig {
|
|
2
|
+
let name: "ZDEFAULT";
|
|
3
|
+
let assetKind: "nat";
|
|
4
|
+
namespace displayInfo {
|
|
5
|
+
export let decimalPlaces: number;
|
|
6
|
+
let assetKind_1: "nat";
|
|
7
|
+
export { assetKind_1 as assetKind };
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @param {Baggage} zoeBaggage
|
|
12
|
+
* @param {FeeIssuerConfig} feeIssuerConfig
|
|
13
|
+
* @param {ShutdownWithFailure} shutdownZoeVat
|
|
14
|
+
*/
|
|
15
|
+
export function prepareFeeMint(zoeBaggage: Baggage, feeIssuerConfig: FeeIssuerConfig, shutdownZoeVat: ShutdownWithFailure): import("@endo/exo").GuardedKit<{
|
|
16
|
+
feeMint: {
|
|
17
|
+
getFeeIssuerKit(allegedFeeMintAccess: any): IssuerKit<"nat">;
|
|
18
|
+
getFeeIssuer(): import("@agoric/ertp").Issuer<"nat", import("@endo/patterns").Key>;
|
|
19
|
+
getFeeBrand(): import("@agoric/ertp").Brand<"nat">;
|
|
20
|
+
};
|
|
21
|
+
feeMintAccess: {};
|
|
22
|
+
}>;
|
|
23
|
+
import type { Baggage } from '@agoric/vat-data';
|
|
24
|
+
import type { FeeIssuerConfig } from './types.js';
|
|
25
|
+
import type { ShutdownWithFailure } from '@agoric/swingset-vat';
|
|
26
|
+
import type { IssuerKit } from '@agoric/ertp';
|
|
27
|
+
//# sourceMappingURL=feeMint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feeMint.d.ts","sourceRoot":"","sources":["feeMint.js"],"names":[],"mappings":";;;;;;;;;AAkCA;;;;GAIG;AACH,2CAJW,OAAO,mBACP,eAAe,kBACf,mBAAmB;;;;;;;GA2D7B;6BA/EyB,kBAAkB;qCAEV,YAAY;yCADR,sBAAsB;+BAEhC,cAAc"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export function makeInstallationStorage(getBundleCapForID: GetBundleCapForID, zoeBaggage: Baggage): import("@endo/exo").Guarded<{
|
|
2
|
+
installBundle(allegedBundle: any, bundleLabel: any): Promise<Installation<any>>;
|
|
3
|
+
installBundleID(bundleID: any, bundleLabel?: any): Promise<Installation<unknown>>;
|
|
4
|
+
unwrapInstallation(installation: any): {
|
|
5
|
+
bundleCap: any;
|
|
6
|
+
bundleID: string;
|
|
7
|
+
installation: any;
|
|
8
|
+
bundle?: undefined;
|
|
9
|
+
} | {
|
|
10
|
+
bundle: SourceBundle;
|
|
11
|
+
installation: any;
|
|
12
|
+
bundleCap?: undefined;
|
|
13
|
+
bundleID?: undefined;
|
|
14
|
+
};
|
|
15
|
+
getBundleIDFromInstallation(allegedInstallation: any): Promise<string | undefined>;
|
|
16
|
+
}>;
|
|
17
|
+
import type { GetBundleCapForID } from './internal-types.js';
|
|
18
|
+
import type { Baggage } from '@agoric/swingset-liveslots';
|
|
19
|
+
import type { Installation } from '@agoric/zoe';
|
|
20
|
+
import type { SourceBundle } from '@agoric/zoe';
|
|
21
|
+
//# sourceMappingURL=installationStorage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"installationStorage.d.ts","sourceRoot":"","sources":["installationStorage.js"],"names":[],"mappings":"AAwBO,2DAHI,iBAAiB,cACjB,OAAO;;;;;;;;;;;;;;;GA0IjB;uCA/ImC,qBAAqB;6BAJ/B,4BAA4B;kCAGM,aAAa;kCAAb,aAAa"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
export function makeInstanceAdminStorage(baggage: Baggage): import("@endo/exo").GuardedKit<{
|
|
2
|
+
accessor: {
|
|
3
|
+
getPublicFacet(instance: any): any;
|
|
4
|
+
getBrands(instance: any): any;
|
|
5
|
+
getIssuers(instance: any): any;
|
|
6
|
+
getTerms(instance: any): any;
|
|
7
|
+
getOfferFilter(instance: any): any;
|
|
8
|
+
getInstallation(instance: any): any;
|
|
9
|
+
getInstanceAdmin(instance: any): any;
|
|
10
|
+
};
|
|
11
|
+
updater: {
|
|
12
|
+
initInstanceAdmin(instance: any, instanceAdmin: any): Promise<void>;
|
|
13
|
+
deleteInstanceAdmin(instance: any): void;
|
|
14
|
+
};
|
|
15
|
+
}>;
|
|
16
|
+
export function makeInstanceAdminMaker(zoeBaggage: Baggage, seatHandleToZoeSeatAdmin: WeakMapStore<SeatHandle, ZoeSeatAdmin>): (instanceHandle: any, zoeInstanceStorageManager: any, adminNode: any) => import("@agoric/swingset-liveslots").KindFacet<{
|
|
17
|
+
getPublicFacet: ({ state }: {
|
|
18
|
+
state: any;
|
|
19
|
+
}) => any;
|
|
20
|
+
getTerms: ({ state }: {
|
|
21
|
+
state: any;
|
|
22
|
+
}) => any;
|
|
23
|
+
getIssuers: ({ state }: {
|
|
24
|
+
state: any;
|
|
25
|
+
}) => any;
|
|
26
|
+
getBrands: ({ state }: {
|
|
27
|
+
state: any;
|
|
28
|
+
}) => any;
|
|
29
|
+
initDelayedState: ({ state }: {
|
|
30
|
+
state: any;
|
|
31
|
+
}, handleOfferObj: any, publicFacet: any) => void;
|
|
32
|
+
getInstallation: ({ state }: {
|
|
33
|
+
state: any;
|
|
34
|
+
}) => any;
|
|
35
|
+
getInstance: ({ state }: {
|
|
36
|
+
state: any;
|
|
37
|
+
}) => any;
|
|
38
|
+
assertAcceptingOffers: ({ state }: {
|
|
39
|
+
state: any;
|
|
40
|
+
}) => void;
|
|
41
|
+
exitAllSeats: ({ state }: {
|
|
42
|
+
state: any;
|
|
43
|
+
}, completion: any) => void;
|
|
44
|
+
failAllSeats: ({ state }: {
|
|
45
|
+
state: any;
|
|
46
|
+
}, reason: any) => void;
|
|
47
|
+
stopAcceptingOffers: ({ state }: {
|
|
48
|
+
state: any;
|
|
49
|
+
}) => void;
|
|
50
|
+
makeUserSeat: ({ state, facets: { helper } }: {
|
|
51
|
+
state: any;
|
|
52
|
+
facets: {
|
|
53
|
+
helper: any;
|
|
54
|
+
};
|
|
55
|
+
}, invitationHandle: any, initialAllocation: any, proposal: any, offerArgs?: undefined) => import("@endo/exo").Guarded<{
|
|
56
|
+
getProposal(): Promise<any>;
|
|
57
|
+
getPayouts(): Promise<any>;
|
|
58
|
+
getPayout(keyword: any): Promise<any>;
|
|
59
|
+
getOfferResult(): Promise<any>;
|
|
60
|
+
hasExited(): Promise<any>;
|
|
61
|
+
tryExit(): Promise<any>;
|
|
62
|
+
numWantsSatisfied(): Promise<any>;
|
|
63
|
+
getExitSubscriber(): any;
|
|
64
|
+
getFinalAllocation(): any;
|
|
65
|
+
}>;
|
|
66
|
+
makeNoEscrowSeat: ({ state, facets: { helper } }: {
|
|
67
|
+
state: any;
|
|
68
|
+
facets: {
|
|
69
|
+
helper: any;
|
|
70
|
+
};
|
|
71
|
+
}, initialAllocation: any, proposal: any, exitObj: any, seatHandle: any) => import("@endo/exo").Guarded<{
|
|
72
|
+
getProposal(): Promise<any>;
|
|
73
|
+
getPayouts(): Promise<any>;
|
|
74
|
+
getPayout(keyword: any): Promise<any>;
|
|
75
|
+
getOfferResult(): Promise<any>;
|
|
76
|
+
hasExited(): Promise<any>;
|
|
77
|
+
tryExit(): Promise<any>;
|
|
78
|
+
numWantsSatisfied(): Promise<any>;
|
|
79
|
+
getExitSubscriber(): any;
|
|
80
|
+
getFinalAllocation(): any;
|
|
81
|
+
}>;
|
|
82
|
+
getOfferFilter: ({ state }: {
|
|
83
|
+
state: any;
|
|
84
|
+
}) => any;
|
|
85
|
+
setOfferFilter: ({ state }: {
|
|
86
|
+
state: any;
|
|
87
|
+
}, strings: any) => void;
|
|
88
|
+
isBlocked: ({ state }: {
|
|
89
|
+
state: any;
|
|
90
|
+
}, string: any) => any;
|
|
91
|
+
}>;
|
|
92
|
+
export type ImmutableState = Readonly<{
|
|
93
|
+
publicFacet: unknown;
|
|
94
|
+
handlerOfferObj: unknown;
|
|
95
|
+
}>;
|
|
96
|
+
export type MutableState = {
|
|
97
|
+
offerFilterStrings: string[];
|
|
98
|
+
};
|
|
99
|
+
export type State = MutableState & ImmutableState;
|
|
100
|
+
export type MethodContext = {
|
|
101
|
+
state: State;
|
|
102
|
+
};
|
|
103
|
+
import type { Baggage } from '@agoric/vat-data';
|
|
104
|
+
import type { SeatHandle } from '../internal-types.js';
|
|
105
|
+
import type { ZoeSeatAdmin } from '../internal-types.js';
|
|
106
|
+
import type { WeakMapStore } from '@agoric/store';
|
|
107
|
+
//# sourceMappingURL=instanceAdminStorage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instanceAdminStorage.d.ts","sourceRoot":"","sources":["instanceAdminStorage.js"],"names":[],"mappings":"AA0DO,kDADK,OAAO;;;;;;;;;;;;;;GA2DlB;AA0JM,mDAHI,OAAO,4BACP,aAAa,UAAU,EAAE,YAAY,CAAC,IAgCvC,mBAAc,EAAE,8BAAyB,EAAE,cAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQ7D;6BAvDY,QAAQ,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,OAAO,CAAC;CAC1B,CAAC;2BACQ;IACR,kBAAkB,EAAE,MAAM,EAAE,CAAC;CAC9B;oBACS,YAAY,GAAG,cAAc;4BAC7B;IACR,KAAK,EAAE,KAAK,CAAC;CACd;6BAjPsB,kBAAkB;gCAEf,sBAAsB;kCACpB,sBAAsB;kCAJtB,eAAe"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Create a purse for a new issuer
|
|
3
|
+
*/
|
|
4
|
+
export type CreatePurse = (issuer: Issuer, brand: Brand) => ERef<void>;
|
|
5
|
+
/**
|
|
6
|
+
* Create a purse for a new, local issuer. Used only for ZCFMint issuers.
|
|
7
|
+
*
|
|
8
|
+
* Note: in the case of the feeMint, it may have been registered
|
|
9
|
+
* before with `feeMintAccess`. In that case, we do not create a new
|
|
10
|
+
* purse, but reuse the existing purse.
|
|
11
|
+
*/
|
|
12
|
+
export type ProvideLocalPurse = (issuer: Issuer, brand: Brand) => Purse;
|
|
13
|
+
/**
|
|
14
|
+
* Deposits payments or promises for payments according to the
|
|
15
|
+
* `give` property of the proposal. Using the proposal, creates an
|
|
16
|
+
* initial allocation including the amount deposited for `give`
|
|
17
|
+
* keywords and an empty amount for `want` keywords.
|
|
18
|
+
*/
|
|
19
|
+
export type DepositPayments = (proposal: ProposalRecord, payments: PaymentPKeywordRecord) => Promise<Allocation>;
|
|
20
|
+
export type InitInstanceAdmin = (instance: Instance, InstanceAdmin: InstanceAdmin) => void;
|
|
21
|
+
export type GetInstanceAdmin = (instance: Instance) => InstanceAdmin;
|
|
22
|
+
export type DeleteInstanceAdmin = (instance: Instance) => void;
|
|
23
|
+
/**
|
|
24
|
+
* Assert the installation is known, and return the bundle/bundlecap and
|
|
25
|
+
* installation
|
|
26
|
+
*/
|
|
27
|
+
export type UnwrapInstallation = (installationP: ERef<Installation>) => ERef<{
|
|
28
|
+
bundle?: SourceBundle;
|
|
29
|
+
bundleCap?: BundleCap;
|
|
30
|
+
bundleID?: BundleID;
|
|
31
|
+
installation: Installation;
|
|
32
|
+
}>;
|
|
33
|
+
export type GetIssuerRecords = () => IssuerRecords;
|
|
34
|
+
export type ZoeInstanceStorageManager = {
|
|
35
|
+
getTerms: () => AnyTerms;
|
|
36
|
+
getIssuers: () => IssuerKeywordRecord;
|
|
37
|
+
getBrands: () => BrandKeywordRecord;
|
|
38
|
+
saveIssuer: ZCF["saveIssuer"];
|
|
39
|
+
makeZoeMint: MakeZoeMint;
|
|
40
|
+
registerFeeMint: RegisterFeeMint;
|
|
41
|
+
getInstanceRecord: () => InstanceRecord;
|
|
42
|
+
getIssuerRecords: GetIssuerRecords;
|
|
43
|
+
initInstanceAdmin: InitInstanceAdmin;
|
|
44
|
+
deleteInstanceAdmin: DeleteInstanceAdmin;
|
|
45
|
+
makeInvitation: ZoeInstanceAdminMakeInvitation;
|
|
46
|
+
getInvitationIssuer: () => Issuer;
|
|
47
|
+
/**
|
|
48
|
+
* of CreateVatResults
|
|
49
|
+
*/
|
|
50
|
+
getRoot: () => object;
|
|
51
|
+
/**
|
|
52
|
+
* of CreateVatResults
|
|
53
|
+
*/
|
|
54
|
+
getAdminNode: () => VatAdminFacet;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Create a storage manager for a particular contract instance. The
|
|
58
|
+
* ZoeInstanceStorageManager encapsulates access to the
|
|
59
|
+
* issuerStorage and escrowStorage from Zoe, and stores the
|
|
60
|
+
* instance-specific terms
|
|
61
|
+
*/
|
|
62
|
+
export type MakeZoeInstanceStorageManager = (installation: Installation, customTerms: object, uncleanIssuerKeywordRecord: IssuerKeywordRecord, instance: Instance, contractBundleCap: BundleCap, instanceLabel: string) => Promise<ZoeInstanceStorageManager>;
|
|
63
|
+
export type GetBundleCapForID = (id: BundleID) => Promise<BundleCap>;
|
|
64
|
+
export type ZoeStorageManager = {
|
|
65
|
+
makeZoeInstanceStorageManager: MakeZoeInstanceStorageManager;
|
|
66
|
+
getAssetKindByBrand: GetAssetKindByBrand;
|
|
67
|
+
depositPayments: DepositPayments;
|
|
68
|
+
invitationIssuer: Issuer<"set">;
|
|
69
|
+
installBundle: InstallBundle;
|
|
70
|
+
installBundleID: InstallBundleID;
|
|
71
|
+
getBundleIDFromInstallation: GetBundleIDFromInstallation;
|
|
72
|
+
getPublicFacet: GetPublicFacet;
|
|
73
|
+
getBrands: GetBrands;
|
|
74
|
+
getIssuers: GetIssuers;
|
|
75
|
+
getTerms: GetTerms;
|
|
76
|
+
getOfferFilter: (instance: Instance<any>) => string[];
|
|
77
|
+
setOfferFilter: (instance: Instance<any>, strings: string[]) => any;
|
|
78
|
+
getInstallationForInstance: (instance: Instance<any>) => Promise<Installation>;
|
|
79
|
+
getInstanceAdmin: GetInstanceAdmin;
|
|
80
|
+
unwrapInstallation: UnwrapInstallation;
|
|
81
|
+
getProposalShapeForInvitation: (invitationHandle: InvitationHandle) => Pattern | undefined;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Use VatAdminSvc to create a new vat, but only with the code of the
|
|
85
|
+
* ZCF bundle
|
|
86
|
+
*/
|
|
87
|
+
export type CreateZCFVat = (contractBundleCap: BundleCap, contractLabel: string) => Promise<CreateVatResults>;
|
|
88
|
+
export type GetFeeIssuerKit = (feeMintAccess: FeeMintAccess) => IssuerKit<"nat">;
|
|
89
|
+
import type { Issuer } from '@agoric/ertp';
|
|
90
|
+
import type { Brand } from '@agoric/ertp';
|
|
91
|
+
import type { ERef } from '@agoric/vow';
|
|
92
|
+
import type { Purse } from '@agoric/ertp';
|
|
93
|
+
import type { ProposalRecord } from '@agoric/zoe';
|
|
94
|
+
import type { PaymentPKeywordRecord } from './types.js';
|
|
95
|
+
import type { Allocation } from '../types-index.js';
|
|
96
|
+
import type { Instance } from '@agoric/zoe';
|
|
97
|
+
import type { InstanceAdmin } from '../internal-types.js';
|
|
98
|
+
import type { Installation } from '@agoric/zoe';
|
|
99
|
+
import type { SourceBundle } from './types.js';
|
|
100
|
+
import type { BundleCap } from '@agoric/swingset-vat';
|
|
101
|
+
import type { BundleID } from '@agoric/swingset-vat/src/controller/bundle-handler.js';
|
|
102
|
+
import type { IssuerRecords } from '../internal-types.js';
|
|
103
|
+
import type { AnyTerms } from '../types.js';
|
|
104
|
+
import type { IssuerKeywordRecord } from '@agoric/zoe';
|
|
105
|
+
import type { BrandKeywordRecord } from '../types.js';
|
|
106
|
+
import type { ZCF } from '@agoric/zoe';
|
|
107
|
+
import type { MakeZoeMint } from '../internal-types.js';
|
|
108
|
+
import type { RegisterFeeMint } from '../internal-types.js';
|
|
109
|
+
import type { InstanceRecord } from './utils.js';
|
|
110
|
+
import type { ZoeInstanceAdminMakeInvitation } from '../internal-types.js';
|
|
111
|
+
import type { VatAdminFacet } from '@agoric/swingset-vat';
|
|
112
|
+
import type { GetAssetKindByBrand } from '../internal-types.js';
|
|
113
|
+
import type { InstallBundle } from './types.js';
|
|
114
|
+
import type { InstallBundleID } from './types.js';
|
|
115
|
+
import type { GetBundleIDFromInstallation } from './types.js';
|
|
116
|
+
import type { GetPublicFacet } from './utils.js';
|
|
117
|
+
import type { GetBrands } from './types.js';
|
|
118
|
+
import type { GetIssuers } from './types.js';
|
|
119
|
+
import type { GetTerms } from './utils.js';
|
|
120
|
+
import type { InvitationHandle } from '../types.js';
|
|
121
|
+
import type { Pattern } from '@agoric/swingset-liveslots';
|
|
122
|
+
import type { CreateVatResults } from '@agoric/swingset-vat';
|
|
123
|
+
import type { FeeMintAccess } from './types.js';
|
|
124
|
+
import type { IssuerKit } from '@agoric/ertp';
|
|
125
|
+
//# sourceMappingURL=internal-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"internal-types.d.ts","sourceRoot":"","sources":["internal-types.js"],"names":[],"mappings":";;;mCA2BW,MAAM,SACN,KAAK,KACH,KAAK,IAAI,CAAC;;;;;;;;yCAWZ,MAAM,SACN,KAAK,KACH,KAAK;;;;;;;yCAUP,cAAc,YACd,qBAAqB,KACnB,OAAO,CAAC,UAAU,CAAC;2CAKrB,QAAQ,iBACR,aAAa,KACX,IAAI;0CAKN,QAAQ,KACN,aAAa;6CAKf,QAAQ,KACN,IAAI;;;;;iDASN,KAAK,YAAY,CAAC,KAChB,KAAK;IACb,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,YAAY,EAAC,YAAY,CAAA;CAC1B,CAAC;qCAMQ,aAAa;;cAKZ,MAAM,QAAQ;gBACd,MAAM,mBAAmB;eACzB,MAAM,kBAAkB;gBACxB,GAAG,CAAC,YAAY,CAAC;iBACjB,WAAW;qBACX,eAAe;uBACf,MAAM,cAAc;sBACpB,gBAAgB;uBAChB,iBAAiB;yBACjB,mBAAmB;oBACnB,8BAA8B;yBAC9B,MAAM,MAAM;;;;aACZ,MAAM,MAAM;;;;kBACZ,MAAM,aAAa;;;;;;;;2DAUtB,YAAY,eACZ,MAAM,8BACN,mBAAmB,YACnB,QAAQ,qBACR,SAAS,iBACT,MAAM,KACJ,OAAO,CAAC,yBAAyB,CAAC;qCAKpC,QAAQ,KACN,OAAO,CAAC,SAAS,CAAC;;mCAKjB,6BAA6B;yBAC7B,mBAAmB;qBACnB,eAAe;sBACf,OAAO,KAAK,CAAC;mBACb,aAAa;qBACb,eAAe;iCACf,2BAA2B;oBAC3B,cAAc;eACd,SAAS;gBACT,UAAU;cACV,QAAQ;oBACR,CAAC,QAAQ,EAAE,SAAS,GAAG,CAAC,KAAK,MAAM,EAAE;oBACrC,CAAC,QAAQ,EAAE,SAAS,GAAG,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,GAAG;gCACnD,CAAC,QAAQ,EAAE,SAAS,GAAG,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;sBAClD,gBAAgB;wBAChB,kBAAkB;mCAClB,CAAC,gBAAgB,EAAE,gBAAgB,KAAK,OAAO,GAAG,SAAS;;;;;;+CAQ9D,SAAS,iBACT,MAAM,KACJ,OAAO,CAAC,gBAAgB,CAAC;8CAK3B,aAAa,KACX,UAAU,KAAK,CAAC;4BA/JqB,cAAc;2BAAd,cAAc;0BAQzC,aAAa;2BARc,cAAc;oCAFmB,aAAa;2CANyD,YAAY;gCAexI,mBAAmB;8BATmC,aAAa;mCAKjB,sBAAsB;kCALlB,aAAa;kCANyD,YAAY;+BAE1H,sBAAsB;8BAYtC,uDAAuD;mCAHH,sBAAsB;8BAJpC,aAAa;yCADK,aAAa;wCAC/B,aAAa;yBADK,aAAa;iCAGlE,sBAAsB;qCAClB,sBAAsB;oCATvB,YAAY;oDAUkC,sBAAsB;mCAT1D,sBAAsB;yCAU3B,sBAAsB;mCAZ6F,YAAY;qCAAZ,YAAY;iDAAZ,YAAY;oCAGpI,YAAY;+BAH4G,YAAY;gCAAZ,YAAY;8BAI1I,YAAY;sCAG0B,aAAa;6BAMpD,4BAA4B;sCARnB,sBAAsB;mCALgG,YAAY;+BAQnH,cAAc"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export function makeInvitationQueryFns(invitationIssuer: any): {
|
|
2
|
+
getInstance: GetInstance;
|
|
3
|
+
getInstallation: GetInstallation;
|
|
4
|
+
getInvitationDetails: GetInvitationDetails;
|
|
5
|
+
};
|
|
6
|
+
import type { GetInstance } from './types.js';
|
|
7
|
+
import type { GetInstallation } from './types.js';
|
|
8
|
+
import type { GetInvitationDetails } from './types.js';
|
|
9
|
+
//# sourceMappingURL=invitationQueries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invitationQueries.d.ts","sourceRoot":"","sources":["invitationQueries.js"],"names":[],"mappings":"AASO;;;;EA+BN;iCAnC6B,YAAY;qCACR,YAAY;0CAFP,YAAY"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export function prepareInvitationKit(baggage: Baggage, shutdownZoeVat?: ShutdownWithFailure | undefined): {
|
|
2
|
+
invitationIssuer: import("@agoric/ertp").Issuer<"set", InvitationDetails>;
|
|
3
|
+
invitationKit: IssuerKit<"set", InvitationDetails>;
|
|
4
|
+
};
|
|
5
|
+
import type { Baggage } from '@agoric/vat-data';
|
|
6
|
+
import type { ShutdownWithFailure } from '@agoric/swingset-vat';
|
|
7
|
+
import type { InvitationDetails } from '../types-index.js';
|
|
8
|
+
import type { IssuerKit } from '@agoric/ertp';
|
|
9
|
+
//# sourceMappingURL=makeInvitation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"makeInvitation.d.ts","sourceRoot":"","sources":["makeInvitation.js"],"names":[],"mappings":"AAqBO,8CAHI,OAAO,mBACP,mBAAmB,GAAG,SAAS;;;EA+BzC;6BA5CyB,kBAAkB;yCACN,sBAAsB;uCACxB,mBAAmB;+BAC3B,cAAc"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export function burnInvitation<K extends AssetKind>(invitationIssuer: Issuer<K>, invitation: ERef<Payment<K>>): Promise<{
|
|
2
|
+
instanceHandle: Instance;
|
|
3
|
+
invitationHandle: InvitationHandle;
|
|
4
|
+
}>;
|
|
5
|
+
import type { AssetKind } from '@agoric/ertp';
|
|
6
|
+
import type { Issuer } from '@agoric/ertp';
|
|
7
|
+
import type { Payment } from '@agoric/ertp';
|
|
8
|
+
import type { ERef } from '@agoric/vow';
|
|
9
|
+
import type { Instance } from '@agoric/zoe';
|
|
10
|
+
import type { InvitationHandle } from '../zoe.js';
|
|
11
|
+
//# sourceMappingURL=burnInvitation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"burnInvitation.d.ts","sourceRoot":"","sources":["burnInvitation.js"],"names":[],"mappings":"AAwBO,+BARkB,CAAC,SAAb,SAAW,oBACb,OAAO,CAAC,CAAC,cACT,KAAK,QAAQ,CAAC,CAAC,CAAC,GACd,OAAO,CAAC;IAChB,cAAc,EAAE,QAAQ,CAAC;IACzB,gBAAgB,EAAE,gBAAgB,CAAC;CACpC,CAAC,CA0BJ;+BA5C2B,cAAc;4BAGjB,cAAc;6BACb,cAAc;0BACjB,aAAa;8BAHT,aAAa;sCADL,WAAW"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"offer.d.ts","sourceRoot":"","sources":["offer.js"],"names":[],"mappings":"AAaO,6DA0DN;2BA7DuB,aAAa"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export namespace coreUserSeatMethods {
|
|
2
|
+
let getProposal: import("@endo/patterns").MethodGuard;
|
|
3
|
+
let getPayouts: import("@endo/patterns").MethodGuard;
|
|
4
|
+
let getPayout: import("@endo/patterns").MethodGuard;
|
|
5
|
+
let getOfferResult: import("@endo/patterns").MethodGuard;
|
|
6
|
+
let hasExited: import("@endo/patterns").MethodGuard;
|
|
7
|
+
let numWantsSatisfied: import("@endo/patterns").MethodGuard;
|
|
8
|
+
let getFinalAllocation: import("@endo/patterns").MethodGuard;
|
|
9
|
+
let getExitSubscriber: import("@endo/patterns").MethodGuard;
|
|
10
|
+
}
|
|
11
|
+
export const ZoeUserSeatShape: import("@endo/patterns").InterfaceGuard<{
|
|
12
|
+
tryExit: import("@endo/patterns").MethodGuard;
|
|
13
|
+
getProposal: import("@endo/patterns").MethodGuard;
|
|
14
|
+
getPayouts: import("@endo/patterns").MethodGuard;
|
|
15
|
+
getPayout: import("@endo/patterns").MethodGuard;
|
|
16
|
+
getOfferResult: import("@endo/patterns").MethodGuard;
|
|
17
|
+
hasExited: import("@endo/patterns").MethodGuard;
|
|
18
|
+
numWantsSatisfied: import("@endo/patterns").MethodGuard;
|
|
19
|
+
getFinalAllocation: import("@endo/patterns").MethodGuard;
|
|
20
|
+
getExitSubscriber: import("@endo/patterns").MethodGuard;
|
|
21
|
+
}>;
|
|
22
|
+
export namespace OriginalZoeSeatIKit {
|
|
23
|
+
export let zoeSeatAdmin: import("@endo/patterns").InterfaceGuard<{
|
|
24
|
+
replaceAllocation: import("@endo/patterns").MethodGuard;
|
|
25
|
+
exit: import("@endo/patterns").MethodGuard;
|
|
26
|
+
fail: import("@endo/patterns").MethodGuard;
|
|
27
|
+
resolveExitAndResult: import("@endo/patterns").MethodGuard;
|
|
28
|
+
getExitSubscriber: import("@endo/patterns").MethodGuard;
|
|
29
|
+
finalPayouts: import("@endo/patterns").MethodGuard;
|
|
30
|
+
}>;
|
|
31
|
+
export { ZoeUserSeatShape as userSeat };
|
|
32
|
+
}
|
|
33
|
+
export function declareOldZoeSeatAdminKind(baggage: Baggage, makeDurablePublishKit: () => PublishKit<any>): void;
|
|
34
|
+
import type { Baggage } from '@agoric/vat-data';
|
|
35
|
+
import type { PublishKit } from '@agoric/notifier';
|
|
36
|
+
//# sourceMappingURL=originalZoeSeat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"originalZoeSeat.d.ts","sourceRoot":"","sources":["originalZoeSeat.js"],"names":[],"mappings":";;;;;;;;;;AAwCA;;;;;;;;;;GAGG;;;;;;;;;;;;AA+CI,oDAHI,OAAO,yBACP,MAAM,WAAW,GAAG,CAAC,QAoR/B;6BA3VyB,kBAAkB;gCACf,kBAAkB"}
|