@fairmint/open-captable-protocol-daml-js 0.2.161 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. package/lib/Fairmint/OpenCapTable/CapTable/module.js +2 -2
  2. package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +2 -2
  3. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.js +2 -2
  4. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.js +2 -2
  5. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.js +2 -2
  6. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.js +2 -2
  7. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.js +2 -2
  8. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.js +2 -2
  9. package/lib/Fairmint/OpenCapTable/OCF/Document/module.js +2 -2
  10. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.js +2 -2
  11. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.js +2 -2
  12. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.js +2 -2
  13. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.js +2 -2
  14. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.js +2 -2
  15. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.js +2 -2
  16. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.js +2 -2
  17. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.js +2 -2
  18. package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.js +2 -2
  19. package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.js +2 -2
  20. package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.js +2 -2
  21. package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.js +2 -2
  22. package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.js +2 -2
  23. package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.js +2 -2
  24. package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.js +2 -2
  25. package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.js +2 -2
  26. package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.js +2 -2
  27. package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.js +2 -2
  28. package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.js +2 -2
  29. package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.js +2 -2
  30. package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.js +2 -2
  31. package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.js +2 -2
  32. package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.js +2 -2
  33. package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.js +2 -2
  34. package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.js +2 -2
  35. package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.js +2 -2
  36. package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.js +2 -2
  37. package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.js +2 -2
  38. package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.js +2 -2
  39. package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.js +2 -2
  40. package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.js +2 -2
  41. package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.js +2 -2
  42. package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.js +2 -2
  43. package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.js +2 -2
  44. package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.js +2 -2
  45. package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.js +2 -2
  46. package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.js +2 -2
  47. package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.js +2 -2
  48. package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.js +2 -2
  49. package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.js +2 -2
  50. package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.js +2 -2
  51. package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +2 -2
  52. package/lib/Fairmint/index.d.ts +0 -1
  53. package/lib/Fairmint/index.js +0 -2
  54. package/lib/index.d.ts +1 -3
  55. package/lib/index.js +0 -4
  56. package/package.json +7 -31
  57. package/published-dars/OpenCapTable.dar +0 -0
  58. package/generated/paymentStreams-factory-contract-id.json +0 -22
  59. package/generated/reports-factory-contract-id.json +0 -10
  60. package/lib/CantonPayments/Airdrop/Airdrop/index.d.ts +0 -1
  61. package/lib/CantonPayments/Airdrop/Airdrop/index.js +0 -8
  62. package/lib/CantonPayments/Airdrop/Airdrop/module.d.ts +0 -113
  63. package/lib/CantonPayments/Airdrop/Airdrop/module.js +0 -180
  64. package/lib/CantonPayments/Airdrop/AirdropFactory/index.d.ts +0 -1
  65. package/lib/CantonPayments/Airdrop/AirdropFactory/index.js +0 -8
  66. package/lib/CantonPayments/Airdrop/AirdropFactory/module.d.ts +0 -64
  67. package/lib/CantonPayments/Airdrop/AirdropFactory/module.js +0 -100
  68. package/lib/CantonPayments/Airdrop/PersonalAirdrop/index.d.ts +0 -1
  69. package/lib/CantonPayments/Airdrop/PersonalAirdrop/index.js +0 -8
  70. package/lib/CantonPayments/Airdrop/PersonalAirdrop/module.d.ts +0 -60
  71. package/lib/CantonPayments/Airdrop/PersonalAirdrop/module.js +0 -96
  72. package/lib/CantonPayments/Airdrop/SimpleAirdrop/index.d.ts +0 -1
  73. package/lib/CantonPayments/Airdrop/SimpleAirdrop/index.js +0 -8
  74. package/lib/CantonPayments/Airdrop/SimpleAirdrop/module.d.ts +0 -64
  75. package/lib/CantonPayments/Airdrop/SimpleAirdrop/module.js +0 -95
  76. package/lib/CantonPayments/Airdrop/index.d.ts +0 -8
  77. package/lib/CantonPayments/Airdrop/index.js +0 -15
  78. package/lib/CantonPayments/PaymentStream/ActivePaymentStream/index.d.ts +0 -1
  79. package/lib/CantonPayments/PaymentStream/ActivePaymentStream/index.js +0 -8
  80. package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.d.ts +0 -215
  81. package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.js +0 -354
  82. package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/index.d.ts +0 -1
  83. package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/index.js +0 -8
  84. package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/module.d.ts +0 -82
  85. package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/module.js +0 -136
  86. package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/index.d.ts +0 -1
  87. package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/index.js +0 -8
  88. package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.d.ts +0 -46
  89. package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.js +0 -73
  90. package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/index.d.ts +0 -1
  91. package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/index.js +0 -8
  92. package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.d.ts +0 -97
  93. package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.js +0 -160
  94. package/lib/CantonPayments/PaymentStream/Types/ActivePaymentStreamData/index.d.ts +0 -1
  95. package/lib/CantonPayments/PaymentStream/Types/ActivePaymentStreamData/index.js +0 -8
  96. package/lib/CantonPayments/PaymentStream/Types/ActivePaymentStreamData/module.d.ts +0 -23
  97. package/lib/CantonPayments/PaymentStream/Types/ActivePaymentStreamData/module.js +0 -30
  98. package/lib/CantonPayments/PaymentStream/Types/Approvals/index.d.ts +0 -1
  99. package/lib/CantonPayments/PaymentStream/Types/Approvals/index.js +0 -8
  100. package/lib/CantonPayments/PaymentStream/Types/Approvals/module.d.ts +0 -18
  101. package/lib/CantonPayments/PaymentStream/Types/Approvals/module.js +0 -25
  102. package/lib/CantonPayments/PaymentStream/Types/LockFundsInput/index.d.ts +0 -1
  103. package/lib/CantonPayments/PaymentStream/Types/LockFundsInput/index.js +0 -8
  104. package/lib/CantonPayments/PaymentStream/Types/LockFundsInput/module.d.ts +0 -22
  105. package/lib/CantonPayments/PaymentStream/Types/LockFundsInput/module.js +0 -29
  106. package/lib/CantonPayments/PaymentStream/Types/PartyRole/index.d.ts +0 -1
  107. package/lib/CantonPayments/PaymentStream/Types/PartyRole/index.js +0 -8
  108. package/lib/CantonPayments/PaymentStream/Types/PartyRole/module.d.ts +0 -19
  109. package/lib/CantonPayments/PaymentStream/Types/PartyRole/module.js +0 -22
  110. package/lib/CantonPayments/PaymentStream/Types/PaymentContext/index.d.ts +0 -1
  111. package/lib/CantonPayments/PaymentStream/Types/PaymentContext/index.js +0 -8
  112. package/lib/CantonPayments/PaymentStream/Types/PaymentContext/module.d.ts +0 -20
  113. package/lib/CantonPayments/PaymentStream/Types/PaymentContext/module.js +0 -27
  114. package/lib/CantonPayments/PaymentStream/Types/PaymentResult/index.d.ts +0 -1
  115. package/lib/CantonPayments/PaymentStream/Types/PaymentResult/index.js +0 -8
  116. package/lib/CantonPayments/PaymentStream/Types/PaymentResult/module.d.ts +0 -20
  117. package/lib/CantonPayments/PaymentStream/Types/PaymentResult/module.js +0 -28
  118. package/lib/CantonPayments/PaymentStream/Types/PaymentStream/index.d.ts +0 -1
  119. package/lib/CantonPayments/PaymentStream/Types/PaymentStream/index.js +0 -8
  120. package/lib/CantonPayments/PaymentStream/Types/PaymentStream/module.d.ts +0 -32
  121. package/lib/CantonPayments/PaymentStream/Types/PaymentStream/module.js +0 -39
  122. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamAmount/index.d.ts +0 -1
  123. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamAmount/index.js +0 -8
  124. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamAmount/module.d.ts +0 -17
  125. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamAmount/module.js +0 -25
  126. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamChanges/index.d.ts +0 -1
  127. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamChanges/index.js +0 -8
  128. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamChanges/module.d.ts +0 -32
  129. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamChanges/module.js +0 -39
  130. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposal/index.d.ts +0 -1
  131. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposal/index.js +0 -8
  132. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposal/module.d.ts +0 -33
  133. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposal/module.js +0 -40
  134. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges/index.d.ts +0 -1
  135. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges/index.js +0 -8
  136. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges/module.d.ts +0 -33
  137. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges/module.js +0 -40
  138. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamStats/index.d.ts +0 -1
  139. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamStats/index.js +0 -8
  140. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamStats/module.d.ts +0 -22
  141. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamStats/module.js +0 -29
  142. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamTime/index.d.ts +0 -1
  143. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamTime/index.js +0 -8
  144. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamTime/module.d.ts +0 -19
  145. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamTime/module.js +0 -27
  146. package/lib/CantonPayments/PaymentStream/Types/ProcessFreeTrialResult/index.d.ts +0 -1
  147. package/lib/CantonPayments/PaymentStream/Types/ProcessFreeTrialResult/index.js +0 -8
  148. package/lib/CantonPayments/PaymentStream/Types/ProcessFreeTrialResult/module.d.ts +0 -18
  149. package/lib/CantonPayments/PaymentStream/Types/ProcessFreeTrialResult/module.js +0 -26
  150. package/lib/CantonPayments/PaymentStream/Types/ProcessorContext/index.d.ts +0 -1
  151. package/lib/CantonPayments/PaymentStream/Types/ProcessorContext/index.js +0 -8
  152. package/lib/CantonPayments/PaymentStream/Types/ProcessorContext/module.d.ts +0 -17
  153. package/lib/CantonPayments/PaymentStream/Types/ProcessorContext/module.js +0 -24
  154. package/lib/CantonPayments/PaymentStream/Types/index.d.ts +0 -30
  155. package/lib/CantonPayments/PaymentStream/Types/index.js +0 -37
  156. package/lib/CantonPayments/PaymentStream/index.d.ts +0 -10
  157. package/lib/CantonPayments/PaymentStream/index.js +0 -17
  158. package/lib/CantonPayments/index.d.ts +0 -4
  159. package/lib/CantonPayments/index.js +0 -11
  160. package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/index.d.ts +0 -1
  161. package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/index.js +0 -8
  162. package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/module.d.ts +0 -53
  163. package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/module.js +0 -89
  164. package/lib/Fairmint/OpenCapTableReports/ReportsFactory/index.d.ts +0 -1
  165. package/lib/Fairmint/OpenCapTableReports/ReportsFactory/index.js +0 -8
  166. package/lib/Fairmint/OpenCapTableReports/ReportsFactory/module.d.ts +0 -42
  167. package/lib/Fairmint/OpenCapTableReports/ReportsFactory/module.js +0 -69
  168. package/lib/Fairmint/OpenCapTableReports/index.d.ts +0 -4
  169. package/lib/Fairmint/OpenCapTableReports/index.js +0 -11
  170. package/lib/Nft/Api/V1/Nft/index.d.ts +0 -1
  171. package/lib/Nft/Api/V1/Nft/index.js +0 -8
  172. package/lib/Nft/Api/V1/Nft/module.d.ts +0 -20
  173. package/lib/Nft/Api/V1/Nft/module.js +0 -31
  174. package/lib/Nft/Api/V1/Types/index.d.ts +0 -1
  175. package/lib/Nft/Api/V1/Types/index.js +0 -8
  176. package/lib/Nft/Api/V1/Types/module.d.ts +0 -179
  177. package/lib/Nft/Api/V1/Types/module.js +0 -218
  178. package/lib/Nft/Api/V1/index.d.ts +0 -4
  179. package/lib/Nft/Api/V1/index.js +0 -11
  180. package/lib/Nft/Api/index.d.ts +0 -2
  181. package/lib/Nft/Api/index.js +0 -9
  182. package/lib/Nft/Reference/V1/NftAsset/index.d.ts +0 -1
  183. package/lib/Nft/Reference/V1/NftAsset/index.js +0 -8
  184. package/lib/Nft/Reference/V1/NftAsset/module.d.ts +0 -105
  185. package/lib/Nft/Reference/V1/NftAsset/module.js +0 -183
  186. package/lib/Nft/Reference/V1/NftRegistry/index.d.ts +0 -1
  187. package/lib/Nft/Reference/V1/NftRegistry/index.js +0 -8
  188. package/lib/Nft/Reference/V1/NftRegistry/module.d.ts +0 -97
  189. package/lib/Nft/Reference/V1/NftRegistry/module.js +0 -150
  190. package/lib/Nft/Reference/V1/ReceiveAuthorization/index.d.ts +0 -1
  191. package/lib/Nft/Reference/V1/ReceiveAuthorization/index.js +0 -8
  192. package/lib/Nft/Reference/V1/ReceiveAuthorization/module.d.ts +0 -41
  193. package/lib/Nft/Reference/V1/ReceiveAuthorization/module.js +0 -68
  194. package/lib/Nft/Reference/V1/index.d.ts +0 -6
  195. package/lib/Nft/Reference/V1/index.js +0 -13
  196. package/lib/Nft/Reference/index.d.ts +0 -2
  197. package/lib/Nft/Reference/index.js +0 -9
  198. package/lib/Nft/index.d.ts +0 -2
  199. package/lib/Nft/index.js +0 -6
  200. package/lib/nft-api-v01-package-namespace.d.ts +0 -4
  201. package/lib/nft-api-v01-package-namespace.js +0 -4
  202. package/types/paymentStreams-factory-contract-id-json.d.ts +0 -24
  203. package/types/reports-factory-contract-id-json.d.ts +0 -12
