@dashevo/wasm-dpp 0.24.0-dev.34 → 0.24.0

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 (77) hide show
  1. package/Cargo.toml +2 -1
  2. package/dist/wasm/wasm_dpp.d.ts +615 -589
  3. package/dist/wasm/wasm_dpp.js +58 -51
  4. package/dist/wasm/wasm_dpp_bg.js +1 -1
  5. package/lib/test/fixtures/getIdentityCreateTransitionFixture.js +2 -2
  6. package/lib/test/fixtures/js/generateRandomIdentifier.js +1 -0
  7. package/lib/test/fixtures/js/getChainAssetLockProofFixture.js +1 -0
  8. package/lib/test/fixtures/js/getDataContractFixture.js +1 -0
  9. package/lib/test/fixtures/js/getDocumentTransitionsFixture.js +1 -0
  10. package/lib/test/fixtures/js/getDocumentsFixture.js +1 -0
  11. package/lib/test/fixtures/js/getInstantAssetLockProofFixture.js +1 -0
  12. package/lib/test/mocks/createStateRepositoryMock.js +1 -0
  13. package/lib/wasm/wasm_dpp.d.ts +615 -589
  14. package/package.json +3 -3
  15. package/scripts/build-wasm.sh +4 -4
  16. package/src/errors/value_error.rs +5 -0
  17. package/src/identity/state_transition/mod.rs +1 -0
  18. package/src/identity/state_transition/transition_types.rs +30 -0
  19. package/src/lib.rs +1 -0
  20. package/src/protocol_version.rs +7 -0
  21. package/src/state_transition/errors/invalid_state_transition_error.rs +14 -1
  22. package/src/state_transition/state_transition_facade.rs +7 -1
  23. package/test/integration/dataContract/DataContractFacade.spec.js +1 -1
  24. package/test/integration/dataContract/stateTransition/DataContractCreateTransition/validation/basic/validateDataContractCreateTransitionBasicFactory.spec.js +5 -5
  25. package/test/integration/dataContract/stateTransition/DataContractUpdateTransition/validation/basic/validateDataContractUpdateTransitionBasicFactory.spec.js +7 -7
  26. package/test/integration/dataContract/validation/validateDataContractFactory.spec.js +2 -2
  27. package/test/integration/document/DocumentFacade.spec.js +4 -4
  28. package/test/integration/document/stateTransition/DocumentsBatchTransition/DocumentBatchTransition.spec.js +5 -6
  29. package/test/integration/document/stateTransition/DocumentsBatchTransition/validation/basic/validateDocumentsBatchTransitionBasicFactory.spec.js +14 -14
  30. package/test/integration/document/stateTransition/DocumentsBatchTransition/validation/state/executeDataTriggersFactory.spec.js +1 -1
  31. package/test/integration/document/validation/validateDocumentFactory.spec.js +2 -2
  32. package/test/integration/identity/IdentityFacade.spec.js +8 -8
  33. package/test/integration/identity/stateTransition/IdentityCreateTransition/validation/basic/validateIdentityCreateTransitionBasicFactory.spec.js +4 -6
  34. package/test/integration/identity/stateTransition/IdentityTopUpTransition/validation/basic/validateIdentityTopUpTransitionBasicFactory.spec.js +3 -6
  35. package/test/integration/identity/stateTransition/IdentityUpdateTransition/validation/state/validateIdentityUpdateTransitionStateFactory.spec.js +20 -23
  36. package/test/integration/identity/stateTransition/IdentityUpdateTransition/validation/state/validatePublicKeysState.spec.js +1 -1
  37. package/test/integration/identity/stateTransition/assetLockProof/chain/validateChainAssetLockProofStructureFactory.spec.js +3 -3
  38. package/test/integration/identity/stateTransition/assetLockProof/fetchAssetLockTransactionOutputFactory.spec.js +5 -8
  39. package/test/integration/identity/stateTransition/assetLockProof/instant/validateInstantAssetLockProofStructureFactory.spec.js +3 -4
  40. package/test/integration/identity/stateTransition/assetLockProof/validateAssetLockTransactionFactory.spec.js +2 -3
  41. package/test/integration/identity/stateTransition/validatePublicKeySignaturesFactory.spec.js +2 -6
  42. package/test/integration/identity/validation/validateIdentityFactory.spec.js +6 -5
  43. package/test/integration/identity/validation/validatePublicKeysFactory.spec.js +4 -24
  44. package/test/integration/stateTransition/StateTransitionFacade.spec.js +11 -15
  45. package/test/unit/DashPlatformProtocol.spec.js +6 -7
  46. package/test/unit/dataContract/DataContract.spec.js +10 -9
  47. package/test/unit/dataContract/DataContractFactory.spec.js +4 -5
  48. package/test/unit/dataContract/createDataContract.spec.js +5 -5
  49. package/test/unit/dataContract/stateTransition/DataContractCreateTransition/DataContractCreateTransition.spec.js +14 -13
  50. package/test/unit/dataContract/stateTransition/DataContractCreateTransition/applyDataContractCreateTransitionFactory.spec.js +6 -8
  51. package/test/unit/dataContract/stateTransition/DataContractCreateTransition/validation/state/validateDataContractCreateTransitionStateFactory.spec.js +6 -6
  52. package/test/unit/dataContract/stateTransition/DataContractUpdateTransition/DataContractUpdateTransition.spec.js +14 -12
  53. package/test/unit/dataContract/stateTransition/DataContractUpdateTransition/applyDataContractUpdateTransitionFactory.spec.js +6 -6
  54. package/test/unit/dataContract/stateTransition/DataContractUpdateTransition/validation/basic/validateIndicesAreBackwardCompatible.spec.js +4 -4
  55. package/test/unit/dataContract/stateTransition/DataContractUpdateTransition/validation/state/validateDataContractUpdateTransitionStateFactory.spec.js +7 -7
  56. package/test/unit/dataContract/validation/validateDataContractPatterns.spec.js +6 -6
  57. package/test/unit/document/Document.spec.js +5 -4
  58. package/test/unit/document/stateTransition/DocumetsBatchTransition/applyDocumentsBatchTransitionFactory.spec.js +10 -11
  59. package/test/unit/document/stateTransition/DocumetsBatchTransition/validation/state/validateDocumentsBatchTransitionStateFactory.spec.js +8 -8
  60. package/test/unit/identity/Identity.spec.js +6 -6
  61. package/test/unit/identity/IdentityFactory.spec.js +11 -11
  62. package/test/unit/identity/stateTransition/IdentityCreateTransition/IdentityCreateTransition.spec.js +13 -14
  63. package/test/unit/identity/stateTransition/IdentityCreateTransition/applyIdentityCreateTransitionFactory.spec.js +7 -13
  64. package/test/unit/identity/stateTransition/IdentityCreateTransition/validation/state/validateIdentityCreateTransitionStateFactory.spec.js +3 -7
  65. package/test/unit/identity/stateTransition/IdentityTopUpTransition/IdentityTopUpTransition.spec.js +13 -14
  66. package/test/unit/identity/stateTransition/IdentityTopUpTransition/applyIdentityTopUpTransitionFactory.spec.js +5 -9
  67. package/test/unit/identity/stateTransition/IdentityTopUpTransition/validation/state/validateIdentityTopUpTransitionStateFactory.spec.js +4 -8
  68. package/test/unit/identity/stateTransition/IdentityUpdateTransition/IdentityUpdateTransition.spec.js +11 -16
  69. package/test/unit/identity/stateTransition/IdentityUpdateTransition/applyIdentityUpdateTransitionFactory.spec.js +1 -1
  70. package/test/unit/stateTransition/StateTransitionFactory.spec.js +6 -7
  71. package/test/unit/stateTransition/createStateTransitionFactory.spec.js +41 -19
  72. package/test/unit/stateTransition/validation/validateStateTransitionKeySignatureFactory.spec.js +6 -12
  73. package/test/integration/ajv/keywords/byteArray/addByteArrayKeyword.spec.js +0 -148
  74. package/test/integration/util/generateEntropy.spec.js +0 -17
  75. package/test/integration/util/serializer.spec.js +0 -24
  76. package/test/unit/identity/errors/InvalidIdentityError.spec.js +0 -46
  77. package/test/unit/stateTransition/errors/InvalidStateTransitionError.spec.js +0 -51
