pshenmic-dpp 1.1.2-dev.8 → 2.0.0-dev.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 (324) hide show
  1. package/README.md +14 -99
  2. package/dist/binaries/bindingsTypes.d.ts +1696 -0
  3. package/dist/binaries/bindingsTypes.js +98 -0
  4. package/dist/binaries/pshenmic_dpp.android.node/react-native-node-api-module +0 -0
  5. package/dist/binaries/pshenmic_dpp.android.node/x86_64/libpshenmic_dpp.so +0 -0
  6. package/dist/binaries/pshenmic_dpp.d.ts +166 -0
  7. package/dist/binaries/pshenmic_dpp.js +3 -0
  8. package/dist/binaries/wasm/wasmBytes.d.ts +2 -0
  9. package/dist/binaries/wasm/wasmBytes.js +2 -0
  10. package/dist/binaries/wasm.d.ts +166 -0
  11. package/dist/binaries/wasm.js +44 -0
  12. package/dist/src/dpp/constants.d.ts +4 -0
  13. package/dist/src/dpp/constants.js +19 -0
  14. package/dist/src/dpp/dpp.d.ts +110 -0
  15. package/dist/src/dpp/dpp.js +110 -0
  16. package/dist/src/dpp/enums.d.ts +1 -0
  17. package/dist/src/dpp/enums.js +1 -0
  18. package/dist/src/dpp/provider.d.ts +11 -0
  19. package/dist/src/dpp/provider.js +21 -0
  20. package/dist/src/dpp/structs/Address/AddressWitness.d.ts +12 -0
  21. package/dist/src/dpp/structs/Address/AddressWitness.js +23 -0
  22. package/dist/src/dpp/structs/Address/PlatformAddress.d.ts +14 -0
  23. package/dist/src/dpp/structs/Address/PlatformAddress.js +32 -0
  24. package/dist/src/dpp/structs/AddressTransitions/AddressCreditWithdrawalTransition.d.ts +38 -0
  25. package/dist/src/dpp/structs/AddressTransitions/AddressCreditWithdrawalTransition.js +95 -0
  26. package/dist/src/dpp/structs/AddressTransitions/AddressFundingFromAssetLockTransition.d.ts +35 -0
  27. package/dist/src/dpp/structs/AddressTransitions/AddressFundingFromAssetLockTransition.js +85 -0
  28. package/dist/src/dpp/structs/AddressTransitions/AddressFundsTransferTransition.d.ts +30 -0
  29. package/dist/src/dpp/structs/AddressTransitions/AddressFundsTransferTransition.js +72 -0
  30. package/dist/src/dpp/structs/AddressTransitions/IdentityCreateFromAddressesTransition.d.ts +33 -0
  31. package/dist/src/dpp/structs/AddressTransitions/IdentityCreateFromAddressesTransition.js +82 -0
  32. package/dist/src/dpp/structs/AddressTransitions/IdentityCreditTransferToAddressesTransition.d.ts +31 -0
  33. package/dist/src/dpp/structs/AddressTransitions/IdentityCreditTransferToAddressesTransition.js +77 -0
  34. package/dist/src/dpp/structs/AddressTransitions/IdentityTopUpFromAddressesTransition.d.ts +31 -0
  35. package/dist/src/dpp/structs/AddressTransitions/IdentityTopUpFromAddressesTransition.js +76 -0
  36. package/dist/src/dpp/structs/AddressTransitions/entities/AddressFundsFeeStrategyStep.d.ts +12 -0
  37. package/dist/src/dpp/structs/AddressTransitions/entities/AddressFundsFeeStrategyStep.js +26 -0
  38. package/dist/src/dpp/structs/AddressTransitions/entities/InputAddress.d.ts +14 -0
  39. package/dist/src/dpp/structs/AddressTransitions/entities/InputAddress.js +32 -0
  40. package/dist/src/dpp/structs/AddressTransitions/entities/OutputAddress.d.ts +12 -0
  41. package/dist/src/dpp/structs/AddressTransitions/entities/OutputAddress.js +26 -0
  42. package/dist/src/dpp/structs/AddressTransitions/entities/OutputAddressNullableCredits.d.ts +12 -0
  43. package/dist/src/dpp/structs/AddressTransitions/entities/OutputAddressNullableCredits.js +29 -0
  44. package/dist/src/dpp/structs/AssetLockProof/AssetLockProof.d.ts +19 -0
  45. package/dist/src/dpp/structs/AssetLockProof/AssetLockProof.js +51 -0
  46. package/dist/src/dpp/structs/AssetLockProof/ChainAssetLockProof.d.ts +17 -0
  47. package/dist/src/dpp/structs/AssetLockProof/ChainAssetLockProof.js +36 -0
  48. package/dist/src/dpp/structs/AssetLockProof/InstantAssetLockProof.d.ts +24 -0
  49. package/dist/src/dpp/structs/AssetLockProof/InstantAssetLockProof.js +48 -0
  50. package/dist/src/dpp/structs/AssetLockProof/OutPoint.d.ts +15 -0
  51. package/dist/src/dpp/structs/AssetLockProof/OutPoint.js +40 -0
  52. package/dist/src/dpp/structs/AssetLockProof/Transaction.d.ts +20 -0
  53. package/dist/src/dpp/structs/AssetLockProof/Transaction.js +49 -0
  54. package/dist/src/dpp/structs/AssetLockProof/TxIn.d.ts +17 -0
  55. package/dist/src/dpp/structs/AssetLockProof/TxIn.js +39 -0
  56. package/dist/src/dpp/structs/AssetLockProof/TxOut.d.ts +13 -0
  57. package/dist/src/dpp/structs/AssetLockProof/TxOut.js +34 -0
  58. package/dist/src/dpp/structs/AssetLockProof/Witness.d.ts +11 -0
  59. package/dist/src/dpp/structs/AssetLockProof/Witness.js +25 -0
  60. package/dist/src/dpp/structs/Batch/BatchTransition.d.ts +34 -0
  61. package/dist/src/dpp/structs/Batch/BatchTransition.js +95 -0
  62. package/dist/src/dpp/structs/Batch/BatchedTransition.d.ts +13 -0
  63. package/dist/src/dpp/structs/Batch/BatchedTransition.js +39 -0
  64. package/dist/src/dpp/structs/Batch/DocumentBaseTransition.d.ts +20 -0
  65. package/dist/src/dpp/structs/Batch/DocumentBaseTransition.js +54 -0
  66. package/dist/src/dpp/structs/Batch/DocumentTransition.d.ts +32 -0
  67. package/dist/src/dpp/structs/Batch/DocumentTransition.js +74 -0
  68. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentCreateTransition.d.ts +23 -0
  69. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentCreateTransition.js +58 -0
  70. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentDeleteTransition.d.ts +14 -0
  71. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentDeleteTransition.js +26 -0
  72. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentPurchaseTransition.d.ts +19 -0
  73. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentPurchaseTransition.js +39 -0
  74. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentReplaceTransition.d.ts +19 -0
  75. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentReplaceTransition.js +40 -0
  76. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentTransferTransition.d.ts +19 -0
  77. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentTransferTransition.js +35 -0
  78. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentUpdatePriceTransition.d.ts +17 -0
  79. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentUpdatePriceTransition.js +33 -0
  80. package/dist/src/dpp/structs/Batch/PrefundedVotingBalance.d.ts +9 -0
  81. package/dist/src/dpp/structs/Batch/PrefundedVotingBalance.js +19 -0
  82. package/dist/src/dpp/structs/Batch/TokenBaseTransition.d.ts +20 -0
  83. package/dist/src/dpp/structs/Batch/TokenBaseTransition.js +49 -0
  84. package/dist/src/dpp/structs/Batch/TokenPaymentInfo.d.ts +19 -0
  85. package/dist/src/dpp/structs/Batch/TokenPaymentInfo.js +54 -0
  86. package/dist/src/dpp/structs/Batch/TokenPricingSchedule.d.ts +17 -0
  87. package/dist/src/dpp/structs/Batch/TokenPricingSchedule.js +41 -0
  88. package/dist/src/dpp/structs/Batch/TokenTransition.d.ts +20 -0
  89. package/dist/src/dpp/structs/Batch/TokenTransition.js +92 -0
  90. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenBurnTransition.d.ts +14 -0
  91. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenBurnTransition.js +32 -0
  92. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenClaimTransition.d.ts +15 -0
  93. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenClaimTransition.js +33 -0
  94. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenConfigUpdateTransition.d.ts +15 -0
  95. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenConfigUpdateTransition.js +33 -0
  96. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenDestroyFrozenFundsTransition.d.ts +16 -0
  97. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenDestroyFrozenFundsTransition.js +34 -0
  98. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenDirectPurchaseTransition.d.ts +14 -0
  99. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenDirectPurchaseTransition.js +32 -0
  100. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenEmergencyActionTransition.d.ts +15 -0
  101. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenEmergencyActionTransition.js +33 -0
  102. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenFreezeTransition.d.ts +16 -0
  103. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenFreezeTransition.js +34 -0
  104. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenMintTransition.d.ts +18 -0
  105. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenMintTransition.js +43 -0
  106. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenSetPriceForDirectPurchaseTransition.d.ts +15 -0
  107. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenSetPriceForDirectPurchaseTransition.js +36 -0
  108. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenTransferTransition.d.ts +21 -0
  109. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenTransferTransition.js +53 -0
  110. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenUnFreezeTransition.d.ts +16 -0
  111. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenUnFreezeTransition.js +34 -0
  112. package/dist/src/dpp/structs/ConsensusError.d.ts +8 -0
  113. package/dist/src/dpp/structs/ConsensusError.js +22 -0
  114. package/dist/src/dpp/structs/ContractBounds.d.ts +17 -0
  115. package/dist/src/dpp/structs/ContractBounds.js +39 -0
  116. package/dist/src/dpp/structs/CoreScript.d.ts +15 -0
  117. package/dist/src/dpp/structs/CoreScript.js +37 -0
  118. package/dist/src/dpp/structs/DataContract.d.ts +35 -0
  119. package/dist/src/dpp/structs/DataContract.js +116 -0
  120. package/dist/src/dpp/structs/DataContractTransitions/DataContractCreateTransition.d.ts +23 -0
  121. package/dist/src/dpp/structs/DataContractTransitions/DataContractCreateTransition.js +55 -0
  122. package/dist/src/dpp/structs/DataContractTransitions/DataContractUpdateTransition.d.ts +23 -0
  123. package/dist/src/dpp/structs/DataContractTransitions/DataContractUpdateTransition.js +55 -0
  124. package/dist/src/dpp/structs/Document.d.ts +51 -0
  125. package/dist/src/dpp/structs/Document.js +184 -0
  126. package/dist/src/dpp/structs/EncryptedNote/PrivateEncryptedNote.d.ts +13 -0
  127. package/dist/src/dpp/structs/EncryptedNote/PrivateEncryptedNote.js +31 -0
  128. package/dist/src/dpp/structs/EncryptedNote/SharedEncryptedNote.d.ts +13 -0
  129. package/dist/src/dpp/structs/EncryptedNote/SharedEncryptedNote.js +31 -0
  130. package/dist/src/dpp/structs/GroupStateTransitionInfo.d.ts +15 -0
  131. package/dist/src/dpp/structs/GroupStateTransitionInfo.js +33 -0
  132. package/dist/src/dpp/structs/Identifier.d.ts +17 -0
  133. package/dist/src/dpp/structs/Identifier.js +50 -0
  134. package/dist/src/dpp/structs/Identity.d.ts +26 -0
  135. package/dist/src/dpp/structs/Identity.js +73 -0
  136. package/dist/src/dpp/structs/IdentityPublicKey.d.ts +43 -0
  137. package/dist/src/dpp/structs/IdentityPublicKey.js +126 -0
  138. package/dist/src/dpp/structs/IdentityPublicKeyInCreation.d.ts +30 -0
  139. package/dist/src/dpp/structs/IdentityPublicKeyInCreation.js +77 -0
  140. package/dist/src/dpp/structs/IdentityTransitions/IdentityCreateTransition.d.ts +29 -0
  141. package/dist/src/dpp/structs/IdentityTransitions/IdentityCreateTransition.js +69 -0
  142. package/dist/src/dpp/structs/IdentityTransitions/IdentityCreditTransfer.d.ts +33 -0
  143. package/dist/src/dpp/structs/IdentityTransitions/IdentityCreditTransfer.js +85 -0
  144. package/dist/src/dpp/structs/IdentityTransitions/IdentityCreditWithdrawalTransition.d.ts +42 -0
  145. package/dist/src/dpp/structs/IdentityTransitions/IdentityCreditWithdrawalTransition.js +114 -0
  146. package/dist/src/dpp/structs/IdentityTransitions/IdentityTopUpTransition.d.ts +30 -0
  147. package/dist/src/dpp/structs/IdentityTransitions/IdentityTopUpTransition.js +75 -0
  148. package/dist/src/dpp/structs/IdentityTransitions/IdentityUpdateTransition.d.ts +40 -0
  149. package/dist/src/dpp/structs/IdentityTransitions/IdentityUpdateTransition.js +108 -0
  150. package/dist/src/dpp/structs/InstantLock.d.ts +17 -0
  151. package/dist/src/dpp/structs/InstantLock.js +43 -0
  152. package/dist/src/dpp/structs/MasternodeVote/MasternodeVoteTransition.d.ts +37 -0
  153. package/dist/src/dpp/structs/MasternodeVote/MasternodeVoteTransition.js +96 -0
  154. package/dist/src/dpp/structs/MasternodeVote/ResourceVoteChoice.d.ts +14 -0
  155. package/dist/src/dpp/structs/MasternodeVote/ResourceVoteChoice.js +29 -0
  156. package/dist/src/dpp/structs/MasternodeVote/Vote.d.ts +13 -0
  157. package/dist/src/dpp/structs/MasternodeVote/Vote.js +27 -0
  158. package/dist/src/dpp/structs/MasternodeVote/VotePoll.d.ts +18 -0
  159. package/dist/src/dpp/structs/MasternodeVote/VotePoll.js +42 -0
  160. package/dist/src/dpp/structs/PartialIdentity.d.ts +26 -0
  161. package/dist/src/dpp/structs/PartialIdentity.js +69 -0
  162. package/dist/src/dpp/structs/PrivateKey.d.ts +20 -0
  163. package/dist/src/dpp/structs/PrivateKey.js +48 -0
  164. package/dist/src/dpp/structs/PublicKey.d.ts +15 -0
  165. package/dist/src/dpp/structs/PublicKey.js +37 -0
  166. package/dist/src/dpp/structs/StateTransition.d.ts +38 -0
  167. package/dist/src/dpp/structs/StateTransition.js +100 -0
  168. package/dist/src/dpp/structs/TokenConfiguration/ActionTaker.d.ts +12 -0
  169. package/dist/src/dpp/structs/TokenConfiguration/ActionTaker.js +44 -0
  170. package/dist/src/dpp/structs/TokenConfiguration/AuthorizedActionTakers.d.ts +16 -0
  171. package/dist/src/dpp/structs/TokenConfiguration/AuthorizedActionTakers.js +43 -0
  172. package/dist/src/dpp/structs/TokenConfiguration/ChangeControlRules.d.ts +23 -0
  173. package/dist/src/dpp/structs/TokenConfiguration/ChangeControlRules.js +52 -0
  174. package/dist/src/dpp/structs/TokenConfiguration/DistributionFunction.d.ts +19 -0
  175. package/dist/src/dpp/structs/TokenConfiguration/DistributionFunction.js +57 -0
  176. package/dist/src/dpp/structs/TokenConfiguration/Group.d.ts +19 -0
  177. package/dist/src/dpp/structs/TokenConfiguration/Group.js +44 -0
  178. package/dist/src/dpp/structs/TokenConfiguration/RewardDistributionType.d.ts +13 -0
  179. package/dist/src/dpp/structs/TokenConfiguration/RewardDistributionType.js +40 -0
  180. package/dist/src/dpp/structs/TokenConfiguration/TokenConfiguration.d.ts +54 -0
  181. package/dist/src/dpp/structs/TokenConfiguration/TokenConfiguration.js +139 -0
  182. package/dist/src/dpp/structs/TokenConfiguration/TokenConfigurationChangeItem.d.ts +47 -0
  183. package/dist/src/dpp/structs/TokenConfiguration/TokenConfigurationChangeItem.js +140 -0
  184. package/dist/src/dpp/structs/TokenConfiguration/TokenConfigurationConvention.d.ts +19 -0
  185. package/dist/src/dpp/structs/TokenConfiguration/TokenConfigurationConvention.js +47 -0
  186. package/dist/src/dpp/structs/TokenConfiguration/TokenConfigurationLocalization.d.ts +15 -0
  187. package/dist/src/dpp/structs/TokenConfiguration/TokenConfigurationLocalization.js +34 -0
  188. package/dist/src/dpp/structs/TokenConfiguration/TokenDistributionRecipient.d.ts +14 -0
  189. package/dist/src/dpp/structs/TokenConfiguration/TokenDistributionRecipient.js +31 -0
  190. package/dist/src/dpp/structs/TokenConfiguration/TokenDistributionRules.d.ts +28 -0
  191. package/dist/src/dpp/structs/TokenConfiguration/TokenDistributionRules.js +75 -0
  192. package/dist/src/dpp/structs/TokenConfiguration/TokenKeepsHistoryRules.d.ts +19 -0
  193. package/dist/src/dpp/structs/TokenConfiguration/TokenKeepsHistoryRules.js +49 -0
  194. package/dist/src/dpp/structs/TokenConfiguration/TokenMarketplaceRules.d.ts +13 -0
  195. package/dist/src/dpp/structs/TokenConfiguration/TokenMarketplaceRules.js +27 -0
  196. package/dist/src/dpp/structs/TokenConfiguration/TokenPerpetualDistribution.d.ts +13 -0
  197. package/dist/src/dpp/structs/TokenConfiguration/TokenPerpetualDistribution.js +27 -0
  198. package/dist/src/dpp/structs/TokenConfiguration/TokenPreProgrammedDistribution.d.ts +21 -0
  199. package/dist/src/dpp/structs/TokenConfiguration/TokenPreProgrammedDistribution.js +42 -0
  200. package/dist/src/dpp/structs/TokenConfiguration/TokenTradeMode.d.ts +9 -0
  201. package/dist/src/dpp/structs/TokenConfiguration/TokenTradeMode.js +17 -0
  202. package/dist/src/dpp/types.d.ts +274 -0
  203. package/dist/src/dpp/types.js +1 -0
  204. package/dist/src/dpp/utils.d.ts +5 -0
  205. package/dist/src/dpp/utils.js +64 -0
  206. package/dist/src/dpp/verify/Contested/verifyVotePollVoteStateProof.d.ts +3 -0
  207. package/dist/src/dpp/verify/Contested/verifyVotePollVoteStateProof.js +34 -0
  208. package/dist/src/dpp/verify/Contract/verifyContract.d.ts +2 -0
  209. package/dist/src/dpp/verify/Contract/verifyContract.js +14 -0
  210. package/dist/src/dpp/verify/Document/verifyDocumentsProof.d.ts +3 -0
  211. package/dist/src/dpp/verify/Document/verifyDocumentsProof.js +10 -0
  212. package/dist/src/dpp/verify/Identity/verifyIdentifierByNonUniquePublicKeyHashProof.d.ts +2 -0
  213. package/dist/src/dpp/verify/Identity/verifyIdentifierByNonUniquePublicKeyHashProof.js +10 -0
  214. package/dist/src/dpp/verify/Identity/verifyIdentityBalanceProof.d.ts +2 -0
  215. package/dist/src/dpp/verify/Identity/verifyIdentityBalanceProof.js +9 -0
  216. package/dist/src/dpp/verify/Identity/verifyIdentityByIdentifierProof.d.ts +2 -0
  217. package/dist/src/dpp/verify/Identity/verifyIdentityByIdentifierProof.js +10 -0
  218. package/dist/src/dpp/verify/Identity/verifyIdentityByUniqueKeyHashProof.d.ts +2 -0
  219. package/dist/src/dpp/verify/Identity/verifyIdentityByUniqueKeyHashProof.js +10 -0
  220. package/dist/src/dpp/verify/Identity/verifyIdentityContractNonceProof.d.ts +2 -0
  221. package/dist/src/dpp/verify/Identity/verifyIdentityContractNonceProof.js +9 -0
  222. package/dist/src/dpp/verify/Identity/verifyIdentityKeysByIdentifierProof.d.ts +2 -0
  223. package/dist/src/dpp/verify/Identity/verifyIdentityKeysByIdentifierProof.js +10 -0
  224. package/dist/src/dpp/verify/Identity/verifyIdentityNonceProof.d.ts +2 -0
  225. package/dist/src/dpp/verify/Identity/verifyIdentityNonceProof.js +9 -0
  226. package/dist/src/dpp/verify/StateTransition/utils.d.ts +2 -0
  227. package/dist/src/dpp/verify/StateTransition/utils.js +115 -0
  228. package/dist/src/dpp/verify/StateTransition/verifyStateTransitionResult.d.ts +4 -0
  229. package/dist/src/dpp/verify/StateTransition/verifyStateTransitionResult.js +10 -0
  230. package/dist/src/dpp/verify/System/verifyEpochsInfoProof.d.ts +2 -0
  231. package/dist/src/dpp/verify/System/verifyEpochsInfoProof.js +16 -0
  232. package/dist/src/dpp/verify/System/verifyTotalCreditsProof.d.ts +2 -0
  233. package/dist/src/dpp/verify/System/verifyTotalCreditsProof.js +9 -0
  234. package/dist/src/dpp/verify/Tokens/verifyTokenBalancesForIdentitiesProof.d.ts +2 -0
  235. package/dist/src/dpp/verify/Tokens/verifyTokenBalancesForIdentitiesProof.js +13 -0
  236. package/dist/src/dpp/verify/Tokens/verifyTokenContractInfoProof.d.ts +2 -0
  237. package/dist/src/dpp/verify/Tokens/verifyTokenContractInfoProof.js +15 -0
  238. package/dist/src/dpp/verify/Tokens/verifyTokenDirectPurchasePrices.d.ts +2 -0
  239. package/dist/src/dpp/verify/Tokens/verifyTokenDirectPurchasePrices.js +14 -0
  240. package/dist/src/dpp/verify/Tokens/verifyTokenTotalSupplyProof.d.ts +2 -0
  241. package/dist/src/dpp/verify/Tokens/verifyTokenTotalSupplyProof.js +12 -0
  242. package/dist/src/dpp/verify/Tokens/verifyTokensBalancesForIdentityProof.d.ts +2 -0
  243. package/dist/src/dpp/verify/Tokens/verifyTokensBalancesForIdentityProof.js +13 -0
  244. package/dist/src/dpp/verify/verifySignatureDigest.d.ts +1 -0
  245. package/dist/src/dpp/verify/verifySignatureDigest.js +4 -0
  246. package/dist/src/react-native.d.ts +3 -0
  247. package/dist/src/react-native.js +6 -0
  248. package/dist/src/wasm.d.ts +3 -0
  249. package/dist/src/wasm.js +6 -0
  250. package/dist/utils/base122.d.ts +7 -0
  251. package/dist/utils/base122.js +63 -0
  252. package/package.json +30 -27
  253. package/tests/unit/DynamicValue.spec.ts +86 -0
  254. package/tests/unit/Identifier.spec.ts +105 -0
  255. package/tests/unit/Identity.spec.ts +119 -0
  256. package/tests/unit/IdentityPublicKey.spec.ts +126 -0
  257. package/dist/wasm/base122.d.ts +0 -1
  258. package/dist/wasm/base122.js +0 -67
  259. package/dist/wasm/index.d.ts +0 -148
  260. package/dist/wasm/index.js +0 -13
  261. package/dist/wasm/initAsync.d.ts +0 -4
  262. package/dist/wasm/initAsync.js +0 -20
  263. package/dist/wasm/initInterface.d.ts +0 -3
  264. package/dist/wasm/initInterface.js +0 -46
  265. package/dist/wasm/initWASM.d.ts +0 -1
  266. package/dist/wasm/initWASM.js +0 -28
  267. package/dist/wasm/pshenmic_dpp.d.ts +0 -5266
  268. package/dist/wasm/pshenmic_dpp.js +0 -25608
  269. package/dist/wasm/pshenmic_dpp_bg.d.ts +0 -3
  270. package/dist/wasm/pshenmic_dpp_bg.js +0 -2
  271. package/dist/wasm/pshenmic_dpp_bg.wasm.d.ts +0 -1636
  272. package/dist/wasm/pshenmic_dpp_zipped.d.ts +0 -3
  273. package/dist/wasm/pshenmic_dpp_zipped.js +0 -2
  274. package/dist/wasm/snippets/pshenmic_dpp_utils-23ab7381b198778d/stringify.js +0 -7
  275. package/tests/AssetLockProof.spec.cjs +0 -96
  276. package/tests/AsyncImportTest.spec.cjs +0 -930
  277. package/tests/AuthorizedActionTakers.spec.cjs +0 -75
  278. package/tests/BatchTransition.spec.cjs +0 -141
  279. package/tests/ChainLockProof.spec.cjs +0 -63
  280. package/tests/ChangeControlRules.spec.cjs +0 -184
  281. package/tests/CoreScript.spec.cjs +0 -37
  282. package/tests/DataContract.spec.cjs +0 -170
  283. package/tests/DataContractCreateStateTransition.spec.cjs +0 -102
  284. package/tests/DataContractUpdateStateTransition.spec.cjs +0 -103
  285. package/tests/DistributionFunction.spec.cjs +0 -416
  286. package/tests/Document.spec.cjs +0 -227
  287. package/tests/DocumentTransition.spec.cjs +0 -94
  288. package/tests/DocumentsTransitions.spec.cjs +0 -699
  289. package/tests/Identifier.spec.cjs +0 -82
  290. package/tests/Identity.spec.cjs +0 -107
  291. package/tests/IdentityCreateTransition.spec.cjs +0 -87
  292. package/tests/IdentityCreditTransferTransition.spec.cjs +0 -140
  293. package/tests/IdentityCreditWithdrawalTransition.spec.cjs +0 -186
  294. package/tests/IdentityPublicKey.spec.cjs +0 -166
  295. package/tests/IdentityTopUpTransition.spec.cjs +0 -125
  296. package/tests/IdentityUpdateTransition.spec.cjs +0 -141
  297. package/tests/InstantLockProof.spec.cjs +0 -91
  298. package/tests/OutPoint.spec.cjs +0 -49
  299. package/tests/PrivateKey.spec.cjs +0 -67
  300. package/tests/PublicKeyInCreation.spec.cjs +0 -252
  301. package/tests/RewardDistributionType.spec.cjs +0 -90
  302. package/tests/TokenBaseTransition.spec.cjs +0 -96
  303. package/tests/TokenConfiguration.spec.cjs +0 -188
  304. package/tests/TokenConfigurationConvention.spec.cjs +0 -93
  305. package/tests/TokenConfigurationLocalization.spec.cjs +0 -59
  306. package/tests/TokenDistributionRecipient.spec.cjs +0 -49
  307. package/tests/TokenDistributionRules.spec.cjs +0 -313
  308. package/tests/TokenKeepsHistoryRules.spec.cjs +0 -67
  309. package/tests/TokenPerpetualDistribution.spec.cjs +0 -130
  310. package/tests/TokenPreProgrammedDistribution.spec.cjs +0 -61
  311. package/tests/TokensTransitions.spec.cjs +0 -509
  312. package/tests/TxOut.spec.cjs +0 -70
  313. package/tests/mocks/DataContract/DataContract.json +0 -164
  314. package/tests/mocks/DataContract/index.js +0 -6
  315. package/tests/mocks/Document/DataContract.json +0 -23
  316. package/tests/mocks/Document/document.json +0 -3
  317. package/tests/mocks/Document/document2.json +0 -3
  318. package/tests/mocks/Document/index.js +0 -13
  319. package/tests/mocks/Identity/index.js +0 -13
  320. package/tests/mocks/Locks/index.js +0 -2
  321. package/tests/mocks/PrivateKey/index.js +0 -5
  322. package/tests/mocks/PublicKey/index.js +0 -13
  323. package/tests/mocks/TokenConfiguration/index.js +0 -5
  324. package/tests/utils/hex.js +0 -14
