pshenmic-dpp 2.0.0-dev.18 → 2.0.0-dev.19

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 (36) hide show
  1. package/dist/binaries/bindingsTypes.d.ts +146 -4
  2. package/dist/binaries/bindingsTypes.js +1 -0
  3. package/dist/binaries/native/aarch64-apple-darwin/pshenmic_dpp.node +0 -0
  4. package/dist/binaries/native/x86_64-apple-darwin/pshenmic_dpp.node +0 -0
  5. package/dist/binaries/native/x86_64-unknown-linux-gnu/pshenmic_dpp.node +0 -0
  6. package/dist/binaries/native/x86_64-unknown-linux-musl/pshenmic_dpp.node +0 -0
  7. package/dist/binaries/pshenmic_dpp.android.node/arm64-v8a/libpshenmic_dpp.so +0 -0
  8. package/dist/binaries/pshenmic_dpp.apple.node/ios-arm64-simulator/libpshenmic_dpp.framework/libpshenmic_dpp +0 -0
  9. package/dist/binaries/pshenmic_dpp.d.ts +9 -0
  10. package/dist/binaries/pshenmic_dpp.js +1 -1
  11. package/dist/binaries/wasm/wasmBytes.cjs +1 -1
  12. package/dist/binaries/wasm/wasmBytes.d.cts +1 -1
  13. package/dist/binaries/wasm.d.ts +9 -0
  14. package/dist/binaries/wasm.js +1 -1
  15. package/dist/src/dpp/dpp.d.ts +7 -0
  16. package/dist/src/dpp/dpp.js +7 -0
  17. package/dist/src/dpp/structs/MasternodeVote/MasternodeVoteTransition.d.ts +0 -2
  18. package/dist/src/dpp/structs/MasternodeVote/MasternodeVoteTransition.js +0 -6
  19. package/dist/src/dpp/structs/ShieldedTransitions/IdentityCreateFromShieldedPoolTransition.d.ts +31 -0
  20. package/dist/src/dpp/structs/ShieldedTransitions/IdentityCreateFromShieldedPoolTransition.js +73 -0
  21. package/dist/src/dpp/structs/ShieldedTransitions/SerializedAction.d.ts +19 -0
  22. package/dist/src/dpp/structs/ShieldedTransitions/SerializedAction.js +49 -0
  23. package/dist/src/dpp/structs/ShieldedTransitions/ShieldFromAssetLockTransition.d.ts +30 -0
  24. package/dist/src/dpp/structs/ShieldedTransitions/ShieldFromAssetLockTransition.js +77 -0
  25. package/dist/src/dpp/structs/ShieldedTransitions/ShieldTransition.d.ts +32 -0
  26. package/dist/src/dpp/structs/ShieldedTransitions/ShieldTransition.js +78 -0
  27. package/dist/src/dpp/structs/ShieldedTransitions/ShieldedTransferTransition.d.ts +21 -0
  28. package/dist/src/dpp/structs/ShieldedTransitions/ShieldedTransferTransition.js +51 -0
  29. package/dist/src/dpp/structs/ShieldedTransitions/ShieldedWithdrawalTransition.d.ts +29 -0
  30. package/dist/src/dpp/structs/ShieldedTransitions/ShieldedWithdrawalTransition.js +71 -0
  31. package/dist/src/dpp/structs/ShieldedTransitions/UnshieldTransition.d.ts +25 -0
  32. package/dist/src/dpp/structs/ShieldedTransitions/UnshieldTransition.js +59 -0
  33. package/dist/src/dpp/types.d.ts +30 -2
  34. package/dist/src/dpp/verify/StateTransition/utils.js +76 -11
  35. package/package.json +1 -1
  36. package/tests/unit/ShieldedTransitions.spec.ts +709 -0
@@ -111,6 +111,12 @@ export declare class AssetLockProofNAPI {
111
111
  hex(): string;
112
112
  static fromHex(assetLockProof: string): AssetLockProofNAPI;
113
113
  }
