pshenmic-dpp 1.0.26 → 1.1.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/wasm/index.d.ts +110 -107
- package/dist/wasm/pshenmic_dpp.d.ts +134 -36
- package/dist/wasm/pshenmic_dpp.js +587 -94
- package/dist/wasm/pshenmic_dpp_bg.js +1 -1
- package/dist/wasm/pshenmic_dpp_bg.wasm.d.ts +71 -36
- package/dist/wasm/snippets/pshenmic_dpp_utils-23ab7381b198778d/stringify.js +7 -0
- package/package.json +1 -1
package/dist/wasm/index.d.ts
CHANGED
|
@@ -10,113 +10,116 @@ declare const dpp: DashPlatformProtocolWASM;
|
|
|
10
10
|
|
|
11
11
|
export class DashPlatformProtocolWASM {
|
|
12
12
|
// CLASSES
|
|
13
|
-
AssetLockProofWASM:
|
|
14
|
-
ChainAssetLockProofWASM:
|
|
15
|
-
CoreScriptWASM:
|
|
16
|
-
DataContractCreateTransitionWASM:
|
|
17
|
-
DataContractUpdateTransitionWASM:
|
|
18
|
-
DataContractWASM:
|
|
19
|
-
DocumentBaseTransitionWASM:
|
|
20
|
-
DocumentCreateTransitionWASM:
|
|
21
|
-
DocumentDeleteTransitionWASM:
|
|
22
|
-
DocumentPurchaseTransitionWASM:
|
|
23
|
-
DocumentReplaceTransitionWASM:
|
|
24
|
-
DocumentTransferTransitionWASM:
|
|
25
|
-
DocumentTransitionWASM:
|
|
26
|
-
DocumentUpdatePriceTransitionWASM:
|
|
27
|
-
DocumentWASM:
|
|
28
|
-
BatchTransitionWASM:
|
|
29
|
-
BatchedTransitionWASM:
|
|
30
|
-
TokenTransitionWASM:
|
|
31
|
-
TokenBaseTransitionWASM:
|
|
32
|
-
TokenPricingScheduleWASM:
|
|
33
|
-
TokenConfigUpdateTransitionWASM:
|
|
34
|
-
TokenDirectPurchaseTransitionWASM:
|
|
35
|
-
TokenSetPriceForDirectPurchaseTransitionWASM:
|
|
36
|
-
TokenBurnTransitionWASM:
|
|
37
|
-
TokenClaimTransitionWASM:
|
|
38
|
-
TokenDestroyFrozenFundsTransitionWASM:
|
|
39
|
-
TokenEmergencyActionTransitionWASM:
|
|
40
|
-
TokenFreezeTransitionWASM:
|
|
41
|
-
TokenMintTransitionWASM:
|
|
42
|
-
TokenTransferTransitionWASM:
|
|
43
|
-
TokenUnFreezeTransitionWASM:
|
|
44
|
-
GroupStateTransitionInfoWASM:
|
|
45
|
-
PrivateEncryptedNoteWASM:
|
|
46
|
-
SharedEncryptedNoteWASM:
|
|
47
|
-
TokenConfigurationChangeItemWASM:
|
|
48
|
-
AuthorizedActionTakersWASM:
|
|
49
|
-
DistributionFunctionWASM:
|
|
50
|
-
TokenDistributionRecipientWASM:
|
|
51
|
-
DistributionFixedAmountWASM:
|
|
52
|
-
DistributionRandomWASM:
|
|
53
|
-
DistributionStepDecreasingAmountWASM:
|
|
54
|
-
DistributionLinearWASM:
|
|
55
|
-
DistributionPolynomialWASM:
|
|
56
|
-
DistributionExponentialWASM:
|
|
57
|
-
DistributionLogarithmicWASM:
|
|
58
|
-
DistributionInvertedLogarithmicWASM:
|
|
59
|
-
TokenConfigurationLocalizationWASM:
|
|
60
|
-
TokenPerpetualDistributionWASM:
|
|
61
|
-
RewardDistributionTypeWASM:
|
|
62
|
-
TokenConfigurationConventionWASM:
|
|
63
|
-
TokenTradeModeWASM:
|
|
64
|
-
TokenConfigurationWASM:
|
|
65
|
-
ActionTakerWASM:
|
|
66
|
-
ChangeControlRulesWASM:
|
|
67
|
-
TokenDistributionRulesWASM:
|
|
68
|
-
GroupWASM:
|
|
69
|
-
TokenKeepsHistoryRulesWASM:
|
|
70
|
-
TokenMarketplaceRulesWASM:
|
|
71
|
-
TokenPreProgrammedDistributionWASM:
|
|
72
|
-
IdentifierWASM:
|
|
73
|
-
IdentityCreateTransitionWASM:
|
|
74
|
-
IdentityCreditTransferWASM:
|
|
75
|
-
IdentityCreditWithdrawalTransitionWASM:
|
|
76
|
-
IdentityPublicKeyInCreationWASM:
|
|
77
|
-
IdentityPublicKeyWASM:
|
|
78
|
-
ContractBoundsWASM:
|
|
79
|
-
IdentityTopUpTransitionWASM:
|
|
80
|
-
IdentityUpdateTransitionWASM:
|
|
81
|
-
IdentityWASM:
|
|
82
|
-
InstantAssetLockProofWASM:
|
|
83
|
-
InstantLockWASM:
|
|
84
|
-
OutPointWASM:
|
|
85
|
-
PrefundedVotingBalanceWASM:
|
|
86
|
-
PrivateKeyWASM:
|
|
87
|
-
StateTransitionWASM:
|
|
88
|
-
TxOutWASM:
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
13
|
+
AssetLockProofWASM: DPP.AssetLockProofWASM
|
|
14
|
+
ChainAssetLockProofWASM: DPP.ChainAssetLockProofWASM
|
|
15
|
+
CoreScriptWASM: DPP.CoreScriptWASM
|
|
16
|
+
DataContractCreateTransitionWASM: DPP.DataContractCreateTransitionWASM
|
|
17
|
+
DataContractUpdateTransitionWASM: DPP.DataContractUpdateTransitionWASM
|
|
18
|
+
DataContractWASM: DPP.DataContractWASM
|
|
19
|
+
DocumentBaseTransitionWASM: DPP.DocumentBaseTransitionWASM
|
|
20
|
+
DocumentCreateTransitionWASM: DPP.DocumentCreateTransitionWASM
|
|
21
|
+
DocumentDeleteTransitionWASM: DPP.DocumentDeleteTransitionWASM
|
|
22
|
+
DocumentPurchaseTransitionWASM: DPP.DocumentPurchaseTransitionWASM
|
|
23
|
+
DocumentReplaceTransitionWASM: DPP.DocumentReplaceTransitionWASM
|
|
24
|
+
DocumentTransferTransitionWASM: DPP.DocumentTransferTransitionWASM
|
|
25
|
+
DocumentTransitionWASM: DPP.DocumentTransitionWASM
|
|
26
|
+
DocumentUpdatePriceTransitionWASM: DPP.DocumentUpdatePriceTransitionWASM
|
|
27
|
+
DocumentWASM: DPP.DocumentWASM
|
|
28
|
+
BatchTransitionWASM: DPP.BatchTransitionWASM
|
|
29
|
+
BatchedTransitionWASM: DPP.BatchedTransitionWASM
|
|
30
|
+
TokenTransitionWASM: DPP.TokenTransitionWASM
|
|
31
|
+
TokenBaseTransitionWASM: DPP.TokenBaseTransitionWASM
|
|
32
|
+
TokenPricingScheduleWASM: DPP.TokenPricingScheduleWASM
|
|
33
|
+
TokenConfigUpdateTransitionWASM: DPP.TokenConfigUpdateTransitionWASM
|
|
34
|
+
TokenDirectPurchaseTransitionWASM: DPP.TokenDirectPurchaseTransitionWASM
|
|
35
|
+
TokenSetPriceForDirectPurchaseTransitionWASM: DPP.TokenSetPriceForDirectPurchaseTransitionWASM
|
|
36
|
+
TokenBurnTransitionWASM: DPP.TokenBurnTransitionWASM
|
|
37
|
+
TokenClaimTransitionWASM: DPP.TokenClaimTransitionWASM
|
|
38
|
+
TokenDestroyFrozenFundsTransitionWASM: DPP.TokenDestroyFrozenFundsTransitionWASM
|
|
39
|
+
TokenEmergencyActionTransitionWASM: DPP.TokenEmergencyActionTransitionWASM
|
|
40
|
+
TokenFreezeTransitionWASM: DPP.TokenFreezeTransitionWASM
|
|
41
|
+
TokenMintTransitionWASM: DPP.TokenMintTransitionWASM
|
|
42
|
+
TokenTransferTransitionWASM: DPP.TokenTransferTransitionWASM
|
|
43
|
+
TokenUnFreezeTransitionWASM: DPP.TokenUnFreezeTransitionWASM
|
|
44
|
+
GroupStateTransitionInfoWASM: DPP.GroupStateTransitionInfoWASM
|
|
45
|
+
PrivateEncryptedNoteWASM: DPP.PrivateEncryptedNoteWASM
|
|
46
|
+
SharedEncryptedNoteWASM: DPP.SharedEncryptedNoteWASM
|
|
47
|
+
TokenConfigurationChangeItemWASM: DPP.TokenConfigurationChangeItemWASM
|
|
48
|
+
AuthorizedActionTakersWASM: DPP.AuthorizedActionTakersWASM
|
|
49
|
+
DistributionFunctionWASM: DPP.DistributionFunctionWASM
|
|
50
|
+
TokenDistributionRecipientWASM: DPP.TokenDistributionRecipientWASM
|
|
51
|
+
DistributionFixedAmountWASM: DPP.DistributionFixedAmountWASM
|
|
52
|
+
DistributionRandomWASM: DPP.DistributionRandomWASM
|
|
53
|
+
DistributionStepDecreasingAmountWASM: DPP.DistributionStepDecreasingAmountWASM
|
|
54
|
+
DistributionLinearWASM: DPP.DistributionLinearWASM
|
|
55
|
+
DistributionPolynomialWASM: DPP.DistributionPolynomialWASM
|
|
56
|
+
DistributionExponentialWASM: DPP.DistributionExponentialWASM
|
|
57
|
+
DistributionLogarithmicWASM: DPP.DistributionLogarithmicWASM
|
|
58
|
+
DistributionInvertedLogarithmicWASM: DPP.DistributionInvertedLogarithmicWASM
|
|
59
|
+
TokenConfigurationLocalizationWASM: DPP.TokenConfigurationLocalizationWASM
|
|
60
|
+
TokenPerpetualDistributionWASM: DPP.TokenPerpetualDistributionWASM
|
|
61
|
+
RewardDistributionTypeWASM: DPP.RewardDistributionTypeWASM
|
|
62
|
+
TokenConfigurationConventionWASM: DPP.TokenConfigurationConventionWASM
|
|
63
|
+
TokenTradeModeWASM: DPP.TokenTradeModeWASM
|
|
64
|
+
TokenConfigurationWASM: DPP.TokenConfigurationWASM
|
|
65
|
+
ActionTakerWASM: DPP.ActionTakerWASM
|
|
66
|
+
ChangeControlRulesWASM: DPP.ChangeControlRulesWASM
|
|
67
|
+
TokenDistributionRulesWASM: DPP.TokenDistributionRulesWASM
|
|
68
|
+
GroupWASM: DPP.GroupWASM
|
|
69
|
+
TokenKeepsHistoryRulesWASM: DPP.TokenKeepsHistoryRulesWASM
|
|
70
|
+
TokenMarketplaceRulesWASM: DPP.TokenMarketplaceRulesWASM
|
|
71
|
+
TokenPreProgrammedDistributionWASM: DPP.TokenPreProgrammedDistributionWASM
|
|
72
|
+
IdentifierWASM: DPP.IdentifierWASM
|
|
73
|
+
IdentityCreateTransitionWASM: DPP.IdentityCreateTransitionWASM
|
|
74
|
+
IdentityCreditTransferWASM: DPP.IdentityCreditTransferWASM
|
|
75
|
+
IdentityCreditWithdrawalTransitionWASM: DPP.IdentityCreditWithdrawalTransitionWASM
|
|
76
|
+
IdentityPublicKeyInCreationWASM: DPP.IdentityPublicKeyInCreationWASM
|
|
77
|
+
IdentityPublicKeyWASM: DPP.IdentityPublicKeyWASM
|
|
78
|
+
ContractBoundsWASM: DPP.ContractBoundsWASM
|
|
79
|
+
IdentityTopUpTransitionWASM: DPP.IdentityTopUpTransitionWASM
|
|
80
|
+
IdentityUpdateTransitionWASM: DPP.IdentityUpdateTransitionWASM
|
|
81
|
+
IdentityWASM: DPP.IdentityWASM
|
|
82
|
+
InstantAssetLockProofWASM: DPP.InstantAssetLockProofWASM
|
|
83
|
+
InstantLockWASM: DPP.InstantLockWASM
|
|
84
|
+
OutPointWASM: DPP.OutPointWASM
|
|
85
|
+
PrefundedVotingBalanceWASM: DPP.PrefundedVotingBalanceWASM
|
|
86
|
+
PrivateKeyWASM: DPP.PrivateKeyWASM
|
|
87
|
+
StateTransitionWASM: DPP.StateTransitionWASM
|
|
88
|
+
TxOutWASM: DPP.TxOutWASM
|
|
89
|
+
TxInWASM: DPP.TxInWASM
|
|
90
|
+
WitnessWASM: DPP.WitnessWASM
|
|
91
|
+
TransactionWASM: DPP.TransactionWASM
|
|
92
|
+
MasternodeVoteTransitionWASM: DPP.MasternodeVoteTransitionWASM
|
|
93
|
+
VoteWASM: DPP.VoteWASM
|
|
94
|
+
VotePollWASM: DPP.VotePollWASM
|
|
95
|
+
ResourceVoteChoiceWASM: DPP.ResourceVoteChoiceWASM
|
|
93
96
|
// ENUMS
|
|
94
|
-
AssetLockProofTypeWASM:
|
|
95
|
-
BatchType:
|
|
96
|
-
KeyType:
|
|
97
|
-
NetworkWASM:
|
|
98
|
-
PlatformVersionWASM:
|
|
99
|
-
PoolingWASM:
|
|
100
|
-
Purpose:
|
|
101
|
-
SecurityLevel:
|
|
102
|
-
ActionGoalWASM:
|
|
97
|
+
AssetLockProofTypeWASM: DPP.AssetLockProofTypeWASM
|
|
98
|
+
BatchType: DPP.BatchType
|
|
99
|
+
KeyType: DPP.KeyType
|
|
100
|
+
NetworkWASM: DPP.NetworkWASM
|
|
101
|
+
PlatformVersionWASM: DPP.PlatformVersionWASM
|
|
102
|
+
PoolingWASM: DPP.PoolingWASM
|
|
103
|
+
Purpose: DPP.Purpose
|
|
104
|
+
SecurityLevel: DPP.SecurityLevel
|
|
105
|
+
ActionGoalWASM: DPP.ActionGoalWASM
|
|
103
106
|
// METHODS
|
|
104
|
-
initSync:
|
|
105
|
-
verifyVotePollVoteStateProof:
|
|
106
|
-
verifyContract:
|
|
107
|
-
verifyDocumentsProof:
|
|
108
|
-
verifyIdentifierByNonUniquePublicKeyHash:
|
|
109
|
-
verifyIdentityBalance:
|
|
110
|
-
verifyIdentityByIdentifier:
|
|
111
|
-
verifyIdentityByUniqueKeyHash:
|
|
112
|
-
verifyIdentityContractNonce:
|
|
113
|
-
verifyIdentityKeysByIdentifier:
|
|
114
|
-
verifyIdentityNonce:
|
|
115
|
-
verifySignatureDigest:
|
|
116
|
-
verifyEpochsInfo:
|
|
117
|
-
verifyTotalCredits:
|
|
118
|
-
verifyTokenBalancesForIdentities:
|
|
119
|
-
verifyTokenContractInfo:
|
|
120
|
-
verifyTokenTotalSupply:
|
|
121
|
-
verifyTokensBalancesForIdentity:
|
|
107
|
+
initSync: Function
|
|
108
|
+
verifyVotePollVoteStateProof: Function
|
|
109
|
+
verifyContract: Function
|
|
110
|
+
verifyDocumentsProof: Function
|
|
111
|
+
verifyIdentifierByNonUniquePublicKeyHash: Function
|
|
112
|
+
verifyIdentityBalance: Function
|
|
113
|
+
verifyIdentityByIdentifier: Function
|
|
114
|
+
verifyIdentityByUniqueKeyHash: Function
|
|
115
|
+
verifyIdentityContractNonce: Function
|
|
116
|
+
verifyIdentityKeysByIdentifier: Function
|
|
117
|
+
verifyIdentityNonce: Function
|
|
118
|
+
verifySignatureDigest: Function
|
|
119
|
+
verifyEpochsInfo: Function
|
|
120
|
+
verifyTotalCredits: Function
|
|
121
|
+
verifyTokenBalancesForIdentities: Function
|
|
122
|
+
verifyTokenContractInfo: Function
|
|
123
|
+
verifyTokenTotalSupply: Function
|
|
124
|
+
verifyTokensBalancesForIdentity: Function
|
|
122
125
|
}
|
|
@@ -2795,6 +2795,50 @@ export class TotalSingleTokenBalanceWASM {
|
|
|
2795
2795
|
readonly tokenSupply: bigint;
|
|
2796
2796
|
readonly aggregatedTokenAccountBalances: bigint;
|
|
2797
2797
|
}
|
|
2798
|
+
export class TransactionWASM {
|
|
2799
|
+
/** @ignore */
|
|
2800
|
+
free(): void;
|
|
2801
|
+
/**
|
|
2802
|
+
* @param {number} version
|
|
2803
|
+
* @param {number} lock_time
|
|
2804
|
+
* @param {any} js_input
|
|
2805
|
+
* @param {any} js_output
|
|
2806
|
+
* @returns {TransactionWASM}
|
|
2807
|
+
*/
|
|
2808
|
+
constructor(version: number, lock_time: number, js_input: any, js_output: any);
|
|
2809
|
+
/** @returns {boolean} */
|
|
2810
|
+
isCoinBase(): boolean;
|
|
2811
|
+
/** @returns {string} */
|
|
2812
|
+
getTxType(): string;
|
|
2813
|
+
/** @returns {string} */
|
|
2814
|
+
getTxId(): string;
|
|
2815
|
+
readonly __type: string;
|
|
2816
|
+
static readonly __struct: string;
|
|
2817
|
+
version: number;
|
|
2818
|
+
lockTime: number;
|
|
2819
|
+
get input(): Array<any>;
|
|
2820
|
+
set input(value: any);
|
|
2821
|
+
get output(): Array<any>;
|
|
2822
|
+
set output(value: any);
|
|
2823
|
+
}
|
|
2824
|
+
export class TxInWASM {
|
|
2825
|
+
/** @ignore */
|
|
2826
|
+
free(): void;
|
|
2827
|
+
/**
|
|
2828
|
+
* @param {OutPointWASM} previous_output
|
|
2829
|
+
* @param {Uint8Array<ArrayBufferLike>} script_sig
|
|
2830
|
+
* @param {number} sequence
|
|
2831
|
+
* @param {WitnessWASM} witness
|
|
2832
|
+
* @returns {TxInWASM}
|
|
2833
|
+
*/
|
|
2834
|
+
constructor(previous_output: OutPointWASM, script_sig: Uint8Array, sequence: number, witness: WitnessWASM);
|
|
2835
|
+
readonly __type: string;
|
|
2836
|
+
static readonly __struct: string;
|
|
2837
|
+
previousOutput: OutPointWASM;
|
|
2838
|
+
scriptSig: Uint8Array;
|
|
2839
|
+
sequence: number;
|
|
2840
|
+
witnesses: WitnessWASM;
|
|
2841
|
+
}
|
|
2798
2842
|
export class TxOutWASM {
|
|
2799
2843
|
/** @ignore */
|
|
2800
2844
|
free(): void;
|
|
@@ -3008,6 +3052,25 @@ export class VoteWASM {
|
|
|
3008
3052
|
votePoll: VotePollWASM;
|
|
3009
3053
|
resourceVoteChoice: ResourceVoteChoiceWASM;
|
|
3010
3054
|
}
|
|
3055
|
+
export class WitnessWASM {
|
|
3056
|
+
/** @ignore */
|
|
3057
|
+
free(): void;
|
|
3058
|
+
/**
|
|
3059
|
+
* @param {Uint8Array<ArrayBufferLike>[]} optional_bytes
|
|
3060
|
+
* @returns {WitnessWASM}
|
|
3061
|
+
*/
|
|
3062
|
+
constructor(optional_bytes?: Uint8Array[] | null);
|
|
3063
|
+
/** @returns {Uint8Array<ArrayBufferLike>[]} */
|
|
3064
|
+
getBytes(): Uint8Array[];
|
|
3065
|
+
/** @returns {boolean} */
|
|
3066
|
+
isEmpty(): boolean;
|
|
3067
|
+
/** */
|
|
3068
|
+
clear(): void;
|
|
3069
|
+
/** @param {Uint8Array<ArrayBufferLike>} new_element */
|
|
3070
|
+
push(new_element: Uint8Array): void;
|
|
3071
|
+
readonly __type: string;
|
|
3072
|
+
static readonly __struct: string;
|
|
3073
|
+
}
|
|
3011
3074
|
|
|
3012
3075
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
3013
3076
|
|
|
@@ -3127,20 +3190,20 @@ export interface InitOutput {
|
|
|
3127
3190
|
readonly verifiedtokensbalancesforidentitywasm_type_name: (a: number, b: number) => void;
|
|
3128
3191
|
readonly verifiedtokensbalancesforidentitywasm_struct_name: (a: number) => void;
|
|
3129
3192
|
readonly verifyTokensBalancesForIdentityProof: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
3130
|
-
readonly __wbg_verifiedtokentotalsupplywasm_free: (a: number, b: number) => void;
|
|
3131
3193
|
readonly __wbg_verifiedidentitynoncewasm_free: (a: number, b: number) => void;
|
|
3132
|
-
readonly __wbg_verifiedidentitycontractnoncewasm_free: (a: number, b: number) => void;
|
|
3133
3194
|
readonly __wbg_verifiedtotalcreditswasm_free: (a: number, b: number) => void;
|
|
3195
|
+
readonly __wbg_verifiedidentitycontractnoncewasm_free: (a: number, b: number) => void;
|
|
3196
|
+
readonly __wbg_verifiedtokentotalsupplywasm_free: (a: number, b: number) => void;
|
|
3134
3197
|
readonly __wbg_verifiedtokensbalancesforidentitywasm_free: (a: number, b: number) => void;
|
|
3135
3198
|
readonly __wbg_verifiedidentitybyuniquekeyhashwasm_free: (a: number, b: number) => void;
|
|
3199
|
+
readonly verifiedidentitynoncewasm_nonce: (a: number, b: number) => void;
|
|
3200
|
+
readonly verifiedidentitynoncewasm_root_hash: (a: number) => number;
|
|
3201
|
+
readonly verifiedidentitybyuniquekeyhashwasm_identity: (a: number) => number;
|
|
3202
|
+
readonly verifiedidentitybyuniquekeyhashwasm_root_hash: (a: number) => number;
|
|
3136
3203
|
readonly verifiedidentitycontractnoncewasm_contract_nonce: (a: number, b: number) => void;
|
|
3137
3204
|
readonly verifiedidentitycontractnoncewasm_root_hash: (a: number) => number;
|
|
3138
3205
|
readonly verifiedtokensbalancesforidentitywasm_balances: (a: number) => number;
|
|
3139
3206
|
readonly verifiedtokensbalancesforidentitywasm_root_hash: (a: number) => number;
|
|
3140
|
-
readonly verifiedidentitybyuniquekeyhashwasm_identity: (a: number) => number;
|
|
3141
|
-
readonly verifiedidentitybyuniquekeyhashwasm_root_hash: (a: number) => number;
|
|
3142
|
-
readonly verifiedidentitynoncewasm_nonce: (a: number, b: number) => void;
|
|
3143
|
-
readonly verifiedidentitynoncewasm_root_hash: (a: number) => number;
|
|
3144
3207
|
readonly __wbg_partialidentitywasm_free: (a: number, b: number) => void;
|
|
3145
3208
|
readonly partialidentitywasm_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number) => void;
|
|
3146
3209
|
readonly partialidentitywasm_id: (a: number) => number;
|
|
@@ -3431,6 +3494,33 @@ export interface InitOutput {
|
|
|
3431
3494
|
readonly outpointwasm_fromBytes: (a: number, b: number) => number;
|
|
3432
3495
|
readonly outpointwasm_fromHex: (a: number, b: number, c: number) => void;
|
|
3433
3496
|
readonly outpointwasm_fromBase64: (a: number, b: number, c: number) => void;
|
|
3497
|
+
readonly __wbg_transactionwasm_free: (a: number, b: number) => void;
|
|
3498
|
+
readonly transactionwasm_type_name: (a: number, b: number) => void;
|
|
3499
|
+
readonly transactionwasm_struct_name: (a: number) => void;
|
|
3500
|
+
readonly transactionwasm_new: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
3501
|
+
readonly transactionwasm_version: (a: number) => number;
|
|
3502
|
+
readonly transactionwasm_lock_time: (a: number) => number;
|
|
3503
|
+
readonly transactionwasm_input: (a: number) => number;
|
|
3504
|
+
readonly transactionwasm_output: (a: number) => number;
|
|
3505
|
+
readonly transactionwasm_set_version: (a: number, b: number) => void;
|
|
3506
|
+
readonly transactionwasm_set_lock_time: (a: number, b: number) => void;
|
|
3507
|
+
readonly transactionwasm_set_input: (a: number, b: number, c: number) => void;
|
|
3508
|
+
readonly transactionwasm_set_output: (a: number, b: number, c: number) => void;
|
|
3509
|
+
readonly transactionwasm_isCoinBase: (a: number) => number;
|
|
3510
|
+
readonly transactionwasm_getTxType: (a: number, b: number) => void;
|
|
3511
|
+
readonly transactionwasm_getTxId: (a: number, b: number) => void;
|
|
3512
|
+
readonly __wbg_txinwasm_free: (a: number, b: number) => void;
|
|
3513
|
+
readonly txinwasm_type_name: (a: number, b: number) => void;
|
|
3514
|
+
readonly txinwasm_struct_name: (a: number) => void;
|
|
3515
|
+
readonly txinwasm_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
3516
|
+
readonly txinwasm_previous_output: (a: number) => number;
|
|
3517
|
+
readonly txinwasm_script_sig: (a: number, b: number) => void;
|
|
3518
|
+
readonly txinwasm_sequence: (a: number) => number;
|
|
3519
|
+
readonly txinwasm_witness: (a: number) => number;
|
|
3520
|
+
readonly txinwasm_set_previous_output: (a: number, b: number) => void;
|
|
3521
|
+
readonly txinwasm_set_script_sig: (a: number, b: number, c: number) => void;
|
|
3522
|
+
readonly txinwasm_set_sequence: (a: number, b: number) => void;
|
|
3523
|
+
readonly txinwasm_set_witness: (a: number, b: number) => void;
|
|
3434
3524
|
readonly __wbg_txoutwasm_free: (a: number, b: number) => void;
|
|
3435
3525
|
readonly txoutwasm_type_name: (a: number, b: number) => void;
|
|
3436
3526
|
readonly txoutwasm_struct_name: (a: number) => void;
|
|
@@ -3442,6 +3532,14 @@ export interface InitOutput {
|
|
|
3442
3532
|
readonly txoutwasm_set_script_pubkey_hex: (a: number, b: number, c: number, d: number) => void;
|
|
3443
3533
|
readonly txoutwasm_set_script_pubkey_bytes: (a: number, b: number, c: number) => void;
|
|
3444
3534
|
readonly txoutwasm_getScriptPubKeyASM: (a: number, b: number) => void;
|
|
3535
|
+
readonly __wbg_witnesswasm_free: (a: number, b: number) => void;
|
|
3536
|
+
readonly witnesswasm_type_name: (a: number, b: number) => void;
|
|
3537
|
+
readonly witnesswasm_struct_name: (a: number) => void;
|
|
3538
|
+
readonly witnesswasm_new: (a: number, b: number) => number;
|
|
3539
|
+
readonly witnesswasm_getBytes: (a: number, b: number) => void;
|
|
3540
|
+
readonly witnesswasm_isEmpty: (a: number) => number;
|
|
3541
|
+
readonly witnesswasm_clear: (a: number) => void;
|
|
3542
|
+
readonly witnesswasm_push: (a: number, b: number, c: number) => void;
|
|
3445
3543
|
readonly __wbg_assetlockproofwasm_free: (a: number, b: number) => void;
|
|
3446
3544
|
readonly assetlockproofwasm_type_name: (a: number, b: number) => void;
|
|
3447
3545
|
readonly assetlockproofwasm_struct_name: (a: number) => void;
|
|
@@ -3805,16 +3903,16 @@ export interface InitOutput {
|
|
|
3805
3903
|
readonly tokenpaymentinfowasm_set_minimum_token_cost: (a: number, b: number, c: bigint) => void;
|
|
3806
3904
|
readonly tokenfreezetransitionwasm_new: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
3807
3905
|
readonly tokenunfreezetransitionwasm_new: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
3808
|
-
readonly __wbg_tokenfreezetransitionwasm_free: (a: number, b: number) => void;
|
|
3809
|
-
readonly __wbg_tokenemergencyactiontransitionwasm_free: (a: number, b: number) => void;
|
|
3810
3906
|
readonly __wbg_tokenunfreezetransitionwasm_free: (a: number, b: number) => void;
|
|
3811
3907
|
readonly __wbg_documentupdatepricetransitionwasm_free: (a: number, b: number) => void;
|
|
3812
3908
|
readonly __wbg_documentdeletetransitionwasm_free: (a: number, b: number) => void;
|
|
3909
|
+
readonly __wbg_tokenemergencyactiontransitionwasm_free: (a: number, b: number) => void;
|
|
3910
|
+
readonly __wbg_tokenfreezetransitionwasm_free: (a: number, b: number) => void;
|
|
3911
|
+
readonly tokenunfreezetransitionwasm_get_base: (a: number) => number;
|
|
3912
|
+
readonly tokenemergencyactiontransitionwasm_get_base: (a: number) => number;
|
|
3813
3913
|
readonly tokenfreezetransitionwasm_get_base: (a: number) => number;
|
|
3814
3914
|
readonly documentupdatepricetransitionwasm_get_price: (a: number) => bigint;
|
|
3815
3915
|
readonly documentupdatepricetransitionwasm_get_base: (a: number) => number;
|
|
3816
|
-
readonly tokenunfreezetransitionwasm_get_base: (a: number) => number;
|
|
3817
|
-
readonly tokenemergencyactiontransitionwasm_get_base: (a: number) => number;
|
|
3818
3916
|
readonly documentupdatepricetransitionwasm_set_price: (a: number, b: bigint) => void;
|
|
3819
3917
|
readonly tokenunfreezetransitionwasm_set_base: (a: number, b: number) => void;
|
|
3820
3918
|
readonly tokenemergencyactiontransitionwasm_set_base: (a: number, b: number) => void;
|
|
@@ -4225,23 +4323,22 @@ export interface InitOutput {
|
|
|
4225
4323
|
readonly __wbg_set_distributioninvertedlogarithmicwasm_o: (a: number, b: bigint) => void;
|
|
4226
4324
|
readonly __wbg_set_distributioninvertedlogarithmicwasm_b: (a: number, b: bigint) => void;
|
|
4227
4325
|
readonly __wbg_set_timebaseddistributionwasm_interval: (a: number, b: bigint) => void;
|
|
4326
|
+
readonly __wbg_set_distributionlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
|
|
4228
4327
|
readonly __wbg_set_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number, c: bigint) => void;
|
|
4229
4328
|
readonly __wbg_set_distributionlinearwasm_startStep: (a: number, b: number, c: bigint) => void;
|
|
4329
|
+
readonly __wbg_set_distributionrandomwasm_min: (a: number, b: bigint) => void;
|
|
4330
|
+
readonly __wbg_get_distributionrandomwasm_min: (a: number) => bigint;
|
|
4230
4331
|
readonly __wbg_set_distributioninvertedlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
|
|
4231
|
-
readonly __wbg_distributioninvertedlogarithmicwasm_free: (a: number, b: number) => void;
|
|
4232
4332
|
readonly __wbg_set_distributionpolynomialwasm_startMoment: (a: number, b: number, c: bigint) => void;
|
|
4233
|
-
readonly
|
|
4234
|
-
readonly
|
|
4235
|
-
readonly
|
|
4236
|
-
readonly
|
|
4237
|
-
readonly
|
|
4238
|
-
readonly
|
|
4239
|
-
readonly
|
|
4240
|
-
readonly
|
|
4241
|
-
readonly
|
|
4242
|
-
readonly __wbg_get_distributionlinearwasm_a: (a: number) => bigint;
|
|
4243
|
-
readonly __wbg_get_distributionstepdecreasingamountwasm_minValue: (a: number, b: number) => void;
|
|
4244
|
-
readonly __wbg_get_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number) => void;
|
|
4333
|
+
readonly __wbg_get_distributionpolynomialwasm_maxValue: (a: number, b: number) => void;
|
|
4334
|
+
readonly __wbg_get_distributionpolynomialwasm_minValue: (a: number, b: number) => void;
|
|
4335
|
+
readonly __wbg_get_distributionpolynomialwasm_b: (a: number) => bigint;
|
|
4336
|
+
readonly __wbg_get_distributionpolynomialwasm_startMoment: (a: number, b: number) => void;
|
|
4337
|
+
readonly __wbg_get_distributionpolynomialwasm_o: (a: number) => bigint;
|
|
4338
|
+
readonly __wbg_get_distributionpolynomialwasm_n: (a: number) => bigint;
|
|
4339
|
+
readonly __wbg_get_distributionpolynomialwasm_m: (a: number) => bigint;
|
|
4340
|
+
readonly __wbg_get_distributionpolynomialwasm_d: (a: number) => bigint;
|
|
4341
|
+
readonly __wbg_get_distributionpolynomialwasm_a: (a: number) => bigint;
|
|
4245
4342
|
readonly __wbg_get_timebaseddistributionwasm_interval: (a: number) => bigint;
|
|
4246
4343
|
readonly __wbg_get_distributionlogarithmicwasm_maxValue: (a: number, b: number) => void;
|
|
4247
4344
|
readonly __wbg_get_distributionlogarithmicwasm_minValue: (a: number, b: number) => void;
|
|
@@ -4252,15 +4349,12 @@ export interface InitOutput {
|
|
|
4252
4349
|
readonly __wbg_get_distributionlogarithmicwasm_m: (a: number) => bigint;
|
|
4253
4350
|
readonly __wbg_get_distributionlogarithmicwasm_d: (a: number) => bigint;
|
|
4254
4351
|
readonly __wbg_get_distributionlogarithmicwasm_a: (a: number) => bigint;
|
|
4255
|
-
readonly
|
|
4256
|
-
readonly
|
|
4257
|
-
readonly
|
|
4258
|
-
readonly
|
|
4259
|
-
readonly
|
|
4260
|
-
readonly
|
|
4261
|
-
readonly __wbg_get_distributionpolynomialwasm_m: (a: number) => bigint;
|
|
4262
|
-
readonly __wbg_get_distributionpolynomialwasm_d: (a: number) => bigint;
|
|
4263
|
-
readonly __wbg_get_distributionpolynomialwasm_a: (a: number) => bigint;
|
|
4352
|
+
readonly __wbg_get_distributionlinearwasm_maxValue: (a: number, b: number) => void;
|
|
4353
|
+
readonly __wbg_get_distributionlinearwasm_minValue: (a: number, b: number) => void;
|
|
4354
|
+
readonly __wbg_get_distributionlinearwasm_startingAmount: (a: number) => bigint;
|
|
4355
|
+
readonly __wbg_get_distributionlinearwasm_startStep: (a: number, b: number) => void;
|
|
4356
|
+
readonly __wbg_get_distributionlinearwasm_d: (a: number) => bigint;
|
|
4357
|
+
readonly __wbg_get_distributionlinearwasm_a: (a: number) => bigint;
|
|
4264
4358
|
readonly __wbg_get_distributioninvertedlogarithmicwasm_maxValue: (a: number, b: number) => void;
|
|
4265
4359
|
readonly __wbg_get_distributioninvertedlogarithmicwasm_minValue: (a: number, b: number) => void;
|
|
4266
4360
|
readonly __wbg_get_distributioninvertedlogarithmicwasm_b: (a: number) => bigint;
|
|
@@ -4270,23 +4364,27 @@ export interface InitOutput {
|
|
|
4270
4364
|
readonly __wbg_get_distributioninvertedlogarithmicwasm_m: (a: number) => bigint;
|
|
4271
4365
|
readonly __wbg_get_distributioninvertedlogarithmicwasm_d: (a: number) => bigint;
|
|
4272
4366
|
readonly __wbg_get_distributioninvertedlogarithmicwasm_a: (a: number) => bigint;
|
|
4367
|
+
readonly __wbg_get_distributionstepdecreasingamountwasm_minValue: (a: number, b: number) => void;
|
|
4368
|
+
readonly __wbg_get_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number) => void;
|
|
4273
4369
|
readonly __wbg_set_distributionlinearwasm_maxValue: (a: number, b: number, c: bigint) => void;
|
|
4274
4370
|
readonly __wbg_set_distributionlinearwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4371
|
+
readonly __wbg_set_distributioninvertedlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
|
|
4372
|
+
readonly __wbg_set_distributioninvertedlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4275
4373
|
readonly __wbg_set_distributionstepdecreasingamountwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4276
4374
|
readonly __wbg_set_distributionpolynomialwasm_maxValue: (a: number, b: number, c: bigint) => void;
|
|
4277
4375
|
readonly __wbg_set_distributionpolynomialwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4278
|
-
readonly __wbg_set_distributioninvertedlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
|
|
4279
|
-
readonly __wbg_set_distributioninvertedlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4280
4376
|
readonly __wbg_set_distributionlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
|
|
4281
4377
|
readonly __wbg_set_distributionlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4282
|
-
readonly
|
|
4378
|
+
readonly __wbg_distributionpolynomialwasm_free: (a: number, b: number) => void;
|
|
4379
|
+
readonly __wbg_distributioninvertedlogarithmicwasm_free: (a: number, b: number) => void;
|
|
4380
|
+
readonly __wbg_distributionlogarithmicwasm_free: (a: number, b: number) => void;
|
|
4283
4381
|
readonly __wbg_tokenmarketplaceruleswasm_free: (a: number, b: number) => void;
|
|
4284
4382
|
readonly __wbg_timebaseddistributionwasm_free: (a: number, b: number) => void;
|
|
4285
4383
|
readonly epochbaseddistributionwasm_set_function: (a: number, b: number) => void;
|
|
4286
4384
|
readonly __wbg_epochbaseddistributionwasm_free: (a: number, b: number) => void;
|
|
4287
|
-
readonly timebaseddistributionwasm_set_function: (a: number, b: number) => void;
|
|
4288
4385
|
readonly timebaseddistributionwasm_get_function: (a: number) => number;
|
|
4289
4386
|
readonly epochbaseddistributionwasm_get_function: (a: number) => number;
|
|
4387
|
+
readonly timebaseddistributionwasm_set_function: (a: number, b: number) => void;
|
|
4290
4388
|
readonly __wbg_statetransitionwasm_free: (a: number, b: number) => void;
|
|
4291
4389
|
readonly statetransitionwasm_type_name: (a: number, b: number) => void;
|
|
4292
4390
|
readonly statetransitionwasm_struct_name: (a: number) => void;
|