@fairmint/open-captable-protocol-daml-js 0.3.4 → 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 +7 -7
  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 */
@@ -14,49 +15,58 @@ var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requir
14
15
 
15
16
  var Fairmint_OpenCapTable_Types_Core = require('../../../../Fairmint/OpenCapTable/Types/Core/module');
16
17
 
17
-
18
- exports.VestingStartOcfData = {
19
- decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, date: damlTypes.Time.decoder, security_id: damlTypes.Text.decoder, vesting_condition_id: damlTypes.Text.decoder, comments: damlTypes.List(damlTypes.Text).decoder, }); }),
20
- encode: function (__typed__) {
21
- return {
22
- id: damlTypes.Text.encode(__typed__.id),
23
- date: damlTypes.Time.encode(__typed__.date),
24
- security_id: damlTypes.Text.encode(__typed__.security_id),
25
- vesting_condition_id: damlTypes.Text.encode(__typed__.vesting_condition_id),
26
- comments: damlTypes.List(damlTypes.Text).encode(__typed__.comments),
27
- };
28
- }
29
- ,
30
- };
31
-
32
-
33
-
34
18
  exports.VestingStart = damlTypes.assembleTemplate(
35
- {
36
- templateId: '#OpenCapTable-v34:Fairmint.OpenCapTable.OCF.VestingStart:VestingStart',
37
- templateIdWithPackageId: '60b4566f8ecc62e6bd7222ac2b7e71603731ea49706b7563c1f6331eb108672d:Fairmint.OpenCapTable.OCF.VestingStart:VestingStart',
38
- keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
39
- keyEncode: function () { throw 'EncodeError'; },
40
- decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types_Core.Context.decoder, vesting_data: exports.VestingStartOcfData.decoder, }); }),
41
- encode: function (__typed__) {
42
- return {
43
- context: Fairmint_OpenCapTable_Types_Core.Context.encode(__typed__.context),
44
- vesting_data: exports.VestingStartOcfData.encode(__typed__.vesting_data),
45
- };
46
- }
47
- ,
48
- Archive: {
49
- template: function () { return exports.VestingStart; },
50
- choiceName: 'Archive',
51
- argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
52
- argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
53
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
54
- resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
19
+ {
20
+ templateId: '#OpenCapTable-v35:Fairmint.OpenCapTable.OCF.VestingStart:VestingStart',
21
+ templateIdWithPackageId: '#77a43b7e7726628a64703ce03f5d95600e60a62a8e4f3e7e987ab073f82544a8:Fairmint.OpenCapTable.OCF.VestingStart:VestingStart',
22
+ keyDecoder: jtv.constant(undefined),
23
+ keyEncode: function () { throw 'EncodeError'; },
24
+ decoder: damlTypes.lazyMemo(function () {
25
+ return jtv.object({
26
+ context: Fairmint_OpenCapTable_Types_Core.Context.decoder,
27
+ vesting_data: exports.VestingStartOcfData.decoder,
28
+ });
29
+ }),
30
+ encode: function (__typed__) {
31
+ return {
32
+ context: Fairmint_OpenCapTable_Types_Core.Context.encode(__typed__.context),
33
+ vesting_data: exports.VestingStartOcfData.encode(__typed__.vesting_data),
34
+ };
35
+ },
36
+ Archive: {
37
+ template: function () { return exports.VestingStart; },
38
+ choiceName: 'Archive',
39
+ argumentDecoder: damlTypes.lazyMemo(function () {
40
+ return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
41
+ }),
42
+ argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
43
+ resultDecoder: damlTypes.lazyMemo(function () {
44
+ return damlTypes.Unit.decoder;
45
+ }),
46
+ resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
47
+ },
55
48
  },
56
- }
57
-
58
49
  );
59
50
 
51
+ damlTypes.registerTemplate(exports.VestingStart, ['77a43b7e7726628a64703ce03f5d95600e60a62a8e4f3e7e987ab073f82544a8', '#OpenCapTable-v35']);
60
52
 