114
+ export declare class AssetLockValueNAPI {
115
+ get initialCreditValue(): BigIntString;
116
+ get txOutScript(): Uint8Array;
117
+ get remainingCreditValue(): BigIntString;
118
+ get usedTags(): Array<Uint8Array>;
119
+ }
114
120
  export declare class AuthorizedActionTakersNAPI {
115
121
  static NoOne(): AuthorizedActionTakersNAPI;
116
122
  static ContractOwner(): AuthorizedActionTakersNAPI;
@@ -517,6 +523,27 @@ export declare class IdentityCreateFromAddressesTransitionNAPI {
517
523
  static fromStateTransition(st: StateTransitionNAPI): IdentityCreateFromAddressesTransitionNAPI;
518
524
  toStateTransition(): StateTransitionNAPI;
519
525
  }
526
+ export declare class IdentityCreateFromShieldedPoolTransitionNAPI {
527
+ constructor(jsPublicKeys: Array<IdentityPublicKeyInCreationNAPI>, jsDenomination: BigIntString, jsActions: Array<SerializedActionNAPI>, jsAnchor: Uint8Array, jsProof: Uint8Array, jsBindingsSignature: Uint8Array, jsSendToAddressOnCreationFailure: PlatformAddressLikeNAPI, jsIdentityId: IdentifierLikeNAPI);
528
+ get publicKeys(): Array<IdentityPublicKeyInCreationNAPI>;
529
+ get denomination(): BigIntString;
530
+ get actions(): Array<SerializedActionNAPI>;
531
+ get anchor(): Uint8Array;
532
+ get proof(): Uint8Array;
533
+ get bindingsSignature(): Uint8Array;
534
+ get sendToAddressOnCreationFailure(): PlatformAddressNAPI;
535
+ get identityId(): IdentifierNAPI;
536
+ set publicKeys(jsPublicKeys: Array<IdentityPublicKeyInCreationNAPI>);
537
+ set denomination(denomination: BigIntString);
538
+ set actions(actions: Array<SerializedActionNAPI>);
539
+ set anchor(jsAnchor: Uint8Array);
540
+ set proof(proof: Uint8Array);
541
+ set bindingsSignature(jsBindingsSignature: Uint8Array);
542
+ set sendToAddressOnCreationFailure(jsAddress: PlatformAddressLikeNAPI);
543
+ set identityId(jsId: IdentifierLikeNAPI);
544
+ toStateTransition(): StateTransitionNAPI;
545
+ static fromStateTransition(st: StateTransitionNAPI): IdentityCreateFromShieldedPoolTransitionNAPI;
546
+ }
520
547
  export declare class IdentityCreateTransitionNAPI {
521
548
  constructor(jsPublicKeys: Array<IdentityPublicKeyInCreationNAPI>, assetLock: AssetLockProofNAPI, signature?: Uint8Array | undefined | null, userFeeIncrease?: number | undefined | null);
522
549
  static default(jsPlatformVersion: DynamicValue): IdentityCreateTransitionNAPI;
@@ -836,10 +863,8 @@ export declare class MasternodeVoteTransitionNAPI {
836
863
  hex(): string;
837
864
  base64(): string;
838
865
  static fromBytes(jsBytes: Uint8Array): MasternodeVoteTransitionNAPI;
839
- get userFeeIncrease(): number;
840
866
  getSignableBytes(): Uint8Array;
841
867
  get assetLock(): AssetLockProofNAPI | null;
842
- set userFeeIncrease(amount: number);
843
868
  get modifiedDataIds(): Array<IdentifierNAPI>;
844
869
  toStateTransition(): StateTransitionNAPI;
845
870
  static fromStateTransition(st: StateTransitionNAPI): MasternodeVoteTransitionNAPI;
@@ -950,6 +975,21 @@ export declare class RewardDistributionTypeNAPI {
950
975
  static EpochBasedDistribution(interval: number, distributionFunction: DistributionFunctionNAPI): RewardDistributionTypeNAPI;
951
976
  getDistribution(): BlockBasedDistributionNAPI | TimeBasedDistributionNAPI | EpochBasedDistributionNAPI;
952
977
  }
978
+ export declare class SerializedActionNAPI {
979
+ constructor(jsNullifier: Uint8Array, jsRk: Uint8Array, jsCmx: Uint8Array, jsEncryptedNote: Uint8Array, jsCvNet: Uint8Array, jsSpendAuthSig: Uint8Array);
980
+ get nullifier(): Uint8Array;
981
+ get rk(): Uint8Array;
982
+ get cmx(): Uint8Array;
983
+ get encrypted_note(): Uint8Array;
984
+ get cvNet(): Uint8Array;
985
+ get spendAuthSig(): Uint8Array;
986
+ set nullifier(jsNullifier: Uint8Array);
987
+ set rk(jsRk: Uint8Array);
988
+ set cmx(jsCmx: Uint8Array);
989
+ set encrypted_note(jsEncryptedNote: Uint8Array);
990
+ set cvNet(jsCvNet: Uint8Array);
991
+ set spendAuthSig(jsSpendAuthSig: Uint8Array);
992
+ }
953
993
  export declare class SharedEncryptedNoteNAPI {
954
994
  constructor(senderKeyIndex: number, recipientKeyIndex: number, value: Uint8Array);
955
995
  get senderKeyIndex(): number;
@@ -959,6 +999,86 @@ export declare class SharedEncryptedNoteNAPI {
959
999
  set recipientKeyIndex(index: number);
960
1000
  set value(value: Uint8Array);
961
1001
  }
1002
+ export declare class ShieldedTransferTransitionNAPI {
1003
+ constructor(jsActions: Array<SerializedActionNAPI>, jsValueBalance: BigIntString, jsAnchor: Uint8Array, jsProof: Uint8Array, jsBindingsSignature: Uint8Array);
1004
+ get actions(): Array<SerializedActionNAPI>;
1005
+ get valueBalance(): BigIntString;
1006
+ get anchor(): Uint8Array;
1007
+ get proof(): Uint8Array;
1008
+ get bindingsSignature(): Uint8Array;
1009
+ set actions(actions: Array<SerializedActionNAPI>);
1010
+ set valueBalance(amount: BigIntString);
1011
+ set anchor(jsAnchor: Uint8Array);
1012
+ set proof(proof: Uint8Array);
1013
+ set bindingsSignature(jsBindingsSignature: Uint8Array);
1014
+ toStateTransition(): StateTransitionNAPI;
1015
+ static fromStateTransition(st: StateTransitionNAPI): ShieldedTransferTransitionNAPI;
1016
+ }
1017
+ export declare class ShieldedWithdrawalTransitionNAPI {
1018
+ constructor(jsActions: Array<SerializedActionNAPI>, jsUnshieldingAmount: BigIntString, jsAnchor: Uint8Array, jsProof: Uint8Array, jsBindingsSignature: Uint8Array, coreFeePerByte: number, jsPooling: DynamicValue, jsOutputScript: CoreScriptNAPI);
1019
+ get actions(): Array<SerializedActionNAPI>;
1020
+ get unshieldingAmount(): BigIntString;
1021
+ get anchor(): Uint8Array;
1022
+ get proof(): Uint8Array;
1023
+ get bindingsSignature(): Uint8Array;
1024
+ get coreFeePerByte(): number;
1025
+ get pooling(): string;
1026
+ get outputScript(): CoreScriptNAPI;
1027
+ set actions(actions: Array<SerializedActionNAPI>);
1028
+ set unshieldingAmount(amount: BigIntString);
1029
+ set anchor(jsAnchor: Uint8Array);
1030
+ set proof(proof: Uint8Array);
1031
+ set bindingsSignature(jsBindingsSignature: Uint8Array);
1032
+ set coreFeePerByte(coreFeePerByte: number);
1033
+ set pooling(jsPooling: DynamicValue);
1034
+ set outputScript(outputScript: CoreScriptNAPI);
1035
+ toStateTransition(): StateTransitionNAPI;
1036
+ static fromStateTransition(st: StateTransitionNAPI): ShieldedWithdrawalTransitionNAPI;
1037
+ }
1038
+ export declare class ShieldFromAssetLockTransitionNAPI {
1039
+ constructor(jsAssetLockProof: AssetLockProofNAPI, jsActions: Array<SerializedActionNAPI>, jsValueBalance: BigIntString, jsAnchor: Uint8Array, jsProof: Uint8Array, jsBindingsSignature: Uint8Array, jsSurplusOutput?: PlatformAddressLikeNAPI | undefined | null);
1040
+ get assetLockProof(): AssetLockProofNAPI;
1041
+ get actions(): Array<SerializedActionNAPI>;
1042
+ get valueBalance(): BigIntString;
1043
+ get anchor(): Uint8Array;
1044
+ get proof(): Uint8Array;
1045
+ get bindingsSignature(): Uint8Array;
1046
+ get surplusOutput(): PlatformAddressNAPI | null;
1047
+ get signature(): Uint8Array;
1048
+ set assetLockProof(jsAssetLockProof: AssetLockProofNAPI);
1049
+ set actions(actions: Array<SerializedActionNAPI>);
1050
+ set valueBalance(amount: BigIntString);
1051
+ set anchor(jsAnchor: Uint8Array);
1052
+ set proof(proof: Uint8Array);
1053
+ set bindingsSignature(jsBindingsSignature: Uint8Array);
1054
+ set surplusOutput(jsSurplusOutput: PlatformAddressLikeNAPI | undefined | null);
1055
+ set signature(signature: Uint8Array);
1056
+ toStateTransition(): StateTransitionNAPI;
1057
+ static fromStateTransition(st: StateTransitionNAPI): ShieldFromAssetLockTransitionNAPI;
1058
+ }
1059
+ export declare class ShieldTransitionNAPI {
1060
+ constructor(jsInputs: Array<InputAddressNAPI>, jsActions: Array<SerializedActionNAPI>, jsAmount: BigIntString, jsAnchor: Uint8Array, jsProof: Uint8Array, jsBindingsSignature: Uint8Array, jsFeeStrategy: Array<AddressFundsFeeStrategyStepNAPI>, userFeeIncrease: number, jsInputWitnesses: Array<AddressWitnessNAPI>);
1061
+ get inputs(): Array<InputAddressNAPI>;
1062
+ get actions(): Array<SerializedActionNAPI>;
1063
+ get amount(): BigIntString;
1064
+ get anchor(): Uint8Array;
1065
+ get proof(): Uint8Array;
1066
+ get bindingsSignature(): Uint8Array;
1067
+ get feeStrategy(): Array<AddressFundsFeeStrategyStepNAPI>;
1068
+ get userFeeIncrease(): number;
1069
+ get inputWitnesses(): Array<AddressWitnessNAPI>;
1070
+ set inputs(jsInputs: Array<InputAddressNAPI>);
1071
+ set actions(actions: Array<SerializedActionNAPI>);
1072
+ set amount(amount: BigIntString);
1073
+ set anchor(jsAnchor: Uint8Array);
1074
+ set proof(proof: Uint8Array);
1075
+ set bindingsSignature(jsBindingsSignature: Uint8Array);
1076
+ set feeStrategy(feeStrategy: Array<AddressFundsFeeStrategyStepNAPI>);
1077
+ set userFeeIncrease(userFeeIncrease: number);
1078
+ set inputWitnesses(jsInputWitnesses: Array<AddressWitnessNAPI>);
1079
+ toStateTransition(): StateTransitionNAPI;
1080
+ static fromStateTransition(st: StateTransitionNAPI): ShieldTransitionNAPI;
1081
+ }
962
1082
  export declare class StateTransitionNAPI {
963
1083
  sign(jsPrivateKey: DynamicValue | PrivateKeyNAPI, publicKey: IdentityPublicKeyNAPI): Uint8Array;
964
1084
  signByPrivateKey(jsPrivateKey: DynamicValue | PrivateKeyNAPI, keyId?: number | undefined | null, jsKeyType?: DynamicValue | undefined | null): Uint8Array;
@@ -989,6 +1109,10 @@ export declare class StateTransitionNAPI {
989
1109
  setIdentityContractNonce(nonce: BigIntString): void;
990
1110
  setIdentityNonce(nonce: BigIntString): void;
991
1111
  }
1112
+ export declare class StoredAssetLockInfoNAPI {
1113
+ get type(): string;
1114
+ get value(): AssetLockValueNAPI | null;
1115
+ }
992
1116
  export declare class TimeBasedDistributionNAPI {
993
1117
  interval: BigIntString;
994
1118
  get function(): DistributionFunctionNAPI;
@@ -1354,6 +1478,23 @@ export declare class TxOutNAPI {
1354
1478
  set scriptPubKeyBytes(scriptPubkeyBytes: Uint8Array);
1355
1479
  getScriptPubKeyASM(): string;
1356
1480
  }
1481
+ export declare class UnshieldTransitionNAPI {
1482
+ constructor(jsOutputAddress: PlatformAddressLikeNAPI, jsActions: Array<SerializedActionNAPI>, jsUnshieldingAmount: BigIntString, jsAnchor: Uint8Array, jsProof: Uint8Array, jsBindingsSignature: Uint8Array);
1483
+ get outputAddress(): PlatformAddressNAPI;
1484
+ get actions(): Array<SerializedActionNAPI>;
1485
+ get unshieldingAmount(): BigIntString;
1486
+ get anchor(): Uint8Array;
1487
+ get proof(): Uint8Array;
1488
+ get bindingsSignature(): Uint8Array;
1489
+ set outputAddress(jsOutputAddress: PlatformAddressLikeNAPI);
1490
+ set actions(actions: Array<SerializedActionNAPI>);
1491
+ set unshieldingAmount(amount: BigIntString);
1492
+ set anchor(jsAnchor: Uint8Array);
1493
+ set proof(proof: Uint8Array);
1494
+ set bindingsSignature(jsBindingsSignature: Uint8Array);
1495
+ toStateTransition(): StateTransitionNAPI;
1496
+ static fromStateTransition(st: StateTransitionNAPI): UnshieldTransitionNAPI;
1497
+ }
1357
1498
  export declare class VerifiedBalanceTransferNAPI {
1358
1499
  get sender(): PartialIdentityNAPI;
1359
1500
  get recipient(): PartialIdentityNAPI;
@@ -1434,7 +1575,7 @@ export declare class VerifiedPlatformAddressInfoNAPI {
1434
1575
  }
1435
1576
  export declare class VerifiedStateTransitionResultNAPI {
1436
1577
  rootHash: Uint8Array;
1437
- get result(): DataContractNAPI | IdentityNAPI | IdentifierNAPI | VerifiedIdentityBalanceNAPI | VerifiedIdentityTokenInfoNAPI | VerifiedTokenPricingScheduleNAPI | TokenStatusNAPI | Array<VerifiedIdentityBalanceNAPI> | PartialIdentityNAPI | VerifiedBalanceTransferNAPI | Array<VerifiedDocumentNAPI> | DocumentNAPI | VerifiedTokenGroupActionWithDocumentNAPI | VerifiedTokenGroupActionWithTokenBalanceNAPI | VerifiedTokenGroupActionWithTokenIdentityInfoNAPI | VerifiedTokenGroupActionWithTokenPricingScheduleNAPI | VoteNAPI | Array<PlatformAddressInfoNAPI> | VerifiedIdentityFullWithAddressInfosNAPI | VerifiedIdentityWithAddressInfosNAPI;
1578
+ get result(): DataContractNAPI | IdentityNAPI | IdentifierNAPI | VerifiedIdentityBalanceNAPI | VerifiedIdentityTokenInfoNAPI | VerifiedTokenPricingScheduleNAPI | TokenStatusNAPI | Array<VerifiedIdentityBalanceNAPI> | PartialIdentityNAPI | VerifiedBalanceTransferNAPI | Array<VerifiedDocumentNAPI> | DocumentNAPI | VerifiedTokenGroupActionWithDocumentNAPI | VerifiedTokenGroupActionWithTokenBalanceNAPI | VerifiedTokenGroupActionWithTokenIdentityInfoNAPI | VerifiedTokenGroupActionWithTokenPricingScheduleNAPI | VoteNAPI | Array<PlatformAddressInfoNAPI> | VerifiedIdentityFullWithAddressInfosNAPI | VerifiedIdentityWithAddressInfosNAPI | StoredAssetLockInfoNAPI | Array<[Uint8Array, boolean]> | [Array<[Uint8Array, boolean]>, Array<PlatformAddressInfoNAPI>] | [Array<[Uint8Array, boolean]>, Array<VerifiedDocumentNAPI>] | [StoredAssetLockInfoNAPI, Array<PlatformAddressInfoNAPI>] | [IdentityNAPI, Array<[Uint8Array, boolean]>];
1438
1579
  }
1439
1580
  export declare class VerifiedTokenBalancesForIdentitiesNAPI {
1440
1581
  rootHash: Uint8Array;
@@ -1658,7 +1799,8 @@ export declare const enum PlatformVersionNAPI {
1658
1799
  PLATFORM_V8 = 8,
1659
1800
  PLATFORM_V9 = 9,
1660
1801
  PLATFORM_V10 = 10,
1661
- PLATFORM_V11 = 11
1802
+ PLATFORM_V11 = 11,
1803
+ PLATFORM_V12 = 12
1662
1804
  }
1663
1805
  export declare const enum PoolingNAPI {
1664
1806
  Never = 0,
@@ -57,6 +57,7 @@ export var PlatformVersionNAPI;
57
57
  PlatformVersionNAPI[PlatformVersionNAPI["PLATFORM_V9"] = 9] = "PLATFORM_V9";
58
58
  PlatformVersionNAPI[PlatformVersionNAPI["PLATFORM_V10"] = 10] = "PLATFORM_V10";
59
59
  PlatformVersionNAPI[PlatformVersionNAPI["PLATFORM_V11"] = 11] = "PLATFORM_V11";
60
+ PlatformVersionNAPI[PlatformVersionNAPI["PLATFORM_V12"] = 12] = "PLATFORM_V12";
60
61
  })(PlatformVersionNAPI || (PlatformVersionNAPI = {}));
61
62
  export var PoolingNAPI;
62
63
  (function (PoolingNAPI) {
@@ -26,6 +26,7 @@ export const AddressFundsFeeStrategyStepNAPI: any;
26
26
  export const AddressFundsTransferTransitionNAPI: any;
27
27
  export const AddressWitnessNAPI: any;
28
28
  export const AssetLockProofNAPI: any;
29
+ export const AssetLockValueNAPI: any;
29
30
  export const AuthorizedActionTakersNAPI: any;
30
31
  export const BatchedTransitionNAPI: any;
31
32
  export const BatchTransitionNAPI: any;
@@ -58,6 +59,7 @@ export const GroupNAPI: any;
58
59
  export const GroupStateTransitionInfoNAPI: any;
59
60
  export const IdentifierNAPI: any;
60
61
  export const IdentityCreateFromAddressesTransitionNAPI: any;
62
+ export const IdentityCreateFromShieldedPoolTransitionNAPI: any;
61
63
  export const IdentityCreateTransitionNAPI: any;
62
64
  export const IdentityCreditTransferNAPI: any;
63
65
  export const IdentityCreditTransferToAddressesTransitionNAPI: any;
@@ -87,8 +89,14 @@ export const PrivateKeyNAPI: any;
87
89
  export const PublicKeyNAPI: any;
88
90
  export const ResourceVoteChoiceNAPI: any;
89
91
  export const RewardDistributionTypeNAPI: any;
92
+ export const SerializedActionNAPI: any;
90
93
  export const SharedEncryptedNoteNAPI: any;
94
+ export const ShieldedTransferTransitionNAPI: any;
95
+ export const ShieldedWithdrawalTransitionNAPI: any;
96
+ export const ShieldFromAssetLockTransitionNAPI: any;
97
+ export const ShieldTransitionNAPI: any;
91
98
  export const StateTransitionNAPI: any;
99
+ export const StoredAssetLockInfoNAPI: any;
92
100
  export const TimeBasedDistributionNAPI: any;
93
101
  export const TokenBaseTransitionNAPI: any;
94
102
  export const TokenBurnTransitionNAPI: any;
@@ -122,6 +130,7 @@ export const TotalSingleTokenBalanceNAPI: any;
122
130
  export const TransactionNAPI: any;
123
131
  export const TxInNAPI: any;
124
132
  export const TxOutNAPI: any;
133
+ export const UnshieldTransitionNAPI: any;
125
134
  export const VerifiedBalanceTransferNAPI: any;
126
135
  export const VerifiedContractNAPI: any;
127
136
  export const VerifiedDocumentNAPI: any;
@@ -1,3 +1,3 @@
1
1
  /* eslint-disable */
2
2
  import { requireNodeAddon } from 'react-native-node-api';
3
- 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 } = requireNodeAddon('./pshenmic-dpp--pshenmic_dpp');
3
+ 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, AssetLockValueNAPI, 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, IdentityCreateFromShieldedPoolTransitionNAPI, 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, SerializedActionNAPI, SharedEncryptedNoteNAPI, ShieldedTransferTransitionNAPI, ShieldedWithdrawalTransitionNAPI, ShieldFromAssetLockTransitionNAPI, ShieldTransitionNAPI, StateTransitionNAPI, StoredAssetLockInfoNAPI, 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, UnshieldTransitionNAPI, 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 } = requireNodeAddon('./pshenmic-dpp--pshenmic_dpp');