@fairmint/open-captable-protocol-daml-js 0.3.3 → 0.3.5

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 (269) hide show
  1. package/lib/DA/Internal/Template/module.d.ts +4 -6
  2. package/lib/DA/Internal/Template/module.js +7 -7
  3. package/lib/DA/Set/Types/index.js +1 -0
  4. package/lib/DA/Set/Types/module.d.ts +6 -7
  5. package/lib/DA/Set/Types/module.js +15 -11
  6. package/lib/DA/Set/index.d.ts +2 -1
  7. package/lib/DA/Set/index.js +2 -0
  8. package/lib/DA/Time/Types/index.js +1 -0
  9. package/lib/DA/Time/Types/module.d.ts +5 -7
  10. package/lib/DA/Time/Types/module.js +10 -8
  11. package/lib/DA/Time/index.d.ts +2 -1
  12. package/lib/DA/Time/index.js +2 -0
  13. package/lib/DA/Types/index.js +1 -0
  14. package/lib/DA/Types/module.d.ts +305 -344
  15. package/lib/DA/Types/module.js +689 -431
  16. package/lib/Fairmint/OpenCapTable/CapTable/index.js +1 -0
  17. package/lib/Fairmint/OpenCapTable/CapTable/module.d.ts +336 -358
  18. package/lib/Fairmint/OpenCapTable/CapTable/module.js +1286 -406
  19. package/lib/Fairmint/OpenCapTable/IssuerAuthorization/index.js +1 -0
  20. package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.d.ts +21 -25
  21. package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +71 -59
  22. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/index.js +1 -0
  23. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.d.ts +17 -22
  24. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.js +49 -40
  25. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/index.js +1 -0
  26. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.d.ts +20 -25
  27. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.js +55 -43
  28. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/index.js +1 -0
  29. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.d.ts +23 -28
  30. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.js +61 -46
  31. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/index.js +1 -0
  32. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.d.ts +42 -50
  33. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.js +97 -68
  34. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/index.js +1 -0
  35. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.d.ts +18 -23
  36. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.js +51 -41
  37. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/index.js +1 -0
  38. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.d.ts +21 -26
  39. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.js +57 -44
  40. package/lib/Fairmint/OpenCapTable/OCF/Document/index.js +1 -0
  41. package/lib/Fairmint/OpenCapTable/OCF/Document/module.d.ts +39 -51
  42. package/lib/Fairmint/OpenCapTable/OCF/Document/module.js +134 -64
  43. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/index.js +1 -0
  44. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.d.ts +17 -22
  45. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.js +49 -40
  46. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/index.js +1 -0
  47. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.d.ts +20 -25
  48. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.js +55 -43
  49. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/index.js +1 -0
  50. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.d.ts +20 -25
  51. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.js +55 -43
  52. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/index.js +1 -0
  53. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.d.ts +34 -39
  54. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.js +83 -57
  55. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/index.js +1 -0
  56. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.d.ts +22 -27
  57. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.js +59 -45
  58. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/index.js +1 -0
  59. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.d.ts +18 -23
  60. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.js +51 -41
  61. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/index.js +1 -0
  62. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.d.ts +18 -23
  63. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.js +51 -41
  64. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/index.js +1 -0
  65. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.d.ts +21 -26
  66. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.js +57 -44
  67. package/lib/Fairmint/OpenCapTable/OCF/Issuer/index.js +1 -0
  68. package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.d.ts +26 -31
  69. package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.js +67 -49
  70. package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/index.js +1 -0
  71. package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.d.ts +20 -25
  72. package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.js +55 -43
  73. package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/index.js +1 -0
  74. package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.d.ts +54 -76
  75. package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.js +132 -95
  76. package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/index.js +1 -0
  77. package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.d.ts +19 -24
  78. package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.js +53 -42
  79. package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/index.js +1 -0
  80. package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.d.ts +18 -23
  81. package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.js +51 -41
  82. package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/index.js +1 -0
  83. package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.d.ts +17 -22
  84. package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.js +49 -40
  85. package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/index.js +1 -0
  86. package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.d.ts +20 -25
  87. package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.js +55 -43
  88. package/lib/Fairmint/OpenCapTable/OCF/StockClass/index.js +1 -0
  89. package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.d.ts +28 -33
  90. package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.js +71 -51
  91. package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/index.js +1 -0
  92. package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.d.ts +20 -25
  93. package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.js +55 -43
  94. package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/index.js +1 -0
  95. package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.d.ts +18 -23
  96. package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.js +51 -41
  97. package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/index.js +1 -0
  98. package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.d.ts +18 -23
  99. package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.js +51 -41
  100. package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/index.js +1 -0
  101. package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.d.ts +19 -24
  102. package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.js +53 -42
  103. package/lib/Fairmint/OpenCapTable/OCF/StockConversion/index.js +1 -0
  104. package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.d.ts +20 -25
  105. package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.js +55 -43
  106. package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/index.js +1 -0
  107. package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.d.ts +35 -44
  108. package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.js +88 -60
  109. package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/index.js +1 -0
  110. package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.d.ts +17 -22
  111. package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.js +49 -40
  112. package/lib/Fairmint/OpenCapTable/OCF/StockPlan/index.js +1 -0
  113. package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.d.ts +23 -32
  114. package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.js +66 -48
  115. package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/index.js +1 -0
  116. package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.d.ts +20 -25
  117. package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.js +55 -43
  118. package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/index.js +1 -0
  119. package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.d.ts +20 -25
  120. package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.js +55 -43
  121. package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/index.js +1 -0
  122. package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.d.ts +20 -25
  123. package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.js +55 -43
  124. package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/index.js +1 -0
  125. package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.d.ts +21 -26
  126. package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.js +57 -44
  127. package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/index.js +1 -0
  128. package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.d.ts +18 -23
  129. package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.js +51 -41
  130. package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/index.js +1 -0
  131. package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.d.ts +21 -26
  132. package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.js +57 -44
  133. package/lib/Fairmint/OpenCapTable/OCF/Valuation/index.js +1 -0
  134. package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.d.ts +24 -33
  135. package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.js +65 -49
  136. package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/index.js +1 -0
  137. package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.d.ts +19 -24
  138. package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.js +53 -42
  139. package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/index.js +1 -0
  140. package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.d.ts +18 -23
  141. package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.js +51 -41
  142. package/lib/Fairmint/OpenCapTable/OCF/VestingStart/index.js +1 -0
  143. package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.d.ts +18 -23
  144. package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.js +51 -41
  145. package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/index.js +1 -0
  146. package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.d.ts +86 -119
  147. package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.js +252 -157
  148. package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/index.js +1 -0
  149. package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.d.ts +17 -22
  150. package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.js +49 -40
  151. package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/index.js +1 -0
  152. package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.d.ts +20 -25
  153. package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.js +55 -43
  154. package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/index.js +1 -0
  155. package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.d.ts +21 -26
  156. package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.js +57 -44
  157. package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/index.js +1 -0
  158. package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.d.ts +31 -36
  159. package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.js +77 -54
  160. package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/index.js +1 -0
  161. package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.d.ts +18 -23
  162. package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.js +51 -41
  163. package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/index.js +1 -0
  164. package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.d.ts +21 -26
  165. package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.js +57 -44
  166. package/lib/Fairmint/OpenCapTable/OCF/index.d.ts +49 -48
  167. package/lib/Fairmint/OpenCapTable/OCF/index.js +49 -47
  168. package/lib/Fairmint/OpenCapTable/OcpFactory/index.js +1 -0
  169. package/lib/Fairmint/OpenCapTable/OcpFactory/module.d.ts +15 -18
  170. package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +50 -41
  171. package/lib/Fairmint/OpenCapTable/Types/Contact/index.js +1 -0
  172. package/lib/Fairmint/OpenCapTable/Types/Contact/module.d.ts +14 -27
  173. package/lib/Fairmint/OpenCapTable/Types/Contact/module.js +40 -26
  174. package/lib/Fairmint/OpenCapTable/Types/Conversion/index.js +1 -0
  175. package/lib/Fairmint/OpenCapTable/Types/Conversion/module.d.ts +252 -361
  176. package/lib/Fairmint/OpenCapTable/Types/Conversion/module.js +602 -396
  177. package/lib/Fairmint/OpenCapTable/Types/Core/index.js +1 -0
  178. package/lib/Fairmint/OpenCapTable/Types/Core/module.d.ts +13 -18
  179. package/lib/Fairmint/OpenCapTable/Types/Core/module.js +25 -20
  180. package/lib/Fairmint/OpenCapTable/Types/Monetary/index.js +1 -0
  181. package/lib/Fairmint/OpenCapTable/Types/Monetary/module.d.ts +23 -35
  182. package/lib/Fairmint/OpenCapTable/Types/Monetary/module.js +52 -37
  183. package/lib/Fairmint/OpenCapTable/Types/Stakeholder/index.js +1 -0
  184. package/lib/Fairmint/OpenCapTable/Types/Stakeholder/module.d.ts +4 -7
  185. package/lib/Fairmint/OpenCapTable/Types/Stakeholder/module.js +19 -4
  186. package/lib/Fairmint/OpenCapTable/Types/Stock/index.js +1 -0
  187. package/lib/Fairmint/OpenCapTable/Types/Stock/module.d.ts +56 -90
  188. package/lib/Fairmint/OpenCapTable/Types/Stock/module.js +132 -86
  189. package/lib/Fairmint/OpenCapTable/Types/Vesting/index.js +1 -0
  190. package/lib/Fairmint/OpenCapTable/Types/Vesting/module.d.ts +37 -57
  191. package/lib/Fairmint/OpenCapTable/Types/Vesting/module.js +90 -56
  192. package/lib/Fairmint/OpenCapTable/Types/index.d.ts +8 -7
  193. package/lib/Fairmint/OpenCapTable/Types/index.js +8 -6
  194. package/lib/Fairmint/OpenCapTable/index.d.ts +6 -5
  195. package/lib/Fairmint/OpenCapTable/index.js +6 -4
  196. package/lib/Splice/Amulet/TokenApiUtils/index.js +1 -0
  197. package/lib/Splice/Amulet/TokenApiUtils/module.d.ts +4 -7
  198. package/lib/Splice/Amulet/TokenApiUtils/module.js +12 -4
  199. package/lib/Splice/Amulet/TwoStepTransfer/index.js +1 -0
  200. package/lib/Splice/Amulet/TwoStepTransfer/module.d.ts +13 -15
  201. package/lib/Splice/Amulet/TwoStepTransfer/module.js +26 -16
  202. package/lib/Splice/Amulet/index.d.ts +4 -2
  203. package/lib/Splice/Amulet/index.js +4 -1
  204. package/lib/Splice/Amulet/module.d.ts +370 -487
  205. package/lib/Splice/Amulet/module.js +996 -817
  206. package/lib/Splice/AmuletAllocation/index.js +1 -0
  207. package/lib/Splice/AmuletAllocation/module.d.ts +9 -11
  208. package/lib/Splice/AmuletAllocation/module.js +31 -26
  209. package/lib/Splice/AmuletConfig/index.js +1 -0
  210. package/lib/Splice/AmuletConfig/module.d.ts +42 -56
  211. package/lib/Splice/AmuletConfig/module.js +93 -62
  212. package/lib/Splice/AmuletRules/index.js +1 -0
  213. package/lib/Splice/AmuletRules/module.d.ts +681 -874
  214. package/lib/Splice/AmuletRules/module.js +1688 -1273
  215. package/lib/Splice/AmuletTransferInstruction/index.js +1 -0
  216. package/lib/Splice/AmuletTransferInstruction/module.d.ts +9 -11
  217. package/lib/Splice/AmuletTransferInstruction/module.js +31 -26
  218. package/lib/Splice/Api/FeaturedAppRightV1/module.d.ts +40 -50
  219. package/lib/Splice/Api/FeaturedAppRightV1/module.js +84 -61
  220. package/lib/Splice/Api/FeaturedAppRightV2/index.js +1 -0
  221. package/lib/Splice/Api/FeaturedAppRightV2/module.d.ts +41 -51
  222. package/lib/Splice/Api/FeaturedAppRightV2/module.js +86 -62
  223. package/lib/Splice/Api/Token/AllocationInstructionV1/index.js +1 -0
  224. package/lib/Splice/Api/Token/AllocationInstructionV1/module.d.ts +82 -99
  225. package/lib/Splice/Api/Token/AllocationInstructionV1/module.js +202 -142
  226. package/lib/Splice/Api/Token/AllocationV1/index.js +1 -0
  227. package/lib/Splice/Api/Token/AllocationV1/module.d.ts +84 -109
  228. package/lib/Splice/Api/Token/AllocationV1/module.js +185 -139
  229. package/lib/Splice/Api/Token/HoldingV1/index.js +1 -0
  230. package/lib/Splice/Api/Token/HoldingV1/module.d.ts +27 -34
  231. package/lib/Splice/Api/Token/HoldingV1/module.js +55 -39
  232. package/lib/Splice/Api/Token/MetadataV1/index.js +1 -0
  233. package/lib/Splice/Api/Token/MetadataV1/module.d.ts +44 -60
  234. package/lib/Splice/Api/Token/MetadataV1/module.js +123 -70
  235. package/lib/Splice/Api/Token/TransferInstructionV1/index.js +1 -0
  236. package/lib/Splice/Api/Token/TransferInstructionV1/module.d.ts +112 -137
  237. package/lib/Splice/Api/Token/TransferInstructionV1/module.js +278 -195
  238. package/lib/Splice/DecentralizedSynchronizer/index.js +1 -0
  239. package/lib/Splice/DecentralizedSynchronizer/module.d.ts +44 -58
  240. package/lib/Splice/DecentralizedSynchronizer/module.js +103 -79
  241. package/lib/Splice/Expiry/index.js +1 -0
  242. package/lib/Splice/Expiry/module.d.ts +14 -18
  243. package/lib/Splice/Expiry/module.js +37 -23
  244. package/lib/Splice/ExternalPartyAmuletRules/index.js +1 -0
  245. package/lib/Splice/ExternalPartyAmuletRules/module.d.ts +116 -147
  246. package/lib/Splice/ExternalPartyAmuletRules/module.js +307 -242
  247. package/lib/Splice/Fees/index.js +1 -0
  248. package/lib/Splice/Fees/module.d.ts +26 -40
  249. package/lib/Splice/Fees/module.js +57 -48
  250. package/lib/Splice/Issuance/index.js +1 -0
  251. package/lib/Splice/Issuance/module.d.ts +39 -50
  252. package/lib/Splice/Issuance/module.js +82 -56
  253. package/lib/Splice/RelRound/index.js +1 -0
  254. package/lib/Splice/RelRound/module.d.ts +5 -7
  255. package/lib/Splice/RelRound/module.js +10 -8
  256. package/lib/Splice/Round/index.js +1 -0
  257. package/lib/Splice/Round/module.d.ts +66 -78
  258. package/lib/Splice/Round/module.js +186 -142
  259. package/lib/Splice/Schedule/index.js +1 -0
  260. package/lib/Splice/Schedule/module.d.ts +7 -8
  261. package/lib/Splice/Schedule/module.js +17 -12
  262. package/lib/Splice/Types/index.js +1 -0
  263. package/lib/Splice/Types/module.d.ts +20 -31
  264. package/lib/Splice/Types/module.js +44 -37
  265. package/lib/Splice/ValidatorLicense/index.js +1 -0
  266. package/lib/Splice/ValidatorLicense/module.d.ts +145 -195
  267. package/lib/Splice/ValidatorLicense/module.js +388 -310
  268. package/package.json +8 -8
  269. package/published-dars/OpenCapTable.dar +0 -0