61
- damlTypes.registerTemplate(exports.VestingStart, ['60b4566f8ecc62e6bd7222ac2b7e71603731ea49706b7563c1f6331eb108672d', '#OpenCapTable-v34']);
62
-
53
+ exports.VestingStartOcfData = {
54
+ decoder: damlTypes.lazyMemo(function () {
55
+ return jtv.object({
56
+ id: damlTypes.Text.decoder,
57
+ date: damlTypes.Time.decoder,
58
+ security_id: damlTypes.Text.decoder,
59
+ vesting_condition_id: damlTypes.Text.decoder,
60
+ comments: damlTypes.List(damlTypes.Text).decoder,
61
+ });
62
+ }),
63
+ encode: function (__typed__) {
64
+ return {
65
+ id: damlTypes.Text.encode(__typed__.id),
66
+ date: damlTypes.Time.encode(__typed__.date),
67
+ security_id: damlTypes.Text.encode(__typed__.security_id),
68
+ vesting_condition_id: damlTypes.Text.encode(__typed__.vesting_condition_id),
69
+ comments: damlTypes.List(damlTypes.Text).encode(__typed__.comments),
70
+ };
71
+ },
72
+ };
@@ -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 Fairmint/OpenCapTable/OCF/VestingTerms.daml
1
+ // Generated from ../../../../Fairmint/OpenCapTable/OCF/VestingTerms/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,94 +10,39 @@ import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69
9
10
 
10
11
  import * as Fairmint_OpenCapTable_Types_Core from '../../../../Fairmint/OpenCapTable/Types/Core/module';
11
12
 
13
+ export declare type OcfAllocationType =
14
+ | 'OcfAllocationCumulativeRounding'
15
+ | 'OcfAllocationCumulativeRoundDown'
16
+ | 'OcfAllocationFrontLoaded'
17
+ | 'OcfAllocationBackLoaded'
18
+ | 'OcfAllocationFrontLoadedToSingleTranche'
19
+ | 'OcfAllocationBackLoadedToSingleTranche'
20
+ | 'OcfAllocationFractional'
21
+
22
+
23
+ export declare const OcfAllocationType:
24
+ damlTypes.Serializable<OcfAllocationType> & { readonly keys: OcfAllocationType[] } & { readonly [e in OcfAllocationType]: e }
25
+
12
26
  export declare type OcfVestingCondition = {
13
- id: string;
14
- trigger: OcfVestingTrigger;
15
- next_condition_ids: string[];
16
- description: damlTypes.Optional<string>;
17
- portion: damlTypes.Optional<OcfVestingConditionPortion>;
18
- quantity: damlTypes.Optional<damlTypes.Numeric>;
19
- };
27
+ id: string,
28
+ trigger: OcfVestingTrigger,
29
+ next_condition_ids: string[],
30
+ description: damlTypes.Optional<string>,
31
+ portion: damlTypes.Optional<OcfVestingConditionPortion>,
32
+ quantity: damlTypes.Optional<damlTypes.Numeric>,
33
+ }
20
34
 
21
35
  export declare const OcfVestingCondition:
22
- damlTypes.Serializable<OcfVestingCondition> & {
23
- }
24
- ;
25
-
36
+ damlTypes.Serializable<OcfVestingCondition>
26
37
 
27
38
  export declare type OcfVestingConditionPortion = {
28
- numerator: damlTypes.Numeric;
29
- denominator: damlTypes.Numeric;
30
- remainder: boolean;
31
- };
39
+ numerator: damlTypes.Numeric,
40
+ denominator: damlTypes.Numeric,
41
+ remainder: boolean,
42
+ }
32
43
 
33
44
  export declare const OcfVestingConditionPortion:
