pshenmic-dpp 2.0.0-dev.1 → 2.0.0-dev.10

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 (204) hide show
  1. package/dist/binaries/bindingsTypes.d.ts +48 -23
  2. package/dist/binaries/bindingsTypes.js +4 -3
  3. package/dist/binaries/pshenmic_dpp.android.node/x86_64/libpshenmic_dpp.so +0 -0
  4. package/dist/binaries/pshenmic_dpp.d.ts +6 -1
  5. package/dist/binaries/pshenmic_dpp.js +1 -1
  6. package/dist/binaries/wasm/wasmBytes.js +1 -1
  7. package/dist/binaries/wasm.d.ts +6 -1
  8. package/dist/binaries/wasm.js +1 -1
  9. package/dist/src/dpp/dpp.d.ts +4 -2
  10. package/dist/src/dpp/dpp.js +4 -2
  11. package/dist/src/dpp/enums.d.ts +1 -1
  12. package/dist/src/dpp/enums.js +1 -1
  13. package/dist/src/dpp/structs/AddressTransitions/AddressCreditWithdrawalTransition.d.ts +2 -2
  14. package/dist/src/dpp/structs/AddressTransitions/AddressCreditWithdrawalTransition.js +2 -2
  15. package/dist/src/dpp/structs/AddressTransitions/AddressFundingFromAssetLockTransition.d.ts +2 -2
  16. package/dist/src/dpp/structs/AddressTransitions/AddressFundingFromAssetLockTransition.js +3 -3
  17. package/dist/src/dpp/structs/AddressTransitions/AddressFundsTransferTransition.d.ts +2 -2
  18. package/dist/src/dpp/structs/AddressTransitions/AddressFundsTransferTransition.js +3 -3
  19. package/dist/src/dpp/structs/AddressTransitions/IdentityCreateFromAddressesTransition.d.ts +2 -2
  20. package/dist/src/dpp/structs/AddressTransitions/IdentityCreateFromAddressesTransition.js +2 -2
  21. package/dist/src/dpp/structs/AddressTransitions/IdentityCreditTransferToAddressesTransition.d.ts +1 -1
  22. package/dist/src/dpp/structs/AddressTransitions/IdentityCreditTransferToAddressesTransition.js +1 -1
  23. package/dist/src/dpp/structs/AddressTransitions/IdentityTopUpFromAddressesTransition.d.ts +2 -2
  24. package/dist/src/dpp/structs/AddressTransitions/IdentityTopUpFromAddressesTransition.js +2 -2
  25. package/dist/src/dpp/structs/AddressTransitions/entities/AddressFundsFeeStrategyStep.d.ts +1 -1
  26. package/dist/src/dpp/structs/AddressTransitions/entities/InputAddress.d.ts +5 -4
  27. package/dist/src/dpp/structs/AddressTransitions/entities/InputAddress.js +5 -4
  28. package/dist/src/dpp/structs/AddressTransitions/entities/OutputAddress.d.ts +5 -4
  29. package/dist/src/dpp/structs/AddressTransitions/entities/OutputAddress.js +5 -4
  30. package/dist/src/dpp/structs/AddressTransitions/entities/OutputAddressNullableCredits.d.ts +5 -4
  31. package/dist/src/dpp/structs/AddressTransitions/entities/OutputAddressNullableCredits.js +5 -4
  32. package/dist/src/dpp/structs/AssetLockProof/AssetLockProof.d.ts +1 -1
  33. package/dist/src/dpp/structs/AssetLockProof/AssetLockProof.js +2 -3
  34. package/dist/src/dpp/structs/AssetLockProof/ChainAssetLockProof.d.ts +1 -1
  35. package/dist/src/dpp/structs/AssetLockProof/ChainAssetLockProof.js +2 -2
  36. package/dist/src/dpp/structs/AssetLockProof/InstantAssetLockProof.d.ts +1 -1
  37. package/dist/src/dpp/structs/AssetLockProof/InstantAssetLockProof.js +1 -1
  38. package/dist/src/dpp/structs/AssetLockProof/OutPoint.d.ts +1 -1
  39. package/dist/src/dpp/structs/AssetLockProof/OutPoint.js +1 -1
  40. package/dist/src/dpp/structs/AssetLockProof/Transaction.d.ts +1 -1
  41. package/dist/src/dpp/structs/AssetLockProof/Transaction.js +1 -1
  42. package/dist/src/dpp/structs/AssetLockProof/TxIn.d.ts +1 -1
  43. package/dist/src/dpp/structs/AssetLockProof/TxIn.js +1 -1
  44. package/dist/src/dpp/structs/AssetLockProof/TxOut.d.ts +1 -1
  45. package/dist/src/dpp/structs/AssetLockProof/TxOut.js +1 -1
  46. package/dist/src/dpp/structs/AssetLockProof/Witness.d.ts +1 -1
  47. package/dist/src/dpp/structs/AssetLockProof/Witness.js +1 -1
  48. package/dist/src/dpp/structs/Batch/BatchTransition.d.ts +1 -1
  49. package/dist/src/dpp/structs/Batch/BatchTransition.js +1 -1
  50. package/dist/src/dpp/structs/Batch/BatchedTransition.d.ts +3 -2
  51. package/dist/src/dpp/structs/Batch/BatchedTransition.js +1 -1
  52. package/dist/src/dpp/structs/Batch/DocumentBaseTransition.d.ts +3 -3
  53. package/dist/src/dpp/structs/Batch/DocumentBaseTransition.js +3 -3
  54. package/dist/src/dpp/structs/Batch/DocumentTransition.d.ts +2 -1
  55. package/dist/src/dpp/structs/Batch/DocumentTransition.js +4 -1
  56. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentCreateTransition.d.ts +2 -2
  57. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentCreateTransition.js +2 -2
  58. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentDeleteTransition.d.ts +1 -1
  59. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentDeleteTransition.js +1 -1
  60. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentPurchaseTransition.d.ts +1 -1
  61. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentPurchaseTransition.js +1 -1
  62. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentReplaceTransition.d.ts +2 -2
  63. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentReplaceTransition.js +2 -2
  64. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentTransferTransition.d.ts +1 -1
  65. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentTransferTransition.js +1 -1
  66. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentUpdatePriceTransition.d.ts +1 -1
  67. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentUpdatePriceTransition.js +1 -1
  68. package/dist/src/dpp/structs/Batch/PrefundedVotingBalance.d.ts +1 -1
  69. package/dist/src/dpp/structs/Batch/PrefundedVotingBalance.js +1 -1
  70. package/dist/src/dpp/structs/Batch/TokenBaseTransition.d.ts +1 -1
  71. package/dist/src/dpp/structs/Batch/TokenBaseTransition.js +1 -1
  72. package/dist/src/dpp/structs/Batch/TokenPaymentInfo.d.ts +2 -2
  73. package/dist/src/dpp/structs/Batch/TokenPaymentInfo.js +2 -2
  74. package/dist/src/dpp/structs/Batch/TokenPricingSchedule.d.ts +1 -1
  75. package/dist/src/dpp/structs/Batch/TokenPricingSchedule.js +1 -1
  76. package/dist/src/dpp/structs/Batch/TokenTransition.d.ts +3 -2
  77. package/dist/src/dpp/structs/Batch/TokenTransition.js +4 -1
  78. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenBurnTransition.d.ts +1 -1
  79. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenBurnTransition.js +1 -1
  80. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenClaimTransition.d.ts +1 -1
  81. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenClaimTransition.js +1 -1
  82. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenConfigUpdateTransition.d.ts +1 -1
  83. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenConfigUpdateTransition.js +1 -1
  84. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenDestroyFrozenFundsTransition.d.ts +1 -1
  85. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenDestroyFrozenFundsTransition.js +1 -1
  86. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenDirectPurchaseTransition.d.ts +1 -1
  87. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenDirectPurchaseTransition.js +1 -1
  88. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenEmergencyActionTransition.d.ts +1 -1
  89. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenEmergencyActionTransition.js +1 -1
  90. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenFreezeTransition.d.ts +1 -1
  91. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenFreezeTransition.js +1 -1
  92. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenMintTransition.d.ts +2 -2
  93. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenMintTransition.js +2 -2
  94. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenSetPriceForDirectPurchaseTransition.d.ts +1 -1
  95. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenSetPriceForDirectPurchaseTransition.js +1 -1
  96. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenTransferTransition.d.ts +4 -1
  97. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenTransferTransition.js +8 -1
  98. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenUnFreezeTransition.d.ts +1 -1
  99. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenUnFreezeTransition.js +1 -1
  100. package/dist/src/dpp/structs/ConsensusError.d.ts +2 -2
  101. package/dist/src/dpp/structs/ConsensusError.js +1 -1
  102. package/dist/src/dpp/structs/ContractBounds.d.ts +1 -1
  103. package/dist/src/dpp/structs/ContractBounds.js +1 -1
  104. package/dist/src/dpp/structs/CoreScript.d.ts +1 -1
  105. package/dist/src/dpp/structs/CoreScript.js +1 -1
  106. package/dist/src/dpp/structs/DataContract.d.ts +9 -6
  107. package/dist/src/dpp/structs/DataContract.js +12 -3
  108. package/dist/src/dpp/structs/DataContractTransitions/DataContractCreateTransition.d.ts +1 -1
  109. package/dist/src/dpp/structs/DataContractTransitions/DataContractCreateTransition.js +1 -1
  110. package/dist/src/dpp/structs/DataContractTransitions/DataContractUpdateTransition.d.ts +1 -1
  111. package/dist/src/dpp/structs/DataContractTransitions/DataContractUpdateTransition.js +1 -1
  112. package/dist/src/dpp/structs/Document.d.ts +3 -3
  113. package/dist/src/dpp/structs/Document.js +3 -3
  114. package/dist/src/dpp/structs/EncryptedNote/PrivateEncryptedNote.d.ts +1 -1
  115. package/dist/src/dpp/structs/EncryptedNote/PrivateEncryptedNote.js +1 -1
  116. package/dist/src/dpp/structs/EncryptedNote/SharedEncryptedNote.d.ts +1 -1
  117. package/dist/src/dpp/structs/EncryptedNote/SharedEncryptedNote.js +1 -1
  118. package/dist/src/dpp/structs/GroupStateTransitionInfo.d.ts +1 -1
  119. package/dist/src/dpp/structs/GroupStateTransitionInfo.js +1 -1
  120. package/dist/src/dpp/structs/Identifier.d.ts +1 -1
  121. package/dist/src/dpp/structs/Identifier.js +1 -1
  122. package/dist/src/dpp/structs/Identity.d.ts +1 -1
  123. package/dist/src/dpp/structs/Identity.js +1 -1
  124. package/dist/src/dpp/structs/IdentityPublicKey.d.ts +2 -1
  125. package/dist/src/dpp/structs/IdentityPublicKey.js +6 -1
  126. package/dist/src/dpp/structs/IdentityPublicKeyInCreation.d.ts +2 -1
  127. package/dist/src/dpp/structs/IdentityPublicKeyInCreation.js +6 -1
  128. package/dist/src/dpp/structs/IdentityTransitions/IdentityCreateTransition.d.ts +1 -1
  129. package/dist/src/dpp/structs/IdentityTransitions/IdentityCreateTransition.js +1 -1
  130. package/dist/src/dpp/structs/IdentityTransitions/IdentityCreditTransfer.d.ts +1 -1
  131. package/dist/src/dpp/structs/IdentityTransitions/IdentityCreditTransfer.js +1 -1
  132. package/dist/src/dpp/structs/IdentityTransitions/IdentityCreditWithdrawalTransition.d.ts +2 -2
  133. package/dist/src/dpp/structs/IdentityTransitions/IdentityCreditWithdrawalTransition.js +1 -1
  134. package/dist/src/dpp/structs/IdentityTransitions/IdentityTopUpTransition.d.ts +2 -2
  135. package/dist/src/dpp/structs/IdentityTransitions/IdentityTopUpTransition.js +2 -2
  136. package/dist/src/dpp/structs/IdentityTransitions/IdentityUpdateTransition.d.ts +2 -2
  137. package/dist/src/dpp/structs/IdentityTransitions/IdentityUpdateTransition.js +2 -2
  138. package/dist/src/dpp/structs/InstantLock.d.ts +1 -1
  139. package/dist/src/dpp/structs/InstantLock.js +1 -1
  140. package/dist/src/dpp/structs/MasternodeVote/MasternodeVoteTransition.d.ts +1 -1
  141. package/dist/src/dpp/structs/MasternodeVote/MasternodeVoteTransition.js +1 -1
  142. package/dist/src/dpp/structs/MasternodeVote/ResourceVoteChoice.d.ts +1 -1
  143. package/dist/src/dpp/structs/MasternodeVote/Vote.d.ts +1 -1
  144. package/dist/src/dpp/structs/MasternodeVote/Vote.js +1 -1
  145. package/dist/src/dpp/structs/MasternodeVote/VotePoll.d.ts +2 -2
  146. package/dist/src/dpp/structs/MasternodeVote/VotePoll.js +3 -3
  147. package/dist/src/dpp/structs/PartialIdentity.d.ts +1 -1
  148. package/dist/src/dpp/structs/PartialIdentity.js +1 -1
  149. package/dist/src/dpp/structs/{Address → PlatformAddress}/AddressWitness.d.ts +3 -3
  150. package/dist/src/dpp/structs/{Address → PlatformAddress}/AddressWitness.js +2 -2
  151. package/dist/src/dpp/structs/{Address → PlatformAddress}/PlatformAddress.d.ts +5 -3
  152. package/dist/src/dpp/structs/{Address → PlatformAddress}/PlatformAddress.js +9 -3
  153. package/dist/src/dpp/structs/PrivateKey.d.ts +1 -1
  154. package/dist/src/dpp/structs/PrivateKey.js +1 -1
  155. package/dist/src/dpp/structs/PublicKey.d.ts +1 -1
  156. package/dist/src/dpp/structs/PublicKey.js +1 -1
  157. package/dist/src/dpp/structs/StateTransition.d.ts +2 -1
  158. package/dist/src/dpp/structs/StateTransition.js +3 -0
  159. package/dist/src/dpp/structs/TokenConfiguration/ActionTaker.d.ts +2 -2
  160. package/dist/src/dpp/structs/TokenConfiguration/ActionTaker.js +1 -1
  161. package/dist/src/dpp/structs/TokenConfiguration/AuthorizedActionTakers.d.ts +1 -1
  162. package/dist/src/dpp/structs/TokenConfiguration/ChangeControlRules.d.ts +1 -1
  163. package/dist/src/dpp/structs/TokenConfiguration/ChangeControlRules.js +1 -1
  164. package/dist/src/dpp/structs/TokenConfiguration/DistributionFunction.d.ts +1 -1
  165. package/dist/src/dpp/structs/TokenConfiguration/Group.d.ts +1 -1
  166. package/dist/src/dpp/structs/TokenConfiguration/Group.js +1 -1
  167. package/dist/src/dpp/structs/TokenConfiguration/RewardDistributionType.d.ts +1 -1
  168. package/dist/src/dpp/structs/TokenConfiguration/TokenConfiguration.d.ts +1 -1
  169. package/dist/src/dpp/structs/TokenConfiguration/TokenConfiguration.js +1 -1
  170. package/dist/src/dpp/structs/TokenConfiguration/TokenConfigurationChangeItem.d.ts +1 -1
  171. package/dist/src/dpp/structs/TokenConfiguration/TokenConfigurationConvention.d.ts +1 -1
  172. package/dist/src/dpp/structs/TokenConfiguration/TokenConfigurationConvention.js +1 -1
  173. package/dist/src/dpp/structs/TokenConfiguration/TokenConfigurationLocalization.d.ts +1 -1
  174. package/dist/src/dpp/structs/TokenConfiguration/TokenConfigurationLocalization.js +1 -1
  175. package/dist/src/dpp/structs/TokenConfiguration/TokenDistributionRecipient.d.ts +1 -1
  176. package/dist/src/dpp/structs/TokenConfiguration/TokenDistributionRules.d.ts +1 -1
  177. package/dist/src/dpp/structs/TokenConfiguration/TokenDistributionRules.js +1 -1
  178. package/dist/src/dpp/structs/TokenConfiguration/TokenKeepsHistoryRules.d.ts +1 -1
  179. package/dist/src/dpp/structs/TokenConfiguration/TokenKeepsHistoryRules.js +1 -1
  180. package/dist/src/dpp/structs/TokenConfiguration/TokenMarketplaceRules.d.ts +1 -1
  181. package/dist/src/dpp/structs/TokenConfiguration/TokenMarketplaceRules.js +1 -1
  182. package/dist/src/dpp/structs/TokenConfiguration/TokenPerpetualDistribution.d.ts +1 -1
  183. package/dist/src/dpp/structs/TokenConfiguration/TokenPerpetualDistribution.js +1 -1
  184. package/dist/src/dpp/structs/TokenConfiguration/TokenPreProgrammedDistribution.d.ts +1 -1
  185. package/dist/src/dpp/structs/TokenConfiguration/TokenPreProgrammedDistribution.js +1 -1
  186. package/dist/src/dpp/structs/TokenConfiguration/TokenTradeMode.d.ts +1 -1
  187. package/dist/src/dpp/types.d.ts +50 -40
  188. package/dist/src/dpp/utils.d.ts +4 -3
  189. package/dist/src/dpp/utils.js +38 -6
  190. package/dist/src/dpp/verify/Contested/verifyVotePollVoteStateProof.d.ts +1 -1
  191. package/dist/src/dpp/verify/Contested/verifyVotePollVoteStateProof.js +1 -1
  192. package/dist/src/dpp/verify/Document/verifyDocumentsProof.d.ts +1 -1
  193. package/dist/src/dpp/verify/Document/verifyDocumentsProof.js +1 -1
  194. package/dist/src/dpp/verify/PlatformAddress/verifyPlatformAddressInfo.d.ts +2 -0
  195. package/dist/src/dpp/verify/PlatformAddress/verifyPlatformAddressInfo.js +12 -0
  196. package/dist/src/dpp/verify/PlatformAddress/verifyPlatformAddressesInfos.d.ts +2 -0
  197. package/dist/src/dpp/verify/PlatformAddress/verifyPlatformAddressesInfos.js +14 -0
  198. package/dist/src/dpp/verify/StateTransition/utils.js +8 -8
  199. package/dist/src/dpp/verify/System/verifyEpochsInfoProof.js +1 -1
  200. package/dist/src/dpp/verify/Tokens/verifyTokenBalancesForIdentitiesProof.js +1 -1
  201. package/dist/src/dpp/verify/Tokens/verifyTokenDirectPurchasePrices.js +1 -1
  202. package/dist/src/dpp/verify/Tokens/verifyTokensBalancesForIdentityProof.js +1 -1
  203. package/package.json +3 -3
  204. package/tests/unit/DynamicValue.spec.ts +40 -0
