@fairmint/open-captable-protocol-daml-js 0.2.143 → 0.2.146

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 (174) hide show
  1. package/OpenCapTable-v34/.daml/dist/OpenCapTable-v34-0.0.1.dar +0 -0
  2. package/generated/ocp-factory-contract-id.json +4 -8
  3. package/lib/CantonPayments/Airdrop/Airdrop/module.js +2 -2
  4. package/lib/CantonPayments/Airdrop/AirdropFactory/module.js +2 -2
  5. package/lib/CantonPayments/Airdrop/PersonalAirdrop/module.js +2 -2
  6. package/lib/CantonPayments/Airdrop/SimpleAirdrop/module.js +2 -2
  7. package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.js +4 -4
  8. package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/module.js +2 -2
  9. package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.js +2 -2
  10. package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.js +2 -2
  11. package/lib/DA/Internal/index.d.ts +1 -1
  12. package/lib/DA/index.d.ts +3 -1
  13. package/lib/DA/index.js +4 -0
  14. package/lib/Fairmint/OpenCapTable/CapTable/module.d.ts +1 -1
  15. package/lib/Fairmint/OpenCapTable/CapTable/module.js +3 -3
  16. package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.d.ts +1 -1
  17. package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +3 -3
  18. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.d.ts +1 -1
  19. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.js +3 -3
  20. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.d.ts +1 -1
  21. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.js +3 -3
  22. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.d.ts +1 -1
  23. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.js +3 -3
  24. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.d.ts +1 -1
  25. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.js +3 -3
  26. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.d.ts +1 -1
  27. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.js +3 -3
  28. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.d.ts +1 -1
  29. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.js +3 -3
  30. package/lib/Fairmint/OpenCapTable/OCF/Document/module.d.ts +1 -1
  31. package/lib/Fairmint/OpenCapTable/OCF/Document/module.js +3 -3
  32. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.d.ts +1 -1
  33. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.js +3 -3
  34. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.d.ts +1 -1
  35. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.js +3 -3
  36. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.d.ts +1 -1
  37. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.js +3 -3
  38. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.d.ts +1 -1
  39. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.js +3 -3
  40. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.d.ts +1 -1
  41. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.js +3 -3
  42. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.d.ts +1 -1
  43. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.js +3 -3
  44. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.d.ts +1 -1
  45. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.js +3 -3
  46. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.d.ts +1 -1
  47. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.js +3 -3
  48. package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.d.ts +1 -1
  49. package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.js +3 -3
  50. package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.d.ts +1 -1
  51. package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.js +3 -3
  52. package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.d.ts +1 -1
  53. package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.js +3 -3
  54. package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.d.ts +1 -1
  55. package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.js +3 -3
  56. package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.d.ts +1 -1
  57. package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.js +3 -3
  58. package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.d.ts +1 -1
  59. package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.js +3 -3
  60. package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.d.ts +1 -1
  61. package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.js +3 -3
  62. package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.d.ts +1 -1
  63. package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.js +3 -3
  64. package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.d.ts +1 -1
  65. package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.js +3 -3
  66. package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.d.ts +1 -1
  67. package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.js +3 -3
  68. package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.d.ts +1 -1
  69. package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.js +3 -3
  70. package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.d.ts +1 -1
  71. package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.js +3 -3
  72. package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.d.ts +1 -1
  73. package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.js +3 -3
  74. package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.d.ts +1 -1
  75. package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.js +3 -3
  76. package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.d.ts +1 -1
  77. package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.js +3 -3
  78. package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.d.ts +1 -1
  79. package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.js +3 -3
  80. package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.d.ts +1 -1
  81. package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.js +3 -3
  82. package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.d.ts +1 -1
  83. package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.js +3 -3
  84. package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.d.ts +1 -1
  85. package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.js +3 -3
  86. package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.d.ts +1 -1
  87. package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.js +3 -3
  88. package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.d.ts +1 -1
  89. package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.js +3 -3
  90. package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.d.ts +1 -1
  91. package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.js +3 -3
  92. package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.d.ts +1 -1
  93. package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.js +3 -3
  94. package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.d.ts +1 -1
  95. package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.js +3 -3
  96. package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.d.ts +1 -1
  97. package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.js +3 -3
  98. package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.d.ts +1 -1
  99. package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.js +3 -3
  100. package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.d.ts +1 -1
  101. package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.js +3 -3
  102. package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.d.ts +1 -1
  103. package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.js +3 -3
  104. package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.d.ts +1 -1
  105. package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.js +3 -3
  106. package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.d.ts +1 -1
  107. package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.js +3 -3
  108. package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.d.ts +1 -1
  109. package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.js +3 -3
  110. package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.d.ts +1 -1
  111. package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.js +3 -3
  112. package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.d.ts +1 -1
  113. package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.js +3 -3
  114. package/lib/Fairmint/OpenCapTable/OcpFactory/module.d.ts +1 -1
  115. package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +3 -3
  116. package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/module.js +2 -2
  117. package/lib/Fairmint/OpenCapTableReports/ReportsFactory/module.js +2 -2
  118. package/lib/Nft/Api/V1/Nft/module.d.ts +20 -0
  119. package/lib/Nft/Api/V1/Nft/module.js +31 -0
  120. package/lib/Nft/Api/V1/Types/module.d.ts +179 -0
  121. package/lib/Nft/Api/V1/Types/module.js +218 -0
  122. package/lib/{DA/Set → Nft/Api/V1}/index.d.ts +2 -0
  123. package/lib/{DA/Set → Nft/Api/V1}/index.js +2 -0
  124. package/lib/Nft/Api/index.d.ts +2 -0
  125. package/lib/Nft/Api/index.js +9 -0
  126. package/lib/Nft/Reference/V1/NftAsset/module.d.ts +105 -0
  127. package/lib/Nft/Reference/V1/NftAsset/module.js +183 -0
  128. package/lib/Nft/Reference/V1/NftRegistry/module.d.ts +97 -0
  129. package/lib/Nft/Reference/V1/NftRegistry/module.js +150 -0
  130. package/lib/Nft/Reference/V1/ReceiveAuthorization/module.d.ts +41 -0
  131. package/lib/Nft/Reference/V1/ReceiveAuthorization/module.js +68 -0
  132. package/lib/Nft/Reference/V1/index.d.ts +6 -0
  133. package/lib/Nft/Reference/V1/index.js +13 -0
  134. package/lib/Nft/Reference/index.d.ts +2 -0
  135. package/lib/Nft/Reference/index.js +9 -0
  136. package/lib/Nft/index.d.ts +2 -0
  137. package/lib/Nft/index.js +6 -0
  138. package/lib/Splice/Api/index.d.ts +1 -1
  139. package/lib/Splice/index.d.ts +16 -30
  140. package/lib/Splice/index.js +2 -0
  141. package/lib/index.d.ts +2 -1
  142. package/lib/index.js +2 -0
  143. package/package.json +34 -30
  144. package/types/ocp-factory-contract-id-json.d.ts +12 -0
  145. package/types/paymentStreams-factory-contract-id-json.d.ts +24 -0
  146. package/types/reports-factory-contract-id-json.d.ts +12 -0
  147. package/OpenCapTable-v33/.daml/dist/OpenCapTable-v33-0.0.1.dar +0 -0
  148. package/generated/ocp-factory-contract-id.json.d.ts +0 -11
  149. package/generated/paymentStreams-factory-contract-id.json.d.ts +0 -23
  150. package/generated/reports-factory-contract-id.json.d.ts +0 -11
  151. package/lib/DA/Set/Types/module.d.ts +0 -15
  152. package/lib/DA/Set/Types/module.js +0 -23
  153. package/lib/Splice/Api/Token/AllocationInstructionV1/module.d.ts +0 -147
  154. package/lib/Splice/Api/Token/AllocationInstructionV1/module.js +0 -215
  155. package/lib/Splice/Api/Token/AllocationV1/module.d.ts +0 -151
  156. package/lib/Splice/Api/Token/AllocationV1/module.js +0 -205
  157. package/lib/Splice/Api/Token/HoldingV1/module.d.ts +0 -58
  158. package/lib/Splice/Api/Token/HoldingV1/module.js +0 -75
  159. package/lib/Splice/Api/Token/MetadataV1/module.d.ts +0 -89
  160. package/lib/Splice/Api/Token/MetadataV1/module.js +0 -113
  161. package/lib/Splice/Api/Token/TransferInstructionV1/index.d.ts +0 -1
  162. package/lib/Splice/Api/Token/TransferInstructionV1/index.js +0 -8
  163. package/lib/Splice/Api/Token/TransferInstructionV1/module.d.ts +0 -200
  164. package/lib/Splice/Api/Token/TransferInstructionV1/module.js +0 -294
  165. /package/lib/{DA/Set/Types → Nft/Api/V1/Nft}/index.d.ts +0 -0
  166. /package/lib/{DA/Set/Types → Nft/Api/V1/Nft}/index.js +0 -0
  167. /package/lib/{Splice/Api/Token/AllocationInstructionV1 → Nft/Api/V1/Types}/index.d.ts +0 -0
  168. /package/lib/{Splice/Api/Token/AllocationInstructionV1 → Nft/Api/V1/Types}/index.js +0 -0
  169. /package/lib/{Splice/Api/Token/AllocationV1 → Nft/Reference/V1/NftAsset}/index.d.ts +0 -0
  170. /package/lib/{Splice/Api/Token/AllocationV1 → Nft/Reference/V1/NftAsset}/index.js +0 -0
  171. /package/lib/{Splice/Api/Token/HoldingV1 → Nft/Reference/V1/NftRegistry}/index.d.ts +0 -0
  172. /package/lib/{Splice/Api/Token/HoldingV1 → Nft/Reference/V1/NftRegistry}/index.js +0 -0
  173. /package/lib/{Splice/Api/Token/MetadataV1 → Nft/Reference/V1/ReceiveAuthorization}/index.d.ts +0 -0
  174. /package/lib/{Splice/Api/Token/MetadataV1 → Nft/Reference/V1/ReceiveAuthorization}/index.js +0 -0