@@ -5,6 +5,7 @@ function __export(m) {
5
5
  for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
6
6
  }
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
+
8
9
  /* eslint-disable-next-line no-unused-vars */
9
10
  var jtv = require('@mojotech/json-type-validation');
10
11
  /* eslint-disable-next-line no-unused-vars */
@@ -17,199 +18,258 @@ var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requir
17
18
 
18
19
  exports.AllocationFactory = damlTypes.assembleInterface(
19
20
  '#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationFactory',
20
- '275064aacfe99cea72ee0c80563936129563776f67415ef9f13e4297eecbc520:Splice.Api.Token.AllocationInstructionV1:AllocationFactory',
21
+ '#275064aacfe99cea72ee0c80563936129563776f67415ef9f13e4297eecbc520:Splice.Api.Token.AllocationInstructionV1:AllocationFactory',
21
22
  function () { return exports.AllocationFactoryView; },
22
23
  {
23
- Archive: {
24
- template: function () { return exports.AllocationFactory; },
25
- choiceName: 'Archive',
26
- argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
27
- argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
28
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
29
- resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
30
- },
31
24
  AllocationFactory_Allocate: {
32
25
  template: function () { return exports.AllocationFactory; },
33
26
  choiceName: 'AllocationFactory_Allocate',
34
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.AllocationFactory_Allocate.decoder; }),
27
+ argumentDecoder: damlTypes.lazyMemo(function () {
28
+ return exports.AllocationFactory_Allocate.decoder;
29
+ }),
35
30
  argumentEncode: function (__typed__) { return exports.AllocationFactory_Allocate.encode(__typed__); },
36
- resultDecoder: damlTypes.lazyMemo(function () { return exports.AllocationInstructionResult.decoder; }),
31
+ resultDecoder: damlTypes.lazyMemo(function () {
32
+ return exports.AllocationInstructionResult.decoder;
33
+ }),
37
34
  resultEncode: function (__typed__) { return exports.AllocationInstructionResult.encode(__typed__); },
38
35
  },