@@ -1,3 +1,5 @@
1
+ export const verifyAddressesInfos: any;
2
+ export const verifyAddressInfo: any;
1
3
  export const verifyContractProof: any;
2
4
  export const verifyDocumentsProof: any;
3
5
  export const verifyEpochsInfoProof: any;
@@ -64,6 +66,7 @@ export const IdentityNAPI: any;
64
66
  export const IdentityPublicKeyInCreationNAPI: any;
65
67
  export const IdentityPublicKeyNAPI: any;
66
68
  export const IdentityTokenBalanceNAPI: any;
69
+ export const IdentityTokenBalanceOptionalNAPI: any;
67
70
  export const IdentityTokenInfoNAPI: any;
68
71
  export const IdentityTopUpFromAddressesTransitionNAPI: any;
69
72
  export const IdentityTopUpTransitionNAPI: any;
@@ -76,6 +79,7 @@ export const OutPointNAPI: any;
76
79
  export const OutputAddressNAPI: any;
77
80
  export const OutputAddressNullableCreditsNAPI: any;
78
81
  export const PartialIdentityNAPI: any;
82
+ export const PlatformAddressInfoNAPI: any;
79
83
  export const PlatformAddressNAPI: any;
80
84
  export const PrefundedVotingBalanceNAPI: any;