@@ -1,294 +0,0 @@
1
- "use strict";
2
- /* eslint-disable-next-line no-unused-vars */
3
- function __export(m) {
4
- /* eslint-disable-next-line no-prototype-builtins */
5
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
6
- }
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- /* eslint-disable-next-line no-unused-vars */
9
- var jtv = require('@mojotech/json-type-validation');
10
- /* eslint-disable-next-line no-unused-vars */
11
- var damlTypes = require('@daml/types');
12
-
13
- var pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f = require('../MetadataV1');
14
- var pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b = require('../HoldingV1');
15
- var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../../DA/Internal/Template');
16
-
17
- exports.TransferFactory = damlTypes.assembleInterface(
18
- '#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferFactory',
19
- '55ba4deb0ad4662c4168b39859738a0e91388d252286480c7331b3f71a517281:Splice.Api.Token.TransferInstructionV1:TransferFactory',
20
- function () { return exports.TransferFactoryView; },
21
- {
22
- Archive: {
23
- template: function () { return exports.TransferFactory; },
24
- choiceName: 'Archive',
25
- argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
26
- argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
27
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
28
- resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
29
- },
30
- TransferFactory_Transfer: {
31
- template: function () { return exports.TransferFactory; },
32
- choiceName: 'TransferFactory_Transfer',
33
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.TransferFactory_Transfer.decoder; }),
34
- argumentEncode: function (__typed__) { return exports.TransferFactory_Transfer.encode(__typed__); },
35
- resultDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstructionResult.decoder; }),
36
- resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
37
- },
38
- TransferFactory_PublicFetch: {
39
- template: function () { return exports.TransferFactory; },
40
- choiceName: 'TransferFactory_PublicFetch',
41
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.TransferFactory_PublicFetch.decoder; }),
42
- argumentEncode: function (__typed__) { return exports.TransferFactory_PublicFetch.encode(__typed__); },
43
- resultDecoder: damlTypes.lazyMemo(function () { return exports.TransferFactoryView.decoder; }),
44
- resultEncode: function (__typed__) { return exports.TransferFactoryView.encode(__typed__); },
45
- },
46
- });
47
-
48
-
49
- exports.TransferInstruction = damlTypes.assembleInterface(
50
- '#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferInstruction',
51
- '55ba4deb0ad4662c4168b39859738a0e91388d252286480c7331b3f71a517281:Splice.Api.Token.TransferInstructionV1:TransferInstruction',
52
- function () { return exports.TransferInstructionView; },
53
- {
54
- Archive: {
55
- template: function () { return exports.TransferInstruction; },
56
- choiceName: 'Archive',
57
- argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
58
- argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
59
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
60
- resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
61
- },
62
- TransferInstruction_Accept: {
63
- template: function () { return exports.TransferInstruction; },
64
- choiceName: 'TransferInstruction_Accept',
65
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstruction_Accept.decoder; }),
66
- argumentEncode: function (__typed__) { return exports.TransferInstruction_Accept.encode(__typed__); },
67
- resultDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstructionResult.decoder; }),
68
- resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
69
- },
70
- TransferInstruction_Reject: {
71
- template: function () { return exports.TransferInstruction; },
72
- choiceName: 'TransferInstruction_Reject',
73
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstruction_Reject.decoder; }),
74
- argumentEncode: function (__typed__) { return exports.TransferInstruction_Reject.encode(__typed__); },
75
- resultDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstructionResult.decoder; }),
76
- resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
77
- },
78
- TransferInstruction_Withdraw: {
79
- template: function () { return exports.TransferInstruction; },
80
- choiceName: 'TransferInstruction_Withdraw',
81
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstruction_Withdraw.decoder; }),
82
- argumentEncode: function (__typed__) { return exports.TransferInstruction_Withdraw.encode(__typed__); },
83
- resultDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstructionResult.decoder; }),
84
- resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
85
- },
86
- TransferInstruction_Update: {
87
- template: function () { return exports.TransferInstruction; },
88
- choiceName: 'TransferInstruction_Update',
89
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstruction_Update.decoder; }),
90
- argumentEncode: function (__typed__) { return exports.TransferInstruction_Update.encode(__typed__); },
91
- resultDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstructionResult.decoder; }),
92
- resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
93
- },
94
- });
95
-
96
-
97
-
98
- exports.TransferFactoryView = {
99
- decoder: damlTypes.lazyMemo(function () { return jtv.object({admin: damlTypes.Party.decoder, meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder, }); }),
100
- encode: function (__typed__) {
101
- return {
102
- admin: damlTypes.Party.encode(__typed__.admin),
103
- meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
104
- };
105
- }
106
- ,
107
- };
108
-
109
-
110
-
111
- exports.TransferFactory_PublicFetch = {
112
- decoder: damlTypes.lazyMemo(function () { return jtv.object({expectedAdmin: damlTypes.Party.decoder, actor: damlTypes.Party.decoder, }); }),
113
- encode: function (__typed__) {
114
- return {
115
- expectedAdmin: damlTypes.Party.encode(__typed__.expectedAdmin),
116
- actor: damlTypes.Party.encode(__typed__.actor),
117
- };
118
- }
119
- ,
120
- };
121
-
122
-
123
-
124
- exports.TransferFactory_Transfer = {
125
- decoder: damlTypes.lazyMemo(function () { return jtv.object({expectedAdmin: damlTypes.Party.decoder, transfer: exports.Transfer.decoder, extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder, }); }),
126
- encode: function (__typed__) {
127
- return {
128
- expectedAdmin: damlTypes.Party.encode(__typed__.expectedAdmin),
129
- transfer: exports.Transfer.encode(__typed__.transfer),
130
- extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
131
- };
132
- }
133
- ,
134
- };
135
-
136
-
137
-
138
- exports.TransferInstruction_Update = {
139
- decoder: damlTypes.lazyMemo(function () { return jtv.object({extraActors: damlTypes.List(damlTypes.Party).decoder, extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder, }); }),
140
- encode: function (__typed__) {
141
- return {
142
- extraActors: damlTypes.List(damlTypes.Party).encode(__typed__.extraActors),
143
- extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
144
- };
145
- }
146
- ,
147
- };
148
-
149
-
150
-
151
- exports.TransferInstruction_Withdraw = {
152
- decoder: damlTypes.lazyMemo(function () { return jtv.object({extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder, }); }),
153
- encode: function (__typed__) {
154
- return {
155
- extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
156
- };
157
- }
158
- ,
159
- };
160
-
161
-
162
-
163
- exports.TransferInstruction_Reject = {
164
- decoder: damlTypes.lazyMemo(function () { return jtv.object({extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder, }); }),
165
- encode: function (__typed__) {
166
- return {
167
- extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
168
- };
169
- }
170
- ,
171
- };
172
-
173
-
174
-
175
- exports.TransferInstruction_Accept = {
176
- decoder: damlTypes.lazyMemo(function () { return jtv.object({extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder, }); }),
177
- encode: function (__typed__) {
178
- return {
179
- extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
180
- };
181
- }
182
- ,
183
- };
184
-
185
-
186
-
187
- exports.TransferInstructionView = {
188
- decoder: damlTypes.lazyMemo(function () { return jtv.object({originalInstructionCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(exports.TransferInstruction)).decoder), transfer: exports.Transfer.decoder, status: exports.TransferInstructionStatus.decoder, meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder, }); }),
189
- encode: function (__typed__) {
190
- return {
191
- originalInstructionCid: damlTypes.Optional(damlTypes.ContractId(exports.TransferInstruction)).encode(__typed__.originalInstructionCid),
192
- transfer: exports.Transfer.encode(__typed__.transfer),
193
- status: exports.TransferInstructionStatus.encode(__typed__.status),
194
- meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
195
- };
196
- }
197
- ,
198
- };
199
-
200
-
201
-
202
- exports.TransferInstructionStatus = {
203
- decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('TransferPendingReceiverAcceptance'), value: damlTypes.Unit.decoder, }), jtv.object({tag: jtv.constant('TransferPendingInternalWorkflow'), value: exports.TransferInstructionStatus.TransferPendingInternalWorkflow.decoder, })); }),
204
- encode: function (__typed__) {
205
- switch(__typed__.tag) {
206
- case 'TransferPendingReceiverAcceptance': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
207
- case 'TransferPendingInternalWorkflow': return {tag: __typed__.tag, value: exports.TransferInstructionStatus.TransferPendingInternalWorkflow.encode(__typed__.value)};
208
- default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type TransferInstructionStatus';
209
- }
210
- }
211
- ,
212
- TransferPendingInternalWorkflow:({
213
- decoder: damlTypes.lazyMemo(function () { return jtv.object({pendingActions: damlTypes.Map(damlTypes.Party, damlTypes.Text).decoder, }); }),
214
- encode: function (__typed__) {
215
- return {
216
- pendingActions: damlTypes.Map(damlTypes.Party, damlTypes.Text).encode(__typed__.pendingActions),
217
- };
218
- }
219
- ,
220
- }),
221
- };
222
-
223
-
224
-
225
-
226
-
227
- exports.TransferInstructionResult_Output = {
228
- decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('TransferInstructionResult_Pending'), value: exports.TransferInstructionResult_Output.TransferInstructionResult_Pending.decoder, }), jtv.object({tag: jtv.constant('TransferInstructionResult_Completed'), value: exports.TransferInstructionResult_Output.TransferInstructionResult_Completed.decoder, }), jtv.object({tag: jtv.constant('TransferInstructionResult_Failed'), value: damlTypes.Unit.decoder, })); }),
229
- encode: function (__typed__) {
230
- switch(__typed__.tag) {
231
- case 'TransferInstructionResult_Pending': return {tag: __typed__.tag, value: exports.TransferInstructionResult_Output.TransferInstructionResult_Pending.encode(__typed__.value)};
232
- case 'TransferInstructionResult_Completed': return {tag: __typed__.tag, value: exports.TransferInstructionResult_Output.TransferInstructionResult_Completed.encode(__typed__.value)};
233
- case 'TransferInstructionResult_Failed': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
234
- default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type TransferInstructionResult_Output';
235
- }
236
- }
237
- ,
238
- TransferInstructionResult_Pending:({
239
- decoder: damlTypes.lazyMemo(function () { return jtv.object({transferInstructionCid: damlTypes.ContractId(exports.TransferInstruction).decoder, }); }),
240
- encode: function (__typed__) {
241
- return {
242
- transferInstructionCid: damlTypes.ContractId(exports.TransferInstruction).encode(__typed__.transferInstructionCid),
243
- };
244
- }
245
- ,
246
- }),
247
- TransferInstructionResult_Completed:({
248
- decoder: damlTypes.lazyMemo(function () { return jtv.object({receiverHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder, }); }),
249
- encode: function (__typed__) {
250
- return {
251
- receiverHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.receiverHoldingCids),
252
- };
253
- }
254
- ,
255
- }),
256
- };
257
-
258
-
259
-
260
-
261
-
262
-
263
-
264
- exports.TransferInstructionResult = {
265
- decoder: damlTypes.lazyMemo(function () { return jtv.object({output: exports.TransferInstructionResult_Output.decoder, senderChangeCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder, meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder, }); }),
266
- encode: function (__typed__) {
267
- return {
268
- output: exports.TransferInstructionResult_Output.encode(__typed__.output),
269
- senderChangeCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.senderChangeCids),
270
- meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
271
- };
272
- }
273
- ,
274
- };
275
-
276
-
277
-
278
- exports.Transfer = {
279
- decoder: damlTypes.lazyMemo(function () { return jtv.object({sender: damlTypes.Party.decoder, receiver: damlTypes.Party.decoder, amount: damlTypes.Numeric(10).decoder, instrumentId: pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.InstrumentId.decoder, requestedAt: damlTypes.Time.decoder, executeBefore: damlTypes.Time.decoder, inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder, meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder, }); }),
280
- encode: function (__typed__) {
281
- return {
282
- sender: damlTypes.Party.encode(__typed__.sender),
283
- receiver: damlTypes.Party.encode(__typed__.receiver),
284
- amount: damlTypes.Numeric(10).encode(__typed__.amount),
285
- instrumentId: pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.InstrumentId.encode(__typed__.instrumentId),
286
- requestedAt: damlTypes.Time.encode(__typed__.requestedAt),
287
- executeBefore: damlTypes.Time.encode(__typed__.executeBefore),
288
- inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.inputHoldingCids),
289
- meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
290
- };
291
- }
292
- ,
293
- };
294
-
File without changes
File without changes