39
36
  AllocationFactory_PublicFetch: {
40
37
  template: function () { return exports.AllocationFactory; },
41
38
  choiceName: 'AllocationFactory_PublicFetch',
42
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.AllocationFactory_PublicFetch.decoder; }),
39
+ argumentDecoder: damlTypes.lazyMemo(function () {
40
+ return exports.AllocationFactory_PublicFetch.decoder;
41
+ }),
43
42
  argumentEncode: function (__typed__) { return exports.AllocationFactory_PublicFetch.encode(__typed__); },
44
- resultDecoder: damlTypes.lazyMemo(function () { return exports.AllocationFactoryView.decoder; }),
43
+ resultDecoder: damlTypes.lazyMemo(function () {
44
+ return exports.AllocationFactoryView.decoder;
45
+ }),
45
46
  resultEncode: function (__typed__) { return exports.AllocationFactoryView.encode(__typed__); },
46
47
  },
47
- });
48
-
48
+ Archive: {
49
+ template: function () { return exports.AllocationFactory; },
50
+ choiceName: 'Archive',
51
+ argumentDecoder: damlTypes.lazyMemo(function () {
52
+ return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
53
+ }),
54
+ argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
55
+ resultDecoder: damlTypes.lazyMemo(function () {
56
+ return damlTypes.Unit.decoder;
57
+ }),
58
+ resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
59
+ },
60
+ }
61
+ );
49
62
 