81
85
  export const PrivateEncryptedNoteNAPI: any;
@@ -118,7 +122,6 @@ export const TotalSingleTokenBalanceNAPI: any;
118
122
  export const TransactionNAPI: any;
119
123
  export const TxInNAPI: any;
120
124
  export const TxOutNAPI: any;
121
- export const VerifiedAddressInfosNAPI: any;
122
125
  export const VerifiedBalanceTransferNAPI: any;
123
126
  export const VerifiedContractNAPI: any;
124
127
  export const VerifiedDocumentNAPI: any;
@@ -134,6 +137,8 @@ export const VerifiedIdentityKeysByIdentifierNAPI: any;
134
137
  export const VerifiedIdentityNonceNAPI: any;
135
138
  export const VerifiedIdentityTokenInfoNAPI: any;
136
139
  export const VerifiedIdentityWithAddressInfosNAPI: any;
140
+ export const VerifiedPlatformAddressesInfosNAPI: any;
141
+ export const VerifiedPlatformAddressInfoNAPI: any;
137
142
  export const VerifiedStateTransitionResultNAPI: any;
138
143
  export const VerifiedTokenBalancesForIdentitiesNAPI: any;
139
144
  export const VerifiedTokenContractInfoNAPI: any;
@@ -41,4 +41,4 @@ const wasm = instantiateNapiModuleSync(decompressSync(wasmBytes), {
41
41
  }
42
42
  }
43
43
  });