@@ -0,0 +1,1696 @@
1
+ /**
2
+ * This file was generated by
3
+ * ╭─────────────────────────╮
4
+ * │░█▀▀░█▀▀░█▀▄░█▀▄░▀█▀░█▀▀░│
5
+ * │░█▀▀░█▀▀░█▀▄░█▀▄░░█░░█░░░│
6
+ * │░▀░░░▀▀▀░▀░▀░▀░▀░▀▀▀░▀▀▀░│
7
+ * ╰─────────────────────────╯
8
+ * Powered by napi.rs
9
+ */
10
+ export declare class ActionTakerNAPI {
11
+ constructor(value: IdentifierLikeNAPI | Array<IdentifierLikeNAPI>);
12
+ getType(): string;
13
+ get value(): IdentifierNAPI | Array<IdentifierNAPI>;
14
+ set value(value: IdentifierLikeNAPI | Array<IdentifierLikeNAPI>);
15
+ }
16
+ export declare class AddressCreditWithdrawalTransitionNAPI {
17
+ constructor(jsInputs: Array<InputAddressNAPI>, jsFeeStrategy: Array<AddressFundsFeeStrategyStepNAPI>, coreFeePerByte: number, jsPooling: DynamicValue, jsOutputScript: CoreScriptNAPI, userFeeIncrease: number, jsInputWitnesses: Array<AddressWitnessNAPI>, jsOutput?: OutputAddressNAPI | undefined | null);
18
+ get coreFeePerByte(): number;
19
+ get pooling(): string;
20
+ get outputScript(): CoreScriptNAPI;
21
+ get inputs(): Array<InputAddressNAPI>;
22
+ get output(): OutputAddressNAPI | null;
23
+ get feeStrategy(): Array<AddressFundsFeeStrategyStepNAPI>;
24
+ get userFeeIncrease(): number;
25
+ get inputWitness(): Array<AddressWitnessNAPI>;
26
+ set coreFeePerByte(coreFeePerByte: number);
27
+ set pooling(jsPooling: DynamicValue);
28
+ set outputScript(outputScript: CoreScriptNAPI);
29
+ set inputs(jsInputs: Array<InputAddressNAPI>);
30
+ set output(jsOutput: OutputAddressNAPI | undefined | null);
31
+ set feeStrategy(jsFeeStrategy: Array<AddressFundsFeeStrategyStepNAPI>);
32
+ set userFeeIncrease(userFeeIncrease: number);
33
+ set inputWitness(jsInputWitnesses: Array<AddressWitnessNAPI>);
34
+ bytes(): Uint8Array;
35
+ hex(): string;
36
+ base64(): string;
37
+ static fromBytes(data: Uint8Array): AddressCreditWithdrawalTransitionNAPI;
38
+ static fromHex(data: string): AddressCreditWithdrawalTransitionNAPI;
39
+ static fromBase64(data: string): AddressCreditWithdrawalTransitionNAPI;
40
+ static fromStateTransition(st: StateTransitionNAPI): AddressCreditWithdrawalTransitionNAPI;
41
+ toStateTransition(): StateTransitionNAPI;
42
+ }
43
+ export declare class AddressFundingFromAssetLockTransitionNAPI {
44
+ constructor(assetLockProof: AssetLockProofNAPI, jsInputs: Array<InputAddressNAPI>, jsFeeStrategy: Array<AddressFundsFeeStrategyStepNAPI>, userFeeIncrease: number, jsInputWitnesses: Array<AddressWitnessNAPI>, jsOutputs: Array<OutputAddressNullableCreditsNAPI>);
45
+ get assetLockProof(): AssetLockProofNAPI;
46
+ get signature(): Uint8Array;
47
+ get inputs(): Array<InputAddressNAPI>;
48
+ get outputs(): Array<OutputAddressNullableCreditsNAPI>;
49
+ get feeStrategy(): Array<AddressFundsFeeStrategyStepNAPI>;
50
+ get userFeeIncrease(): number;
51
+ get inputWitness(): Array<AddressWitnessNAPI>;
52
+ set assetLockProof(assetLockProof: AssetLockProofNAPI);
53
+ set signature(sig: Uint8Array);
54
+ set inputs(jsInputs: Array<InputAddressNAPI>);
55
+ set outputs(jsOutputs: Array<OutputAddressNullableCreditsNAPI>);
56
+ set feeStrategy(jsFeeStrategy: Array<AddressFundsFeeStrategyStepNAPI>);
57
+ set userFeeIncrease(userFeeIncrease: number);
58
+ set inputWitness(jsInputWitnesses: Array<AddressWitnessNAPI>);
59
+ bytes(): Uint8Array;
60
+ hex(): string;
61
+ base64(): string;
62
+ static fromBytes(data: Uint8Array): AddressFundingFromAssetLockTransitionNAPI;
63
+ static fromHex(data: string): AddressFundingFromAssetLockTransitionNAPI;
64
+ static fromBase64(data: string): AddressFundingFromAssetLockTransitionNAPI;
65
+ static fromStateTransition(st: StateTransitionNAPI): AddressFundingFromAssetLockTransitionNAPI;
66
+ toStateTransition(): StateTransitionNAPI;
67
+ }
68
+ export declare class AddressFundsFeeStrategyStepNAPI {
69
+ static DeductFromInput(input: number): AddressFundsFeeStrategyStepNAPI;
70
+ static ReduceOutput(output: number): AddressFundsFeeStrategyStepNAPI;
71
+ getValue(): number;
72
+ setValue(value: number): void;
73
+ getValueType(): string;
74
+ }
75
+ export declare class AddressFundsTransferTransitionNAPI {
76
+ constructor(jsInputs: Array<InputAddressNAPI>, jsFeeStrategy: Array<AddressFundsFeeStrategyStepNAPI>, userFeeIncrease: number, jsInputWitnesses: Array<AddressWitnessNAPI>, jsOutputs: Array<OutputAddressNAPI>);
77
+ get inputs(): Array<InputAddressNAPI>;
78
+ get outputs(): Array<OutputAddressNAPI>;
79
+ get feeStrategy(): Array<AddressFundsFeeStrategyStepNAPI>;
80
+ get userFeeIncrease(): number;
81
+ get inputWitness(): Array<AddressWitnessNAPI>;
82
+ set inputs(jsInputs: Array<InputAddressNAPI>);
83
+ set outputs(jsOutputs: Array<OutputAddressNAPI>);
84
+ set feeStrategy(jsFeeStrategy: Array<AddressFundsFeeStrategyStepNAPI>);
85
+ set userFeeIncrease(userFeeIncrease: number);
86
+ set inputWitness(jsInputWitnesses: Array<AddressWitnessNAPI>);
87
+ bytes(): Uint8Array;
88
+ hex(): string;
89
+ base64(): string;
90
+ static fromBytes(data: Uint8Array): AddressFundsTransferTransitionNAPI;
91
+ static fromHex(data: string): AddressFundsTransferTransitionNAPI;
92
+ static fromBase64(data: string): AddressFundsTransferTransitionNAPI;
93
+ static fromStateTransition(st: StateTransitionNAPI): AddressFundsTransferTransitionNAPI;
94
+ toStateTransition(): StateTransitionNAPI;
95
+ }
96
+ export declare class AddressWitnessNAPI {
97
+ static P2PKH(signature: Uint8Array): AddressWitnessNAPI;
98
+ static P2SH(signatures: Array<Uint8Array>, redeemScript: Uint8Array): AddressWitnessNAPI;
99
+ getType(): string;
100
+ getValue(): AddressWitnessP2pkhNAPI | AddressWitnessP2shNAPI;
101
+ }
102
+ export declare class AssetLockProofNAPI {
103
+ constructor(jsAssetLockProof: ChainAssetLockProofNAPI | InstantAssetLockProofNAPI);
104
+ static createInstantAssetLockProof(instantLock: Uint8Array, transaction: Uint8Array, outputIndex: number): AssetLockProofNAPI;
105
+ static createChainAssetLockProof(coreChainLockedHeight: number, outPoint: OutPointNAPI): AssetLockProofNAPI;
106
+ getLockType(): string;
107
+ getInstantLockProof(): InstantAssetLockProofNAPI;
108
+ getChainLockProof(): ChainAssetLockProofNAPI;
109
+ getOutPoint(): OutPointNAPI | null;
110
+ createIdentityId(): IdentifierNAPI;
111
+ hex(): string;
112
+ static fromHex(assetLockProof: string): AssetLockProofNAPI;
113
+ }
114
+ export declare class AuthorizedActionTakersNAPI {
115
+ static NoOne(): AuthorizedActionTakersNAPI;
116
+ static ContractOwner(): AuthorizedActionTakersNAPI;
117
+ static Identity(jsIdentityId: IdentifierLikeNAPI): AuthorizedActionTakersNAPI;
118
+ static MainGroup(): AuthorizedActionTakersNAPI;
119
+ static Group(groupContractPosition: number): AuthorizedActionTakersNAPI;
120
+ getTakerType(): string;
121
+ getValue(): undefined | IdentifierNAPI | number;
122
+ }
123
+ export declare class BatchedTransitionNAPI {
124
+ constructor(jsTransition: DocumentTransitionNAPI | TokenTransitionNAPI);
125
+ toTransition(): DocumentTransitionNAPI | TokenTransitionNAPI;
126
+ get dataContractId(): IdentifierNAPI;
127
+ set dataContractId(jsContractId: IdentifierLikeNAPI);
128
+ }
129
+ export declare class BatchTransitionNAPI {
130
+ static fromV1BatchedTransitions(jsBatchedTransitions: Array<BatchedTransitionNAPI>, ownerId: IdentifierLikeNAPI, userFeeIncrease?: number | undefined | null, signaturePublicKeyId?: number | undefined | null, signature?: Uint8Array | undefined | null): BatchTransitionNAPI;
131
+ static fromV0Transitions(documentTransitions: Array<DocumentTransitionNAPI>, jsOwnerId: IdentifierLikeNAPI, userFeeIncrease?: number | undefined | null, signaturePublicKeyId?: number | undefined | null, signature?: Uint8Array | undefined | null): BatchTransitionNAPI;
132
+ get transitions(): Array<BatchedTransitionNAPI>;
133
+ set transitions(jsBatchedTransitions: Array<BatchedTransitionNAPI>);
134
+ get signature(): Uint8Array;
135
+ get signaturePublicKeyId(): number;
136
+ get allPurchasesAmount(): BigIntString | null;
137
+ get ownerId(): IdentifierNAPI;
138
+ get modifiedDataIds(): Array<IdentifierNAPI>;
139
+ get allConflictingIndexCollateralVotingFunds(): BigIntString | null;
140
+ set signature(jsSignature: Uint8Array);
141
+ set signaturePublicKeyId(keyId: number);
142
+ setIdentityContractNonce(nonce: BigIntString): void;
143
+ toStateTransition(): StateTransitionNAPI;
144
+ static fromStateTransition(stateTransition: StateTransitionNAPI): BatchTransitionNAPI;
145
+ bytes(): Uint8Array;
146
+ hex(): string;
147
+ base64(): string;
148
+ static fromBytes(bytes: Uint8Array): BatchTransitionNAPI;
149
+ static fromBase64(base64: string): BatchTransitionNAPI;
150
+ static fromHex(hex: string): BatchTransitionNAPI;
151
+ }
152
+ export declare class BlockBasedDistributionNAPI {
153
+ interval: BigIntString;
154
+ get function(): DistributionFunctionNAPI;
155
+ set function(distributionFunction: DistributionFunctionNAPI);
156
+ }
157
+ export declare class BlockInfoNAPI {
158
+ constructor(timestamp: BigIntString, height: BigIntString, coreBlockHeight: number, jsEpochIndex?: number | undefined | null);
159
+ get timeMs(): BigIntString;
160
+ set timeMs(timeMs: BigIntString);
161
+ get height(): BigIntString;
162
+ set height(height: BigIntString);
163
+ get coreHeight(): number;
164
+ set coreHeight(coreHeight: number);
165
+ get epochIndex(): number;
166
+ set epochIndex(epochIndex: number);
167
+ get epochKey(): Uint8Array;
168
+ set epochKey(epochKey: Uint8Array);
169
+ }
170
+ export declare class ChainAssetLockProofNAPI {
171
+ constructor(coreChainLockedHeight: number, outPoint: OutPointNAPI);
172
+ static fromRawObject(rawAssetLockProof: ChainAssetLockProofParams): ChainAssetLockProofNAPI;
173
+ set coreChainLockedHeight(coreChainLockedHeight: number);
174
+ set outPoint(outpoint: OutPointNAPI);
175
+ get coreChainLockedHeight(): number;
176
+ get outPoint(): OutPointNAPI;
177
+ createIdentityId(): IdentifierNAPI;
178
+ }
179
+ export declare class ChangeControlRulesNAPI {
180
+ constructor(authorizedToMakeChange: AuthorizedActionTakersNAPI, adminActionTakers: AuthorizedActionTakersNAPI, changingAuthorizedActionTakersToNoOneAllowed: boolean, changingAdminActionTakersToNoOneAllowed: boolean, selfChangingAdminActionTakersAllowed: boolean);
181
+ get authorizedToMakeChange(): AuthorizedActionTakersNAPI;
182
+ get adminActionTakers(): AuthorizedActionTakersNAPI;
183
+ get changingAuthorizedActionTakersToNoOneAllowed(): boolean;
184
+ get changingAdminActionTakersToNoOneAllowed(): boolean;
185
+ get selfChangingAdminActionTakersAllowed(): boolean;
186
+ set authorizedToMakeChange(authorizedToMakeChange: AuthorizedActionTakersNAPI);
187
+ set adminActionTakers(adminActionTakers: AuthorizedActionTakersNAPI);
188
+ set changingAuthorizedActionTakersToNoOneAllowed(changingAuthorizedActionTakersToNoOneAllowed: boolean);
189
+ set changingAdminActionTakersToNoOneAllowed(changingAdminActionTakersToNoOneAllowed: boolean);
190
+ set selfChangingAdminActionTakersAllowed(selfChangingAdminActionTakersAllowed: boolean);
191
+ canChangeAdminActionTakers(adminActionTakers: AuthorizedActionTakersNAPI, jsContractOwnerId: IdentifierLikeNAPI, mainGroup: number | undefined | null, jsGroups: Array<[number, GroupNAPI]>, actionTaker: ActionTakerNAPI, jsGoal: DynamicValue): boolean;
192
+ }
193
+ export declare class ConsensusErrorNAPI {
194
+ static deserialize(error: Uint8Array): ConsensusErrorNAPI;
195
+ get message(): string;
196
+ }
197
+ export declare class ContenderWithSerializedDocumentNAPI {
198
+ get identityId(): IdentifierNAPI;
199
+ get serializedDocument(): Uint8Array | null;
200
+ get voteTally(): number | null;
201
+ }
202
+ export declare class ContestedDocumentVotePollQueryExecutionResultNAPI {
203
+ get contenders(): Array<ContenderWithSerializedDocumentNAPI>;
204
+ get lockedVoteTally(): number | null;
205
+ get abstainingVoteTally(): number | null;
206
+ get winner(): DynamicValue;
207
+ get skipped(): number;
208
+ }
209
+ export declare class ContractBoundsNAPI {
210
+ constructor(jsContractId: IdentifierLikeNAPI, documentTypeName?: string | undefined | null);
211
+ get identifier(): IdentifierNAPI;
212
+ get documentTypeName(): string | null;
213
+ get contractBoundsType(): string;
214
+ get contractBoundsTypeNumber(): number;
215
+ set identifier(jsContractId: IdentifierLikeNAPI);
216
+ set documentTypeName(documentTypeName: string);
217
+ }
218
+ export declare class CoreScriptNAPI {
219
+ static fromBytes(bytes: Uint8Array): CoreScriptNAPI;
220
+ static newP2PKH(jsKeyHash: Uint8Array): CoreScriptNAPI;
221
+ static newP2SH(jsScriptHash: Uint8Array): CoreScriptNAPI;
222
+ toAddress(jsNetwork: DynamicValue): string;
223
+ toString(): string;
224
+ bytes(): Uint8Array;
225
+ hex(): string;
226
+ base64(): string;
227
+ ASMString(): string;
228
+ }
229
+ export declare class DataContractCreateTransitionNAPI {
230
+ constructor(dataContract: DataContractNAPI, identityNonce: BigIntString, jsPlatformVersion: DynamicValue);
231
+ static fromBytes(bytes: Uint8Array): DataContractCreateTransitionNAPI;
232
+ static fromHex(hex: string): DataContractCreateTransitionNAPI;
233
+ static fromBase64(base64: string): DataContractCreateTransitionNAPI;
234
+ bytes(): Uint8Array;
235
+ hex(): string;
236
+ base64(): string;
237
+ get featureVersion(): number;
238
+ verifyProtocolVersion(protocolVersion: number): boolean;
239
+ setDataContract(dataContract: DataContractNAPI, jsPlatformVersion: DynamicValue): void;
240
+ get identityNonce(): BigIntString;
241
+ getDataContract(jsPlatformVersion: DynamicValue, fullValidation?: boolean | undefined | null): DataContractNAPI;
242
+ toStateTransition(): StateTransitionNAPI;
243
+ static fromStateTransition(stateTransition: StateTransitionNAPI): DataContractCreateTransitionNAPI;
244
+ }
245
+ export declare class DataContractNAPI {
246
+ constructor(jsOwnerId: IdentifierLikeNAPI, jsIdentityNonce: BigIntString, jsSchema: DynamicValue, jsDefinitions: DynamicValue, jsTokens: Array<[number, TokenConfigurationNAPI]> | undefined | null, fullValidation: boolean | undefined | null, jsPlatformVersion: DynamicValue);
247
+ static fromValue(jsValue: DynamicValue, fullValidation: boolean, jsPlatformVersion: DynamicValue): DataContractNAPI;
248
+ static fromBytes(jsBytes: Uint8Array, fullValidation: boolean, jsPlatformVersion: DynamicValue): DataContractNAPI;
249
+ static fromHex(hex: string, fullValidation: boolean, jsPlatformVersion: DynamicValue): DataContractNAPI;
250
+ static fromBase64(base64: string, fullValidation: boolean, jsPlatformVersion: DynamicValue): DataContractNAPI;
251
+ bytes(jsPlatformVersion: DynamicValue): Uint8Array;
252
+ hex(jsPlatformVersion: DynamicValue): string;
253
+ base64(jsPlatformVersion: DynamicValue): string;
254
+ toValue(jsPlatformVersion: DynamicValue): DynamicValue;
255
+ get systemVersion(): number;
256
+ set systemVersion(version: number);
257
+ getSchemas(): DynamicValue;
258
+ get version(): number;
259
+ get id(): IdentifierNAPI;
260
+ get ownerId(): IdentifierNAPI;
261
+ getConfig(): DynamicValue;
262
+ get tokens(): Array<[number, TokenConfigurationNAPI]>;
263
+ get groups(): Array<[number, GroupNAPI]>;
264
+ get description(): string | null;
265
+ get keywords(): Array<string>;
266
+ set id(jsDataContractId: IdentifierLikeNAPI);
267
+ set ownerId(jsOwnerId: IdentifierLikeNAPI);
268
+ set version(version: number);
269
+ setConfig(jsConfig: DynamicValue, jsPlatformVersion: DynamicValue): void;
270
+ setSchemas(jsSchema: DynamicValue, jsDefinitions: DynamicValue, fullValidation: boolean, jsPlatformVersion: DynamicValue): void;
271
+ set tokens(jsTokens: Array<[number, TokenConfigurationNAPI]> | undefined | null);
272
+ set groups(jsGroups: Array<[number, GroupNAPI]>);
273
+ set description(description: string | undefined | null);
274
+ set keywords(keywords: Array<string>);
275
+ toJson(jsPlatformVersion: DynamicValue): DynamicValue;
276
+ static generateId(jsOwnerId: IdentifierLikeNAPI, jsIdentityNonce: BigIntString): IdentifierNAPI;
277
+ }
278
+ export declare class DataContractUpdateTransitionNAPI {
279
+ constructor(dataContract: DataContractNAPI, identityNonce: BigIntString, jsPlatformVersion: DynamicValue);
280
+ static fromBytes(bytes: Uint8Array): DataContractUpdateTransitionNAPI;
281
+ static fromHex(hex: string): DataContractUpdateTransitionNAPI;
282
+ static fromBase64(base64: string): DataContractUpdateTransitionNAPI;
283
+ bytes(): Uint8Array;
284
+ hex(): string;
285
+ base64(): string;
286
+ get featureVersion(): number;
287
+ verifyProtocolVersion(protocolVersion: number): boolean;
288
+ setDataContract(dataContract: DataContractNAPI, jsPlatformVersion: DynamicValue): void;
289
+ get identityContractNonce(): BigIntString;
290
+ getDataContract(fullValidation: boolean | undefined | null, jsPlatformVersion: DynamicValue): DataContractNAPI;
291
+ toStateTransition(): StateTransitionNAPI;
292
+ static fromStateTransition(stateTransition: StateTransitionNAPI): DataContractUpdateTransitionNAPI;
293
+ }
294
+ export declare class DistributionFunctionNAPI {
295
+ static FixedAmountDistribution(amount: BigIntString): DistributionFunctionNAPI;
296
+ static Random(min: BigIntString, max: BigIntString): DistributionFunctionNAPI;
297
+ static StepDecreasingAmount(stepCount: number, decreasePerIntervalNumerator: number, decreasePerIntervalDenominator: number, startDecreasingOffset: BigIntString | undefined | null, maxIntervalCount: number | undefined | null, distributionStartAmount: BigIntString, trailingDistributionIntervalAmount: BigIntString, minValue?: BigIntString | undefined | null): DistributionFunctionNAPI;
298
+ static Stepwise(jsStepsWithAmount: DistributionStepwiseNAPI): DistributionFunctionNAPI;
299
+ static Linear(a: number, d: BigIntString, startStep: BigIntString | undefined | null, startingAmount: BigIntString, minValue?: BigIntString | undefined | null, maxValue?: BigIntString | undefined | null): DistributionFunctionNAPI;
300
+ static Polynomial(a: number, d: BigIntString, m: number, n: BigIntString, o: number, startMoment: BigIntString | undefined | null, b: BigIntString, minValue?: BigIntString | undefined | null, maxValue?: BigIntString | undefined | null): DistributionFunctionNAPI;
301
+ static Exponential(a: BigIntString, d: BigIntString, m: number, n: BigIntString, o: number, startMoment: BigIntString | undefined | null, b: BigIntString, minValue?: BigIntString | undefined | null, maxValue?: BigIntString | undefined | null): DistributionFunctionNAPI;
302
+ static Logarithmic(a: number, d: BigIntString, m: BigIntString, n: BigIntString, o: number, startMoment: BigIntString | undefined | null, b: BigIntString, minValue?: BigIntString | undefined | null, maxValue?: BigIntString | undefined | null): DistributionFunctionNAPI;
303
+ static InvertedLogarithmic(a: number, d: BigIntString, m: BigIntString, n: BigIntString, o: number, startMoment: BigIntString | undefined | null, b: BigIntString, minValue?: BigIntString | undefined | null, maxValue?: BigIntString | undefined | null): DistributionFunctionNAPI;
304
+ getFunctionName(): string;
305
+ getFunctionValue(): DistributionFixedAmountNAPI | DistributionRandomNAPI | DistributionStepDecreasingAmountNAPI | DistributionStepwiseNAPI | DistributionLinearNAPI | DistributionPolynomialNAPI | DistributionExponentialNAPI | DistributionLogarithmicNAPI | DistributionInvertedLogarithmicNAPI;
306
+ }
307
+ export declare class DocumentBaseTransitionNAPI {
308
+ constructor(jsDocumentId: IdentifierLikeNAPI, identityContractNonce: BigIntString, documentTypeName: string, jsDataContractId: IdentifierLikeNAPI, jsTokenPaymentInfo?: TokenPaymentInfoNAPI | undefined | null);
309
+ get id(): IdentifierNAPI;
310
+ get identityContractNonce(): BigIntString;
311
+ get dataContractId(): IdentifierNAPI;
312
+ get documentTypeName(): string;
313
+ get tokenPaymentInfo(): TokenPaymentInfoNAPI | null;
314
+ set id(jsId: IdentifierLikeNAPI);
315
+ set identityContractNonce(nonce: BigIntString);
316
+ set dataContractId(jsDataContractId: IdentifierLikeNAPI);
317
+ set documentTypeName(documentTypeName: string);
318
+ set tokenPaymentInfo(tokenPaymentInfo: TokenPaymentInfoNAPI);
319
+ clearTokenPaymentInfo(): void;
320
+ }
321
+ export declare class DocumentCreateTransitionNAPI {
322
+ constructor(document: DocumentNAPI, identityContractNonce: BigIntString, prefundedVotingBalance?: PrefundedVotingBalanceNAPI | undefined | null, tokenPaymentInfo?: TokenPaymentInfoNAPI | undefined | null);
323
+ get data(): DynamicValue;
324
+ get base(): DocumentBaseTransitionNAPI;
325
+ get entropy(): Uint8Array;
326
+ set data(jsData: DynamicValue);
327
+ set base(base: DocumentBaseTransitionNAPI);
328
+ set entropy(jsEntropy: Uint8Array);
329
+ get prefundedVotingBalance(): PrefundedVotingBalanceNAPI | null;
330
+ set prefundedVotingBalance(prefundedVotingBalance: PrefundedVotingBalanceNAPI);
331
+ clearPrefundedVotingBalance(): void;
332
+ toDocumentTransition(): DocumentTransitionNAPI;
333
+ static fromDocumentTransition(jsTransition: DocumentTransitionNAPI): DocumentCreateTransitionNAPI;
334
+ }
335
+ export declare class DocumentDeleteTransitionNAPI {
336
+ constructor(document: DocumentNAPI, identityContractNonce: BigIntString, tokenPaymentInfo?: TokenPaymentInfoNAPI | undefined | null);
337
+ get base(): DocumentBaseTransitionNAPI;
338
+ set base(base: DocumentBaseTransitionNAPI);
339
+ toDocumentTransition(): DocumentTransitionNAPI;
340
+ static fromDocumentTransition(jsTransition: DocumentTransitionNAPI): DocumentDeleteTransitionNAPI;
341
+ }
342
+ export declare class DocumentNAPI {
343
+ constructor(jsRawDocument: DynamicValue, jsDocumentTypeName: string, jsRevision: BigIntString, jsDataContractId: IdentifierLikeNAPI, jsOwnerId: IdentifierLikeNAPI, jsDocumentId?: IdentifierLikeNAPI | undefined | null, jsCreatorId?: IdentifierLikeNAPI | undefined | null);
344
+ get id(): IdentifierNAPI;
345
+ get entropy(): Uint8Array | null;
346
+ get dataContractId(): IdentifierNAPI;
347
+ get ownerId(): IdentifierNAPI;
348
+ get properties(): DynamicValue;
349
+ get revision(): BigIntString | null;
350
+ get createdAt(): BigIntString | null;
351
+ get updatedAt(): BigIntString | null;
352
+ get transferredAt(): BigIntString | null;
353
+ get createdAtBlockHeight(): BigIntString | null;
354
+ get updatedAtBlockHeight(): BigIntString | null;
355
+ get transferredAtBlockHeight(): BigIntString | null;
356
+ get createdAtCoreBlockHeight(): number | null;
357
+ get updatedAtCoreBlockHeight(): number | null;
358
+ get transferredAtCoreBlockHeight(): number | null;
359
+ get documentTypeName(): string;
360
+ get creatorId(): IdentifierNAPI | null;
361
+ set id(id: IdentifierLikeNAPI);
362
+ set entropy(jsEntropy: Uint8Array | undefined | null);
363
+ set dataContractId(jsContractId: IdentifierLikeNAPI);
364
+ set ownerId(id: IdentifierLikeNAPI);
365
+ set properties(properties: DynamicValue);
366
+ set revision(revision: BigIntString | undefined | null);
367
+ set createdAt(createdAt: BigIntString | undefined | null);
368
+ set updatedAt(updatedAt: BigIntString | undefined | null);
369
+ set transferredAt(transferredAt: BigIntString | undefined | null);
370
+ set createdAtBlockHeight(createdAtBlockHeight: BigIntString | undefined | null);
371
+ set updatedAtBlockHeight(updatedAtBlockHeight: BigIntString | undefined | null);
372
+ set transferredAtBlockHeight(transferredAtBlockHeight: BigIntString | undefined | null);
373
+ set createdAtCoreBlockHeight(createdAtCoreBlockHeight: number | undefined | null);
374
+ set updatedAtCoreBlockHeight(updatedAtCoreBlockHeight: number | undefined | null);
375
+ set transferredAtCoreBlockHeight(transferredAtCoreBlockHeight: number | undefined | null);
376
+ set documentTypeName(documentTypeName: string);
377
+ set creatorId(jsCreatorId: IdentifierLikeNAPI | undefined | null);
378
+ bytes(dataContract: DataContractNAPI, jsPlatformVersion: DynamicValue): Uint8Array;
379
+ hex(dataContract: DataContractNAPI, jsPlatformVersion: DynamicValue): string;
380
+ base64(dataContract: DataContractNAPI, jsPlatformVersion: DynamicValue): string;
381
+ static fromBytes(bytes: Uint8Array, dataContract: DataContractNAPI, typeName: string, jsPlatformVersion: DynamicValue): DocumentNAPI;
382
+ static fromHex(hex: string, dataContract: DataContractNAPI, typeName: string, jsPlatformVersion: DynamicValue): DocumentNAPI;
383
+ static fromBase64(base64: string, dataContract: DataContractNAPI, typeName: string, jsPlatformVersion: DynamicValue): DocumentNAPI;
384
+ static generateId(jsDocumentTypeName: string, jsOwnerId: IdentifierLikeNAPI, jsDataContractId: IdentifierLikeNAPI, optEntropy?: Uint8Array | undefined | null): IdentifierNAPI;
385
+ }
386
+ export declare class DocumentPurchaseTransitionNAPI {
387
+ constructor(document: DocumentNAPI, identityContractNonce: BigIntString, amount: BigIntString, tokenPaymentInfo?: TokenPaymentInfoNAPI | undefined | null);
388
+ get base(): DocumentBaseTransitionNAPI;
389
+ get price(): BigIntString;
390
+ get revision(): BigIntString;
391
+ set base(base: DocumentBaseTransitionNAPI);
392
+ set price(price: BigIntString);
393
+ set revision(revision: BigIntString);
394
+ toDocumentTransition(): DocumentTransitionNAPI;
395
+ static fromDocumentTransition(jsTransition: DocumentTransitionNAPI): DocumentPurchaseTransitionNAPI;
396
+ }
397
+ export declare class DocumentReplaceTransitionNAPI {
398
+ constructor(document: DocumentNAPI, identityContractNonce: BigIntString, tokenPaymentInfo?: TokenPaymentInfoNAPI | undefined | null);
399
+ get data(): DynamicValue;
400
+ get base(): DocumentBaseTransitionNAPI;
401
+ get revision(): BigIntString;
402
+ set data(jsData: DynamicValue);
403
+ set base(base: DocumentBaseTransitionNAPI);
404
+ set revision(revision: BigIntString);
405
+ toDocumentTransition(): DocumentTransitionNAPI;
406
+ static fromDocumentTransition(jsTransition: DocumentTransitionNAPI): DocumentReplaceTransitionNAPI;
407
+ }
408
+ export declare class DocumentTransferTransitionNAPI {
409
+ constructor(document: DocumentNAPI, identityContractNonce: BigIntString, jsRecipientOwnerId: IdentifierLikeNAPI, tokenPaymentInfo?: TokenPaymentInfoNAPI | undefined | null);
410
+ get base(): DocumentBaseTransitionNAPI;
411
+ get recipientId(): IdentifierNAPI;
412
+ set base(base: DocumentBaseTransitionNAPI);
413
+ set recipientId(jsRecipientOwnerId: IdentifierLikeNAPI);
414
+ toDocumentTransition(): DocumentTransitionNAPI;
415
+ static fromDocumentTransition(jsTransition: DocumentTransitionNAPI): DocumentTransferTransitionNAPI;
416
+ }
417
+ export declare class DocumentTransitionNAPI {
418
+ get actionType(): string;
419
+ get actionTypeNumber(): number;
420
+ get dataContractId(): IdentifierNAPI;
421
+ get id(): IdentifierNAPI;
422
+ get documentTypeName(): string;
423
+ get identityContractNonce(): BigIntString;
424
+ get revision(): BigIntString | null;
425
+ get entropy(): Uint8Array | null;
426
+ get createTransition(): DocumentCreateTransitionNAPI;
427
+ get deleteTransition(): DocumentDeleteTransitionNAPI;
428
+ get purchaseTransition(): DocumentPurchaseTransitionNAPI;
429
+ get replaceTransition(): DocumentReplaceTransitionNAPI;
430
+ get transferTransition(): DocumentTransferTransitionNAPI;
431
+ get updatePriceTransition(): DocumentUpdatePriceTransitionNAPI;
432
+ set dataContractId(jsDataContractId: IdentifierLikeNAPI);
433
+ set revision(revision: BigIntString);
434
+ set identityContractNonce(identityContractNonce: BigIntString);
435
+ }
436
+ export declare class DocumentUpdatePriceTransitionNAPI {
437
+ constructor(document: DocumentNAPI, identityContractNonce: BigIntString, price: BigIntString, tokenPaymentInfo?: TokenPaymentInfoNAPI | undefined | null);
438
+ get base(): DocumentBaseTransitionNAPI;
439
+ get price(): BigIntString;
440
+ set base(base: DocumentBaseTransitionNAPI);
441
+ set price(price: BigIntString);
442
+ toDocumentTransition(): DocumentTransitionNAPI;
443
+ static fromDocumentTransition(jsTransition: DocumentTransitionNAPI): DocumentUpdatePriceTransitionNAPI;
444
+ }
445
+ export declare class DynamicValue {
446
+ constructor(value: any);
447
+ static fromBigIntString(value: string): DynamicValue;
448
+ get value(): any;
449
+ set value(value: any);
450
+ isBigInt(): boolean;
451
+ }
452
+ export declare class EpochBasedDistributionNAPI {
453
+ interval: number;
454
+ get function(): DistributionFunctionNAPI;
455
+ set function(distributionFunction: DistributionFunctionNAPI);
456
+ }
457
+ export declare class ExtendedEpochInfoNAPI {
458
+ index: number;
459
+ firstBlockTime: BigIntString;
460
+ firstBlockHeight: BigIntString;
461
+ firstCoreBlockHeight: number;
462
+ feeMultiplierPermille: BigIntString;
463
+ protocolVersion: number;
464
+ }
465
+ export declare class GroupNAPI {
466
+ constructor(jsMembers: Array<[IdentifierLikeNAPI, number]>, requiredPower: number);
467
+ get members(): Array<[IdentifierNAPI, number]>;
468
+ get requiredPower(): number;
469
+ set members(jsMembers: Array<[IdentifierLikeNAPI, number]>);
470
+ set requiredPower(requiredPower: number);
471
+ setMemberRequiredPower(jsMember: IdentifierLikeNAPI, memberRequiredPower: number): void;
472
+ }
473
+ export declare class GroupStateTransitionInfoNAPI {
474
+ constructor(groupContractPosition: number, actionId: IdentifierLikeNAPI, actionIsProposer: boolean);
475
+ set groupContractPosition(groupContractPosition: number);
476
+ set actionId(actionId: IdentifierLikeNAPI);
477
+ set actionIsProposer(actionIsProposer: boolean);
478
+ get groupContractPosition(): number;
479
+ get actionId(): IdentifierNAPI;
480
+ get actionIsProposer(): boolean;
481
+ }
482
+ export declare class IdentifierNAPI {
483
+ constructor(jsId: DynamicValue);
484
+ base58(): string;
485
+ hex(): string;
486
+ base64(): string;
487
+ bytes(): Uint8Array;
488
+ static fromBase58(base58: string): IdentifierNAPI;
489
+ static fromBase64(base64: string): IdentifierNAPI;
490
+ static fromHex(hex: string): IdentifierNAPI;
491
+ static fromBytes(bytes: Uint8Array): IdentifierNAPI;
492
+ }
493
+ export declare class IdentityCreateFromAddressesTransitionNAPI {
494
+ constructor(jsIdentityPublicKeyInCreation: Array<IdentityPublicKeyInCreationNAPI>, jsInputs: Array<InputAddressNAPI>, jsFeeStrategy: Array<AddressFundsFeeStrategyStepNAPI>, userFeeIncrease: number, jsInputWitnesses: Array<AddressWitnessNAPI>, jsOutput?: OutputAddressNAPI | undefined | null);
495
+ get publicKeys(): Array<IdentityPublicKeyInCreationNAPI>;
496
+ get inputs(): Array<InputAddressNAPI>;
497
+ get output(): OutputAddressNAPI | null;
498
+ get feeStrategy(): Array<AddressFundsFeeStrategyStepNAPI>;
499
+ get userFeeIncrease(): number;
500
+ get inputWitness(): Array<AddressWitnessNAPI>;
501
+ set publicKeys(jsIdentityPublicKeyInCreation: Array<IdentityPublicKeyInCreationNAPI>);
502
+ set inputs(jsInputs: Array<InputAddressNAPI>);
503
+ set output(jsOutput: OutputAddressNAPI | undefined | null);
504
+ set feeStrategy(jsFeeStrategy: Array<AddressFundsFeeStrategyStepNAPI>);
505
+ set userFeeIncrease(userFeeIncrease: number);
506
+ set inputWitness(jsInputWitnesses: Array<AddressWitnessNAPI>);
507
+ bytes(): Uint8Array;
508
+ hex(): string;
509
+ base64(): string;
510
+ static fromBytes(data: Uint8Array): IdentityCreateFromAddressesTransitionNAPI;
511
+ static fromHex(data: string): IdentityCreateFromAddressesTransitionNAPI;
512
+ static fromBase64(data: string): IdentityCreateFromAddressesTransitionNAPI;
513
+ static fromStateTransition(st: StateTransitionNAPI): IdentityCreateFromAddressesTransitionNAPI;
514
+ toStateTransition(): StateTransitionNAPI;
515
+ }
516
+ export declare class IdentityCreateTransitionNAPI {
517
+ constructor(jsPublicKeys: Array<IdentityPublicKeyInCreationNAPI>, assetLock: AssetLockProofNAPI, signature?: Uint8Array | undefined | null, userFeeIncrease?: number | undefined | null);
518
+ static default(jsPlatformVersion: DynamicValue): IdentityCreateTransitionNAPI;
519
+ static fromHex(hex: string): IdentityCreateTransitionNAPI;
520
+ static fromBase64(base64: string): IdentityCreateTransitionNAPI;
521
+ bytes(): Uint8Array;
522
+ static fromBytes(bytes: Uint8Array): IdentityCreateTransitionNAPI;
523
+ get publicKeys(): Array<IdentityPublicKeyInCreationNAPI>;
524
+ getIdentifier(): IdentifierNAPI;
525
+ get userFeeIncrease(): number;
526
+ get signature(): Uint8Array;
527
+ getSignableBytes(): Uint8Array;
528
+ get assetLock(): AssetLockProofNAPI;
529
+ set publicKeys(jsPublicKeys: Array<IdentityPublicKeyInCreationNAPI>);
530
+ set userFeeIncrease(amount: number);
531
+ set signature(signature: Uint8Array);
532
+ set assetLock(proof: AssetLockProofNAPI);
533
+ toStateTransition(): StateTransitionNAPI;
534
+ static fromStateTransition(st: StateTransitionNAPI): IdentityCreateTransitionNAPI;
535
+ }
536
+ export declare class IdentityCreditTransferNAPI {
537
+ constructor(jsSender: IdentifierLikeNAPI, amount: BigIntString, jsRecipient: IdentifierLikeNAPI, nonce: BigIntString, userFeeIncrease?: number | undefined | null);
538
+ bytes(): Uint8Array;
539
+ hex(): string;
540
+ base64(): string;
541
+ static fromBytes(jsBytes: Uint8Array): IdentityCreditTransferNAPI;
542
+ static fromHex(hex: string): IdentityCreditTransferNAPI;
543
+ static fromBase64(hex: string): IdentityCreditTransferNAPI;
544
+ set recipientId(jsRecipient: IdentifierLikeNAPI);
545
+ set senderId(jsSender: IdentifierLikeNAPI);
546
+ set amount(amount: BigIntString);
547
+ set nonce(nonce: BigIntString);
548
+ set signature(signature: Uint8Array);
549
+ set signaturePublicKeyId(publicKeyId: number);
550
+ set userFeeIncrease(amount: number);
551
+ get signature(): Uint8Array;
552
+ getSignableBytes(): Uint8Array;
553
+ get signaturePublicKeyId(): number;
554
+ get userFeeIncrease(): number;
555
+ get recipientId(): IdentifierNAPI;
556
+ get senderId(): IdentifierNAPI;
557
+ get amount(): BigIntString;
558
+ get nonce(): BigIntString;
559
+ toStateTransition(): StateTransitionNAPI;
560
+ static fromStateTransition(st: StateTransitionNAPI): IdentityCreditTransferNAPI;
561
+ }
562
+ export declare class IdentityCreditTransferToAddressesTransitionNAPI {
563
+ constructor(jsIdentifier: IdentifierLikeNAPI, jsRecipients: Array<OutputAddressNAPI>, nonce: BigIntString, userFeeIncrease: number);
564
+ get identityId(): IdentifierNAPI;
565
+ get recipientAddresses(): Array<OutputAddressNAPI>;
566
+ get nonce(): BigIntString;
567
+ get userFeeIncrease(): number;
568
+ get signaturePublicKeyId(): number;
569
+ get signature(): Uint8Array;
570
+ set identityId(jsIdentityId: IdentifierLikeNAPI);
571
+ set recipientAddresses(jsAddresses: Array<OutputAddressNAPI>);
572
+ set nonce(nonce: BigIntString);
573
+ set userFeeIncrease(userFeeIncrease: number);
574
+ set signaturePublicKeyId(keyId: number);
575
+ set signature(signature: Uint8Array);
576
+ bytes(): Uint8Array;
577
+ hex(): string;
578
+ base64(): string;
579
+ static fromBytes(data: Uint8Array): IdentityCreditTransferToAddressesTransitionNAPI;
580
+ static fromHex(data: string): IdentityCreditTransferToAddressesTransitionNAPI;
581
+ static fromBase64(data: string): IdentityCreditTransferToAddressesTransitionNAPI;
582
+ static fromStateTransition(st: StateTransitionNAPI): IdentityCreditTransferToAddressesTransitionNAPI;
583
+ toStateTransition(): StateTransitionNAPI;
584
+ }
585
+ export declare class IdentityCreditWithdrawalTransitionNAPI {
586
+ constructor(jsIdentityId: IdentifierLikeNAPI, amount: BigIntString, coreFeePerByte: number, jsPooling: DynamicValue, nonce: BigIntString, jsOutputScript?: CoreScriptNAPI | undefined | null, userFeeIncrease?: number | undefined | null);
587
+ get outputScript(): CoreScriptNAPI | null;
588
+ get pooling(): string;
589
+ get identityId(): IdentifierNAPI;
590
+ get userFeeIncrease(): number;
591
+ get nonce(): BigIntString;
592
+ get amount(): BigIntString;
593
+ getPurposeRequirement(): Array<string>;
594
+ getModifiedDataIds(): Array<IdentifierNAPI>;
595
+ getOptionalAssetLockProof(): AssetLockProofNAPI | null;
596
+ set outputScript(jsScript: CoreScriptNAPI | undefined | null);
597
+ set pooling(jsPooling: DynamicValue);
598
+ set identityId(jsIdentityId: IdentifierLikeNAPI);
599
+ set userFeeIncrease(userFeeIncrease: number);
600
+ set nonce(nonce: BigIntString);
601
+ set amount(amount: BigIntString);
602
+ set coreFeePerByte(feePerByte: number);
603
+ get signature(): Uint8Array;
604
+ get coreFeePerByte(): number;
605
+ getSignableBytes(): Uint8Array;
606
+ get signaturePublicKeyId(): number;
607
+ set signature(signature: Uint8Array);
608
+ set signaturePublicKeyId(signaturePublicKeyId: number);
609
+ static fromHex(hex: string): IdentityCreditWithdrawalTransitionNAPI;
610
+ static fromBase64(base64: string): IdentityCreditWithdrawalTransitionNAPI;
611
+ bytes(): Uint8Array;
612
+ hex(): string;
613
+ base64(): string;
614
+ static fromBytes(jsBytes: Uint8Array): IdentityCreditWithdrawalTransitionNAPI;
615
+ toStateTransition(): StateTransitionNAPI;
616
+ static fromStateTransition(st: StateTransitionNAPI): IdentityCreditWithdrawalTransitionNAPI;
617
+ }
618
+ export declare class IdentityNAPI {
619
+ constructor(jsId: IdentifierLikeNAPI, jsPlatformVersion: DynamicValue);
620
+ set id(jsId: IdentifierLikeNAPI);
621
+ set balance(balance: BigIntString);
622
+ set revision(revision: BigIntString);
623
+ get id(): IdentifierNAPI;
624
+ get balance(): BigIntString;
625
+ get revision(): BigIntString;
626
+ addPublicKey(publicKey: IdentityPublicKeyNAPI): void;
627
+ getPublicKeyById(keyId: number): IdentityPublicKeyNAPI | null;
628
+ getPublicKeys(): Array<IdentityPublicKeyNAPI>;
629
+ static fromHex(hex: string): IdentityNAPI;
630
+ static fromBase64(base64: string): IdentityNAPI;
631
+ static fromBytes(bytes: Uint8Array): IdentityNAPI;
632
+ bytes(): Uint8Array;
633
+ hex(): string;
634
+ base64(): string;
635
+ }
636
+ export declare class IdentityPublicKeyInCreationNAPI {
637
+ constructor(id: number, jsPurpose: DynamicValue, jsSecurityLevel: DynamicValue, jsKeyType: DynamicValue, readOnly: boolean, binaryData: Uint8Array, signature?: Uint8Array | undefined | null, jsContractBounds?: ContractBoundsNAPI | undefined | null);
638
+ toIdentityPublicKey(): IdentityPublicKeyNAPI;
639
+ validatePrivateKey(jsPrivateKey: DynamicValue | PrivateKeyNAPI, jsNetwork: DynamicValue): boolean;
640
+ getHash(): Uint8Array;
641
+ get contractBounds(): ContractBoundsNAPI | null;
642
+ get keyId(): number;
643
+ get purpose(): string;
644
+ get securityLevel(): string;
645
+ get keyType(): string;
646
+ get readOnly(): boolean;
647
+ get data(): Uint8Array;
648
+ get signature(): Uint8Array;
649
+ set keyId(keyId: number);
650
+ set purpose(jsPurpose: DynamicValue);
651
+ set securityLevel(jsSecurityLevel: DynamicValue);
652
+ set keyType(keyType: DynamicValue);
653
+ set readOnly(readOnly: boolean);
654
+ set data(binaryData: Uint8Array);
655
+ set signature(binaryData: Uint8Array);
656
+ set contractBounds(jsBounds: ContractBoundsNAPI | undefined | null);
657
+ }
658
+ export declare class IdentityPublicKeyNAPI {
659
+ constructor(id: number, jsPurpose: DynamicValue, jsSecurityLevel: DynamicValue, jsKeyType: DynamicValue, readOnly: boolean, binaryData: string, jsDisabledAt?: BigIntString | undefined | null, contractBounds?: ContractBoundsNAPI | undefined | null);
660
+ validatePrivateKey(jsPrivateKey: DynamicValue | PrivateKeyNAPI, jsNetwork: DynamicValue): boolean;
661
+ get keyId(): number;
662
+ get purpose(): string;
663
+ get purposeNumber(): PurposeNAPI;
664
+ get securityLevel(): string;
665
+ get securityLevelNumber(): SecurityLevelNAPI;
666
+ get keyType(): string;
667
+ get keyTypeNumber(): KeyTypeNAPI;
668
+ get readOnly(): boolean;
669
+ get data(): string;
670
+ get disabledAt(): BigIntString | null;
671
+ get contractBounds(): ContractBoundsNAPI | null;
672
+ set keyId(keyId: number);
673
+ set purpose(purpose: DynamicValue);
674
+ set purposeNumber(purpose: number);
675
+ set securityLevel(securityLevel: DynamicValue);
676
+ set securityLevelNumber(securityLevel: number);
677
+ set keyType(keyType: DynamicValue);
678
+ set keyTypeNumber(keyType: number);
679
+ set readOnly(readOnly: boolean);
680
+ set data(binaryData: string);
681
+ set disabledAt(disabledAt: BigIntString);
682
+ set contractBounds(contractBounds: ContractBoundsNAPI | undefined | null);
683
+ removeDisabledAt(): void;
684
+ getPublicKeyHash(): string;
685
+ isMaster(): boolean;
686
+ bytes(): Uint8Array;
687
+ hex(): string;
688
+ base64(): string;
689
+ static fromBytes(bytes: Uint8Array): IdentityPublicKeyNAPI;
690
+ static fromHex(hex: string): IdentityPublicKeyNAPI;
691
+ static fromBase64(base64: string): IdentityPublicKeyNAPI;
692
+ }
693
+ export declare class IdentityTokenBalanceNAPI {
694
+ balance: BigIntString;
695
+ get id(): IdentifierNAPI;
696
+ }
697
+ export type VerifiedIdentityBalanceNAPI = IdentityTokenBalanceNAPI;
698
+ export declare class IdentityTokenInfoNAPI {
699
+ get frozen(): boolean;
700
+ set frozen(frozen: boolean);
701
+ }
702
+ export declare class IdentityTopUpFromAddressesTransitionNAPI {
703
+ constructor(jsIdentifier: IdentifierLikeNAPI, jsInputs: Array<InputAddressNAPI>, jsFeeStrategy: Array<AddressFundsFeeStrategyStepNAPI>, userFeeIncrease: number, jsInputWitnesses: Array<AddressWitnessNAPI>, jsOutput?: OutputAddressNAPI | undefined | null);
704
+ get inputs(): Array<InputAddressNAPI>;
705
+ get output(): OutputAddressNAPI | null;
706
+ get feeStrategy(): Array<AddressFundsFeeStrategyStepNAPI>;
707
+ get userFeeIncrease(): number;
708
+ get inputWitness(): Array<AddressWitnessNAPI>;
709
+ set inputs(jsInputs: Array<InputAddressNAPI>);
710
+ set output(jsOutput: OutputAddressNAPI | undefined | null);
711
+ set feeStrategy(jsFeeStrategy: Array<AddressFundsFeeStrategyStepNAPI>);
712
+ set userFeeIncrease(userFeeIncrease: number);
713
+ set inputWitness(jsInputWitnesses: Array<AddressWitnessNAPI>);
714
+ bytes(): Uint8Array;
715
+ hex(): string;
716
+ base64(): string;
717
+ static fromBytes(data: Uint8Array): IdentityTopUpFromAddressesTransitionNAPI;
718
+ static fromHex(data: string): IdentityTopUpFromAddressesTransitionNAPI;
719
+ static fromBase64(data: string): IdentityTopUpFromAddressesTransitionNAPI;
720
+ static fromStateTransition(st: StateTransitionNAPI): IdentityTopUpFromAddressesTransitionNAPI;
721
+ toStateTransition(): StateTransitionNAPI;
722
+ }
723
+ export declare class IdentityTopUpTransitionNAPI {
724
+ constructor(assetLockProof: AssetLockProofNAPI, jsIdentityId: IdentifierLikeNAPI, userFeeIncrease?: number | undefined | null);
725
+ getModifiedDataIds(): Array<IdentifierNAPI>;
726
+ getOptionalAssetLockProof(): AssetLockProofNAPI | null;
727
+ get userFeeIncrease(): number;
728
+ get identityIdentifier(): IdentifierNAPI;
729
+ get assetLockProof(): AssetLockProofNAPI;
730
+ set userFeeIncrease(userFeeIncrease: number);
731
+ set identityIdentifier(jsIdentityIdentifier: IdentifierLikeNAPI);
732
+ set assetLockProof(assetLockProof: AssetLockProofNAPI);
733
+ get signature(): Uint8Array;
734
+ getSignableBytes(): Uint8Array;
735
+ set signature(signature: Uint8Array);
736
+ bytes(): Uint8Array;
737
+ hex(): string;
738
+ base64(): string;
739
+ static fromBytes(jsBytes: Uint8Array): IdentityTopUpTransitionNAPI;
740
+ static fromHex(hex: string): IdentityTopUpTransitionNAPI;
741
+ static fromBase64(base64: string): IdentityTopUpTransitionNAPI;
742
+ toStateTransition(): StateTransitionNAPI;
743
+ static fromStateTransition(st: StateTransitionNAPI): IdentityTopUpTransitionNAPI;
744
+ }
745
+ export declare class IdentityUpdateTransitionNAPI {
746
+ constructor(jsIdentityId: IdentifierLikeNAPI, revision: BigIntString, nonce: BigIntString, jsAddPublicKeys: Array<IdentityPublicKeyInCreationNAPI>, disablePublicKeys: Array<number>, userFeeIncrease?: number | undefined | null);
747
+ get revision(): BigIntString;
748
+ get nonce(): BigIntString;
749
+ get identityIdentifier(): IdentifierNAPI;
750
+ getPurposeRequirement(): Array<string>;
751
+ getModifiedDataIds(): Array<IdentifierNAPI>;
752
+ getOptionalAssetLockProof(): AssetLockProofNAPI | null;
753
+ get publicKeyIdsToDisable(): Array<number>;
754
+ get publicKeyIdsToAdd(): Array<IdentityPublicKeyInCreationNAPI>;
755
+ get userFeeIncrease(): number;
756
+ set revision(revision: BigIntString);
757
+ set nonce(nonce: BigIntString);
758
+ set identityIdentifier(jsIdentityId: IdentifierLikeNAPI);
759
+ set publicKeyIdsToAdd(jsAddPublicKeys: Array<IdentityPublicKeyInCreationNAPI>);
760
+ set publicKeyIdsToDisable(publicKeys: Array<number>);
761
+ set userFeeIncrease(userFeeIncrease: number);
762
+ get signature(): Uint8Array;
763
+ getSignableBytes(): Uint8Array;
764
+ get signaturePublicKeyId(): number;
765
+ set signature(signature: Uint8Array);
766
+ set signaturePublicKeyId(signaturePublicKeyId: number);
767
+ static fromHex(hex: string): IdentityUpdateTransitionNAPI;
768
+ static fromBase64(base64: string): IdentityUpdateTransitionNAPI;
769
+ bytes(): Uint8Array;
770
+ hex(): string;
771
+ base64(): string;
772
+ static fromBytes(jsBytes: Uint8Array): IdentityUpdateTransitionNAPI;
773
+ toStateTransition(): StateTransitionNAPI;
774
+ static fromStateTransition(st: StateTransitionNAPI): IdentityUpdateTransitionNAPI;
775
+ }
776
+ export declare class InputAddressNAPI {
777
+ constructor(address: PlatformAddressNAPI, nonce: number, credits: BigIntString);
778
+ get address(): PlatformAddressNAPI;
779
+ get nonce(): number;
780
+ get credits(): BigIntString;
781
+ set address(address: PlatformAddressNAPI);
782
+ set nonce(nonce: number);
783
+ set credits(credits: BigIntString);
784
+ }
785
+ export declare class InstantAssetLockProofNAPI {
786
+ constructor(instantLock: Uint8Array, transaction: Uint8Array, outputIndex: number);
787
+ static fromRawObject(value: InstantAssetLockProofRAW): InstantAssetLockProofNAPI;
788
+ getOutput(): TxOutNAPI | null;
789
+ getOutPoint(): OutPointNAPI | null;
790
+ get outputIndex(): number;
791
+ get instantLock(): InstantLockNAPI;
792
+ set outputIndex(outputIndex: number);
793
+ set instantLock(instantLock: InstantLockNAPI);
794
+ getTransaction(): Uint8Array;
795
+ getInstantLockBytes(): Uint8Array;
796
+ createIdentityId(): IdentifierNAPI;
797
+ }
798
+ export declare class InstantLockNAPI {
799
+ constructor(version: number, jsInputs: Array<OutPointNAPI>, txid: string, cycleHash: string, blsSignature: string);
800
+ get version(): number;
801
+ get inputs(): Array<OutPointNAPI>;
802
+ get txid(): string;
803
+ get cyclehash(): string;
804
+ get blsSignature(): string;
805
+ set version(v: number);
806
+ set inputs(inputs: Array<OutPointNAPI>);
807
+ set txid(txid: string);
808
+ set cyclehash(cycleHash: string);
809
+ set blsSignature(blsSignature: string);
810
+ }
811
+ export declare class MasternodeVoteTransitionNAPI {
812
+ constructor(jsProTxHash: IdentifierLikeNAPI, jsVoterIdentityId: IdentifierLikeNAPI, vote: VoteNAPI, nonce: BigIntString, signaturePublicKey?: number | undefined | null, jsSignature?: Uint8Array | undefined | null);
813
+ get proTxHash(): IdentifierNAPI;
814
+ get voterIdentityId(): IdentifierNAPI;
815
+ get vote(): VoteNAPI;
816
+ get nonce(): BigIntString;
817
+ get signaturePublicKeyId(): number;
818
+ get signature(): Uint8Array;
819
+ set proTxHash(jsProTxHash: IdentifierLikeNAPI);
820
+ set voterIdentityId(jsVoterIdentityId: IdentifierLikeNAPI);
821
+ set vote(vote: VoteNAPI);
822
+ set nonce(nonce: BigIntString);
823
+ set signaturePublicKeyId(signaturePublicKeyId: number);
824
+ set signature(signature: Uint8Array);
825
+ static fromHex(hex: string): MasternodeVoteTransitionNAPI;
826
+ static fromBase64(base64: string): MasternodeVoteTransitionNAPI;
827
+ bytes(): Uint8Array;
828
+ hex(): string;
829
+ base64(): string;
830
+ static fromBytes(jsBytes: Uint8Array): MasternodeVoteTransitionNAPI;
831
+ get userFeeIncrease(): number;
832
+ getSignableBytes(): Uint8Array;
833
+ get assetLock(): AssetLockProofNAPI | null;
834
+ set userFeeIncrease(amount: number);
835
+ get modifiedDataIds(): Array<IdentifierNAPI>;
836
+ toStateTransition(): StateTransitionNAPI;
837
+ static fromStateTransition(st: StateTransitionNAPI): MasternodeVoteTransitionNAPI;
838
+ }
839
+ export declare class OutPointNAPI {
840
+ constructor(txidHex: string, vout: number);
841
+ getVOUT(): number;
842
+ getTXID(): string;
843
+ bytes(): Uint8Array;
844
+ hex(): string;
845
+ base64(): string;
846
+ static fromBytes(jsBuffer: Uint8Array): OutPointNAPI;
847
+ static fromHex(hex: string): OutPointNAPI;
848
+ static fromBase64(base64: string): OutPointNAPI;
849
+ }
850
+ export declare class OutputAddressNAPI {
851
+ constructor(address: PlatformAddressNAPI, credits: BigIntString);
852
+ get address(): PlatformAddressNAPI;
853
+ get credits(): BigIntString;
854
+ set address(address: PlatformAddressNAPI);
855
+ set credits(credits: BigIntString);
856
+ }
857
+ export declare class OutputAddressNullableCreditsNAPI {
858
+ constructor(address: PlatformAddressNAPI, credits?: BigIntString | undefined | null);
859
+ get address(): PlatformAddressNAPI;
860
+ get credits(): BigIntString | null;
861
+ set address(address: PlatformAddressNAPI);
862
+ set credits(credits: BigIntString | undefined | null);
863
+ }
864
+ export declare class PartialIdentityNAPI {
865
+ constructor(jsId: IdentifierLikeNAPI, jsLoadedPublicKeys: Array<[number, IdentityPublicKeyNAPI]>, balance?: BigIntString | undefined | null, revision?: BigIntString | undefined | null, jsNotFoundPublicKeys?: Array<number> | undefined | null);
866
+ get id(): IdentifierNAPI;
867
+ get loadedPublicKeys(): Array<[number, IdentityPublicKeyNAPI]>;
868
+ get balance(): BigIntString | null;
869
+ get revision(): BigIntString | null;
870
+ get notFoundPublicKeys(): Array<number>;
871
+ set id(jsId: IdentifierLikeNAPI);
872
+ set loadedPublicKeys(loadedPublicKeys: Array<[number, IdentityPublicKeyNAPI]>);
873
+ set balance(balance: BigIntString | undefined | null);
874
+ set revision(revision: BigIntString | undefined | null);
875
+ set notFoundPublicKeys(keys: Array<number> | undefined | null);
876
+ }
877
+ export declare class PlatformAddressNAPI {
878
+ constructor(address: Uint8Array);
879
+ bytes(): Uint8Array;
880
+ toAddress(jsNetwork: DynamicValue): string;
881
+ toBech32m(jsNetwork: DynamicValue): string;
882
+ isP2PKH(): boolean;
883
+ isP2SH(): boolean;
884
+ hash(): Uint8Array;
885
+ }
886
+ export declare class PrefundedVotingBalanceNAPI {
887
+ constructor(indexName: string, credits: BigIntString);
888
+ get indexName(): string;
889
+ get credits(): BigIntString;
890
+ }
891
+ export declare class PrivateEncryptedNoteNAPI {
892
+ constructor(rootEncryptionKeyIndex: number, derivationEncryptionKeyIndex: number, value: Uint8Array);
893
+ get rootEncryptionKeyIndex(): number;
894
+ get derivationEncryptionKeyIndex(): number;
895
+ get value(): Uint8Array;
896
+ set rootEncryptionKeyIndex(index: number);
897
+ set derivationEncryptionKeyIndex(index: number);
898
+ set value(value: Uint8Array);
899
+ }
900
+ export declare class PrivateKeyNAPI {
901
+ constructor(value: DynamicValue | PrivateKeyNAPI, jsNetwork: DynamicValue);
902
+ static fromWIF(wif: string): PrivateKeyNAPI;
903
+ static fromBytes(bytes: Uint8Array, jsNetwork: DynamicValue): PrivateKeyNAPI;
904
+ static fromHex(hexKey: string, jsNetwork: DynamicValue): PrivateKeyNAPI;
905
+ getPublicKey(): PublicKeyNAPI;
906
+ getNetwork(): string;
907
+ WIF(): string;
908
+ bytes(): Uint8Array;
909
+ hex(): string;
910
+ getPublicKeyHash(): string;
911
+ sign(data: Uint8Array): Uint8Array;
912
+ signHash(dataHash: Uint8Array): Uint8Array;
913
+ }
914
+ export declare class PublicKeyNAPI {
915
+ constructor(compressed: boolean, publicKeyBytes: Uint8Array);
916
+ get compressed(): boolean;
917
+ get inner(): Uint8Array;
918
+ set compressed(compressed: boolean);
919
+ set inner(inner: Uint8Array);
920
+ getPublicKeyHash(): string;
921
+ hash160(): Uint8Array;
922
+ bytes(): Uint8Array;
923
+ static fromBytes(bytes: Uint8Array): PublicKeyNAPI;
924
+ }
925
+ export declare class ResourceVoteChoiceNAPI {
926
+ static TowardsIdentity(jsId: IdentifierLikeNAPI): ResourceVoteChoiceNAPI;
927
+ static Abstain(): ResourceVoteChoiceNAPI;
928
+ static Lock(): ResourceVoteChoiceNAPI;
929
+ getValue(): IdentifierNAPI | null;
930
+ getType(): string;
931
+ }
932
+ export declare class RewardDistributionTypeNAPI {
933
+ static BlockBasedDistribution(interval: BigIntString, distributionFunction: DistributionFunctionNAPI): RewardDistributionTypeNAPI;
934
+ static TimeBasedDistribution(interval: BigIntString, distributionFunction: DistributionFunctionNAPI): RewardDistributionTypeNAPI;
935
+ static EpochBasedDistribution(interval: number, distributionFunction: DistributionFunctionNAPI): RewardDistributionTypeNAPI;
936
+ getDistribution(): BlockBasedDistributionNAPI | TimeBasedDistributionNAPI | EpochBasedDistributionNAPI;
937
+ }
938
+ export declare class SharedEncryptedNoteNAPI {
939
+ constructor(senderKeyIndex: number, recipientKeyIndex: number, value: Uint8Array);
940
+ get senderKeyIndex(): number;
941
+ get recipientKeyIndex(): number;
942
+ get value(): Uint8Array;
943
+ set senderKeyIndex(index: number);
944
+ set recipientKeyIndex(index: number);
945
+ set value(value: Uint8Array);
946
+ }
947
+ export declare class StateTransitionNAPI {
948
+ sign(jsPrivateKey: DynamicValue | PrivateKeyNAPI, publicKey: IdentityPublicKeyNAPI): Uint8Array;
949
+ signByPrivateKey(jsPrivateKey: DynamicValue | PrivateKeyNAPI, keyId?: number | undefined | null, jsKeyType?: DynamicValue | undefined | null): Uint8Array;
950
+ verifyPublicKey(publicKey: IdentityPublicKeyNAPI, jsAllowSigningWithAnySecurityLevel?: boolean | undefined | null, jsAllowSigningWithAnyPurpose?: boolean | undefined | null): void;
951
+ bytes(): Uint8Array;
952
+ hex(): string;
953
+ base64(): string;
954
+ static fromBytes(jsBytes: Uint8Array): StateTransitionNAPI;
955
+ static fromHex(hex: string): StateTransitionNAPI;
956
+ static fromBase64(base64: string): StateTransitionNAPI;
957
+ hash(skipSignature: boolean): string;
958
+ getActionName(): string;
959
+ getActionType(): string;
960
+ getActionTypeNumber(): number;
961
+ getOwnerId(): IdentifierNAPI | null;
962
+ get signature(): Uint8Array | null;
963
+ get signaturePublicKeyId(): number | null;
964
+ get userFeeIncrease(): number;
965
+ getPurposeRequirement(): Array<string> | null;
966
+ getKeyLevelRequirement(jsPurpose: DynamicValue): Array<string> | null;
967
+ getIdentityContractNonce(): BigIntString | null;
968
+ getIdentityNonce(): BigIntString | null;
969
+ set signature(signature: Uint8Array);
970
+ set signaturePublicKeyId(keyId: number);
971
+ set userFeeIncrease(userFeeIncrease: number);
972
+ setOwnerId(jsOwnerId: IdentifierLikeNAPI): void;
973
+ setIdentityContractNonce(nonce: BigIntString): void;
974
+ setIdentityNonce(nonce: BigIntString): void;
975
+ }
976
+ export declare class TimeBasedDistributionNAPI {
977
+ interval: BigIntString;
978
+ get function(): DistributionFunctionNAPI;
979
+ set function(distributionFunction: DistributionFunctionNAPI);
980
+ }
981
+ export declare class TokenBaseTransitionNAPI {
982
+ constructor(identityContractNonce: BigIntString, tokenContractPosition: number, jsDataContractId: IdentifierLikeNAPI, jsTokenId: IdentifierLikeNAPI, jsUsingGroupInfo?: GroupStateTransitionInfoNAPI | undefined | null);
983
+ get identityContractNonce(): BigIntString;
984
+ get tokenContractPosition(): number;
985
+ get dataContractId(): IdentifierNAPI;
986
+ get tokenId(): IdentifierNAPI;
987
+ get usingGroupInfo(): GroupStateTransitionInfoNAPI | null;
988
+ set identityContractNonce(identityContractNonce: BigIntString);
989
+ set tokenContractPosition(pos: number);
990
+ set dataContractId(jsIdentifier: IdentifierLikeNAPI);
991
+ set tokenId(jsIdentifier: IdentifierLikeNAPI);
992
+ set usingGroupInfo(jsUsingGroupInfo: GroupStateTransitionInfoNAPI | undefined | null);
993
+ }
994
+ export declare class TokenBurnTransitionNAPI {
995
+ constructor(base: TokenBaseTransitionNAPI, burnAmount: BigIntString, publicNote?: string | undefined | null);
996
+ get burnAmount(): BigIntString;
997
+ get base(): TokenBaseTransitionNAPI;
998
+ get publicNote(): string | null;
999
+ set burnAmount(amount: BigIntString);
1000
+ set base(base: TokenBaseTransitionNAPI);
1001
+ set publicNote(note: string | undefined | null);
1002
+ }
1003
+ export declare class TokenClaimTransitionNAPI {
1004
+ constructor(base: TokenBaseTransitionNAPI, jsDistributionType: DynamicValue, publicNote?: string | undefined | null);
1005
+ get base(): TokenBaseTransitionNAPI;
1006
+ get publicNote(): string | null;
1007
+ get distributionType(): string;
1008
+ set base(base: TokenBaseTransitionNAPI);
1009
+ set publicNote(note: string | undefined | null);
1010
+ set distributionType(jsDistributionType: DynamicValue);
1011
+ }
1012
+ export declare class TokenConfigUpdateTransitionNAPI {
1013
+ constructor(base: TokenBaseTransitionNAPI, updateTokenConfigurationItem: TokenConfigurationChangeItemNAPI, publicNote?: string | undefined | null);
1014
+ get base(): TokenBaseTransitionNAPI;
1015
+ get publicNote(): string | null;
1016
+ get updateTokenConfigurationItem(): TokenConfigurationChangeItemNAPI;
1017
+ set base(base: TokenBaseTransitionNAPI);
1018
+ set publicNote(note: string | undefined | null);
1019
+ set updateTokenConfigurationItem(item: TokenConfigurationChangeItemNAPI);
1020
+ }
1021
+ export declare class TokenConfigurationChangeItemNAPI {
1022
+ getItemName(): string;
1023
+ getItem(): string | TokenConfigurationConventionNAPI | AuthorizedActionTakersNAPI | BigIntString | undefined | null | TokenPerpetualDistributionNAPI | undefined | null | IdentifierNAPI | undefined | null | boolean | TokenTradeModeNAPI | number | undefined | null;
1024
+ static ConventionsItem(convention: TokenConfigurationConventionNAPI): TokenConfigurationChangeItemNAPI;
1025
+ static ConventionsAdminGroupItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1026
+ static ConventionsControlGroupItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1027
+ static FreezeItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1028
+ static FreezeAdminGroupItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1029
+ static DestroyFrozenFundsItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1030
+ static DestroyFrozenFundsAdminGroupItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1031
+ static EmergencyActionItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1032
+ static EmergencyActionAdminGroupItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1033
+ static MainControlGroupItem(groupContractPosition?: number | undefined | null): TokenConfigurationChangeItemNAPI;
1034
+ static ManualBurningItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1035
+ static ManualBurningAdminGroupItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1036
+ static ManualMintingItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1037
+ static ManualMintingAdminGroupItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1038
+ static MarketplaceTradeModeItem(tradeMode: TokenTradeModeNAPI): TokenConfigurationChangeItemNAPI;
1039
+ static MarketplaceTradeModeControlGroupItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1040
+ static MarketplaceTradeModeAdminGroupItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1041
+ static MaxSupplyItem(supply?: BigIntString | undefined | null): TokenConfigurationChangeItemNAPI;
1042
+ static MaxSupplyControlGroupItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1043
+ static MaxSupplyAdminGroupItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1044
+ static MintingAllowChoosingDestinationItem(flag: boolean): TokenConfigurationChangeItemNAPI;
1045
+ static MintingAllowChoosingDestinationControlGroupItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1046
+ static MintingAllowChoosingDestinationAdminGroupItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1047
+ static NewTokensDestinationIdentityItem(jsIdentityId?: IdentifierLikeNAPI | undefined | null): TokenConfigurationChangeItemNAPI;
1048
+ static NewTokensDestinationIdentityControlGroupItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1049
+ static NewTokensDestinationIdentityAdminGroupItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1050
+ static noChangeItem(): TokenConfigurationChangeItemNAPI;
1051
+ static PerpetualDistributionConfigurationItem(jsPerpetualDistributionValue?: TokenPerpetualDistributionNAPI | undefined | null): TokenConfigurationChangeItemNAPI;
1052
+ static PerpetualDistributionControlGroupItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1053
+ static PerpetualDistributionAdminGroupItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1054
+ static UnfreezeItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1055
+ static UnfreezeAdminGroupItem(actionTaker: AuthorizedActionTakersNAPI): TokenConfigurationChangeItemNAPI;
1056
+ }
1057
+ export declare class TokenConfigurationConventionNAPI {
1058
+ constructor(jsLocalizations: Array<[string, TokenConfigurationLocalizationNAPI | TokenConfigurationLocalizationJsonNAPI]>, decimals: number);
1059
+ get decimals(): number;
1060
+ get localizations(): Array<[string, TokenConfigurationLocalizationNAPI]>;
1061
+ set decimals(decimals: number);
1062
+ set localizations(jsLocalizations: Array<[string, TokenConfigurationLocalizationNAPI | TokenConfigurationLocalizationJsonNAPI]>);
1063
+ }
1064
+ export declare class TokenConfigurationLocalizationNAPI {
1065
+ constructor(shouldCapitalize: boolean, singularForm: string, pluralForm: string);
1066
+ get shouldCapitalize(): boolean;
1067
+ get pluralForm(): string;
1068
+ get singularForm(): string;
1069
+ set shouldCapitalize(capitalize: boolean);
1070
+ set pluralForm(pluralForm: string);
1071
+ set singularForm(singularForm: string);
1072
+ toJSON(): TokenConfigurationLocalizationJsonNAPI;
1073
+ }
1074
+ export declare class TokenConfigurationNAPI {
1075
+ constructor(conventions: TokenConfigurationConventionNAPI, conventionsChangeRules: ChangeControlRulesNAPI, baseSupply: BigIntString, maxSupply: BigIntString | undefined | null, keepsHistory: TokenKeepsHistoryRulesNAPI, startAsPaused: boolean, allowTransferToFrozenBalance: boolean, maxSupplyChangeRules: ChangeControlRulesNAPI, distributionRules: TokenDistributionRulesNAPI, marketplaceRules: TokenMarketplaceRulesNAPI, manualMintingRules: ChangeControlRulesNAPI, manualBurningRules: ChangeControlRulesNAPI, freezeRules: ChangeControlRulesNAPI, unfreezeRules: ChangeControlRulesNAPI, destroyFrozenFundsRules: ChangeControlRulesNAPI, emergencyActionRules: ChangeControlRulesNAPI, mainControlGroup: number | undefined | null, mainControlGroupCanBeModified: AuthorizedActionTakersNAPI, description?: string | undefined | null);
1076
+ get conventions(): TokenConfigurationConventionNAPI;
1077
+ get conventionsChangeRules(): ChangeControlRulesNAPI;
1078
+ get baseSupply(): BigIntString;
1079
+ get keepsHistory(): TokenKeepsHistoryRulesNAPI;
1080
+ get startAsPaused(): boolean;
1081
+ get isAllowedTransferToFrozenBalance(): boolean;
1082
+ get maxSupply(): BigIntString | null;
1083
+ get maxSupplyChangeRules(): ChangeControlRulesNAPI;
1084
+ get distributionRules(): TokenDistributionRulesNAPI;
1085
+ get marketplaceRules(): TokenMarketplaceRulesNAPI;
1086
+ get manualMintingRules(): ChangeControlRulesNAPI;
1087
+ get manualBurningRules(): ChangeControlRulesNAPI;
1088
+ get freezeRules(): ChangeControlRulesNAPI;
1089
+ get unfreezeRules(): ChangeControlRulesNAPI;
1090
+ get destroyFrozenFundsRules(): ChangeControlRulesNAPI;
1091
+ get emergencyActionRules(): ChangeControlRulesNAPI;
1092
+ get mainControlGroup(): number | null;
1093
+ get mainControlGroupCanBeModified(): AuthorizedActionTakersNAPI;
1094
+ get description(): string | null;
1095
+ set conventions(conventions: TokenConfigurationConventionNAPI);
1096
+ set conventionsChangeRules(rules: ChangeControlRulesNAPI);
1097
+ set baseSupply(baseSupply: BigIntString);
1098
+ set keepsHistory(keepsHistory: TokenKeepsHistoryRulesNAPI);
1099
+ set startAsPaused(startAsPaused: boolean);
1100
+ set isAllowedTransferToFrozenBalance(isAllowedTransferToFrozenBalance: boolean);
1101
+ set maxSupply(maxSupply: BigIntString | undefined | null);
1102
+ set maxSupplyChangeRules(rules: ChangeControlRulesNAPI);
1103
+ set distributionRules(rules: TokenDistributionRulesNAPI);
1104
+ set marketplaceRules(marketplaceRules: TokenMarketplaceRulesNAPI);
1105
+ set manualMintingRules(rules: ChangeControlRulesNAPI);
1106
+ set manualBurningRules(rules: ChangeControlRulesNAPI);
1107
+ set freezeRules(rules: ChangeControlRulesNAPI);
1108
+ set unfreezeRules(rules: ChangeControlRulesNAPI);
1109
+ set destroyFrozenFundsRules(rules: ChangeControlRulesNAPI);
1110
+ set emergencyActionRules(rules: ChangeControlRulesNAPI);
1111
+ set mainControlGroup(group: number | undefined | null);
1112
+ set mainControlGroupCanBeModified(authorizedActionTaker: AuthorizedActionTakersNAPI);
1113
+ set description(description: string | undefined | null);
1114
+ static calculateTokenId(jsContractId: IdentifierLikeNAPI, tokenPos: number): IdentifierNAPI;
1115
+ }
1116
+ export declare class TokenContractInfoNAPI {
1117
+ get contractId(): IdentifierNAPI;
1118
+ get tokenContractPosition(): number;
1119
+ }
1120
+ export declare class TokenDestroyFrozenFundsTransitionNAPI {
1121
+ constructor(base: TokenBaseTransitionNAPI, jsFrozenIdentityId: IdentifierLikeNAPI, publicNote?: string | undefined | null);
1122
+ get base(): TokenBaseTransitionNAPI;
1123
+ get publicNote(): string | null;
1124
+ get frozenIdentityId(): IdentifierNAPI;
1125
+ set base(base: TokenBaseTransitionNAPI);
1126
+ set publicNote(note: string | undefined | null);
1127
+ set frozenIdentityId(jsFrozenIdentityId: IdentifierLikeNAPI);
1128
+ }
1129
+ export declare class TokenDirectPurchaseTransitionNAPI {
1130
+ constructor(base: TokenBaseTransitionNAPI, tokenCount: BigIntString, totalAgreedPrice: BigIntString);
1131
+ get base(): TokenBaseTransitionNAPI;
1132
+ get tokenCount(): BigIntString;
1133
+ get totalAgreedPrice(): BigIntString;
1134
+ set base(base: TokenBaseTransitionNAPI);
1135
+ set tokenCount(tokenCount: BigIntString);
1136
+ set totalAgreedPrice(totalAgreedPrice: BigIntString);
1137
+ }
1138
+ export declare class TokenDistributionRecipientNAPI {
1139
+ static ContractOwner(): TokenDistributionRecipientNAPI;
1140
+ static Identity(jsIdentityId: IdentifierLikeNAPI): TokenDistributionRecipientNAPI;
1141
+ static EvonodesByParticipation(): TokenDistributionRecipientNAPI;
1142
+ getType(): string;
1143
+ getValue(): IdentifierNAPI | undefined;
1144
+ }
1145
+ export declare class TokenDistributionRulesNAPI {
1146
+ constructor(jsPerpetualDistribution: TokenPerpetualDistributionNAPI | undefined | null, perpetualDistributionRules: ChangeControlRulesNAPI, jsPreProgrammedDistribution: TokenPreProgrammedDistributionNAPI | undefined | null, jsNewTokensDestinationIdentity: IdentifierLikeNAPI | undefined | null, newTokensDestinationIdentityRules: ChangeControlRulesNAPI, mintingAllowChoosingDestination: boolean, mintingAllowChoosingDestinationRules: ChangeControlRulesNAPI, changeDirectPurchasePricingRules: ChangeControlRulesNAPI);
1147
+ get perpetualDistribution(): TokenPerpetualDistributionNAPI | null;
1148
+ get perpetualDistributionRules(): ChangeControlRulesNAPI;
1149
+ get preProgrammedDistribution(): TokenPreProgrammedDistributionNAPI | null;
1150
+ get newTokenDestinationIdentity(): IdentifierNAPI | null;
1151
+ get newTokenDestinationIdentityRules(): ChangeControlRulesNAPI;
1152
+ get mintingAllowChoosingDestination(): boolean;
1153
+ get mintingAllowChoosingDestinationRules(): ChangeControlRulesNAPI;
1154
+ get changeDirectPurchasePricingRules(): ChangeControlRulesNAPI;
1155
+ set perpetualDistribution(jsPerpetualDistribution: TokenPerpetualDistributionNAPI | undefined | null);
1156
+ set perpetualDistributionRules(rules: ChangeControlRulesNAPI);
1157
+ set preProgrammedDistribution(jsDistribution: TokenPreProgrammedDistributionNAPI | undefined | null);
1158
+ set newTokenDestinationIdentity(jsIdentifier: IdentifierLikeNAPI | undefined | null);
1159
+ set newTokenDestinationIdentityRules(rules: ChangeControlRulesNAPI);
1160
+ set mintingAllowChoosingDestination(flag: boolean);
1161
+ set mintingAllowChoosingDestinationRules(rules: ChangeControlRulesNAPI);
1162
+ set changeDirectPurchasePricingRules(rules: ChangeControlRulesNAPI);
1163
+ }
1164
+ export declare class TokenEmergencyActionTransitionNAPI {
1165
+ constructor(base: TokenBaseTransitionNAPI, emergencyAction: DynamicValue, publicNote?: string | undefined | null);
1166
+ get base(): TokenBaseTransitionNAPI;
1167
+ get publicNote(): string | null;
1168
+ get emergencyAction(): string;
1169
+ set base(base: TokenBaseTransitionNAPI);
1170
+ set publicNote(note: string | undefined | null);
1171
+ set emergencyAction(action: DynamicValue);
1172
+ }
1173
+ export declare class TokenFreezeTransitionNAPI {
1174
+ constructor(base: TokenBaseTransitionNAPI, jsIdentityToFreezeId: IdentifierLikeNAPI, publicNote?: string | undefined | null);
1175
+ get base(): TokenBaseTransitionNAPI;
1176
+ get publicNote(): string | null;
1177
+ get frozenIdentityId(): IdentifierNAPI;
1178
+ set base(base: TokenBaseTransitionNAPI);
1179
+ set publicNote(note: string | undefined | null);
1180
+ set frozenIdentityId(jsFrozenIdentityId: IdentifierLikeNAPI);
1181
+ }
1182
+ export declare class TokenKeepsHistoryRulesNAPI {
1183
+ constructor(keepsTransferHistory: boolean, keepsFreezingHistory: boolean, keepsMintingHistory: boolean, keepsBurningHistory: boolean, keepsDirectPricingHistory: boolean, keepsDirectPurchaseHistory: boolean);
1184
+ get keepsTransferHistory(): boolean;
1185
+ get keepsFreezingHistory(): boolean;
1186
+ get keepsMintingHistory(): boolean;
1187
+ get keepsBurningHistory(): boolean;
1188
+ get keepsDirectPricingHistory(): boolean;
1189
+ get keepsDirectPurchaseHistory(): boolean;
1190
+ set keepsTransferHistory(keepsTransferHistory: boolean);
1191
+ set keepsFreezingHistory(keepsFreezingHistory: boolean);
1192
+ set keepsMintingHistory(keepsMintingHistory: boolean);
1193
+ set keepsBurningHistory(keepsBurningHistory: boolean);
1194
+ set keepsDirectPricingHistory(keepsDirectPricingHistory: boolean);
1195
+ set keepsDirectPurchaseHistory(keepsDirectPurchaseHistory: boolean);
1196
+ }
1197
+ export declare class TokenMarketplaceRulesNAPI {
1198
+ constructor(tradeMode: TokenTradeModeNAPI, tradeModeChangeRules: ChangeControlRulesNAPI);
1199
+ get tradeMode(): TokenTradeModeNAPI;
1200
+ get tradeModeChangeRules(): ChangeControlRulesNAPI;
1201
+ set tradeMode(tradeMode: TokenTradeModeNAPI);
1202
+ set tradeModeChangeRules(tradeModeChangeRules: ChangeControlRulesNAPI);
1203
+ }
1204
+ export declare class TokenMintTransitionNAPI {
1205
+ constructor(base: TokenBaseTransitionNAPI, jsIssuedToIdentityId: IdentifierLikeNAPI | undefined | null, amount: BigIntString, publicNote?: string | undefined | null);
1206
+ get issuedToIdentityId(): IdentifierNAPI | null;
1207
+ get amount(): BigIntString;
1208
+ get base(): TokenBaseTransitionNAPI;
1209
+ get publicNote(): string | null;
1210
+ getRecipitnId(config: TokenConfigurationNAPI): IdentifierNAPI;
1211
+ set issuedToIdentityId(jsId: IdentifierLikeNAPI | undefined | null);
1212
+ set amount(amount: BigIntString);
1213
+ set base(base: TokenBaseTransitionNAPI);
1214
+ set publicNote(note: string | undefined | null);
1215
+ }
1216
+ export declare class TokenPaymentInfoNAPI {
1217
+ constructor(jsPaymentTokenContractId: IdentifierLikeNAPI | undefined | null, tokenContractPosition: number, minimumTokenCost: BigIntString | undefined | null, maximumTokenCost: BigIntString | undefined | null, jsGasFeesPaidBy: DynamicValue);
1218
+ get paymentTokenContractId(): IdentifierNAPI | null;
1219
+ get tokenContractPosition(): number;
1220
+ get minimumTokenCost(): BigIntString | null;
1221
+ get maximumTokenCost(): BigIntString | null;
1222
+ get gasFeesPaidBy(): string;
1223
+ set paymentTokenContractId(jsPaymentTokenContractId: IdentifierLikeNAPI | undefined | null);
1224
+ set tokenContractPosition(tokenContractPosition: number);
1225
+ set minimumTokenCost(minimumCost: BigIntString | undefined | null);
1226
+ set maximumTokenCost(maximumCost: BigIntString | undefined | null);
1227
+ set gasFeesPaidBy(jsGasFeesPaidBy: DynamicValue);
1228
+ }
1229
+ export declare class TokenPerpetualDistributionNAPI {
1230
+ constructor(distributionType: RewardDistributionTypeNAPI, recipient: TokenDistributionRecipientNAPI);
1231
+ get distributionType(): RewardDistributionTypeNAPI;
1232
+ get distributionRecipient(): TokenDistributionRecipientNAPI;
1233
+ set distributionType(distributionType: RewardDistributionTypeNAPI);
1234
+ set distributionRecipient(distributionRecipient: TokenDistributionRecipientNAPI);
1235
+ }
1236
+ export declare class TokenPreProgrammedDistributionNAPI {
1237
+ constructor(jsDistributions: Array<[BigIntString, Array<[IdentifierLikeNAPI, BigIntString]>]>);
1238
+ get distributions(): Array<[BigIntString, Array<[IdentifierNAPI, BigIntString]>]>;
1239
+ set distributions(jsDistributions: Array<[BigIntString, Array<[IdentifierLikeNAPI, BigIntString]>]>);
1240
+ }
1241
+ export declare class TokenPricingScheduleNAPI {
1242
+ static SinglePrice(credits: BigIntString): TokenPricingScheduleNAPI;
1243
+ static SetPrices(jsPrices: DynamicValue): TokenPricingScheduleNAPI;
1244
+ getScheduleType(): string;
1245
+ getValue(): BigIntString | DynamicValue;
1246
+ }
1247
+ export declare class TokenSetPriceForDirectPurchaseTransitionNAPI {
1248
+ constructor(base: TokenBaseTransitionNAPI, jsPrice?: TokenPricingScheduleNAPI | undefined | null, publicNote?: string | undefined | null);
1249
+ get base(): TokenBaseTransitionNAPI;
1250
+ get publicNote(): string | null;
1251
+ get price(): TokenPricingScheduleNAPI | null;
1252
+ set base(base: TokenBaseTransitionNAPI);
1253
+ set publicNote(note: string | undefined | null);
1254
+ set price(jsPrice: TokenPricingScheduleNAPI | undefined | null);
1255
+ }
1256
+ export declare class TokenStatusNAPI {
1257
+ get paused(): boolean;
1258
+ set paused(paused: boolean);
1259
+ }
1260
+ export declare class TokenTradeModeNAPI {
1261
+ static NotTradeable(): TokenTradeModeNAPI;
1262
+ getValue(): string;
1263
+ }
1264
+ export declare class TokenTransferTransitionNAPI {
1265
+ constructor(base: TokenBaseTransitionNAPI, jsRecipientId: IdentifierLikeNAPI, amount: BigIntString, publicNote?: string | undefined | null, jsSharedEncryptedNote?: SharedEncryptedNoteNAPI | undefined | null, jsPrivateEncryptedNote?: PrivateEncryptedNoteNAPI | undefined | null);
1266
+ get amount(): BigIntString;
1267
+ get base(): TokenBaseTransitionNAPI;
1268
+ get publicNote(): string | null;
1269
+ get sharedEncryptedNote(): SharedEncryptedNoteNAPI | null;
1270
+ get privateEncryptedNote(): PrivateEncryptedNoteNAPI | null;
1271
+ get recipientId(): IdentifierNAPI;
1272
+ set recipientId(jsRecipient: IdentifierLikeNAPI);
1273
+ set amount(amount: BigIntString);
1274
+ set base(base: TokenBaseTransitionNAPI);
1275
+ set publicNote(note: string | undefined | null);
1276
+ set sharedEncryptedNote(jsSharedEncryptedNote: SharedEncryptedNoteNAPI | undefined | null);
1277
+ set privateEncryptedNote(jsPrivateEncryptedNote: PrivateEncryptedNoteNAPI | undefined | null);
1278
+ }
1279
+ export declare class TokenTransitionNAPI {
1280
+ constructor(jsTransition: TokenConfigUpdateTransitionNAPI | TokenDirectPurchaseTransitionNAPI | TokenSetPriceForDirectPurchaseTransitionNAPI | TokenBurnTransitionNAPI | TokenClaimTransitionNAPI | TokenDestroyFrozenFundsTransitionNAPI | TokenEmergencyActionTransitionNAPI | TokenFreezeTransitionNAPI | TokenMintTransitionNAPI | TokenTransferTransitionNAPI | TokenUnFreezeTransitionNAPI);
1281
+ getTransition(): TokenConfigUpdateTransitionNAPI | TokenDirectPurchaseTransitionNAPI | TokenSetPriceForDirectPurchaseTransitionNAPI | TokenBurnTransitionNAPI | TokenClaimTransitionNAPI | TokenDestroyFrozenFundsTransitionNAPI | TokenEmergencyActionTransitionNAPI | TokenFreezeTransitionNAPI | TokenMintTransitionNAPI | TokenTransferTransitionNAPI | TokenUnFreezeTransitionNAPI;
1282
+ getTransitionTypeNumber(): number;
1283
+ getTransitionType(): string;
1284
+ getHistoricalDocumentTypeName(): string;
1285
+ getHistoricalDocumentId(jsOwner: IdentifierLikeNAPI): IdentifierNAPI;
1286
+ get identityContractNonce(): BigIntString;
1287
+ get tokenId(): IdentifierNAPI;
1288
+ get contractId(): IdentifierNAPI;
1289
+ set identityContractNonce(nonce: BigIntString);
1290
+ set tokenId(jsId: IdentifierLikeNAPI);
1291
+ set contractId(jsId: IdentifierLikeNAPI);
1292
+ }
1293
+ export declare class TokenUnFreezeTransitionNAPI {
1294
+ constructor(base: TokenBaseTransitionNAPI, jsFrozenIdentityId: IdentifierLikeNAPI, publicNote?: string | undefined | null);
1295
+ get base(): TokenBaseTransitionNAPI;
1296
+ get publicNote(): string | null;
1297
+ get frozenIdentityId(): IdentifierNAPI;
1298
+ set base(base: TokenBaseTransitionNAPI);
1299
+ set publicNote(note: string | undefined | null);
1300
+ set frozenIdentityId(jsFrozenIdentityId: IdentifierLikeNAPI);
1301
+ }
1302
+ export declare class TotalSingleTokenBalanceNAPI {
1303
+ get tokenSupply(): BigIntString;
1304
+ get aggregatedTokenAccountBalances(): BigIntString;
1305
+ }
1306
+ export declare class TransactionNAPI {
1307
+ constructor(version: number, lockTime: number, jsInput: Array<TxInNAPI>, jsOutput: Array<TxOutNAPI>);
1308
+ get version(): number;
1309
+ get lockTime(): number;
1310
+ get input(): Array<TxInNAPI>;
1311
+ get output(): Array<TxOutNAPI>;
1312
+ set version(version: number);
1313
+ set lockTime(lockTime: number);
1314
+ set input(jsInput: Array<TxInNAPI>);
1315
+ set output(jsOutput: Array<TxOutNAPI>);
1316
+ isCoinBase(): boolean;
1317
+ getTxType(): string;
1318
+ getTxId(): string;
1319
+ }
1320
+ export declare class TxInNAPI {
1321
+ constructor(previousOutput: OutPointNAPI, scriptSig: Uint8Array, sequence: number, witness: WitnessNAPI);
1322
+ get previousOutput(): OutPointNAPI;
1323
+ get scriptSig(): Uint8Array;
1324
+ get sequence(): number;
1325
+ get witnesses(): WitnessNAPI;
1326
+ set previousOutput(previousOutput: OutPointNAPI);
1327
+ set scriptSig(scriptSig: Uint8Array);
1328
+ set sequence(sequence: number);
1329
+ set witnesses(witness: WitnessNAPI);
1330
+ }
1331
+ export declare class TxOutNAPI {
1332
+ constructor(jsValue: BigIntString, jsScriptPubkey: string | Uint8Array);
1333
+ get value(): BigIntString;
1334
+ get scriptPubKeyHex(): string;
1335
+ get scriptPubKeyBytes(): Uint8Array;
1336
+ set value(value: BigIntString);
1337
+ set scriptPubKeyHex(scriptPubkeyHex: string);
1338
+ set scriptPubKeyBytes(scriptPubkeyBytes: Uint8Array);
1339
+ getScriptPubKeyASM(): string;
1340
+ }
1341
+ export declare class VerifiedAddressInfosNAPI {
1342
+ nonce?: number;
1343
+ get address(): PlatformAddressNAPI;
1344
+ get credits(): BigIntString | null;
1345
+ }
1346
+ export declare class VerifiedBalanceTransferNAPI {
1347
+ get sender(): PartialIdentityNAPI;
1348
+ get recipient(): PartialIdentityNAPI;
1349
+ }
1350
+ export declare class VerifiedContractNAPI {
1351
+ rootHash: Uint8Array;
1352
+ get dataContract(): DataContractNAPI | null;
1353
+ set dataContract(dataContract: DataContractNAPI | undefined | null);
1354
+ }
1355
+ export type VerifiedContractWASM = VerifiedContractNAPI;
1356
+ export declare class VerifiedDocumentNAPI {
1357
+ get id(): IdentifierNAPI;
1358
+ get document(): DocumentNAPI | null;
1359
+ }
1360
+ export declare class VerifiedDocumentsNAPI {
1361
+ rootHash: Uint8Array;
1362
+ get documents(): Array<DocumentNAPI>;
1363
+ set documents(documents: Array<DocumentNAPI>);
1364
+ }
1365
+ export declare class VerifiedEpochsInfoNAPI {
1366
+ rootHash: Uint8Array;
1367
+ get epochsInfo(): Array<ExtendedEpochInfoNAPI>;
1368
+ set epochsInfo(info: Array<ExtendedEpochInfoNAPI>);
1369
+ }
1370
+ export declare class VerifiedIdentifierByNonUniquePublicKeyHashNAPI {
1371
+ rootHash: Uint8Array;
1372
+ get identifier(): IdentifierNAPI | null;
1373
+ set identifier(identifier: IdentifierLikeNAPI | undefined | null);
1374
+ }
1375
+ export declare class VerifiedIdentityBalanceRootHashNAPI {
1376
+ rootHash: Uint8Array;
1377
+ balance?: BigIntString;
1378
+ }
1379
+ export declare class VerifiedIdentityByIdentifierNAPI {
1380
+ rootHash: Uint8Array;
1381
+ get identity(): IdentityNAPI | null;
1382
+ set identity(identity: IdentityNAPI | undefined | null);
1383
+ }
1384
+ export declare class VerifiedIdentityByUniqueKeyHashNAPI {
1385
+ rootHash: Uint8Array;
1386
+ get identity(): IdentityNAPI | null;
1387
+ set identity(identity: IdentityNAPI | undefined | null);
1388
+ }
1389
+ export declare class VerifiedIdentityContractNonceNAPI {
1390
+ rootHash: Uint8Array;
1391
+ contractNonce?: BigIntString;
1392
+ }
1393
+ export declare class VerifiedIdentityFullWithAddressInfosNAPI {
1394
+ get identity(): IdentityNAPI;
1395
+ get infos(): Array<VerifiedAddressInfosNAPI>;
1396
+ }
1397
+ export declare class VerifiedIdentityKeysByIdentifierNAPI {
1398
+ rootHash: Uint8Array;
1399
+ get identity(): PartialIdentityNAPI | null;
1400
+ set identity(identity: PartialIdentityNAPI | undefined | null);
1401
+ }
1402
+ export declare class VerifiedIdentityNonceNAPI {
1403
+ rootHash: Uint8Array;
1404
+ nonce?: BigIntString;
1405
+ }
1406
+ export declare class VerifiedIdentityTokenInfoNAPI {
1407
+ get id(): IdentifierNAPI;
1408
+ get identityTokenInfo(): IdentityTokenInfoNAPI;
1409
+ }
1410
+ export declare class VerifiedIdentityWithAddressInfosNAPI {
1411
+ get identity(): PartialIdentityNAPI;
1412
+ get infos(): Array<VerifiedAddressInfosNAPI>;
1413
+ }
1414
+ export declare class VerifiedStateTransitionResultNAPI {
1415
+ rootHash: Uint8Array;
1416
+ get result(): DataContractNAPI | IdentityNAPI | IdentifierNAPI | VerifiedIdentityBalanceNAPI | VerifiedIdentityTokenInfoNAPI | VerifiedTokenPricingScheduleNAPI | TokenStatusNAPI | Array<VerifiedIdentityBalanceNAPI> | PartialIdentityNAPI | VerifiedBalanceTransferNAPI | Array<VerifiedDocumentNAPI> | DocumentNAPI | VerifiedTokenGroupActionWithDocumentNAPI | VerifiedTokenGroupActionWithTokenBalanceNAPI | VerifiedTokenGroupActionWithTokenIdentityInfoNAPI | VerifiedTokenGroupActionWithTokenPricingScheduleNAPI | VoteNAPI | Array<VerifiedAddressInfosNAPI> | VerifiedIdentityFullWithAddressInfosNAPI | VerifiedIdentityWithAddressInfosNAPI;
1417
+ }
1418
+ export declare class VerifiedTokenBalancesForIdentitiesNAPI {
1419
+ rootHash: Uint8Array;
1420
+ get balances(): Array<IdentityTokenBalanceNAPI>;
1421
+ }
1422
+ export declare class VerifiedTokenContractInfoNAPI {
1423
+ rootHash: Uint8Array;
1424
+ get contractInfo(): TokenContractInfoNAPI | null;
1425
+ }
1426
+ export declare class VerifiedTokenDirectPurchasePricesNAPI {
1427
+ rootHash: Uint8Array;
1428
+ get prices(): Array<VerifiedTokenPricingScheduleNAPI>;
1429
+ }
1430
+ export declare class VerifiedTokenGroupActionWithDocumentNAPI {
1431
+ groupSumPower: number;
1432
+ get document(): DocumentNAPI | null;
1433
+ }
1434
+ export declare class VerifiedTokenGroupActionWithTokenBalanceNAPI {
1435
+ groupSumPower: number;
1436
+ groupActionStatus: string;
1437
+ amount?: BigIntString;
1438
+ }
1439
+ export declare class VerifiedTokenGroupActionWithTokenIdentityInfoNAPI {
1440
+ groupSumPower: number;
1441
+ groupActionStatus: string;
1442
+ get identityTokenInfo(): IdentityTokenInfoNAPI | null;
1443
+ }
1444
+ export declare class VerifiedTokenGroupActionWithTokenPricingScheduleNAPI {
1445
+ groupSumPower: number;
1446
+ groupActionStatus: string;
1447
+ get pricingSchedule(): TokenPricingScheduleNAPI | null;
1448
+ }
1449
+ export declare class VerifiedTokenPricingScheduleNAPI {
1450
+ get id(): IdentifierNAPI;
1451
+ get pricingSchedule(): TokenPricingScheduleNAPI | null;
1452
+ }
1453
+ export declare class VerifiedTokensBalancesForIdentityNAPI {
1454
+ rootHash: Uint8Array;
1455
+ get balances(): Array<IdentityTokenBalanceNAPI>;
1456
+ }
1457
+ export declare class VerifiedTokenTotalSupplyNAPI {
1458
+ rootHash: Uint8Array;
1459
+ get totalBalance(): TotalSingleTokenBalanceNAPI;
1460
+ }
1461
+ export declare class VerifiedTotalCreditsNAPI {
1462
+ rootHash: Uint8Array;
1463
+ totalCredits: BigIntString;
1464
+ }
1465
+ export type VerifiedTotalCreditsWASM = VerifiedTotalCreditsNAPI;
1466
+ export declare class VerifiedVoteStateNAPI {
1467
+ rootHash: Uint8Array;
1468
+ get result(): ContestedDocumentVotePollQueryExecutionResultNAPI;
1469
+ set result(value: ContestedDocumentVotePollQueryExecutionResultNAPI);
1470
+ }
1471
+ export declare class VoteNAPI {
1472
+ constructor(votePoll: VotePollNAPI, resourceVoteChoice: ResourceVoteChoiceNAPI);
1473
+ get votePoll(): VotePollNAPI;
1474
+ get resourceVoteChoice(): ResourceVoteChoiceNAPI;
1475
+ set votePoll(votePoll: VotePollNAPI);
1476
+ set resourceVoteChoice(resourceVoteChoice: ResourceVoteChoiceNAPI);
1477
+ }
1478
+ export declare class VotePollNAPI {
1479
+ constructor(jsContractId: IdentifierLikeNAPI, documentTypeName: string, indexName: string, jsIndexValues: DynamicValue);
1480
+ toString(): string;
1481
+ get contractId(): IdentifierNAPI;
1482
+ get documentTypeName(): string;
1483
+ get indexName(): string;
1484
+ get indexValues(): Array<DynamicValue>;
1485
+ set contractId(jsContractId: IdentifierLikeNAPI);
1486
+ set documentTypeName(documentTypeName: string);
1487
+ set indexName(indexName: string);
1488
+ set indexValues(jsIndexValues: DynamicValue);
1489
+ }
1490
+ export declare class WitnessNAPI {
1491
+ constructor(optionalBytes?: Array<Uint8Array> | undefined | null);
1492
+ getBytes(): Array<Uint8Array>;
1493
+ isEmpty(): boolean;
1494
+ clear(): void;
1495
+ push(newElement: Uint8Array): void;
1496
+ }
1497
+ export declare const enum ActionGoalNAPI {
1498
+ ActionCompletion = 0,
1499
+ ActionParticipation = 1
1500
+ }
1501
+ export interface AddressWitnessP2pkhNAPI {
1502
+ signature: Uint8Array;
1503
+ }
1504
+ export interface AddressWitnessP2shNAPI {
1505
+ signatures: Array<Array<number>>;
1506
+ redeemScript: Uint8Array;
1507
+ }
1508
+ export declare const enum AssetLockProofTypeNAPI {
1509
+ Instant = 0,
1510
+ Chain = 1
1511
+ }
1512
+ export declare const enum BatchTypeNAPI {
1513
+ Create = 0,
1514
+ Replace = 1,
1515
+ Delete = 2,
1516
+ Transfer = 3,
1517
+ Purchase = 4,
1518
+ UpdatePrice = 5,
1519
+ IgnoreWhileBumpingRevision = 6
1520
+ }
1521
+ export type BigIntString = string;
1522
+ export interface ChainAssetLockProofParams {
1523
+ coreChainLockedHeight: number;
1524
+ outPoint: Uint8Array;
1525
+ }
1526
+ export interface DistributionExponentialNAPI {
1527
+ a: BigIntString;
1528
+ d: BigIntString;
1529
+ m: number;
1530
+ n: BigIntString;
1531
+ o: number;
1532
+ startMoment?: BigIntString;
1533
+ b: BigIntString;
1534
+ minValue?: BigIntString;
1535
+ maxValue?: BigIntString;
1536
+ }
1537
+ export interface DistributionFixedAmountNAPI {
1538
+ amount: BigIntString;
1539
+ }
1540
+ export interface DistributionInvertedLogarithmicNAPI {
1541
+ a: number;
1542
+ d: BigIntString;
1543
+ m: BigIntString;
1544
+ n: BigIntString;
1545
+ o: number;
1546
+ startMoment?: BigIntString;
1547
+ b: BigIntString;
1548
+ minValue?: BigIntString;
1549
+ maxValue?: BigIntString;
1550
+ }
1551
+ export interface DistributionLinearNAPI {
1552
+ a: number;
1553
+ d: BigIntString;
1554
+ startStep?: BigIntString;
1555
+ startingAmount: BigIntString;
1556
+ minValue?: BigIntString;
1557
+ maxValue?: BigIntString;
1558
+ }
1559
+ export interface DistributionLogarithmicNAPI {
1560
+ a: number;
1561
+ d: BigIntString;
1562
+ m: BigIntString;
1563
+ n: BigIntString;
1564
+ o: number;
1565
+ startMoment?: BigIntString;
1566
+ b: BigIntString;
1567
+ minValue?: BigIntString;
1568
+ maxValue?: BigIntString;
1569
+ }
1570
+ export interface DistributionPolynomialNAPI {
1571
+ a: number;
1572
+ d: BigIntString;
1573
+ m: number;
1574
+ n: BigIntString;
1575
+ o: number;
1576
+ startMoment?: BigIntString;
1577
+ b: BigIntString;
1578
+ minValue?: BigIntString;
1579
+ maxValue?: BigIntString;
1580
+ }
1581
+ export interface DistributionRandomNAPI {
1582
+ min: BigIntString;
1583
+ max: BigIntString;
1584
+ }
1585
+ export interface DistributionStepDecreasingAmountNAPI {
1586
+ stepCount: number;
1587
+ decreasePerIntervalNumerator: number;
1588
+ decreasePerIntervalDenominator: number;
1589
+ startDecreasingOffset?: BigIntString;
1590
+ maxIntervalCount?: number;
1591
+ distributionStartAmount: BigIntString;
1592
+ trailingDistributionIntervalAmount: BigIntString;
1593
+ minValue?: BigIntString;
1594
+ }
1595
+ export type DistributionStepwiseNAPI = Array<DistributionStepwiseStepNAPI>;
1596
+ export interface DistributionStepwiseStepNAPI {
1597
+ step: BigIntString;
1598
+ amount: BigIntString;
1599
+ }
1600
+ export declare const enum GasFeesPaidByNAPI {
1601
+ DocumentOwner = 0,
1602
+ ContractOwner = 1,
1603
+ PreferContractOwner = 2
1604
+ }
1605
+ export declare const enum GroupActionStatusNAPI {
1606
+ ActionActive = 0,
1607
+ ActionClosed = 1
1608
+ }
1609
+ export type IdentifierLikeNAPI = IdentifierNAPI | DynamicValue;
1610
+ export interface InstantAssetLockProofRAW {
1611
+ instantLock: Uint8Array;
1612
+ transaction: Uint8Array;
1613
+ outputIndex: number;
1614
+ }
1615
+ export declare const enum KeyTypeNAPI {
1616
+ ECDSA_SECP256K1 = 0,
1617
+ BLS12_381 = 1,
1618
+ ECDSA_HASH160 = 2,
1619
+ BIP13_SCRIPT_HASH = 3,
1620
+ EDDSA_25519_HASH160 = 4
1621
+ }
1622
+ export declare const enum NetworkNAPI {
1623
+ Mainnet = 0,
1624
+ Testnet = 1,
1625
+ Devnet = 2,
1626
+ Regtest = 3
1627
+ }
1628
+ export declare const enum PlatformVersionNAPI {
1629
+ PLATFORM_V1 = 1,
1630
+ PLATFORM_V2 = 2,
1631
+ PLATFORM_V3 = 3,
1632
+ PLATFORM_V4 = 4,
1633
+ PLATFORM_V5 = 5,
1634
+ PLATFORM_V6 = 6,
1635
+ PLATFORM_V7 = 7,
1636
+ PLATFORM_V8 = 8,
1637
+ PLATFORM_V9 = 9,
1638
+ PLATFORM_V10 = 10
1639
+ }
1640
+ export declare const enum PoolingNAPI {
1641
+ Never = 0,
1642
+ IfAvailable = 1,
1643
+ Standard = 2
1644
+ }
1645
+ export declare const enum PurposeNAPI {
1646
+ AUTHENTICATION = 0,
1647
+ ENCRYPTION = 1,
1648
+ DECRYPTION = 2,
1649
+ TRANSFER = 3,
1650
+ SYSTEM = 4,
1651
+ VOTING = 5,
1652
+ OWNER = 6
1653
+ }
1654
+ export declare const enum SecurityLevelNAPI {
1655
+ MASTER = 0,
1656
+ CRITICAL = 1,
1657
+ HIGH = 2,
1658
+ MEDIUM = 3
1659
+ }
1660
+ export interface TokenConfigurationLocalizationJsonNAPI {
1661
+ shouldCapitalize: boolean;
1662
+ singularForm: string;
1663
+ pluralForm: string;
1664
+ }
1665
+ export declare const enum TokenDistributionTypeNAPI {
1666
+ PreProgrammed = 0,
1667
+ Perpetual = 1
1668
+ }
1669
+ export declare const enum TokenEmergencyActionNAPI {
1670
+ Pause = 0,
1671
+ Resume = 1
1672
+ }
1673
+ export declare function verifyContractProof(proof: Uint8Array, contractKnownKeepsHistory: boolean | undefined | null, isProofSubset: boolean, inMultipleContractProofForm: boolean, jsContractId: IdentifierLikeNAPI, jsPlatformVersion: DynamicValue): VerifiedContractNAPI;
1674
+ export declare function verifyDocumentsProof(proof: Uint8Array, contract: DataContractNAPI, documentTypeName: string, jsWhereClauses: DynamicValue, jsOrderBy: Array<Array<string>>, limit: number | undefined | null, jsStartAt: IdentifierLikeNAPI | undefined | null, startAtIncluded: boolean, blockTimeMs: BigIntString | undefined | null, jsPlatformVersion: DynamicValue): VerifiedDocumentsNAPI;
1675
+ export declare function verifyEpochsInfoProof(proof: Uint8Array, currentEpoch: number, startEpoch: number | undefined | null, count: number, ascending: boolean, jsPlatformVersion: DynamicValue): VerifiedEpochsInfoNAPI;
1676
+ export declare function verifyIdentifierByNonUniquePublicKeyHashProof(proof: Uint8Array, isProofSubset: boolean, jsPublicKeyHash: Uint8Array, jsAfter: IdentifierLikeNAPI | undefined | null, jsPlatformVersion: DynamicValue): VerifiedIdentifierByNonUniquePublicKeyHashNAPI;
1677
+ export declare function verifyIdentityBalanceProof(proof: Uint8Array, jsIdentityId: IdentifierLikeNAPI, verifySubsetOfProof: boolean, jsPlatformVersion: DynamicValue): VerifiedIdentityBalanceRootHashNAPI;
1678
+ export declare function verifyIdentityByIdentifierProof(proof: Uint8Array, jsIdentityId: IdentifierLikeNAPI, isProofSubset: boolean, jsPlatformVersion: DynamicValue): VerifiedIdentityByIdentifierNAPI;
1679
+ export declare function verifyIdentityByUniqueKeyHashProof(proof: Uint8Array, jsPublicKeyHash: Uint8Array, jsPlatformVersion: DynamicValue): VerifiedIdentityByUniqueKeyHashNAPI;
1680
+ export declare function verifyIdentityContractNonceProof(proof: Uint8Array, jsIdentityId: IdentifierLikeNAPI, jsContractId: IdentifierLikeNAPI, verifySubsetOfProof: boolean, jsPlatformVersion: DynamicValue): VerifiedIdentityContractNonceNAPI;
1681
+ export declare function verifyIdentityKeysByIdentifierProof(proof: Uint8Array, jsIdentityId: IdentifierLikeNAPI, specificKeyIds: Array<number> | undefined | null, withRevision: boolean, withBalance: boolean, isProofSubset: boolean, limit: number | undefined | null, offset: number | undefined | null, jsPlatformVersion: DynamicValue): VerifiedIdentityKeysByIdentifierNAPI;
1682
+ export declare function verifyIdentityNonceProof(proof: Uint8Array, jsIdentityId: IdentifierLikeNAPI, verifySubsetOfProof: boolean, jsPlatformVersion: DynamicValue): VerifiedIdentityNonceNAPI;
1683
+ export declare function verifySignatureDigest(signDigest: Uint8Array, signature: Uint8Array, pubkeyBytes: Uint8Array): boolean;
1684
+ export declare function verifyStateTransitionResult(proof: Uint8Array, stateTransition: StateTransitionNAPI, blockInfo: BlockInfoNAPI, jsKnownContractsArray: Array<DataContractNAPI>, jsPlatformVersion: DynamicValue): VerifiedStateTransitionResultNAPI;
1685
+ export declare function verifyTokenBalancesForIdentitiesProof(proof: Uint8Array, jsTokenId: IdentifierLikeNAPI, isProofSubset: boolean, jsIdentities: Array<IdentifierLikeNAPI>, jsPlatformVersion: DynamicValue): VerifiedTokenBalancesForIdentitiesNAPI;
1686
+ export declare function verifyTokenContractInfoProof(proof: Uint8Array, jsTokenId: IdentifierLikeNAPI, verifySubsetOfProof: boolean, jsPlatformVersion: DynamicValue): VerifiedTokenContractInfoNAPI;
1687
+ export declare function verifyTokenDirectPurchasePrices(proof: Uint8Array, jsTokenIds: Array<IdentifierLikeNAPI>, verifySubsetOfProof: boolean, jsPlatformVersion: DynamicValue): VerifiedTokenDirectPurchasePricesNAPI;
1688
+ export declare function verifyTokensBalancesForIdentityProof(proof: Uint8Array, jsTokenIds: Array<IdentifierLikeNAPI>, jsIdentityId: IdentifierLikeNAPI, verifySubsetOfProof: boolean, jsPlatformVersion: DynamicValue): VerifiedTokensBalancesForIdentityNAPI;
1689
+ export declare function verifyTokenTotalSupplyProof(proof: Uint8Array, jsTokenId: IdentifierLikeNAPI, verifySubsetOfProof: boolean, jsPlatformVersion: DynamicValue): VerifiedTokenTotalSupplyNAPI;
1690
+ export declare function verifyTotalCreditsProof(proof: Uint8Array, coreSubsidyHalvingInterval: number, activationCoreHeight: number, currentCoreHeight: number, jsPlatformVersion: DynamicValue): VerifiedTotalCreditsNAPI;
1691
+ export declare function verifyVotePollVoteStateProof(proof: Uint8Array, contract: DataContractNAPI, documentTypeName: string, indexName: string, jsIndexValues: DynamicValue, jsResultType: DynamicValue, allowIncludeLockedAndAbstainingVoteTally: boolean, count: number | undefined | null, jsStartAt: DynamicValue, jsPlatformVersion: DynamicValue): VerifiedVoteStateNAPI;
1692
+ export declare const enum VoteStateResultTypeNAPI {
1693
+ Documents = 0,
1694
+ VoteTally = 1,
1695
+ DocumentsAndVoteTally = 2
1696
+ }