50
63
  exports.AllocationInstruction = damlTypes.assembleInterface(
51
64
  '#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction',
52
- '275064aacfe99cea72ee0c80563936129563776f67415ef9f13e4297eecbc520:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction',
65
+ '#275064aacfe99cea72ee0c80563936129563776f67415ef9f13e4297eecbc520:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction',
53
66
  function () { return exports.AllocationInstructionView; },
54
67
  {
55
- Archive: {
68
+ AllocationInstruction_Update: {
56
69
  template: function () { return exports.AllocationInstruction; },
57
- choiceName: 'Archive',
58
- argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
59
- argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
60
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
61
- resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
70
+ choiceName: 'AllocationInstruction_Update',
71
+ argumentDecoder: damlTypes.lazyMemo(function () {
72
+ return exports.AllocationInstruction_Update.decoder;
73
+ }),
74
+ argumentEncode: function (__typed__) { return exports.AllocationInstruction_Update.encode(__typed__); },
75
+ resultDecoder: damlTypes.lazyMemo(function () {
76
+ return exports.AllocationInstructionResult.decoder;
77
+ }),
78
+ resultEncode: function (__typed__) { return exports.AllocationInstructionResult.encode(__typed__); },
62
79
  },
63
80
  AllocationInstruction_Withdraw: {
64
81
  template: function () { return exports.AllocationInstruction; },
65
82
  choiceName: 'AllocationInstruction_Withdraw',
66
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.AllocationInstruction_Withdraw.decoder; }),
83
+ argumentDecoder: damlTypes.lazyMemo(function () {
84
+ return exports.AllocationInstruction_Withdraw.decoder;
85
+ }),
67
86
  argumentEncode: function (__typed__) { return exports.AllocationInstruction_Withdraw.encode(__typed__); },
68
- resultDecoder: damlTypes.lazyMemo(function () { return exports.AllocationInstructionResult.decoder; }),
87
+ resultDecoder: damlTypes.lazyMemo(function () {
88
+ return exports.AllocationInstructionResult.decoder;
89
+ }),
69
90
  resultEncode: function (__typed__) { return exports.AllocationInstructionResult.encode(__typed__); },
70
91
  },
71
- AllocationInstruction_Update: {
92
+ Archive: {
72
93
  template: function () { return exports.AllocationInstruction; },
73
- choiceName: 'AllocationInstruction_Update',
74
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.AllocationInstruction_Update.decoder; }),
75
- argumentEncode: function (__typed__) { return exports.AllocationInstruction_Update.encode(__typed__); },
76
- resultDecoder: damlTypes.lazyMemo(function () { return exports.AllocationInstructionResult.decoder; }),
77
- resultEncode: function (__typed__) { return exports.AllocationInstructionResult.encode(__typed__); },
94
+ choiceName: 'Archive',
95
+ argumentDecoder: damlTypes.lazyMemo(function () {
96
+ return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
97
+ }),
98
+ argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
99
+ resultDecoder: damlTypes.lazyMemo(function () {
100
+ return damlTypes.Unit.decoder;
101
+ }),
102
+ resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
78
103
  },