44
- export const { verifyContractProof, verifyDocumentsProof, verifyEpochsInfoProof, verifyIdentifierByNonUniquePublicKeyHashProof, verifyIdentityBalanceProof, verifyIdentityByIdentifierProof, verifyIdentityByUniqueKeyHashProof, verifyIdentityContractNonceProof, verifyIdentityKeysByIdentifierProof, verifyIdentityNonceProof, verifySignatureDigest, verifyStateTransitionResult, verifyTokenBalancesForIdentitiesProof, verifyTokenContractInfoProof, verifyTokenDirectPurchasePrices, verifyTokensBalancesForIdentityProof, verifyTokenTotalSupplyProof, verifyTotalCreditsProof, verifyVotePollVoteStateProof, ActionTakerNAPI, AddressCreditWithdrawalTransitionNAPI, AddressFundingFromAssetLockTransitionNAPI, AddressFundsFeeStrategyStepNAPI, AddressFundsTransferTransitionNAPI, AddressWitnessNAPI, AssetLockProofNAPI, AuthorizedActionTakersNAPI, BatchedTransitionNAPI, BatchTransitionNAPI, BlockBasedDistributionNAPI, BlockInfoNAPI, ChainAssetLockProofNAPI, ChangeControlRulesNAPI, ConsensusErrorNAPI, ContenderWithSerializedDocumentNAPI, ContestedDocumentVotePollQueryExecutionResultNAPI, ContractBoundsNAPI, CoreScriptNAPI, DataContractCreateTransitionNAPI, DataContractNAPI, DataContractUpdateTransitionNAPI, DistributionFunctionNAPI, DocumentBaseTransitionNAPI, DocumentCreateTransitionNAPI, DocumentDeleteTransitionNAPI, DocumentNAPI, DocumentPurchaseTransitionNAPI, DocumentReplaceTransitionNAPI, DocumentTransferTransitionNAPI, DocumentTransitionNAPI, DocumentUpdatePriceTransitionNAPI, DynamicValue, EpochBasedDistributionNAPI, ExtendedEpochInfoNAPI, GroupNAPI, GroupStateTransitionInfoNAPI, IdentifierNAPI, IdentityCreateFromAddressesTransitionNAPI, IdentityCreateTransitionNAPI, IdentityCreditTransferNAPI, IdentityCreditTransferToAddressesTransitionNAPI, IdentityCreditWithdrawalTransitionNAPI, IdentityNAPI, IdentityPublicKeyInCreationNAPI, IdentityPublicKeyNAPI, IdentityTokenBalanceNAPI, IdentityTokenInfoNAPI, IdentityTopUpFromAddressesTransitionNAPI, IdentityTopUpTransitionNAPI, IdentityUpdateTransitionNAPI, InputAddressNAPI, InstantAssetLockProofNAPI, InstantLockNAPI, MasternodeVoteTransitionNAPI, OutPointNAPI, OutputAddressNAPI, OutputAddressNullableCreditsNAPI, PartialIdentityNAPI, PlatformAddressNAPI, PrefundedVotingBalanceNAPI, PrivateEncryptedNoteNAPI, PrivateKeyNAPI, PublicKeyNAPI, ResourceVoteChoiceNAPI, RewardDistributionTypeNAPI, SharedEncryptedNoteNAPI, StateTransitionNAPI, TimeBasedDistributionNAPI, TokenBaseTransitionNAPI, TokenBurnTransitionNAPI, TokenClaimTransitionNAPI, TokenConfigUpdateTransitionNAPI, TokenConfigurationChangeItemNAPI, TokenConfigurationConventionNAPI, TokenConfigurationLocalizationNAPI, TokenConfigurationNAPI, TokenContractInfoNAPI, TokenDestroyFrozenFundsTransitionNAPI, TokenDirectPurchaseTransitionNAPI, TokenDistributionRecipientNAPI, TokenDistributionRulesNAPI, TokenEmergencyActionTransitionNAPI, TokenFreezeTransitionNAPI, TokenKeepsHistoryRulesNAPI, TokenMarketplaceRulesNAPI, TokenMintTransitionNAPI, TokenPaymentInfoNAPI, TokenPerpetualDistributionNAPI, TokenPreProgrammedDistributionNAPI, TokenPricingScheduleNAPI, TokenSetPriceForDirectPurchaseTransitionNAPI, TokenStatusNAPI, TokenTradeModeNAPI, TokenTransferTransitionNAPI, TokenTransitionNAPI, TokenUnFreezeTransitionNAPI, TotalSingleTokenBalanceNAPI, TransactionNAPI, TxInNAPI, TxOutNAPI, VerifiedAddressInfosNAPI, VerifiedBalanceTransferNAPI, VerifiedContractNAPI, VerifiedDocumentNAPI, VerifiedDocumentsNAPI, VerifiedEpochsInfoNAPI, VerifiedIdentifierByNonUniquePublicKeyHashNAPI, VerifiedIdentityBalanceRootHashNAPI, VerifiedIdentityByIdentifierNAPI, VerifiedIdentityByUniqueKeyHashNAPI, VerifiedIdentityContractNonceNAPI, VerifiedIdentityFullWithAddressInfosNAPI, VerifiedIdentityKeysByIdentifierNAPI, VerifiedIdentityNonceNAPI, VerifiedIdentityTokenInfoNAPI, VerifiedIdentityWithAddressInfosNAPI, VerifiedStateTransitionResultNAPI, VerifiedTokenBalancesForIdentitiesNAPI, VerifiedTokenContractInfoNAPI, VerifiedTokenDirectPurchasePricesNAPI, VerifiedTokenGroupActionWithDocumentNAPI, VerifiedTokenGroupActionWithTokenBalanceNAPI, VerifiedTokenGroupActionWithTokenIdentityInfoNAPI, VerifiedTokenGroupActionWithTokenPricingScheduleNAPI, VerifiedTokenPricingScheduleNAPI, VerifiedTokensBalancesForIdentityNAPI, VerifiedTokenTotalSupplyNAPI, VerifiedTotalCreditsNAPI, VerifiedVoteStateNAPI, VoteNAPI, VotePollNAPI, WitnessNAPI, ActionGoalNAPI, AssetLockProofTypeNAPI, BatchTypeNAPI, GasFeesPaidByNAPI, GroupActionStatusNAPI, KeyTypeNAPI, NetworkNAPI, PlatformVersionNAPI, PoolingNAPI, PurposeNAPI, SecurityLevelNAPI, TokenDistributionTypeNAPI, TokenEmergencyActionNAPI, VoteStateResultTypeNAPI } = wasm.napiModule.exports;
44
+ export const { verifyAddressesInfos, verifyAddressInfo, verifyContractProof, verifyDocumentsProof, verifyEpochsInfoProof, verifyIdentifierByNonUniquePublicKeyHashProof, verifyIdentityBalanceProof, verifyIdentityByIdentifierProof, verifyIdentityByUniqueKeyHashProof, verifyIdentityContractNonceProof, verifyIdentityKeysByIdentifierProof, verifyIdentityNonceProof, verifySignatureDigest, verifyStateTransitionResult, verifyTokenBalancesForIdentitiesProof, verifyTokenContractInfoProof, verifyTokenDirectPurchasePrices, verifyTokensBalancesForIdentityProof, verifyTokenTotalSupplyProof, verifyTotalCreditsProof, verifyVotePollVoteStateProof, ActionTakerNAPI, AddressCreditWithdrawalTransitionNAPI, AddressFundingFromAssetLockTransitionNAPI, AddressFundsFeeStrategyStepNAPI, AddressFundsTransferTransitionNAPI, AddressWitnessNAPI, AssetLockProofNAPI, AuthorizedActionTakersNAPI, BatchedTransitionNAPI, BatchTransitionNAPI, BlockBasedDistributionNAPI, BlockInfoNAPI, ChainAssetLockProofNAPI, ChangeControlRulesNAPI, ConsensusErrorNAPI, ContenderWithSerializedDocumentNAPI, ContestedDocumentVotePollQueryExecutionResultNAPI, ContractBoundsNAPI, CoreScriptNAPI, DataContractCreateTransitionNAPI, DataContractNAPI, DataContractUpdateTransitionNAPI, DistributionFunctionNAPI, DocumentBaseTransitionNAPI, DocumentCreateTransitionNAPI, DocumentDeleteTransitionNAPI, DocumentNAPI, DocumentPurchaseTransitionNAPI, DocumentReplaceTransitionNAPI, DocumentTransferTransitionNAPI, DocumentTransitionNAPI, DocumentUpdatePriceTransitionNAPI, DynamicValue, EpochBasedDistributionNAPI, ExtendedEpochInfoNAPI, GroupNAPI, GroupStateTransitionInfoNAPI, IdentifierNAPI, IdentityCreateFromAddressesTransitionNAPI, IdentityCreateTransitionNAPI, IdentityCreditTransferNAPI, IdentityCreditTransferToAddressesTransitionNAPI, IdentityCreditWithdrawalTransitionNAPI, IdentityNAPI, IdentityPublicKeyInCreationNAPI, IdentityPublicKeyNAPI, IdentityTokenBalanceNAPI, IdentityTokenBalanceOptionalNAPI, IdentityTokenInfoNAPI, IdentityTopUpFromAddressesTransitionNAPI, IdentityTopUpTransitionNAPI, IdentityUpdateTransitionNAPI, InputAddressNAPI, InstantAssetLockProofNAPI, InstantLockNAPI, MasternodeVoteTransitionNAPI, OutPointNAPI, OutputAddressNAPI, OutputAddressNullableCreditsNAPI, PartialIdentityNAPI, PlatformAddressInfoNAPI, PlatformAddressNAPI, PrefundedVotingBalanceNAPI, PrivateEncryptedNoteNAPI, PrivateKeyNAPI, PublicKeyNAPI, ResourceVoteChoiceNAPI, RewardDistributionTypeNAPI, SharedEncryptedNoteNAPI, StateTransitionNAPI, TimeBasedDistributionNAPI, TokenBaseTransitionNAPI, TokenBurnTransitionNAPI, TokenClaimTransitionNAPI, TokenConfigUpdateTransitionNAPI, TokenConfigurationChangeItemNAPI, TokenConfigurationConventionNAPI, TokenConfigurationLocalizationNAPI, TokenConfigurationNAPI, TokenContractInfoNAPI, TokenDestroyFrozenFundsTransitionNAPI, TokenDirectPurchaseTransitionNAPI, TokenDistributionRecipientNAPI, TokenDistributionRulesNAPI, TokenEmergencyActionTransitionNAPI, TokenFreezeTransitionNAPI, TokenKeepsHistoryRulesNAPI, TokenMarketplaceRulesNAPI, TokenMintTransitionNAPI, TokenPaymentInfoNAPI, TokenPerpetualDistributionNAPI, TokenPreProgrammedDistributionNAPI, TokenPricingScheduleNAPI, TokenSetPriceForDirectPurchaseTransitionNAPI, TokenStatusNAPI, TokenTradeModeNAPI, TokenTransferTransitionNAPI, TokenTransitionNAPI, TokenUnFreezeTransitionNAPI, TotalSingleTokenBalanceNAPI, TransactionNAPI, TxInNAPI, TxOutNAPI, VerifiedBalanceTransferNAPI, VerifiedContractNAPI, VerifiedDocumentNAPI, VerifiedDocumentsNAPI, VerifiedEpochsInfoNAPI, VerifiedIdentifierByNonUniquePublicKeyHashNAPI, VerifiedIdentityBalanceRootHashNAPI, VerifiedIdentityByIdentifierNAPI, VerifiedIdentityByUniqueKeyHashNAPI, VerifiedIdentityContractNonceNAPI, VerifiedIdentityFullWithAddressInfosNAPI, VerifiedIdentityKeysByIdentifierNAPI, VerifiedIdentityNonceNAPI, VerifiedIdentityTokenInfoNAPI, VerifiedIdentityWithAddressInfosNAPI, VerifiedPlatformAddressesInfosNAPI, VerifiedPlatformAddressInfoNAPI, VerifiedStateTransitionResultNAPI, VerifiedTokenBalancesForIdentitiesNAPI, VerifiedTokenContractInfoNAPI, VerifiedTokenDirectPurchasePricesNAPI, VerifiedTokenGroupActionWithDocumentNAPI, VerifiedTokenGroupActionWithTokenBalanceNAPI, VerifiedTokenGroupActionWithTokenIdentityInfoNAPI, VerifiedTokenGroupActionWithTokenPricingScheduleNAPI, VerifiedTokenPricingScheduleNAPI, VerifiedTokensBalancesForIdentityNAPI, VerifiedTokenTotalSupplyNAPI, VerifiedTotalCreditsNAPI, VerifiedVoteStateNAPI, VoteNAPI, VotePollNAPI, WitnessNAPI, ActionGoalNAPI, AssetLockProofTypeNAPI, BatchTypeNAPI, GasFeesPaidByNAPI, GroupActionStatusNAPI, KeyTypeNAPI, NetworkNAPI, PlatformVersionNAPI, PoolingNAPI, PurposeNAPI, SecurityLevelNAPI, TokenDistributionTypeNAPI, TokenEmergencyActionNAPI, VoteStateResultTypeNAPI } = wasm.napiModule.exports;
@@ -21,8 +21,8 @@ export { StateTransitionWASM } from './structs/StateTransition.js';
21
21
  export { PrivateEncryptedNoteWASM } from './structs/EncryptedNote/PrivateEncryptedNote.js';
22
22
  export { SharedEncryptedNoteWASM } from './structs/EncryptedNote/SharedEncryptedNote.js';
23
23
  export { GroupStateTransitionInfoWASM } from './structs/GroupStateTransitionInfo.js';
24
- export { PlatformAddressWASM } from './structs/Address/PlatformAddress.js';
25
- export { AddressWitnessWASM } from './structs/Address/AddressWitness.js';
24
+ export { PlatformAddressWASM } from './structs/PlatformAddress/PlatformAddress.js';
25
+ export { AddressWitnessWASM } from './structs/PlatformAddress/AddressWitness.js';
26
26
  export { IdentityCreateTransitionWASM } from './structs/IdentityTransitions/IdentityCreateTransition.js';
27
27
  export { IdentityTopUpTransitionWASM } from './structs/IdentityTransitions/IdentityTopUpTransition.js';
