@dashevo/wasm-dpp 0.24.0-dev.30 → 0.25.0-dev.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/Cargo.toml +2 -2
  2. package/dist/wasm/wasm_dpp.d.ts +722 -571
  3. package/dist/wasm/wasm_dpp.js +169 -106
  4. package/dist/wasm/wasm_dpp_bg.js +1 -1
  5. package/lib/wasm/wasm_dpp.d.ts +722 -571
  6. package/package.json +3 -3
  7. package/src/data_contract/data_contract.rs +1 -1
  8. package/src/data_contract/data_contract_facade.rs +2 -2
  9. package/src/data_contract/state_transition/data_contract_create_transition/apply.rs +1 -1
  10. package/src/data_contract/state_transition/data_contract_create_transition/mod.rs +2 -12
  11. package/src/data_contract/state_transition/data_contract_create_transition/validation.rs +5 -3
  12. package/src/data_contract/state_transition/data_contract_update_transition/apply.rs +6 -2
  13. package/src/data_contract/state_transition/data_contract_update_transition/mod.rs +2 -14
  14. package/src/data_contract/state_transition/data_contract_update_transition/validation.rs +6 -4
  15. package/src/decode_protocol_entity.rs +19 -19
  16. package/src/document/extended_document.rs +4 -1
  17. package/src/document/fetch_and_validate_data_contract.rs +2 -2
  18. package/src/document/mod.rs +5 -3
  19. package/src/document/state_transition/document_batch_transition/apply_document_batch_transition.rs +9 -6
  20. package/src/document/state_transition/document_batch_transition/document_transition/document_create_transition.rs +1 -1
  21. package/src/document/state_transition/document_batch_transition/document_transition/document_replace_transition.rs +1 -1
  22. package/src/document/state_transition/document_batch_transition/document_transition/mod.rs +1 -2
  23. package/src/document/state_transition/document_batch_transition/mod.rs +13 -17
  24. package/src/document/state_transition/document_batch_transition/validation/basic/validate_documents_batch_transition_basic.rs +4 -4
  25. package/src/document/state_transition/document_batch_transition/validation/state/validate_documents_batch_transitions_state.rs +3 -1
  26. package/src/errors/consensus/basic/data_contract/data_contract_have_new_unique_index_error.rs +1 -1
  27. package/src/errors/consensus/basic/data_contract/data_contract_immutable_properties_update_error.rs +3 -3
  28. package/src/errors/consensus/basic/data_contract/data_contract_invalid_index_definition_update_error.rs +1 -1
  29. package/src/errors/consensus/basic/data_contract/data_contract_max_depth_exceed_error.rs +1 -1
  30. package/src/errors/consensus/basic/data_contract/data_contract_unique_indices_changed_error.rs +1 -1
  31. package/src/errors/consensus/basic/data_contract/duplicate_index_name_error.rs +3 -3
  32. package/src/errors/consensus/basic/data_contract/incompatible_data_contract_schema_error.rs +3 -3
  33. package/src/errors/consensus/basic/data_contract/incompatible_re2_pattern_error.rs +4 -4
  34. package/src/errors/consensus/basic/data_contract/index_error/duplicate_index_error.rs +1 -1
  35. package/src/errors/consensus/basic/data_contract/index_error/invalid_compound_index_error.rs +1 -1
  36. package/src/errors/consensus/basic/data_contract/index_error/invalid_index_property_type_error.rs +1 -1
  37. package/src/errors/consensus/basic/data_contract/index_error/invalid_indexed_property_constraint_error.rs +1 -1
  38. package/src/errors/consensus/basic/data_contract/index_error/system_property_index_already_present_error.rs +1 -1
  39. package/src/errors/consensus/basic/data_contract/index_error/undefined_index_property_error.rs +1 -1
  40. package/src/errors/consensus/basic/data_contract/index_error/unique_indices_limit_reached_error.rs +1 -1
  41. package/src/errors/consensus/basic/data_contract/invalid_data_contract_id_error.rs +1 -1
  42. package/src/errors/consensus/basic/data_contract/invalid_data_contract_version_error.rs +1 -1
  43. package/src/errors/consensus/basic/data_contract/invalid_json_schema_ref_error.rs +2 -2
  44. package/src/errors/consensus/basic/decode/protocol_version_parsing_error.rs +1 -1
  45. package/src/errors/consensus/basic/decode/serialized_object_parsing_error.rs +1 -1
  46. package/src/errors/consensus/basic/document/data_contract_not_present_error.rs +1 -1
  47. package/src/errors/consensus/basic/document/duplicate_document_transitions_with_ids_error.rs +1 -1
  48. package/src/errors/consensus/basic/document/duplicate_document_transitions_with_indices_error.rs +1 -1
  49. package/src/errors/consensus/basic/document/inconsistent_compound_index_data_error.rs +2 -2
  50. package/src/errors/consensus/basic/document/invalid_document_transition_action_error.rs +1 -1
  51. package/src/errors/consensus/basic/document/invalid_document_transition_id_error.rs +1 -1
  52. package/src/errors/consensus/basic/document/invalid_document_type_error.rs +2 -2
  53. package/src/errors/consensus/basic/document/missing_data_contract_id_error.rs +1 -1
  54. package/src/errors/consensus/basic/document/missing_document_transition_action_error.rs +1 -1
  55. package/src/errors/consensus/basic/document/missing_document_transition_type_error.rs +1 -1
  56. package/src/errors/consensus/basic/document/missing_document_type_error.rs +1 -1
  57. package/src/errors/consensus/basic/identity/duplicated_identity_public_key_error.rs +1 -1
  58. package/src/errors/consensus/basic/identity/duplicated_identity_public_key_id_error.rs +1 -1
  59. package/src/errors/consensus/basic/identity/identity_asset_lock_proof_locked_transaction_mismatch_error.rs +1 -1
  60. package/src/errors/consensus/basic/identity/identity_asset_lock_transaction_is_not_found_error.rs +1 -1
  61. package/src/errors/consensus/basic/identity/identity_asset_lock_transaction_out_point_already_exists_error.rs +1 -1
  62. package/src/errors/consensus/basic/identity/identity_asset_lock_transaction_output_not_found_error.rs +1 -1
  63. package/src/errors/consensus/basic/identity/identity_insufficient_balance_error.rs +1 -1
  64. package/src/errors/consensus/basic/identity/invalid_asset_lock_proof_core_chain_height_error.rs +1 -1
  65. package/src/errors/consensus/basic/identity/invalid_asset_lock_proof_transaction_height_error.rs +1 -1
  66. package/src/errors/consensus/basic/identity/invalid_asset_lock_transaction_output_return_size_error.rs +1 -1
  67. package/src/errors/consensus/basic/identity/invalid_identity_asset_lock_proof_chain_lock_validation_error.rs +35 -0
  68. package/src/errors/consensus/basic/identity/invalid_identity_asset_lock_transaction_error.rs +1 -1
  69. package/src/errors/consensus/basic/identity/invalid_identity_asset_lock_transaction_output_error.rs +1 -1
  70. package/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_core_fee_error.rs +1 -1
  71. package/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_output_script_error.rs +1 -1
  72. package/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_pooling_error.rs +1 -1
  73. package/src/errors/consensus/basic/identity/invalid_identity_key_signature_error.rs +1 -1
  74. package/src/errors/consensus/basic/identity/invalid_identity_public_key_data_error.rs +1 -1
  75. package/src/errors/consensus/basic/identity/invalid_identity_public_key_security_level_error.rs +1 -1
  76. package/src/errors/consensus/basic/identity/invalid_identity_public_key_type_error.rs +1 -1
  77. package/src/errors/consensus/basic/identity/invalid_instant_asset_lock_proof_error.rs +1 -1
  78. package/src/errors/consensus/basic/identity/invalid_instant_asset_lock_proof_signature_error.rs +1 -1
  79. package/src/errors/consensus/basic/identity/missing_master_public_key_error.rs +1 -1
  80. package/src/errors/consensus/basic/identity/missing_public_key_error.rs +1 -1
  81. package/src/errors/consensus/basic/identity/mod.rs +2 -0
  82. package/src/errors/consensus/basic/incompatible_protocol_version_error.rs +2 -2
  83. package/src/errors/consensus/basic/invalid_identifier_error.rs +1 -1
  84. package/src/errors/consensus/basic/invalid_signature_public_key_security_level_error.rs +7 -3
  85. package/src/errors/consensus/basic/invalid_state_transition_signature_error.rs +1 -1
  86. package/src/errors/consensus/basic/json_schema_compilation_error.rs +1 -1
  87. package/src/errors/consensus/basic/json_schema_error.rs +1 -3
  88. package/src/errors/consensus/basic/public_key_is_disabled_error.rs +1 -1
  89. package/src/errors/consensus/basic/public_key_security_level_not_met_error.rs +2 -2
  90. package/src/errors/consensus/basic/state_transition/invalid_state_transition_type_error.rs +1 -1
  91. package/src/errors/consensus/basic/state_transition/missing_state_transition_type_error.rs +1 -1
  92. package/src/errors/consensus/basic/state_transition/state_transition_max_size_exceeded_error.rs +1 -1
  93. package/src/errors/consensus/basic/unsupported_protocol_version_error.rs +1 -1
  94. package/src/errors/consensus/basic/wrong_public_key_purpose_error.rs +1 -1
  95. package/src/errors/consensus/consensus_error.rs +24 -4
  96. package/src/errors/consensus/deserialize.rs +1 -1
  97. package/src/errors/consensus/fee/balance_is_not_enough_error.rs +1 -1
  98. package/src/errors/consensus/signature/basic_bls_error.rs +38 -0
  99. package/src/errors/consensus/signature/basic_ecdsa_error.rs +38 -0
  100. package/src/errors/consensus/signature/mod.rs +6 -0
  101. package/src/errors/consensus/signature/signature_should_not_be_present_error.rs +38 -0
  102. package/src/errors/consensus/state/data_contract/data_contract_already_present_error.rs +2 -2
  103. package/src/errors/consensus/state/data_contract/data_trigger/data_trigger_condition_error.rs +58 -1
  104. package/src/errors/consensus/state/data_contract/data_trigger/data_trigger_execution_error.rs +66 -1
  105. package/src/errors/consensus/state/data_contract/data_trigger/data_trigger_invalid_result_error.rs +50 -1
  106. package/src/errors/consensus/state/document/document_already_present_error.rs +1 -1
  107. package/src/errors/consensus/state/document/document_not_found_error.rs +1 -1
  108. package/src/errors/consensus/state/document/document_owner_id_mismatch_error.rs +1 -1
  109. package/src/errors/consensus/state/document/document_timestamp_window_violation_error.rs +2 -2
  110. package/src/errors/consensus/state/document/document_timestamps_mismatch_error.rs +1 -1
  111. package/src/errors/consensus/state/document/duplicate_unique_index_error.rs +1 -1
  112. package/src/errors/consensus/state/document/invalid_document_revision_error.rs +1 -1
  113. package/src/errors/consensus/state/identity/duplicated_identity_public_key_id_state_error.rs +1 -1
  114. package/src/errors/consensus/state/identity/duplicated_identity_public_key_state_error.rs +1 -1
  115. package/src/errors/consensus/state/identity/identity_already_exists_error.rs +1 -1
  116. package/src/errors/consensus/state/identity/identity_public_key_disabled_at_window_violation_error.rs +1 -1
  117. package/src/errors/consensus/state/identity/identity_public_key_is_disabled_error.rs +1 -1
  118. package/src/errors/consensus/state/identity/identity_public_key_is_read_only_error.rs +1 -1
  119. package/src/errors/consensus/state/identity/invalid_identity_public_key_id_error.rs +1 -1
  120. package/src/errors/consensus/state/identity/invalid_identity_revision_error.rs +1 -1
  121. package/src/errors/consensus/state/identity/max_identity_public_key_limit_reached_error.rs +1 -1
  122. package/src/errors/consensus/state/identity/missing_identity_public_key_ids_error.rs +26 -0
  123. package/src/errors/consensus/state/identity/mod.rs +2 -0
  124. package/src/errors/consensus/value_error.rs +1 -1
  125. package/src/errors/from.rs +0 -1
  126. package/src/generate_temporary_ecdsa_private_key.rs +2 -6
  127. package/src/identity/factory_utils.rs +4 -4
  128. package/src/identity/identity_public_key/key_type.rs +2 -0
  129. package/src/identity/identity_public_key/purpose.rs +7 -0
  130. package/src/identity/mod.rs +1 -1
  131. package/src/identity/state_transition/identity_create_transition/apply_identity_create_transition.rs +6 -2
  132. package/src/identity/state_transition/identity_create_transition/identity_create_transition.rs +8 -18
  133. package/src/identity/state_transition/identity_create_transition/identity_create_transition_state_validator.rs +3 -1
  134. package/src/identity/state_transition/identity_create_transition/to_object.rs +2 -2
  135. package/src/identity/state_transition/identity_public_key_transitions.rs +11 -11
  136. package/src/identity/state_transition/identity_topup_transition/apply_identity_topup_transition.rs +6 -2
  137. package/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs +1 -12
  138. package/src/identity/state_transition/identity_topup_transition/identity_topup_transition_state_validator.rs +3 -1
  139. package/src/identity/state_transition/identity_update_transition/apply_identity_update_transition.rs +3 -1
  140. package/src/identity/state_transition/identity_update_transition/identity_update_public_keys_validator.rs +2 -2
  141. package/src/identity/state_transition/identity_update_transition/identity_update_transition.rs +5 -18
  142. package/src/identity/state_transition/identity_update_transition/identity_update_transition_state_validator.rs +3 -2
  143. package/src/identity/state_transition/identity_update_transition/to_object.rs +2 -2
  144. package/src/identity/state_transition/validate_public_key_signatures.rs +2 -2
  145. package/src/state_repository.rs +3 -2
  146. package/src/state_transition/fee/calculate_state_transition_fee.rs +8 -5
  147. package/src/state_transition/state_transition_facade.rs +16 -15
  148. package/src/state_transition/validation/state_transition_fee_validator.rs +3 -1
  149. package/src/state_transition/validation/validate_state_transition_identity_signature.rs +3 -1
  150. package/src/state_transition/validation/validate_state_transition_key_signature.rs +7 -1
  151. package/src/utils.rs +2 -4
  152. package/src/validation/validation_result.rs +12 -7
  153. package/test/integration/dataContract/validation/validateDataContractFactory.spec.js +0 -17
  154. package/test/integration/document/stateTransition/DocumentsBatchTransition/DocumentBatchTransition.spec.js +10 -3
  155. package/test/integration/identity/stateTransition/IdentityUpdateTransition/validation/state/validateIdentityUpdateTransitionStateFactory.spec.js +4 -7
  156. package/test/integration/stateTransition/StateTransitionFacade.spec.js +20 -7
  157. package/test/unit/dataContract/stateTransition/DataContractCreateTransition/applyDataContractCreateTransitionFactory.spec.js +0 -7
  158. package/test/unit/dataContract/stateTransition/DataContractCreateTransition/validation/state/validateDataContractCreateTransitionStateFactory.spec.js +4 -3
  159. package/test/unit/dataContract/stateTransition/DataContractUpdateTransition/applyDataContractUpdateTransitionFactory.spec.js +1 -3
  160. package/test/unit/dataContract/stateTransition/DataContractUpdateTransition/validation/state/validateDataContractUpdateTransitionStateFactory.spec.js +3 -2
  161. package/test/unit/document/stateTransition/DocumetsBatchTransition/applyDocumentsBatchTransitionFactory.spec.js +5 -6
  162. package/test/unit/document/stateTransition/DocumetsBatchTransition/validation/state/validateDocumentsBatchTransitionStateFactory.spec.js +20 -18
  163. package/test/unit/identity/stateTransition/IdentityCreateTransition/applyIdentityCreateTransitionFactory.spec.js +1 -2
  164. package/test/unit/identity/stateTransition/IdentityCreateTransition/validation/state/validateIdentityCreateTransitionStateFactory.spec.js +7 -3
  165. package/test/unit/identity/stateTransition/IdentityTopUpTransition/applyIdentityTopUpTransitionFactory.spec.js +1 -2
  166. package/test/unit/identity/stateTransition/IdentityTopUpTransition/validation/state/validateIdentityTopUpTransitionStateFactory.spec.js +5 -1
  167. package/test/unit/identity/stateTransition/IdentityUpdateTransition/applyIdentityUpdateTransitionFactory.spec.js +3 -3
  168. package/test/unit/stateTransition/validation/validateStateTransitionBasicFactory.spec.js +10 -4
  169. package/test/unit/stateTransition/validation/validateStateTransitionKeySignatureFactory.spec.js +3 -1
  170. package/test/unit/stateTransition/validation/validateStateTransitionStateFactory.spec.js +7 -3
@@ -1,28 +1,17 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * @param {any} state_repository
5
- * @param {DataContractCreateTransition} state_transition
6
- * @returns {Promise<ValidationResult>}
7
- */
8
- export function validateDataContractCreateTransitionState(state_repository: any, state_transition: DataContractCreateTransition): Promise<ValidationResult>;
9
- /**
10
- * @param {any} raw_parameters
11
- * @returns {Promise<ValidationResult>}
4
+ * @param {Array<any>} operations
5
+ * @param {any} identity_id
6
+ * @returns {FeeResult}
12
7
  */
13
- export function validateDataContractCreateTransitionBasic(raw_parameters: any): Promise<ValidationResult>;
8
+ export function calculateStateTransitionFeeFromOperations(operations: Array<any>, identity_id: any): FeeResult;
14
9
  /**
15
10
  * @param {Uint8Array} bytes
16
11
  * @returns {any}
17
12
  */
18
13
  export function deserializeConsensusError(bytes: Uint8Array): any;
19
14
  /**
20
- * @param {Array<any>} operations
21
- * @param {any} identity_id
22
- * @returns {FeeResult}
23
- */
24
- export function calculateStateTransitionFeeFromOperations(operations: Array<any>, identity_id: any): FeeResult;
25
- /**
26
15
  * @returns {any}
27
16
  */
28
17
  export function generateTemporaryEcdsaPrivateKey(): any;
@@ -70,18 +59,17 @@ export function calculateOperationFees(operations: Array<any>): DummyFeesResult;
70
59
  */
71
60
  export function validatePartialCompoundIndices(js_raw_transitions: Array<any>, data_contract: DataContract): ValidationResult;
72
61
  /**
73
- * @param {any} external_state_repository
74
- * @param {any} js_state_transition
75
- * @param {any} bls_adapter
76
- * @returns {Promise<ValidationResult>}
62
+ * @param {Uint8Array} _buffer
63
+ * @returns {Array<any>}
77
64
  */
78
- export function validateStateTransitionIdentitySignature(external_state_repository: any, js_state_transition: any, bls_adapter: any): Promise<ValidationResult>;
65
+ export function decodeProtocolEntity(_buffer: Uint8Array): Array<any>;
79
66
  /**
80
67
  * @param {any} state_repository
81
68
  * @param {DataContractUpdateTransition} state_transition
69
+ * @param {StateTransitionExecutionContext} execution_context
82
70
  * @returns {Promise<ValidationResult>}
83
71
  */
