nem-libray 2.0.0-RC4

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 (388) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +30 -0
  3. package/dist/index.d.ts +4 -0
  4. package/dist/index.js +38 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/src/NEMLibrary.d.ts +25 -0
  7. package/dist/src/NEMLibrary.js +69 -0
  8. package/dist/src/NEMLibrary.js.map +1 -0
  9. package/dist/src/infrastrcture.d.ts +13 -0
  10. package/dist/src/infrastrcture.js +44 -0
  11. package/dist/src/infrastrcture.js.map +1 -0
  12. package/dist/src/infrastructure/AccountHttp.d.ts +204 -0
  13. package/dist/src/infrastructure/AccountHttp.js +415 -0
  14. package/dist/src/infrastructure/AccountHttp.js.map +1 -0
  15. package/dist/src/infrastructure/AccountListener.d.ts +20 -0
  16. package/dist/src/infrastructure/AccountListener.js +71 -0
  17. package/dist/src/infrastructure/AccountListener.js.map +1 -0
  18. package/dist/src/infrastructure/AllTransactionsPageable.d.ts +1 -0
  19. package/dist/src/infrastructure/AllTransactionsPageable.js +35 -0
  20. package/dist/src/infrastructure/AllTransactionsPageable.js.map +1 -0
  21. package/dist/src/infrastructure/AssetHttp.d.ts +36 -0
  22. package/dist/src/infrastructure/AssetHttp.js +85 -0
  23. package/dist/src/infrastructure/AssetHttp.js.map +1 -0
  24. package/dist/src/infrastructure/BlockHttp.d.ts +14 -0
  25. package/dist/src/infrastructure/BlockHttp.js +54 -0
  26. package/dist/src/infrastructure/BlockHttp.js.map +1 -0
  27. package/dist/src/infrastructure/BlockchainListener.d.ts +24 -0
  28. package/dist/src/infrastructure/BlockchainListener.js +93 -0
  29. package/dist/src/infrastructure/BlockchainListener.js.map +1 -0
  30. package/dist/src/infrastructure/ChainHttp.d.ts +23 -0
  31. package/dist/src/infrastructure/ChainHttp.js +68 -0
  32. package/dist/src/infrastructure/ChainHttp.js.map +1 -0
  33. package/dist/src/infrastructure/ConfirmedTransactionListener.d.ts +20 -0
  34. package/dist/src/infrastructure/ConfirmedTransactionListener.js +76 -0
  35. package/dist/src/infrastructure/ConfirmedTransactionListener.js.map +1 -0
  36. package/dist/src/infrastructure/HarvestInfoPageable.d.ts +1 -0
  37. package/dist/src/infrastructure/HarvestInfoPageable.js +52 -0
  38. package/dist/src/infrastructure/HarvestInfoPageable.js.map +1 -0
  39. package/dist/src/infrastructure/HttpEndpoint.d.ts +15 -0
  40. package/dist/src/infrastructure/HttpEndpoint.js +132 -0
  41. package/dist/src/infrastructure/HttpEndpoint.js.map +1 -0
  42. package/dist/src/infrastructure/IncomingTransactionsPageable.d.ts +1 -0
  43. package/dist/src/infrastructure/IncomingTransactionsPageable.js +29 -0
  44. package/dist/src/infrastructure/IncomingTransactionsPageable.js.map +1 -0
  45. package/dist/src/infrastructure/Listener.d.ts +14 -0
  46. package/dist/src/infrastructure/Listener.js +101 -0
  47. package/dist/src/infrastructure/Listener.js.map +1 -0
  48. package/dist/src/infrastructure/NamespaceHttp.d.ts +27 -0
  49. package/dist/src/infrastructure/NamespaceHttp.js +78 -0
  50. package/dist/src/infrastructure/NamespaceHttp.js.map +1 -0
  51. package/dist/src/infrastructure/NamespacesPageable.d.ts +1 -0
  52. package/dist/src/infrastructure/NamespacesPageable.js +28 -0
  53. package/dist/src/infrastructure/NamespacesPageable.js.map +1 -0
  54. package/dist/src/infrastructure/NodeHttp.d.ts +45 -0
  55. package/dist/src/infrastructure/NodeHttp.js +116 -0
  56. package/dist/src/infrastructure/NodeHttp.js.map +1 -0
  57. package/dist/src/infrastructure/OutgoingTransactionsPageable.d.ts +1 -0
  58. package/dist/src/infrastructure/OutgoingTransactionsPageable.js +59 -0
  59. package/dist/src/infrastructure/OutgoingTransactionsPageable.js.map +1 -0
  60. package/dist/src/infrastructure/Pageable.d.ts +10 -0
  61. package/dist/src/infrastructure/Pageable.js +55 -0
  62. package/dist/src/infrastructure/Pageable.js.map +1 -0
  63. package/dist/src/infrastructure/TransactionHttp.d.ts +20 -0
  64. package/dist/src/infrastructure/TransactionHttp.js +68 -0
  65. package/dist/src/infrastructure/TransactionHttp.js.map +1 -0
  66. package/dist/src/infrastructure/UnconfirmedTransactionListener.d.ts +20 -0
  67. package/dist/src/infrastructure/UnconfirmedTransactionListener.js +76 -0
  68. package/dist/src/infrastructure/UnconfirmedTransactionListener.js.map +1 -0
  69. package/dist/src/infrastructure/account/AccountHistoricalDataViewModelDTO.d.ts +1 -0
  70. package/dist/src/infrastructure/account/AccountHistoricalDataViewModelDTO.js +26 -0
  71. package/dist/src/infrastructure/account/AccountHistoricalDataViewModelDTO.js.map +1 -0
  72. package/dist/src/infrastructure/account/AccountImportanceViewModelDTO.d.ts +1 -0
  73. package/dist/src/infrastructure/account/AccountImportanceViewModelDTO.js +26 -0
  74. package/dist/src/infrastructure/account/AccountImportanceViewModelDTO.js.map +1 -0
  75. package/dist/src/infrastructure/account/AccountInfoDTO.d.ts +10 -0
  76. package/dist/src/infrastructure/account/AccountInfoDTO.js +26 -0
  77. package/dist/src/infrastructure/account/AccountInfoDTO.js.map +1 -0
  78. package/dist/src/infrastructure/account/AccountMetaDataDTO.d.ts +1 -0
  79. package/dist/src/infrastructure/account/AccountMetaDataDTO.js +26 -0
  80. package/dist/src/infrastructure/account/AccountMetaDataDTO.js.map +1 -0
  81. package/dist/src/infrastructure/account/AccountMetaDataPairDTO.d.ts +1 -0
  82. package/dist/src/infrastructure/account/AccountMetaDataPairDTO.js +26 -0
  83. package/dist/src/infrastructure/account/AccountMetaDataPairDTO.js.map +1 -0
  84. package/dist/src/infrastructure/account/AccountPrivateKeyTransactionsPageDTO.d.ts +1 -0
  85. package/dist/src/infrastructure/account/AccountPrivateKeyTransactionsPageDTO.js +26 -0
  86. package/dist/src/infrastructure/account/AccountPrivateKeyTransactionsPageDTO.js.map +1 -0
  87. package/dist/src/infrastructure/account/HarvestInfoDTO.d.ts +1 -0
  88. package/dist/src/infrastructure/account/HarvestInfoDTO.js +26 -0
  89. package/dist/src/infrastructure/account/HarvestInfoDTO.js.map +1 -0
  90. package/dist/src/infrastructure/account/KeyPairViewModelDTO.d.ts +1 -0
  91. package/dist/src/infrastructure/account/KeyPairViewModelDTO.js +26 -0
  92. package/dist/src/infrastructure/account/KeyPairViewModelDTO.js.map +1 -0
  93. package/dist/src/infrastructure/account/PrivateKeyDTO.d.ts +1 -0
  94. package/dist/src/infrastructure/account/PrivateKeyDTO.js +26 -0
  95. package/dist/src/infrastructure/account/PrivateKeyDTO.js.map +1 -0
  96. package/dist/src/infrastructure/asset/MosaicDTO.d.ts +1 -0
  97. package/dist/src/infrastructure/asset/MosaicDTO.js +26 -0
  98. package/dist/src/infrastructure/asset/MosaicDTO.js.map +1 -0
  99. package/dist/src/infrastructure/asset/MosaicDefinitionDTO.d.ts +1 -0
  100. package/dist/src/infrastructure/asset/MosaicDefinitionDTO.js +26 -0
  101. package/dist/src/infrastructure/asset/MosaicDefinitionDTO.js.map +1 -0
  102. package/dist/src/infrastructure/asset/MosaicDefinitionMetaDataPairDTO.d.ts +1 -0
  103. package/dist/src/infrastructure/asset/MosaicDefinitionMetaDataPairDTO.js +26 -0
  104. package/dist/src/infrastructure/asset/MosaicDefinitionMetaDataPairDTO.js.map +1 -0
  105. package/dist/src/infrastructure/asset/MosaicIdDTO.d.ts +1 -0
  106. package/dist/src/infrastructure/asset/MosaicIdDTO.js +26 -0
  107. package/dist/src/infrastructure/asset/MosaicIdDTO.js.map +1 -0
  108. package/dist/src/infrastructure/asset/MosaicLevyDTO.d.ts +1 -0
  109. package/dist/src/infrastructure/asset/MosaicLevyDTO.js +26 -0
  110. package/dist/src/infrastructure/asset/MosaicLevyDTO.js.map +1 -0
  111. package/dist/src/infrastructure/asset/MosaicPropertyDTO.d.ts +8 -0
  112. package/dist/src/infrastructure/asset/MosaicPropertyDTO.js +26 -0
  113. package/dist/src/infrastructure/asset/MosaicPropertyDTO.js.map +1 -0
  114. package/dist/src/infrastructure/blockchain/BlockChainScoreDTO.d.ts +1 -0
  115. package/dist/src/infrastructure/blockchain/BlockChainScoreDTO.js +26 -0
  116. package/dist/src/infrastructure/blockchain/BlockChainScoreDTO.js.map +1 -0
  117. package/dist/src/infrastructure/blockchain/BlockDTO.d.ts +6 -0
  118. package/dist/src/infrastructure/blockchain/BlockDTO.js +26 -0
  119. package/dist/src/infrastructure/blockchain/BlockDTO.js.map +1 -0
  120. package/dist/src/infrastructure/blockchain/BlockHeightDTO.d.ts +1 -0
  121. package/dist/src/infrastructure/blockchain/BlockHeightDTO.js +26 -0
  122. package/dist/src/infrastructure/blockchain/BlockHeightDTO.js.map +1 -0
  123. package/dist/src/infrastructure/blockchain/ExplorerBlockViewModelDTO.d.ts +1 -0
  124. package/dist/src/infrastructure/blockchain/ExplorerBlockViewModelDTO.js +26 -0
  125. package/dist/src/infrastructure/blockchain/ExplorerBlockViewModelDTO.js.map +1 -0
  126. package/dist/src/infrastructure/debug/AuditCollectionDTO.d.ts +22 -0
  127. package/dist/src/infrastructure/debug/AuditCollectionDTO.js +26 -0
  128. package/dist/src/infrastructure/debug/AuditCollectionDTO.js.map +1 -0
  129. package/dist/src/infrastructure/debug/NemAsyncTimerVisitorDTO.d.ts +1 -0
  130. package/dist/src/infrastructure/debug/NemAsyncTimerVisitorDTO.js +26 -0
  131. package/dist/src/infrastructure/debug/NemAsyncTimerVisitorDTO.js.map +1 -0
  132. package/dist/src/infrastructure/debug/NisNodeInfoDTO.d.ts +1 -0
  133. package/dist/src/infrastructure/debug/NisNodeInfoDTO.js +26 -0
  134. package/dist/src/infrastructure/debug/NisNodeInfoDTO.js.map +1 -0
  135. package/dist/src/infrastructure/debug/TimeSynchronizationResultDTO.d.ts +1 -0
  136. package/dist/src/infrastructure/debug/TimeSynchronizationResultDTO.js +26 -0
  137. package/dist/src/infrastructure/debug/TimeSynchronizationResultDTO.js.map +1 -0
  138. package/dist/src/infrastructure/namespace/NamespaceDTO.d.ts +1 -0
  139. package/dist/src/infrastructure/namespace/NamespaceDTO.js +26 -0
  140. package/dist/src/infrastructure/namespace/NamespaceDTO.js.map +1 -0
  141. package/dist/src/infrastructure/namespace/NamespaceMetaDataPairDTO.d.ts +1 -0
  142. package/dist/src/infrastructure/namespace/NamespaceMetaDataPairDTO.js +26 -0
  143. package/dist/src/infrastructure/namespace/NamespaceMetaDataPairDTO.js.map +1 -0
  144. package/dist/src/infrastructure/node/ApplicationMetaDataDTO.d.ts +1 -0
  145. package/dist/src/infrastructure/node/ApplicationMetaDataDTO.js +26 -0
  146. package/dist/src/infrastructure/node/ApplicationMetaDataDTO.js.map +1 -0
  147. package/dist/src/infrastructure/node/BootNodeRequestDTO.d.ts +1 -0
  148. package/dist/src/infrastructure/node/BootNodeRequestDTO.js +26 -0
  149. package/dist/src/infrastructure/node/BootNodeRequestDTO.js.map +1 -0
  150. package/dist/src/infrastructure/node/CommunicationTimeStampsDTO.d.ts +1 -0
  151. package/dist/src/infrastructure/node/CommunicationTimeStampsDTO.js +26 -0
  152. package/dist/src/infrastructure/node/CommunicationTimeStampsDTO.js.map +1 -0
  153. package/dist/src/infrastructure/node/ExtendedNodeExperiencePairDTO.d.ts +1 -0
  154. package/dist/src/infrastructure/node/ExtendedNodeExperiencePairDTO.js +26 -0
  155. package/dist/src/infrastructure/node/ExtendedNodeExperiencePairDTO.js.map +1 -0
  156. package/dist/src/infrastructure/node/NodeCollectionDTO.d.ts +1 -0
  157. package/dist/src/infrastructure/node/NodeCollectionDTO.js +26 -0
  158. package/dist/src/infrastructure/node/NodeCollectionDTO.js.map +1 -0
  159. package/dist/src/infrastructure/node/NodeDTO.d.ts +19 -0
  160. package/dist/src/infrastructure/node/NodeDTO.js +26 -0
  161. package/dist/src/infrastructure/node/NodeDTO.js.map +1 -0
  162. package/dist/src/infrastructure/transaction/CreateTransactionFromDTO.d.ts +1 -0
  163. package/dist/src/infrastructure/transaction/CreateTransactionFromDTO.js +162 -0
  164. package/dist/src/infrastructure/transaction/CreateTransactionFromDTO.js.map +1 -0
  165. package/dist/src/infrastructure/transaction/CreateUnconfirmedTransactionFromDTO.d.ts +1 -0
  166. package/dist/src/infrastructure/transaction/CreateUnconfirmedTransactionFromDTO.js +104 -0
  167. package/dist/src/infrastructure/transaction/CreateUnconfirmedTransactionFromDTO.js.map +1 -0
  168. package/dist/src/infrastructure/transaction/ErrorObjectDTO.d.ts +1 -0
  169. package/dist/src/infrastructure/transaction/ErrorObjectDTO.js +26 -0
  170. package/dist/src/infrastructure/transaction/ErrorObjectDTO.js.map +1 -0
  171. package/dist/src/infrastructure/transaction/HashData.d.ts +10 -0
  172. package/dist/src/infrastructure/transaction/HashData.js +26 -0
  173. package/dist/src/infrastructure/transaction/HashData.js.map +1 -0
  174. package/dist/src/infrastructure/transaction/ImportanceTransferTransactionDTO.d.ts +1 -0
  175. package/dist/src/infrastructure/transaction/ImportanceTransferTransactionDTO.js +26 -0
  176. package/dist/src/infrastructure/transaction/ImportanceTransferTransactionDTO.js.map +1 -0
  177. package/dist/src/infrastructure/transaction/Message.d.ts +1 -0
  178. package/dist/src/infrastructure/transaction/Message.js +26 -0
  179. package/dist/src/infrastructure/transaction/Message.js.map +1 -0
  180. package/dist/src/infrastructure/transaction/MosaicDefinitionCreationTransactionDTO.d.ts +1 -0
  181. package/dist/src/infrastructure/transaction/MosaicDefinitionCreationTransactionDTO.js +26 -0
  182. package/dist/src/infrastructure/transaction/MosaicDefinitionCreationTransactionDTO.js.map +1 -0
  183. package/dist/src/infrastructure/transaction/MosaicSupplyChangeTransactionDTO.d.ts +1 -0
  184. package/dist/src/infrastructure/transaction/MosaicSupplyChangeTransactionDTO.js +26 -0
  185. package/dist/src/infrastructure/transaction/MosaicSupplyChangeTransactionDTO.js.map +1 -0
  186. package/dist/src/infrastructure/transaction/MultisigAggregateModificationTransactionDTO.d.ts +1 -0
  187. package/dist/src/infrastructure/transaction/MultisigAggregateModificationTransactionDTO.js +26 -0
  188. package/dist/src/infrastructure/transaction/MultisigAggregateModificationTransactionDTO.js.map +1 -0
  189. package/dist/src/infrastructure/transaction/MultisigCosignatoryModificationDTO.d.ts +1 -0
  190. package/dist/src/infrastructure/transaction/MultisigCosignatoryModificationDTO.js +26 -0
  191. package/dist/src/infrastructure/transaction/MultisigCosignatoryModificationDTO.js.map +1 -0
  192. package/dist/src/infrastructure/transaction/MultisigSignatureTransactionDTO.d.ts +1 -0
  193. package/dist/src/infrastructure/transaction/MultisigSignatureTransactionDTO.js +26 -0
  194. package/dist/src/infrastructure/transaction/MultisigSignatureTransactionDTO.js.map +1 -0
  195. package/dist/src/infrastructure/transaction/MultisigTransactionDTO.d.ts +1 -0
  196. package/dist/src/infrastructure/transaction/MultisigTransactionDTO.js +26 -0
  197. package/dist/src/infrastructure/transaction/MultisigTransactionDTO.js.map +1 -0
  198. package/dist/src/infrastructure/transaction/NemAnnounceResultDTO.d.ts +1 -0
  199. package/dist/src/infrastructure/transaction/NemAnnounceResultDTO.js +26 -0
  200. package/dist/src/infrastructure/transaction/NemAnnounceResultDTO.js.map +1 -0
  201. package/dist/src/infrastructure/transaction/NemRequestResultDTO.d.ts +10 -0
  202. package/dist/src/infrastructure/transaction/NemRequestResultDTO.js +26 -0
  203. package/dist/src/infrastructure/transaction/NemRequestResultDTO.js.map +1 -0
  204. package/dist/src/infrastructure/transaction/ProvisionNamespaceTransactionDTO.d.ts +1 -0
  205. package/dist/src/infrastructure/transaction/ProvisionNamespaceTransactionDTO.js +26 -0
  206. package/dist/src/infrastructure/transaction/ProvisionNamespaceTransactionDTO.js.map +1 -0
  207. package/dist/src/infrastructure/transaction/RequestPrepareAnnonceDTO.d.ts +1 -0
  208. package/dist/src/infrastructure/transaction/RequestPrepareAnnonceDTO.js +26 -0
  209. package/dist/src/infrastructure/transaction/RequestPrepareAnnonceDTO.js.map +1 -0
  210. package/dist/src/infrastructure/transaction/TransactionDTO.d.ts +31 -0
  211. package/dist/src/infrastructure/transaction/TransactionDTO.js +26 -0
  212. package/dist/src/infrastructure/transaction/TransactionDTO.js.map +1 -0
  213. package/dist/src/infrastructure/transaction/TransactionMetaDataDTO.d.ts +1 -0
  214. package/dist/src/infrastructure/transaction/TransactionMetaDataDTO.js +26 -0
  215. package/dist/src/infrastructure/transaction/TransactionMetaDataDTO.js.map +1 -0
  216. package/dist/src/infrastructure/transaction/TransactionMetaDataPairDTO.d.ts +1 -0
  217. package/dist/src/infrastructure/transaction/TransactionMetaDataPairDTO.js +26 -0
  218. package/dist/src/infrastructure/transaction/TransactionMetaDataPairDTO.js.map +1 -0
  219. package/dist/src/infrastructure/transaction/TransferTransactionDTO.d.ts +1 -0
  220. package/dist/src/infrastructure/transaction/TransferTransactionDTO.js +26 -0
  221. package/dist/src/infrastructure/transaction/TransferTransactionDTO.js.map +1 -0
  222. package/dist/src/infrastructure/transaction/UnconfirmedTransactionMetaDataDTO.d.ts +1 -0
  223. package/dist/src/infrastructure/transaction/UnconfirmedTransactionMetaDataDTO.js +26 -0
  224. package/dist/src/infrastructure/transaction/UnconfirmedTransactionMetaDataDTO.js.map +1 -0
  225. package/dist/src/infrastructure/transaction/UnconfirmedTransactionMetaDataPairDTO.d.ts +1 -0
  226. package/dist/src/infrastructure/transaction/UnconfirmedTransactionMetaDataPairDTO.js +26 -0
  227. package/dist/src/infrastructure/transaction/UnconfirmedTransactionMetaDataPairDTO.js.map +1 -0
  228. package/dist/src/infrastructure/transaction/UnconfirmedTransactionsDTO.d.ts +1 -0
  229. package/dist/src/infrastructure/transaction/UnconfirmedTransactionsDTO.js +26 -0
  230. package/dist/src/infrastructure/transaction/UnconfirmedTransactionsDTO.js.map +1 -0
  231. package/dist/src/models/account/Account.d.ts +52 -0
  232. package/dist/src/models/account/Account.js +136 -0
  233. package/dist/src/models/account/Account.js.map +1 -0
  234. package/dist/src/models/account/AccountHarvestInfo.d.ts +25 -0
  235. package/dist/src/models/account/AccountHarvestInfo.js +55 -0
  236. package/dist/src/models/account/AccountHarvestInfo.js.map +1 -0
  237. package/dist/src/models/account/AccountHistoricalInfo.d.ts +25 -0
  238. package/dist/src/models/account/AccountHistoricalInfo.js +58 -0
  239. package/dist/src/models/account/AccountHistoricalInfo.js.map +1 -0
  240. package/dist/src/models/account/AccountImportanceInfo.d.ts +35 -0
  241. package/dist/src/models/account/AccountImportanceInfo.js +77 -0
  242. package/dist/src/models/account/AccountImportanceInfo.js.map +1 -0
  243. package/dist/src/models/account/AccountInfo.d.ts +79 -0
  244. package/dist/src/models/account/AccountInfo.js +129 -0
  245. package/dist/src/models/account/AccountInfo.js.map +1 -0
  246. package/dist/src/models/account/Address.d.ts +25 -0
  247. package/dist/src/models/account/Address.js +80 -0
  248. package/dist/src/models/account/Address.js.map +1 -0
  249. package/dist/src/models/account/Balance.d.ts +17 -0
  250. package/dist/src/models/account/Balance.js +42 -0
  251. package/dist/src/models/account/Balance.js.map +1 -0
  252. package/dist/src/models/account/NodeHarvestInfo.d.ts +10 -0
  253. package/dist/src/models/account/NodeHarvestInfo.js +38 -0
  254. package/dist/src/models/account/NodeHarvestInfo.js.map +1 -0
  255. package/dist/src/models/account/PublicAccount.d.ts +25 -0
  256. package/dist/src/models/account/PublicAccount.js +82 -0
  257. package/dist/src/models/account/PublicAccount.js.map +1 -0
  258. package/dist/src/models/asset/Asset.d.ts +20 -0
  259. package/dist/src/models/asset/Asset.js +59 -0
  260. package/dist/src/models/asset/Asset.js.map +1 -0
  261. package/dist/src/models/asset/AssetDefinition.d.ts +83 -0
  262. package/dist/src/models/asset/AssetDefinition.js +136 -0
  263. package/dist/src/models/asset/AssetDefinition.js.map +1 -0
  264. package/dist/src/models/asset/AssetId.d.ts +31 -0
  265. package/dist/src/models/asset/AssetId.js +77 -0
  266. package/dist/src/models/asset/AssetId.js.map +1 -0
  267. package/dist/src/models/asset/AssetLevy.d.ts +40 -0
  268. package/dist/src/models/asset/AssetLevy.js +76 -0
  269. package/dist/src/models/asset/AssetLevy.js.map +1 -0
  270. package/dist/src/models/asset/AssetTransferable.d.ts +65 -0
  271. package/dist/src/models/asset/AssetTransferable.js +88 -0
  272. package/dist/src/models/asset/AssetTransferable.js.map +1 -0
  273. package/dist/src/models/asset/XEM.d.ts +49 -0
  274. package/dist/src/models/asset/XEM.js +83 -0
  275. package/dist/src/models/asset/XEM.js.map +1 -0
  276. package/dist/src/models/blockchain/Block.d.ts +57 -0
  277. package/dist/src/models/blockchain/Block.js +81 -0
  278. package/dist/src/models/blockchain/Block.js.map +1 -0
  279. package/dist/src/models/namespace/Namespace.d.ts +23 -0
  280. package/dist/src/models/namespace/Namespace.js +64 -0
  281. package/dist/src/models/namespace/Namespace.js.map +1 -0
  282. package/dist/src/models/node/ExtendedNodeExperience.d.ts +34 -0
  283. package/dist/src/models/node/ExtendedNodeExperience.js +79 -0
  284. package/dist/src/models/node/ExtendedNodeExperience.js.map +1 -0
  285. package/dist/src/models/node/NetworkTypes.d.ts +17 -0
  286. package/dist/src/models/node/NetworkTypes.js +44 -0
  287. package/dist/src/models/node/NetworkTypes.js.map +1 -0
  288. package/dist/src/models/node/NisNodeInfo.d.ts +39 -0
  289. package/dist/src/models/node/NisNodeInfo.js +79 -0
  290. package/dist/src/models/node/NisNodeInfo.js.map +1 -0
  291. package/dist/src/models/node/Node.d.ts +76 -0
  292. package/dist/src/models/node/Node.js +131 -0
  293. package/dist/src/models/node/Node.js.map +1 -0
  294. package/dist/src/models/node/NodeCollection.d.ts +22 -0
  295. package/dist/src/models/node/NodeCollection.js +54 -0
  296. package/dist/src/models/node/NodeCollection.js.map +1 -0
  297. package/dist/src/models/transaction/AssetDefinitionCreationTransaction.d.ts +39 -0
  298. package/dist/src/models/transaction/AssetDefinitionCreationTransaction.js +94 -0
  299. package/dist/src/models/transaction/AssetDefinitionCreationTransaction.js.map +1 -0
  300. package/dist/src/models/transaction/AssetSupplyChangeTransaction.d.ts +48 -0
  301. package/dist/src/models/transaction/AssetSupplyChangeTransaction.js +94 -0
  302. package/dist/src/models/transaction/AssetSupplyChangeTransaction.js.map +1 -0
  303. package/dist/src/models/transaction/EncryptedMessage.d.ts +8 -0
  304. package/dist/src/models/transaction/EncryptedMessage.js +86 -0
  305. package/dist/src/models/transaction/EncryptedMessage.js.map +1 -0
  306. package/dist/src/models/transaction/HexMessage.d.ts +10 -0
  307. package/dist/src/models/transaction/HexMessage.js +37 -0
  308. package/dist/src/models/transaction/HexMessage.js.map +1 -0
  309. package/dist/src/models/transaction/ImportanceTransferTransaction.d.ts +45 -0
  310. package/dist/src/models/transaction/ImportanceTransferTransaction.js +92 -0
  311. package/dist/src/models/transaction/ImportanceTransferTransaction.js.map +1 -0
  312. package/dist/src/models/transaction/Message.d.ts +12 -0
  313. package/dist/src/models/transaction/Message.js +110 -0
  314. package/dist/src/models/transaction/Message.js.map +1 -0
  315. package/dist/src/models/transaction/MultisigAggregateModificationTransaction.d.ts +55 -0
  316. package/dist/src/models/transaction/MultisigAggregateModificationTransaction.js +112 -0
  317. package/dist/src/models/transaction/MultisigAggregateModificationTransaction.js.map +1 -0
  318. package/dist/src/models/transaction/MultisigSignatureTransaction.d.ts +35 -0
  319. package/dist/src/models/transaction/MultisigSignatureTransaction.js +92 -0
  320. package/dist/src/models/transaction/MultisigSignatureTransaction.js.map +1 -0
  321. package/dist/src/models/transaction/MultisigTransaction.d.ts +49 -0
  322. package/dist/src/models/transaction/MultisigTransaction.js +102 -0
  323. package/dist/src/models/transaction/MultisigTransaction.js.map +1 -0
  324. package/dist/src/models/transaction/NemAnnounceResult.d.ts +77 -0
  325. package/dist/src/models/transaction/NemAnnounceResult.js +66 -0
  326. package/dist/src/models/transaction/NemAnnounceResult.js.map +1 -0
  327. package/dist/src/models/transaction/PlainMessage.d.ts +19 -0
  328. package/dist/src/models/transaction/PlainMessage.js +77 -0
  329. package/dist/src/models/transaction/PlainMessage.js.map +1 -0
  330. package/dist/src/models/transaction/ProvisionNamespaceTransaction.d.ts +57 -0
  331. package/dist/src/models/transaction/ProvisionNamespaceTransaction.js +117 -0
  332. package/dist/src/models/transaction/ProvisionNamespaceTransaction.js.map +1 -0
  333. package/dist/src/models/transaction/SignedTransaction.d.ts +13 -0
  334. package/dist/src/models/transaction/SignedTransaction.js +26 -0
  335. package/dist/src/models/transaction/SignedTransaction.js.map +1 -0
  336. package/dist/src/models/transaction/TimeWindow.d.ts +24 -0
  337. package/dist/src/models/transaction/TimeWindow.js +84 -0
  338. package/dist/src/models/transaction/TimeWindow.js.map +1 -0
  339. package/dist/src/models/transaction/Transaction.d.ts +56 -0
  340. package/dist/src/models/transaction/Transaction.js +98 -0
  341. package/dist/src/models/transaction/Transaction.js.map +1 -0
  342. package/dist/src/models/transaction/TransactionInfo.d.ts +39 -0
  343. package/dist/src/models/transaction/TransactionInfo.js +60 -0
  344. package/dist/src/models/transaction/TransactionInfo.js.map +1 -0
  345. package/dist/src/models/transaction/TransactionTypes.d.ts +80 -0
  346. package/dist/src/models/transaction/TransactionTypes.js +159 -0
  347. package/dist/src/models/transaction/TransactionTypes.js.map +1 -0
  348. package/dist/src/models/transaction/TransferTransaction.d.ts +78 -0
  349. package/dist/src/models/transaction/TransferTransaction.js +176 -0
  350. package/dist/src/models/transaction/TransferTransaction.js.map +1 -0
  351. package/dist/src/models/wallet/BrainPassword.d.ts +11 -0
  352. package/dist/src/models/wallet/BrainPassword.js +42 -0
  353. package/dist/src/models/wallet/BrainPassword.js.map +1 -0
  354. package/dist/src/models/wallet/BrainWallet.d.ts +34 -0
  355. package/dist/src/models/wallet/BrainWallet.js +101 -0
  356. package/dist/src/models/wallet/BrainWallet.js.map +1 -0
  357. package/dist/src/models/wallet/EncryptedPrivateKey.d.ts +13 -0
  358. package/dist/src/models/wallet/EncryptedPrivateKey.js +56 -0
  359. package/dist/src/models/wallet/EncryptedPrivateKey.js.map +1 -0
  360. package/dist/src/models/wallet/Password.d.ts +14 -0
  361. package/dist/src/models/wallet/Password.js +41 -0
  362. package/dist/src/models/wallet/Password.js.map +1 -0
  363. package/dist/src/models/wallet/SimpleWallet.d.ts +47 -0
  364. package/dist/src/models/wallet/SimpleWallet.js +143 -0
  365. package/dist/src/models/wallet/SimpleWallet.js.map +1 -0
  366. package/dist/src/models/wallet/Wallet.d.ts +51 -0
  367. package/dist/src/models/wallet/Wallet.js +81 -0
  368. package/dist/src/models/wallet/Wallet.js.map +1 -0
  369. package/dist/src/models.d.ts +46 -0
  370. package/dist/src/models.js +74 -0
  371. package/dist/src/models.js.map +1 -0
  372. package/dist/src/services/AccountOwnedAssetService.d.ts +30 -0
  373. package/dist/src/services/AccountOwnedAssetService.js +63 -0
  374. package/dist/src/services/AccountOwnedAssetService.js.map +1 -0
  375. package/dist/src/services/AssetService.d.ts +23 -0
  376. package/dist/src/services/AssetService.js +87 -0
  377. package/dist/src/services/AssetService.js.map +1 -0
  378. package/dist/src/services/QRService.d.ts +66 -0
  379. package/dist/src/services/QRService.js +155 -0
  380. package/dist/src/services/QRService.js.map +1 -0
  381. package/dist/src/services.d.ts +3 -0
  382. package/dist/src/services.js +32 -0
  383. package/dist/src/services.js.map +1 -0
  384. package/dist/src/vendor/sockjs-0.3.4.d.ts +25 -0
  385. package/dist/src/vendor/sockjs-0.3.4.js +2516 -0
  386. package/dist/src/vendor/sockjs-0.3.4.min.js +27 -0
  387. package/package.json +87 -0
  388. package/z4bfo2p7.cjs +1 -0