79
- });
80
-
81
-
82
-
83
- exports.AllocationInstructionResult_Output = {
84
- decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('AllocationInstructionResult_Pending'), value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Pending.decoder, }), jtv.object({tag: jtv.constant('AllocationInstructionResult_Completed'), value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Completed.decoder, }), jtv.object({tag: jtv.constant('AllocationInstructionResult_Failed'), value: damlTypes.Unit.decoder, })); }),
85
- encode: function (__typed__) {
86
- switch(__typed__.tag) {
87
- case 'AllocationInstructionResult_Pending': return {tag: __typed__.tag, value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Pending.encode(__typed__.value)};
88
- case 'AllocationInstructionResult_Completed': return {tag: __typed__.tag, value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Completed.encode(__typed__.value)};
89
- case 'AllocationInstructionResult_Failed': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
90
- default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type AllocationInstructionResult_Output';
91
104
  }
92
- }
93
- ,
94
- AllocationInstructionResult_Pending:({
95
- decoder: damlTypes.lazyMemo(function () { return jtv.object({allocationInstructionCid: damlTypes.ContractId(exports.AllocationInstruction).decoder, }); }),
96
- encode: function (__typed__) {
97
- return {
98
- allocationInstructionCid: damlTypes.ContractId(exports.AllocationInstruction).encode(__typed__.allocationInstructionCid),
99
- };
100
- }
101
- ,
102
- }),
103
- AllocationInstructionResult_Completed:({
104
- decoder: damlTypes.lazyMemo(function () { return jtv.object({allocationCid: damlTypes.ContractId(pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Allocation).decoder, }); }),
105
- encode: function (__typed__) {
106
- return {
107
- allocationCid: damlTypes.ContractId(pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Allocation).encode(__typed__.allocationCid),
108
- };
109
- }
110
- ,
105
+ );
106
+
107
+ exports.AllocationFactoryView = {
108
+ decoder: damlTypes.lazyMemo(function () {
109
+ return jtv.object({
110
+ admin: damlTypes.Party.decoder,
111
+ meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder,
112
+ });
111
113
  }),
114
+ encode: function (__typed__) {
115
+ return {
116
+ admin: damlTypes.Party.encode(__typed__.admin),
117
+ meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
118
+ };
119
+ },
112
120
  };
113
121
 
114
-
115
-
116
-
117
-
118
-
119
-
120
- exports.AllocationInstructionResult = {
121
- decoder: damlTypes.lazyMemo(function () { return jtv.object({output: exports.AllocationInstructionResult_Output.decoder, senderChangeCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder, meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder, }); }),
122
+ exports.AllocationFactory_Allocate = {
123
+ decoder: damlTypes.lazyMemo(function () {
124
+ return jtv.object({
125
+ expectedAdmin: damlTypes.Party.decoder,
126
+ allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.AllocationSpecification.decoder,
127
+ requestedAt: damlTypes.Time.decoder,
128
+ inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder,
129
+ extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder,
130
+ });
131
+ }),
122
132
  encode: function (__typed__) {
123
- return {
124
- output: exports.AllocationInstructionResult_Output.encode(__typed__.output),
125
- senderChangeCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.senderChangeCids),
126
- meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
127
- };
128
- }
129
- ,
133
+ return {
134
+ expectedAdmin: damlTypes.Party.encode(__typed__.expectedAdmin),
135
+ allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.AllocationSpecification.encode(__typed__.allocation),
136
+ requestedAt: damlTypes.Time.encode(__typed__.requestedAt),
137
+ inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.inputHoldingCids),
138
+ extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
139
+ };
140
+ },
130
141
  };
131
142
 
132
-
133
-
134
143
  exports.AllocationFactory_PublicFetch = {
135
- decoder: damlTypes.lazyMemo(function () { return jtv.object({expectedAdmin: damlTypes.Party.decoder, actor: damlTypes.Party.decoder, }); }),
144
+ decoder: damlTypes.lazyMemo(function () {
145
+ return jtv.object({
146
+ expectedAdmin: damlTypes.Party.decoder,
147
+ actor: damlTypes.Party.decoder,
148
+ });
149
+ }),
136
150
  encode: function (__typed__) {
137
- return {
138
- expectedAdmin: damlTypes.Party.encode(__typed__.expectedAdmin),
139
- actor: damlTypes.Party.encode(__typed__.actor),
140
- };
141
- }
142
- ,
151
+ return {
152
+ expectedAdmin: damlTypes.Party.encode(__typed__.expectedAdmin),
153
+ actor: damlTypes.Party.encode(__typed__.actor),
154
+ };
155
+ },
143
156
  };
144
157
 