28
28
  export { IdentityUpdateTransitionWASM } from './structs/IdentityTransitions/IdentityUpdateTransition.js';
@@ -108,3 +108,5 @@ export { verifyTokenContractInfoProof } from './verify/Tokens/verifyTokenContrac
108
108
  export { verifyTokenDirectPurchasePrices } from './verify/Tokens/verifyTokenDirectPurchasePrices.js';
109
109
  export { verifyTokenTotalSupplyProof } from './verify/Tokens/verifyTokenTotalSupplyProof.js';
110
110
  export { verifyTokensBalancesForIdentityProof } from './verify/Tokens/verifyTokensBalancesForIdentityProof.js';
111
+ export { verifyPlatformAddressInfo } from './verify/PlatformAddress/verifyPlatformAddressInfo.js';
112
+ export { verifyPlatformAddressesInfos } from './verify/PlatformAddress/verifyPlatformAddressesInfos.js';
@@ -21,8 +21,8 @@ export { StateTransitionWASM } from './structs/StateTransition.js';
21
21
  export { PrivateEncryptedNoteWASM } from './structs/EncryptedNote/PrivateEncryptedNote.js';
22
22
  export { SharedEncryptedNoteWASM } from './structs/EncryptedNote/SharedEncryptedNote.js';
23
23
  export { GroupStateTransitionInfoWASM } from './structs/GroupStateTransitionInfo.js';
24
- export { PlatformAddressWASM } from './structs/Address/PlatformAddress.js';
25
- export { AddressWitnessWASM } from './structs/Address/AddressWitness.js';
24
+ export { PlatformAddressWASM } from './structs/PlatformAddress/PlatformAddress.js';
25
+ export { AddressWitnessWASM } from './structs/PlatformAddress/AddressWitness.js';
26
26
  export { IdentityCreateTransitionWASM } from './structs/IdentityTransitions/IdentityCreateTransition.js';
27
27
  export { IdentityTopUpTransitionWASM } from './structs/IdentityTransitions/IdentityTopUpTransition.js';
28
28
  export { IdentityUpdateTransitionWASM } from './structs/IdentityTransitions/IdentityUpdateTransition.js';
@@ -108,3 +108,5 @@ export { verifyTokenContractInfoProof } from './verify/Tokens/verifyTokenContrac
108
108
  export { verifyTokenDirectPurchasePrices } from './verify/Tokens/verifyTokenDirectPurchasePrices.js';
109
109
  export { verifyTokenTotalSupplyProof } from './verify/Tokens/verifyTokenTotalSupplyProof.js';
110
110
  export { verifyTokensBalancesForIdentityProof } from './verify/Tokens/verifyTokensBalancesForIdentityProof.js';
111
+ export { verifyPlatformAddressInfo } from './verify/PlatformAddress/verifyPlatformAddressInfo.js';
112
+ export { verifyPlatformAddressesInfos } from './verify/PlatformAddress/verifyPlatformAddressesInfos.js';
@@ -1 +1 @@
1
- export { KeyTypeNAPI as KeyType, NetworkNAPI as NetworkWASM, PlatformVersionNAPI as PlatformVersionWASM, PurposeNAPI as Purpose, SecurityLevelNAPI as SecurityLevel, ActionGoalNAPI as ActionGoal, TokenDistributionTypeNAPI as TokenDistributionType, TokenEmergencyActionNAPI as TokenEmergencyAction, AssetLockProofTypeNAPI as AssetLockProofType, PoolingNAPI as Pooling, GasFeesPaidByNAPI as GasFeesPaidBy, VoteStateResultTypeNAPI as VoteStateResultType } from '../../binaries/bindingsTypes.js';
1
+ export { KeyTypeNAPI as KeyType, NetworkNAPI as NetworkWASM, PlatformVersionNAPI as PlatformVersionWASM, PurposeNAPI as Purpose, SecurityLevelNAPI as SecurityLevel, ActionGoalNAPI as ActionGoal, TokenDistributionTypeNAPI as TokenDistributionType, TokenEmergencyActionNAPI as TokenEmergencyActionWASM, AssetLockProofTypeNAPI as AssetLockProofType, PoolingNAPI as PoolingWASM, GasFeesPaidByNAPI as GasFeesPaidByWASM, VoteStateResultTypeNAPI as VoteStateResultType } from '../../binaries/bindingsTypes.js';
@@ -1 +1 @@
1
- export { KeyTypeNAPI as KeyType, NetworkNAPI as NetworkWASM, PlatformVersionNAPI as PlatformVersionWASM, PurposeNAPI as Purpose, SecurityLevelNAPI as SecurityLevel, ActionGoalNAPI as ActionGoal, TokenDistributionTypeNAPI as TokenDistributionType, TokenEmergencyActionNAPI as TokenEmergencyAction, AssetLockProofTypeNAPI as AssetLockProofType, PoolingNAPI as Pooling, GasFeesPaidByNAPI as GasFeesPaidBy, VoteStateResultTypeNAPI as VoteStateResultType } from '../../binaries/bindingsTypes.js';
1
+ export { KeyTypeNAPI as KeyType, NetworkNAPI as NetworkWASM, PlatformVersionNAPI as PlatformVersionWASM, PurposeNAPI as Purpose, SecurityLevelNAPI as SecurityLevel, ActionGoalNAPI as ActionGoal, TokenDistributionTypeNAPI as TokenDistributionType, TokenEmergencyActionNAPI as TokenEmergencyActionWASM, AssetLockProofTypeNAPI as AssetLockProofType, PoolingNAPI as PoolingWASM, GasFeesPaidByNAPI as GasFeesPaidByWASM, VoteStateResultTypeNAPI as VoteStateResultType } from '../../binaries/bindingsTypes.js';
@@ -1,9 +1,9 @@
1
- import { AddressCreditWithdrawalTransitionNAPI } from '../../../../binaries/bindingsTypes.js';
1
+ import type { AddressCreditWithdrawalTransitionNAPI } from '../../../../binaries/bindingsTypes.js';
2
2
  import { InputAddressWASM } from './entities/InputAddress.js';
3
3
  import { AddressFundsFeeStrategyStepWASM } from './entities/AddressFundsFeeStrategyStep.js';
4
4
  import { PoolingLike } from '../../types.js';
5
5
  import { CoreScriptWASM } from '../CoreScript.js';
6
- import { AddressWitnessWASM } from '../Address/AddressWitness.js';
6
+ import { AddressWitnessWASM } from '../PlatformAddress/AddressWitness.js';
7
7
  import { OutputAddressWASM } from './entities/OutputAddress.js';
8
8
  import { StateTransitionWASM } from '../StateTransition.js';
