pshenmic-dpp 1.0.7-rc.2 → 1.0.7-rc.3
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/README.md +46 -1
- package/dist/wasm/pshenmic_dpp.d.ts +303 -164
- package/dist/wasm/pshenmic_dpp.js +1809 -375
- package/dist/wasm/pshenmic_dpp_bg.js +1 -1
- package/dist/wasm/pshenmic_dpp_bg.wasm.d.ts +169 -96
- package/package.json +3 -2
- package/tests/AuthorizedActionTakers.spec.js +81 -0
- package/tests/BatchTransition.spec.js +9 -9
- package/tests/ChainLockProof.spec.js +1 -1
- package/tests/ChangeControlRules.spec.js +190 -0
- package/tests/CoreScript.spec.js +1 -1
- package/tests/DataContract.spec.js +3 -3
- package/tests/DataContractCreateStateTransition.spec.js +5 -5
- package/tests/DataContractUpdateStateTransition.spec.js +5 -5
- package/tests/DistributionFunction.spec.js +422 -0
- package/tests/Document.spec.js +2 -1
- package/tests/DocumentsTransitions.spec.js +53 -53
- package/tests/Identity.spec.js +3 -3
- package/tests/IdentityCreateTransition.spec.js +1 -1
- package/tests/IdentityPublicKey.spec.js +2 -2
- package/tests/OutPoint.spec.js +1 -1
- package/tests/RewardDistributionType.spec.js +96 -0
- package/tests/TokenBaseTransition.spec.js +102 -0
- package/tests/TokenConfiguration.spec.js +110 -0
- package/tests/TokenConfigurationConvention.spec.js +99 -0
- package/tests/TokenConfigurationLocalization.spec.js +65 -0
- package/tests/TokenDistributionRecipient.spec.js +55 -0
- package/tests/TokenDistributionRules.spec.js +319 -0
- package/tests/TokenKeepsHistoryRules.spec.js +73 -0
- package/tests/TokenPerpetualDistribution.spec.js +136 -0
- package/tests/TokenPreProgrammedDistribution.spec.js +67 -0
- package/tests/mocks/TokenConfiguration/index.js +7 -0
package/README.md
CHANGED
|
@@ -37,10 +37,43 @@ ___
|
|
|
37
37
|
|
|
38
38
|
**At this moment available structs:**
|
|
39
39
|
- `Document`
|
|
40
|
-
- `
|
|
40
|
+
- `Batch`
|
|
41
41
|
- `DocumentsBaseTransition`
|
|
42
|
+
- `TokenBaseTransitionWASM`
|
|
43
|
+
- `TokenPricingScheduleWASM`
|
|
44
|
+
- `TokenTransitionWASM`
|
|
45
|
+
- `BatchedTransitionWASM`
|
|
46
|
+
- `TokenConfigurationChangeItemWASM`
|
|
47
|
+
- `TokenConfigurationWASM`
|
|
48
|
+
- `ActionTakerWASM`
|
|
49
|
+
- `AuthorizedActionTakersWASM`
|
|
50
|
+
- `ChangeControlRulesWASM`
|
|
51
|
+
- `TokenConfigurationConventionWASM`
|
|
52
|
+
- `DistributionFunctionWASM`
|
|
53
|
+
- `TokenDistributionRecipientWASM`
|
|
54
|
+
- `TokenDistributionRulesWASM`
|
|
55
|
+
- distribution structs:
|
|
56
|
+
- `DistributionFixedAmountWASM`
|
|
57
|
+
- `DistributionRandomWASM`
|
|
58
|
+
- `DistributionStepDecreasingAmountWASM`
|
|
59
|
+
- `DistributionLinearWASM`
|
|
60
|
+
- `DistributionPolynomialWASM`
|
|
61
|
+
- `DistributionExponentialWASM`
|
|
62
|
+
- `DistributionLogarithmicWASM`
|
|
63
|
+
- `DistributionInvertedLogarithmicWASM`
|
|
64
|
+
- `GroupWASM`
|
|
65
|
+
- `TokenKeepsHistoryRulesWASM`
|
|
66
|
+
- `TokenConfigurationLocalizationWASM`
|
|
67
|
+
- `TokenMarketplaceRulesWASM`
|
|
68
|
+
- `TokenPerpetualDistributionWASM`
|
|
69
|
+
- `TokenPreProgrammedDistributionWASM`
|
|
70
|
+
- `RewardDistributionTypeWASM`
|
|
71
|
+
- `TokenTradeModeWASM`
|
|
72
|
+
- `GroupStateTransitionInfoWASM`
|
|
42
73
|
- `DocumentsTransition`
|
|
43
74
|
- `PrefundedVotingBalance`
|
|
75
|
+
- `PrivateEncryptedNoteWASM`
|
|
76
|
+
- `SharedEncryptedNoteWASM`
|
|
44
77
|
- DocumentsTransitions:
|
|
45
78
|
- `DocuemntCreateTransition`
|
|
46
79
|
- `DocuemntDeleteTransition`
|
|
@@ -48,6 +81,18 @@ ___
|
|
|
48
81
|
- `DocuemntReplaceTransition`
|
|
49
82
|
- `DocumentTransferTransition`
|
|
50
83
|
- `DocumentUpdatePriceTransition`
|
|
84
|
+
- Tokens Transitions:
|
|
85
|
+
- `TokenConfigUpdateTransitionWASM`
|
|
86
|
+
- `TokenDirectPurchaseTransitionWASM`
|
|
87
|
+
- `TokenSetPriceForDirectPurchaseTransitionWASM`
|
|
88
|
+
- `TokenBurnTransitionWASM`
|
|
89
|
+
- `TokenClaimTransitionWASM`
|
|
90
|
+
- `TokenDestroyFrozenFundsTransitionWASM`
|
|
91
|
+
- `TokenEmergencyActionTransitionWASM`
|
|
92
|
+
- `TokenFreezeTransitionWASM`
|
|
93
|
+
- `TokenMintTransitionWASM`
|
|
94
|
+
- `TokenTransferTransitionWASM`
|
|
95
|
+
- `TokenUnFreezeTransitionWASM`
|
|
51
96
|
- `IdentityPublicKey`
|
|
52
97
|
- IdentityTransitions:
|
|
53
98
|
- `IdentityCreateTransition`
|