pshenmic-dpp 1.0.18 → 1.0.20

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.
@@ -89,10 +89,10 @@ export class AssetLockProofWASM {
89
89
  /** @ignore */
90
90
  free(): void;
91
91
  /**
92
- * @param {any} js_asset_lock_proof_type
92
+ * @param {any} js_asset_lock_proof
93
93
  * @returns {AssetLockProofWASM}
94
94
  */
95
- constructor(js_asset_lock_proof_type: any);
95
+ constructor(js_asset_lock_proof: any);
96
96
  /**
97
97
  * @param {Uint8Array<ArrayBufferLike>} instant_lock
98
98
  * @param {Uint8Array<ArrayBufferLike>} transaction
@@ -114,8 +114,17 @@ export class AssetLockProofWASM {
114
114
  getChainLockProof(): ChainAssetLockProofWASM;
115
115
  /** @returns {OutPointWASM} */
116
116
  getOutPoint(): OutPointWASM | undefined;
117
+ /** @returns {IdentifierWASM} */
118
+ createIdentityId(): IdentifierWASM;
117
119
  /** @returns {any} */
118
120
  toObject(): any;
121
+ /** @returns {string} */
122
+ hex(): string;
123
+ /**
124
+ * @param {string} asset_lock_proof
125
+ * @returns {AssetLockProofWASM}
126
+ */
127
+ static fromHex(asset_lock_proof: string): AssetLockProofWASM;
119
128
  readonly __type: string;
120
129
  static readonly __struct: string;
121
130
  }
