pshenmic-dpp 2.0.0-dev.1 → 2.0.0-dev.2
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.
- package/dist/binaries/bindingsTypes.d.ts +6 -2
- package/dist/binaries/bindingsTypes.js +1 -0
- package/dist/binaries/pshenmic_dpp.android.node/x86_64/libpshenmic_dpp.so +0 -0
- package/dist/binaries/wasm/wasmBytes.js +1 -1
- package/dist/src/dpp/enums.d.ts +1 -1
- package/dist/src/dpp/enums.js +1 -1
- package/dist/src/dpp/structs/Address/AddressWitness.d.ts +1 -1
- package/dist/src/dpp/structs/Address/PlatformAddress.d.ts +1 -1
- package/dist/src/dpp/structs/AddressTransitions/AddressCreditWithdrawalTransition.d.ts +1 -1
- package/dist/src/dpp/structs/AddressTransitions/AddressFundingFromAssetLockTransition.d.ts +1 -1
- package/dist/src/dpp/structs/AddressTransitions/AddressFundsTransferTransition.d.ts +1 -1
- package/dist/src/dpp/structs/AddressTransitions/IdentityCreateFromAddressesTransition.d.ts +1 -1
- package/dist/src/dpp/structs/AddressTransitions/IdentityCreditTransferToAddressesTransition.d.ts +1 -1
- package/dist/src/dpp/structs/AddressTransitions/IdentityTopUpFromAddressesTransition.d.ts +1 -1
- package/dist/src/dpp/structs/AddressTransitions/entities/AddressFundsFeeStrategyStep.d.ts +1 -1
- package/dist/src/dpp/structs/AddressTransitions/entities/InputAddress.d.ts +1 -1
- package/dist/src/dpp/structs/AddressTransitions/entities/OutputAddress.d.ts +1 -1
- package/dist/src/dpp/structs/AddressTransitions/entities/OutputAddressNullableCredits.d.ts +1 -1
- package/dist/src/dpp/structs/AssetLockProof/AssetLockProof.d.ts +1 -1
- package/dist/src/dpp/structs/AssetLockProof/AssetLockProof.js +1 -2
- package/dist/src/dpp/structs/AssetLockProof/ChainAssetLockProof.d.ts +1 -1
- package/dist/src/dpp/structs/AssetLockProof/InstantAssetLockProof.d.ts +1 -1
- package/dist/src/dpp/structs/AssetLockProof/OutPoint.d.ts +1 -1
- package/dist/src/dpp/structs/AssetLockProof/Transaction.d.ts +1 -1
- package/dist/src/dpp/structs/AssetLockProof/TxIn.d.ts +1 -1
- package/dist/src/dpp/structs/AssetLockProof/TxOut.d.ts +1 -1
- package/dist/src/dpp/structs/AssetLockProof/Witness.d.ts +1 -1
- package/dist/src/dpp/structs/Batch/BatchTransition.d.ts +1 -1
- package/dist/src/dpp/structs/Batch/BatchedTransition.d.ts +3 -2
- package/dist/src/dpp/structs/Batch/DocumentBaseTransition.d.ts +3 -3
- package/dist/src/dpp/structs/Batch/DocumentBaseTransition.js +2 -2
- package/dist/src/dpp/structs/Batch/DocumentTransition.d.ts +1 -1
- package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentCreateTransition.d.ts +1 -1
- package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentDeleteTransition.d.ts +1 -1
- package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentPurchaseTransition.d.ts +1 -1
- package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentReplaceTransition.d.ts +1 -1
- package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentTransferTransition.d.ts +1 -1
- package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentUpdatePriceTransition.d.ts +1 -1
- package/dist/src/dpp/structs/Batch/PrefundedVotingBalance.d.ts +1 -1
- package/dist/src/dpp/structs/Batch/TokenBaseTransition.d.ts +1 -1
- package/dist/src/dpp/structs/Batch/TokenPaymentInfo.d.ts +2 -2
- package/dist/src/dpp/structs/Batch/TokenPaymentInfo.js +1 -1
- package/dist/src/dpp/structs/Batch/TokenPricingSchedule.d.ts +1 -1
- package/dist/src/dpp/structs/Batch/TokenTransition.d.ts +2 -2
- package/dist/src/dpp/structs/Batch/TokenTransitions/TokenBurnTransition.d.ts +1 -1
- package/dist/src/dpp/structs/Batch/TokenTransitions/TokenClaimTransition.d.ts +1 -1
- package/dist/src/dpp/structs/Batch/TokenTransitions/TokenConfigUpdateTransition.d.ts +1 -1
- package/dist/src/dpp/structs/Batch/TokenTransitions/TokenDestroyFrozenFundsTransition.d.ts +1 -1
- package/dist/src/dpp/structs/Batch/TokenTransitions/TokenDirectPurchaseTransition.d.ts +1 -1
- package/dist/src/dpp/structs/Batch/TokenTransitions/TokenEmergencyActionTransition.d.ts +1 -1
- package/dist/src/dpp/structs/Batch/TokenTransitions/TokenFreezeTransition.d.ts +1 -1
- package/dist/src/dpp/structs/Batch/TokenTransitions/TokenMintTransition.d.ts +2 -2
- package/dist/src/dpp/structs/Batch/TokenTransitions/TokenMintTransition.js +1 -1
- package/dist/src/dpp/structs/Batch/TokenTransitions/TokenSetPriceForDirectPurchaseTransition.d.ts +1 -1
- package/dist/src/dpp/structs/Batch/TokenTransitions/TokenTransferTransition.d.ts +1 -1
- package/dist/src/dpp/structs/Batch/TokenTransitions/TokenUnFreezeTransition.d.ts +1 -1
- package/dist/src/dpp/structs/ConsensusError.d.ts +2 -2
- package/dist/src/dpp/structs/ConsensusError.js +1 -1
- package/dist/src/dpp/structs/ContractBounds.d.ts +1 -1
- package/dist/src/dpp/structs/CoreScript.d.ts +1 -1
- package/dist/src/dpp/structs/DataContract.d.ts +3 -2
- package/dist/src/dpp/structs/DataContract.js +4 -1
- package/dist/src/dpp/structs/DataContractTransitions/DataContractCreateTransition.d.ts +1 -1
- package/dist/src/dpp/structs/DataContractTransitions/DataContractUpdateTransition.d.ts +1 -1
- package/dist/src/dpp/structs/Document.d.ts +2 -2
- package/dist/src/dpp/structs/Document.js +2 -2
- package/dist/src/dpp/structs/EncryptedNote/PrivateEncryptedNote.d.ts +1 -1
- package/dist/src/dpp/structs/EncryptedNote/SharedEncryptedNote.d.ts +1 -1
- package/dist/src/dpp/structs/GroupStateTransitionInfo.d.ts +1 -1
- package/dist/src/dpp/structs/Identifier.d.ts +1 -1
- package/dist/src/dpp/structs/Identity.d.ts +1 -1
- package/dist/src/dpp/structs/IdentityPublicKey.d.ts +1 -1
- package/dist/src/dpp/structs/IdentityPublicKeyInCreation.d.ts +1 -1
- package/dist/src/dpp/structs/IdentityTransitions/IdentityCreateTransition.d.ts +1 -1
- package/dist/src/dpp/structs/IdentityTransitions/IdentityCreditTransfer.d.ts +1 -1
- package/dist/src/dpp/structs/IdentityTransitions/IdentityCreditWithdrawalTransition.d.ts +2 -2
- package/dist/src/dpp/structs/IdentityTransitions/IdentityTopUpTransition.d.ts +2 -2
- package/dist/src/dpp/structs/IdentityTransitions/IdentityTopUpTransition.js +1 -1
- package/dist/src/dpp/structs/IdentityTransitions/IdentityUpdateTransition.d.ts +2 -2
- package/dist/src/dpp/structs/IdentityTransitions/IdentityUpdateTransition.js +1 -1
- package/dist/src/dpp/structs/InstantLock.d.ts +1 -1
- package/dist/src/dpp/structs/MasternodeVote/MasternodeVoteTransition.d.ts +1 -1
- package/dist/src/dpp/structs/MasternodeVote/ResourceVoteChoice.d.ts +1 -1
- package/dist/src/dpp/structs/MasternodeVote/Vote.d.ts +1 -1
- package/dist/src/dpp/structs/MasternodeVote/VotePoll.d.ts +1 -1
- package/dist/src/dpp/structs/PartialIdentity.d.ts +1 -1
- package/dist/src/dpp/structs/PrivateKey.d.ts +1 -1
- package/dist/src/dpp/structs/PublicKey.d.ts +1 -1
- package/dist/src/dpp/structs/StateTransition.d.ts +1 -1
- package/dist/src/dpp/structs/TokenConfiguration/ActionTaker.d.ts +2 -2
- package/dist/src/dpp/structs/TokenConfiguration/AuthorizedActionTakers.d.ts +1 -1
- package/dist/src/dpp/structs/TokenConfiguration/ChangeControlRules.d.ts +1 -1
- package/dist/src/dpp/structs/TokenConfiguration/DistributionFunction.d.ts +1 -1
- package/dist/src/dpp/structs/TokenConfiguration/Group.d.ts +1 -1
- package/dist/src/dpp/structs/TokenConfiguration/RewardDistributionType.d.ts +1 -1
- package/dist/src/dpp/structs/TokenConfiguration/TokenConfiguration.d.ts +1 -1
- package/dist/src/dpp/structs/TokenConfiguration/TokenConfigurationChangeItem.d.ts +1 -1
- package/dist/src/dpp/structs/TokenConfiguration/TokenConfigurationConvention.d.ts +1 -1
- package/dist/src/dpp/structs/TokenConfiguration/TokenConfigurationLocalization.d.ts +1 -1
- package/dist/src/dpp/structs/TokenConfiguration/TokenDistributionRecipient.d.ts +1 -1
- package/dist/src/dpp/structs/TokenConfiguration/TokenDistributionRules.d.ts +1 -1
- package/dist/src/dpp/structs/TokenConfiguration/TokenKeepsHistoryRules.d.ts +1 -1
- package/dist/src/dpp/structs/TokenConfiguration/TokenMarketplaceRules.d.ts +1 -1
- package/dist/src/dpp/structs/TokenConfiguration/TokenPerpetualDistribution.d.ts +1 -1
- package/dist/src/dpp/structs/TokenConfiguration/TokenPreProgrammedDistribution.d.ts +1 -1
- package/dist/src/dpp/structs/TokenConfiguration/TokenTradeMode.d.ts +1 -1
- package/dist/src/dpp/types.d.ts +29 -30
- package/dist/src/dpp/utils.d.ts +1 -1
- package/dist/src/dpp/utils.js +14 -0
- package/dist/src/dpp/verify/Contested/verifyVotePollVoteStateProof.d.ts +1 -1
- package/dist/src/dpp/verify/Contested/verifyVotePollVoteStateProof.js +1 -1
- package/dist/src/dpp/verify/Document/verifyDocumentsProof.d.ts +1 -1
- package/dist/src/dpp/verify/Document/verifyDocumentsProof.js +1 -1
- package/dist/src/dpp/verify/StateTransition/utils.js +3 -3
- package/dist/src/dpp/verify/Tokens/verifyTokenDirectPurchasePrices.js +1 -1
- package/package.json +1 -1
|
@@ -445,6 +445,9 @@ export declare class DocumentUpdatePriceTransitionNAPI {
|
|
|
445
445
|
export declare class DynamicValue {
|
|
446
446
|
constructor(value: any);
|
|
447
447
|
static fromBigIntString(value: string): DynamicValue;
|
|
448
|
+
static fromInt(value: number): DynamicValue;
|
|
449
|
+
static fromUInt(value: number): DynamicValue;
|
|
450
|
+
static fromFloat(value: number): DynamicValue;
|
|
448
451
|
get value(): any;
|
|
449
452
|
set value(value: any);
|
|
450
453
|
isBigInt(): boolean;
|
|
@@ -1635,7 +1638,8 @@ export declare const enum PlatformVersionNAPI {
|
|
|
1635
1638
|
PLATFORM_V7 = 7,
|
|
1636
1639
|
PLATFORM_V8 = 8,
|
|
1637
1640
|
PLATFORM_V9 = 9,
|
|
1638
|
-
PLATFORM_V10 = 10
|
|
1641
|
+
PLATFORM_V10 = 10,
|
|
1642
|
+
PLATFORM_V11 = 11
|
|
1639
1643
|
}
|
|
1640
1644
|
export declare const enum PoolingNAPI {
|
|
1641
1645
|
Never = 0,
|
|
@@ -1688,7 +1692,7 @@ export declare function verifyTokenDirectPurchasePrices(proof: Uint8Array, jsTok
|
|
|
1688
1692
|
export declare function verifyTokensBalancesForIdentityProof(proof: Uint8Array, jsTokenIds: Array<IdentifierLikeNAPI>, jsIdentityId: IdentifierLikeNAPI, verifySubsetOfProof: boolean, jsPlatformVersion: DynamicValue): VerifiedTokensBalancesForIdentityNAPI;
|
|
1689
1693
|
export declare function verifyTokenTotalSupplyProof(proof: Uint8Array, jsTokenId: IdentifierLikeNAPI, verifySubsetOfProof: boolean, jsPlatformVersion: DynamicValue): VerifiedTokenTotalSupplyNAPI;
|
|
1690
1694
|
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:
|
|
1695
|
+
export declare function verifyVotePollVoteStateProof(proof: Uint8Array, contract: DataContractNAPI, documentTypeName: string, indexName: string, jsIndexValues: Array<Uint8Array>, jsResultType: DynamicValue, allowIncludeLockedAndAbstainingVoteTally: boolean, count: number | undefined | null, jsStartAt: DynamicValue, jsPlatformVersion: DynamicValue): VerifiedVoteStateNAPI;
|
|
1692
1696
|
export declare const enum VoteStateResultTypeNAPI {
|
|
1693
1697
|
Documents = 0,
|
|
1694
1698
|
VoteTally = 1,
|
|
@@ -56,6 +56,7 @@ export var PlatformVersionNAPI;
|
|
|
56
56
|
PlatformVersionNAPI[PlatformVersionNAPI["PLATFORM_V8"] = 8] = "PLATFORM_V8";
|
|
57
57
|
PlatformVersionNAPI[PlatformVersionNAPI["PLATFORM_V9"] = 9] = "PLATFORM_V9";
|
|
58
58
|
PlatformVersionNAPI[PlatformVersionNAPI["PLATFORM_V10"] = 10] = "PLATFORM_V10";
|
|
59
|
+
PlatformVersionNAPI[PlatformVersionNAPI["PLATFORM_V11"] = 11] = "PLATFORM_V11";
|
|
59
60
|
})(PlatformVersionNAPI || (PlatformVersionNAPI = {}));
|
|
60
61
|
export var PoolingNAPI;
|
|
61
62
|
(function (PoolingNAPI) {
|
|
Binary file
|