@@ -64,19 +64,6 @@ export function fetchAssetLockPublicKeyHash(state_repository: any, raw_asset_loc
64
64
  */
65
65
  export function calculateOperationFees(operations: Array<any>): DummyFeesResult;
66
66
  /**
67
- * @param {Array<any>} js_raw_transitions
68
- * @param {DataContract} data_contract
69
- * @returns {ValidationResult}
70
- */
71
- export function validatePartialCompoundIndices(js_raw_transitions: Array<any>, data_contract: DataContract): ValidationResult;
72
- /**
73
- * @param {any} external_state_repository
74
- * @param {any} js_state_transition
75
- * @param {any} bls_adapter
76
- * @returns {Promise<ValidationResult>}
77
- */
78
- export function validateStateTransitionIdentitySignature(external_state_repository: any, js_state_transition: any, bls_adapter: any): Promise<ValidationResult>;
79
- /**
80
67
  * @param {any} state_repository
81
68
  * @param {DataContractUpdateTransition} state_transition
82
69
  * @returns {Promise<ValidationResult>}
@@ -96,6 +83,12 @@ export function validateIndicesAreBackwardCompatible(old_documents_schema: any,
96
83
  */
97
84
  export function validateDataContractUpdateTransitionBasic(state_repository: any, raw_parameters: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
98
85
  /**
86
+ * @param {Array<any>} js_raw_transitions
87
+ * @param {DataContract} data_contract
88
+ * @returns {ValidationResult}
89
+ */
90
+ export function validatePartialCompoundIndices(js_raw_transitions: Array<any>, data_contract: DataContract): ValidationResult;
91
+ /**
99
92
  * @param {any} state_repository
100
93
  * @param {any} js_owner_id
101
94
  * @param {Array<any>} js_document_transitions
@@ -105,6 +98,21 @@ export function validateDataContractUpdateTransitionBasic(state_repository: any,
105
98
  */
106
99
  export function validateDocumentsUniquenessByIndices(state_repository: any, js_owner_id: any, js_document_transitions: Array<any>, js_data_contract: DataContract, js_execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
107
100
  /**
101
+ * @param {any} external_state_repository
102
+ * @param {any} js_state_transition
103
+ * @param {any} bls_adapter
104
+ * @returns {Promise<ValidationResult>}
105
+ */
106
+ export function validateStateTransitionIdentitySignature(external_state_repository: any, js_state_transition: any, bls_adapter: any): Promise<ValidationResult>;
107
+ /**
108
+ * @returns {number}
109
+ */
110
+ export function getCreditsConversionRatio(): number;
111
+ /**
112
+ * @returns {number}
113
+ */
114
+ export function getLatestProtocolVersion(): number;
115
+ /**
108
116
  * @param {any} contract_id
109
117
  * @param {any} owner_id
110
118
  * @param {string} document_type
@@ -113,16 +121,18 @@ export function validateDocumentsUniquenessByIndices(state_repository: any, js_o
113
121
  */
114
122
  export function generateDocumentId(contract_id: any, owner_id: any, document_type: string, entropy: Uint8Array): any;
115
123
  /**
116
- * @returns {number}
117
- */
118
- export function getCreditsConversionRatio(): number;
119
- /**
120
124
  * @param {any} state_repository
121
125
  * @param {any} js_raw_document
122
126
  * @returns {Promise<ValidationResult>}
123
127
  */
124
128
  export function fetchAndValidateDataContract(state_repository: any, js_raw_document: any): Promise<ValidationResult>;
125
129
  /**
130
+ * @param {any} state_repository
131
+ * @param {DocumentsBatchTransition} transition
132
+ * @returns {Promise<void>}
133
+ */
134
+ export function applyDocumentsBatchTransition(state_repository: any, transition: DocumentsBatchTransition): Promise<void>;
135
+ /**
126
136
  * @param {Array<any>} js_raw_transitions
127
137
  * @param {DataContract} data_contract
128
138
  * @param {any} owner_id
@@ -130,38 +140,6 @@ export function fetchAndValidateDataContract(state_repository: any, js_raw_docum
130
140
  */
131
141
  export function findDuplicatesByIndices(js_raw_transitions: Array<any>, data_contract: DataContract, owner_id: any): any[];
132
142
  /**
133
- * @param {any} state_repository
134
- * @param {Array<any>} js_document_transitions
135
- * @param {StateTransitionExecutionContext} js_execution_context
136
- * @returns {Promise<Array<any>>}
137
- */
138
- export function fetchExtendedDocuments(state_repository: any, js_document_transitions: Array<any>, js_execution_context: StateTransitionExecutionContext): Promise<Array<any>>;
139
- /**
140
- * @param {Array<any>} js_document_transitions
141
- * @param {DataTriggerExecutionContext} js_context
142
- * @param {Array<any>} js_data_triggers
143
- * @returns {Promise<Array<any>>}
144
- */
145
- export function executeDataTriggers(js_document_transitions: Array<any>, js_context: DataTriggerExecutionContext, js_data_triggers: Array<any>): Promise<Array<any>>;
146
- /**
147
- * @param {any} js_data_contract_id
148
- * @param {string} document_type
149
- * @param {string} transition_action_string
150
- * @param {Array<any>} data_triggers_list
151
- * @returns {Array<any>}
152
- */
153
- export function getDataTriggers(js_data_contract_id: any, document_type: string, transition_action_string: string, data_triggers_list: Array<any>): Array<any>;
154
- /**
155
- * @returns {Array<any>}
156
- */
157
- export function getAllDataTriggers(): Array<any>;
158
- /**
159
- * @param {any} state_repository
160
- * @param {DocumentsBatchTransition} transition
161
- * @returns {Promise<void>}
162
- */
163
- export function applyDocumentsBatchTransition(state_repository: any, transition: DocumentsBatchTransition): Promise<void>;
164
- /**
165
143
  * @param {ProtocolVersionValidator} protocol_version_validator
166
144
  * @param {any} state_repository
167
145
  * @param {any} js_raw_state_transition
@@ -171,6 +149,13 @@ export function applyDocumentsBatchTransition(state_repository: any, transition:
171
149
  export function validateDocumentsBatchTransitionBasic(protocol_version_validator: ProtocolVersionValidator, state_repository: any, js_raw_state_transition: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
172
150
  /**
173
151
  * @param {any} state_repository
152
+ * @param {Array<any>} js_document_transitions
153
+ * @param {StateTransitionExecutionContext} js_execution_context
154
+ * @returns {Promise<Array<any>>}
155
+ */
156
+ export function fetchExtendedDocuments(state_repository: any, js_document_transitions: Array<any>, js_execution_context: StateTransitionExecutionContext): Promise<Array<any>>;
157
+ /**
158
+ * @param {any} state_repository
174
159
  * @param {DocumentsBatchTransition} state_transition
175
160
  * @returns {Promise<ValidationResult>}
176
161
  */
@@ -194,15 +179,45 @@ export function applyIdentityTopUpTransition(state_repository: any, state_transi
194
179
  */
195
180
  export function applyIdentityUpdateTransition(state_repository: any, state_transition: IdentityUpdateTransition): Promise<void>;
196
181
  /**
182
+ * @param {Uint8Array} buffer
183
+ * @returns {Array<any>}
184
+ */
185
+ export function decodeProtocolEntity(buffer: Uint8Array): Array<any>;
186
+ /**
187
+ * @param {any} js_data_contract_id
188
+ * @param {string} document_type
189
+ * @param {string} transition_action_string
190
+ * @param {Array<any>} data_triggers_list
191
+ * @returns {Array<any>}
192
+ */
193
+ export function getDataTriggers(js_data_contract_id: any, document_type: string, transition_action_string: string, data_triggers_list: Array<any>): Array<any>;
194
+ /**
195
+ * @returns {Array<any>}
196
+ */
197
+ export function getAllDataTriggers(): Array<any>;
198
+ /**
197
199
  * @param {any} state_transition_js
198
200
  * @returns {FeeResult}
199
201
  */
200
202
  export function calculateStateTransitionFee(state_transition_js: any): FeeResult;
201
203
  /**
202
- * @param {Uint8Array} buffer
203
- * @returns {Array<any>}
204
+ * @param {Array<any>} js_document_transitions
205
+ * @param {DataTriggerExecutionContext} js_context
206
+ * @param {Array<any>} js_data_triggers
207
+ * @returns {Promise<Array<any>>}
204
208
  */
205
- export function decodeProtocolEntity(buffer: Uint8Array): Array<any>;
209
+ export function executeDataTriggers(js_document_transitions: Array<any>, js_context: DataTriggerExecutionContext, js_data_triggers: Array<any>): Promise<Array<any>>;
210
+ /**
211
+ */
212
+ export enum StateTransitionTypes {
213
+ DataContractCreate = 0,
214
+ DocumentsBatch = 1,
215
+ IdentityCreate = 2,
216
+ IdentityTopUp = 3,
217
+ DataContractUpdate = 4,
218
+ IdentityUpdate = 5,
219
+ IdentityCreditWithdrawal = 6,
220
+ }
206
221
  /**
207
222
  */
208
223
  export enum KeyPurpose {
@@ -4224,6 +4239,10 @@ export class InvalidStateTransitionError {
4224
4239
  * @returns {any}
4225
4240
  */
4226
4241
  getRawStateTransition(): any;
4242
+ /**
4243
+ * @returns {any}
4244
+ */
4245
+ valueOf(): any;
4227
4246
  }
4228
4247
  /**
4229
4248
  */
@@ -4591,6 +4610,10 @@ export class PlatformValueError {
4591
4610
  * @returns {string}
4592
4611
  */
4593
4612
  toString(): string;
4613
+ /**
4614
+ * @returns {string}
4615
+ */
4616
+ valueOf(): string;
4594
4617
  }
4595
4618
  /**
4596
4619
  */
@@ -5223,16 +5246,128 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
5223
5246
 
5224
5247
  export interface InitOutput {
5225
5248
  readonly memory: WebAssembly.Memory;
5226
- readonly validateDataContractCreateTransitionState: (a: number, b: number) => number;
5227
- readonly validateDataContractCreateTransitionBasic: (a: number) => number;
5249
+ readonly __wbg_indexproperty_free: (a: number) => void;
5250
+ readonly indexproperty_isAscending: (a: number) => number;
5251
+ readonly __wbg_indexdefinition_free: (a: number) => void;
5252
+ readonly indexdefinition_getName: (a: number, b: number) => void;
5253
+ readonly indexdefinition_getProperties: (a: number, b: number) => void;
5254
+ readonly indexdefinition_isUnique: (a: number) => number;
5255
+ readonly indexdefinition_toObject: (a: number, b: number) => void;
5228
5256
  readonly __wbg_invalidactionnameerror_free: (a: number) => void;
5229
5257
  readonly invalidactionnameerror_new: (a: number, b: number) => number;
5230
5258
  readonly invalidactionnameerror_getActions: (a: number, b: number) => void;
5231
- readonly __wbg_invalidjsonschemareferror_free: (a: number) => void;
5259
+ readonly __wbg_mismatchowneridserror_free: (a: number) => void;
5260
+ readonly mismatchowneridserror_new: (a: number, b: number) => number;
5261
+ readonly mismatchowneridserror_getDocuments: (a: number, b: number) => void;
5262
+ readonly __wbg_extendeddocument_free: (a: number) => void;
5263
+ readonly extendeddocument_new: (a: number, b: number, c: number) => void;
5264
+ readonly extendeddocument_getProtocolVersion: (a: number) => number;
5265
+ readonly extendeddocument_getId: (a: number) => number;
5266
+ readonly extendeddocument_setId: (a: number, b: number) => void;
5267
+ readonly extendeddocument_getType: (a: number, b: number) => void;
5268
+ readonly extendeddocument_setType: (a: number, b: number, c: number) => void;
5269
+ readonly extendeddocument_getDataContractId: (a: number) => number;
5270
+ readonly extendeddocument_getDataContract: (a: number) => number;
5271
+ readonly extendeddocument_setDataContractId: (a: number, b: number, c: number) => void;
5272
+ readonly extendeddocument_getDocument: (a: number) => number;
5273
+ readonly extendeddocument_setOwnerId: (a: number, b: number) => void;
5274
+ readonly extendeddocument_getOwnerId: (a: number) => number;
5275
+ readonly extendeddocument_setRevision: (a: number, b: number, c: number) => void;
5276
+ readonly extendeddocument_getRevision: (a: number, b: number) => void;
5277
+ readonly extendeddocument_setEntropy: (a: number, b: number, c: number, d: number) => void;
5278
+ readonly extendeddocument_getEntropy: (a: number) => number;
5279
+ readonly extendeddocument_setData: (a: number, b: number, c: number) => void;
5280
+ readonly extendeddocument_getData: (a: number, b: number) => void;
5281
+ readonly extendeddocument_set: (a: number, b: number, c: number, d: number, e: number) => void;
5282
+ readonly extendeddocument_get: (a: number, b: number, c: number) => number;
5283
+ readonly extendeddocument_setCreatedAt: (a: number, b: number) => void;
5284
+ readonly extendeddocument_setUpdatedAt: (a: number, b: number) => void;
5285
+ readonly extendeddocument_getCreatedAt: (a: number) => number;
5286
+ readonly extendeddocument_getUpdatedAt: (a: number) => number;
5287
+ readonly extendeddocument_getMetadata: (a: number) => number;
5288
+ readonly extendeddocument_setMetadata: (a: number, b: number, c: number) => void;
5289
+ readonly extendeddocument_toObject: (a: number, b: number, c: number) => void;
5290
+ readonly extendeddocument_toJSON: (a: number, b: number) => void;
5291
+ readonly extendeddocument_toBuffer: (a: number, b: number) => void;
5292
+ readonly extendeddocument_hash: (a: number, b: number) => void;
5293
+ readonly extendeddocument_clone: (a: number) => number;
5294
+ readonly __wbg_documenttransition_free: (a: number) => void;
5295
+ readonly documenttransition_getId: (a: number) => number;
5296
+ readonly documenttransition_getType: (a: number, b: number) => void;
5297
+ readonly documenttransition_getAction: (a: number) => number;
5298
+ readonly documenttransition_getDataContract: (a: number) => number;
5299
+ readonly documenttransition_getDataContractId: (a: number) => number;
5300
+ readonly documenttransition_setDataContractId: (a: number, b: number, c: number) => void;
5301
+ readonly documenttransition_getRevision: (a: number) => number;
5302
+ readonly documenttransition_getCreatedAt: (a: number) => number;
5303
+ readonly documenttransition_getUpdatedAt: (a: number) => number;
5304
+ readonly documenttransition_setUpdatedAt: (a: number, b: number, c: number) => void;
5305
+ readonly documenttransition_setCreatedAt: (a: number, b: number) => void;
5306
+ readonly documenttransition_getData: (a: number, b: number) => void;
5307
+ readonly documenttransition_get: (a: number, b: number, c: number) => number;
5308
+ readonly documenttransition_toObject: (a: number, b: number, c: number) => void;
5309
+ readonly documenttransition_toJSON: (a: number, b: number) => void;
5310
+ readonly documenttransition_fromTransitionCreate: (a: number) => number;
5311
+ readonly documenttransition_fromTransitionReplace: (a: number) => number;
5312
+ readonly documenttransition_fromTransitionDelete: (a: number) => number;
5232
5313
  readonly invalidjsonschemareferror_getRefError: (a: number, b: number) => void;
5233
5314
  readonly invalidjsonschemareferror_getCode: (a: number) => number;
5234
5315
  readonly invalidjsonschemareferror_message: (a: number, b: number) => void;
5235
5316
  readonly invalidjsonschemareferror_serialize: (a: number, b: number) => void;
5317
+ readonly serializedobjectparsingerror_getParsingError: (a: number, b: number) => void;
5318
+ readonly serializedobjectparsingerror_getCode: (a: number) => number;
5319
+ readonly serializedobjectparsingerror_message: (a: number, b: number) => void;
5320
+ readonly serializedobjectparsingerror_serialize: (a: number, b: number) => void;
5321
+ readonly __wbg_invaliddocumenttransitionactionerror_free: (a: number) => void;
5322
+ readonly invaliddocumenttransitionactionerror_getAction: (a: number, b: number) => void;
5323
+ readonly invaliddocumenttransitionactionerror_getCode: (a: number) => number;
5324
+ readonly invaliddocumenttransitionactionerror_message: (a: number, b: number) => void;
5325
+ readonly invaliddocumenttransitionactionerror_serialize: (a: number, b: number) => void;
5326
+ readonly identityassetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
5327
+ readonly identityassetlocktransactionisnotfounderror_getCode: (a: number) => number;
5328
+ readonly identityassetlocktransactionisnotfounderror_message: (a: number, b: number) => void;
5329
+ readonly identityassetlocktransactionisnotfounderror_serialize: (a: number, b: number) => void;
5330
+ readonly jsonschemacompilationerror_getError: (a: number, b: number) => void;
5331
+ readonly jsonschemacompilationerror_getCode: (a: number) => number;
5332
+ readonly jsonschemacompilationerror_message: (a: number, b: number) => void;
5333
+ readonly jsonschemacompilationerror_serialize: (a: number, b: number) => void;
5334
+ readonly __wbg_identityalreadyexistserror_free: (a: number) => void;
5335
+ readonly identityalreadyexistserror_getIdentityId: (a: number) => number;
5336
+ readonly identityalreadyexistserror_getCode: (a: number) => number;
5337
+ readonly identityalreadyexistserror_message: (a: number, b: number) => void;
5338
+ readonly identityalreadyexistserror_serialize: (a: number, b: number) => void;
5339
+ readonly __wbg_publickeysvalidator_free: (a: number) => void;
5340
+ readonly publickeysvalidator_new: (a: number, b: number) => void;
5341
+ readonly publickeysvalidator_validateKeys: (a: number, b: number, c: number) => void;
5342
+ readonly publickeysvalidator_validatePublicKeyStructure: (a: number, b: number, c: number) => void;
5343
+ readonly publickeysvalidator_validateKeysInStateTransition: (a: number, b: number, c: number) => void;
5344
+ readonly __wbg_instantassetlockproof_free: (a: number) => void;
5345
+ readonly instantassetlockproof_new: (a: number, b: number) => void;
5346
+ readonly instantassetlockproof_getType: (a: number) => number;
5347
+ readonly instantassetlockproof_getOutputIndex: (a: number) => number;
5348
+ readonly instantassetlockproof_getOutPoint: (a: number) => number;
5349
+ readonly instantassetlockproof_getOutput: (a: number, b: number) => void;
5350
+ readonly instantassetlockproof_createIdentifier: (a: number, b: number) => void;
5351
+ readonly instantassetlockproof_getInstantLock: (a: number) => number;
5352
+ readonly instantassetlockproof_getTransaction: (a: number) => number;
5353
+ readonly instantassetlockproof_toObject: (a: number, b: number) => void;
5354
+ readonly instantassetlockproof_toJSON: (a: number, b: number) => void;
5355
+ readonly __wbg_statetransitionexecutioncontext_free: (a: number) => void;
5356
+ readonly statetransitionexecutioncontext_new: () => number;
5357
+ readonly statetransitionexecutioncontext_enableDryRun: (a: number) => void;
5358
+ readonly statetransitionexecutioncontext_disableDryRun: (a: number) => void;
5359
+ readonly statetransitionexecutioncontext_isDryRun: (a: number) => number;
5360
+ readonly statetransitionexecutioncontext_addOperation: (a: number, b: number, c: number) => void;
5361
+ readonly statetransitionexecutioncontext_getDryOperations: (a: number, b: number) => void;
5362
+ readonly statetransitionexecutioncontext_getOperations: (a: number, b: number) => void;
5363
+ readonly statetransitionexecutioncontext_clearDryOperations: (a: number) => void;
5364
+ readonly indexproperty_getName: (a: number, b: number) => void;
5365
+ readonly __wbg_identityassetlocktransactionisnotfounderror_free: (a: number) => void;
5366
+ readonly __wbg_serializedobjectparsingerror_free: (a: number) => void;
5367
+ readonly __wbg_invalidjsonschemareferror_free: (a: number) => void;
5368
+ readonly __wbg_jsonschemacompilationerror_free: (a: number) => void;
5369
+ readonly validateDataContractCreateTransitionState: (a: number, b: number) => number;
5370
+ readonly validateDataContractCreateTransitionBasic: (a: number) => number;
5236
5371
  readonly __wbg_identityassetlocktransactionoutputnotfounderror_free: (a: number) => void;
5237
5372
  readonly identityassetlocktransactionoutputnotfounderror_getOutputIndex: (a: number) => number;
5238
5373
  readonly identityassetlocktransactionoutputnotfounderror_getCode: (a: number) => number;
@@ -5289,6 +5424,7 @@ export interface InitOutput {
5289
5424
  readonly maxidentitypublickeylimitreachederror_getCode: (a: number) => number;
5290
5425
  readonly maxidentitypublickeylimitreachederror_message: (a: number, b: number) => void;
5291
5426
  readonly maxidentitypublickeylimitreachederror_serialize: (a: number, b: number) => void;
5427
+ readonly __wbg_assetlockoutputnotfounderror_free: (a: number) => void;
5292
5428
  readonly calculateStateTransitionFeeFromOperations: (a: number, b: number, c: number) => void;
5293
5429
  readonly __wbg_dummyfeesresult_free: (a: number) => void;
5294
5430
  readonly dummyfeesresult_storageFee: (a: number) => number;
@@ -5316,6 +5452,16 @@ export interface InitOutput {
5316
5452
  readonly __wbg_identitypublickeyisdisablederror_free: (a: number) => void;
5317
5453
  readonly __wbg_invalididentitypublickeyiderror_free: (a: number) => void;
5318
5454
  readonly __wbg_maxidentitypublickeylimitreachederror_free: (a: number) => void;
5455
+ readonly __wbg_dashplatformprotocol_free: (a: number) => void;
5456
+ readonly dashplatformprotocol_new: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
5457
+ readonly dashplatformprotocol_data_contract: (a: number) => number;
5458
+ readonly dashplatformprotocol_document: (a: number) => number;
5459
+ readonly dashplatformprotocol_identity: (a: number) => number;
5460
+ readonly dashplatformprotocol_state_transition: (a: number) => number;
5461
+ readonly dashplatformprotocol_getProtocolVersion: (a: number) => number;
5462
+ readonly dashplatformprotocol_setProtocolVersion: (a: number, b: number, c: number) => void;
5463
+ readonly dashplatformprotocol_setStateRepository: (a: number, b: number, c: number) => void;
5464
+ readonly dashplatformprotocol_getStateRepository: (a: number) => number;
5319
5465
  readonly documentnorevisionerror_new: (a: number) => number;
5320
5466
  readonly __wbg_invalidinitialrevisionerror_free: (a: number) => void;
5321
5467
  readonly invalidinitialrevisionerror_new: (a: number) => number;
@@ -5341,6 +5487,10 @@ export interface InitOutput {
5341
5487
  readonly document_toBuffer: (a: number, b: number) => void;
5342
5488
  readonly document_hash: (a: number, b: number, c: number, d: number, e: number) => void;
5343
5489
  readonly document_clone: (a: number) => number;
5490
+ readonly __wbg_invalidinstantassetlockprooferror_free: (a: number) => void;
5491
+ readonly invalidinstantassetlockprooferror_getCode: (a: number) => number;
5492
+ readonly invalidinstantassetlockprooferror_message: (a: number, b: number) => void;
5493
+ readonly invalidinstantassetlockprooferror_serialize: (a: number, b: number) => void;
5344
5494
  readonly __wbg_documenttimestampwindowviolationerror_free: (a: number) => void;
5345
5495
  readonly documenttimestampwindowviolationerror_getDocumentId: (a: number) => number;
5346
5496
  readonly documenttimestampwindowviolationerror_getTimestampName: (a: number, b: number) => void;
@@ -5350,6 +5500,7 @@ export interface InitOutput {
5350
5500
  readonly documenttimestampwindowviolationerror_getCode: (a: number) => number;
5351
5501
  readonly documenttimestampwindowviolationerror_message: (a: number, b: number) => void;
5352
5502
  readonly documenttimestampwindowviolationerror_serialize: (a: number, b: number) => void;
5503
+ readonly datacontractnotpresentnotconsensuserror_getDataContractId: (a: number) => number;
5353
5504
  readonly __wbg_identityfactory_free: (a: number) => void;
5354
5505
  readonly identityfactory_new: (a: number, b: number, c: number) => void;
5355
5506
  readonly identityfactory_create: (a: number, b: number, c: number, d: number) => void;
@@ -5360,24 +5511,20 @@ export interface InitOutput {
5360
5511
  readonly identityfactory_createIdentityCreateTransition: (a: number, b: number, c: number) => void;
5361
5512
  readonly identityfactory_createIdentityTopUpTransition: (a: number, b: number, c: number, d: number) => void;
5362
5513
  readonly identityfactory_createIdentityUpdateTransition: (a: number, b: number, c: number, d: number) => void;
5363
- readonly __wbg_assetlockoutputnotfounderror_free: (a: number) => void;
5364
5514
  readonly __wbg_assetlocktransactionisnotfounderror_free: (a: number) => void;
5365
5515
  readonly assetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
5516
+ readonly __wbg_identitycreatetransitionbasicvalidator_free: (a: number) => void;
5517
+ readonly identitycreatetransitionbasicvalidator_new: (a: number, b: number, c: number) => void;
5518
+ readonly identitycreatetransitionbasicvalidator_validate: (a: number, b: number, c: number) => number;
5366
5519
  readonly generateTemporaryEcdsaPrivateKey: () => number;
5367
5520
  readonly tryingtoreplaceimmutabledocumenterror_new: (a: number) => number;
5521
+ readonly dashplatformprotocol_protocol_version: (a: number) => number;
5368
5522
  readonly __wbg_documentnorevisionerror_free: (a: number) => void;
5369
5523
  readonly __wbg_tryingtoreplaceimmutabledocumenterror_free: (a: number) => void;
5370
5524
  readonly documentnorevisionerror_getDocument: (a: number) => number;
5371
- readonly __wbg_dashplatformprotocol_free: (a: number) => void;
5372
- readonly dashplatformprotocol_new: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
5373
- readonly dashplatformprotocol_data_contract: (a: number) => number;
5374
- readonly dashplatformprotocol_document: (a: number) => number;
5375
- readonly dashplatformprotocol_identity: (a: number) => number;
5376
- readonly dashplatformprotocol_state_transition: (a: number) => number;
5377
- readonly dashplatformprotocol_getProtocolVersion: (a: number) => number;
5378
- readonly dashplatformprotocol_setProtocolVersion: (a: number, b: number, c: number) => void;
5379
- readonly dashplatformprotocol_setStateRepository: (a: number, b: number, c: number) => void;
5380
- readonly dashplatformprotocol_getStateRepository: (a: number) => number;
5525
+ readonly __wbg_datacontractnotpresentnotconsensuserror_free: (a: number) => void;
5526
+ readonly __wbg_datacontractgenericerror_free: (a: number) => void;
5527
+ readonly datacontractgenericerror_getMessage: (a: number, b: number) => void;
5381
5528
  readonly __wbg_documentalreadyexistserror_free: (a: number) => void;
5382
5529
  readonly documentalreadyexistserror_getDocumentTransition: (a: number) => number;
5383
5530
  readonly __wbg_documentfacade_free: (a: number) => void;
@@ -5395,16 +5542,15 @@ export interface InitOutput {
5395
5542
  readonly invalididentitypublickeytypeerror_getCode: (a: number) => number;
5396
5543
  readonly invalididentitypublickeytypeerror_message: (a: number, b: number) => void;
5397
5544
  readonly invalididentitypublickeytypeerror_serialize: (a: number, b: number) => void;
5398
- readonly __wbg_invalidinstantassetlockprooferror_free: (a: number) => void;
5399
- readonly invalidinstantassetlockprooferror_getCode: (a: number) => number;
5400
- readonly invalidinstantassetlockprooferror_message: (a: number, b: number) => void;
5401
- readonly invalidinstantassetlockprooferror_serialize: (a: number, b: number) => void;
5402
- readonly __wbg_datacontractnotpresentnotconsensuserror_free: (a: number) => void;
5403
- readonly datacontractnotpresentnotconsensuserror_getDataContractId: (a: number) => number;
5404
5545
  readonly unknownassetlockprooftypeerror_getType: (a: number) => number;
5405
- readonly __wbg_identitycreatetransitionbasicvalidator_free: (a: number) => void;
5406
- readonly identitycreatetransitionbasicvalidator_new: (a: number, b: number, c: number) => void;
5407
- readonly identitycreatetransitionbasicvalidator_validate: (a: number, b: number, c: number) => number;
5546
+ readonly __wbg_assetlockproof_free: (a: number) => void;
5547
+ readonly assetlockproof_new: (a: number, b: number) => void;
5548
+ readonly assetlockproof_createIdentifier: (a: number, b: number) => void;
5549
+ readonly assetlockproof_toObject: (a: number, b: number) => void;
5550
+ readonly createAssetLockProofInstance: (a: number, b: number) => void;
5551
+ readonly validateAssetLockTransaction: (a: number, b: number, c: number, d: number, e: number) => number;
5552
+ readonly fetchAssetLockTransactionOutput: (a: number, b: number, c: number) => number;
5553
+ readonly fetchAssetLockPublicKeyHash: (a: number, b: number, c: number) => number;
5408
5554
  readonly __wbg_identitytopuptransition_free: (a: number) => void;
5409
5555
  readonly identitytopuptransition_new: (a: number, b: number) => void;
5410
5556
  readonly identitytopuptransition_setAssetLockProof: (a: number, b: number, c: number) => void;
@@ -5424,10 +5570,10 @@ export interface InitOutput {
5424
5570
  readonly identitytopuptransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
5425
5571
  readonly identitytopuptransition_getSignature: (a: number) => number;
5426
5572
  readonly identitytopuptransition_setSignature: (a: number, b: number, c: number) => void;
5573
+ readonly calculateOperationFees: (a: number, b: number) => void;
5427
5574
  readonly __wbg_protocolversionvalidator_free: (a: number) => void;
5428
5575
  readonly protocolversionvalidator_new: (a: number, b: number) => void;
5429
5576
  readonly protocolversionvalidator_validate: (a: number, b: number, c: number) => void;
5430
- readonly dashplatformprotocol_protocol_version: (a: number) => number;
5431
5577
  readonly identitytopuptransition_getAssetLockProof: (a: number) => number;
5432
5578
  readonly identitytopuptransition_identityId: (a: number) => number;
5433
5579
  readonly __wbg_documentnotprovidederror_free: (a: number) => void;
@@ -5435,30 +5581,9 @@ export interface InitOutput {
5435
5581
  readonly __wbg_unknownassetlockprooftypeerror_free: (a: number) => void;
5436
5582
  readonly documentnotprovidederror_getDocumentTransition: (a: number) => number;
5437
5583
  readonly invaliddocumentactionerror_getDocumentTransition: (a: number) => number;
5438
- readonly __wbg_datacontractgenericerror_free: (a: number) => void;
5439
- readonly datacontractgenericerror_getMessage: (a: number, b: number) => void;
5440
5584
  readonly __wbg_revisionabsenterror_free: (a: number) => void;
5441
5585
  readonly revisionabsenterror_new: (a: number) => number;
5442
5586
  readonly revisionabsenterror_getDocument: (a: number) => number;
5443
- readonly __wbg_assetlockproof_free: (a: number) => void;
5444
- readonly assetlockproof_new: (a: number, b: number) => void;
5445
- readonly assetlockproof_createIdentifier: (a: number, b: number) => void;
5446
- readonly assetlockproof_toObject: (a: number, b: number) => void;
5447
- readonly createAssetLockProofInstance: (a: number, b: number) => void;
5448
- readonly validateAssetLockTransaction: (a: number, b: number, c: number, d: number, e: number) => number;
5449
- readonly fetchAssetLockTransactionOutput: (a: number, b: number, c: number) => number;
5450
- readonly fetchAssetLockPublicKeyHash: (a: number, b: number, c: number) => number;
5451
- readonly calculateOperationFees: (a: number, b: number) => void;
5452
- readonly validatePartialCompoundIndices: (a: number, b: number, c: number) => void;
5453
- readonly __wbg_invalidindexedpropertyconstrainterror_free: (a: number) => void;
5454
- readonly invalidindexedpropertyconstrainterror_getDocumentType: (a: number, b: number) => void;
5455
- readonly invalidindexedpropertyconstrainterror_getIndexName: (a: number, b: number) => void;
5456
- readonly invalidindexedpropertyconstrainterror_getPropertyName: (a: number, b: number) => void;
5457
- readonly invalidindexedpropertyconstrainterror_getConstraintName: (a: number, b: number) => void;
5458
- readonly invalidindexedpropertyconstrainterror_getReason: (a: number, b: number) => void;
5459
- readonly invalidindexedpropertyconstrainterror_getCode: (a: number) => number;
5460
- readonly invalidindexedpropertyconstrainterror_message: (a: number, b: number) => void;
5461
- readonly invalidindexedpropertyconstrainterror_serialize: (a: number, b: number) => void;
5462
5587
  readonly __wbg_protocolversionparsingerror_free: (a: number) => void;
5463
5588
  readonly protocolversionparsingerror_new: (a: number, b: number) => number;
5464
5589
  readonly protocolversionparsingerror_getParsingError: (a: number, b: number) => void;
@@ -5471,92 +5596,25 @@ export interface InitOutput {
5471
5596
  readonly missingdocumenttransitionactionerror_getCode: (a: number) => number;
5472
5597
  readonly missingdocumenttransitionactionerror_message: (a: number, b: number) => void;
5473
5598
  readonly missingdocumenttransitionactionerror_serialize: (a: number, b: number) => void;
5474
- readonly missingdocumenttransitiontypeerror_getCode: (a: number) => number;
5475
- readonly missingdocumenttransitiontypeerror_message: (a: number, b: number) => void;
5476
- readonly missingdocumenttransitiontypeerror_serialize: (a: number, b: number) => void;
5477
5599
  readonly missingdocumenttypeerror_getCode: (a: number) => number;
5478
5600
  readonly missingdocumenttypeerror_message: (a: number, b: number) => void;
5479
5601
  readonly missingdocumenttypeerror_serialize: (a: number, b: number) => void;
5480
- readonly __wbg_invalididentitycreditwithdrawaltransitionoutputscripterror_free: (a: number) => void;
5481
- readonly invalididentitycreditwithdrawaltransitionoutputscripterror_getCode: (a: number) => number;
5482
- readonly invalididentitycreditwithdrawaltransitionoutputscripterror_message: (a: number, b: number) => void;
5483
- readonly invalididentitycreditwithdrawaltransitionoutputscripterror_serialize: (a: number, b: number) => void;
5602
+ readonly __wbg_invalidinstantassetlockproofsignatureerror_free: (a: number) => void;
5484
5603
  readonly invalidinstantassetlockproofsignatureerror_getCode: (a: number) => number;
5485
5604
  readonly invalidinstantassetlockproofsignatureerror_message: (a: number, b: number) => void;
5486
5605
  readonly invalidinstantassetlockproofsignatureerror_serialize: (a: number, b: number) => void;
5487
- readonly missingmasterpublickeyerror_getCode: (a: number) => number;
5488
- readonly missingmasterpublickeyerror_message: (a: number, b: number) => void;
5489
- readonly missingmasterpublickeyerror_serialize: (a: number, b: number) => void;
5490
5606
  readonly invalidstatetransitionsignatureerror_getCode: (a: number) => number;
5491
5607
  readonly invalidstatetransitionsignatureerror_message: (a: number, b: number) => void;
5492
5608
  readonly invalidstatetransitionsignatureerror_serialize: (a: number, b: number) => void;
5493
- readonly invalidstatetransitiontypeerror_new: (a: number) => number;
5494
- readonly invalidstatetransitiontypeerror_getType: (a: number) => number;
5495
- readonly invalidstatetransitiontypeerror_getCode: (a: number) => number;
5496
- readonly invalidstatetransitiontypeerror_message: (a: number, b: number) => void;
5497
- readonly invalidstatetransitiontypeerror_serialize: (a: number, b: number) => void;
5498
- readonly __wbg_balanceisnotenougherror_free: (a: number) => void;
5499
- readonly balanceisnotenougherror_new: (a: number, b: number) => number;
5500
- readonly balanceisnotenougherror_getBalance: (a: number) => number;
5501
- readonly balanceisnotenougherror_getFee: (a: number) => number;
5502
- readonly balanceisnotenougherror_getCode: (a: number) => number;
5503
- readonly balanceisnotenougherror_message: (a: number, b: number) => void;
5504
- readonly balanceisnotenougherror_serialize: (a: number, b: number) => void;
5505
- readonly __wbg_datacontractalreadypresenterror_free: (a: number) => void;
5506
- readonly datacontractalreadypresenterror_new: (a: number) => number;
5507
- readonly datacontractalreadypresenterror_getDataContractId: (a: number) => number;
5508
- readonly datacontractalreadypresenterror_getCode: (a: number) => number;
5509
- readonly datacontractalreadypresenterror_message: (a: number, b: number) => void;
5510
- readonly datacontractalreadypresenterror_serialize: (a: number, b: number) => void;
5511
5609
  readonly __wbg_compatibleprotocolversionisnotdefinederror_free: (a: number) => void;
5512
5610
  readonly compatibleprotocolversionisnotdefinederror_getCurrentProtocolVersion: (a: number) => number;
5513
- readonly __wbg_identityupdatetransitionbasicvalidator_free: (a: number) => void;
5514
- readonly identityupdatetransitionbasicvalidator_new: (a: number, b: number) => void;
5515
- readonly identityupdatetransitionbasicvalidator_validate: (a: number, b: number, c: number) => void;
5516
- readonly __wbg_feeresult_free: (a: number) => void;
5517
- readonly feeresult_new: () => number;
5518
- readonly feeresult_storageFee: (a: number) => number;
5519
- readonly feeresult_processingFee: (a: number) => number;
5520
- readonly feeresult_feeRefunds: (a: number) => number;
5521
- readonly feeresult_totalRefunds: (a: number) => number;
5522
- readonly feeresult_desiredAmount: (a: number) => number;
5523
- readonly feeresult_requiredAmount: (a: number) => number;
5524
- readonly feeresult_set_storageFee: (a: number, b: number, c: number) => void;
5525
- readonly feeresult_set_processingFee: (a: number, b: number, c: number) => void;
5526
- readonly feeresult_set_feeRefunds: (a: number, b: number, c: number) => void;
5527
- readonly feeresult_set_desiredAmount: (a: number, b: number, c: number) => void;
5528
- readonly feeresult_set_requiredAmount: (a: number, b: number, c: number) => void;
5529
- readonly feeresult_set_totalRefunds: (a: number, b: number, c: number) => void;
5530
- readonly validateStateTransitionIdentitySignature: (a: number, b: number, c: number) => number;
5531
5611
  readonly __wbg_missingdocumenttransitionactionerror_free: (a: number) => void;
5532
- readonly __wbg_missingdocumenttransitiontypeerror_free: (a: number) => void;
5533
5612
  readonly __wbg_missingdocumenttypeerror_free: (a: number) => void;
5534
5613
  readonly __wbg_missingdatacontractiderror_free: (a: number) => void;
5535
- readonly __wbg_invalidinstantassetlockproofsignatureerror_free: (a: number) => void;
5536
- readonly __wbg_missingmasterpublickeyerror_free: (a: number) => void;
5537
5614
  readonly __wbg_invalidstatetransitionsignatureerror_free: (a: number) => void;
5538
- readonly __wbg_invalidstatetransitiontypeerror_free: (a: number) => void;
5539
5615
  readonly validateDataContractUpdateTransitionState: (a: number, b: number) => number;
5540
5616
  readonly validateIndicesAreBackwardCompatible: (a: number, b: number, c: number) => void;
5541
5617
  readonly validateDataContractUpdateTransitionBasic: (a: number, b: number, c: number) => number;
5542
- readonly __wbg_datatriggerexecutionresult_free: (a: number) => void;
5543
- readonly datatriggerexecutionresult_isOk: (a: number) => number;
5544
- readonly datatriggerexecutionresult_getErrors: (a: number) => number;
5545
- readonly __wbg_documentcreatetransition_free: (a: number) => void;
5546
- readonly documentcreatetransition_from_raw_object: (a: number, b: number, c: number) => void;
5547
- readonly documentcreatetransition_getEntropy: (a: number, b: number) => void;
5548
- readonly documentcreatetransition_getCreatedAt: (a: number) => number;
5549
- readonly documentcreatetransition_getUpdatedAt: (a: number) => number;
5550
- readonly documentcreatetransition_getRevision: (a: number) => number;
5551
- readonly documentcreatetransition_getId: (a: number) => number;
5552
- readonly documentcreatetransition_getType: (a: number, b: number) => void;
5553
- readonly documentcreatetransition_getAction: (a: number) => number;
5554
- readonly documentcreatetransition_getDataContract: (a: number) => number;
5555
- readonly documentcreatetransition_getDataContractId: (a: number) => number;
5556
- readonly documentcreatetransition_get: (a: number, b: number, c: number, d: number) => void;
5557
- readonly documentcreatetransition_toObject: (a: number, b: number, c: number) => void;
5558
- readonly documentcreatetransition_toJSON: (a: number, b: number) => void;
5559
- readonly documentcreatetransition_getData: (a: number, b: number) => void;
5560
5618
  readonly __wbg_documentreplacetransition_free: (a: number) => void;
5561
5619
  readonly documentreplacetransition_from_raw_object: (a: number, b: number, c: number) => void;
5562
5620
  readonly documentreplacetransition_getAction: (a: number) => number;
@@ -5570,53 +5628,51 @@ export interface InitOutput {
5570
5628
  readonly documentreplacetransition_getDataContract: (a: number) => number;
5571
5629
  readonly documentreplacetransition_getDataContractId: (a: number) => number;
5572
5630
  readonly documentreplacetransition_get: (a: number, b: number, c: number, d: number) => void;
5631
+ readonly validatePartialCompoundIndices: (a: number, b: number, c: number) => void;
5573
5632
  readonly validateDocumentsUniquenessByIndices: (a: number, b: number, c: number, d: number, e: number) => number;
5574
- readonly __wbg_incompatibledatacontractschemaerror_free: (a: number) => void;
5575
- readonly incompatibledatacontractschemaerror_getDataContractId: (a: number) => number;
5576
- readonly incompatibledatacontractschemaerror_getOperation: (a: number, b: number) => void;
5577
- readonly incompatibledatacontractschemaerror_getFieldPath: (a: number, b: number) => void;
5578
- readonly incompatibledatacontractschemaerror_getCode: (a: number) => number;
5579
- readonly incompatibledatacontractschemaerror_message: (a: number, b: number) => void;
5580
- readonly incompatibledatacontractschemaerror_serialize: (a: number, b: number) => void;
5581
- readonly __wbg_invalidindexpropertytypeerror_free: (a: number) => void;
5582
- readonly invalidindexpropertytypeerror_getDocumentType: (a: number, b: number) => void;
5583
- readonly invalidindexpropertytypeerror_getIndexName: (a: number, b: number) => void;
5584
- readonly invalidindexpropertytypeerror_getPropertyName: (a: number, b: number) => void;
5585
- readonly invalidindexpropertytypeerror_getPropertyType: (a: number, b: number) => void;
5586
- readonly invalidindexpropertytypeerror_getCode: (a: number) => number;
5587
- readonly invalidindexpropertytypeerror_message: (a: number, b: number) => void;
5588
- readonly invalidindexpropertytypeerror_serialize: (a: number, b: number) => void;
5589
- readonly __wbg_missingstatetransitiontypeerror_free: (a: number) => void;
5590
- readonly missingstatetransitiontypeerror_new: () => number;
5591
- readonly missingstatetransitiontypeerror_getCode: (a: number) => number;
5592
- readonly missingstatetransitiontypeerror_message: (a: number, b: number) => void;
5593
- readonly missingstatetransitiontypeerror_serialize: (a: number, b: number) => void;
5594
- readonly __wbg_identitynotfounderror_free: (a: number) => void;
5633
+ readonly __wbg_invalidindexedpropertyconstrainterror_free: (a: number) => void;
5634
+ readonly invalidindexedpropertyconstrainterror_getDocumentType: (a: number, b: number) => void;
5635
+ readonly invalidindexedpropertyconstrainterror_getIndexName: (a: number, b: number) => void;
5636
+ readonly invalidindexedpropertyconstrainterror_getPropertyName: (a: number, b: number) => void;
5637
+ readonly invalidindexedpropertyconstrainterror_getConstraintName: (a: number, b: number) => void;
5638
+ readonly invalidindexedpropertyconstrainterror_getReason: (a: number, b: number) => void;
5639
+ readonly invalidindexedpropertyconstrainterror_getCode: (a: number) => number;
5640
+ readonly invalidindexedpropertyconstrainterror_message: (a: number, b: number) => void;
5641
+ readonly invalidindexedpropertyconstrainterror_serialize: (a: number, b: number) => void;
5642
+ readonly missingdocumenttransitiontypeerror_getCode: (a: number) => number;
5643
+ readonly missingdocumenttransitiontypeerror_message: (a: number, b: number) => void;
5644
+ readonly missingdocumenttransitiontypeerror_serialize: (a: number, b: number) => void;
5645
+ readonly __wbg_invalididentitycreditwithdrawaltransitionoutputscripterror_free: (a: number) => void;
5646
+ readonly invalididentitycreditwithdrawaltransitionoutputscripterror_getCode: (a: number) => number;
5647
+ readonly invalididentitycreditwithdrawaltransitionoutputscripterror_message: (a: number, b: number) => void;
5648
+ readonly invalididentitycreditwithdrawaltransitionoutputscripterror_serialize: (a: number, b: number) => void;
5649
+ readonly missingmasterpublickeyerror_getCode: (a: number) => number;
5650
+ readonly missingmasterpublickeyerror_message: (a: number, b: number) => void;
5651
+ readonly missingmasterpublickeyerror_serialize: (a: number, b: number) => void;
5652
+ readonly __wbg_invalidstatetransitiontypeerror_free: (a: number) => void;
5653
+ readonly invalidstatetransitiontypeerror_new: (a: number) => number;
5654
+ readonly invalidstatetransitiontypeerror_getType: (a: number) => number;
5655
+ readonly invalidstatetransitiontypeerror_getCode: (a: number) => number;
5656
+ readonly invalidstatetransitiontypeerror_message: (a: number, b: number) => void;
5657
+ readonly invalidstatetransitiontypeerror_serialize: (a: number, b: number) => void;
5658
+ readonly __wbg_balanceisnotenougherror_free: (a: number) => void;
5659
+ readonly balanceisnotenougherror_new: (a: number, b: number) => number;
5660
+ readonly balanceisnotenougherror_getBalance: (a: number) => number;
5661
+ readonly balanceisnotenougherror_getFee: (a: number) => number;
5662
+ readonly balanceisnotenougherror_getCode: (a: number) => number;
5663
+ readonly balanceisnotenougherror_message: (a: number, b: number) => void;
5664
+ readonly balanceisnotenougherror_serialize: (a: number, b: number) => void;
5595
5665
  readonly identitynotfounderror_new: (a: number) => number;
5596
5666
  readonly identitynotfounderror_getIdentityId: (a: number) => number;
5597
5667
  readonly identitynotfounderror_getCode: (a: number) => number;
5598
5668
  readonly identitynotfounderror_message: (a: number, b: number) => void;
5599
5669
  readonly identitynotfounderror_serialize: (a: number, b: number) => void;
5600
- readonly __wbg_datatriggerconditionerror_free: (a: number) => void;
5601
- readonly datatriggerconditionerror_getDataContractId: (a: number) => number;
5602
- readonly datatriggerconditionerror_getDocumentId: (a: number) => number;
5603
- readonly datatriggerconditionerror_getMessage: (a: number, b: number) => void;
5604
- readonly datatriggerconditionerror_getCode: (a: number) => number;
5605
- readonly datatriggerconditionerror_message: (a: number, b: number) => void;
5606
- readonly datatriggerconditionerror_serialize: (a: number, b: number) => void;
5607
- readonly datatriggerexecutionerror_getDataContractId: (a: number) => number;
5608
- readonly datatriggerexecutionerror_getDocumentId: (a: number) => number;
5609
- readonly datatriggerexecutionerror_getMessage: (a: number, b: number) => void;
5610
- readonly datatriggerexecutionerror_getCode: (a: number) => number;
5611
- readonly datatriggerexecutionerror_message: (a: number, b: number) => void;
5612
- readonly datatriggerexecutionerror_serialize: (a: number, b: number) => void;
5613
- readonly __wbg_documentowneridmismatcherror_free: (a: number) => void;
5614
- readonly documentowneridmismatcherror_getDocumentId: (a: number) => number;
5615
- readonly documentowneridmismatcherror_getDocumentOwnerId: (a: number) => number;
5616
- readonly documentowneridmismatcherror_getExistingDocumentOwnerId: (a: number) => number;
5617
- readonly documentowneridmismatcherror_getCode: (a: number) => number;
5618
- readonly documentowneridmismatcherror_message: (a: number, b: number) => void;
5619
- readonly documentowneridmismatcherror_serialize: (a: number, b: number) => void;
5670
+ readonly __wbg_datacontractalreadypresenterror_free: (a: number) => void;
5671
+ readonly datacontractalreadypresenterror_new: (a: number) => number;
5672
+ readonly datacontractalreadypresenterror_getDataContractId: (a: number) => number;
5673
+ readonly datacontractalreadypresenterror_getCode: (a: number) => number;
5674
+ readonly datacontractalreadypresenterror_message: (a: number, b: number) => void;
5675
+ readonly datacontractalreadypresenterror_serialize: (a: number, b: number) => void;
5620
5676
  readonly __wbg_identitypublickeydisabledatwindowviolationerror_free: (a: number) => void;
5621
5677
  readonly identitypublickeydisabledatwindowviolationerror_getDisabledAt: (a: number) => number;
5622
5678
  readonly identitypublickeydisabledatwindowviolationerror_getTimeWindowStart: (a: number) => number;
@@ -5624,6 +5680,9 @@ export interface InitOutput {
5624
5680
  readonly identitypublickeydisabledatwindowviolationerror_getCode: (a: number) => number;
5625
5681
  readonly identitypublickeydisabledatwindowviolationerror_message: (a: number, b: number) => void;
5626
5682
  readonly identitypublickeydisabledatwindowviolationerror_serialize: (a: number, b: number) => void;
5683
+ readonly __wbg_platformvalueerror_free: (a: number) => void;
5684
+ readonly platformvalueerror_getMessage: (a: number, b: number) => void;
5685
+ readonly platformvalueerror_toString: (a: number, b: number) => void;
5627
5686
  readonly __wbg_chainassetlockproof_free: (a: number) => void;
5628
5687
  readonly chainassetlockproof_new: (a: number, b: number) => void;
5629
5688
  readonly chainassetlockproof_getType: (a: number) => number;
@@ -5634,9 +5693,6 @@ export interface InitOutput {
5634
5693
  readonly chainassetlockproof_toJSON: (a: number, b: number) => void;
5635
5694
  readonly chainassetlockproof_toObject: (a: number, b: number) => void;
5636
5695
  readonly chainassetlockproof_createIdentifier: (a: number, b: number) => void;
5637
- readonly __wbg_identitytopuptransitionbasicvalidator_free: (a: number) => void;
5638
- readonly identitytopuptransitionbasicvalidator_new: (a: number, b: number) => void;
5639
- readonly identitytopuptransitionbasicvalidator_validate: (a: number, b: number, c: number) => number;
5640
5696
  readonly __wbg_identityupdatetransition_free: (a: number) => void;
5641
5697
  readonly identityupdatetransition_new: (a: number, b: number) => void;
5642
5698
  readonly identityupdatetransition_setPublicKeysToAdd: (a: number, b: number, c: number, d: number) => void;
@@ -5666,9 +5722,9 @@ export interface InitOutput {
5666
5722
  readonly identityupdatetransition_setRevision: (a: number, b: number) => void;
5667
5723
  readonly identityupdatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
5668
5724
  readonly identityupdatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
5669
- readonly __wbg_publickeyssignaturesvalidator_free: (a: number) => void;
5670
- readonly publickeyssignaturesvalidator_new: (a: number) => number;
5671
- readonly publickeyssignaturesvalidator_validate: (a: number, b: number, c: number, d: number, e: number) => void;
5725
+ readonly __wbg_identityupdatetransitionbasicvalidator_free: (a: number) => void;
5726
+ readonly identityupdatetransitionbasicvalidator_new: (a: number, b: number) => void;
5727
+ readonly identityupdatetransitionbasicvalidator_validate: (a: number, b: number, c: number) => void;
5672
5728
  readonly __wbg_identity_free: (a: number) => void;
5673
5729
  readonly identity_new: (a: number, b: number) => void;
5674
5730
  readonly identity_getProtocolVersion: (a: number) => number;
@@ -5694,16 +5750,33 @@ export interface InitOutput {
5694
5750
  readonly identity_addPublicKey: (a: number, b: number) => void;
5695
5751
  readonly identity_addPublicKeys: (a: number, b: number, c: number) => void;
5696
5752
  readonly identity_getPublicKeyMaxId: (a: number) => number;
5697
- readonly __wbg_statetransitionfactory_free: (a: number) => void;
5698
- readonly statetransitionfactory_new: (a: number, b: number, c: number) => void;
5699
- readonly statetransitionfactory_createFromObject: (a: number, b: number, c: number) => number;
5700
- readonly statetransitionfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
5753
+ readonly __wbg_invalidstatetransitionerror_free: (a: number) => void;
5754
+ readonly invalidstatetransitionerror_new_wasm: (a: number, b: number, c: number, d: number) => void;
5755
+ readonly invalidstatetransitionerror_getErrors: (a: number, b: number) => void;
5756
+ readonly invalidstatetransitionerror_getRawStateTransition: (a: number) => number;
5757
+ readonly invalidstatetransitionerror_valueOf: (a: number, b: number) => void;
5758
+ readonly __wbg_feeresult_free: (a: number) => void;
5759
+ readonly feeresult_new: () => number;
5760
+ readonly feeresult_storageFee: (a: number) => number;
5761
+ readonly feeresult_processingFee: (a: number) => number;
5762
+ readonly feeresult_feeRefunds: (a: number) => number;
5763
+ readonly feeresult_totalRefunds: (a: number) => number;
5764
+ readonly feeresult_desiredAmount: (a: number) => number;
5765
+ readonly feeresult_requiredAmount: (a: number) => number;
5766
+ readonly feeresult_set_storageFee: (a: number, b: number, c: number) => void;
5767
+ readonly feeresult_set_processingFee: (a: number, b: number, c: number) => void;
5768
+ readonly feeresult_set_feeRefunds: (a: number, b: number, c: number) => void;
5769
+ readonly feeresult_set_desiredAmount: (a: number, b: number, c: number) => void;
5770
+ readonly feeresult_set_requiredAmount: (a: number, b: number, c: number) => void;
5771
+ readonly feeresult_set_totalRefunds: (a: number, b: number, c: number) => void;
5772
+ readonly validateStateTransitionIdentitySignature: (a: number, b: number, c: number) => number;
5701
5773
  readonly identityupdatetransition_getPublicKeysToAdd: (a: number, b: number) => void;
5702
5774
  readonly identityupdatetransition_identityId: (a: number) => number;
5703
- readonly nodocumentssuppliederror_new: () => number;
5704
- readonly __wbg_nodocumentssuppliederror_free: (a: number) => void;
5775
+ readonly __wbg_missingdocumenttransitiontypeerror_free: (a: number) => void;
5776
+ readonly __wbg_missingmasterpublickeyerror_free: (a: number) => void;
5777
+ readonly platformvalueerror_valueOf: (a: number, b: number) => void;
5705
5778
  readonly identity_getBalance: (a: number) => number;
5706
- readonly __wbg_datatriggerexecutionerror_free: (a: number) => void;
5779
+ readonly __wbg_identitynotfounderror_free: (a: number) => void;
5707
5780
  readonly __wbg_invaliddocumenttypeindatacontracterror_free: (a: number) => void;
5708
5781
  readonly invaliddocumenttypeindatacontracterror_new: (a: number, b: number, c: number) => number;
5709
5782
  readonly invaliddocumenttypeindatacontracterror_getType: (a: number, b: number) => void;
@@ -5717,23 +5790,143 @@ export interface InitOutput {
5717
5790
  readonly datacontractfactory_createFromObject: (a: number, b: number, c: number) => number;
5718
5791
  readonly datacontractfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
5719
5792
  readonly datacontractfactory_createDataContractCreateTransition: (a: number, b: number) => number;
5720
- readonly __wbg_invalididentitypublickeysecuritylevelerror_free: (a: number) => void;
5721
- readonly invalididentitypublickeysecuritylevelerror_getPublicKeyId: (a: number) => number;
5722
- readonly invalididentitypublickeysecuritylevelerror_getPublicKeyPurpose: (a: number) => number;
5723
- readonly invalididentitypublickeysecuritylevelerror_getPublicKeySecurityLevel: (a: number) => number;
5724
- readonly invalididentitypublickeysecuritylevelerror_getCode: (a: number) => number;
5725
- readonly invalididentitypublickeysecuritylevelerror_message: (a: number, b: number) => void;
5726
- readonly invalididentitypublickeysecuritylevelerror_serialize: (a: number, b: number) => void;
5727
- readonly __wbg_identityupdatepublickeysvalidator_free: (a: number) => void;
5728
- readonly identityupdatepublickeysvalidator_new: () => number;
5729
- readonly identityupdatepublickeysvalidator_validate: (a: number, b: number, c: number, d: number) => void;
5730
- readonly __wbg_invaliddatacontracterror_free: (a: number) => void;
5731
- readonly invaliddatacontracterror_getErrors: (a: number, b: number) => void;
5732
- readonly invaliddatacontracterror_getRawDataContract: (a: number) => number;
5733
- readonly invaliddatacontracterror_getMessage: (a: number, b: number) => void;
5793
+ readonly __wbg_datatriggerexecutionresult_free: (a: number) => void;
5794
+ readonly datatriggerexecutionresult_isOk: (a: number) => number;
5795
+ readonly datatriggerexecutionresult_getErrors: (a: number) => number;
5796
+ readonly __wbg_documentcreatetransition_free: (a: number) => void;
5797
+ readonly documentcreatetransition_from_raw_object: (a: number, b: number, c: number) => void;
5798
+ readonly documentcreatetransition_getEntropy: (a: number, b: number) => void;
5799
+ readonly documentcreatetransition_getCreatedAt: (a: number) => number;
5800
+ readonly documentcreatetransition_getUpdatedAt: (a: number) => number;
5801
+ readonly documentcreatetransition_getRevision: (a: number) => number;
5802
+ readonly documentcreatetransition_getId: (a: number) => number;
5803
+ readonly documentcreatetransition_getType: (a: number, b: number) => void;
5804
+ readonly documentcreatetransition_getAction: (a: number) => number;
5805
+ readonly documentcreatetransition_getDataContract: (a: number) => number;
5806
+ readonly documentcreatetransition_getDataContractId: (a: number) => number;
5807
+ readonly documentcreatetransition_get: (a: number, b: number, c: number, d: number) => void;
5808
+ readonly documentcreatetransition_toObject: (a: number, b: number, c: number) => void;
5809
+ readonly documentcreatetransition_toJSON: (a: number, b: number) => void;
5810
+ readonly documentcreatetransition_getData: (a: number, b: number) => void;
5811
+ readonly __wbg_incompatibledatacontractschemaerror_free: (a: number) => void;
5812
+ readonly incompatibledatacontractschemaerror_getDataContractId: (a: number) => number;
5813
+ readonly incompatibledatacontractschemaerror_getOperation: (a: number, b: number) => void;
5814
+ readonly incompatibledatacontractschemaerror_getFieldPath: (a: number, b: number) => void;
5815
+ readonly incompatibledatacontractschemaerror_getCode: (a: number) => number;
5816
+ readonly incompatibledatacontractschemaerror_message: (a: number, b: number) => void;
5817
+ readonly incompatibledatacontractschemaerror_serialize: (a: number, b: number) => void;
5818
+ readonly __wbg_invalidindexpropertytypeerror_free: (a: number) => void;
5819
+ readonly invalidindexpropertytypeerror_getDocumentType: (a: number, b: number) => void;
5820
+ readonly invalidindexpropertytypeerror_getIndexName: (a: number, b: number) => void;
5821
+ readonly invalidindexpropertytypeerror_getPropertyName: (a: number, b: number) => void;
5822
+ readonly invalidindexpropertytypeerror_getPropertyType: (a: number, b: number) => void;
5823
+ readonly invalidindexpropertytypeerror_getCode: (a: number) => number;
5824
+ readonly invalidindexpropertytypeerror_message: (a: number, b: number) => void;
5825
+ readonly invalidindexpropertytypeerror_serialize: (a: number, b: number) => void;
5826
+ readonly __wbg_invalididentitypublickeysecuritylevelerror_free: (a: number) => void;
5827
+ readonly invalididentitypublickeysecuritylevelerror_getPublicKeyId: (a: number) => number;
5828
+ readonly invalididentitypublickeysecuritylevelerror_getPublicKeyPurpose: (a: number) => number;
5829
+ readonly invalididentitypublickeysecuritylevelerror_getPublicKeySecurityLevel: (a: number) => number;
5830
+ readonly invalididentitypublickeysecuritylevelerror_getCode: (a: number) => number;
5831
+ readonly invalididentitypublickeysecuritylevelerror_message: (a: number, b: number) => void;
5832
+ readonly invalididentitypublickeysecuritylevelerror_serialize: (a: number, b: number) => void;
5833
+ readonly missingstatetransitiontypeerror_new: () => number;
5834
+ readonly missingstatetransitiontypeerror_getCode: (a: number) => number;
5835
+ readonly missingstatetransitiontypeerror_message: (a: number, b: number) => void;
5836
+ readonly missingstatetransitiontypeerror_serialize: (a: number, b: number) => void;
5837
+ readonly __wbg_datatriggerconditionerror_free: (a: number) => void;
5838
+ readonly datatriggerconditionerror_getDataContractId: (a: number) => number;
5839
+ readonly datatriggerconditionerror_getDocumentId: (a: number) => number;
5840
+ readonly datatriggerconditionerror_getMessage: (a: number, b: number) => void;
5841
+ readonly datatriggerconditionerror_getCode: (a: number) => number;
5842
+ readonly datatriggerconditionerror_message: (a: number, b: number) => void;
5843
+ readonly datatriggerconditionerror_serialize: (a: number, b: number) => void;
5844
+ readonly datatriggerexecutionerror_getDataContractId: (a: number) => number;
5845
+ readonly datatriggerexecutionerror_getDocumentId: (a: number) => number;
5846
+ readonly datatriggerexecutionerror_getMessage: (a: number, b: number) => void;
5847
+ readonly datatriggerexecutionerror_getCode: (a: number) => number;
5848
+ readonly datatriggerexecutionerror_message: (a: number, b: number) => void;
5849
+ readonly datatriggerexecutionerror_serialize: (a: number, b: number) => void;
5850
+ readonly __wbg_documentowneridmismatcherror_free: (a: number) => void;
5851
+ readonly documentowneridmismatcherror_getDocumentId: (a: number) => number;
5852
+ readonly documentowneridmismatcherror_getDocumentOwnerId: (a: number) => number;
5853
+ readonly documentowneridmismatcherror_getExistingDocumentOwnerId: (a: number) => number;
5854
+ readonly documentowneridmismatcherror_getCode: (a: number) => number;
5855
+ readonly documentowneridmismatcherror_message: (a: number, b: number) => void;
5856
+ readonly documentowneridmismatcherror_serialize: (a: number, b: number) => void;
5857
+ readonly __wbg_publickeyvalidationerror_free: (a: number) => void;
5858
+ readonly publickeyvalidationerror_message: (a: number) => number;
5859
+ readonly getCreditsConversionRatio: () => number;
5860
+ readonly __wbg_identitytopuptransitionbasicvalidator_free: (a: number) => void;
5861
+ readonly identitytopuptransitionbasicvalidator_new: (a: number, b: number) => void;
5862
+ readonly identitytopuptransitionbasicvalidator_validate: (a: number, b: number, c: number) => number;
5863
+ readonly __wbg_identityupdatepublickeysvalidator_free: (a: number) => void;
5864
+ readonly identityupdatepublickeysvalidator_new: () => number;
5865
+ readonly identityupdatepublickeysvalidator_validate: (a: number, b: number, c: number, d: number) => void;
5866
+ readonly __wbg_publickeyssignaturesvalidator_free: (a: number) => void;
5867
+ readonly publickeyssignaturesvalidator_new: (a: number) => number;
5868
+ readonly publickeyssignaturesvalidator_validate: (a: number, b: number, c: number, d: number, e: number) => void;
5869
+ readonly __wbg_statetransitionfactory_free: (a: number) => void;
5870
+ readonly statetransitionfactory_new: (a: number, b: number, c: number) => void;
5871
+ readonly statetransitionfactory_createFromObject: (a: number, b: number, c: number) => number;
5872
+ readonly statetransitionfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
5873
+ readonly getLatestProtocolVersion: () => number;
5874
+ readonly nodocumentssuppliederror_new: () => number;
5875
+ readonly __wbg_nodocumentssuppliederror_free: (a: number) => void;
5876
+ readonly __wbg_missingstatetransitiontypeerror_free: (a: number) => void;
5877
+ readonly __wbg_datatriggerexecutionerror_free: (a: number) => void;
5878
+ readonly __wbg_identitypublickeywithwitness_free: (a: number) => void;
5879
+ readonly identitypublickeywithwitness_new: (a: number, b: number) => void;
5880
+ readonly identitypublickeywithwitness_getId: (a: number) => number;
5881
+ readonly identitypublickeywithwitness_setId: (a: number, b: number) => void;
5882
+ readonly identitypublickeywithwitness_getType: (a: number) => number;
5883
+ readonly identitypublickeywithwitness_setType: (a: number, b: number, c: number) => void;
5884
+ readonly identitypublickeywithwitness_setData: (a: number, b: number, c: number, d: number) => void;
5885
+ readonly identitypublickeywithwitness_getData: (a: number) => number;
5886
+ readonly identitypublickeywithwitness_setPurpose: (a: number, b: number, c: number) => void;
5887
+ readonly identitypublickeywithwitness_getPurpose: (a: number) => number;
5888
+ readonly identitypublickeywithwitness_setSecurityLevel: (a: number, b: number, c: number) => void;
5889
+ readonly identitypublickeywithwitness_getSecurityLevel: (a: number) => number;
5890
+ readonly identitypublickeywithwitness_setReadOnly: (a: number, b: number) => void;
5891
+ readonly identitypublickeywithwitness_isReadOnly: (a: number) => number;
5892
+ readonly identitypublickeywithwitness_setSignature: (a: number, b: number, c: number) => void;
5893
+ readonly identitypublickeywithwitness_getSignature: (a: number, b: number) => void;
5894
+ readonly identitypublickeywithwitness_hash: (a: number, b: number) => void;
5895
+ readonly identitypublickeywithwitness_isMaster: (a: number) => number;
5896
+ readonly identitypublickeywithwitness_toJSON: (a: number, b: number) => void;
5897
+ readonly identitypublickeywithwitness_toObject: (a: number, b: number, c: number) => void;
5898
+ readonly __wbg_invaliddatacontracterror_free: (a: number) => void;
5899
+ readonly invaliddatacontracterror_getErrors: (a: number, b: number) => void;
5900
+ readonly invaliddatacontracterror_getRawDataContract: (a: number) => number;
5901
+ readonly invaliddatacontracterror_getMessage: (a: number, b: number) => void;
5902
+ readonly __wbg_datacontractupdatetransition_free: (a: number) => void;
5903
+ readonly datacontractupdatetransition_new: (a: number, b: number) => void;
5904
+ readonly datacontractupdatetransition_getDataContract: (a: number) => number;
5905
+ readonly datacontractupdatetransition_getProtocolVersion: (a: number) => number;
5906
+ readonly datacontractupdatetransition_getEntropy: (a: number) => number;
5907
+ readonly datacontractupdatetransition_getOwnerId: (a: number) => number;
5908
+ readonly datacontractupdatetransition_getType: (a: number) => number;
5909
+ readonly datacontractupdatetransition_toJSON: (a: number, b: number, c: number) => void;
5910
+ readonly datacontractupdatetransition_toBuffer: (a: number, b: number, c: number) => void;
5911
+ readonly datacontractupdatetransition_getModifiedDataIds: (a: number, b: number) => void;
5912
+ readonly datacontractupdatetransition_isDataContractStateTransition: (a: number) => number;
5913
+ readonly datacontractupdatetransition_isDocumentStateTransition: (a: number) => number;
5914
+ readonly datacontractupdatetransition_isIdentityStateTransition: (a: number) => number;
5915
+ readonly datacontractupdatetransition_setExecutionContext: (a: number, b: number) => void;
5916
+ readonly datacontractupdatetransition_getExecutionContext: (a: number) => number;
5917
+ readonly datacontractupdatetransition_hash: (a: number, b: number, c: number) => void;
5918
+ readonly datacontractupdatetransition_toObject: (a: number, b: number, c: number) => void;
5919
+ readonly datacontractupdatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
5920
+ readonly datacontractupdatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
5734
5921
  readonly __wbg_invalidactionerror_free: (a: number) => void;
5735
5922
  readonly generateDocumentId: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
5736
- readonly __wbg_systempropertyindexalreadypresenterror_free: (a: number) => void;
5923
+ readonly __wbg_incompatiblere2patternerror_free: (a: number) => void;
5924
+ readonly incompatiblere2patternerror_getPattern: (a: number, b: number) => void;
5925
+ readonly incompatiblere2patternerror_getPath: (a: number, b: number) => void;
5926
+ readonly incompatiblere2patternerror_getMessage: (a: number, b: number) => void;
5927
+ readonly incompatiblere2patternerror_getCode: (a: number) => number;
5928
+ readonly incompatiblere2patternerror_message: (a: number, b: number) => void;
5929
+ readonly incompatiblere2patternerror_serialize: (a: number, b: number) => void;
5737
5930
  readonly systempropertyindexalreadypresenterror_getDocumentType: (a: number, b: number) => void;
5738
5931
  readonly systempropertyindexalreadypresenterror_getIndexName: (a: number, b: number) => void;
5739
5932
  readonly systempropertyindexalreadypresenterror_getPropertyName: (a: number, b: number) => void;
@@ -5746,7 +5939,17 @@ export interface InitOutput {
5746
5939
  readonly undefinedindexpropertyerror_getCode: (a: number) => number;
5747
5940
  readonly undefinedindexpropertyerror_message: (a: number, b: number) => void;
5748
5941
  readonly undefinedindexpropertyerror_serialize: (a: number, b: number) => void;
5749
- readonly __wbg_identityassetlockprooflockedtransactionmismatcherror_free: (a: number) => void;
5942
+ readonly __wbg_inconsistentcompoundindexdataerror_free: (a: number) => void;
5943
+ readonly inconsistentcompoundindexdataerror_getIndexedProperties: (a: number) => number;
5944
+ readonly inconsistentcompoundindexdataerror_getDocumentType: (a: number, b: number) => void;
5945
+ readonly inconsistentcompoundindexdataerror_getCode: (a: number) => number;
5946
+ readonly inconsistentcompoundindexdataerror_message: (a: number, b: number) => void;
5947
+ readonly inconsistentcompoundindexdataerror_serialize: (a: number, b: number) => void;
5948
+ readonly invaliddocumenttransitioniderror_getExpectedId: (a: number) => number;
5949
+ readonly invaliddocumenttransitioniderror_getInvalidId: (a: number) => number;
5950
+ readonly invaliddocumenttransitioniderror_getCode: (a: number) => number;
5951
+ readonly invaliddocumenttransitioniderror_message: (a: number, b: number) => void;
5952
+ readonly invaliddocumenttransitioniderror_serialize: (a: number, b: number) => void;
5750
5953
  readonly identityassetlockprooflockedtransactionmismatcherror_getInstantLockTransactionId: (a: number) => number;
5751
5954
  readonly identityassetlockprooflockedtransactionmismatcherror_getAssetLockTransactionId: (a: number) => number;
5752
5955
  readonly identityassetlockprooflockedtransactionmismatcherror_getCode: (a: number) => number;
@@ -5758,6 +5961,12 @@ export interface InitOutput {
5758
5961
  readonly invalidassetlockprooftransactionheighterror_getCode: (a: number) => number;
5759
5962
  readonly invalidassetlockprooftransactionheighterror_message: (a: number, b: number) => void;
5760
5963
  readonly invalidassetlockprooftransactionheighterror_serialize: (a: number, b: number) => void;
5964
+ readonly __wbg_datatriggerinvalidresulterror_free: (a: number) => void;
5965
+ readonly datatriggerinvalidresulterror_getDataContractId: (a: number) => number;
5966
+ readonly datatriggerinvalidresulterror_getDocumentId: (a: number) => number;
5967
+ readonly datatriggerinvalidresulterror_getCode: (a: number) => number;
5968
+ readonly datatriggerinvalidresulterror_message: (a: number, b: number) => void;
5969
+ readonly datatriggerinvalidresulterror_serialize: (a: number, b: number) => void;
5761
5970
  readonly __wbg_duplicateuniqueindexerror_free: (a: number) => void;
5762
5971
  readonly duplicateuniqueindexerror_getDocumentId: (a: number) => number;
5763
5972
  readonly duplicateuniqueindexerror_getDuplicatingProperties: (a: number) => number;
@@ -5776,39 +5985,23 @@ export interface InitOutput {
5776
5985
  readonly invalididentityrevisionerror_getCode: (a: number) => number;
5777
5986
  readonly invalididentityrevisionerror_message: (a: number, b: number) => void;
5778
5987
  readonly invalididentityrevisionerror_serialize: (a: number, b: number) => void;
5779
- readonly publickeyvalidationerror_message: (a: number) => number;
5780
- readonly __wbg_platformvalueerror_free: (a: number) => void;
5781
- readonly platformvalueerror_getMessage: (a: number, b: number) => void;
5782
- readonly platformvalueerror_toString: (a: number, b: number) => void;
5783
- readonly getCreditsConversionRatio: () => number;
5784
- readonly __wbg_instantassetlockproofstructurevalidator_free: (a: number) => void;
5988
+ readonly __wbg_chainassetlockproofstructurevalidator_free: (a: number) => void;
5989
+ readonly chainassetlockproofstructurevalidator_new: (a: number, b: number) => void;
5990
+ readonly chainassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
5785
5991
  readonly instantassetlockproofstructurevalidator_new: (a: number, b: number) => void;
5786
5992
  readonly instantassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
5787
- readonly __wbg_identitypublickeywithwitness_free: (a: number) => void;
5788
- readonly identitypublickeywithwitness_new: (a: number, b: number) => void;
5789
- readonly identitypublickeywithwitness_getId: (a: number) => number;
5790
- readonly identitypublickeywithwitness_setId: (a: number, b: number) => void;
5791
- readonly identitypublickeywithwitness_getType: (a: number) => number;
5792
- readonly identitypublickeywithwitness_setType: (a: number, b: number, c: number) => void;
5793
- readonly identitypublickeywithwitness_setData: (a: number, b: number, c: number, d: number) => void;
5794
- readonly identitypublickeywithwitness_getData: (a: number) => number;
5795
- readonly identitypublickeywithwitness_setPurpose: (a: number, b: number, c: number) => void;
5796
- readonly identitypublickeywithwitness_getPurpose: (a: number) => number;
5797
- readonly identitypublickeywithwitness_setSecurityLevel: (a: number, b: number, c: number) => void;
5798
- readonly identitypublickeywithwitness_getSecurityLevel: (a: number) => number;
5799
- readonly identitypublickeywithwitness_setReadOnly: (a: number, b: number) => void;
5800
- readonly identitypublickeywithwitness_isReadOnly: (a: number) => number;
5801
- readonly identitypublickeywithwitness_setSignature: (a: number, b: number, c: number) => void;
5802
- readonly identitypublickeywithwitness_getSignature: (a: number, b: number) => void;
5803
- readonly identitypublickeywithwitness_hash: (a: number, b: number) => void;
5804
- readonly identitypublickeywithwitness_isMaster: (a: number) => number;
5805
- readonly identitypublickeywithwitness_toJSON: (a: number, b: number) => void;
5806
- readonly identitypublickeywithwitness_toObject: (a: number, b: number, c: number) => void;
5993
+ readonly __wbg_refunds_free: (a: number) => void;
5994
+ readonly refunds_identifier: (a: number) => number;
5995
+ readonly refunds_credits_per_epoch: (a: number) => number;
5996
+ readonly refunds_toObject: (a: number, b: number) => void;
5807
5997
  readonly __wbg_jsonschemavalidator_free: (a: number) => void;
5808
5998
  readonly jsonschemavalidator_new: (a: number, b: number, c: number) => void;
5999
+ readonly __wbg_systempropertyindexalreadypresenterror_free: (a: number) => void;
5809
6000
  readonly __wbg_undefinedindexpropertyerror_free: (a: number) => void;
6001
+ readonly __wbg_instantassetlockproofstructurevalidator_free: (a: number) => void;
5810
6002
  readonly invalidactionterror_new: (a: number) => number;
5811
- readonly __wbg_publickeyvalidationerror_free: (a: number) => void;
6003
+ readonly __wbg_invaliddocumenttransitioniderror_free: (a: number) => void;
6004
+ readonly __wbg_identityassetlockprooflockedtransactionmismatcherror_free: (a: number) => void;
5812
6005
  readonly __wbg_datacontract_free: (a: number) => void;
5813
6006
  readonly datacontract_new: (a: number, b: number) => void;
5814
6007
  readonly datacontract_getProtocolVersion: (a: number) => number;
@@ -5843,25 +6036,24 @@ export interface InitOutput {
5843
6036
  readonly datacontract_clone: (a: number) => number;
5844
6037
  readonly __wbg_datacontractdefaults_free: (a: number) => void;
5845
6038
  readonly datacontractdefaults_get_default_schema: (a: number) => void;
5846
- readonly __wbg_datacontractupdatetransition_free: (a: number) => void;
5847
- readonly datacontractupdatetransition_new: (a: number, b: number) => void;
5848
- readonly datacontractupdatetransition_getDataContract: (a: number) => number;
5849
- readonly datacontractupdatetransition_getProtocolVersion: (a: number) => number;
5850
- readonly datacontractupdatetransition_getEntropy: (a: number) => number;
5851
- readonly datacontractupdatetransition_getOwnerId: (a: number) => number;
5852
- readonly datacontractupdatetransition_getType: (a: number) => number;
5853
- readonly datacontractupdatetransition_toJSON: (a: number, b: number, c: number) => void;
5854
- readonly datacontractupdatetransition_toBuffer: (a: number, b: number, c: number) => void;
5855
- readonly datacontractupdatetransition_getModifiedDataIds: (a: number, b: number) => void;
5856
- readonly datacontractupdatetransition_isDataContractStateTransition: (a: number) => number;
5857
- readonly datacontractupdatetransition_isDocumentStateTransition: (a: number) => number;
5858
- readonly datacontractupdatetransition_isIdentityStateTransition: (a: number) => number;
5859
- readonly datacontractupdatetransition_setExecutionContext: (a: number, b: number) => void;
5860
- readonly datacontractupdatetransition_getExecutionContext: (a: number) => number;
5861
- readonly datacontractupdatetransition_hash: (a: number, b: number, c: number) => void;
5862
- readonly datacontractupdatetransition_toObject: (a: number, b: number, c: number) => void;
5863
- readonly datacontractupdatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
5864
- readonly datacontractupdatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
6039
+ readonly __wbg_datacontractcreatetransition_free: (a: number) => void;
6040
+ readonly datacontractcreatetransition_new: (a: number, b: number) => void;
6041
+ readonly datacontractcreatetransition_getDataContract: (a: number) => number;
6042
+ readonly datacontractcreatetransition_getProtocolVersion: (a: number) => number;
6043
+ readonly datacontractcreatetransition_getEntropy: (a: number) => number;
6044
+ readonly datacontractcreatetransition_getOwnerId: (a: number) => number;
6045
+ readonly datacontractcreatetransition_getType: (a: number) => number;
6046
+ readonly datacontractcreatetransition_toJSON: (a: number, b: number, c: number) => void;
6047
+ readonly datacontractcreatetransition_toBuffer: (a: number, b: number, c: number) => void;
6048
+ readonly datacontractcreatetransition_getModifiedDataIds: (a: number, b: number) => void;
6049
+ readonly datacontractcreatetransition_isDataContractStateTransition: (a: number) => number;
6050
+ readonly datacontractcreatetransition_isDocumentStateTransition: (a: number) => number;
6051
+ readonly datacontractcreatetransition_isIdentityStateTransition: (a: number) => number;
6052
+ readonly datacontractcreatetransition_setExecutionContext: (a: number, b: number) => void;
6053
+ readonly datacontractcreatetransition_getExecutionContext: (a: number) => number;
6054
+ readonly datacontractcreatetransition_toObject: (a: number, b: number, c: number) => void;
6055
+ readonly datacontractcreatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6056
+ readonly datacontractcreatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
5865
6057
  readonly __wbg_documenttransitions_free: (a: number) => void;
5866
6058
  readonly documenttransitions_new: () => number;
5867
6059
  readonly documenttransitions_addTransitionCreate: (a: number, b: number) => void;
@@ -5877,8 +6069,11 @@ export interface InitOutput {
5877
6069
  readonly fetchandvalidatedatacontractfactory_new: (a: number) => number;
5878
6070
  readonly fetchandvalidatedatacontractfactory_validate: (a: number, b: number) => number;
5879
6071
  readonly fetchAndValidateDataContract: (a: number, b: number) => number;
6072
+ readonly applyDocumentsBatchTransition: (a: number, b: number) => number;
5880
6073
  readonly findDuplicatesByIndices: (a: number, b: number, c: number, d: number) => void;
6074
+ readonly validateDocumentsBatchTransitionBasic: (a: number, b: number, c: number, d: number) => number;
5881
6075
  readonly fetchExtendedDocuments: (a: number, b: number, c: number) => number;
6076
+ readonly validateDocumentsBatchTransitionState: (a: number, b: number) => number;
5882
6077
  readonly __wbg_datacontracthavenewuniqueindexerror_free: (a: number) => void;
5883
6078
  readonly datacontracthavenewuniqueindexerror_getDocumentType: (a: number, b: number) => void;
5884
6079
  readonly datacontracthavenewuniqueindexerror_getIndexName: (a: number, b: number) => void;
@@ -5895,6 +6090,12 @@ export interface InitOutput {
5895
6090
  readonly datacontractinvalidindexdefinitionupdateerror_getCode: (a: number) => number;
5896
6091
  readonly datacontractinvalidindexdefinitionupdateerror_message: (a: number, b: number) => void;
5897
6092
  readonly datacontractinvalidindexdefinitionupdateerror_serialize: (a: number, b: number) => void;
6093
+ readonly __wbg_datacontractmaxdepthexceederror_free: (a: number) => void;
6094
+ readonly datacontractmaxdeptherror_getMaxDepth: (a: number) => number;
6095
+ readonly datacontractmaxdeptherror_getSchemaDepth: (a: number) => number;
6096
+ readonly datacontractmaxdeptherror_getCode: (a: number) => number;
6097
+ readonly datacontractmaxdeptherror_message: (a: number, b: number) => void;
6098
+ readonly datacontractmaxdeptherror_serialize: (a: number, b: number) => void;
5898
6099
  readonly datacontractuniqueindiceschangederror_getDocumentType: (a: number, b: number) => void;
5899
6100
  readonly datacontractuniqueindiceschangederror_getIndexName: (a: number, b: number) => void;
5900
6101
  readonly datacontractuniqueindiceschangederror_getCode: (a: number) => number;
@@ -5905,13 +6106,6 @@ export interface InitOutput {
5905
6106
  readonly duplicateindexnameerror_getCode: (a: number) => number;
5906
6107
  readonly duplicateindexnameerror_message: (a: number, b: number) => void;
5907
6108
  readonly duplicateindexnameerror_serialize: (a: number, b: number) => void;
5908
- readonly __wbg_incompatiblere2patternerror_free: (a: number) => void;
5909
- readonly incompatiblere2patternerror_getPattern: (a: number, b: number) => void;
5910
- readonly incompatiblere2patternerror_getPath: (a: number, b: number) => void;
5911
- readonly incompatiblere2patternerror_getMessage: (a: number, b: number) => void;
5912
- readonly incompatiblere2patternerror_getCode: (a: number) => number;
5913
- readonly incompatiblere2patternerror_message: (a: number, b: number) => void;
5914
- readonly incompatiblere2patternerror_serialize: (a: number, b: number) => void;
5915
6109
  readonly duplicateindexerror_getDocumentType: (a: number, b: number) => void;
5916
6110
  readonly duplicateindexerror_getIndexName: (a: number, b: number) => void;
5917
6111
  readonly duplicateindexerror_getCode: (a: number) => number;
@@ -5932,18 +6126,12 @@ export interface InitOutput {
5932
6126
  readonly invaliddatacontractiderror_getCode: (a: number) => number;
5933
6127
  readonly invaliddatacontractiderror_message: (a: number, b: number) => void;
5934
6128
  readonly invaliddatacontractiderror_serialize: (a: number, b: number) => void;
5935
- readonly __wbg_inconsistentcompoundindexdataerror_free: (a: number) => void;
5936
- readonly inconsistentcompoundindexdataerror_getIndexedProperties: (a: number) => number;
5937
- readonly inconsistentcompoundindexdataerror_getDocumentType: (a: number, b: number) => void;
5938
- readonly inconsistentcompoundindexdataerror_getCode: (a: number) => number;
5939
- readonly inconsistentcompoundindexdataerror_message: (a: number, b: number) => void;
5940
- readonly inconsistentcompoundindexdataerror_serialize: (a: number, b: number) => void;
5941
- readonly invaliddocumenttransitioniderror_getExpectedId: (a: number) => number;
5942
- readonly invaliddocumenttransitioniderror_getInvalidId: (a: number) => number;
5943
- readonly invaliddocumenttransitioniderror_getCode: (a: number) => number;
5944
- readonly invaliddocumenttransitioniderror_message: (a: number, b: number) => void;
5945
- readonly invaliddocumenttransitioniderror_serialize: (a: number, b: number) => void;
5946
- readonly __wbg_invaliddocumenttypeerror_free: (a: number) => void;
6129
+ readonly invaliddatacontractversionerror_getExpectedVersion: (a: number) => number;
6130
+ readonly invaliddatacontractversionerror_getVersion: (a: number) => number;
6131
+ readonly invaliddatacontractversionerror_getCode: (a: number) => number;
6132
+ readonly invaliddatacontractversionerror_message: (a: number, b: number) => void;
6133
+ readonly invaliddatacontractversionerror_serialize: (a: number, b: number) => void;
6134
+ readonly __wbg_invaliddocumenttypeerror_free: (a: number) => void;
5947
6135
  readonly invaliddocumenttypeerror_getType: (a: number, b: number) => void;
5948
6136
  readonly invaliddocumenttypeerror_getDataContractId: (a: number) => number;
5949
6137
  readonly invaliddocumenttypeerror_getCode: (a: number) => number;
@@ -5961,12 +6149,22 @@ export interface InitOutput {
5961
6149
  readonly identityinsufficientbalanceerror_getCode: (a: number) => number;
5962
6150
  readonly identityinsufficientbalanceerror_message: (a: number, b: number) => void;
5963
6151
  readonly identityinsufficientbalanceerror_serialize: (a: number, b: number) => void;
6152
+ readonly invalidassetlockproofcorechainheighterror_getProofCoreChainLockedHeight: (a: number) => number;
6153
+ readonly invalidassetlockproofcorechainheighterror_getCurrentCoreChainLockedHeight: (a: number) => number;
6154
+ readonly invalidassetlockproofcorechainheighterror_getCode: (a: number) => number;
6155
+ readonly invalidassetlockproofcorechainheighterror_message: (a: number, b: number) => void;
6156
+ readonly invalidassetlockproofcorechainheighterror_serialize: (a: number, b: number) => void;
5964
6157
  readonly __wbg_invalididentitypublickeydataerror_free: (a: number) => void;
5965
6158
  readonly invalididentitypublickeydataerror_getPublicKeyId: (a: number) => number;
5966
6159
  readonly invalididentitypublickeydataerror_getValidationError: (a: number, b: number) => void;
5967
6160
  readonly invalididentitypublickeydataerror_getCode: (a: number) => number;
5968
6161
  readonly invalididentitypublickeydataerror_message: (a: number, b: number) => void;
5969
6162
  readonly invalididentitypublickeydataerror_serialize: (a: number, b: number) => void;
6163
+ readonly incompatibleprotocolversionerror_getParsedProtocolVersion: (a: number) => number;
6164
+ readonly incompatibleprotocolversionerror_getMinimalProtocolVersion: (a: number) => number;
6165
+ readonly incompatibleprotocolversionerror_getCode: (a: number) => number;
6166
+ readonly incompatibleprotocolversionerror_message: (a: number, b: number) => void;
6167
+ readonly incompatibleprotocolversionerror_serialize: (a: number, b: number) => void;
5970
6168
  readonly invalididentifiererror_getIdentifierName: (a: number, b: number) => void;
5971
6169
  readonly invalididentifiererror_getIdentifierError: (a: number, b: number) => void;
5972
6170
  readonly invalididentifiererror_getCode: (a: number) => number;
@@ -5983,30 +6181,39 @@ export interface InitOutput {
5983
6181
  readonly publickeysecuritylevelnotmeterror_getCode: (a: number) => number;
5984
6182
  readonly publickeysecuritylevelnotmeterror_message: (a: number, b: number) => void;
5985
6183
  readonly publickeysecuritylevelnotmeterror_serialize: (a: number, b: number) => void;
6184
+ readonly statetransitionmaxsizeexceedederror_getActualSizeKBytes: (a: number) => number;
6185
+ readonly statetransitionmaxsizeexceedederror_getMaxSizeKBytes: (a: number) => number;
6186
+ readonly statetransitionmaxsizeexceedederror_getCode: (a: number) => number;
6187
+ readonly statetransitionmaxsizeexceedederror_message: (a: number, b: number) => void;
6188
+ readonly statetransitionmaxsizeexceedederror_serialize: (a: number, b: number) => void;
6189
+ readonly unsupportedprotocolversionerror_getParsedProtocolVersion: (a: number) => number;
6190
+ readonly unsupportedprotocolversionerror_getLatestVersion: (a: number) => number;
6191
+ readonly unsupportedprotocolversionerror_getCode: (a: number) => number;
6192
+ readonly unsupportedprotocolversionerror_message: (a: number, b: number) => void;
6193
+ readonly unsupportedprotocolversionerror_serialize: (a: number, b: number) => void;
5986
6194
  readonly wrongpublickeypurposeerror_getPublicKeyPurpose: (a: number) => number;
5987
6195
  readonly wrongpublickeypurposeerror_getKeyPurposeRequirement: (a: number) => number;
5988
6196
  readonly wrongpublickeypurposeerror_getCode: (a: number) => number;
5989
6197
  readonly wrongpublickeypurposeerror_message: (a: number, b: number) => void;
5990
6198
  readonly wrongpublickeypurposeerror_serialize: (a: number, b: number) => void;
5991
- readonly __wbg_datatriggerinvalidresulterror_free: (a: number) => void;
5992
- readonly datatriggerinvalidresulterror_getDataContractId: (a: number) => number;
5993
- readonly datatriggerinvalidresulterror_getDocumentId: (a: number) => number;
5994
- readonly datatriggerinvalidresulterror_getCode: (a: number) => number;
5995
- readonly datatriggerinvalidresulterror_message: (a: number, b: number) => void;
5996
- readonly datatriggerinvalidresulterror_serialize: (a: number, b: number) => void;
6199
+ readonly __wbg_identityvalidator_free: (a: number) => void;
6200
+ readonly identityvalidator_new: (a: number, b: number) => void;
6201
+ readonly identityvalidator_validate: (a: number, b: number, c: number) => void;
5997
6202
  readonly __wbg_invalididentityerror_free: (a: number) => void;
5998
6203
  readonly invalididentityerror_getErrors: (a: number, b: number) => void;
5999
6204
  readonly invalididentityerror_getRawIdentity: (a: number) => number;
6000
- readonly __wbg_chainassetlockproofstructurevalidator_free: (a: number) => void;
6001
- readonly chainassetlockproofstructurevalidator_new: (a: number, b: number) => void;
6002
- readonly chainassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
6003
- readonly invalidstatetransitionerror_new_wasm: (a: number, b: number, c: number, d: number) => void;
6004
- readonly __wbg_refunds_free: (a: number) => void;
6005
- readonly refunds_credits_per_epoch: (a: number) => number;
6006
- readonly refunds_toObject: (a: number, b: number) => void;
6007
- readonly invalidstatetransitionerror_getRawStateTransition: (a: number) => number;
6008
- readonly __wbg_invalidstatetransitionerror_free: (a: number) => void;
6009
- readonly refunds_identifier: (a: number) => number;
6205
+ readonly applyIdentityCreateTransition: (a: number, b: number) => number;
6206
+ readonly identitycreatetransitionstatevalidator_validate: (a: number, b: number) => number;
6207
+ readonly applyIdentityTopUpTransition: (a: number, b: number) => number;
6208
+ readonly applyIdentityUpdateTransition: (a: number, b: number) => number;
6209
+ readonly __wbg_identityupdatetransitionstatevalidator_free: (a: number) => void;
6210
+ readonly identityupdatetransitionstatevalidator_new: (a: number, b: number) => void;
6211
+ readonly identityupdatetransitionstatevalidator_validate: (a: number, b: number) => number;
6212
+ readonly __wbg_operation_free: (a: number) => void;
6213
+ readonly __wbg_statetransitionkeysignaturevalidator_free: (a: number) => void;
6214
+ readonly statetransitionkeysignaturevalidator_new: (a: number) => number;
6215
+ readonly statetransitionkeysignaturevalidator_validate: (a: number, b: number) => number;
6216
+ readonly decodeProtocolEntity: (a: number, b: number, c: number) => void;
6010
6217
  readonly __wbg_datacontractimmutablepropertiesupdateerror_free: (a: number) => void;
6011
6218
  readonly __wbg_datacontractinvalidindexdefinitionupdateerror_free: (a: number) => void;
6012
6219
  readonly __wbg_datacontractuniqueindiceschangederror_free: (a: number) => void;
@@ -6015,50 +6222,22 @@ export interface InitOutput {
6015
6222
  readonly __wbg_invalidcompoundindexerror_free: (a: number) => void;
6016
6223
  readonly __wbg_invaliddatacontractiderror_free: (a: number) => void;
6017
6224
  readonly __wbg_invalididentifiererror_free: (a: number) => void;
6018
- readonly invalidstatetransitionerror_getErrors: (a: number, b: number) => void;
6225
+ readonly __wbg_identitycreatetransitionstatevalidator_free: (a: number) => void;
6226
+ readonly identitycreatetransitionstatevalidator_new: (a: number) => number;
6227
+ readonly __wbg_invaliddatacontractversionerror_free: (a: number) => void;
6228
+ readonly __wbg_invalidassetlockproofcorechainheighterror_free: (a: number) => void;
6229
+ readonly __wbg_incompatibleprotocolversionerror_free: (a: number) => void;
6019
6230
  readonly __wbg_publickeysecuritylevelnotmeterror_free: (a: number) => void;
6231
+ readonly __wbg_statetransitionmaxsizeexceedederror_free: (a: number) => void;
6232
+ readonly __wbg_unsupportedprotocolversionerror_free: (a: number) => void;
6020
6233
  readonly __wbg_wrongpublickeypurposeerror_free: (a: number) => void;
6021
- readonly __wbg_invaliddocumenttransitioniderror_free: (a: number) => void;
6022
6234
  readonly __wbg_uniqueindiceslimitreachederror_free: (a: number) => void;
6023
- readonly __wbg_datacontractcreatetransition_free: (a: number) => void;
6024
- readonly datacontractcreatetransition_new: (a: number, b: number) => void;
6025
- readonly datacontractcreatetransition_getDataContract: (a: number) => number;
6026
- readonly datacontractcreatetransition_getProtocolVersion: (a: number) => number;
6027
- readonly datacontractcreatetransition_getEntropy: (a: number) => number;
6028
- readonly datacontractcreatetransition_getOwnerId: (a: number) => number;
6029
- readonly datacontractcreatetransition_getType: (a: number) => number;
6030
- readonly datacontractcreatetransition_toJSON: (a: number, b: number, c: number) => void;
6031
- readonly datacontractcreatetransition_toBuffer: (a: number, b: number, c: number) => void;
6032
- readonly datacontractcreatetransition_getModifiedDataIds: (a: number, b: number) => void;
6033
- readonly datacontractcreatetransition_isDataContractStateTransition: (a: number) => number;
6034
- readonly datacontractcreatetransition_isDocumentStateTransition: (a: number) => number;
6035
- readonly datacontractcreatetransition_isIdentityStateTransition: (a: number) => number;
6036
- readonly datacontractcreatetransition_setExecutionContext: (a: number, b: number) => void;
6037
- readonly datacontractcreatetransition_getExecutionContext: (a: number) => number;
6038
- readonly datacontractcreatetransition_toObject: (a: number, b: number, c: number) => void;
6039
- readonly datacontractcreatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6040
- readonly datacontractcreatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
6041
- readonly __wbg_applydatacontractupdatetransition_free: (a: number) => void;
6042
- readonly applydatacontractupdatetransition_new: (a: number) => number;
6043
- readonly applydatacontractupdatetransition_applyDataContractUpdateTransition: (a: number, b: number) => number;
6044
- readonly __wbg_datatriggerexecutioncontext_free: (a: number) => void;
6045
- readonly datatriggerexecutioncontext_new: (a: number, b: number, c: number, d: number, e: number) => void;
6046
- readonly datatriggerexecutioncontext_ownerId: (a: number) => number;
6047
- readonly datatriggerexecutioncontext_set_ownerId: (a: number, b: number, c: number) => void;
6048
- readonly datatriggerexecutioncontext_dataContract: (a: number) => number;
6049
- readonly datatriggerexecutioncontext_set_dataContract: (a: number, b: number) => void;
6050
- readonly datatriggerexecutioncontext_stateTransitionExecutionContext: (a: number) => number;
6051
- readonly datatriggerexecutioncontext_set_statTransitionExecutionContext: (a: number, b: number) => void;
6052
- readonly executeDataTriggers: (a: number, b: number, c: number) => number;
6053
6235
  readonly getDataTriggers: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
6054
6236
  readonly getAllDataTriggers: (a: number) => void;
6055
6237
  readonly __wbg_invaliddocumenterror_free: (a: number) => void;
6056
6238
  readonly invaliddocumenterror_new: (a: number, b: number, c: number) => number;
6057
6239
  readonly invaliddocumenterror_getErrors: (a: number, b: number) => void;
6058
6240
  readonly invaliddocumenterror_getRawDocument: (a: number) => number;
6059
- readonly applyDocumentsBatchTransition: (a: number, b: number) => number;
6060
- readonly validateDocumentsBatchTransitionBasic: (a: number, b: number, c: number, d: number) => number;
6061
- readonly validateDocumentsBatchTransitionState: (a: number, b: number) => number;
6062
6241
  readonly __wbg_documentsbatchtransition_free: (a: number) => void;
6063
6242
  readonly documentsbatchtransition_from_raw_object: (a: number, b: number, c: number) => void;
6064
6243
  readonly documentsbatchtransition_getType: (a: number) => number;
@@ -6088,37 +6267,6 @@ export interface InitOutput {
6088
6267
  readonly __wbg_documentvalidator_free: (a: number) => void;
6089
6268
  readonly documentvalidator_new: (a: number) => number;
6090
6269
  readonly documentvalidator_validate: (a: number, b: number, c: number, d: number) => void;
6091
- readonly __wbg_datacontractmaxdepthexceederror_free: (a: number) => void;
6092
- readonly datacontractmaxdeptherror_getMaxDepth: (a: number) => number;
6093
- readonly datacontractmaxdeptherror_getSchemaDepth: (a: number) => number;
6094
- readonly datacontractmaxdeptherror_getCode: (a: number) => number;
6095
- readonly datacontractmaxdeptherror_message: (a: number, b: number) => void;
6096
- readonly datacontractmaxdeptherror_serialize: (a: number, b: number) => void;
6097
- readonly invaliddatacontractversionerror_getExpectedVersion: (a: number) => number;
6098
- readonly invaliddatacontractversionerror_getVersion: (a: number) => number;
6099
- readonly invaliddatacontractversionerror_getCode: (a: number) => number;
6100
- readonly invaliddatacontractversionerror_message: (a: number, b: number) => void;
6101
- readonly invaliddatacontractversionerror_serialize: (a: number, b: number) => void;
6102
- readonly invalidassetlockproofcorechainheighterror_getProofCoreChainLockedHeight: (a: number) => number;
6103
- readonly invalidassetlockproofcorechainheighterror_getCurrentCoreChainLockedHeight: (a: number) => number;
6104
- readonly invalidassetlockproofcorechainheighterror_getCode: (a: number) => number;
6105
- readonly invalidassetlockproofcorechainheighterror_message: (a: number, b: number) => void;
6106
- readonly invalidassetlockproofcorechainheighterror_serialize: (a: number, b: number) => void;
6107
- readonly incompatibleprotocolversionerror_getParsedProtocolVersion: (a: number) => number;
6108
- readonly incompatibleprotocolversionerror_getMinimalProtocolVersion: (a: number) => number;
6109
- readonly incompatibleprotocolversionerror_getCode: (a: number) => number;
6110
- readonly incompatibleprotocolversionerror_message: (a: number, b: number) => void;
6111
- readonly incompatibleprotocolversionerror_serialize: (a: number, b: number) => void;
6112
- readonly statetransitionmaxsizeexceedederror_getActualSizeKBytes: (a: number) => number;
6113
- readonly statetransitionmaxsizeexceedederror_getMaxSizeKBytes: (a: number) => number;
6114
- readonly statetransitionmaxsizeexceedederror_getCode: (a: number) => number;
6115
- readonly statetransitionmaxsizeexceedederror_message: (a: number, b: number) => void;
6116
- readonly statetransitionmaxsizeexceedederror_serialize: (a: number, b: number) => void;
6117
- readonly unsupportedprotocolversionerror_getParsedProtocolVersion: (a: number) => number;
6118
- readonly unsupportedprotocolversionerror_getLatestVersion: (a: number) => number;
6119
- readonly unsupportedprotocolversionerror_getCode: (a: number) => number;
6120
- readonly unsupportedprotocolversionerror_message: (a: number, b: number) => void;
6121
- readonly unsupportedprotocolversionerror_serialize: (a: number, b: number) => void;
6122
6270
  readonly __wbg_identitypublickeyisreadonlyerror_free: (a: number) => void;
6123
6271
  readonly identitypublickeyisreadonlyerror_getKeyId: (a: number) => number;
6124
6272
  readonly identitypublickeyisreadonlyerror_getCode: (a: number) => number;
@@ -6144,53 +6292,15 @@ export interface InitOutput {
6144
6292
  readonly identitypublickey_isMaster: (a: number) => number;
6145
6293
  readonly identitypublickey_toJSON: (a: number, b: number) => void;
6146
6294
  readonly identitypublickey_toObject: (a: number, b: number) => void;
6147
- readonly __wbg_identityvalidator_free: (a: number) => void;
6148
- readonly identityvalidator_new: (a: number, b: number) => void;
6149
- readonly identityvalidator_validate: (a: number, b: number, c: number) => void;
6150
- readonly applyIdentityCreateTransition: (a: number, b: number) => number;
6151
- readonly __wbg_identitycreatetransitionstatevalidator_free: (a: number) => void;
6152
- readonly identitycreatetransitionstatevalidator_new: (a: number) => number;
6153
- readonly identitycreatetransitionstatevalidator_validate: (a: number, b: number) => number;
6154
- readonly applyIdentityTopUpTransition: (a: number, b: number) => number;
6295
+ readonly __wbg_identitytopuptransitionstatevalidator_free: (a: number) => void;
6296
+ readonly identitytopuptransitionstatevalidator_new: (a: number) => number;
6155
6297
  readonly identitytopuptransitionstatevalidator_validate: (a: number, b: number) => number;
6156
- readonly applyIdentityUpdateTransition: (a: number, b: number) => number;
6157
- readonly __wbg_identityupdatetransitionstatevalidator_free: (a: number) => void;
6158
- readonly identityupdatetransitionstatevalidator_new: (a: number, b: number) => void;
6159
- readonly identityupdatetransitionstatevalidator_validate: (a: number, b: number) => number;
6160
6298
  readonly calculateStateTransitionFee: (a: number, b: number) => void;
6161
- readonly __wbg_precalculatedoperation_free: (a: number) => void;
6162
- readonly precalculatedoperation_new: (a: number, b: number, c: number, d: number) => void;
6163
- readonly precalculatedoperation_fromFee: (a: number) => number;
6164
- readonly precalculatedoperation_getProcessingCost: (a: number, b: number) => void;
6165
- readonly precalculatedoperation_getStorageCost: (a: number, b: number) => void;
6166
- readonly precalculatedoperation_refunds: (a: number) => number;
6167
- readonly precalculatedoperation_refunds_as_objects: (a: number, b: number) => void;
6168
- readonly precalculatedoperation_toJSON: (a: number, b: number) => void;
6169
- readonly __wbg_operation_free: (a: number) => void;
6170
- readonly __wbg_statetransitionkeysignaturevalidator_free: (a: number) => void;
6171
- readonly statetransitionkeysignaturevalidator_new: (a: number) => number;
6172
- readonly statetransitionkeysignaturevalidator_validate: (a: number, b: number) => number;
6173
- readonly decodeProtocolEntity: (a: number, b: number, c: number) => void;
6174
- readonly __wbg_validationresult_free: (a: number) => void;
6175
- readonly validationresult_new: (a: number, b: number, c: number) => void;
6176
- readonly validationresult_errorsText: (a: number, b: number) => void;
6177
- readonly validationresult_isValid: (a: number) => number;
6178
- readonly validationresult_errors: (a: number, b: number) => void;
6179
- readonly validationresult_getData: (a: number) => number;
6180
- readonly validationresult_getFirstError: (a: number) => number;
6181
- readonly validationresult_addError: (a: number, b: number, c: number) => void;
6182
- readonly __wbg_identitytopuptransitionstatevalidator_free: (a: number) => void;
6183
6299
  readonly identitypublickeyisreadonlyerror_getPublicKeyIndex: (a: number) => number;
6184
- readonly validationresult_getErrors: (a: number, b: number) => void;
6185
- readonly identitytopuptransitionstatevalidator_new: (a: number) => number;
6186
- readonly __wbg_invaliddatacontractversionerror_free: (a: number) => void;
6187
- readonly __wbg_invalidassetlockproofcorechainheighterror_free: (a: number) => void;
6188
- readonly __wbg_incompatibleprotocolversionerror_free: (a: number) => void;
6189
- readonly __wbg_statetransitionmaxsizeexceedederror_free: (a: number) => void;
6190
- readonly __wbg_unsupportedprotocolversionerror_free: (a: number) => void;
6191
6300
  readonly __wbg_applydatacontractcreatetransition_free: (a: number) => void;
6192
6301
  readonly applydatacontractcreatetransition_new: (a: number) => number;
6193
6302
  readonly applydatacontractcreatetransition_applyDataContractCreateTransition: (a: number, b: number) => number;
6303
+ readonly applydatacontractupdatetransition_applyDataContractUpdateTransition: (a: number, b: number) => number;
6194
6304
  readonly __wbg_datacontractfacade_free: (a: number) => void;
6195
6305
  readonly datacontractfacade_create: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6196
6306
  readonly datacontractfacade_createFromObject: (a: number, b: number, c: number) => number;
@@ -6198,6 +6308,15 @@ export interface InitOutput {
6198
6308
  readonly datacontractfacade_createDataContractCreateTransition: (a: number, b: number, c: number) => void;
6199
6309
  readonly datacontractfacade_createDataContractUpdateTransition: (a: number, b: number, c: number) => void;
6200
6310
  readonly datacontractfacade_validate: (a: number, b: number) => number;
6311
+ readonly __wbg_datatriggerexecutioncontext_free: (a: number) => void;
6312
+ readonly datatriggerexecutioncontext_new: (a: number, b: number, c: number, d: number, e: number) => void;
6313
+ readonly datatriggerexecutioncontext_ownerId: (a: number) => number;
6314
+ readonly datatriggerexecutioncontext_set_ownerId: (a: number, b: number, c: number) => void;
6315
+ readonly datatriggerexecutioncontext_dataContract: (a: number) => number;
6316
+ readonly datatriggerexecutioncontext_set_dataContract: (a: number, b: number) => void;
6317
+ readonly datatriggerexecutioncontext_stateTransitionExecutionContext: (a: number) => number;
6318
+ readonly datatriggerexecutioncontext_set_statTransitionExecutionContext: (a: number, b: number) => void;
6319
+ readonly executeDataTriggers: (a: number, b: number, c: number) => number;
6201
6320
  readonly __wbg_datatrigger_free: (a: number) => void;
6202
6321
  readonly datatrigger_get_data_contract_id: (a: number) => number;
6203
6322
  readonly datatrigger_set_data_contract_id: (a: number, b: number, c: number) => void;
@@ -6208,6 +6327,20 @@ export interface InitOutput {
6208
6327
  readonly datatrigger_set_transition_action: (a: number, b: number, c: number, d: number) => void;
6209
6328
  readonly datatrigger_get_top_level_identity: (a: number) => number;
6210
6329
  readonly datatrigger_set_top_level_identity: (a: number, b: number, c: number) => void;
6330
+ readonly __wbg_documentdeletetransition_free: (a: number) => void;
6331
+ readonly documentdeletetransition_getAction: (a: number) => number;
6332
+ readonly documentdeletetransition_toObject: (a: number, b: number, c: number) => void;
6333
+ readonly documentdeletetransition_toJSON: (a: number, b: number) => void;
6334
+ readonly documentdeletetransition_getId: (a: number) => number;
6335
+ readonly documentdeletetransition_getType: (a: number, b: number) => void;
6336
+ readonly documentdeletetransition_getDataContract: (a: number) => number;
6337
+ readonly documentdeletetransition_getDataContractId: (a: number) => number;
6338
+ readonly documentdeletetransition_get: (a: number, b: number, c: number, d: number) => void;
6339
+ readonly __wbg_datacontractnotpresenterror_free: (a: number) => void;
6340
+ readonly datacontractnotpresenterror_getDataContractId: (a: number) => number;
6341
+ readonly datacontractnotpresenterror_getCode: (a: number) => number;
6342
+ readonly datacontractnotpresenterror_message: (a: number, b: number) => void;
6343
+ readonly datacontractnotpresenterror_serialize: (a: number, b: number) => void;
6211
6344
  readonly __wbg_duplicatedocumenttransitionswithidserror_free: (a: number) => void;
6212
6345
  readonly duplicatedocumenttransitionswithidserror_getDocumentTransitionReferences: (a: number) => number;
6213
6346
  readonly duplicatedocumenttransitionswithidserror_getCode: (a: number) => number;
@@ -6226,11 +6359,23 @@ export interface InitOutput {
6226
6359
  readonly duplicatedidentitypublickeyiderror_getCode: (a: number) => number;
6227
6360
  readonly duplicatedidentitypublickeyiderror_message: (a: number, b: number) => void;
6228
6361
  readonly duplicatedidentitypublickeyiderror_serialize: (a: number, b: number) => void;
6229
- readonly __wbg_documentalreadypresenterror_free: (a: number) => void;
6362
+ readonly __wbg_invalididentityassetlocktransactionerror_free: (a: number) => void;
6363
+ readonly invalididentityassetlocktransactionerror_getErrorMessage: (a: number, b: number) => void;
6364
+ readonly invalididentityassetlocktransactionerror_getCode: (a: number) => number;
6365
+ readonly invalididentityassetlocktransactionerror_message: (a: number, b: number) => void;
6366
+ readonly invalididentityassetlocktransactionerror_serialize: (a: number, b: number) => void;
6230
6367
  readonly documentalreadypresenterror_getDocumentId: (a: number) => number;
6231
6368
  readonly documentalreadypresenterror_getCode: (a: number) => number;
6232
6369
  readonly documentalreadypresenterror_message: (a: number, b: number) => void;
6233
6370
  readonly documentalreadypresenterror_serialize: (a: number, b: number) => void;
6371
+ readonly documentnotfounderror_getDocumentId: (a: number) => number;
6372
+ readonly documentnotfounderror_getCode: (a: number) => number;
6373
+ readonly documentnotfounderror_message: (a: number, b: number) => void;
6374
+ readonly documentnotfounderror_serialize: (a: number, b: number) => void;
6375
+ readonly documenttimestampsmismatcherror_getDocumentId: (a: number) => number;
6376
+ readonly documenttimestampsmismatcherror_getCode: (a: number) => number;
6377
+ readonly documenttimestampsmismatcherror_message: (a: number, b: number) => void;
6378
+ readonly documenttimestampsmismatcherror_serialize: (a: number, b: number) => void;
6234
6379
  readonly duplicatedidentitypublickeyidstateerror_getDuplicatedIds: (a: number) => number;
6235
6380
  readonly duplicatedidentitypublickeyidstateerror_getCode: (a: number) => number;
6236
6381
  readonly duplicatedidentitypublickeyidstateerror_message: (a: number, b: number) => void;
@@ -6239,6 +6384,21 @@ export interface InitOutput {
6239
6384
  readonly duplicatedidentitypublickeystateerror_getCode: (a: number) => number;
6240
6385
  readonly duplicatedidentitypublickeystateerror_message: (a: number, b: number) => void;
6241
6386
  readonly duplicatedidentitypublickeystateerror_serialize: (a: number, b: number) => void;
6387
+ readonly valueerror_getMessage: (a: number, b: number) => void;
6388
+ readonly valueerror_getCode: (a: number) => number;
6389
+ readonly valueerror_message: (a: number, b: number) => void;
6390
+ readonly valueerror_serialize: (a: number, b: number) => void;
6391
+ readonly __wbg_identityfacade_free: (a: number) => void;
6392
+ readonly identityfacade_create: (a: number, b: number, c: number, d: number) => void;
6393
+ readonly identityfacade_createFromObject: (a: number, b: number, c: number, d: number) => void;
6394
+ readonly identityfacade_createFromBuffer: (a: number, b: number, c: number, d: number, e: number) => void;
6395
+ readonly identityfacade_validate: (a: number, b: number, c: number) => void;
6396
+ readonly identityfacade_createInstantAssetLockProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
6397
+ readonly identityfacade_createChainAssetLockProof: (a: number, b: number, c: number, d: number, e: number) => void;
6398
+ readonly identityfacade_createIdentityCreateTransition: (a: number, b: number, c: number) => void;
6399
+ readonly identityfacade_createIdentityTopUpTransition: (a: number, b: number, c: number, d: number) => void;
6400
+ readonly identityfacade_createIdentityUpdateTransition: (a: number, b: number, c: number, d: number) => void;
6401
+ readonly __wbg_nonconsensuserrorwasm_free: (a: number) => void;
6242
6402
  readonly __wbg_identitycreatetransition_free: (a: number) => void;
6243
6403
  readonly identitycreatetransition_new: (a: number, b: number) => void;
6244
6404
  readonly identitycreatetransition_setAssetLockProof: (a: number, b: number, c: number) => void;
@@ -6270,184 +6430,50 @@ export interface InitOutput {
6270
6430
  readonly metadata_getCoreChainLockedHeight: (a: number) => number;
6271
6431
  readonly metadata_getTimeMs: (a: number) => number;
6272
6432
  readonly metadata_getProtocolVersion: (a: number) => number;
6433
+ readonly __wbg_statetransitionfacade_free: (a: number) => void;
6434
+ readonly statetransitionfacade_createFromObject: (a: number, b: number, c: number) => number;
6435
+ readonly statetransitionfacade_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
6436
+ readonly statetransitionfacade_validate: (a: number, b: number, c: number) => number;
6437
+ readonly statetransitionfacade_validateBasic: (a: number, b: number) => number;
6438
+ readonly statetransitionfacade_validateSignature: (a: number, b: number) => number;
6439
+ readonly statetransitionfacade_validateFee: (a: number, b: number) => number;
6440
+ readonly statetransitionfacade_validateState: (a: number, b: number) => number;
6441
+ readonly statetransitionfacade_apply: (a: number, b: number) => number;
6442
+ readonly __wbg_precalculatedoperation_free: (a: number) => void;
6443
+ readonly precalculatedoperation_new: (a: number, b: number, c: number, d: number) => void;
6444
+ readonly precalculatedoperation_fromFee: (a: number) => number;
6445
+ readonly precalculatedoperation_getProcessingCost: (a: number, b: number) => void;
6446
+ readonly precalculatedoperation_getStorageCost: (a: number, b: number) => void;
6447
+ readonly precalculatedoperation_refunds: (a: number) => number;
6448
+ readonly precalculatedoperation_refunds_as_objects: (a: number, b: number) => void;
6449
+ readonly precalculatedoperation_toJSON: (a: number, b: number) => void;
6273
6450
  readonly __wbg_signatureverificationoperation_free: (a: number) => void;
6274
6451
  readonly signatureverificationoperation_new: (a: number, b: number) => void;
6275
6452
  readonly signatureverificationoperation_getProcessingCost: (a: number, b: number) => void;
6276
6453
  readonly signatureverificationoperation_getStorageCost: (a: number, b: number) => void;
6277
6454
  readonly signatureverificationoperation_refunds: (a: number) => number;
6278
6455
  readonly signatureverificationoperation_toJSON: (a: number, b: number) => void;
6456
+ readonly __wbg_validationresult_free: (a: number) => void;
6457
+ readonly validationresult_new: (a: number, b: number, c: number) => void;
6458
+ readonly validationresult_errorsText: (a: number, b: number) => void;
6459
+ readonly validationresult_isValid: (a: number) => number;
6460
+ readonly validationresult_errors: (a: number, b: number) => void;
6461
+ readonly validationresult_getData: (a: number) => number;
6462
+ readonly validationresult_getFirstError: (a: number) => number;
6463
+ readonly validationresult_addError: (a: number, b: number, c: number) => void;
6279
6464
  readonly identitycreatetransition_publicKeys: (a: number, b: number) => void;
6280
6465
  readonly __wbg_duplicatedidentitypublickeyiderror_free: (a: number) => void;
6281
6466
  readonly __wbg_duplicatedidentitypublickeyidstateerror_free: (a: number) => void;
6282
6467
  readonly __wbg_duplicatedidentitypublickeystateerror_free: (a: number) => void;
6283
6468
  readonly identitycreatetransition_getAssetLockProof: (a: number) => number;
6469
+ readonly __wbg_applydatacontractupdatetransition_free: (a: number) => void;
6470
+ readonly applydatacontractupdatetransition_new: (a: number) => number;
6471
+ readonly validationresult_getErrors: (a: number, b: number) => void;
6284
6472
  readonly identitycreatetransition_identityId: (a: number) => number;
6285
6473
  readonly __wbg_duplicatedocumenttransitionswithindiceserror_free: (a: number) => void;
6286
- readonly __wbg_indexproperty_free: (a: number) => void;
6287
- readonly indexproperty_isAscending: (a: number) => number;
6288
- readonly __wbg_indexdefinition_free: (a: number) => void;
6289
- readonly indexdefinition_getName: (a: number, b: number) => void;
6290
- readonly indexdefinition_getProperties: (a: number, b: number) => void;
6291
- readonly indexdefinition_isUnique: (a: number) => number;
6292
- readonly indexdefinition_toObject: (a: number, b: number) => void;
6293
- readonly __wbg_mismatchowneridserror_free: (a: number) => void;
6294
- readonly mismatchowneridserror_new: (a: number, b: number) => number;
6295
- readonly mismatchowneridserror_getDocuments: (a: number, b: number) => void;
6296
- readonly __wbg_extendeddocument_free: (a: number) => void;
6297
- readonly extendeddocument_new: (a: number, b: number, c: number) => void;
6298
- readonly extendeddocument_getProtocolVersion: (a: number) => number;
6299
- readonly extendeddocument_setId: (a: number, b: number) => void;
6300
- readonly extendeddocument_getType: (a: number, b: number) => void;
6301
- readonly extendeddocument_setType: (a: number, b: number, c: number) => void;
6302
- readonly extendeddocument_getDataContractId: (a: number) => number;
6303
- readonly extendeddocument_getDataContract: (a: number) => number;
6304
- readonly extendeddocument_setDataContractId: (a: number, b: number, c: number) => void;
6305
- readonly extendeddocument_getDocument: (a: number) => number;
6306
- readonly extendeddocument_setOwnerId: (a: number, b: number) => void;
6307
- readonly extendeddocument_getOwnerId: (a: number) => number;
6308
- readonly extendeddocument_setRevision: (a: number, b: number, c: number) => void;
6309
- readonly extendeddocument_getRevision: (a: number, b: number) => void;
6310
- readonly extendeddocument_setEntropy: (a: number, b: number, c: number, d: number) => void;
6311
- readonly extendeddocument_getEntropy: (a: number) => number;
6312
- readonly extendeddocument_setData: (a: number, b: number, c: number) => void;
6313
- readonly extendeddocument_getData: (a: number, b: number) => void;
6314
- readonly extendeddocument_set: (a: number, b: number, c: number, d: number, e: number) => void;
6315
- readonly extendeddocument_get: (a: number, b: number, c: number) => number;
6316
- readonly extendeddocument_setCreatedAt: (a: number, b: number) => void;
6317
- readonly extendeddocument_setUpdatedAt: (a: number, b: number) => void;
6318
- readonly extendeddocument_getCreatedAt: (a: number) => number;
6319
- readonly extendeddocument_getUpdatedAt: (a: number) => number;
6320
- readonly extendeddocument_getMetadata: (a: number) => number;
6321
- readonly extendeddocument_setMetadata: (a: number, b: number, c: number) => void;
6322
- readonly extendeddocument_toObject: (a: number, b: number, c: number) => void;
6323
- readonly extendeddocument_toJSON: (a: number, b: number) => void;
6324
- readonly extendeddocument_toBuffer: (a: number, b: number) => void;
6325
- readonly extendeddocument_hash: (a: number, b: number) => void;
6326
- readonly extendeddocument_clone: (a: number) => number;
6327
- readonly __wbg_documentdeletetransition_free: (a: number) => void;
6328
- readonly documentdeletetransition_getAction: (a: number) => number;
6329
- readonly documentdeletetransition_toObject: (a: number, b: number, c: number) => void;
6330
- readonly documentdeletetransition_toJSON: (a: number, b: number) => void;
6331
- readonly documentdeletetransition_getId: (a: number) => number;
6332
- readonly documentdeletetransition_getType: (a: number, b: number) => void;
6333
- readonly documentdeletetransition_getDataContract: (a: number) => number;
6334
- readonly documentdeletetransition_getDataContractId: (a: number) => number;
6335
- readonly documentdeletetransition_get: (a: number, b: number, c: number, d: number) => void;
6336
- readonly __wbg_documenttransition_free: (a: number) => void;
6337
- readonly documenttransition_getId: (a: number) => number;
6338
- readonly documenttransition_getType: (a: number, b: number) => void;
6339
- readonly documenttransition_getAction: (a: number) => number;
6340
- readonly documenttransition_getDataContract: (a: number) => number;
6341
- readonly documenttransition_getDataContractId: (a: number) => number;
6342
- readonly documenttransition_setDataContractId: (a: number, b: number, c: number) => void;
6343
- readonly documenttransition_getRevision: (a: number) => number;
6344
- readonly documenttransition_getCreatedAt: (a: number) => number;
6345
- readonly documenttransition_getUpdatedAt: (a: number) => number;
6346
- readonly documenttransition_setUpdatedAt: (a: number, b: number, c: number) => void;
6347
- readonly documenttransition_setCreatedAt: (a: number, b: number) => void;
6348
- readonly documenttransition_getData: (a: number, b: number) => void;
6349
- readonly documenttransition_get: (a: number, b: number, c: number) => number;
6350
- readonly documenttransition_toObject: (a: number, b: number, c: number) => void;
6351
- readonly documenttransition_toJSON: (a: number, b: number) => void;
6352
- readonly documenttransition_fromTransitionCreate: (a: number) => number;
6353
- readonly documenttransition_fromTransitionReplace: (a: number) => number;
6354
- readonly documenttransition_fromTransitionDelete: (a: number) => number;
6355
- readonly serializedobjectparsingerror_getParsingError: (a: number, b: number) => void;
6356
- readonly serializedobjectparsingerror_getCode: (a: number) => number;
6357
- readonly serializedobjectparsingerror_message: (a: number, b: number) => void;
6358
- readonly serializedobjectparsingerror_serialize: (a: number, b: number) => void;
6359
- readonly __wbg_datacontractnotpresenterror_free: (a: number) => void;
6360
- readonly datacontractnotpresenterror_getDataContractId: (a: number) => number;
6361
- readonly datacontractnotpresenterror_getCode: (a: number) => number;
6362
- readonly datacontractnotpresenterror_message: (a: number, b: number) => void;
6363
- readonly datacontractnotpresenterror_serialize: (a: number, b: number) => void;
6364
- readonly __wbg_invaliddocumenttransitionactionerror_free: (a: number) => void;
6365
- readonly invaliddocumenttransitionactionerror_getAction: (a: number, b: number) => void;
6366
- readonly invaliddocumenttransitionactionerror_getCode: (a: number) => number;
6367
- readonly invaliddocumenttransitionactionerror_message: (a: number, b: number) => void;
6368
- readonly invaliddocumenttransitionactionerror_serialize: (a: number, b: number) => void;
6369
- readonly identityassetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
6370
- readonly identityassetlocktransactionisnotfounderror_getCode: (a: number) => number;
6371
- readonly identityassetlocktransactionisnotfounderror_message: (a: number, b: number) => void;
6372
- readonly identityassetlocktransactionisnotfounderror_serialize: (a: number, b: number) => void;
6373
- readonly invalididentityassetlocktransactionerror_getErrorMessage: (a: number, b: number) => void;
6374
- readonly invalididentityassetlocktransactionerror_getCode: (a: number) => number;
6375
- readonly invalididentityassetlocktransactionerror_message: (a: number, b: number) => void;
6376
- readonly invalididentityassetlocktransactionerror_serialize: (a: number, b: number) => void;
6377
- readonly jsonschemacompilationerror_getError: (a: number, b: number) => void;
6378
- readonly jsonschemacompilationerror_getCode: (a: number) => number;
6379
- readonly jsonschemacompilationerror_message: (a: number, b: number) => void;
6380
- readonly jsonschemacompilationerror_serialize: (a: number, b: number) => void;
6381
- readonly documentnotfounderror_getDocumentId: (a: number) => number;
6382
- readonly documentnotfounderror_getCode: (a: number) => number;
6383
- readonly documentnotfounderror_message: (a: number, b: number) => void;
6384
- readonly documentnotfounderror_serialize: (a: number, b: number) => void;
6385
- readonly documenttimestampsmismatcherror_getDocumentId: (a: number) => number;
6386
- readonly documenttimestampsmismatcherror_getCode: (a: number) => number;
6387
- readonly documenttimestampsmismatcherror_message: (a: number, b: number) => void;
6388
- readonly documenttimestampsmismatcherror_serialize: (a: number, b: number) => void;
6389
- readonly identityalreadyexistserror_getIdentityId: (a: number) => number;
6390
- readonly identityalreadyexistserror_getCode: (a: number) => number;
6391
- readonly identityalreadyexistserror_message: (a: number, b: number) => void;
6392
- readonly identityalreadyexistserror_serialize: (a: number, b: number) => void;
6393
- readonly valueerror_getMessage: (a: number, b: number) => void;
6394
- readonly valueerror_getCode: (a: number) => number;
6395
- readonly valueerror_message: (a: number, b: number) => void;
6396
- readonly valueerror_serialize: (a: number, b: number) => void;
6397
- readonly __wbg_identityfacade_free: (a: number) => void;
6398
- readonly identityfacade_create: (a: number, b: number, c: number, d: number) => void;
6399
- readonly identityfacade_createFromObject: (a: number, b: number, c: number, d: number) => void;
6400
- readonly identityfacade_createFromBuffer: (a: number, b: number, c: number, d: number, e: number) => void;
6401
- readonly identityfacade_validate: (a: number, b: number, c: number) => void;
6402
- readonly identityfacade_createInstantAssetLockProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
6403
- readonly identityfacade_createChainAssetLockProof: (a: number, b: number, c: number, d: number, e: number) => void;
6404
- readonly identityfacade_createIdentityCreateTransition: (a: number, b: number, c: number) => void;
6405
- readonly identityfacade_createIdentityTopUpTransition: (a: number, b: number, c: number, d: number) => void;
6406
- readonly identityfacade_createIdentityUpdateTransition: (a: number, b: number, c: number, d: number) => void;
6407
- readonly __wbg_nonconsensuserrorwasm_free: (a: number) => void;
6408
- readonly __wbg_publickeysvalidator_free: (a: number) => void;
6409
- readonly publickeysvalidator_new: (a: number, b: number) => void;
6410
- readonly publickeysvalidator_validateKeys: (a: number, b: number, c: number) => void;
6411
- readonly publickeysvalidator_validatePublicKeyStructure: (a: number, b: number, c: number) => void;
6412
- readonly publickeysvalidator_validateKeysInStateTransition: (a: number, b: number, c: number) => void;
6413
- readonly __wbg_instantassetlockproof_free: (a: number) => void;
6414
- readonly instantassetlockproof_new: (a: number, b: number) => void;
6415
- readonly instantassetlockproof_getType: (a: number) => number;
6416
- readonly instantassetlockproof_getOutputIndex: (a: number) => number;
6417
- readonly instantassetlockproof_getOutPoint: (a: number) => number;
6418
- readonly instantassetlockproof_getOutput: (a: number, b: number) => void;
6419
- readonly instantassetlockproof_createIdentifier: (a: number, b: number) => void;
6420
- readonly instantassetlockproof_getInstantLock: (a: number) => number;
6421
- readonly instantassetlockproof_getTransaction: (a: number) => number;
6422
- readonly instantassetlockproof_toObject: (a: number, b: number) => void;
6423
- readonly instantassetlockproof_toJSON: (a: number, b: number) => void;
6424
- readonly __wbg_statetransitionfacade_free: (a: number) => void;
6425
- readonly statetransitionfacade_createFromObject: (a: number, b: number, c: number) => number;
6426
- readonly statetransitionfacade_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
6427
- readonly statetransitionfacade_validate: (a: number, b: number, c: number) => number;
6428
- readonly statetransitionfacade_validateBasic: (a: number, b: number) => number;
6429
- readonly statetransitionfacade_validateSignature: (a: number, b: number) => number;
6430
- readonly statetransitionfacade_validateFee: (a: number, b: number) => number;
6431
- readonly statetransitionfacade_validateState: (a: number, b: number) => number;
6432
- readonly statetransitionfacade_apply: (a: number, b: number) => number;
6433
- readonly __wbg_statetransitionexecutioncontext_free: (a: number) => void;
6434
- readonly statetransitionexecutioncontext_new: () => number;
6435
- readonly statetransitionexecutioncontext_enableDryRun: (a: number) => void;
6436
- readonly statetransitionexecutioncontext_disableDryRun: (a: number) => void;
6437
- readonly statetransitionexecutioncontext_isDryRun: (a: number) => number;
6438
- readonly statetransitionexecutioncontext_addOperation: (a: number, b: number, c: number) => void;
6439
- readonly statetransitionexecutioncontext_getDryOperations: (a: number, b: number) => void;
6440
- readonly statetransitionexecutioncontext_getOperations: (a: number, b: number) => void;
6441
- readonly statetransitionexecutioncontext_clearDryOperations: (a: number) => void;
6442
- readonly extendeddocument_getId: (a: number) => number;
6443
- readonly indexproperty_getName: (a: number, b: number) => void;
6444
- readonly __wbg_identityassetlocktransactionisnotfounderror_free: (a: number) => void;
6474
+ readonly __wbg_documentalreadypresenterror_free: (a: number) => void;
6445
6475
  readonly __wbg_documentnotfounderror_free: (a: number) => void;
6446
6476
  readonly __wbg_documenttimestampsmismatcherror_free: (a: number) => void;
6447
- readonly __wbg_identityalreadyexistserror_free: (a: number) => void;
6448
- readonly __wbg_serializedobjectparsingerror_free: (a: number) => void;
6449
- readonly __wbg_invalididentityassetlocktransactionerror_free: (a: number) => void;
6450
- readonly __wbg_jsonschemacompilationerror_free: (a: number) => void;
6451
6477
  readonly __wbg_valueerror_free: (a: number) => void;
6452
6478
  readonly rustsecp256k1_v0_6_1_context_create: (a: number) => number;
6453
6479
  readonly rustsecp256k1_v0_6_1_context_destroy: (a: number) => void;
@@ -6456,11 +6482,11 @@ export interface InitOutput {
6456
6482
  readonly __wbindgen_malloc: (a: number) => number;
6457
6483
  readonly __wbindgen_realloc: (a: number, b: number, c: number) => number;
6458
6484
  readonly __wbindgen_export_2: WebAssembly.Table;
6459
- readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hdd24d8804d5e775b: (a: number, b: number, c: number) => void;
6485
+ readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5bbfd8b9d27beaec: (a: number, b: number, c: number) => void;
6460
6486
  readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
6461
6487
  readonly __wbindgen_free: (a: number, b: number) => void;
6462
6488
  readonly __wbindgen_exn_store: (a: number) => void;
6463
- readonly wasm_bindgen__convert__closures__invoke2_mut__h21b3b36adbe76a27: (a: number, b: number, c: number, d: number) => void;
6489
+ readonly wasm_bindgen__convert__closures__invoke2_mut__h6f8db9c0aac86f5d: (a: number, b: number, c: number, d: number) => void;
6464
6490
  }
6465
6491
 
6466
6492
  export type SyncInitInput = BufferSource | WebAssembly.Module;