pshenmic-dpp 1.1.2-dev.1 → 1.1.2-dev.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/dist/wasm/index.d.ts
CHANGED
|
@@ -103,6 +103,7 @@ export class DashPlatformProtocolWASM {
|
|
|
103
103
|
Purpose: DPP.Purpose
|
|
104
104
|
SecurityLevel: DPP.SecurityLevel
|
|
105
105
|
ActionGoalWASM: DPP.ActionGoalWASM
|
|
106
|
+
GroupActionStatusWASM: DPP.GroupActionStatusWASM
|
|
106
107
|
// METHODS
|
|
107
108
|
initSync: Function
|
|
108
109
|
verifyVotePollVoteStateProof: Function
|
|
@@ -123,4 +124,5 @@ export class DashPlatformProtocolWASM {
|
|
|
123
124
|
verifyTokenTotalSupply: Function
|
|
124
125
|
verifyTokensBalancesForIdentity: Function
|
|
125
126
|
verifyTokenDirectPurchasePrices: Function
|
|
127
|
+
verifyStateTransitionResult: Function
|
|
126
128
|
}
|
|
@@ -18,6 +18,7 @@ export function verifyIdentityByUniqueKeyHashProof(proof: Uint8Array, js_public_
|
|
|
18
18
|
export function verifyIdentifierByNonUniquePublicKeyHashProof(proof: Uint8Array, is_proof_subset: boolean, js_public_key_hash: Uint8Array, js_after: any, js_platform_version: any): VerifiedIdentifierByNonUniquePublicKeyHashWASM;
|
|
19
19
|
export function verifyVotePollVoteStateProof(proof: Uint8Array, contract: DataContractWASM, document_type_name: string, index_name: string, js_index_values: Uint8Array[], js_result_type: any, allow_include_locked_and_abstaining_vote_tally: boolean, count: number | null | undefined, js_start_at: any, js_platform_version: any): VerifiedVoteStateWASM;
|
|
20
20
|
export function verifySignatureDigest(sign_digest: Uint8Array, signature: Uint8Array, pubkey_bytes: Uint8Array): boolean;
|
|
21
|
+
export function verifyStateTransitionResult(proof: Uint8Array, state_transition: StateTransitionWASM, block_info: BlockInfoWASM, js_known_contracts_array: any, js_platform_version: any): VerifiedStateTransitionResultWASM;
|
|
21
22
|
export enum ActionGoalWASM {
|
|
22
23
|
ActionCompletion = 0,
|
|
23
24
|
ActionParticipation = 1,
|
|
@@ -40,6 +41,10 @@ export enum GasFeesPaidByWASM {
|
|
|
40
41
|
ContractOwner = 1,
|
|
41
42
|
PreferContractOwner = 2,
|
|
42
43
|
}
|
|
44
|
+
export enum GroupActionStatusWASM {
|
|
45
|
+
ActionActive = 0,
|
|
46
|
+
ActionClosed = 1,
|
|
47
|
+
}
|
|
43
48
|
export enum KeyType {
|
|
44
49
|
ECDSA_SECP256K1 = 0,
|
|
45
50
|
BLS12_381 = 1,
|
|
@@ -278,6 +283,24 @@ export class BlockBasedDistributionWASM {
|
|
|
278
283
|
function: DistributionFunctionWASM;
|
|
279
284
|
readonly __type: string;
|
|
280
285
|
}
|
|
286
|
+
export class BlockInfoWASM {
|
|
287
|
+
/** @ignore */
|
|
288
|
+
free(): void;
|
|
289
|
+
[Symbol.dispose](): void;
|
|
290
|
+
/**
|
|
291
|
+
* @param {bigint} timestamp
|
|
292
|
+
* @param {bigint} height
|
|
293
|
+
* @param {number} core_block_height
|
|
294
|
+
* @param {number} js_epoch_index
|
|
295
|
+
* @returns {BlockInfoWASM}
|
|
296
|
+
*/
|
|
297
|
+
constructor(timestamp: bigint, height: bigint, core_block_height: number, js_epoch_index?: number | null);
|
|
298
|
+
height: bigint;
|
|
299
|
+
coreHeight: number;
|
|
300
|
+
epochIndex: number;
|
|
301
|
+
timeMs: bigint;
|
|
302
|
+
epochKey: Uint8Array;
|
|
303
|
+
}
|
|
281
304
|
export class ChainAssetLockProofWASM {
|
|
282
305
|
/** @ignore */
|
|
283
306
|
free(): void;
|
|
@@ -1473,6 +1496,12 @@ export class IdentityPublicKeyInCreationWASM {
|
|
|
1473
1496
|
/** @ignore */
|
|
1474
1497
|
free(): void;
|
|
1475
1498
|
[Symbol.dispose](): void;
|
|
1499
|
+
/**
|
|
1500
|
+
* @param {PrivateKeyWASM} private_key
|
|
1501
|
+
* @param {any} js_network
|
|
1502
|
+
* @returns {boolean}
|
|
1503
|
+
*/
|
|
1504
|
+
validatePrivateKey(private_key: PrivateKeyWASM, js_network: any): boolean;
|
|
1476
1505
|
/** @returns {IdentityPublicKeyWASM} */
|
|
1477
1506
|
toIdentityPublicKey(): IdentityPublicKeyWASM;
|
|
1478
1507
|
/**
|
|
@@ -1530,6 +1559,12 @@ export class IdentityPublicKeyWASM {
|
|
|
1530
1559
|
* @returns {boolean}
|
|
1531
1560
|
*/
|
|
1532
1561
|
validatePrivateKey(js_private_key_bytes: Uint8Array, js_network: any): boolean;
|
|
1562
|
+
/**
|
|
1563
|
+
* @param {PrivateKeyWASM} private_key
|
|
1564
|
+
* @param {any} js_network
|
|
1565
|
+
* @returns {boolean}
|
|
1566
|
+
*/
|
|
1567
|
+
validatePrivateKeyBytes(private_key: PrivateKeyWASM, js_network: any): boolean;
|
|
1533
1568
|
/**
|
|
1534
1569
|
* @param {number} id
|
|
1535
1570
|
* @param {any} js_purpose
|
|
@@ -1544,13 +1579,13 @@ export class IdentityPublicKeyWASM {
|
|
|
1544
1579
|
constructor(id: number, js_purpose: any, js_security_level: any, js_key_type: any, read_only: boolean, binary_data: string, disabled_at: bigint | null | undefined, js_contract_bounds: any);
|
|
1545
1580
|
/** @returns {string} */
|
|
1546
1581
|
hex(): string;
|
|
1547
|
-
/** @returns {Uint8Array<ArrayBufferLike>} */
|
|
1548
|
-
bytes(): Uint8Array;
|
|
1549
1582
|
/**
|
|
1550
1583
|
* @param {string} hex
|
|
1551
1584
|
* @returns {IdentityPublicKeyWASM}
|
|
1552
1585
|
*/
|
|
1553
1586
|
static fromHex(hex: string): IdentityPublicKeyWASM;
|
|
1587
|
+
/** @returns {Uint8Array<ArrayBufferLike>} */
|
|
1588
|
+
bytes(): Uint8Array;
|
|
1554
1589
|
/** @returns {boolean} */
|
|
1555
1590
|
isMaster(): boolean;
|
|
1556
1591
|
/** @returns {string} */
|
|
@@ -1575,6 +1610,14 @@ export class IdentityPublicKeyWASM {
|
|
|
1575
1610
|
data: string;
|
|
1576
1611
|
readonly __type: string;
|
|
1577
1612
|
}
|
|
1613
|
+
export class IdentityTokenInfoWASM {
|
|
1614
|
+
/** @returns {IdentityTokenInfoWASM} */
|
|
1615
|
+
private constructor();
|
|
1616
|
+
/** @ignore */
|
|
1617
|
+
free(): void;
|
|
1618
|
+
[Symbol.dispose](): void;
|
|
1619
|
+
frozen: boolean;
|
|
1620
|
+
}
|
|
1578
1621
|
export class IdentityTopUpTransitionWASM {
|
|
1579
1622
|
/** @ignore */
|
|
1580
1623
|
free(): void;
|
|
@@ -1956,6 +1999,11 @@ export class PrivateKeyWASM {
|
|
|
1956
1999
|
getPublicKey(): PublicKeyWASM;
|
|
1957
2000
|
/** @returns {string} */
|
|
1958
2001
|
getPublicKeyHash(): string;
|
|
2002
|
+
/**
|
|
2003
|
+
* @param {Uint8Array<ArrayBufferLike>} data
|
|
2004
|
+
* @returns {Uint8Array<ArrayBufferLike>}
|
|
2005
|
+
*/
|
|
2006
|
+
sign(data: Uint8Array): Uint8Array;
|
|
1959
2007
|
/** @returns {string} */
|
|
1960
2008
|
hex(): string;
|
|
1961
2009
|
/** @returns {string} */
|
|
@@ -1973,6 +2021,11 @@ export class PrivateKeyWASM {
|
|
|
1973
2021
|
static fromWIF(wif: string): PrivateKeyWASM;
|
|
1974
2022
|
/** @returns {Uint8Array<ArrayBufferLike>} */
|
|
1975
2023
|
bytes(): Uint8Array;
|
|
2024
|
+
/**
|
|
2025
|
+
* @param {Uint8Array<ArrayBufferLike>} data_hash
|
|
2026
|
+
* @returns {Uint8Array<ArrayBufferLike>}
|
|
2027
|
+
*/
|
|
2028
|
+
signHash(data_hash: Uint8Array): Uint8Array;
|
|
1976
2029
|
static readonly __struct: string;
|
|
1977
2030
|
readonly __type: string;
|
|
1978
2031
|
}
|
|
@@ -2798,6 +2851,14 @@ export class TokenSetPriceForDirectPurchaseTransitionWASM {
|
|
|
2798
2851
|
price: any;
|
|
2799
2852
|
readonly __type: string;
|
|
2800
2853
|
}
|
|
2854
|
+
export class TokenStatusWASM {
|
|
2855
|
+
/** @returns {TokenStatusWASM} */
|
|
2856
|
+
private constructor();
|
|
2857
|
+
/** @ignore */
|
|
2858
|
+
free(): void;
|
|
2859
|
+
[Symbol.dispose](): void;
|
|
2860
|
+
paused: boolean;
|
|
2861
|
+
}
|
|
2801
2862
|
export class TokenTradeModeWASM {
|
|
2802
2863
|
/** @returns {TokenTradeModeWASM} */
|
|
2803
2864
|
private constructor();
|
|
@@ -3072,6 +3133,17 @@ export class VerifiedIdentityNonceWASM {
|
|
|
3072
3133
|
readonly rootHash: Uint8Array;
|
|
3073
3134
|
readonly __type: string;
|
|
3074
3135
|
}
|
|
3136
|
+
export class VerifiedStateTransitionResultWASM {
|
|
3137
|
+
/** @returns {VerifiedStateTransitionResultWASM} */
|
|
3138
|
+
private constructor();
|
|
3139
|
+
/** @ignore */
|
|
3140
|
+
free(): void;
|
|
3141
|
+
[Symbol.dispose](): void;
|
|
3142
|
+
static readonly __struct: string;
|
|
3143
|
+
readonly result: any;
|
|
3144
|
+
readonly rootHash: Uint8Array;
|
|
3145
|
+
readonly __type: string;
|
|
3146
|
+
}
|
|
3075
3147
|
export class VerifiedTokenBalancesForIdentitiesWASM {
|
|
3076
3148
|
/** @returns {VerifiedTokenBalancesForIdentitiesWASM} */
|
|
3077
3149
|
private constructor();
|
|
@@ -3212,9 +3284,11 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
3212
3284
|
|
|
3213
3285
|
export interface InitOutput {
|
|
3214
3286
|
readonly memory: WebAssembly.Memory;
|
|
3287
|
+
readonly __wbg_blockinfowasm_free: (a: number, b: number) => void;
|
|
3215
3288
|
readonly __wbg_contenderwithserializeddocumentwasm_free: (a: number, b: number) => void;
|
|
3216
3289
|
readonly __wbg_contesteddocumentvotepollqueryexecutionresultwasm_free: (a: number, b: number) => void;
|
|
3217
3290
|
readonly __wbg_extendedepochinfowasm_free: (a: number, b: number) => void;
|
|
3291
|
+
readonly __wbg_identitytokeninfowasm_free: (a: number, b: number) => void;
|
|
3218
3292
|
readonly __wbg_tokencontractinfowasm_free: (a: number, b: number) => void;
|
|
3219
3293
|
readonly __wbg_totalsingletokenbalancewasm_free: (a: number, b: number) => void;
|
|
3220
3294
|
readonly __wbg_verifiedcontractwasm_free: (a: number, b: number) => void;
|
|
@@ -3224,10 +3298,22 @@ export interface InitOutput {
|
|
|
3224
3298
|
readonly __wbg_verifiedidentitybalancewasm_free: (a: number, b: number) => void;
|
|
3225
3299
|
readonly __wbg_verifiedidentitybyidentifierwasm_free: (a: number, b: number) => void;
|
|
3226
3300
|
readonly __wbg_verifiedidentitykeysbyidentifierwasm_free: (a: number, b: number) => void;
|
|
3301
|
+
readonly __wbg_verifiedstatetransitionresultwasm_free: (a: number, b: number) => void;
|
|
3227
3302
|
readonly __wbg_verifiedtokenbalancesforidentitieswasm_free: (a: number, b: number) => void;
|
|
3228
3303
|
readonly __wbg_verifiedtokencontractinfowasm_free: (a: number, b: number) => void;
|
|
3229
3304
|
readonly __wbg_verifiedtokendirectpurchaseprices_free: (a: number, b: number) => void;
|
|
3230
3305
|
readonly __wbg_verifiedvotestatewasm_free: (a: number, b: number) => void;
|
|
3306
|
+
readonly blockinfowasm_core_height: (a: number) => number;
|
|
3307
|
+
readonly blockinfowasm_epoch_index: (a: number) => number;
|
|
3308
|
+
readonly blockinfowasm_epoch_key: (a: number, b: number) => void;
|
|
3309
|
+
readonly blockinfowasm_height: (a: number) => bigint;
|
|
3310
|
+
readonly blockinfowasm_new: (a: number, b: bigint, c: bigint, d: number, e: number) => void;
|
|
3311
|
+
readonly blockinfowasm_set_core_height: (a: number, b: number) => void;
|
|
3312
|
+
readonly blockinfowasm_set_epoch_index: (a: number, b: number) => void;
|
|
3313
|
+
readonly blockinfowasm_set_epoch_key: (a: number, b: number, c: number, d: number) => void;
|
|
3314
|
+
readonly blockinfowasm_set_height: (a: number, b: bigint) => void;
|
|
3315
|
+
readonly blockinfowasm_set_time_ms: (a: number, b: bigint) => void;
|
|
3316
|
+
readonly blockinfowasm_time_ms: (a: number) => bigint;
|
|
3231
3317
|
readonly contenderwithserializeddocumentwasm_identity_id: (a: number) => number;
|
|
3232
3318
|
readonly contenderwithserializeddocumentwasm_serialized_document: (a: number, b: number) => void;
|
|
3233
3319
|
readonly contenderwithserializeddocumentwasm_struct_name: (a: number) => void;
|
|
@@ -3248,8 +3334,11 @@ export interface InitOutput {
|
|
|
3248
3334
|
readonly extendedepochinfowasm_protocol_version: (a: number) => number;
|
|
3249
3335
|
readonly extendedepochinfowasm_struct_name: (a: number) => void;
|
|
3250
3336
|
readonly extendedepochinfowasm_type_name: (a: number, b: number) => void;
|
|
3337
|
+
readonly identitytokeninfowasm_frozen: (a: number) => number;
|
|
3338
|
+
readonly identitytokeninfowasm_set_frozen: (a: number, b: number) => void;
|
|
3251
3339
|
readonly tokencontractinfowasm_contract_id: (a: number) => number;
|
|
3252
3340
|
readonly tokencontractinfowasm_token_contract_position: (a: number) => number;
|
|
3341
|
+
readonly tokenstatuswasm_set_paused: (a: number, b: number) => void;
|
|
3253
3342
|
readonly totalsingletokenbalancewasm_aggregated_token_account_balances: (a: number) => bigint;
|
|
3254
3343
|
readonly totalsingletokenbalancewasm_struct_name: (a: number) => void;
|
|
3255
3344
|
readonly totalsingletokenbalancewasm_token_supply: (a: number) => bigint;
|
|
@@ -3288,6 +3377,10 @@ export interface InitOutput {
|
|
|
3288
3377
|
readonly verifiedidentitykeysbyidentifierwasm_type_name: (a: number, b: number) => void;
|
|
3289
3378
|
readonly verifiedidentitynoncewasm_struct_name: (a: number) => void;
|
|
3290
3379
|
readonly verifiedidentitynoncewasm_type_name: (a: number, b: number) => void;
|
|
3380
|
+
readonly verifiedstatetransitionresultwasm_result: (a: number, b: number) => void;
|
|
3381
|
+
readonly verifiedstatetransitionresultwasm_root_hash: (a: number) => number;
|
|
3382
|
+
readonly verifiedstatetransitionresultwasm_struct_name: (a: number) => void;
|
|
3383
|
+
readonly verifiedstatetransitionresultwasm_type_name: (a: number, b: number) => void;
|
|
3291
3384
|
readonly verifiedtokenbalancesforidentitieswasm_balances: (a: number) => number;
|
|
3292
3385
|
readonly verifiedtokenbalancesforidentitieswasm_root_hash: (a: number) => number;
|
|
3293
3386
|
readonly verifiedtokenbalancesforidentitieswasm_struct_name: (a: number) => void;
|
|
@@ -3325,6 +3418,7 @@ export interface InitOutput {
|
|
|
3325
3418
|
readonly verifyIdentityKeysByIdentifierProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
3326
3419
|
readonly verifyIdentityNonceProof: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
3327
3420
|
readonly verifySignatureDigest: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
3421
|
+
readonly verifyStateTransitionResult: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
3328
3422
|
readonly verifyTokenBalancesForIdentitiesProof: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
3329
3423
|
readonly verifyTokenContractInfoProof: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
3330
3424
|
readonly verifyTokenDirectPurchasePrices: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
@@ -3332,20 +3426,22 @@ export interface InitOutput {
|
|
|
3332
3426
|
readonly verifyTokensBalancesForIdentityProof: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
3333
3427
|
readonly verifyTotalCreditsProof: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
3334
3428
|
readonly verifyVotePollVoteStateProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number) => void;
|
|
3335
|
-
readonly __wbg_verifiedidentitynoncewasm_free: (a: number, b: number) => void;
|
|
3336
3429
|
readonly __wbg_verifiedtotalcreditswasm_free: (a: number, b: number) => void;
|
|
3430
|
+
readonly __wbg_verifiedidentitynoncewasm_free: (a: number, b: number) => void;
|
|
3337
3431
|
readonly __wbg_verifiedidentitycontractnoncewasm_free: (a: number, b: number) => void;
|
|
3338
3432
|
readonly __wbg_verifiedtokentotalsupplywasm_free: (a: number, b: number) => void;
|
|
3339
|
-
readonly
|
|
3433
|
+
readonly __wbg_tokenstatuswasm_free: (a: number, b: number) => void;
|
|
3340
3434
|
readonly __wbg_verifiedtokensbalancesforidentitywasm_free: (a: number, b: number) => void;
|
|
3341
|
-
readonly
|
|
3342
|
-
readonly verifiedtokensbalancesforidentitywasm_balances: (a: number) => number;
|
|
3343
|
-
readonly verifiedidentitynoncewasm_root_hash: (a: number) => number;
|
|
3344
|
-
readonly verifiedidentitynoncewasm_nonce: (a: number, b: number) => void;
|
|
3435
|
+
readonly __wbg_verifiedidentitybyuniquekeyhashwasm_free: (a: number, b: number) => void;
|
|
3345
3436
|
readonly verifiedidentitybyuniquekeyhashwasm_root_hash: (a: number) => number;
|
|
3346
3437
|
readonly verifiedidentitybyuniquekeyhashwasm_identity: (a: number) => number;
|
|
3438
|
+
readonly tokenstatuswasm_paused: (a: number) => number;
|
|
3439
|
+
readonly verifiedtokensbalancesforidentitywasm_root_hash: (a: number) => number;
|
|
3440
|
+
readonly verifiedtokensbalancesforidentitywasm_balances: (a: number) => number;
|
|
3347
3441
|
readonly verifiedidentitycontractnoncewasm_root_hash: (a: number) => number;
|
|
3348
3442
|
readonly verifiedidentitycontractnoncewasm_contract_nonce: (a: number, b: number) => void;
|
|
3443
|
+
readonly verifiedidentitynoncewasm_root_hash: (a: number) => number;
|
|
3444
|
+
readonly verifiedidentitynoncewasm_nonce: (a: number, b: number) => void;
|
|
3349
3445
|
readonly __wbg_partialidentitywasm_free: (a: number, b: number) => void;
|
|
3350
3446
|
readonly partialidentitywasm_balance: (a: number, b: number) => void;
|
|
3351
3447
|
readonly partialidentitywasm_id: (a: number) => number;
|
|
@@ -3417,7 +3513,6 @@ export interface InitOutput {
|
|
|
3417
3513
|
readonly __wbg_identitycreatetransitionwasm_free: (a: number, b: number) => void;
|
|
3418
3514
|
readonly __wbg_identitycredittransferwasm_free: (a: number, b: number) => void;
|
|
3419
3515
|
readonly __wbg_identitycreditwithdrawaltransitionwasm_free: (a: number, b: number) => void;
|
|
3420
|
-
readonly __wbg_identitypublickeyincreationwasm_free: (a: number, b: number) => void;
|
|
3421
3516
|
readonly __wbg_identitytopuptransitionwasm_free: (a: number, b: number) => void;
|
|
3422
3517
|
readonly __wbg_identityupdatetransitionwasm_free: (a: number, b: number) => void;
|
|
3423
3518
|
readonly identitycreatetransitionwasm_bytes: (a: number, b: number) => void;
|
|
@@ -3499,27 +3594,6 @@ export interface InitOutput {
|
|
|
3499
3594
|
readonly identitycreditwithdrawaltransitionwasm_struct_name: (a: number) => void;
|
|
3500
3595
|
readonly identitycreditwithdrawaltransitionwasm_toStateTransition: (a: number) => number;
|
|
3501
3596
|
readonly identitycreditwithdrawaltransitionwasm_type_name: (a: number, b: number) => void;
|
|
3502
|
-
readonly identitypublickeyincreationwasm_getHash: (a: number, b: number) => void;
|
|
3503
|
-
readonly identitypublickeyincreationwasm_get_contract_bounds: (a: number) => number;
|
|
3504
|
-
readonly identitypublickeyincreationwasm_get_data: (a: number, b: number) => void;
|
|
3505
|
-
readonly identitypublickeyincreationwasm_get_key_id: (a: number) => number;
|
|
3506
|
-
readonly identitypublickeyincreationwasm_get_key_type: (a: number, b: number) => void;
|
|
3507
|
-
readonly identitypublickeyincreationwasm_get_purpose: (a: number, b: number) => void;
|
|
3508
|
-
readonly identitypublickeyincreationwasm_get_read_only: (a: number) => number;
|
|
3509
|
-
readonly identitypublickeyincreationwasm_get_security_level: (a: number, b: number) => void;
|
|
3510
|
-
readonly identitypublickeyincreationwasm_get_signature: (a: number, b: number) => void;
|
|
3511
|
-
readonly identitypublickeyincreationwasm_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
|
|
3512
|
-
readonly identitypublickeyincreationwasm_set_contract_bounds: (a: number, b: number, c: number) => void;
|
|
3513
|
-
readonly identitypublickeyincreationwasm_set_data: (a: number, b: number, c: number) => void;
|
|
3514
|
-
readonly identitypublickeyincreationwasm_set_key_id: (a: number, b: number) => void;
|
|
3515
|
-
readonly identitypublickeyincreationwasm_set_key_type: (a: number, b: number, c: number) => void;
|
|
3516
|
-
readonly identitypublickeyincreationwasm_set_purpose: (a: number, b: number, c: number) => void;
|
|
3517
|
-
readonly identitypublickeyincreationwasm_set_read_only: (a: number, b: number) => void;
|
|
3518
|
-
readonly identitypublickeyincreationwasm_set_security_level: (a: number, b: number, c: number) => void;
|
|
3519
|
-
readonly identitypublickeyincreationwasm_set_signature: (a: number, b: number, c: number) => void;
|
|
3520
|
-
readonly identitypublickeyincreationwasm_struct_name: (a: number) => void;
|
|
3521
|
-
readonly identitypublickeyincreationwasm_toIdentityPublicKey: (a: number, b: number) => void;
|
|
3522
|
-
readonly identitypublickeyincreationwasm_type_name: (a: number, b: number) => void;
|
|
3523
3597
|
readonly identitytopuptransitionwasm_base64: (a: number, b: number) => void;
|
|
3524
3598
|
readonly identitytopuptransitionwasm_bytes: (a: number, b: number) => void;
|
|
3525
3599
|
readonly identitytopuptransitionwasm_fromBase64: (a: number, b: number, c: number) => void;
|
|
@@ -4045,20 +4119,20 @@ export interface InitOutput {
|
|
|
4045
4119
|
readonly tokenunfreezetransitionwasm_new: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
4046
4120
|
readonly tokenfreezetransitionwasm_new: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
4047
4121
|
readonly documentupdatepricetransitionwasm_new: (a: number, b: number, c: bigint, d: bigint, e: number) => void;
|
|
4048
|
-
readonly __wbg_tokenfreezetransitionwasm_free: (a: number, b: number) => void;
|
|
4049
4122
|
readonly __wbg_tokenemergencyactiontransitionwasm_free: (a: number, b: number) => void;
|
|
4050
|
-
readonly __wbg_tokenunfreezetransitionwasm_free: (a: number, b: number) => void;
|
|
4051
|
-
readonly __wbg_documentdeletetransitionwasm_free: (a: number, b: number) => void;
|
|
4052
4123
|
readonly __wbg_documentupdatepricetransitionwasm_free: (a: number, b: number) => void;
|
|
4053
|
-
readonly
|
|
4054
|
-
readonly
|
|
4055
|
-
readonly
|
|
4124
|
+
readonly __wbg_documentdeletetransitionwasm_free: (a: number, b: number) => void;
|
|
4125
|
+
readonly __wbg_tokenfreezetransitionwasm_free: (a: number, b: number) => void;
|
|
4126
|
+
readonly __wbg_tokenunfreezetransitionwasm_free: (a: number, b: number) => void;
|
|
4056
4127
|
readonly documentupdatepricetransitionwasm_get_price: (a: number) => bigint;
|
|
4057
4128
|
readonly documentupdatepricetransitionwasm_get_base: (a: number) => number;
|
|
4058
|
-
readonly
|
|
4059
|
-
readonly
|
|
4060
|
-
readonly
|
|
4129
|
+
readonly tokenemergencyactiontransitionwasm_get_base: (a: number) => number;
|
|
4130
|
+
readonly tokenunfreezetransitionwasm_get_base: (a: number) => number;
|
|
4131
|
+
readonly tokenfreezetransitionwasm_get_base: (a: number) => number;
|
|
4061
4132
|
readonly tokenunfreezetransitionwasm_set_base: (a: number, b: number) => void;
|
|
4133
|
+
readonly tokenfreezetransitionwasm_set_base: (a: number, b: number) => void;
|
|
4134
|
+
readonly tokenemergencyactiontransitionwasm_set_base: (a: number, b: number) => void;
|
|
4135
|
+
readonly documentupdatepricetransitionwasm_set_price: (a: number, b: bigint) => void;
|
|
4062
4136
|
readonly __wbg_privateencryptednotewasm_free: (a: number, b: number) => void;
|
|
4063
4137
|
readonly privateencryptednotewasm_derivation_encryption_key_index: (a: number) => number;
|
|
4064
4138
|
readonly privateencryptednotewasm_new: (a: number, b: number, c: number, d: number) => number;
|
|
@@ -4563,30 +4637,30 @@ export interface InitOutput {
|
|
|
4563
4637
|
readonly statetransitionwasm_struct_name: (a: number) => void;
|
|
4564
4638
|
readonly statetransitionwasm_type_name: (a: number, b: number) => void;
|
|
4565
4639
|
readonly statetransitionwasm_verifyPublicKey: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
4566
|
-
readonly
|
|
4567
|
-
readonly privatekeywasm_WIF: (a: number, b: number) => void;
|
|
4568
|
-
readonly privatekeywasm_bytes: (a: number, b: number) => void;
|
|
4569
|
-
readonly privatekeywasm_fromBytes: (a: number, b: number, c: number, d: number) => void;
|
|
4570
|
-
readonly privatekeywasm_fromHex: (a: number, b: number, c: number, d: number) => void;
|
|
4571
|
-
readonly privatekeywasm_fromWIF: (a: number, b: number, c: number) => void;
|
|
4572
|
-
readonly privatekeywasm_getPublicKey: (a: number) => number;
|
|
4573
|
-
readonly privatekeywasm_getPublicKeyHash: (a: number, b: number) => void;
|
|
4574
|
-
readonly privatekeywasm_hex: (a: number, b: number) => void;
|
|
4575
|
-
readonly privatekeywasm_struct_name: (a: number) => void;
|
|
4576
|
-
readonly privatekeywasm_type_name: (a: number, b: number) => void;
|
|
4577
|
-
readonly __wbg_publickeywasm_free: (a: number, b: number) => void;
|
|
4578
|
-
readonly publickeywasm_bytes: (a: number, b: number) => void;
|
|
4579
|
-
readonly publickeywasm_compressed: (a: number) => number;
|
|
4580
|
-
readonly publickeywasm_fromBytes: (a: number, b: number, c: number) => void;
|
|
4581
|
-
readonly publickeywasm_getPublicKeyHash: (a: number, b: number) => void;
|
|
4582
|
-
readonly publickeywasm_hash160: (a: number, b: number) => void;
|
|
4583
|
-
readonly publickeywasm_inner: (a: number, b: number) => void;
|
|
4584
|
-
readonly publickeywasm_new: (a: number, b: number, c: number, d: number) => void;
|
|
4585
|
-
readonly publickeywasm_set_compressed: (a: number, b: number) => void;
|
|
4586
|
-
readonly publickeywasm_set_inner: (a: number, b: number, c: number, d: number) => void;
|
|
4587
|
-
readonly publickeywasm_struct_name: (a: number) => void;
|
|
4588
|
-
readonly publickeywasm_type_name: (a: number, b: number) => void;
|
|
4640
|
+
readonly __wbg_identitypublickeyincreationwasm_free: (a: number, b: number) => void;
|
|
4589
4641
|
readonly __wbg_identitypublickeywasm_free: (a: number, b: number) => void;
|
|
4642
|
+
readonly identitypublickeyincreationwasm_getHash: (a: number, b: number) => void;
|
|
4643
|
+
readonly identitypublickeyincreationwasm_get_contract_bounds: (a: number) => number;
|
|
4644
|
+
readonly identitypublickeyincreationwasm_get_data: (a: number, b: number) => void;
|
|
4645
|
+
readonly identitypublickeyincreationwasm_get_key_id: (a: number) => number;
|
|
4646
|
+
readonly identitypublickeyincreationwasm_get_key_type: (a: number, b: number) => void;
|
|
4647
|
+
readonly identitypublickeyincreationwasm_get_purpose: (a: number, b: number) => void;
|
|
4648
|
+
readonly identitypublickeyincreationwasm_get_read_only: (a: number) => number;
|
|
4649
|
+
readonly identitypublickeyincreationwasm_get_security_level: (a: number, b: number) => void;
|
|
4650
|
+
readonly identitypublickeyincreationwasm_get_signature: (a: number, b: number) => void;
|
|
4651
|
+
readonly identitypublickeyincreationwasm_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
|
|
4652
|
+
readonly identitypublickeyincreationwasm_set_contract_bounds: (a: number, b: number, c: number) => void;
|
|
4653
|
+
readonly identitypublickeyincreationwasm_set_data: (a: number, b: number, c: number) => void;
|
|
4654
|
+
readonly identitypublickeyincreationwasm_set_key_id: (a: number, b: number) => void;
|
|
4655
|
+
readonly identitypublickeyincreationwasm_set_key_type: (a: number, b: number, c: number) => void;
|
|
4656
|
+
readonly identitypublickeyincreationwasm_set_purpose: (a: number, b: number, c: number) => void;
|
|
4657
|
+
readonly identitypublickeyincreationwasm_set_read_only: (a: number, b: number) => void;
|
|
4658
|
+
readonly identitypublickeyincreationwasm_set_security_level: (a: number, b: number, c: number) => void;
|
|
4659
|
+
readonly identitypublickeyincreationwasm_set_signature: (a: number, b: number, c: number) => void;
|
|
4660
|
+
readonly identitypublickeyincreationwasm_struct_name: (a: number) => void;
|
|
4661
|
+
readonly identitypublickeyincreationwasm_toIdentityPublicKey: (a: number, b: number) => void;
|
|
4662
|
+
readonly identitypublickeyincreationwasm_type_name: (a: number, b: number) => void;
|
|
4663
|
+
readonly identitypublickeyincreationwasm_validatePrivateKey: (a: number, b: number, c: number, d: number) => void;
|
|
4590
4664
|
readonly identitypublickeywasm_base64: (a: number, b: number) => void;
|
|
4591
4665
|
readonly identitypublickeywasm_bytes: (a: number, b: number) => void;
|
|
4592
4666
|
readonly identitypublickeywasm_fromBase64: (a: number, b: number, c: number) => void;
|
|
@@ -4618,9 +4692,35 @@ export interface InitOutput {
|
|
|
4618
4692
|
readonly identitypublickeywasm_struct_name: (a: number) => void;
|
|
4619
4693
|
readonly identitypublickeywasm_type_name: (a: number, b: number) => void;
|
|
4620
4694
|
readonly identitypublickeywasm_validatePrivateKey: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
4695
|
+
readonly identitypublickeywasm_validatePrivateKeyBytes: (a: number, b: number, c: number, d: number) => void;
|
|
4621
4696
|
readonly identitypublickeywasm_set_key_type_number: (a: number, b: number, c: number) => void;
|
|
4622
4697
|
readonly identitypublickeywasm_set_purpose_number: (a: number, b: number, c: number) => void;
|
|
4623
4698
|
readonly identitypublickeywasm_set_security_level_number: (a: number, b: number, c: number) => void;
|
|
4699
|
+
readonly __wbg_privatekeywasm_free: (a: number, b: number) => void;
|
|
4700
|
+
readonly privatekeywasm_WIF: (a: number, b: number) => void;
|
|
4701
|
+
readonly privatekeywasm_bytes: (a: number, b: number) => void;
|
|
4702
|
+
readonly privatekeywasm_fromBytes: (a: number, b: number, c: number, d: number) => void;
|
|
4703
|
+
readonly privatekeywasm_fromHex: (a: number, b: number, c: number, d: number) => void;
|
|
4704
|
+
readonly privatekeywasm_fromWIF: (a: number, b: number, c: number) => void;
|
|
4705
|
+
readonly privatekeywasm_getPublicKey: (a: number) => number;
|
|
4706
|
+
readonly privatekeywasm_getPublicKeyHash: (a: number, b: number) => void;
|
|
4707
|
+
readonly privatekeywasm_hex: (a: number, b: number) => void;
|
|
4708
|
+
readonly privatekeywasm_sign: (a: number, b: number, c: number, d: number) => void;
|
|
4709
|
+
readonly privatekeywasm_signHash: (a: number, b: number, c: number, d: number) => void;
|
|
4710
|
+
readonly privatekeywasm_struct_name: (a: number) => void;
|
|
4711
|
+
readonly privatekeywasm_type_name: (a: number, b: number) => void;
|
|
4712
|
+
readonly __wbg_publickeywasm_free: (a: number, b: number) => void;
|
|
4713
|
+
readonly publickeywasm_bytes: (a: number, b: number) => void;
|
|
4714
|
+
readonly publickeywasm_compressed: (a: number) => number;
|
|
4715
|
+
readonly publickeywasm_fromBytes: (a: number, b: number, c: number) => void;
|
|
4716
|
+
readonly publickeywasm_getPublicKeyHash: (a: number, b: number) => void;
|
|
4717
|
+
readonly publickeywasm_hash160: (a: number, b: number) => void;
|
|
4718
|
+
readonly publickeywasm_inner: (a: number, b: number) => void;
|
|
4719
|
+
readonly publickeywasm_new: (a: number, b: number, c: number, d: number) => void;
|
|
4720
|
+
readonly publickeywasm_set_compressed: (a: number, b: number) => void;
|
|
4721
|
+
readonly publickeywasm_set_inner: (a: number, b: number, c: number, d: number) => void;
|
|
4722
|
+
readonly publickeywasm_struct_name: (a: number) => void;
|
|
4723
|
+
readonly publickeywasm_type_name: (a: number, b: number) => void;
|
|
4624
4724
|
readonly __wbg_contractboundswasm_free: (a: number, b: number) => void;
|
|
4625
4725
|
readonly contractboundswasm_SingleContract: (a: number, b: number) => void;
|
|
4626
4726
|
readonly contractboundswasm_SingleContractDocumentType: (a: number, b: number, c: number, d: number) => void;
|