9
9
  export declare class AddressCreditWithdrawalTransitionWASM {
@@ -1,7 +1,7 @@
1
1
  import { InputAddressWASM } from './entities/InputAddress.js';
2
2
  import { AddressFundsFeeStrategyStepWASM } from './entities/AddressFundsFeeStrategyStep.js';
3
3
  import { CoreScriptWASM } from '../CoreScript.js';
4
- import { AddressWitnessWASM } from '../Address/AddressWitness.js';
4
+ import { AddressWitnessWASM } from '../PlatformAddress/AddressWitness.js';
5
5
  import { OutputAddressWASM } from './entities/OutputAddress.js';
6
6
  import { dppProvider } from '../../provider.js';
7
7
  import { valueToDynamicValue } from '../../utils.js';
@@ -88,7 +88,7 @@ export class AddressCreditWithdrawalTransitionWASM {
88
88
  return AddressCreditWithdrawalTransitionWASM.createFromRawInstance(dppProvider.dpp.AddressCreditWithdrawalTransitionNAPI.fromStateTransition(st._rawStateTransition));
89
89
  }
90
90
  static createFromRawInstance(rawInstance) {
91
- const instance = Object.create(this.prototype);
91
+ const instance = Object.create(AddressCreditWithdrawalTransitionWASM.prototype);
92
92
  instance._rawAddressCreditWithdrawalTransition = rawInstance;
93
93
  return instance;
94
94
  }
@@ -1,8 +1,8 @@
1
- import { AddressFundingFromAssetLockTransitionNAPI } from '../../../../binaries/bindingsTypes.js';
1
+ import type { AddressFundingFromAssetLockTransitionNAPI } from '../../../../binaries/bindingsTypes.js';
2
2
  import { AssetLockProofWASM } from '../AssetLockProof/AssetLockProof.js';
3
3
  import { InputAddressWASM } from './entities/InputAddress.js';
4
4
  import { AddressFundsFeeStrategyStepWASM } from './entities/AddressFundsFeeStrategyStep.js';
5
- import { AddressWitnessWASM } from '../Address/AddressWitness.js';
5
+ import { AddressWitnessWASM } from '../PlatformAddress/AddressWitness.js';
6
6
  import { OutputAddressNullableCreditsWASM } from './entities/OutputAddressNullableCredits.js';
7
7
  import { StateTransitionWASM } from '../StateTransition.js';
8
8
  export declare class AddressFundingFromAssetLockTransitionWASM {
@@ -1,7 +1,7 @@
1
1
  import { AssetLockProofWASM } from '../AssetLockProof/AssetLockProof.js';
2
2
  import { InputAddressWASM } from './entities/InputAddress.js';
3
3
  import { AddressFundsFeeStrategyStepWASM } from './entities/AddressFundsFeeStrategyStep.js';
4
- import { AddressWitnessWASM } from '../Address/AddressWitness.js';
4
+ import { AddressWitnessWASM } from '../PlatformAddress/AddressWitness.js';
5
5
  import { OutputAddressNullableCreditsWASM } from './entities/OutputAddressNullableCredits.js';
6
6
  import { dppProvider } from '../../provider.js';
7
7
  import { StateTransitionWASM } from '../StateTransition.js';
@@ -78,8 +78,8 @@ export class AddressFundingFromAssetLockTransitionWASM {
78
78
  return AddressFundingFromAssetLockTransitionWASM.createFromRawInstance(dppProvider.dpp.AddressFundingFromAssetLockTransitionNAPI.fromStateTransition(stateTransition._rawStateTransition));
79
79
  }
80
80
  static createFromRawInstance(rawInstance) {
81
- const instance = Object.create(this.prototype);
82
- instance._rawAddressFundingFromAssetLockTransitionNAPI = rawInstance;
81
+ const instance = Object.create(AddressFundingFromAssetLockTransitionWASM.prototype);
82
+ instance._rawAddressFundingFromAssetLockTransition = rawInstance;
83
83
  return instance;
84
84
  }
85
85
  }
@@ -1,7 +1,7 @@
1
- import { AddressFundsTransferTransitionNAPI } from '../../../../binaries/bindingsTypes.js';
1
+ import type { AddressFundsTransferTransitionNAPI } from '../../../../binaries/bindingsTypes.js';
2
2
  import { InputAddressWASM } from './entities/InputAddress.js';
3
3
  import { AddressFundsFeeStrategyStepWASM } from './entities/AddressFundsFeeStrategyStep.js';
4
- import { AddressWitnessWASM } from '../Address/AddressWitness.js';
4
+ import { AddressWitnessWASM } from '../PlatformAddress/AddressWitness.js';
5
5
  import { OutputAddressWASM } from './entities/OutputAddress.js';
6
6
  import { StateTransitionWASM } from '../StateTransition.js';
7
7
  export declare class AddressFundsTransferTransitionWASM {
@@ -1,6 +1,6 @@
1
1
  import { InputAddressWASM } from './entities/InputAddress.js';
2
2
  import { AddressFundsFeeStrategyStepWASM } from './entities/AddressFundsFeeStrategyStep.js';
3
- import { AddressWitnessWASM } from '../Address/AddressWitness.js';
3
+ import { AddressWitnessWASM } from '../PlatformAddress/AddressWitness.js';
4
4
  import { OutputAddressWASM } from './entities/OutputAddress.js';
5
5
  import { dppProvider } from '../../provider.js';
6
6
  import { StateTransitionWASM } from '../StateTransition.js';
@@ -65,8 +65,8 @@ export class AddressFundsTransferTransitionWASM {
65
65
  return AddressFundsTransferTransitionWASM.createFromRawInstance(dppProvider.dpp.AddressFundsTransferTransitionNAPI.fromStateTransition(stateTransition._rawStateTransition));
66
66
  }
67
67
  static createFromRawInstance(rawInstance) {
68
- const instance = Object.create(this.prototype);
69
- instance._rawAddressFundingFromAssetLockTransitionNAPI = rawInstance;
68
+ const instance = Object.create(AddressFundsTransferTransitionWASM.prototype);
69
+ instance._rawAddressFundsTransferTransition = rawInstance;
70
70
  return instance;
71
71
  }
72
72
  }
@@ -1,8 +1,8 @@
1
- import { IdentityCreateFromAddressesTransitionNAPI } from '../../../../binaries/bindingsTypes.js';
1
+ import type { IdentityCreateFromAddressesTransitionNAPI } from '../../../../binaries/bindingsTypes.js';
2
2
  import { IdentityPublicKeyInCreationWASM } from '../IdentityPublicKeyInCreation.js';
3
3
  import { InputAddressWASM } from './entities/InputAddress.js';
4
4
  import { AddressFundsFeeStrategyStepWASM } from './entities/AddressFundsFeeStrategyStep.js';
5
- import { AddressWitnessWASM } from '../Address/AddressWitness.js';
5
+ import { AddressWitnessWASM } from '../PlatformAddress/AddressWitness.js';
6
6
  import { OutputAddressWASM } from './entities/OutputAddress.js';
7
7
  import { StateTransitionWASM } from '../StateTransition.js';
8
8
  export declare class IdentityCreateFromAddressesTransitionWASM {
@@ -1,7 +1,7 @@
1
1
  import { IdentityPublicKeyInCreationWASM } from '../IdentityPublicKeyInCreation.js';
2
2
  import { InputAddressWASM } from './entities/InputAddress.js';
3
3
  import { AddressFundsFeeStrategyStepWASM } from './entities/AddressFundsFeeStrategyStep.js';
4
- import { AddressWitnessWASM } from '../Address/AddressWitness.js';
4
+ import { AddressWitnessWASM } from '../PlatformAddress/AddressWitness.js';
5
5
  import { OutputAddressWASM } from './entities/OutputAddress.js';
6
6
  import { dppProvider } from '../../provider.js';
7
7
  import { StateTransitionWASM } from '../StateTransition.js';
@@ -75,7 +75,7 @@ export class IdentityCreateFromAddressesTransitionWASM {
75
75
  return IdentityCreateFromAddressesTransitionWASM.createFromRawInstance(dppProvider.dpp.IdentityCreateFromAddressesTransitionNAPI.fromStateTransition(stateTransition._rawStateTransition));
76
76
  }
77
77
  static createFromRawInstance(rawInstance) {
78
- const instance = Object.create(this.prototype);
78
+ const instance = Object.create(IdentityCreateFromAddressesTransitionWASM.prototype);
79
79
  instance._rawIdentityCreateFromAddressesTransition = rawInstance;
80
80
  return instance;
81
81
  }
@@ -1,4 +1,4 @@
1
- import { IdentityCreditTransferToAddressesTransitionNAPI } from '../../../../binaries/bindingsTypes.js';
1
+ import type { IdentityCreditTransferToAddressesTransitionNAPI } from '../../../../binaries/bindingsTypes.js';
2
2
  import { IdentifierLike } from '../../types.js';
3
3
  import { OutputAddressWASM } from './entities/OutputAddress.js';
4
4
  import { IdentifierWASM } from '../Identifier.js';
@@ -70,7 +70,7 @@ export class IdentityCreditTransferToAddressesTransitionWASM {
70
70
  return IdentityCreditTransferToAddressesTransitionWASM.createFromRawInstance(dppProvider.dpp.IdentityCreditTransferToAddressesTransitionNAPI.fromStateTransition(stateTransition._rawStateTransition));
71
71
  }
72
72
  static createFromRawInstance(rawInstance) {
73
- const instance = Object.create(this.prototype);
73
+ const instance = Object.create(IdentityCreditTransferToAddressesTransitionWASM.prototype);
74
74
  instance._rawIdentityCreditTransferToAddressesTransition = rawInstance;
75
75
  return instance;
76
76
  }
@@ -1,8 +1,8 @@
1
- import { IdentityTopUpFromAddressesTransitionNAPI } from '../../../../binaries/bindingsTypes.js';
1
+ import type { IdentityTopUpFromAddressesTransitionNAPI } from '../../../../binaries/bindingsTypes.js';
2
2
  import { IdentifierLike } from '../../types.js';
3
3
  import { InputAddressWASM } from './entities/InputAddress.js';
4
4
  import { AddressFundsFeeStrategyStepWASM } from './entities/AddressFundsFeeStrategyStep.js';
5
- import { AddressWitnessWASM } from '../Address/AddressWitness.js';
5
+ import { AddressWitnessWASM } from '../PlatformAddress/AddressWitness.js';
6
6
  import { OutputAddressWASM } from './entities/OutputAddress.js';
7
7
  import { StateTransitionWASM } from '../StateTransition.js';
8
8
  export declare class IdentityTopUpFromAddressesTransitionWASM {
@@ -1,7 +1,7 @@
1
1
  import { dppProvider } from '../../provider.js';
2
2
  import { InputAddressWASM } from './entities/InputAddress.js';
3
3
  import { AddressFundsFeeStrategyStepWASM } from './entities/AddressFundsFeeStrategyStep.js';
4
- import { AddressWitnessWASM } from '../Address/AddressWitness.js';
4
+ import { AddressWitnessWASM } from '../PlatformAddress/AddressWitness.js';
5
5
  import { OutputAddressWASM } from './entities/OutputAddress.js';
6
6
  import { prepareIdentifierValue } from '../../utils.js';
7
7
  import { StateTransitionWASM } from '../StateTransition.js';
@@ -69,7 +69,7 @@ export class IdentityTopUpFromAddressesTransitionWASM {
69
69
  return IdentityTopUpFromAddressesTransitionWASM.createFromRawInstance(dppProvider.dpp.IdentityTopUpFromAddressesTransitionNAPI.fromStateTransition(stateTransition._rawStateTransition));
70
70
  }
71
71
  static createFromRawInstance(rawInstance) {
72
- const instance = Object.create(this.prototype);
72
+ const instance = Object.create(IdentityTopUpFromAddressesTransitionWASM.prototype);
73
73
  instance._rawIdentityTopUpFromAddressesTransition = rawInstance;
74
74
  return instance;
75
75
  }
@@ -1,4 +1,4 @@
1
- import { AddressFundsFeeStrategyStepNAPI } from '../../../../../binaries/bindingsTypes.js';
1
+ import type { AddressFundsFeeStrategyStepNAPI } from '../../../../../binaries/bindingsTypes.js';
2
2
  export declare class AddressFundsFeeStrategyStepWASM {
3
3
  /** @private **/
4
4
  _rawAddressFundsFeeStrategyStep: AddressFundsFeeStrategyStepNAPI;
@@ -1,11 +1,12 @@
1
- import { InputAddressNAPI } from '../../../../../binaries/bindingsTypes.js';
2
- import { PlatformAddressWASM } from '../../Address/PlatformAddress.js';
1
+ import type { InputAddressNAPI } from '../../../../../binaries/bindingsTypes.js';
2
+ import { PlatformAddressWASM } from '../../PlatformAddress/PlatformAddress.js';
3
+ import { PlatformAddressLike } from '../../../types.js';
3
4
  export declare class InputAddressWASM {
4
5
  /** @private **/
5
6
  _rawInputAddress: InputAddressNAPI;
6
- constructor(address: PlatformAddressWASM, nonce: number, credits: bigint);
7
+ constructor(address: PlatformAddressLike, nonce: number, credits: bigint);
7
8
  get address(): PlatformAddressWASM;
8
- set address(value: PlatformAddressWASM);
9
+ set address(value: PlatformAddressLike);
9
10
  get nonce(): number;
10
11
  set nonce(value: number);
11
12
  get credits(): bigint;
@@ -1,16 +1,17 @@
1
- import { PlatformAddressWASM } from '../../Address/PlatformAddress.js';
1
+ import { PlatformAddressWASM } from '../../PlatformAddress/PlatformAddress.js';
2
2
  import { dppProvider } from '../../../provider.js';
3
+ import { preparePlatformAddressValue } from '../../../utils.js';
3
4
  export class InputAddressWASM {
4
5
  /** @private **/
5
6
  _rawInputAddress;
6
7
  constructor(address, nonce, credits) {
7
- this._rawInputAddress = new dppProvider.dpp.InputAddressNAPI(address._rawPlatformAddress, nonce, credits.toString());
8
+ this._rawInputAddress = new dppProvider.dpp.InputAddressNAPI(preparePlatformAddressValue(address), nonce, credits.toString());
8
9
  }
9
10
  get address() {
10
11
  return PlatformAddressWASM.createFromRawInstance(this._rawInputAddress.address);
11
12
  }
12
13
  set address(value) {
13
- this._rawInputAddress.address = value._rawPlatformAddress;
14
+ this._rawInputAddress.address = preparePlatformAddressValue(value);
14
15
  }
15
16
  get nonce() {
16
17
  return this._rawInputAddress.nonce;
@@ -25,7 +26,7 @@ export class InputAddressWASM {
25
26
  this._rawInputAddress.credits = value.toString();
26
27
  }
27
28
  static createFromRawInstance(rawInstance) {
28
- const instance = Object.create(this.prototype);
29
+ const instance = Object.create(InputAddressWASM.prototype);
29
30
  instance._rawInputAddress = rawInstance;
30
31
  return instance;
31
32
  }
@@ -1,11 +1,12 @@
1
- import { OutputAddressNAPI } from '../../../../../binaries/bindingsTypes.js';
2
- import { PlatformAddressWASM } from '../../Address/PlatformAddress.js';
1
+ import type { OutputAddressNAPI } from '../../../../../binaries/bindingsTypes.js';
2
+ import { PlatformAddressWASM } from '../../PlatformAddress/PlatformAddress.js';
3
+ import { PlatformAddressLike } from '../../../types.js';
3
4
  export declare class OutputAddressWASM {
4
5
  /** @private **/
5
6
  _rawOutputAddress: OutputAddressNAPI;
6
- constructor(address: PlatformAddressWASM, credits: bigint);
7
+ constructor(address: PlatformAddressLike, credits: bigint);
7
8
  get address(): PlatformAddressWASM;
8
- set address(address: PlatformAddressWASM);
9
+ set address(address: PlatformAddressLike);
9
10
  get credits(): bigint;
10
11
  set credits(credits: bigint);
11
12
  static createFromRawInstance(rawInstance: OutputAddressNAPI): OutputAddressWASM;
@@ -1,16 +1,17 @@
1
1
  import { dppProvider } from '../../../provider.js';
2
- import { PlatformAddressWASM } from '../../Address/PlatformAddress.js';
2
+ import { PlatformAddressWASM } from '../../PlatformAddress/PlatformAddress.js';
3
+ import { preparePlatformAddressValue } from '../../../utils.js';
3
4
  export class OutputAddressWASM {
4
5
  /** @private **/
5
6
  _rawOutputAddress;
6
7
  constructor(address, credits) {
7
- this._rawOutputAddress = new dppProvider.dpp.OutputAddressNAPI(address._rawPlatformAddress, credits.toString());
8
+ this._rawOutputAddress = new dppProvider.dpp.OutputAddressNAPI(preparePlatformAddressValue(address), credits.toString());
8
9
  }
9
10
  get address() {
10
11
  return PlatformAddressWASM.createFromRawInstance(this._rawOutputAddress.address);
11
12
  }
12
13
  set address(address) {
13
- this._rawOutputAddress.address = address._rawPlatformAddress;
14
+ this._rawOutputAddress.address = preparePlatformAddressValue(address);
14
15
  }
15
16
  get credits() {
16
17
  return BigInt(this._rawOutputAddress.credits);
@@ -19,7 +20,7 @@ export class OutputAddressWASM {
19
20
  this._rawOutputAddress.credits = credits.toString();
20
21
  }
21
22
  static createFromRawInstance(rawInstance) {
22
- const instance = Object.create(this.prototype);
23
+ const instance = Object.create(OutputAddressWASM.prototype);
23
24
  instance._rawOutputAddress = rawInstance;
24
25
  return instance;
25
26
  }
@@ -1,11 +1,12 @@
1
- import { OutputAddressNullableCreditsNAPI } from '../../../../../binaries/bindingsTypes.js';
2
- import { PlatformAddressWASM } from '../../Address/PlatformAddress.js';
1
+ import type { OutputAddressNullableCreditsNAPI } from '../../../../../binaries/bindingsTypes.js';
2
+ import { PlatformAddressWASM } from '../../PlatformAddress/PlatformAddress.js';
3
+ import { PlatformAddressLike } from '../../../types.js';
3
4
  export declare class OutputAddressNullableCreditsWASM {
4
5
  /** @private **/
5
6
  _rawOutputAddressNullableCredits: OutputAddressNullableCreditsNAPI;
6
- constructor(address: PlatformAddressWASM, credits?: bigint);
7
+ constructor(address: PlatformAddressLike, credits?: bigint);
7
8
  get address(): PlatformAddressWASM;
8
- set address(address: PlatformAddressWASM);
9
+ set address(address: PlatformAddressLike);
9
10
  get credits(): BigInt | undefined;
10
11
  set credits(value: BigInt | undefined);
11
12
  static createFromRawInstance(rawInstance: OutputAddressNullableCreditsNAPI): OutputAddressNullableCreditsWASM;
@@ -1,16 +1,17 @@
1
- import { PlatformAddressWASM } from '../../Address/PlatformAddress.js';
1
+ import { PlatformAddressWASM } from '../../PlatformAddress/PlatformAddress.js';
2
2
  import { dppProvider } from '../../../provider.js';
3
+ import { preparePlatformAddressValue } from '../../../utils.js';
3
4
  export class OutputAddressNullableCreditsWASM {
4
5
  /** @private **/
5
6
  _rawOutputAddressNullableCredits;
6
7
  constructor(address, credits) {
7
- this._rawOutputAddressNullableCredits = new dppProvider.dpp.OutputAddressNullableCreditsNAPI(address._rawPlatformAddress, credits?.toString());
8
+ this._rawOutputAddressNullableCredits = new dppProvider.dpp.OutputAddressNullableCreditsNAPI(preparePlatformAddressValue(address), credits?.toString());
8
9
  }
9
10
  get address() {
10
11
  return PlatformAddressWASM.createFromRawInstance(this._rawOutputAddressNullableCredits.address);
11
12
  }
12
13
  set address(address) {
13
- this._rawOutputAddressNullableCredits.address = address._rawPlatformAddress;
14
+ this._rawOutputAddressNullableCredits.address = preparePlatformAddressValue(address);
14
15
  }
15
16
  get credits() {
16
17
  const credits = this._rawOutputAddressNullableCredits.credits;
@@ -22,7 +23,7 @@ export class OutputAddressNullableCreditsWASM {
22
23
  this._rawOutputAddressNullableCredits.credits = value?.toString();
23
24
  }
24
25
  static createFromRawInstance(rawInstance) {
25
- const instance = Object.create(this.prototype);
26
+ const instance = Object.create(OutputAddressNullableCreditsWASM.prototype);
26
27
  instance._rawOutputAddressNullableCredits = rawInstance;
27
28
  return instance;
28
29
  }
@@ -1,4 +1,4 @@
1
- import { AssetLockProofNAPI } from '../../../../binaries/bindingsTypes.js';
1
+ import type { AssetLockProofNAPI } from '../../../../binaries/bindingsTypes.js';
2
2
  import { InstantAssetLockProofWASM } from './InstantAssetLockProof.js';
3
3
  import { ChainAssetLockProofWASM } from './ChainAssetLockProof.js';
4
4
  import { OutPointWASM } from './OutPoint.js';
@@ -1,4 +1,3 @@
1
- import { AssetLockProofNAPI } from '../../../../binaries/bindingsTypes.js';
2
1
  import { InstantAssetLockProofWASM } from './InstantAssetLockProof.js';
3
2
  import { ChainAssetLockProofWASM } from './ChainAssetLockProof.js';
4
3
  import { dppProvider } from '../../provider.js';
@@ -41,10 +40,10 @@ export class AssetLockProofWASM {
41
40
  return this._rawAssetLockProof.hex();
42
41
  }
43
42
  static fromHex(value) {
44
- return AssetLockProofWASM.createFromRawInstance(AssetLockProofNAPI.fromHex(value));
43
+ return AssetLockProofWASM.createFromRawInstance(dppProvider.dpp.AssetLockProofNAPI.fromHex(value));
45
44
  }
46
45
  static createFromRawInstance(rawInstance) {
47
- const instance = Object.create(this.prototype);
46
+ const instance = Object.create(AssetLockProofWASM.prototype);
48
47
  instance._rawAssetLockProof = rawInstance;
49
48
  return instance;
50
49
  }
@@ -1,4 +1,4 @@
1
- import { ChainAssetLockProofNAPI } from '../../../../binaries/bindingsTypes.js';
1
+ import type { ChainAssetLockProofNAPI } from '../../../../binaries/bindingsTypes.js';
2
2
  import { OutPointWASM } from './OutPoint.js';
3
3
  import { IdentifierWASM } from '../Identifier.js';
4
4
  export declare class ChainAssetLockProofWASM {
@@ -4,7 +4,7 @@ import { IdentifierWASM } from '../Identifier.js';
4
4
  export class ChainAssetLockProofWASM {
5
5
  _rawLockProof;
6
6
  constructor(coreChainLockedHeight, outPoint) {
7
- this._rawLockProof = new dppProvider.dpp.ChainAssetLockProofNAPI(coreChainLockedHeight, outPoint);
7
+ this._rawLockProof = new dppProvider.dpp.ChainAssetLockProofNAPI(coreChainLockedHeight, outPoint._rawOutPoint);
8
8
  }
9
9
  set coreChainLockedHeight(height) {
10
10
  this._rawLockProof.coreChainLockedHeight = height;
@@ -29,7 +29,7 @@ export class ChainAssetLockProofWASM {
29
29
  }));
30
30
  }
31
31
  static createFromRawInstance(rawInstance) {
32
- const instance = Object.create(this.prototype);
32
+ const instance = Object.create(ChainAssetLockProofWASM.prototype);
33
33
  instance._rawLockProof = rawInstance;
34
34
  return instance;
35
35
  }
@@ -1,4 +1,4 @@
1
- import { InstantAssetLockProofNAPI } from '../../../../binaries/bindingsTypes.js';
1
+ import type { InstantAssetLockProofNAPI } from '../../../../binaries/bindingsTypes.js';
2
2
  import { TxOutWASM } from './TxOut.js';
3
3
  import { OutPointWASM } from './OutPoint.js';
4
4
  import { InstantLockWASM } from '../InstantLock.js';
@@ -41,7 +41,7 @@ export class InstantAssetLockProofWASM {
41
41
  return InstantAssetLockProofWASM.createFromRawInstance(dppProvider.dpp.InstantAssetLockProofNAPI.fromRawObject(obj));
42
42
  }
43
43
  static createFromRawInstance(rawInstance) {
44
- const instance = Object.create(this.prototype);
44
+ const instance = Object.create(InstantAssetLockProofWASM.prototype);
45
45
  instance._rawLockProof = rawInstance;
46
46
  return instance;
47
47
  }
@@ -1,4 +1,4 @@
1
- import { OutPointNAPI } from '../../../../binaries/bindingsTypes.js';
1
+ import type { OutPointNAPI } from '../../../../binaries/bindingsTypes.js';
2
2
  export declare class OutPointWASM {
3
3
  /** @private **/
4
4
  _rawOutPoint: OutPointNAPI;
@@ -33,7 +33,7 @@ export class OutPointWASM {
33
33
  return OutPointWASM.createFromRawInstance(instance);
34
34
  }
35
35
  static createFromRawInstance(rawInstance) {
36
- const instance = Object.create(this.prototype);
36
+ const instance = Object.create(OutPointWASM.prototype);
37
37
  instance._rawOutPoint = rawInstance;
38
38
  return instance;
39
39
  }
@@ -1,4 +1,4 @@
1
- import { TransactionNAPI } from '../../../../binaries/bindingsTypes.js';
1
+ import type { TransactionNAPI } from '../../../../binaries/bindingsTypes.js';
2
2
  import { TxInWASM } from './TxIn.js';
3
3
  import { TxOutWASM } from './TxOut.js';
4
4
  export declare class TransactionWASM {
@@ -42,7 +42,7 @@ export class TransactionWASM {
42
42
  return this._rawTransaction.getTxId();
43
43
  }
44
44
  static createFromRawInstance(rawInstance) {
45
- const instance = Object.create(this.prototype);
45
+ const instance = Object.create(TransactionWASM.prototype);
46
46
  instance._rawTransaction = rawInstance;
47
47
  return instance;
48
48
  }
@@ -1,4 +1,4 @@
1
- import { TxInNAPI } from '../../../../binaries/bindingsTypes.js';
1
+ import type { TxInNAPI } from '../../../../binaries/bindingsTypes.js';
2
2
  import { OutPointWASM } from './OutPoint.js';
3
3
  import { WitnessWASM } from './Witness.js';
4
4
  export declare class TxInWASM {
@@ -32,7 +32,7 @@ export class TxInWASM {
32
32
  this._rawTxIn.witnesses = witness._rawWitness;
33
33
  }
34
34
  static createFromRawInstance(rawInstance) {
35
- const instance = Object.create(this.prototype);
35
+ const instance = Object.create(TxInWASM.prototype);
36
36
  instance._rawTxIn = rawInstance;
37
37
  return instance;
38
38
  }
@@ -1,4 +1,4 @@
1
- import { TxOutNAPI } from '../../../../binaries/bindingsTypes.js';
1
+ import type { TxOutNAPI } from '../../../../binaries/bindingsTypes.js';
2
2
  export declare class TxOutWASM {
3
3
  _rawTxOut: TxOutNAPI;
4
4
  constructor(value: bigint, scriptPubKey: Uint8Array);
@@ -27,7 +27,7 @@ export class TxOutWASM {
27
27
  return this._rawTxOut.getScriptPubKeyASM();
28
28
  }
29
29
  static createFromRawInstance(rawInstance) {
30
- const instance = Object.create(this.prototype);
30
+ const instance = Object.create(TxOutWASM.prototype);
31
31
  instance._rawTxOut = rawInstance;
32
32
  return instance;
33
33
  }
@@ -1,4 +1,4 @@
1
- import { WitnessNAPI } from '../../../../binaries/bindingsTypes.js';
1
+ import type { WitnessNAPI } from '../../../../binaries/bindingsTypes.js';
2
2
  export declare class WitnessWASM {
3
3
  /** @private **/
4
4
  _rawWitness: WitnessNAPI;
@@ -18,7 +18,7 @@ export class WitnessWASM {
18
18
  this._rawWitness.push(value);
19
19
  }
20
20
  static createFromRawInstance(rawInstance) {
21
- const instance = Object.create(this.prototype);
21
+ const instance = Object.create(WitnessWASM.prototype);
22
22
  instance._rawWitness = rawInstance;
23
23
  return instance;
24
24
  }
@@ -1,4 +1,4 @@
1
- import { BatchTransitionNAPI } from '../../../../binaries/bindingsTypes.js';
1
+ import type { BatchTransitionNAPI } from '../../../../binaries/bindingsTypes.js';
2
2
  import { IdentifierLike } from '../../types.js';
3
3
  import { BatchedTransitionWASM } from './BatchedTransition.js';
4
4
  import { DocumentTransitionWASM } from './DocumentTransition.js';