@@ -0,0 +1,136 @@
1
+ "use strict";
2
+ /*
3
+ * The MIT License (MIT)
4
+ *
5
+ * Copyright (c) 2017 NEM
6
+ *
7
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ * of this software and associated documentation files (the "Software"), to deal
9
+ * in the Software without restriction, including without limitation the rights
10
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ * copies of the Software, and to permit persons to whom the Software is
12
+ * furnished to do so, subject to the following conditions:
13
+ *
14
+ * The above copyright notice and this permission notice shall be included in all
15
+ * copies or substantial portions of the Software.
16
+ *
17
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ * SOFTWARE.
24
+ */
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ const PublicAccount_1 = require("../account/PublicAccount");
27
+ const AssetId_1 = require("./AssetId");
28
+ const AssetLevy_1 = require("./AssetLevy");
29
+ /**
30
+ * A asset definition describes an asset class. Some fields are mandatory while others are optional.
31
+ * The properties of a asset definition always have a default value and only need to be supplied if they differ from the default value.
32
+ */
33
+ class AssetDefinition {
34
+ /**
35
+ * constructor
36
+ * @param creator
37
+ * @param id
38
+ * @param description
39
+ * @param properties
40
+ * @param levy
41
+ * @param metaId
42
+ */
43
+ constructor(creator, id, description, properties, levy, metaId) {
44
+ this.creator = creator;
45
+ this.id = id;
46
+ this.description = description;
47
+ this.properties = properties;
48
+ this.levy = levy;
49
+ this.metaId = metaId;
50
+ }
51
+ /**
52
+ * @internal
53
+ * @param dto
54
+ * @returns {AssetDefinition}
55
+ */
56
+ static createFromMosaicDefinitionDTO(dto) {
57
+ const levy = dto.levy;
58
+ return new AssetDefinition(PublicAccount_1.PublicAccount.createWithPublicKey(dto.creator), AssetId_1.AssetId.createFromMosaicIdDTO(dto.id), dto.description, AssetProperties.createFromMosaicProperties(dto.properties), levy.mosaicId === undefined ? undefined : AssetLevy_1.AssetLevy.createFromMosaicLevyDTO(levy));
59
+ }
60
+ /**
61
+ * @internal
62
+ * @param dto
63
+ * @returns {AssetDefinition}
64
+ */
65
+ static createFromMosaicDefinitionMetaDataPairDTO(dto) {
66
+ const levy = dto.mosaic.levy;
67
+ return new AssetDefinition(PublicAccount_1.PublicAccount.createWithPublicKey(dto.mosaic.creator), AssetId_1.AssetId.createFromMosaicIdDTO(dto.mosaic.id), dto.mosaic.description, AssetProperties.createFromMosaicProperties(dto.mosaic.properties), levy.mosaicId === undefined ? undefined : AssetLevy_1.AssetLevy.createFromMosaicLevyDTO(levy), dto.meta.id);
68
+ }
69
+ /**
70
+ * @internal
71
+ * @returns {{description: string, id: AssetId, levy: (MosaicLevyDTO|{}), properties: MosaicProperty[], creator: string}}
72
+ */
73
+ toDTO() {
74
+ return {
75
+ description: this.description,
76
+ id: this.id,
77
+ levy: this.levy != undefined ? this.levy.toDTO() : null,
78
+ properties: this.properties.toDTO(),
79
+ creator: this.creator.publicKey,
80
+ };
81
+ }
82
+ }
83
+ exports.AssetDefinition = AssetDefinition;
84
+ /**
85
+ * Each asset definition comes with a set of properties.
86
+ * Each property has a default value which will be applied in case it was not specified.
87
+ * Future release may add additional properties to the set of available properties
88
+ */
89
+ class AssetProperties {
90
+ /**
91
+ * constructor
92
+ * @param divisibility
93
+ * @param initialSupply
94
+ * @param supplyMutable
95
+ * @param transferable
96
+ */
97
+ constructor(divisibility = 0, initialSupply = 1000, transferable = true, supplyMutable = false) {
98
+ this.initialSupply = initialSupply;
99
+ this.supplyMutable = supplyMutable;
100
+ this.transferable = transferable;
101
+ this.divisibility = divisibility;
102
+ }
103
+ /**
104
+ * @internal
105
+ */
106
+ toDTO() {
107
+ return [
108
+ {
109
+ name: "divisibility",
110
+ value: this.divisibility.toString(),
111
+ },
112
+ {
113
+ name: "initialSupply",
114
+ value: this.initialSupply.toString(),
115
+ },
116
+ {
117
+ name: "supplyMutable",
118
+ value: this.supplyMutable.toString(),
119
+ },
120
+ {
121
+ name: "transferable",
122
+ value: this.transferable.toString(),
123
+ },
124
+ ];
125
+ }
126
+ /**
127
+ * @internal
128
+ * @param dto
129
+ * @returns {AssetProperty}
130
+ */
131
+ static createFromMosaicProperties(mosaicProperties) {
132
+ return new AssetProperties(Number(mosaicProperties[0].value), Number(mosaicProperties[1].value), (mosaicProperties[3].value == "true"), (mosaicProperties[2].value == "true"));
133
+ }
134
+ }
135
+ exports.AssetProperties = AssetProperties;
136
+ //# sourceMappingURL=AssetDefinition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AssetDefinition.js","sourceRoot":"","sources":["../../../../src/models/asset/AssetDefinition.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ *
3
+ * A asset id uniquely identifies an underlying asset definition.
4
+ */
5
+ export declare class AssetId {
6
+ /**
7
+ * The corresponding namespace id
8
+ */
9
+ readonly namespaceId: string;
10
+ /**
11
+ * The name of the mosaic definition.
12
+ */
13
+ readonly name: string;
14
+ /**
15
+ * constructor
16
+ * @param namespaceId
17
+ * @param name
18
+ */
19
+ constructor(namespaceId: string, name: string);
20
+ toString(): string;
21
+ /**
22
+ * Compares mosaicIds for equality
23
+ * @param mosaicId
24
+ * @returns {boolean}
25
+ */
26
+ equals(mosaicId: AssetId): boolean;
27
+ /**
28
+ * Asset Id description in format namespaceId:name ex: nem:xem
29
+ */
30
+ description(): string;
31
+ }
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+ /*
3
+ * The MIT License (MIT)
4
+ *
5
+ * Copyright (c) 2017 NEM
6
+ *
7
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ * of this software and associated documentation files (the "Software"), to deal
9
+ * in the Software without restriction, including without limitation the rights
10
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ * copies of the Software, and to permit persons to whom the Software is
12
+ * furnished to do so, subject to the following conditions:
13
+ *
14
+ * The above copyright notice and this permission notice shall be included in all
15
+ * copies or substantial portions of the Software.
16
+ *
17
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ * SOFTWARE.
24
+ */
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ /**
27
+ *
28
+ * A asset id uniquely identifies an underlying asset definition.
29
+ */
30
+ class AssetId {
31
+ /**
32
+ * constructor
33
+ * @param namespaceId
34
+ * @param name
35
+ */
36
+ constructor(namespaceId, name) {
37
+ this.namespaceId = namespaceId;
38
+ this.name = name;
39
+ }
40
+ toString() {
41
+ return this.description();
42
+ }
43
+ /**
44
+ * @internal
45
+ * @returns {{name: string, namespaceId: string}}
46
+ */
47
+ toDTO() {
48
+ return {
49
+ name: this.name,
50
+ namespaceId: this.namespaceId,
51
+ };
52
+ }
53
+ /**
54
+ * @internal
55
+ * @param dto
56
+ * @returns {AssetId}
57
+ */
58
+ static createFromMosaicIdDTO(dto) {
59
+ return new AssetId(dto.namespaceId, dto.name);
60
+ }
61
+ /**
62
+ * Compares mosaicIds for equality
63
+ * @param mosaicId
64
+ * @returns {boolean}
65
+ */
66
+ equals(mosaicId) {
67
+ return this.namespaceId == mosaicId.namespaceId && this.name == mosaicId.name;
68
+ }
69
+ /**
70
+ * Asset Id description in format namespaceId:name ex: nem:xem
71
+ */
72
+ description() {
73
+ return this.namespaceId + ":" + this.name;
74
+ }
75
+ }
76
+ exports.AssetId = AssetId;
77
+ //# sourceMappingURL=AssetId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AssetId.js","sourceRoot":"","sources":["../../../../src/models/asset/AssetId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;;AAGH;;;GAGG;AACH;IAYE;;;;OAIG;IACH,YACE,WAAmB,EACnB,IAAY;QAEZ,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAEM,QAAQ;QACb,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC;IAC5B,CAAC;IAED;;;OAGG;IACI,KAAK;QACV,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,WAAW,EAAE,IAAI,CAAC,WAAW;SAC9B,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACI,MAAM,CAAC,qBAAqB,CAAC,GAAgB;QAClD,OAAO,IAAI,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;IAED;;;;OAIG;IACI,MAAM,CAAC,QAAiB;QAC7B,OAAO,IAAI,CAAC,WAAW,IAAI,QAAQ,CAAC,WAAW,IAAI,IAAI,CAAC,IAAI,IAAI,QAAQ,CAAC,IAAI,CAAC;IAChF,CAAC;IAED;;OAEG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,GAAG,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC;IAC5C,CAAC;CACF;AAhED,0BAgEC"}
@@ -0,0 +1,40 @@
1
+ import { Address } from "../account/Address";
2
+ import { AssetId } from "./AssetId";
3
+ /**
4
+ * 1: The levy is an absolute fee. The field 'fee' states how many sub-units of the specified mosaic will be transferred to the recipient.
5
+ * 2: The levy is calculated from the transferred xem. The field 'fee' states how many percentiles of the transferred quantity will transferred to the recipient.
6
+ */
7
+ export declare enum AssetLevyType {
8
+ Absolute = 1,
9
+ Percentil = 2,
10
+ }
11
+ /**
12
+ *
13
+ * A mosaic definition can optionally specify a levy for transferring those mosaics. This might be needed by legal entities needing to collect some taxes for transfers.
14
+ */
15
+ export declare class AssetLevy {
16
+ /**
17
+ * The levy type
18
+ */
19
+ readonly type: AssetLevyType;
20
+ /**
21
+ * The recipient of the levy.
22
+ */
23
+ readonly recipient: Address;
24
+ /**
25
+ * The mosaic in which the levy is paid.
26
+ */
27
+ readonly assetId: AssetId;
28
+ /**
29
+ * The fee. The interpretation is dependent on the type of the levy
30
+ */
31
+ readonly fee: number;
32
+ /**
33
+ * constructor
34
+ * @param type
35
+ * @param recipient
36
+ * @param assetId
37
+ * @param fee
38
+ */
39
+ constructor(type: AssetLevyType, recipient: Address, assetId: AssetId, fee: number);
40
+ }
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ /*
3
+ * The MIT License (MIT)
4
+ *
5
+ * Copyright (c) 2017 NEM
6
+ *
7
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ * of this software and associated documentation files (the "Software"), to deal
9
+ * in the Software without restriction, including without limitation the rights
10
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ * copies of the Software, and to permit persons to whom the Software is
12
+ * furnished to do so, subject to the following conditions:
13
+ *
14
+ * The above copyright notice and this permission notice shall be included in all
15
+ * copies or substantial portions of the Software.
16
+ *
17
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ * SOFTWARE.
24
+ */
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ const Address_1 = require("../account/Address");
27
+ const AssetId_1 = require("./AssetId");
28
+ /**
29
+ * 1: The levy is an absolute fee. The field 'fee' states how many sub-units of the specified mosaic will be transferred to the recipient.
30
+ * 2: The levy is calculated from the transferred xem. The field 'fee' states how many percentiles of the transferred quantity will transferred to the recipient.
31
+ */
32
+ var AssetLevyType;
33
+ (function (AssetLevyType) {
34
+ AssetLevyType[AssetLevyType["Absolute"] = 1] = "Absolute";
35
+ AssetLevyType[AssetLevyType["Percentil"] = 2] = "Percentil";
36
+ })(AssetLevyType = exports.AssetLevyType || (exports.AssetLevyType = {}));
37
+ /**
38
+ *
39
+ * A mosaic definition can optionally specify a levy for transferring those mosaics. This might be needed by legal entities needing to collect some taxes for transfers.
40
+ */
41
+ class AssetLevy {
42
+ /**
43
+ * constructor
44
+ * @param type
45
+ * @param recipient
46
+ * @param assetId
47
+ * @param fee
48
+ */
49
+ constructor(type, recipient, assetId, fee) {
50
+ this.type = type;
51
+ this.recipient = recipient;
52
+ this.assetId = assetId;
53
+ this.fee = fee;
54
+ }
55
+ /**
56
+ * @internal
57
+ */
58
+ toDTO() {
59
+ return {
60
+ mosaicId: this.assetId,
61
+ recipient: this.recipient.plain(),
62
+ type: this.type,
63
+ fee: this.fee,
64
+ };
65
+ }
66
+ /**
67
+ * @internal
68
+ * @param dto
69
+ * @returns {AssetLevy}
70
+ */
71
+ static createFromMosaicLevyDTO(dto) {
72
+ return new AssetLevy(dto.type, new Address_1.Address(dto.recipient), AssetId_1.AssetId.createFromMosaicIdDTO(dto.mosaicId), dto.fee);
73
+ }
74
+ }
75
+ exports.AssetLevy = AssetLevy;
76
+ //# sourceMappingURL=AssetLevy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AssetLevy.js","sourceRoot":"","sources":["../../../../src/models/asset/AssetLevy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;;AAGH,gDAA2C;AAC3C,uCAAkC;AAElC;;;GAGG;AACH,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,yDAAY,CAAA;IACZ,2DAAa,CAAA;AACf,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB;AAED;;;GAGG;AACH;IAsBE;;;;;;OAMG;IACH,YACE,IAAmB,EACnB,SAAkB,EAClB,OAAgB,EAChB,GAAW;QAEX,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;IACjB,CAAC;IAED;;OAEG;IACI,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,IAAI,CAAC,OAAO;YACtB,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE;YACjC,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,GAAG,EAAE,IAAI,CAAC,GAAG;SACd,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACI,MAAM,CAAC,uBAAuB,CAAC,GAAkB;QACtD,OAAO,IAAI,SAAS,CAClB,GAAG,CAAC,IAAI,EACR,IAAI,iBAAO,CAAC,GAAG,CAAC,SAAS,CAAC,EAC1B,iBAAO,CAAC,qBAAqB,CAAC,GAAG,CAAC,QAAQ,CAAC,EAC3C,GAAG,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CAEF;AAlED,8BAkEC"}
@@ -0,0 +1,65 @@
1
+ import { AssetDefinition, AssetProperties } from "./AssetDefinition";
2
+ import { AssetId } from "./AssetId";
3
+ import { AssetLevy } from "./AssetLevy";
4
+ /**
5
+ * Asset transferable model
6
+ */
7
+ export declare class AssetTransferable {
8
+ /**
9
+ * Create a AssetTransferable object with mosaic definition
10
+ * @param assetDefinition
11
+ * @param amount
12
+ * @returns {AssetTransferable}
13
+ */
14
+ static createWithAssetDefinition(assetDefinition: AssetDefinition, amount: number): AssetTransferable;
15
+ /**
16
+ * Create AssetTransferable with an absolute quantity
17
+ * @param assetId
18
+ * @param properties
19
+ * @param quantity
20
+ * @param levy
21
+ * @returns {AssetTransferable}
22
+ */
23
+ static createAbsolute(assetId: AssetId, properties: AssetProperties, quantity: number, levy?: AssetLevy): AssetTransferable;
24
+ /**
25
+ * Create AssetTransferable with an relative quantity
26
+ * @param assetId
27
+ * @param properties
28
+ * @param quantity
29
+ * @param levy
30
+ * @returns {AssetTransferable}
31
+ */
32
+ static createRelative(assetId: AssetId, properties: AssetProperties, quantity: number, levy?: AssetLevy): AssetTransferable;
33
+ /**
34
+ * AssetId
35
+ */
36
+ readonly assetId: AssetId;
37
+ /**
38
+ * Amount
39
+ */
40
+ readonly quantity: number;
41
+ /**
42
+ * Asset definition properties
43
+ */
44
+ readonly properties: AssetProperties;
45
+ /**
46
+ * Levy
47
+ */
48
+ readonly levy?: AssetLevy;
49
+ /**
50
+ * constructor
51
+ * @param mosaicId
52
+ * @param properties
53
+ * @param quantity
54
+ * @param levy
55
+ */
56
+ constructor(mosaicId: AssetId, properties: AssetProperties, quantity: number, levy?: AssetLevy);
57
+ /**
58
+ * @returns {number}
59
+ */
60
+ relativeQuantity(): number;
61
+ /**
62
+ * @returns {number}
63
+ */
64
+ absoluteQuantity(): number;
65
+ }
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ /*
3
+ * The MIT License (MIT)
4
+ *
5
+ * Copyright (c) 2017 NEM
6
+ *
7
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ * of this software and associated documentation files (the "Software"), to deal
9
+ * in the Software without restriction, including without limitation the rights
10
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ * copies of the Software, and to permit persons to whom the Software is
12
+ * furnished to do so, subject to the following conditions:
13
+ *
14
+ * The above copyright notice and this permission notice shall be included in all
15
+ * copies or substantial portions of the Software.
16
+ *
17
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ * SOFTWARE.
24
+ */
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ /**
27
+ * Asset transferable model
28
+ */
29
+ class AssetTransferable {
30
+ /**
31
+ * Create a AssetTransferable object with mosaic definition
32
+ * @param assetDefinition
33
+ * @param amount
34
+ * @returns {AssetTransferable}
35
+ */
36
+ static createWithAssetDefinition(assetDefinition, amount) {
37
+ return new AssetTransferable(assetDefinition.id, assetDefinition.properties, amount, assetDefinition.levy);
38
+ }
39
+ /**
40
+ * Create AssetTransferable with an absolute quantity
41
+ * @param assetId
42
+ * @param properties
43
+ * @param quantity
44
+ * @param levy
45
+ * @returns {AssetTransferable}
46
+ */
47
+ static createAbsolute(assetId, properties, quantity, levy) {
48
+ return new AssetTransferable(assetId, properties, quantity, levy);
49
+ }
50
+ /**
51
+ * Create AssetTransferable with an relative quantity
52
+ * @param assetId
53
+ * @param properties
54
+ * @param quantity
55
+ * @param levy
56
+ * @returns {AssetTransferable}
57
+ */
58
+ static createRelative(assetId, properties, quantity, levy) {
59
+ return new AssetTransferable(assetId, properties, quantity * Math.pow(10, properties.divisibility), levy);
60
+ }
61
+ /**
62
+ * constructor
63
+ * @param mosaicId
64
+ * @param properties
65
+ * @param quantity
66
+ * @param levy
67
+ */
68
+ constructor(mosaicId, properties, quantity, levy) {
69
+ this.assetId = mosaicId;
70
+ this.properties = properties;
71
+ this.levy = levy;
72
+ this.quantity = quantity;
73
+ }
74
+ /**
75
+ * @returns {number}
76
+ */
77
+ relativeQuantity() {
78
+ return this.quantity / Math.pow(10, this.properties.divisibility);
79
+ }
80
+ /**
81
+ * @returns {number}
82
+ */
83
+ absoluteQuantity() {
84
+ return this.quantity;
85
+ }
86
+ }
87
+ exports.AssetTransferable = AssetTransferable;
88
+ //# sourceMappingURL=AssetTransferable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AssetTransferable.js","sourceRoot":"","sources":["../../../../src/models/asset/AssetTransferable.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;;AAOH;;GAEG;AACH;IACE;;;;;OAKG;IACI,MAAM,CAAC,yBAAyB,CAAC,eAAgC,EAAE,MAAc;QACtF,OAAO,IAAI,iBAAiB,CAAC,eAAe,CAAC,EAAE,EAAE,eAAe,CAAC,UAAU,EAAE,MAAM,EAAE,eAAe,CAAC,IAAI,CAAC,CAAC;IAC7G,CAAC;IAED;;;;;;;OAOG;IACI,MAAM,CAAC,cAAc,CAAC,OAAgB,EAAE,UAA2B,EAAE,QAAgB,EAAE,IAAgB;QAC5G,OAAO,IAAI,iBAAiB,CAC1B,OAAO,EACP,UAAU,EACV,QAAQ,EACR,IAAI,CACL,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACI,MAAM,CAAC,cAAc,CAAC,OAAgB,EAAE,UAA2B,EAAE,QAAgB,EAAE,IAAgB;QAC5G,OAAO,IAAI,iBAAiB,CAC1B,OAAO,EACP,UAAU,EACV,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,UAAU,CAAC,YAAY,CAAC,EAChD,IAAI,CACL,CAAC;IACJ,CAAC;IAsBD;;;;;;OAMG;IACH,YAAY,QAAiB,EAAE,UAA2B,EAAE,QAAgB,EAAE,IAAgB;QAC5F,IAAI,CAAC,OAAO,GAAG,QAAQ,CAAC;QACxB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;IAED;;OAEG;IACI,gBAAgB;QACrB,OAAO,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACI,gBAAgB;QACrB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;CACF;AA5FD,8CA4FC"}
@@ -0,0 +1,49 @@
1
+ import { AssetId } from "./AssetId";
2
+ import { AssetTransferable } from "./AssetTransferable";
3
+ /**
4
+ * XEM mosaic transferable
5
+ */
6
+ export declare class XEM extends AssetTransferable {
7
+ /**
8
+ * Divisiblity
9
+ * @type {number}
10
+ */
11
+ static DIVISIBILITY: number;
12
+ /**
13
+ * Initial supply
14
+ * @type {number}
15
+ */
16
+ static INITIALSUPPLY: number;
17
+ /**
18
+ * Is tranferable
19
+ * @type {boolean}
20
+ */
21
+ static TRANSFERABLE: boolean;
22
+ /**
23
+ * Is mutable
24
+ * @type {boolean}
25
+ */
26
+ static SUPPLYMUTABLE: boolean;
27
+ /**
28
+ * mosaicId
29
+ * @type {AssetId}
30
+ */
31
+ static MOSAICID: AssetId;
32
+ /**
33
+ * Create XEM with an absolute quantity
34
+ * @param quantity
35
+ * @returns {AssetTransferable}
36
+ */
37
+ static fromAbsolute(quantity: number): XEM;
38
+ /**
39
+ * Create XEM with an relative quantity
40
+ * @param quantity
41
+ * @returns {AssetTransferable}
42
+ */
43
+ static fromRelative(quantity: number): XEM;
44
+ /**
45
+ * constructor
46
+ * @param quantity - Relative quantity
47
+ */
48
+ constructor(quantity: number);
49
+ }
@@ -0,0 +1,83 @@
1
+ "use strict";
2
+ /*
3
+ * The MIT License (MIT)
4
+ *
5
+ * Copyright (c) 2017 NEM
6
+ *
7
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ * of this software and associated documentation files (the "Software"), to deal
9
+ * in the Software without restriction, including without limitation the rights
10
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ * copies of the Software, and to permit persons to whom the Software is
12
+ * furnished to do so, subject to the following conditions:
13
+ *
14
+ * The above copyright notice and this permission notice shall be included in all
15
+ * copies or substantial portions of the Software.
16
+ *
17
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ * SOFTWARE.
24
+ */
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ const AssetDefinition_1 = require("./AssetDefinition");
27
+ const AssetId_1 = require("./AssetId");
28
+ const AssetTransferable_1 = require("./AssetTransferable");
29
+ /**
30
+ * XEM mosaic transferable
31
+ */
32
+ class XEM extends AssetTransferable_1.AssetTransferable {
33
+ /**
34
+ * constructor
35
+ * @param quantity - Relative quantity
36
+ */
37
+ constructor(quantity) {
38
+ super(XEM.MOSAICID, new AssetDefinition_1.AssetProperties(XEM.DIVISIBILITY, XEM.INITIALSUPPLY, XEM.TRANSFERABLE, XEM.SUPPLYMUTABLE), quantity * Math.pow(10, XEM.DIVISIBILITY));
39
+ }
40
+ /**
41
+ * Create XEM with an absolute quantity
42
+ * @param quantity
43
+ * @returns {AssetTransferable}
44
+ */
45
+ static fromAbsolute(quantity) {
46
+ return new XEM(quantity / Math.pow(10, XEM.DIVISIBILITY));
47
+ }
48
+ /**
49
+ * Create XEM with an relative quantity
50
+ * @param quantity
51
+ * @returns {AssetTransferable}
52
+ */
53
+ static fromRelative(quantity) {
54
+ return new XEM(quantity);
55
+ }
56
+ }
57
+ /**
58
+ * Divisiblity
59
+ * @type {number}
60
+ */
61
+ XEM.DIVISIBILITY = 6;
62
+ /**
63
+ * Initial supply
64
+ * @type {number}
65
+ */
66
+ XEM.INITIALSUPPLY = 8999999999;
67
+ /**
68
+ * Is tranferable
69
+ * @type {boolean}
70
+ */
71
+ XEM.TRANSFERABLE = true;
72
+ /**
73
+ * Is mutable
74
+ * @type {boolean}
75
+ */
76
+ XEM.SUPPLYMUTABLE = false;
77
+ /**
78
+ * mosaicId
79
+ * @type {AssetId}
80
+ */
81
+ XEM.MOSAICID = new AssetId_1.AssetId("nem", "xem");
82
+ exports.XEM = XEM;
83
+ //# sourceMappingURL=XEM.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"XEM.js","sourceRoot":"","sources":["../../../../src/models/asset/XEM.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;;AAGH,uDAAqE;AACrE,uCAAoC;AACpC,2DAAwD;AAExD;;GAEG;AACH,SAAiB,SAAQ,qCAAiB;IAiDxC;;;OAGG;IACH,YAAY,QAAgB;QAC1B,KAAK,CAAC,GAAG,CAAC,QAAQ,EAChB,IAAI,iCAAe,CAAC,GAAG,CAAC,YAAY,EAAE,GAAG,CAAC,aAAa,EAAE,GAAG,CAAC,YAAY,EAAE,GAAG,CAAC,aAAa,CAAC,EAC7F,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC;IAC/C,CAAC;IA1BD;;;;OAIG;IACI,MAAM,CAAC,YAAY,CAAC,QAAgB;QACzC,OAAO,IAAI,GAAG,CAAC,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC;IAC5D,CAAC;IAED;;;;OAIG;IACI,MAAM,CAAC,YAAY,CAAC,QAAgB;QACzC,OAAO,IAAI,GAAG,CAAC,QAAQ,CAAC,CAAC;IAC3B,CAAC;;AA9CD;;;GAGG;AACW,gBAAY,GAAG,CAAC,CAAC;AAE/B;;;GAGG;AACW,iBAAa,GAAG,UAAU,CAAC;AAEzC;;;GAGG;AACW,gBAAY,GAAG,IAAI,CAAC;AAElC;;;GAGG;AACW,iBAAa,GAAG,KAAK,CAAC;AAEpC;;;GAGG;AACW,YAAQ,GAAG,IAAI,iBAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;AA7BrD,kBA2DC"}