pshenmic-dpp 1.0.23 → 1.0.25

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.
@@ -86,6 +86,10 @@ export class DashPlatformProtocolWASM {
86
86
  PrivateKeyWASM: typeof DPP.PrivateKeyWASM
87
87
  StateTransitionWASM: typeof DPP.StateTransitionWASM
88
88
  TxOutWASM: typeof DPP.TxOutWASM
89
+ MasternodeVoteTransitionWASM: typeof DPP.MasternodeVoteTransitionWASM
90
+ VoteWASM: typeof DPP.VoteWASM
91
+ VotePollWASM: typeof DPP.VotePollWASM
92
+ ResourceVoteChoiceWASM: typeof DPP.ResourceVoteChoiceWASM
89
93
  // ENUMS
90
94
  AssetLockProofTypeWASM: typeof DPP.AssetLockProofTypeWASM
91
95
  BatchType: typeof DPP.BatchType
@@ -99,20 +103,20 @@ export class DashPlatformProtocolWASM {
99
103
  // METHODS
100
104
  initSync: typeof DPP.initSync
101
105
  verifyVotePollVoteStateProof: typeof DPP.verifyVotePollVoteStateProof
102
- verifyContract: typeof DPP.verifyContract
106
+ verifyContract: typeof DPP.verifyContractProof
103
107
  verifyDocumentsProof: typeof DPP.verifyDocumentsProof
104
- verifyIdentifierByNonUniquePublicKeyHash: typeof DPP.verifyIdentifierByNonUniquePublicKeyHash
105
- verifyIdentityBalance: typeof DPP.verifyIdentityBalance
106
- verifyIdentityByIdentifier: typeof DPP.verifyIdentityByIdentifier
107
- verifyIdentityByUniqueKeyHash: typeof DPP.verifyIdentityByUniqueKeyHash
108
- verifyIdentityContractNonce: typeof DPP.verifyIdentityContractNonce
109
- verifyIdentityKeysByIdentifier: typeof DPP.verifyIdentityKeysByIdentifier
110
- verifyIdentityNonce: typeof DPP.verifyIdentityNonce
108
+ verifyIdentifierByNonUniquePublicKeyHash: typeof DPP.verifyIdentifierByNonUniquePublicKeyHashProof
109
+ verifyIdentityBalance: typeof DPP.verifyIdentityBalanceProof
110
+ verifyIdentityByIdentifier: typeof DPP.verifyIdentityByIdentifierProof
111
+ verifyIdentityByUniqueKeyHash: typeof DPP.verifyIdentityByUniqueKeyHashProof
112
+ verifyIdentityContractNonce: typeof DPP.verifyIdentityContractNonceProof
113
+ verifyIdentityKeysByIdentifier: typeof DPP.verifyIdentityKeysByIdentifierProof
114
+ verifyIdentityNonce: typeof DPP.verifyIdentityNonceProof
111
115
  verifySignatureDigest: typeof DPP.verifySignatureDigest
112
- verifyEpochsInfo: typeof DPP.verifyEpochsInfo
113
- verifyTotalCredits: typeof DPP.verifyTotalCredits
114
- verifyTokenBalancesForIdentities: typeof DPP.verifyTokenBalancesForIdentities
115
- verifyTokenContractInfo: typeof DPP.verifyTokenContractInfo
116
- verifyTokenTotalSupply: typeof DPP.verifyTokenTotalSupply
117
- verifyTokensBalancesForIdentity: typeof DPP.verifyTokensBalancesForIdentity
116
+ verifyEpochsInfo: typeof DPP.verifyEpochsInfoProof
117
+ verifyTotalCredits: typeof DPP.verifyTotalCreditsProof
118
+ verifyTokenBalancesForIdentities: typeof DPP.verifyTokenBalancesForIdentitiesProof
119
+ verifyTokenContractInfo: typeof DPP.verifyTokenContractInfoProof
120
+ verifyTokenTotalSupply: typeof DPP.verifyTokenTotalSupplyProof
121
+ verifyTokensBalancesForIdentity: typeof DPP.verifyTokensBalancesForIdentityProof
118
122
  }
@@ -1,22 +1,22 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  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;
4
- export function verifyContract(proof: Uint8Array, contract_known_keeps_history: boolean | null | undefined, is_proof_subset: boolean, in_multiple_contract_proof_form: boolean, js_contract_id: any, js_platform_version: any): VerifiedContractWASM;
4
+ export function verifyContractProof(proof: Uint8Array, contract_known_keeps_history: boolean | null | undefined, is_proof_subset: boolean, in_multiple_contract_proof_form: boolean, js_contract_id: any, js_platform_version: any): VerifiedContractWASM;
5
5
  export function verifyDocumentsProof(proof: Uint8Array, contract: DataContractWASM, document_type_name: string, js_where_clauses: any, js_order_by: any, limit: number | null | undefined, js_start_at: any, start_at_included: boolean, block_time_ms: bigint | null | undefined, js_platform_version: any): VerifiedDocumentsWASM;
6
- export function verifyIdentifierByNonUniquePublicKeyHash(proof: Uint8Array, is_proof_subset: boolean, js_public_key_hash: Uint8Array, js_after: any, js_platform_version: any): VerifiedIdentifierByNonUniquePublicKeyHashWASM;
7
- export function verifyIdentityBalance(proof: Uint8Array, js_identity_id: any, verify_subset_of_proof: boolean, js_platform_version: any): VerifiedIdentityBalanceWASM;
8
- export function verifyIdentityByIdentifier(proof: Uint8Array, js_identity_id: any, is_proof_subset: boolean, js_platform_version: any): VerifiedIdentityByIdentifierWASM;
9
- export function verifyIdentityByUniqueKeyHash(proof: Uint8Array, js_public_key_hash: Uint8Array, js_platform_version: any): VerifiedIdentityByUniqueKeyHashWASM;
10
- export function verifyIdentityContractNonce(proof: Uint8Array, js_identity_id: any, js_contract_id: any, verify_subset_of_proof: boolean, js_platform_version: any): VerifiedIdentityContractNonceWASM;
11
- export function verifyIdentityKeysByIdentifier(proof: Uint8Array, js_identity_id: any, specific_key_ids: Array<any> | null | undefined, with_revision: boolean, with_balance: boolean, is_proof_subset: boolean, limit: number | null | undefined, offset: number | null | undefined, js_platform_version: any): verifiedIdentityKeysByIdentifierWASM;
12
- export function verifyIdentityNonce(proof: Uint8Array, js_identity_id: any, verify_subset_of_proof: boolean, js_platform_version: any): VerifiedIdentityNonceWASM;
6
+ export function verifyIdentifierByNonUniquePublicKeyHashProof(proof: Uint8Array, is_proof_subset: boolean, js_public_key_hash: Uint8Array, js_after: any, js_platform_version: any): VerifiedIdentifierByNonUniquePublicKeyHashWASM;
7
+ export function verifyIdentityBalanceProof(proof: Uint8Array, js_identity_id: any, verify_subset_of_proof: boolean, js_platform_version: any): VerifiedIdentityBalanceWASM;
8
+ export function verifyIdentityByIdentifierProof(proof: Uint8Array, js_identity_id: any, is_proof_subset: boolean, js_platform_version: any): VerifiedIdentityByIdentifierWASM;
9
+ export function verifyIdentityByUniqueKeyHashProof(proof: Uint8Array, js_public_key_hash: Uint8Array, js_platform_version: any): VerifiedIdentityByUniqueKeyHashWASM;
10
+ export function verifyIdentityContractNonceProof(proof: Uint8Array, js_identity_id: any, js_contract_id: any, verify_subset_of_proof: boolean, js_platform_version: any): VerifiedIdentityContractNonceWASM;
11
+ export function verifyIdentityKeysByIdentifierProof(proof: Uint8Array, js_identity_id: any, specific_key_ids: Array<any> | null | undefined, with_revision: boolean, with_balance: boolean, is_proof_subset: boolean, limit: number | null | undefined, offset: number | null | undefined, js_platform_version: any): VerifiedIdentityKeysByIdentifierWASM;
12
+ export function verifyIdentityNonceProof(proof: Uint8Array, js_identity_id: any, verify_subset_of_proof: boolean, js_platform_version: any): VerifiedIdentityNonceWASM;
13
13
  export function verifySignatureDigest(sign_digest: Uint8Array, signature: Uint8Array, pubkey_bytes: Uint8Array): boolean;
14
- export function verifyEpochsInfo(proof: Uint8Array, current_epoch: number, start_epoch: number | null | undefined, count: number, ascending: boolean, js_platform_version: any): VerifiedEpochsInfoWASM;
15
- export function verifyTotalCredits(proof: Uint8Array, core_subsidy_halving_interval: number, activation_core_height: number, current_core_height: number, js_platform_version: any): VerifiedTotalCreditsWASM;
16
- export function verifyTokenBalancesForIdentities(proof: Uint8Array, js_token_id: any, is_proof_subset: boolean, js_identities: any, js_platform_version: any): VerifiedTokenBalancesForIdentitiesWASM;
17
- export function verifyTokenContractInfo(proof: Uint8Array, js_token_id: any, verify_subset_of_proof: boolean, js_platform_version: any): VerifiedTokenContractInfoWSAM;
18
- export function verifyTokenTotalSupply(proof: Uint8Array, js_token_id: any, verify_subset_of_proof: boolean, js_platform_version: any): VerifiedTokenTotalSupplyWASM;
19
- export function verifyTokensBalancesForIdentity(proof: Uint8Array, js_token_ids: any, js_identity_id: any, verify_subset_of_proof: boolean, js_platform_version: any): VerifiedTokensBalancesForIdentityWASM;
14
+ export function verifyEpochsInfoProof(proof: Uint8Array, current_epoch: number, start_epoch: number | null | undefined, count: number, ascending: boolean, js_platform_version: any): VerifiedEpochsInfoWASM;
15
+ export function verifyTotalCreditsProof(proof: Uint8Array, core_subsidy_halving_interval: number, activation_core_height: number, current_core_height: number, js_platform_version: any): VerifiedTotalCreditsWASM;
16
+ export function verifyTokenBalancesForIdentitiesProof(proof: Uint8Array, js_token_id: any, is_proof_subset: boolean, js_identities: any, js_platform_version: any): VerifiedTokenBalancesForIdentitiesWASM;
17
+ export function verifyTokenContractInfoProof(proof: Uint8Array, js_token_id: any, verify_subset_of_proof: boolean, js_platform_version: any): VerifiedTokenContractInfoWASM;
18
+ export function verifyTokenTotalSupplyProof(proof: Uint8Array, js_token_id: any, verify_subset_of_proof: boolean, js_platform_version: any): VerifiedTokenTotalSupplyWASM;
19
+ export function verifyTokensBalancesForIdentityProof(proof: Uint8Array, js_token_ids: any, js_identity_id: any, verify_subset_of_proof: boolean, js_platform_version: any): VerifiedTokensBalancesForIdentityWASM;
20
20
  export enum ActionGoalWASM {
21
21
  ActionCompletion = 0,
22
22
  ActionParticipation = 1,
@@ -53,15 +53,15 @@ export enum NetworkWASM {
53
53
  Regtest = 3,
54
54
  }
55
55
  export enum PlatformVersionWASM {
56
- PLATFORM_V1 = 0,
57
- PLATFORM_V2 = 1,
58
- PLATFORM_V3 = 2,
59
- PLATFORM_V4 = 3,
60
- PLATFORM_V5 = 4,
61
- PLATFORM_V6 = 5,
62
- PLATFORM_V7 = 6,
63
- PLATFORM_V8 = 7,
64
- PLATFORM_V9 = 8,
56
+ PLATFORM_V1 = 1,
57
+ PLATFORM_V2 = 2,
58
+ PLATFORM_V3 = 3,
59
+ PLATFORM_V4 = 4,
60
+ PLATFORM_V5 = 5,
61
+ PLATFORM_V6 = 6,
62
+ PLATFORM_V7 = 7,
63
+ PLATFORM_V8 = 8,
64
+ PLATFORM_V9 = 9,
65
65
  }
66
66
  export enum PoolingWASM {
67
67
  Never = 0,
@@ -2427,10 +2427,8 @@ export class TokenContractInfoWASM {
2427
2427
  private constructor();
2428
2428
  /** @ignore */
2429
2429
  free(): void;
2430
- /** @returns {IdentifierWASM} */
2431
- contractId(): IdentifierWASM;
2432
- /** @returns {number} */
2433
- tokenContractPosition(): number;
2430
+ readonly contractId: IdentifierWASM;
2431
+ readonly tokenContractPosition: number;
2434
2432
  }
2435
2433
  export class TokenDestroyFrozenFundsTransitionWASM {
2436
2434
  /** @ignore */
@@ -2821,7 +2819,7 @@ export class VerifiedContractWASM {
2821
2819
  free(): void;
2822
2820
  readonly __type: string;
2823
2821
  static readonly __struct: string;
2824
- readonly rootHash: string;
2822
+ readonly rootHash: Uint8Array;
2825
2823
  readonly dataContract: DataContractWASM | undefined;
2826
2824
  }
2827
2825
  export class VerifiedDocumentsWASM {
@@ -2831,7 +2829,7 @@ export class VerifiedDocumentsWASM {
2831
2829
  free(): void;
2832
2830
  readonly __type: string;
2833
2831
  static readonly __struct: string;
2834
- readonly rootHash: string;
2832
+ readonly rootHash: Uint8Array;
2835
2833
  readonly documents: DocumentWASM[];
2836
2834
  }
2837
2835
  export class VerifiedEpochsInfoWASM {
@@ -2841,7 +2839,7 @@ export class VerifiedEpochsInfoWASM {
2841
2839
  free(): void;
2842
2840
  readonly __type: string;
2843
2841
  static readonly __struct: string;
2844
- readonly rootHash: string;
2842
+ readonly rootHash: Uint8Array;
2845
2843
  readonly epochsInfo: ExtendedEpochInfoWASM[];
2846
2844
  }
2847
2845
  export class VerifiedIdentifierByNonUniquePublicKeyHashWASM {
@@ -2851,7 +2849,7 @@ export class VerifiedIdentifierByNonUniquePublicKeyHashWASM {
2851
2849
  free(): void;
2852
2850
  readonly __type: string;
2853
2851
  static readonly __struct: string;
2854
- readonly rootHash: string;
2852
+ readonly rootHash: Uint8Array;
2855
2853
  readonly identifier: IdentifierWASM | undefined;
2856
2854
  }
2857
2855
  export class VerifiedIdentityBalanceWASM {
@@ -2861,7 +2859,7 @@ export class VerifiedIdentityBalanceWASM {
2861
2859
  free(): void;
2862
2860
  readonly __type: string;
2863
2861
  static readonly __struct: string;
2864
- readonly rootHash: string;
2862
+ readonly rootHash: Uint8Array;
2865
2863
  readonly balance: bigint | undefined;
2866
2864
  }
2867
2865
  export class VerifiedIdentityByIdentifierWASM {
@@ -2871,7 +2869,7 @@ export class VerifiedIdentityByIdentifierWASM {
2871
2869
  free(): void;
2872
2870
  readonly __type: string;
2873
2871
  static readonly __struct: string;
2874
- readonly rootHash: string;
2872
+ readonly rootHash: Uint8Array;
2875
2873
  readonly identity: IdentityWASM | undefined;
2876
2874
  }
2877
2875
  export class VerifiedIdentityByUniqueKeyHashWASM {
@@ -2881,7 +2879,7 @@ export class VerifiedIdentityByUniqueKeyHashWASM {
2881
2879
  free(): void;
2882
2880
  readonly __type: string;
2883
2881
  static readonly __struct: string;
2884
- readonly rootHash: string;
2882
+ readonly rootHash: Uint8Array;
2885
2883
  readonly identity: IdentityWASM | undefined;
2886
2884
  }
2887
2885
  export class VerifiedIdentityContractNonceWASM {
@@ -2891,9 +2889,19 @@ export class VerifiedIdentityContractNonceWASM {
2891
2889
  free(): void;
2892
2890
  readonly __type: string;
2893
2891
  static readonly __struct: string;
2894
- readonly rootHash: string;
2892
+ readonly rootHash: Uint8Array;
2895
2893
  readonly contractNonce: bigint | undefined;
2896
2894
  }
2895
+ export class VerifiedIdentityKeysByIdentifierWASM {
2896
+ /** @returns {VerifiedIdentityKeysByIdentifierWASM} */
2897
+ private constructor();
2898
+ /** @ignore */
2899
+ free(): void;
2900
+ readonly __type: string;
2901
+ static readonly __struct: string;
2902
+ readonly rootHash: Uint8Array;
2903
+ readonly identity: PartialIdentityWASM | undefined;
2904
+ }
2897
2905
  export class VerifiedIdentityNonceWASM {
2898
2906
  /** @returns {VerifiedIdentityNonceWASM} */
2899
2907
  private constructor();
@@ -2901,7 +2909,7 @@ export class VerifiedIdentityNonceWASM {
2901
2909
  free(): void;
2902
2910
  readonly __type: string;
2903
2911
  static readonly __struct: string;
2904
- readonly rootHash: string;
2912
+ readonly rootHash: Uint8Array;
2905
2913
  readonly nonce: bigint | undefined;
2906
2914
  }
2907
2915
  export class VerifiedTokenBalancesForIdentitiesWASM {
@@ -2911,14 +2919,18 @@ export class VerifiedTokenBalancesForIdentitiesWASM {
2911
2919
  free(): void;
2912
2920
  readonly __type: string;
2913
2921
  static readonly __struct: string;
2914
- readonly rootHash: string;
2922
+ readonly rootHash: Uint8Array;
2915
2923
  readonly balances: any;
2916
2924
  }
2917
- export class VerifiedTokenContractInfoWSAM {
2918
- /** @returns {VerifiedTokenContractInfoWSAM} */
2925
+ export class VerifiedTokenContractInfoWASM {
2926
+ /** @returns {VerifiedTokenContractInfoWASM} */
2919
2927
  private constructor();
2920
2928
  /** @ignore */
2921
2929
  free(): void;
2930
+ readonly __type: string;
2931
+ static readonly __struct: string;
2932
+ readonly rootHash: Uint8Array;
2933
+ readonly contractInfo: TokenContractInfoWASM | undefined;
2922
2934
  }
2923
2935
  export class VerifiedTokenTotalSupplyWASM {
2924
2936
  /** @returns {VerifiedTokenTotalSupplyWASM} */
@@ -2927,7 +2939,7 @@ export class VerifiedTokenTotalSupplyWASM {
2927
2939
  free(): void;
2928
2940
  readonly __type: string;
2929
2941
  static readonly __struct: string;
2930
- readonly rootHash: string;
2942
+ readonly rootHash: Uint8Array;
2931
2943
  readonly totalBalance: TotalSingleTokenBalanceWASM;
2932
2944
  }
2933
2945
  export class VerifiedTokensBalancesForIdentityWASM {
@@ -2937,7 +2949,7 @@ export class VerifiedTokensBalancesForIdentityWASM {
2937
2949
  free(): void;
2938
2950
  readonly __type: string;
2939
2951
  static readonly __struct: string;
2940
- readonly rootHash: string;
2952
+ readonly rootHash: Uint8Array;
2941
2953
  readonly balances: any;
2942
2954
  }
2943
2955
  export class VerifiedTotalCreditsWASM {
@@ -2947,7 +2959,7 @@ export class VerifiedTotalCreditsWASM {
2947
2959
  free(): void;
2948
2960
  readonly __type: string;
2949
2961
  static readonly __struct: string;
2950
- readonly rootHash: string;
2962
+ readonly rootHash: Uint8Array;
2951
2963
  readonly totalCredits: bigint;
2952
2964
  }
2953
2965
  export class VerifiedVoteStateWASM {
@@ -2957,7 +2969,7 @@ export class VerifiedVoteStateWASM {
2957
2969
  free(): void;
2958
2970
  readonly __type: string;
2959
2971
  static readonly __struct: string;
2960
- readonly rootHash: string;
2972
+ readonly rootHash: Uint8Array;
2961
2973
  readonly result: ContestedDocumentVotePollQueryExecutionResultWASM;
2962
2974
  }
2963
2975
  export class VotePollWASM {
@@ -2996,12 +3008,6 @@ export class VoteWASM {
2996
3008
  votePoll: VotePollWASM;
2997
3009
  resourceVoteChoice: ResourceVoteChoiceWASM;
2998
3010
  }
2999
- export class verifiedIdentityKeysByIdentifierWASM {
3000
- /** @returns {verifiedIdentityKeysByIdentifierWASM} */
3001
- private constructor();
3002
- /** @ignore */
3003
- free(): void;
3004
- }
3005
3011
 
3006
3012
  export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
3007
3013
 
@@ -3024,54 +3030,54 @@ export interface InitOutput {
3024
3030
  readonly __wbg_verifiedvotestatewasm_free: (a: number, b: number) => void;
3025
3031
  readonly verifiedvotestatewasm_type_name: (a: number, b: number) => void;
3026
3032
  readonly verifiedvotestatewasm_struct_name: (a: number) => void;
3027
- readonly verifiedvotestatewasm_root_hash: (a: number, b: number) => void;
3033
+ readonly verifiedvotestatewasm_root_hash: (a: number) => number;
3028
3034
  readonly verifiedvotestatewasm_result: (a: number) => number;
3029
3035
  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;
3030
3036
  readonly __wbg_verifiedcontractwasm_free: (a: number, b: number) => void;
3031
3037
  readonly verifiedcontractwasm_type_name: (a: number, b: number) => void;
3032
3038
  readonly verifiedcontractwasm_struct_name: (a: number) => void;
3033
- readonly verifiedcontractwasm_root_hash: (a: number, b: number) => void;
3039
+ readonly verifiedcontractwasm_root_hash: (a: number) => number;
3034
3040
  readonly verifiedcontractwasm_data_contract: (a: number) => number;
3035
- readonly verifyContract: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
3041
+ readonly verifyContractProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
3036
3042
  readonly __wbg_verifieddocumentswasm_free: (a: number, b: number) => void;
3037
3043
  readonly verifieddocumentswasm_type_name: (a: number, b: number) => void;
3038
3044
  readonly verifieddocumentswasm_struct_name: (a: number) => void;
3039
- readonly verifieddocumentswasm_root_hash: (a: number, b: number) => void;
3045
+ readonly verifieddocumentswasm_root_hash: (a: number) => number;
3040
3046
  readonly verifieddocumentswasm_documents: (a: number, b: number) => void;
3041
3047
  readonly verifyDocumentsProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: bigint, m: number) => void;
3042
3048
  readonly __wbg_verifiedidentifierbynonuniquepublickeyhashwasm_free: (a: number, b: number) => void;
3043
3049
  readonly verifiedidentifierbynonuniquepublickeyhashwasm_type_name: (a: number, b: number) => void;
3044
3050
  readonly verifiedidentifierbynonuniquepublickeyhashwasm_struct_name: (a: number) => void;
3045
- readonly verifiedidentifierbynonuniquepublickeyhashwasm_root_hash: (a: number, b: number) => void;
3051
+ readonly verifiedidentifierbynonuniquepublickeyhashwasm_root_hash: (a: number) => number;
3046
3052
  readonly verifiedidentifierbynonuniquepublickeyhashwasm_identifier: (a: number) => number;
3047
- readonly verifyIdentifierByNonUniquePublicKeyHash: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
3053
+ readonly verifyIdentifierByNonUniquePublicKeyHashProof: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
3048
3054
  readonly __wbg_verifiedidentitybalancewasm_free: (a: number, b: number) => void;
3049
3055
  readonly verifiedidentitybalancewasm_type_name: (a: number, b: number) => void;
3050
3056
  readonly verifiedidentitybalancewasm_struct_name: (a: number) => void;
3051
- readonly verifiedidentitybalancewasm_root_hash: (a: number, b: number) => void;
3057
+ readonly verifiedidentitybalancewasm_root_hash: (a: number) => number;
3052
3058
  readonly verifiedidentitybalancewasm_balance: (a: number, b: number) => void;
3053
- readonly verifyIdentityBalance: (a: number, b: number, c: number, d: number, e: number) => void;
3059
+ readonly verifyIdentityBalanceProof: (a: number, b: number, c: number, d: number, e: number) => void;
3054
3060
  readonly __wbg_verifiedidentitybyidentifierwasm_free: (a: number, b: number) => void;
3055
3061
  readonly verifiedidentitybyidentifierwasm_type_name: (a: number, b: number) => void;
3056
3062
  readonly verifiedidentitybyidentifierwasm_struct_name: (a: number) => void;
3057
- readonly verifiedidentitybyidentifierwasm_root_hash: (a: number, b: number) => void;
3063
+ readonly verifiedidentitybyidentifierwasm_root_hash: (a: number) => number;
3058
3064
  readonly verifiedidentitybyidentifierwasm_identity: (a: number) => number;
3059
- readonly verifyIdentityByIdentifier: (a: number, b: number, c: number, d: number, e: number) => void;
3065
+ readonly verifyIdentityByIdentifierProof: (a: number, b: number, c: number, d: number, e: number) => void;
3060
3066
  readonly verifiedidentitybyuniquekeyhashwasm_type_name: (a: number, b: number) => void;
3061
3067
  readonly verifiedidentitybyuniquekeyhashwasm_struct_name: (a: number) => void;
3062
- readonly verifyIdentityByUniqueKeyHash: (a: number, b: number, c: number, d: number) => void;
3068
+ readonly verifyIdentityByUniqueKeyHashProof: (a: number, b: number, c: number, d: number) => void;
3063
3069
  readonly verifiedidentitycontractnoncewasm_type_name: (a: number, b: number) => void;
3064
3070
  readonly verifiedidentitycontractnoncewasm_struct_name: (a: number) => void;
3065
- readonly verifyIdentityContractNonce: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
3071
+ readonly verifyIdentityContractNonceProof: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
3066
3072
  readonly __wbg_verifiedidentitykeysbyidentifierwasm_free: (a: number, b: number) => void;
3067
3073
  readonly verifiedidentitykeysbyidentifierwasm_type_name: (a: number, b: number) => void;
3068
3074
  readonly verifiedidentitykeysbyidentifierwasm_struct_name: (a: number) => void;
3069
- readonly verifiedidentitykeysbyidentifierwasm_root_hash: (a: number, b: number) => void;
3075
+ readonly verifiedidentitykeysbyidentifierwasm_root_hash: (a: number) => number;
3070
3076
  readonly verifiedidentitykeysbyidentifierwasm_identity: (a: number) => number;
3071
- readonly verifyIdentityKeysByIdentifier: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
3077
+ readonly verifyIdentityKeysByIdentifierProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
3072
3078
  readonly verifiedidentitynoncewasm_type_name: (a: number, b: number) => void;
3073
3079
  readonly verifiedidentitynoncewasm_struct_name: (a: number) => void;
3074
- readonly verifyIdentityNonce: (a: number, b: number, c: number, d: number, e: number) => void;
3080
+ readonly verifyIdentityNonceProof: (a: number, b: number, c: number, d: number, e: number) => void;
3075
3081
  readonly verifySignatureDigest: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
3076
3082
  readonly __wbg_extendedepochinfowasm_free: (a: number, b: number) => void;
3077
3083
  readonly extendedepochinfowasm_type_name: (a: number, b: number) => void;
@@ -3085,29 +3091,29 @@ export interface InitOutput {
3085
3091
  readonly __wbg_verifiedepochsinfowasm_free: (a: number, b: number) => void;
3086
3092
  readonly verifiedepochsinfowasm_type_name: (a: number, b: number) => void;
3087
3093
  readonly verifiedepochsinfowasm_struct_name: (a: number) => void;
3088
- readonly verifiedepochsinfowasm_root_hash: (a: number, b: number) => void;
3094
+ readonly verifiedepochsinfowasm_root_hash: (a: number) => number;
3089
3095
  readonly verifiedepochsinfowasm_epochs_info: (a: number, b: number) => void;
3090
- readonly verifyEpochsInfo: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
3096
+ readonly verifyEpochsInfoProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
3091
3097
  readonly verifiedtotalcreditswasm_type_name: (a: number, b: number) => void;
3092
3098
  readonly verifiedtotalcreditswasm_struct_name: (a: number) => void;
3093
- readonly verifiedtotalcreditswasm_root_hash: (a: number, b: number) => void;
3099
+ readonly verifiedtotalcreditswasm_root_hash: (a: number) => number;
3094
3100
  readonly verifiedtotalcreditswasm_total_credits: (a: number) => bigint;
3095
- readonly verifyTotalCredits: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
3101
+ readonly verifyTotalCreditsProof: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
3096
3102
  readonly __wbg_verifiedtokenbalancesforidentitieswasm_free: (a: number, b: number) => void;
3097
3103
  readonly verifiedtokenbalancesforidentitieswasm_type_name: (a: number, b: number) => void;
3098
3104
  readonly verifiedtokenbalancesforidentitieswasm_struct_name: (a: number) => void;
3099
- readonly verifiedtokenbalancesforidentitieswasm_root_hash: (a: number, b: number) => void;
3105
+ readonly verifiedtokenbalancesforidentitieswasm_root_hash: (a: number) => number;
3100
3106
  readonly verifiedtokenbalancesforidentitieswasm_balances: (a: number) => number;
3101
- readonly verifyTokenBalancesForIdentities: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
3107
+ readonly verifyTokenBalancesForIdentitiesProof: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
3102
3108
  readonly __wbg_tokencontractinfowasm_free: (a: number, b: number) => void;
3103
- readonly tokencontractinfowasm_contractId: (a: number) => number;
3104
- readonly tokencontractinfowasm_tokenContractPosition: (a: number) => number;
3105
- readonly __wbg_verifiedtokencontractinfowsam_free: (a: number, b: number) => void;
3109
+ readonly tokencontractinfowasm_contract_id: (a: number) => number;
3110
+ readonly tokencontractinfowasm_token_contract_position: (a: number) => number;
3111
+ readonly __wbg_verifiedtokencontractinfowasm_free: (a: number, b: number) => void;
3106
3112
  readonly verifiedtokencontractinfowasm_type_name: (a: number, b: number) => void;
3107
3113
  readonly verifiedtokencontractinfowasm_struct_name: (a: number) => void;
3108
- readonly verifiedtokencontractinfowasm_root_hash: (a: number, b: number) => void;
3114
+ readonly verifiedtokencontractinfowasm_root_hash: (a: number) => number;
3109
3115
  readonly verifiedtokencontractinfowasm_get_contract_info: (a: number) => number;
3110
- readonly verifyTokenContractInfo: (a: number, b: number, c: number, d: number, e: number) => void;
3116
+ readonly verifyTokenContractInfoProof: (a: number, b: number, c: number, d: number, e: number) => void;
3111
3117
  readonly __wbg_totalsingletokenbalancewasm_free: (a: number, b: number) => void;
3112
3118
  readonly totalsingletokenbalancewasm_type_name: (a: number, b: number) => void;
3113
3119
  readonly totalsingletokenbalancewasm_struct_name: (a: number) => void;
@@ -3115,26 +3121,26 @@ export interface InitOutput {
3115
3121
  readonly totalsingletokenbalancewasm_aggregated_token_account_balances: (a: number) => bigint;
3116
3122
  readonly verifiedtokentotalsupplywasm_type_name: (a: number, b: number) => void;
3117
3123
  readonly verifiedtokentotalsupplywasm_struct_name: (a: number) => void;
3118
- readonly verifiedtokentotalsupplywasm_root_hash: (a: number, b: number) => void;
3124
+ readonly verifiedtokentotalsupplywasm_root_hash: (a: number) => number;
3119
3125
  readonly verifiedtokentotalsupplywasm_total_balance: (a: number) => number;
3120
- readonly verifyTokenTotalSupply: (a: number, b: number, c: number, d: number, e: number) => void;
3126
+ readonly verifyTokenTotalSupplyProof: (a: number, b: number, c: number, d: number, e: number) => void;
3121
3127
  readonly verifiedtokensbalancesforidentitywasm_type_name: (a: number, b: number) => void;
3122
3128
  readonly verifiedtokensbalancesforidentitywasm_struct_name: (a: number) => void;
3123
- readonly verifyTokensBalancesForIdentity: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
3129
+ readonly verifyTokensBalancesForIdentityProof: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
3124
3130
  readonly __wbg_verifiedtokentotalsupplywasm_free: (a: number, b: number) => void;
3125
3131
  readonly __wbg_verifiedidentitynoncewasm_free: (a: number, b: number) => void;
3126
3132
  readonly __wbg_verifiedidentitycontractnoncewasm_free: (a: number, b: number) => void;
3127
3133
  readonly __wbg_verifiedtotalcreditswasm_free: (a: number, b: number) => void;
3128
- readonly __wbg_verifiedidentitybyuniquekeyhashwasm_free: (a: number, b: number) => void;
3129
3134
  readonly __wbg_verifiedtokensbalancesforidentitywasm_free: (a: number, b: number) => void;
3135
+ readonly __wbg_verifiedidentitybyuniquekeyhashwasm_free: (a: number, b: number) => void;
3130
3136
  readonly verifiedidentitycontractnoncewasm_contract_nonce: (a: number, b: number) => void;
3131
- readonly verifiedidentitycontractnoncewasm_root_hash: (a: number, b: number) => void;
3132
- readonly verifiedidentitybyuniquekeyhashwasm_identity: (a: number) => number;
3133
- readonly verifiedidentitybyuniquekeyhashwasm_root_hash: (a: number, b: number) => void;
3137
+ readonly verifiedidentitycontractnoncewasm_root_hash: (a: number) => number;
3134
3138
  readonly verifiedtokensbalancesforidentitywasm_balances: (a: number) => number;
3135
- readonly verifiedtokensbalancesforidentitywasm_root_hash: (a: number, b: number) => void;
3139
+ readonly verifiedtokensbalancesforidentitywasm_root_hash: (a: number) => number;
3140
+ readonly verifiedidentitybyuniquekeyhashwasm_identity: (a: number) => number;
3141
+ readonly verifiedidentitybyuniquekeyhashwasm_root_hash: (a: number) => number;
3136
3142
  readonly verifiedidentitynoncewasm_nonce: (a: number, b: number) => void;
3137
- readonly verifiedidentitynoncewasm_root_hash: (a: number, b: number) => void;
3143
+ readonly verifiedidentitynoncewasm_root_hash: (a: number) => number;
3138
3144
  readonly __wbg_partialidentitywasm_free: (a: number, b: number) => void;
3139
3145
  readonly partialidentitywasm_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number) => void;
3140
3146
  readonly partialidentitywasm_id: (a: number) => number;
@@ -3804,11 +3810,11 @@ export interface InitOutput {
3804
3810
  readonly __wbg_tokenunfreezetransitionwasm_free: (a: number, b: number) => void;
3805
3811
  readonly __wbg_documentupdatepricetransitionwasm_free: (a: number, b: number) => void;
3806
3812
  readonly __wbg_documentdeletetransitionwasm_free: (a: number, b: number) => void;
3807
- readonly tokenemergencyactiontransitionwasm_get_base: (a: number) => number;
3813
+ readonly tokenfreezetransitionwasm_get_base: (a: number) => number;
3808
3814
  readonly documentupdatepricetransitionwasm_get_price: (a: number) => bigint;
3809
3815
  readonly documentupdatepricetransitionwasm_get_base: (a: number) => number;
3810
3816
  readonly tokenunfreezetransitionwasm_get_base: (a: number) => number;
3811
- readonly tokenfreezetransitionwasm_get_base: (a: number) => number;
3817
+ readonly tokenemergencyactiontransitionwasm_get_base: (a: number) => number;
3812
3818
  readonly documentupdatepricetransitionwasm_set_price: (a: number, b: bigint) => void;
3813
3819
  readonly tokenunfreezetransitionwasm_set_base: (a: number, b: number) => void;
3814
3820
  readonly tokenemergencyactiontransitionwasm_set_base: (a: number, b: number) => void;
@@ -4219,16 +4225,24 @@ export interface InitOutput {
4219
4225
  readonly __wbg_set_distributioninvertedlogarithmicwasm_o: (a: number, b: bigint) => void;
4220
4226
  readonly __wbg_set_distributioninvertedlogarithmicwasm_b: (a: number, b: bigint) => void;
4221
4227
  readonly __wbg_set_timebaseddistributionwasm_interval: (a: number, b: bigint) => void;
4222
- readonly __wbg_set_distributionlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
4223
- readonly __wbg_distributionlogarithmicwasm_free: (a: number, b: number) => void;
4228
+ readonly __wbg_set_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number, c: bigint) => void;
4224
4229
  readonly __wbg_set_distributionlinearwasm_startStep: (a: number, b: number, c: bigint) => void;
4225
- readonly __wbg_set_distributionrandomwasm_min: (a: number, b: bigint) => void;
4226
- readonly __wbg_get_distributionrandomwasm_min: (a: number) => bigint;
4227
- readonly __wbg_set_distributionpolynomialwasm_startMoment: (a: number, b: number, c: bigint) => void;
4228
- readonly __wbg_distributionpolynomialwasm_free: (a: number, b: number) => void;
4229
4230
  readonly __wbg_set_distributioninvertedlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
4230
4231
  readonly __wbg_distributioninvertedlogarithmicwasm_free: (a: number, b: number) => void;
4231
- readonly __wbg_set_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number, c: bigint) => void;
4232
+ readonly __wbg_set_distributionpolynomialwasm_startMoment: (a: number, b: number, c: bigint) => void;
4233
+ readonly __wbg_distributionpolynomialwasm_free: (a: number, b: number) => void;
4234
+ readonly __wbg_set_distributionlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
4235
+ readonly __wbg_distributionlogarithmicwasm_free: (a: number, b: number) => void;
4236
+ readonly __wbg_get_distributionrandomwasm_min: (a: number) => bigint;
4237
+ readonly __wbg_get_distributionlinearwasm_maxValue: (a: number, b: number) => void;
4238
+ readonly __wbg_get_distributionlinearwasm_minValue: (a: number, b: number) => void;
4239
+ readonly __wbg_get_distributionlinearwasm_startingAmount: (a: number) => bigint;
4240
+ readonly __wbg_get_distributionlinearwasm_startStep: (a: number, b: number) => void;
4241
+ readonly __wbg_get_distributionlinearwasm_d: (a: number) => bigint;
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;
4245
+ readonly __wbg_get_timebaseddistributionwasm_interval: (a: number) => bigint;
4232
4246
  readonly __wbg_get_distributionlogarithmicwasm_maxValue: (a: number, b: number) => void;
4233
4247
  readonly __wbg_get_distributionlogarithmicwasm_minValue: (a: number, b: number) => void;
4234
4248
  readonly __wbg_get_distributionlogarithmicwasm_b: (a: number) => bigint;
@@ -4238,14 +4252,6 @@ export interface InitOutput {
4238
4252
  readonly __wbg_get_distributionlogarithmicwasm_m: (a: number) => bigint;
4239
4253
  readonly __wbg_get_distributionlogarithmicwasm_d: (a: number) => bigint;
4240
4254
  readonly __wbg_get_distributionlogarithmicwasm_a: (a: number) => bigint;
4241
- readonly __wbg_get_distributionstepdecreasingamountwasm_minValue: (a: number, b: number) => void;
4242
- readonly __wbg_get_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number) => void;
4243
- readonly __wbg_get_distributionlinearwasm_maxValue: (a: number, b: number) => void;
4244
- readonly __wbg_get_distributionlinearwasm_minValue: (a: number, b: number) => void;
4245
- readonly __wbg_get_distributionlinearwasm_startingAmount: (a: number) => bigint;
4246
- readonly __wbg_get_distributionlinearwasm_startStep: (a: number, b: number) => void;
4247
- readonly __wbg_get_distributionlinearwasm_d: (a: number) => bigint;
4248
- readonly __wbg_get_distributionlinearwasm_a: (a: number) => bigint;
4249
4255
  readonly __wbg_get_distributionpolynomialwasm_maxValue: (a: number, b: number) => void;
4250
4256
  readonly __wbg_get_distributionpolynomialwasm_minValue: (a: number, b: number) => void;
4251
4257
  readonly __wbg_get_distributionpolynomialwasm_b: (a: number) => bigint;
@@ -4264,16 +4270,16 @@ export interface InitOutput {
4264
4270
  readonly __wbg_get_distributioninvertedlogarithmicwasm_m: (a: number) => bigint;
4265
4271
  readonly __wbg_get_distributioninvertedlogarithmicwasm_d: (a: number) => bigint;
4266
4272
  readonly __wbg_get_distributioninvertedlogarithmicwasm_a: (a: number) => bigint;
4267
- readonly __wbg_get_timebaseddistributionwasm_interval: (a: number) => bigint;
4273
+ readonly __wbg_set_distributionlinearwasm_maxValue: (a: number, b: number, c: bigint) => void;
4274
+ readonly __wbg_set_distributionlinearwasm_minValue: (a: number, b: number, c: bigint) => void;
4268
4275
  readonly __wbg_set_distributionstepdecreasingamountwasm_minValue: (a: number, b: number, c: bigint) => void;
4276
+ readonly __wbg_set_distributionpolynomialwasm_maxValue: (a: number, b: number, c: bigint) => void;
4277
+ readonly __wbg_set_distributionpolynomialwasm_minValue: (a: number, b: number, c: bigint) => void;
4269
4278
  readonly __wbg_set_distributioninvertedlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
4270
4279
  readonly __wbg_set_distributioninvertedlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
4271
4280
  readonly __wbg_set_distributionlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
4272
4281
  readonly __wbg_set_distributionlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
4273
- readonly __wbg_set_distributionlinearwasm_maxValue: (a: number, b: number, c: bigint) => void;
4274
- readonly __wbg_set_distributionlinearwasm_minValue: (a: number, b: number, c: bigint) => void;
4275
- readonly __wbg_set_distributionpolynomialwasm_maxValue: (a: number, b: number, c: bigint) => void;
4276
- readonly __wbg_set_distributionpolynomialwasm_minValue: (a: number, b: number, c: bigint) => void;
4282
+ readonly __wbg_set_distributionrandomwasm_min: (a: number, b: bigint) => void;
4277
4283
  readonly __wbg_tokenmarketplaceruleswasm_free: (a: number, b: number) => void;
4278
4284
  readonly __wbg_timebaseddistributionwasm_free: (a: number, b: number) => void;
4279
4285
  readonly epochbaseddistributionwasm_set_function: (a: number, b: number) => void;