@dashevo/wasm-dpp 0.25.0-dev.14 → 0.25.0-dev.16

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 (133) hide show
  1. package/Cargo.toml +5 -1
  2. package/dist/wasm/wasm_dpp.d.ts +1319 -1058
  3. package/dist/wasm/wasm_dpp.js +227 -116
  4. package/dist/wasm/wasm_dpp_bg.js +1 -1
  5. package/lib/test/fixtures/getDataContractFixture.js +9 -1
  6. package/lib/test/fixtures/getIdentityCreditTransferTransitionFixture.js +19 -0
  7. package/lib/wasm/wasm_dpp.d.ts +1319 -1058
  8. package/package.json +4 -4
  9. package/scripts/build-wasm.sh +6 -9
  10. package/src/data_contract/data_contract.rs +12 -0
  11. package/src/data_contract/state_transition/data_contract_create_transition/mod.rs +18 -1
  12. package/src/data_contract/state_transition/data_contract_update_transition/mod.rs +18 -1
  13. package/src/data_contract_factory/data_contract_factory.rs +11 -2
  14. package/src/errors/consensus/basic/data_contract/data_contract_have_new_unique_index_error.rs +1 -0
  15. package/src/errors/consensus/basic/data_contract/data_contract_immutable_properties_update_error.rs +1 -0
  16. package/src/errors/consensus/basic/data_contract/data_contract_invalid_index_definition_update_error.rs +1 -0
  17. package/src/errors/consensus/basic/data_contract/data_contract_max_depth_exceed_error.rs +1 -0
  18. package/src/errors/consensus/basic/data_contract/data_contract_unique_indices_changed_error.rs +1 -0
  19. package/src/errors/consensus/basic/data_contract/duplicate_index_name_error.rs +1 -0
  20. package/src/errors/consensus/basic/data_contract/incompatible_data_contract_schema_error.rs +1 -0
  21. package/src/errors/consensus/basic/data_contract/incompatible_re2_pattern_error.rs +1 -0
  22. package/src/errors/consensus/basic/data_contract/index_error/duplicate_index_error.rs +1 -0
  23. package/src/errors/consensus/basic/data_contract/index_error/invalid_compound_index_error.rs +1 -0
  24. package/src/errors/consensus/basic/data_contract/index_error/invalid_index_property_type_error.rs +1 -0
  25. package/src/errors/consensus/basic/data_contract/index_error/invalid_indexed_property_constraint_error.rs +1 -0
  26. package/src/errors/consensus/basic/data_contract/index_error/system_property_index_already_present_error.rs +1 -0
  27. package/src/errors/consensus/basic/data_contract/index_error/undefined_index_property_error.rs +1 -0
  28. package/src/errors/consensus/basic/data_contract/index_error/unique_indices_limit_reached_error.rs +1 -0
  29. package/src/errors/consensus/basic/data_contract/invalid_data_contract_id_error.rs +1 -0
  30. package/src/errors/consensus/basic/data_contract/invalid_data_contract_version_error.rs +1 -0
  31. package/src/errors/consensus/basic/data_contract/invalid_json_schema_ref_error.rs +1 -0
  32. package/src/errors/consensus/basic/decode/protocol_version_parsing_error.rs +1 -0
  33. package/src/errors/consensus/basic/decode/serialized_object_parsing_error.rs +1 -0
  34. package/src/errors/consensus/basic/document/data_contract_not_present_error.rs +1 -0
  35. package/src/errors/consensus/basic/document/duplicate_document_transitions_with_ids_error.rs +1 -0
  36. package/src/errors/consensus/basic/document/duplicate_document_transitions_with_indices_error.rs +1 -0
  37. package/src/errors/consensus/basic/document/inconsistent_compound_index_data_error.rs +1 -0
  38. package/src/errors/consensus/basic/document/invalid_document_transition_action_error.rs +1 -0
  39. package/src/errors/consensus/basic/document/invalid_document_transition_id_error.rs +1 -0
  40. package/src/errors/consensus/basic/document/invalid_document_type_error.rs +1 -0
  41. package/src/errors/consensus/basic/document/missing_data_contract_id_error.rs +1 -0
  42. package/src/errors/consensus/basic/document/missing_document_transition_action_error.rs +1 -0
  43. package/src/errors/consensus/basic/document/missing_document_transition_type_error.rs +1 -0
  44. package/src/errors/consensus/basic/document/missing_document_type_error.rs +1 -0
  45. package/src/errors/consensus/basic/identity/duplicated_identity_public_key_error.rs +1 -0
  46. package/src/errors/consensus/basic/identity/duplicated_identity_public_key_id_error.rs +1 -0
  47. package/src/errors/consensus/basic/identity/identity_asset_lock_proof_locked_transaction_mismatch_error.rs +1 -0
  48. package/src/errors/consensus/basic/identity/identity_asset_lock_transaction_is_not_found_error.rs +1 -0
  49. package/src/errors/consensus/basic/identity/identity_asset_lock_transaction_out_point_already_exists_error.rs +1 -0
  50. package/src/errors/consensus/basic/identity/identity_asset_lock_transaction_output_not_found_error.rs +1 -0
  51. package/src/errors/consensus/basic/identity/identity_insufficient_balance_error.rs +1 -0
  52. package/src/errors/consensus/basic/identity/invalid_asset_lock_proof_core_chain_height_error.rs +1 -0
  53. package/src/errors/consensus/basic/identity/invalid_asset_lock_proof_transaction_height_error.rs +1 -0
  54. package/src/errors/consensus/basic/identity/invalid_asset_lock_transaction_output_return_size_error.rs +1 -0
  55. package/src/errors/consensus/basic/identity/invalid_identity_asset_lock_transaction_error.rs +1 -0
  56. package/src/errors/consensus/basic/identity/invalid_identity_asset_lock_transaction_output_error.rs +1 -0
  57. package/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_core_fee_error.rs +1 -0
  58. package/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_output_script_error.rs +1 -0
  59. package/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_pooling_error.rs +1 -0
  60. package/src/errors/consensus/basic/identity/invalid_identity_key_signature_error.rs +1 -0
  61. package/src/errors/consensus/basic/identity/invalid_identity_public_key_data_error.rs +1 -0
  62. package/src/errors/consensus/basic/identity/invalid_identity_public_key_security_level_error.rs +1 -0
  63. package/src/errors/consensus/basic/identity/invalid_identity_public_key_type_error.rs +1 -0
  64. package/src/errors/consensus/basic/identity/invalid_instant_asset_lock_proof_error.rs +1 -0
  65. package/src/errors/consensus/basic/identity/invalid_instant_asset_lock_proof_signature_error.rs +1 -0
  66. package/src/errors/consensus/basic/identity/missing_master_public_key_error.rs +1 -0
  67. package/src/errors/consensus/basic/identity/missing_public_key_error.rs +1 -0
  68. package/src/errors/consensus/basic/incompatible_protocol_version_error.rs +1 -0
  69. package/src/errors/consensus/basic/invalid_identifier_error.rs +1 -0
  70. package/src/errors/consensus/basic/invalid_signature_public_key_security_level_error.rs +1 -0
  71. package/src/errors/consensus/basic/invalid_state_transition_signature_error.rs +1 -0
  72. package/src/errors/consensus/basic/json_schema_compilation_error.rs +1 -0
  73. package/src/errors/consensus/basic/json_schema_error.rs +2 -2
  74. package/src/errors/consensus/basic/public_key_is_disabled_error.rs +1 -0
  75. package/src/errors/consensus/basic/public_key_security_level_not_met_error.rs +2 -2
  76. package/src/errors/consensus/basic/state_transition/invalid_state_transition_type_error.rs +1 -0
  77. package/src/errors/consensus/basic/state_transition/missing_state_transition_type_error.rs +1 -0
  78. package/src/errors/consensus/basic/state_transition/state_transition_max_size_exceeded_error.rs +1 -0
  79. package/src/errors/consensus/basic/unsupported_protocol_version_error.rs +1 -0
  80. package/src/errors/consensus/basic/wrong_public_key_purpose_error.rs +1 -0
  81. package/src/errors/consensus/consensus_error.rs +10 -1
  82. package/src/errors/consensus/deserialize.rs +1 -0
  83. package/src/errors/consensus/fee/balance_is_not_enough_error.rs +1 -0
  84. package/src/errors/consensus/signature/basic_bls_error.rs +1 -0
  85. package/src/errors/consensus/signature/basic_ecdsa_error.rs +1 -0
  86. package/src/errors/consensus/signature/identity_not_found_error.rs +1 -0
  87. package/src/errors/consensus/signature/signature_should_not_be_present_error.rs +1 -0
  88. package/src/errors/consensus/state/data_contract/data_contract_already_present_error.rs +1 -0
  89. package/src/errors/consensus/state/data_contract/data_contract_config_update_error.rs +53 -0
  90. package/src/errors/consensus/state/data_contract/data_contract_is_readonly_error.rs +53 -0
  91. package/src/errors/consensus/state/data_contract/data_trigger/data_trigger_condition_error.rs +1 -0
  92. package/src/errors/consensus/state/data_contract/data_trigger/data_trigger_execution_error.rs +1 -0
  93. package/src/errors/consensus/state/data_contract/data_trigger/data_trigger_invalid_result_error.rs +1 -0
  94. package/src/errors/consensus/state/data_contract/mod.rs +4 -0
  95. package/src/errors/consensus/state/document/document_already_present_error.rs +1 -0
  96. package/src/errors/consensus/state/document/document_not_found_error.rs +1 -0
  97. package/src/errors/consensus/state/document/document_owner_id_mismatch_error.rs +1 -0
  98. package/src/errors/consensus/state/document/document_timestamp_window_violation_error.rs +1 -0
  99. package/src/errors/consensus/state/document/document_timestamps_are_equal_error.rs +2 -1
  100. package/src/errors/consensus/state/document/document_timestamps_mismatch_error.rs +1 -0
  101. package/src/errors/consensus/state/document/duplicate_unique_index_error.rs +1 -0
  102. package/src/errors/consensus/state/document/invalid_document_revision_error.rs +1 -0
  103. package/src/errors/consensus/state/identity/duplicated_identity_public_key_id_state_error.rs +1 -0
  104. package/src/errors/consensus/state/identity/duplicated_identity_public_key_state_error.rs +1 -0
  105. package/src/errors/consensus/state/identity/identity_already_exists_error.rs +1 -0
  106. package/src/errors/consensus/state/identity/identity_public_key_disabled_at_window_violation_error.rs +1 -0
  107. package/src/errors/consensus/state/identity/identity_public_key_is_disabled_error.rs +1 -0
  108. package/src/errors/consensus/state/identity/identity_public_key_is_read_only_error.rs +1 -0
  109. package/src/errors/consensus/state/identity/invalid_identity_public_key_id_error.rs +1 -0
  110. package/src/errors/consensus/state/identity/invalid_identity_revision_error.rs +1 -0
  111. package/src/errors/consensus/state/identity/max_identity_public_key_limit_reached_error.rs +1 -0
  112. package/src/errors/consensus/value_error.rs +1 -0
  113. package/src/identity/identity_facade.rs +20 -2
  114. package/src/identity/identity_factory.rs +20 -2
  115. package/src/identity/state_transition/identity_credit_transfer_transition/apply_identity_credit_transfer_transition.rs +31 -0
  116. package/src/identity/state_transition/identity_credit_transfer_transition/identity_credit_transfer_transition_basic_validator.rs +66 -0
  117. package/src/identity/state_transition/identity_credit_transfer_transition/identity_credit_transfer_transition_state_validator.rs +44 -0
  118. package/src/identity/state_transition/identity_credit_transfer_transition/mod.rs +8 -0
  119. package/src/identity/state_transition/identity_credit_transfer_transition/to_object.rs +52 -0
  120. package/src/identity/state_transition/identity_credit_transfer_transition/transition.rs +311 -0
  121. package/src/identity/state_transition/mod.rs +2 -0
  122. package/src/identity/state_transition/transition_types.rs +4 -0
  123. package/src/state_transition/conversion.rs +11 -1
  124. package/src/state_transition/state_transition_facade.rs +1 -1
  125. package/src/state_transition/state_transition_factory.rs +10 -1
  126. package/src/state_transition/validation/validate_state_transition_identity_signature.rs +5 -0
  127. package/src/utils.rs +2 -1
  128. package/src/validation/validation_result.rs +1 -0
  129. package/test/unit/dataContract/DataContract.spec.js +18 -0
  130. package/test/unit/dataContract/DataContractFactory.spec.js +20 -0
  131. package/test/unit/dataContract/stateTransition/DataContractCreateTransition/DataContractCreateTransition.spec.js +10 -0
  132. package/test/unit/dataContract/stateTransition/DataContractUpdateTransition/DataContractUpdateTransition.spec.js +10 -0
  133. package/test/unit/identity/stateTransition/identityCreditTransferTransition/identityCreditTransferTransition.spec.js +139 -0
@@ -1,114 +1,113 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * @param {Array<any>} operations
5
- * @param {any} identity_id
6
- * @returns {FeeResult}
7
- */
8
- export function calculateStateTransitionFeeFromOperations(operations: Array<any>, identity_id: any): FeeResult;
9
- /**
10
- * @param {Uint8Array} bytes
11
- * @returns {any}
4
+ * @param {any} state_repository
5
+ * @param {any} js_owner_id
6
+ * @param {Array<any>} js_document_transitions
7
+ * @param {DataContract} js_data_contract
8
+ * @param {StateTransitionExecutionContext} js_execution_context
9
+ * @returns {Promise<ValidationResult>}
12
10
  */
13
- export function deserializeConsensusError(bytes: Uint8Array): any;
11
+ 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>;
14
12
  /**
15
13
  * @returns {any}
16
14
  */
17
15
  export function generateTemporaryEcdsaPrivateKey(): any;
18
16
  /**
19
- * @param {Array<any>} js_raw_transitions
20
- * @returns {any[]}
21
- */
22
- export function findDuplicatesById(js_raw_transitions: Array<any>): any[];
23
- /**
24
- * @param {any} raw_parameters
25
- * @returns {any}
17
+ * @param {any} state_repository
18
+ * @param {DocumentsBatchTransition} transition
19
+ * @param {StateTransitionExecutionContext} execution_context
20
+ * @returns {Promise<void>}
26
21
  */
27
- export function createAssetLockProofInstance(raw_parameters: any): any;
22
+ export function applyDocumentsBatchTransition(state_repository: any, transition: DocumentsBatchTransition, execution_context: StateTransitionExecutionContext): Promise<void>;
28
23
  /**
29
24
  * @param {any} state_repository
30
- * @param {string} raw_transaction
31
- * @param {number} output_index
25
+ * @param {DocumentsBatchTransition} state_transition
32
26
  * @param {StateTransitionExecutionContext} execution_context
33
27
  * @returns {Promise<ValidationResult>}
34
28
  */