145
-
146
-
147
- exports.AllocationFactory_Allocate = {
148
- decoder: damlTypes.lazyMemo(function () { return jtv.object({expectedAdmin: damlTypes.Party.decoder, allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.AllocationSpecification.decoder, requestedAt: damlTypes.Time.decoder, inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder, extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder, }); }),
158
+ exports.AllocationInstructionResult = {
159
+ decoder: damlTypes.lazyMemo(function () {
160
+ return jtv.object({
161
+ output: exports.AllocationInstructionResult_Output.decoder,
162
+ senderChangeCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder,
163
+ meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder,
164
+ });
165
+ }),
149
166
  encode: function (__typed__) {
150
- return {
151
- expectedAdmin: damlTypes.Party.encode(__typed__.expectedAdmin),
152
- allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.AllocationSpecification.encode(__typed__.allocation),
153
- requestedAt: damlTypes.Time.encode(__typed__.requestedAt),
154
- inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.inputHoldingCids),
155
- extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
156
- };
157
- }
158
- ,
167
+ return {
168
+ output: exports.AllocationInstructionResult_Output.encode(__typed__.output),
169
+ senderChangeCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.senderChangeCids),
170
+ meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
171
+ };
172
+ },
159
173
  };
160
174
 
161
-
162
-
163
- exports.AllocationFactoryView = {
164
- decoder: damlTypes.lazyMemo(function () { return jtv.object({admin: damlTypes.Party.decoder, meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder, }); }),
175
+ exports.AllocationInstructionResult_Output = {
176
+ decoder: damlTypes.lazyMemo(function () {
177
+ return jtv.oneOf(
178
+ jtv.object({
179
+ tag: jtv.constant("AllocationInstructionResult_Pending"),
180
+ value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Pending.decoder,
181
+ }),
182
+ jtv.object({
183
+ tag: jtv.constant("AllocationInstructionResult_Completed"),
184
+ value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Completed.decoder,
185
+ }),
186
+ jtv.object({
187
+ tag: jtv.constant("AllocationInstructionResult_Failed"),
188
+ value: damlTypes.Unit.decoder,
189
+ }),
190
+ );
191
+ }),
165
192
  encode: function (__typed__) {
166
- return {
167
- admin: damlTypes.Party.encode(__typed__.admin),
168
- meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
169
- };
170
- }
171
- ,
193
+ switch(__typed__.tag) {
194
+ case 'AllocationInstructionResult_Pending': return {tag: __typed__.tag, value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Pending.encode(__typed__.value)};
195
+ case 'AllocationInstructionResult_Completed': return {tag: __typed__.tag, value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Completed.encode(__typed__.value)};
196
+ case 'AllocationInstructionResult_Failed': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
197
+ default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type AllocationInstructionResult_Output';
198
+ }
199
+ },
200
+ AllocationInstructionResult_Completed: {
201
+ decoder: damlTypes.lazyMemo(function () {
202
+ return jtv.object({
203
+ allocationCid: damlTypes.ContractId(pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Allocation).decoder,
204
+ });
205
+ }),
206
+ encode: function (__typed__) {
207
+ return {
208
+ allocationCid: damlTypes.ContractId(pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Allocation).encode(__typed__.allocationCid),
209
+ };
210
+ },
211
+ },
212
+ AllocationInstructionResult_Pending: {
213
+ decoder: damlTypes.lazyMemo(function () {
214
+ return jtv.object({
215
+ allocationInstructionCid: damlTypes.ContractId(exports.AllocationInstruction).decoder,
216
+ });
217
+ }),
218
+ encode: function (__typed__) {
219
+ return {
220
+ allocationInstructionCid: damlTypes.ContractId(exports.AllocationInstruction).encode(__typed__.allocationInstructionCid),
221
+ };
222
+ },
223
+ },
172
224
  };
173
225
 
174
-
175
-
176
- exports.AllocationInstruction_Update = {
177
- decoder: damlTypes.lazyMemo(function () { return jtv.object({extraActors: damlTypes.List(damlTypes.Party).decoder, extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder, }); }),
226
+ exports.AllocationInstructionView = {
227
+ decoder: damlTypes.lazyMemo(function () {
228
+ return jtv.object({
229
+ originalInstructionCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(exports.AllocationInstruction)).decoder),
230
+ allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.AllocationSpecification.decoder,
231
+ pendingActions: damlTypes.Map(damlTypes.Party, damlTypes.Text).decoder,
232
+ requestedAt: damlTypes.Time.decoder,
233
+ inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder,
234
+ meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder,
235
+ });
236
+ }),
178
237
  encode: function (__typed__) {
179
- return {
180
- extraActors: damlTypes.List(damlTypes.Party).encode(__typed__.extraActors),
181
- extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
182
- };
183
- }
184
- ,
238
+ return {
239
+ originalInstructionCid: damlTypes.Optional(damlTypes.ContractId(exports.AllocationInstruction)).encode(__typed__.originalInstructionCid),
240
+ allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.AllocationSpecification.encode(__typed__.allocation),
241
+ pendingActions: damlTypes.Map(damlTypes.Party, damlTypes.Text).encode(__typed__.pendingActions),
242
+ requestedAt: damlTypes.Time.encode(__typed__.requestedAt),
243
+ inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.inputHoldingCids),
244
+ meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
245
+ };
246
+ },
185
247
  };
186
248
 