@@ -248,6 +257,8 @@ export class ChainAssetLockProofWASM {
248
257
  * @returns {ChainAssetLockProofWASM}
249
258
  */
250
259
  static fromRawObject(raw_asset_lock_proof: any): ChainAssetLockProofWASM;
260
+ /** @returns {IdentifierWASM} */
261
+ createIdentityId(): IdentifierWASM;
251
262
  readonly __type: string;
252
263
  static readonly __struct: string;
253
264
  coreChainLockedHeight: number;
@@ -1146,12 +1157,11 @@ export class IdentityCreateTransitionWASM {
1146
1157
  /**
1147
1158
  * @param {any[]} js_public_keys
1148
1159
  * @param {AssetLockProofWASM} asset_lock
1149
- * @param {number} user_fee_increase
1150
1160
  * @param {Uint8Array<ArrayBufferLike>} signature
1151
- * @param {any} js_identity_id
1161
+ * @param {number} user_fee_increase
1152
1162
  * @returns {IdentityCreateTransitionWASM}
1153
1163
  */
1154
- constructor(js_public_keys: Array<any>, asset_lock: AssetLockProofWASM, user_fee_increase: number, signature: Uint8Array | null | undefined, js_identity_id: any);
1164
+ constructor(js_public_keys: Array<any>, asset_lock: AssetLockProofWASM, signature?: Uint8Array | null, user_fee_increase?: number | null);
1155
1165
  /**
1156
1166
  * @param {any} js_platform_version
1157
1167
  * @returns {IdentityCreateTransitionWASM}
@@ -1201,10 +1211,10 @@ export class IdentityCreditTransferWASM {
1201
1211
  * @param {any} js_sender
1202
1212
  * @param {any} js_recipient
1203
1213
  * @param {bigint} nonce
1204
- * @param {any} js_platform_version_wasm
1214
+ * @param {number} user_fee_increase
1205
1215
  * @returns {IdentityCreditTransferWASM}
1206
1216
  */
1207
- constructor(amount: bigint, js_sender: any, js_recipient: any, nonce: bigint, js_platform_version_wasm: any);
1217
+ constructor(amount: bigint, js_sender: any, js_recipient: any, nonce: bigint, user_fee_increase?: number | null);
1208
1218
  /** @returns {Uint8Array<ArrayBufferLike>} */
1209
1219
  bytes(): Uint8Array;
1210
1220
  /** @returns {string} */
@@ -1325,7 +1335,7 @@ export class IdentityPublicKeyInCreationWASM {
1325
1335
  * @param {Uint8Array<ArrayBufferLike>} signature
1326
1336
  * @returns {IdentityPublicKeyInCreationWASM}
1327
1337
  */
1328
- constructor(id: number, js_purpose: any, js_security_level: any, js_key_type: any, read_only: boolean, binary_data: Uint8Array, signature: Uint8Array);
1338
+ constructor(id: number, js_purpose: any, js_security_level: any, js_key_type: any, read_only: boolean, binary_data: Uint8Array, signature?: Uint8Array | null);
1329
1339
  /** @returns {IdentityPublicKeyWASM} */
1330
1340
  toIdentityPublicKey(): IdentityPublicKeyWASM;
1331
1341
  /** @returns {Uint8Array<ArrayBufferLike>} */
@@ -1421,7 +1431,7 @@ export class IdentityTopUpTransitionWASM {
1421
1431
  * @param {number} user_fee_increase
1422
1432
  * @returns {IdentityTopUpTransitionWASM}
1423
1433
  */
1424
- constructor(asset_lock_proof: AssetLockProofWASM, js_identity_id: any, user_fee_increase: number);
1434
+ constructor(asset_lock_proof: AssetLockProofWASM, js_identity_id: any, user_fee_increase?: number | null);
1425
1435
  /** @returns {IdentifierWASM[]} */
1426
1436
  getModifiedDataIds(): IdentifierWASM[];
1427
1437
  /** @returns {any} */
@@ -1471,12 +1481,12 @@ export class IdentityUpdateTransitionWASM {
1471
1481
  * @param {any} js_identity_id
1472
1482
  * @param {bigint} revision
1473
1483
  * @param {bigint} nonce
1474
- * @param {number} user_fee_increase
1475
1484
  * @param {any[]} js_add_public_keys
1476
1485
  * @param {Uint32Array<ArrayBufferLike>} disable_public_keys
1486
+ * @param {number} user_fee_increase
1477
1487
  * @returns {IdentityUpdateTransitionWASM}
1478
1488
  */
1479
- constructor(js_identity_id: any, revision: bigint, nonce: bigint, user_fee_increase: number | null | undefined, js_add_public_keys: Array<any>, disable_public_keys: Uint32Array);
1489
+ constructor(js_identity_id: any, revision: bigint, nonce: bigint, js_add_public_keys: Array<any>, disable_public_keys: Uint32Array, user_fee_increase?: number | null);
1480
1490
  /** @returns {string[]} */
1481
1491
  getPurposeRequirement(): string[];
1482
1492
  /** @returns {IdentifierWASM[]} */
@@ -1596,6 +1606,8 @@ export class InstantAssetLockProofWASM {
1596
1606
  getTransaction(): Uint8Array;
1597
1607
  /** @returns {Uint8Array<ArrayBufferLike>} */
1598
1608
  getInstantLockBytes(): Uint8Array;
1609
+ /** @returns {IdentifierWASM} */
1610
+ createIdentityId(): IdentifierWASM;
1599
1611
  readonly __type: string;
1600
1612
  static readonly __struct: string;
1601
1613
  outputIndex: number;
@@ -1764,6 +1776,8 @@ export class PrivateKeyWASM {
1764
1776
  * @returns {PrivateKeyWASM}
1765
1777
  */
1766
1778
  static fromHex(hex_key: string, js_network: any): PrivateKeyWASM;
1779
+ /** @returns {PublicKeyWASM} */
1780
+ getPublicKey(): PublicKeyWASM;
1767
1781
  /** @returns {string} */
1768
1782
  WIF(): string;
1769
1783
  /** @returns {Uint8Array<ArrayBufferLike>} */
@@ -1775,6 +1789,29 @@ export class PrivateKeyWASM {
1775
1789
  readonly __type: string;
1776
1790
  static readonly __struct: string;
1777
1791
  }
1792
+ export class PublicKeyWASM {
1793
+ /** @ignore */
1794
+ free(): void;
1795
+ /**
1796
+ * @param {boolean} compressed
1797
+ * @param {Uint8Array<ArrayBufferLike>} public_key_bytes
1798
+ * @returns {PublicKeyWASM}
1799
+ */
1800
+ constructor(compressed: boolean, public_key_bytes: Uint8Array);
1801
+ /** @returns {string} */
1802
+ getPublicKeyHash(): string;
1803
+ /** @returns {Uint8Array<ArrayBufferLike>} */
1804
+ bytes(): Uint8Array;
1805
+ /**
1806
+ * @param {Uint8Array<ArrayBufferLike>} bytes
1807
+ * @returns {PublicKeyWASM}
1808
+ */
1809
+ static fromBytes(bytes: Uint8Array): PublicKeyWASM;
1810
+ readonly __type: string;
1811
+ static readonly __struct: string;
1812
+ compressed: boolean;
1813
+ inner: Uint8Array;
1814
+ }
1778
1815
  export class ResourceVoteChoiceWASM {
1779
1816
  /** @returns {ResourceVoteChoiceWASM} */
1780
1817
  private constructor();
@@ -1857,6 +1894,12 @@ export class StateTransitionWASM {
1857
1894
  * @returns {Uint8Array<ArrayBufferLike>}
1858
1895
  */
1859
1896
  signByPrivateKey(private_key: PrivateKeyWASM, js_key_type: any): Uint8Array;
1897
+ /**
1898
+ * @param {IdentityPublicKeyWASM} public_key
1899
+ * @param {boolean} js_allow_signing_with_any_security_level
1900
+ * @param {boolean} js_allow_signing_with_any_purpose
1901
+ */
1902
+ verifyPublicKey(public_key: IdentityPublicKeyWASM, js_allow_signing_with_any_security_level?: boolean | null, js_allow_signing_with_any_purpose?: boolean | null): void;
1860
1903
  /** @returns {any} */
1861
1904
  bytes(): any;
1862
1905
  /** @returns {any} */
@@ -1891,6 +1934,11 @@ export class StateTransitionWASM {
1891
1934
  getOwnerId(): IdentifierWASM;
1892
1935
  /** @returns {string[]} */
1893
1936
  getPurposeRequirement(): string[] | undefined;
1937
+ /**
1938
+ * @param {any} js_purpose
1939
+ * @returns {string[]}
1940
+ */
1941
+ getKeyLevelRequirement(js_purpose: any): string[] | undefined;
1894
1942
  readonly __type: string;
1895
1943
  static readonly __struct: string;
1896
1944
  signature: Uint8Array;
@@ -2689,7 +2737,7 @@ export interface InitOutput {
2689
2737
  readonly __wbg_identitycreatetransitionwasm_free: (a: number, b: number) => void;
2690
2738
  readonly identitycreatetransitionwasm_type_name: (a: number, b: number) => void;
2691
2739
  readonly identitycreatetransitionwasm_struct_name: (a: number) => void;
2692
- readonly identitycreatetransitionwasm_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
2740
+ readonly identitycreatetransitionwasm_new: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
2693
2741
  readonly identitycreatetransitionwasm_default: (a: number, b: number) => void;
2694
2742
  readonly identitycreatetransitionwasm_fromHex: (a: number, b: number, c: number) => void;
2695
2743
  readonly identitycreatetransitionwasm_fromBase64: (a: number, b: number, c: number) => void;
@@ -2865,6 +2913,7 @@ export interface InitOutput {
2865
2913
  readonly chainassetlockproofwasm_set_out_point: (a: number, b: number) => void;
2866
2914
  readonly chainassetlockproofwasm_get_core_chain_locked_height: (a: number) => number;
2867
2915
  readonly chainassetlockproofwasm_get_out_point: (a: number) => number;
2916
+ readonly chainassetlockproofwasm_createIdentityId: (a: number) => number;
2868
2917
  readonly __wbg_instantlockwasm_free: (a: number, b: number) => void;
2869
2918
  readonly instantlockwasm_type_name: (a: number, b: number) => void;
2870
2919
  readonly instantlockwasm_struct_name: (a: number) => void;
@@ -2893,6 +2942,7 @@ export interface InitOutput {
2893
2942
  readonly instantassetlockproofwasm_set_instant_lock: (a: number, b: number) => void;
2894
2943
  readonly instantassetlockproofwasm_getTransaction: (a: number, b: number) => void;
2895
2944
  readonly instantassetlockproofwasm_getInstantLockBytes: (a: number, b: number) => void;
2945
+ readonly instantassetlockproofwasm_createIdentityId: (a: number, b: number) => void;
2896
2946
  readonly __wbg_outpointwasm_free: (a: number, b: number) => void;
2897
2947
  readonly outpointwasm_type_name: (a: number, b: number) => void;
2898
2948
  readonly outpointwasm_struct_name: (a: number) => void;
@@ -2926,7 +2976,10 @@ export interface InitOutput {
2926
2976
  readonly assetlockproofwasm_getInstantLockProof: (a: number) => number;
2927
2977
  readonly assetlockproofwasm_getChainLockProof: (a: number) => number;
2928
2978
  readonly assetlockproofwasm_getOutPoint: (a: number) => number;
2979
+ readonly assetlockproofwasm_createIdentityId: (a: number, b: number) => void;
2929
2980
  readonly assetlockproofwasm_toObject: (a: number, b: number) => void;
2981
+ readonly assetlockproofwasm_hex: (a: number, b: number) => void;
2982
+ readonly assetlockproofwasm_fromHex: (a: number, b: number, c: number) => void;
2930
2983
  readonly __wbg_identitywasm_free: (a: number, b: number) => void;
2931
2984
  readonly identitywasm_type_name: (a: number, b: number) => void;
2932
2985
  readonly identitywasm_struct_name: (a: number) => void;
@@ -3257,20 +3310,20 @@ export interface InitOutput {
3257
3310
  readonly batchtransitionwasm_fromHex: (a: number, b: number, c: number) => void;
3258
3311
  readonly tokenfreezetransitionwasm_new: (a: number, b: number, c: number, d: number, e: number) => void;
3259
3312
  readonly tokenunfreezetransitionwasm_new: (a: number, b: number, c: number, d: number, e: number) => void;
3313
+ readonly __wbg_tokenunfreezetransitionwasm_free: (a: number, b: number) => void;
3260
3314
  readonly __wbg_tokenfreezetransitionwasm_free: (a: number, b: number) => void;
3261
- readonly __wbg_documentdeletetransitionwasm_free: (a: number, b: number) => void;
3262
3315
  readonly __wbg_documentupdatepricetransitionwasm_free: (a: number, b: number) => void;
3263
- readonly __wbg_tokenunfreezetransitionwasm_free: (a: number, b: number) => void;
3316
+ readonly __wbg_documentdeletetransitionwasm_free: (a: number, b: number) => void;
3264
3317
  readonly __wbg_tokenemergencyactiontransitionwasm_free: (a: number, b: number) => void;
3265
- readonly tokenunfreezetransitionwasm_get_base: (a: number) => number;
3266
3318
  readonly tokenemergencyactiontransitionwasm_get_base: (a: number) => number;
3319
+ readonly tokenfreezetransitionwasm_get_base: (a: number) => number;
3320
+ readonly tokenunfreezetransitionwasm_get_base: (a: number) => number;
3267
3321
  readonly documentupdatepricetransitionwasm_get_price: (a: number) => bigint;
3268
3322
  readonly documentupdatepricetransitionwasm_get_base: (a: number) => number;
3269
- readonly tokenfreezetransitionwasm_get_base: (a: number) => number;
3323
+ readonly tokenemergencyactiontransitionwasm_set_base: (a: number, b: number) => void;
3270
3324
  readonly tokenunfreezetransitionwasm_set_base: (a: number, b: number) => void;
3271
3325
  readonly documentupdatepricetransitionwasm_set_price: (a: number, b: bigint) => void;
3272
3326
  readonly tokenfreezetransitionwasm_set_base: (a: number, b: number) => void;
3273
- readonly tokenemergencyactiontransitionwasm_set_base: (a: number, b: number) => void;
3274
3327
  readonly __wbg_privateencryptednotewasm_free: (a: number, b: number) => void;
3275
3328
  readonly privateencryptednotewasm_type_name: (a: number, b: number) => void;
3276
3329
  readonly privateencryptednotewasm_struct_name: (a: number) => void;
@@ -3676,73 +3729,74 @@ export interface InitOutput {
3676
3729
  readonly __wbg_set_distributioninvertedlogarithmicwasm_o: (a: number, b: bigint) => void;
3677
3730
  readonly __wbg_set_distributioninvertedlogarithmicwasm_b: (a: number, b: bigint) => void;
3678
3731
  readonly __wbg_set_timebaseddistributionwasm_interval: (a: number, b: bigint) => void;
3732
+ readonly __wbg_set_distributionpolynomialwasm_startMoment: (a: number, b: number, c: bigint) => void;
3733
+ readonly __wbg_set_distributionlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
3734
+ readonly __wbg_distributionpolynomialwasm_free: (a: number, b: number) => void;
3735
+ readonly __wbg_set_distributionrandomwasm_min: (a: number, b: bigint) => void;
3736
+ readonly __wbg_get_distributionrandomwasm_min: (a: number) => bigint;
3737
+ readonly __wbg_set_distributionlinearwasm_startStep: (a: number, b: number, c: bigint) => void;
3738
+ readonly __wbg_distributionlogarithmicwasm_free: (a: number, b: number) => void;
3739
+ readonly __wbg_set_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number, c: bigint) => void;
3740
+ readonly __wbg_set_distributioninvertedlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
3741
+ readonly __wbg_distributioninvertedlogarithmicwasm_free: (a: number, b: number) => void;
3742
+ readonly __wbg_get_distributionstepdecreasingamountwasm_minValue: (a: number, b: number) => void;
3743
+ readonly __wbg_get_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number) => void;
3744
+ readonly __wbg_get_distributionlinearwasm_maxValue: (a: number, b: number) => void;
3745
+ readonly __wbg_get_distributionlinearwasm_minValue: (a: number, b: number) => void;
3746
+ readonly __wbg_get_distributionlinearwasm_startingAmount: (a: number) => bigint;
3747
+ readonly __wbg_get_distributionlinearwasm_startStep: (a: number, b: number) => void;
3748
+ readonly __wbg_get_distributionlinearwasm_d: (a: number) => bigint;
3749
+ readonly __wbg_get_distributionlinearwasm_a: (a: number) => bigint;
3679
3750
  readonly __wbg_get_distributionlogarithmicwasm_maxValue: (a: number, b: number) => void;
3680
3751
  readonly __wbg_get_distributionlogarithmicwasm_minValue: (a: number, b: number) => void;
3681
3752
  readonly __wbg_get_distributionlogarithmicwasm_b: (a: number) => bigint;
3682
- readonly __wbg_set_distributionlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
3753
+ readonly __wbg_get_distributionlogarithmicwasm_startMoment: (a: number, b: number) => void;
3683
3754
  readonly __wbg_get_distributionlogarithmicwasm_o: (a: number) => bigint;
3684
3755
  readonly __wbg_get_distributionlogarithmicwasm_n: (a: number) => bigint;
3685
3756
  readonly __wbg_get_distributionlogarithmicwasm_m: (a: number) => bigint;
3686
3757
  readonly __wbg_get_distributionlogarithmicwasm_d: (a: number) => bigint;
3687
3758
  readonly __wbg_get_distributionlogarithmicwasm_a: (a: number) => bigint;
3688
- readonly __wbg_get_distributionlinearwasm_maxValue: (a: number, b: number) => void;
3689
- readonly __wbg_get_distributionlinearwasm_minValue: (a: number, b: number) => void;
3690
- readonly __wbg_get_distributionlinearwasm_startingAmount: (a: number) => bigint;
3691
- readonly __wbg_set_distributionlinearwasm_startStep: (a: number, b: number, c: bigint) => void;
3692
- readonly __wbg_get_distributionlinearwasm_d: (a: number) => bigint;
3693
- readonly __wbg_get_distributionlinearwasm_a: (a: number) => bigint;
3694
- readonly __wbg_get_distributioninvertedlogarithmicwasm_maxValue: (a: number, b: number) => void;
3695
- readonly __wbg_get_distributioninvertedlogarithmicwasm_minValue: (a: number, b: number) => void;
3696
- readonly __wbg_get_distributioninvertedlogarithmicwasm_b: (a: number) => bigint;
3697
- readonly __wbg_set_distributioninvertedlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
3698
- readonly __wbg_get_distributioninvertedlogarithmicwasm_o: (a: number) => bigint;
3699
- readonly __wbg_get_distributioninvertedlogarithmicwasm_n: (a: number) => bigint;
3700
- readonly __wbg_get_distributioninvertedlogarithmicwasm_m: (a: number) => bigint;
3701
- readonly __wbg_get_distributioninvertedlogarithmicwasm_d: (a: number) => bigint;
3702
- readonly __wbg_get_distributioninvertedlogarithmicwasm_a: (a: number) => bigint;
3703
- readonly __wbg_set_distributionrandomwasm_min: (a: number, b: bigint) => void;
3704
- readonly __wbg_get_distributionstepdecreasingamountwasm_minValue: (a: number, b: number) => void;
3705
- readonly __wbg_set_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number, c: bigint) => void;
3759
+ readonly __wbg_get_timebaseddistributionwasm_interval: (a: number) => bigint;
3706
3760
  readonly __wbg_get_distributionpolynomialwasm_maxValue: (a: number, b: number) => void;
3707
3761
  readonly __wbg_get_distributionpolynomialwasm_minValue: (a: number, b: number) => void;
3708
3762
  readonly __wbg_get_distributionpolynomialwasm_b: (a: number) => bigint;
3709
- readonly __wbg_set_distributionpolynomialwasm_startMoment: (a: number, b: number, c: bigint) => void;
3763
+ readonly __wbg_get_distributionpolynomialwasm_startMoment: (a: number, b: number) => void;
3710
3764
  readonly __wbg_get_distributionpolynomialwasm_o: (a: number) => bigint;
3711
3765
  readonly __wbg_get_distributionpolynomialwasm_n: (a: number) => bigint;
3712
3766
  readonly __wbg_get_distributionpolynomialwasm_m: (a: number) => bigint;
3713
3767
  readonly __wbg_get_distributionpolynomialwasm_d: (a: number) => bigint;
3714
3768
  readonly __wbg_get_distributionpolynomialwasm_a: (a: number) => bigint;
3715
- readonly __wbg_get_distributionpolynomialwasm_startMoment: (a: number, b: number) => void;
3716
- readonly __wbg_get_distributionlinearwasm_startStep: (a: number, b: number) => void;
3717
- readonly __wbg_get_distributionlogarithmicwasm_startMoment: (a: number, b: number) => void;
3769
+ readonly __wbg_get_distributioninvertedlogarithmicwasm_maxValue: (a: number, b: number) => void;
3770
+ readonly __wbg_get_distributioninvertedlogarithmicwasm_minValue: (a: number, b: number) => void;
3771
+ readonly __wbg_get_distributioninvertedlogarithmicwasm_b: (a: number) => bigint;
3718
3772
  readonly __wbg_get_distributioninvertedlogarithmicwasm_startMoment: (a: number, b: number) => void;
3719
- readonly __wbg_get_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number) => void;
3720
- readonly __wbg_get_distributionrandomwasm_min: (a: number) => bigint;
3721
- readonly __wbg_get_timebaseddistributionwasm_interval: (a: number) => bigint;
3773
+ readonly __wbg_get_distributioninvertedlogarithmicwasm_o: (a: number) => bigint;
3774
+ readonly __wbg_get_distributioninvertedlogarithmicwasm_n: (a: number) => bigint;
3775
+ readonly __wbg_get_distributioninvertedlogarithmicwasm_m: (a: number) => bigint;
3776
+ readonly __wbg_get_distributioninvertedlogarithmicwasm_d: (a: number) => bigint;
3777
+ readonly __wbg_get_distributioninvertedlogarithmicwasm_a: (a: number) => bigint;
3722
3778
  readonly __wbg_set_distributionstepdecreasingamountwasm_minValue: (a: number, b: number, c: bigint) => void;
3779
+ readonly __wbg_set_distributionlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
3780
+ readonly __wbg_set_distributionlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
3723
3781
  readonly __wbg_set_distributionlinearwasm_maxValue: (a: number, b: number, c: bigint) => void;
3724
3782
  readonly __wbg_set_distributionlinearwasm_minValue: (a: number, b: number, c: bigint) => void;
3725
3783
  readonly __wbg_set_distributionpolynomialwasm_maxValue: (a: number, b: number, c: bigint) => void;
3726
3784
  readonly __wbg_set_distributionpolynomialwasm_minValue: (a: number, b: number, c: bigint) => void;
3727
- readonly __wbg_set_distributionlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
3728
- readonly __wbg_set_distributionlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
3729
3785
  readonly __wbg_set_distributioninvertedlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
3730
3786
  readonly __wbg_set_distributioninvertedlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
3731
- readonly __wbg_distributionlogarithmicwasm_free: (a: number, b: number) => void;
3732
- readonly __wbg_distributionpolynomialwasm_free: (a: number, b: number) => void;
3733
- readonly __wbg_distributioninvertedlogarithmicwasm_free: (a: number, b: number) => void;
3734
3787
  readonly __wbg_tokenmarketplaceruleswasm_free: (a: number, b: number) => void;
3735
3788
  readonly __wbg_timebaseddistributionwasm_free: (a: number, b: number) => void;
3736
3789
  readonly epochbaseddistributionwasm_set_function: (a: number, b: number) => void;
3737
3790
  readonly __wbg_epochbaseddistributionwasm_free: (a: number, b: number) => void;
3738
3791
  readonly timebaseddistributionwasm_set_function: (a: number, b: number) => void;
3739
- readonly epochbaseddistributionwasm_get_function: (a: number) => number;
3740
3792
  readonly timebaseddistributionwasm_get_function: (a: number) => number;
3793
+ readonly epochbaseddistributionwasm_get_function: (a: number) => number;
3741
3794
  readonly __wbg_statetransitionwasm_free: (a: number, b: number) => void;
3742
3795
  readonly statetransitionwasm_type_name: (a: number, b: number) => void;
3743
3796
  readonly statetransitionwasm_struct_name: (a: number) => void;
3744
3797
  readonly statetransitionwasm_sign: (a: number, b: number, c: number, d: number) => void;
3745
3798
  readonly statetransitionwasm_signByPrivateKey: (a: number, b: number, c: number, d: number) => void;
3799
+ readonly statetransitionwasm_verifyPublicKey: (a: number, b: number, c: number, d: number, e: number) => void;
3746
3800
  readonly statetransitionwasm_bytes: (a: number, b: number) => void;
3747
3801
  readonly statetransitionwasm_hex: (a: number, b: number) => void;
3748
3802
  readonly statetransitionwasm_base64: (a: number, b: number) => void;
@@ -3757,9 +3811,32 @@ export interface InitOutput {
3757
3811
  readonly statetransitionwasm_get_signature_public_key_id: (a: number) => number;
3758
3812
  readonly statetransitionwasm_get_user_fee_increase: (a: number) => number;
3759
3813
  readonly statetransitionwasm_getPurposeRequirement: (a: number, b: number) => void;
3814
+ readonly statetransitionwasm_getKeyLevelRequirement: (a: number, b: number, c: number) => void;
3760
3815
  readonly statetransitionwasm_set_signature: (a: number, b: number, c: number) => void;
3761
3816
  readonly statetransitionwasm_set_signature_public_key_id: (a: number, b: number) => void;
3762
3817
  readonly statetransitionwasm_set_user_fee_increase: (a: number, b: number) => void;
3818
+ readonly __wbg_privatekeywasm_free: (a: number, b: number) => void;
3819
+ readonly privatekeywasm_type_name: (a: number, b: number) => void;
3820
+ readonly privatekeywasm_struct_name: (a: number) => void;
3821
+ readonly privatekeywasm_fromWIF: (a: number, b: number, c: number) => void;
3822
+ readonly privatekeywasm_fromBytes: (a: number, b: number, c: number, d: number) => void;
3823
+ readonly privatekeywasm_fromHex: (a: number, b: number, c: number, d: number) => void;
3824
+ readonly privatekeywasm_getPublicKey: (a: number) => number;
3825
+ readonly privatekeywasm_WIF: (a: number, b: number) => void;
3826
+ readonly privatekeywasm_bytes: (a: number, b: number) => void;
3827
+ readonly privatekeywasm_hex: (a: number, b: number) => void;
3828
+ readonly privatekeywasm_getPublicKeyHash: (a: number, b: number) => void;
3829
+ readonly __wbg_publickeywasm_free: (a: number, b: number) => void;
3830
+ readonly publickeywasm_type_name: (a: number, b: number) => void;
3831
+ readonly publickeywasm_struct_name: (a: number) => void;
3832
+ readonly publickeywasm_new: (a: number, b: number, c: number, d: number) => void;
3833
+ readonly publickeywasm_compressed: (a: number) => number;
3834
+ readonly publickeywasm_inner: (a: number, b: number) => void;
3835
+ readonly publickeywasm_set_compressed: (a: number, b: number) => void;
3836
+ readonly publickeywasm_set_inner: (a: number, b: number, c: number, d: number) => void;
3837
+ readonly publickeywasm_getPublicKeyHash: (a: number, b: number) => void;
3838
+ readonly publickeywasm_bytes: (a: number, b: number) => void;
3839
+ readonly publickeywasm_fromBytes: (a: number, b: number, c: number) => void;
3763
3840
  readonly __wbg_identitypublickeywasm_free: (a: number, b: number) => void;
3764
3841
  readonly identitypublickeywasm_type_name: (a: number, b: number) => void;
3765
3842
  readonly identitypublickeywasm_struct_name: (a: number) => void;
@@ -3805,16 +3882,6 @@ export interface InitOutput {
3805
3882
  readonly contractboundswasm_contract_bounds_type_number: (a: number) => number;
3806
3883
  readonly contractboundswasm_set_id: (a: number, b: number, c: number) => void;
3807
3884
  readonly contractboundswasm_set_document_type_name: (a: number, b: number, c: number) => void;
3808
- readonly __wbg_privatekeywasm_free: (a: number, b: number) => void;
3809
- readonly privatekeywasm_type_name: (a: number, b: number) => void;
3810
- readonly privatekeywasm_struct_name: (a: number) => void;
3811
- readonly privatekeywasm_fromWIF: (a: number, b: number, c: number) => void;
3812
- readonly privatekeywasm_fromBytes: (a: number, b: number, c: number, d: number) => void;
3813
- readonly privatekeywasm_fromHex: (a: number, b: number, c: number, d: number) => void;
3814
- readonly privatekeywasm_WIF: (a: number, b: number) => void;
3815
- readonly privatekeywasm_bytes: (a: number, b: number) => void;
3816
- readonly privatekeywasm_hex: (a: number, b: number) => void;
3817
- readonly privatekeywasm_getPublicKeyHash: (a: number, b: number) => void;
3818
3885
  readonly __wbg_identifierwasm_free: (a: number, b: number) => void;
3819
3886
  readonly identifierwasm_type_name: (a: number, b: number) => void;
3820
3887
  readonly identifierwasm_struct_name: (a: number) => void;