@agoric/zoe 0.26.3-dev-fa844b5.0 → 0.26.3-dev-21fe8d9.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.
Files changed (216) hide show
  1. package/bundles/bundle-contractFacet-js-meta.json +84 -84
  2. package/bundles/bundle-contractFacet.d.ts +7 -0
  3. package/bundles/bundle-contractFacet.d.ts.map +1 -0
  4. package/package.json +15 -15
  5. package/src/cleanProposal.d.ts +9 -0
  6. package/src/cleanProposal.d.ts.map +1 -0
  7. package/src/contractFacet/allocationMath.d.ts +7 -0
  8. package/src/contractFacet/allocationMath.d.ts.map +1 -0
  9. package/src/contractFacet/evalContractCode.d.ts +2 -0
  10. package/src/contractFacet/evalContractCode.d.ts.map +1 -0
  11. package/src/contractFacet/exit.d.ts +2 -0
  12. package/src/contractFacet/exit.d.ts.map +1 -0
  13. package/src/contractFacet/internal-types.d.ts +8 -0
  14. package/src/contractFacet/internal-types.d.ts.map +1 -0
  15. package/src/contractFacet/offerHandlerStorage.d.ts +5 -0
  16. package/src/contractFacet/offerHandlerStorage.d.ts.map +1 -0
  17. package/src/contractFacet/offerSafety.d.ts +34 -0
  18. package/src/contractFacet/offerSafety.d.ts.map +1 -0
  19. package/src/contractFacet/reallocate.d.ts +3 -0
  20. package/src/contractFacet/reallocate.d.ts.map +1 -0
  21. package/src/contractFacet/rightsConservation.d.ts +12 -0
  22. package/src/contractFacet/rightsConservation.d.ts.map +1 -0
  23. package/src/contractFacet/vatRoot.d.ts +14 -0
  24. package/src/contractFacet/vatRoot.d.ts.map +1 -0
  25. package/src/contractFacet/zcfMint.d.ts +8 -0
  26. package/src/contractFacet/zcfMint.d.ts.map +1 -0
  27. package/src/contractFacet/zcfSeat.d.ts +3 -0
  28. package/src/contractFacet/zcfSeat.d.ts.map +1 -0
  29. package/src/contractFacet/zcfZygote.d.ts +2 -0
  30. package/src/contractFacet/zcfZygote.d.ts.map +1 -0
  31. package/src/contractSupport/atomicTransfer.d.ts +6 -0
  32. package/src/contractSupport/atomicTransfer.d.ts.map +1 -0
  33. package/src/contractSupport/bondingCurves.d.ts +6 -0
  34. package/src/contractSupport/bondingCurves.d.ts.map +1 -0
  35. package/src/contractSupport/durability.d.ts +5 -0
  36. package/src/contractSupport/durability.d.ts.map +1 -0
  37. package/src/contractSupport/index.d.ts +14 -0
  38. package/src/contractSupport/index.d.ts.map +1 -0
  39. package/src/contractSupport/prepare-ownable.d.ts +11 -0
  40. package/src/contractSupport/prepare-ownable.d.ts.map +1 -0
  41. package/src/contractSupport/priceAuthority.d.ts +27 -0
  42. package/src/contractSupport/priceAuthority.d.ts.map +1 -0
  43. package/src/contractSupport/priceAuthorityInitial.d.ts +2 -0
  44. package/src/contractSupport/priceAuthorityInitial.d.ts.map +1 -0
  45. package/src/contractSupport/priceAuthorityQuoteMint.d.ts +2 -0
  46. package/src/contractSupport/priceAuthorityQuoteMint.d.ts.map +1 -0
  47. package/src/contractSupport/priceAuthorityTransform.d.ts +14 -0
  48. package/src/contractSupport/priceAuthorityTransform.d.ts.map +1 -0
  49. package/src/contractSupport/priceQuote.d.ts +7 -0
  50. package/src/contractSupport/priceQuote.d.ts.map +1 -0
  51. package/src/contractSupport/ratio.d.ts +28 -0
  52. package/src/contractSupport/ratio.d.ts.map +1 -0
  53. package/src/contractSupport/recorder.d.ts +143 -0
  54. package/src/contractSupport/recorder.d.ts.map +1 -0
  55. package/src/contractSupport/safeMath.d.ts +11 -0
  56. package/src/contractSupport/safeMath.d.ts.map +1 -0
  57. package/src/contractSupport/stateMachine.d.ts +6 -0
  58. package/src/contractSupport/stateMachine.d.ts.map +1 -0
  59. package/src/contractSupport/statistics.d.ts +7 -0
  60. package/src/contractSupport/statistics.d.ts.map +1 -0
  61. package/src/contractSupport/topics.d.ts +22 -0
  62. package/src/contractSupport/topics.d.ts.map +1 -0
  63. package/src/contractSupport/types.d.ts +63 -0
  64. package/src/contractSupport/types.d.ts.map +1 -0
  65. package/src/contractSupport/zoeHelpers.d.ts +30 -0
  66. package/src/contractSupport/zoeHelpers.d.ts.map +1 -0
  67. package/src/contracts/atomicSwap.d.ts +16 -0
  68. package/src/contracts/atomicSwap.d.ts.map +1 -0
  69. package/src/contracts/auction/assertBidSeat.d.ts +2 -0
  70. package/src/contracts/auction/assertBidSeat.d.ts.map +1 -0
  71. package/src/contracts/auction/firstPriceLogic.d.ts +2 -0
  72. package/src/contracts/auction/firstPriceLogic.d.ts.map +1 -0
  73. package/src/contracts/auction/index.d.ts +78 -0
  74. package/src/contracts/auction/index.d.ts.map +1 -0
  75. package/src/contracts/auction/secondPriceLogic.d.ts +2 -0
  76. package/src/contracts/auction/secondPriceLogic.d.ts.map +1 -0
  77. package/src/contracts/automaticRefund.d.ts +25 -0
  78. package/src/contracts/automaticRefund.d.ts.map +1 -0
  79. package/src/contracts/autoswap.d.ts +43 -0
  80. package/src/contracts/autoswap.d.ts.map +1 -0
  81. package/src/contracts/barterExchange.d.ts +22 -0
  82. package/src/contracts/barterExchange.d.ts.map +1 -0
  83. package/src/contracts/callSpread/calculateShares.d.ts +2 -0
  84. package/src/contracts/callSpread/calculateShares.d.ts.map +1 -0
  85. package/src/contracts/callSpread/fundedCallSpread.d.ts +60 -0
  86. package/src/contracts/callSpread/fundedCallSpread.d.ts.map +1 -0
  87. package/src/contracts/callSpread/payoffHandler.d.ts +11 -0
  88. package/src/contracts/callSpread/payoffHandler.d.ts.map +1 -0
  89. package/src/contracts/callSpread/percent.d.ts +3 -0
  90. package/src/contracts/callSpread/percent.d.ts.map +1 -0
  91. package/src/contracts/callSpread/position.d.ts +10 -0
  92. package/src/contracts/callSpread/position.d.ts.map +1 -0
  93. package/src/contracts/callSpread/pricedCallSpread.d.ts +66 -0
  94. package/src/contracts/callSpread/pricedCallSpread.d.ts.map +1 -0
  95. package/src/contracts/callSpread/types.d.ts +30 -0
  96. package/src/contracts/callSpread/types.d.ts.map +1 -0
  97. package/src/contracts/coveredCall-durable.d.ts +21 -0
  98. package/src/contracts/coveredCall-durable.d.ts.map +1 -0
  99. package/src/contracts/coveredCall.d.ts +64 -0
  100. package/src/contracts/coveredCall.d.ts.map +1 -0
  101. package/src/contracts/exported.d.ts +2 -0
  102. package/src/contracts/exported.d.ts.map +1 -0
  103. package/src/contracts/loan/addCollateral.d.ts +3 -0
  104. package/src/contracts/loan/addCollateral.d.ts.map +1 -0
  105. package/src/contracts/loan/borrow.d.ts +3 -0
  106. package/src/contracts/loan/borrow.d.ts.map +1 -0
  107. package/src/contracts/loan/close.d.ts +3 -0
  108. package/src/contracts/loan/close.d.ts.map +1 -0
  109. package/src/contracts/loan/index.d.ts +64 -0
  110. package/src/contracts/loan/index.d.ts.map +1 -0
  111. package/src/contracts/loan/lend.d.ts +3 -0
  112. package/src/contracts/loan/lend.d.ts.map +1 -0
  113. package/src/contracts/loan/liquidate.d.ts +3 -0
  114. package/src/contracts/loan/liquidate.d.ts.map +1 -0
  115. package/src/contracts/loan/scheduleLiquidation.d.ts +3 -0
  116. package/src/contracts/loan/scheduleLiquidation.d.ts.map +1 -0
  117. package/src/contracts/loan/types.d.ts +161 -0
  118. package/src/contracts/loan/types.d.ts.map +1 -0
  119. package/src/contracts/loan/updateDebt.d.ts +11 -0
  120. package/src/contracts/loan/updateDebt.d.ts.map +1 -0
  121. package/src/contracts/mintAndSellNFT.d.ts +28 -0
  122. package/src/contracts/mintAndSellNFT.d.ts.map +1 -0
  123. package/src/contracts/mintPayments.d.ts +30 -0
  124. package/src/contracts/mintPayments.d.ts.map +1 -0
  125. package/src/contracts/oracle.d.ts +26 -0
  126. package/src/contracts/oracle.d.ts.map +1 -0
  127. package/src/contracts/otcDesk.d.ts +79 -0
  128. package/src/contracts/otcDesk.d.ts.map +1 -0
  129. package/src/contracts/priceAggregator.d.ts +107 -0
  130. package/src/contracts/priceAggregator.d.ts.map +1 -0
  131. package/src/contracts/priceAggregator.js +0 -1
  132. package/src/contracts/priceAggregatorTypes.d.ts +77 -0
  133. package/src/contracts/priceAggregatorTypes.d.ts.map +1 -0
  134. package/src/contracts/scaledPriceAuthority.d.ts +21 -0
  135. package/src/contracts/scaledPriceAuthority.d.ts.map +1 -0
  136. package/src/contracts/sellItems.d.ts +30 -0
  137. package/src/contracts/sellItems.d.ts.map +1 -0
  138. package/src/contracts/simpleExchange.d.ts +37 -0
  139. package/src/contracts/simpleExchange.d.ts.map +1 -0
  140. package/src/contracts/types.d.ts +80 -0
  141. package/src/contracts/types.d.ts.map +1 -0
  142. package/src/handleWarning.d.ts +3 -0
  143. package/src/handleWarning.d.ts.map +1 -0
  144. package/src/instanceRecordStorage.d.ts +2 -0
  145. package/src/instanceRecordStorage.d.ts.map +1 -0
  146. package/src/internal-types.d.ts +179 -0
  147. package/src/internal-types.d.ts.map +1 -0
  148. package/src/issuerRecord.d.ts +3 -0
  149. package/src/issuerRecord.d.ts.map +1 -0
  150. package/src/issuerStorage.d.ts +14 -0
  151. package/src/issuerStorage.d.ts.map +1 -0
  152. package/src/makeHandle.d.ts +4 -0
  153. package/src/makeHandle.d.ts.map +1 -0
  154. package/src/typeGuards.d.ts +169 -0
  155. package/src/typeGuards.d.ts.map +1 -0
  156. package/src/types.d.ts +46 -0
  157. package/src/types.d.ts.map +1 -0
  158. package/src/zoeService/createZCFVat.d.ts +2 -0
  159. package/src/zoeService/createZCFVat.d.ts.map +1 -0
  160. package/src/zoeService/escrowStorage.d.ts +7 -0
  161. package/src/zoeService/escrowStorage.d.ts.map +1 -0
  162. package/src/zoeService/feeMint.d.ts +23 -0
  163. package/src/zoeService/feeMint.d.ts.map +1 -0
  164. package/src/zoeService/installationStorage.d.ts +20 -0
  165. package/src/zoeService/installationStorage.d.ts.map +1 -0
  166. package/src/zoeService/instanceAdminStorage.d.ts +103 -0
  167. package/src/zoeService/instanceAdminStorage.d.ts.map +1 -0
  168. package/src/zoeService/internal-types.d.ts +90 -0
  169. package/src/zoeService/internal-types.d.ts.map +1 -0
  170. package/src/zoeService/invitationQueries.d.ts +6 -0
  171. package/src/zoeService/invitationQueries.d.ts.map +1 -0
  172. package/src/zoeService/makeInvitation.d.ts +5 -0
  173. package/src/zoeService/makeInvitation.d.ts.map +1 -0
  174. package/src/zoeService/offer/burnInvitation.d.ts +5 -0
  175. package/src/zoeService/offer/burnInvitation.d.ts.map +1 -0
  176. package/src/zoeService/offer/offer.d.ts +2 -0
  177. package/src/zoeService/offer/offer.d.ts.map +1 -0
  178. package/src/zoeService/originalZoeSeat.d.ts +34 -0
  179. package/src/zoeService/originalZoeSeat.d.ts.map +1 -0
  180. package/src/zoeService/startInstance.d.ts +4 -0
  181. package/src/zoeService/startInstance.d.ts.map +1 -0
  182. package/src/zoeService/types.d.ts +224 -0
  183. package/src/zoeService/types.d.ts.map +1 -0
  184. package/src/zoeService/utils.test-d.d.ts +2 -0
  185. package/src/zoeService/utils.test-d.d.ts.map +1 -0
  186. package/src/zoeService/zoe.d.ts +57 -0
  187. package/src/zoeService/zoe.d.ts.map +1 -0
  188. package/src/zoeService/zoe.js +0 -2
  189. package/src/zoeService/zoeSeat.d.ts +26 -0
  190. package/src/zoeService/zoeSeat.d.ts.map +1 -0
  191. package/src/zoeService/zoeStorageManager.d.ts +41 -0
  192. package/src/zoeService/zoeStorageManager.d.ts.map +1 -0
  193. package/tools/fakePriceAuthority.d.ts +30 -0
  194. package/tools/fakePriceAuthority.d.ts.map +1 -0
  195. package/tools/fakeVatAdmin.d.ts +103 -0
  196. package/tools/fakeVatAdmin.d.ts.map +1 -0
  197. package/tools/internal-types.d.ts +12 -0
  198. package/tools/internal-types.d.ts.map +1 -0
  199. package/tools/manualPriceAuthority.d.ts +21 -0
  200. package/tools/manualPriceAuthority.d.ts.map +1 -0
  201. package/tools/manualTimer.d.ts +44 -0
  202. package/tools/manualTimer.d.ts.map +1 -0
  203. package/tools/prepare-test-env-ava.d.ts +2 -0
  204. package/tools/prepare-test-env-ava.d.ts.map +1 -0
  205. package/tools/prepare-test-env.d.ts +2 -0
  206. package/tools/prepare-test-env.d.ts.map +1 -0
  207. package/tools/scriptedOracle.d.ts +27 -0
  208. package/tools/scriptedOracle.d.ts.map +1 -0
  209. package/tools/scriptedPriceAuthority.d.ts +2 -0
  210. package/tools/scriptedPriceAuthority.d.ts.map +1 -0
  211. package/tools/setup-zoe.d.ts +33 -0
  212. package/tools/setup-zoe.d.ts.map +1 -0
  213. package/tools/types-ambient.d.ts +142 -0
  214. package/tools/types-ambient.d.ts.map +1 -0
  215. package/tools/types.d.ts +142 -0
  216. package/tools/types.d.ts.map +1 -0