187
-
188
-
189
- exports.AllocationInstruction_Withdraw = {
190
- decoder: damlTypes.lazyMemo(function () { return jtv.object({extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder, }); }),
249
+ exports.AllocationInstruction_Update = {
250
+ decoder: damlTypes.lazyMemo(function () {
251
+ return jtv.object({
252
+ extraActors: damlTypes.List(damlTypes.Party).decoder,
253
+ extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder,
254
+ });
255
+ }),
191
256
  encode: function (__typed__) {
192
- return {
193
- extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
194
- };
195
- }
196
- ,
257
+ return {
258
+ extraActors: damlTypes.List(damlTypes.Party).encode(__typed__.extraActors),
259
+ extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
260
+ };
261
+ },
197
262
  };
198
263
 
199
-
200
-
201
- exports.AllocationInstructionView = {
202
- decoder: damlTypes.lazyMemo(function () { return jtv.object({originalInstructionCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(exports.AllocationInstruction)).decoder), allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.AllocationSpecification.decoder, pendingActions: damlTypes.Map(damlTypes.Party, damlTypes.Text).decoder, requestedAt: damlTypes.Time.decoder, inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder, meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder, }); }),
264
+ exports.AllocationInstruction_Withdraw = {
265
+ decoder: damlTypes.lazyMemo(function () {
266
+ return jtv.object({
267
+ extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder,
268
+ });
269
+ }),
203
270
  encode: function (__typed__) {
204
- return {
205
- originalInstructionCid: damlTypes.Optional(damlTypes.ContractId(exports.AllocationInstruction)).encode(__typed__.originalInstructionCid),
206
- allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.AllocationSpecification.encode(__typed__.allocation),
207
- pendingActions: damlTypes.Map(damlTypes.Party, damlTypes.Text).encode(__typed__.pendingActions),
208
- requestedAt: damlTypes.Time.encode(__typed__.requestedAt),
209
- inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.inputHoldingCids),
210
- meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
211
- };
212
- }
213
- ,
271
+ return {
272
+ extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
273
+ };
274
+ },
214
275
  };
215
-
@@ -5,4 +5,5 @@ function __export(m) {
5
5
  for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
6
6
  }
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
+
8
9
  __export(require('./module'));
@@ -1,4 +1,5 @@
1
- // Generated from Splice/Api/Token/AllocationV1.daml
1
+ // Generated from ../../../../Splice/Api/Token/AllocationV1/module.daml
2
+
2
3
  /* eslint-disable @typescript-eslint/camelcase */
3
4
  /* eslint-disable @typescript-eslint/no-namespace */
4
5
  /* eslint-disable @typescript-eslint/no-use-before-define */
@@ -9,143 +10,117 @@ import * as pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f
9
10
  import * as pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b from '../HoldingV1';
10
11
  import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../DA/Internal/Template';
11
12
 
12
- export declare type Allocation = damlTypes.Interface<'#splice-api-token-allocation-v1:Splice.Api.Token.AllocationV1:Allocation'> & AllocationView;
13
+ export declare type Allocation = damlTypes.Interface<'#splice-api-token-allocation-v1:Splice.Api.Token.AllocationV1:Allocation'> & AllocationView
13
14
  export declare interface AllocationInterface {
14
- Archive: damlTypes.Choice<Allocation, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
15
- Allocation_Withdraw: damlTypes.Choice<Allocation, Allocation_Withdraw, Allocation_WithdrawResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
16
- Allocation_Cancel: damlTypes.Choice<Allocation, Allocation_Cancel, Allocation_CancelResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
17
- Allocation_ExecuteTransfer: damlTypes.Choice<Allocation, Allocation_ExecuteTransfer, Allocation_ExecuteTransferResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
15
+ Allocation_Cancel:
16
+ damlTypes.Choice<Allocation, Allocation_Cancel, Allocation_CancelResult, undefined> &
17
+ damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
18
+ Allocation_ExecuteTransfer:
19
+ damlTypes.Choice<Allocation, Allocation_ExecuteTransfer, Allocation_ExecuteTransferResult, undefined> &
20
+ damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
21
+ Allocation_Withdraw:
22
+ damlTypes.Choice<Allocation, Allocation_Withdraw, Allocation_WithdrawResult, undefined> &
23
+ damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
24
+ Archive:
25
+ damlTypes.Choice<Allocation, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> &
26
+ damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
18
27
  }
19
28
  export declare const Allocation:
20
29
  damlTypes.InterfaceCompanion<Allocation, undefined, '#splice-api-token-allocation-v1:Splice.Api.Token.AllocationV1:Allocation'> &
21
30
  damlTypes.FromTemplate<Allocation, unknown> &
22
- AllocationInterface;
23
-
24
-
25
- export declare type Allocation_WithdrawResult = {
26
- senderHoldingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[];
27
- meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata;
28
- };
29
-
30
- export declare const Allocation_WithdrawResult:
31
- damlTypes.Serializable<Allocation_WithdrawResult> & {
32
- }
33
- ;
34
-
35
-
36
- export declare type Allocation_CancelResult = {
37
- senderHoldingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[];
38
- meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata;
39
- };
40
-
41
- export declare const Allocation_CancelResult:
42
- damlTypes.Serializable<Allocation_CancelResult> & {
43
- }
44
- ;
45
-
46
-
47
- export declare type Allocation_ExecuteTransferResult = {
48
- senderHoldingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[];
49
- receiverHoldingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[];
50
- meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata;
51
- };
52
-
53
- export declare const Allocation_ExecuteTransferResult:
54
- damlTypes.Serializable<Allocation_ExecuteTransferResult> & {
55
- }
56
- ;
31
+ AllocationInterface
57
32
 
