@dashevo/wasm-dpp 0.24.0-dev.23 → 0.24.0-dev.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/wasm/wasm_dpp.d.ts +753 -731
- package/dist/wasm/wasm_dpp.js +60 -52
- package/dist/wasm/wasm_dpp_bg.js +1 -1
- package/lib/test/fixtures/getIdentityTopUpTransitionFixture.js +26 -1
- package/lib/test/fixtures/getIdentityTopUpTransitionFixtureJs.js +1 -0
- package/lib/wasm/wasm_dpp.d.ts +753 -731
- package/package.json +3 -3
- package/src/errors/consensus/fee/balance_is_not_enough_error.rs +4 -4
- package/src/identity/credits_converter.rs +7 -0
- package/src/identity/mod.rs +1 -0
- package/src/state_transition/fee/mod.rs +2 -0
- package/src/state_transition/validation/mod.rs +1 -0
- package/src/state_transition/validation/state_transition_fee_validator.rs +39 -0
- package/test/integration/identity/stateTransition/IdentityTopUpTransition/validation/basic/validateIdentityTopUpTransitionBasicFactory.spec.js +1 -1
- package/test/integration/stateTransition/StateTransitionFacade.spec.js +1 -0
- package/test/unit/stateTransition/validation/validateStateTransitionFeeFactory.spec.js +124 -199
- package/test/unit/stateTransition/validation/validateStateTransitionKeySignatureFactory.spec.js +1 -1
package/lib/wasm/wasm_dpp.d.ts
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* @param {Array<any>} operations
|
|
5
|
-
* @param {any} identity_id
|
|
6
|
-
* @returns {FeeResult}
|
|
7
|
-
*/
|
|
8
|
-
export function calculateStateTransitionFeeFromOperations(operations: Array<any>, identity_id: any): FeeResult;
|
|
9
|
-
/**
|
|
10
4
|
* @param {any} state_repository
|
|
11
5
|
* @param {DataContractCreateTransition} state_transition
|
|
12
6
|
* @returns {Promise<ValidationResult>}
|
|
@@ -18,20 +12,25 @@ export function validateDataContractCreateTransitionState(state_repository: any,
|
|
|
18
12
|
*/
|
|
19
13
|
export function validateDataContractCreateTransitionBasic(raw_parameters: any): Promise<ValidationResult>;
|
|
20
14
|
/**
|
|
21
|
-
* @param {Uint8Array}
|
|
22
|
-
* @returns {
|
|
15
|
+
* @param {Uint8Array} bytes
|
|
16
|
+
* @returns {any}
|
|
23
17
|
*/
|
|
24
|
-
export function
|
|
18
|
+
export function deserializeConsensusError(bytes: Uint8Array): any;
|
|
19
|
+
/**
|
|
20
|
+
* @param {Array<any>} operations
|
|
21
|
+
* @param {any} identity_id
|
|
22
|
+
* @returns {FeeResult}
|
|
23
|
+
*/
|
|
24
|
+
export function calculateStateTransitionFeeFromOperations(operations: Array<any>, identity_id: any): FeeResult;
|
|
25
25
|
/**
|
|
26
26
|
* @returns {any}
|
|
27
27
|
*/
|
|
28
28
|
export function generateTemporaryEcdsaPrivateKey(): any;
|
|
29
29
|
/**
|
|
30
30
|
* @param {Array<any>} js_raw_transitions
|
|
31
|
-
* @
|
|
32
|
-
* @returns {ValidationResult}
|
|
31
|
+
* @returns {any[]}
|
|
33
32
|
*/
|
|
34
|
-
export function
|
|
33
|
+
export function findDuplicatesById(js_raw_transitions: Array<any>): any[];
|
|
35
34
|
/**
|
|
36
35
|
* @param {any} raw_parameters
|
|
37
36
|
* @returns {any}
|
|
@@ -65,6 +64,12 @@ export function fetchAssetLockPublicKeyHash(state_repository: any, raw_asset_loc
|
|
|
65
64
|
*/
|
|
66
65
|
export function calculateOperationFees(operations: Array<any>): DummyFeesResult;
|
|
67
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
|
+
/**
|
|
68
73
|
* @param {any} external_state_repository
|
|
69
74
|
* @param {any} js_state_transition
|
|
70
75
|
* @param {any} bls_adapter
|
|
@@ -91,13 +96,6 @@ export function validateIndicesAreBackwardCompatible(old_documents_schema: any,
|
|
|
91
96
|
*/
|
|
92
97
|
export function validateDataContractUpdateTransitionBasic(state_repository: any, raw_parameters: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
|
|
93
98
|
/**
|
|
94
|
-
* @param {Array<any>} js_raw_transitions
|
|
95
|
-
* @param {DataContract} data_contract
|
|
96
|
-
* @param {any} owner_id
|
|
97
|
-
* @returns {any[]}
|
|
98
|
-
*/
|
|
99
|
-
export function findDuplicatesByIndices(js_raw_transitions: Array<any>, data_contract: DataContract, owner_id: any): any[];
|
|
100
|
-
/**
|
|
101
99
|
* @param {any} state_repository
|
|
102
100
|
* @param {any} js_owner_id
|
|
103
101
|
* @param {Array<any>} js_document_transitions
|
|
@@ -107,19 +105,30 @@ export function findDuplicatesByIndices(js_raw_transitions: Array<any>, data_con
|
|
|
107
105
|
*/
|
|
108
106
|
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>;
|
|
109
107
|
/**
|
|
108
|
+
* @param {any} contract_id
|
|
109
|
+
* @param {any} owner_id
|
|
110
|
+
* @param {string} document_type
|
|
111
|
+
* @param {Uint8Array} entropy
|
|
112
|
+
* @returns {any}
|
|
113
|
+
*/
|
|
114
|
+
export function generateDocumentId(contract_id: any, owner_id: any, document_type: string, entropy: Uint8Array): any;
|
|
115
|
+
/**
|
|
116
|
+
* @returns {number}
|
|
117
|
+
*/
|
|
118
|
+
export function getCreditsConversionRatio(): number;
|
|
119
|
+
/**
|
|
110
120
|
* @param {any} state_repository
|
|
111
121
|
* @param {any} js_raw_document
|
|
112
122
|
* @returns {Promise<ValidationResult>}
|
|
113
123
|
*/
|
|
114
124
|
export function fetchAndValidateDataContract(state_repository: any, js_raw_document: any): Promise<ValidationResult>;
|
|
115
125
|
/**
|
|
116
|
-
* @param {any}
|
|
126
|
+
* @param {Array<any>} js_raw_transitions
|
|
127
|
+
* @param {DataContract} data_contract
|
|
117
128
|
* @param {any} owner_id
|
|
118
|
-
* @
|
|
119
|
-
* @param {Uint8Array} entropy
|
|
120
|
-
* @returns {any}
|
|
129
|
+
* @returns {any[]}
|
|
121
130
|
*/
|
|
122
|
-
export function
|
|
131
|
+
export function findDuplicatesByIndices(js_raw_transitions: Array<any>, data_contract: DataContract, owner_id: any): any[];
|
|
123
132
|
/**
|
|
124
133
|
* @param {any} state_repository
|
|
125
134
|
* @param {Array<any>} js_document_transitions
|
|
@@ -128,15 +137,12 @@ export function generateDocumentId(contract_id: any, owner_id: any, document_typ
|
|
|
128
137
|
*/
|
|
129
138
|
export function fetchExtendedDocuments(state_repository: any, js_document_transitions: Array<any>, js_execution_context: StateTransitionExecutionContext): Promise<Array<any>>;
|
|
130
139
|
/**
|
|
131
|
-
* @param {
|
|
132
|
-
* @
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* @param {any} state_transition_js
|
|
137
|
-
* @returns {FeeResult}
|
|
140
|
+
* @param {Array<any>} js_document_transitions
|
|
141
|
+
* @param {DataTriggerExecutionContext} js_context
|
|
142
|
+
* @param {Array<any>} js_data_triggers
|
|
143
|
+
* @returns {Promise<Array<any>>}
|
|
138
144
|
*/
|
|
139
|
-
export function
|
|
145
|
+
export function executeDataTriggers(js_document_transitions: Array<any>, js_context: DataTriggerExecutionContext, js_data_triggers: Array<any>): Promise<Array<any>>;
|
|
140
146
|
/**
|
|
141
147
|
* @param {any} js_data_contract_id
|
|
142
148
|
* @param {string} document_type
|
|
@@ -188,17 +194,15 @@ export function applyIdentityTopUpTransition(state_repository: any, state_transi
|
|
|
188
194
|
*/
|
|
189
195
|
export function applyIdentityUpdateTransition(state_repository: any, state_transition: IdentityUpdateTransition): Promise<void>;
|
|
190
196
|
/**
|
|
191
|
-
* @param {
|
|
192
|
-
* @
|
|
193
|
-
* @param {Array<any>} js_data_triggers
|
|
194
|
-
* @returns {Promise<Array<any>>}
|
|
197
|
+
* @param {any} state_transition_js
|
|
198
|
+
* @returns {FeeResult}
|
|
195
199
|
*/
|
|
196
|
-
export function
|
|
200
|
+
export function calculateStateTransitionFee(state_transition_js: any): FeeResult;
|
|
197
201
|
/**
|
|
198
|
-
* @param {
|
|
199
|
-
* @returns {any
|
|
202
|
+
* @param {Uint8Array} buffer
|
|
203
|
+
* @returns {Array<any>}
|
|
200
204
|
*/
|
|
201
|
-
export function
|
|
205
|
+
export function decodeProtocolEntity(buffer: Uint8Array): Array<any>;
|
|
202
206
|
/**
|
|
203
207
|
*/
|
|
204
208
|
export enum KeyPurpose {
|
|
@@ -301,13 +305,13 @@ export class BalanceIsNotEnoughError {
|
|
|
301
305
|
*/
|
|
302
306
|
constructor(balance: bigint, fee: bigint);
|
|
303
307
|
/**
|
|
304
|
-
* @returns {
|
|
308
|
+
* @returns {number}
|
|
305
309
|
*/
|
|
306
|
-
getBalance():
|
|
310
|
+
getBalance(): number;
|
|
307
311
|
/**
|
|
308
|
-
* @returns {
|
|
312
|
+
* @returns {number}
|
|
309
313
|
*/
|
|
310
|
-
getFee():
|
|
314
|
+
getFee(): number;
|
|
311
315
|
/**
|
|
312
316
|
* @returns {number}
|
|
313
317
|
*/
|
|
@@ -4951,6 +4955,20 @@ export class StateTransitionFactory {
|
|
|
4951
4955
|
}
|
|
4952
4956
|
/**
|
|
4953
4957
|
*/
|
|
4958
|
+
export class StateTransitionFeeValidator {
|
|
4959
|
+
free(): void;
|
|
4960
|
+
/**
|
|
4961
|
+
* @param {any} state_repository
|
|
4962
|
+
*/
|
|
4963
|
+
constructor(state_repository: any);
|
|
4964
|
+
/**
|
|
4965
|
+
* @param {any} state_transition
|
|
4966
|
+
* @returns {Promise<ValidationResult>}
|
|
4967
|
+
*/
|
|
4968
|
+
validate(state_transition: any): Promise<ValidationResult>;
|
|
4969
|
+
}
|
|
4970
|
+
/**
|
|
4971
|
+
*/
|
|
4954
4972
|
export class StateTransitionKeySignatureValidator {
|
|
4955
4973
|
free(): void;
|
|
4956
4974
|
/**
|
|
@@ -5205,73 +5223,45 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
5205
5223
|
|
|
5206
5224
|
export interface InitOutput {
|
|
5207
5225
|
readonly memory: WebAssembly.Memory;
|
|
5208
|
-
readonly
|
|
5209
|
-
readonly
|
|
5210
|
-
readonly
|
|
5211
|
-
readonly
|
|
5212
|
-
readonly
|
|
5213
|
-
readonly
|
|
5214
|
-
readonly
|
|
5215
|
-
readonly
|
|
5216
|
-
readonly
|
|
5217
|
-
readonly
|
|
5218
|
-
readonly
|
|
5219
|
-
readonly
|
|
5220
|
-
readonly
|
|
5221
|
-
readonly
|
|
5222
|
-
readonly
|
|
5223
|
-
readonly
|
|
5224
|
-
readonly
|
|
5225
|
-
readonly
|
|
5226
|
-
readonly
|
|
5227
|
-
readonly
|
|
5228
|
-
readonly
|
|
5229
|
-
readonly
|
|
5230
|
-
readonly
|
|
5231
|
-
readonly
|
|
5232
|
-
readonly
|
|
5233
|
-
readonly
|
|
5234
|
-
readonly
|
|
5235
|
-
readonly
|
|
5236
|
-
readonly
|
|
5237
|
-
readonly
|
|
5238
|
-
readonly
|
|
5239
|
-
readonly
|
|
5240
|
-
readonly
|
|
5241
|
-
readonly
|
|
5242
|
-
readonly
|
|
5243
|
-
readonly
|
|
5244
|
-
readonly
|
|
5245
|
-
readonly
|
|
5246
|
-
readonly
|
|
5247
|
-
readonly extendeddocument_clone: (a: number) => number;
|
|
5248
|
-
readonly __wbg_documentdeletetransition_free: (a: number) => void;
|
|
5249
|
-
readonly documentdeletetransition_getAction: (a: number) => number;
|
|
5250
|
-
readonly documentdeletetransition_toObject: (a: number, b: number, c: number) => void;
|
|
5251
|
-
readonly documentdeletetransition_toJSON: (a: number, b: number) => void;
|
|
5252
|
-
readonly documentdeletetransition_getId: (a: number) => number;
|
|
5253
|
-
readonly documentdeletetransition_getType: (a: number, b: number) => void;
|
|
5254
|
-
readonly documentdeletetransition_getDataContract: (a: number) => number;
|
|
5255
|
-
readonly documentdeletetransition_getDataContractId: (a: number) => number;
|
|
5256
|
-
readonly documentdeletetransition_get: (a: number, b: number, c: number, d: number) => void;
|
|
5257
|
-
readonly documenttransition_getId: (a: number) => number;
|
|
5258
|
-
readonly documenttransition_getType: (a: number, b: number) => void;
|
|
5259
|
-
readonly documenttransition_getAction: (a: number) => number;
|
|
5260
|
-
readonly documenttransition_getDataContract: (a: number) => number;
|
|
5261
|
-
readonly documenttransition_getDataContractId: (a: number) => number;
|
|
5262
|
-
readonly documenttransition_setDataContractId: (a: number, b: number, c: number) => void;
|
|
5263
|
-
readonly documenttransition_getRevision: (a: number) => number;
|
|
5264
|
-
readonly documenttransition_getCreatedAt: (a: number) => number;
|
|
5265
|
-
readonly documenttransition_getUpdatedAt: (a: number) => number;
|
|
5266
|
-
readonly documenttransition_setUpdatedAt: (a: number, b: number, c: number) => void;
|
|
5267
|
-
readonly documenttransition_setCreatedAt: (a: number, b: number) => void;
|
|
5268
|
-
readonly documenttransition_getData: (a: number, b: number) => void;
|
|
5269
|
-
readonly documenttransition_get: (a: number, b: number, c: number) => number;
|
|
5270
|
-
readonly documenttransition_toObject: (a: number, b: number, c: number) => void;
|
|
5271
|
-
readonly documenttransition_toJSON: (a: number, b: number) => void;
|
|
5272
|
-
readonly documenttransition_fromTransitionCreate: (a: number) => number;
|
|
5273
|
-
readonly documenttransition_fromTransitionReplace: (a: number) => number;
|
|
5274
|
-
readonly documenttransition_fromTransitionDelete: (a: number) => number;
|
|
5226
|
+
readonly validateDataContractCreateTransitionState: (a: number, b: number) => number;
|
|
5227
|
+
readonly validateDataContractCreateTransitionBasic: (a: number) => number;
|
|
5228
|
+
readonly __wbg_invalidactionnameerror_free: (a: number) => void;
|
|
5229
|
+
readonly invalidactionnameerror_new: (a: number, b: number) => number;
|
|
5230
|
+
readonly invalidactionnameerror_getActions: (a: number, b: number) => void;
|
|
5231
|
+
readonly __wbg_invalidjsonschemareferror_free: (a: number) => void;
|
|
5232
|
+
readonly invalidjsonschemareferror_getRefError: (a: number, b: number) => void;
|
|
5233
|
+
readonly invalidjsonschemareferror_getCode: (a: number) => number;
|
|
5234
|
+
readonly invalidjsonschemareferror_message: (a: number, b: number) => void;
|
|
5235
|
+
readonly invalidjsonschemareferror_serialize: (a: number, b: number) => void;
|
|
5236
|
+
readonly __wbg_identityassetlocktransactionoutputnotfounderror_free: (a: number) => void;
|
|
5237
|
+
readonly identityassetlocktransactionoutputnotfounderror_getOutputIndex: (a: number) => number;
|
|
5238
|
+
readonly identityassetlocktransactionoutputnotfounderror_getCode: (a: number) => number;
|
|
5239
|
+
readonly identityassetlocktransactionoutputnotfounderror_message: (a: number, b: number) => void;
|
|
5240
|
+
readonly identityassetlocktransactionoutputnotfounderror_serialize: (a: number, b: number) => void;
|
|
5241
|
+
readonly invalidassetlocktransactionoutputreturnsizeerror_getOutputIndex: (a: number) => number;
|
|
5242
|
+
readonly invalidassetlocktransactionoutputreturnsizeerror_getCode: (a: number) => number;
|
|
5243
|
+
readonly invalidassetlocktransactionoutputreturnsizeerror_message: (a: number, b: number) => void;
|
|
5244
|
+
readonly invalidassetlocktransactionoutputreturnsizeerror_serialize: (a: number, b: number) => void;
|
|
5245
|
+
readonly invalididentityassetlocktransactionoutputerror_getOutputIndex: (a: number) => number;
|
|
5246
|
+
readonly invalididentityassetlocktransactionoutputerror_getCode: (a: number) => number;
|
|
5247
|
+
readonly invalididentityassetlocktransactionoutputerror_message: (a: number, b: number) => void;
|
|
5248
|
+
readonly invalididentityassetlocktransactionoutputerror_serialize: (a: number, b: number) => void;
|
|
5249
|
+
readonly invalididentitycreditwithdrawaltransitioncorefeeerror_getCoreFee: (a: number) => number;
|
|
5250
|
+
readonly invalididentitycreditwithdrawaltransitioncorefeeerror_getCode: (a: number) => number;
|
|
5251
|
+
readonly invalididentitycreditwithdrawaltransitioncorefeeerror_message: (a: number, b: number) => void;
|
|
5252
|
+
readonly invalididentitycreditwithdrawaltransitioncorefeeerror_serialize: (a: number, b: number) => void;
|
|
5253
|
+
readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_getPooling: (a: number) => number;
|
|
5254
|
+
readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_getCode: (a: number) => number;
|
|
5255
|
+
readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_message: (a: number, b: number) => void;
|
|
5256
|
+
readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_serialize: (a: number, b: number) => void;
|
|
5257
|
+
readonly invalididentitykeysignatureerror_getPublicKeyId: (a: number) => number;
|
|
5258
|
+
readonly invalididentitykeysignatureerror_getCode: (a: number) => number;
|
|
5259
|
+
readonly invalididentitykeysignatureerror_message: (a: number, b: number) => void;
|
|
5260
|
+
readonly invalididentitykeysignatureerror_serialize: (a: number, b: number) => void;
|
|
5261
|
+
readonly missingpublickeyerror_getPublicKeyId: (a: number) => number;
|
|
5262
|
+
readonly missingpublickeyerror_getCode: (a: number) => number;
|
|
5263
|
+
readonly missingpublickeyerror_message: (a: number, b: number) => void;
|
|
5264
|
+
readonly missingpublickeyerror_serialize: (a: number, b: number) => void;
|
|
5275
5265
|
readonly __wbg_jsonschemaerror_free: (a: number) => void;
|
|
5276
5266
|
readonly jsonschemaerror_getKeyword: (a: number, b: number) => void;
|
|
5277
5267
|
readonly jsonschemaerror_getInstancePath: (a: number, b: number) => void;
|
|
@@ -5282,74 +5272,54 @@ export interface InitOutput {
|
|
|
5282
5272
|
readonly jsonschemaerror_toString: (a: number, b: number) => void;
|
|
5283
5273
|
readonly jsonschemaerror_message: (a: number, b: number) => void;
|
|
5284
5274
|
readonly jsonschemaerror_serialize: (a: number, b: number) => void;
|
|
5285
|
-
readonly
|
|
5286
|
-
readonly
|
|
5287
|
-
readonly
|
|
5288
|
-
readonly
|
|
5289
|
-
readonly
|
|
5290
|
-
readonly
|
|
5291
|
-
readonly
|
|
5292
|
-
readonly
|
|
5293
|
-
readonly
|
|
5294
|
-
readonly
|
|
5295
|
-
readonly
|
|
5296
|
-
readonly
|
|
5297
|
-
readonly
|
|
5298
|
-
readonly
|
|
5299
|
-
readonly
|
|
5300
|
-
readonly
|
|
5301
|
-
readonly
|
|
5302
|
-
readonly
|
|
5303
|
-
readonly
|
|
5304
|
-
readonly
|
|
5305
|
-
readonly
|
|
5306
|
-
readonly
|
|
5307
|
-
readonly
|
|
5308
|
-
readonly
|
|
5309
|
-
readonly
|
|
5310
|
-
readonly
|
|
5311
|
-
readonly
|
|
5312
|
-
readonly
|
|
5313
|
-
readonly
|
|
5314
|
-
readonly
|
|
5315
|
-
readonly
|
|
5316
|
-
readonly
|
|
5317
|
-
readonly
|
|
5318
|
-
readonly
|
|
5319
|
-
readonly
|
|
5320
|
-
readonly
|
|
5321
|
-
readonly
|
|
5322
|
-
readonly
|
|
5323
|
-
readonly
|
|
5324
|
-
readonly
|
|
5325
|
-
readonly
|
|
5326
|
-
readonly
|
|
5327
|
-
readonly
|
|
5328
|
-
readonly
|
|
5329
|
-
readonly statetransitionexecutioncontext_clearDryOperations: (a: number) => void;
|
|
5330
|
-
readonly identitytopuptransition_identityId: (a: number) => number;
|
|
5331
|
-
readonly documentnotprovidederror_getDocumentTransition: (a: number) => number;
|
|
5332
|
-
readonly invaliddocumentactionerror_getDocumentTransition: (a: number) => number;
|
|
5333
|
-
readonly identitytopuptransition_getAssetLockProof: (a: number) => number;
|
|
5334
|
-
readonly extendeddocument_getId: (a: number) => number;
|
|
5335
|
-
readonly __wbg_documentnotprovidederror_free: (a: number) => void;
|
|
5336
|
-
readonly __wbg_invaliddocumentactionerror_free: (a: number) => void;
|
|
5337
|
-
readonly __wbg_documenttransition_free: (a: number) => void;
|
|
5338
|
-
readonly __wbg_datacontractnotpresentnotconsensuserror_free: (a: number) => void;
|
|
5339
|
-
readonly __wbg_datacontractgenericerror_free: (a: number) => void;
|
|
5340
|
-
readonly datacontractgenericerror_getMessage: (a: number, b: number) => void;
|
|
5341
|
-
readonly validateDataContractCreateTransitionState: (a: number, b: number) => number;
|
|
5342
|
-
readonly validateDataContractCreateTransitionBasic: (a: number) => number;
|
|
5275
|
+
readonly publickeyisdisablederror_getPublicKeyId: (a: number) => number;
|
|
5276
|
+
readonly publickeyisdisablederror_getCode: (a: number) => number;
|
|
5277
|
+
readonly publickeyisdisablederror_message: (a: number, b: number) => void;
|
|
5278
|
+
readonly publickeyisdisablederror_serialize: (a: number, b: number) => void;
|
|
5279
|
+
readonly deserializeConsensusError: (a: number, b: number, c: number) => void;
|
|
5280
|
+
readonly identitypublickeyisdisablederror_getPublicKeyIndex: (a: number) => number;
|
|
5281
|
+
readonly identitypublickeyisdisablederror_getCode: (a: number) => number;
|
|
5282
|
+
readonly identitypublickeyisdisablederror_message: (a: number, b: number) => void;
|
|
5283
|
+
readonly identitypublickeyisdisablederror_serialize: (a: number, b: number) => void;
|
|
5284
|
+
readonly invalididentitypublickeyiderror_getId: (a: number) => number;
|
|
5285
|
+
readonly invalididentitypublickeyiderror_getCode: (a: number) => number;
|
|
5286
|
+
readonly invalididentitypublickeyiderror_message: (a: number, b: number) => void;
|
|
5287
|
+
readonly invalididentitypublickeyiderror_serialize: (a: number, b: number) => void;
|
|
5288
|
+
readonly maxidentitypublickeylimitreachederror_getMaxItems: (a: number) => number;
|
|
5289
|
+
readonly maxidentitypublickeylimitreachederror_getCode: (a: number) => number;
|
|
5290
|
+
readonly maxidentitypublickeylimitreachederror_message: (a: number, b: number) => void;
|
|
5291
|
+
readonly maxidentitypublickeylimitreachederror_serialize: (a: number, b: number) => void;
|
|
5292
|
+
readonly calculateStateTransitionFeeFromOperations: (a: number, b: number, c: number) => void;
|
|
5293
|
+
readonly __wbg_dummyfeesresult_free: (a: number) => void;
|
|
5294
|
+
readonly dummyfeesresult_storageFee: (a: number) => number;
|
|
5295
|
+
readonly dummyfeesresult_processingFee: (a: number) => number;
|
|
5296
|
+
readonly dummyfeesresult_feeRefunds: (a: number) => number;
|
|
5297
|
+
readonly dummyfeesresult_set_storageFee: (a: number, b: number, c: number) => void;
|
|
5298
|
+
readonly dummyfeesresult_set_processingFee: (a: number, b: number, c: number) => void;
|
|
5299
|
+
readonly dummyfeesresult_set_feeRefunds: (a: number, b: number, c: number) => void;
|
|
5300
|
+
readonly __wbg_readoperation_free: (a: number) => void;
|
|
5301
|
+
readonly readoperation_new: (a: number, b: number) => void;
|
|
5302
|
+
readonly readoperation_processingCost: (a: number, b: number) => void;
|
|
5303
|
+
readonly readoperation_storageCost: (a: number, b: number) => void;
|
|
5304
|
+
readonly readoperation_refunds: (a: number) => number;
|
|
5305
|
+
readonly readoperation_toJSON: (a: number, b: number) => void;
|
|
5306
|
+
readonly __wbg_statetransitionfeevalidator_free: (a: number) => void;
|
|
5307
|
+
readonly statetransitionfeevalidator_new: (a: number) => number;
|
|
5308
|
+
readonly statetransitionfeevalidator_validate: (a: number, b: number) => number;
|
|
5309
|
+
readonly __wbg_invalidassetlocktransactionoutputreturnsizeerror_free: (a: number) => void;
|
|
5310
|
+
readonly __wbg_invalididentityassetlocktransactionoutputerror_free: (a: number) => void;
|
|
5311
|
+
readonly __wbg_invalididentitycreditwithdrawaltransitioncorefeeerror_free: (a: number) => void;
|
|
5312
|
+
readonly __wbg_notimplementedidentitycreditwithdrawaltransitionpoolingerror_free: (a: number) => void;
|
|
5313
|
+
readonly __wbg_invalididentitykeysignatureerror_free: (a: number) => void;
|
|
5314
|
+
readonly __wbg_missingpublickeyerror_free: (a: number) => void;
|
|
5315
|
+
readonly __wbg_publickeyisdisablederror_free: (a: number) => void;
|
|
5316
|
+
readonly __wbg_identitypublickeyisdisablederror_free: (a: number) => void;
|
|
5317
|
+
readonly __wbg_invalididentitypublickeyiderror_free: (a: number) => void;
|
|
5318
|
+
readonly __wbg_maxidentitypublickeylimitreachederror_free: (a: number) => void;
|
|
5343
5319
|
readonly documentnorevisionerror_new: (a: number) => number;
|
|
5344
|
-
readonly __wbg_invalidactionnameerror_free: (a: number) => void;
|
|
5345
|
-
readonly invalidactionnameerror_new: (a: number, b: number) => number;
|
|
5346
|
-
readonly invalidactionnameerror_getActions: (a: number, b: number) => void;
|
|
5347
5320
|
readonly __wbg_invalidinitialrevisionerror_free: (a: number) => void;
|
|
5348
5321
|
readonly invalidinitialrevisionerror_new: (a: number) => number;
|
|
5349
5322
|
readonly invalidinitialrevisionerror_getDocument: (a: number) => number;
|
|
5350
|
-
readonly __wbg_mismatchowneridserror_free: (a: number) => void;
|
|
5351
|
-
readonly mismatchowneridserror_new: (a: number, b: number) => number;
|
|
5352
|
-
readonly mismatchowneridserror_getDocuments: (a: number, b: number) => void;
|
|
5353
5323
|
readonly __wbg_document_free: (a: number) => void;
|
|
5354
5324
|
readonly document_new: (a: number, b: number, c: number, d: number) => void;
|
|
5355
5325
|
readonly document_getId: (a: number) => number;
|
|
@@ -5371,25 +5341,33 @@ export interface InitOutput {
|
|
|
5371
5341
|
readonly document_toBuffer: (a: number, b: number) => void;
|
|
5372
5342
|
readonly document_hash: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5373
5343
|
readonly document_clone: (a: number) => number;
|
|
5374
|
-
readonly
|
|
5375
|
-
readonly
|
|
5376
|
-
readonly
|
|
5377
|
-
readonly
|
|
5378
|
-
readonly
|
|
5379
|
-
readonly
|
|
5380
|
-
readonly
|
|
5381
|
-
readonly
|
|
5382
|
-
readonly
|
|
5383
|
-
readonly
|
|
5384
|
-
readonly
|
|
5385
|
-
readonly
|
|
5386
|
-
readonly
|
|
5387
|
-
readonly
|
|
5388
|
-
readonly
|
|
5344
|
+
readonly __wbg_documenttimestampwindowviolationerror_free: (a: number) => void;
|
|
5345
|
+
readonly documenttimestampwindowviolationerror_getDocumentId: (a: number) => number;
|
|
5346
|
+
readonly documenttimestampwindowviolationerror_getTimestampName: (a: number, b: number) => void;
|
|
5347
|
+
readonly documenttimestampwindowviolationerror_getTimestamp: (a: number) => number;
|
|
5348
|
+
readonly documenttimestampwindowviolationerror_getTimeWindowStart: (a: number) => number;
|
|
5349
|
+
readonly documenttimestampwindowviolationerror_getTimeWindowEnd: (a: number) => number;
|
|
5350
|
+
readonly documenttimestampwindowviolationerror_getCode: (a: number) => number;
|
|
5351
|
+
readonly documenttimestampwindowviolationerror_message: (a: number, b: number) => void;
|
|
5352
|
+
readonly documenttimestampwindowviolationerror_serialize: (a: number, b: number) => void;
|
|
5353
|
+
readonly __wbg_identityfactory_free: (a: number) => void;
|
|
5354
|
+
readonly identityfactory_new: (a: number, b: number, c: number) => void;
|
|
5355
|
+
readonly identityfactory_create: (a: number, b: number, c: number, d: number) => void;
|
|
5356
|
+
readonly identityfactory_createFromObject: (a: number, b: number, c: number, d: number) => void;
|
|
5357
|
+
readonly identityfactory_createFromBuffer: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5358
|
+
readonly identityfactory_createInstantAssetLockProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
5359
|
+
readonly identityfactory_createChainAssetLockProof: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5360
|
+
readonly identityfactory_createIdentityCreateTransition: (a: number, b: number, c: number) => void;
|
|
5361
|
+
readonly identityfactory_createIdentityTopUpTransition: (a: number, b: number, c: number, d: number) => void;
|
|
5362
|
+
readonly identityfactory_createIdentityUpdateTransition: (a: number, b: number, c: number, d: number) => void;
|
|
5363
|
+
readonly __wbg_assetlockoutputnotfounderror_free: (a: number) => void;
|
|
5364
|
+
readonly __wbg_assetlocktransactionisnotfounderror_free: (a: number) => void;
|
|
5365
|
+
readonly assetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
|
|
5389
5366
|
readonly generateTemporaryEcdsaPrivateKey: () => number;
|
|
5390
|
-
readonly
|
|
5391
|
-
readonly documentnorevisionerror_getDocument: (a: number) => number;
|
|
5367
|
+
readonly tryingtoreplaceimmutabledocumenterror_new: (a: number) => number;
|
|
5392
5368
|
readonly __wbg_documentnorevisionerror_free: (a: number) => void;
|
|
5369
|
+
readonly __wbg_tryingtoreplaceimmutabledocumenterror_free: (a: number) => void;
|
|
5370
|
+
readonly documentnorevisionerror_getDocument: (a: number) => number;
|
|
5393
5371
|
readonly __wbg_dashplatformprotocol_free: (a: number) => void;
|
|
5394
5372
|
readonly dashplatformprotocol_new: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
5395
5373
|
readonly dashplatformprotocol_data_contract: (a: number) => number;
|
|
@@ -5400,8 +5378,8 @@ export interface InitOutput {
|
|
|
5400
5378
|
readonly dashplatformprotocol_setProtocolVersion: (a: number, b: number, c: number) => void;
|
|
5401
5379
|
readonly dashplatformprotocol_setStateRepository: (a: number, b: number, c: number) => void;
|
|
5402
5380
|
readonly dashplatformprotocol_getStateRepository: (a: number) => number;
|
|
5403
|
-
readonly
|
|
5404
|
-
readonly
|
|
5381
|
+
readonly __wbg_documentalreadyexistserror_free: (a: number) => void;
|
|
5382
|
+
readonly documentalreadyexistserror_getDocumentTransition: (a: number) => number;
|
|
5405
5383
|
readonly __wbg_documentfacade_free: (a: number) => void;
|
|
5406
5384
|
readonly documentfacade_new: (a: number, b: number, c: number) => number;
|
|
5407
5385
|
readonly documentfacade_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
@@ -5410,7 +5388,83 @@ export interface InitOutput {
|
|
|
5410
5388
|
readonly documentfacade_createStateTransition: (a: number, b: number, c: number) => void;
|
|
5411
5389
|
readonly documentfacade_validate: (a: number, b: number) => number;
|
|
5412
5390
|
readonly documentfacade_validate_raw_document: (a: number, b: number) => number;
|
|
5391
|
+
readonly findDuplicatesById: (a: number, b: number) => void;
|
|
5392
|
+
readonly __wbg_invalididentitypublickeytypeerror_free: (a: number) => void;
|
|
5393
|
+
readonly invalididentitypublickeytypeerror_new: (a: number, b: number) => void;
|
|
5394
|
+
readonly invalididentitypublickeytypeerror_getPublicKeyType: (a: number) => number;
|
|
5395
|
+
readonly invalididentitypublickeytypeerror_getCode: (a: number) => number;
|
|
5396
|
+
readonly invalididentitypublickeytypeerror_message: (a: number, b: number) => void;
|
|
5397
|
+
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
|
+
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;
|
|
5408
|
+
readonly __wbg_identitytopuptransition_free: (a: number) => void;
|
|
5409
|
+
readonly identitytopuptransition_new: (a: number, b: number) => void;
|
|
5410
|
+
readonly identitytopuptransition_setAssetLockProof: (a: number, b: number, c: number) => void;
|
|
5411
|
+
readonly identitytopuptransition_assetLockProof: (a: number) => number;
|
|
5412
|
+
readonly identitytopuptransition_getType: (a: number) => number;
|
|
5413
|
+
readonly identitytopuptransition_getIdentityId: (a: number) => number;
|
|
5414
|
+
readonly identitytopuptransition_getOwnerId: (a: number) => number;
|
|
5415
|
+
readonly identitytopuptransition_toObject: (a: number, b: number, c: number) => void;
|
|
5416
|
+
readonly identitytopuptransition_toBuffer: (a: number, b: number, c: number) => void;
|
|
5417
|
+
readonly identitytopuptransition_toJSON: (a: number, b: number) => void;
|
|
5418
|
+
readonly identitytopuptransition_getModifiedDataIds: (a: number, b: number) => void;
|
|
5419
|
+
readonly identitytopuptransition_isDataContractStateTransition: (a: number) => number;
|
|
5420
|
+
readonly identitytopuptransition_isDocumentStateTransition: (a: number) => number;
|
|
5421
|
+
readonly identitytopuptransition_isIdentityStateTransition: (a: number) => number;
|
|
5422
|
+
readonly identitytopuptransition_setExecutionContext: (a: number, b: number) => void;
|
|
5423
|
+
readonly identitytopuptransition_getExecutionContext: (a: number) => number;
|
|
5424
|
+
readonly identitytopuptransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
5425
|
+
readonly identitytopuptransition_getSignature: (a: number) => number;
|
|
5426
|
+
readonly identitytopuptransition_setSignature: (a: number, b: number, c: number) => void;
|
|
5427
|
+
readonly __wbg_protocolversionvalidator_free: (a: number) => void;
|
|
5428
|
+
readonly protocolversionvalidator_new: (a: number, b: number) => void;
|
|
5429
|
+
readonly protocolversionvalidator_validate: (a: number, b: number, c: number) => void;
|
|
5430
|
+
readonly dashplatformprotocol_protocol_version: (a: number) => number;
|
|
5431
|
+
readonly identitytopuptransition_getAssetLockProof: (a: number) => number;
|
|
5432
|
+
readonly identitytopuptransition_identityId: (a: number) => number;
|
|
5433
|
+
readonly __wbg_documentnotprovidederror_free: (a: number) => void;
|
|
5434
|
+
readonly __wbg_invaliddocumentactionerror_free: (a: number) => void;
|
|
5435
|
+
readonly __wbg_unknownassetlockprooftypeerror_free: (a: number) => void;
|
|
5436
|
+
readonly documentnotprovidederror_getDocumentTransition: (a: number) => number;
|
|
5437
|
+
readonly invaliddocumentactionerror_getDocumentTransition: (a: number) => number;
|
|
5438
|
+
readonly __wbg_datacontractgenericerror_free: (a: number) => void;
|
|
5439
|
+
readonly datacontractgenericerror_getMessage: (a: number, b: number) => void;
|
|
5440
|
+
readonly __wbg_revisionabsenterror_free: (a: number) => void;
|
|
5441
|
+
readonly revisionabsenterror_new: (a: number) => number;
|
|
5442
|
+
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;
|
|
5413
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
|
+
readonly __wbg_protocolversionparsingerror_free: (a: number) => void;
|
|
5463
|
+
readonly protocolversionparsingerror_new: (a: number, b: number) => number;
|
|
5464
|
+
readonly protocolversionparsingerror_getParsingError: (a: number, b: number) => void;
|
|
5465
|
+
readonly protocolversionparsingerror_getCode: (a: number) => number;
|
|
5466
|
+
readonly protocolversionparsingerror_serialize: (a: number, b: number) => void;
|
|
5467
|
+
readonly protocolversionparsingerror_message: (a: number, b: number) => void;
|
|
5414
5468
|
readonly missingdatacontractiderror_getCode: (a: number) => number;
|
|
5415
5469
|
readonly missingdatacontractiderror_message: (a: number, b: number) => void;
|
|
5416
5470
|
readonly missingdatacontractiderror_serialize: (a: number, b: number) => void;
|
|
@@ -5427,12 +5481,6 @@ export interface InitOutput {
|
|
|
5427
5481
|
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_getCode: (a: number) => number;
|
|
5428
5482
|
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_message: (a: number, b: number) => void;
|
|
5429
5483
|
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_serialize: (a: number, b: number) => void;
|
|
5430
|
-
readonly __wbg_invalididentitypublickeytypeerror_free: (a: number) => void;
|
|
5431
|
-
readonly invalididentitypublickeytypeerror_new: (a: number, b: number) => void;
|
|
5432
|
-
readonly invalididentitypublickeytypeerror_getPublicKeyType: (a: number) => number;
|
|
5433
|
-
readonly invalididentitypublickeytypeerror_getCode: (a: number) => number;
|
|
5434
|
-
readonly invalididentitypublickeytypeerror_message: (a: number, b: number) => void;
|
|
5435
|
-
readonly invalididentitypublickeytypeerror_serialize: (a: number, b: number) => void;
|
|
5436
5484
|
readonly invalidinstantassetlockproofsignatureerror_getCode: (a: number) => number;
|
|
5437
5485
|
readonly invalidinstantassetlockproofsignatureerror_message: (a: number, b: number) => void;
|
|
5438
5486
|
readonly invalidinstantassetlockproofsignatureerror_serialize: (a: number, b: number) => void;
|
|
@@ -5442,28 +5490,29 @@ export interface InitOutput {
|
|
|
5442
5490
|
readonly invalidstatetransitionsignatureerror_getCode: (a: number) => number;
|
|
5443
5491
|
readonly invalidstatetransitionsignatureerror_message: (a: number, b: number) => void;
|
|
5444
5492
|
readonly invalidstatetransitionsignatureerror_serialize: (a: number, b: number) => void;
|
|
5445
|
-
readonly
|
|
5446
|
-
readonly
|
|
5447
|
-
readonly
|
|
5448
|
-
readonly
|
|
5449
|
-
readonly
|
|
5450
|
-
readonly
|
|
5451
|
-
readonly
|
|
5452
|
-
readonly
|
|
5453
|
-
readonly
|
|
5454
|
-
readonly
|
|
5455
|
-
readonly
|
|
5456
|
-
readonly
|
|
5457
|
-
readonly
|
|
5458
|
-
readonly
|
|
5459
|
-
readonly
|
|
5460
|
-
readonly
|
|
5461
|
-
readonly
|
|
5462
|
-
readonly
|
|
5463
|
-
readonly
|
|
5464
|
-
readonly
|
|
5465
|
-
readonly
|
|
5466
|
-
readonly
|
|
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
|
+
readonly __wbg_compatibleprotocolversionisnotdefinederror_free: (a: number) => void;
|
|
5512
|
+
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;
|
|
5467
5516
|
readonly __wbg_feeresult_free: (a: number) => void;
|
|
5468
5517
|
readonly feeresult_new: () => number;
|
|
5469
5518
|
readonly feeresult_storageFee: (a: number) => number;
|
|
@@ -5478,7 +5527,7 @@ export interface InitOutput {
|
|
|
5478
5527
|
readonly feeresult_set_desiredAmount: (a: number, b: number, c: number) => void;
|
|
5479
5528
|
readonly feeresult_set_requiredAmount: (a: number, b: number, c: number) => void;
|
|
5480
5529
|
readonly feeresult_set_totalRefunds: (a: number, b: number, c: number) => void;
|
|
5481
|
-
readonly
|
|
5530
|
+
readonly validateStateTransitionIdentitySignature: (a: number, b: number, c: number) => number;
|
|
5482
5531
|
readonly __wbg_missingdocumenttransitionactionerror_free: (a: number) => void;
|
|
5483
5532
|
readonly __wbg_missingdocumenttransitiontypeerror_free: (a: number) => void;
|
|
5484
5533
|
readonly __wbg_missingdocumenttypeerror_free: (a: number) => void;
|
|
@@ -5486,132 +5535,28 @@ export interface InitOutput {
|
|
|
5486
5535
|
readonly __wbg_invalidinstantassetlockproofsignatureerror_free: (a: number) => void;
|
|
5487
5536
|
readonly __wbg_missingmasterpublickeyerror_free: (a: number) => void;
|
|
5488
5537
|
readonly __wbg_invalidstatetransitionsignatureerror_free: (a: number) => void;
|
|
5489
|
-
readonly __wbg_revisionabsenterror_free: (a: number) => void;
|
|
5490
|
-
readonly revisionabsenterror_new: (a: number) => number;
|
|
5491
|
-
readonly revisionabsenterror_getDocument: (a: number) => number;
|
|
5492
|
-
readonly __wbg_invalidindexedpropertyconstrainterror_free: (a: number) => void;
|
|
5493
|
-
readonly invalidindexedpropertyconstrainterror_getDocumentType: (a: number, b: number) => void;
|
|
5494
|
-
readonly invalidindexedpropertyconstrainterror_getIndexName: (a: number, b: number) => void;
|
|
5495
|
-
readonly invalidindexedpropertyconstrainterror_getPropertyName: (a: number, b: number) => void;
|
|
5496
|
-
readonly invalidindexedpropertyconstrainterror_getConstraintName: (a: number, b: number) => void;
|
|
5497
|
-
readonly invalidindexedpropertyconstrainterror_getReason: (a: number, b: number) => void;
|
|
5498
|
-
readonly invalidindexedpropertyconstrainterror_getCode: (a: number) => number;
|
|
5499
|
-
readonly invalidindexedpropertyconstrainterror_message: (a: number, b: number) => void;
|
|
5500
|
-
readonly invalidindexedpropertyconstrainterror_serialize: (a: number, b: number) => void;
|
|
5501
|
-
readonly __wbg_balanceisnotenougherror_free: (a: number) => void;
|
|
5502
|
-
readonly balanceisnotenougherror_new: (a: number, b: number) => number;
|
|
5503
|
-
readonly balanceisnotenougherror_getBalance: (a: number) => number;
|
|
5504
|
-
readonly balanceisnotenougherror_getFee: (a: number) => number;
|
|
5505
|
-
readonly balanceisnotenougherror_getCode: (a: number) => number;
|
|
5506
|
-
readonly balanceisnotenougherror_message: (a: number, b: number) => void;
|
|
5507
|
-
readonly balanceisnotenougherror_serialize: (a: number, b: number) => void;
|
|
5508
|
-
readonly __wbg_documenttimestampwindowviolationerror_free: (a: number) => void;
|
|
5509
|
-
readonly documenttimestampwindowviolationerror_getDocumentId: (a: number) => number;
|
|
5510
|
-
readonly documenttimestampwindowviolationerror_getTimestampName: (a: number, b: number) => void;
|
|
5511
|
-
readonly documenttimestampwindowviolationerror_getTimestamp: (a: number) => number;
|
|
5512
|
-
readonly documenttimestampwindowviolationerror_getTimeWindowStart: (a: number) => number;
|
|
5513
|
-
readonly documenttimestampwindowviolationerror_getTimeWindowEnd: (a: number) => number;
|
|
5514
|
-
readonly documenttimestampwindowviolationerror_getCode: (a: number) => number;
|
|
5515
|
-
readonly documenttimestampwindowviolationerror_message: (a: number, b: number) => void;
|
|
5516
|
-
readonly documenttimestampwindowviolationerror_serialize: (a: number, b: number) => void;
|
|
5517
|
-
readonly validateStateTransitionIdentitySignature: (a: number, b: number, c: number) => number;
|
|
5518
|
-
readonly __wbg_protocolversionvalidator_free: (a: number) => void;
|
|
5519
|
-
readonly protocolversionvalidator_new: (a: number, b: number) => void;
|
|
5520
|
-
readonly protocolversionvalidator_validate: (a: number, b: number, c: number) => void;
|
|
5521
|
-
readonly __wbg_invalidindexpropertytypeerror_free: (a: number) => void;
|
|
5522
|
-
readonly invalidindexpropertytypeerror_getDocumentType: (a: number, b: number) => void;
|
|
5523
|
-
readonly invalidindexpropertytypeerror_getIndexName: (a: number, b: number) => void;
|
|
5524
|
-
readonly invalidindexpropertytypeerror_getPropertyName: (a: number, b: number) => void;
|
|
5525
|
-
readonly invalidindexpropertytypeerror_getPropertyType: (a: number, b: number) => void;
|
|
5526
|
-
readonly invalidindexpropertytypeerror_getCode: (a: number) => number;
|
|
5527
|
-
readonly invalidindexpropertytypeerror_message: (a: number, b: number) => void;
|
|
5528
|
-
readonly invalidindexpropertytypeerror_serialize: (a: number, b: number) => void;
|
|
5529
|
-
readonly __wbg_protocolversionparsingerror_free: (a: number) => void;
|
|
5530
|
-
readonly protocolversionparsingerror_new: (a: number, b: number) => number;
|
|
5531
|
-
readonly protocolversionparsingerror_getParsingError: (a: number, b: number) => void;
|
|
5532
|
-
readonly protocolversionparsingerror_getCode: (a: number) => number;
|
|
5533
|
-
readonly protocolversionparsingerror_serialize: (a: number, b: number) => void;
|
|
5534
|
-
readonly protocolversionparsingerror_message: (a: number, b: number) => void;
|
|
5535
5538
|
readonly __wbg_invalidstatetransitiontypeerror_free: (a: number) => void;
|
|
5536
|
-
readonly invalidstatetransitiontypeerror_new: (a: number) => number;
|
|
5537
|
-
readonly invalidstatetransitiontypeerror_getType: (a: number) => number;
|
|
5538
|
-
readonly invalidstatetransitiontypeerror_getCode: (a: number) => number;
|
|
5539
|
-
readonly invalidstatetransitiontypeerror_message: (a: number, b: number) => void;
|
|
5540
|
-
readonly invalidstatetransitiontypeerror_serialize: (a: number, b: number) => void;
|
|
5541
|
-
readonly __wbg_datacontractalreadypresenterror_free: (a: number) => void;
|
|
5542
|
-
readonly datacontractalreadypresenterror_new: (a: number) => number;
|
|
5543
|
-
readonly datacontractalreadypresenterror_getDataContractId: (a: number) => number;
|
|
5544
|
-
readonly datacontractalreadypresenterror_getCode: (a: number) => number;
|
|
5545
|
-
readonly datacontractalreadypresenterror_message: (a: number, b: number) => void;
|
|
5546
|
-
readonly datacontractalreadypresenterror_serialize: (a: number, b: number) => void;
|
|
5547
|
-
readonly publickeyvalidationerror_message: (a: number) => number;
|
|
5548
|
-
readonly __wbg_identityupdatetransition_free: (a: number) => void;
|
|
5549
|
-
readonly identityupdatetransition_new: (a: number, b: number) => void;
|
|
5550
|
-
readonly identityupdatetransition_setPublicKeysToAdd: (a: number, b: number, c: number, d: number) => void;
|
|
5551
|
-
readonly identityupdatetransition_addPublicKeys: (a: number, b: number) => void;
|
|
5552
|
-
readonly identityupdatetransition_getPublicKeyIdsToDisable: (a: number, b: number) => void;
|
|
5553
|
-
readonly identityupdatetransition_setPublicKeyIdsToDisable: (a: number, b: number, c: number) => void;
|
|
5554
|
-
readonly identityupdatetransition_getPublicKeysDisabledAt: (a: number) => number;
|
|
5555
|
-
readonly identityupdatetransition_setPublicKeysDisabledAt: (a: number, b: number) => void;
|
|
5556
|
-
readonly identityupdatetransition_getType: (a: number) => number;
|
|
5557
|
-
readonly identityupdatetransition_getIdentityId: (a: number) => number;
|
|
5558
|
-
readonly identityupdatetransition_setIdentityId: (a: number, b: number) => void;
|
|
5559
|
-
readonly identityupdatetransition_getOwnerId: (a: number) => number;
|
|
5560
|
-
readonly identityupdatetransition_toObject: (a: number, b: number, c: number) => void;
|
|
5561
|
-
readonly identityupdatetransition_toBuffer: (a: number, b: number, c: number) => void;
|
|
5562
|
-
readonly identityupdatetransition_toJSON: (a: number, b: number) => void;
|
|
5563
|
-
readonly identityupdatetransition_getModifiedDataIds: (a: number, b: number) => void;
|
|
5564
|
-
readonly identityupdatetransition_isDataContractStateTransition: (a: number) => number;
|
|
5565
|
-
readonly identityupdatetransition_isDocumentStateTransition: (a: number) => number;
|
|
5566
|
-
readonly identityupdatetransition_isIdentityStateTransition: (a: number) => number;
|
|
5567
|
-
readonly identityupdatetransition_setExecutionContext: (a: number, b: number) => void;
|
|
5568
|
-
readonly identityupdatetransition_getExecutionContext: (a: number) => number;
|
|
5569
|
-
readonly identityupdatetransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
5570
|
-
readonly identityupdatetransition_setSignaturePublicKeyId: (a: number, b: number, c: number) => void;
|
|
5571
|
-
readonly identityupdatetransition_getSignature: (a: number) => number;
|
|
5572
|
-
readonly identityupdatetransition_setSignature: (a: number, b: number, c: number) => void;
|
|
5573
|
-
readonly identityupdatetransition_getRevision: (a: number) => number;
|
|
5574
|
-
readonly identityupdatetransition_setRevision: (a: number, b: number) => void;
|
|
5575
|
-
readonly identityupdatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
5576
|
-
readonly identityupdatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
|
|
5577
|
-
readonly __wbg_identityupdatetransitionbasicvalidator_free: (a: number) => void;
|
|
5578
|
-
readonly identityupdatetransitionbasicvalidator_new: (a: number, b: number) => void;
|
|
5579
|
-
readonly identityupdatetransitionbasicvalidator_validate: (a: number, b: number, c: number) => void;
|
|
5580
|
-
readonly __wbg_identity_free: (a: number) => void;
|
|
5581
|
-
readonly identity_new: (a: number, b: number) => void;
|
|
5582
|
-
readonly identity_getProtocolVersion: (a: number) => number;
|
|
5583
|
-
readonly identity_getId: (a: number) => number;
|
|
5584
|
-
readonly identity_setPublicKeys: (a: number, b: number, c: number) => void;
|
|
5585
|
-
readonly identity_getPublicKeys: (a: number, b: number) => void;
|
|
5586
|
-
readonly identity_getPublicKeyById: (a: number, b: number) => number;
|
|
5587
|
-
readonly identity_balance: (a: number) => number;
|
|
5588
|
-
readonly identity_setBalance: (a: number, b: number) => void;
|
|
5589
|
-
readonly identity_increaseBalance: (a: number, b: number) => number;
|
|
5590
|
-
readonly identity_reduceBalance: (a: number, b: number) => number;
|
|
5591
|
-
readonly identity_setAssetLockProof: (a: number, b: number, c: number) => void;
|
|
5592
|
-
readonly identity_getAssetLockProof: (a: number) => number;
|
|
5593
|
-
readonly identity_setRevision: (a: number, b: number) => void;
|
|
5594
|
-
readonly identity_getRevision: (a: number) => number;
|
|
5595
|
-
readonly identity_setMetadata: (a: number, b: number, c: number) => void;
|
|
5596
|
-
readonly identity_getMetadata: (a: number) => number;
|
|
5597
|
-
readonly identity_from: (a: number) => number;
|
|
5598
|
-
readonly identity_toJSON: (a: number, b: number) => void;
|
|
5599
|
-
readonly identity_toObject: (a: number, b: number) => void;
|
|
5600
|
-
readonly identity_toBuffer: (a: number, b: number) => void;
|
|
5601
|
-
readonly identity_hash: (a: number, b: number) => void;
|
|
5602
|
-
readonly identity_addPublicKey: (a: number, b: number) => void;
|
|
5603
|
-
readonly identity_addPublicKeys: (a: number, b: number, c: number) => void;
|
|
5604
|
-
readonly identity_getPublicKeyMaxId: (a: number) => number;
|
|
5605
|
-
readonly __wbg_publickeyvalidationerror_free: (a: number) => void;
|
|
5606
|
-
readonly identityupdatetransition_identityId: (a: number) => number;
|
|
5607
|
-
readonly identityupdatetransition_getPublicKeysToAdd: (a: number, b: number) => void;
|
|
5608
|
-
readonly identity_getBalance: (a: number) => number;
|
|
5609
5539
|
readonly validateDataContractUpdateTransitionState: (a: number, b: number) => number;
|
|
5610
5540
|
readonly validateIndicesAreBackwardCompatible: (a: number, b: number, c: number) => void;
|
|
5611
5541
|
readonly validateDataContractUpdateTransitionBasic: (a: number, b: number, c: number) => number;
|
|
5612
5542
|
readonly __wbg_datatriggerexecutionresult_free: (a: number) => void;
|
|
5613
5543
|
readonly datatriggerexecutionresult_isOk: (a: number) => number;
|
|
5614
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;
|
|
5615
5560
|
readonly __wbg_documentreplacetransition_free: (a: number) => void;
|
|
5616
5561
|
readonly documentreplacetransition_from_raw_object: (a: number, b: number, c: number) => void;
|
|
5617
5562
|
readonly documentreplacetransition_getAction: (a: number) => number;
|
|
@@ -5625,7 +5570,6 @@ export interface InitOutput {
|
|
|
5625
5570
|
readonly documentreplacetransition_getDataContract: (a: number) => number;
|
|
5626
5571
|
readonly documentreplacetransition_getDataContractId: (a: number) => number;
|
|
5627
5572
|
readonly documentreplacetransition_get: (a: number, b: number, c: number, d: number) => void;
|
|
5628
|
-
readonly findDuplicatesByIndices: (a: number, b: number, c: number, d: number) => void;
|
|
5629
5573
|
readonly validateDocumentsUniquenessByIndices: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
5630
5574
|
readonly __wbg_incompatibledatacontractschemaerror_free: (a: number) => void;
|
|
5631
5575
|
readonly incompatibledatacontractschemaerror_getDataContractId: (a: number) => number;
|
|
@@ -5634,13 +5578,19 @@ export interface InitOutput {
|
|
|
5634
5578
|
readonly incompatibledatacontractschemaerror_getCode: (a: number) => number;
|
|
5635
5579
|
readonly incompatibledatacontractschemaerror_message: (a: number, b: number) => void;
|
|
5636
5580
|
readonly incompatibledatacontractschemaerror_serialize: (a: number, b: number) => void;
|
|
5637
|
-
readonly
|
|
5638
|
-
readonly
|
|
5639
|
-
readonly
|
|
5640
|
-
readonly
|
|
5641
|
-
readonly
|
|
5642
|
-
readonly
|
|
5643
|
-
readonly
|
|
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;
|
|
5644
5594
|
readonly __wbg_identitynotfounderror_free: (a: number) => void;
|
|
5645
5595
|
readonly identitynotfounderror_new: (a: number) => number;
|
|
5646
5596
|
readonly identitynotfounderror_getIdentityId: (a: number) => number;
|
|
@@ -5684,22 +5634,80 @@ export interface InitOutput {
|
|
|
5684
5634
|
readonly chainassetlockproof_toJSON: (a: number, b: number) => void;
|
|
5685
5635
|
readonly chainassetlockproof_toObject: (a: number, b: number) => void;
|
|
5686
5636
|
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
|
+
readonly __wbg_identityupdatetransition_free: (a: number) => void;
|
|
5641
|
+
readonly identityupdatetransition_new: (a: number, b: number) => void;
|
|
5642
|
+
readonly identityupdatetransition_setPublicKeysToAdd: (a: number, b: number, c: number, d: number) => void;
|
|
5643
|
+
readonly identityupdatetransition_addPublicKeys: (a: number, b: number) => void;
|
|
5644
|
+
readonly identityupdatetransition_getPublicKeyIdsToDisable: (a: number, b: number) => void;
|
|
5645
|
+
readonly identityupdatetransition_setPublicKeyIdsToDisable: (a: number, b: number, c: number) => void;
|
|
5646
|
+
readonly identityupdatetransition_getPublicKeysDisabledAt: (a: number) => number;
|
|
5647
|
+
readonly identityupdatetransition_setPublicKeysDisabledAt: (a: number, b: number) => void;
|
|
5648
|
+
readonly identityupdatetransition_getType: (a: number) => number;
|
|
5649
|
+
readonly identityupdatetransition_getIdentityId: (a: number) => number;
|
|
5650
|
+
readonly identityupdatetransition_setIdentityId: (a: number, b: number) => void;
|
|
5651
|
+
readonly identityupdatetransition_getOwnerId: (a: number) => number;
|
|
5652
|
+
readonly identityupdatetransition_toObject: (a: number, b: number, c: number) => void;
|
|
5653
|
+
readonly identityupdatetransition_toBuffer: (a: number, b: number, c: number) => void;
|
|
5654
|
+
readonly identityupdatetransition_toJSON: (a: number, b: number) => void;
|
|
5655
|
+
readonly identityupdatetransition_getModifiedDataIds: (a: number, b: number) => void;
|
|
5656
|
+
readonly identityupdatetransition_isDataContractStateTransition: (a: number) => number;
|
|
5657
|
+
readonly identityupdatetransition_isDocumentStateTransition: (a: number) => number;
|
|
5658
|
+
readonly identityupdatetransition_isIdentityStateTransition: (a: number) => number;
|
|
5659
|
+
readonly identityupdatetransition_setExecutionContext: (a: number, b: number) => void;
|
|
5660
|
+
readonly identityupdatetransition_getExecutionContext: (a: number) => number;
|
|
5661
|
+
readonly identityupdatetransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
5662
|
+
readonly identityupdatetransition_setSignaturePublicKeyId: (a: number, b: number, c: number) => void;
|
|
5663
|
+
readonly identityupdatetransition_getSignature: (a: number) => number;
|
|
5664
|
+
readonly identityupdatetransition_setSignature: (a: number, b: number, c: number) => void;
|
|
5665
|
+
readonly identityupdatetransition_getRevision: (a: number) => number;
|
|
5666
|
+
readonly identityupdatetransition_setRevision: (a: number, b: number) => void;
|
|
5667
|
+
readonly identityupdatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
5668
|
+
readonly identityupdatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
|
|
5687
5669
|
readonly __wbg_publickeyssignaturesvalidator_free: (a: number) => void;
|
|
5688
5670
|
readonly publickeyssignaturesvalidator_new: (a: number) => number;
|
|
5689
5671
|
readonly publickeyssignaturesvalidator_validate: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5690
|
-
readonly
|
|
5691
|
-
readonly
|
|
5692
|
-
readonly
|
|
5693
|
-
readonly
|
|
5694
|
-
readonly
|
|
5672
|
+
readonly __wbg_identity_free: (a: number) => void;
|
|
5673
|
+
readonly identity_new: (a: number, b: number) => void;
|
|
5674
|
+
readonly identity_getProtocolVersion: (a: number) => number;
|
|
5675
|
+
readonly identity_getId: (a: number) => number;
|
|
5676
|
+
readonly identity_setPublicKeys: (a: number, b: number, c: number) => void;
|
|
5677
|
+
readonly identity_getPublicKeys: (a: number, b: number) => void;
|
|
5678
|
+
readonly identity_getPublicKeyById: (a: number, b: number) => number;
|
|
5679
|
+
readonly identity_balance: (a: number) => number;
|
|
5680
|
+
readonly identity_setBalance: (a: number, b: number) => void;
|
|
5681
|
+
readonly identity_increaseBalance: (a: number, b: number) => number;
|
|
5682
|
+
readonly identity_reduceBalance: (a: number, b: number) => number;
|
|
5683
|
+
readonly identity_setAssetLockProof: (a: number, b: number, c: number) => void;
|
|
5684
|
+
readonly identity_getAssetLockProof: (a: number) => number;
|
|
5685
|
+
readonly identity_setRevision: (a: number, b: number) => void;
|
|
5686
|
+
readonly identity_getRevision: (a: number) => number;
|
|
5687
|
+
readonly identity_setMetadata: (a: number, b: number, c: number) => void;
|
|
5688
|
+
readonly identity_getMetadata: (a: number) => number;
|
|
5689
|
+
readonly identity_from: (a: number) => number;
|
|
5690
|
+
readonly identity_toJSON: (a: number, b: number) => void;
|
|
5691
|
+
readonly identity_toObject: (a: number, b: number) => void;
|
|
5692
|
+
readonly identity_toBuffer: (a: number, b: number) => void;
|
|
5693
|
+
readonly identity_hash: (a: number, b: number) => void;
|
|
5694
|
+
readonly identity_addPublicKey: (a: number, b: number) => void;
|
|
5695
|
+
readonly identity_addPublicKeys: (a: number, b: number, c: number) => void;
|
|
5696
|
+
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;
|
|
5701
|
+
readonly identityupdatetransition_getPublicKeysToAdd: (a: number, b: number) => void;
|
|
5702
|
+
readonly identityupdatetransition_identityId: (a: number) => number;
|
|
5703
|
+
readonly nodocumentssuppliederror_new: () => number;
|
|
5704
|
+
readonly __wbg_nodocumentssuppliederror_free: (a: number) => void;
|
|
5705
|
+
readonly identity_getBalance: (a: number) => number;
|
|
5695
5706
|
readonly __wbg_datatriggerexecutionerror_free: (a: number) => void;
|
|
5696
|
-
readonly __wbg_invaliddatacontracterror_free: (a: number) => void;
|
|
5697
|
-
readonly invaliddatacontracterror_getErrors: (a: number, b: number) => void;
|
|
5698
|
-
readonly invaliddatacontracterror_getRawDataContract: (a: number) => number;
|
|
5699
|
-
readonly invaliddatacontracterror_getMessage: (a: number, b: number) => void;
|
|
5700
5707
|
readonly __wbg_invaliddocumenttypeindatacontracterror_free: (a: number) => void;
|
|
5701
5708
|
readonly invaliddocumenttypeindatacontracterror_new: (a: number, b: number, c: number) => number;
|
|
5702
5709
|
readonly invaliddocumenttypeindatacontracterror_getType: (a: number, b: number) => void;
|
|
5710
|
+
readonly invaliddocumenttypeindatacontracterror_getDataContractId: (a: number) => number;
|
|
5703
5711
|
readonly __wbg_datacontractvalidator_free: (a: number) => void;
|
|
5704
5712
|
readonly datacontractvalidator_new: () => number;
|
|
5705
5713
|
readonly datacontractvalidator_validate: (a: number, b: number, c: number) => void;
|
|
@@ -5709,21 +5717,22 @@ export interface InitOutput {
|
|
|
5709
5717
|
readonly datacontractfactory_createFromObject: (a: number, b: number, c: number) => number;
|
|
5710
5718
|
readonly datacontractfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
5711
5719
|
readonly datacontractfactory_createDataContractCreateTransition: (a: number, b: number) => number;
|
|
5712
|
-
readonly
|
|
5713
|
-
readonly
|
|
5714
|
-
readonly
|
|
5715
|
-
readonly
|
|
5716
|
-
readonly
|
|
5717
|
-
readonly
|
|
5718
|
-
readonly
|
|
5719
|
-
readonly
|
|
5720
|
-
readonly
|
|
5721
|
-
readonly
|
|
5722
|
-
readonly
|
|
5723
|
-
readonly
|
|
5724
|
-
readonly
|
|
5725
|
-
readonly
|
|
5726
|
-
readonly
|
|
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;
|
|
5734
|
+
readonly __wbg_invalidactionerror_free: (a: number) => void;
|
|
5735
|
+
readonly generateDocumentId: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
5727
5736
|
readonly __wbg_systempropertyindexalreadypresenterror_free: (a: number) => void;
|
|
5728
5737
|
readonly systempropertyindexalreadypresenterror_getDocumentType: (a: number, b: number) => void;
|
|
5729
5738
|
readonly systempropertyindexalreadypresenterror_getIndexName: (a: number, b: number) => void;
|
|
@@ -5737,20 +5746,44 @@ export interface InitOutput {
|
|
|
5737
5746
|
readonly undefinedindexpropertyerror_getCode: (a: number) => number;
|
|
5738
5747
|
readonly undefinedindexpropertyerror_message: (a: number, b: number) => void;
|
|
5739
5748
|
readonly undefinedindexpropertyerror_serialize: (a: number, b: number) => void;
|
|
5740
|
-
readonly
|
|
5741
|
-
readonly
|
|
5742
|
-
readonly
|
|
5743
|
-
readonly
|
|
5744
|
-
readonly
|
|
5749
|
+
readonly __wbg_identityassetlockprooflockedtransactionmismatcherror_free: (a: number) => void;
|
|
5750
|
+
readonly identityassetlockprooflockedtransactionmismatcherror_getInstantLockTransactionId: (a: number) => number;
|
|
5751
|
+
readonly identityassetlockprooflockedtransactionmismatcherror_getAssetLockTransactionId: (a: number) => number;
|
|
5752
|
+
readonly identityassetlockprooflockedtransactionmismatcherror_getCode: (a: number) => number;
|
|
5753
|
+
readonly identityassetlockprooflockedtransactionmismatcherror_message: (a: number, b: number) => void;
|
|
5754
|
+
readonly identityassetlockprooflockedtransactionmismatcherror_serialize: (a: number, b: number) => void;
|
|
5755
|
+
readonly __wbg_invalidassetlockprooftransactionheighterror_free: (a: number) => void;
|
|
5756
|
+
readonly invalidassetlockprooftransactionheighterror_getProofCoreChainLockedHeight: (a: number) => number;
|
|
5757
|
+
readonly invalidassetlockprooftransactionheighterror_getTransactionHeight: (a: number, b: number) => void;
|
|
5758
|
+
readonly invalidassetlockprooftransactionheighterror_getCode: (a: number) => number;
|
|
5759
|
+
readonly invalidassetlockprooftransactionheighterror_message: (a: number, b: number) => void;
|
|
5760
|
+
readonly invalidassetlockprooftransactionheighterror_serialize: (a: number, b: number) => void;
|
|
5745
5761
|
readonly __wbg_duplicateuniqueindexerror_free: (a: number) => void;
|
|
5746
5762
|
readonly duplicateuniqueindexerror_getDocumentId: (a: number) => number;
|
|
5747
5763
|
readonly duplicateuniqueindexerror_getDuplicatingProperties: (a: number) => number;
|
|
5748
5764
|
readonly duplicateuniqueindexerror_getCode: (a: number) => number;
|
|
5749
5765
|
readonly duplicateuniqueindexerror_message: (a: number, b: number) => void;
|
|
5750
5766
|
readonly duplicateuniqueindexerror_serialize: (a: number, b: number) => void;
|
|
5751
|
-
readonly
|
|
5752
|
-
readonly
|
|
5767
|
+
readonly __wbg_invaliddocumentrevisionerror_free: (a: number) => void;
|
|
5768
|
+
readonly invaliddocumentrevisionerror_getDocumentId: (a: number) => number;
|
|
5769
|
+
readonly invaliddocumentrevisionerror_getCurrentRevision: (a: number, b: number) => void;
|
|
5770
|
+
readonly invaliddocumentrevisionerror_getCode: (a: number) => number;
|
|
5771
|
+
readonly invaliddocumentrevisionerror_message: (a: number, b: number) => void;
|
|
5772
|
+
readonly invaliddocumentrevisionerror_serialize: (a: number, b: number) => void;
|
|
5773
|
+
readonly __wbg_invalididentityrevisionerror_free: (a: number) => void;
|
|
5774
|
+
readonly invalididentityrevisionerror_getIdentityId: (a: number) => number;
|
|
5775
|
+
readonly invalididentityrevisionerror_getCurrentRevision: (a: number) => number;
|
|
5776
|
+
readonly invalididentityrevisionerror_getCode: (a: number) => number;
|
|
5777
|
+
readonly invalididentityrevisionerror_message: (a: number, b: number) => void;
|
|
5778
|
+
readonly invalididentityrevisionerror_serialize: (a: number, b: number) => void;
|
|
5779
|
+
readonly publickeyvalidationerror_message: (a: number) => number;
|
|
5780
|
+
readonly __wbg_platformvalueerror_free: (a: number) => void;
|
|
5781
|
+
readonly platformvalueerror_getMessage: (a: number, b: number) => void;
|
|
5753
5782
|
readonly platformvalueerror_toString: (a: number, b: number) => void;
|
|
5783
|
+
readonly getCreditsConversionRatio: () => number;
|
|
5784
|
+
readonly __wbg_instantassetlockproofstructurevalidator_free: (a: number) => void;
|
|
5785
|
+
readonly instantassetlockproofstructurevalidator_new: (a: number, b: number) => void;
|
|
5786
|
+
readonly instantassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
|
|
5754
5787
|
readonly __wbg_identitypublickeywithwitness_free: (a: number) => void;
|
|
5755
5788
|
readonly identitypublickeywithwitness_new: (a: number, b: number) => void;
|
|
5756
5789
|
readonly identitypublickeywithwitness_getId: (a: number) => number;
|
|
@@ -5771,20 +5804,45 @@ export interface InitOutput {
|
|
|
5771
5804
|
readonly identitypublickeywithwitness_isMaster: (a: number) => number;
|
|
5772
5805
|
readonly identitypublickeywithwitness_toJSON: (a: number, b: number) => void;
|
|
5773
5806
|
readonly identitypublickeywithwitness_toObject: (a: number, b: number, c: number) => void;
|
|
5774
|
-
readonly
|
|
5775
|
-
readonly
|
|
5776
|
-
readonly identitytopuptransitionbasicvalidator_validate: (a: number, b: number, c: number) => number;
|
|
5777
|
-
readonly __wbg_statetransitionfactory_free: (a: number) => void;
|
|
5778
|
-
readonly statetransitionfactory_new: (a: number, b: number, c: number) => void;
|
|
5779
|
-
readonly statetransitionfactory_createFromObject: (a: number, b: number, c: number) => number;
|
|
5780
|
-
readonly statetransitionfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
5781
|
-
readonly invaliddocumenttypeindatacontracterror_getDataContractId: (a: number) => number;
|
|
5782
|
-
readonly invalididentityerror_getRawIdentity: (a: number) => number;
|
|
5783
|
-
readonly invalididentityerror_getErrors: (a: number, b: number) => void;
|
|
5784
|
-
readonly __wbg_invalididentityerror_free: (a: number) => void;
|
|
5785
|
-
readonly nodocumentssuppliederror_new: () => number;
|
|
5786
|
-
readonly __wbg_nodocumentssuppliederror_free: (a: number) => void;
|
|
5807
|
+
readonly __wbg_jsonschemavalidator_free: (a: number) => void;
|
|
5808
|
+
readonly jsonschemavalidator_new: (a: number, b: number, c: number) => void;
|
|
5787
5809
|
readonly __wbg_undefinedindexpropertyerror_free: (a: number) => void;
|
|
5810
|
+
readonly invalidactionterror_new: (a: number) => number;
|
|
5811
|
+
readonly __wbg_publickeyvalidationerror_free: (a: number) => void;
|
|
5812
|
+
readonly __wbg_datacontract_free: (a: number) => void;
|
|
5813
|
+
readonly datacontract_new: (a: number, b: number) => void;
|
|
5814
|
+
readonly datacontract_getProtocolVersion: (a: number) => number;
|
|
5815
|
+
readonly datacontract_getId: (a: number) => number;
|
|
5816
|
+
readonly datacontract_setId: (a: number, b: number, c: number) => void;
|
|
5817
|
+
readonly datacontract_getOwnerId: (a: number) => number;
|
|
5818
|
+
readonly datacontract_getVersion: (a: number) => number;
|
|
5819
|
+
readonly datacontract_setVersion: (a: number, b: number) => void;
|
|
5820
|
+
readonly datacontract_incrementVersion: (a: number) => void;
|
|
5821
|
+
readonly datacontract_getJsonSchemaId: (a: number, b: number) => void;
|
|
5822
|
+
readonly datacontract_setJsonMetaSchema: (a: number, b: number, c: number) => void;
|
|
5823
|
+
readonly datacontract_getJsonMetaSchema: (a: number, b: number) => void;
|
|
5824
|
+
readonly datacontract_setDocuments: (a: number, b: number, c: number) => void;
|
|
5825
|
+
readonly datacontract_getDocuments: (a: number, b: number) => void;
|
|
5826
|
+
readonly datacontract_isDocumentDefined: (a: number, b: number, c: number) => number;
|
|
5827
|
+
readonly datacontract_setDocumentSchema: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5828
|
+
readonly datacontract_getDocumentSchema: (a: number, b: number, c: number, d: number) => void;
|
|
5829
|
+
readonly datacontract_getDocumentSchemaRef: (a: number, b: number, c: number, d: number) => void;
|
|
5830
|
+
readonly datacontract_setDefinitions: (a: number, b: number, c: number) => void;
|
|
5831
|
+
readonly datacontract_getDefinitions: (a: number, b: number) => void;
|
|
5832
|
+
readonly datacontract_setEntropy: (a: number, b: number, c: number, d: number) => void;
|
|
5833
|
+
readonly datacontract_getEntropy: (a: number) => number;
|
|
5834
|
+
readonly datacontract_getBinaryProperties: (a: number, b: number, c: number, d: number) => void;
|
|
5835
|
+
readonly datacontract_getMetadata: (a: number) => number;
|
|
5836
|
+
readonly datacontract_setMetadata: (a: number, b: number, c: number) => void;
|
|
5837
|
+
readonly datacontract_toObject: (a: number, b: number) => void;
|
|
5838
|
+
readonly datacontract_toJSON: (a: number, b: number) => void;
|
|
5839
|
+
readonly datacontract_toBuffer: (a: number, b: number) => void;
|
|
5840
|
+
readonly datacontract_hash: (a: number, b: number) => void;
|
|
5841
|
+
readonly datacontract_from: (a: number, b: number) => void;
|
|
5842
|
+
readonly datacontract_fromBuffer: (a: number, b: number, c: number) => void;
|
|
5843
|
+
readonly datacontract_clone: (a: number) => number;
|
|
5844
|
+
readonly __wbg_datacontractdefaults_free: (a: number) => void;
|
|
5845
|
+
readonly datacontractdefaults_get_default_schema: (a: number) => void;
|
|
5788
5846
|
readonly __wbg_datacontractupdatetransition_free: (a: number) => void;
|
|
5789
5847
|
readonly datacontractupdatetransition_new: (a: number, b: number) => void;
|
|
5790
5848
|
readonly datacontractupdatetransition_getDataContract: (a: number) => number;
|
|
@@ -5804,7 +5862,23 @@ export interface InitOutput {
|
|
|
5804
5862
|
readonly datacontractupdatetransition_toObject: (a: number, b: number, c: number) => void;
|
|
5805
5863
|
readonly datacontractupdatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
5806
5864
|
readonly datacontractupdatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
|
|
5807
|
-
readonly
|
|
5865
|
+
readonly __wbg_documenttransitions_free: (a: number) => void;
|
|
5866
|
+
readonly documenttransitions_new: () => number;
|
|
5867
|
+
readonly documenttransitions_addTransitionCreate: (a: number, b: number) => void;
|
|
5868
|
+
readonly documenttransitions_addTransitionReplace: (a: number, b: number) => void;
|
|
5869
|
+
readonly documenttransitions_addTransitionDelete: (a: number, b: number) => void;
|
|
5870
|
+
readonly __wbg_documentfactory_free: (a: number) => void;
|
|
5871
|
+
readonly documentfactory_new: (a: number, b: number, c: number, d: number) => number;
|
|
5872
|
+
readonly documentfactory_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
5873
|
+
readonly documentfactory_createStateTransition: (a: number, b: number, c: number) => void;
|
|
5874
|
+
readonly documentfactory_createFromObject: (a: number, b: number, c: number) => number;
|
|
5875
|
+
readonly documentfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
5876
|
+
readonly __wbg_fetchandvalidatedatacontractfactory_free: (a: number) => void;
|
|
5877
|
+
readonly fetchandvalidatedatacontractfactory_new: (a: number) => number;
|
|
5878
|
+
readonly fetchandvalidatedatacontractfactory_validate: (a: number, b: number) => number;
|
|
5879
|
+
readonly fetchAndValidateDataContract: (a: number, b: number) => number;
|
|
5880
|
+
readonly findDuplicatesByIndices: (a: number, b: number, c: number, d: number) => void;
|
|
5881
|
+
readonly fetchExtendedDocuments: (a: number, b: number, c: number) => number;
|
|
5808
5882
|
readonly __wbg_datacontracthavenewuniqueindexerror_free: (a: number) => void;
|
|
5809
5883
|
readonly datacontracthavenewuniqueindexerror_getDocumentType: (a: number, b: number) => void;
|
|
5810
5884
|
readonly datacontracthavenewuniqueindexerror_getIndexName: (a: number, b: number) => void;
|
|
@@ -5875,17 +5949,18 @@ export interface InitOutput {
|
|
|
5875
5949
|
readonly invaliddocumenttypeerror_getCode: (a: number) => number;
|
|
5876
5950
|
readonly invaliddocumenttypeerror_message: (a: number, b: number) => void;
|
|
5877
5951
|
readonly invaliddocumenttypeerror_serialize: (a: number, b: number) => void;
|
|
5878
|
-
readonly identityassetlockprooflockedtransactionmismatcherror_getInstantLockTransactionId: (a: number) => number;
|
|
5879
|
-
readonly identityassetlockprooflockedtransactionmismatcherror_getAssetLockTransactionId: (a: number) => number;
|
|
5880
|
-
readonly identityassetlockprooflockedtransactionmismatcherror_getCode: (a: number) => number;
|
|
5881
|
-
readonly identityassetlockprooflockedtransactionmismatcherror_message: (a: number, b: number) => void;
|
|
5882
|
-
readonly identityassetlockprooflockedtransactionmismatcherror_serialize: (a: number, b: number) => void;
|
|
5883
5952
|
readonly __wbg_identityassetlocktransactionoutpointalreadyexistserror_free: (a: number) => void;
|
|
5884
5953
|
readonly identityassetlocktransactionoutpointalreadyexistserror_getOutputIndex: (a: number) => number;
|
|
5885
5954
|
readonly identityassetlocktransactionoutpointalreadyexistserror_getTransactionId: (a: number) => number;
|
|
5886
5955
|
readonly identityassetlocktransactionoutpointalreadyexistserror_getCode: (a: number) => number;
|
|
5887
5956
|
readonly identityassetlocktransactionoutpointalreadyexistserror_message: (a: number, b: number) => void;
|
|
5888
5957
|
readonly identityassetlocktransactionoutpointalreadyexistserror_serialize: (a: number, b: number) => void;
|
|
5958
|
+
readonly __wbg_identityinsufficientbalanceerror_free: (a: number) => void;
|
|
5959
|
+
readonly identityinsufficientbalanceerror_getIdentityId: (a: number) => number;
|
|
5960
|
+
readonly identityinsufficientbalanceerror_getBalance: (a: number) => number;
|
|
5961
|
+
readonly identityinsufficientbalanceerror_getCode: (a: number) => number;
|
|
5962
|
+
readonly identityinsufficientbalanceerror_message: (a: number, b: number) => void;
|
|
5963
|
+
readonly identityinsufficientbalanceerror_serialize: (a: number, b: number) => void;
|
|
5889
5964
|
readonly __wbg_invalididentitypublickeydataerror_free: (a: number) => void;
|
|
5890
5965
|
readonly invalididentitypublickeydataerror_getPublicKeyId: (a: number) => number;
|
|
5891
5966
|
readonly invalididentitypublickeydataerror_getValidationError: (a: number, b: number) => void;
|
|
@@ -5919,24 +5994,19 @@ export interface InitOutput {
|
|
|
5919
5994
|
readonly datatriggerinvalidresulterror_getCode: (a: number) => number;
|
|
5920
5995
|
readonly datatriggerinvalidresulterror_message: (a: number, b: number) => void;
|
|
5921
5996
|
readonly datatriggerinvalidresulterror_serialize: (a: number, b: number) => void;
|
|
5922
|
-
readonly
|
|
5923
|
-
readonly
|
|
5924
|
-
readonly
|
|
5925
|
-
readonly
|
|
5926
|
-
readonly
|
|
5927
|
-
readonly
|
|
5928
|
-
readonly __wbg_instantassetlockproofstructurevalidator_free: (a: number) => void;
|
|
5929
|
-
readonly instantassetlockproofstructurevalidator_new: (a: number, b: number) => void;
|
|
5930
|
-
readonly instantassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
|
|
5931
|
-
readonly __wbg_identityupdatepublickeysvalidator_free: (a: number) => void;
|
|
5932
|
-
readonly identityupdatepublickeysvalidator_new: () => number;
|
|
5933
|
-
readonly identityupdatepublickeysvalidator_validate: (a: number, b: number, c: number, d: number) => void;
|
|
5934
|
-
readonly __wbg_invalidstatetransitionerror_free: (a: number) => void;
|
|
5997
|
+
readonly __wbg_invalididentityerror_free: (a: number) => void;
|
|
5998
|
+
readonly invalididentityerror_getErrors: (a: number, b: number) => void;
|
|
5999
|
+
readonly invalididentityerror_getRawIdentity: (a: number) => number;
|
|
6000
|
+
readonly __wbg_chainassetlockproofstructurevalidator_free: (a: number) => void;
|
|
6001
|
+
readonly chainassetlockproofstructurevalidator_new: (a: number, b: number) => void;
|
|
6002
|
+
readonly chainassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
|
|
5935
6003
|
readonly invalidstatetransitionerror_new_wasm: (a: number, b: number, c: number, d: number) => void;
|
|
5936
|
-
readonly
|
|
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;
|
|
5937
6007
|
readonly invalidstatetransitionerror_getRawStateTransition: (a: number) => number;
|
|
5938
|
-
readonly
|
|
5939
|
-
readonly
|
|
6008
|
+
readonly __wbg_invalidstatetransitionerror_free: (a: number) => void;
|
|
6009
|
+
readonly refunds_identifier: (a: number) => number;
|
|
5940
6010
|
readonly __wbg_datacontractimmutablepropertiesupdateerror_free: (a: number) => void;
|
|
5941
6011
|
readonly __wbg_datacontractinvalidindexdefinitionupdateerror_free: (a: number) => void;
|
|
5942
6012
|
readonly __wbg_datacontractuniqueindiceschangederror_free: (a: number) => void;
|
|
@@ -5945,44 +6015,11 @@ export interface InitOutput {
|
|
|
5945
6015
|
readonly __wbg_invalidcompoundindexerror_free: (a: number) => void;
|
|
5946
6016
|
readonly __wbg_invaliddatacontractiderror_free: (a: number) => void;
|
|
5947
6017
|
readonly __wbg_invalididentifiererror_free: (a: number) => void;
|
|
5948
|
-
readonly
|
|
6018
|
+
readonly invalidstatetransitionerror_getErrors: (a: number, b: number) => void;
|
|
5949
6019
|
readonly __wbg_publickeysecuritylevelnotmeterror_free: (a: number) => void;
|
|
5950
6020
|
readonly __wbg_wrongpublickeypurposeerror_free: (a: number) => void;
|
|
5951
|
-
readonly
|
|
5952
|
-
readonly
|
|
5953
|
-
readonly datacontract_new: (a: number, b: number) => void;
|
|
5954
|
-
readonly datacontract_getProtocolVersion: (a: number) => number;
|
|
5955
|
-
readonly datacontract_getId: (a: number) => number;
|
|
5956
|
-
readonly datacontract_setId: (a: number, b: number, c: number) => void;
|
|
5957
|
-
readonly datacontract_getOwnerId: (a: number) => number;
|
|
5958
|
-
readonly datacontract_getVersion: (a: number) => number;
|
|
5959
|
-
readonly datacontract_setVersion: (a: number, b: number) => void;
|
|
5960
|
-
readonly datacontract_incrementVersion: (a: number) => void;
|
|
5961
|
-
readonly datacontract_getJsonSchemaId: (a: number, b: number) => void;
|
|
5962
|
-
readonly datacontract_setJsonMetaSchema: (a: number, b: number, c: number) => void;
|
|
5963
|
-
readonly datacontract_getJsonMetaSchema: (a: number, b: number) => void;
|
|
5964
|
-
readonly datacontract_setDocuments: (a: number, b: number, c: number) => void;
|
|
5965
|
-
readonly datacontract_getDocuments: (a: number, b: number) => void;
|
|
5966
|
-
readonly datacontract_isDocumentDefined: (a: number, b: number, c: number) => number;
|
|
5967
|
-
readonly datacontract_setDocumentSchema: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5968
|
-
readonly datacontract_getDocumentSchema: (a: number, b: number, c: number, d: number) => void;
|
|
5969
|
-
readonly datacontract_getDocumentSchemaRef: (a: number, b: number, c: number, d: number) => void;
|
|
5970
|
-
readonly datacontract_setDefinitions: (a: number, b: number, c: number) => void;
|
|
5971
|
-
readonly datacontract_getDefinitions: (a: number, b: number) => void;
|
|
5972
|
-
readonly datacontract_setEntropy: (a: number, b: number, c: number, d: number) => void;
|
|
5973
|
-
readonly datacontract_getEntropy: (a: number) => number;
|
|
5974
|
-
readonly datacontract_getBinaryProperties: (a: number, b: number, c: number, d: number) => void;
|
|
5975
|
-
readonly datacontract_getMetadata: (a: number) => number;
|
|
5976
|
-
readonly datacontract_setMetadata: (a: number, b: number, c: number) => void;
|
|
5977
|
-
readonly datacontract_toObject: (a: number, b: number) => void;
|
|
5978
|
-
readonly datacontract_toJSON: (a: number, b: number) => void;
|
|
5979
|
-
readonly datacontract_toBuffer: (a: number, b: number) => void;
|
|
5980
|
-
readonly datacontract_hash: (a: number, b: number) => void;
|
|
5981
|
-
readonly datacontract_from: (a: number, b: number) => void;
|
|
5982
|
-
readonly datacontract_fromBuffer: (a: number, b: number, c: number) => void;
|
|
5983
|
-
readonly datacontract_clone: (a: number) => number;
|
|
5984
|
-
readonly __wbg_datacontractdefaults_free: (a: number) => void;
|
|
5985
|
-
readonly datacontractdefaults_get_default_schema: (a: number) => void;
|
|
6021
|
+
readonly __wbg_invaliddocumenttransitioniderror_free: (a: number) => void;
|
|
6022
|
+
readonly __wbg_uniqueindiceslimitreachederror_free: (a: number) => void;
|
|
5986
6023
|
readonly __wbg_datacontractcreatetransition_free: (a: number) => void;
|
|
5987
6024
|
readonly datacontractcreatetransition_new: (a: number, b: number) => void;
|
|
5988
6025
|
readonly datacontractcreatetransition_getDataContract: (a: number) => number;
|
|
@@ -6001,21 +6038,53 @@ export interface InitOutput {
|
|
|
6001
6038
|
readonly datacontractcreatetransition_toObject: (a: number, b: number, c: number) => void;
|
|
6002
6039
|
readonly datacontractcreatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
6003
6040
|
readonly datacontractcreatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
|
|
6004
|
-
readonly
|
|
6005
|
-
readonly
|
|
6006
|
-
readonly
|
|
6007
|
-
readonly
|
|
6008
|
-
readonly
|
|
6009
|
-
readonly
|
|
6010
|
-
readonly
|
|
6011
|
-
readonly
|
|
6012
|
-
readonly
|
|
6013
|
-
readonly
|
|
6014
|
-
readonly
|
|
6015
|
-
readonly
|
|
6016
|
-
readonly
|
|
6017
|
-
readonly
|
|
6018
|
-
readonly
|
|
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
|
+
readonly getDataTriggers: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
6054
|
+
readonly getAllDataTriggers: (a: number) => void;
|
|
6055
|
+
readonly __wbg_invaliddocumenterror_free: (a: number) => void;
|
|
6056
|
+
readonly invaliddocumenterror_new: (a: number, b: number, c: number) => number;
|
|
6057
|
+
readonly invaliddocumenterror_getErrors: (a: number, b: number) => void;
|
|
6058
|
+
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
|
+
readonly __wbg_documentsbatchtransition_free: (a: number) => void;
|
|
6063
|
+
readonly documentsbatchtransition_from_raw_object: (a: number, b: number, c: number) => void;
|
|
6064
|
+
readonly documentsbatchtransition_getType: (a: number) => number;
|
|
6065
|
+
readonly documentsbatchtransition_getOwnerId: (a: number) => number;
|
|
6066
|
+
readonly documentsbatchtransition_getTransitions: (a: number) => number;
|
|
6067
|
+
readonly documentsbatchtransition_setTransitions: (a: number, b: number, c: number) => void;
|
|
6068
|
+
readonly documentsbatchtransition_toJSON: (a: number, b: number) => void;
|
|
6069
|
+
readonly documentsbatchtransition_toObject: (a: number, b: number, c: number) => void;
|
|
6070
|
+
readonly documentsbatchtransition_getModifiedDataIds: (a: number) => number;
|
|
6071
|
+
readonly documentsbatchtransition_getSignaturePublicKeyId: (a: number, b: number) => void;
|
|
6072
|
+
readonly documentsbatchtransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
6073
|
+
readonly documentsbatchtransition_verifyPublicKeyLevelAndPurpose: (a: number, b: number, c: number) => void;
|
|
6074
|
+
readonly documentsbatchtransition_verifyPublicKeyIsEnabled: (a: number, b: number, c: number) => void;
|
|
6075
|
+
readonly documentsbatchtransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
|
|
6076
|
+
readonly documentsbatchtransition_setSignaturePublicKeyId: (a: number, b: number) => void;
|
|
6077
|
+
readonly documentsbatchtransition_getKeySecurityLevelRequirement: (a: number) => number;
|
|
6078
|
+
readonly documentsbatchtransition_getProtocolVersion: (a: number) => number;
|
|
6079
|
+
readonly documentsbatchtransition_getSignature: (a: number, b: number) => void;
|
|
6080
|
+
readonly documentsbatchtransition_setSignature: (a: number, b: number, c: number) => void;
|
|
6081
|
+
readonly documentsbatchtransition_isDocumentStateTransition: (a: number) => number;
|
|
6082
|
+
readonly documentsbatchtransition_isDataContractStateTransition: (a: number) => number;
|
|
6083
|
+
readonly documentsbatchtransition_isIdentityStateTransition: (a: number) => number;
|
|
6084
|
+
readonly documentsbatchtransition_setExecutionContext: (a: number, b: number) => void;
|
|
6085
|
+
readonly documentsbatchtransition_getExecutionContext: (a: number) => number;
|
|
6086
|
+
readonly documentsbatchtransition_toBuffer: (a: number, b: number, c: number) => void;
|
|
6087
|
+
readonly documentsbatchtransition_hash: (a: number, b: number, c: number) => void;
|
|
6019
6088
|
readonly __wbg_documentvalidator_free: (a: number) => void;
|
|
6020
6089
|
readonly documentvalidator_new: (a: number) => number;
|
|
6021
6090
|
readonly documentvalidator_validate: (a: number, b: number, c: number, d: number) => void;
|
|
@@ -6030,12 +6099,6 @@ export interface InitOutput {
|
|
|
6030
6099
|
readonly invaliddatacontractversionerror_getCode: (a: number) => number;
|
|
6031
6100
|
readonly invaliddatacontractversionerror_message: (a: number, b: number) => void;
|
|
6032
6101
|
readonly invaliddatacontractversionerror_serialize: (a: number, b: number) => void;
|
|
6033
|
-
readonly __wbg_identityinsufficientbalanceerror_free: (a: number) => void;
|
|
6034
|
-
readonly identityinsufficientbalanceerror_getIdentityId: (a: number) => number;
|
|
6035
|
-
readonly identityinsufficientbalanceerror_getBalance: (a: number) => number;
|
|
6036
|
-
readonly identityinsufficientbalanceerror_getCode: (a: number) => number;
|
|
6037
|
-
readonly identityinsufficientbalanceerror_message: (a: number, b: number) => void;
|
|
6038
|
-
readonly identityinsufficientbalanceerror_serialize: (a: number, b: number) => void;
|
|
6039
6102
|
readonly invalidassetlockproofcorechainheighterror_getProofCoreChainLockedHeight: (a: number) => number;
|
|
6040
6103
|
readonly invalidassetlockproofcorechainheighterror_getCurrentCoreChainLockedHeight: (a: number) => number;
|
|
6041
6104
|
readonly invalidassetlockproofcorechainheighterror_getCode: (a: number) => number;
|
|
@@ -6056,12 +6119,11 @@ export interface InitOutput {
|
|
|
6056
6119
|
readonly unsupportedprotocolversionerror_getCode: (a: number) => number;
|
|
6057
6120
|
readonly unsupportedprotocolversionerror_message: (a: number, b: number) => void;
|
|
6058
6121
|
readonly unsupportedprotocolversionerror_serialize: (a: number, b: number) => void;
|
|
6059
|
-
readonly
|
|
6060
|
-
readonly
|
|
6061
|
-
readonly
|
|
6062
|
-
readonly
|
|
6063
|
-
readonly
|
|
6064
|
-
readonly invaliddocumentrevisionerror_serialize: (a: number, b: number) => void;
|
|
6122
|
+
readonly __wbg_identitypublickeyisreadonlyerror_free: (a: number) => void;
|
|
6123
|
+
readonly identitypublickeyisreadonlyerror_getKeyId: (a: number) => number;
|
|
6124
|
+
readonly identitypublickeyisreadonlyerror_getCode: (a: number) => number;
|
|
6125
|
+
readonly identitypublickeyisreadonlyerror_message: (a: number, b: number) => void;
|
|
6126
|
+
readonly identitypublickeyisreadonlyerror_serialize: (a: number, b: number) => void;
|
|
6065
6127
|
readonly __wbg_identitypublickey_free: (a: number) => void;
|
|
6066
6128
|
readonly identitypublickey_new: (a: number, b: number) => void;
|
|
6067
6129
|
readonly identitypublickey_getId: (a: number) => number;
|
|
@@ -6085,100 +6147,30 @@ export interface InitOutput {
|
|
|
6085
6147
|
readonly __wbg_identityvalidator_free: (a: number) => void;
|
|
6086
6148
|
readonly identityvalidator_new: (a: number, b: number) => void;
|
|
6087
6149
|
readonly identityvalidator_validate: (a: number, b: number, c: number) => void;
|
|
6088
|
-
readonly
|
|
6089
|
-
readonly
|
|
6090
|
-
readonly
|
|
6091
|
-
readonly
|
|
6092
|
-
readonly
|
|
6093
|
-
readonly
|
|
6094
|
-
readonly
|
|
6095
|
-
readonly precalculatedoperation_getStorageCost: (a: number, b: number) => void;
|
|
6096
|
-
readonly precalculatedoperation_refunds: (a: number) => number;
|
|
6097
|
-
readonly precalculatedoperation_refunds_as_objects: (a: number, b: number) => void;
|
|
6098
|
-
readonly precalculatedoperation_toJSON: (a: number, b: number) => void;
|
|
6099
|
-
readonly __wbg_jsonschemavalidator_free: (a: number) => void;
|
|
6100
|
-
readonly jsonschemavalidator_new: (a: number, b: number, c: number) => void;
|
|
6101
|
-
readonly __wbg_invaliddatacontractversionerror_free: (a: number) => void;
|
|
6102
|
-
readonly __wbg_invalidassetlockproofcorechainheighterror_free: (a: number) => void;
|
|
6103
|
-
readonly __wbg_incompatibleprotocolversionerror_free: (a: number) => void;
|
|
6104
|
-
readonly __wbg_statetransitionmaxsizeexceedederror_free: (a: number) => void;
|
|
6105
|
-
readonly __wbg_unsupportedprotocolversionerror_free: (a: number) => void;
|
|
6106
|
-
readonly __wbg_datatriggerexecutioncontext_free: (a: number) => void;
|
|
6107
|
-
readonly datatriggerexecutioncontext_new: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6108
|
-
readonly datatriggerexecutioncontext_ownerId: (a: number) => number;
|
|
6109
|
-
readonly datatriggerexecutioncontext_set_ownerId: (a: number, b: number, c: number) => void;
|
|
6110
|
-
readonly datatriggerexecutioncontext_dataContract: (a: number) => number;
|
|
6111
|
-
readonly datatriggerexecutioncontext_set_dataContract: (a: number, b: number) => void;
|
|
6112
|
-
readonly datatriggerexecutioncontext_stateTransitionExecutionContext: (a: number) => number;
|
|
6113
|
-
readonly datatriggerexecutioncontext_set_statTransitionExecutionContext: (a: number, b: number) => void;
|
|
6114
|
-
readonly generateDocumentId: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
6115
|
-
readonly fetchExtendedDocuments: (a: number, b: number, c: number) => number;
|
|
6116
|
-
readonly __wbg_documentsbatchtransition_free: (a: number) => void;
|
|
6117
|
-
readonly documentsbatchtransition_from_raw_object: (a: number, b: number, c: number) => void;
|
|
6118
|
-
readonly documentsbatchtransition_getType: (a: number) => number;
|
|
6119
|
-
readonly documentsbatchtransition_getOwnerId: (a: number) => number;
|
|
6120
|
-
readonly documentsbatchtransition_getTransitions: (a: number) => number;
|
|
6121
|
-
readonly documentsbatchtransition_setTransitions: (a: number, b: number, c: number) => void;
|
|
6122
|
-
readonly documentsbatchtransition_toJSON: (a: number, b: number) => void;
|
|
6123
|
-
readonly documentsbatchtransition_toObject: (a: number, b: number, c: number) => void;
|
|
6124
|
-
readonly documentsbatchtransition_getModifiedDataIds: (a: number) => number;
|
|
6125
|
-
readonly documentsbatchtransition_getSignaturePublicKeyId: (a: number, b: number) => void;
|
|
6126
|
-
readonly documentsbatchtransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
6127
|
-
readonly documentsbatchtransition_verifyPublicKeyLevelAndPurpose: (a: number, b: number, c: number) => void;
|
|
6128
|
-
readonly documentsbatchtransition_verifyPublicKeyIsEnabled: (a: number, b: number, c: number) => void;
|
|
6129
|
-
readonly documentsbatchtransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
|
|
6130
|
-
readonly documentsbatchtransition_setSignaturePublicKeyId: (a: number, b: number) => void;
|
|
6131
|
-
readonly documentsbatchtransition_getKeySecurityLevelRequirement: (a: number) => number;
|
|
6132
|
-
readonly documentsbatchtransition_getProtocolVersion: (a: number) => number;
|
|
6133
|
-
readonly documentsbatchtransition_getSignature: (a: number, b: number) => void;
|
|
6134
|
-
readonly documentsbatchtransition_setSignature: (a: number, b: number, c: number) => void;
|
|
6135
|
-
readonly documentsbatchtransition_isDocumentStateTransition: (a: number) => number;
|
|
6136
|
-
readonly documentsbatchtransition_isDataContractStateTransition: (a: number) => number;
|
|
6137
|
-
readonly documentsbatchtransition_isIdentityStateTransition: (a: number) => number;
|
|
6138
|
-
readonly documentsbatchtransition_setExecutionContext: (a: number, b: number) => void;
|
|
6139
|
-
readonly documentsbatchtransition_getExecutionContext: (a: number) => number;
|
|
6140
|
-
readonly documentsbatchtransition_toBuffer: (a: number, b: number, c: number) => void;
|
|
6141
|
-
readonly documentsbatchtransition_hash: (a: number, b: number, c: number) => void;
|
|
6142
|
-
readonly deserializeConsensusError: (a: number, b: number, c: number) => void;
|
|
6143
|
-
readonly __wbg_identitypublickeyisreadonlyerror_free: (a: number) => void;
|
|
6144
|
-
readonly identitypublickeyisreadonlyerror_getKeyId: (a: number) => number;
|
|
6145
|
-
readonly identitypublickeyisreadonlyerror_getCode: (a: number) => number;
|
|
6146
|
-
readonly identitypublickeyisreadonlyerror_message: (a: number, b: number) => void;
|
|
6147
|
-
readonly identitypublickeyisreadonlyerror_serialize: (a: number, b: number) => void;
|
|
6148
|
-
readonly __wbg_identitycreatetransition_free: (a: number) => void;
|
|
6149
|
-
readonly identitycreatetransition_new: (a: number, b: number) => void;
|
|
6150
|
-
readonly identitycreatetransition_setAssetLockProof: (a: number, b: number, c: number) => void;
|
|
6151
|
-
readonly identitycreatetransition_assetLockProof: (a: number) => number;
|
|
6152
|
-
readonly identitycreatetransition_setPublicKeys: (a: number, b: number, c: number, d: number) => void;
|
|
6153
|
-
readonly identitycreatetransition_addPublicKeys: (a: number, b: number, c: number, d: number) => void;
|
|
6154
|
-
readonly identitycreatetransition_getPublicKeys: (a: number, b: number) => void;
|
|
6155
|
-
readonly identitycreatetransition_getType: (a: number) => number;
|
|
6156
|
-
readonly identitycreatetransition_getIdentityId: (a: number) => number;
|
|
6157
|
-
readonly identitycreatetransition_getOwnerId: (a: number) => number;
|
|
6158
|
-
readonly identitycreatetransition_toObject: (a: number, b: number, c: number) => void;
|
|
6159
|
-
readonly identitycreatetransition_toBuffer: (a: number, b: number, c: number) => void;
|
|
6160
|
-
readonly identitycreatetransition_toJSON: (a: number, b: number) => void;
|
|
6161
|
-
readonly identitycreatetransition_getModifiedDataIds: (a: number, b: number) => void;
|
|
6162
|
-
readonly identitycreatetransition_isDataContractStateTransition: (a: number) => number;
|
|
6163
|
-
readonly identitycreatetransition_isDocumentStateTransition: (a: number) => number;
|
|
6164
|
-
readonly identitycreatetransition_isIdentityStateTransition: (a: number) => number;
|
|
6165
|
-
readonly identitycreatetransition_setExecutionContext: (a: number, b: number) => void;
|
|
6166
|
-
readonly identitycreatetransition_getExecutionContext: (a: number) => number;
|
|
6167
|
-
readonly identitycreatetransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
6168
|
-
readonly identitycreatetransition_getSignature: (a: number) => number;
|
|
6169
|
-
readonly identitycreatetransition_setSignature: (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;
|
|
6155
|
+
readonly identitytopuptransitionstatevalidator_validate: (a: number, b: number) => number;
|
|
6156
|
+
readonly applyIdentityUpdateTransition: (a: number, b: number) => number;
|
|
6170
6157
|
readonly __wbg_identityupdatetransitionstatevalidator_free: (a: number) => void;
|
|
6171
6158
|
readonly identityupdatetransitionstatevalidator_new: (a: number, b: number) => void;
|
|
6172
6159
|
readonly identityupdatetransitionstatevalidator_validate: (a: number, b: number) => number;
|
|
6173
6160
|
readonly calculateStateTransitionFee: (a: number, b: number) => void;
|
|
6174
|
-
readonly
|
|
6175
|
-
readonly
|
|
6176
|
-
readonly
|
|
6177
|
-
readonly
|
|
6178
|
-
readonly
|
|
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;
|
|
6179
6170
|
readonly __wbg_statetransitionkeysignaturevalidator_free: (a: number) => void;
|
|
6180
6171
|
readonly statetransitionkeysignaturevalidator_new: (a: number) => number;
|
|
6181
6172
|
readonly statetransitionkeysignaturevalidator_validate: (a: number, b: number) => number;
|
|
6173
|
+
readonly decodeProtocolEntity: (a: number, b: number, c: number) => void;
|
|
6182
6174
|
readonly __wbg_validationresult_free: (a: number) => void;
|
|
6183
6175
|
readonly validationresult_new: (a: number, b: number, c: number) => void;
|
|
6184
6176
|
readonly validationresult_errorsText: (a: number, b: number) => void;
|
|
@@ -6187,14 +6179,25 @@ export interface InitOutput {
|
|
|
6187
6179
|
readonly validationresult_getData: (a: number) => number;
|
|
6188
6180
|
readonly validationresult_getFirstError: (a: number) => number;
|
|
6189
6181
|
readonly validationresult_addError: (a: number, b: number, c: number) => void;
|
|
6190
|
-
readonly
|
|
6191
|
-
readonly validationresult_getErrors: (a: number, b: number) => void;
|
|
6192
|
-
readonly identitycreatetransition_publicKeys: (a: number, b: number) => void;
|
|
6193
|
-
readonly identitycreatetransition_getAssetLockProof: (a: number) => number;
|
|
6182
|
+
readonly __wbg_identitytopuptransitionstatevalidator_free: (a: number) => void;
|
|
6194
6183
|
readonly identitypublickeyisreadonlyerror_getPublicKeyIndex: (a: number) => number;
|
|
6195
|
-
readonly
|
|
6196
|
-
readonly
|
|
6197
|
-
readonly
|
|
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
|
+
readonly __wbg_applydatacontractcreatetransition_free: (a: number) => void;
|
|
6192
|
+
readonly applydatacontractcreatetransition_new: (a: number) => number;
|
|
6193
|
+
readonly applydatacontractcreatetransition_applyDataContractCreateTransition: (a: number, b: number) => number;
|
|
6194
|
+
readonly __wbg_datacontractfacade_free: (a: number) => void;
|
|
6195
|
+
readonly datacontractfacade_create: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
6196
|
+
readonly datacontractfacade_createFromObject: (a: number, b: number, c: number) => number;
|
|
6197
|
+
readonly datacontractfacade_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
6198
|
+
readonly datacontractfacade_createDataContractCreateTransition: (a: number, b: number, c: number) => void;
|
|
6199
|
+
readonly datacontractfacade_createDataContractUpdateTransition: (a: number, b: number, c: number) => void;
|
|
6200
|
+
readonly datacontractfacade_validate: (a: number, b: number) => number;
|
|
6198
6201
|
readonly __wbg_datatrigger_free: (a: number) => void;
|
|
6199
6202
|
readonly datatrigger_get_data_contract_id: (a: number) => number;
|
|
6200
6203
|
readonly datatrigger_set_data_contract_id: (a: number, b: number, c: number) => void;
|
|
@@ -6205,13 +6208,6 @@ export interface InitOutput {
|
|
|
6205
6208
|
readonly datatrigger_set_transition_action: (a: number, b: number, c: number, d: number) => void;
|
|
6206
6209
|
readonly datatrigger_get_top_level_identity: (a: number) => number;
|
|
6207
6210
|
readonly datatrigger_set_top_level_identity: (a: number, b: number, c: number) => void;
|
|
6208
|
-
readonly applyDocumentsBatchTransition: (a: number, b: number) => number;
|
|
6209
|
-
readonly validateDocumentsBatchTransitionBasic: (a: number, b: number, c: number, d: number) => number;
|
|
6210
|
-
readonly validateDocumentsBatchTransitionState: (a: number, b: number) => number;
|
|
6211
|
-
readonly serializedobjectparsingerror_getParsingError: (a: number, b: number) => void;
|
|
6212
|
-
readonly serializedobjectparsingerror_getCode: (a: number) => number;
|
|
6213
|
-
readonly serializedobjectparsingerror_message: (a: number, b: number) => void;
|
|
6214
|
-
readonly serializedobjectparsingerror_serialize: (a: number, b: number) => void;
|
|
6215
6211
|
readonly __wbg_duplicatedocumenttransitionswithidserror_free: (a: number) => void;
|
|
6216
6212
|
readonly duplicatedocumenttransitionswithidserror_getDocumentTransitionReferences: (a: number) => number;
|
|
6217
6213
|
readonly duplicatedocumenttransitionswithidserror_getCode: (a: number) => number;
|
|
@@ -6221,11 +6217,6 @@ export interface InitOutput {
|
|
|
6221
6217
|
readonly duplicatedocumenttransitionswithindiceserror_getCode: (a: number) => number;
|
|
6222
6218
|
readonly duplicatedocumenttransitionswithindiceserror_message: (a: number, b: number) => void;
|
|
6223
6219
|
readonly duplicatedocumenttransitionswithindiceserror_serialize: (a: number, b: number) => void;
|
|
6224
|
-
readonly __wbg_invaliddocumenttransitionactionerror_free: (a: number) => void;
|
|
6225
|
-
readonly invaliddocumenttransitionactionerror_getAction: (a: number, b: number) => void;
|
|
6226
|
-
readonly invaliddocumenttransitionactionerror_getCode: (a: number) => number;
|
|
6227
|
-
readonly invaliddocumenttransitionactionerror_message: (a: number, b: number) => void;
|
|
6228
|
-
readonly invaliddocumenttransitionactionerror_serialize: (a: number, b: number) => void;
|
|
6229
6220
|
readonly __wbg_duplicatedidentitypublickeyerror_free: (a: number) => void;
|
|
6230
6221
|
readonly duplicatedidentitypublickeyerror_getDuplicatedPublicKeysIds: (a: number) => number;
|
|
6231
6222
|
readonly duplicatedidentitypublickeyerror_getCode: (a: number) => number;
|
|
@@ -6235,24 +6226,11 @@ export interface InitOutput {
|
|
|
6235
6226
|
readonly duplicatedidentitypublickeyiderror_getCode: (a: number) => number;
|
|
6236
6227
|
readonly duplicatedidentitypublickeyiderror_message: (a: number, b: number) => void;
|
|
6237
6228
|
readonly duplicatedidentitypublickeyiderror_serialize: (a: number, b: number) => void;
|
|
6238
|
-
readonly
|
|
6239
|
-
readonly
|
|
6240
|
-
readonly
|
|
6241
|
-
readonly
|
|
6242
|
-
readonly
|
|
6243
|
-
readonly invalidassetlockprooftransactionheighterror_getProofCoreChainLockedHeight: (a: number) => number;
|
|
6244
|
-
readonly invalidassetlockprooftransactionheighterror_getTransactionHeight: (a: number, b: number) => void;
|
|
6245
|
-
readonly invalidassetlockprooftransactionheighterror_getCode: (a: number) => number;
|
|
6246
|
-
readonly invalidassetlockprooftransactionheighterror_message: (a: number, b: number) => void;
|
|
6247
|
-
readonly invalidassetlockprooftransactionheighterror_serialize: (a: number, b: number) => void;
|
|
6248
|
-
readonly invalididentityassetlocktransactionerror_getErrorMessage: (a: number, b: number) => void;
|
|
6249
|
-
readonly invalididentityassetlocktransactionerror_getCode: (a: number) => number;
|
|
6250
|
-
readonly invalididentityassetlocktransactionerror_message: (a: number, b: number) => void;
|
|
6251
|
-
readonly invalididentityassetlocktransactionerror_serialize: (a: number, b: number) => void;
|
|
6252
|
-
readonly jsonschemacompilationerror_getError: (a: number, b: number) => void;
|
|
6253
|
-
readonly jsonschemacompilationerror_getCode: (a: number) => number;
|
|
6254
|
-
readonly jsonschemacompilationerror_message: (a: number, b: number) => void;
|
|
6255
|
-
readonly jsonschemacompilationerror_serialize: (a: number, b: number) => void;
|
|
6229
|
+
readonly __wbg_documentalreadypresenterror_free: (a: number) => void;
|
|
6230
|
+
readonly documentalreadypresenterror_getDocumentId: (a: number) => number;
|
|
6231
|
+
readonly documentalreadypresenterror_getCode: (a: number) => number;
|
|
6232
|
+
readonly documentalreadypresenterror_message: (a: number, b: number) => void;
|
|
6233
|
+
readonly documentalreadypresenterror_serialize: (a: number, b: number) => void;
|
|
6256
6234
|
readonly duplicatedidentitypublickeyidstateerror_getDuplicatedIds: (a: number) => number;
|
|
6257
6235
|
readonly duplicatedidentitypublickeyidstateerror_getCode: (a: number) => number;
|
|
6258
6236
|
readonly duplicatedidentitypublickeyidstateerror_message: (a: number, b: number) => void;
|
|
@@ -6261,33 +6239,28 @@ export interface InitOutput {
|
|
|
6261
6239
|
readonly duplicatedidentitypublickeystateerror_getCode: (a: number) => number;
|
|
6262
6240
|
readonly duplicatedidentitypublickeystateerror_message: (a: number, b: number) => void;
|
|
6263
6241
|
readonly duplicatedidentitypublickeystateerror_serialize: (a: number, b: number) => void;
|
|
6264
|
-
readonly
|
|
6265
|
-
readonly
|
|
6266
|
-
readonly
|
|
6267
|
-
readonly
|
|
6268
|
-
readonly
|
|
6269
|
-
readonly
|
|
6270
|
-
readonly
|
|
6271
|
-
readonly
|
|
6272
|
-
readonly
|
|
6273
|
-
readonly
|
|
6274
|
-
readonly
|
|
6275
|
-
readonly
|
|
6276
|
-
readonly
|
|
6277
|
-
readonly
|
|
6278
|
-
readonly
|
|
6279
|
-
readonly
|
|
6280
|
-
readonly
|
|
6281
|
-
readonly
|
|
6282
|
-
readonly
|
|
6283
|
-
readonly
|
|
6284
|
-
readonly
|
|
6285
|
-
readonly
|
|
6286
|
-
readonly identitycreatetransitionstatevalidator_new: (a: number) => number;
|
|
6287
|
-
readonly identitycreatetransitionstatevalidator_validate: (a: number, b: number) => number;
|
|
6288
|
-
readonly applyIdentityTopUpTransition: (a: number, b: number) => number;
|
|
6289
|
-
readonly identitytopuptransitionstatevalidator_validate: (a: number, b: number) => number;
|
|
6290
|
-
readonly applyIdentityUpdateTransition: (a: number, b: number) => number;
|
|
6242
|
+
readonly __wbg_identitycreatetransition_free: (a: number) => void;
|
|
6243
|
+
readonly identitycreatetransition_new: (a: number, b: number) => void;
|
|
6244
|
+
readonly identitycreatetransition_setAssetLockProof: (a: number, b: number, c: number) => void;
|
|
6245
|
+
readonly identitycreatetransition_assetLockProof: (a: number) => number;
|
|
6246
|
+
readonly identitycreatetransition_setPublicKeys: (a: number, b: number, c: number, d: number) => void;
|
|
6247
|
+
readonly identitycreatetransition_addPublicKeys: (a: number, b: number, c: number, d: number) => void;
|
|
6248
|
+
readonly identitycreatetransition_getPublicKeys: (a: number, b: number) => void;
|
|
6249
|
+
readonly identitycreatetransition_getType: (a: number) => number;
|
|
6250
|
+
readonly identitycreatetransition_getIdentityId: (a: number) => number;
|
|
6251
|
+
readonly identitycreatetransition_getOwnerId: (a: number) => number;
|
|
6252
|
+
readonly identitycreatetransition_toObject: (a: number, b: number, c: number) => void;
|
|
6253
|
+
readonly identitycreatetransition_toBuffer: (a: number, b: number, c: number) => void;
|
|
6254
|
+
readonly identitycreatetransition_toJSON: (a: number, b: number) => void;
|
|
6255
|
+
readonly identitycreatetransition_getModifiedDataIds: (a: number, b: number) => void;
|
|
6256
|
+
readonly identitycreatetransition_isDataContractStateTransition: (a: number) => number;
|
|
6257
|
+
readonly identitycreatetransition_isDocumentStateTransition: (a: number) => number;
|
|
6258
|
+
readonly identitycreatetransition_isIdentityStateTransition: (a: number) => number;
|
|
6259
|
+
readonly identitycreatetransition_setExecutionContext: (a: number, b: number) => void;
|
|
6260
|
+
readonly identitycreatetransition_getExecutionContext: (a: number) => number;
|
|
6261
|
+
readonly identitycreatetransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
6262
|
+
readonly identitycreatetransition_getSignature: (a: number) => number;
|
|
6263
|
+
readonly identitycreatetransition_setSignature: (a: number, b: number, c: number) => void;
|
|
6291
6264
|
readonly __wbg_metadata_free: (a: number) => void;
|
|
6292
6265
|
readonly metadata_new: (a: number, b: number) => void;
|
|
6293
6266
|
readonly metadata_from: (a: number, b: number) => void;
|
|
@@ -6297,34 +6270,19 @@ export interface InitOutput {
|
|
|
6297
6270
|
readonly metadata_getCoreChainLockedHeight: (a: number) => number;
|
|
6298
6271
|
readonly metadata_getTimeMs: (a: number) => number;
|
|
6299
6272
|
readonly metadata_getProtocolVersion: (a: number) => number;
|
|
6300
|
-
readonly
|
|
6301
|
-
readonly
|
|
6302
|
-
readonly
|
|
6303
|
-
readonly
|
|
6304
|
-
readonly
|
|
6305
|
-
readonly
|
|
6306
|
-
readonly
|
|
6307
|
-
readonly __wbg_readoperation_free: (a: number) => void;
|
|
6308
|
-
readonly readoperation_new: (a: number, b: number) => void;
|
|
6309
|
-
readonly readoperation_processingCost: (a: number, b: number) => void;
|
|
6310
|
-
readonly readoperation_storageCost: (a: number, b: number) => void;
|
|
6311
|
-
readonly readoperation_refunds: (a: number) => number;
|
|
6312
|
-
readonly readoperation_toJSON: (a: number, b: number) => void;
|
|
6313
|
-
readonly __wbg_serializedobjectparsingerror_free: (a: number) => void;
|
|
6314
|
-
readonly __wbg_invalididentityassetlocktransactionerror_free: (a: number) => void;
|
|
6315
|
-
readonly __wbg_jsonschemacompilationerror_free: (a: number) => void;
|
|
6316
|
-
readonly __wbg_valueerror_free: (a: number) => void;
|
|
6317
|
-
readonly __wbg_duplicatedocumenttransitionswithindiceserror_free: (a: number) => void;
|
|
6273
|
+
readonly __wbg_signatureverificationoperation_free: (a: number) => void;
|
|
6274
|
+
readonly signatureverificationoperation_new: (a: number, b: number) => void;
|
|
6275
|
+
readonly signatureverificationoperation_getProcessingCost: (a: number, b: number) => void;
|
|
6276
|
+
readonly signatureverificationoperation_getStorageCost: (a: number, b: number) => void;
|
|
6277
|
+
readonly signatureverificationoperation_refunds: (a: number) => number;
|
|
6278
|
+
readonly signatureverificationoperation_toJSON: (a: number, b: number) => void;
|
|
6279
|
+
readonly identitycreatetransition_publicKeys: (a: number, b: number) => void;
|
|
6318
6280
|
readonly __wbg_duplicatedidentitypublickeyiderror_free: (a: number) => void;
|
|
6319
6281
|
readonly __wbg_duplicatedidentitypublickeyidstateerror_free: (a: number) => void;
|
|
6320
6282
|
readonly __wbg_duplicatedidentitypublickeystateerror_free: (a: number) => void;
|
|
6321
|
-
readonly
|
|
6322
|
-
readonly
|
|
6323
|
-
readonly
|
|
6324
|
-
readonly __wbg_applydatacontractcreatetransition_free: (a: number) => void;
|
|
6325
|
-
readonly applydatacontractcreatetransition_new: (a: number) => number;
|
|
6326
|
-
readonly applydatacontractcreatetransition_applyDataContractCreateTransition: (a: number, b: number) => number;
|
|
6327
|
-
readonly applydatacontractupdatetransition_applyDataContractUpdateTransition: (a: number, b: number) => number;
|
|
6283
|
+
readonly identitycreatetransition_getAssetLockProof: (a: number) => number;
|
|
6284
|
+
readonly identitycreatetransition_identityId: (a: number) => number;
|
|
6285
|
+
readonly __wbg_duplicatedocumenttransitionswithindiceserror_free: (a: number) => void;
|
|
6328
6286
|
readonly __wbg_indexproperty_free: (a: number) => void;
|
|
6329
6287
|
readonly indexproperty_isAscending: (a: number) => number;
|
|
6330
6288
|
readonly __wbg_indexdefinition_free: (a: number) => void;
|
|
@@ -6332,59 +6290,94 @@ export interface InitOutput {
|
|
|
6332
6290
|
readonly indexdefinition_getProperties: (a: number, b: number) => void;
|
|
6333
6291
|
readonly indexdefinition_isUnique: (a: number) => number;
|
|
6334
6292
|
readonly indexdefinition_toObject: (a: number, b: number) => void;
|
|
6335
|
-
readonly
|
|
6336
|
-
readonly
|
|
6337
|
-
readonly
|
|
6338
|
-
readonly
|
|
6339
|
-
readonly
|
|
6340
|
-
readonly
|
|
6341
|
-
readonly
|
|
6342
|
-
readonly
|
|
6343
|
-
readonly
|
|
6344
|
-
readonly
|
|
6345
|
-
readonly
|
|
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;
|
|
6346
6359
|
readonly __wbg_datacontractnotpresenterror_free: (a: number) => void;
|
|
6347
6360
|
readonly datacontractnotpresenterror_getDataContractId: (a: number) => number;
|
|
6348
6361
|
readonly datacontractnotpresenterror_getCode: (a: number) => number;
|
|
6349
6362
|
readonly datacontractnotpresenterror_message: (a: number, b: number) => void;
|
|
6350
6363
|
readonly datacontractnotpresenterror_serialize: (a: number, b: number) => void;
|
|
6351
|
-
readonly
|
|
6352
|
-
readonly
|
|
6353
|
-
readonly
|
|
6354
|
-
readonly
|
|
6355
|
-
readonly
|
|
6356
|
-
readonly
|
|
6357
|
-
readonly
|
|
6358
|
-
readonly
|
|
6359
|
-
readonly
|
|
6360
|
-
readonly
|
|
6361
|
-
readonly
|
|
6362
|
-
readonly
|
|
6363
|
-
readonly
|
|
6364
|
-
readonly
|
|
6365
|
-
readonly
|
|
6366
|
-
readonly
|
|
6367
|
-
readonly
|
|
6368
|
-
readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_getPooling: (a: number) => number;
|
|
6369
|
-
readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_getCode: (a: number) => number;
|
|
6370
|
-
readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_message: (a: number, b: number) => void;
|
|
6371
|
-
readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_serialize: (a: number, b: number) => void;
|
|
6372
|
-
readonly invalididentitykeysignatureerror_getPublicKeyId: (a: number) => number;
|
|
6373
|
-
readonly invalididentitykeysignatureerror_getCode: (a: number) => number;
|
|
6374
|
-
readonly invalididentitykeysignatureerror_message: (a: number, b: number) => void;
|
|
6375
|
-
readonly invalididentitykeysignatureerror_serialize: (a: number, b: number) => void;
|
|
6376
|
-
readonly missingpublickeyerror_getPublicKeyId: (a: number) => number;
|
|
6377
|
-
readonly missingpublickeyerror_getCode: (a: number) => number;
|
|
6378
|
-
readonly missingpublickeyerror_message: (a: number, b: number) => void;
|
|
6379
|
-
readonly missingpublickeyerror_serialize: (a: number, b: number) => void;
|
|
6380
|
-
readonly publickeyisdisablederror_getPublicKeyId: (a: number) => number;
|
|
6381
|
-
readonly publickeyisdisablederror_getCode: (a: number) => number;
|
|
6382
|
-
readonly publickeyisdisablederror_message: (a: number, b: number) => void;
|
|
6383
|
-
readonly publickeyisdisablederror_serialize: (a: number, b: number) => void;
|
|
6384
|
-
readonly documentalreadypresenterror_getDocumentId: (a: number) => number;
|
|
6385
|
-
readonly documentalreadypresenterror_getCode: (a: number) => number;
|
|
6386
|
-
readonly documentalreadypresenterror_message: (a: number, b: number) => void;
|
|
6387
|
-
readonly documentalreadypresenterror_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;
|
|
6388
6381
|
readonly documentnotfounderror_getDocumentId: (a: number) => number;
|
|
6389
6382
|
readonly documentnotfounderror_getCode: (a: number) => number;
|
|
6390
6383
|
readonly documentnotfounderror_message: (a: number, b: number) => void;
|
|
@@ -6393,40 +6386,69 @@ export interface InitOutput {
|
|
|
6393
6386
|
readonly documenttimestampsmismatcherror_getCode: (a: number) => number;
|
|
6394
6387
|
readonly documenttimestampsmismatcherror_message: (a: number, b: number) => void;
|
|
6395
6388
|
readonly documenttimestampsmismatcherror_serialize: (a: number, b: number) => void;
|
|
6396
|
-
readonly
|
|
6397
|
-
readonly
|
|
6398
|
-
readonly
|
|
6399
|
-
readonly
|
|
6400
|
-
readonly
|
|
6401
|
-
readonly
|
|
6402
|
-
readonly
|
|
6403
|
-
readonly
|
|
6404
|
-
readonly
|
|
6405
|
-
readonly
|
|
6406
|
-
readonly
|
|
6407
|
-
readonly
|
|
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
6408
|
readonly __wbg_publickeysvalidator_free: (a: number) => void;
|
|
6409
6409
|
readonly publickeysvalidator_new: (a: number, b: number) => void;
|
|
6410
6410
|
readonly publickeysvalidator_validateKeys: (a: number, b: number, c: number) => void;
|
|
6411
6411
|
readonly publickeysvalidator_validatePublicKeyStructure: (a: number, b: number, c: number) => void;
|
|
6412
6412
|
readonly publickeysvalidator_validateKeysInStateTransition: (a: number, b: number, c: number) => void;
|
|
6413
|
-
readonly
|
|
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;
|
|
6414
6443
|
readonly indexproperty_getName: (a: number, b: number) => void;
|
|
6415
|
-
readonly
|
|
6416
|
-
readonly applydatacontractupdatetransition_new: (a: number) => number;
|
|
6417
|
-
readonly __wbg_invalidassetlocktransactionoutputreturnsizeerror_free: (a: number) => void;
|
|
6418
|
-
readonly __wbg_invalididentityassetlocktransactionoutputerror_free: (a: number) => void;
|
|
6419
|
-
readonly __wbg_invalididentitycreditwithdrawaltransitioncorefeeerror_free: (a: number) => void;
|
|
6420
|
-
readonly __wbg_notimplementedidentitycreditwithdrawaltransitionpoolingerror_free: (a: number) => void;
|
|
6421
|
-
readonly __wbg_invalididentitykeysignatureerror_free: (a: number) => void;
|
|
6422
|
-
readonly __wbg_missingpublickeyerror_free: (a: number) => void;
|
|
6423
|
-
readonly __wbg_publickeyisdisablederror_free: (a: number) => void;
|
|
6424
|
-
readonly __wbg_documentalreadypresenterror_free: (a: number) => void;
|
|
6444
|
+
readonly __wbg_identityassetlocktransactionisnotfounderror_free: (a: number) => void;
|
|
6425
6445
|
readonly __wbg_documentnotfounderror_free: (a: number) => void;
|
|
6426
6446
|
readonly __wbg_documenttimestampsmismatcherror_free: (a: number) => void;
|
|
6427
|
-
readonly
|
|
6428
|
-
readonly
|
|
6429
|
-
readonly
|
|
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
|
+
readonly __wbg_valueerror_free: (a: number) => void;
|
|
6430
6452
|
readonly rustsecp256k1_v0_6_1_context_create: (a: number) => number;
|
|
6431
6453
|
readonly rustsecp256k1_v0_6_1_context_destroy: (a: number) => void;
|
|
6432
6454
|
readonly rustsecp256k1_v0_6_1_default_illegal_callback_fn: (a: number, b: number) => void;
|
|
@@ -6434,11 +6456,11 @@ export interface InitOutput {
|
|
|
6434
6456
|
readonly __wbindgen_malloc: (a: number) => number;
|
|
6435
6457
|
readonly __wbindgen_realloc: (a: number, b: number, c: number) => number;
|
|
6436
6458
|
readonly __wbindgen_export_2: WebAssembly.Table;
|
|
6437
|
-
readonly
|
|
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;
|
|
6438
6460
|
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
6439
6461
|
readonly __wbindgen_free: (a: number, b: number) => void;
|
|
6440
6462
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
6441
|
-
readonly
|
|
6463
|
+
readonly wasm_bindgen__convert__closures__invoke2_mut__h21b3b36adbe76a27: (a: number, b: number, c: number, d: number) => void;
|
|
6442
6464
|
}
|
|
6443
6465
|
|
|
6444
6466
|
export type SyncInitInput = BufferSource | WebAssembly.Module;
|