@@ -0,0 +1,169 @@
1
+ export const KeywordShape: import("@endo/patterns").Matcher;
2
+ export const InvitationHandleShape: import("@endo/patterns").Matcher;
3
+ export const InvitationShape: import("@endo/patterns").Matcher;
4
+ export const InstanceHandleShape: import("@endo/patterns").Matcher;
5
+ export const InstallationShape: import("@endo/patterns").Matcher;
6
+ export const SeatShape: import("@endo/patterns").Matcher;
7
+ export const AmountKeywordRecordShape: import("@endo/patterns").Matcher;
8
+ export const AmountPatternKeywordRecordShape: import("@endo/patterns").Matcher;
9
+ export const PaymentPKeywordRecordShape: import("@endo/patterns").Matcher;
10
+ export const IssuerKeywordRecordShape: import("@endo/patterns").Matcher;
11
+ export const IssuerPKeywordRecordShape: import("@endo/patterns").Matcher;
12
+ export const BrandKeywordRecordShape: import("@endo/patterns").Matcher;
13
+ export const IssuerRecordShape: import("@endo/patterns").Matcher;
14
+ export namespace TermsShape {
15
+ export { IssuerKeywordRecordShape as issuers };
16
+ export { BrandKeywordRecordShape as brands };
17
+ }
18
+ export namespace InstanceRecordShape {
19
+ export { InstallationShape as installation };
20
+ export { InstanceHandleShape as instance };
21
+ export let terms: import("@endo/patterns").Matcher;
22
+ }
23
+ export const HandleI: import("@endo/patterns").InterfaceGuard<{}>;
24
+ export function makeHandleShape(name: any): import("@endo/patterns").Matcher;
25
+ export const TimerShape: import("@endo/patterns").Matcher;
26
+ export namespace FullProposalShape {
27
+ export { AmountPatternKeywordRecordShape as want };
28
+ export { AmountKeywordRecordShape as give };
29
+ export let exit: import("@endo/patterns").Matcher;
30
+ }
31
+ /** @see {Proposal} type */
32
+ export const ProposalShape: import("@endo/patterns").Matcher;
33
+ export const EmptyProposalShape: import("@endo/patterns").Matcher;
34
+ export function isOnDemandExitRule(exit: any): boolean;
35
+ export function isWaivedExitRule(exit: ExitRule): exit is WaivedExitRule;
36
+ export function isAfterDeadlineExitRule(exit: ExitRule): exit is AfterDeadlineExitRule;
37
+ export const InvitationElementShape: import("@endo/patterns").Matcher;
38
+ export const OfferHandlerI: import("@endo/patterns").InterfaceGuard<{
39
+ handle: import("@endo/patterns").MethodGuard;
40
+ }>;
41
+ export const SeatHandleAllocationsShape: import("@endo/patterns").Matcher;
42
+ export const ZoeMintShape: import("@endo/patterns").Matcher;
43
+ export const ZoeMintI: import("@endo/patterns").InterfaceGuard<{
44
+ getIssuerRecord: import("@endo/patterns").MethodGuard;
45
+ mintAndEscrow: import("@endo/patterns").MethodGuard;
46
+ withdrawAndBurn: import("@endo/patterns").MethodGuard;
47
+ }>;
48
+ export const ZcfMintI: import("@endo/patterns").InterfaceGuard<{
49
+ getIssuerRecord: import("@endo/patterns").MethodGuard;
50
+ mintGains: import("@endo/patterns").MethodGuard;
51
+ burnLosses: import("@endo/patterns").MethodGuard;
52
+ }>;
53
+ export const FeeMintAccessShape: import("@endo/patterns").Matcher;
54
+ export const ExitObjectI: import("@endo/patterns").InterfaceGuard<{
55
+ exit: import("@endo/patterns").MethodGuard;
56
+ }>;
57
+ export const ExitObjectShape: import("@endo/patterns").Matcher;
58
+ export const InstanceAdminShape: import("@endo/patterns").Matcher;
59
+ export const InstanceAdminI: import("@endo/patterns").InterfaceGuard<{
60
+ makeInvitation: import("@endo/patterns").MethodGuard;
61
+ saveIssuer: import("@endo/patterns").MethodGuard;
62
+ makeNoEscrowSeat: import("@endo/patterns").MethodGuard;
63
+ exitAllSeats: import("@endo/patterns").MethodGuard;
64
+ failAllSeats: import("@endo/patterns").MethodGuard;
65
+ exitSeat: import("@endo/patterns").MethodGuard;
66
+ failSeat: import("@endo/patterns").MethodGuard;
67
+ makeZoeMint: import("@endo/patterns").MethodGuard;
68
+ registerFeeMint: import("@endo/patterns").MethodGuard;
69
+ replaceAllocations: import("@endo/patterns").MethodGuard;
70
+ stopAcceptingOffers: import("@endo/patterns").MethodGuard;
71
+ setOfferFilter: import("@endo/patterns").MethodGuard;
72
+ getOfferFilter: import("@endo/patterns").MethodGuard;
73
+ getExitSubscriber: import("@endo/patterns").MethodGuard;
74
+ isBlocked: import("@endo/patterns").MethodGuard;
75
+ repairContractCompletionWatcher: import("@endo/patterns").MethodGuard;
76
+ }>;
77
+ export namespace InstanceStorageManagerIKit {
78
+ let instanceStorageManager: import("@endo/patterns").InterfaceGuard<{
79
+ getTerms: import("@endo/patterns").MethodGuard;
80
+ getIssuers: import("@endo/patterns").MethodGuard;
81
+ getBrands: import("@endo/patterns").MethodGuard;
82
+ getInstallation: import("@endo/patterns").MethodGuard;
83
+ getInvitationIssuer: import("@endo/patterns").MethodGuard;
84
+ saveIssuer: import("@endo/patterns").MethodGuard;
85
+ makeZoeMint: import("@endo/patterns").MethodGuard;
86
+ registerFeeMint: import("@endo/patterns").MethodGuard;
87
+ getInstanceRecord: import("@endo/patterns").MethodGuard;
88
+ getIssuerRecords: import("@endo/patterns").MethodGuard;
89
+ getWithdrawFacet: import("@endo/patterns").MethodGuard;
90
+ initInstanceAdmin: import("@endo/patterns").MethodGuard;
91
+ deleteInstanceAdmin: import("@endo/patterns").MethodGuard;
92
+ makeInvitation: import("@endo/patterns").MethodGuard;
93
+ getRoot: import("@endo/patterns").MethodGuard;
94
+ getAdminNode: import("@endo/patterns").MethodGuard;
95
+ }>;
96
+ let withdrawFacet: import("@endo/patterns").InterfaceGuard<{
97
+ withdrawPayments: import("@endo/patterns").MethodGuard;
98
+ }>;
99
+ let helpers: import("@endo/patterns").InterfaceGuard<{
100
+ wrapIssuerKitWithZoeMint: import("@endo/patterns").MethodGuard;
101
+ }>;
102
+ }
103
+ export const BundleCapShape: import("@endo/patterns").Matcher;
104
+ export const BundleShape: import("@endo/patterns").Matcher;
105
+ export const UnwrappedInstallationShape: import("@endo/patterns").Matcher;
106
+ export namespace ZoeStorageManagerIKit {
107
+ let zoeServiceDataAccess: import("@endo/patterns").InterfaceGuard<{
108
+ getTerms: import("@endo/patterns").MethodGuard;
109
+ getIssuers: import("@endo/patterns").MethodGuard;
110
+ getBrands: import("@endo/patterns").MethodGuard;
111
+ getInstallation: import("@endo/patterns").MethodGuard;
112
+ getInvitationIssuer: import("@endo/patterns").MethodGuard;
113
+ getBundleIDFromInstallation: import("@endo/patterns").MethodGuard;
114
+ installBundle: import("@endo/patterns").MethodGuard;
115
+ installBundleID: import("@endo/patterns").MethodGuard;
116
+ getPublicFacet: import("@endo/patterns").MethodGuard;
117
+ getOfferFilter: import("@endo/patterns").MethodGuard;
118
+ getProposalShapeForInvitation: import("@endo/patterns").MethodGuard;
119
+ }>;
120
+ let makeOfferAccess: import("@endo/patterns").InterfaceGuard<{
121
+ getAssetKindByBrand: import("@endo/patterns").MethodGuard;
122
+ getInstanceAdmin: import("@endo/patterns").MethodGuard;
123
+ getProposalShapeForInvitation: import("@endo/patterns").MethodGuard;
124
+ getInvitationIssuer: import("@endo/patterns").MethodGuard;
125
+ depositPayments: import("@endo/patterns").MethodGuard;
126
+ }>;
127
+ let startInstanceAccess: import("@endo/patterns").InterfaceGuard<{
128
+ makeZoeInstanceStorageManager: import("@endo/patterns").MethodGuard;
129
+ unwrapInstallation: import("@endo/patterns").MethodGuard;
130
+ }>;
131
+ let invitationIssuerAccess: import("@endo/patterns").InterfaceGuard<{
132
+ getInvitationIssuer: import("@endo/patterns").MethodGuard;
133
+ }>;
134
+ }
135
+ export const ZoeServiceI: import("@endo/patterns").InterfaceGuard<{
136
+ install: import("@endo/patterns").MethodGuard;
137
+ installBundleID: import("@endo/patterns").MethodGuard;
138
+ startInstance: import("@endo/patterns").MethodGuard;
139
+ offer: import("@endo/patterns").MethodGuard;
140
+ getOfferFilter: import("@endo/patterns").MethodGuard;
141
+ getInvitationIssuer: import("@endo/patterns").MethodGuard;
142
+ getFeeIssuer: import("@endo/patterns").MethodGuard;
143
+ getBrands: import("@endo/patterns").MethodGuard;
144
+ getIssuers: import("@endo/patterns").MethodGuard;
145
+ getPublicFacet: import("@endo/patterns").MethodGuard;
146
+ getTerms: import("@endo/patterns").MethodGuard;
147
+ getInstallationForInstance: import("@endo/patterns").MethodGuard;
148
+ getBundleIDFromInstallation: import("@endo/patterns").MethodGuard;
149
+ getInstallation: import("@endo/patterns").MethodGuard;
150
+ getInstance: import("@endo/patterns").MethodGuard;
151
+ getConfiguration: import("@endo/patterns").MethodGuard;
152
+ getInvitationDetails: import("@endo/patterns").MethodGuard;
153
+ getProposalShapeForInvitation: import("@endo/patterns").MethodGuard;
154
+ }>;
155
+ export const AdminFacetI: import("@endo/patterns").InterfaceGuard<{
156
+ getVatShutdownPromise: import("@endo/patterns").MethodGuard;
157
+ restartContract: import("@endo/patterns").MethodGuard;
158
+ upgradeContract: import("@endo/patterns").MethodGuard;
159
+ }>;
160
+ export const SeatDataShape: import("@endo/patterns").Matcher;
161
+ export const HandleOfferI: import("@endo/patterns").InterfaceGuard<{
162
+ handleOffer: import("@endo/patterns").MethodGuard;
163
+ }>;
164
+ export namespace PriceQuoteShape {
165
+ export { AmountShape as quoteAmount };
166
+ export let quotePayment: any;
167
+ }
168
+ import { AmountShape } from '@agoric/ertp';
169
+ //# sourceMappingURL=typeGuards.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typeGuards.d.ts","sourceRoot":"","sources":["typeGuards.js"],"names":[],"mappings":"AAgBA,4DAAuC;AAEvC,qEAAqE;AACrE,+DAAyD;AACzD,mEAAiE;AACjE,iEAA6D;AAC7D,yDAA6C;AAE7C,wEAA8E;AAC9E,+EAGE;AACF,0EAGE;AACF,wEAA8E;AAC9E,yEAGE;AACF,uEAA4E;AAE5E,iEAOE;;;;;;;;;;AAaF,kEAAiD;AAE1C,6EAA4D;AACnE,0DAAmD;;;;;;AA0BnD,2BAA2B;AAC3B,6DAAsE;AAEtE,kEAIG;AAEI,uDAGN;AAMM,uCAHI,QAAQ,0BAMlB;AAMM,8CAHI,QAAQ,iCAMlB;AAED,sEAKG;AAEH;;GAEG;AAEH,0EAKE;AAEF,4DAAmD;AACnD;;;;GAIG;AAEH;;;;GASG;AAEH,kEAA+D;AAE/D;;GAEG;AAEH,+DAAsD;AACtD,kEAA+D;AAC/D;;;;;;;;;;;;;;;;;GAkCG;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDH,8DAAuD;AACvD,2DAGE;AAEF,0EAUE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8DF;;;;;;;;;;;;;;;;;;;GA6CG;AAEH;;;;GAIG;AAEH,6DASE;AAEF;;GAKG;;;;;4BAjYI,cAAc"}
package/src/types.d.ts ADDED
@@ -0,0 +1,46 @@
1
+ /**
2
+ * A type constructor for an opaque type
3
+ * identified by the H string. This uses an intersection type
4
+ * ('MyHandle' & {}) to tag the handle's type even though the actual
5
+ * value is just an empty object.
6
+ */
7
+ type Handle<H extends string> = H & typeof import("@endo/marshal").Remotable;
8
+ type Keyword = string;
9
+ /**
10
+ * - an opaque handle for an invitation
11
+ */
12
+ type InvitationHandle = Handle<'Invitation'>;
13
+ type IssuerKeywordRecord = Record<Keyword, Issuer<any>>;
14
+ type IssuerPKeywordRecord = {
15
+ [x: string]: ERef<globalThis.Issuer<any>>;
16
+ };
17
+ type BrandKeywordRecord = Record<Keyword, Brand<any>>;
18
+ type StandardTerms = {
19
+ /**
20
+ * - record with
21
+ * keywords keys, issuer values
22
+ */
23
+ issuers: IssuerKeywordRecord;
24
+ /**
25
+ * - record with keywords
26
+ * keys, brand values
27
+ */
28
+ brands: BrandKeywordRecord;
29
+ };
30
+ type AnyTerms = StandardTerms & Record<string, any>;
31
+ type InstanceRecord = {
32
+ installation: Installation;
33
+ instance: import("./zoeService/utils.js").Instance<any>;
34
+ /**
35
+ * - contract parameters
36
+ */
37
+ terms: AnyTerms;
38
+ };
39
+ type IssuerRecord<K extends globalThis.AssetKind = globalThis.AssetKind> = {
40
+ brand: Brand<K>;
41
+ issuer: Issuer<K>;
42
+ assetKind: K;
43
+ displayInfo?: globalThis.DisplayInfo<K> | undefined;
44
+ };
45
+ type Allocation<K extends globalThis.AssetKind = globalThis.AssetKind> = AmountKeywordRecord;
46
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.js"],"names":[],"mappings":";;;;;;gCAMa,CAAC,2CAAoC;eAOrC,MAAM;;;;wBACN,OAAO,YAAY,CAAC;2BACpB,OAAO,OAAO,EAAE,OAAO,GAAG,CAAC,CAAC;;;;0BAE5B,OAAO,OAAO,EAAE,MAAM,GAAG,CAAC,CAAC;;;;;;aAK1B,mBAAmB;;;;;YAEnB,kBAAkB;;gBAGnB,aAAa,GAAG,OAAO,MAAM,EAAE,GAAG,CAAC;;kBAGlC,YAAY;cACZ,OAAO,uBAAuB,EAAE,QAAQ,CAAC,GAAG,CAAC;;;;WAC7C,QAAQ;;;WAMR,MAAM,CAAC,CAAC;YACR,OAAO,CAAC,CAAC;eACT,CAAC;;;yEAGF,mBAAmB"}
@@ -0,0 +1,2 @@
1
+ export function getZcfBundleCap(zcfSpec: any, vatAdminSvc: any): any;
2
+ //# sourceMappingURL=createZCFVat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createZCFVat.d.ts","sourceRoot":"","sources":["createZCFVat.js"],"names":[],"mappings":"AAMO,qEAcN"}
@@ -0,0 +1,7 @@
1
+ export function provideEscrowStorage(baggage: import('@agoric/vat-data').Baggage): {
2
+ createPurse: CreatePurse;
3
+ provideLocalPurse: ProvideLocalPurse;
4
+ withdrawPayments: WithdrawPayments;
5
+ depositPayments: DepositPayments;
6
+ };
7
+ //# sourceMappingURL=escrowStorage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"escrowStorage.d.ts","sourceRoot":"","sources":["escrowStorage.js"],"names":[],"mappings":"AAiBO,8CAFI,OAAO,kBAAkB,EAAE,OAAO;;;;;EA8G5C"}
@@ -0,0 +1,23 @@
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 {import('@agoric/vat-data').Baggage} zoeBaggage
12
+ * @param {FeeIssuerConfig} feeIssuerConfig
13
+ * @param {import('@agoric/swingset-vat').ShutdownWithFailure} shutdownZoeVat
14
+ */
15
+ export function prepareFeeMint(zoeBaggage: import('@agoric/vat-data').Baggage, feeIssuerConfig: FeeIssuerConfig, shutdownZoeVat: import('@agoric/swingset-vat').ShutdownWithFailure): import("@endo/exo").GuardedKit<{
16
+ feeMint: {
17
+ getFeeIssuerKit(allegedFeeMintAccess: any): globalThis.IssuerKit<"nat">;
18
+ getFeeIssuer(): globalThis.Issuer<"nat">;
19
+ getFeeBrand(): globalThis.Brand<"nat">;
20
+ };
21
+ feeMintAccess: {};
22
+ }>;
23
+ //# sourceMappingURL=feeMint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feeMint.d.ts","sourceRoot":"","sources":["feeMint.js"],"names":[],"mappings":";;;;;;;;;AA4BA;;;;GAIG;AACH,2CAJW,OAAO,kBAAkB,EAAE,OAAO,mBAClC,eAAe,kBACf,OAAO,sBAAsB,EAAE,mBAAmB;;;;;;;GA2D5D"}
@@ -0,0 +1,20 @@
1
+ export function makeInstallationStorage(getBundleCapForID: GetBundleCapForID, zoeBaggage: Baggage): import("@endo/exo").Guarded<{
2
+ installBundle(allegedBundle: any, bundleLabel: any): 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): any;
16
+ }>;
17
+ export type BundleCap = import('@agoric/swingset-vat').BundleCap;
18
+ export type BundleID = import('@agoric/swingset-vat').BundleID;
19
+ import type { Baggage } from '@agoric/vat-data';
20
+ //# sourceMappingURL=installationStorage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"installationStorage.d.ts","sourceRoot":"","sources":["installationStorage.js"],"names":[],"mappings":"AAuBO,2DAHI,iBAAiB;;;;;;;;;;;;;;;GAgJ3B;wBArJc,OAAO,sBAAsB,EAAE,SAAS;uBACxC,OAAO,sBAAsB,EAAE,QAAQ;6BAC3B,kBAAkB"}
@@ -0,0 +1,103 @@
1
+ export function makeInstanceAdminStorage(baggage: import('@agoric/vat-data').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<any>;
13
+ deleteInstanceAdmin(instance: any): any;
14
+ };
15
+ }>;
16
+ export function makeInstanceAdminMaker(zoeBaggage: import('@agoric/vat-data').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
+ //# sourceMappingURL=instanceAdminStorage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instanceAdminStorage.d.ts","sourceRoot":"","sources":["instanceAdminStorage.js"],"names":[],"mappings":"AAoDO,kDADK,OAAO,kBAAkB,EAAE,OAAO;;;;;;;;;;;;;;GA2D7C;AA0JM,mDAHI,OAAO,kBAAkB,EAAE,OAAO,4BAClC,aAAa,UAAU,EAAE,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwChD;6BAvDY,SAAS;IACrB,WAAe,EAAE,OAAO,CAAC;IACzB,eAAmB,EAAE,OAAO,CAAC;CAC1B,CAAC;2BACQ;IACZ,kBAAsB,EAAE,MAAM,EAAE,CAAC;CAC9B;oBACS,YAAY,GAAG,cAAc;4BAC7B;IACZ,KAAS,EAAE,KAAK,CAAC;CACd"}
@@ -0,0 +1,90 @@
1
+ /**
2
+ * Create a purse for a new issuer
3
+ */
4
+ 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
+ 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
+ type DepositPayments = (proposal: ProposalRecord, payments: PaymentPKeywordRecord) => Promise<Allocation>;
20
+ type InitInstanceAdmin = (instance: Instance, InstanceAdmin: InstanceAdmin) => void;
21
+ type GetInstanceAdmin = (instance: Instance) => InstanceAdmin;
22
+ type DeleteInstanceAdmin = (instance: Instance) => void;
23
+ /**
24
+ * Assert the installation is known, and return the bundle/bundlecap and
25
+ * installation
26
+ */
27
+ type UnwrapInstallation = (installationP: ERef<Installation<any>>) => ERef<{
28
+ bundle?: SourceBundle | undefined;
29
+ bundleCap?: any;
30
+ bundleID?: string | undefined;
31
+ installation: Installation;
32
+ }>;
33
+ type GetIssuerRecords = () => IssuerRecords;
34
+ type ZoeInstanceStorageManager = {
35
+ getTerms: InstanceStateGetTerms;
36
+ getIssuers: InstanceRecordGetIssuers;
37
+ getBrands: InstanceRecordGetBrands;
38
+ saveIssuer: ZCF['saveIssuer'];
39
+ makeZoeMint: MakeZoeMint;
40
+ registerFeeMint: RegisterFeeMint;
41
+ getInstanceRecord: GetInstanceRecord;
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: () => import('@agoric/swingset-vat').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
+ type MakeZoeInstanceStorageManager = (instanceBaggage: import('@agoric/vat-data').Baggage, installation: Installation, customTerms: object, uncleanIssuerKeywordRecord: IssuerKeywordRecord, instance: Instance, contractBundleCap: any, instanceLabel: string) => Promise<ZoeInstanceStorageManager>;
63
+ type GetBundleCapForID = (id: string) => Promise<any>;
64
+ type GetProposalShapeForInvitation = (invitationHandle: InvitationHandle) => Pattern | undefined;
65
+ type ZoeStorageManager = {
66
+ makeZoeInstanceStorageManager: MakeZoeInstanceStorageManager;
67
+ getAssetKindByBrand: GetAssetKindByBrand;
68
+ depositPayments: DepositPayments;
69
+ invitationIssuer: Issuer<'set'>;
70
+ installBundle: InstallBundle;
71
+ installBundleID: InstallBundleID;
72
+ getBundleIDFromInstallation: GetBundleIDFromInstallation;
73
+ getPublicFacet: import('./utils.js').GetPublicFacet;
74
+ getBrands: GetBrands;
75
+ getIssuers: GetIssuers;
76
+ getTerms: import('./utils.js').GetTerms;
77
+ getOfferFilter: GetOfferFilter;
78
+ setOfferFilter: SetOfferFilter;
79
+ getInstallationForInstance: GetInstallationForInstance;
80
+ getInstanceAdmin: GetInstanceAdmin;
81
+ unwrapInstallation: UnwrapInstallation;
82
+ getProposalShapeForInvitation: GetProposalShapeForInvitation;
83
+ };
84
+ /**
85
+ * Use VatAdminSvc to create a new vat, but only with the code of the
86
+ * ZCF bundle
87
+ */
88
+ type CreateZCFVat = (contractBundleCap: any, contractLabel: string) => Promise<import('@agoric/swingset-vat').CreateVatResults>;
89
+ type GetFeeIssuerKit = (feeMintAccess: FeeMintAccess) => IssuerKit<'nat'>;
90
+ //# sourceMappingURL=internal-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internal-types.d.ts","sourceRoot":"","sources":["internal-types.js"],"names":[],"mappings":";;;4BAMW,MAAM,SACN,KAAK;;;;;;;;kCAYL,MAAM,SACN,KAAK,KACH,KAAK;;;;;;;kCAUP,cAAc,YACd,qBAAqB,KACnB,QAAQ,UAAU,CAAC;oCAKrB,QAAQ,iBACR,aAAa,KACX,IAAI;mCAKN,QAAQ,KACN,aAAa;sCAKf,QAAQ,KACN,IAAI;;;;;;;;;kBAcC,YAAY;;;;cAYhB,qBAAqB;gBACrB,wBAAwB;eACxB,uBAAuB;gBACvB,GAAG,CAAC,YAAY,CAAC;iBACjB,WAAW;qBACX,eAAe;uBACf,iBAAiB;sBACjB,gBAAgB;uBAChB,iBAAiB;yBACjB,mBAAmB;oBACnB,8BAA8B;yBAC9B,MAAM,MAAM;;;;aACZ,MAAM,MAAM;;;;kBACZ,MAAM,OAAO,sBAAsB,EAAE,aAAa;;;;;;;;uDAUrD,OAAO,kBAAkB,EAAE,OAAO,gBAClC,YAAY,eACZ,MAAM,8BACN,mBAAmB,YACnB,QAAQ,yCAER,MAAM,KACJ,QAAQ,yBAAyB,CAAC;;wDAWpC,gBAAgB,KACd,OAAO,GAAG,SAAS;;mCAKlB,6BAA6B;yBAC7B,mBAAmB;qBACnB,eAAe;sBACf,OAAO,KAAK,CAAC;mBACb,aAAa;qBACb,eAAe;iCACf,2BAA2B;oBAC3B,OAAO,YAAY,EAAE,cAAc;eACnC,SAAS;gBACT,UAAU;cACV,OAAO,YAAY,EAAE,QAAQ;oBAC7B,cAAc;oBACd,cAAc;gCACd,0BAA0B;sBAC1B,gBAAgB;wBAChB,kBAAkB;mCAClB,6BAA6B;;;;;;4DAShC,MAAM,KACJ,QAAQ,OAAO,sBAAsB,EAAE,gBAAgB,CAAC;uCAK1D,aAAa,KACX,UAAU,KAAK,CAAC"}
@@ -0,0 +1,6 @@
1
+ export function makeInvitationQueryFns(invitationIssuer: any): {
2
+ getInstance: GetInstance;
3
+ getInstallation: GetInstallation;
4
+ getInvitationDetails: GetInvitationDetails;
5
+ };
6
+ //# sourceMappingURL=invitationQueries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invitationQueries.d.ts","sourceRoot":"","sources":["invitationQueries.js"],"names":[],"mappings":"AAKO;;;;EA+BN"}
@@ -0,0 +1,5 @@
1
+ export function prepareInvitationKit(baggage: import('@agoric/vat-data').Baggage, shutdownZoeVat?: import('@agoric/swingset-vat').ShutdownWithFailure | undefined): {
2
+ invitationIssuer: globalThis.Issuer<"set">;
3
+ invitationKit: globalThis.IssuerKit<"set">;
4
+ };
5
+ //# sourceMappingURL=makeInvitation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"makeInvitation.d.ts","sourceRoot":"","sources":["makeInvitation.js"],"names":[],"mappings":"AAgBO,8CAHI,OAAO,kBAAkB,EAAE,OAAO,mBAClC,OAAO,sBAAsB,EAAE,mBAAmB,GAAG,SAAS;;;EA6BxE"}
@@ -0,0 +1,5 @@
1
+ export function burnInvitation(invitationIssuer: Issuer, invitation: ERef<globalThis.Payment>): Promise<{
2
+ instanceHandle: Instance;
3
+ invitationHandle: InvitationHandle;
4
+ }>;
5
+ //# sourceMappingURL=burnInvitation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"burnInvitation.d.ts","sourceRoot":"","sources":["burnInvitation.js"],"names":[],"mappings":"AAgBO,iDAPI,MAAM,yCAEJ,QAAQ;IACpB,cAAkB,EAAE,QAAQ,CAAC;IAC7B,gBAAoB,EAAE,gBAAgB,CAAC;CACpC,CAAC,CA4BJ"}
@@ -0,0 +1,2 @@
1
+ export function makeOfferMethod(offerDataAccess: any): Offer;
2
+ //# sourceMappingURL=offer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"offer.d.ts","sourceRoot":"","sources":["offer.js"],"names":[],"mappings":"AAgBO,6DA0DN"}
@@ -0,0 +1,34 @@
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: import('@agoric/vat-data').Baggage, makeDurablePublishKit: () => PublishKit<any>): void;
34
+ //# sourceMappingURL=originalZoeSeat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"originalZoeSeat.d.ts","sourceRoot":"","sources":["originalZoeSeat.js"],"names":[],"mappings":";;;;;;;;;;AA8BA;;;;;;;;;;GAGG;;;;;;;;;;;;AA+CI,oDAHI,OAAO,kBAAkB,EAAE,OAAO,yBAClC,MAAM,WAAW,GAAG,CAAC,QAiR/B"}
@@ -0,0 +1,4 @@
1
+ export function makeStartInstance(startInstanceAccess: Pick<ZoeStorageManager, 'makeZoeInstanceStorageManager' | 'unwrapInstallation'>, getZcfBundleCapP: () => any, getBundleCapByIdNow: (id: string) => BundleCap, zoeBaggage: Baggage): import('./utils.js').StartInstance;
2
+ export type BundleCap = import('@agoric/swingset-vat').BundleCap;
3
+ import type { Baggage } from '@agoric/vat-data';
4
+ //# sourceMappingURL=startInstance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"startInstance.d.ts","sourceRoot":"","sources":["startInstance.js"],"names":[],"mappings":"AAoCO,uDANI,KAAK,iBAAiB,EAAE,+BAA+B,GAAG,oBAAoB,CAAC,oDAE/E,CAAC,EAAE,EAAE,MAAM,KAAK,SAAS,wBAEvB,OAAO,YAAY,EAAE,aAAa,CAiW9C;wBA1Wc,OAAO,sBAAsB,EAAE,SAAS;6BAD5B,kBAAkB"}