34
- damlTypes.Serializable<OcfVestingConditionPortion> & {
35
- }
36
- ;
37
-
38
-
39
- export declare type OcfVestingTrigger =
40
- | { tag: 'OcfVestingStartTrigger'; value: {} }
41
- | { tag: 'OcfVestingScheduleAbsoluteTrigger'; value: OcfVestingTrigger.OcfVestingScheduleAbsoluteTrigger }
42
- | { tag: 'OcfVestingScheduleRelativeTrigger'; value: OcfVestingTrigger.OcfVestingScheduleRelativeTrigger }
43
- | { tag: 'OcfVestingEventTrigger'; value: {} }
44
- ;
45
-
46
- export declare const OcfVestingTrigger:
47
- damlTypes.Serializable<OcfVestingTrigger> & {
48
- OcfVestingScheduleAbsoluteTrigger: damlTypes.Serializable<OcfVestingTrigger.OcfVestingScheduleAbsoluteTrigger>;
49
- OcfVestingScheduleRelativeTrigger: damlTypes.Serializable<OcfVestingTrigger.OcfVestingScheduleRelativeTrigger>;
50
- }
51
- ;
52
-
53
-
54
- export namespace OcfVestingTrigger {
55
- type OcfVestingScheduleAbsoluteTrigger = {
56
- date: damlTypes.Time;
57
- };
58
- } //namespace OcfVestingTrigger
59
-
60
-
61
- export namespace OcfVestingTrigger {
62
- type OcfVestingScheduleRelativeTrigger = {
63
- period: OcfVestingPeriod;
64
- relative_to_condition_id: string;
65
- };
66
- } //namespace OcfVestingTrigger
67
-
68
-
69
- export declare type OcfVestingPeriod =
70
- | { tag: 'OcfVestingPeriodDays'; value: OcfVestingPeriod.OcfVestingPeriodDays }
71
- | { tag: 'OcfVestingPeriodMonths'; value: OcfVestingPeriod.OcfVestingPeriodMonths }
72
- ;
73
-
74
- export declare const OcfVestingPeriod:
75
- damlTypes.Serializable<OcfVestingPeriod> & {
76
- OcfVestingPeriodDays: damlTypes.Serializable<OcfVestingPeriod.OcfVestingPeriodDays>;
77
- OcfVestingPeriodMonths: damlTypes.Serializable<OcfVestingPeriod.OcfVestingPeriodMonths>;
78
- }
79
- ;
80
-
81
-
82
- export namespace OcfVestingPeriod {
83
- type OcfVestingPeriodDays = {
84
- length_: damlTypes.Int;
85
- occurrences: damlTypes.Int;
86
- cliff_installment: damlTypes.Optional<damlTypes.Int>;
87
- };
88
- } //namespace OcfVestingPeriod
89
-
90
-
91
- export namespace OcfVestingPeriod {
92
- type OcfVestingPeriodMonths = {
93
- length_: damlTypes.Int;
94
- occurrences: damlTypes.Int;
95
- day_of_month: OcfVestingDayOfMonth;
96
- cliff_installment: damlTypes.Optional<damlTypes.Int>;
97
- };
98
- } //namespace OcfVestingPeriod
99
-
45
+ damlTypes.Serializable<OcfVestingConditionPortion>
100
46
 
101
47
  export declare type OcfVestingDayOfMonth =
102
48
  | 'OcfVestingDay01'
@@ -131,61 +77,82 @@ export declare type OcfVestingDayOfMonth =
131
77
  | 'OcfVestingDay30OrLast'
132
78
  | 'OcfVestingDay31OrLast'
133
79
  | 'OcfVestingStartDayOrLast'
134
- ;
80
+
135
81
 
136
82
  export declare const OcfVestingDayOfMonth:
137
- damlTypes.Serializable<OcfVestingDayOfMonth> & {
138
- }
139
- & { readonly keys: OcfVestingDayOfMonth[] } & { readonly [e in OcfVestingDayOfMonth]: e }
140
- ;
83
+ damlTypes.Serializable<OcfVestingDayOfMonth> & { readonly keys: OcfVestingDayOfMonth[] } & { readonly [e in OcfVestingDayOfMonth]: e }
141
84
 
85
+ export declare type OcfVestingPeriod =
86
+ | { tag: 'OcfVestingPeriodDays'; value: OcfVestingPeriod.OcfVestingPeriodDays }
87
+ | { tag: 'OcfVestingPeriodMonths'; value: OcfVestingPeriod.OcfVestingPeriodMonths }
142
88
 
143
- export declare type OcfAllocationType =
144
- | 'OcfAllocationCumulativeRounding'
145
- | 'OcfAllocationCumulativeRoundDown'
146
- | 'OcfAllocationFrontLoaded'
147
- | 'OcfAllocationBackLoaded'
148
- | 'OcfAllocationFrontLoadedToSingleTranche'
149
- | 'OcfAllocationBackLoadedToSingleTranche'
150
- | 'OcfAllocationFractional'
151
- ;
152
89
 