35
- export function validateAssetLockTransaction(state_repository: any, raw_transaction: string, output_index: number, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
29
+ export function validateDocumentsBatchTransitionState(state_repository: any, state_transition: DocumentsBatchTransition, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
36
30
  /**
37
31
  * @param {any} state_repository
38
- * @param {any} raw_asset_lock_proof
32
+ * @param {IdentityCreateTransition} state_transition
39
33
  * @param {StateTransitionExecutionContext} execution_context
40
- * @returns {Promise<any>}
34
+ * @returns {Promise<void>}
41
35
  */
42
- export function fetchAssetLockTransactionOutput(state_repository: any, raw_asset_lock_proof: any, execution_context: StateTransitionExecutionContext): Promise<any>;
36
+ export function applyIdentityCreateTransition(state_repository: any, state_transition: IdentityCreateTransition, execution_context: StateTransitionExecutionContext): Promise<void>;
43
37
  /**
44
38
  * @param {any} state_repository
45
- * @param {any} raw_asset_lock_proof
39
+ * @param {IdentityCreditTransferTransition} state_transition
46
40
  * @param {StateTransitionExecutionContext} execution_context
47
- * @returns {Promise<any>}
41
+ * @returns {Promise<void>}
48
42
  */
49
- export function fetchAssetLockPublicKeyHash(state_repository: any, raw_asset_lock_proof: any, execution_context: StateTransitionExecutionContext): Promise<any>;
43
+ export function applyIdentityCreditTransferTransition(state_repository: any, state_transition: IdentityCreditTransferTransition, execution_context: StateTransitionExecutionContext): Promise<void>;
50
44
  /**
51
- * @param {Array<any>} operations
52
- * @returns {DummyFeesResult}
45
+ * @param {any} state_repository
46
+ * @param {IdentityTopUpTransition} state_transition
47
+ * @param {StateTransitionExecutionContext} execution_context
48
+ * @returns {Promise<void>}
53
49
  */
54
- export function calculateOperationFees(operations: Array<any>): DummyFeesResult;
50
+ export function applyIdentityTopUpTransition(state_repository: any, state_transition: IdentityTopUpTransition, execution_context: StateTransitionExecutionContext): Promise<void>;
55
51
  /**
56
- * @param {any} external_state_repository
57
- * @param {any} js_state_transition
52
+ * @param {any} state_repository
53
+ * @param {IdentityUpdateTransition} state_transition
58
54
  * @param {StateTransitionExecutionContext} execution_context
59
- * @param {any} bls_adapter
55
+ * @returns {Promise<void>}
56
+ */
57
+ export function applyIdentityUpdateTransition(state_repository: any, state_transition: IdentityUpdateTransition, execution_context: StateTransitionExecutionContext): Promise<void>;
58
+ /**
59
+ * @param {any} state_repository
60
+ * @param {any} js_raw_document
60
61
  * @returns {Promise<ValidationResult>}
61
62
  */
62
- export function validateStateTransitionIdentitySignature(external_state_repository: any, js_state_transition: any, execution_context: StateTransitionExecutionContext, bls_adapter: any): Promise<ValidationResult>;
63
+ export function fetchAndValidateDataContract(state_repository: any, js_raw_document: any): Promise<ValidationResult>;
63
64
  /**
65
+ * @param {ProtocolVersionValidator} protocol_version_validator
64
66
  * @param {any} state_repository
65
- * @param {DataContractUpdateTransition} state_transition
67
+ * @param {any} js_raw_state_transition
66
68
  * @param {StateTransitionExecutionContext} execution_context
67
69
  * @returns {Promise<ValidationResult>}
68
70
  */
69
- export function validateDataContractUpdateTransitionState(state_repository: any, state_transition: DataContractUpdateTransition, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
71
+ export function validateDocumentsBatchTransitionBasic(protocol_version_validator: ProtocolVersionValidator, state_repository: any, js_raw_state_transition: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
70
72
  /**
71
- * @param {any} old_documents_schema
72
- * @param {any} new_documents_schema
73
- * @returns {ValidationResult}
73
+ * @returns {number}
74
74
  */
75
- export function validateIndicesAreBackwardCompatible(old_documents_schema: any, new_documents_schema: any): ValidationResult;
75
+ export function getCreditsConversionRatio(): number;
76
76
  /**
77
- * @param {any} state_repository
78
- * @param {any} raw_parameters
79
- * @param {StateTransitionExecutionContext} execution_context
80
- * @returns {Promise<ValidationResult>}
77
+ * @param {Array<any>} operations
78
+ * @returns {DummyFeesResult}
81
79
  */
82
- export function validateDataContractUpdateTransitionBasic(state_repository: any, raw_parameters: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
80
+ export function calculateOperationFees(operations: Array<any>): DummyFeesResult;
83
81
  /**
84
- * @param {Array<any>} js_raw_transitions
85
- * @param {DataContract} data_contract
86
- * @returns {ValidationResult}
82
+ * @returns {number}
87
83
  */
88
- export function validatePartialCompoundIndices(js_raw_transitions: Array<any>, data_contract: DataContract): ValidationResult;
84
+ export function getLatestProtocolVersion(): number;
89
85
  /**
90
86
  * @param {any} state_repository
91
- * @param {any} js_owner_id
92
- * @param {Array<any>} js_document_transitions
93
- * @param {DataContract} js_data_contract
94
- * @param {StateTransitionExecutionContext} js_execution_context
87
+ * @param {DataContractCreateTransition} state_transition
88
+ * @param {StateTransitionExecutionContext} execution_context
95
89
  * @returns {Promise<ValidationResult>}
96
90
  */
97
- 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>;
91
+ export function validateDataContractCreateTransitionState(state_repository: any, state_transition: DataContractCreateTransition, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
98
92
  /**
99
- * @returns {number}
93
+ * @param {any} raw_parameters
94
+ * @returns {Promise<ValidationResult>}
100
95
  */
101
- export function getCreditsConversionRatio(): number;
96
+ export function validateDataContractCreateTransitionBasic(raw_parameters: any): Promise<ValidationResult>;
102
97
  /**
103
- * @param {any} state_transition_js
104
- * @param {StateTransitionExecutionContext} execution_context
105
- * @returns {FeeResult}
98
+ * @param {Array<any>} js_document_transitions
99
+ * @param {DataTriggerExecutionContext} js_context
100
+ * @param {Array<any>} js_data_triggers
101
+ * @returns {Promise<Array<any>>}
106
102
  */
107
- export function calculateStateTransitionFee(state_transition_js: any, execution_context: StateTransitionExecutionContext): FeeResult;
103
+ export function executeDataTriggers(js_document_transitions: Array<any>, js_context: DataTriggerExecutionContext, js_data_triggers: Array<any>): Promise<Array<any>>;
108
104
  /**
109
- * @returns {number}
105
+ * @param {any} state_repository
106
+ * @param {Array<any>} js_document_transitions
107
+ * @param {StateTransitionExecutionContext} js_execution_context
108
+ * @returns {Promise<Array<any>>}
110
109
  */
111
- export function getLatestProtocolVersion(): number;
110
+ export function fetchExtendedDocuments(state_repository: any, js_document_transitions: Array<any>, js_execution_context: StateTransitionExecutionContext): Promise<Array<any>>;
112
111
  /**
113
112
  * @param {any} contract_id
114
113
  * @param {any} owner_id
@@ -118,68 +117,77 @@ export function getLatestProtocolVersion(): number;
118
117
  */
119
118
  export function generateDocumentId(contract_id: any, owner_id: any, document_type: string, entropy: Uint8Array): any;
120
119
  /**
121
- * @param {any} state_repository
122
- * @param {DocumentsBatchTransition} transition
123
- * @param {StateTransitionExecutionContext} execution_context
124
- * @returns {Promise<void>}
120
+ * @param {Array<any>} js_raw_transitions
121
+ * @returns {any[]}
125
122
  */
126
- export function applyDocumentsBatchTransition(state_repository: any, transition: DocumentsBatchTransition, execution_context: StateTransitionExecutionContext): Promise<void>;
123
+ export function findDuplicatesById(js_raw_transitions: Array<any>): any[];
127
124
  /**
128
- * @param {ProtocolVersionValidator} protocol_version_validator
129
- * @param {any} state_repository
130
- * @param {any} js_raw_state_transition
131
- * @param {StateTransitionExecutionContext} execution_context
132
- * @returns {Promise<ValidationResult>}
125
+ * @param {Array<any>} js_raw_transitions
126
+ * @param {DataContract} data_contract
127
+ * @returns {ValidationResult}
133
128
  */
134
- export function validateDocumentsBatchTransitionBasic(protocol_version_validator: ProtocolVersionValidator, state_repository: any, js_raw_state_transition: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
129
+ export function validatePartialCompoundIndices(js_raw_transitions: Array<any>, data_contract: DataContract): ValidationResult;
130
+ /**
131
+ * @param {any} raw_parameters
132
+ * @returns {any}
133
+ */
134
+ export function createAssetLockProofInstance(raw_parameters: any): any;
135
135
  /**
136
136
  * @param {any} state_repository
137
- * @param {DocumentsBatchTransition} state_transition
137
+ * @param {string} raw_transaction
138
+ * @param {number} output_index
138
139
  * @param {StateTransitionExecutionContext} execution_context
139
140
  * @returns {Promise<ValidationResult>}
140
141
  */
141
- export function validateDocumentsBatchTransitionState(state_repository: any, state_transition: DocumentsBatchTransition, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
142
+ export function validateAssetLockTransaction(state_repository: any, raw_transaction: string, output_index: number, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
142
143
  /**
143
144
  * @param {any} state_repository
144
- * @param {IdentityCreateTransition} state_transition
145
+ * @param {any} raw_asset_lock_proof
145
146
  * @param {StateTransitionExecutionContext} execution_context
146
- * @returns {Promise<void>}
147
+ * @returns {Promise<any>}
147
148
  */
148
- export function applyIdentityCreateTransition(state_repository: any, state_transition: IdentityCreateTransition, execution_context: StateTransitionExecutionContext): Promise<void>;
149
+ export function fetchAssetLockTransactionOutput(state_repository: any, raw_asset_lock_proof: any, execution_context: StateTransitionExecutionContext): Promise<any>;
149
150
  /**
150
151
  * @param {any} state_repository
151
- * @param {IdentityTopUpTransition} state_transition
152
+ * @param {any} raw_asset_lock_proof
152
153
  * @param {StateTransitionExecutionContext} execution_context
153
- * @returns {Promise<void>}
154
+ * @returns {Promise<any>}
154
155
  */
155
- export function applyIdentityTopUpTransition(state_repository: any, state_transition: IdentityTopUpTransition, execution_context: StateTransitionExecutionContext): Promise<void>;
156
+ export function fetchAssetLockPublicKeyHash(state_repository: any, raw_asset_lock_proof: any, execution_context: StateTransitionExecutionContext): Promise<any>;
156
157
  /**
157
158
  * @param {any} state_repository
158
- * @param {IdentityUpdateTransition} state_transition
159
+ * @param {DataContractUpdateTransition} state_transition
159
160
  * @param {StateTransitionExecutionContext} execution_context
160
- * @returns {Promise<void>}
161
+ * @returns {Promise<ValidationResult>}
161
162
  */
162
- export function applyIdentityUpdateTransition(state_repository: any, state_transition: IdentityUpdateTransition, execution_context: StateTransitionExecutionContext): Promise<void>;
163
+ export function validateDataContractUpdateTransitionState(state_repository: any, state_transition: DataContractUpdateTransition, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
164
+ /**
165
+ * @param {any} old_documents_schema
166
+ * @param {any} new_documents_schema
167
+ * @returns {ValidationResult}
168
+ */
169
+ export function validateIndicesAreBackwardCompatible(old_documents_schema: any, new_documents_schema: any): ValidationResult;
163
170
  /**
164
171
  * @param {any} state_repository
165
- * @param {any} js_raw_document
172
+ * @param {any} raw_parameters
173
+ * @param {StateTransitionExecutionContext} execution_context
166
174
  * @returns {Promise<ValidationResult>}
167
175
  */
168
- export function fetchAndValidateDataContract(state_repository: any, js_raw_document: any): Promise<ValidationResult>;
176
+ export function validateDataContractUpdateTransitionBasic(state_repository: any, raw_parameters: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
169
177
  /**
170
- * @param {Array<any>} js_raw_transitions
171
- * @param {DataContract} data_contract
172
- * @param {any} owner_id
173
- * @returns {any[]}
178
+ * @param {any} state_transition_js
179
+ * @param {StateTransitionExecutionContext} execution_context
180
+ * @returns {FeeResult}
174
181
  */
175
- export function findDuplicatesByIndices(js_raw_transitions: Array<any>, data_contract: DataContract, owner_id: any): any[];
182
+ export function calculateStateTransitionFee(state_transition_js: any, execution_context: StateTransitionExecutionContext): FeeResult;
176
183
  /**
177
- * @param {any} state_repository
178
- * @param {Array<any>} js_document_transitions
179
- * @param {StateTransitionExecutionContext} js_execution_context
180
- * @returns {Promise<Array<any>>}
184
+ * @param {any} external_state_repository
185
+ * @param {any} js_state_transition
186
+ * @param {StateTransitionExecutionContext} execution_context
187
+ * @param {any} bls_adapter
188
+ * @returns {Promise<ValidationResult>}
181
189
  */
182
- export function fetchExtendedDocuments(state_repository: any, js_document_transitions: Array<any>, js_execution_context: StateTransitionExecutionContext): Promise<Array<any>>;
190
+ export function validateStateTransitionIdentitySignature(external_state_repository: any, js_state_transition: any, execution_context: StateTransitionExecutionContext, bls_adapter: any): Promise<ValidationResult>;
183
191
  /**
184
192
  * @param {any} js_data_contract_id
185
193
  * @param {string} document_type
@@ -193,24 +201,23 @@ export function getDataTriggers(js_data_contract_id: any, document_type: string,
193
201
  */
194
202
  export function getAllDataTriggers(): Array<any>;
195
203
  /**
196
- * @param {any} state_repository
197
- * @param {DataContractCreateTransition} state_transition
198
- * @param {StateTransitionExecutionContext} execution_context
199
- * @returns {Promise<ValidationResult>}
204
+ * @param {Uint8Array} bytes
205
+ * @returns {any}
200
206
  */
201
- export function validateDataContractCreateTransitionState(state_repository: any, state_transition: DataContractCreateTransition, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
207
+ export function deserializeConsensusError(bytes: Uint8Array): any;
202
208
  /**
203
- * @param {any} raw_parameters
204
- * @returns {Promise<ValidationResult>}
209
+ * @param {Array<any>} js_raw_transitions
210
+ * @param {DataContract} data_contract
211
+ * @param {any} owner_id
212
+ * @returns {any[]}
205
213
  */
206
- export function validateDataContractCreateTransitionBasic(raw_parameters: any): Promise<ValidationResult>;
214
+ export function findDuplicatesByIndices(js_raw_transitions: Array<any>, data_contract: DataContract, owner_id: any): any[];
207
215
  /**
208
- * @param {Array<any>} js_document_transitions
209
- * @param {DataTriggerExecutionContext} js_context
210
- * @param {Array<any>} js_data_triggers
211
- * @returns {Promise<Array<any>>}
216
+ * @param {Array<any>} operations
217
+ * @param {any} identity_id
218
+ * @returns {FeeResult}
212
219
  */
213
- export function executeDataTriggers(js_document_transitions: Array<any>, js_context: DataTriggerExecutionContext, js_data_triggers: Array<any>): Promise<Array<any>>;
220
+ export function calculateStateTransitionFeeFromOperations(operations: Array<any>, identity_id: any): FeeResult;
214
221
  /**
215
222
  */
216
223
  export enum KeyPurpose {
@@ -266,6 +273,7 @@ export enum StateTransitionTypes {
266
273
  DataContractUpdate = 4,
267
274
  IdentityUpdate = 5,
268
275
  IdentityCreditWithdrawal = 6,
276
+ IdentityCreditTransfer = 7,
269
277
  }
270
278
  /**
271
279
  */
@@ -606,6 +614,14 @@ export class DataContract {
606
614
  toObject(): any;
607
615
  /**
608
616
  * @returns {any}
617
+ */
618
+ getConfig(): any;
619
+ /**
620
+ * @param {any} config
621
+ */
622
+ setConfig(config: any): void;
623
+ /**
624
+ * @returns {any}
609
625
  */
610
626
  toJSON(): any;
611
627
  /**
@@ -657,6 +673,31 @@ export class DataContractAlreadyPresentError {
657
673
  }
658
674
  /**
659
675
  */
676
+ export class DataContractConfigUpdateError {
677
+ free(): void;
678
+ /**
679
+ * @param {any} data_contract_id
680
+ * @param {string} message
681
+ */
682
+ constructor(data_contract_id: any, message: string);
683
+ /**
684
+ * @returns {any}
685
+ */
686
+ getDataContractId(): any;
687
+ /**
688
+ * @returns {number}
689
+ */
690
+ getCode(): number;
691
+ /**
692
+ * @returns {any}
693
+ */
694
+ serialize(): any;
695
+ /**
696
+ */
697
+ readonly message: string;
698
+ }
699
+ /**
700
+ */
660
701
  export class DataContractCreateTransition {
661
702
  free(): void;
662
703
  /**
@@ -668,6 +709,10 @@ export class DataContractCreateTransition {
668
709
  */
669
710
  getDataContract(): DataContract;
670
711
  /**
712
+ * @param {any} config
713
+ */
714
+ setDataContractConfig(config: any): void;
715
+ /**
671
716
  * @returns {number}
672
717
  */
673
718
  getProtocolVersion(): number;
@@ -693,6 +738,11 @@ export class DataContractCreateTransition {
693
738
  */
694
739
  toBuffer(): any;
695
740
  /**
741
+ * @param {Uint8Array} buffer
742
+ * @returns {DataContractCreateTransition}
743
+ */
744
+ static fromBuffer(buffer: Uint8Array): DataContractCreateTransition;
745
+ /**
696
746
  * @returns {any[]}
697
747
  */
698
748
  getModifiedDataIds(): any[];
@@ -792,9 +842,10 @@ export class DataContractFactory {
792
842
  /**
793
843
  * @param {Uint8Array} owner_id
794
844
  * @param {any} documents
845
+ * @param {any} config
795
846
  * @returns {DataContract}
796
847
  */
797
- create(owner_id: Uint8Array, documents: any): DataContract;
848
+ create(owner_id: Uint8Array, documents: any, config: any): DataContract;
798
849
  /**
799
850
  * @param {any} object
800
851
  * @param {boolean | undefined} skip_validation
@@ -896,9 +947,33 @@ export class DataContractInvalidIndexDefinitionUpdateError {
896
947
  }
897
948
  /**
898
949
  */
899
- export class DataContractMaxDepthExceedError {
950
+ export class DataContractIsReadonlyError {
900
951
  free(): void;
901
- }
952
+ /**
953
+ * @param {any} data_contract_id
954
+ */
955
+ constructor(data_contract_id: any);
956
+ /**
957
+ * @returns {any}
958
+ */
959
+ getDataContractId(): any;
960
+ /**
961
+ * @returns {number}
962
+ */
963
+ getCode(): number;
964
+ /**
965
+ * @returns {any}
966
+ */
967
+ serialize(): any;
968
+ /**
969
+ */
970
+ readonly message: string;
971
+ }
972
+ /**
973
+ */
974
+ export class DataContractMaxDepthExceedError {
975
+ free(): void;
976
+ }
902
977
  /**
903
978
  */
904
979
  export class DataContractNotPresentError {
@@ -965,6 +1040,10 @@ export class DataContractUpdateTransition {
965
1040
  */
966
1041
  getDataContract(): DataContract;
967
1042
  /**
1043
+ * @param {any} config
1044
+ */
1045
+ setDataContractConfig(config: any): void;
1046
+ /**
968
1047
  * @returns {number}
969
1048
  */
970
1049
  getProtocolVersion(): number;
@@ -986,6 +1065,11 @@ export class DataContractUpdateTransition {
986
1065
  */
987
1066
  toBuffer(): any;
988
1067
  /**
1068
+ * @param {Uint8Array} buffer
1069
+ * @returns {DataContractUpdateTransition}
1070
+ */
1071
+ static fromBuffer(buffer: Uint8Array): DataContractUpdateTransition;
1072
+ /**
989
1073
  * @returns {any[]}
990
1074
  */
991
1075
  getModifiedDataIds(): any[];
@@ -2727,6 +2811,121 @@ export class IdentityCreateTransitionStateValidator {
2727
2811
  }
2728
2812
  /**
2729
2813
  */
2814
+ export class IdentityCreditTransferTransition {
2815
+ free(): void;
2816
+ /**
2817
+ * @param {any} raw_parameters
2818
+ */
2819
+ constructor(raw_parameters: any);
2820
+ /**
2821
+ * @returns {number}
2822
+ */
2823
+ getType(): number;
2824
+ /**
2825
+ * @returns {any}
2826
+ */
2827
+ getIdentityId(): any;
2828
+ /**
2829
+ * @returns {any}
2830
+ */
2831
+ getRecipientId(): any;
2832
+ /**
2833
+ * @returns {number}
2834
+ */
2835
+ getAmount(): number;
2836
+ /**
2837
+ * @param {number} amount
2838
+ */
2839
+ setAmount(amount: number): void;
2840
+ /**
2841
+ * @param {any} options
2842
+ * @returns {any}
2843
+ */
2844
+ toObject(options: any): any;
2845
+ /**
2846
+ * @returns {any}
2847
+ */
2848
+ toBuffer(): any;
2849
+ /**
2850
+ * @returns {any}
2851
+ */
2852
+ toJSON(): any;
2853
+ /**
2854
+ * @returns {any[]}
2855
+ */
2856
+ getModifiedDataIds(): any[];
2857
+ /**
2858
+ * @returns {boolean}
2859
+ */
2860
+ isDataContractStateTransition(): boolean;
2861
+ /**
2862
+ * @returns {boolean}
2863
+ */
2864
+ isDocumentStateTransition(): boolean;
2865
+ /**
2866
+ * @returns {boolean}
2867
+ */
2868
+ isIdentityStateTransition(): boolean;
2869
+ /**
2870
+ * @param {Uint8Array} private_key
2871
+ * @param {number} key_type
2872
+ * @param {any | undefined} bls
2873
+ */
2874
+ signByPrivateKey(private_key: Uint8Array, key_type: number, bls?: any): void;
2875
+ /**
2876
+ * @returns {any}
2877
+ */
2878
+ getSignature(): any;
2879
+ /**
2880
+ * @param {Uint8Array | undefined} signature
2881
+ */
2882
+ setSignature(signature?: Uint8Array): void;
2883
+ /**
2884
+ * @param {IdentityPublicKey} identity_public_key
2885
+ * @param {Uint8Array} private_key
2886
+ * @param {any} bls
2887
+ */
2888
+ sign(identity_public_key: IdentityPublicKey, private_key: Uint8Array, bls: any): void;
2889
+ /**
2890
+ */
2891
+ readonly amount: bigint;
2892
+ /**
2893
+ */
2894
+ readonly identityId: any;
2895
+ /**
2896
+ */
2897
+ readonly recipientId: any;
2898
+ }
2899
+ /**
2900
+ */
2901
+ export class IdentityCreditTransferTransitionBasicValidator {
2902
+ free(): void;
2903
+ /**
2904
+ */
2905
+ constructor();
2906
+ /**
2907
+ * @param {any} raw_state_transition
2908
+ * @returns {Promise<ValidationResult>}
2909
+ */
2910
+ validate(raw_state_transition: any): Promise<ValidationResult>;
2911
+ }
2912
+ /**
2913
+ */
2914
+ export class IdentityCreditTransferTransitionStateValidator {
2915
+ free(): void;
2916
+ /**
2917
+ * @param {any} state_repository
2918
+ */
2919
+ constructor(state_repository: any);
2920
+ /**
2921
+ * @param {IdentityCreditTransferTransition} state_transition
2922
+ * @param {StateTransitionExecutionContext} execution_context
2923
+ * @returns {Promise<ValidationResult>}
2924
+ */
2925
+ validate(state_transition: IdentityCreditTransferTransition, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
2926
+ }
2927
+ /**
2928
+ */
2730
2929
  export class IdentityFacade {
2731
2930
  free(): void;
2732
2931
  /**
@@ -2777,6 +2976,13 @@ export class IdentityFacade {
2777
2976
  */
2778
2977
  createIdentityTopUpTransition(identity_id: any, asset_lock_proof: any): IdentityTopUpTransition;
2779
2978
  /**
2979
+ * @param {any} identity_id
2980
+ * @param {any} recipient_id
2981
+ * @param {bigint} amount
2982
+ * @returns {IdentityCreditTransferTransition}
2983
+ */
2984
+ createIdentityCreditTransferTransition(identity_id: any, recipient_id: any, amount: bigint): IdentityCreditTransferTransition;
2985
+ /**
2780
2986
  * @param {Identity} identity
2781
2987
  * @param {any} public_keys
2782
2988
  * @returns {IdentityUpdateTransition}
@@ -2835,6 +3041,13 @@ export class IdentityFactory {
2835
3041
  */
2836
3042
  createIdentityTopUpTransition(identity_id: any, asset_lock_proof: any): IdentityTopUpTransition;
2837
3043
  /**
3044
+ * @param {any} identity_id
3045
+ * @param {any} recipient_id
3046
+ * @param {bigint} amount
3047
+ * @returns {IdentityCreditTransferTransition}
3048
+ */
3049
+ createIdentityCreditTransferTransition(identity_id: any, recipient_id: any, amount: bigint): IdentityCreditTransferTransition;
3050
+ /**
2838
3051
  * @param {Identity} identity
2839
3052
  * @param {any} public_keys
2840
3053
  * @returns {IdentityUpdateTransition}
@@ -5399,6 +5612,16 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
5399
5612
 
5400
5613
  export interface InitOutput {
5401
5614
  readonly memory: WebAssembly.Memory;
5615
+ readonly __wbg_invaliddocumenttypeindatacontracterror_free: (a: number) => void;
5616
+ readonly invaliddocumenttypeindatacontracterror_new: (a: number, b: number, c: number) => number;
5617
+ readonly invaliddocumenttypeindatacontracterror_getDataContractId: (a: number) => number;
5618
+ readonly __wbg_datacontractfacade_free: (a: number) => void;
5619
+ readonly datacontractfacade_create: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
5620
+ readonly datacontractfacade_createFromObject: (a: number, b: number, c: number) => number;
5621
+ readonly datacontractfacade_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
5622
+ readonly datacontractfacade_createDataContractCreateTransition: (a: number, b: number, c: number) => void;
5623
+ readonly datacontractfacade_createDataContractUpdateTransition: (a: number, b: number, c: number) => void;
5624
+ readonly datacontractfacade_validate: (a: number, b: number) => number;
5402
5625
  readonly __wbg_indexproperty_free: (a: number) => void;
5403
5626
  readonly indexproperty_isAscending: (a: number) => number;
5404
5627
  readonly __wbg_indexdefinition_free: (a: number) => void;
@@ -5406,41 +5629,16 @@ export interface InitOutput {
5406
5629
  readonly indexdefinition_getProperties: (a: number, b: number) => void;
5407
5630
  readonly indexdefinition_isUnique: (a: number) => number;
5408
5631
  readonly indexdefinition_toObject: (a: number, b: number) => void;
5409
- readonly __wbg_mismatchowneridserror_free: (a: number) => void;
5410
- readonly mismatchowneridserror_new: (a: number, b: number) => number;
5411
- readonly mismatchowneridserror_getDocuments: (a: number, b: number) => void;
5412
- readonly __wbg_extendeddocument_free: (a: number) => void;
5413
- readonly extendeddocument_new: (a: number, b: number, c: number) => void;
5414
- readonly extendeddocument_getProtocolVersion: (a: number) => number;
5415
- readonly extendeddocument_getId: (a: number) => number;
5416
- readonly extendeddocument_setId: (a: number, b: number) => void;
5417
- readonly extendeddocument_getType: (a: number, b: number) => void;
5418
- readonly extendeddocument_setType: (a: number, b: number, c: number) => void;
5419
- readonly extendeddocument_getDataContractId: (a: number) => number;
5420
- readonly extendeddocument_getDataContract: (a: number) => number;
5421
- readonly extendeddocument_setDataContractId: (a: number, b: number, c: number) => void;
5422
- readonly extendeddocument_getDocument: (a: number) => number;
5423
- readonly extendeddocument_setOwnerId: (a: number, b: number) => void;
5424
- readonly extendeddocument_getOwnerId: (a: number) => number;
5425
- readonly extendeddocument_setRevision: (a: number, b: number, c: number) => void;
5426
- readonly extendeddocument_getRevision: (a: number, b: number) => void;
5427
- readonly extendeddocument_setEntropy: (a: number, b: number, c: number, d: number) => void;
5428
- readonly extendeddocument_getEntropy: (a: number) => number;
5429
- readonly extendeddocument_setData: (a: number, b: number, c: number) => void;
5430
- readonly extendeddocument_getData: (a: number, b: number) => void;
5431
- readonly extendeddocument_set: (a: number, b: number, c: number, d: number, e: number) => void;
5432
- readonly extendeddocument_get: (a: number, b: number, c: number) => number;
5433
- readonly extendeddocument_setCreatedAt: (a: number, b: number) => void;
5434
- readonly extendeddocument_setUpdatedAt: (a: number, b: number) => void;
5435
- readonly extendeddocument_getCreatedAt: (a: number) => number;
5436
- readonly extendeddocument_getUpdatedAt: (a: number) => number;
5437
- readonly extendeddocument_getMetadata: (a: number) => number;
5438
- readonly extendeddocument_setMetadata: (a: number, b: number, c: number) => void;
5439
- readonly extendeddocument_toObject: (a: number, b: number, c: number) => void;
5440
- readonly extendeddocument_toJSON: (a: number, b: number) => void;
5441
- readonly extendeddocument_toBuffer: (a: number, b: number) => void;
5442
- readonly extendeddocument_hash: (a: number, b: number) => void;
5443
- readonly extendeddocument_clone: (a: number) => number;
5632
+ readonly __wbg_datatrigger_free: (a: number) => void;
5633
+ readonly datatrigger_get_data_contract_id: (a: number) => number;
5634
+ readonly datatrigger_set_data_contract_id: (a: number, b: number, c: number) => void;
5635
+ readonly datatrigger_get_document_type: (a: number, b: number) => void;
5636
+ readonly datatrigger_set_document_type: (a: number, b: number, c: number) => void;
5637
+ readonly datatrigger_get_data_trigger_kind: (a: number, b: number) => void;
5638
+ readonly datatrigger_get_transition_action: (a: number, b: number) => void;
5639
+ readonly datatrigger_set_transition_action: (a: number, b: number, c: number, d: number) => void;
5640
+ readonly datatrigger_get_top_level_identity: (a: number) => number;
5641
+ readonly datatrigger_set_top_level_identity: (a: number, b: number, c: number) => void;
5444
5642
  readonly __wbg_documenttransition_free: (a: number) => void;
5445
5643
  readonly documenttransition_getId: (a: number) => number;
5446
5644
  readonly documenttransition_getType: (a: number, b: number) => void;
@@ -5460,36 +5658,155 @@ export interface InitOutput {
5460
5658
  readonly documenttransition_fromTransitionCreate: (a: number) => number;
5461
5659
  readonly documenttransition_fromTransitionReplace: (a: number) => number;
5462
5660
  readonly documenttransition_fromTransitionDelete: (a: number) => number;
5463
- readonly serializedobjectparsingerror_getParsingError: (a: number, b: number) => void;
5464
- readonly serializedobjectparsingerror_getCode: (a: number) => number;
5465
- readonly serializedobjectparsingerror_message: (a: number, b: number) => void;
5466
- readonly serializedobjectparsingerror_serialize: (a: number, b: number) => void;
5661
+ readonly validateDocumentsUniquenessByIndices: (a: number, b: number, c: number, d: number, e: number) => number;
5662
+ readonly __wbg_documentsbatchtransition_free: (a: number) => void;
5663
+ readonly documentsbatchtransition_from_raw_object: (a: number, b: number, c: number) => void;
5664
+ readonly documentsbatchtransition_getType: (a: number) => number;
5665
+ readonly documentsbatchtransition_getOwnerId: (a: number) => number;
5666
+ readonly documentsbatchtransition_getTransitions: (a: number) => number;
5667
+ readonly documentsbatchtransition_setTransitions: (a: number, b: number, c: number) => void;
5668
+ readonly documentsbatchtransition_toJSON: (a: number, b: number) => void;
5669
+ readonly documentsbatchtransition_toObject: (a: number, b: number, c: number) => void;
5670
+ readonly documentsbatchtransition_getModifiedDataIds: (a: number) => number;
5671
+ readonly documentsbatchtransition_getSignaturePublicKeyId: (a: number, b: number) => void;
5672
+ readonly documentsbatchtransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
5673
+ readonly documentsbatchtransition_verifyPublicKeyLevelAndPurpose: (a: number, b: number, c: number) => void;
5674
+ readonly documentsbatchtransition_verifyPublicKeyIsEnabled: (a: number, b: number, c: number) => void;
5675
+ readonly documentsbatchtransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
5676
+ readonly documentsbatchtransition_setSignaturePublicKeyId: (a: number, b: number) => void;
5677
+ readonly documentsbatchtransition_getKeySecurityLevelRequirement: (a: number) => number;
5678
+ readonly documentsbatchtransition_getProtocolVersion: (a: number) => number;
5679
+ readonly documentsbatchtransition_getSignature: (a: number, b: number) => void;
5680
+ readonly documentsbatchtransition_setSignature: (a: number, b: number, c: number) => void;
5681
+ readonly documentsbatchtransition_isDocumentStateTransition: (a: number) => number;
5682
+ readonly documentsbatchtransition_isDataContractStateTransition: (a: number) => number;
5683
+ readonly documentsbatchtransition_isIdentityStateTransition: (a: number) => number;
5684
+ readonly documentsbatchtransition_toBuffer: (a: number, b: number) => void;
5685
+ readonly documentsbatchtransition_hash: (a: number, b: number, c: number) => void;
5686
+ readonly __wbg_invalidindexpropertytypeerror_free: (a: number) => void;
5687
+ readonly invalidindexpropertytypeerror_getDocumentType: (a: number, b: number) => void;
5688
+ readonly invalidindexpropertytypeerror_getIndexName: (a: number, b: number) => void;
5689
+ readonly invalidindexpropertytypeerror_getPropertyName: (a: number, b: number) => void;
5690
+ readonly invalidindexpropertytypeerror_getPropertyType: (a: number, b: number) => void;
5691
+ readonly invalidindexpropertytypeerror_getCode: (a: number) => number;
5692
+ readonly invalidindexpropertytypeerror_message: (a: number, b: number) => void;
5693
+ readonly invalidindexpropertytypeerror_serialize: (a: number, b: number) => void;
5694
+ readonly __wbg_invalidjsonschemareferror_free: (a: number) => void;
5695
+ readonly invalidjsonschemareferror_getRefError: (a: number, b: number) => void;
5696
+ readonly invalidjsonschemareferror_getCode: (a: number) => number;
5697
+ readonly invalidjsonschemareferror_message: (a: number, b: number) => void;
5698
+ readonly invalidjsonschemareferror_serialize: (a: number, b: number) => void;
5467
5699
  readonly __wbg_datacontractnotpresenterror_free: (a: number) => void;
5468
5700
  readonly datacontractnotpresenterror_getDataContractId: (a: number) => number;
5469
5701
  readonly datacontractnotpresenterror_getCode: (a: number) => number;
5470
5702
  readonly datacontractnotpresenterror_message: (a: number, b: number) => void;
5471
5703
  readonly datacontractnotpresenterror_serialize: (a: number, b: number) => void;
5472
- readonly __wbg_invaliddocumenttransitionactionerror_free: (a: number) => void;
5473
- readonly invaliddocumenttransitionactionerror_getAction: (a: number, b: number) => void;
5474
- readonly invaliddocumenttransitionactionerror_getCode: (a: number) => number;
5475
- readonly invaliddocumenttransitionactionerror_message: (a: number, b: number) => void;
5476
- readonly invaliddocumenttransitionactionerror_serialize: (a: number, b: number) => void;
5477
- readonly identityassetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
5478
- readonly identityassetlocktransactionisnotfounderror_getCode: (a: number) => number;
5479
- readonly identityassetlocktransactionisnotfounderror_message: (a: number, b: number) => void;
5480
- readonly identityassetlocktransactionisnotfounderror_serialize: (a: number, b: number) => void;
5481
- readonly invalididentityassetlocktransactionerror_getErrorMessage: (a: number, b: number) => void;
5482
- readonly invalididentityassetlocktransactionerror_getCode: (a: number) => number;
5483
- readonly invalididentityassetlocktransactionerror_message: (a: number, b: number) => void;
5484
- readonly invalididentityassetlocktransactionerror_serialize: (a: number, b: number) => void;
5485
- readonly jsonschemacompilationerror_getError: (a: number, b: number) => void;
5486
- readonly jsonschemacompilationerror_getCode: (a: number) => number;
5487
- readonly jsonschemacompilationerror_message: (a: number, b: number) => void;
5488
- readonly jsonschemacompilationerror_serialize: (a: number, b: number) => void;
5489
- readonly documentalreadypresenterror_getDocumentId: (a: number) => number;
5704
+ readonly __wbg_invalididentityassetlockproofchainlockvalidationerrorwasm_free: (a: number) => void;
5705
+ readonly invalididentityassetlockproofchainlockvalidationerrorwasm_getTransactionId: (a: number) => number;
5706
+ readonly invalididentityassetlockproofchainlockvalidationerrorwasm_getHeightReportedNotLocked: (a: number) => number;
5707
+ readonly documentalreadypresenterror_getDocumentId: (a: number) => number;
5490
5708
  readonly documentalreadypresenterror_getCode: (a: number) => number;
5491
5709
  readonly documentalreadypresenterror_message: (a: number, b: number) => void;
5492
5710
  readonly documentalreadypresenterror_serialize: (a: number, b: number) => void;
5711
+ readonly documenttimestampsmismatcherror_getDocumentId: (a: number) => number;
5712
+ readonly documenttimestampsmismatcherror_getCode: (a: number) => number;
5713
+ readonly documenttimestampsmismatcherror_message: (a: number, b: number) => void;
5714
+ readonly documenttimestampsmismatcherror_serialize: (a: number, b: number) => void;
5715
+ readonly __wbg_identitypublickeyisreadonlyerror_free: (a: number) => void;
5716
+ readonly identitypublickeyisreadonlyerror_getKeyId: (a: number) => number;
5717
+ readonly identitypublickeyisreadonlyerror_getCode: (a: number) => number;
5718
+ readonly identitypublickeyisreadonlyerror_message: (a: number, b: number) => void;
5719
+ readonly identitypublickeyisreadonlyerror_serialize: (a: number, b: number) => void;
5720
+ readonly __wbg_identityvalidator_free: (a: number) => void;
5721
+ readonly identityvalidator_new: (a: number, b: number) => void;
5722
+ readonly identityvalidator_validate: (a: number, b: number, c: number) => void;
5723
+ readonly __wbg_publickeysvalidator_free: (a: number) => void;
5724
+ readonly publickeysvalidator_new: (a: number, b: number) => void;
5725
+ readonly publickeysvalidator_validateKeys: (a: number, b: number, c: number) => void;
5726
+ readonly publickeysvalidator_validatePublicKeyStructure: (a: number, b: number, c: number) => void;
5727
+ readonly publickeysvalidator_validateKeysInStateTransition: (a: number, b: number, c: number) => void;
5728
+ readonly __wbg_chainassetlockproofstructurevalidator_free: (a: number) => void;
5729
+ readonly chainassetlockproofstructurevalidator_new: (a: number, b: number) => void;
5730
+ readonly chainassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
5731
+ readonly instantassetlockproofstructurevalidator_new: (a: number, b: number) => void;
5732
+ readonly instantassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
5733
+ readonly __wbg_precalculatedoperation_free: (a: number) => void;
5734
+ readonly precalculatedoperation_new: (a: number, b: number, c: number, d: number) => void;
5735
+ readonly precalculatedoperation_fromFee: (a: number) => number;
5736
+ readonly precalculatedoperation_getProcessingCost: (a: number, b: number) => void;
5737
+ readonly precalculatedoperation_getStorageCost: (a: number, b: number) => void;
5738
+ readonly precalculatedoperation_refunds: (a: number) => number;
5739
+ readonly precalculatedoperation_refunds_as_objects: (a: number, b: number) => void;
5740
+ readonly precalculatedoperation_toJSON: (a: number, b: number) => void;
5741
+ readonly __wbg_statetransitionkeysignaturevalidator_free: (a: number) => void;
5742
+ readonly statetransitionkeysignaturevalidator_new: (a: number) => number;
5743
+ readonly statetransitionkeysignaturevalidator_validate: (a: number, b: number, c: number) => number;
5744
+ readonly __wbg_jsonschemavalidator_free: (a: number) => void;
5745
+ readonly jsonschemavalidator_new: (a: number, b: number, c: number) => void;
5746
+ readonly __wbg_instantassetlockproofstructurevalidator_free: (a: number) => void;
5747
+ readonly invaliddocumenttypeindatacontracterror_getType: (a: number, b: number) => void;
5748
+ readonly indexproperty_getName: (a: number, b: number) => void;
5749
+ readonly identitypublickeyisreadonlyerror_getPublicKeyIndex: (a: number) => number;
5750
+ readonly __wbg_documentalreadypresenterror_free: (a: number) => void;
5751
+ readonly __wbg_documenttimestampsmismatcherror_free: (a: number) => void;
5752
+ readonly __wbg_extendeddocument_free: (a: number) => void;
5753
+ readonly extendeddocument_new: (a: number, b: number, c: number) => void;
5754
+ readonly extendeddocument_getProtocolVersion: (a: number) => number;
5755
+ readonly extendeddocument_getId: (a: number) => number;
5756
+ readonly extendeddocument_setId: (a: number, b: number) => void;
5757
+ readonly extendeddocument_getType: (a: number, b: number) => void;
5758
+ readonly extendeddocument_setType: (a: number, b: number, c: number) => void;
5759
+ readonly extendeddocument_getDataContractId: (a: number) => number;
5760
+ readonly extendeddocument_getDataContract: (a: number) => number;
5761
+ readonly extendeddocument_setDataContractId: (a: number, b: number, c: number) => void;
5762
+ readonly extendeddocument_getDocument: (a: number) => number;
5763
+ readonly extendeddocument_setOwnerId: (a: number, b: number) => void;
5764
+ readonly extendeddocument_getOwnerId: (a: number) => number;
5765
+ readonly extendeddocument_setRevision: (a: number, b: number, c: number) => void;
5766
+ readonly extendeddocument_getRevision: (a: number, b: number) => void;
5767
+ readonly extendeddocument_setEntropy: (a: number, b: number, c: number, d: number) => void;
5768
+ readonly extendeddocument_getEntropy: (a: number) => number;
5769
+ readonly extendeddocument_setData: (a: number, b: number, c: number) => void;
5770
+ readonly extendeddocument_getData: (a: number, b: number) => void;
5771
+ readonly extendeddocument_set: (a: number, b: number, c: number, d: number, e: number) => void;
5772
+ readonly extendeddocument_get: (a: number, b: number, c: number) => number;
5773
+ readonly extendeddocument_setCreatedAt: (a: number, b: number) => void;
5774
+ readonly extendeddocument_setUpdatedAt: (a: number, b: number) => void;
5775
+ readonly extendeddocument_getCreatedAt: (a: number) => number;
5776
+ readonly extendeddocument_getUpdatedAt: (a: number) => number;
5777
+ readonly extendeddocument_getMetadata: (a: number) => number;
5778
+ readonly extendeddocument_setMetadata: (a: number, b: number, c: number) => void;
5779
+ readonly extendeddocument_toObject: (a: number, b: number, c: number) => void;
5780
+ readonly extendeddocument_toJSON: (a: number, b: number) => void;
5781
+ readonly extendeddocument_toBuffer: (a: number, b: number) => void;
5782
+ readonly extendeddocument_hash: (a: number, b: number) => void;
5783
+ readonly extendeddocument_clone: (a: number) => number;
5784
+ readonly identityassetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
5785
+ readonly identityassetlocktransactionisnotfounderror_getCode: (a: number) => number;
5786
+ readonly identityassetlocktransactionisnotfounderror_message: (a: number, b: number) => void;
5787
+ readonly identityassetlocktransactionisnotfounderror_serialize: (a: number, b: number) => void;
5788
+ readonly __wbg_identityassetlocktransactionoutputnotfounderror_free: (a: number) => void;
5789
+ readonly identityassetlocktransactionoutputnotfounderror_getOutputIndex: (a: number) => number;
5790
+ readonly identityassetlocktransactionoutputnotfounderror_getCode: (a: number) => number;
5791
+ readonly identityassetlocktransactionoutputnotfounderror_message: (a: number, b: number) => void;
5792
+ readonly identityassetlocktransactionoutputnotfounderror_serialize: (a: number, b: number) => void;
5793
+ readonly invalidassetlocktransactionoutputreturnsizeerror_getOutputIndex: (a: number) => number;
5794
+ readonly invalidassetlocktransactionoutputreturnsizeerror_getCode: (a: number) => number;
5795
+ readonly invalidassetlocktransactionoutputreturnsizeerror_message: (a: number, b: number) => void;
5796
+ readonly invalidassetlocktransactionoutputreturnsizeerror_serialize: (a: number, b: number) => void;
5797
+ readonly invalididentityassetlocktransactionoutputerror_getOutputIndex: (a: number) => number;
5798
+ readonly invalididentityassetlocktransactionoutputerror_getCode: (a: number) => number;
5799
+ readonly invalididentityassetlocktransactionoutputerror_message: (a: number, b: number) => void;
5800
+ readonly invalididentityassetlocktransactionoutputerror_serialize: (a: number, b: number) => void;
5801
+ readonly __wbg_invalididentitycreditwithdrawaltransitionoutputscripterror_free: (a: number) => void;
5802
+ readonly invalididentitycreditwithdrawaltransitionoutputscripterror_getCode: (a: number) => number;
5803
+ readonly invalididentitycreditwithdrawaltransitionoutputscripterror_message: (a: number, b: number) => void;
5804
+ readonly invalididentitycreditwithdrawaltransitionoutputscripterror_serialize: (a: number, b: number) => void;
5805
+ readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_getPooling: (a: number) => number;
5806
+ readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_getCode: (a: number) => number;
5807
+ readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_message: (a: number, b: number) => void;
5808
+ readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_serialize: (a: number, b: number) => void;
5809
+ readonly __wbg_documentnotfounderror_free: (a: number) => void;
5493
5810
  readonly documentnotfounderror_getDocumentId: (a: number) => number;
5494
5811
  readonly documentnotfounderror_getCode: (a: number) => number;
5495
5812
  readonly documentnotfounderror_message: (a: number, b: number) => void;
@@ -5498,78 +5815,43 @@ export interface InitOutput {
5498
5815
  readonly documenttimestampsareequalerror_getCode: (a: number) => number;
5499
5816
  readonly documenttimestampsareequalerror_message: (a: number, b: number) => void;
5500
5817
  readonly documenttimestampsareequalerror_serialize: (a: number, b: number) => void;
5501
- readonly documenttimestampsmismatcherror_getDocumentId: (a: number) => number;
5502
- readonly documenttimestampsmismatcherror_getCode: (a: number) => number;
5503
- readonly documenttimestampsmismatcherror_message: (a: number, b: number) => void;
5504
- readonly documenttimestampsmismatcherror_serialize: (a: number, b: number) => void;
5505
5818
  readonly identityalreadyexistserror_getIdentityId: (a: number) => number;
5506
5819
  readonly identityalreadyexistserror_getCode: (a: number) => number;
5507
5820
  readonly identityalreadyexistserror_message: (a: number, b: number) => void;
5508
5821
  readonly identityalreadyexistserror_serialize: (a: number, b: number) => void;
5509
- readonly __wbg_missingidentitypublickeyidserror_free: (a: number) => void;
5510
- readonly missingidentitypublickeyidserror_getDuplicatedIds: (a: number) => number;
5511
- readonly valueerror_getMessage: (a: number, b: number) => void;
5512
- readonly valueerror_getCode: (a: number) => number;
5513
- readonly valueerror_message: (a: number, b: number) => void;
5514
- readonly valueerror_serialize: (a: number, b: number) => void;
5515
- readonly __wbg_identityfacade_free: (a: number) => void;
5516
- readonly identityfacade_create: (a: number, b: number, c: number, d: number) => void;
5517
- readonly identityfacade_createFromObject: (a: number, b: number, c: number, d: number) => void;
5518
- readonly identityfacade_createFromBuffer: (a: number, b: number, c: number, d: number, e: number) => void;
5519
- readonly identityfacade_validate: (a: number, b: number, c: number) => void;
5520
- readonly identityfacade_createInstantAssetLockProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
5521
- readonly identityfacade_createChainAssetLockProof: (a: number, b: number, c: number, d: number, e: number) => void;
5522
- readonly identityfacade_createIdentityCreateTransition: (a: number, b: number, c: number) => void;
5523
- readonly identityfacade_createIdentityTopUpTransition: (a: number, b: number, c: number, d: number) => void;
5524
- readonly identityfacade_createIdentityUpdateTransition: (a: number, b: number, c: number, d: number) => void;
5525
- readonly __wbg_nonconsensuserrorwasm_free: (a: number) => void;
5526
- readonly __wbg_publickeysvalidator_free: (a: number) => void;
5527
- readonly publickeysvalidator_new: (a: number, b: number) => void;
5528
- readonly publickeysvalidator_validateKeys: (a: number, b: number, c: number) => void;
5529
- readonly publickeysvalidator_validatePublicKeyStructure: (a: number, b: number, c: number) => void;
5530
- readonly publickeysvalidator_validateKeysInStateTransition: (a: number, b: number, c: number) => void;
5531
- readonly __wbg_instantassetlockproof_free: (a: number) => void;
5532
- readonly instantassetlockproof_new: (a: number, b: number) => void;
5533
- readonly instantassetlockproof_getType: (a: number) => number;
5534
- readonly instantassetlockproof_getOutputIndex: (a: number) => number;
5535
- readonly instantassetlockproof_getOutPoint: (a: number) => number;
5536
- readonly instantassetlockproof_getOutput: (a: number, b: number) => void;
5537
- readonly instantassetlockproof_createIdentifier: (a: number, b: number) => void;
5538
- readonly instantassetlockproof_getInstantLock: (a: number) => number;
5539
- readonly instantassetlockproof_getTransaction: (a: number) => number;
5540
- readonly instantassetlockproof_toObject: (a: number, b: number) => void;
5541
- readonly instantassetlockproof_toJSON: (a: number, b: number) => void;
5542
- readonly calculateStateTransitionFeeFromOperations: (a: number, b: number, c: number) => void;
5543
- readonly __wbg_dummyfeesresult_free: (a: number) => void;
5544
- readonly dummyfeesresult_storageFee: (a: number) => number;
5545
- readonly dummyfeesresult_processingFee: (a: number) => number;
5546
- readonly dummyfeesresult_feeRefunds: (a: number) => number;
5547
- readonly dummyfeesresult_set_storageFee: (a: number, b: number, c: number) => void;
5548
- readonly dummyfeesresult_set_processingFee: (a: number, b: number, c: number) => void;
5549
- readonly dummyfeesresult_set_feeRefunds: (a: number, b: number, c: number) => void;
5550
- readonly __wbg_statetransitionexecutioncontext_free: (a: number) => void;
5551
- readonly statetransitionexecutioncontext_new: () => number;
5552
- readonly statetransitionexecutioncontext_enableDryRun: (a: number) => void;
5553
- readonly statetransitionexecutioncontext_disableDryRun: (a: number) => void;
5554
- readonly statetransitionexecutioncontext_isDryRun: (a: number) => number;
5555
- readonly statetransitionexecutioncontext_addOperation: (a: number, b: number, c: number) => void;
5556
- readonly statetransitionexecutioncontext_getDryOperations: (a: number, b: number) => void;
5557
- readonly statetransitionexecutioncontext_getOperations: (a: number, b: number) => void;
5558
- readonly statetransitionexecutioncontext_clearDryOperations: (a: number) => void;
5559
- readonly indexproperty_getName: (a: number, b: number) => void;
5822
+ readonly identitypublickeyisdisablederror_getPublicKeyIndex: (a: number) => number;
5823
+ readonly identitypublickeyisdisablederror_getCode: (a: number) => number;
5824
+ readonly identitypublickeyisdisablederror_message: (a: number, b: number) => void;
5825
+ readonly identitypublickeyisdisablederror_serialize: (a: number, b: number) => void;
5826
+ readonly maxidentitypublickeylimitreachederror_getMaxItems: (a: number) => number;
5827
+ readonly maxidentitypublickeylimitreachederror_getCode: (a: number) => number;
5828
+ readonly maxidentitypublickeylimitreachederror_message: (a: number, b: number) => void;
5829
+ readonly maxidentitypublickeylimitreachederror_serialize: (a: number, b: number) => void;
5830
+ readonly __wbg_identityfactory_free: (a: number) => void;
5831
+ readonly identityfactory_new: (a: number, b: number, c: number) => void;
5832
+ readonly identityfactory_create: (a: number, b: number, c: number, d: number) => void;
5833
+ readonly identityfactory_createFromObject: (a: number, b: number, c: number, d: number) => void;
5834
+ readonly identityfactory_createFromBuffer: (a: number, b: number, c: number, d: number, e: number) => void;
5835
+ readonly identityfactory_createInstantAssetLockProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
5836
+ readonly identityfactory_createChainAssetLockProof: (a: number, b: number, c: number, d: number, e: number) => void;
5837
+ readonly identityfactory_createIdentityCreateTransition: (a: number, b: number, c: number) => void;
5838
+ readonly identityfactory_createIdentityTopUpTransition: (a: number, b: number, c: number, d: number) => void;
5839
+ readonly identityfactory_createIdentityCreditTransferTransition: (a: number, b: number, c: number, d: number, e: number) => void;
5840
+ readonly identityfactory_createIdentityUpdateTransition: (a: number, b: number, c: number, d: number) => void;
5841
+ readonly generateTemporaryEcdsaPrivateKey: () => number;
5842
+ readonly __wbg_invalidassetlocktransactionoutputreturnsizeerror_free: (a: number) => void;
5843
+ readonly __wbg_invalididentityassetlocktransactionoutputerror_free: (a: number) => void;
5844
+ readonly __wbg_notimplementedidentitycreditwithdrawaltransitionpoolingerror_free: (a: number) => void;
5560
5845
  readonly __wbg_identityassetlocktransactionisnotfounderror_free: (a: number) => void;
5561
- readonly __wbg_documentalreadypresenterror_free: (a: number) => void;
5562
- readonly __wbg_documentnotfounderror_free: (a: number) => void;
5563
5846
  readonly __wbg_documenttimestampsareequalerror_free: (a: number) => void;
5564
- readonly __wbg_documenttimestampsmismatcherror_free: (a: number) => void;
5565
5847
  readonly __wbg_identityalreadyexistserror_free: (a: number) => void;
5566
- readonly __wbg_serializedobjectparsingerror_free: (a: number) => void;
5567
- readonly __wbg_invalididentityassetlocktransactionerror_free: (a: number) => void;
5568
- readonly __wbg_jsonschemacompilationerror_free: (a: number) => void;
5569
- readonly __wbg_valueerror_free: (a: number) => void;
5570
- readonly __wbg_invalidactionnameerror_free: (a: number) => void;
5571
- readonly invalidactionnameerror_new: (a: number, b: number) => number;
5572
- readonly invalidactionnameerror_getActions: (a: number, b: number) => void;
5848
+ readonly __wbg_identitypublickeyisdisablederror_free: (a: number) => void;
5849
+ readonly __wbg_maxidentitypublickeylimitreachederror_free: (a: number) => void;
5850
+ readonly applyDocumentsBatchTransition: (a: number, b: number, c: number) => number;
5851
+ readonly validateDocumentsBatchTransitionState: (a: number, b: number, c: number) => number;
5852
+ readonly __wbg_documentvalidator_free: (a: number) => void;
5853
+ readonly documentvalidator_new: (a: number) => number;
5854
+ readonly documentvalidator_validate: (a: number, b: number, c: number, d: number) => void;
5573
5855
  readonly __wbg_document_free: (a: number) => void;
5574
5856
  readonly document_new: (a: number, b: number, c: number, d: number) => void;
5575
5857
  readonly document_getId: (a: number) => number;
@@ -5591,36 +5873,24 @@ export interface InitOutput {
5591
5873
  readonly document_toBuffer: (a: number, b: number) => void;
5592
5874
  readonly document_hash: (a: number, b: number, c: number, d: number, e: number) => void;
5593
5875
  readonly document_clone: (a: number) => number;
5594
- readonly __wbg_invalidjsonschemareferror_free: (a: number) => void;
5595
- readonly invalidjsonschemareferror_getRefError: (a: number, b: number) => void;
5596
- readonly invalidjsonschemareferror_getCode: (a: number) => number;
5597
- readonly invalidjsonschemareferror_message: (a: number, b: number) => void;
5598
- readonly invalidjsonschemareferror_serialize: (a: number, b: number) => void;
5599
- readonly __wbg_identityassetlocktransactionoutputnotfounderror_free: (a: number) => void;
5600
- readonly identityassetlocktransactionoutputnotfounderror_getOutputIndex: (a: number) => number;
5601
- readonly identityassetlocktransactionoutputnotfounderror_getCode: (a: number) => number;
5602
- readonly identityassetlocktransactionoutputnotfounderror_message: (a: number, b: number) => void;
5603
- readonly identityassetlocktransactionoutputnotfounderror_serialize: (a: number, b: number) => void;
5604
- readonly invalidassetlocktransactionoutputreturnsizeerror_getOutputIndex: (a: number) => number;
5605
- readonly invalidassetlocktransactionoutputreturnsizeerror_getCode: (a: number) => number;
5606
- readonly invalidassetlocktransactionoutputreturnsizeerror_message: (a: number, b: number) => void;
5607
- readonly invalidassetlocktransactionoutputreturnsizeerror_serialize: (a: number, b: number) => void;
5608
- readonly invalididentityassetlocktransactionoutputerror_getOutputIndex: (a: number) => number;
5609
- readonly invalididentityassetlocktransactionoutputerror_getCode: (a: number) => number;
5610
- readonly invalididentityassetlocktransactionoutputerror_message: (a: number, b: number) => void;
5611
- readonly invalididentityassetlocktransactionoutputerror_serialize: (a: number, b: number) => void;
5876
+ readonly __wbg_systempropertyindexalreadypresenterror_free: (a: number) => void;
5877
+ readonly systempropertyindexalreadypresenterror_getDocumentType: (a: number, b: number) => void;
5878
+ readonly systempropertyindexalreadypresenterror_getIndexName: (a: number, b: number) => void;
5879
+ readonly systempropertyindexalreadypresenterror_getPropertyName: (a: number, b: number) => void;
5880
+ readonly systempropertyindexalreadypresenterror_getCode: (a: number) => number;
5881
+ readonly systempropertyindexalreadypresenterror_message: (a: number, b: number) => void;
5882
+ readonly systempropertyindexalreadypresenterror_serialize: (a: number, b: number) => void;
5883
+ readonly undefinedindexpropertyerror_getDocumentType: (a: number, b: number) => void;
5884
+ readonly undefinedindexpropertyerror_getIndexName: (a: number, b: number) => void;
5885
+ readonly undefinedindexpropertyerror_getPropertyName: (a: number, b: number) => void;
5886
+ readonly undefinedindexpropertyerror_getCode: (a: number) => number;
5887
+ readonly undefinedindexpropertyerror_message: (a: number, b: number) => void;
5888
+ readonly undefinedindexpropertyerror_serialize: (a: number, b: number) => void;
5889
+ readonly __wbg_invalididentitycreditwithdrawaltransitioncorefeeerror_free: (a: number) => void;
5612
5890
  readonly invalididentitycreditwithdrawaltransitioncorefeeerror_getCoreFee: (a: number) => number;
5613
5891
  readonly invalididentitycreditwithdrawaltransitioncorefeeerror_getCode: (a: number) => number;
5614
5892
  readonly invalididentitycreditwithdrawaltransitioncorefeeerror_message: (a: number, b: number) => void;
5615
5893
  readonly invalididentitycreditwithdrawaltransitioncorefeeerror_serialize: (a: number, b: number) => void;
5616
- readonly __wbg_invalididentitycreditwithdrawaltransitionoutputscripterror_free: (a: number) => void;
5617
- readonly invalididentitycreditwithdrawaltransitionoutputscripterror_getCode: (a: number) => number;
5618
- readonly invalididentitycreditwithdrawaltransitionoutputscripterror_message: (a: number, b: number) => void;
5619
- readonly invalididentitycreditwithdrawaltransitionoutputscripterror_serialize: (a: number, b: number) => void;
5620
- readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_getPooling: (a: number) => number;
5621
- readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_getCode: (a: number) => number;
5622
- readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_message: (a: number, b: number) => void;
5623
- readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_serialize: (a: number, b: number) => void;
5624
5894
  readonly invalididentitykeysignatureerror_getPublicKeyId: (a: number) => number;
5625
5895
  readonly invalididentitykeysignatureerror_getCode: (a: number) => number;
5626
5896
  readonly invalididentitykeysignatureerror_message: (a: number, b: number) => void;
@@ -5633,191 +5903,90 @@ export interface InitOutput {
5633
5903
  readonly publickeyisdisablederror_getCode: (a: number) => number;
5634
5904
  readonly publickeyisdisablederror_message: (a: number, b: number) => void;
5635
5905
  readonly publickeyisdisablederror_serialize: (a: number, b: number) => void;
5636
- readonly deserializeConsensusError: (a: number, b: number, c: number) => void;
5637
- readonly identitypublickeyisdisablederror_getPublicKeyIndex: (a: number) => number;
5638
- readonly identitypublickeyisdisablederror_getCode: (a: number) => number;
5639
- readonly identitypublickeyisdisablederror_message: (a: number, b: number) => void;
5640
- readonly identitypublickeyisdisablederror_serialize: (a: number, b: number) => void;
5906
+ readonly __wbg_datatriggerinvalidresulterror_free: (a: number) => void;
5907
+ readonly datatriggerinvalidresulterror_getDataContractId: (a: number) => number;
5908
+ readonly datatriggerinvalidresulterror_getDocumentId: (a: number) => number;
5909
+ readonly datatriggerinvalidresulterror_getCode: (a: number) => number;
5910
+ readonly datatriggerinvalidresulterror_message: (a: number, b: number) => void;
5911
+ readonly datatriggerinvalidresulterror_serialize: (a: number, b: number) => void;
5912
+ readonly __wbg_datatriggeractioninvalidresulterror_free: (a: number) => void;
5913
+ readonly datatriggeractioninvalidresulterror_getDataContractId: (a: number) => number;
5914
+ readonly datatriggeractioninvalidresulterror_getDocumentTransitionId: (a: number) => number;
5915
+ readonly datatriggeractioninvalidresulterror_getOwnerId: (a: number) => number;
5916
+ readonly datatriggeractioninvalidresulterror_getCode: (a: number) => number;
5641
5917
  readonly invalididentitypublickeyiderror_getId: (a: number) => number;
5642
5918
  readonly invalididentitypublickeyiderror_getCode: (a: number) => number;
5643
5919
  readonly invalididentitypublickeyiderror_message: (a: number, b: number) => void;
5644
5920
  readonly invalididentitypublickeyiderror_serialize: (a: number, b: number) => void;
5645
- readonly maxidentitypublickeylimitreachederror_getMaxItems: (a: number) => number;
5646
- readonly maxidentitypublickeylimitreachederror_getCode: (a: number) => number;
5647
- readonly maxidentitypublickeylimitreachederror_message: (a: number, b: number) => void;
5648
- readonly maxidentitypublickeylimitreachederror_serialize: (a: number, b: number) => void;
5649
- readonly __wbg_identitycreatetransition_free: (a: number) => void;
5650
- readonly identitycreatetransition_new: (a: number, b: number) => void;
5651
- readonly identitycreatetransition_setAssetLockProof: (a: number, b: number, c: number) => void;
5652
- readonly identitycreatetransition_assetLockProof: (a: number) => number;
5653
- readonly identitycreatetransition_setPublicKeys: (a: number, b: number, c: number, d: number) => void;
5654
- readonly identitycreatetransition_addPublicKeys: (a: number, b: number, c: number, d: number) => void;
5655
- readonly identitycreatetransition_getPublicKeys: (a: number, b: number) => void;
5656
- readonly identitycreatetransition_getType: (a: number) => number;
5657
- readonly identitycreatetransition_getIdentityId: (a: number) => number;
5658
- readonly identitycreatetransition_getOwnerId: (a: number) => number;
5659
- readonly identitycreatetransition_toObject: (a: number, b: number, c: number) => void;
5660
- readonly identitycreatetransition_toBuffer: (a: number, b: number) => void;
5661
- readonly identitycreatetransition_toJSON: (a: number, b: number) => void;
5662
- readonly identitycreatetransition_getModifiedDataIds: (a: number, b: number) => void;
5663
- readonly identitycreatetransition_isDataContractStateTransition: (a: number) => number;
5664
- readonly identitycreatetransition_isDocumentStateTransition: (a: number) => number;
5665
- readonly identitycreatetransition_isIdentityStateTransition: (a: number) => number;
5666
- readonly identitycreatetransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
5667
- readonly identitycreatetransition_getSignature: (a: number) => number;
5668
- readonly identitycreatetransition_setSignature: (a: number, b: number, c: number) => void;
5669
- readonly __wbg_readoperation_free: (a: number) => void;
5670
- readonly readoperation_new: (a: number, b: number) => void;
5671
- readonly readoperation_processingCost: (a: number, b: number) => void;
5672
- readonly readoperation_storageCost: (a: number, b: number) => void;
5673
- readonly readoperation_refunds: (a: number) => number;
5674
- readonly readoperation_toJSON: (a: number, b: number) => void;
5675
- readonly __wbg_statetransitionfeevalidator_free: (a: number) => void;
5676
- readonly statetransitionfeevalidator_new: (a: number) => number;
5677
- readonly statetransitionfeevalidator_validate: (a: number, b: number, c: number) => number;
5678
- readonly identitycreatetransition_publicKeys: (a: number, b: number) => void;
5679
- readonly identitycreatetransition_getAssetLockProof: (a: number) => number;
5680
- readonly identitycreatetransition_identityId: (a: number) => number;
5681
- readonly __wbg_invalidassetlocktransactionoutputreturnsizeerror_free: (a: number) => void;
5682
- readonly __wbg_invalididentityassetlocktransactionoutputerror_free: (a: number) => void;
5683
- readonly __wbg_invalididentitycreditwithdrawaltransitioncorefeeerror_free: (a: number) => void;
5684
- readonly __wbg_notimplementedidentitycreditwithdrawaltransitionpoolingerror_free: (a: number) => void;
5921
+ readonly __wbg_identitypublickey_free: (a: number) => void;
5922
+ readonly identitypublickey_new: (a: number, b: number) => void;
5923
+ readonly identitypublickey_getId: (a: number) => number;
5924
+ readonly identitypublickey_setId: (a: number, b: number) => void;
5925
+ readonly identitypublickey_getType: (a: number) => number;
5926
+ readonly identitypublickey_setType: (a: number, b: number, c: number) => void;
5927
+ readonly identitypublickey_setData: (a: number, b: number, c: number, d: number) => void;
5928
+ readonly identitypublickey_getData: (a: number) => number;
5929
+ readonly identitypublickey_setPurpose: (a: number, b: number, c: number) => void;
5930
+ readonly identitypublickey_getPurpose: (a: number) => number;
5931
+ readonly identitypublickey_setSecurityLevel: (a: number, b: number, c: number) => void;
5932
+ readonly identitypublickey_getSecurityLevel: (a: number) => number;
5933
+ readonly identitypublickey_setReadOnly: (a: number, b: number) => void;
5934
+ readonly identitypublickey_isReadOnly: (a: number) => number;
5935
+ readonly identitypublickey_setDisabledAt: (a: number, b: number) => void;
5936
+ readonly identitypublickey_getDisabledAt: (a: number) => number;
5937
+ readonly identitypublickey_hash: (a: number, b: number) => void;
5938
+ readonly identitypublickey_isMaster: (a: number) => number;
5939
+ readonly identitypublickey_toJSON: (a: number, b: number) => void;
5940
+ readonly identitypublickey_toObject: (a: number, b: number) => void;
5941
+ readonly applyIdentityCreateTransition: (a: number, b: number, c: number) => number;
5942
+ readonly applyIdentityCreditTransferTransition: (a: number, b: number, c: number) => number;
5943
+ readonly __wbg_identitycredittransfertransitionbasicvalidator_free: (a: number) => void;
5944
+ readonly identitycredittransfertransitionbasicvalidator_new: (a: number) => void;
5945
+ readonly identitycredittransfertransitionbasicvalidator_validate: (a: number, b: number) => number;
5946
+ readonly applyIdentityTopUpTransition: (a: number, b: number, c: number) => number;
5947
+ readonly applyIdentityUpdateTransition: (a: number, b: number, c: number) => number;
5948
+ readonly __wbg_undefinedindexpropertyerror_free: (a: number) => void;
5685
5949
  readonly __wbg_invalididentitykeysignatureerror_free: (a: number) => void;
5686
5950
  readonly __wbg_missingpublickeyerror_free: (a: number) => void;
5687
5951
  readonly __wbg_publickeyisdisablederror_free: (a: number) => void;
5688
- readonly __wbg_identitypublickeyisdisablederror_free: (a: number) => void;
5689
5952
  readonly __wbg_invalididentitypublickeyiderror_free: (a: number) => void;
5690
- readonly __wbg_maxidentitypublickeylimitreachederror_free: (a: number) => void;
5691
- readonly __wbg_dashplatformprotocol_free: (a: number) => void;
5692
- readonly dashplatformprotocol_new: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
5693
- readonly dashplatformprotocol_data_contract: (a: number) => number;
5694
- readonly dashplatformprotocol_document: (a: number) => number;
5695
- readonly dashplatformprotocol_identity: (a: number) => number;
5696
- readonly dashplatformprotocol_state_transition: (a: number) => number;
5697
- readonly dashplatformprotocol_getProtocolVersion: (a: number) => number;
5698
- readonly dashplatformprotocol_setProtocolVersion: (a: number, b: number, c: number) => void;
5699
- readonly dashplatformprotocol_setStateRepository: (a: number, b: number, c: number) => void;
5700
- readonly dashplatformprotocol_getStateRepository: (a: number) => number;
5701
- readonly __wbg_documentnorevisionerror_free: (a: number) => void;
5702
- readonly documentnorevisionerror_new: (a: number) => number;
5703
- readonly documentnorevisionerror_getDocument: (a: number) => number;
5704
- readonly __wbg_invalidinitialrevisionerror_free: (a: number) => void;
5705
- readonly invalidinitialrevisionerror_new: (a: number) => number;
5706
- readonly invalidinitialrevisionerror_getDocument: (a: number) => number;
5707
- readonly __wbg_jsonschemaerror_free: (a: number) => void;
5708
- readonly jsonschemaerror_getKeyword: (a: number, b: number) => void;
5709
- readonly jsonschemaerror_getInstancePath: (a: number, b: number) => void;
5710
- readonly jsonschemaerror_getSchemaPath: (a: number, b: number) => void;
5711
- readonly jsonschemaerror_getPropertyName: (a: number, b: number) => void;
5712
- readonly jsonschemaerror_getParams: (a: number, b: number) => void;
5713
- readonly jsonschemaerror_getCode: (a: number) => number;
5714
- readonly jsonschemaerror_toString: (a: number, b: number) => void;
5715
- readonly jsonschemaerror_message: (a: number, b: number) => void;
5716
- readonly jsonschemaerror_serialize: (a: number, b: number) => void;
5717
- readonly __wbg_documenttimestampwindowviolationerror_free: (a: number) => void;
5718
- readonly documenttimestampwindowviolationerror_getDocumentId: (a: number) => number;
5719
- readonly documenttimestampwindowviolationerror_getTimestampName: (a: number, b: number) => void;
5720
- readonly documenttimestampwindowviolationerror_getTimestamp: (a: number) => number;
5721
- readonly documenttimestampwindowviolationerror_getTimeWindowStart: (a: number) => number;
5722
- readonly documenttimestampwindowviolationerror_getTimeWindowEnd: (a: number) => number;
5723
- readonly documenttimestampwindowviolationerror_getCode: (a: number) => number;
5724
- readonly documenttimestampwindowviolationerror_message: (a: number, b: number) => void;
5725
- readonly documenttimestampwindowviolationerror_serialize: (a: number, b: number) => void;
5726
- readonly datacontractnotpresentnotconsensuserror_getDataContractId: (a: number) => number;
5727
- readonly __wbg_identityfactory_free: (a: number) => void;
5728
- readonly identityfactory_new: (a: number, b: number, c: number) => void;
5729
- readonly identityfactory_create: (a: number, b: number, c: number, d: number) => void;
5730
- readonly identityfactory_createFromObject: (a: number, b: number, c: number, d: number) => void;
5731
- readonly identityfactory_createFromBuffer: (a: number, b: number, c: number, d: number, e: number) => void;
5732
- readonly identityfactory_createInstantAssetLockProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
5733
- readonly identityfactory_createChainAssetLockProof: (a: number, b: number, c: number, d: number, e: number) => void;
5734
- readonly identityfactory_createIdentityCreateTransition: (a: number, b: number, c: number) => void;
5735
- readonly identityfactory_createIdentityTopUpTransition: (a: number, b: number, c: number, d: number) => void;
5736
- readonly identityfactory_createIdentityUpdateTransition: (a: number, b: number, c: number, d: number) => void;
5737
- readonly __wbg_assetlockoutputnotfounderror_free: (a: number) => void;
5738
- readonly __wbg_assetlocktransactionisnotfounderror_free: (a: number) => void;
5739
- readonly assetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
5740
- readonly __wbg_identitycreatetransitionbasicvalidator_free: (a: number) => void;
5741
- readonly identitycreatetransitionbasicvalidator_new: (a: number, b: number, c: number) => void;
5742
- readonly identitycreatetransitionbasicvalidator_validate: (a: number, b: number, c: number) => number;
5743
- readonly generateTemporaryEcdsaPrivateKey: () => number;
5744
- readonly tryingtoreplaceimmutabledocumenterror_new: (a: number) => number;
5745
- readonly dashplatformprotocol_protocol_version: (a: number) => number;
5746
- readonly __wbg_tryingtoreplaceimmutabledocumenterror_free: (a: number) => void;
5747
- readonly __wbg_datacontractnotpresentnotconsensuserror_free: (a: number) => void;
5748
- readonly datacontractgenericerror_getMessage: (a: number, b: number) => void;
5749
- readonly __wbg_documentalreadyexistserror_free: (a: number) => void;
5750
- readonly documentalreadyexistserror_getDocumentTransition: (a: number) => number;
5751
- readonly findDuplicatesById: (a: number, b: number) => void;
5752
- readonly invalididentitypublickeytypeerror_new: (a: number, b: number) => void;
5753
- readonly invalididentitypublickeytypeerror_getPublicKeyType: (a: number) => number;
5754
- readonly invalididentitypublickeytypeerror_getCode: (a: number) => number;
5755
- readonly invalididentitypublickeytypeerror_message: (a: number, b: number) => void;
5756
- readonly invalididentitypublickeytypeerror_serialize: (a: number, b: number) => void;
5953
+ readonly __wbg_datatriggerexecutioncontext_free: (a: number) => void;
5954
+ readonly datatriggerexecutioncontext_new: (a: number, b: number, c: number, d: number, e: number) => void;
5955
+ readonly datatriggerexecutioncontext_ownerId: (a: number) => number;
5956
+ readonly datatriggerexecutioncontext_set_ownerId: (a: number, b: number, c: number) => void;
5957
+ readonly datatriggerexecutioncontext_dataContract: (a: number) => number;
5958
+ readonly datatriggerexecutioncontext_set_dataContract: (a: number, b: number) => void;
5959
+ readonly datatriggerexecutioncontext_stateTransitionExecutionContext: (a: number) => number;
5960
+ readonly datatriggerexecutioncontext_set_statTransitionExecutionContext: (a: number, b: number) => void;
5961
+ readonly __wbg_invalidactionerror_free: (a: number) => void;
5962
+ readonly __wbg_nodocumentssuppliederror_free: (a: number) => void;
5963
+ readonly __wbg_documentfacade_free: (a: number) => void;
5964
+ readonly documentfacade_new: (a: number, b: number, c: number) => number;
5965
+ readonly documentfacade_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
5966
+ readonly documentfacade_createFromObject: (a: number, b: number, c: number) => number;
5967
+ readonly documentfacade_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
5968
+ readonly documentfacade_createExtendedDocumentFromDocumentBuffer: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
5969
+ readonly documentfacade_createStateTransition: (a: number, b: number, c: number) => void;
5970
+ readonly documentfacade_validate: (a: number, b: number) => number;
5971
+ readonly documentfacade_validate_raw_document: (a: number, b: number) => number;
5972
+ readonly __wbg_fetchandvalidatedatacontractfactory_free: (a: number) => void;
5973
+ readonly fetchandvalidatedatacontractfactory_new: (a: number) => number;
5974
+ readonly fetchandvalidatedatacontractfactory_validate: (a: number, b: number) => number;
5975
+ readonly fetchAndValidateDataContract: (a: number, b: number) => number;
5976
+ readonly validateDocumentsBatchTransitionBasic: (a: number, b: number, c: number, d: number) => number;
5757
5977
  readonly invalidinstantassetlockprooferror_getCode: (a: number) => number;
5758
5978
  readonly invalidinstantassetlockprooferror_message: (a: number, b: number) => void;
5759
5979
  readonly invalidinstantassetlockprooferror_serialize: (a: number, b: number) => void;
5760
- readonly __wbg_basicblserror_free: (a: number) => void;
5761
- readonly basicblserror_getCode: (a: number) => number;
5762
- readonly basicblserror_message: (a: number, b: number) => void;
5763
- readonly basicblserror_serialize: (a: number, b: number) => void;
5980
+ readonly __wbg_basicecdsaerror_free: (a: number) => void;
5764
5981
  readonly basicecdsaerror_getCode: (a: number) => number;
5765
5982
  readonly basicecdsaerror_message: (a: number, b: number) => void;
5766
5983
  readonly basicecdsaerror_serialize: (a: number, b: number) => void;
5767
- readonly signatureshouldnotbepresenterror_getCode: (a: number) => number;
5768
- readonly signatureshouldnotbepresenterror_message: (a: number, b: number) => void;
5769
- readonly signatureshouldnotbepresenterror_serialize: (a: number, b: number) => void;
5770
- readonly __wbg_compatibleprotocolversionisnotdefinederror_free: (a: number) => void;
5771
- readonly compatibleprotocolversionisnotdefinederror_getCurrentProtocolVersion: (a: number) => number;
5772
- readonly unknownassetlockprooftypeerror_getType: (a: number) => number;
5773
- readonly __wbg_assetlockproof_free: (a: number) => void;
5774
- readonly assetlockproof_new: (a: number, b: number) => void;
5775
- readonly assetlockproof_createIdentifier: (a: number, b: number) => void;
5776
- readonly assetlockproof_toObject: (a: number, b: number) => void;
5777
- readonly createAssetLockProofInstance: (a: number, b: number) => void;
5778
- readonly validateAssetLockTransaction: (a: number, b: number, c: number, d: number, e: number) => number;
5779
- readonly fetchAssetLockTransactionOutput: (a: number, b: number, c: number) => number;
5780
- readonly fetchAssetLockPublicKeyHash: (a: number, b: number, c: number) => number;
5781
- readonly calculateOperationFees: (a: number, b: number) => void;
5782
- readonly validateStateTransitionIdentitySignature: (a: number, b: number, c: number, d: number) => number;
5783
- readonly __wbg_protocolversionvalidator_free: (a: number) => void;
5784
- readonly protocolversionvalidator_new: (a: number, b: number) => void;
5785
- readonly protocolversionvalidator_validate: (a: number, b: number, c: number) => void;
5786
- readonly __wbg_documentnotprovidederror_free: (a: number) => void;
5787
- readonly __wbg_invaliddocumentactionerror_free: (a: number) => void;
5788
- readonly __wbg_invalididentitypublickeytypeerror_free: (a: number) => void;
5789
- readonly __wbg_unknownassetlockprooftypeerror_free: (a: number) => void;
5790
- readonly documentnotprovidederror_getDocumentTransition: (a: number) => number;
5791
- readonly invaliddocumentactionerror_getDocumentTransition: (a: number) => number;
5792
- readonly __wbg_invalidinstantassetlockprooferror_free: (a: number) => void;
5793
- readonly __wbg_datacontractgenericerror_free: (a: number) => void;
5794
- readonly __wbg_basicecdsaerror_free: (a: number) => void;
5795
- readonly __wbg_signatureshouldnotbepresenterror_free: (a: number) => void;
5796
- readonly __wbg_revisionabsenterror_free: (a: number) => void;
5797
- readonly revisionabsenterror_new: (a: number) => number;
5798
- readonly revisionabsenterror_getDocument: (a: number) => number;
5799
- readonly __wbg_protocolversionparsingerror_free: (a: number) => void;
5800
- readonly protocolversionparsingerror_new: (a: number, b: number) => number;
5801
- readonly protocolversionparsingerror_getParsingError: (a: number, b: number) => void;
5802
- readonly protocolversionparsingerror_getCode: (a: number) => number;
5803
- readonly protocolversionparsingerror_serialize: (a: number, b: number) => void;
5804
- readonly protocolversionparsingerror_message: (a: number, b: number) => void;
5805
- readonly missingdatacontractiderror_getCode: (a: number) => number;
5806
- readonly missingdatacontractiderror_message: (a: number, b: number) => void;
5807
- readonly missingdatacontractiderror_serialize: (a: number, b: number) => void;
5808
- readonly missingdocumenttransitiontypeerror_getCode: (a: number) => number;
5809
- readonly missingdocumenttransitiontypeerror_message: (a: number, b: number) => void;
5810
- readonly missingdocumenttransitiontypeerror_serialize: (a: number, b: number) => void;
5811
- readonly __wbg_invalidinstantassetlockproofsignatureerror_free: (a: number) => void;
5812
- readonly invalidinstantassetlockproofsignatureerror_getCode: (a: number) => number;
5813
- readonly invalidinstantassetlockproofsignatureerror_message: (a: number, b: number) => void;
5814
- readonly invalidinstantassetlockproofsignatureerror_serialize: (a: number, b: number) => void;
5815
- readonly missingmasterpublickeyerror_getCode: (a: number) => number;
5816
- readonly missingmasterpublickeyerror_message: (a: number, b: number) => void;
5817
- readonly missingmasterpublickeyerror_serialize: (a: number, b: number) => void;
5818
- readonly invalidstatetransitionsignatureerror_getCode: (a: number) => number;
5819
- readonly invalidstatetransitionsignatureerror_message: (a: number, b: number) => void;
5820
- readonly invalidstatetransitionsignatureerror_serialize: (a: number, b: number) => void;
5984
+ readonly getCreditsConversionRatio: () => number;
5985
+ readonly __wbg_identitycreatetransitionbasicvalidator_free: (a: number) => void;
5986
+ readonly identitycreatetransitionbasicvalidator_new: (a: number, b: number, c: number) => void;
5987
+ readonly identitycreatetransitionbasicvalidator_validate: (a: number, b: number, c: number) => number;
5988
+ readonly identitycredittransfertransitionstatevalidator_new: (a: number, b: number) => void;
5989
+ readonly identitycredittransfertransitionstatevalidator_validate: (a: number, b: number, c: number) => number;
5821
5990
  readonly __wbg_identitytopuptransition_free: (a: number) => void;
5822
5991
  readonly identitytopuptransition_new: (a: number, b: number) => void;
5823
5992
  readonly identitytopuptransition_setAssetLockProof: (a: number, b: number, c: number) => void;
@@ -5835,81 +6004,156 @@ export interface InitOutput {
5835
6004
  readonly identitytopuptransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
5836
6005
  readonly identitytopuptransition_getSignature: (a: number) => number;
5837
6006
  readonly identitytopuptransition_setSignature: (a: number, b: number, c: number) => void;
6007
+ readonly calculateOperationFees: (a: number, b: number) => void;
6008
+ readonly __wbg_dummyfeesresult_free: (a: number) => void;
6009
+ readonly dummyfeesresult_storageFee: (a: number) => number;
6010
+ readonly dummyfeesresult_processingFee: (a: number) => number;
6011
+ readonly dummyfeesresult_feeRefunds: (a: number) => number;
6012
+ readonly dummyfeesresult_set_storageFee: (a: number, b: number, c: number) => void;
6013
+ readonly dummyfeesresult_set_processingFee: (a: number, b: number, c: number) => void;
6014
+ readonly dummyfeesresult_set_feeRefunds: (a: number, b: number, c: number) => void;
6015
+ readonly __wbg_signatureverificationoperation_free: (a: number) => void;
6016
+ readonly signatureverificationoperation_new: (a: number, b: number) => void;
6017
+ readonly signatureverificationoperation_getProcessingCost: (a: number, b: number) => void;
6018
+ readonly signatureverificationoperation_getStorageCost: (a: number, b: number) => void;
6019
+ readonly signatureverificationoperation_refunds: (a: number) => number;
6020
+ readonly signatureverificationoperation_toJSON: (a: number, b: number) => void;
6021
+ readonly __wbg_statetransitionexecutioncontext_free: (a: number) => void;
6022
+ readonly statetransitionexecutioncontext_new: () => number;
6023
+ readonly statetransitionexecutioncontext_enableDryRun: (a: number) => void;
6024
+ readonly statetransitionexecutioncontext_disableDryRun: (a: number) => void;
6025
+ readonly statetransitionexecutioncontext_isDryRun: (a: number) => number;
6026
+ readonly statetransitionexecutioncontext_addOperation: (a: number, b: number, c: number) => void;
6027
+ readonly statetransitionexecutioncontext_getDryOperations: (a: number, b: number) => void;
6028
+ readonly statetransitionexecutioncontext_getOperations: (a: number, b: number) => void;
6029
+ readonly statetransitionexecutioncontext_clearDryOperations: (a: number) => void;
6030
+ readonly getLatestProtocolVersion: () => number;
6031
+ readonly invalidactionterror_new: (a: number) => number;
6032
+ readonly nodocumentssuppliederror_new: () => number;
6033
+ readonly __wbg_invalidinstantassetlockprooferror_free: (a: number) => void;
6034
+ readonly __wbg_identitycredittransfertransitionstatevalidator_free: (a: number) => void;
5838
6035
  readonly identitytopuptransition_getAssetLockProof: (a: number) => number;
5839
6036
  readonly identitytopuptransition_identityId: (a: number) => number;
5840
- readonly __wbg_missingdocumenttransitiontypeerror_free: (a: number) => void;
5841
- readonly __wbg_missingdatacontractiderror_free: (a: number) => void;
5842
- readonly __wbg_missingmasterpublickeyerror_free: (a: number) => void;
5843
- readonly __wbg_invalidstatetransitionsignatureerror_free: (a: number) => void;
5844
- readonly validateDataContractUpdateTransitionState: (a: number, b: number, c: number) => number;
5845
- readonly validateIndicesAreBackwardCompatible: (a: number, b: number, c: number) => void;
5846
- readonly validateDataContractUpdateTransitionBasic: (a: number, b: number, c: number) => number;
5847
- readonly __wbg_documentreplacetransition_free: (a: number) => void;
5848
- readonly documentreplacetransition_from_raw_object: (a: number, b: number, c: number) => void;
5849
- readonly documentreplacetransition_getAction: (a: number) => number;
5850
- readonly documentreplacetransition_getRevision: (a: number) => number;
5851
- readonly documentreplacetransition_getUpdatedAt: (a: number) => number;
5852
- readonly documentreplacetransition_toObject: (a: number, b: number, c: number) => void;
6037
+ readonly __wbg_dashplatformprotocol_free: (a: number) => void;
6038
+ readonly dashplatformprotocol_new: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6039
+ readonly dashplatformprotocol_data_contract: (a: number) => number;
6040
+ readonly dashplatformprotocol_document: (a: number) => number;
6041
+ readonly dashplatformprotocol_identity: (a: number) => number;
6042
+ readonly dashplatformprotocol_state_transition: (a: number) => number;
6043
+ readonly dashplatformprotocol_getProtocolVersion: (a: number) => number;
6044
+ readonly dashplatformprotocol_setProtocolVersion: (a: number, b: number, c: number) => void;
6045
+ readonly dashplatformprotocol_setStateRepository: (a: number, b: number, c: number) => void;
6046
+ readonly dashplatformprotocol_getStateRepository: (a: number) => number;
6047
+ readonly __wbg_basicblserror_free: (a: number) => void;
6048
+ readonly basicblserror_getCode: (a: number) => number;
6049
+ readonly basicblserror_message: (a: number, b: number) => void;
6050
+ readonly basicblserror_serialize: (a: number, b: number) => void;
6051
+ readonly signatureshouldnotbepresenterror_getCode: (a: number) => number;
6052
+ readonly signatureshouldnotbepresenterror_message: (a: number, b: number) => void;
6053
+ readonly signatureshouldnotbepresenterror_serialize: (a: number, b: number) => void;
6054
+ readonly __wbg_documenttimestampwindowviolationerror_free: (a: number) => void;
6055
+ readonly documenttimestampwindowviolationerror_getDocumentId: (a: number) => number;
6056
+ readonly documenttimestampwindowviolationerror_getTimestampName: (a: number, b: number) => void;
6057
+ readonly documenttimestampwindowviolationerror_getTimestamp: (a: number) => number;
6058
+ readonly documenttimestampwindowviolationerror_getTimeWindowStart: (a: number) => number;
6059
+ readonly documenttimestampwindowviolationerror_getTimeWindowEnd: (a: number) => number;
6060
+ readonly documenttimestampwindowviolationerror_getCode: (a: number) => number;
6061
+ readonly documenttimestampwindowviolationerror_message: (a: number, b: number) => void;
6062
+ readonly documenttimestampwindowviolationerror_serialize: (a: number, b: number) => void;
6063
+ readonly dashplatformprotocol_protocol_version: (a: number) => number;
6064
+ readonly __wbg_signatureshouldnotbepresenterror_free: (a: number) => void;
6065
+ readonly __wbg_datacontractgenericerror_free: (a: number) => void;
6066
+ readonly datacontractgenericerror_getMessage: (a: number, b: number) => void;
6067
+ readonly __wbg_invaliddatacontracterror_free: (a: number) => void;
6068
+ readonly invaliddatacontracterror_getErrors: (a: number, b: number) => void;
6069
+ readonly invaliddatacontracterror_getRawDataContract: (a: number) => number;
6070
+ readonly invaliddatacontracterror_getMessage: (a: number, b: number) => void;
6071
+ readonly validateDataContractCreateTransitionState: (a: number, b: number, c: number) => number;
6072
+ readonly validateDataContractCreateTransitionBasic: (a: number) => number;
6073
+ readonly executeDataTriggers: (a: number, b: number, c: number) => number;
6074
+ readonly __wbg_invalidactionnameerror_free: (a: number) => void;
6075
+ readonly invalidactionnameerror_new: (a: number, b: number) => number;
6076
+ readonly invalidactionnameerror_getActions: (a: number, b: number) => void;
6077
+ readonly __wbg_invaliddocumenterror_free: (a: number) => void;
6078
+ readonly invaliddocumenterror_new: (a: number, b: number, c: number) => number;
6079
+ readonly invaliddocumenterror_getErrors: (a: number, b: number) => void;
6080
+ readonly __wbg_mismatchowneridserror_free: (a: number) => void;
6081
+ readonly mismatchowneridserror_new: (a: number, b: number) => number;
6082
+ readonly mismatchowneridserror_getDocuments: (a: number, b: number) => void;
6083
+ readonly __wbg_documentdeletetransition_free: (a: number) => void;
6084
+ readonly documentdeletetransition_getAction: (a: number) => number;
6085
+ readonly documentdeletetransition_toObject: (a: number, b: number, c: number) => void;
6086
+ readonly documentdeletetransition_toJSON: (a: number, b: number) => void;
6087
+ readonly documentdeletetransition_getId: (a: number) => number;
6088
+ readonly documentdeletetransition_getType: (a: number, b: number) => void;
6089
+ readonly documentdeletetransition_getDataContract: (a: number) => number;
6090
+ readonly documentdeletetransition_getDataContractId: (a: number) => number;
6091
+ readonly documentdeletetransition_get: (a: number, b: number, c: number, d: number) => void;
6092
+ readonly __wbg_documentreplacetransition_free: (a: number) => void;
6093
+ readonly documentreplacetransition_from_raw_object: (a: number, b: number, c: number) => void;
6094
+ readonly documentreplacetransition_getRevision: (a: number) => number;
6095
+ readonly documentreplacetransition_getUpdatedAt: (a: number) => number;
6096
+ readonly documentreplacetransition_toObject: (a: number, b: number, c: number) => void;
5853
6097
  readonly documentreplacetransition_toJSON: (a: number, b: number) => void;
5854
6098
  readonly documentreplacetransition_getData: (a: number, b: number) => void;
5855
- readonly documentreplacetransition_getId: (a: number) => number;
5856
- readonly documentreplacetransition_getType: (a: number, b: number) => void;
5857
- readonly documentreplacetransition_getDataContract: (a: number) => number;
5858
- readonly documentreplacetransition_getDataContractId: (a: number) => number;
5859
6099
  readonly documentreplacetransition_get: (a: number, b: number, c: number, d: number) => void;
5860
- readonly validatePartialCompoundIndices: (a: number, b: number, c: number) => void;
5861
- readonly validateDocumentsUniquenessByIndices: (a: number, b: number, c: number, d: number, e: number) => number;
5862
- readonly __wbg_invalidindexedpropertyconstrainterror_free: (a: number) => void;
5863
- readonly invalidindexedpropertyconstrainterror_getDocumentType: (a: number, b: number) => void;
5864
- readonly invalidindexedpropertyconstrainterror_getIndexName: (a: number, b: number) => void;
5865
- readonly invalidindexedpropertyconstrainterror_getPropertyName: (a: number, b: number) => void;
5866
- readonly invalidindexedpropertyconstrainterror_getConstraintName: (a: number, b: number) => void;
5867
- readonly invalidindexedpropertyconstrainterror_getReason: (a: number, b: number) => void;
5868
- readonly invalidindexedpropertyconstrainterror_getCode: (a: number) => number;
5869
- readonly invalidindexedpropertyconstrainterror_message: (a: number, b: number) => void;
5870
- readonly invalidindexedpropertyconstrainterror_serialize: (a: number, b: number) => void;
5871
- readonly __wbg_missingdocumenttransitionactionerror_free: (a: number) => void;
5872
- readonly missingdocumenttransitionactionerror_getCode: (a: number) => number;
5873
- readonly missingdocumenttransitionactionerror_message: (a: number, b: number) => void;
5874
- readonly missingdocumenttransitionactionerror_serialize: (a: number, b: number) => void;
6100
+ readonly fetchExtendedDocuments: (a: number, b: number, c: number) => number;
6101
+ readonly protocolversionparsingerror_new: (a: number, b: number) => number;
6102
+ readonly protocolversionparsingerror_getParsingError: (a: number, b: number) => void;
6103
+ readonly protocolversionparsingerror_getCode: (a: number) => number;
6104
+ readonly protocolversionparsingerror_serialize: (a: number, b: number) => void;
6105
+ readonly protocolversionparsingerror_message: (a: number, b: number) => void;
6106
+ readonly missingdatacontractiderror_getCode: (a: number) => number;
6107
+ readonly missingdatacontractiderror_message: (a: number, b: number) => void;
6108
+ readonly missingdatacontractiderror_serialize: (a: number, b: number) => void;
6109
+ readonly missingdocumenttransitiontypeerror_getCode: (a: number) => number;
6110
+ readonly missingdocumenttransitiontypeerror_message: (a: number, b: number) => void;
6111
+ readonly missingdocumenttransitiontypeerror_serialize: (a: number, b: number) => void;
5875
6112
  readonly missingdocumenttypeerror_getCode: (a: number) => number;
5876
6113
  readonly missingdocumenttypeerror_message: (a: number, b: number) => void;
5877
6114
  readonly missingdocumenttypeerror_serialize: (a: number, b: number) => void;
5878
- readonly __wbg_invalidstatetransitiontypeerror_free: (a: number) => void;
5879
- readonly invalidstatetransitiontypeerror_new: (a: number) => number;
5880
- readonly invalidstatetransitiontypeerror_getType: (a: number) => number;
5881
- readonly invalidstatetransitiontypeerror_getCode: (a: number) => number;
5882
- readonly invalidstatetransitiontypeerror_message: (a: number, b: number) => void;
5883
- readonly invalidstatetransitiontypeerror_serialize: (a: number, b: number) => void;
5884
- readonly __wbg_balanceisnotenougherror_free: (a: number) => void;
5885
- readonly balanceisnotenougherror_new: (a: number, b: number) => number;
5886
- readonly balanceisnotenougherror_getBalance: (a: number) => number;
5887
- readonly balanceisnotenougherror_getFee: (a: number) => number;
5888
- readonly balanceisnotenougherror_getCode: (a: number) => number;
5889
- readonly balanceisnotenougherror_message: (a: number, b: number) => void;
5890
- readonly balanceisnotenougherror_serialize: (a: number, b: number) => void;
5891
- readonly __wbg_datacontractalreadypresenterror_free: (a: number) => void;
5892
- readonly datacontractalreadypresenterror_new: (a: number) => number;
5893
- readonly datacontractalreadypresenterror_getDataContractId: (a: number) => number;
5894
- readonly datacontractalreadypresenterror_getCode: (a: number) => number;
5895
- readonly datacontractalreadypresenterror_message: (a: number, b: number) => void;
5896
- readonly datacontractalreadypresenterror_serialize: (a: number, b: number) => void;
5897
- readonly __wbg_platformvalueerror_free: (a: number) => void;
5898
- readonly platformvalueerror_getMessage: (a: number, b: number) => void;
6115
+ readonly __wbg_invalidinstantassetlockproofsignatureerror_free: (a: number) => void;
6116
+ readonly invalidinstantassetlockproofsignatureerror_getCode: (a: number) => number;
6117
+ readonly invalidinstantassetlockproofsignatureerror_message: (a: number, b: number) => void;
6118
+ readonly invalidinstantassetlockproofsignatureerror_serialize: (a: number, b: number) => void;
6119
+ readonly invalidstatetransitionsignatureerror_getCode: (a: number) => number;
6120
+ readonly invalidstatetransitionsignatureerror_message: (a: number, b: number) => void;
6121
+ readonly invalidstatetransitionsignatureerror_serialize: (a: number, b: number) => void;
5899
6122
  readonly platformvalueerror_toString: (a: number, b: number) => void;
5900
- readonly __wbg_chainassetlockproof_free: (a: number) => void;
5901
- readonly chainassetlockproof_new: (a: number, b: number) => void;
5902
- readonly chainassetlockproof_getType: (a: number) => number;
5903
- readonly chainassetlockproof_getCoreChainLockedHeight: (a: number) => number;
5904
- readonly chainassetlockproof_setCoreChainLockedHeight: (a: number, b: number) => void;
5905
- readonly chainassetlockproof_getOutPoint: (a: number) => number;
5906
- readonly chainassetlockproof_setOutPoint: (a: number, b: number, c: number, d: number) => void;
5907
- readonly chainassetlockproof_toJSON: (a: number, b: number) => void;
5908
- readonly chainassetlockproof_toObject: (a: number, b: number) => void;
5909
- readonly chainassetlockproof_createIdentifier: (a: number, b: number) => void;
5910
- readonly __wbg_identityupdatetransitionbasicvalidator_free: (a: number) => void;
5911
- readonly identityupdatetransitionbasicvalidator_new: (a: number, b: number) => void;
5912
- readonly identityupdatetransitionbasicvalidator_validate: (a: number, b: number, c: number) => void;
6123
+ readonly __wbg_identitycreatetransitionstatevalidator_free: (a: number) => void;
6124
+ readonly identitycreatetransitionstatevalidator_new: (a: number) => number;
6125
+ readonly identitycreatetransitionstatevalidator_validate: (a: number, b: number, c: number) => number;
6126
+ readonly identitytopuptransitionstatevalidator_validate: (a: number, b: number, c: number) => number;
6127
+ readonly __wbg_identityupdatetransition_free: (a: number) => void;
6128
+ readonly identityupdatetransition_new: (a: number, b: number) => void;
6129
+ readonly identityupdatetransition_setPublicKeysToAdd: (a: number, b: number, c: number, d: number) => void;
6130
+ readonly identityupdatetransition_addPublicKeys: (a: number, b: number) => void;
6131
+ readonly identityupdatetransition_getPublicKeyIdsToDisable: (a: number, b: number) => void;
6132
+ readonly identityupdatetransition_setPublicKeyIdsToDisable: (a: number, b: number, c: number) => void;
6133
+ readonly identityupdatetransition_getPublicKeysDisabledAt: (a: number) => number;
6134
+ readonly identityupdatetransition_setPublicKeysDisabledAt: (a: number, b: number) => void;
6135
+ readonly identityupdatetransition_getType: (a: number) => number;
6136
+ readonly identityupdatetransition_getIdentityId: (a: number) => number;
6137
+ readonly identityupdatetransition_setIdentityId: (a: number, b: number) => void;
6138
+ readonly identityupdatetransition_getOwnerId: (a: number) => number;
6139
+ readonly identityupdatetransition_toObject: (a: number, b: number, c: number) => void;
6140
+ readonly identityupdatetransition_toBuffer: (a: number, b: number) => void;
6141
+ readonly identityupdatetransition_toJSON: (a: number, b: number) => void;
6142
+ readonly identityupdatetransition_getModifiedDataIds: (a: number, b: number) => void;
6143
+ readonly identityupdatetransition_isDataContractStateTransition: (a: number) => number;
6144
+ readonly identityupdatetransition_isDocumentStateTransition: (a: number) => number;
6145
+ readonly identityupdatetransition_isIdentityStateTransition: (a: number) => number;
6146
+ readonly identityupdatetransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6147
+ readonly identityupdatetransition_setSignaturePublicKeyId: (a: number, b: number, c: number) => void;
6148
+ readonly identityupdatetransition_getSignature: (a: number) => number;
6149
+ readonly identityupdatetransition_setSignature: (a: number, b: number, c: number) => void;
6150
+ readonly identityupdatetransition_getRevision: (a: number) => number;
6151
+ readonly identityupdatetransition_setRevision: (a: number, b: number) => void;
6152
+ readonly identityupdatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6153
+ readonly identityupdatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
6154
+ readonly __wbg_identityupdatetransitionstatevalidator_free: (a: number) => void;
6155
+ readonly identityupdatetransitionstatevalidator_new: (a: number, b: number) => void;
6156
+ readonly identityupdatetransitionstatevalidator_validate: (a: number, b: number, c: number) => number;
5913
6157
  readonly __wbg_identity_free: (a: number) => void;
5914
6158
  readonly identity_new: (a: number, b: number) => void;
5915
6159
  readonly identity_getProtocolVersion: (a: number) => number;
@@ -5936,39 +6180,54 @@ export interface InitOutput {
5936
6180
  readonly identity_addPublicKeys: (a: number, b: number, c: number) => void;
5937
6181
  readonly identity_getPublicKeyMaxId: (a: number) => number;
5938
6182
  readonly identity_fromBuffer: (a: number, b: number, c: number) => void;
5939
- readonly __wbg_feeresult_free: (a: number) => void;
5940
- readonly feeresult_new: () => number;
5941
- readonly feeresult_storageFee: (a: number) => number;
5942
- readonly feeresult_processingFee: (a: number) => number;
5943
- readonly feeresult_feeRefunds: (a: number) => number;
5944
- readonly feeresult_totalRefunds: (a: number) => number;
5945
- readonly feeresult_desiredAmount: (a: number) => number;
5946
- readonly feeresult_requiredAmount: (a: number) => number;
5947
- readonly feeresult_set_storageFee: (a: number, b: number, c: number) => void;
5948
- readonly feeresult_set_processingFee: (a: number, b: number, c: number) => void;
5949
- readonly feeresult_set_feeRefunds: (a: number, b: number, c: number) => void;
5950
- readonly feeresult_set_desiredAmount: (a: number, b: number, c: number) => void;
5951
- readonly feeresult_set_requiredAmount: (a: number, b: number, c: number) => void;
5952
- readonly feeresult_set_totalRefunds: (a: number, b: number, c: number) => void;
6183
+ readonly __wbg_metadata_free: (a: number) => void;
6184
+ readonly metadata_new: (a: number, b: number) => void;
6185
+ readonly metadata_from: (a: number, b: number) => void;
6186
+ readonly metadata_toJSON: (a: number) => number;
6187
+ readonly metadata_toObject: (a: number) => number;
6188
+ readonly metadata_getBlockHeight: (a: number) => number;
6189
+ readonly metadata_getCoreChainLockedHeight: (a: number) => number;
6190
+ readonly metadata_getTimeMs: (a: number) => number;
6191
+ readonly metadata_getProtocolVersion: (a: number) => number;
6192
+ readonly __wbg_statetransitionfacade_free: (a: number) => void;
6193
+ readonly statetransitionfacade_createFromObject: (a: number, b: number, c: number) => number;
6194
+ readonly statetransitionfacade_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
6195
+ readonly statetransitionfacade_validate: (a: number, b: number, c: number, d: number) => number;
6196
+ readonly statetransitionfacade_validateBasic: (a: number, b: number, c: number) => number;
6197
+ readonly statetransitionfacade_validateSignature: (a: number, b: number, c: number) => number;
6198
+ readonly statetransitionfacade_validateFee: (a: number, b: number, c: number) => number;
6199
+ readonly statetransitionfacade_validateState: (a: number, b: number, c: number) => number;
6200
+ readonly statetransitionfacade_apply: (a: number, b: number) => number;
6201
+ readonly __wbg_readoperation_free: (a: number) => void;
6202
+ readonly readoperation_new: (a: number, b: number) => void;
6203
+ readonly readoperation_processingCost: (a: number, b: number) => void;
6204
+ readonly readoperation_storageCost: (a: number, b: number) => void;
6205
+ readonly readoperation_refunds: (a: number) => number;
6206
+ readonly readoperation_toJSON: (a: number, b: number) => void;
6207
+ readonly documentreplacetransition_getAction: (a: number) => number;
6208
+ readonly invaliddocumenterror_getRawDocument: (a: number) => number;
6209
+ readonly identityupdatetransition_getPublicKeysToAdd: (a: number, b: number) => void;
6210
+ readonly documentreplacetransition_getType: (a: number, b: number) => void;
6211
+ readonly platformvalueerror_getMessage: (a: number, b: number) => void;
6212
+ readonly __wbg_protocolversionparsingerror_free: (a: number) => void;
6213
+ readonly __wbg_platformvalueerror_free: (a: number) => void;
6214
+ readonly documentreplacetransition_getId: (a: number) => number;
6215
+ readonly documentreplacetransition_getDataContractId: (a: number) => number;
6216
+ readonly __wbg_identitytopuptransitionstatevalidator_free: (a: number) => void;
6217
+ readonly identityupdatetransition_identityId: (a: number) => number;
6218
+ readonly __wbg_missingdocumenttransitiontypeerror_free: (a: number) => void;
5953
6219
  readonly __wbg_missingdocumenttypeerror_free: (a: number) => void;
5954
- readonly platformvalueerror_valueOf: (a: number, b: number) => void;
6220
+ readonly __wbg_missingdatacontractiderror_free: (a: number) => void;
6221
+ readonly __wbg_invalidstatetransitionsignatureerror_free: (a: number) => void;
6222
+ readonly identitytopuptransitionstatevalidator_new: (a: number) => number;
6223
+ readonly documentreplacetransition_getDataContract: (a: number) => number;
5955
6224
  readonly identity_getBalance: (a: number) => number;
5956
- readonly __wbg_invaliddocumenttypeindatacontracterror_free: (a: number) => void;
5957
- readonly invaliddocumenttypeindatacontracterror_new: (a: number, b: number, c: number) => number;
5958
- readonly invaliddocumenttypeindatacontracterror_getType: (a: number, b: number) => void;
5959
- readonly invaliddocumenttypeindatacontracterror_getDataContractId: (a: number) => number;
5960
- readonly __wbg_datacontractvalidator_free: (a: number) => void;
5961
- readonly datacontractvalidator_new: () => number;
5962
- readonly datacontractvalidator_validate: (a: number, b: number, c: number) => void;
5963
- readonly __wbg_datacontractfactory_free: (a: number) => void;
5964
- readonly datacontractfactory_new: (a: number, b: number, c: number) => number;
5965
- readonly datacontractfactory_create: (a: number, b: number, c: number, d: number, e: number) => void;
5966
- readonly datacontractfactory_createFromObject: (a: number, b: number, c: number) => number;
5967
- readonly datacontractfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
5968
- readonly datacontractfactory_createDataContractCreateTransition: (a: number, b: number) => number;
5969
- readonly __wbg_datatriggerexecutionresult_free: (a: number) => void;
5970
- readonly datatriggerexecutionresult_isOk: (a: number) => number;
5971
- readonly datatriggerexecutionresult_getErrors: (a: number) => number;
6225
+ readonly platformvalueerror_valueOf: (a: number, b: number) => void;
6226
+ readonly __wbg_applydatacontractcreatetransition_free: (a: number) => void;
6227
+ readonly applydatacontractcreatetransition_new: (a: number) => number;
6228
+ readonly applydatacontractcreatetransition_applyDataContractCreateTransition: (a: number, b: number) => number;
6229
+ readonly applydatacontractupdatetransition_applyDataContractUpdateTransition: (a: number, b: number, c: number) => number;
6230
+ readonly generateDocumentId: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
5972
6231
  readonly __wbg_documentcreatetransition_free: (a: number) => void;
5973
6232
  readonly documentcreatetransition_from_raw_object: (a: number, b: number, c: number) => void;
5974
6233
  readonly documentcreatetransition_getEntropy: (a: number, b: number) => void;
@@ -5984,31 +6243,144 @@ export interface InitOutput {
5984
6243
  readonly documentcreatetransition_toObject: (a: number, b: number, c: number) => void;
5985
6244
  readonly documentcreatetransition_toJSON: (a: number, b: number) => void;
5986
6245
  readonly documentcreatetransition_getData: (a: number, b: number) => void;
5987
- readonly __wbg_invalidindexpropertytypeerror_free: (a: number) => void;
5988
- readonly invalidindexpropertytypeerror_getDocumentType: (a: number, b: number) => void;
5989
- readonly invalidindexpropertytypeerror_getIndexName: (a: number, b: number) => void;
5990
- readonly invalidindexpropertytypeerror_getPropertyName: (a: number, b: number) => void;
5991
- readonly invalidindexpropertytypeerror_getPropertyType: (a: number, b: number) => void;
5992
- readonly invalidindexpropertytypeerror_getCode: (a: number) => number;
5993
- readonly invalidindexpropertytypeerror_message: (a: number, b: number) => void;
5994
- readonly invalidindexpropertytypeerror_serialize: (a: number, b: number) => void;
5995
- readonly __wbg_invalididentitypublickeysecuritylevelerror_free: (a: number) => void;
5996
- readonly invalididentitypublickeysecuritylevelerror_getPublicKeyId: (a: number) => number;
5997
- readonly invalididentitypublickeysecuritylevelerror_getPublicKeyPurpose: (a: number) => number;
5998
- readonly invalididentitypublickeysecuritylevelerror_getPublicKeySecurityLevel: (a: number) => number;
5999
- readonly invalididentitypublickeysecuritylevelerror_getCode: (a: number) => number;
6000
- readonly invalididentitypublickeysecuritylevelerror_message: (a: number, b: number) => void;
6001
- readonly invalididentitypublickeysecuritylevelerror_serialize: (a: number, b: number) => void;
6002
- readonly missingstatetransitiontypeerror_new: () => number;
6003
- readonly missingstatetransitiontypeerror_getCode: (a: number) => number;
6004
- readonly missingstatetransitiontypeerror_message: (a: number, b: number) => void;
6005
- readonly missingstatetransitiontypeerror_serialize: (a: number, b: number) => void;
6006
- readonly __wbg_identitynotfounderror_free: (a: number) => void;
6007
- readonly identitynotfounderror_new: (a: number) => number;
6008
- readonly identitynotfounderror_getIdentityId: (a: number) => number;
6009
- readonly identitynotfounderror_getCode: (a: number) => number;
6010
- readonly identitynotfounderror_message: (a: number, b: number) => void;
6011
- readonly identitynotfounderror_serialize: (a: number, b: number) => void;
6246
+ readonly findDuplicatesById: (a: number, b: number) => void;
6247
+ readonly validatePartialCompoundIndices: (a: number, b: number, c: number) => void;
6248
+ readonly __wbg_datacontracthavenewuniqueindexerror_free: (a: number) => void;
6249
+ readonly datacontracthavenewuniqueindexerror_getDocumentType: (a: number, b: number) => void;
6250
+ readonly datacontracthavenewuniqueindexerror_getIndexName: (a: number, b: number) => void;
6251
+ readonly datacontracthavenewuniqueindexerror_getCode: (a: number) => number;
6252
+ readonly datacontracthavenewuniqueindexerror_message: (a: number, b: number) => void;
6253
+ readonly datacontracthavenewuniqueindexerror_serialize: (a: number, b: number) => void;
6254
+ readonly datacontractinvalidindexdefinitionupdateerror_getDocumentType: (a: number, b: number) => void;
6255
+ readonly datacontractinvalidindexdefinitionupdateerror_getIndexName: (a: number, b: number) => void;
6256
+ readonly datacontractinvalidindexdefinitionupdateerror_getCode: (a: number) => number;
6257
+ readonly datacontractinvalidindexdefinitionupdateerror_message: (a: number, b: number) => void;
6258
+ readonly datacontractinvalidindexdefinitionupdateerror_serialize: (a: number, b: number) => void;
6259
+ readonly datacontractuniqueindiceschangederror_getDocumentType: (a: number, b: number) => void;
6260
+ readonly datacontractuniqueindiceschangederror_getIndexName: (a: number, b: number) => void;
6261
+ readonly datacontractuniqueindiceschangederror_getCode: (a: number) => number;
6262
+ readonly datacontractuniqueindiceschangederror_message: (a: number, b: number) => void;
6263
+ readonly datacontractuniqueindiceschangederror_serialize: (a: number, b: number) => void;
6264
+ readonly __wbg_incompatiblere2patternerror_free: (a: number) => void;
6265
+ readonly incompatiblere2patternerror_getPattern: (a: number, b: number) => void;
6266
+ readonly incompatiblere2patternerror_getPath: (a: number, b: number) => void;
6267
+ readonly incompatiblere2patternerror_getMessage: (a: number, b: number) => void;
6268
+ readonly incompatiblere2patternerror_getCode: (a: number) => number;
6269
+ readonly incompatiblere2patternerror_message: (a: number, b: number) => void;
6270
+ readonly incompatiblere2patternerror_serialize: (a: number, b: number) => void;
6271
+ readonly duplicateindexerror_getDocumentType: (a: number, b: number) => void;
6272
+ readonly duplicateindexerror_getIndexName: (a: number, b: number) => void;
6273
+ readonly duplicateindexerror_getCode: (a: number) => number;
6274
+ readonly duplicateindexerror_message: (a: number, b: number) => void;
6275
+ readonly duplicateindexerror_serialize: (a: number, b: number) => void;
6276
+ readonly invalidcompoundindexerror_getDocumentType: (a: number, b: number) => void;
6277
+ readonly invalidcompoundindexerror_getIndexName: (a: number, b: number) => void;
6278
+ readonly invalidcompoundindexerror_getCode: (a: number) => number;
6279
+ readonly invalidcompoundindexerror_message: (a: number, b: number) => void;
6280
+ readonly invalidcompoundindexerror_serialize: (a: number, b: number) => void;
6281
+ readonly __wbg_missingdocumenttransitionactionerror_free: (a: number) => void;
6282
+ readonly missingdocumenttransitionactionerror_getCode: (a: number) => number;
6283
+ readonly missingdocumenttransitionactionerror_message: (a: number, b: number) => void;
6284
+ readonly missingdocumenttransitionactionerror_serialize: (a: number, b: number) => void;
6285
+ readonly __wbg_invalididentitypublickeytypeerror_free: (a: number) => void;
6286
+ readonly invalididentitypublickeytypeerror_new: (a: number, b: number) => void;
6287
+ readonly invalididentitypublickeytypeerror_getPublicKeyType: (a: number) => number;
6288
+ readonly invalididentitypublickeytypeerror_getCode: (a: number) => number;
6289
+ readonly invalididentitypublickeytypeerror_message: (a: number, b: number) => void;
6290
+ readonly invalididentitypublickeytypeerror_serialize: (a: number, b: number) => void;
6291
+ readonly missingmasterpublickeyerror_getCode: (a: number) => number;
6292
+ readonly missingmasterpublickeyerror_message: (a: number, b: number) => void;
6293
+ readonly missingmasterpublickeyerror_serialize: (a: number, b: number) => void;
6294
+ readonly invalididentifiererror_getIdentifierName: (a: number, b: number) => void;
6295
+ readonly invalididentifiererror_getIdentifierError: (a: number, b: number) => void;
6296
+ readonly invalididentifiererror_getCode: (a: number) => number;
6297
+ readonly invalididentifiererror_message: (a: number, b: number) => void;
6298
+ readonly invalididentifiererror_serialize: (a: number, b: number) => void;
6299
+ readonly __wbg_datacontractconfigupdateerror_free: (a: number) => void;
6300
+ readonly datacontractconfigupdateerror_new: (a: number, b: number, c: number) => number;
6301
+ readonly datacontractconfigupdateerror_getDataContractId: (a: number) => number;
6302
+ readonly datacontractconfigupdateerror_getCode: (a: number) => number;
6303
+ readonly datacontractconfigupdateerror_message: (a: number, b: number) => void;
6304
+ readonly datacontractconfigupdateerror_serialize: (a: number, b: number) => void;
6305
+ readonly datacontractnotpresentnotconsensuserror_getDataContractId: (a: number) => number;
6306
+ readonly __wbg_assetlocktransactionisnotfounderror_free: (a: number) => void;
6307
+ readonly assetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
6308
+ readonly unknownassetlockprooftypeerror_getType: (a: number) => number;
6309
+ readonly __wbg_chainassetlockproof_free: (a: number) => void;
6310
+ readonly chainassetlockproof_new: (a: number, b: number) => void;
6311
+ readonly chainassetlockproof_getType: (a: number) => number;
6312
+ readonly chainassetlockproof_getCoreChainLockedHeight: (a: number) => number;
6313
+ readonly chainassetlockproof_setCoreChainLockedHeight: (a: number, b: number) => void;
6314
+ readonly chainassetlockproof_getOutPoint: (a: number) => number;
6315
+ readonly chainassetlockproof_setOutPoint: (a: number, b: number, c: number, d: number) => void;
6316
+ readonly chainassetlockproof_toJSON: (a: number, b: number) => void;
6317
+ readonly chainassetlockproof_toObject: (a: number, b: number) => void;
6318
+ readonly chainassetlockproof_createIdentifier: (a: number, b: number) => void;
6319
+ readonly __wbg_assetlockproof_free: (a: number) => void;
6320
+ readonly assetlockproof_new: (a: number, b: number) => void;
6321
+ readonly assetlockproof_createIdentifier: (a: number, b: number) => void;
6322
+ readonly assetlockproof_toObject: (a: number, b: number) => void;
6323
+ readonly createAssetLockProofInstance: (a: number, b: number) => void;
6324
+ readonly validateAssetLockTransaction: (a: number, b: number, c: number, d: number, e: number) => number;
6325
+ readonly fetchAssetLockTransactionOutput: (a: number, b: number, c: number) => number;
6326
+ readonly fetchAssetLockPublicKeyHash: (a: number, b: number, c: number) => number;
6327
+ readonly __wbg_identitytopuptransitionbasicvalidator_free: (a: number) => void;
6328
+ readonly identitytopuptransitionbasicvalidator_new: (a: number, b: number) => void;
6329
+ readonly identitytopuptransitionbasicvalidator_validate: (a: number, b: number, c: number) => number;
6330
+ readonly __wbg_statetransitionfeevalidator_free: (a: number) => void;
6331
+ readonly statetransitionfeevalidator_new: (a: number) => number;
6332
+ readonly statetransitionfeevalidator_validate: (a: number, b: number, c: number) => number;
6333
+ readonly __wbg_applydatacontractupdatetransition_free: (a: number) => void;
6334
+ readonly __wbg_datacontractinvalidindexdefinitionupdateerror_free: (a: number) => void;
6335
+ readonly __wbg_datacontractuniqueindiceschangederror_free: (a: number) => void;
6336
+ readonly __wbg_duplicateindexerror_free: (a: number) => void;
6337
+ readonly __wbg_invalidcompoundindexerror_free: (a: number) => void;
6338
+ readonly __wbg_invalididentifiererror_free: (a: number) => void;
6339
+ readonly applydatacontractupdatetransition_new: (a: number) => number;
6340
+ readonly __wbg_missingmasterpublickeyerror_free: (a: number) => void;
6341
+ readonly __wbg_datacontractnotpresentnotconsensuserror_free: (a: number) => void;
6342
+ readonly __wbg_unknownassetlockprooftypeerror_free: (a: number) => void;
6343
+ readonly validateDataContractUpdateTransitionState: (a: number, b: number, c: number) => number;
6344
+ readonly validateIndicesAreBackwardCompatible: (a: number, b: number, c: number) => void;
6345
+ readonly validateDataContractUpdateTransitionBasic: (a: number, b: number, c: number) => number;
6346
+ readonly __wbg_datatriggerexecutionresult_free: (a: number) => void;
6347
+ readonly datatriggerexecutionresult_isOk: (a: number) => number;
6348
+ readonly datatriggerexecutionresult_getErrors: (a: number) => number;
6349
+ readonly __wbg_documentalreadyexistserror_free: (a: number) => void;
6350
+ readonly documentalreadyexistserror_getDocumentTransition: (a: number) => number;
6351
+ readonly __wbg_invalidinitialrevisionerror_free: (a: number) => void;
6352
+ readonly invalidinitialrevisionerror_new: (a: number) => number;
6353
+ readonly invalidinitialrevisionerror_getDocument: (a: number) => number;
6354
+ readonly __wbg_inconsistentcompoundindexdataerror_free: (a: number) => void;
6355
+ readonly inconsistentcompoundindexdataerror_getIndexedProperties: (a: number) => number;
6356
+ readonly inconsistentcompoundindexdataerror_getDocumentType: (a: number, b: number) => void;
6357
+ readonly inconsistentcompoundindexdataerror_getCode: (a: number) => number;
6358
+ readonly inconsistentcompoundindexdataerror_message: (a: number, b: number) => void;
6359
+ readonly inconsistentcompoundindexdataerror_serialize: (a: number, b: number) => void;
6360
+ readonly __wbg_invalidstatetransitiontypeerror_free: (a: number) => void;
6361
+ readonly invalidstatetransitiontypeerror_new: (a: number) => number;
6362
+ readonly invalidstatetransitiontypeerror_getType: (a: number) => number;
6363
+ readonly invalidstatetransitiontypeerror_getCode: (a: number) => number;
6364
+ readonly invalidstatetransitiontypeerror_message: (a: number, b: number) => void;
6365
+ readonly invalidstatetransitiontypeerror_serialize: (a: number, b: number) => void;
6366
+ readonly __wbg_balanceisnotenougherror_free: (a: number) => void;
6367
+ readonly balanceisnotenougherror_new: (a: number, b: number) => number;
6368
+ readonly balanceisnotenougherror_getBalance: (a: number) => number;
6369
+ readonly balanceisnotenougherror_getFee: (a: number) => number;
6370
+ readonly balanceisnotenougherror_getCode: (a: number) => number;
6371
+ readonly balanceisnotenougherror_message: (a: number, b: number) => void;
6372
+ readonly balanceisnotenougherror_serialize: (a: number, b: number) => void;
6373
+ readonly __wbg_datacontractalreadypresenterror_free: (a: number) => void;
6374
+ readonly datacontractalreadypresenterror_new: (a: number) => number;
6375
+ readonly datacontractalreadypresenterror_getDataContractId: (a: number) => number;
6376
+ readonly datacontractalreadypresenterror_getCode: (a: number) => number;
6377
+ readonly datacontractalreadypresenterror_message: (a: number, b: number) => void;
6378
+ readonly datacontractalreadypresenterror_serialize: (a: number, b: number) => void;
6379
+ readonly datacontractisreadonlyerror_new: (a: number) => number;
6380
+ readonly datacontractisreadonlyerror_getDataContractId: (a: number) => number;
6381
+ readonly datacontractisreadonlyerror_getCode: (a: number) => number;
6382
+ readonly datacontractisreadonlyerror_message: (a: number, b: number) => void;
6383
+ readonly datacontractisreadonlyerror_serialize: (a: number, b: number) => void;
6012
6384
  readonly __wbg_documentowneridmismatcherror_free: (a: number) => void;
6013
6385
  readonly documentowneridmismatcherror_getDocumentId: (a: number) => number;
6014
6386
  readonly documentowneridmismatcherror_getDocumentOwnerId: (a: number) => number;
@@ -6023,187 +6395,35 @@ export interface InitOutput {
6023
6395
  readonly identitypublickeydisabledatwindowviolationerror_getCode: (a: number) => number;
6024
6396
  readonly identitypublickeydisabledatwindowviolationerror_message: (a: number, b: number) => void;
6025
6397
  readonly identitypublickeydisabledatwindowviolationerror_serialize: (a: number, b: number) => void;
6026
- readonly __wbg_publickeyvalidationerror_free: (a: number) => void;
6027
- readonly publickeyvalidationerror_message: (a: number) => number;
6028
- readonly getCreditsConversionRatio: () => number;
6029
- readonly __wbg_identitytopuptransitionbasicvalidator_free: (a: number) => void;
6030
- readonly identitytopuptransitionbasicvalidator_new: (a: number, b: number) => void;
6031
- readonly identitytopuptransitionbasicvalidator_validate: (a: number, b: number, c: number) => number;
6032
- readonly __wbg_identityupdatepublickeysvalidator_free: (a: number) => void;
6033
- readonly identityupdatepublickeysvalidator_new: () => number;
6034
- readonly identityupdatepublickeysvalidator_validate: (a: number, b: number, c: number, d: number) => void;
6035
- readonly __wbg_identityupdatetransition_free: (a: number) => void;
6036
- readonly identityupdatetransition_new: (a: number, b: number) => void;
6037
- readonly identityupdatetransition_setPublicKeysToAdd: (a: number, b: number, c: number, d: number) => void;
6038
- readonly identityupdatetransition_addPublicKeys: (a: number, b: number) => void;
6039
- readonly identityupdatetransition_getPublicKeyIdsToDisable: (a: number, b: number) => void;
6040
- readonly identityupdatetransition_setPublicKeyIdsToDisable: (a: number, b: number, c: number) => void;
6041
- readonly identityupdatetransition_getPublicKeysDisabledAt: (a: number) => number;
6042
- readonly identityupdatetransition_setPublicKeysDisabledAt: (a: number, b: number) => void;
6043
- readonly identityupdatetransition_getType: (a: number) => number;
6044
- readonly identityupdatetransition_getIdentityId: (a: number) => number;
6045
- readonly identityupdatetransition_setIdentityId: (a: number, b: number) => void;
6046
- readonly identityupdatetransition_getOwnerId: (a: number) => number;
6047
- readonly identityupdatetransition_toObject: (a: number, b: number, c: number) => void;
6048
- readonly identityupdatetransition_toBuffer: (a: number, b: number) => void;
6049
- readonly identityupdatetransition_toJSON: (a: number, b: number) => void;
6050
- readonly identityupdatetransition_getModifiedDataIds: (a: number, b: number) => void;
6051
- readonly identityupdatetransition_isDataContractStateTransition: (a: number) => number;
6052
- readonly identityupdatetransition_isDocumentStateTransition: (a: number) => number;
6053
- readonly identityupdatetransition_isIdentityStateTransition: (a: number) => number;
6054
- readonly identityupdatetransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6055
- readonly identityupdatetransition_setSignaturePublicKeyId: (a: number, b: number, c: number) => void;
6056
- readonly identityupdatetransition_getSignature: (a: number) => number;
6057
- readonly identityupdatetransition_setSignature: (a: number, b: number, c: number) => void;
6058
- readonly identityupdatetransition_getRevision: (a: number) => number;
6059
- readonly identityupdatetransition_setRevision: (a: number, b: number) => void;
6060
- readonly identityupdatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6061
- readonly identityupdatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
6062
- readonly __wbg_publickeyssignaturesvalidator_free: (a: number) => void;
6063
- readonly publickeyssignaturesvalidator_new: (a: number) => number;
6064
- readonly publickeyssignaturesvalidator_validate: (a: number, b: number, c: number, d: number, e: number) => void;
6065
6398
  readonly __wbg_invalidstatetransitionerror_free: (a: number) => void;
6066
6399
  readonly invalidstatetransitionerror_new_wasm: (a: number, b: number, c: number, d: number) => void;
6067
6400
  readonly invalidstatetransitionerror_getErrors: (a: number, b: number) => void;
6401
+ readonly invalidstatetransitionerror_getRawStateTransition: (a: number) => number;
6068
6402
  readonly invalidstatetransitionerror_valueOf: (a: number, b: number) => void;
6069
- readonly __wbg_statetransitionfactory_free: (a: number) => void;
6070
- readonly statetransitionfactory_new: (a: number, b: number, c: number) => void;
6071
- readonly statetransitionfactory_createFromObject: (a: number, b: number, c: number) => number;
6072
- readonly statetransitionfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
6073
6403
  readonly calculateStateTransitionFee: (a: number, b: number, c: number) => void;
6074
- readonly getLatestProtocolVersion: () => number;
6075
- readonly identityupdatetransition_getPublicKeysToAdd: (a: number, b: number) => void;
6076
- readonly invalidstatetransitionerror_getRawStateTransition: (a: number) => number;
6077
- readonly identityupdatetransition_identityId: (a: number) => number;
6078
- readonly nodocumentssuppliederror_new: () => number;
6079
- readonly __wbg_nodocumentssuppliederror_free: (a: number) => void;
6080
- readonly __wbg_missingstatetransitiontypeerror_free: (a: number) => void;
6081
- readonly __wbg_identitypublickeywithwitness_free: (a: number) => void;
6082
- readonly identitypublickeywithwitness_new: (a: number, b: number) => void;
6083
- readonly identitypublickeywithwitness_getId: (a: number) => number;
6084
- readonly identitypublickeywithwitness_setId: (a: number, b: number) => void;
6085
- readonly identitypublickeywithwitness_getType: (a: number) => number;
6086
- readonly identitypublickeywithwitness_setType: (a: number, b: number, c: number) => void;
6087
- readonly identitypublickeywithwitness_setData: (a: number, b: number, c: number, d: number) => void;
6088
- readonly identitypublickeywithwitness_getData: (a: number) => number;
6089
- readonly identitypublickeywithwitness_setPurpose: (a: number, b: number, c: number) => void;
6090
- readonly identitypublickeywithwitness_getPurpose: (a: number) => number;
6091
- readonly identitypublickeywithwitness_setSecurityLevel: (a: number, b: number, c: number) => void;
6092
- readonly identitypublickeywithwitness_getSecurityLevel: (a: number) => number;
6093
- readonly identitypublickeywithwitness_setReadOnly: (a: number, b: number) => void;
6094
- readonly identitypublickeywithwitness_isReadOnly: (a: number) => number;
6095
- readonly identitypublickeywithwitness_setSignature: (a: number, b: number, c: number) => void;
6096
- readonly identitypublickeywithwitness_getSignature: (a: number, b: number) => void;
6097
- readonly identitypublickeywithwitness_hash: (a: number, b: number) => void;
6098
- readonly identitypublickeywithwitness_isMaster: (a: number) => number;
6099
- readonly identitypublickeywithwitness_toJSON: (a: number, b: number) => void;
6100
- readonly identitypublickeywithwitness_toObject: (a: number, b: number, c: number) => void;
6101
- readonly __wbg_invaliddatacontracterror_free: (a: number) => void;
6102
- readonly invaliddatacontracterror_getErrors: (a: number, b: number) => void;
6103
- readonly invaliddatacontracterror_getRawDataContract: (a: number) => number;
6104
- readonly invaliddatacontracterror_getMessage: (a: number, b: number) => void;
6105
- readonly __wbg_invalidactionerror_free: (a: number) => void;
6106
- readonly __wbg_documenttransitions_free: (a: number) => void;
6107
- readonly documenttransitions_new: () => number;
6108
- readonly documenttransitions_addTransitionCreate: (a: number, b: number) => void;
6109
- readonly documenttransitions_addTransitionReplace: (a: number, b: number) => void;
6110
- readonly documenttransitions_addTransitionDelete: (a: number, b: number) => void;
6111
- readonly __wbg_documentfactory_free: (a: number) => void;
6112
- readonly documentfactory_new: (a: number, b: number, c: number, d: number) => number;
6113
- readonly documentfactory_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
6114
- readonly documentfactory_createStateTransition: (a: number, b: number, c: number) => void;
6115
- readonly documentfactory_createFromObject: (a: number, b: number, c: number) => number;
6116
- readonly documentfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
6117
- readonly documentfactory_createExtendedDocumentFromDocumentBuffer: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
6118
- readonly generateDocumentId: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
6119
- readonly applyDocumentsBatchTransition: (a: number, b: number, c: number) => number;
6120
- readonly validateDocumentsBatchTransitionBasic: (a: number, b: number, c: number, d: number) => number;
6121
- readonly validateDocumentsBatchTransitionState: (a: number, b: number, c: number) => number;
6122
- readonly __wbg_systempropertyindexalreadypresenterror_free: (a: number) => void;
6123
- readonly systempropertyindexalreadypresenterror_getDocumentType: (a: number, b: number) => void;
6124
- readonly systempropertyindexalreadypresenterror_getIndexName: (a: number, b: number) => void;
6125
- readonly systempropertyindexalreadypresenterror_getPropertyName: (a: number, b: number) => void;
6126
- readonly systempropertyindexalreadypresenterror_getCode: (a: number) => number;
6127
- readonly systempropertyindexalreadypresenterror_message: (a: number, b: number) => void;
6128
- readonly systempropertyindexalreadypresenterror_serialize: (a: number, b: number) => void;
6129
- readonly undefinedindexpropertyerror_getDocumentType: (a: number, b: number) => void;
6130
- readonly undefinedindexpropertyerror_getIndexName: (a: number, b: number) => void;
6131
- readonly undefinedindexpropertyerror_getPropertyName: (a: number, b: number) => void;
6132
- readonly undefinedindexpropertyerror_getCode: (a: number) => number;
6133
- readonly undefinedindexpropertyerror_message: (a: number, b: number) => void;
6134
- readonly undefinedindexpropertyerror_serialize: (a: number, b: number) => void;
6135
- readonly invaliddocumenttransitioniderror_getExpectedId: (a: number) => number;
6136
- readonly invaliddocumenttransitioniderror_getInvalidId: (a: number) => number;
6137
- readonly invaliddocumenttransitioniderror_getCode: (a: number) => number;
6138
- readonly invaliddocumenttransitioniderror_message: (a: number, b: number) => void;
6139
- readonly invaliddocumenttransitioniderror_serialize: (a: number, b: number) => void;
6140
- readonly __wbg_identityassetlockprooflockedtransactionmismatcherror_free: (a: number) => void;
6141
- readonly identityassetlockprooflockedtransactionmismatcherror_getInstantLockTransactionId: (a: number) => number;
6142
- readonly identityassetlockprooflockedtransactionmismatcherror_getAssetLockTransactionId: (a: number) => number;
6143
- readonly identityassetlockprooflockedtransactionmismatcherror_getCode: (a: number) => number;
6144
- readonly identityassetlockprooflockedtransactionmismatcherror_message: (a: number, b: number) => void;
6145
- readonly identityassetlockprooflockedtransactionmismatcherror_serialize: (a: number, b: number) => void;
6146
- readonly __wbg_invalidassetlockprooftransactionheighterror_free: (a: number) => void;
6147
- readonly invalidassetlockprooftransactionheighterror_getProofCoreChainLockedHeight: (a: number) => number;
6148
- readonly invalidassetlockprooftransactionheighterror_getTransactionHeight: (a: number, b: number) => void;
6149
- readonly invalidassetlockprooftransactionheighterror_getCode: (a: number) => number;
6150
- readonly invalidassetlockprooftransactionheighterror_message: (a: number, b: number) => void;
6151
- readonly invalidassetlockprooftransactionheighterror_serialize: (a: number, b: number) => void;
6152
- readonly __wbg_invalididentityassetlockproofchainlockvalidationerrorwasm_free: (a: number) => void;
6153
- readonly invalididentityassetlockproofchainlockvalidationerrorwasm_getTransactionId: (a: number) => number;
6154
- readonly invalididentityassetlockproofchainlockvalidationerrorwasm_getHeightReportedNotLocked: (a: number) => number;
6155
- readonly __wbg_invalidsignaturepublickeysecuritylevelerror_free: (a: number) => void;
6156
- readonly invalidsignaturepublickeysecuritylevelerror_getPublicKeySecurityLevel: (a: number) => number;
6157
- readonly invalidsignaturepublickeysecuritylevelerror_getKeySecurityLevelRequirement: (a: number) => number;
6158
- readonly invalidsignaturepublickeysecuritylevelerror_getCode: (a: number) => number;
6159
- readonly invalidsignaturepublickeysecuritylevelerror_message: (a: number, b: number) => void;
6160
- readonly invalidsignaturepublickeysecuritylevelerror_serialize: (a: number, b: number) => void;
6161
- readonly __wbg_datatriggerexecutionerror_free: (a: number) => void;
6162
- readonly datatriggerexecutionerror_getDataContractId: (a: number) => number;
6163
- readonly datatriggerexecutionerror_getDocumentId: (a: number) => number;
6164
- readonly datatriggerexecutionerror_getMessage: (a: number, b: number) => void;
6165
- readonly datatriggerexecutionerror_getCode: (a: number) => number;
6166
- readonly datatriggerexecutionerror_message: (a: number, b: number) => void;
6167
- readonly datatriggerexecutionerror_serialize: (a: number, b: number) => void;
6168
- readonly __wbg_datatriggeractionexecutionerror_free: (a: number) => void;
6169
- readonly datatriggeractionexecutionerror_getDataContractId: (a: number) => number;
6170
- readonly datatriggeractionexecutionerror_getExecutionError: (a: number) => number;
6171
- readonly datatriggeractionexecutionerror_getDocumentTransitionId: (a: number) => number;
6172
- readonly datatriggeractionexecutionerror_getMessage: (a: number, b: number) => void;
6173
- readonly datatriggeractionexecutionerror_getOwnerId: (a: number) => number;
6174
- readonly datatriggeractionexecutionerror_getCode: (a: number) => number;
6175
- readonly __wbg_duplicateuniqueindexerror_free: (a: number) => void;
6176
- readonly duplicateuniqueindexerror_getDocumentId: (a: number) => number;
6177
- readonly duplicateuniqueindexerror_getDuplicatingProperties: (a: number) => number;
6178
- readonly duplicateuniqueindexerror_getCode: (a: number) => number;
6179
- readonly duplicateuniqueindexerror_message: (a: number, b: number) => void;
6180
- readonly duplicateuniqueindexerror_serialize: (a: number, b: number) => void;
6181
- readonly __wbg_invaliddocumentrevisionerror_free: (a: number) => void;
6182
- readonly invaliddocumentrevisionerror_getDocumentId: (a: number) => number;
6183
- readonly invaliddocumentrevisionerror_getCurrentRevision: (a: number, b: number) => void;
6184
- readonly invaliddocumentrevisionerror_getCode: (a: number) => number;
6185
- readonly invaliddocumentrevisionerror_message: (a: number, b: number) => void;
6186
- readonly invaliddocumentrevisionerror_serialize: (a: number, b: number) => void;
6187
- readonly __wbg_invalididentityrevisionerror_free: (a: number) => void;
6188
- readonly invalididentityrevisionerror_getIdentityId: (a: number) => number;
6189
- readonly invalididentityrevisionerror_getCurrentRevision: (a: number) => number;
6190
- readonly invalididentityrevisionerror_getCode: (a: number) => number;
6191
- readonly invalididentityrevisionerror_message: (a: number, b: number) => void;
6192
- readonly invalididentityrevisionerror_serialize: (a: number, b: number) => void;
6193
- readonly __wbg_chainassetlockproofstructurevalidator_free: (a: number) => void;
6194
- readonly chainassetlockproofstructurevalidator_new: (a: number, b: number) => void;
6195
- readonly chainassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
6196
- readonly instantassetlockproofstructurevalidator_new: (a: number, b: number) => void;
6197
- readonly instantassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
6198
- readonly applyIdentityCreateTransition: (a: number, b: number, c: number) => number;
6199
- readonly applyIdentityTopUpTransition: (a: number, b: number, c: number) => number;
6200
- readonly applyIdentityUpdateTransition: (a: number, b: number, c: number) => number;
6201
- readonly __wbg_jsonschemavalidator_free: (a: number) => void;
6202
- readonly jsonschemavalidator_new: (a: number, b: number, c: number) => void;
6203
- readonly __wbg_undefinedindexpropertyerror_free: (a: number) => void;
6204
- readonly __wbg_instantassetlockproofstructurevalidator_free: (a: number) => void;
6205
- readonly invalidactionterror_new: (a: number) => number;
6206
- readonly __wbg_invaliddocumenttransitioniderror_free: (a: number) => void;
6404
+ readonly __wbg_feeresult_free: (a: number) => void;
6405
+ readonly feeresult_new: () => number;
6406
+ readonly feeresult_storageFee: (a: number) => number;
6407
+ readonly feeresult_processingFee: (a: number) => number;
6408
+ readonly feeresult_feeRefunds: (a: number) => number;
6409
+ readonly feeresult_totalRefunds: (a: number) => number;
6410
+ readonly feeresult_desiredAmount: (a: number) => number;
6411
+ readonly feeresult_requiredAmount: (a: number) => number;
6412
+ readonly feeresult_set_storageFee: (a: number, b: number, c: number) => void;
6413
+ readonly feeresult_set_processingFee: (a: number, b: number, c: number) => void;
6414
+ readonly feeresult_set_feeRefunds: (a: number, b: number, c: number) => void;
6415
+ readonly feeresult_set_desiredAmount: (a: number, b: number, c: number) => void;
6416
+ readonly feeresult_set_requiredAmount: (a: number, b: number, c: number) => void;
6417
+ readonly feeresult_set_totalRefunds: (a: number, b: number, c: number) => void;
6418
+ readonly validateStateTransitionIdentitySignature: (a: number, b: number, c: number, d: number) => number;
6419
+ readonly __wbg_protocolversionvalidator_free: (a: number) => void;
6420
+ readonly protocolversionvalidator_new: (a: number, b: number) => void;
6421
+ readonly protocolversionvalidator_validate: (a: number, b: number, c: number) => void;
6422
+ readonly __wbg_documentnotprovidederror_free: (a: number) => void;
6423
+ readonly __wbg_invaliddocumentactionerror_free: (a: number) => void;
6424
+ readonly __wbg_datacontractisreadonlyerror_free: (a: number) => void;
6425
+ readonly documentnotprovidederror_getDocumentTransition: (a: number) => number;
6426
+ readonly invaliddocumentactionerror_getDocumentTransition: (a: number) => number;
6207
6427
  readonly __wbg_datacontract_free: (a: number) => void;
6208
6428
  readonly datacontract_new: (a: number, b: number) => void;
6209
6429
  readonly datacontract_getProtocolVersion: (a: number) => number;
@@ -6230,42 +6450,49 @@ export interface InitOutput {
6230
6450
  readonly datacontract_getMetadata: (a: number) => number;
6231
6451
  readonly datacontract_setMetadata: (a: number, b: number, c: number) => void;
6232
6452
  readonly datacontract_toObject: (a: number, b: number) => void;
6453
+ readonly datacontract_getConfig: (a: number, b: number) => void;
6454
+ readonly datacontract_setConfig: (a: number, b: number, c: number) => void;
6233
6455
  readonly datacontract_toJSON: (a: number, b: number) => void;
6234
6456
  readonly datacontract_toBuffer: (a: number, b: number) => void;
6235
6457
  readonly datacontract_hash: (a: number, b: number) => void;
6236
6458
  readonly datacontract_from: (a: number, b: number) => void;
6237
6459
  readonly datacontract_fromBuffer: (a: number, b: number, c: number) => void;
6238
6460
  readonly datacontract_clone: (a: number) => number;
6239
- readonly __wbg_datacontractdefaults_free: (a: number) => void;
6240
6461
  readonly datacontractdefaults_get_default_schema: (a: number) => void;
6241
- readonly __wbg_fetchandvalidatedatacontractfactory_free: (a: number) => void;
6242
- readonly fetchandvalidatedatacontractfactory_new: (a: number) => number;
6243
- readonly fetchandvalidatedatacontractfactory_validate: (a: number, b: number) => number;
6244
- readonly fetchAndValidateDataContract: (a: number, b: number) => number;
6245
- readonly findDuplicatesByIndices: (a: number, b: number, c: number, d: number) => void;
6246
- readonly fetchExtendedDocuments: (a: number, b: number, c: number) => number;
6247
- readonly __wbg_datacontracthavenewuniqueindexerror_free: (a: number) => void;
6248
- readonly datacontracthavenewuniqueindexerror_getDocumentType: (a: number, b: number) => void;
6249
- readonly datacontracthavenewuniqueindexerror_getIndexName: (a: number, b: number) => void;
6250
- readonly datacontracthavenewuniqueindexerror_getCode: (a: number) => number;
6251
- readonly datacontracthavenewuniqueindexerror_message: (a: number, b: number) => void;
6252
- readonly datacontracthavenewuniqueindexerror_serialize: (a: number, b: number) => void;
6253
- readonly datacontractinvalidindexdefinitionupdateerror_getDocumentType: (a: number, b: number) => void;
6254
- readonly datacontractinvalidindexdefinitionupdateerror_getIndexName: (a: number, b: number) => void;
6255
- readonly datacontractinvalidindexdefinitionupdateerror_getCode: (a: number) => number;
6256
- readonly datacontractinvalidindexdefinitionupdateerror_message: (a: number, b: number) => void;
6257
- readonly datacontractinvalidindexdefinitionupdateerror_serialize: (a: number, b: number) => void;
6258
- readonly __wbg_datacontractmaxdepthexceederror_free: (a: number) => void;
6259
- readonly datacontractmaxdeptherror_getMaxDepth: (a: number) => number;
6260
- readonly datacontractmaxdeptherror_getSchemaDepth: (a: number) => number;
6261
- readonly datacontractmaxdeptherror_getCode: (a: number) => number;
6262
- readonly datacontractmaxdeptherror_message: (a: number, b: number) => void;
6263
- readonly datacontractmaxdeptherror_serialize: (a: number, b: number) => void;
6264
- readonly datacontractuniqueindiceschangederror_getDocumentType: (a: number, b: number) => void;
6265
- readonly datacontractuniqueindiceschangederror_getIndexName: (a: number, b: number) => void;
6266
- readonly datacontractuniqueindiceschangederror_getCode: (a: number) => number;
6267
- readonly datacontractuniqueindiceschangederror_message: (a: number, b: number) => void;
6268
- readonly datacontractuniqueindiceschangederror_serialize: (a: number, b: number) => void;
6462
+ readonly __wbg_datacontractupdatetransition_free: (a: number) => void;
6463
+ readonly datacontractupdatetransition_new: (a: number, b: number) => void;
6464
+ readonly datacontractupdatetransition_getDataContract: (a: number) => number;
6465
+ readonly datacontractupdatetransition_setDataContractConfig: (a: number, b: number, c: number) => void;
6466
+ readonly datacontractupdatetransition_getProtocolVersion: (a: number) => number;
6467
+ readonly datacontractupdatetransition_getOwnerId: (a: number) => number;
6468
+ readonly datacontractupdatetransition_getType: (a: number) => number;
6469
+ readonly datacontractupdatetransition_toJSON: (a: number, b: number, c: number) => void;
6470
+ readonly datacontractupdatetransition_toBuffer: (a: number, b: number) => void;
6471
+ readonly datacontractupdatetransition_fromBuffer: (a: number, b: number, c: number) => void;
6472
+ readonly datacontractupdatetransition_getModifiedDataIds: (a: number, b: number) => void;
6473
+ readonly datacontractupdatetransition_isDataContractStateTransition: (a: number) => number;
6474
+ readonly datacontractupdatetransition_isDocumentStateTransition: (a: number) => number;
6475
+ readonly datacontractupdatetransition_isIdentityStateTransition: (a: number) => number;
6476
+ readonly datacontractupdatetransition_hash: (a: number, b: number, c: number) => void;
6477
+ readonly datacontractupdatetransition_toObject: (a: number, b: number, c: number) => void;
6478
+ readonly datacontractupdatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6479
+ readonly datacontractupdatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
6480
+ readonly __wbg_datacontractvalidator_free: (a: number) => void;
6481
+ readonly datacontractvalidator_new: () => number;
6482
+ readonly datacontractvalidator_validate: (a: number, b: number, c: number) => void;
6483
+ readonly __wbg_datacontractfactory_free: (a: number) => void;
6484
+ readonly datacontractfactory_new: (a: number, b: number, c: number) => number;
6485
+ readonly datacontractfactory_create: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6486
+ readonly datacontractfactory_createFromObject: (a: number, b: number, c: number) => number;
6487
+ readonly datacontractfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
6488
+ readonly datacontractfactory_createDataContractCreateTransition: (a: number, b: number) => number;
6489
+ readonly __wbg_documentnorevisionerror_free: (a: number) => void;
6490
+ readonly documentnorevisionerror_new: (a: number) => number;
6491
+ readonly documentnorevisionerror_getDocument: (a: number) => number;
6492
+ readonly __wbg_revisionabsenterror_free: (a: number) => void;
6493
+ readonly revisionabsenterror_new: (a: number) => number;
6494
+ readonly revisionabsenterror_getDocument: (a: number) => number;
6495
+ readonly __wbg_duplicateindexnameerror_free: (a: number) => void;
6269
6496
  readonly duplicateindexnameerror_getDocumentType: (a: number, b: number) => void;
6270
6497
  readonly duplicateindexnameerror_getDuplicateIndexName: (a: number, b: number) => void;
6271
6498
  readonly duplicateindexnameerror_getCode: (a: number) => number;
@@ -6278,23 +6505,6 @@ export interface InitOutput {
6278
6505
  readonly incompatibledatacontractschemaerror_getCode: (a: number) => number;
6279
6506
  readonly incompatibledatacontractschemaerror_message: (a: number, b: number) => void;
6280
6507
  readonly incompatibledatacontractschemaerror_serialize: (a: number, b: number) => void;
6281
- readonly __wbg_incompatiblere2patternerror_free: (a: number) => void;
6282
- readonly incompatiblere2patternerror_getPattern: (a: number, b: number) => void;
6283
- readonly incompatiblere2patternerror_getPath: (a: number, b: number) => void;
6284
- readonly incompatiblere2patternerror_getMessage: (a: number, b: number) => void;
6285
- readonly incompatiblere2patternerror_getCode: (a: number) => number;
6286
- readonly incompatiblere2patternerror_message: (a: number, b: number) => void;
6287
- readonly incompatiblere2patternerror_serialize: (a: number, b: number) => void;
6288
- readonly duplicateindexerror_getDocumentType: (a: number, b: number) => void;
6289
- readonly duplicateindexerror_getIndexName: (a: number, b: number) => void;
6290
- readonly duplicateindexerror_getCode: (a: number) => number;
6291
- readonly duplicateindexerror_message: (a: number, b: number) => void;
6292
- readonly duplicateindexerror_serialize: (a: number, b: number) => void;
6293
- readonly invalidcompoundindexerror_getDocumentType: (a: number, b: number) => void;
6294
- readonly invalidcompoundindexerror_getIndexName: (a: number, b: number) => void;
6295
- readonly invalidcompoundindexerror_getCode: (a: number) => number;
6296
- readonly invalidcompoundindexerror_message: (a: number, b: number) => void;
6297
- readonly invalidcompoundindexerror_serialize: (a: number, b: number) => void;
6298
6508
  readonly uniqueindiceslimitreachederror_getDocumentType: (a: number, b: number) => void;
6299
6509
  readonly uniqueindiceslimitreachederror_getIndexLimit: (a: number) => number;
6300
6510
  readonly uniqueindiceslimitreachederror_getCode: (a: number) => number;
@@ -6305,77 +6515,160 @@ export interface InitOutput {
6305
6515
  readonly invaliddatacontractiderror_getCode: (a: number) => number;
6306
6516
  readonly invaliddatacontractiderror_message: (a: number, b: number) => void;
6307
6517
  readonly invaliddatacontractiderror_serialize: (a: number, b: number) => void;
6308
- readonly invaliddatacontractversionerror_getExpectedVersion: (a: number) => number;
6309
- readonly invaliddatacontractversionerror_getVersion: (a: number) => number;
6310
- readonly invaliddatacontractversionerror_getCode: (a: number) => number;
6311
- readonly invaliddatacontractversionerror_message: (a: number, b: number) => void;
6312
- readonly invaliddatacontractversionerror_serialize: (a: number, b: number) => void;
6313
- readonly __wbg_inconsistentcompoundindexdataerror_free: (a: number) => void;
6314
- readonly inconsistentcompoundindexdataerror_getIndexedProperties: (a: number) => number;
6315
- readonly inconsistentcompoundindexdataerror_getDocumentType: (a: number, b: number) => void;
6316
- readonly inconsistentcompoundindexdataerror_getCode: (a: number) => number;
6317
- readonly inconsistentcompoundindexdataerror_message: (a: number, b: number) => void;
6318
- readonly inconsistentcompoundindexdataerror_serialize: (a: number, b: number) => void;
6518
+ readonly __wbg_invalidassetlockprooftransactionheighterror_free: (a: number) => void;
6519
+ readonly invalidassetlockprooftransactionheighterror_getProofCoreChainLockedHeight: (a: number) => number;
6520
+ readonly invalidassetlockprooftransactionheighterror_getTransactionHeight: (a: number, b: number) => void;
6521
+ readonly invalidassetlockprooftransactionheighterror_getCode: (a: number) => number;
6522
+ readonly invalidassetlockprooftransactionheighterror_message: (a: number, b: number) => void;
6523
+ readonly invalidassetlockprooftransactionheighterror_serialize: (a: number, b: number) => void;
6524
+ readonly __wbg_invalididentitypublickeydataerror_free: (a: number) => void;
6525
+ readonly invalididentitypublickeydataerror_getPublicKeyId: (a: number) => number;
6526
+ readonly invalididentitypublickeydataerror_getValidationError: (a: number, b: number) => void;
6527
+ readonly invalididentitypublickeydataerror_getCode: (a: number) => number;
6528
+ readonly invalididentitypublickeydataerror_message: (a: number, b: number) => void;
6529
+ readonly invalididentitypublickeydataerror_serialize: (a: number, b: number) => void;
6530
+ readonly __wbg_invalididentitypublickeysecuritylevelerror_free: (a: number) => void;
6531
+ readonly invalididentitypublickeysecuritylevelerror_getPublicKeyId: (a: number) => number;
6532
+ readonly invalididentitypublickeysecuritylevelerror_getPublicKeyPurpose: (a: number) => number;
6533
+ readonly invalididentitypublickeysecuritylevelerror_getPublicKeySecurityLevel: (a: number) => number;
6534
+ readonly invalididentitypublickeysecuritylevelerror_getCode: (a: number) => number;
6535
+ readonly invalididentitypublickeysecuritylevelerror_message: (a: number, b: number) => void;
6536
+ readonly invalididentitypublickeysecuritylevelerror_serialize: (a: number, b: number) => void;
6537
+ readonly invalidsignaturepublickeysecuritylevelerror_getPublicKeySecurityLevel: (a: number) => number;
6538
+ readonly invalidsignaturepublickeysecuritylevelerror_getKeySecurityLevelRequirement: (a: number) => number;
6539
+ readonly invalidsignaturepublickeysecuritylevelerror_getCode: (a: number) => number;
6540
+ readonly invalidsignaturepublickeysecuritylevelerror_message: (a: number, b: number) => void;
6541
+ readonly invalidsignaturepublickeysecuritylevelerror_serialize: (a: number, b: number) => void;
6542
+ readonly __wbg_jsonschemaerror_free: (a: number) => void;
6543
+ readonly jsonschemaerror_getKeyword: (a: number, b: number) => void;
6544
+ readonly jsonschemaerror_getInstancePath: (a: number, b: number) => void;
6545
+ readonly jsonschemaerror_getSchemaPath: (a: number, b: number) => void;
6546
+ readonly jsonschemaerror_getPropertyName: (a: number, b: number) => void;
6547
+ readonly jsonschemaerror_getParams: (a: number, b: number) => void;
6548
+ readonly jsonschemaerror_getCode: (a: number) => number;
6549
+ readonly jsonschemaerror_toString: (a: number, b: number) => void;
6550
+ readonly jsonschemaerror_message: (a: number, b: number) => void;
6551
+ readonly jsonschemaerror_serialize: (a: number, b: number) => void;
6552
+ readonly __wbg_identitynotfounderror_free: (a: number) => void;
6553
+ readonly identitynotfounderror_new: (a: number) => number;
6554
+ readonly identitynotfounderror_getIdentityId: (a: number) => number;
6555
+ readonly identitynotfounderror_getCode: (a: number) => number;
6556
+ readonly identitynotfounderror_message: (a: number, b: number) => void;
6557
+ readonly identitynotfounderror_serialize: (a: number, b: number) => void;
6558
+ readonly __wbg_datatriggerexecutionerror_free: (a: number) => void;
6559
+ readonly datatriggerexecutionerror_getDataContractId: (a: number) => number;
6560
+ readonly datatriggerexecutionerror_getDocumentId: (a: number) => number;
6561
+ readonly datatriggerexecutionerror_getMessage: (a: number, b: number) => void;
6562
+ readonly datatriggerexecutionerror_getCode: (a: number) => number;
6563
+ readonly datatriggerexecutionerror_message: (a: number, b: number) => void;
6564
+ readonly datatriggerexecutionerror_serialize: (a: number, b: number) => void;
6565
+ readonly __wbg_datatriggeractionexecutionerror_free: (a: number) => void;
6566
+ readonly datatriggeractionexecutionerror_getDataContractId: (a: number) => number;
6567
+ readonly datatriggeractionexecutionerror_getExecutionError: (a: number) => number;
6568
+ readonly datatriggeractionexecutionerror_getDocumentTransitionId: (a: number) => number;
6569
+ readonly datatriggeractionexecutionerror_getMessage: (a: number, b: number) => void;
6570
+ readonly datatriggeractionexecutionerror_getOwnerId: (a: number) => number;
6571
+ readonly datatriggeractionexecutionerror_getCode: (a: number) => number;
6572
+ readonly __wbg_duplicateuniqueindexerror_free: (a: number) => void;
6573
+ readonly duplicateuniqueindexerror_getDocumentId: (a: number) => number;
6574
+ readonly duplicateuniqueindexerror_getDuplicatingProperties: (a: number) => number;
6575
+ readonly duplicateuniqueindexerror_getCode: (a: number) => number;
6576
+ readonly duplicateuniqueindexerror_message: (a: number, b: number) => void;
6577
+ readonly duplicateuniqueindexerror_serialize: (a: number, b: number) => void;
6578
+ readonly __wbg_invaliddocumentrevisionerror_free: (a: number) => void;
6579
+ readonly invaliddocumentrevisionerror_getDocumentId: (a: number) => number;
6580
+ readonly invaliddocumentrevisionerror_getCurrentRevision: (a: number, b: number) => void;
6581
+ readonly invaliddocumentrevisionerror_getCode: (a: number) => number;
6582
+ readonly invaliddocumentrevisionerror_message: (a: number, b: number) => void;
6583
+ readonly invaliddocumentrevisionerror_serialize: (a: number, b: number) => void;
6584
+ readonly __wbg_publickeyvalidationerror_free: (a: number) => void;
6585
+ readonly publickeyvalidationerror_message: (a: number) => number;
6586
+ readonly __wbg_compatibleprotocolversionisnotdefinederror_free: (a: number) => void;
6587
+ readonly compatibleprotocolversionisnotdefinederror_getCurrentProtocolVersion: (a: number) => number;
6588
+ readonly __wbg_assetlockoutputnotfounderror_free: (a: number) => void;
6589
+ readonly __wbg_invalididentityerror_free: (a: number) => void;
6590
+ readonly invalididentityerror_getErrors: (a: number, b: number) => void;
6591
+ readonly invalididentityerror_getRawIdentity: (a: number) => number;
6592
+ readonly __wbg_identityupdatetransitionbasicvalidator_free: (a: number) => void;
6593
+ readonly identityupdatetransitionbasicvalidator_new: (a: number, b: number) => void;
6594
+ readonly identityupdatetransitionbasicvalidator_validate: (a: number, b: number, c: number) => void;
6595
+ readonly __wbg_refunds_free: (a: number) => void;
6596
+ readonly refunds_identifier: (a: number) => number;
6597
+ readonly refunds_credits_per_epoch: (a: number) => number;
6598
+ readonly refunds_toObject: (a: number, b: number) => void;
6599
+ readonly __wbg_validationresult_free: (a: number) => void;
6600
+ readonly validationresult_new: (a: number, b: number, c: number) => void;
6601
+ readonly validationresult_errorsText: (a: number, b: number) => void;
6602
+ readonly validationresult_isValid: (a: number) => number;
6603
+ readonly validationresult_errors: (a: number, b: number) => void;
6604
+ readonly validationresult_getData: (a: number) => number;
6605
+ readonly validationresult_getFirstError: (a: number) => number;
6606
+ readonly validationresult_addError: (a: number, b: number, c: number) => void;
6607
+ readonly tryingtoreplaceimmutabledocumenterror_new: (a: number) => number;
6608
+ readonly __wbg_uniqueindiceslimitreachederror_free: (a: number) => void;
6609
+ readonly __wbg_invalidsignaturepublickeysecuritylevelerror_free: (a: number) => void;
6610
+ readonly __wbg_invaliddatacontractiderror_free: (a: number) => void;
6611
+ readonly __wbg_tryingtoreplaceimmutabledocumenterror_free: (a: number) => void;
6612
+ readonly __wbg_datacontractdefaults_free: (a: number) => void;
6613
+ readonly validationresult_getErrors: (a: number, b: number) => void;
6614
+ readonly getDataTriggers: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
6615
+ readonly getAllDataTriggers: (a: number) => void;
6616
+ readonly __wbg_documenttransitions_free: (a: number) => void;
6617
+ readonly documenttransitions_new: () => number;
6618
+ readonly documenttransitions_addTransitionCreate: (a: number, b: number) => void;
6619
+ readonly documenttransitions_addTransitionReplace: (a: number, b: number) => void;
6620
+ readonly documenttransitions_addTransitionDelete: (a: number, b: number) => void;
6621
+ readonly __wbg_documentfactory_free: (a: number) => void;
6622
+ readonly documentfactory_new: (a: number, b: number, c: number, d: number) => number;
6623
+ readonly documentfactory_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
6624
+ readonly documentfactory_createStateTransition: (a: number, b: number, c: number) => void;
6625
+ readonly documentfactory_createFromObject: (a: number, b: number, c: number) => number;
6626
+ readonly documentfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
6627
+ readonly documentfactory_createExtendedDocumentFromDocumentBuffer: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
6628
+ readonly __wbg_invalidindexedpropertyconstrainterror_free: (a: number) => void;
6629
+ readonly invalidindexedpropertyconstrainterror_getDocumentType: (a: number, b: number) => void;
6630
+ readonly invalidindexedpropertyconstrainterror_getIndexName: (a: number, b: number) => void;
6631
+ readonly invalidindexedpropertyconstrainterror_getPropertyName: (a: number, b: number) => void;
6632
+ readonly invalidindexedpropertyconstrainterror_getConstraintName: (a: number, b: number) => void;
6633
+ readonly invalidindexedpropertyconstrainterror_getReason: (a: number, b: number) => void;
6634
+ readonly invalidindexedpropertyconstrainterror_getCode: (a: number) => number;
6635
+ readonly invalidindexedpropertyconstrainterror_message: (a: number, b: number) => void;
6636
+ readonly invalidindexedpropertyconstrainterror_serialize: (a: number, b: number) => void;
6637
+ readonly serializedobjectparsingerror_getParsingError: (a: number, b: number) => void;
6638
+ readonly serializedobjectparsingerror_getCode: (a: number) => number;
6639
+ readonly serializedobjectparsingerror_message: (a: number, b: number) => void;
6640
+ readonly serializedobjectparsingerror_serialize: (a: number, b: number) => void;
6641
+ readonly __wbg_invaliddocumenttransitionactionerror_free: (a: number) => void;
6642
+ readonly invaliddocumenttransitionactionerror_getAction: (a: number, b: number) => void;
6643
+ readonly invaliddocumenttransitionactionerror_getCode: (a: number) => number;
6644
+ readonly invaliddocumenttransitionactionerror_message: (a: number, b: number) => void;
6645
+ readonly invaliddocumenttransitionactionerror_serialize: (a: number, b: number) => void;
6646
+ readonly invaliddocumenttransitioniderror_getExpectedId: (a: number) => number;
6647
+ readonly invaliddocumenttransitioniderror_getInvalidId: (a: number) => number;
6648
+ readonly invaliddocumenttransitioniderror_getCode: (a: number) => number;
6649
+ readonly invaliddocumenttransitioniderror_message: (a: number, b: number) => void;
6650
+ readonly invaliddocumenttransitioniderror_serialize: (a: number, b: number) => void;
6319
6651
  readonly __wbg_invaliddocumenttypeerror_free: (a: number) => void;
6320
6652
  readonly invaliddocumenttypeerror_getType: (a: number, b: number) => void;
6321
6653
  readonly invaliddocumenttypeerror_getDataContractId: (a: number) => number;
6322
6654
  readonly invaliddocumenttypeerror_getCode: (a: number) => number;
6323
6655
  readonly invaliddocumenttypeerror_message: (a: number, b: number) => void;
6324
6656
  readonly invaliddocumenttypeerror_serialize: (a: number, b: number) => void;
6325
- readonly __wbg_identityassetlocktransactionoutpointalreadyexistserror_free: (a: number) => void;
6326
- readonly identityassetlocktransactionoutpointalreadyexistserror_getOutputIndex: (a: number) => number;
6327
- readonly identityassetlocktransactionoutpointalreadyexistserror_getTransactionId: (a: number) => number;
6328
- readonly identityassetlocktransactionoutpointalreadyexistserror_getCode: (a: number) => number;
6329
- readonly identityassetlocktransactionoutpointalreadyexistserror_message: (a: number, b: number) => void;
6330
- readonly identityassetlocktransactionoutpointalreadyexistserror_serialize: (a: number, b: number) => void;
6331
- readonly __wbg_identityinsufficientbalanceerror_free: (a: number) => void;
6332
- readonly identityinsufficientbalanceerror_getIdentityId: (a: number) => number;
6333
- readonly identityinsufficientbalanceerror_getBalance: (a: number) => number;
6334
- readonly identityinsufficientbalanceerror_getCode: (a: number) => number;
6335
- readonly identityinsufficientbalanceerror_message: (a: number, b: number) => void;
6336
- readonly identityinsufficientbalanceerror_serialize: (a: number, b: number) => void;
6337
- readonly invalidassetlockproofcorechainheighterror_getProofCoreChainLockedHeight: (a: number) => number;
6338
- readonly invalidassetlockproofcorechainheighterror_getCurrentCoreChainLockedHeight: (a: number) => number;
6339
- readonly invalidassetlockproofcorechainheighterror_getCode: (a: number) => number;
6340
- readonly invalidassetlockproofcorechainheighterror_message: (a: number, b: number) => void;
6341
- readonly invalidassetlockproofcorechainheighterror_serialize: (a: number, b: number) => void;
6342
- readonly __wbg_invalididentitypublickeydataerror_free: (a: number) => void;
6343
- readonly invalididentitypublickeydataerror_getPublicKeyId: (a: number) => number;
6344
- readonly invalididentitypublickeydataerror_getValidationError: (a: number, b: number) => void;
6345
- readonly invalididentitypublickeydataerror_getCode: (a: number) => number;
6346
- readonly invalididentitypublickeydataerror_message: (a: number, b: number) => void;
6347
- readonly invalididentitypublickeydataerror_serialize: (a: number, b: number) => void;
6348
- readonly incompatibleprotocolversionerror_getParsedProtocolVersion: (a: number) => number;
6349
- readonly incompatibleprotocolversionerror_getMinimalProtocolVersion: (a: number) => number;
6350
- readonly incompatibleprotocolversionerror_getCode: (a: number) => number;
6351
- readonly incompatibleprotocolversionerror_message: (a: number, b: number) => void;
6352
- readonly incompatibleprotocolversionerror_serialize: (a: number, b: number) => void;
6353
- readonly invalididentifiererror_getIdentifierName: (a: number, b: number) => void;
6354
- readonly invalididentifiererror_getIdentifierError: (a: number, b: number) => void;
6355
- readonly invalididentifiererror_getCode: (a: number) => number;
6356
- readonly invalididentifiererror_message: (a: number, b: number) => void;
6357
- readonly invalididentifiererror_serialize: (a: number, b: number) => void;
6358
- readonly __wbg_publickeysecuritylevelnotmeterror_free: (a: number) => void;
6359
- readonly publickeysecuritylevelnotmeterror_getPublicKeySecurityLevel: (a: number) => number;
6360
- readonly publickeysecuritylevelnotmeterror_getKeySecurityLevelRequirement: (a: number) => number;
6361
- readonly publickeysecuritylevelnotmeterror_getCode: (a: number) => number;
6362
- readonly publickeysecuritylevelnotmeterror_message: (a: number, b: number) => void;
6363
- readonly publickeysecuritylevelnotmeterror_serialize: (a: number, b: number) => void;
6364
- readonly statetransitionmaxsizeexceedederror_getActualSizeKBytes: (a: number) => number;
6365
- readonly statetransitionmaxsizeexceedederror_getMaxSizeKBytes: (a: number) => number;
6366
- readonly statetransitionmaxsizeexceedederror_getCode: (a: number) => number;
6367
- readonly statetransitionmaxsizeexceedederror_message: (a: number, b: number) => void;
6368
- readonly statetransitionmaxsizeexceedederror_serialize: (a: number, b: number) => void;
6369
- readonly unsupportedprotocolversionerror_getParsedProtocolVersion: (a: number) => number;
6370
- readonly unsupportedprotocolversionerror_getLatestVersion: (a: number) => number;
6371
- readonly unsupportedprotocolversionerror_getCode: (a: number) => number;
6372
- readonly unsupportedprotocolversionerror_message: (a: number, b: number) => void;
6373
- readonly unsupportedprotocolversionerror_serialize: (a: number, b: number) => void;
6374
- readonly wrongpublickeypurposeerror_getPublicKeyPurpose: (a: number) => number;
6375
- readonly wrongpublickeypurposeerror_getKeyPurposeRequirement: (a: number) => number;
6376
- readonly wrongpublickeypurposeerror_getCode: (a: number) => number;
6377
- readonly wrongpublickeypurposeerror_message: (a: number, b: number) => void;
6378
- readonly wrongpublickeypurposeerror_serialize: (a: number, b: number) => void;
6657
+ readonly __wbg_identityassetlockprooflockedtransactionmismatcherror_free: (a: number) => void;
6658
+ readonly identityassetlockprooflockedtransactionmismatcherror_getInstantLockTransactionId: (a: number) => number;
6659
+ readonly identityassetlockprooflockedtransactionmismatcherror_getAssetLockTransactionId: (a: number) => number;
6660
+ readonly identityassetlockprooflockedtransactionmismatcherror_getCode: (a: number) => number;
6661
+ readonly identityassetlockprooflockedtransactionmismatcherror_message: (a: number, b: number) => void;
6662
+ readonly identityassetlockprooflockedtransactionmismatcherror_serialize: (a: number, b: number) => void;
6663
+ readonly invalididentityassetlocktransactionerror_getErrorMessage: (a: number, b: number) => void;
6664
+ readonly invalididentityassetlocktransactionerror_getCode: (a: number) => number;
6665
+ readonly invalididentityassetlocktransactionerror_message: (a: number, b: number) => void;
6666
+ readonly invalididentityassetlocktransactionerror_serialize: (a: number, b: number) => void;
6667
+ readonly jsonschemacompilationerror_getError: (a: number, b: number) => void;
6668
+ readonly jsonschemacompilationerror_getCode: (a: number) => number;
6669
+ readonly jsonschemacompilationerror_message: (a: number, b: number) => void;
6670
+ readonly jsonschemacompilationerror_serialize: (a: number, b: number) => void;
6671
+ readonly deserializeConsensusError: (a: number, b: number, c: number) => void;
6379
6672
  readonly __wbg_datatriggerconditionerror_free: (a: number) => void;
6380
6673
  readonly datatriggerconditionerror_getDataContractId: (a: number) => number;
6381
6674
  readonly datatriggerconditionerror_getDocumentId: (a: number) => number;
@@ -6389,120 +6682,35 @@ export interface InitOutput {
6389
6682
  readonly datatriggeractionconditionerror_getMessage: (a: number, b: number) => void;
6390
6683
  readonly datatriggeractionconditionerror_getOwnerId: (a: number) => number;
6391
6684
  readonly datatriggeractionconditionerror_getCode: (a: number) => number;
6392
- readonly __wbg_identitypublickey_free: (a: number) => void;
6393
- readonly identitypublickey_new: (a: number, b: number) => void;
6394
- readonly identitypublickey_getId: (a: number) => number;
6395
- readonly identitypublickey_setId: (a: number, b: number) => void;
6396
- readonly identitypublickey_getType: (a: number) => number;
6397
- readonly identitypublickey_setType: (a: number, b: number, c: number) => void;
6398
- readonly identitypublickey_setData: (a: number, b: number, c: number, d: number) => void;
6399
- readonly identitypublickey_getData: (a: number) => number;
6400
- readonly identitypublickey_setPurpose: (a: number, b: number, c: number) => void;
6401
- readonly identitypublickey_getPurpose: (a: number) => number;
6402
- readonly identitypublickey_setSecurityLevel: (a: number, b: number, c: number) => void;
6403
- readonly identitypublickey_getSecurityLevel: (a: number) => number;
6404
- readonly identitypublickey_setReadOnly: (a: number, b: number) => void;
6405
- readonly identitypublickey_isReadOnly: (a: number) => number;
6406
- readonly identitypublickey_setDisabledAt: (a: number, b: number) => void;
6407
- readonly identitypublickey_getDisabledAt: (a: number) => number;
6408
- readonly identitypublickey_hash: (a: number, b: number) => void;
6409
- readonly identitypublickey_isMaster: (a: number) => number;
6410
- readonly identitypublickey_toJSON: (a: number, b: number) => void;
6411
- readonly identitypublickey_toObject: (a: number, b: number) => void;
6412
- readonly __wbg_identityvalidator_free: (a: number) => void;
6413
- readonly identityvalidator_new: (a: number, b: number) => void;
6414
- readonly identityvalidator_validate: (a: number, b: number, c: number) => void;
6415
- readonly __wbg_invalididentityerror_free: (a: number) => void;
6416
- readonly invalididentityerror_getErrors: (a: number, b: number) => void;
6417
- readonly invalididentityerror_getRawIdentity: (a: number) => number;
6418
- readonly identitycreatetransitionstatevalidator_validate: (a: number, b: number, c: number) => number;
6419
- readonly identitytopuptransitionstatevalidator_validate: (a: number, b: number, c: number) => number;
6420
- readonly __wbg_identityupdatetransitionstatevalidator_free: (a: number) => void;
6421
- readonly identityupdatetransitionstatevalidator_new: (a: number, b: number) => void;
6422
- readonly identityupdatetransitionstatevalidator_validate: (a: number, b: number, c: number) => number;
6423
- readonly __wbg_refunds_free: (a: number) => void;
6424
- readonly refunds_credits_per_epoch: (a: number) => number;
6425
- readonly refunds_toObject: (a: number, b: number) => void;
6426
- readonly __wbg_operation_free: (a: number) => void;
6427
- readonly __wbg_statetransitionkeysignaturevalidator_free: (a: number) => void;
6428
- readonly statetransitionkeysignaturevalidator_new: (a: number) => number;
6429
- readonly statetransitionkeysignaturevalidator_validate: (a: number, b: number, c: number) => number;
6430
- readonly refunds_identifier: (a: number) => number;
6431
- readonly __wbg_datacontractinvalidindexdefinitionupdateerror_free: (a: number) => void;
6432
- readonly __wbg_datacontractuniqueindiceschangederror_free: (a: number) => void;
6433
- readonly __wbg_duplicateindexnameerror_free: (a: number) => void;
6434
- readonly __wbg_duplicateindexerror_free: (a: number) => void;
6435
- readonly __wbg_invalidcompoundindexerror_free: (a: number) => void;
6436
- readonly __wbg_invaliddatacontractiderror_free: (a: number) => void;
6437
- readonly __wbg_invalididentifiererror_free: (a: number) => void;
6438
- readonly __wbg_identitycreatetransitionstatevalidator_free: (a: number) => void;
6439
- readonly __wbg_identitytopuptransitionstatevalidator_free: (a: number) => void;
6440
- readonly identitycreatetransitionstatevalidator_new: (a: number) => number;
6441
- readonly identitytopuptransitionstatevalidator_new: (a: number) => number;
6442
- readonly __wbg_invaliddatacontractversionerror_free: (a: number) => void;
6443
- readonly __wbg_invalidassetlockproofcorechainheighterror_free: (a: number) => void;
6444
- readonly __wbg_incompatibleprotocolversionerror_free: (a: number) => void;
6445
- readonly __wbg_statetransitionmaxsizeexceedederror_free: (a: number) => void;
6446
- readonly __wbg_unsupportedprotocolversionerror_free: (a: number) => void;
6447
- readonly __wbg_wrongpublickeypurposeerror_free: (a: number) => void;
6448
- readonly __wbg_uniqueindiceslimitreachederror_free: (a: number) => void;
6449
- readonly __wbg_applydatacontractupdatetransition_free: (a: number) => void;
6450
- readonly applydatacontractupdatetransition_new: (a: number) => number;
6451
- readonly applydatacontractupdatetransition_applyDataContractUpdateTransition: (a: number, b: number, c: number) => number;
6452
- readonly __wbg_datacontractupdatetransition_free: (a: number) => void;
6453
- readonly datacontractupdatetransition_new: (a: number, b: number) => void;
6454
- readonly datacontractupdatetransition_getDataContract: (a: number) => number;
6455
- readonly datacontractupdatetransition_getProtocolVersion: (a: number) => number;
6456
- readonly datacontractupdatetransition_getOwnerId: (a: number) => number;
6457
- readonly datacontractupdatetransition_getType: (a: number) => number;
6458
- readonly datacontractupdatetransition_toJSON: (a: number, b: number, c: number) => void;
6459
- readonly datacontractupdatetransition_toBuffer: (a: number, b: number) => void;
6460
- readonly datacontractupdatetransition_getModifiedDataIds: (a: number, b: number) => void;
6461
- readonly datacontractupdatetransition_isDataContractStateTransition: (a: number) => number;
6462
- readonly datacontractupdatetransition_isDocumentStateTransition: (a: number) => number;
6463
- readonly datacontractupdatetransition_isIdentityStateTransition: (a: number) => number;
6464
- readonly datacontractupdatetransition_hash: (a: number, b: number, c: number) => void;
6465
- readonly datacontractupdatetransition_toObject: (a: number, b: number, c: number) => void;
6466
- readonly datacontractupdatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6467
- readonly datacontractupdatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
6468
- readonly getDataTriggers: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
6469
- readonly getAllDataTriggers: (a: number) => void;
6470
- readonly __wbg_invaliddocumenterror_free: (a: number) => void;
6471
- readonly invaliddocumenterror_new: (a: number, b: number, c: number) => number;
6472
- readonly invaliddocumenterror_getErrors: (a: number, b: number) => void;
6473
- readonly invaliddocumenterror_getRawDocument: (a: number) => number;
6474
- readonly __wbg_documentvalidator_free: (a: number) => void;
6475
- readonly documentvalidator_new: (a: number) => number;
6476
- readonly documentvalidator_validate: (a: number, b: number, c: number, d: number) => void;
6477
- readonly __wbg_identitypublickeyisreadonlyerror_free: (a: number) => void;
6478
- readonly identitypublickeyisreadonlyerror_getKeyId: (a: number) => number;
6479
- readonly identitypublickeyisreadonlyerror_getCode: (a: number) => number;
6480
- readonly identitypublickeyisreadonlyerror_message: (a: number, b: number) => void;
6481
- readonly identitypublickeyisreadonlyerror_serialize: (a: number, b: number) => void;
6482
- readonly __wbg_statetransitionfacade_free: (a: number) => void;
6483
- readonly statetransitionfacade_createFromObject: (a: number, b: number, c: number) => number;
6484
- readonly statetransitionfacade_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
6485
- readonly statetransitionfacade_validate: (a: number, b: number, c: number, d: number) => number;
6486
- readonly statetransitionfacade_validateBasic: (a: number, b: number, c: number) => number;
6487
- readonly statetransitionfacade_validateSignature: (a: number, b: number, c: number) => number;
6488
- readonly statetransitionfacade_validateFee: (a: number, b: number, c: number) => number;
6489
- readonly statetransitionfacade_validateState: (a: number, b: number, c: number) => number;
6490
- readonly statetransitionfacade_apply: (a: number, b: number) => number;
6491
- readonly identitypublickeyisreadonlyerror_getPublicKeyIndex: (a: number) => number;
6492
- readonly __wbg_applydatacontractcreatetransition_free: (a: number) => void;
6493
- readonly applydatacontractcreatetransition_new: (a: number) => number;
6494
- readonly applydatacontractcreatetransition_applyDataContractCreateTransition: (a: number, b: number) => number;
6495
- readonly validateDataContractCreateTransitionState: (a: number, b: number, c: number) => number;
6496
- readonly validateDataContractCreateTransitionBasic: (a: number) => number;
6685
+ readonly __wbg_invalididentityrevisionerror_free: (a: number) => void;
6686
+ readonly invalididentityrevisionerror_getIdentityId: (a: number) => number;
6687
+ readonly invalididentityrevisionerror_getCurrentRevision: (a: number) => number;
6688
+ readonly invalididentityrevisionerror_getCode: (a: number) => number;
6689
+ readonly invalididentityrevisionerror_message: (a: number, b: number) => void;
6690
+ readonly invalididentityrevisionerror_serialize: (a: number, b: number) => void;
6691
+ readonly valueerror_getMessage: (a: number, b: number) => void;
6692
+ readonly valueerror_getCode: (a: number) => number;
6693
+ readonly valueerror_message: (a: number, b: number) => void;
6694
+ readonly valueerror_serialize: (a: number, b: number) => void;
6695
+ readonly __wbg_publickeyssignaturesvalidator_free: (a: number) => void;
6696
+ readonly publickeyssignaturesvalidator_new: (a: number) => number;
6697
+ readonly publickeyssignaturesvalidator_validate: (a: number, b: number, c: number, d: number, e: number) => void;
6698
+ readonly __wbg_serializedobjectparsingerror_free: (a: number) => void;
6699
+ readonly __wbg_invalididentityassetlocktransactionerror_free: (a: number) => void;
6700
+ readonly __wbg_jsonschemacompilationerror_free: (a: number) => void;
6701
+ readonly __wbg_valueerror_free: (a: number) => void;
6702
+ readonly __wbg_invaliddocumenttransitioniderror_free: (a: number) => void;
6497
6703
  readonly __wbg_datacontractcreatetransition_free: (a: number) => void;
6498
6704
  readonly datacontractcreatetransition_new: (a: number, b: number) => void;
6499
6705
  readonly datacontractcreatetransition_getDataContract: (a: number) => number;
6706
+ readonly datacontractcreatetransition_setDataContractConfig: (a: number, b: number, c: number) => void;
6500
6707
  readonly datacontractcreatetransition_getProtocolVersion: (a: number) => number;
6501
6708
  readonly datacontractcreatetransition_getEntropy: (a: number) => number;
6502
6709
  readonly datacontractcreatetransition_getOwnerId: (a: number) => number;
6503
6710
  readonly datacontractcreatetransition_getType: (a: number) => number;
6504
6711
  readonly datacontractcreatetransition_toJSON: (a: number, b: number, c: number) => void;
6505
6712
  readonly datacontractcreatetransition_toBuffer: (a: number, b: number) => void;
6713
+ readonly datacontractcreatetransition_fromBuffer: (a: number, b: number, c: number) => void;
6506
6714
  readonly datacontractcreatetransition_getModifiedDataIds: (a: number, b: number) => void;
6507
6715
  readonly datacontractcreatetransition_isDataContractStateTransition: (a: number) => number;
6508
6716
  readonly datacontractcreatetransition_isDocumentStateTransition: (a: number) => number;
@@ -6510,74 +6718,6 @@ export interface InitOutput {
6510
6718
  readonly datacontractcreatetransition_toObject: (a: number, b: number, c: number) => void;
6511
6719
  readonly datacontractcreatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6512
6720
  readonly datacontractcreatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
6513
- readonly __wbg_datacontractfacade_free: (a: number) => void;
6514
- readonly datacontractfacade_create: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6515
- readonly datacontractfacade_createFromObject: (a: number, b: number, c: number) => number;
6516
- readonly datacontractfacade_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
6517
- readonly datacontractfacade_createDataContractCreateTransition: (a: number, b: number, c: number) => void;
6518
- readonly datacontractfacade_createDataContractUpdateTransition: (a: number, b: number, c: number) => void;
6519
- readonly datacontractfacade_validate: (a: number, b: number) => number;
6520
- readonly __wbg_datatriggerexecutioncontext_free: (a: number) => void;
6521
- readonly datatriggerexecutioncontext_new: (a: number, b: number, c: number, d: number, e: number) => void;
6522
- readonly datatriggerexecutioncontext_ownerId: (a: number) => number;
6523
- readonly datatriggerexecutioncontext_set_ownerId: (a: number, b: number, c: number) => void;
6524
- readonly datatriggerexecutioncontext_dataContract: (a: number) => number;
6525
- readonly datatriggerexecutioncontext_set_dataContract: (a: number, b: number) => void;
6526
- readonly datatriggerexecutioncontext_stateTransitionExecutionContext: (a: number) => number;
6527
- readonly datatriggerexecutioncontext_set_statTransitionExecutionContext: (a: number, b: number) => void;
6528
- readonly executeDataTriggers: (a: number, b: number, c: number) => number;
6529
- readonly __wbg_datatrigger_free: (a: number) => void;
6530
- readonly datatrigger_get_data_contract_id: (a: number) => number;
6531
- readonly datatrigger_set_data_contract_id: (a: number, b: number, c: number) => void;
6532
- readonly datatrigger_get_document_type: (a: number, b: number) => void;
6533
- readonly datatrigger_set_document_type: (a: number, b: number, c: number) => void;
6534
- readonly datatrigger_get_data_trigger_kind: (a: number, b: number) => void;
6535
- readonly datatrigger_get_transition_action: (a: number, b: number) => void;
6536
- readonly datatrigger_set_transition_action: (a: number, b: number, c: number, d: number) => void;
6537
- readonly datatrigger_get_top_level_identity: (a: number) => number;
6538
- readonly datatrigger_set_top_level_identity: (a: number, b: number, c: number) => void;
6539
- readonly __wbg_documentfacade_free: (a: number) => void;
6540
- readonly documentfacade_new: (a: number, b: number, c: number) => number;
6541
- readonly documentfacade_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
6542
- readonly documentfacade_createFromObject: (a: number, b: number, c: number) => number;
6543
- readonly documentfacade_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
6544
- readonly documentfacade_createExtendedDocumentFromDocumentBuffer: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
6545
- readonly documentfacade_createStateTransition: (a: number, b: number, c: number) => void;
6546
- readonly documentfacade_validate: (a: number, b: number) => number;
6547
- readonly documentfacade_validate_raw_document: (a: number, b: number) => number;
6548
- readonly __wbg_documentdeletetransition_free: (a: number) => void;
6549
- readonly documentdeletetransition_getAction: (a: number) => number;
6550
- readonly documentdeletetransition_toObject: (a: number, b: number, c: number) => void;
6551
- readonly documentdeletetransition_toJSON: (a: number, b: number) => void;
6552
- readonly documentdeletetransition_getId: (a: number) => number;
6553
- readonly documentdeletetransition_getType: (a: number, b: number) => void;
6554
- readonly documentdeletetransition_getDataContract: (a: number) => number;
6555
- readonly documentdeletetransition_getDataContractId: (a: number) => number;
6556
- readonly documentdeletetransition_get: (a: number, b: number, c: number, d: number) => void;
6557
- readonly __wbg_documentsbatchtransition_free: (a: number) => void;
6558
- readonly documentsbatchtransition_from_raw_object: (a: number, b: number, c: number) => void;
6559
- readonly documentsbatchtransition_getType: (a: number) => number;
6560
- readonly documentsbatchtransition_getOwnerId: (a: number) => number;
6561
- readonly documentsbatchtransition_getTransitions: (a: number) => number;
6562
- readonly documentsbatchtransition_setTransitions: (a: number, b: number, c: number) => void;
6563
- readonly documentsbatchtransition_toJSON: (a: number, b: number) => void;
6564
- readonly documentsbatchtransition_toObject: (a: number, b: number, c: number) => void;
6565
- readonly documentsbatchtransition_getModifiedDataIds: (a: number) => number;
6566
- readonly documentsbatchtransition_getSignaturePublicKeyId: (a: number, b: number) => void;
6567
- readonly documentsbatchtransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6568
- readonly documentsbatchtransition_verifyPublicKeyLevelAndPurpose: (a: number, b: number, c: number) => void;
6569
- readonly documentsbatchtransition_verifyPublicKeyIsEnabled: (a: number, b: number, c: number) => void;
6570
- readonly documentsbatchtransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
6571
- readonly documentsbatchtransition_setSignaturePublicKeyId: (a: number, b: number) => void;
6572
- readonly documentsbatchtransition_getKeySecurityLevelRequirement: (a: number) => number;
6573
- readonly documentsbatchtransition_getProtocolVersion: (a: number) => number;
6574
- readonly documentsbatchtransition_getSignature: (a: number, b: number) => void;
6575
- readonly documentsbatchtransition_setSignature: (a: number, b: number, c: number) => void;
6576
- readonly documentsbatchtransition_isDocumentStateTransition: (a: number) => number;
6577
- readonly documentsbatchtransition_isDataContractStateTransition: (a: number) => number;
6578
- readonly documentsbatchtransition_isIdentityStateTransition: (a: number) => number;
6579
- readonly documentsbatchtransition_toBuffer: (a: number, b: number) => void;
6580
- readonly documentsbatchtransition_hash: (a: number, b: number, c: number) => void;
6581
6721
  readonly __wbg_datacontractimmutablepropertiesupdateerror_free: (a: number) => void;
6582
6722
  readonly datacontractimmutablepropertiesupdateerror_getOperation: (a: number, b: number) => void;
6583
6723
  readonly datacontractimmutablepropertiesupdateerror_getFieldPath: (a: number, b: number) => void;
@@ -6602,17 +6742,17 @@ export interface InitOutput {
6602
6742
  readonly duplicatedidentitypublickeyiderror_getCode: (a: number) => number;
6603
6743
  readonly duplicatedidentitypublickeyiderror_message: (a: number, b: number) => void;
6604
6744
  readonly duplicatedidentitypublickeyiderror_serialize: (a: number, b: number) => void;
6605
- readonly __wbg_datatriggerinvalidresulterror_free: (a: number) => void;
6606
- readonly datatriggerinvalidresulterror_getDataContractId: (a: number) => number;
6607
- readonly datatriggerinvalidresulterror_getDocumentId: (a: number) => number;
6608
- readonly datatriggerinvalidresulterror_getCode: (a: number) => number;
6609
- readonly datatriggerinvalidresulterror_message: (a: number, b: number) => void;
6610
- readonly datatriggerinvalidresulterror_serialize: (a: number, b: number) => void;
6611
- readonly __wbg_datatriggeractioninvalidresulterror_free: (a: number) => void;
6612
- readonly datatriggeractioninvalidresulterror_getDataContractId: (a: number) => number;
6613
- readonly datatriggeractioninvalidresulterror_getDocumentTransitionId: (a: number) => number;
6614
- readonly datatriggeractioninvalidresulterror_getOwnerId: (a: number) => number;
6615
- readonly datatriggeractioninvalidresulterror_getCode: (a: number) => number;
6745
+ readonly __wbg_identityassetlocktransactionoutpointalreadyexistserror_free: (a: number) => void;
6746
+ readonly identityassetlocktransactionoutpointalreadyexistserror_getOutputIndex: (a: number) => number;
6747
+ readonly identityassetlocktransactionoutpointalreadyexistserror_getTransactionId: (a: number) => number;
6748
+ readonly identityassetlocktransactionoutpointalreadyexistserror_getCode: (a: number) => number;
6749
+ readonly identityassetlocktransactionoutpointalreadyexistserror_message: (a: number, b: number) => void;
6750
+ readonly identityassetlocktransactionoutpointalreadyexistserror_serialize: (a: number, b: number) => void;
6751
+ readonly __wbg_missingstatetransitiontypeerror_free: (a: number) => void;
6752
+ readonly missingstatetransitiontypeerror_new: () => number;
6753
+ readonly missingstatetransitiontypeerror_getCode: (a: number) => number;
6754
+ readonly missingstatetransitiontypeerror_message: (a: number, b: number) => void;
6755
+ readonly missingstatetransitiontypeerror_serialize: (a: number, b: number) => void;
6616
6756
  readonly duplicatedidentitypublickeyidstateerror_getDuplicatedIds: (a: number) => number;
6617
6757
  readonly duplicatedidentitypublickeyidstateerror_getCode: (a: number) => number;
6618
6758
  readonly duplicatedidentitypublickeyidstateerror_message: (a: number, b: number) => void;
@@ -6621,42 +6761,163 @@ export interface InitOutput {
6621
6761
  readonly duplicatedidentitypublickeystateerror_getCode: (a: number) => number;
6622
6762
  readonly duplicatedidentitypublickeystateerror_message: (a: number, b: number) => void;
6623
6763
  readonly duplicatedidentitypublickeystateerror_serialize: (a: number, b: number) => void;
6624
- readonly __wbg_metadata_free: (a: number) => void;
6625
- readonly metadata_new: (a: number, b: number) => void;
6626
- readonly metadata_from: (a: number, b: number) => void;
6627
- readonly metadata_toJSON: (a: number) => number;
6628
- readonly metadata_toObject: (a: number) => number;
6629
- readonly metadata_getBlockHeight: (a: number) => number;
6630
- readonly metadata_getCoreChainLockedHeight: (a: number) => number;
6631
- readonly metadata_getTimeMs: (a: number) => number;
6632
- readonly metadata_getProtocolVersion: (a: number) => number;
6633
- readonly __wbg_precalculatedoperation_free: (a: number) => void;
6634
- readonly precalculatedoperation_new: (a: number, b: number, c: number, d: number) => void;
6635
- readonly precalculatedoperation_fromFee: (a: number) => number;
6636
- readonly precalculatedoperation_getProcessingCost: (a: number, b: number) => void;
6637
- readonly precalculatedoperation_getStorageCost: (a: number, b: number) => void;
6638
- readonly precalculatedoperation_refunds: (a: number) => number;
6639
- readonly precalculatedoperation_refunds_as_objects: (a: number, b: number) => void;
6640
- readonly precalculatedoperation_toJSON: (a: number, b: number) => void;
6641
- readonly __wbg_signatureverificationoperation_free: (a: number) => void;
6642
- readonly signatureverificationoperation_new: (a: number, b: number) => void;
6643
- readonly signatureverificationoperation_getProcessingCost: (a: number, b: number) => void;
6644
- readonly signatureverificationoperation_getStorageCost: (a: number, b: number) => void;
6645
- readonly signatureverificationoperation_refunds: (a: number) => number;
6646
- readonly signatureverificationoperation_toJSON: (a: number, b: number) => void;
6647
- readonly __wbg_validationresult_free: (a: number) => void;
6648
- readonly validationresult_new: (a: number, b: number, c: number) => void;
6649
- readonly validationresult_errorsText: (a: number, b: number) => void;
6650
- readonly validationresult_isValid: (a: number) => number;
6651
- readonly validationresult_errors: (a: number, b: number) => void;
6652
- readonly validationresult_getData: (a: number) => number;
6653
- readonly validationresult_getFirstError: (a: number) => number;
6654
- readonly validationresult_addError: (a: number, b: number, c: number) => void;
6764
+ readonly __wbg_identityfacade_free: (a: number) => void;
6765
+ readonly identityfacade_create: (a: number, b: number, c: number, d: number) => void;
6766
+ readonly identityfacade_createFromObject: (a: number, b: number, c: number, d: number) => void;
6767
+ readonly identityfacade_createFromBuffer: (a: number, b: number, c: number, d: number, e: number) => void;
6768
+ readonly identityfacade_validate: (a: number, b: number, c: number) => void;
6769
+ readonly identityfacade_createInstantAssetLockProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
6770
+ readonly identityfacade_createChainAssetLockProof: (a: number, b: number, c: number, d: number, e: number) => void;
6771
+ readonly identityfacade_createIdentityCreateTransition: (a: number, b: number, c: number) => void;
6772
+ readonly identityfacade_createIdentityTopUpTransition: (a: number, b: number, c: number, d: number) => void;
6773
+ readonly identityfacade_createIdentityCreditTransferTransition: (a: number, b: number, c: number, d: number, e: number) => void;
6774
+ readonly identityfacade_createIdentityUpdateTransition: (a: number, b: number, c: number, d: number) => void;
6775
+ readonly __wbg_nonconsensuserrorwasm_free: (a: number) => void;
6776
+ readonly __wbg_identitycredittransfertransition_free: (a: number) => void;
6777
+ readonly identitycredittransfertransition_new: (a: number, b: number) => void;
6778
+ readonly identitycredittransfertransition_getType: (a: number) => number;
6779
+ readonly identitycredittransfertransition_amount: (a: number) => number;
6780
+ readonly identitycredittransfertransition_getIdentityId: (a: number) => number;
6781
+ readonly identitycredittransfertransition_getRecipientId: (a: number) => number;
6782
+ readonly identitycredittransfertransition_getAmount: (a: number) => number;
6783
+ readonly identitycredittransfertransition_setAmount: (a: number, b: number) => void;
6784
+ readonly identitycredittransfertransition_toObject: (a: number, b: number, c: number) => void;
6785
+ readonly identitycredittransfertransition_toBuffer: (a: number, b: number) => void;
6786
+ readonly identitycredittransfertransition_toJSON: (a: number, b: number) => void;
6787
+ readonly identitycredittransfertransition_getModifiedDataIds: (a: number, b: number) => void;
6788
+ readonly identitycredittransfertransition_isDataContractStateTransition: (a: number) => number;
6789
+ readonly identitycredittransfertransition_isDocumentStateTransition: (a: number) => number;
6790
+ readonly identitycredittransfertransition_isIdentityStateTransition: (a: number) => number;
6791
+ readonly identitycredittransfertransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6792
+ readonly identitycredittransfertransition_getSignature: (a: number) => number;
6793
+ readonly identitycredittransfertransition_setSignature: (a: number, b: number, c: number) => void;
6794
+ readonly identitycredittransfertransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6795
+ readonly __wbg_duplicatedocumenttransitionswithindiceserror_free: (a: number) => void;
6655
6796
  readonly __wbg_duplicatedidentitypublickeyiderror_free: (a: number) => void;
6656
6797
  readonly __wbg_duplicatedidentitypublickeyidstateerror_free: (a: number) => void;
6657
6798
  readonly __wbg_duplicatedidentitypublickeystateerror_free: (a: number) => void;
6658
- readonly validationresult_getErrors: (a: number, b: number) => void;
6659
- readonly __wbg_duplicatedocumenttransitionswithindiceserror_free: (a: number) => void;
6799
+ readonly identitycredittransfertransition_identityId: (a: number) => number;
6800
+ readonly identitycredittransfertransition_recipientId: (a: number) => number;
6801
+ readonly findDuplicatesByIndices: (a: number, b: number, c: number, d: number) => void;
6802
+ readonly __wbg_datacontractmaxdepthexceederror_free: (a: number) => void;
6803
+ readonly datacontractmaxdeptherror_getMaxDepth: (a: number) => number;
6804
+ readonly datacontractmaxdeptherror_getSchemaDepth: (a: number) => number;
6805
+ readonly datacontractmaxdeptherror_getCode: (a: number) => number;
6806
+ readonly datacontractmaxdeptherror_message: (a: number, b: number) => void;
6807
+ readonly datacontractmaxdeptherror_serialize: (a: number, b: number) => void;
6808
+ readonly invaliddatacontractversionerror_getExpectedVersion: (a: number) => number;
6809
+ readonly invaliddatacontractversionerror_getVersion: (a: number) => number;
6810
+ readonly invaliddatacontractversionerror_getCode: (a: number) => number;
6811
+ readonly invaliddatacontractversionerror_message: (a: number, b: number) => void;
6812
+ readonly invaliddatacontractversionerror_serialize: (a: number, b: number) => void;
6813
+ readonly __wbg_identityinsufficientbalanceerror_free: (a: number) => void;
6814
+ readonly identityinsufficientbalanceerror_getIdentityId: (a: number) => number;
6815
+ readonly identityinsufficientbalanceerror_getBalance: (a: number) => number;
6816
+ readonly identityinsufficientbalanceerror_getCode: (a: number) => number;
6817
+ readonly identityinsufficientbalanceerror_message: (a: number, b: number) => void;
6818
+ readonly identityinsufficientbalanceerror_serialize: (a: number, b: number) => void;
6819
+ readonly invalidassetlockproofcorechainheighterror_getProofCoreChainLockedHeight: (a: number) => number;
6820
+ readonly invalidassetlockproofcorechainheighterror_getCurrentCoreChainLockedHeight: (a: number) => number;
6821
+ readonly invalidassetlockproofcorechainheighterror_getCode: (a: number) => number;
6822
+ readonly invalidassetlockproofcorechainheighterror_message: (a: number, b: number) => void;
6823
+ readonly invalidassetlockproofcorechainheighterror_serialize: (a: number, b: number) => void;
6824
+ readonly incompatibleprotocolversionerror_getParsedProtocolVersion: (a: number) => number;
6825
+ readonly incompatibleprotocolversionerror_getMinimalProtocolVersion: (a: number) => number;
6826
+ readonly incompatibleprotocolversionerror_getCode: (a: number) => number;
6827
+ readonly incompatibleprotocolversionerror_message: (a: number, b: number) => void;
6828
+ readonly incompatibleprotocolversionerror_serialize: (a: number, b: number) => void;
6829
+ readonly __wbg_publickeysecuritylevelnotmeterror_free: (a: number) => void;
6830
+ readonly publickeysecuritylevelnotmeterror_getPublicKeySecurityLevel: (a: number) => number;
6831
+ readonly publickeysecuritylevelnotmeterror_getKeySecurityLevelRequirement: (a: number) => number;
6832
+ readonly publickeysecuritylevelnotmeterror_getCode: (a: number) => number;
6833
+ readonly publickeysecuritylevelnotmeterror_message: (a: number, b: number) => void;
6834
+ readonly publickeysecuritylevelnotmeterror_serialize: (a: number, b: number) => void;
6835
+ readonly statetransitionmaxsizeexceedederror_getActualSizeKBytes: (a: number) => number;
6836
+ readonly statetransitionmaxsizeexceedederror_getMaxSizeKBytes: (a: number) => number;
6837
+ readonly statetransitionmaxsizeexceedederror_getCode: (a: number) => number;
6838
+ readonly statetransitionmaxsizeexceedederror_message: (a: number, b: number) => void;
6839
+ readonly statetransitionmaxsizeexceedederror_serialize: (a: number, b: number) => void;
6840
+ readonly unsupportedprotocolversionerror_getParsedProtocolVersion: (a: number) => number;
6841
+ readonly unsupportedprotocolversionerror_getLatestVersion: (a: number) => number;
6842
+ readonly unsupportedprotocolversionerror_getCode: (a: number) => number;
6843
+ readonly unsupportedprotocolversionerror_message: (a: number, b: number) => void;
6844
+ readonly unsupportedprotocolversionerror_serialize: (a: number, b: number) => void;
6845
+ readonly wrongpublickeypurposeerror_getPublicKeyPurpose: (a: number) => number;
6846
+ readonly wrongpublickeypurposeerror_getKeyPurposeRequirement: (a: number) => number;
6847
+ readonly wrongpublickeypurposeerror_getCode: (a: number) => number;
6848
+ readonly wrongpublickeypurposeerror_message: (a: number, b: number) => void;
6849
+ readonly wrongpublickeypurposeerror_serialize: (a: number, b: number) => void;
6850
+ readonly __wbg_missingidentitypublickeyidserror_free: (a: number) => void;
6851
+ readonly missingidentitypublickeyidserror_getDuplicatedIds: (a: number) => number;
6852
+ readonly __wbg_instantassetlockproof_free: (a: number) => void;
6853
+ readonly instantassetlockproof_new: (a: number, b: number) => void;
6854
+ readonly instantassetlockproof_getType: (a: number) => number;
6855
+ readonly instantassetlockproof_getOutputIndex: (a: number) => number;
6856
+ readonly instantassetlockproof_getOutPoint: (a: number) => number;
6857
+ readonly instantassetlockproof_getOutput: (a: number, b: number) => void;
6858
+ readonly instantassetlockproof_createIdentifier: (a: number, b: number) => void;
6859
+ readonly instantassetlockproof_getInstantLock: (a: number) => number;
6860
+ readonly instantassetlockproof_getTransaction: (a: number) => number;
6861
+ readonly instantassetlockproof_toObject: (a: number, b: number) => void;
6862
+ readonly instantassetlockproof_toJSON: (a: number, b: number) => void;
6863
+ readonly __wbg_identitycreatetransition_free: (a: number) => void;
6864
+ readonly identitycreatetransition_new: (a: number, b: number) => void;
6865
+ readonly identitycreatetransition_setAssetLockProof: (a: number, b: number, c: number) => void;
6866
+ readonly identitycreatetransition_assetLockProof: (a: number) => number;
6867
+ readonly identitycreatetransition_setPublicKeys: (a: number, b: number, c: number, d: number) => void;
6868
+ readonly identitycreatetransition_addPublicKeys: (a: number, b: number, c: number, d: number) => void;
6869
+ readonly identitycreatetransition_getPublicKeys: (a: number, b: number) => void;
6870
+ readonly identitycreatetransition_getType: (a: number) => number;
6871
+ readonly identitycreatetransition_getIdentityId: (a: number) => number;
6872
+ readonly identitycreatetransition_getOwnerId: (a: number) => number;
6873
+ readonly identitycreatetransition_toObject: (a: number, b: number, c: number) => void;
6874
+ readonly identitycreatetransition_toBuffer: (a: number, b: number) => void;
6875
+ readonly identitycreatetransition_toJSON: (a: number, b: number) => void;
6876
+ readonly identitycreatetransition_getModifiedDataIds: (a: number, b: number) => void;
6877
+ readonly identitycreatetransition_isDataContractStateTransition: (a: number) => number;
6878
+ readonly identitycreatetransition_isDocumentStateTransition: (a: number) => number;
6879
+ readonly identitycreatetransition_isIdentityStateTransition: (a: number) => number;
6880
+ readonly identitycreatetransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6881
+ readonly identitycreatetransition_getSignature: (a: number) => number;
6882
+ readonly identitycreatetransition_setSignature: (a: number, b: number, c: number) => void;
6883
+ readonly __wbg_identitypublickeywithwitness_free: (a: number) => void;
6884
+ readonly identitypublickeywithwitness_new: (a: number, b: number) => void;
6885
+ readonly identitypublickeywithwitness_getId: (a: number) => number;
6886
+ readonly identitypublickeywithwitness_setId: (a: number, b: number) => void;
6887
+ readonly identitypublickeywithwitness_getType: (a: number) => number;
6888
+ readonly identitypublickeywithwitness_setType: (a: number, b: number, c: number) => void;
6889
+ readonly identitypublickeywithwitness_setData: (a: number, b: number, c: number, d: number) => void;
6890
+ readonly identitypublickeywithwitness_getData: (a: number) => number;
6891
+ readonly identitypublickeywithwitness_setPurpose: (a: number, b: number, c: number) => void;
6892
+ readonly identitypublickeywithwitness_getPurpose: (a: number) => number;
6893
+ readonly identitypublickeywithwitness_setSecurityLevel: (a: number, b: number, c: number) => void;
6894
+ readonly identitypublickeywithwitness_getSecurityLevel: (a: number) => number;
6895
+ readonly identitypublickeywithwitness_setReadOnly: (a: number, b: number) => void;
6896
+ readonly identitypublickeywithwitness_isReadOnly: (a: number) => number;
6897
+ readonly identitypublickeywithwitness_setSignature: (a: number, b: number, c: number) => void;
6898
+ readonly identitypublickeywithwitness_getSignature: (a: number, b: number) => void;
6899
+ readonly identitypublickeywithwitness_hash: (a: number, b: number) => void;
6900
+ readonly identitypublickeywithwitness_isMaster: (a: number) => number;
6901
+ readonly identitypublickeywithwitness_toJSON: (a: number, b: number) => void;
6902
+ readonly identitypublickeywithwitness_toObject: (a: number, b: number, c: number) => void;
6903
+ readonly __wbg_identityupdatepublickeysvalidator_free: (a: number) => void;
6904
+ readonly identityupdatepublickeysvalidator_new: () => number;
6905
+ readonly identityupdatepublickeysvalidator_validate: (a: number, b: number, c: number, d: number) => void;
6906
+ readonly __wbg_statetransitionfactory_free: (a: number) => void;
6907
+ readonly statetransitionfactory_new: (a: number, b: number, c: number) => void;
6908
+ readonly statetransitionfactory_createFromObject: (a: number, b: number, c: number) => number;
6909
+ readonly statetransitionfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
6910
+ readonly calculateStateTransitionFeeFromOperations: (a: number, b: number, c: number) => void;
6911
+ readonly __wbg_operation_free: (a: number) => void;
6912
+ readonly identitycreatetransition_publicKeys: (a: number, b: number) => void;
6913
+ readonly identitycreatetransition_getAssetLockProof: (a: number) => number;
6914
+ readonly identitycreatetransition_identityId: (a: number) => number;
6915
+ readonly __wbg_invaliddatacontractversionerror_free: (a: number) => void;
6916
+ readonly __wbg_invalidassetlockproofcorechainheighterror_free: (a: number) => void;
6917
+ readonly __wbg_incompatibleprotocolversionerror_free: (a: number) => void;
6918
+ readonly __wbg_statetransitionmaxsizeexceedederror_free: (a: number) => void;
6919
+ readonly __wbg_unsupportedprotocolversionerror_free: (a: number) => void;
6920
+ readonly __wbg_wrongpublickeypurposeerror_free: (a: number) => void;
6660
6921
  readonly rustsecp256k1_v0_6_1_context_create: (a: number) => number;
6661
6922
  readonly rustsecp256k1_v0_6_1_context_destroy: (a: number) => void;
6662
6923
  readonly rustsecp256k1_v0_6_1_default_illegal_callback_fn: (a: number, b: number) => void;
@@ -6664,11 +6925,11 @@ export interface InitOutput {
6664
6925
  readonly __wbindgen_malloc: (a: number) => number;
6665
6926
  readonly __wbindgen_realloc: (a: number, b: number, c: number) => number;
6666
6927
  readonly __wbindgen_export_2: WebAssembly.Table;
6667
- readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc20888cf22f54164: (a: number, b: number, c: number) => void;
6928
+ readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7b404664d5d1efb8: (a: number, b: number, c: number) => void;
6668
6929
  readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
6669
6930
  readonly __wbindgen_free: (a: number, b: number) => void;
6670
6931
  readonly __wbindgen_exn_store: (a: number) => void;
6671
- readonly wasm_bindgen__convert__closures__invoke2_mut__h6bd18e3c01470de5: (a: number, b: number, c: number, d: number) => void;
6932
+ readonly wasm_bindgen__convert__closures__invoke2_mut__h44d0721b0708b7dc: (a: number, b: number, c: number, d: number) => void;
6672
6933
  }
6673
6934
 
6674
6935
  export type SyncInitInput = BufferSource | WebAssembly.Module;