84
- export function validateDataContractUpdateTransitionState(state_repository: any, state_transition: DataContractUpdateTransition): Promise<ValidationResult>;
72
+ export function validateDataContractUpdateTransitionState(state_repository: any, state_transition: DataContractUpdateTransition, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
85
73
  /**
86
74
  * @param {any} old_documents_schema
87
75
  * @param {any} new_documents_schema
@@ -105,24 +93,72 @@ export function validateDataContractUpdateTransitionBasic(state_repository: any,
105
93
  */
106
94
  export function validateDocumentsUniquenessByIndices(state_repository: any, js_owner_id: any, js_document_transitions: Array<any>, js_data_contract: DataContract, js_execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
107
95
  /**
108
- * @param {any} contract_id
109
- * @param {any} owner_id
110
- * @param {string} document_type
111
- * @param {Uint8Array} entropy
112
- * @returns {any}
96
+ * @param {any} external_state_repository
97
+ * @param {any} js_state_transition
98
+ * @param {any} bls_adapter
99
+ * @returns {Promise<ValidationResult>}
113
100
  */
114
- export function generateDocumentId(contract_id: any, owner_id: any, document_type: string, entropy: Uint8Array): any;
101
+ export function validateStateTransitionIdentitySignature(external_state_repository: any, js_state_transition: any, bls_adapter: any): Promise<ValidationResult>;
115
102
  /**
116
103
  * @returns {number}
117
104
  */
118
105
  export function getCreditsConversionRatio(): number;
119
106
  /**
107
+ * @param {any} state_transition_js
108
+ * @param {StateTransitionExecutionContext} execution_context
109
+ * @returns {FeeResult}
110
+ */
111
+ export function calculateStateTransitionFee(state_transition_js: any, execution_context: StateTransitionExecutionContext): FeeResult;
112
+ /**
113
+ * @param {any} state_repository
114
+ * @param {DocumentsBatchTransition} transition
115
+ * @param {StateTransitionExecutionContext} execution_context
116
+ * @returns {Promise<void>}
117
+ */
118
+ export function applyDocumentsBatchTransition(state_repository: any, transition: DocumentsBatchTransition, execution_context: StateTransitionExecutionContext): Promise<void>;
119
+ /**
120
+ * @param {any} state_repository
121
+ * @param {DocumentsBatchTransition} state_transition
122
+ * @param {StateTransitionExecutionContext} execution_context
123
+ * @returns {Promise<ValidationResult>}
124
+ */
125
+ export function validateDocumentsBatchTransitionState(state_repository: any, state_transition: DocumentsBatchTransition, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
126
+ /**
127
+ * @param {any} state_repository
128
+ * @param {IdentityCreateTransition} state_transition
129
+ * @param {StateTransitionExecutionContext} execution_context
130
+ * @returns {Promise<void>}
131
+ */
132
+ export function applyIdentityCreateTransition(state_repository: any, state_transition: IdentityCreateTransition, execution_context: StateTransitionExecutionContext): Promise<void>;
133
+ /**
134
+ * @param {any} state_repository
135
+ * @param {IdentityTopUpTransition} state_transition
136
+ * @param {StateTransitionExecutionContext} execution_context
137
+ * @returns {Promise<void>}
138
+ */
139
+ export function applyIdentityTopUpTransition(state_repository: any, state_transition: IdentityTopUpTransition, execution_context: StateTransitionExecutionContext): Promise<void>;
140
+ /**
141
+ * @param {any} state_repository
142
+ * @param {IdentityUpdateTransition} state_transition
143
+ * @param {StateTransitionExecutionContext} execution_context
144
+ * @returns {Promise<void>}
145
+ */
146
+ export function applyIdentityUpdateTransition(state_repository: any, state_transition: IdentityUpdateTransition, execution_context: StateTransitionExecutionContext): Promise<void>;
147
+ /**
120
148
  * @param {any} state_repository
121
149
  * @param {any} js_raw_document
122
150
  * @returns {Promise<ValidationResult>}
123
151
  */
124
152
  export function fetchAndValidateDataContract(state_repository: any, js_raw_document: any): Promise<ValidationResult>;
125
153
  /**
154
+ * @param {any} contract_id
155
+ * @param {any} owner_id
156
+ * @param {string} document_type
157
+ * @param {Uint8Array} entropy
158
+ * @returns {any}
159
+ */
160
+ export function generateDocumentId(contract_id: any, owner_id: any, document_type: string, entropy: Uint8Array): any;
161
+ /**
126
162
  * @param {Array<any>} js_raw_transitions
127
163
  * @param {DataContract} data_contract
128
164
  * @param {any} owner_id
@@ -130,6 +166,14 @@ export function fetchAndValidateDataContract(state_repository: any, js_raw_docum
130
166
  */
131
167
  export function findDuplicatesByIndices(js_raw_transitions: Array<any>, data_contract: DataContract, owner_id: any): any[];
132
168
  /**
169
+ * @param {ProtocolVersionValidator} protocol_version_validator
170
+ * @param {any} state_repository
171
+ * @param {any} js_raw_state_transition
172
+ * @param {StateTransitionExecutionContext} execution_context
173
+ * @returns {Promise<ValidationResult>}
174
+ */
175
+ export function validateDocumentsBatchTransitionBasic(protocol_version_validator: ProtocolVersionValidator, state_repository: any, js_raw_state_transition: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
176
+ /**
133
177
  * @param {any} state_repository
134
178
  * @param {Array<any>} js_document_transitions
135
179
  * @param {StateTransitionExecutionContext} js_execution_context
@@ -157,52 +201,16 @@ export function getDataTriggers(js_data_contract_id: any, document_type: string,
157
201
  export function getAllDataTriggers(): Array<any>;
158
202
  /**
159
203
  * @param {any} state_repository
160
- * @param {DocumentsBatchTransition} transition
161
- * @returns {Promise<void>}
162
- */
163
- export function applyDocumentsBatchTransition(state_repository: any, transition: DocumentsBatchTransition): Promise<void>;
164
- /**
165
- * @param {ProtocolVersionValidator} protocol_version_validator
166
- * @param {any} state_repository
167
- * @param {any} js_raw_state_transition
204
+ * @param {DataContractCreateTransition} state_transition
168
205
  * @param {StateTransitionExecutionContext} execution_context
169
206
  * @returns {Promise<ValidationResult>}
170
207
  */
171
- export function validateDocumentsBatchTransitionBasic(protocol_version_validator: ProtocolVersionValidator, state_repository: any, js_raw_state_transition: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
208
+ export function validateDataContractCreateTransitionState(state_repository: any, state_transition: DataContractCreateTransition, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
172
209
  /**
173
- * @param {any} state_repository
174
- * @param {DocumentsBatchTransition} state_transition
210
+ * @param {any} raw_parameters
175
211
  * @returns {Promise<ValidationResult>}
176
212
  */
177
- export function validateDocumentsBatchTransitionState(state_repository: any, state_transition: DocumentsBatchTransition): Promise<ValidationResult>;
178
- /**
179
- * @param {any} state_repository
180
- * @param {IdentityCreateTransition} state_transition
181
- * @returns {Promise<void>}
182
- */
183
- export function applyIdentityCreateTransition(state_repository: any, state_transition: IdentityCreateTransition): Promise<void>;
184
- /**
185
- * @param {any} state_repository
186
- * @param {IdentityTopUpTransition} state_transition
187
- * @returns {Promise<void>}
188
- */
189
- export function applyIdentityTopUpTransition(state_repository: any, state_transition: IdentityTopUpTransition): Promise<void>;
190
- /**
191
- * @param {any} state_repository
192
- * @param {IdentityUpdateTransition} state_transition
193
- * @returns {Promise<void>}
194
- */
195
- export function applyIdentityUpdateTransition(state_repository: any, state_transition: IdentityUpdateTransition): Promise<void>;
196
- /**
197
- * @param {any} state_transition_js
198
- * @returns {FeeResult}
199
- */
200
- export function calculateStateTransitionFee(state_transition_js: any): FeeResult;
201
- /**
202
- * @param {Uint8Array} buffer
203
- * @returns {Array<any>}
204
- */
205
- export function decodeProtocolEntity(buffer: Uint8Array): Array<any>;
213
+ export function validateDataContractCreateTransitionBasic(raw_parameters: any): Promise<ValidationResult>;
206
214
  /**
207
215
  */
208
216
  export enum KeyPurpose {
@@ -218,7 +226,18 @@ export enum KeyPurpose {
218
226
  * this key cannot be used for signing documents
219
227
  */
220
228
  DECRYPTION = 2,
229
+ /**
230
+ * this key cannot be used for signing documents
231
+ */
221
232
  WITHDRAW = 3,
233
+ /**
234
+ * this key cannot be used for signing documents
235
+ */
236
+ SYSTEM = 4,
237
+ /**
238
+ * this key cannot be used for signing documents
239
+ */
240
+ VOTING = 5,
222
241
  }
223
242
  /**
224
243
  */
@@ -235,6 +254,7 @@ export enum KeyType {
235
254
  BLS12_381 = 1,
236
255
  ECDSA_HASH160 = 2,
237
256
  BIP13_SCRIPT_HASH = 3,
257
+ EDDSA_25519_HASH160 = 4,
238
258
  }
239
259
  /**
240
260
  */
@@ -260,9 +280,10 @@ export class ApplyDataContractUpdateTransition {
260
280
  constructor(state_repository: any);
261
281
  /**
262
282
  * @param {DataContractUpdateTransition} transition
283
+ * @param {StateTransitionExecutionContext} execution_context
263
284
  * @returns {Promise<void>}
264
285
  */
265
- applyDataContractUpdateTransition(transition: DataContractUpdateTransition): Promise<void>;
286
+ applyDataContractUpdateTransition(transition: DataContractUpdateTransition, execution_context: StateTransitionExecutionContext): Promise<void>;
266
287
  }
267
288
  /**
268
289
  */
@@ -326,6 +347,38 @@ export class BalanceIsNotEnoughError {
326
347
  }
327
348
  /**
328
349
  */
350
+ export class BasicBLSError {
351
+ free(): void;
352
+ /**
353
+ * @returns {number}
354
+ */
355
+ getCode(): number;
356
+ /**
357
+ * @returns {any}
358
+ */
359
+ serialize(): any;
360
+ /**
361
+ */
362
+ readonly message: string;
363
+ }
364
+ /**
365
+ */
366
+ export class BasicECDSAError {
367
+ free(): void;
368
+ /**
369
+ * @returns {number}
370
+ */
371
+ getCode(): number;
372
+ /**
373
+ * @returns {any}
374
+ */
375
+ serialize(): any;
376
+ /**
377
+ */
378
+ readonly message: string;
379
+ }
380
+ /**
381
+ */
329
382
  export class ChainAssetLockProof {
330
383
  free(): void;
331
384
  /**
@@ -646,14 +699,6 @@ export class DataContractCreateTransition {
646
699
  */
647
700
  isIdentityStateTransition(): boolean;
648
701
  /**
649
- * @param {StateTransitionExecutionContext} context
650
- */
651
- setExecutionContext(context: StateTransitionExecutionContext): void;
652
- /**
653
- * @returns {StateTransitionExecutionContext}
654
- */
655
- getExecutionContext(): StateTransitionExecutionContext;
656
- /**
657
702
  * @param {boolean | undefined} skip_signature
658
703
  * @returns {any}
659
704
  */
@@ -952,14 +997,6 @@ export class DataContractUpdateTransition {
952
997
  */
953
998
  isIdentityStateTransition(): boolean;
954
999
  /**
955
- * @param {StateTransitionExecutionContext} context
956
- */
957
- setExecutionContext(context: StateTransitionExecutionContext): void;
958
- /**
959
- * @returns {StateTransitionExecutionContext}
960
- */
961
- getExecutionContext(): StateTransitionExecutionContext;
962
- /**
963
1000
  * @param {boolean | undefined} skip_signature
964
1001
  * @returns {any}
965
1002
  */
@@ -1017,6 +1054,81 @@ export class DataTrigger {
1017
1054
  }
1018
1055
  /**
1019
1056
  */
1057
+ export class DataTriggerActionConditionError {
1058
+ free(): void;
1059
+ /**
1060
+ * @returns {any}
1061
+ */
1062
+ getDataContractId(): any;
1063
+ /**
1064
+ * @returns {any}
1065
+ */
1066
+ getDocumentTransitionId(): any;
1067
+ /**
1068
+ * @returns {string}
1069
+ */
1070
+ getMessage(): string;
1071
+ /**
1072
+ * @returns {any | undefined}
1073
+ */
1074
+ getOwnerId(): any | undefined;
1075
+ /**
1076
+ * @returns {number}
1077
+ */
1078
+ getCode(): number;
1079
+ }
1080
+ /**
1081
+ */
1082
+ export class DataTriggerActionExecutionError {
1083
+ free(): void;
1084
+ /**
1085
+ * @returns {any}
1086
+ */
1087
+ getDataContractId(): any;
1088
+ /**
1089
+ * @returns {any}
1090
+ */
1091
+ getExecutionError(): any;
1092
+ /**
1093
+ * @returns {any}
1094
+ */
1095
+ getDocumentTransitionId(): any;
1096
+ /**
1097
+ * @returns {string}
1098
+ */
1099
+ getMessage(): string;
1100
+ /**
1101
+ * @returns {any | undefined}
1102
+ */
1103
+ getOwnerId(): any | undefined;
1104
+ /**
1105
+ * @returns {number}
1106
+ */
1107
+ getCode(): number;
1108
+ }
1109
+ /**
1110
+ */
1111
+ export class DataTriggerActionInvalidResultError {
1112
+ free(): void;
1113
+ /**
1114
+ * @returns {any}
1115
+ */
1116
+ getDataContractId(): any;
1117
+ /**
1118
+ * @returns {any}
1119
+ */
1120
+ getDocumentTransitionId(): any;
1121
+ /**
1122
+ * @returns {any | undefined}
1123
+ */
1124
+ getOwnerId(): any | undefined;
1125
+ /**
1126
+ * @returns {number}
1127
+ */
1128
+ getCode(): number;
1129
+ }
1130
+ /**
1131
+ */
1020
1132
  export class DataTriggerConditionError {
1021
1133
  free(): void;
1022
1134
  /**
@@ -1812,9 +1924,9 @@ export class DocumentsBatchTransition {
1812
1924
  */
1813
1925
  setSignaturePublicKeyId(key_id: number): void;
1814
1926
  /**
1815
- * @returns {number}
1927
+ * @returns {Array<any>}
1816
1928
  */
1817
- getKeySecurityLevelRequirement(): number;
1929
+ getKeySecurityLevelRequirement(): Array<any>;
1818
1930
  /**
1819
1931
  * @returns {number}
1820
1932
  */
@@ -1840,14 +1952,6 @@ export class DocumentsBatchTransition {
1840
1952
  */
1841
1953
  isIdentityStateTransition(): boolean;
1842
1954
  /**
1843
- * @param {StateTransitionExecutionContext} context
1844
- */
1845
- setExecutionContext(context: StateTransitionExecutionContext): void;
1846
- /**
1847
- * @returns {StateTransitionExecutionContext}
1848
- */
1849
- getExecutionContext(): StateTransitionExecutionContext;
1850
- /**
1851
1955
  * @param {any} options
1852
1956
  * @returns {any}
1853
1957
  */
@@ -2525,14 +2629,6 @@ export class IdentityCreateTransition {
2525
2629
  */
2526
2630
  isIdentityStateTransition(): boolean;
2527
2631
  /**
2528
- * @param {StateTransitionExecutionContext} context
2529
- */
2530
- setExecutionContext(context: StateTransitionExecutionContext): void;
2531
- /**
2532
- * @returns {StateTransitionExecutionContext}
2533
- */
2534
- getExecutionContext(): StateTransitionExecutionContext;
2535
- /**
2536
2632
  * @param {Uint8Array} private_key
2537
2633
  * @param {number} key_type
2538
2634
  * @param {any | undefined} bls
@@ -2582,9 +2678,10 @@ export class IdentityCreateTransitionStateValidator {
2582
2678
  constructor(state_repository: any);
2583
2679
  /**
2584
2680
  * @param {IdentityCreateTransition} state_transition
2681
+ * @param {StateTransitionExecutionContext} execution_context
2585
2682
  * @returns {Promise<ValidationResult>}
2586
2683
  */
2587
- validate(state_transition: IdentityCreateTransition): Promise<ValidationResult>;
2684
+ validate(state_transition: IdentityCreateTransition, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
2588
2685
  }
2589
2686
  /**
2590
2687
  */
@@ -3044,14 +3141,6 @@ export class IdentityTopUpTransition {
3044
3141
  */
3045
3142
  isIdentityStateTransition(): boolean;
3046
3143
  /**
3047
- * @param {StateTransitionExecutionContext} context
3048
- */
3049
- setExecutionContext(context: StateTransitionExecutionContext): void;
3050
- /**
3051
- * @returns {StateTransitionExecutionContext}
3052
- */
3053
- getExecutionContext(): StateTransitionExecutionContext;
3054
- /**
3055
3144
  * @param {Uint8Array} private_key
3056
3145
  * @param {number} key_type
3057
3146
  * @param {any | undefined} bls
@@ -3097,9 +3186,10 @@ export class IdentityTopUpTransitionStateValidator {
3097
3186
  constructor(state_repository: any);
3098
3187
  /**
3099
3188
  * @param {IdentityTopUpTransition} state_transition
3189
+ * @param {StateTransitionExecutionContext} execution_context
3100
3190
  * @returns {Promise<ValidationResult>}
3101
3191
  */
3102
- validate(state_transition: IdentityTopUpTransition): Promise<ValidationResult>;
3192
+ validate(state_transition: IdentityTopUpTransition, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
3103
3193
  }
3104
3194
  /**
3105
3195
  */
@@ -3193,17 +3283,9 @@ export class IdentityUpdateTransition {
3193
3283
  */
3194
3284
  isIdentityStateTransition(): boolean;
3195
3285
  /**
3196
- * @param {StateTransitionExecutionContext} context
3197
- */
3198
- setExecutionContext(context: StateTransitionExecutionContext): void;
3199
- /**
3200
- * @returns {StateTransitionExecutionContext}
3201
- */
3202
- getExecutionContext(): StateTransitionExecutionContext;
3203
- /**
3204
- * @param {Uint8Array} private_key
3205
- * @param {number} key_type
3206
- * @param {any | undefined} bls
3286
+ * @param {Uint8Array} private_key
3287
+ * @param {number} key_type
3288
+ * @param {any | undefined} bls
3207
3289
  */
3208
3290
  signByPrivateKey(private_key: Uint8Array, key_type: number, bls?: any): void;
3209
3291
  /**
@@ -3269,9 +3351,10 @@ export class IdentityUpdateTransitionStateValidator {
3269
3351
  constructor(state_repository: any);
3270
3352
  /**
3271
3353
  * @param {IdentityUpdateTransition} state_transition
3354
+ * @param {StateTransitionExecutionContext} execution_context
3272
3355
  * @returns {Promise<ValidationResult>}
3273
3356
  */
3274
- validate(state_transition: IdentityUpdateTransition): Promise<ValidationResult>;
3357
+ validate(state_transition: IdentityUpdateTransition, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
3275
3358
  }
3276
3359
  /**
3277
3360
  */
@@ -3823,6 +3906,19 @@ export class InvalidIdentifierError {
3823
3906
  }
3824
3907
  /**
3825
3908
  */
3909
+ export class InvalidIdentityAssetLockProofChainLockValidationErrorWasm {
3910
+ free(): void;
3911
+ /**
3912
+ * @returns {any}
3913
+ */
3914
+ getTransactionId(): any;
3915
+ /**
3916
+ * @returns {number}
3917
+ */
3918
+ getHeightReportedNotLocked(): number;
3919
+ }
3920
+ /**
3921
+ */
3826
3922
  export class InvalidIdentityAssetLockTransactionError {
3827
3923
  free(): void;
3828
3924
  /**
@@ -4192,9 +4288,9 @@ export class InvalidSignaturePublicKeySecurityLevelError {
4192
4288
  */
4193
4289
  getPublicKeySecurityLevel(): number;
4194
4290
  /**
4195
- * @returns {number}
4291
+ * @returns {Uint8Array}
4196
4292
  */
4197
- getKeySecurityLevelRequirement(): number;
4293
+ getKeySecurityLevelRequirement(): Uint8Array;
4198
4294
  /**
4199
4295
  * @returns {number}
4200
4296
  */
@@ -4480,6 +4576,15 @@ export class MissingDocumentTypeError {
4480
4576
  }
4481
4577
  /**
4482
4578
  */
4579
+ export class MissingIdentityPublicKeyIdsError {
4580
+ free(): void;
4581
+ /**
4582
+ * @returns {Array<any>}
4583
+ */
4584
+ getDuplicatedIds(): Array<any>;
4585
+ }
4586
+ /**
4587
+ */
4483
4588
  export class MissingMasterPublicKeyError {
4484
4589
  free(): void;
4485
4590
  /**
@@ -4828,6 +4933,22 @@ export class SerializedObjectParsingError {
4828
4933
  }
4829
4934
  /**
4830
4935
  */
4936
+ export class SignatureShouldNotBePresentError {
4937
+ free(): void;
4938
+ /**
4939
+ * @returns {number}
4940
+ */
4941
+ getCode(): number;
4942
+ /**
4943
+ * @returns {any}
4944
+ */
4945
+ serialize(): any;
4946
+ /**
4947
+ */
4948
+ readonly message: string;
4949
+ }
4950
+ /**
4951
+ */
4831
4952
  export class SignatureVerificationOperation {
4832
4953
  free(): void;
4833
4954
  /**
@@ -4901,30 +5022,35 @@ export class StateTransitionFacade {
4901
5022
  createFromBuffer(state_transition_buffer: Uint8Array, options?: object): Promise<any>;
4902
5023
  /**
4903
5024
  * @param {any} raw_state_transition
5025
+ * @param {StateTransitionExecutionContext} execution_context
4904
5026
  * @param {any} options
4905
5027
  * @returns {Promise<ValidationResult>}
4906
5028
  */
4907
- validate(raw_state_transition: any, options: any): Promise<ValidationResult>;
5029
+ validate(raw_state_transition: any, execution_context: StateTransitionExecutionContext, options: any): Promise<ValidationResult>;
4908
5030
  /**
4909
5031
  * @param {any} raw_state_transition
5032
+ * @param {StateTransitionExecutionContext} execution_context
4910
5033
  * @returns {Promise<ValidationResult>}
4911
5034
  */
4912
- validateBasic(raw_state_transition: any): Promise<ValidationResult>;
5035
+ validateBasic(raw_state_transition: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
4913
5036
  /**
4914
5037
  * @param {any} raw_state_transition
5038
+ * @param {StateTransitionExecutionContext} execution_context
4915
5039
  * @returns {Promise<ValidationResult>}
4916
5040
  */
4917
- validateSignature(raw_state_transition: any): Promise<ValidationResult>;
5041
+ validateSignature(raw_state_transition: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
4918
5042
  /**
4919
5043
  * @param {any} raw_state_transition
5044
+ * @param {StateTransitionExecutionContext} execution_context
4920
5045
  * @returns {Promise<ValidationResult>}
4921
5046
  */
4922
- validateFee(raw_state_transition: any): Promise<ValidationResult>;
5047
+ validateFee(raw_state_transition: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
4923
5048
  /**
4924
5049
  * @param {any} raw_state_transition
5050
+ * @param {StateTransitionExecutionContext} execution_context
4925
5051
  * @returns {Promise<ValidationResult>}
4926
5052
  */
4927
- validateState(raw_state_transition: any): Promise<ValidationResult>;
5053
+ validateState(raw_state_transition: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
4928
5054
  /**
4929
5055
  * @param {any} state_transition_js
4930
5056
  * @returns {Promise<any>}
@@ -4963,9 +5089,10 @@ export class StateTransitionFeeValidator {
4963
5089
  constructor(state_repository: any);
4964
5090
  /**
4965
5091
  * @param {any} state_transition
5092
+ * @param {StateTransitionExecutionContext} execution_context
4966
5093
  * @returns {Promise<ValidationResult>}
4967
5094
  */
4968
- validate(state_transition: any): Promise<ValidationResult>;
5095
+ validate(state_transition: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
4969
5096
  }
4970
5097
  /**
4971
5098
  */
@@ -4977,9 +5104,10 @@ export class StateTransitionKeySignatureValidator {
4977
5104
  constructor(state_repository: any);
4978
5105
  /**
4979
5106
  * @param {any} state_transition
5107
+ * @param {StateTransitionExecutionContext} execution_context
4980
5108
  * @returns {Promise<ValidationResult>}
4981
5109
  */
4982
- validate(state_transition: any): Promise<ValidationResult>;
5110
+ validate(state_transition: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
4983
5111
  }
4984
5112
  /**
4985
5113
  */
@@ -5223,16 +5351,28 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
5223
5351
 
5224
5352
  export interface InitOutput {
5225
5353
  readonly memory: WebAssembly.Memory;
5226
- readonly validateDataContractCreateTransitionState: (a: number, b: number) => number;
5227
- readonly validateDataContractCreateTransitionBasic: (a: number) => number;
5354
+ readonly __wbg_indexproperty_free: (a: number) => void;
5355
+ readonly indexproperty_isAscending: (a: number) => number;
5356
+ readonly __wbg_indexdefinition_free: (a: number) => void;
5357
+ readonly indexdefinition_getName: (a: number, b: number) => void;
5358
+ readonly indexdefinition_getProperties: (a: number, b: number) => void;
5359
+ readonly indexdefinition_isUnique: (a: number) => number;
5360
+ readonly indexdefinition_toObject: (a: number, b: number) => void;
5228
5361
  readonly __wbg_invalidactionnameerror_free: (a: number) => void;
5229
5362
  readonly invalidactionnameerror_new: (a: number, b: number) => number;
5230
5363
  readonly invalidactionnameerror_getActions: (a: number, b: number) => void;
5231
- readonly __wbg_invalidjsonschemareferror_free: (a: number) => void;
5364
+ readonly __wbg_mismatchowneridserror_free: (a: number) => void;
5365
+ readonly mismatchowneridserror_new: (a: number, b: number) => number;
5366
+ readonly mismatchowneridserror_getDocuments: (a: number, b: number) => void;
5232
5367
  readonly invalidjsonschemareferror_getRefError: (a: number, b: number) => void;
5233
5368
  readonly invalidjsonschemareferror_getCode: (a: number) => number;
5234
5369
  readonly invalidjsonschemareferror_message: (a: number, b: number) => void;
5235
5370
  readonly invalidjsonschemareferror_serialize: (a: number, b: number) => void;
5371
+ readonly __wbg_identityassetlocktransactionisnotfounderror_free: (a: number) => void;
5372
+ readonly identityassetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
5373
+ readonly identityassetlocktransactionisnotfounderror_getCode: (a: number) => number;
5374
+ readonly identityassetlocktransactionisnotfounderror_message: (a: number, b: number) => void;
5375
+ readonly identityassetlocktransactionisnotfounderror_serialize: (a: number, b: number) => void;
5236
5376
  readonly __wbg_identityassetlocktransactionoutputnotfounderror_free: (a: number) => void;
5237
5377
  readonly identityassetlocktransactionoutputnotfounderror_getOutputIndex: (a: number) => number;
5238
5378
  readonly identityassetlocktransactionoutputnotfounderror_getCode: (a: number) => number;
@@ -5242,6 +5382,11 @@ export interface InitOutput {
5242
5382
  readonly invalidassetlocktransactionoutputreturnsizeerror_getCode: (a: number) => number;
5243
5383
  readonly invalidassetlocktransactionoutputreturnsizeerror_message: (a: number, b: number) => void;
5244
5384
  readonly invalidassetlocktransactionoutputreturnsizeerror_serialize: (a: number, b: number) => void;
5385
+ readonly __wbg_invalididentityassetlocktransactionerror_free: (a: number) => void;
5386
+ readonly invalididentityassetlocktransactionerror_getErrorMessage: (a: number, b: number) => void;
5387
+ readonly invalididentityassetlocktransactionerror_getCode: (a: number) => number;
5388
+ readonly invalididentityassetlocktransactionerror_message: (a: number, b: number) => void;
5389
+ readonly invalididentityassetlocktransactionerror_serialize: (a: number, b: number) => void;
5245
5390
  readonly invalididentityassetlocktransactionoutputerror_getOutputIndex: (a: number) => number;
5246
5391
  readonly invalididentityassetlocktransactionoutputerror_getCode: (a: number) => number;
5247
5392
  readonly invalididentityassetlocktransactionoutputerror_message: (a: number, b: number) => void;
@@ -5262,21 +5407,14 @@ export interface InitOutput {
5262
5407
  readonly missingpublickeyerror_getCode: (a: number) => number;
5263
5408
  readonly missingpublickeyerror_message: (a: number, b: number) => void;
5264
5409
  readonly missingpublickeyerror_serialize: (a: number, b: number) => void;
5265
- readonly __wbg_jsonschemaerror_free: (a: number) => void;
5266
- readonly jsonschemaerror_getKeyword: (a: number, b: number) => void;
5267
- readonly jsonschemaerror_getInstancePath: (a: number, b: number) => void;
5268
- readonly jsonschemaerror_getSchemaPath: (a: number, b: number) => void;
5269
- readonly jsonschemaerror_getPropertyName: (a: number, b: number) => void;
5270
- readonly jsonschemaerror_getParams: (a: number, b: number) => void;
5271
- readonly jsonschemaerror_getCode: (a: number) => number;
5272
- readonly jsonschemaerror_toString: (a: number, b: number) => void;
5273
- readonly jsonschemaerror_message: (a: number, b: number) => void;
5274
- readonly jsonschemaerror_serialize: (a: number, b: number) => void;
5410
+ readonly jsonschemacompilationerror_getError: (a: number, b: number) => void;
5411
+ readonly jsonschemacompilationerror_getCode: (a: number) => number;
5412
+ readonly jsonschemacompilationerror_message: (a: number, b: number) => void;
5413
+ readonly jsonschemacompilationerror_serialize: (a: number, b: number) => void;
5275
5414
  readonly publickeyisdisablederror_getPublicKeyId: (a: number) => number;
5276
5415
  readonly publickeyisdisablederror_getCode: (a: number) => number;
5277
5416
  readonly publickeyisdisablederror_message: (a: number, b: number) => void;
5278
5417
  readonly publickeyisdisablederror_serialize: (a: number, b: number) => void;
5279
- readonly deserializeConsensusError: (a: number, b: number, c: number) => void;
5280
5418
  readonly identitypublickeyisdisablederror_getPublicKeyIndex: (a: number) => number;
5281
5419
  readonly identitypublickeyisdisablederror_getCode: (a: number) => number;
5282
5420
  readonly identitypublickeyisdisablederror_message: (a: number, b: number) => void;
@@ -5289,6 +5427,48 @@ export interface InitOutput {
5289
5427
  readonly maxidentitypublickeylimitreachederror_getCode: (a: number) => number;
5290
5428
  readonly maxidentitypublickeylimitreachederror_message: (a: number, b: number) => void;
5291
5429
  readonly maxidentitypublickeylimitreachederror_serialize: (a: number, b: number) => void;
5430
+ readonly __wbg_missingidentitypublickeyidserror_free: (a: number) => void;
5431
+ readonly missingidentitypublickeyidserror_getDuplicatedIds: (a: number) => number;
5432
+ readonly valueerror_getMessage: (a: number, b: number) => void;
5433
+ readonly valueerror_getCode: (a: number) => number;
5434
+ readonly valueerror_message: (a: number, b: number) => void;
5435
+ readonly valueerror_serialize: (a: number, b: number) => void;
5436
+ readonly __wbg_publickeysvalidator_free: (a: number) => void;
5437
+ readonly publickeysvalidator_new: (a: number, b: number) => void;
5438
+ readonly publickeysvalidator_validateKeys: (a: number, b: number, c: number) => void;
5439
+ readonly publickeysvalidator_validatePublicKeyStructure: (a: number, b: number, c: number) => void;
5440
+ readonly publickeysvalidator_validateKeysInStateTransition: (a: number, b: number, c: number) => void;
5441
+ readonly __wbg_instantassetlockproof_free: (a: number) => void;
5442
+ readonly instantassetlockproof_new: (a: number, b: number) => void;
5443
+ readonly instantassetlockproof_getType: (a: number) => number;
5444
+ readonly instantassetlockproof_getOutputIndex: (a: number) => number;
5445
+ readonly instantassetlockproof_getOutPoint: (a: number) => number;
5446
+ readonly instantassetlockproof_getOutput: (a: number, b: number) => void;
5447
+ readonly instantassetlockproof_createIdentifier: (a: number, b: number) => void;
5448
+ readonly instantassetlockproof_getInstantLock: (a: number) => number;
5449
+ readonly instantassetlockproof_getTransaction: (a: number) => number;
5450
+ readonly instantassetlockproof_toObject: (a: number, b: number) => void;
5451
+ readonly instantassetlockproof_toJSON: (a: number, b: number) => void;
5452
+ readonly __wbg_identitycreatetransition_free: (a: number) => void;
5453
+ readonly identitycreatetransition_new: (a: number, b: number) => void;
5454
+ readonly identitycreatetransition_setAssetLockProof: (a: number, b: number, c: number) => void;
5455
+ readonly identitycreatetransition_assetLockProof: (a: number) => number;
5456
+ readonly identitycreatetransition_setPublicKeys: (a: number, b: number, c: number, d: number) => void;
5457
+ readonly identitycreatetransition_addPublicKeys: (a: number, b: number, c: number, d: number) => void;
5458
+ readonly identitycreatetransition_getPublicKeys: (a: number, b: number) => void;
5459
+ readonly identitycreatetransition_getType: (a: number) => number;
5460
+ readonly identitycreatetransition_getIdentityId: (a: number) => number;
5461
+ readonly identitycreatetransition_getOwnerId: (a: number) => number;
5462
+ readonly identitycreatetransition_toObject: (a: number, b: number, c: number) => void;
5463
+ readonly identitycreatetransition_toBuffer: (a: number, b: number, c: number) => void;
5464
+ readonly identitycreatetransition_toJSON: (a: number, b: number) => void;
5465
+ readonly identitycreatetransition_getModifiedDataIds: (a: number, b: number) => void;
5466
+ readonly identitycreatetransition_isDataContractStateTransition: (a: number) => number;
5467
+ readonly identitycreatetransition_isDocumentStateTransition: (a: number) => number;
5468
+ readonly identitycreatetransition_isIdentityStateTransition: (a: number) => number;
5469
+ readonly identitycreatetransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
5470
+ readonly identitycreatetransition_getSignature: (a: number) => number;
5471
+ readonly identitycreatetransition_setSignature: (a: number, b: number, c: number) => void;
5292
5472
  readonly calculateStateTransitionFeeFromOperations: (a: number, b: number, c: number) => void;
5293
5473
  readonly __wbg_dummyfeesresult_free: (a: number) => void;
5294
5474
  readonly dummyfeesresult_storageFee: (a: number) => number;
@@ -5305,7 +5485,20 @@ export interface InitOutput {
5305
5485
  readonly readoperation_toJSON: (a: number, b: number) => void;
5306
5486
  readonly __wbg_statetransitionfeevalidator_free: (a: number) => void;
5307
5487
  readonly statetransitionfeevalidator_new: (a: number) => number;
5308
- readonly statetransitionfeevalidator_validate: (a: number, b: number) => number;
5488
+ readonly statetransitionfeevalidator_validate: (a: number, b: number, c: number) => number;
5489
+ readonly __wbg_statetransitionexecutioncontext_free: (a: number) => void;
5490
+ readonly statetransitionexecutioncontext_new: () => number;
5491
+ readonly statetransitionexecutioncontext_enableDryRun: (a: number) => void;
5492
+ readonly statetransitionexecutioncontext_disableDryRun: (a: number) => void;
5493
+ readonly statetransitionexecutioncontext_isDryRun: (a: number) => number;
5494
+ readonly statetransitionexecutioncontext_addOperation: (a: number, b: number, c: number) => void;
5495
+ readonly statetransitionexecutioncontext_getDryOperations: (a: number, b: number) => void;
5496
+ readonly statetransitionexecutioncontext_getOperations: (a: number, b: number) => void;
5497
+ readonly statetransitionexecutioncontext_clearDryOperations: (a: number) => void;
5498
+ readonly identitycreatetransition_publicKeys: (a: number, b: number) => void;
5499
+ readonly identitycreatetransition_getAssetLockProof: (a: number) => number;
5500
+ readonly identitycreatetransition_identityId: (a: number) => number;
5501
+ readonly indexproperty_getName: (a: number, b: number) => void;
5309
5502
  readonly __wbg_invalidassetlocktransactionoutputreturnsizeerror_free: (a: number) => void;
5310
5503
  readonly __wbg_invalididentityassetlocktransactionoutputerror_free: (a: number) => void;
5311
5504
  readonly __wbg_invalididentitycreditwithdrawaltransitioncorefeeerror_free: (a: number) => void;
@@ -5316,7 +5509,9 @@ export interface InitOutput {
5316
5509
  readonly __wbg_identitypublickeyisdisablederror_free: (a: number) => void;
5317
5510
  readonly __wbg_invalididentitypublickeyiderror_free: (a: number) => void;
5318
5511
  readonly __wbg_maxidentitypublickeylimitreachederror_free: (a: number) => void;
5319
- readonly documentnorevisionerror_new: (a: number) => number;
5512
+ readonly __wbg_invalidjsonschemareferror_free: (a: number) => void;
5513
+ readonly __wbg_jsonschemacompilationerror_free: (a: number) => void;
5514
+ readonly __wbg_valueerror_free: (a: number) => void;
5320
5515
  readonly __wbg_invalidinitialrevisionerror_free: (a: number) => void;
5321
5516
  readonly invalidinitialrevisionerror_new: (a: number) => number;
5322
5517
  readonly invalidinitialrevisionerror_getDocument: (a: number) => number;
@@ -5341,6 +5536,21 @@ export interface InitOutput {
5341
5536
  readonly document_toBuffer: (a: number, b: number) => void;
5342
5537
  readonly document_hash: (a: number, b: number, c: number, d: number, e: number) => void;
5343
5538
  readonly document_clone: (a: number) => number;
5539
+ readonly __wbg_invalididentitycreditwithdrawaltransitionoutputscripterror_free: (a: number) => void;
5540
+ readonly invalididentitycreditwithdrawaltransitionoutputscripterror_getCode: (a: number) => number;
5541
+ readonly invalididentitycreditwithdrawaltransitionoutputscripterror_message: (a: number, b: number) => void;
5542
+ readonly invalididentitycreditwithdrawaltransitionoutputscripterror_serialize: (a: number, b: number) => void;
5543
+ readonly __wbg_jsonschemaerror_free: (a: number) => void;
5544
+ readonly jsonschemaerror_getKeyword: (a: number, b: number) => void;
5545
+ readonly jsonschemaerror_getInstancePath: (a: number, b: number) => void;
5546
+ readonly jsonschemaerror_getSchemaPath: (a: number, b: number) => void;
5547
+ readonly jsonschemaerror_getPropertyName: (a: number, b: number) => void;
5548
+ readonly jsonschemaerror_getParams: (a: number, b: number) => void;
5549
+ readonly jsonschemaerror_getCode: (a: number) => number;
5550
+ readonly jsonschemaerror_toString: (a: number, b: number) => void;
5551
+ readonly jsonschemaerror_message: (a: number, b: number) => void;
5552
+ readonly jsonschemaerror_serialize: (a: number, b: number) => void;
5553
+ readonly deserializeConsensusError: (a: number, b: number, c: number) => void;
5344
5554
  readonly __wbg_documenttimestampwindowviolationerror_free: (a: number) => void;
5345
5555
  readonly documenttimestampwindowviolationerror_getDocumentId: (a: number) => number;
5346
5556
  readonly documenttimestampwindowviolationerror_getTimestampName: (a: number, b: number) => void;
@@ -5365,9 +5575,7 @@ export interface InitOutput {
5365
5575
  readonly assetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
5366
5576
  readonly generateTemporaryEcdsaPrivateKey: () => number;
5367
5577
  readonly tryingtoreplaceimmutabledocumenterror_new: (a: number) => number;
5368
- readonly __wbg_documentnorevisionerror_free: (a: number) => void;
5369
5578
  readonly __wbg_tryingtoreplaceimmutabledocumenterror_free: (a: number) => void;
5370
- readonly documentnorevisionerror_getDocument: (a: number) => number;
5371
5579
  readonly __wbg_dashplatformprotocol_free: (a: number) => void;
5372
5580
  readonly dashplatformprotocol_new: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
5373
5581
  readonly dashplatformprotocol_data_contract: (a: number) => number;
@@ -5380,6 +5588,9 @@ export interface InitOutput {
5380
5588
  readonly dashplatformprotocol_getStateRepository: (a: number) => number;
5381
5589
  readonly __wbg_documentalreadyexistserror_free: (a: number) => void;
5382
5590
  readonly documentalreadyexistserror_getDocumentTransition: (a: number) => number;
5591
+ readonly __wbg_documentnorevisionerror_free: (a: number) => void;
5592
+ readonly documentnorevisionerror_new: (a: number) => number;
5593
+ readonly documentnorevisionerror_getDocument: (a: number) => number;
5383
5594
  readonly __wbg_documentfacade_free: (a: number) => void;
5384
5595
  readonly documentfacade_new: (a: number, b: number, c: number) => number;
5385
5596
  readonly documentfacade_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
@@ -5395,16 +5606,44 @@ export interface InitOutput {
5395
5606
  readonly invalididentitypublickeytypeerror_getCode: (a: number) => number;
5396
5607
  readonly invalididentitypublickeytypeerror_message: (a: number, b: number) => void;
5397
5608
  readonly invalididentitypublickeytypeerror_serialize: (a: number, b: number) => void;
5398
- readonly __wbg_invalidinstantassetlockprooferror_free: (a: number) => void;
5399
5609
  readonly invalidinstantassetlockprooferror_getCode: (a: number) => number;
5400
5610
  readonly invalidinstantassetlockprooferror_message: (a: number, b: number) => void;
5401
5611
  readonly invalidinstantassetlockprooferror_serialize: (a: number, b: number) => void;
5612
+ readonly __wbg_basicblserror_free: (a: number) => void;
5613
+ readonly basicblserror_getCode: (a: number) => number;
5614
+ readonly basicblserror_message: (a: number, b: number) => void;
5615
+ readonly basicblserror_serialize: (a: number, b: number) => void;
5616
+ readonly basicecdsaerror_getCode: (a: number) => number;
5617
+ readonly basicecdsaerror_message: (a: number, b: number) => void;
5618
+ readonly basicecdsaerror_serialize: (a: number, b: number) => void;
5619
+ readonly signatureshouldnotbepresenterror_getCode: (a: number) => number;
5620
+ readonly signatureshouldnotbepresenterror_message: (a: number, b: number) => void;
5621
+ readonly signatureshouldnotbepresenterror_serialize: (a: number, b: number) => void;
5402
5622
  readonly __wbg_datacontractnotpresentnotconsensuserror_free: (a: number) => void;
5403
5623
  readonly datacontractnotpresentnotconsensuserror_getDataContractId: (a: number) => number;
5404
5624
  readonly unknownassetlockprooftypeerror_getType: (a: number) => number;
5405
5625
  readonly __wbg_identitycreatetransitionbasicvalidator_free: (a: number) => void;
5406
5626
  readonly identitycreatetransitionbasicvalidator_new: (a: number, b: number, c: number) => void;
5407
5627
  readonly identitycreatetransitionbasicvalidator_validate: (a: number, b: number, c: number) => number;
5628
+ readonly dashplatformprotocol_protocol_version: (a: number) => number;
5629
+ readonly __wbg_documentnotprovidederror_free: (a: number) => void;
5630
+ readonly __wbg_invaliddocumentactionerror_free: (a: number) => void;
5631
+ readonly __wbg_unknownassetlockprooftypeerror_free: (a: number) => void;
5632
+ readonly documentnotprovidederror_getDocumentTransition: (a: number) => number;
5633
+ readonly invaliddocumentactionerror_getDocumentTransition: (a: number) => number;
5634
+ readonly __wbg_invalidinstantassetlockprooferror_free: (a: number) => void;
5635
+ readonly __wbg_basicecdsaerror_free: (a: number) => void;
5636
+ readonly __wbg_signatureshouldnotbepresenterror_free: (a: number) => void;
5637
+ readonly __wbg_datacontractgenericerror_free: (a: number) => void;
5638
+ readonly datacontractgenericerror_getMessage: (a: number, b: number) => void;
5639
+ readonly __wbg_assetlockproof_free: (a: number) => void;
5640
+ readonly assetlockproof_new: (a: number, b: number) => void;
5641
+ readonly assetlockproof_createIdentifier: (a: number, b: number) => void;
5642
+ readonly assetlockproof_toObject: (a: number, b: number) => void;
5643
+ readonly createAssetLockProofInstance: (a: number, b: number) => void;
5644
+ readonly validateAssetLockTransaction: (a: number, b: number, c: number, d: number, e: number) => number;
5645
+ readonly fetchAssetLockTransactionOutput: (a: number, b: number, c: number) => number;
5646
+ readonly fetchAssetLockPublicKeyHash: (a: number, b: number, c: number) => number;
5408
5647
  readonly __wbg_identitytopuptransition_free: (a: number) => void;
5409
5648
  readonly identitytopuptransition_new: (a: number, b: number) => void;
5410
5649
  readonly identitytopuptransition_setAssetLockProof: (a: number, b: number, c: number) => void;
@@ -5419,46 +5658,19 @@ export interface InitOutput {
5419
5658
  readonly identitytopuptransition_isDataContractStateTransition: (a: number) => number;
5420
5659
  readonly identitytopuptransition_isDocumentStateTransition: (a: number) => number;
5421
5660
  readonly identitytopuptransition_isIdentityStateTransition: (a: number) => number;
5422
- readonly identitytopuptransition_setExecutionContext: (a: number, b: number) => void;
5423
- readonly identitytopuptransition_getExecutionContext: (a: number) => number;
5424
5661
  readonly identitytopuptransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
5425
5662
  readonly identitytopuptransition_getSignature: (a: number) => number;
5426
5663
  readonly identitytopuptransition_setSignature: (a: number, b: number, c: number) => void;
5664
+ readonly calculateOperationFees: (a: number, b: number) => void;
5427
5665
  readonly __wbg_protocolversionvalidator_free: (a: number) => void;
5428
5666
  readonly protocolversionvalidator_new: (a: number, b: number) => void;
5429
5667
  readonly protocolversionvalidator_validate: (a: number, b: number, c: number) => void;
5430
- readonly dashplatformprotocol_protocol_version: (a: number) => number;
5431
5668
  readonly identitytopuptransition_getAssetLockProof: (a: number) => number;
5432
5669
  readonly identitytopuptransition_identityId: (a: number) => number;
5433
- readonly __wbg_documentnotprovidederror_free: (a: number) => void;
5434
- readonly __wbg_invaliddocumentactionerror_free: (a: number) => void;
5435
- readonly __wbg_unknownassetlockprooftypeerror_free: (a: number) => void;
5436
- readonly documentnotprovidederror_getDocumentTransition: (a: number) => number;
5437
- readonly invaliddocumentactionerror_getDocumentTransition: (a: number) => number;
5438
- readonly __wbg_datacontractgenericerror_free: (a: number) => void;
5439
- readonly datacontractgenericerror_getMessage: (a: number, b: number) => void;
5440
5670
  readonly __wbg_revisionabsenterror_free: (a: number) => void;
5441
5671
  readonly revisionabsenterror_new: (a: number) => number;
5442
5672
  readonly revisionabsenterror_getDocument: (a: number) => number;
5443
- readonly __wbg_assetlockproof_free: (a: number) => void;
5444
- readonly assetlockproof_new: (a: number, b: number) => void;
5445
- readonly assetlockproof_createIdentifier: (a: number, b: number) => void;
5446
- readonly assetlockproof_toObject: (a: number, b: number) => void;
5447
- readonly createAssetLockProofInstance: (a: number, b: number) => void;
5448
- readonly validateAssetLockTransaction: (a: number, b: number, c: number, d: number, e: number) => number;
5449
- readonly fetchAssetLockTransactionOutput: (a: number, b: number, c: number) => number;
5450
- readonly fetchAssetLockPublicKeyHash: (a: number, b: number, c: number) => number;
5451
- readonly calculateOperationFees: (a: number, b: number) => void;
5452
5673
  readonly validatePartialCompoundIndices: (a: number, b: number, c: number) => void;
5453
- readonly __wbg_invalidindexedpropertyconstrainterror_free: (a: number) => void;
5454
- readonly invalidindexedpropertyconstrainterror_getDocumentType: (a: number, b: number) => void;
5455
- readonly invalidindexedpropertyconstrainterror_getIndexName: (a: number, b: number) => void;
5456
- readonly invalidindexedpropertyconstrainterror_getPropertyName: (a: number, b: number) => void;
5457
- readonly invalidindexedpropertyconstrainterror_getConstraintName: (a: number, b: number) => void;
5458
- readonly invalidindexedpropertyconstrainterror_getReason: (a: number, b: number) => void;
5459
- readonly invalidindexedpropertyconstrainterror_getCode: (a: number) => number;
5460
- readonly invalidindexedpropertyconstrainterror_message: (a: number, b: number) => void;
5461
- readonly invalidindexedpropertyconstrainterror_serialize: (a: number, b: number) => void;
5462
5674
  readonly __wbg_protocolversionparsingerror_free: (a: number) => void;
5463
5675
  readonly protocolversionparsingerror_new: (a: number, b: number) => number;
5464
5676
  readonly protocolversionparsingerror_getParsingError: (a: number, b: number) => void;
@@ -5477,10 +5689,7 @@ export interface InitOutput {
5477
5689
  readonly missingdocumenttypeerror_getCode: (a: number) => number;
5478
5690
  readonly missingdocumenttypeerror_message: (a: number, b: number) => void;
5479
5691
  readonly missingdocumenttypeerror_serialize: (a: number, b: number) => void;
5480
- readonly __wbg_invalididentitycreditwithdrawaltransitionoutputscripterror_free: (a: number) => void;
5481
- readonly invalididentitycreditwithdrawaltransitionoutputscripterror_getCode: (a: number) => number;
5482
- readonly invalididentitycreditwithdrawaltransitionoutputscripterror_message: (a: number, b: number) => void;
5483
- readonly invalididentitycreditwithdrawaltransitionoutputscripterror_serialize: (a: number, b: number) => void;
5692
+ readonly __wbg_invalidinstantassetlockproofsignatureerror_free: (a: number) => void;
5484
5693
  readonly invalidinstantassetlockproofsignatureerror_getCode: (a: number) => number;
5485
5694
  readonly invalidinstantassetlockproofsignatureerror_message: (a: number, b: number) => void;
5486
5695
  readonly invalidinstantassetlockproofsignatureerror_serialize: (a: number, b: number) => void;
@@ -5490,11 +5699,6 @@ export interface InitOutput {
5490
5699
  readonly invalidstatetransitionsignatureerror_getCode: (a: number) => number;
5491
5700
  readonly invalidstatetransitionsignatureerror_message: (a: number, b: number) => void;
5492
5701
  readonly invalidstatetransitionsignatureerror_serialize: (a: number, b: number) => void;
5493
- readonly invalidstatetransitiontypeerror_new: (a: number) => number;
5494
- readonly invalidstatetransitiontypeerror_getType: (a: number) => number;
5495
- readonly invalidstatetransitiontypeerror_getCode: (a: number) => number;
5496
- readonly invalidstatetransitiontypeerror_message: (a: number, b: number) => void;
5497
- readonly invalidstatetransitiontypeerror_serialize: (a: number, b: number) => void;
5498
5702
  readonly __wbg_balanceisnotenougherror_free: (a: number) => void;
5499
5703
  readonly balanceisnotenougherror_new: (a: number, b: number) => number;
5500
5704
  readonly balanceisnotenougherror_getBalance: (a: number) => number;
@@ -5513,50 +5717,18 @@ export interface InitOutput {
5513
5717
  readonly __wbg_identityupdatetransitionbasicvalidator_free: (a: number) => void;
5514
5718
  readonly identityupdatetransitionbasicvalidator_new: (a: number, b: number) => void;
5515
5719
  readonly identityupdatetransitionbasicvalidator_validate: (a: number, b: number, c: number) => void;
5516
- readonly __wbg_feeresult_free: (a: number) => void;
5517
- readonly feeresult_new: () => number;
5518
- readonly feeresult_storageFee: (a: number) => number;
5519
- readonly feeresult_processingFee: (a: number) => number;
5520
- readonly feeresult_feeRefunds: (a: number) => number;
5521
- readonly feeresult_totalRefunds: (a: number) => number;
5522
- readonly feeresult_desiredAmount: (a: number) => number;
5523
- readonly feeresult_requiredAmount: (a: number) => number;
5524
- readonly feeresult_set_storageFee: (a: number, b: number, c: number) => void;
5525
- readonly feeresult_set_processingFee: (a: number, b: number, c: number) => void;
5526
- readonly feeresult_set_feeRefunds: (a: number, b: number, c: number) => void;
5527
- readonly feeresult_set_desiredAmount: (a: number, b: number, c: number) => void;
5528
- readonly feeresult_set_requiredAmount: (a: number, b: number, c: number) => void;
5529
- readonly feeresult_set_totalRefunds: (a: number, b: number, c: number) => void;
5530
- readonly validateStateTransitionIdentitySignature: (a: number, b: number, c: number) => number;
5720
+ readonly decodeProtocolEntity: (a: number, b: number, c: number) => void;
5531
5721
  readonly __wbg_missingdocumenttransitionactionerror_free: (a: number) => void;
5532
5722
  readonly __wbg_missingdocumenttransitiontypeerror_free: (a: number) => void;
5533
5723
  readonly __wbg_missingdocumenttypeerror_free: (a: number) => void;
5534
5724
  readonly __wbg_missingdatacontractiderror_free: (a: number) => void;
5535
- readonly __wbg_invalidinstantassetlockproofsignatureerror_free: (a: number) => void;
5536
5725
  readonly __wbg_missingmasterpublickeyerror_free: (a: number) => void;
5537
5726
  readonly __wbg_invalidstatetransitionsignatureerror_free: (a: number) => void;
5538
- readonly __wbg_invalidstatetransitiontypeerror_free: (a: number) => void;
5539
- readonly validateDataContractUpdateTransitionState: (a: number, b: number) => number;
5727
+ readonly validateDataContractUpdateTransitionState: (a: number, b: number, c: number) => number;
5540
5728
  readonly validateIndicesAreBackwardCompatible: (a: number, b: number, c: number) => void;
5541
5729
  readonly validateDataContractUpdateTransitionBasic: (a: number, b: number, c: number) => number;
5542
- readonly __wbg_datatriggerexecutionresult_free: (a: number) => void;
5543
- readonly datatriggerexecutionresult_isOk: (a: number) => number;
5544
- readonly datatriggerexecutionresult_getErrors: (a: number) => number;
5545
- readonly __wbg_documentcreatetransition_free: (a: number) => void;
5546
- readonly documentcreatetransition_from_raw_object: (a: number, b: number, c: number) => void;
5547
- readonly documentcreatetransition_getEntropy: (a: number, b: number) => void;
5548
- readonly documentcreatetransition_getCreatedAt: (a: number) => number;
5549
- readonly documentcreatetransition_getUpdatedAt: (a: number) => number;
5550
- readonly documentcreatetransition_getRevision: (a: number) => number;
5551
- readonly documentcreatetransition_getId: (a: number) => number;
5552
- readonly documentcreatetransition_getType: (a: number, b: number) => void;
5553
- readonly documentcreatetransition_getAction: (a: number) => number;
5554
- readonly documentcreatetransition_getDataContract: (a: number) => number;
5555
- readonly documentcreatetransition_getDataContractId: (a: number) => number;
5556
- readonly documentcreatetransition_get: (a: number, b: number, c: number, d: number) => void;
5557
- readonly documentcreatetransition_toObject: (a: number, b: number, c: number) => void;
5558
- readonly documentcreatetransition_toJSON: (a: number, b: number) => void;
5559
- readonly documentcreatetransition_getData: (a: number, b: number) => void;
5730
+ readonly __wbg_nodocumentssuppliederror_free: (a: number) => void;
5731
+ readonly nodocumentssuppliederror_new: () => number;
5560
5732
  readonly __wbg_documentreplacetransition_free: (a: number) => void;
5561
5733
  readonly documentreplacetransition_from_raw_object: (a: number, b: number, c: number) => void;
5562
5734
  readonly documentreplacetransition_getAction: (a: number) => number;
@@ -5571,13 +5743,6 @@ export interface InitOutput {
5571
5743
  readonly documentreplacetransition_getDataContractId: (a: number) => number;
5572
5744
  readonly documentreplacetransition_get: (a: number, b: number, c: number, d: number) => void;
5573
5745
  readonly validateDocumentsUniquenessByIndices: (a: number, b: number, c: number, d: number, e: number) => number;
5574
- readonly __wbg_incompatibledatacontractschemaerror_free: (a: number) => void;
5575
- readonly incompatibledatacontractschemaerror_getDataContractId: (a: number) => number;
5576
- readonly incompatibledatacontractschemaerror_getOperation: (a: number, b: number) => void;
5577
- readonly incompatibledatacontractschemaerror_getFieldPath: (a: number, b: number) => void;
5578
- readonly incompatibledatacontractschemaerror_getCode: (a: number) => number;
5579
- readonly incompatibledatacontractschemaerror_message: (a: number, b: number) => void;
5580
- readonly incompatibledatacontractschemaerror_serialize: (a: number, b: number) => void;
5581
5746
  readonly __wbg_invalidindexpropertytypeerror_free: (a: number) => void;
5582
5747
  readonly invalidindexpropertytypeerror_getDocumentType: (a: number, b: number) => void;
5583
5748
  readonly invalidindexpropertytypeerror_getIndexName: (a: number, b: number) => void;
@@ -5586,30 +5751,27 @@ export interface InitOutput {
5586
5751
  readonly invalidindexpropertytypeerror_getCode: (a: number) => number;
5587
5752
  readonly invalidindexpropertytypeerror_message: (a: number, b: number) => void;
5588
5753
  readonly invalidindexpropertytypeerror_serialize: (a: number, b: number) => void;
5589
- readonly __wbg_missingstatetransitiontypeerror_free: (a: number) => void;
5590
- readonly missingstatetransitiontypeerror_new: () => number;
5591
- readonly missingstatetransitiontypeerror_getCode: (a: number) => number;
5592
- readonly missingstatetransitiontypeerror_message: (a: number, b: number) => void;
5593
- readonly missingstatetransitiontypeerror_serialize: (a: number, b: number) => void;
5754
+ readonly __wbg_invalidindexedpropertyconstrainterror_free: (a: number) => void;
5755
+ readonly invalidindexedpropertyconstrainterror_getDocumentType: (a: number, b: number) => void;
5756
+ readonly invalidindexedpropertyconstrainterror_getIndexName: (a: number, b: number) => void;
5757
+ readonly invalidindexedpropertyconstrainterror_getPropertyName: (a: number, b: number) => void;
5758
+ readonly invalidindexedpropertyconstrainterror_getConstraintName: (a: number, b: number) => void;
5759
+ readonly invalidindexedpropertyconstrainterror_getReason: (a: number, b: number) => void;
5760
+ readonly invalidindexedpropertyconstrainterror_getCode: (a: number) => number;
5761
+ readonly invalidindexedpropertyconstrainterror_message: (a: number, b: number) => void;
5762
+ readonly invalidindexedpropertyconstrainterror_serialize: (a: number, b: number) => void;
5763
+ readonly __wbg_invalidstatetransitiontypeerror_free: (a: number) => void;
5764
+ readonly invalidstatetransitiontypeerror_new: (a: number) => number;
5765
+ readonly invalidstatetransitiontypeerror_getType: (a: number) => number;
5766
+ readonly invalidstatetransitiontypeerror_getCode: (a: number) => number;
5767
+ readonly invalidstatetransitiontypeerror_message: (a: number, b: number) => void;
5768
+ readonly invalidstatetransitiontypeerror_serialize: (a: number, b: number) => void;
5594
5769
  readonly __wbg_identitynotfounderror_free: (a: number) => void;
5595
5770
  readonly identitynotfounderror_new: (a: number) => number;
5596
5771
  readonly identitynotfounderror_getIdentityId: (a: number) => number;
5597
5772
  readonly identitynotfounderror_getCode: (a: number) => number;
5598
5773
  readonly identitynotfounderror_message: (a: number, b: number) => void;
5599
5774
  readonly identitynotfounderror_serialize: (a: number, b: number) => void;
5600
- readonly __wbg_datatriggerconditionerror_free: (a: number) => void;
5601
- readonly datatriggerconditionerror_getDataContractId: (a: number) => number;
5602
- readonly datatriggerconditionerror_getDocumentId: (a: number) => number;
5603
- readonly datatriggerconditionerror_getMessage: (a: number, b: number) => void;
5604
- readonly datatriggerconditionerror_getCode: (a: number) => number;
5605
- readonly datatriggerconditionerror_message: (a: number, b: number) => void;
5606
- readonly datatriggerconditionerror_serialize: (a: number, b: number) => void;
5607
- readonly datatriggerexecutionerror_getDataContractId: (a: number) => number;
5608
- readonly datatriggerexecutionerror_getDocumentId: (a: number) => number;
5609
- readonly datatriggerexecutionerror_getMessage: (a: number, b: number) => void;
5610
- readonly datatriggerexecutionerror_getCode: (a: number) => number;
5611
- readonly datatriggerexecutionerror_message: (a: number, b: number) => void;
5612
- readonly datatriggerexecutionerror_serialize: (a: number, b: number) => void;
5613
5775
  readonly __wbg_documentowneridmismatcherror_free: (a: number) => void;
5614
5776
  readonly documentowneridmismatcherror_getDocumentId: (a: number) => number;
5615
5777
  readonly documentowneridmismatcherror_getDocumentOwnerId: (a: number) => number;
@@ -5656,8 +5818,6 @@ export interface InitOutput {
5656
5818
  readonly identityupdatetransition_isDataContractStateTransition: (a: number) => number;
5657
5819
  readonly identityupdatetransition_isDocumentStateTransition: (a: number) => number;
5658
5820
  readonly identityupdatetransition_isIdentityStateTransition: (a: number) => number;
5659
- readonly identityupdatetransition_setExecutionContext: (a: number, b: number) => void;
5660
- readonly identityupdatetransition_getExecutionContext: (a: number) => number;
5661
5821
  readonly identityupdatetransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
5662
5822
  readonly identityupdatetransition_setSignaturePublicKeyId: (a: number, b: number, c: number) => void;
5663
5823
  readonly identityupdatetransition_getSignature: (a: number) => number;
@@ -5694,16 +5854,24 @@ export interface InitOutput {
5694
5854
  readonly identity_addPublicKey: (a: number, b: number) => void;
5695
5855
  readonly identity_addPublicKeys: (a: number, b: number, c: number) => void;
5696
5856
  readonly identity_getPublicKeyMaxId: (a: number) => number;
5697
- readonly __wbg_statetransitionfactory_free: (a: number) => void;
5698
- readonly statetransitionfactory_new: (a: number, b: number, c: number) => void;
5699
- readonly statetransitionfactory_createFromObject: (a: number, b: number, c: number) => number;
5700
- readonly statetransitionfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
5857
+ readonly __wbg_feeresult_free: (a: number) => void;
5858
+ readonly feeresult_new: () => number;
5859
+ readonly feeresult_storageFee: (a: number) => number;
5860
+ readonly feeresult_processingFee: (a: number) => number;
5861
+ readonly feeresult_feeRefunds: (a: number) => number;
5862
+ readonly feeresult_totalRefunds: (a: number) => number;
5863
+ readonly feeresult_desiredAmount: (a: number) => number;
5864
+ readonly feeresult_requiredAmount: (a: number) => number;
5865
+ readonly feeresult_set_storageFee: (a: number, b: number, c: number) => void;
5866
+ readonly feeresult_set_processingFee: (a: number, b: number, c: number) => void;
5867
+ readonly feeresult_set_feeRefunds: (a: number, b: number, c: number) => void;
5868
+ readonly feeresult_set_desiredAmount: (a: number, b: number, c: number) => void;
5869
+ readonly feeresult_set_requiredAmount: (a: number, b: number, c: number) => void;
5870
+ readonly feeresult_set_totalRefunds: (a: number, b: number, c: number) => void;
5871
+ readonly validateStateTransitionIdentitySignature: (a: number, b: number, c: number) => number;
5701
5872
  readonly identityupdatetransition_getPublicKeysToAdd: (a: number, b: number) => void;
5702
5873
  readonly identityupdatetransition_identityId: (a: number) => number;
5703
- readonly nodocumentssuppliederror_new: () => number;
5704
- readonly __wbg_nodocumentssuppliederror_free: (a: number) => void;
5705
5874
  readonly identity_getBalance: (a: number) => number;
5706
- readonly __wbg_datatriggerexecutionerror_free: (a: number) => void;
5707
5875
  readonly __wbg_invaliddocumenttypeindatacontracterror_free: (a: number) => void;
5708
5876
  readonly invaliddocumenttypeindatacontracterror_new: (a: number, b: number, c: number) => number;
5709
5877
  readonly invaliddocumenttypeindatacontracterror_getType: (a: number, b: number) => void;
@@ -5717,6 +5885,24 @@ export interface InitOutput {
5717
5885
  readonly datacontractfactory_createFromObject: (a: number, b: number, c: number) => number;
5718
5886
  readonly datacontractfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
5719
5887
  readonly datacontractfactory_createDataContractCreateTransition: (a: number, b: number) => number;
5888
+ readonly __wbg_datatriggerexecutionresult_free: (a: number) => void;
5889
+ readonly datatriggerexecutionresult_isOk: (a: number) => number;
5890
+ readonly datatriggerexecutionresult_getErrors: (a: number) => number;
5891
+ readonly __wbg_documentcreatetransition_free: (a: number) => void;
5892
+ readonly documentcreatetransition_from_raw_object: (a: number, b: number, c: number) => void;
5893
+ readonly documentcreatetransition_getEntropy: (a: number, b: number) => void;
5894
+ readonly documentcreatetransition_getCreatedAt: (a: number) => number;
5895
+ readonly documentcreatetransition_getUpdatedAt: (a: number) => number;
5896
+ readonly documentcreatetransition_getRevision: (a: number) => number;
5897
+ readonly documentcreatetransition_getId: (a: number) => number;
5898
+ readonly documentcreatetransition_getType: (a: number, b: number) => void;
5899
+ readonly documentcreatetransition_getAction: (a: number) => number;
5900
+ readonly documentcreatetransition_getDataContract: (a: number) => number;
5901
+ readonly documentcreatetransition_getDataContractId: (a: number) => number;
5902
+ readonly documentcreatetransition_get: (a: number, b: number, c: number, d: number) => void;
5903
+ readonly documentcreatetransition_toObject: (a: number, b: number, c: number) => void;
5904
+ readonly documentcreatetransition_toJSON: (a: number, b: number) => void;
5905
+ readonly documentcreatetransition_getData: (a: number, b: number) => void;
5720
5906
  readonly __wbg_invalididentitypublickeysecuritylevelerror_free: (a: number) => void;
5721
5907
  readonly invalididentitypublickeysecuritylevelerror_getPublicKeyId: (a: number) => number;
5722
5908
  readonly invalididentitypublickeysecuritylevelerror_getPublicKeyPurpose: (a: number) => number;
@@ -5724,15 +5910,24 @@ export interface InitOutput {
5724
5910
  readonly invalididentitypublickeysecuritylevelerror_getCode: (a: number) => number;
5725
5911
  readonly invalididentitypublickeysecuritylevelerror_message: (a: number, b: number) => void;
5726
5912
  readonly invalididentitypublickeysecuritylevelerror_serialize: (a: number, b: number) => void;
5913
+ readonly missingstatetransitiontypeerror_new: () => number;
5914
+ readonly missingstatetransitiontypeerror_getCode: (a: number) => number;
5915
+ readonly missingstatetransitiontypeerror_message: (a: number, b: number) => void;
5916
+ readonly missingstatetransitiontypeerror_serialize: (a: number, b: number) => void;
5917
+ readonly __wbg_publickeyvalidationerror_free: (a: number) => void;
5918
+ readonly publickeyvalidationerror_message: (a: number) => number;
5919
+ readonly getCreditsConversionRatio: () => number;
5727
5920
  readonly __wbg_identityupdatepublickeysvalidator_free: (a: number) => void;
5728
- readonly identityupdatepublickeysvalidator_new: () => number;
5729
5921
  readonly identityupdatepublickeysvalidator_validate: (a: number, b: number, c: number, d: number) => void;
5730
- readonly __wbg_invaliddatacontracterror_free: (a: number) => void;
5731
- readonly invaliddatacontracterror_getErrors: (a: number, b: number) => void;
5732
- readonly invaliddatacontracterror_getRawDataContract: (a: number) => number;
5733
- readonly invaliddatacontracterror_getMessage: (a: number, b: number) => void;
5734
- readonly __wbg_invalidactionerror_free: (a: number) => void;
5735
- readonly generateDocumentId: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
5922
+ readonly __wbg_statetransitionfactory_free: (a: number) => void;
5923
+ readonly statetransitionfactory_new: (a: number, b: number, c: number) => void;
5924
+ readonly statetransitionfactory_createFromObject: (a: number, b: number, c: number) => number;
5925
+ readonly statetransitionfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
5926
+ readonly calculateStateTransitionFee: (a: number, b: number, c: number) => void;
5927
+ readonly identityupdatepublickeysvalidator_new: () => number;
5928
+ readonly __wbg_missingstatetransitiontypeerror_free: (a: number) => void;
5929
+ readonly applyDocumentsBatchTransition: (a: number, b: number, c: number) => number;
5930
+ readonly validateDocumentsBatchTransitionState: (a: number, b: number, c: number) => number;
5736
5931
  readonly __wbg_systempropertyindexalreadypresenterror_free: (a: number) => void;
5737
5932
  readonly systempropertyindexalreadypresenterror_getDocumentType: (a: number, b: number) => void;
5738
5933
  readonly systempropertyindexalreadypresenterror_getIndexName: (a: number, b: number) => void;
@@ -5746,44 +5941,33 @@ export interface InitOutput {
5746
5941
  readonly undefinedindexpropertyerror_getCode: (a: number) => number;
5747
5942
  readonly undefinedindexpropertyerror_message: (a: number, b: number) => void;
5748
5943
  readonly undefinedindexpropertyerror_serialize: (a: number, b: number) => void;
5749
- readonly __wbg_identityassetlockprooflockedtransactionmismatcherror_free: (a: number) => void;
5750
- readonly identityassetlockprooflockedtransactionmismatcherror_getInstantLockTransactionId: (a: number) => number;
5751
- readonly identityassetlockprooflockedtransactionmismatcherror_getAssetLockTransactionId: (a: number) => number;
5752
- readonly identityassetlockprooflockedtransactionmismatcherror_getCode: (a: number) => number;
5753
- readonly identityassetlockprooflockedtransactionmismatcherror_message: (a: number, b: number) => void;
5754
- readonly identityassetlockprooflockedtransactionmismatcherror_serialize: (a: number, b: number) => void;
5755
- readonly __wbg_invalidassetlockprooftransactionheighterror_free: (a: number) => void;
5756
- readonly invalidassetlockprooftransactionheighterror_getProofCoreChainLockedHeight: (a: number) => number;
5757
- readonly invalidassetlockprooftransactionheighterror_getTransactionHeight: (a: number, b: number) => void;
5758
- readonly invalidassetlockprooftransactionheighterror_getCode: (a: number) => number;
5759
- readonly invalidassetlockprooftransactionheighterror_message: (a: number, b: number) => void;
5760
- readonly invalidassetlockprooftransactionheighterror_serialize: (a: number, b: number) => void;
5761
- readonly __wbg_duplicateuniqueindexerror_free: (a: number) => void;
5762
- readonly duplicateuniqueindexerror_getDocumentId: (a: number) => number;
5763
- readonly duplicateuniqueindexerror_getDuplicatingProperties: (a: number) => number;
5764
- readonly duplicateuniqueindexerror_getCode: (a: number) => number;
5765
- readonly duplicateuniqueindexerror_message: (a: number, b: number) => void;
5766
- readonly duplicateuniqueindexerror_serialize: (a: number, b: number) => void;
5944
+ readonly __wbg_invalididentityassetlockproofchainlockvalidationerrorwasm_free: (a: number) => void;
5945
+ readonly invalididentityassetlockproofchainlockvalidationerrorwasm_getTransactionId: (a: number) => number;
5946
+ readonly invalididentityassetlockproofchainlockvalidationerrorwasm_getHeightReportedNotLocked: (a: number) => number;
5947
+ readonly __wbg_datatriggerexecutionerror_free: (a: number) => void;
5948
+ readonly datatriggerexecutionerror_getDataContractId: (a: number) => number;
5949
+ readonly datatriggerexecutionerror_getDocumentId: (a: number) => number;
5950
+ readonly datatriggerexecutionerror_getMessage: (a: number, b: number) => void;
5951
+ readonly datatriggerexecutionerror_getCode: (a: number) => number;
5952
+ readonly datatriggerexecutionerror_message: (a: number, b: number) => void;
5953
+ readonly datatriggerexecutionerror_serialize: (a: number, b: number) => void;
5954
+ readonly __wbg_datatriggeractionexecutionerror_free: (a: number) => void;
5955
+ readonly datatriggeractionexecutionerror_getDataContractId: (a: number) => number;
5956
+ readonly datatriggeractionexecutionerror_getExecutionError: (a: number) => number;
5957
+ readonly datatriggeractionexecutionerror_getDocumentTransitionId: (a: number) => number;
5958
+ readonly datatriggeractionexecutionerror_getMessage: (a: number, b: number) => void;
5959
+ readonly datatriggeractionexecutionerror_getOwnerId: (a: number) => number;
5960
+ readonly datatriggeractionexecutionerror_getCode: (a: number) => number;
5767
5961
  readonly __wbg_invaliddocumentrevisionerror_free: (a: number) => void;
5768
5962
  readonly invaliddocumentrevisionerror_getDocumentId: (a: number) => number;
5769
5963
  readonly invaliddocumentrevisionerror_getCurrentRevision: (a: number, b: number) => void;
5770
5964
  readonly invaliddocumentrevisionerror_getCode: (a: number) => number;
5771
5965
  readonly invaliddocumentrevisionerror_message: (a: number, b: number) => void;
5772
5966
  readonly invaliddocumentrevisionerror_serialize: (a: number, b: number) => void;
5773
- readonly __wbg_invalididentityrevisionerror_free: (a: number) => void;
5774
- readonly invalididentityrevisionerror_getIdentityId: (a: number) => number;
5775
- readonly invalididentityrevisionerror_getCurrentRevision: (a: number) => number;
5776
- readonly invalididentityrevisionerror_getCode: (a: number) => number;
5777
- readonly invalididentityrevisionerror_message: (a: number, b: number) => void;
5778
- readonly invalididentityrevisionerror_serialize: (a: number, b: number) => void;
5779
- readonly publickeyvalidationerror_message: (a: number) => number;
5780
5967
  readonly __wbg_platformvalueerror_free: (a: number) => void;
5781
5968
  readonly platformvalueerror_getMessage: (a: number, b: number) => void;
5782
5969
  readonly platformvalueerror_toString: (a: number, b: number) => void;
5783
- readonly getCreditsConversionRatio: () => number;
5784
- readonly __wbg_instantassetlockproofstructurevalidator_free: (a: number) => void;
5785
- readonly instantassetlockproofstructurevalidator_new: (a: number, b: number) => void;
5786
- readonly instantassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
5970
+ readonly applyIdentityCreateTransition: (a: number, b: number, c: number) => number;
5787
5971
  readonly __wbg_identitypublickeywithwitness_free: (a: number) => void;
5788
5972
  readonly identitypublickeywithwitness_new: (a: number, b: number) => void;
5789
5973
  readonly identitypublickeywithwitness_getId: (a: number) => number;
@@ -5804,11 +5988,11 @@ export interface InitOutput {
5804
5988
  readonly identitypublickeywithwitness_isMaster: (a: number) => number;
5805
5989
  readonly identitypublickeywithwitness_toJSON: (a: number, b: number) => void;
5806
5990
  readonly identitypublickeywithwitness_toObject: (a: number, b: number, c: number) => void;
5991
+ readonly applyIdentityTopUpTransition: (a: number, b: number, c: number) => number;
5992
+ readonly applyIdentityUpdateTransition: (a: number, b: number, c: number) => number;
5807
5993
  readonly __wbg_jsonschemavalidator_free: (a: number) => void;
5808
5994
  readonly jsonschemavalidator_new: (a: number, b: number, c: number) => void;
5809
5995
  readonly __wbg_undefinedindexpropertyerror_free: (a: number) => void;
5810
- readonly invalidactionterror_new: (a: number) => number;
5811
- readonly __wbg_publickeyvalidationerror_free: (a: number) => void;
5812
5996
  readonly __wbg_datacontract_free: (a: number) => void;
5813
5997
  readonly datacontract_new: (a: number, b: number) => void;
5814
5998
  readonly datacontract_getProtocolVersion: (a: number) => number;
@@ -5843,41 +6027,18 @@ export interface InitOutput {
5843
6027
  readonly datacontract_clone: (a: number) => number;
5844
6028
  readonly __wbg_datacontractdefaults_free: (a: number) => void;
5845
6029
  readonly datacontractdefaults_get_default_schema: (a: number) => void;
5846
- readonly __wbg_datacontractupdatetransition_free: (a: number) => void;
5847
- readonly datacontractupdatetransition_new: (a: number, b: number) => void;
5848
- readonly datacontractupdatetransition_getDataContract: (a: number) => number;
5849
- readonly datacontractupdatetransition_getProtocolVersion: (a: number) => number;
5850
- readonly datacontractupdatetransition_getEntropy: (a: number) => number;
5851
- readonly datacontractupdatetransition_getOwnerId: (a: number) => number;
5852
- readonly datacontractupdatetransition_getType: (a: number) => number;
5853
- readonly datacontractupdatetransition_toJSON: (a: number, b: number, c: number) => void;
5854
- readonly datacontractupdatetransition_toBuffer: (a: number, b: number, c: number) => void;
5855
- readonly datacontractupdatetransition_getModifiedDataIds: (a: number, b: number) => void;
5856
- readonly datacontractupdatetransition_isDataContractStateTransition: (a: number) => number;
5857
- readonly datacontractupdatetransition_isDocumentStateTransition: (a: number) => number;
5858
- readonly datacontractupdatetransition_isIdentityStateTransition: (a: number) => number;
5859
- readonly datacontractupdatetransition_setExecutionContext: (a: number, b: number) => void;
5860
- readonly datacontractupdatetransition_getExecutionContext: (a: number) => number;
5861
- readonly datacontractupdatetransition_hash: (a: number, b: number, c: number) => void;
5862
- readonly datacontractupdatetransition_toObject: (a: number, b: number, c: number) => void;
5863
- readonly datacontractupdatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
5864
- readonly datacontractupdatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
5865
- readonly __wbg_documenttransitions_free: (a: number) => void;
5866
- readonly documenttransitions_new: () => number;
5867
- readonly documenttransitions_addTransitionCreate: (a: number, b: number) => void;
5868
- readonly documenttransitions_addTransitionReplace: (a: number, b: number) => void;
5869
- readonly documenttransitions_addTransitionDelete: (a: number, b: number) => void;
5870
- readonly __wbg_documentfactory_free: (a: number) => void;
5871
- readonly documentfactory_new: (a: number, b: number, c: number, d: number) => number;
5872
- readonly documentfactory_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
5873
- readonly documentfactory_createStateTransition: (a: number, b: number, c: number) => void;
5874
- readonly documentfactory_createFromObject: (a: number, b: number, c: number) => number;
5875
- readonly documentfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
6030
+ readonly __wbg_invaliddatacontracterror_free: (a: number) => void;
6031
+ readonly invaliddatacontracterror_getErrors: (a: number, b: number) => void;
6032
+ readonly invaliddatacontracterror_getRawDataContract: (a: number) => number;
6033
+ readonly invaliddatacontracterror_getMessage: (a: number, b: number) => void;
6034
+ readonly __wbg_invalidactionerror_free: (a: number) => void;
5876
6035
  readonly __wbg_fetchandvalidatedatacontractfactory_free: (a: number) => void;
5877
6036
  readonly fetchandvalidatedatacontractfactory_new: (a: number) => number;
5878
6037
  readonly fetchandvalidatedatacontractfactory_validate: (a: number, b: number) => number;
5879
6038
  readonly fetchAndValidateDataContract: (a: number, b: number) => number;
6039
+ readonly generateDocumentId: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
5880
6040
  readonly findDuplicatesByIndices: (a: number, b: number, c: number, d: number) => void;
6041
+ readonly validateDocumentsBatchTransitionBasic: (a: number, b: number, c: number, d: number) => number;
5881
6042
  readonly fetchExtendedDocuments: (a: number, b: number, c: number) => number;
5882
6043
  readonly __wbg_datacontracthavenewuniqueindexerror_free: (a: number) => void;
5883
6044
  readonly datacontracthavenewuniqueindexerror_getDocumentType: (a: number, b: number) => void;
@@ -5885,11 +6046,6 @@ export interface InitOutput {
5885
6046
  readonly datacontracthavenewuniqueindexerror_getCode: (a: number) => number;
5886
6047
  readonly datacontracthavenewuniqueindexerror_message: (a: number, b: number) => void;
5887
6048
  readonly datacontracthavenewuniqueindexerror_serialize: (a: number, b: number) => void;
5888
- readonly datacontractimmutablepropertiesupdateerror_getOperation: (a: number, b: number) => void;
5889
- readonly datacontractimmutablepropertiesupdateerror_getFieldPath: (a: number, b: number) => void;
5890
- readonly datacontractimmutablepropertiesupdateerror_getCode: (a: number) => number;
5891
- readonly datacontractimmutablepropertiesupdateerror_message: (a: number, b: number) => void;
5892
- readonly datacontractimmutablepropertiesupdateerror_serialize: (a: number, b: number) => void;
5893
6049
  readonly datacontractinvalidindexdefinitionupdateerror_getDocumentType: (a: number, b: number) => void;
5894
6050
  readonly datacontractinvalidindexdefinitionupdateerror_getIndexName: (a: number, b: number) => void;
5895
6051
  readonly datacontractinvalidindexdefinitionupdateerror_getCode: (a: number) => number;
@@ -5900,18 +6056,13 @@ export interface InitOutput {
5900
6056
  readonly datacontractuniqueindiceschangederror_getCode: (a: number) => number;
5901
6057
  readonly datacontractuniqueindiceschangederror_message: (a: number, b: number) => void;
5902
6058
  readonly datacontractuniqueindiceschangederror_serialize: (a: number, b: number) => void;
5903
- readonly duplicateindexnameerror_getDocumentType: (a: number, b: number) => void;
5904
- readonly duplicateindexnameerror_getDuplicateIndexName: (a: number, b: number) => void;
5905
- readonly duplicateindexnameerror_getCode: (a: number) => number;
5906
- readonly duplicateindexnameerror_message: (a: number, b: number) => void;
5907
- readonly duplicateindexnameerror_serialize: (a: number, b: number) => void;
5908
- readonly __wbg_incompatiblere2patternerror_free: (a: number) => void;
5909
- readonly incompatiblere2patternerror_getPattern: (a: number, b: number) => void;
5910
- readonly incompatiblere2patternerror_getPath: (a: number, b: number) => void;
5911
- readonly incompatiblere2patternerror_getMessage: (a: number, b: number) => void;
5912
- readonly incompatiblere2patternerror_getCode: (a: number) => number;
5913
- readonly incompatiblere2patternerror_message: (a: number, b: number) => void;
5914
- readonly incompatiblere2patternerror_serialize: (a: number, b: number) => void;
6059
+ readonly __wbg_incompatibledatacontractschemaerror_free: (a: number) => void;
6060
+ readonly incompatibledatacontractschemaerror_getDataContractId: (a: number) => number;
6061
+ readonly incompatibledatacontractschemaerror_getOperation: (a: number, b: number) => void;
6062
+ readonly incompatibledatacontractschemaerror_getFieldPath: (a: number, b: number) => void;
6063
+ readonly incompatibledatacontractschemaerror_getCode: (a: number) => number;
6064
+ readonly incompatibledatacontractschemaerror_message: (a: number, b: number) => void;
6065
+ readonly incompatibledatacontractschemaerror_serialize: (a: number, b: number) => void;
5915
6066
  readonly duplicateindexerror_getDocumentType: (a: number, b: number) => void;
5916
6067
  readonly duplicateindexerror_getIndexName: (a: number, b: number) => void;
5917
6068
  readonly duplicateindexerror_getCode: (a: number) => number;
@@ -5922,11 +6073,6 @@ export interface InitOutput {
5922
6073
  readonly invalidcompoundindexerror_getCode: (a: number) => number;
5923
6074
  readonly invalidcompoundindexerror_message: (a: number, b: number) => void;
5924
6075
  readonly invalidcompoundindexerror_serialize: (a: number, b: number) => void;
5925
- readonly uniqueindiceslimitreachederror_getDocumentType: (a: number, b: number) => void;
5926
- readonly uniqueindiceslimitreachederror_getIndexLimit: (a: number) => number;
5927
- readonly uniqueindiceslimitreachederror_getCode: (a: number) => number;
5928
- readonly uniqueindiceslimitreachederror_message: (a: number, b: number) => void;
5929
- readonly uniqueindiceslimitreachederror_serialize: (a: number, b: number) => void;
5930
6076
  readonly invaliddatacontractiderror_getExpectedId: (a: number) => number;
5931
6077
  readonly invaliddatacontractiderror_getInvalidId: (a: number) => number;
5932
6078
  readonly invaliddatacontractiderror_getCode: (a: number) => number;
@@ -5949,24 +6095,24 @@ export interface InitOutput {
5949
6095
  readonly invaliddocumenttypeerror_getCode: (a: number) => number;
5950
6096
  readonly invaliddocumenttypeerror_message: (a: number, b: number) => void;
5951
6097
  readonly invaliddocumenttypeerror_serialize: (a: number, b: number) => void;
6098
+ readonly __wbg_identityassetlockprooflockedtransactionmismatcherror_free: (a: number) => void;
6099
+ readonly identityassetlockprooflockedtransactionmismatcherror_getInstantLockTransactionId: (a: number) => number;
6100
+ readonly identityassetlockprooflockedtransactionmismatcherror_getAssetLockTransactionId: (a: number) => number;
6101
+ readonly identityassetlockprooflockedtransactionmismatcherror_getCode: (a: number) => number;
6102
+ readonly identityassetlockprooflockedtransactionmismatcherror_message: (a: number, b: number) => void;
6103
+ readonly identityassetlockprooflockedtransactionmismatcherror_serialize: (a: number, b: number) => void;
5952
6104
  readonly __wbg_identityassetlocktransactionoutpointalreadyexistserror_free: (a: number) => void;
5953
6105
  readonly identityassetlocktransactionoutpointalreadyexistserror_getOutputIndex: (a: number) => number;
5954
6106
  readonly identityassetlocktransactionoutpointalreadyexistserror_getTransactionId: (a: number) => number;
5955
6107
  readonly identityassetlocktransactionoutpointalreadyexistserror_getCode: (a: number) => number;
5956
6108
  readonly identityassetlocktransactionoutpointalreadyexistserror_message: (a: number, b: number) => void;
5957
6109
  readonly identityassetlocktransactionoutpointalreadyexistserror_serialize: (a: number, b: number) => void;
5958
- readonly __wbg_identityinsufficientbalanceerror_free: (a: number) => void;
5959
- readonly identityinsufficientbalanceerror_getIdentityId: (a: number) => number;
5960
- readonly identityinsufficientbalanceerror_getBalance: (a: number) => number;
5961
- readonly identityinsufficientbalanceerror_getCode: (a: number) => number;
5962
- readonly identityinsufficientbalanceerror_message: (a: number, b: number) => void;
5963
- readonly identityinsufficientbalanceerror_serialize: (a: number, b: number) => void;
5964
- readonly __wbg_invalididentitypublickeydataerror_free: (a: number) => void;
5965
- readonly invalididentitypublickeydataerror_getPublicKeyId: (a: number) => number;
5966
- readonly invalididentitypublickeydataerror_getValidationError: (a: number, b: number) => void;
5967
- readonly invalididentitypublickeydataerror_getCode: (a: number) => number;
5968
- readonly invalididentitypublickeydataerror_message: (a: number, b: number) => void;
5969
- readonly invalididentitypublickeydataerror_serialize: (a: number, b: number) => void;
6110
+ readonly __wbg_invalidassetlockprooftransactionheighterror_free: (a: number) => void;
6111
+ readonly invalidassetlockprooftransactionheighterror_getProofCoreChainLockedHeight: (a: number) => number;
6112
+ readonly invalidassetlockprooftransactionheighterror_getTransactionHeight: (a: number, b: number) => void;
6113
+ readonly invalidassetlockprooftransactionheighterror_getCode: (a: number) => number;
6114
+ readonly invalidassetlockprooftransactionheighterror_message: (a: number, b: number) => void;
6115
+ readonly invalidassetlockprooftransactionheighterror_serialize: (a: number, b: number) => void;
5970
6116
  readonly invalididentifiererror_getIdentifierName: (a: number, b: number) => void;
5971
6117
  readonly invalididentifiererror_getIdentifierError: (a: number, b: number) => void;
5972
6118
  readonly invalididentifiererror_getCode: (a: number) => number;
@@ -5974,52 +6120,66 @@ export interface InitOutput {
5974
6120
  readonly invalididentifiererror_serialize: (a: number, b: number) => void;
5975
6121
  readonly __wbg_invalidsignaturepublickeysecuritylevelerror_free: (a: number) => void;
5976
6122
  readonly invalidsignaturepublickeysecuritylevelerror_getPublicKeySecurityLevel: (a: number) => number;
5977
- readonly invalidsignaturepublickeysecuritylevelerror_getKeySecurityLevelRequirement: (a: number) => number;
6123
+ readonly invalidsignaturepublickeysecuritylevelerror_getKeySecurityLevelRequirement: (a: number, b: number) => void;
5978
6124
  readonly invalidsignaturepublickeysecuritylevelerror_getCode: (a: number) => number;
5979
6125
  readonly invalidsignaturepublickeysecuritylevelerror_message: (a: number, b: number) => void;
5980
6126
  readonly invalidsignaturepublickeysecuritylevelerror_serialize: (a: number, b: number) => void;
5981
- readonly publickeysecuritylevelnotmeterror_getPublicKeySecurityLevel: (a: number) => number;
5982
- readonly publickeysecuritylevelnotmeterror_getKeySecurityLevelRequirement: (a: number) => number;
5983
- readonly publickeysecuritylevelnotmeterror_getCode: (a: number) => number;
5984
- readonly publickeysecuritylevelnotmeterror_message: (a: number, b: number) => void;
5985
- readonly publickeysecuritylevelnotmeterror_serialize: (a: number, b: number) => void;
5986
- readonly wrongpublickeypurposeerror_getPublicKeyPurpose: (a: number) => number;
5987
- readonly wrongpublickeypurposeerror_getKeyPurposeRequirement: (a: number) => number;
5988
- readonly wrongpublickeypurposeerror_getCode: (a: number) => number;
5989
- readonly wrongpublickeypurposeerror_message: (a: number, b: number) => void;
5990
- readonly wrongpublickeypurposeerror_serialize: (a: number, b: number) => void;
5991
- readonly __wbg_datatriggerinvalidresulterror_free: (a: number) => void;
5992
- readonly datatriggerinvalidresulterror_getDataContractId: (a: number) => number;
5993
- readonly datatriggerinvalidresulterror_getDocumentId: (a: number) => number;
5994
- readonly datatriggerinvalidresulterror_getCode: (a: number) => number;
5995
- readonly datatriggerinvalidresulterror_message: (a: number, b: number) => void;
5996
- readonly datatriggerinvalidresulterror_serialize: (a: number, b: number) => void;
5997
- readonly __wbg_invalididentityerror_free: (a: number) => void;
5998
- readonly invalididentityerror_getErrors: (a: number, b: number) => void;
5999
- readonly invalididentityerror_getRawIdentity: (a: number) => number;
6000
- readonly __wbg_chainassetlockproofstructurevalidator_free: (a: number) => void;
6001
- readonly chainassetlockproofstructurevalidator_new: (a: number, b: number) => void;
6002
- readonly chainassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
6003
- readonly invalidstatetransitionerror_new_wasm: (a: number, b: number, c: number, d: number) => void;
6004
- readonly __wbg_refunds_free: (a: number) => void;
6005
- readonly refunds_credits_per_epoch: (a: number) => number;
6006
- readonly refunds_toObject: (a: number, b: number) => void;
6007
- readonly invalidstatetransitionerror_getRawStateTransition: (a: number) => number;
6127
+ readonly __wbg_datatriggerconditionerror_free: (a: number) => void;
6128
+ readonly datatriggerconditionerror_getDataContractId: (a: number) => number;
6129
+ readonly datatriggerconditionerror_getDocumentId: (a: number) => number;
6130
+ readonly datatriggerconditionerror_getMessage: (a: number, b: number) => void;
6131
+ readonly datatriggerconditionerror_getCode: (a: number) => number;
6132
+ readonly datatriggerconditionerror_message: (a: number, b: number) => void;
6133
+ readonly datatriggerconditionerror_serialize: (a: number, b: number) => void;
6134
+ readonly __wbg_datatriggeractionconditionerror_free: (a: number) => void;
6135
+ readonly datatriggeractionconditionerror_getDataContractId: (a: number) => number;
6136
+ readonly datatriggeractionconditionerror_getDocumentTransitionId: (a: number) => number;
6137
+ readonly datatriggeractionconditionerror_getMessage: (a: number, b: number) => void;
6138
+ readonly datatriggeractionconditionerror_getOwnerId: (a: number) => number;
6139
+ readonly datatriggeractionconditionerror_getCode: (a: number) => number;
6140
+ readonly __wbg_duplicateuniqueindexerror_free: (a: number) => void;
6141
+ readonly duplicateuniqueindexerror_getDocumentId: (a: number) => number;
6142
+ readonly duplicateuniqueindexerror_getDuplicatingProperties: (a: number) => number;
6143
+ readonly duplicateuniqueindexerror_getCode: (a: number) => number;
6144
+ readonly duplicateuniqueindexerror_message: (a: number, b: number) => void;
6145
+ readonly duplicateuniqueindexerror_serialize: (a: number, b: number) => void;
6146
+ readonly __wbg_invalididentityrevisionerror_free: (a: number) => void;
6147
+ readonly invalididentityrevisionerror_getIdentityId: (a: number) => number;
6148
+ readonly invalididentityrevisionerror_getCurrentRevision: (a: number) => number;
6149
+ readonly invalididentityrevisionerror_getCode: (a: number) => number;
6150
+ readonly invalididentityrevisionerror_message: (a: number, b: number) => void;
6151
+ readonly invalididentityrevisionerror_serialize: (a: number, b: number) => void;
6152
+ readonly __wbg_chainassetlockproofstructurevalidator_free: (a: number) => void;
6153
+ readonly chainassetlockproofstructurevalidator_new: (a: number, b: number) => void;
6154
+ readonly chainassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
6155
+ readonly instantassetlockproofstructurevalidator_new: (a: number, b: number) => void;
6156
+ readonly instantassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
6157
+ readonly __wbg_identityupdatetransitionstatevalidator_free: (a: number) => void;
6158
+ readonly identityupdatetransitionstatevalidator_new: (a: number, b: number) => void;
6159
+ readonly identityupdatetransitionstatevalidator_validate: (a: number, b: number, c: number) => number;
6160
+ readonly invalidstatetransitionerror_new_wasm: (a: number, b: number, c: number, d: number) => void;
6161
+ readonly __wbg_refunds_free: (a: number) => void;
6162
+ readonly refunds_credits_per_epoch: (a: number) => number;
6163
+ readonly refunds_toObject: (a: number, b: number) => void;
6164
+ readonly __wbg_statetransitionkeysignaturevalidator_free: (a: number) => void;
6165
+ readonly statetransitionkeysignaturevalidator_new: (a: number) => number;
6166
+ readonly statetransitionkeysignaturevalidator_validate: (a: number, b: number, c: number) => number;
6167
+ readonly __wbg_instantassetlockproofstructurevalidator_free: (a: number) => void;
6168
+ readonly invalididentityerror_getRawIdentity: (a: number) => number;
6169
+ readonly invalidstatetransitionerror_getRawStateTransition: (a: number) => number;
6170
+ readonly __wbg_invalididentityerror_free: (a: number) => void;
6008
6171
  readonly __wbg_invalidstatetransitionerror_free: (a: number) => void;
6009
6172
  readonly refunds_identifier: (a: number) => number;
6010
- readonly __wbg_datacontractimmutablepropertiesupdateerror_free: (a: number) => void;
6011
6173
  readonly __wbg_datacontractinvalidindexdefinitionupdateerror_free: (a: number) => void;
6012
6174
  readonly __wbg_datacontractuniqueindiceschangederror_free: (a: number) => void;
6013
- readonly __wbg_duplicateindexnameerror_free: (a: number) => void;
6014
6175
  readonly __wbg_duplicateindexerror_free: (a: number) => void;
6015
6176
  readonly __wbg_invalidcompoundindexerror_free: (a: number) => void;
6016
6177
  readonly __wbg_invaliddatacontractiderror_free: (a: number) => void;
6017
6178
  readonly __wbg_invalididentifiererror_free: (a: number) => void;
6179
+ readonly invalididentityerror_getErrors: (a: number, b: number) => void;
6018
6180
  readonly invalidstatetransitionerror_getErrors: (a: number, b: number) => void;
6019
- readonly __wbg_publickeysecuritylevelnotmeterror_free: (a: number) => void;
6020
- readonly __wbg_wrongpublickeypurposeerror_free: (a: number) => void;
6181
+ readonly invalidactionterror_new: (a: number) => number;
6021
6182
  readonly __wbg_invaliddocumenttransitioniderror_free: (a: number) => void;
6022
- readonly __wbg_uniqueindiceslimitreachederror_free: (a: number) => void;
6023
6183
  readonly __wbg_datacontractcreatetransition_free: (a: number) => void;
6024
6184
  readonly datacontractcreatetransition_new: (a: number, b: number) => void;
6025
6185
  readonly datacontractcreatetransition_getDataContract: (a: number) => number;
@@ -6033,22 +6193,26 @@ export interface InitOutput {
6033
6193
  readonly datacontractcreatetransition_isDataContractStateTransition: (a: number) => number;
6034
6194
  readonly datacontractcreatetransition_isDocumentStateTransition: (a: number) => number;
6035
6195
  readonly datacontractcreatetransition_isIdentityStateTransition: (a: number) => number;
6036
- readonly datacontractcreatetransition_setExecutionContext: (a: number, b: number) => void;
6037
- readonly datacontractcreatetransition_getExecutionContext: (a: number) => number;
6038
6196
  readonly datacontractcreatetransition_toObject: (a: number, b: number, c: number) => void;
6039
6197
  readonly datacontractcreatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6040
6198
  readonly datacontractcreatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
6041
- readonly __wbg_applydatacontractupdatetransition_free: (a: number) => void;
6042
- readonly applydatacontractupdatetransition_new: (a: number) => number;
6043
- readonly applydatacontractupdatetransition_applyDataContractUpdateTransition: (a: number, b: number) => number;
6044
- readonly __wbg_datatriggerexecutioncontext_free: (a: number) => void;
6045
- readonly datatriggerexecutioncontext_new: (a: number, b: number, c: number, d: number, e: number) => void;
6046
- readonly datatriggerexecutioncontext_ownerId: (a: number) => number;
6047
- readonly datatriggerexecutioncontext_set_ownerId: (a: number, b: number, c: number) => void;
6048
- readonly datatriggerexecutioncontext_dataContract: (a: number) => number;
6049
- readonly datatriggerexecutioncontext_set_dataContract: (a: number, b: number) => void;
6050
- readonly datatriggerexecutioncontext_stateTransitionExecutionContext: (a: number) => number;
6051
- readonly datatriggerexecutioncontext_set_statTransitionExecutionContext: (a: number, b: number) => void;
6199
+ readonly __wbg_datacontractupdatetransition_free: (a: number) => void;
6200
+ readonly datacontractupdatetransition_new: (a: number, b: number) => void;
6201
+ readonly datacontractupdatetransition_getDataContract: (a: number) => number;
6202
+ readonly datacontractupdatetransition_getProtocolVersion: (a: number) => number;
6203
+ readonly datacontractupdatetransition_getEntropy: (a: number) => number;
6204
+ readonly datacontractupdatetransition_getOwnerId: (a: number) => number;
6205
+ readonly datacontractupdatetransition_getType: (a: number) => number;
6206
+ readonly datacontractupdatetransition_toJSON: (a: number, b: number, c: number) => void;
6207
+ readonly datacontractupdatetransition_toBuffer: (a: number, b: number, c: number) => void;
6208
+ readonly datacontractupdatetransition_getModifiedDataIds: (a: number, b: number) => void;
6209
+ readonly datacontractupdatetransition_isDataContractStateTransition: (a: number) => number;
6210
+ readonly datacontractupdatetransition_isDocumentStateTransition: (a: number) => number;
6211
+ readonly datacontractupdatetransition_isIdentityStateTransition: (a: number) => number;
6212
+ readonly datacontractupdatetransition_hash: (a: number, b: number, c: number) => void;
6213
+ readonly datacontractupdatetransition_toObject: (a: number, b: number, c: number) => void;
6214
+ readonly datacontractupdatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6215
+ readonly datacontractupdatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
6052
6216
  readonly executeDataTriggers: (a: number, b: number, c: number) => number;
6053
6217
  readonly getDataTriggers: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
6054
6218
  readonly getAllDataTriggers: (a: number) => void;
@@ -6056,9 +6220,17 @@ export interface InitOutput {
6056
6220
  readonly invaliddocumenterror_new: (a: number, b: number, c: number) => number;
6057
6221
  readonly invaliddocumenterror_getErrors: (a: number, b: number) => void;
6058
6222
  readonly invaliddocumenterror_getRawDocument: (a: number) => number;
6059
- readonly applyDocumentsBatchTransition: (a: number, b: number) => number;
6060
- readonly validateDocumentsBatchTransitionBasic: (a: number, b: number, c: number, d: number) => number;
6061
- readonly validateDocumentsBatchTransitionState: (a: number, b: number) => number;
6223
+ readonly __wbg_documenttransitions_free: (a: number) => void;
6224
+ readonly documenttransitions_new: () => number;
6225
+ readonly documenttransitions_addTransitionCreate: (a: number, b: number) => void;
6226
+ readonly documenttransitions_addTransitionReplace: (a: number, b: number) => void;
6227
+ readonly documenttransitions_addTransitionDelete: (a: number, b: number) => void;
6228
+ readonly __wbg_documentfactory_free: (a: number) => void;
6229
+ readonly documentfactory_new: (a: number, b: number, c: number, d: number) => number;
6230
+ readonly documentfactory_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
6231
+ readonly documentfactory_createStateTransition: (a: number, b: number, c: number) => void;
6232
+ readonly documentfactory_createFromObject: (a: number, b: number, c: number) => number;
6233
+ readonly documentfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
6062
6234
  readonly __wbg_documentsbatchtransition_free: (a: number) => void;
6063
6235
  readonly documentsbatchtransition_from_raw_object: (a: number, b: number, c: number) => void;
6064
6236
  readonly documentsbatchtransition_getType: (a: number) => number;
@@ -6081,8 +6253,6 @@ export interface InitOutput {
6081
6253
  readonly documentsbatchtransition_isDocumentStateTransition: (a: number) => number;
6082
6254
  readonly documentsbatchtransition_isDataContractStateTransition: (a: number) => number;
6083
6255
  readonly documentsbatchtransition_isIdentityStateTransition: (a: number) => number;
6084
- readonly documentsbatchtransition_setExecutionContext: (a: number, b: number) => void;
6085
- readonly documentsbatchtransition_getExecutionContext: (a: number) => number;
6086
6256
  readonly documentsbatchtransition_toBuffer: (a: number, b: number, c: number) => void;
6087
6257
  readonly documentsbatchtransition_hash: (a: number, b: number, c: number) => void;
6088
6258
  readonly __wbg_documentvalidator_free: (a: number) => void;
@@ -6094,21 +6264,56 @@ export interface InitOutput {
6094
6264
  readonly datacontractmaxdeptherror_getCode: (a: number) => number;
6095
6265
  readonly datacontractmaxdeptherror_message: (a: number, b: number) => void;
6096
6266
  readonly datacontractmaxdeptherror_serialize: (a: number, b: number) => void;
6267
+ readonly __wbg_duplicateindexnameerror_free: (a: number) => void;
6268
+ readonly duplicateindexnameerror_getDocumentType: (a: number, b: number) => void;
6269
+ readonly duplicateindexnameerror_getDuplicateIndexName: (a: number, b: number) => void;
6270
+ readonly duplicateindexnameerror_getCode: (a: number) => number;
6271
+ readonly duplicateindexnameerror_message: (a: number, b: number) => void;
6272
+ readonly duplicateindexnameerror_serialize: (a: number, b: number) => void;
6273
+ readonly __wbg_incompatiblere2patternerror_free: (a: number) => void;
6274
+ readonly incompatiblere2patternerror_getPattern: (a: number, b: number) => void;
6275
+ readonly incompatiblere2patternerror_getPath: (a: number, b: number) => void;
6276
+ readonly incompatiblere2patternerror_getMessage: (a: number, b: number) => void;
6277
+ readonly incompatiblere2patternerror_getCode: (a: number) => number;
6278
+ readonly incompatiblere2patternerror_message: (a: number, b: number) => void;
6279
+ readonly incompatiblere2patternerror_serialize: (a: number, b: number) => void;
6280
+ readonly uniqueindiceslimitreachederror_getDocumentType: (a: number, b: number) => void;
6281
+ readonly uniqueindiceslimitreachederror_getIndexLimit: (a: number) => number;
6282
+ readonly uniqueindiceslimitreachederror_getCode: (a: number) => number;
6283
+ readonly uniqueindiceslimitreachederror_message: (a: number, b: number) => void;
6284
+ readonly uniqueindiceslimitreachederror_serialize: (a: number, b: number) => void;
6097
6285
  readonly invaliddatacontractversionerror_getExpectedVersion: (a: number) => number;
6098
6286
  readonly invaliddatacontractversionerror_getVersion: (a: number) => number;
6099
6287
  readonly invaliddatacontractversionerror_getCode: (a: number) => number;
6100
6288
  readonly invaliddatacontractversionerror_message: (a: number, b: number) => void;
6101
6289
  readonly invaliddatacontractversionerror_serialize: (a: number, b: number) => void;
6290
+ readonly __wbg_identityinsufficientbalanceerror_free: (a: number) => void;
6291
+ readonly identityinsufficientbalanceerror_getIdentityId: (a: number) => number;
6292
+ readonly identityinsufficientbalanceerror_getBalance: (a: number) => number;
6293
+ readonly identityinsufficientbalanceerror_getCode: (a: number) => number;
6294
+ readonly identityinsufficientbalanceerror_message: (a: number, b: number) => void;
6295
+ readonly identityinsufficientbalanceerror_serialize: (a: number, b: number) => void;
6102
6296
  readonly invalidassetlockproofcorechainheighterror_getProofCoreChainLockedHeight: (a: number) => number;
6103
6297
  readonly invalidassetlockproofcorechainheighterror_getCurrentCoreChainLockedHeight: (a: number) => number;
6104
6298
  readonly invalidassetlockproofcorechainheighterror_getCode: (a: number) => number;
6105
6299
  readonly invalidassetlockproofcorechainheighterror_message: (a: number, b: number) => void;
6106
6300
  readonly invalidassetlockproofcorechainheighterror_serialize: (a: number, b: number) => void;
6301
+ readonly __wbg_invalididentitypublickeydataerror_free: (a: number) => void;
6302
+ readonly invalididentitypublickeydataerror_getPublicKeyId: (a: number) => number;
6303
+ readonly invalididentitypublickeydataerror_getValidationError: (a: number, b: number) => void;
6304
+ readonly invalididentitypublickeydataerror_getCode: (a: number) => number;
6305
+ readonly invalididentitypublickeydataerror_message: (a: number, b: number) => void;
6306
+ readonly invalididentitypublickeydataerror_serialize: (a: number, b: number) => void;
6107
6307
  readonly incompatibleprotocolversionerror_getParsedProtocolVersion: (a: number) => number;
6108
6308
  readonly incompatibleprotocolversionerror_getMinimalProtocolVersion: (a: number) => number;
6109
6309
  readonly incompatibleprotocolversionerror_getCode: (a: number) => number;
6110
6310
  readonly incompatibleprotocolversionerror_message: (a: number, b: number) => void;
6111
6311
  readonly incompatibleprotocolversionerror_serialize: (a: number, b: number) => void;
6312
+ readonly publickeysecuritylevelnotmeterror_getPublicKeySecurityLevel: (a: number) => number;
6313
+ readonly publickeysecuritylevelnotmeterror_getKeySecurityLevelRequirement: (a: number) => number;
6314
+ readonly publickeysecuritylevelnotmeterror_getCode: (a: number) => number;
6315
+ readonly publickeysecuritylevelnotmeterror_message: (a: number, b: number) => void;
6316
+ readonly publickeysecuritylevelnotmeterror_serialize: (a: number, b: number) => void;
6112
6317
  readonly statetransitionmaxsizeexceedederror_getActualSizeKBytes: (a: number) => number;
6113
6318
  readonly statetransitionmaxsizeexceedederror_getMaxSizeKBytes: (a: number) => number;
6114
6319
  readonly statetransitionmaxsizeexceedederror_getCode: (a: number) => number;
@@ -6119,6 +6324,11 @@ export interface InitOutput {
6119
6324
  readonly unsupportedprotocolversionerror_getCode: (a: number) => number;
6120
6325
  readonly unsupportedprotocolversionerror_message: (a: number, b: number) => void;
6121
6326
  readonly unsupportedprotocolversionerror_serialize: (a: number, b: number) => void;
6327
+ readonly wrongpublickeypurposeerror_getPublicKeyPurpose: (a: number) => number;
6328
+ readonly wrongpublickeypurposeerror_getKeyPurposeRequirement: (a: number) => number;
6329
+ readonly wrongpublickeypurposeerror_getCode: (a: number) => number;
6330
+ readonly wrongpublickeypurposeerror_message: (a: number, b: number) => void;
6331
+ readonly wrongpublickeypurposeerror_serialize: (a: number, b: number) => void;
6122
6332
  readonly __wbg_identitypublickeyisreadonlyerror_free: (a: number) => void;
6123
6333
  readonly identitypublickeyisreadonlyerror_getKeyId: (a: number) => number;
6124
6334
  readonly identitypublickeyisreadonlyerror_getCode: (a: number) => number;
@@ -6147,67 +6357,42 @@ export interface InitOutput {
6147
6357
  readonly __wbg_identityvalidator_free: (a: number) => void;
6148
6358
  readonly identityvalidator_new: (a: number, b: number) => void;
6149
6359
  readonly identityvalidator_validate: (a: number, b: number, c: number) => void;
6150
- readonly applyIdentityCreateTransition: (a: number, b: number) => number;
6151
6360
  readonly __wbg_identitycreatetransitionstatevalidator_free: (a: number) => void;
6152
6361
  readonly identitycreatetransitionstatevalidator_new: (a: number) => number;
6153
- readonly identitycreatetransitionstatevalidator_validate: (a: number, b: number) => number;
6154
- readonly applyIdentityTopUpTransition: (a: number, b: number) => number;
6155
- readonly identitytopuptransitionstatevalidator_validate: (a: number, b: number) => number;
6156
- readonly applyIdentityUpdateTransition: (a: number, b: number) => number;
6157
- readonly __wbg_identityupdatetransitionstatevalidator_free: (a: number) => void;
6158
- readonly identityupdatetransitionstatevalidator_new: (a: number, b: number) => void;
6159
- readonly identityupdatetransitionstatevalidator_validate: (a: number, b: number) => number;
6160
- readonly calculateStateTransitionFee: (a: number, b: number) => void;
6161
- readonly __wbg_precalculatedoperation_free: (a: number) => void;
6162
- readonly precalculatedoperation_new: (a: number, b: number, c: number, d: number) => void;
6163
- readonly precalculatedoperation_fromFee: (a: number) => number;
6164
- readonly precalculatedoperation_getProcessingCost: (a: number, b: number) => void;
6165
- readonly precalculatedoperation_getStorageCost: (a: number, b: number) => void;
6166
- readonly precalculatedoperation_refunds: (a: number) => number;
6167
- readonly precalculatedoperation_refunds_as_objects: (a: number, b: number) => void;
6168
- readonly precalculatedoperation_toJSON: (a: number, b: number) => void;
6362
+ readonly identitycreatetransitionstatevalidator_validate: (a: number, b: number, c: number) => number;
6363
+ readonly identitytopuptransitionstatevalidator_validate: (a: number, b: number, c: number) => number;
6169
6364
  readonly __wbg_operation_free: (a: number) => void;
6170
- readonly __wbg_statetransitionkeysignaturevalidator_free: (a: number) => void;
6171
- readonly statetransitionkeysignaturevalidator_new: (a: number) => number;
6172
- readonly statetransitionkeysignaturevalidator_validate: (a: number, b: number) => number;
6173
- readonly decodeProtocolEntity: (a: number, b: number, c: number) => void;
6174
- readonly __wbg_validationresult_free: (a: number) => void;
6175
- readonly validationresult_new: (a: number, b: number, c: number) => void;
6176
- readonly validationresult_errorsText: (a: number, b: number) => void;
6177
- readonly validationresult_isValid: (a: number) => number;
6178
- readonly validationresult_errors: (a: number, b: number) => void;
6179
- readonly validationresult_getData: (a: number) => number;
6180
- readonly validationresult_getFirstError: (a: number) => number;
6181
- readonly validationresult_addError: (a: number, b: number, c: number) => void;
6182
6365
  readonly __wbg_identitytopuptransitionstatevalidator_free: (a: number) => void;
6183
6366
  readonly identitypublickeyisreadonlyerror_getPublicKeyIndex: (a: number) => number;
6184
- readonly validationresult_getErrors: (a: number, b: number) => void;
6185
6367
  readonly identitytopuptransitionstatevalidator_new: (a: number) => number;
6186
6368
  readonly __wbg_invaliddatacontractversionerror_free: (a: number) => void;
6187
6369
  readonly __wbg_invalidassetlockproofcorechainheighterror_free: (a: number) => void;
6188
6370
  readonly __wbg_incompatibleprotocolversionerror_free: (a: number) => void;
6189
6371
  readonly __wbg_statetransitionmaxsizeexceedederror_free: (a: number) => void;
6190
6372
  readonly __wbg_unsupportedprotocolversionerror_free: (a: number) => void;
6373
+ readonly __wbg_wrongpublickeypurposeerror_free: (a: number) => void;
6374
+ readonly __wbg_publickeysecuritylevelnotmeterror_free: (a: number) => void;
6375
+ readonly __wbg_uniqueindiceslimitreachederror_free: (a: number) => void;
6191
6376
  readonly __wbg_applydatacontractcreatetransition_free: (a: number) => void;
6192
6377
  readonly applydatacontractcreatetransition_new: (a: number) => number;
6193
6378
  readonly applydatacontractcreatetransition_applyDataContractCreateTransition: (a: number, b: number) => number;
6194
- readonly __wbg_datacontractfacade_free: (a: number) => void;
6195
- readonly datacontractfacade_create: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6196
- readonly datacontractfacade_createFromObject: (a: number, b: number, c: number) => number;
6197
- readonly datacontractfacade_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
6198
- readonly datacontractfacade_createDataContractCreateTransition: (a: number, b: number, c: number) => void;
6199
- readonly datacontractfacade_createDataContractUpdateTransition: (a: number, b: number, c: number) => void;
6200
- readonly datacontractfacade_validate: (a: number, b: number) => number;
6201
- readonly __wbg_datatrigger_free: (a: number) => void;
6202
- readonly datatrigger_get_data_contract_id: (a: number) => number;
6203
- readonly datatrigger_set_data_contract_id: (a: number, b: number, c: number) => void;
6204
- readonly datatrigger_get_document_type: (a: number, b: number) => void;
6205
- readonly datatrigger_set_document_type: (a: number, b: number, c: number) => void;
6206
- readonly datatrigger_get_data_trigger_kind: (a: number, b: number) => void;
6207
- readonly datatrigger_get_transition_action: (a: number, b: number) => void;
6208
- readonly datatrigger_set_transition_action: (a: number, b: number, c: number, d: number) => void;
6209
- readonly datatrigger_get_top_level_identity: (a: number) => number;
6210
- readonly datatrigger_set_top_level_identity: (a: number, b: number, c: number) => void;
6379
+ readonly validateDataContractCreateTransitionState: (a: number, b: number, c: number) => number;
6380
+ readonly validateDataContractCreateTransitionBasic: (a: number) => number;
6381
+ readonly applydatacontractupdatetransition_applyDataContractUpdateTransition: (a: number, b: number, c: number) => number;
6382
+ readonly __wbg_datatriggerexecutioncontext_free: (a: number) => void;
6383
+ readonly datatriggerexecutioncontext_new: (a: number, b: number, c: number, d: number, e: number) => void;
6384
+ readonly datatriggerexecutioncontext_ownerId: (a: number) => number;
6385
+ readonly datatriggerexecutioncontext_set_ownerId: (a: number, b: number, c: number) => void;
6386
+ readonly datatriggerexecutioncontext_dataContract: (a: number) => number;
6387
+ readonly datatriggerexecutioncontext_set_dataContract: (a: number, b: number) => void;
6388
+ readonly datatriggerexecutioncontext_stateTransitionExecutionContext: (a: number) => number;
6389
+ readonly datatriggerexecutioncontext_set_statTransitionExecutionContext: (a: number, b: number) => void;
6390
+ readonly __wbg_datacontractimmutablepropertiesupdateerror_free: (a: number) => void;
6391
+ readonly datacontractimmutablepropertiesupdateerror_getOperation: (a: number, b: number) => void;
6392
+ readonly datacontractimmutablepropertiesupdateerror_getFieldPath: (a: number, b: number) => void;
6393
+ readonly datacontractimmutablepropertiesupdateerror_getCode: (a: number) => number;
6394
+ readonly datacontractimmutablepropertiesupdateerror_message: (a: number, b: number) => void;
6395
+ readonly datacontractimmutablepropertiesupdateerror_serialize: (a: number, b: number) => void;
6211
6396
  readonly __wbg_duplicatedocumenttransitionswithidserror_free: (a: number) => void;
6212
6397
  readonly duplicatedocumenttransitionswithidserror_getDocumentTransitionReferences: (a: number) => number;
6213
6398
  readonly duplicatedocumenttransitionswithidserror_getCode: (a: number) => number;
@@ -6226,11 +6411,6 @@ export interface InitOutput {
6226
6411
  readonly duplicatedidentitypublickeyiderror_getCode: (a: number) => number;
6227
6412
  readonly duplicatedidentitypublickeyiderror_message: (a: number, b: number) => void;
6228
6413
  readonly duplicatedidentitypublickeyiderror_serialize: (a: number, b: number) => void;
6229
- readonly __wbg_documentalreadypresenterror_free: (a: number) => void;
6230
- readonly documentalreadypresenterror_getDocumentId: (a: number) => number;
6231
- readonly documentalreadypresenterror_getCode: (a: number) => number;
6232
- readonly documentalreadypresenterror_message: (a: number, b: number) => void;
6233
- readonly documentalreadypresenterror_serialize: (a: number, b: number) => void;
6234
6414
  readonly duplicatedidentitypublickeyidstateerror_getDuplicatedIds: (a: number) => number;
6235
6415
  readonly duplicatedidentitypublickeyidstateerror_getCode: (a: number) => number;
6236
6416
  readonly duplicatedidentitypublickeyidstateerror_message: (a: number, b: number) => void;
@@ -6239,60 +6419,46 @@ export interface InitOutput {
6239
6419
  readonly duplicatedidentitypublickeystateerror_getCode: (a: number) => number;
6240
6420
  readonly duplicatedidentitypublickeystateerror_message: (a: number, b: number) => void;
6241
6421
  readonly duplicatedidentitypublickeystateerror_serialize: (a: number, b: number) => void;
6242
- readonly __wbg_identitycreatetransition_free: (a: number) => void;
6243
- readonly identitycreatetransition_new: (a: number, b: number) => void;
6244
- readonly identitycreatetransition_setAssetLockProof: (a: number, b: number, c: number) => void;
6245
- readonly identitycreatetransition_assetLockProof: (a: number) => number;
6246
- readonly identitycreatetransition_setPublicKeys: (a: number, b: number, c: number, d: number) => void;
6247
- readonly identitycreatetransition_addPublicKeys: (a: number, b: number, c: number, d: number) => void;
6248
- readonly identitycreatetransition_getPublicKeys: (a: number, b: number) => void;
6249
- readonly identitycreatetransition_getType: (a: number) => number;
6250
- readonly identitycreatetransition_getIdentityId: (a: number) => number;
6251
- readonly identitycreatetransition_getOwnerId: (a: number) => number;
6252
- readonly identitycreatetransition_toObject: (a: number, b: number, c: number) => void;
6253
- readonly identitycreatetransition_toBuffer: (a: number, b: number, c: number) => void;
6254
- readonly identitycreatetransition_toJSON: (a: number, b: number) => void;
6255
- readonly identitycreatetransition_getModifiedDataIds: (a: number, b: number) => void;
6256
- readonly identitycreatetransition_isDataContractStateTransition: (a: number) => number;
6257
- readonly identitycreatetransition_isDocumentStateTransition: (a: number) => number;
6258
- readonly identitycreatetransition_isIdentityStateTransition: (a: number) => number;
6259
- readonly identitycreatetransition_setExecutionContext: (a: number, b: number) => void;
6260
- readonly identitycreatetransition_getExecutionContext: (a: number) => number;
6261
- readonly identitycreatetransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6262
- readonly identitycreatetransition_getSignature: (a: number) => number;
6263
- readonly identitycreatetransition_setSignature: (a: number, b: number, c: number) => void;
6264
- readonly __wbg_metadata_free: (a: number) => void;
6265
- readonly metadata_new: (a: number, b: number) => void;
6266
- readonly metadata_from: (a: number, b: number) => void;
6267
- readonly metadata_toJSON: (a: number) => number;
6268
- readonly metadata_toObject: (a: number) => number;
6269
- readonly metadata_getBlockHeight: (a: number) => number;
6270
- readonly metadata_getCoreChainLockedHeight: (a: number) => number;
6271
- readonly metadata_getTimeMs: (a: number) => number;
6272
- readonly metadata_getProtocolVersion: (a: number) => number;
6273
- readonly __wbg_signatureverificationoperation_free: (a: number) => void;
6274
- readonly signatureverificationoperation_new: (a: number, b: number) => void;
6275
- readonly signatureverificationoperation_getProcessingCost: (a: number, b: number) => void;
6276
- readonly signatureverificationoperation_getStorageCost: (a: number, b: number) => void;
6277
- readonly signatureverificationoperation_refunds: (a: number) => number;
6278
- readonly signatureverificationoperation_toJSON: (a: number, b: number) => void;
6279
- readonly identitycreatetransition_publicKeys: (a: number, b: number) => void;
6422
+ readonly __wbg_statetransitionfacade_free: (a: number) => void;
6423
+ readonly statetransitionfacade_createFromObject: (a: number, b: number, c: number) => number;
6424
+ readonly statetransitionfacade_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
6425
+ readonly statetransitionfacade_validate: (a: number, b: number, c: number, d: number) => number;
6426
+ readonly statetransitionfacade_validateBasic: (a: number, b: number, c: number) => number;
6427
+ readonly statetransitionfacade_validateSignature: (a: number, b: number, c: number) => number;
6428
+ readonly statetransitionfacade_validateFee: (a: number, b: number, c: number) => number;
6429
+ readonly statetransitionfacade_validateState: (a: number, b: number, c: number) => number;
6430
+ readonly statetransitionfacade_apply: (a: number, b: number) => number;
6431
+ readonly __wbg_precalculatedoperation_free: (a: number) => void;
6432
+ readonly precalculatedoperation_new: (a: number, b: number, c: number, d: number) => void;
6433
+ readonly precalculatedoperation_fromFee: (a: number) => number;
6434
+ readonly precalculatedoperation_getProcessingCost: (a: number, b: number) => void;
6435
+ readonly precalculatedoperation_getStorageCost: (a: number, b: number) => void;
6436
+ readonly precalculatedoperation_refunds: (a: number) => number;
6437
+ readonly precalculatedoperation_refunds_as_objects: (a: number, b: number) => void;
6438
+ readonly precalculatedoperation_toJSON: (a: number, b: number) => void;
6280
6439
  readonly __wbg_duplicatedidentitypublickeyiderror_free: (a: number) => void;
6281
6440
  readonly __wbg_duplicatedidentitypublickeyidstateerror_free: (a: number) => void;
6282
6441
  readonly __wbg_duplicatedidentitypublickeystateerror_free: (a: number) => void;
6283
- readonly identitycreatetransition_getAssetLockProof: (a: number) => number;
6284
- readonly identitycreatetransition_identityId: (a: number) => number;
6442
+ readonly __wbg_applydatacontractupdatetransition_free: (a: number) => void;
6443
+ readonly applydatacontractupdatetransition_new: (a: number) => number;
6285
6444
  readonly __wbg_duplicatedocumenttransitionswithindiceserror_free: (a: number) => void;
6286
- readonly __wbg_indexproperty_free: (a: number) => void;
6287
- readonly indexproperty_isAscending: (a: number) => number;
6288
- readonly __wbg_indexdefinition_free: (a: number) => void;
6289
- readonly indexdefinition_getName: (a: number, b: number) => void;
6290
- readonly indexdefinition_getProperties: (a: number, b: number) => void;
6291
- readonly indexdefinition_isUnique: (a: number) => number;
6292
- readonly indexdefinition_toObject: (a: number, b: number) => void;
6293
- readonly __wbg_mismatchowneridserror_free: (a: number) => void;
6294
- readonly mismatchowneridserror_new: (a: number, b: number) => number;
6295
- readonly mismatchowneridserror_getDocuments: (a: number, b: number) => void;
6445
+ readonly __wbg_datacontractfacade_free: (a: number) => void;
6446
+ readonly datacontractfacade_create: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6447
+ readonly datacontractfacade_createFromObject: (a: number, b: number, c: number) => number;
6448
+ readonly datacontractfacade_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
6449
+ readonly datacontractfacade_createDataContractCreateTransition: (a: number, b: number, c: number) => void;
6450
+ readonly datacontractfacade_createDataContractUpdateTransition: (a: number, b: number, c: number) => void;
6451
+ readonly datacontractfacade_validate: (a: number, b: number) => number;
6452
+ readonly __wbg_datatrigger_free: (a: number) => void;
6453
+ readonly datatrigger_get_data_contract_id: (a: number) => number;
6454
+ readonly datatrigger_set_data_contract_id: (a: number, b: number, c: number) => void;
6455
+ readonly datatrigger_get_document_type: (a: number, b: number) => void;
6456
+ readonly datatrigger_set_document_type: (a: number, b: number, c: number) => void;
6457
+ readonly datatrigger_get_data_trigger_kind: (a: number, b: number) => void;
6458
+ readonly datatrigger_get_transition_action: (a: number, b: number) => void;
6459
+ readonly datatrigger_set_transition_action: (a: number, b: number, c: number, d: number) => void;
6460
+ readonly datatrigger_get_top_level_identity: (a: number) => number;
6461
+ readonly datatrigger_set_top_level_identity: (a: number, b: number, c: number) => void;
6296
6462
  readonly __wbg_extendeddocument_free: (a: number) => void;
6297
6463
  readonly extendeddocument_new: (a: number, b: number, c: number) => void;
6298
6464
  readonly extendeddocument_getProtocolVersion: (a: number) => number;
@@ -6366,18 +6532,21 @@ export interface InitOutput {
6366
6532
  readonly invaliddocumenttransitionactionerror_getCode: (a: number) => number;
6367
6533
  readonly invaliddocumenttransitionactionerror_message: (a: number, b: number) => void;
6368
6534
  readonly invaliddocumenttransitionactionerror_serialize: (a: number, b: number) => void;
6369
- readonly identityassetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
6370
- readonly identityassetlocktransactionisnotfounderror_getCode: (a: number) => number;
6371
- readonly identityassetlocktransactionisnotfounderror_message: (a: number, b: number) => void;
6372
- readonly identityassetlocktransactionisnotfounderror_serialize: (a: number, b: number) => void;
6373
- readonly invalididentityassetlocktransactionerror_getErrorMessage: (a: number, b: number) => void;
6374
- readonly invalididentityassetlocktransactionerror_getCode: (a: number) => number;
6375
- readonly invalididentityassetlocktransactionerror_message: (a: number, b: number) => void;
6376
- readonly invalididentityassetlocktransactionerror_serialize: (a: number, b: number) => void;
6377
- readonly jsonschemacompilationerror_getError: (a: number, b: number) => void;
6378
- readonly jsonschemacompilationerror_getCode: (a: number) => number;
6379
- readonly jsonschemacompilationerror_message: (a: number, b: number) => void;
6380
- readonly jsonschemacompilationerror_serialize: (a: number, b: number) => void;
6535
+ readonly __wbg_datatriggerinvalidresulterror_free: (a: number) => void;
6536
+ readonly datatriggerinvalidresulterror_getDataContractId: (a: number) => number;
6537
+ readonly datatriggerinvalidresulterror_getDocumentId: (a: number) => number;
6538
+ readonly datatriggerinvalidresulterror_getCode: (a: number) => number;
6539
+ readonly datatriggerinvalidresulterror_message: (a: number, b: number) => void;
6540
+ readonly datatriggerinvalidresulterror_serialize: (a: number, b: number) => void;
6541
+ readonly __wbg_datatriggeractioninvalidresulterror_free: (a: number) => void;
6542
+ readonly datatriggeractioninvalidresulterror_getDataContractId: (a: number) => number;
6543
+ readonly datatriggeractioninvalidresulterror_getDocumentTransitionId: (a: number) => number;
6544
+ readonly datatriggeractioninvalidresulterror_getOwnerId: (a: number) => number;
6545
+ readonly datatriggeractioninvalidresulterror_getCode: (a: number) => number;
6546
+ readonly documentalreadypresenterror_getDocumentId: (a: number) => number;
6547
+ readonly documentalreadypresenterror_getCode: (a: number) => number;
6548
+ readonly documentalreadypresenterror_message: (a: number, b: number) => void;
6549
+ readonly documentalreadypresenterror_serialize: (a: number, b: number) => void;
6381
6550
  readonly documentnotfounderror_getDocumentId: (a: number) => number;
6382
6551
  readonly documentnotfounderror_getCode: (a: number) => number;
6383
6552
  readonly documentnotfounderror_message: (a: number, b: number) => void;
@@ -6390,10 +6559,6 @@ export interface InitOutput {
6390
6559
  readonly identityalreadyexistserror_getCode: (a: number) => number;
6391
6560
  readonly identityalreadyexistserror_message: (a: number, b: number) => void;
6392
6561
  readonly identityalreadyexistserror_serialize: (a: number, b: number) => void;
6393
- readonly valueerror_getMessage: (a: number, b: number) => void;
6394
- readonly valueerror_getCode: (a: number) => number;
6395
- readonly valueerror_message: (a: number, b: number) => void;
6396
- readonly valueerror_serialize: (a: number, b: number) => void;
6397
6562
  readonly __wbg_identityfacade_free: (a: number) => void;
6398
6563
  readonly identityfacade_create: (a: number, b: number, c: number, d: number) => void;
6399
6564
  readonly identityfacade_createFromObject: (a: number, b: number, c: number, d: number) => void;
@@ -6405,50 +6570,36 @@ export interface InitOutput {
6405
6570
  readonly identityfacade_createIdentityTopUpTransition: (a: number, b: number, c: number, d: number) => void;
6406
6571
  readonly identityfacade_createIdentityUpdateTransition: (a: number, b: number, c: number, d: number) => void;
6407
6572
  readonly __wbg_nonconsensuserrorwasm_free: (a: number) => void;
6408
- readonly __wbg_publickeysvalidator_free: (a: number) => void;
6409
- readonly publickeysvalidator_new: (a: number, b: number) => void;
6410
- readonly publickeysvalidator_validateKeys: (a: number, b: number, c: number) => void;
6411
- readonly publickeysvalidator_validatePublicKeyStructure: (a: number, b: number, c: number) => void;
6412
- readonly publickeysvalidator_validateKeysInStateTransition: (a: number, b: number, c: number) => void;
6413
- readonly __wbg_instantassetlockproof_free: (a: number) => void;
6414
- readonly instantassetlockproof_new: (a: number, b: number) => void;
6415
- readonly instantassetlockproof_getType: (a: number) => number;
6416
- readonly instantassetlockproof_getOutputIndex: (a: number) => number;
6417
- readonly instantassetlockproof_getOutPoint: (a: number) => number;
6418
- readonly instantassetlockproof_getOutput: (a: number, b: number) => void;
6419
- readonly instantassetlockproof_createIdentifier: (a: number, b: number) => void;
6420
- readonly instantassetlockproof_getInstantLock: (a: number) => number;
6421
- readonly instantassetlockproof_getTransaction: (a: number) => number;
6422
- readonly instantassetlockproof_toObject: (a: number, b: number) => void;
6423
- readonly instantassetlockproof_toJSON: (a: number, b: number) => void;
6424
- readonly __wbg_statetransitionfacade_free: (a: number) => void;
6425
- readonly statetransitionfacade_createFromObject: (a: number, b: number, c: number) => number;
6426
- readonly statetransitionfacade_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
6427
- readonly statetransitionfacade_validate: (a: number, b: number, c: number) => number;
6428
- readonly statetransitionfacade_validateBasic: (a: number, b: number) => number;
6429
- readonly statetransitionfacade_validateSignature: (a: number, b: number) => number;
6430
- readonly statetransitionfacade_validateFee: (a: number, b: number) => number;
6431
- readonly statetransitionfacade_validateState: (a: number, b: number) => number;
6432
- readonly statetransitionfacade_apply: (a: number, b: number) => number;
6433
- readonly __wbg_statetransitionexecutioncontext_free: (a: number) => void;
6434
- readonly statetransitionexecutioncontext_new: () => number;
6435
- readonly statetransitionexecutioncontext_enableDryRun: (a: number) => void;
6436
- readonly statetransitionexecutioncontext_disableDryRun: (a: number) => void;
6437
- readonly statetransitionexecutioncontext_isDryRun: (a: number) => number;
6438
- readonly statetransitionexecutioncontext_addOperation: (a: number, b: number, c: number) => void;
6439
- readonly statetransitionexecutioncontext_getDryOperations: (a: number, b: number) => void;
6440
- readonly statetransitionexecutioncontext_getOperations: (a: number, b: number) => void;
6441
- readonly statetransitionexecutioncontext_clearDryOperations: (a: number) => void;
6573
+ readonly __wbg_metadata_free: (a: number) => void;
6574
+ readonly metadata_new: (a: number, b: number) => void;
6575
+ readonly metadata_from: (a: number, b: number) => void;
6576
+ readonly metadata_toJSON: (a: number) => number;
6577
+ readonly metadata_toObject: (a: number) => number;
6578
+ readonly metadata_getBlockHeight: (a: number) => number;
6579
+ readonly metadata_getCoreChainLockedHeight: (a: number) => number;
6580
+ readonly metadata_getTimeMs: (a: number) => number;
6581
+ readonly metadata_getProtocolVersion: (a: number) => number;
6582
+ readonly __wbg_signatureverificationoperation_free: (a: number) => void;
6583
+ readonly signatureverificationoperation_new: (a: number, b: number) => void;
6584
+ readonly signatureverificationoperation_getProcessingCost: (a: number, b: number) => void;
6585
+ readonly signatureverificationoperation_getStorageCost: (a: number, b: number) => void;
6586
+ readonly signatureverificationoperation_refunds: (a: number) => number;
6587
+ readonly signatureverificationoperation_toJSON: (a: number, b: number) => void;
6588
+ readonly __wbg_validationresult_free: (a: number) => void;
6589
+ readonly validationresult_new: (a: number, b: number, c: number) => void;
6590
+ readonly validationresult_errorsText: (a: number, b: number) => void;
6591
+ readonly validationresult_isValid: (a: number) => number;
6592
+ readonly validationresult_errors: (a: number, b: number) => void;
6593
+ readonly validationresult_getData: (a: number) => number;
6594
+ readonly validationresult_getFirstError: (a: number) => number;
6595
+ readonly validationresult_addError: (a: number, b: number, c: number) => void;
6442
6596
  readonly extendeddocument_getId: (a: number) => number;
6443
- readonly indexproperty_getName: (a: number, b: number) => void;
6444
- readonly __wbg_identityassetlocktransactionisnotfounderror_free: (a: number) => void;
6597
+ readonly validationresult_getErrors: (a: number, b: number) => void;
6598
+ readonly __wbg_documentalreadypresenterror_free: (a: number) => void;
6445
6599
  readonly __wbg_documentnotfounderror_free: (a: number) => void;
6446
6600
  readonly __wbg_documenttimestampsmismatcherror_free: (a: number) => void;
6447
6601
  readonly __wbg_identityalreadyexistserror_free: (a: number) => void;
6448
6602
  readonly __wbg_serializedobjectparsingerror_free: (a: number) => void;
6449
- readonly __wbg_invalididentityassetlocktransactionerror_free: (a: number) => void;
6450
- readonly __wbg_jsonschemacompilationerror_free: (a: number) => void;
6451
- readonly __wbg_valueerror_free: (a: number) => void;
6452
6603
  readonly rustsecp256k1_v0_6_1_context_create: (a: number) => number;
6453
6604
  readonly rustsecp256k1_v0_6_1_context_destroy: (a: number) => void;
6454
6605
  readonly rustsecp256k1_v0_6_1_default_illegal_callback_fn: (a: number, b: number) => void;
@@ -6456,11 +6607,11 @@ export interface InitOutput {
6456
6607
  readonly __wbindgen_malloc: (a: number) => number;
6457
6608
  readonly __wbindgen_realloc: (a: number, b: number, c: number) => number;
6458
6609
  readonly __wbindgen_export_2: WebAssembly.Table;
6459
- readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hdd24d8804d5e775b: (a: number, b: number, c: number) => void;
6610
+ readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h927bad69c243ac09: (a: number, b: number, c: number) => void;
6460
6611
  readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
6461
6612
  readonly __wbindgen_free: (a: number, b: number) => void;
6462
6613
  readonly __wbindgen_exn_store: (a: number) => void;
6463
- readonly wasm_bindgen__convert__closures__invoke2_mut__h21b3b36adbe76a27: (a: number, b: number, c: number, d: number) => void;
6614
+ readonly wasm_bindgen__convert__closures__invoke2_mut__h301472c1a718e708: (a: number, b: number, c: number, d: number) => void;
6464
6615
  }
6465
6616
 
6466
6617
  export type SyncInitInput = BufferSource | WebAssembly.Module;