153
- export declare const OcfAllocationType:
154
- damlTypes.Serializable<OcfAllocationType> & {
90
+ export declare const OcfVestingPeriod:
91
+ damlTypes.Serializable<OcfVestingPeriod> & {
92
+ OcfVestingPeriodDays: damlTypes.Serializable<OcfVestingPeriod.OcfVestingPeriodDays>;
93
+ OcfVestingPeriodMonths: damlTypes.Serializable<OcfVestingPeriod.OcfVestingPeriodMonths>;
94
+ }
95
+
96
+ export namespace OcfVestingPeriod {
97
+ type OcfVestingPeriodDays = {
98
+ length_: damlTypes.Int,
99
+ occurrences: damlTypes.Int,
100
+ cliff_installment: damlTypes.Optional<damlTypes.Int>,
155
101
  }
156
- & { readonly keys: OcfAllocationType[] } & { readonly [e in OcfAllocationType]: e }
157
- ;
102
+ type OcfVestingPeriodMonths = {
103
+ length_: damlTypes.Int,
104
+ occurrences: damlTypes.Int,
105
+ day_of_month: OcfVestingDayOfMonth,
106
+ cliff_installment: damlTypes.Optional<damlTypes.Int>,
107
+ }
108
+ }
158
109
 
110
+ export declare type OcfVestingTrigger =
111
+ | { tag: 'OcfVestingStartTrigger'; value: {} }
112
+ | { tag: 'OcfVestingScheduleAbsoluteTrigger'; value: OcfVestingTrigger.OcfVestingScheduleAbsoluteTrigger }
113
+ | { tag: 'OcfVestingScheduleRelativeTrigger'; value: OcfVestingTrigger.OcfVestingScheduleRelativeTrigger }
114
+ | { tag: 'OcfVestingEventTrigger'; value: {} }
159
115
 
160
- export declare type VestingTermsOcfData = {
161
- id: string;
162
- allocation_type: OcfAllocationType;
163
- description: string;
164
- name: string;
165
- comments: string[];
166
- vesting_conditions: OcfVestingCondition[];
167
- };
168
116
 
169
- export declare const VestingTermsOcfData:
170
- damlTypes.Serializable<VestingTermsOcfData> & {
117
+ export declare const OcfVestingTrigger:
118
+ damlTypes.Serializable<OcfVestingTrigger> & {
119
+ OcfVestingScheduleAbsoluteTrigger: damlTypes.Serializable<OcfVestingTrigger.OcfVestingScheduleAbsoluteTrigger>;
120
+ OcfVestingScheduleRelativeTrigger: damlTypes.Serializable<OcfVestingTrigger.OcfVestingScheduleRelativeTrigger>;
171
121
  }
172
- ;
173
122
 
123
+ export namespace OcfVestingTrigger {
124
+ type OcfVestingScheduleAbsoluteTrigger = {
125
+ date: damlTypes.Time,
126
+ }
127
+ type OcfVestingScheduleRelativeTrigger = {
128
+ period: OcfVestingPeriod,
129
+ relative_to_condition_id: string,
130
+ }
131
+ }
174
132
 
175
133
  export declare type VestingTerms = {
176
- context: Fairmint_OpenCapTable_Types_Core.Context;
177
- vesting_terms_data: VestingTermsOcfData;
178
- };
134
+ context: Fairmint_OpenCapTable_Types_Core.Context,
135
+ vesting_terms_data: VestingTermsOcfData,
136
+ }
179
137
 
180
138
  export declare interface VestingTermsInterface {
181
- Archive: damlTypes.Choice<VestingTerms, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<VestingTerms, undefined>>;
139
+ Archive:
140
+ damlTypes.Choice<VestingTerms, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> &
141
+ damlTypes.ChoiceFrom<damlTypes.Template<VestingTerms, undefined>>;
182
142
  }
183
143
  export declare const VestingTerms:
184
- damlTypes.Template<VestingTerms, undefined, '#OpenCapTable-v34:Fairmint.OpenCapTable.OCF.VestingTerms:VestingTerms'> &
144
+ damlTypes.Template<VestingTerms, undefined, '#OpenCapTable-v35:Fairmint.OpenCapTable.OCF.VestingTerms:VestingTerms'> &
185
145
  damlTypes.ToInterface<VestingTerms, never> &
186
- VestingTermsInterface;
146
+ VestingTermsInterface
187
147
 
188
- export declare namespace VestingTerms {
148
+ export declare type VestingTermsOcfData = {
149
+ id: string,
150
+ allocation_type: OcfAllocationType,
151
+ description: string,
152
+ name: string,
153
+ comments: string[],
154
+ vesting_conditions: OcfVestingCondition[],
189
155
  }
190
156
 
191
-
157
+ export declare const VestingTermsOcfData:
158
+ damlTypes.Serializable<VestingTermsOcfData>