33
+ export declare type AllocationSpecification = {
34
+ settlement: SettlementInfo,
35
+ transferLegId: string,
36
+ transferLeg: TransferLeg,
37
+ }
58
38
 
59
- export declare type Allocation_Withdraw = {
60
- extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
61
- };
39
+ export declare const AllocationSpecification:
40
+ damlTypes.Serializable<AllocationSpecification>
62
41
 
63
- export declare const Allocation_Withdraw:
64
- damlTypes.Serializable<Allocation_Withdraw> & {
65
- }
66
- ;
42
+ export declare type AllocationView = {
43
+ allocation: AllocationSpecification,
44
+ holdingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[],
45
+ meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata,
46
+ }
67
47
 
48
+ export declare const AllocationView:
49
+ damlTypes.Serializable<AllocationView>
68
50
 
69
51
  export declare type Allocation_Cancel = {
70
- extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
71
- };
52
+ extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs,
53
+ }
72
54
 
73
55
  export declare const Allocation_Cancel:
74
- damlTypes.Serializable<Allocation_Cancel> & {
75
- }
76
- ;
56
+ damlTypes.Serializable<Allocation_Cancel>
77
57
 
58
+ export declare type Allocation_CancelResult = {
59
+ senderHoldingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[],
60
+ meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata,
61
+ }
62
+
63
+ export declare const Allocation_CancelResult:
64
+ damlTypes.Serializable<Allocation_CancelResult>
78
65
 
79
66
  export declare type Allocation_ExecuteTransfer = {
80
- extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
81
- };
67
+ extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs,
68
+ }
82
69
 
83
70
  export declare const Allocation_ExecuteTransfer:
84
- damlTypes.Serializable<Allocation_ExecuteTransfer> & {
85
- }
86
- ;
87
-
88
-
89
- export declare type AllocationView = {
90
- allocation: AllocationSpecification;
91
- holdingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[];
92
- meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata;
93
- };
71
+ damlTypes.Serializable<Allocation_ExecuteTransfer>
94
72
 
95
- export declare const AllocationView:
96
- damlTypes.Serializable<AllocationView> & {
97
- }
98
- ;
73
+ export declare type Allocation_ExecuteTransferResult = {
74
+ senderHoldingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[],
75
+ receiverHoldingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[],
76
+ meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata,
77
+ }
99
78
 
79
+ export declare const Allocation_ExecuteTransferResult:
80
+ damlTypes.Serializable<Allocation_ExecuteTransferResult>
100
81
 
101
- export declare type AllocationSpecification = {
102
- settlement: SettlementInfo;
103
- transferLegId: string;
104
- transferLeg: TransferLeg;
105
- };
82
+ export declare type Allocation_Withdraw = {
83
+ extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs,
84
+ }
106
85
 
107
- export declare const AllocationSpecification:
108
- damlTypes.Serializable<AllocationSpecification> & {
109
- }
110
- ;
86
+ export declare const Allocation_Withdraw:
87
+ damlTypes.Serializable<Allocation_Withdraw>
111
88
 
89
+ export declare type Allocation_WithdrawResult = {
90
+ senderHoldingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[],
91
+ meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata,
92
+ }
112
93
 
113
- export declare type TransferLeg = {
114
- sender: damlTypes.Party;
115
- receiver: damlTypes.Party;
116
- amount: damlTypes.Numeric;
117
- instrumentId: pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.InstrumentId;
118
- meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata;
119
- };
94
+ export declare const Allocation_WithdrawResult:
95
+ damlTypes.Serializable<Allocation_WithdrawResult>
120
96
 
121
- export declare const TransferLeg:
122
- damlTypes.Serializable<TransferLeg> & {
123
- }
124
- ;
97
+ export declare type Reference = {
98
+ id: string,
99
+ cid: damlTypes.Optional<damlTypes.ContractId<pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.AnyContract>>,
100
+ }
125
101
 
102
+ export declare const Reference:
103
+ damlTypes.Serializable<Reference>
126
104
 
127
105
  export declare type SettlementInfo = {
128
- executor: damlTypes.Party;
129
- settlementRef: Reference;
130
- requestedAt: damlTypes.Time;
131
- allocateBefore: damlTypes.Time;
132
- settleBefore: damlTypes.Time;
133
- meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata;
134
- };
106
+ executor: damlTypes.Party,
107
+ settlementRef: Reference,
108
+ requestedAt: damlTypes.Time,
109
+ allocateBefore: damlTypes.Time,
110
+ settleBefore: damlTypes.Time,
111
+ meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata,
112
+ }
135
113
 
136
114
  export declare const SettlementInfo:
137
- damlTypes.Serializable<SettlementInfo> & {
138
- }
139
- ;
115
+ damlTypes.Serializable<SettlementInfo>
140
116
 
117
+ export declare type TransferLeg = {
118
+ sender: damlTypes.Party,
119
+ receiver: damlTypes.Party,
120
+ amount: damlTypes.Numeric,
121
+ instrumentId: pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.InstrumentId,
122
+ meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata,
123
+ }
141
124
 
142
- export declare type Reference = {
143
- id: string;
144
- cid: damlTypes.Optional<damlTypes.ContractId<pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.AnyContract>>;
145
- };
146
-
147
- export declare const Reference:
148
- damlTypes.Serializable<Reference> & {
149
- }
150
- ;
151
-
125
+ export declare const TransferLeg:
126
+ damlTypes.Serializable<TransferLeg>