@@ -1,183 +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 pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../../__bundled__/ghc-stdlib-DA-Internal-Template');
14
- var pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d = require('../../../../nft-api-v01-package-namespace.js');
15
-
16
- var Nft_Reference_V1_ReceiveAuthorization = require('../../../../Nft/Reference/V1/ReceiveAuthorization/module');
17
-
18
-
19
- exports.Expire = {
20
- decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, }); }),
21
- encode: function (__typed__) {
22
- return {
23
- actor: damlTypes.Party.encode(__typed__.actor),
24
- };
25
- }
26
- ,
27
- };
28
-
29
-
30
-
31
- exports.Withdraw = {
32
- decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
33
- encode: function (__typed__) {
34
- return {
35
- };
36
- }
37
- ,
38
- };
39
-
40
-
41
-
42
- exports.Reject = {
43
- decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
44
- encode: function (__typed__) {
45
- return {
46
- };
47
- }
48
- ,
49
- };
50
-
51
-
52
-
53
- exports.Accept = {
54
- decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
55
- encode: function (__typed__) {
56
- return {
57
- };
58
- }
59
- ,
60
- };
61
-
62
-
63
-
64
- exports.NftTransferOffer = damlTypes.assembleTemplate(
65
- {
66
- templateId: '#NftReference-v01:Nft.Reference.V1.NftAsset:NftTransferOffer',
67
- templateIdWithPackageId: '26b30a7f62594fcc31537552d9ca5ca633ea70228c74c9cd588d1cf75303d529:Nft.Reference.V1.NftAsset:NftTransferOffer',
68
- keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
69
- keyEncode: function () { throw 'EncodeError'; },
70
- decoder: damlTypes.lazyMemo(function () { return jtv.object({registry_authority: damlTypes.Party.decoder, operator: damlTypes.Party.decoder, sender: damlTypes.Party.decoder, registration: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.NftRegistration.decoder, transfer_offer: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.TransferOfferTerms.decoder, }); }),
71
- encode: function (__typed__) {
72
- return {
73
- registry_authority: damlTypes.Party.encode(__typed__.registry_authority),
74
- operator: damlTypes.Party.encode(__typed__.operator),
75
- sender: damlTypes.Party.encode(__typed__.sender),
76
- registration: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.NftRegistration.encode(__typed__.registration),
77
- transfer_offer: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.TransferOfferTerms.encode(__typed__.transfer_offer),
78
- };
79
- }
80
- ,
81
- Accept: {
82
- template: function () { return exports.NftTransferOffer; },
83
- choiceName: 'Accept',
84
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.Accept.decoder; }),
85
- argumentEncode: function (__typed__) { return exports.Accept.encode(__typed__); },
86
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Nft.Nft).decoder; }),
87
- resultEncode: function (__typed__) { return damlTypes.ContractId(pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Nft.Nft).encode(__typed__); },
88
- },
89
- Reject: {
90
- template: function () { return exports.NftTransferOffer; },
91
- choiceName: 'Reject',
92
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.Reject.decoder; }),
93
- argumentEncode: function (__typed__) { return exports.Reject.encode(__typed__); },
94
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Nft.Nft).decoder; }),
95
- resultEncode: function (__typed__) { return damlTypes.ContractId(pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Nft.Nft).encode(__typed__); },
96
- },
97
- Withdraw: {
98
- template: function () { return exports.NftTransferOffer; },
99
- choiceName: 'Withdraw',
100
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.Withdraw.decoder; }),
101
- argumentEncode: function (__typed__) { return exports.Withdraw.encode(__typed__); },
102
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Nft.Nft).decoder; }),
103
- resultEncode: function (__typed__) { return damlTypes.ContractId(pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Nft.Nft).encode(__typed__); },
104
- },
105
- Expire: {
106
- template: function () { return exports.NftTransferOffer; },
107
- choiceName: 'Expire',
108
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.Expire.decoder; }),
109
- argumentEncode: function (__typed__) { return exports.Expire.encode(__typed__); },
110
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Nft.Nft).decoder; }),
111
- resultEncode: function (__typed__) { return damlTypes.ContractId(pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Nft.Nft).encode(__typed__); },
112
- },
113
- Archive: {
114
- template: function () { return exports.NftTransferOffer; },
115
- choiceName: 'Archive',
116
- argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
117
- argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
118
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
119
- resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
120
- },
121
- }
122
-
123
- , pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Nft.Nft
124
- );
125
-
126
-
127
- damlTypes.registerTemplate(exports.NftTransferOffer, ['26b30a7f62594fcc31537552d9ca5ca633ea70228c74c9cd588d1cf75303d529', '#NftReference-v01']);
128
-
129
-
130
-
131
- exports.OfferTransfer = {
132
- decoder: damlTypes.lazyMemo(function () { return jtv.object({transfer_offer: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.TransferOfferTerms.decoder, receive_authorization_cid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(Nft_Reference_V1_ReceiveAuthorization.StandingReceiveAuthorization)).decoder), }); }),
133
- encode: function (__typed__) {
134
- return {
135
- transfer_offer: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.TransferOfferTerms.encode(__typed__.transfer_offer),
136
- receive_authorization_cid: damlTypes.Optional(damlTypes.ContractId(Nft_Reference_V1_ReceiveAuthorization.StandingReceiveAuthorization)).encode(__typed__.receive_authorization_cid),
137
- };
138
- }
139
- ,
140
- };
141
-
142
-
143
-
144
- exports.NftAsset = damlTypes.assembleTemplate(
145
- {
146
- templateId: '#NftReference-v01:Nft.Reference.V1.NftAsset:NftAsset',
147
- templateIdWithPackageId: '26b30a7f62594fcc31537552d9ca5ca633ea70228c74c9cd588d1cf75303d529:Nft.Reference.V1.NftAsset:NftAsset',
148
- keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
149
- keyEncode: function () { throw 'EncodeError'; },
150
- decoder: damlTypes.lazyMemo(function () { return jtv.object({registry_authority: damlTypes.Party.decoder, operator: damlTypes.Party.decoder, holder: damlTypes.Party.decoder, registration: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.NftRegistration.decoder, }); }),
151
- encode: function (__typed__) {
152
- return {
153
- registry_authority: damlTypes.Party.encode(__typed__.registry_authority),
154
- operator: damlTypes.Party.encode(__typed__.operator),
155
- holder: damlTypes.Party.encode(__typed__.holder),
156
- registration: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.NftRegistration.encode(__typed__.registration),
157
- };
158
- }
159
- ,
160
- OfferTransfer: {
161
- template: function () { return exports.NftAsset; },
162
- choiceName: 'OfferTransfer',
163
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.OfferTransfer.decoder; }),
164
- argumentEncode: function (__typed__) { return exports.OfferTransfer.encode(__typed__); },
165
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Nft.Nft).decoder; }),
166
- resultEncode: function (__typed__) { return damlTypes.ContractId(pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Nft.Nft).encode(__typed__); },
167
- },
168
- Archive: {
169
- template: function () { return exports.NftAsset; },
170
- choiceName: 'Archive',
171
- argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
172
- argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
173
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
174
- resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
175
- },
176
- }
177
-
178
- , pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Nft.Nft
179
- );
180
-
181
-
182
- damlTypes.registerTemplate(exports.NftAsset, ['26b30a7f62594fcc31537552d9ca5ca633ea70228c74c9cd588d1cf75303d529', '#NftReference-v01']);
183
-
@@ -1 +0,0 @@
1
- export * from './module';
@@ -1,8 +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
- __export(require('./module'));
@@ -1,97 +0,0 @@
1
- // Generated from Nft/Reference/V1/NftRegistry.daml
2
- /* eslint-disable @typescript-eslint/camelcase */
3
- /* eslint-disable @typescript-eslint/no-namespace */
4
- /* eslint-disable @typescript-eslint/no-use-before-define */
5
- import * as jtv from '@mojotech/json-type-validation';
6
- import * as damlTypes from '@daml/types';
7
-
8
- import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../__bundled__/ghc-stdlib-DA-Internal-Template';
9
- import * as pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d from '../../../../nft-api-v01-package-namespace.js';
10
-
11
- export declare type Mint = {
12
- holder: damlTypes.Party;
13
- registration: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.NftRegistration;
14
- };
15
-
16
- export declare const Mint:
17
- damlTypes.Serializable<Mint> & {
18
- }
19
- ;
20
-
21
-
22
- export declare type NftRegistry = {
23
- registry_authority: damlTypes.Party;
24
- operator: damlTypes.Party;
25
- registry: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.RegistryIdentity;
26
- collection_scope: damlTypes.Optional<pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.CollectionIdentity>;
27
- collection_registries: damlTypes.Map<pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.CollectionIdentity, damlTypes.ContractId<CollectionRegistry>>;
28
- };
29
-
30
- export declare interface NftRegistryInterface {
31
- Mint: damlTypes.Choice<NftRegistry, Mint, MintResult, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<NftRegistry, undefined>>;
32
- Archive: damlTypes.Choice<NftRegistry, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<NftRegistry, undefined>>;
33
- }
34
- export declare const NftRegistry:
35
- damlTypes.Template<NftRegistry, undefined, '#NftReference-v01:Nft.Reference.V1.NftRegistry:NftRegistry'> &
36
- damlTypes.ToInterface<NftRegistry, never> &
37
- NftRegistryInterface;
38
-
39
- export declare namespace NftRegistry {
40
- }
41
-
42
-
43
-
44
- export declare type MintInCollection = {
45
- holder: damlTypes.Party;
46
- registration: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.NftRegistration;
47
- };
48
-
49
- export declare const MintInCollection:
50
- damlTypes.Serializable<MintInCollection> & {
51
- }
52
- ;
53
-
54
-
55
- export declare type CollectionRegistry = {
56
- registry_authority: damlTypes.Party;
57
- operator: damlTypes.Party;
58
- registry: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.RegistryIdentity;
59
- collection: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.CollectionIdentity;
60
- registered_tokens: damlTypes.Map<string, {}>;
61
- };
62
-
63
- export declare interface CollectionRegistryInterface {
64
- MintInCollection: damlTypes.Choice<CollectionRegistry, MintInCollection, CollectionMintResult, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<CollectionRegistry, undefined>>;
65
- Archive: damlTypes.Choice<CollectionRegistry, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<CollectionRegistry, undefined>>;
66
- }
67
- export declare const CollectionRegistry:
68
- damlTypes.Template<CollectionRegistry, undefined, '#NftReference-v01:Nft.Reference.V1.NftRegistry:CollectionRegistry'> &
69
- damlTypes.ToInterface<CollectionRegistry, never> &
70
- CollectionRegistryInterface;
71
-
72
- export declare namespace CollectionRegistry {
73
- }
74
-
75
-
76
-
77
- export declare type CollectionMintResult = {
78
- collection_registry_cid: damlTypes.ContractId<CollectionRegistry>;
79
- nft_cid: damlTypes.ContractId<pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Nft.Nft>;
80
- };
81
-
82
- export declare const CollectionMintResult:
83
- damlTypes.Serializable<CollectionMintResult> & {
84
- }
85
- ;
86
-
87
-
88
- export declare type MintResult = {
89
- registry_cid: damlTypes.ContractId<NftRegistry>;
90
- nft_cid: damlTypes.ContractId<pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Nft.Nft>;
91
- };
92
-
93
- export declare const MintResult:
94
- damlTypes.Serializable<MintResult> & {
95
- }
96
- ;
97
-
@@ -1,150 +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 pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../../__bundled__/ghc-stdlib-DA-Internal-Template');
14
- var pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d = require('../../../../nft-api-v01-package-namespace.js');
15
-
16
-
17
- exports.Mint = {
18
- decoder: damlTypes.lazyMemo(function () { return jtv.object({holder: damlTypes.Party.decoder, registration: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.NftRegistration.decoder, }); }),
19
- encode: function (__typed__) {
20
- return {
21
- holder: damlTypes.Party.encode(__typed__.holder),
22
- registration: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.NftRegistration.encode(__typed__.registration),
23
- };
24
- }
25
- ,
26
- };
27
-
28
-
29
-
30
- exports.NftRegistry = damlTypes.assembleTemplate(
31
- {
32
- templateId: '#NftReference-v01:Nft.Reference.V1.NftRegistry:NftRegistry',
33
- templateIdWithPackageId: '26b30a7f62594fcc31537552d9ca5ca633ea70228c74c9cd588d1cf75303d529:Nft.Reference.V1.NftRegistry:NftRegistry',
34
- keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
35
- keyEncode: function () { throw 'EncodeError'; },
36
- decoder: damlTypes.lazyMemo(function () { return jtv.object({registry_authority: damlTypes.Party.decoder, operator: damlTypes.Party.decoder, registry: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.RegistryIdentity.decoder, collection_scope: jtv.Decoder.withDefault(null, damlTypes.Optional(pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.CollectionIdentity).decoder), collection_registries: damlTypes.Map(pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.CollectionIdentity, damlTypes.ContractId(exports.CollectionRegistry)).decoder, }); }),
37
- encode: function (__typed__) {
38
- return {
39
- registry_authority: damlTypes.Party.encode(__typed__.registry_authority),
40
- operator: damlTypes.Party.encode(__typed__.operator),
41
- registry: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.RegistryIdentity.encode(__typed__.registry),
42
- collection_scope: damlTypes.Optional(pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.CollectionIdentity).encode(__typed__.collection_scope),
43
- collection_registries: damlTypes.Map(pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.CollectionIdentity, damlTypes.ContractId(exports.CollectionRegistry)).encode(__typed__.collection_registries),
44
- };
45
- }
46
- ,
47
- Mint: {
48
- template: function () { return exports.NftRegistry; },
49
- choiceName: 'Mint',
50
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.Mint.decoder; }),
51
- argumentEncode: function (__typed__) { return exports.Mint.encode(__typed__); },
52
- resultDecoder: damlTypes.lazyMemo(function () { return exports.MintResult.decoder; }),
53
- resultEncode: function (__typed__) { return exports.MintResult.encode(__typed__); },
54
- },
55
- Archive: {
56
- template: function () { return exports.NftRegistry; },
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__); },
62
- },
63
- }
64
-
65
- );
66
-
67
-
68
- damlTypes.registerTemplate(exports.NftRegistry, ['26b30a7f62594fcc31537552d9ca5ca633ea70228c74c9cd588d1cf75303d529', '#NftReference-v01']);
69
-
70
-
71
-
72
- exports.MintInCollection = {
73
- decoder: damlTypes.lazyMemo(function () { return jtv.object({holder: damlTypes.Party.decoder, registration: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.NftRegistration.decoder, }); }),
74
- encode: function (__typed__) {
75
- return {
76
- holder: damlTypes.Party.encode(__typed__.holder),
77
- registration: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.NftRegistration.encode(__typed__.registration),
78
- };
79
- }
80
- ,
81
- };
82
-
83
-
84
-
85
- exports.CollectionRegistry = damlTypes.assembleTemplate(
86
- {
87
- templateId: '#NftReference-v01:Nft.Reference.V1.NftRegistry:CollectionRegistry',
88
- templateIdWithPackageId: '26b30a7f62594fcc31537552d9ca5ca633ea70228c74c9cd588d1cf75303d529:Nft.Reference.V1.NftRegistry:CollectionRegistry',
89
- keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
90
- keyEncode: function () { throw 'EncodeError'; },
91
- decoder: damlTypes.lazyMemo(function () { return jtv.object({registry_authority: damlTypes.Party.decoder, operator: damlTypes.Party.decoder, registry: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.RegistryIdentity.decoder, collection: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.CollectionIdentity.decoder, registered_tokens: damlTypes.Map(damlTypes.Text, damlTypes.Unit).decoder, }); }),
92
- encode: function (__typed__) {
93
- return {
94
- registry_authority: damlTypes.Party.encode(__typed__.registry_authority),
95
- operator: damlTypes.Party.encode(__typed__.operator),
96
- registry: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.RegistryIdentity.encode(__typed__.registry),
97
- collection: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.CollectionIdentity.encode(__typed__.collection),
98
- registered_tokens: damlTypes.Map(damlTypes.Text, damlTypes.Unit).encode(__typed__.registered_tokens),
99
- };
100
- }
101
- ,
102
- MintInCollection: {
103
- template: function () { return exports.CollectionRegistry; },
104
- choiceName: 'MintInCollection',
105
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.MintInCollection.decoder; }),
106
- argumentEncode: function (__typed__) { return exports.MintInCollection.encode(__typed__); },
107
- resultDecoder: damlTypes.lazyMemo(function () { return exports.CollectionMintResult.decoder; }),
108
- resultEncode: function (__typed__) { return exports.CollectionMintResult.encode(__typed__); },
109
- },
110
- Archive: {
111
- template: function () { return exports.CollectionRegistry; },
112
- choiceName: 'Archive',
113
- argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
114
- argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
115
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
116
- resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
117
- },
118
- }
119
-
120
- );
121
-
122
-
123
- damlTypes.registerTemplate(exports.CollectionRegistry, ['26b30a7f62594fcc31537552d9ca5ca633ea70228c74c9cd588d1cf75303d529', '#NftReference-v01']);
124
-
125
-
126
-
127
- exports.CollectionMintResult = {
128
- decoder: damlTypes.lazyMemo(function () { return jtv.object({collection_registry_cid: damlTypes.ContractId(exports.CollectionRegistry).decoder, nft_cid: damlTypes.ContractId(pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Nft.Nft).decoder, }); }),
129
- encode: function (__typed__) {
130
- return {
131
- collection_registry_cid: damlTypes.ContractId(exports.CollectionRegistry).encode(__typed__.collection_registry_cid),
132
- nft_cid: damlTypes.ContractId(pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Nft.Nft).encode(__typed__.nft_cid),
133
- };
134
- }
135
- ,
136
- };
137
-
138
-
139
-
140
- exports.MintResult = {
141
- decoder: damlTypes.lazyMemo(function () { return jtv.object({registry_cid: damlTypes.ContractId(exports.NftRegistry).decoder, nft_cid: damlTypes.ContractId(pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Nft.Nft).decoder, }); }),
142
- encode: function (__typed__) {
143
- return {
144
- registry_cid: damlTypes.ContractId(exports.NftRegistry).encode(__typed__.registry_cid),
145
- nft_cid: damlTypes.ContractId(pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Nft.Nft).encode(__typed__.nft_cid),
146
- };
147
- }
148
- ,
149
- };
150
-
@@ -1 +0,0 @@
1
- export * from './module';
@@ -1,8 +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
- __export(require('./module'));
@@ -1,41 +0,0 @@
1
- // Generated from Nft/Reference/V1/ReceiveAuthorization.daml
2
- /* eslint-disable @typescript-eslint/camelcase */
3
- /* eslint-disable @typescript-eslint/no-namespace */
4
- /* eslint-disable @typescript-eslint/no-use-before-define */
5
- import * as jtv from '@mojotech/json-type-validation';
6
- import * as damlTypes from '@daml/types';
7
-
8
- import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../__bundled__/ghc-stdlib-DA-Internal-Template';
9
- import * as pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d from '../../../../nft-api-v01-package-namespace.js';
10
-
11
- export declare type Revoke = {
12
- };
13
-
14
- export declare const Revoke:
15
- damlTypes.Serializable<Revoke> & {
16
- }
17
- ;
18
-
19
-
20
- export declare type StandingReceiveAuthorization = {
21
- registry_authority: damlTypes.Party;
22
- operator: damlTypes.Party;
23
- receiver: damlTypes.Party;
24
- registry: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.RegistryIdentity;
25
- collection_scope: damlTypes.Optional<pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.CollectionIdentity>;
26
- expires_at: damlTypes.Optional<damlTypes.Time>;
27
- };
28
-
29
- export declare interface StandingReceiveAuthorizationInterface {
30
- Archive: damlTypes.Choice<StandingReceiveAuthorization, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StandingReceiveAuthorization, undefined>>;
31
- Revoke: damlTypes.Choice<StandingReceiveAuthorization, Revoke, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StandingReceiveAuthorization, undefined>>;
32
- }
33
- export declare const StandingReceiveAuthorization:
34
- damlTypes.Template<StandingReceiveAuthorization, undefined, '#NftReference-v01:Nft.Reference.V1.ReceiveAuthorization:StandingReceiveAuthorization'> &
35
- damlTypes.ToInterface<StandingReceiveAuthorization, never> &
36
- StandingReceiveAuthorizationInterface;
37
-
38
- export declare namespace StandingReceiveAuthorization {
39
- }
40
-
41
-
@@ -1,68 +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 pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../../__bundled__/ghc-stdlib-DA-Internal-Template');
14
- var pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d = require('../../../../nft-api-v01-package-namespace.js');
15
-
16
-
17
- exports.Revoke = {
18
- decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
19
- encode: function (__typed__) {
20
- return {
21
- };
22
- }
23
- ,
24
- };
25
-
26
-
27
-
28
- exports.StandingReceiveAuthorization = damlTypes.assembleTemplate(
29
- {
30
- templateId: '#NftReference-v01:Nft.Reference.V1.ReceiveAuthorization:StandingReceiveAuthorization',
31
- templateIdWithPackageId: '26b30a7f62594fcc31537552d9ca5ca633ea70228c74c9cd588d1cf75303d529:Nft.Reference.V1.ReceiveAuthorization:StandingReceiveAuthorization',
32
- keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
33
- keyEncode: function () { throw 'EncodeError'; },
34
- decoder: damlTypes.lazyMemo(function () { return jtv.object({registry_authority: damlTypes.Party.decoder, operator: damlTypes.Party.decoder, receiver: damlTypes.Party.decoder, registry: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.RegistryIdentity.decoder, collection_scope: jtv.Decoder.withDefault(null, damlTypes.Optional(pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.CollectionIdentity).decoder), expires_at: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), }); }),
35
- encode: function (__typed__) {
36
- return {
37
- registry_authority: damlTypes.Party.encode(__typed__.registry_authority),
38
- operator: damlTypes.Party.encode(__typed__.operator),
39
- receiver: damlTypes.Party.encode(__typed__.receiver),
40
- registry: pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.RegistryIdentity.encode(__typed__.registry),
41
- collection_scope: damlTypes.Optional(pkgc264d58182e48d557c56e93220fc5afbb9d254375dd85286418915a164815c8d.Nft.Api.V1.Types.CollectionIdentity).encode(__typed__.collection_scope),
42
- expires_at: damlTypes.Optional(damlTypes.Time).encode(__typed__.expires_at),
43
- };
44
- }
45
- ,
46
- Archive: {
47
- template: function () { return exports.StandingReceiveAuthorization; },
48
- choiceName: 'Archive',
49
- argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
50
- argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
51
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
52
- resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
53
- },
54
- Revoke: {
55
- template: function () { return exports.StandingReceiveAuthorization; },
56
- choiceName: 'Revoke',
57
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.Revoke.decoder; }),
58
- argumentEncode: function (__typed__) { return exports.Revoke.encode(__typed__); },
59
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
60
- resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
61
- },
62
- }
63
-
64
- );
65
-
66
-
67
- damlTypes.registerTemplate(exports.StandingReceiveAuthorization, ['26b30a7f62594fcc31537552d9ca5ca633ea70228c74c9cd588d1cf75303d529', '#NftReference-v01']);
68
-
@@ -1,6 +0,0 @@
1
- import * as NftAsset from './NftAsset';
2
- export { NftAsset } ;
3
- import * as NftRegistry from './NftRegistry';
4
- export { NftRegistry } ;
5
- import * as ReceiveAuthorization from './ReceiveAuthorization';
6
- export { ReceiveAuthorization } ;
@@ -1,13 +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
- var NftAsset = require('./NftAsset');
9
- exports.NftAsset = NftAsset;
10
- var NftRegistry = require('./NftRegistry');
11
- exports.NftRegistry = NftRegistry;
12
- var ReceiveAuthorization = require('./ReceiveAuthorization');
13
- exports.ReceiveAuthorization = ReceiveAuthorization;
@@ -1,2 +0,0 @@
1
- import * as V1 from './V1';
2
- export { V1 } ;
@@ -1,9 +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
- var V1 = require('./V1');
9
- exports.V1 = V1;
@@ -1,2 +0,0 @@
1
- export * as Api from './Api';
2
- export * as Reference from './Reference';
package/lib/Nft/index.js DELETED
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var Api = require('./Api');
4
- exports.Api = Api;
5
- var Reference = require('./Reference');
6
- exports.Reference = Reference;
@@ -1,4 +0,0 @@
1
- import type * as NftApi from "./Nft/Api";
2
- export declare const Nft: {
3
- Api: typeof NftApi;
4
- };
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var NftApi = require("./Nft/Api");
4
- exports.Nft = { Api: NftApi };
@@ -1,24 +0,0 @@
1
- /** Typings for `generated/paymentStreams-factory-contract-id.json`. */
2
- declare const data: {
3
- devnet: {
4
- paymentStreamsFactoryContractId: string;
5
- templateId: string;
6
- disclosedContract: {
7
- templateId: string;
8
- contractId: string;
9
- createdEventBlob: string;
10
- synchronizerId: string;
11
- };
12
- };
13
- mainnet: {
14
- paymentStreamsFactoryContractId: string;
15
- templateId: string;
16
- disclosedContract: {
17
- templateId: string;
18
- contractId: string;
19
- createdEventBlob: string;
20
- synchronizerId: string;
21
- };
22
- };
23
- };
24
- export default data;