@dashevo/wasm-dpp 0.25.0-dev.1 → 0.25.0-dev.10
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 +431 -436
- package/dist/wasm/wasm_dpp.js +39 -44
- package/dist/wasm/wasm_dpp_bg.js +1 -1
- package/lib/test/fixtures/getDocumentsFixture.js +5 -1
- package/lib/wasm/wasm_dpp.d.ts +431 -436
- package/package.json +3 -3
- package/src/dash_platform_protocol.rs +1 -1
- package/src/data_contract/data_contract.rs +2 -1
- package/src/data_contract/state_transition/data_contract_create_transition/mod.rs +6 -5
- package/src/data_contract/state_transition/data_contract_update_transition/mod.rs +6 -5
- package/src/document/extended_document.rs +2 -2
- package/src/document/state_transition/document_batch_transition/mod.rs +6 -9
- package/src/errors/consensus/basic/invalid_signature_public_key_security_level_error.rs +6 -6
- package/src/identity/factory_utils.rs +4 -4
- package/src/identity/mod.rs +4 -2
- package/src/identity/state_transition/identity_create_transition/identity_create_transition.rs +11 -19
- package/src/identity/state_transition/identity_create_transition/to_object.rs +2 -2
- package/src/identity/state_transition/identity_public_key_transitions.rs +10 -10
- package/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs +7 -15
- package/src/identity/state_transition/identity_update_transition/identity_update_public_keys_validator.rs +2 -2
- package/src/identity/state_transition/identity_update_transition/identity_update_transition.rs +10 -18
- package/src/identity/state_transition/identity_update_transition/to_object.rs +2 -2
- package/src/identity/state_transition/validate_public_key_signatures.rs +2 -2
- package/src/state_transition/state_transition_facade.rs +3 -7
- package/src/state_transition/validation/validate_state_transition_identity_signature.rs +20 -6
- package/test/integration/dataContract/DataContractFacade.spec.js +17 -20
- package/test/integration/dataContract/stateTransition/DataContractUpdateTransition/validation/basic/validateDataContractUpdateTransitionBasicFactory.spec.js +5 -4
- package/test/integration/stateTransition/StateTransitionFacade.spec.js +1 -1
- package/test/unit/dataContract/DataContract.spec.js +9 -21
- package/test/unit/dataContract/DataContractFactory.spec.js +19 -28
- package/test/unit/dataContract/stateTransition/DataContractCreateTransition/DataContractCreateTransition.spec.js +2 -4
- package/test/unit/dataContract/stateTransition/DataContractCreateTransition/validation/state/validateDataContractCreateTransitionStateFactory.spec.js +6 -5
- package/test/unit/dataContract/stateTransition/DataContractUpdateTransition/DataContractUpdateTransition.spec.js +3 -5
- package/test/unit/dataContract/stateTransition/DataContractUpdateTransition/validation/state/validateDataContractUpdateTransitionStateFactory.spec.js +5 -4
- package/test/unit/decodeProtocolEntityFactory.spec.js +4 -1
- package/test/unit/document/Document.spec.js +9 -7
- package/test/unit/document/DocumentFactory.spec.js +38 -90
- package/test/unit/document/stateTransition/DocumetsBatchTransition/DocumentsBatchTransition.spec.js +2 -3
- package/test/unit/identity/Identity.spec.js +3 -8
- package/test/unit/identity/IdentityFactory.spec.js +3 -4
- package/test/unit/stateTransition/validation/validateStateTransitionBasicFactory.spec.js +2 -2
- package/test/unit/stateTransition/validation/validateStateTransitionFeeFactory.spec.js +4 -16
- package/test/unit/stateTransition/validation/validateStateTransitionIdentitySignatureFactory.spec.js +8 -4
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 {Uint8Array} bytes
|
|
11
5
|
* @returns {any}
|
|
12
6
|
*/
|
|
@@ -53,6 +47,14 @@ export function fetchAssetLockPublicKeyHash(state_repository: any, raw_asset_loc
|
|
|
53
47
|
*/
|
|
54
48
|
export function calculateOperationFees(operations: Array<any>): DummyFeesResult;
|
|
55
49
|
/**
|
|
50
|
+
* @param {any} external_state_repository
|
|
51
|
+
* @param {any} js_state_transition
|
|
52
|
+
* @param {StateTransitionExecutionContext} execution_context
|
|
53
|
+
* @param {any} bls_adapter
|
|
54
|
+
* @returns {Promise<ValidationResult>}
|
|
55
|
+
*/
|
|
56
|
+
export function validateStateTransitionIdentitySignature(external_state_repository: any, js_state_transition: any, execution_context: StateTransitionExecutionContext, bls_adapter: any): Promise<ValidationResult>;
|
|
57
|
+
/**
|
|
56
58
|
* @param {Array<any>} js_raw_transitions
|
|
57
59
|
* @param {DataContract} data_contract
|
|
58
60
|
* @returns {ValidationResult}
|
|
@@ -93,23 +95,6 @@ export function validateDataContractUpdateTransitionBasic(state_repository: any,
|
|
|
93
95
|
*/
|
|
94
96
|
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>;
|
|
95
97
|
/**
|
|
96
|
-
* @param {any} external_state_repository
|
|
97
|
-
* @param {any} js_state_transition
|
|
98
|
-
* @param {any} bls_adapter
|
|
99
|
-
* @returns {Promise<ValidationResult>}
|
|
100
|
-
*/
|
|
101
|
-
export function validateStateTransitionIdentitySignature(external_state_repository: any, js_state_transition: any, bls_adapter: any): Promise<ValidationResult>;
|
|
102
|
-
/**
|
|
103
|
-
* @returns {number}
|
|
104
|
-
*/
|
|
105
|
-
export function getCreditsConversionRatio(): number;
|
|
106
|
-
/**
|
|
107
|
-
* @param {any} state_transition_js
|
|
108
|
-
* @param {StateTransitionExecutionContext} execution_context
|
|
109
|
-
* @returns {FeeResult}
|
|
110
|
-
*/
|
|
111
|
-
export function calculateStateTransitionFee(state_transition_js: any, execution_context: StateTransitionExecutionContext): FeeResult;
|
|
112
|
-
/**
|
|
113
98
|
* @param {any} state_repository
|
|
114
99
|
* @param {DocumentsBatchTransition} transition
|
|
115
100
|
* @param {StateTransitionExecutionContext} execution_context
|
|
@@ -117,6 +102,14 @@ export function calculateStateTransitionFee(state_transition_js: any, execution_
|
|
|
117
102
|
*/
|
|
118
103
|
export function applyDocumentsBatchTransition(state_repository: any, transition: DocumentsBatchTransition, execution_context: StateTransitionExecutionContext): Promise<void>;
|
|
119
104
|
/**
|
|
105
|
+
* @param {ProtocolVersionValidator} protocol_version_validator
|
|
106
|
+
* @param {any} state_repository
|
|
107
|
+
* @param {any} js_raw_state_transition
|
|
108
|
+
* @param {StateTransitionExecutionContext} execution_context
|
|
109
|
+
* @returns {Promise<ValidationResult>}
|
|
110
|
+
*/
|
|
111
|
+
export function validateDocumentsBatchTransitionBasic(protocol_version_validator: ProtocolVersionValidator, state_repository: any, js_raw_state_transition: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
|
|
112
|
+
/**
|
|
120
113
|
* @param {any} state_repository
|
|
121
114
|
* @param {DocumentsBatchTransition} state_transition
|
|
122
115
|
* @param {StateTransitionExecutionContext} execution_context
|
|
@@ -124,6 +117,10 @@ export function applyDocumentsBatchTransition(state_repository: any, transition:
|
|
|
124
117
|
*/
|
|
125
118
|
export function validateDocumentsBatchTransitionState(state_repository: any, state_transition: DocumentsBatchTransition, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
|
|
126
119
|
/**
|
|
120
|
+
* @returns {number}
|
|
121
|
+
*/
|
|
122
|
+
export function getCreditsConversionRatio(): number;
|
|
123
|
+
/**
|
|
127
124
|
* @param {any} state_repository
|
|
128
125
|
* @param {IdentityCreateTransition} state_transition
|
|
129
126
|
* @param {StateTransitionExecutionContext} execution_context
|
|
@@ -145,6 +142,12 @@ export function applyIdentityTopUpTransition(state_repository: any, state_transi
|
|
|
145
142
|
*/
|
|
146
143
|
export function applyIdentityUpdateTransition(state_repository: any, state_transition: IdentityUpdateTransition, execution_context: StateTransitionExecutionContext): Promise<void>;
|
|
147
144
|
/**
|
|
145
|
+
* @param {any} state_transition_js
|
|
146
|
+
* @param {StateTransitionExecutionContext} execution_context
|
|
147
|
+
* @returns {FeeResult}
|
|
148
|
+
*/
|
|
149
|
+
export function calculateStateTransitionFee(state_transition_js: any, execution_context: StateTransitionExecutionContext): FeeResult;
|
|
150
|
+
/**
|
|
148
151
|
* @param {any} state_repository
|
|
149
152
|
* @param {any} js_raw_document
|
|
150
153
|
* @returns {Promise<ValidationResult>}
|
|
@@ -166,14 +169,6 @@ export function generateDocumentId(contract_id: any, owner_id: any, document_typ
|
|
|
166
169
|
*/
|
|
167
170
|
export function findDuplicatesByIndices(js_raw_transitions: Array<any>, data_contract: DataContract, owner_id: any): any[];
|
|
168
171
|
/**
|
|
169
|
-
* @param {ProtocolVersionValidator} protocol_version_validator
|
|
170
|
-
* @param {any} state_repository
|
|
171
|
-
* @param {any} js_raw_state_transition
|
|
172
|
-
* @param {StateTransitionExecutionContext} execution_context
|
|
173
|
-
* @returns {Promise<ValidationResult>}
|
|
174
|
-
*/
|
|
175
|
-
export function validateDocumentsBatchTransitionBasic(protocol_version_validator: ProtocolVersionValidator, state_repository: any, js_raw_state_transition: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
|
|
176
|
-
/**
|
|
177
172
|
* @param {any} state_repository
|
|
178
173
|
* @param {Array<any>} js_document_transitions
|
|
179
174
|
* @param {StateTransitionExecutionContext} js_execution_context
|
|
@@ -212,6 +207,12 @@ export function validateDataContractCreateTransitionState(state_repository: any,
|
|
|
212
207
|
*/
|
|
213
208
|
export function validateDataContractCreateTransitionBasic(raw_parameters: any): Promise<ValidationResult>;
|
|
214
209
|
/**
|
|
210
|
+
* @param {Array<any>} operations
|
|
211
|
+
* @param {any} identity_id
|
|
212
|
+
* @returns {FeeResult}
|
|
213
|
+
*/
|
|
214
|
+
export function calculateStateTransitionFeeFromOperations(operations: Array<any>, identity_id: any): FeeResult;
|
|
215
|
+
/**
|
|
215
216
|
*/
|
|
216
217
|
export enum KeyPurpose {
|
|
217
218
|
/**
|
|
@@ -678,10 +679,9 @@ export class DataContractCreateTransition {
|
|
|
678
679
|
*/
|
|
679
680
|
toJSON(skip_signature?: boolean): any;
|
|
680
681
|
/**
|
|
681
|
-
* @param {boolean | undefined} skip_signature
|
|
682
682
|
* @returns {any}
|
|
683
683
|
*/
|
|
684
|
-
toBuffer(
|
|
684
|
+
toBuffer(): any;
|
|
685
685
|
/**
|
|
686
686
|
* @returns {any[]}
|
|
687
687
|
*/
|
|
@@ -976,10 +976,9 @@ export class DataContractUpdateTransition {
|
|
|
976
976
|
*/
|
|
977
977
|
toJSON(skip_signature?: boolean): any;
|
|
978
978
|
/**
|
|
979
|
-
* @param {boolean | undefined} skip_signature
|
|
980
979
|
* @returns {any}
|
|
981
980
|
*/
|
|
982
|
-
toBuffer(
|
|
981
|
+
toBuffer(): any;
|
|
983
982
|
/**
|
|
984
983
|
* @returns {any[]}
|
|
985
984
|
*/
|
|
@@ -1952,10 +1951,9 @@ export class DocumentsBatchTransition {
|
|
|
1952
1951
|
*/
|
|
1953
1952
|
isIdentityStateTransition(): boolean;
|
|
1954
1953
|
/**
|
|
1955
|
-
* @param {any} options
|
|
1956
1954
|
* @returns {any}
|
|
1957
1955
|
*/
|
|
1958
|
-
toBuffer(
|
|
1956
|
+
toBuffer(): any;
|
|
1959
1957
|
/**
|
|
1960
1958
|
* @param {any} options
|
|
1961
1959
|
* @returns {any}
|
|
@@ -2427,9 +2425,9 @@ export class Identity {
|
|
|
2427
2425
|
*/
|
|
2428
2426
|
toObject(): any;
|
|
2429
2427
|
/**
|
|
2430
|
-
* @returns {
|
|
2428
|
+
* @returns {any}
|
|
2431
2429
|
*/
|
|
2432
|
-
toBuffer():
|
|
2430
|
+
toBuffer(): any;
|
|
2433
2431
|
/**
|
|
2434
2432
|
* @returns {Uint8Array}
|
|
2435
2433
|
*/
|
|
@@ -2604,10 +2602,9 @@ export class IdentityCreateTransition {
|
|
|
2604
2602
|
*/
|
|
2605
2603
|
toObject(options: any): any;
|
|
2606
2604
|
/**
|
|
2607
|
-
* @param {any} options
|
|
2608
2605
|
* @returns {any}
|
|
2609
2606
|
*/
|
|
2610
|
-
toBuffer(
|
|
2607
|
+
toBuffer(): any;
|
|
2611
2608
|
/**
|
|
2612
2609
|
* @returns {any}
|
|
2613
2610
|
*/
|
|
@@ -3116,10 +3113,9 @@ export class IdentityTopUpTransition {
|
|
|
3116
3113
|
*/
|
|
3117
3114
|
toObject(options: any): any;
|
|
3118
3115
|
/**
|
|
3119
|
-
* @param {any} options
|
|
3120
3116
|
* @returns {any}
|
|
3121
3117
|
*/
|
|
3122
|
-
toBuffer(
|
|
3118
|
+
toBuffer(): any;
|
|
3123
3119
|
/**
|
|
3124
3120
|
* @returns {any}
|
|
3125
3121
|
*/
|
|
@@ -3258,10 +3254,9 @@ export class IdentityUpdateTransition {
|
|
|
3258
3254
|
*/
|
|
3259
3255
|
toObject(options: any): any;
|
|
3260
3256
|
/**
|
|
3261
|
-
* @param {any} options
|
|
3262
3257
|
* @returns {any}
|
|
3263
3258
|
*/
|
|
3264
|
-
toBuffer(
|
|
3259
|
+
toBuffer(): any;
|
|
3265
3260
|
/**
|
|
3266
3261
|
* @returns {any}
|
|
3267
3262
|
*/
|
|
@@ -4288,9 +4283,9 @@ export class InvalidSignaturePublicKeySecurityLevelError {
|
|
|
4288
4283
|
*/
|
|
4289
4284
|
getPublicKeySecurityLevel(): number;
|
|
4290
4285
|
/**
|
|
4291
|
-
* @returns {
|
|
4286
|
+
* @returns {Array<any>}
|
|
4292
4287
|
*/
|
|
4293
|
-
getKeySecurityLevelRequirement():
|
|
4288
|
+
getKeySecurityLevelRequirement(): Array<any>;
|
|
4294
4289
|
/**
|
|
4295
4290
|
* @returns {number}
|
|
4296
4291
|
*/
|
|
@@ -5351,28 +5346,35 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
5351
5346
|
|
|
5352
5347
|
export interface InitOutput {
|
|
5353
5348
|
readonly memory: WebAssembly.Memory;
|
|
5354
|
-
readonly __wbg_indexproperty_free: (a: number) => void;
|
|
5355
|
-
readonly indexproperty_isAscending: (a: number) => number;
|
|
5356
|
-
readonly __wbg_indexdefinition_free: (a: number) => void;
|
|
5357
|
-
readonly indexdefinition_getName: (a: number, b: number) => void;
|
|
5358
|
-
readonly indexdefinition_getProperties: (a: number, b: number) => void;
|
|
5359
|
-
readonly indexdefinition_isUnique: (a: number) => number;
|
|
5360
|
-
readonly indexdefinition_toObject: (a: number, b: number) => void;
|
|
5361
5349
|
readonly __wbg_invalidactionnameerror_free: (a: number) => void;
|
|
5362
5350
|
readonly invalidactionnameerror_new: (a: number, b: number) => number;
|
|
5363
5351
|
readonly invalidactionnameerror_getActions: (a: number, b: number) => void;
|
|
5364
|
-
readonly
|
|
5365
|
-
readonly
|
|
5366
|
-
readonly
|
|
5352
|
+
readonly __wbg_document_free: (a: number) => void;
|
|
5353
|
+
readonly document_new: (a: number, b: number, c: number, d: number) => void;
|
|
5354
|
+
readonly document_getId: (a: number) => number;
|
|
5355
|
+
readonly document_setId: (a: number, b: number) => void;
|
|
5356
|
+
readonly document_setOwnerId: (a: number, b: number) => void;
|
|
5357
|
+
readonly document_getOwnerId: (a: number) => number;
|
|
5358
|
+
readonly document_setRevision: (a: number, b: number, c: number) => void;
|
|
5359
|
+
readonly document_getRevision: (a: number, b: number) => void;
|
|
5360
|
+
readonly document_setData: (a: number, b: number, c: number) => void;
|
|
5361
|
+
readonly document_getData: (a: number, b: number) => void;
|
|
5362
|
+
readonly document_set: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5363
|
+
readonly document_get: (a: number, b: number, c: number, d: number) => void;
|
|
5364
|
+
readonly document_setCreatedAt: (a: number, b: number) => void;
|
|
5365
|
+
readonly document_setUpdatedAt: (a: number, b: number) => void;
|
|
5366
|
+
readonly document_getCreatedAt: (a: number) => number;
|
|
5367
|
+
readonly document_getUpdatedAt: (a: number) => number;
|
|
5368
|
+
readonly document_toObject: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
5369
|
+
readonly document_toJSON: (a: number, b: number) => void;
|
|
5370
|
+
readonly document_toBuffer: (a: number, b: number) => void;
|
|
5371
|
+
readonly document_hash: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5372
|
+
readonly document_clone: (a: number) => number;
|
|
5373
|
+
readonly __wbg_invalidjsonschemareferror_free: (a: number) => void;
|
|
5367
5374
|
readonly invalidjsonschemareferror_getRefError: (a: number, b: number) => void;
|
|
5368
5375
|
readonly invalidjsonschemareferror_getCode: (a: number) => number;
|
|
5369
5376
|
readonly invalidjsonschemareferror_message: (a: number, b: number) => void;
|
|
5370
5377
|
readonly invalidjsonschemareferror_serialize: (a: number, b: number) => void;
|
|
5371
|
-
readonly __wbg_identityassetlocktransactionisnotfounderror_free: (a: number) => void;
|
|
5372
|
-
readonly identityassetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
|
|
5373
|
-
readonly identityassetlocktransactionisnotfounderror_getCode: (a: number) => number;
|
|
5374
|
-
readonly identityassetlocktransactionisnotfounderror_message: (a: number, b: number) => void;
|
|
5375
|
-
readonly identityassetlocktransactionisnotfounderror_serialize: (a: number, b: number) => void;
|
|
5376
5378
|
readonly __wbg_identityassetlocktransactionoutputnotfounderror_free: (a: number) => void;
|
|
5377
5379
|
readonly identityassetlocktransactionoutputnotfounderror_getOutputIndex: (a: number) => number;
|
|
5378
5380
|
readonly identityassetlocktransactionoutputnotfounderror_getCode: (a: number) => number;
|
|
@@ -5382,11 +5384,6 @@ export interface InitOutput {
|
|
|
5382
5384
|
readonly invalidassetlocktransactionoutputreturnsizeerror_getCode: (a: number) => number;
|
|
5383
5385
|
readonly invalidassetlocktransactionoutputreturnsizeerror_message: (a: number, b: number) => void;
|
|
5384
5386
|
readonly invalidassetlocktransactionoutputreturnsizeerror_serialize: (a: number, b: number) => void;
|
|
5385
|
-
readonly __wbg_invalididentityassetlocktransactionerror_free: (a: number) => void;
|
|
5386
|
-
readonly invalididentityassetlocktransactionerror_getErrorMessage: (a: number, b: number) => void;
|
|
5387
|
-
readonly invalididentityassetlocktransactionerror_getCode: (a: number) => number;
|
|
5388
|
-
readonly invalididentityassetlocktransactionerror_message: (a: number, b: number) => void;
|
|
5389
|
-
readonly invalididentityassetlocktransactionerror_serialize: (a: number, b: number) => void;
|
|
5390
5387
|
readonly invalididentityassetlocktransactionoutputerror_getOutputIndex: (a: number) => number;
|
|
5391
5388
|
readonly invalididentityassetlocktransactionoutputerror_getCode: (a: number) => number;
|
|
5392
5389
|
readonly invalididentityassetlocktransactionoutputerror_message: (a: number, b: number) => void;
|
|
@@ -5395,6 +5392,10 @@ export interface InitOutput {
|
|
|
5395
5392
|
readonly invalididentitycreditwithdrawaltransitioncorefeeerror_getCode: (a: number) => number;
|
|
5396
5393
|
readonly invalididentitycreditwithdrawaltransitioncorefeeerror_message: (a: number, b: number) => void;
|
|
5397
5394
|
readonly invalididentitycreditwithdrawaltransitioncorefeeerror_serialize: (a: number, b: number) => void;
|
|
5395
|
+
readonly __wbg_invalididentitycreditwithdrawaltransitionoutputscripterror_free: (a: number) => void;
|
|
5396
|
+
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_getCode: (a: number) => number;
|
|
5397
|
+
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_message: (a: number, b: number) => void;
|
|
5398
|
+
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_serialize: (a: number, b: number) => void;
|
|
5398
5399
|
readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_getPooling: (a: number) => number;
|
|
5399
5400
|
readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_getCode: (a: number) => number;
|
|
5400
5401
|
readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_message: (a: number, b: number) => void;
|
|
@@ -5407,14 +5408,21 @@ export interface InitOutput {
|
|
|
5407
5408
|
readonly missingpublickeyerror_getCode: (a: number) => number;
|
|
5408
5409
|
readonly missingpublickeyerror_message: (a: number, b: number) => void;
|
|
5409
5410
|
readonly missingpublickeyerror_serialize: (a: number, b: number) => void;
|
|
5410
|
-
readonly
|
|
5411
|
-
readonly
|
|
5412
|
-
readonly
|
|
5413
|
-
readonly
|
|
5411
|
+
readonly __wbg_jsonschemaerror_free: (a: number) => void;
|
|
5412
|
+
readonly jsonschemaerror_getKeyword: (a: number, b: number) => void;
|
|
5413
|
+
readonly jsonschemaerror_getInstancePath: (a: number, b: number) => void;
|
|
5414
|
+
readonly jsonschemaerror_getSchemaPath: (a: number, b: number) => void;
|
|
5415
|
+
readonly jsonschemaerror_getPropertyName: (a: number, b: number) => void;
|
|
5416
|
+
readonly jsonschemaerror_getParams: (a: number, b: number) => void;
|
|
5417
|
+
readonly jsonschemaerror_getCode: (a: number) => number;
|
|
5418
|
+
readonly jsonschemaerror_toString: (a: number, b: number) => void;
|
|
5419
|
+
readonly jsonschemaerror_message: (a: number, b: number) => void;
|
|
5420
|
+
readonly jsonschemaerror_serialize: (a: number, b: number) => void;
|
|
5414
5421
|
readonly publickeyisdisablederror_getPublicKeyId: (a: number) => number;
|
|
5415
5422
|
readonly publickeyisdisablederror_getCode: (a: number) => number;
|
|
5416
5423
|
readonly publickeyisdisablederror_message: (a: number, b: number) => void;
|
|
5417
5424
|
readonly publickeyisdisablederror_serialize: (a: number, b: number) => void;
|
|
5425
|
+
readonly deserializeConsensusError: (a: number, b: number, c: number) => void;
|
|
5418
5426
|
readonly identitypublickeyisdisablederror_getPublicKeyIndex: (a: number) => number;
|
|
5419
5427
|
readonly identitypublickeyisdisablederror_getCode: (a: number) => number;
|
|
5420
5428
|
readonly identitypublickeyisdisablederror_message: (a: number, b: number) => void;
|
|
@@ -5427,28 +5435,7 @@ export interface InitOutput {
|
|
|
5427
5435
|
readonly maxidentitypublickeylimitreachederror_getCode: (a: number) => number;
|
|
5428
5436
|
readonly maxidentitypublickeylimitreachederror_message: (a: number, b: number) => void;
|
|
5429
5437
|
readonly maxidentitypublickeylimitreachederror_serialize: (a: number, b: number) => void;
|
|
5430
|
-
readonly
|
|
5431
|
-
readonly missingidentitypublickeyidserror_getDuplicatedIds: (a: number) => number;
|
|
5432
|
-
readonly valueerror_getMessage: (a: number, b: number) => void;
|
|
5433
|
-
readonly valueerror_getCode: (a: number) => number;
|
|
5434
|
-
readonly valueerror_message: (a: number, b: number) => void;
|
|
5435
|
-
readonly valueerror_serialize: (a: number, b: number) => void;
|
|
5436
|
-
readonly __wbg_publickeysvalidator_free: (a: number) => void;
|
|
5437
|
-
readonly publickeysvalidator_new: (a: number, b: number) => void;
|
|
5438
|
-
readonly publickeysvalidator_validateKeys: (a: number, b: number, c: number) => void;
|
|
5439
|
-
readonly publickeysvalidator_validatePublicKeyStructure: (a: number, b: number, c: number) => void;
|
|
5440
|
-
readonly publickeysvalidator_validateKeysInStateTransition: (a: number, b: number, c: number) => void;
|
|
5441
|
-
readonly __wbg_instantassetlockproof_free: (a: number) => void;
|
|
5442
|
-
readonly instantassetlockproof_new: (a: number, b: number) => void;
|
|
5443
|
-
readonly instantassetlockproof_getType: (a: number) => number;
|
|
5444
|
-
readonly instantassetlockproof_getOutputIndex: (a: number) => number;
|
|
5445
|
-
readonly instantassetlockproof_getOutPoint: (a: number) => number;
|
|
5446
|
-
readonly instantassetlockproof_getOutput: (a: number, b: number) => void;
|
|
5447
|
-
readonly instantassetlockproof_createIdentifier: (a: number, b: number) => void;
|
|
5448
|
-
readonly instantassetlockproof_getInstantLock: (a: number) => number;
|
|
5449
|
-
readonly instantassetlockproof_getTransaction: (a: number) => number;
|
|
5450
|
-
readonly instantassetlockproof_toObject: (a: number, b: number) => void;
|
|
5451
|
-
readonly instantassetlockproof_toJSON: (a: number, b: number) => void;
|
|
5438
|
+
readonly __wbg_assetlockoutputnotfounderror_free: (a: number) => void;
|
|
5452
5439
|
readonly __wbg_identitycreatetransition_free: (a: number) => void;
|
|
5453
5440
|
readonly identitycreatetransition_new: (a: number, b: number) => void;
|
|
5454
5441
|
readonly identitycreatetransition_setAssetLockProof: (a: number, b: number, c: number) => void;
|
|
@@ -5460,7 +5447,7 @@ export interface InitOutput {
|
|
|
5460
5447
|
readonly identitycreatetransition_getIdentityId: (a: number) => number;
|
|
5461
5448
|
readonly identitycreatetransition_getOwnerId: (a: number) => number;
|
|
5462
5449
|
readonly identitycreatetransition_toObject: (a: number, b: number, c: number) => void;
|
|
5463
|
-
readonly identitycreatetransition_toBuffer: (a: number, b: number
|
|
5450
|
+
readonly identitycreatetransition_toBuffer: (a: number, b: number) => void;
|
|
5464
5451
|
readonly identitycreatetransition_toJSON: (a: number, b: number) => void;
|
|
5465
5452
|
readonly identitycreatetransition_getModifiedDataIds: (a: number, b: number) => void;
|
|
5466
5453
|
readonly identitycreatetransition_isDataContractStateTransition: (a: number) => number;
|
|
@@ -5469,7 +5456,6 @@ export interface InitOutput {
|
|
|
5469
5456
|
readonly identitycreatetransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
5470
5457
|
readonly identitycreatetransition_getSignature: (a: number) => number;
|
|
5471
5458
|
readonly identitycreatetransition_setSignature: (a: number, b: number, c: number) => void;
|
|
5472
|
-
readonly calculateStateTransitionFeeFromOperations: (a: number, b: number, c: number) => void;
|
|
5473
5459
|
readonly __wbg_dummyfeesresult_free: (a: number) => void;
|
|
5474
5460
|
readonly dummyfeesresult_storageFee: (a: number) => number;
|
|
5475
5461
|
readonly dummyfeesresult_processingFee: (a: number) => number;
|
|
@@ -5486,19 +5472,10 @@ export interface InitOutput {
|
|
|
5486
5472
|
readonly __wbg_statetransitionfeevalidator_free: (a: number) => void;
|
|
5487
5473
|
readonly statetransitionfeevalidator_new: (a: number) => number;
|
|
5488
5474
|
readonly statetransitionfeevalidator_validate: (a: number, b: number, c: number) => number;
|
|
5489
|
-
readonly
|
|
5490
|
-
readonly statetransitionexecutioncontext_new: () => number;
|
|
5491
|
-
readonly statetransitionexecutioncontext_enableDryRun: (a: number) => void;
|
|
5492
|
-
readonly statetransitionexecutioncontext_disableDryRun: (a: number) => void;
|
|
5493
|
-
readonly statetransitionexecutioncontext_isDryRun: (a: number) => number;
|
|
5494
|
-
readonly statetransitionexecutioncontext_addOperation: (a: number, b: number, c: number) => void;
|
|
5495
|
-
readonly statetransitionexecutioncontext_getDryOperations: (a: number, b: number) => void;
|
|
5496
|
-
readonly statetransitionexecutioncontext_getOperations: (a: number, b: number) => void;
|
|
5497
|
-
readonly statetransitionexecutioncontext_clearDryOperations: (a: number) => void;
|
|
5475
|
+
readonly generateTemporaryEcdsaPrivateKey: () => number;
|
|
5498
5476
|
readonly identitycreatetransition_publicKeys: (a: number, b: number) => void;
|
|
5499
5477
|
readonly identitycreatetransition_getAssetLockProof: (a: number) => number;
|
|
5500
5478
|
readonly identitycreatetransition_identityId: (a: number) => number;
|
|
5501
|
-
readonly indexproperty_getName: (a: number, b: number) => void;
|
|
5502
5479
|
readonly __wbg_invalidassetlocktransactionoutputreturnsizeerror_free: (a: number) => void;
|
|
5503
5480
|
readonly __wbg_invalididentityassetlocktransactionoutputerror_free: (a: number) => void;
|
|
5504
5481
|
readonly __wbg_invalididentitycreditwithdrawaltransitioncorefeeerror_free: (a: number) => void;
|
|
@@ -5509,48 +5486,22 @@ export interface InitOutput {
|
|
|
5509
5486
|
readonly __wbg_identitypublickeyisdisablederror_free: (a: number) => void;
|
|
5510
5487
|
readonly __wbg_invalididentitypublickeyiderror_free: (a: number) => void;
|
|
5511
5488
|
readonly __wbg_maxidentitypublickeylimitreachederror_free: (a: number) => void;
|
|
5512
|
-
readonly
|
|
5513
|
-
readonly
|
|
5514
|
-
readonly
|
|
5489
|
+
readonly __wbg_dashplatformprotocol_free: (a: number) => void;
|
|
5490
|
+
readonly dashplatformprotocol_new: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
5491
|
+
readonly dashplatformprotocol_data_contract: (a: number) => number;
|
|
5492
|
+
readonly dashplatformprotocol_document: (a: number) => number;
|
|
5493
|
+
readonly dashplatformprotocol_identity: (a: number) => number;
|
|
5494
|
+
readonly dashplatformprotocol_state_transition: (a: number) => number;
|
|
5495
|
+
readonly dashplatformprotocol_getProtocolVersion: (a: number) => number;
|
|
5496
|
+
readonly dashplatformprotocol_setProtocolVersion: (a: number, b: number, c: number) => void;
|
|
5497
|
+
readonly dashplatformprotocol_setStateRepository: (a: number, b: number, c: number) => void;
|
|
5498
|
+
readonly dashplatformprotocol_getStateRepository: (a: number) => number;
|
|
5499
|
+
readonly __wbg_documentnorevisionerror_free: (a: number) => void;
|
|
5500
|
+
readonly documentnorevisionerror_new: (a: number) => number;
|
|
5501
|
+
readonly documentnorevisionerror_getDocument: (a: number) => number;
|
|
5515
5502
|
readonly __wbg_invalidinitialrevisionerror_free: (a: number) => void;
|
|
5516
5503
|
readonly invalidinitialrevisionerror_new: (a: number) => number;
|
|
5517
5504
|
readonly invalidinitialrevisionerror_getDocument: (a: number) => number;
|
|
5518
|
-
readonly __wbg_document_free: (a: number) => void;
|
|
5519
|
-
readonly document_new: (a: number, b: number, c: number, d: number) => void;
|
|
5520
|
-
readonly document_getId: (a: number) => number;
|
|
5521
|
-
readonly document_setId: (a: number, b: number) => void;
|
|
5522
|
-
readonly document_setOwnerId: (a: number, b: number) => void;
|
|
5523
|
-
readonly document_getOwnerId: (a: number) => number;
|
|
5524
|
-
readonly document_setRevision: (a: number, b: number, c: number) => void;
|
|
5525
|
-
readonly document_getRevision: (a: number, b: number) => void;
|
|
5526
|
-
readonly document_setData: (a: number, b: number, c: number) => void;
|
|
5527
|
-
readonly document_getData: (a: number, b: number) => void;
|
|
5528
|
-
readonly document_set: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5529
|
-
readonly document_get: (a: number, b: number, c: number, d: number) => void;
|
|
5530
|
-
readonly document_setCreatedAt: (a: number, b: number) => void;
|
|
5531
|
-
readonly document_setUpdatedAt: (a: number, b: number) => void;
|
|
5532
|
-
readonly document_getCreatedAt: (a: number) => number;
|
|
5533
|
-
readonly document_getUpdatedAt: (a: number) => number;
|
|
5534
|
-
readonly document_toObject: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
5535
|
-
readonly document_toJSON: (a: number, b: number) => void;
|
|
5536
|
-
readonly document_toBuffer: (a: number, b: number) => void;
|
|
5537
|
-
readonly document_hash: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5538
|
-
readonly document_clone: (a: number) => number;
|
|
5539
|
-
readonly __wbg_invalididentitycreditwithdrawaltransitionoutputscripterror_free: (a: number) => void;
|
|
5540
|
-
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_getCode: (a: number) => number;
|
|
5541
|
-
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_message: (a: number, b: number) => void;
|
|
5542
|
-
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_serialize: (a: number, b: number) => void;
|
|
5543
|
-
readonly __wbg_jsonschemaerror_free: (a: number) => void;
|
|
5544
|
-
readonly jsonschemaerror_getKeyword: (a: number, b: number) => void;
|
|
5545
|
-
readonly jsonschemaerror_getInstancePath: (a: number, b: number) => void;
|
|
5546
|
-
readonly jsonschemaerror_getSchemaPath: (a: number, b: number) => void;
|
|
5547
|
-
readonly jsonschemaerror_getPropertyName: (a: number, b: number) => void;
|
|
5548
|
-
readonly jsonschemaerror_getParams: (a: number, b: number) => void;
|
|
5549
|
-
readonly jsonschemaerror_getCode: (a: number) => number;
|
|
5550
|
-
readonly jsonschemaerror_toString: (a: number, b: number) => void;
|
|
5551
|
-
readonly jsonschemaerror_message: (a: number, b: number) => void;
|
|
5552
|
-
readonly jsonschemaerror_serialize: (a: number, b: number) => void;
|
|
5553
|
-
readonly deserializeConsensusError: (a: number, b: number, c: number) => void;
|
|
5554
5505
|
readonly __wbg_documenttimestampwindowviolationerror_free: (a: number) => void;
|
|
5555
5506
|
readonly documenttimestampwindowviolationerror_getDocumentId: (a: number) => number;
|
|
5556
5507
|
readonly documenttimestampwindowviolationerror_getTimestampName: (a: number, b: number) => void;
|
|
@@ -5560,6 +5511,7 @@ export interface InitOutput {
|
|
|
5560
5511
|
readonly documenttimestampwindowviolationerror_getCode: (a: number) => number;
|
|
5561
5512
|
readonly documenttimestampwindowviolationerror_message: (a: number, b: number) => void;
|
|
5562
5513
|
readonly documenttimestampwindowviolationerror_serialize: (a: number, b: number) => void;
|
|
5514
|
+
readonly datacontractnotpresentnotconsensuserror_getDataContractId: (a: number) => number;
|
|
5563
5515
|
readonly __wbg_identityfactory_free: (a: number) => void;
|
|
5564
5516
|
readonly identityfactory_new: (a: number, b: number, c: number) => void;
|
|
5565
5517
|
readonly identityfactory_create: (a: number, b: number, c: number, d: number) => void;
|
|
@@ -5570,27 +5522,18 @@ export interface InitOutput {
|
|
|
5570
5522
|
readonly identityfactory_createIdentityCreateTransition: (a: number, b: number, c: number) => void;
|
|
5571
5523
|
readonly identityfactory_createIdentityTopUpTransition: (a: number, b: number, c: number, d: number) => void;
|
|
5572
5524
|
readonly identityfactory_createIdentityUpdateTransition: (a: number, b: number, c: number, d: number) => void;
|
|
5573
|
-
readonly __wbg_assetlockoutputnotfounderror_free: (a: number) => void;
|
|
5574
5525
|
readonly __wbg_assetlocktransactionisnotfounderror_free: (a: number) => void;
|
|
5575
5526
|
readonly assetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
|
|
5576
|
-
readonly
|
|
5527
|
+
readonly __wbg_identitycreatetransitionbasicvalidator_free: (a: number) => void;
|
|
5528
|
+
readonly identitycreatetransitionbasicvalidator_new: (a: number, b: number, c: number) => void;
|
|
5529
|
+
readonly identitycreatetransitionbasicvalidator_validate: (a: number, b: number, c: number) => number;
|
|
5577
5530
|
readonly tryingtoreplaceimmutabledocumenterror_new: (a: number) => number;
|
|
5531
|
+
readonly dashplatformprotocol_protocol_version: (a: number) => number;
|
|
5578
5532
|
readonly __wbg_tryingtoreplaceimmutabledocumenterror_free: (a: number) => void;
|
|
5579
|
-
readonly
|
|
5580
|
-
readonly
|
|
5581
|
-
readonly dashplatformprotocol_data_contract: (a: number) => number;
|
|
5582
|
-
readonly dashplatformprotocol_document: (a: number) => number;
|
|
5583
|
-
readonly dashplatformprotocol_identity: (a: number) => number;
|
|
5584
|
-
readonly dashplatformprotocol_state_transition: (a: number) => number;
|
|
5585
|
-
readonly dashplatformprotocol_getProtocolVersion: (a: number) => number;
|
|
5586
|
-
readonly dashplatformprotocol_setProtocolVersion: (a: number, b: number, c: number) => void;
|
|
5587
|
-
readonly dashplatformprotocol_setStateRepository: (a: number, b: number, c: number) => void;
|
|
5588
|
-
readonly dashplatformprotocol_getStateRepository: (a: number) => number;
|
|
5533
|
+
readonly __wbg_datacontractnotpresentnotconsensuserror_free: (a: number) => void;
|
|
5534
|
+
readonly datacontractgenericerror_getMessage: (a: number, b: number) => void;
|
|
5589
5535
|
readonly __wbg_documentalreadyexistserror_free: (a: number) => void;
|
|
5590
5536
|
readonly documentalreadyexistserror_getDocumentTransition: (a: number) => number;
|
|
5591
|
-
readonly __wbg_documentnorevisionerror_free: (a: number) => void;
|
|
5592
|
-
readonly documentnorevisionerror_new: (a: number) => number;
|
|
5593
|
-
readonly documentnorevisionerror_getDocument: (a: number) => number;
|
|
5594
5537
|
readonly __wbg_documentfacade_free: (a: number) => void;
|
|
5595
5538
|
readonly documentfacade_new: (a: number, b: number, c: number) => number;
|
|
5596
5539
|
readonly documentfacade_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
@@ -5600,7 +5543,6 @@ export interface InitOutput {
|
|
|
5600
5543
|
readonly documentfacade_validate: (a: number, b: number) => number;
|
|
5601
5544
|
readonly documentfacade_validate_raw_document: (a: number, b: number) => number;
|
|
5602
5545
|
readonly findDuplicatesById: (a: number, b: number) => void;
|
|
5603
|
-
readonly __wbg_invalididentitypublickeytypeerror_free: (a: number) => void;
|
|
5604
5546
|
readonly invalididentitypublickeytypeerror_new: (a: number, b: number) => void;
|
|
5605
5547
|
readonly invalididentitypublickeytypeerror_getPublicKeyType: (a: number) => number;
|
|
5606
5548
|
readonly invalididentitypublickeytypeerror_getCode: (a: number) => number;
|
|
@@ -5619,23 +5561,9 @@ export interface InitOutput {
|
|
|
5619
5561
|
readonly signatureshouldnotbepresenterror_getCode: (a: number) => number;
|
|
5620
5562
|
readonly signatureshouldnotbepresenterror_message: (a: number, b: number) => void;
|
|
5621
5563
|
readonly signatureshouldnotbepresenterror_serialize: (a: number, b: number) => void;
|
|
5622
|
-
readonly
|
|
5623
|
-
readonly
|
|
5564
|
+
readonly __wbg_compatibleprotocolversionisnotdefinederror_free: (a: number) => void;
|
|
5565
|
+
readonly compatibleprotocolversionisnotdefinederror_getCurrentProtocolVersion: (a: number) => number;
|
|
5624
5566
|
readonly unknownassetlockprooftypeerror_getType: (a: number) => number;
|
|
5625
|
-
readonly __wbg_identitycreatetransitionbasicvalidator_free: (a: number) => void;
|
|
5626
|
-
readonly identitycreatetransitionbasicvalidator_new: (a: number, b: number, c: number) => void;
|
|
5627
|
-
readonly identitycreatetransitionbasicvalidator_validate: (a: number, b: number, c: number) => number;
|
|
5628
|
-
readonly dashplatformprotocol_protocol_version: (a: number) => number;
|
|
5629
|
-
readonly __wbg_documentnotprovidederror_free: (a: number) => void;
|
|
5630
|
-
readonly __wbg_invaliddocumentactionerror_free: (a: number) => void;
|
|
5631
|
-
readonly __wbg_unknownassetlockprooftypeerror_free: (a: number) => void;
|
|
5632
|
-
readonly documentnotprovidederror_getDocumentTransition: (a: number) => number;
|
|
5633
|
-
readonly invaliddocumentactionerror_getDocumentTransition: (a: number) => number;
|
|
5634
|
-
readonly __wbg_invalidinstantassetlockprooferror_free: (a: number) => void;
|
|
5635
|
-
readonly __wbg_basicecdsaerror_free: (a: number) => void;
|
|
5636
|
-
readonly __wbg_signatureshouldnotbepresenterror_free: (a: number) => void;
|
|
5637
|
-
readonly __wbg_datacontractgenericerror_free: (a: number) => void;
|
|
5638
|
-
readonly datacontractgenericerror_getMessage: (a: number, b: number) => void;
|
|
5639
5567
|
readonly __wbg_assetlockproof_free: (a: number) => void;
|
|
5640
5568
|
readonly assetlockproof_new: (a: number, b: number) => void;
|
|
5641
5569
|
readonly assetlockproof_createIdentifier: (a: number, b: number) => void;
|
|
@@ -5644,6 +5572,30 @@ export interface InitOutput {
|
|
|
5644
5572
|
readonly validateAssetLockTransaction: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
5645
5573
|
readonly fetchAssetLockTransactionOutput: (a: number, b: number, c: number) => number;
|
|
5646
5574
|
readonly fetchAssetLockPublicKeyHash: (a: number, b: number, c: number) => number;
|
|
5575
|
+
readonly calculateOperationFees: (a: number, b: number) => void;
|
|
5576
|
+
readonly validateStateTransitionIdentitySignature: (a: number, b: number, c: number, d: number) => number;
|
|
5577
|
+
readonly __wbg_protocolversionvalidator_free: (a: number) => void;
|
|
5578
|
+
readonly protocolversionvalidator_new: (a: number, b: number) => void;
|
|
5579
|
+
readonly protocolversionvalidator_validate: (a: number, b: number, c: number) => void;
|
|
5580
|
+
readonly __wbg_documentnotprovidederror_free: (a: number) => void;
|
|
5581
|
+
readonly __wbg_invaliddocumentactionerror_free: (a: number) => void;
|
|
5582
|
+
readonly __wbg_invalididentitypublickeytypeerror_free: (a: number) => void;
|
|
5583
|
+
readonly __wbg_unknownassetlockprooftypeerror_free: (a: number) => void;
|
|
5584
|
+
readonly documentnotprovidederror_getDocumentTransition: (a: number) => number;
|
|
5585
|
+
readonly invaliddocumentactionerror_getDocumentTransition: (a: number) => number;
|
|
5586
|
+
readonly __wbg_invalidinstantassetlockprooferror_free: (a: number) => void;
|
|
5587
|
+
readonly __wbg_datacontractgenericerror_free: (a: number) => void;
|
|
5588
|
+
readonly __wbg_basicecdsaerror_free: (a: number) => void;
|
|
5589
|
+
readonly __wbg_signatureshouldnotbepresenterror_free: (a: number) => void;
|
|
5590
|
+
readonly __wbg_revisionabsenterror_free: (a: number) => void;
|
|
5591
|
+
readonly revisionabsenterror_new: (a: number) => number;
|
|
5592
|
+
readonly revisionabsenterror_getDocument: (a: number) => number;
|
|
5593
|
+
readonly __wbg_protocolversionparsingerror_free: (a: number) => void;
|
|
5594
|
+
readonly protocolversionparsingerror_new: (a: number, b: number) => number;
|
|
5595
|
+
readonly protocolversionparsingerror_getParsingError: (a: number, b: number) => void;
|
|
5596
|
+
readonly protocolversionparsingerror_getCode: (a: number) => number;
|
|
5597
|
+
readonly protocolversionparsingerror_serialize: (a: number, b: number) => void;
|
|
5598
|
+
readonly protocolversionparsingerror_message: (a: number, b: number) => void;
|
|
5647
5599
|
readonly __wbg_identitytopuptransition_free: (a: number) => void;
|
|
5648
5600
|
readonly identitytopuptransition_new: (a: number, b: number) => void;
|
|
5649
5601
|
readonly identitytopuptransition_setAssetLockProof: (a: number, b: number, c: number) => void;
|
|
@@ -5652,7 +5604,7 @@ export interface InitOutput {
|
|
|
5652
5604
|
readonly identitytopuptransition_getIdentityId: (a: number) => number;
|
|
5653
5605
|
readonly identitytopuptransition_getOwnerId: (a: number) => number;
|
|
5654
5606
|
readonly identitytopuptransition_toObject: (a: number, b: number, c: number) => void;
|
|
5655
|
-
readonly identitytopuptransition_toBuffer: (a: number, b: number
|
|
5607
|
+
readonly identitytopuptransition_toBuffer: (a: number, b: number) => void;
|
|
5656
5608
|
readonly identitytopuptransition_toJSON: (a: number, b: number) => void;
|
|
5657
5609
|
readonly identitytopuptransition_getModifiedDataIds: (a: number, b: number) => void;
|
|
5658
5610
|
readonly identitytopuptransition_isDataContractStateTransition: (a: number) => number;
|
|
@@ -5661,22 +5613,18 @@ export interface InitOutput {
|
|
|
5661
5613
|
readonly identitytopuptransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
5662
5614
|
readonly identitytopuptransition_getSignature: (a: number) => number;
|
|
5663
5615
|
readonly identitytopuptransition_setSignature: (a: number, b: number, c: number) => void;
|
|
5664
|
-
readonly calculateOperationFees: (a: number, b: number) => void;
|
|
5665
|
-
readonly __wbg_protocolversionvalidator_free: (a: number) => void;
|
|
5666
|
-
readonly protocolversionvalidator_new: (a: number, b: number) => void;
|
|
5667
|
-
readonly protocolversionvalidator_validate: (a: number, b: number, c: number) => void;
|
|
5668
5616
|
readonly identitytopuptransition_getAssetLockProof: (a: number) => number;
|
|
5669
5617
|
readonly identitytopuptransition_identityId: (a: number) => number;
|
|
5670
|
-
readonly __wbg_revisionabsenterror_free: (a: number) => void;
|
|
5671
|
-
readonly revisionabsenterror_new: (a: number) => number;
|
|
5672
|
-
readonly revisionabsenterror_getDocument: (a: number) => number;
|
|
5673
5618
|
readonly validatePartialCompoundIndices: (a: number, b: number, c: number) => void;
|
|
5674
|
-
readonly
|
|
5675
|
-
readonly
|
|
5676
|
-
readonly
|
|
5677
|
-
readonly
|
|
5678
|
-
readonly
|
|
5679
|
-
readonly
|
|
5619
|
+
readonly __wbg_invalidindexedpropertyconstrainterror_free: (a: number) => void;
|
|
5620
|
+
readonly invalidindexedpropertyconstrainterror_getDocumentType: (a: number, b: number) => void;
|
|
5621
|
+
readonly invalidindexedpropertyconstrainterror_getIndexName: (a: number, b: number) => void;
|
|
5622
|
+
readonly invalidindexedpropertyconstrainterror_getPropertyName: (a: number, b: number) => void;
|
|
5623
|
+
readonly invalidindexedpropertyconstrainterror_getConstraintName: (a: number, b: number) => void;
|
|
5624
|
+
readonly invalidindexedpropertyconstrainterror_getReason: (a: number, b: number) => void;
|
|
5625
|
+
readonly invalidindexedpropertyconstrainterror_getCode: (a: number) => number;
|
|
5626
|
+
readonly invalidindexedpropertyconstrainterror_message: (a: number, b: number) => void;
|
|
5627
|
+
readonly invalidindexedpropertyconstrainterror_serialize: (a: number, b: number) => void;
|
|
5680
5628
|
readonly missingdatacontractiderror_getCode: (a: number) => number;
|
|
5681
5629
|
readonly missingdatacontractiderror_message: (a: number, b: number) => void;
|
|
5682
5630
|
readonly missingdatacontractiderror_serialize: (a: number, b: number) => void;
|
|
@@ -5699,6 +5647,12 @@ export interface InitOutput {
|
|
|
5699
5647
|
readonly invalidstatetransitionsignatureerror_getCode: (a: number) => number;
|
|
5700
5648
|
readonly invalidstatetransitionsignatureerror_message: (a: number, b: number) => void;
|
|
5701
5649
|
readonly invalidstatetransitionsignatureerror_serialize: (a: number, b: number) => void;
|
|
5650
|
+
readonly __wbg_invalidstatetransitiontypeerror_free: (a: number) => void;
|
|
5651
|
+
readonly invalidstatetransitiontypeerror_new: (a: number) => number;
|
|
5652
|
+
readonly invalidstatetransitiontypeerror_getType: (a: number) => number;
|
|
5653
|
+
readonly invalidstatetransitiontypeerror_getCode: (a: number) => number;
|
|
5654
|
+
readonly invalidstatetransitiontypeerror_message: (a: number, b: number) => void;
|
|
5655
|
+
readonly invalidstatetransitiontypeerror_serialize: (a: number, b: number) => void;
|
|
5702
5656
|
readonly __wbg_balanceisnotenougherror_free: (a: number) => void;
|
|
5703
5657
|
readonly balanceisnotenougherror_new: (a: number, b: number) => number;
|
|
5704
5658
|
readonly balanceisnotenougherror_getBalance: (a: number) => number;
|
|
@@ -5712,11 +5666,48 @@ export interface InitOutput {
|
|
|
5712
5666
|
readonly datacontractalreadypresenterror_getCode: (a: number) => number;
|
|
5713
5667
|
readonly datacontractalreadypresenterror_message: (a: number, b: number) => void;
|
|
5714
5668
|
readonly datacontractalreadypresenterror_serialize: (a: number, b: number) => void;
|
|
5715
|
-
readonly __wbg_compatibleprotocolversionisnotdefinederror_free: (a: number) => void;
|
|
5716
|
-
readonly compatibleprotocolversionisnotdefinederror_getCurrentProtocolVersion: (a: number) => number;
|
|
5717
5669
|
readonly __wbg_identityupdatetransitionbasicvalidator_free: (a: number) => void;
|
|
5718
5670
|
readonly identityupdatetransitionbasicvalidator_new: (a: number, b: number) => void;
|
|
5719
5671
|
readonly identityupdatetransitionbasicvalidator_validate: (a: number, b: number, c: number) => void;
|
|
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_feeresult_free: (a: number) => void;
|
|
5698
|
+
readonly feeresult_new: () => number;
|
|
5699
|
+
readonly feeresult_storageFee: (a: number) => number;
|
|
5700
|
+
readonly feeresult_processingFee: (a: number) => number;
|
|
5701
|
+
readonly feeresult_feeRefunds: (a: number) => number;
|
|
5702
|
+
readonly feeresult_totalRefunds: (a: number) => number;
|
|
5703
|
+
readonly feeresult_desiredAmount: (a: number) => number;
|
|
5704
|
+
readonly feeresult_requiredAmount: (a: number) => number;
|
|
5705
|
+
readonly feeresult_set_storageFee: (a: number, b: number, c: number) => void;
|
|
5706
|
+
readonly feeresult_set_processingFee: (a: number, b: number, c: number) => void;
|
|
5707
|
+
readonly feeresult_set_feeRefunds: (a: number, b: number, c: number) => void;
|
|
5708
|
+
readonly feeresult_set_desiredAmount: (a: number, b: number, c: number) => void;
|
|
5709
|
+
readonly feeresult_set_requiredAmount: (a: number, b: number, c: number) => void;
|
|
5710
|
+
readonly feeresult_set_totalRefunds: (a: number, b: number, c: number) => void;
|
|
5720
5711
|
readonly decodeProtocolEntity: (a: number, b: number, c: number) => void;
|
|
5721
5712
|
readonly __wbg_missingdocumenttransitionactionerror_free: (a: number) => void;
|
|
5722
5713
|
readonly __wbg_missingdocumenttransitiontypeerror_free: (a: number) => void;
|
|
@@ -5724,11 +5715,25 @@ export interface InitOutput {
|
|
|
5724
5715
|
readonly __wbg_missingdatacontractiderror_free: (a: number) => void;
|
|
5725
5716
|
readonly __wbg_missingmasterpublickeyerror_free: (a: number) => void;
|
|
5726
5717
|
readonly __wbg_invalidstatetransitionsignatureerror_free: (a: number) => void;
|
|
5718
|
+
readonly identity_getBalance: (a: number) => number;
|
|
5727
5719
|
readonly validateDataContractUpdateTransitionState: (a: number, b: number, c: number) => number;
|
|
5728
5720
|
readonly validateIndicesAreBackwardCompatible: (a: number, b: number, c: number) => void;
|
|
5729
5721
|
readonly validateDataContractUpdateTransitionBasic: (a: number, b: number, c: number) => number;
|
|
5730
|
-
readonly
|
|
5731
|
-
readonly
|
|
5722
|
+
readonly __wbg_documentcreatetransition_free: (a: number) => void;
|
|
5723
|
+
readonly documentcreatetransition_from_raw_object: (a: number, b: number, c: number) => void;
|
|
5724
|
+
readonly documentcreatetransition_getEntropy: (a: number, b: number) => void;
|
|
5725
|
+
readonly documentcreatetransition_getCreatedAt: (a: number) => number;
|
|
5726
|
+
readonly documentcreatetransition_getUpdatedAt: (a: number) => number;
|
|
5727
|
+
readonly documentcreatetransition_getRevision: (a: number) => number;
|
|
5728
|
+
readonly documentcreatetransition_getId: (a: number) => number;
|
|
5729
|
+
readonly documentcreatetransition_getType: (a: number, b: number) => void;
|
|
5730
|
+
readonly documentcreatetransition_getAction: (a: number) => number;
|
|
5731
|
+
readonly documentcreatetransition_getDataContract: (a: number) => number;
|
|
5732
|
+
readonly documentcreatetransition_getDataContractId: (a: number) => number;
|
|
5733
|
+
readonly documentcreatetransition_get: (a: number, b: number, c: number, d: number) => void;
|
|
5734
|
+
readonly documentcreatetransition_toObject: (a: number, b: number, c: number) => void;
|
|
5735
|
+
readonly documentcreatetransition_toJSON: (a: number, b: number) => void;
|
|
5736
|
+
readonly documentcreatetransition_getData: (a: number, b: number) => void;
|
|
5732
5737
|
readonly __wbg_documentreplacetransition_free: (a: number) => void;
|
|
5733
5738
|
readonly documentreplacetransition_from_raw_object: (a: number, b: number, c: number) => void;
|
|
5734
5739
|
readonly documentreplacetransition_getAction: (a: number) => number;
|
|
@@ -5751,21 +5756,6 @@ export interface InitOutput {
|
|
|
5751
5756
|
readonly invalidindexpropertytypeerror_getCode: (a: number) => number;
|
|
5752
5757
|
readonly invalidindexpropertytypeerror_message: (a: number, b: number) => void;
|
|
5753
5758
|
readonly invalidindexpropertytypeerror_serialize: (a: number, b: number) => void;
|
|
5754
|
-
readonly __wbg_invalidindexedpropertyconstrainterror_free: (a: number) => void;
|
|
5755
|
-
readonly invalidindexedpropertyconstrainterror_getDocumentType: (a: number, b: number) => void;
|
|
5756
|
-
readonly invalidindexedpropertyconstrainterror_getIndexName: (a: number, b: number) => void;
|
|
5757
|
-
readonly invalidindexedpropertyconstrainterror_getPropertyName: (a: number, b: number) => void;
|
|
5758
|
-
readonly invalidindexedpropertyconstrainterror_getConstraintName: (a: number, b: number) => void;
|
|
5759
|
-
readonly invalidindexedpropertyconstrainterror_getReason: (a: number, b: number) => void;
|
|
5760
|
-
readonly invalidindexedpropertyconstrainterror_getCode: (a: number) => number;
|
|
5761
|
-
readonly invalidindexedpropertyconstrainterror_message: (a: number, b: number) => void;
|
|
5762
|
-
readonly invalidindexedpropertyconstrainterror_serialize: (a: number, b: number) => void;
|
|
5763
|
-
readonly __wbg_invalidstatetransitiontypeerror_free: (a: number) => void;
|
|
5764
|
-
readonly invalidstatetransitiontypeerror_new: (a: number) => number;
|
|
5765
|
-
readonly invalidstatetransitiontypeerror_getType: (a: number) => number;
|
|
5766
|
-
readonly invalidstatetransitiontypeerror_getCode: (a: number) => number;
|
|
5767
|
-
readonly invalidstatetransitiontypeerror_message: (a: number, b: number) => void;
|
|
5768
|
-
readonly invalidstatetransitiontypeerror_serialize: (a: number, b: number) => void;
|
|
5769
5759
|
readonly __wbg_identitynotfounderror_free: (a: number) => void;
|
|
5770
5760
|
readonly identitynotfounderror_new: (a: number) => number;
|
|
5771
5761
|
readonly identitynotfounderror_getIdentityId: (a: number) => number;
|
|
@@ -5812,7 +5802,7 @@ export interface InitOutput {
|
|
|
5812
5802
|
readonly identityupdatetransition_setIdentityId: (a: number, b: number) => void;
|
|
5813
5803
|
readonly identityupdatetransition_getOwnerId: (a: number) => number;
|
|
5814
5804
|
readonly identityupdatetransition_toObject: (a: number, b: number, c: number) => void;
|
|
5815
|
-
readonly identityupdatetransition_toBuffer: (a: number, b: number
|
|
5805
|
+
readonly identityupdatetransition_toBuffer: (a: number, b: number) => void;
|
|
5816
5806
|
readonly identityupdatetransition_toJSON: (a: number, b: number) => void;
|
|
5817
5807
|
readonly identityupdatetransition_getModifiedDataIds: (a: number, b: number) => void;
|
|
5818
5808
|
readonly identityupdatetransition_isDataContractStateTransition: (a: number) => number;
|
|
@@ -5829,49 +5819,12 @@ export interface InitOutput {
|
|
|
5829
5819
|
readonly __wbg_publickeyssignaturesvalidator_free: (a: number) => void;
|
|
5830
5820
|
readonly publickeyssignaturesvalidator_new: (a: number) => number;
|
|
5831
5821
|
readonly publickeyssignaturesvalidator_validate: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5832
|
-
readonly
|
|
5833
|
-
readonly
|
|
5834
|
-
readonly
|
|
5835
|
-
readonly
|
|
5836
|
-
readonly identity_setPublicKeys: (a: number, b: number, c: number) => void;
|
|
5837
|
-
readonly identity_getPublicKeys: (a: number, b: number) => void;
|
|
5838
|
-
readonly identity_getPublicKeyById: (a: number, b: number) => number;
|
|
5839
|
-
readonly identity_balance: (a: number) => number;
|
|
5840
|
-
readonly identity_setBalance: (a: number, b: number) => void;
|
|
5841
|
-
readonly identity_increaseBalance: (a: number, b: number) => number;
|
|
5842
|
-
readonly identity_reduceBalance: (a: number, b: number) => number;
|
|
5843
|
-
readonly identity_setAssetLockProof: (a: number, b: number, c: number) => void;
|
|
5844
|
-
readonly identity_getAssetLockProof: (a: number) => number;
|
|
5845
|
-
readonly identity_setRevision: (a: number, b: number) => void;
|
|
5846
|
-
readonly identity_getRevision: (a: number) => number;
|
|
5847
|
-
readonly identity_setMetadata: (a: number, b: number, c: number) => void;
|
|
5848
|
-
readonly identity_getMetadata: (a: number) => number;
|
|
5849
|
-
readonly identity_from: (a: number) => number;
|
|
5850
|
-
readonly identity_toJSON: (a: number, b: number) => void;
|
|
5851
|
-
readonly identity_toObject: (a: number, b: number) => void;
|
|
5852
|
-
readonly identity_toBuffer: (a: number, b: number) => void;
|
|
5853
|
-
readonly identity_hash: (a: number, b: number) => void;
|
|
5854
|
-
readonly identity_addPublicKey: (a: number, b: number) => void;
|
|
5855
|
-
readonly identity_addPublicKeys: (a: number, b: number, c: number) => void;
|
|
5856
|
-
readonly identity_getPublicKeyMaxId: (a: number) => number;
|
|
5857
|
-
readonly __wbg_feeresult_free: (a: number) => void;
|
|
5858
|
-
readonly feeresult_new: () => number;
|
|
5859
|
-
readonly feeresult_storageFee: (a: number) => number;
|
|
5860
|
-
readonly feeresult_processingFee: (a: number) => number;
|
|
5861
|
-
readonly feeresult_feeRefunds: (a: number) => number;
|
|
5862
|
-
readonly feeresult_totalRefunds: (a: number) => number;
|
|
5863
|
-
readonly feeresult_desiredAmount: (a: number) => number;
|
|
5864
|
-
readonly feeresult_requiredAmount: (a: number) => number;
|
|
5865
|
-
readonly feeresult_set_storageFee: (a: number, b: number, c: number) => void;
|
|
5866
|
-
readonly feeresult_set_processingFee: (a: number, b: number, c: number) => void;
|
|
5867
|
-
readonly feeresult_set_feeRefunds: (a: number, b: number, c: number) => void;
|
|
5868
|
-
readonly feeresult_set_desiredAmount: (a: number, b: number, c: number) => void;
|
|
5869
|
-
readonly feeresult_set_requiredAmount: (a: number, b: number, c: number) => void;
|
|
5870
|
-
readonly feeresult_set_totalRefunds: (a: number, b: number, c: number) => void;
|
|
5871
|
-
readonly validateStateTransitionIdentitySignature: (a: number, b: number, c: number) => number;
|
|
5822
|
+
readonly __wbg_statetransitionfactory_free: (a: number) => void;
|
|
5823
|
+
readonly statetransitionfactory_new: (a: number, b: number, c: number) => void;
|
|
5824
|
+
readonly statetransitionfactory_createFromObject: (a: number, b: number, c: number) => number;
|
|
5825
|
+
readonly statetransitionfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
5872
5826
|
readonly identityupdatetransition_getPublicKeysToAdd: (a: number, b: number) => void;
|
|
5873
5827
|
readonly identityupdatetransition_identityId: (a: number) => number;
|
|
5874
|
-
readonly identity_getBalance: (a: number) => number;
|
|
5875
5828
|
readonly __wbg_invaliddocumenttypeindatacontracterror_free: (a: number) => void;
|
|
5876
5829
|
readonly invaliddocumenttypeindatacontracterror_new: (a: number, b: number, c: number) => number;
|
|
5877
5830
|
readonly invaliddocumenttypeindatacontracterror_getType: (a: number, b: number) => void;
|
|
@@ -5888,21 +5841,6 @@ export interface InitOutput {
|
|
|
5888
5841
|
readonly __wbg_datatriggerexecutionresult_free: (a: number) => void;
|
|
5889
5842
|
readonly datatriggerexecutionresult_isOk: (a: number) => number;
|
|
5890
5843
|
readonly datatriggerexecutionresult_getErrors: (a: number) => number;
|
|
5891
|
-
readonly __wbg_documentcreatetransition_free: (a: number) => void;
|
|
5892
|
-
readonly documentcreatetransition_from_raw_object: (a: number, b: number, c: number) => void;
|
|
5893
|
-
readonly documentcreatetransition_getEntropy: (a: number, b: number) => void;
|
|
5894
|
-
readonly documentcreatetransition_getCreatedAt: (a: number) => number;
|
|
5895
|
-
readonly documentcreatetransition_getUpdatedAt: (a: number) => number;
|
|
5896
|
-
readonly documentcreatetransition_getRevision: (a: number) => number;
|
|
5897
|
-
readonly documentcreatetransition_getId: (a: number) => number;
|
|
5898
|
-
readonly documentcreatetransition_getType: (a: number, b: number) => void;
|
|
5899
|
-
readonly documentcreatetransition_getAction: (a: number) => number;
|
|
5900
|
-
readonly documentcreatetransition_getDataContract: (a: number) => number;
|
|
5901
|
-
readonly documentcreatetransition_getDataContractId: (a: number) => number;
|
|
5902
|
-
readonly documentcreatetransition_get: (a: number, b: number, c: number, d: number) => void;
|
|
5903
|
-
readonly documentcreatetransition_toObject: (a: number, b: number, c: number) => void;
|
|
5904
|
-
readonly documentcreatetransition_toJSON: (a: number, b: number) => void;
|
|
5905
|
-
readonly documentcreatetransition_getData: (a: number, b: number) => void;
|
|
5906
5844
|
readonly __wbg_invalididentitypublickeysecuritylevelerror_free: (a: number) => void;
|
|
5907
5845
|
readonly invalididentitypublickeysecuritylevelerror_getPublicKeyId: (a: number) => number;
|
|
5908
5846
|
readonly invalididentitypublickeysecuritylevelerror_getPublicKeyPurpose: (a: number) => number;
|
|
@@ -5916,17 +5854,15 @@ export interface InitOutput {
|
|
|
5916
5854
|
readonly missingstatetransitiontypeerror_serialize: (a: number, b: number) => void;
|
|
5917
5855
|
readonly __wbg_publickeyvalidationerror_free: (a: number) => void;
|
|
5918
5856
|
readonly publickeyvalidationerror_message: (a: number) => number;
|
|
5919
|
-
readonly getCreditsConversionRatio: () => number;
|
|
5920
5857
|
readonly __wbg_identityupdatepublickeysvalidator_free: (a: number) => void;
|
|
5921
5858
|
readonly identityupdatepublickeysvalidator_validate: (a: number, b: number, c: number, d: number) => void;
|
|
5922
|
-
readonly
|
|
5923
|
-
readonly statetransitionfactory_new: (a: number, b: number, c: number) => void;
|
|
5924
|
-
readonly statetransitionfactory_createFromObject: (a: number, b: number, c: number) => number;
|
|
5925
|
-
readonly statetransitionfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
5926
|
-
readonly calculateStateTransitionFee: (a: number, b: number, c: number) => void;
|
|
5859
|
+
readonly nodocumentssuppliederror_new: () => number;
|
|
5927
5860
|
readonly identityupdatepublickeysvalidator_new: () => number;
|
|
5861
|
+
readonly __wbg_nodocumentssuppliederror_free: (a: number) => void;
|
|
5928
5862
|
readonly __wbg_missingstatetransitiontypeerror_free: (a: number) => void;
|
|
5863
|
+
readonly __wbg_invalidactionerror_free: (a: number) => void;
|
|
5929
5864
|
readonly applyDocumentsBatchTransition: (a: number, b: number, c: number) => number;
|
|
5865
|
+
readonly validateDocumentsBatchTransitionBasic: (a: number, b: number, c: number, d: number) => number;
|
|
5930
5866
|
readonly validateDocumentsBatchTransitionState: (a: number, b: number, c: number) => number;
|
|
5931
5867
|
readonly __wbg_systempropertyindexalreadypresenterror_free: (a: number) => void;
|
|
5932
5868
|
readonly systempropertyindexalreadypresenterror_getDocumentType: (a: number, b: number) => void;
|
|
@@ -5944,6 +5880,12 @@ export interface InitOutput {
|
|
|
5944
5880
|
readonly __wbg_invalididentityassetlockproofchainlockvalidationerrorwasm_free: (a: number) => void;
|
|
5945
5881
|
readonly invalididentityassetlockproofchainlockvalidationerrorwasm_getTransactionId: (a: number) => number;
|
|
5946
5882
|
readonly invalididentityassetlockproofchainlockvalidationerrorwasm_getHeightReportedNotLocked: (a: number) => number;
|
|
5883
|
+
readonly __wbg_invalidsignaturepublickeysecuritylevelerror_free: (a: number) => void;
|
|
5884
|
+
readonly invalidsignaturepublickeysecuritylevelerror_getPublicKeySecurityLevel: (a: number) => number;
|
|
5885
|
+
readonly invalidsignaturepublickeysecuritylevelerror_getKeySecurityLevelRequirement: (a: number) => number;
|
|
5886
|
+
readonly invalidsignaturepublickeysecuritylevelerror_getCode: (a: number) => number;
|
|
5887
|
+
readonly invalidsignaturepublickeysecuritylevelerror_message: (a: number, b: number) => void;
|
|
5888
|
+
readonly invalidsignaturepublickeysecuritylevelerror_serialize: (a: number, b: number) => void;
|
|
5947
5889
|
readonly __wbg_datatriggerexecutionerror_free: (a: number) => void;
|
|
5948
5890
|
readonly datatriggerexecutionerror_getDataContractId: (a: number) => number;
|
|
5949
5891
|
readonly datatriggerexecutionerror_getDocumentId: (a: number) => number;
|
|
@@ -5964,9 +5906,19 @@ export interface InitOutput {
|
|
|
5964
5906
|
readonly invaliddocumentrevisionerror_getCode: (a: number) => number;
|
|
5965
5907
|
readonly invaliddocumentrevisionerror_message: (a: number, b: number) => void;
|
|
5966
5908
|
readonly invaliddocumentrevisionerror_serialize: (a: number, b: number) => void;
|
|
5909
|
+
readonly __wbg_invalididentityrevisionerror_free: (a: number) => void;
|
|
5910
|
+
readonly invalididentityrevisionerror_getIdentityId: (a: number) => number;
|
|
5911
|
+
readonly invalididentityrevisionerror_getCurrentRevision: (a: number) => number;
|
|
5912
|
+
readonly invalididentityrevisionerror_getCode: (a: number) => number;
|
|
5913
|
+
readonly invalididentityrevisionerror_message: (a: number, b: number) => void;
|
|
5914
|
+
readonly invalididentityrevisionerror_serialize: (a: number, b: number) => void;
|
|
5967
5915
|
readonly __wbg_platformvalueerror_free: (a: number) => void;
|
|
5968
5916
|
readonly platformvalueerror_getMessage: (a: number, b: number) => void;
|
|
5969
5917
|
readonly platformvalueerror_toString: (a: number, b: number) => void;
|
|
5918
|
+
readonly getCreditsConversionRatio: () => number;
|
|
5919
|
+
readonly __wbg_instantassetlockproofstructurevalidator_free: (a: number) => void;
|
|
5920
|
+
readonly instantassetlockproofstructurevalidator_new: (a: number, b: number) => void;
|
|
5921
|
+
readonly instantassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
|
|
5970
5922
|
readonly applyIdentityCreateTransition: (a: number, b: number, c: number) => number;
|
|
5971
5923
|
readonly __wbg_identitypublickeywithwitness_free: (a: number) => void;
|
|
5972
5924
|
readonly identitypublickeywithwitness_new: (a: number, b: number) => void;
|
|
@@ -5990,9 +5942,11 @@ export interface InitOutput {
|
|
|
5990
5942
|
readonly identitypublickeywithwitness_toObject: (a: number, b: number, c: number) => void;
|
|
5991
5943
|
readonly applyIdentityTopUpTransition: (a: number, b: number, c: number) => number;
|
|
5992
5944
|
readonly applyIdentityUpdateTransition: (a: number, b: number, c: number) => number;
|
|
5945
|
+
readonly calculateStateTransitionFee: (a: number, b: number, c: number) => void;
|
|
5993
5946
|
readonly __wbg_jsonschemavalidator_free: (a: number) => void;
|
|
5994
5947
|
readonly jsonschemavalidator_new: (a: number, b: number, c: number) => void;
|
|
5995
5948
|
readonly __wbg_undefinedindexpropertyerror_free: (a: number) => void;
|
|
5949
|
+
readonly invalidactionterror_new: (a: number) => number;
|
|
5996
5950
|
readonly __wbg_datacontract_free: (a: number) => void;
|
|
5997
5951
|
readonly datacontract_new: (a: number, b: number) => void;
|
|
5998
5952
|
readonly datacontract_getProtocolVersion: (a: number) => number;
|
|
@@ -6031,14 +5985,23 @@ export interface InitOutput {
|
|
|
6031
5985
|
readonly invaliddatacontracterror_getErrors: (a: number, b: number) => void;
|
|
6032
5986
|
readonly invaliddatacontracterror_getRawDataContract: (a: number) => number;
|
|
6033
5987
|
readonly invaliddatacontracterror_getMessage: (a: number, b: number) => void;
|
|
6034
|
-
readonly
|
|
5988
|
+
readonly __wbg_documenttransitions_free: (a: number) => void;
|
|
5989
|
+
readonly documenttransitions_new: () => number;
|
|
5990
|
+
readonly documenttransitions_addTransitionCreate: (a: number, b: number) => void;
|
|
5991
|
+
readonly documenttransitions_addTransitionReplace: (a: number, b: number) => void;
|
|
5992
|
+
readonly documenttransitions_addTransitionDelete: (a: number, b: number) => void;
|
|
5993
|
+
readonly __wbg_documentfactory_free: (a: number) => void;
|
|
5994
|
+
readonly documentfactory_new: (a: number, b: number, c: number, d: number) => number;
|
|
5995
|
+
readonly documentfactory_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
5996
|
+
readonly documentfactory_createStateTransition: (a: number, b: number, c: number) => void;
|
|
5997
|
+
readonly documentfactory_createFromObject: (a: number, b: number, c: number) => number;
|
|
5998
|
+
readonly documentfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
6035
5999
|
readonly __wbg_fetchandvalidatedatacontractfactory_free: (a: number) => void;
|
|
6036
6000
|
readonly fetchandvalidatedatacontractfactory_new: (a: number) => number;
|
|
6037
6001
|
readonly fetchandvalidatedatacontractfactory_validate: (a: number, b: number) => number;
|
|
6038
6002
|
readonly fetchAndValidateDataContract: (a: number, b: number) => number;
|
|
6039
6003
|
readonly generateDocumentId: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
6040
6004
|
readonly findDuplicatesByIndices: (a: number, b: number, c: number, d: number) => void;
|
|
6041
|
-
readonly validateDocumentsBatchTransitionBasic: (a: number, b: number, c: number, d: number) => number;
|
|
6042
6005
|
readonly fetchExtendedDocuments: (a: number, b: number, c: number) => number;
|
|
6043
6006
|
readonly __wbg_datacontracthavenewuniqueindexerror_free: (a: number) => void;
|
|
6044
6007
|
readonly datacontracthavenewuniqueindexerror_getDocumentType: (a: number, b: number) => void;
|
|
@@ -6056,6 +6019,11 @@ export interface InitOutput {
|
|
|
6056
6019
|
readonly datacontractuniqueindiceschangederror_getCode: (a: number) => number;
|
|
6057
6020
|
readonly datacontractuniqueindiceschangederror_message: (a: number, b: number) => void;
|
|
6058
6021
|
readonly datacontractuniqueindiceschangederror_serialize: (a: number, b: number) => void;
|
|
6022
|
+
readonly duplicateindexnameerror_getDocumentType: (a: number, b: number) => void;
|
|
6023
|
+
readonly duplicateindexnameerror_getDuplicateIndexName: (a: number, b: number) => void;
|
|
6024
|
+
readonly duplicateindexnameerror_getCode: (a: number) => number;
|
|
6025
|
+
readonly duplicateindexnameerror_message: (a: number, b: number) => void;
|
|
6026
|
+
readonly duplicateindexnameerror_serialize: (a: number, b: number) => void;
|
|
6059
6027
|
readonly __wbg_incompatibledatacontractschemaerror_free: (a: number) => void;
|
|
6060
6028
|
readonly incompatibledatacontractschemaerror_getDataContractId: (a: number) => number;
|
|
6061
6029
|
readonly incompatibledatacontractschemaerror_getOperation: (a: number, b: number) => void;
|
|
@@ -6063,6 +6031,13 @@ export interface InitOutput {
|
|
|
6063
6031
|
readonly incompatibledatacontractschemaerror_getCode: (a: number) => number;
|
|
6064
6032
|
readonly incompatibledatacontractschemaerror_message: (a: number, b: number) => void;
|
|
6065
6033
|
readonly incompatibledatacontractschemaerror_serialize: (a: number, b: number) => void;
|
|
6034
|
+
readonly __wbg_incompatiblere2patternerror_free: (a: number) => void;
|
|
6035
|
+
readonly incompatiblere2patternerror_getPattern: (a: number, b: number) => void;
|
|
6036
|
+
readonly incompatiblere2patternerror_getPath: (a: number, b: number) => void;
|
|
6037
|
+
readonly incompatiblere2patternerror_getMessage: (a: number, b: number) => void;
|
|
6038
|
+
readonly incompatiblere2patternerror_getCode: (a: number) => number;
|
|
6039
|
+
readonly incompatiblere2patternerror_message: (a: number, b: number) => void;
|
|
6040
|
+
readonly incompatiblere2patternerror_serialize: (a: number, b: number) => void;
|
|
6066
6041
|
readonly duplicateindexerror_getDocumentType: (a: number, b: number) => void;
|
|
6067
6042
|
readonly duplicateindexerror_getIndexName: (a: number, b: number) => void;
|
|
6068
6043
|
readonly duplicateindexerror_getCode: (a: number) => number;
|
|
@@ -6073,6 +6048,11 @@ export interface InitOutput {
|
|
|
6073
6048
|
readonly invalidcompoundindexerror_getCode: (a: number) => number;
|
|
6074
6049
|
readonly invalidcompoundindexerror_message: (a: number, b: number) => void;
|
|
6075
6050
|
readonly invalidcompoundindexerror_serialize: (a: number, b: number) => void;
|
|
6051
|
+
readonly uniqueindiceslimitreachederror_getDocumentType: (a: number, b: number) => void;
|
|
6052
|
+
readonly uniqueindiceslimitreachederror_getIndexLimit: (a: number) => number;
|
|
6053
|
+
readonly uniqueindiceslimitreachederror_getCode: (a: number) => number;
|
|
6054
|
+
readonly uniqueindiceslimitreachederror_message: (a: number, b: number) => void;
|
|
6055
|
+
readonly uniqueindiceslimitreachederror_serialize: (a: number, b: number) => void;
|
|
6076
6056
|
readonly invaliddatacontractiderror_getExpectedId: (a: number) => number;
|
|
6077
6057
|
readonly invaliddatacontractiderror_getInvalidId: (a: number) => number;
|
|
6078
6058
|
readonly invaliddatacontractiderror_getCode: (a: number) => number;
|
|
@@ -6107,23 +6087,40 @@ export interface InitOutput {
|
|
|
6107
6087
|
readonly identityassetlocktransactionoutpointalreadyexistserror_getCode: (a: number) => number;
|
|
6108
6088
|
readonly identityassetlocktransactionoutpointalreadyexistserror_message: (a: number, b: number) => void;
|
|
6109
6089
|
readonly identityassetlocktransactionoutpointalreadyexistserror_serialize: (a: number, b: number) => void;
|
|
6110
|
-
readonly
|
|
6111
|
-
readonly
|
|
6112
|
-
readonly
|
|
6090
|
+
readonly __wbg_identityinsufficientbalanceerror_free: (a: number) => void;
|
|
6091
|
+
readonly identityinsufficientbalanceerror_getIdentityId: (a: number) => number;
|
|
6092
|
+
readonly identityinsufficientbalanceerror_getBalance: (a: number) => number;
|
|
6093
|
+
readonly identityinsufficientbalanceerror_getCode: (a: number) => number;
|
|
6094
|
+
readonly identityinsufficientbalanceerror_message: (a: number, b: number) => void;
|
|
6095
|
+
readonly identityinsufficientbalanceerror_serialize: (a: number, b: number) => void;
|
|
6096
|
+
readonly __wbg_invalidassetlockprooftransactionheighterror_free: (a: number) => void;
|
|
6097
|
+
readonly invalidassetlockprooftransactionheighterror_getProofCoreChainLockedHeight: (a: number) => number;
|
|
6098
|
+
readonly invalidassetlockprooftransactionheighterror_getTransactionHeight: (a: number, b: number) => void;
|
|
6113
6099
|
readonly invalidassetlockprooftransactionheighterror_getCode: (a: number) => number;
|
|
6114
6100
|
readonly invalidassetlockprooftransactionheighterror_message: (a: number, b: number) => void;
|
|
6115
6101
|
readonly invalidassetlockprooftransactionheighterror_serialize: (a: number, b: number) => void;
|
|
6102
|
+
readonly __wbg_invalididentitypublickeydataerror_free: (a: number) => void;
|
|
6103
|
+
readonly invalididentitypublickeydataerror_getPublicKeyId: (a: number) => number;
|
|
6104
|
+
readonly invalididentitypublickeydataerror_getValidationError: (a: number, b: number) => void;
|
|
6105
|
+
readonly invalididentitypublickeydataerror_getCode: (a: number) => number;
|
|
6106
|
+
readonly invalididentitypublickeydataerror_message: (a: number, b: number) => void;
|
|
6107
|
+
readonly invalididentitypublickeydataerror_serialize: (a: number, b: number) => void;
|
|
6116
6108
|
readonly invalididentifiererror_getIdentifierName: (a: number, b: number) => void;
|
|
6117
6109
|
readonly invalididentifiererror_getIdentifierError: (a: number, b: number) => void;
|
|
6118
6110
|
readonly invalididentifiererror_getCode: (a: number) => number;
|
|
6119
6111
|
readonly invalididentifiererror_message: (a: number, b: number) => void;
|
|
6120
6112
|
readonly invalididentifiererror_serialize: (a: number, b: number) => void;
|
|
6121
|
-
readonly
|
|
6122
|
-
readonly
|
|
6123
|
-
readonly
|
|
6124
|
-
readonly
|
|
6125
|
-
readonly
|
|
6126
|
-
readonly
|
|
6113
|
+
readonly __wbg_publickeysecuritylevelnotmeterror_free: (a: number) => void;
|
|
6114
|
+
readonly publickeysecuritylevelnotmeterror_getPublicKeySecurityLevel: (a: number) => number;
|
|
6115
|
+
readonly publickeysecuritylevelnotmeterror_getKeySecurityLevelRequirement: (a: number) => number;
|
|
6116
|
+
readonly publickeysecuritylevelnotmeterror_getCode: (a: number) => number;
|
|
6117
|
+
readonly publickeysecuritylevelnotmeterror_message: (a: number, b: number) => void;
|
|
6118
|
+
readonly publickeysecuritylevelnotmeterror_serialize: (a: number, b: number) => void;
|
|
6119
|
+
readonly wrongpublickeypurposeerror_getPublicKeyPurpose: (a: number) => number;
|
|
6120
|
+
readonly wrongpublickeypurposeerror_getKeyPurposeRequirement: (a: number) => number;
|
|
6121
|
+
readonly wrongpublickeypurposeerror_getCode: (a: number) => number;
|
|
6122
|
+
readonly wrongpublickeypurposeerror_message: (a: number, b: number) => void;
|
|
6123
|
+
readonly wrongpublickeypurposeerror_serialize: (a: number, b: number) => void;
|
|
6127
6124
|
readonly __wbg_datatriggerconditionerror_free: (a: number) => void;
|
|
6128
6125
|
readonly datatriggerconditionerror_getDataContractId: (a: number) => number;
|
|
6129
6126
|
readonly datatriggerconditionerror_getDocumentId: (a: number) => number;
|
|
@@ -6143,17 +6140,12 @@ export interface InitOutput {
|
|
|
6143
6140
|
readonly duplicateuniqueindexerror_getCode: (a: number) => number;
|
|
6144
6141
|
readonly duplicateuniqueindexerror_message: (a: number, b: number) => void;
|
|
6145
6142
|
readonly duplicateuniqueindexerror_serialize: (a: number, b: number) => void;
|
|
6146
|
-
readonly
|
|
6147
|
-
readonly
|
|
6148
|
-
readonly
|
|
6149
|
-
readonly invalididentityrevisionerror_getCode: (a: number) => number;
|
|
6150
|
-
readonly invalididentityrevisionerror_message: (a: number, b: number) => void;
|
|
6151
|
-
readonly invalididentityrevisionerror_serialize: (a: number, b: number) => void;
|
|
6143
|
+
readonly __wbg_identityvalidator_free: (a: number) => void;
|
|
6144
|
+
readonly identityvalidator_new: (a: number, b: number) => void;
|
|
6145
|
+
readonly identityvalidator_validate: (a: number, b: number, c: number) => void;
|
|
6152
6146
|
readonly __wbg_chainassetlockproofstructurevalidator_free: (a: number) => void;
|
|
6153
6147
|
readonly chainassetlockproofstructurevalidator_new: (a: number, b: number) => void;
|
|
6154
6148
|
readonly chainassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
|
|
6155
|
-
readonly instantassetlockproofstructurevalidator_new: (a: number, b: number) => void;
|
|
6156
|
-
readonly instantassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
|
|
6157
6149
|
readonly __wbg_identityupdatetransitionstatevalidator_free: (a: number) => void;
|
|
6158
6150
|
readonly identityupdatetransitionstatevalidator_new: (a: number, b: number) => void;
|
|
6159
6151
|
readonly identityupdatetransitionstatevalidator_validate: (a: number, b: number, c: number) => number;
|
|
@@ -6161,10 +6153,10 @@ export interface InitOutput {
|
|
|
6161
6153
|
readonly __wbg_refunds_free: (a: number) => void;
|
|
6162
6154
|
readonly refunds_credits_per_epoch: (a: number) => number;
|
|
6163
6155
|
readonly refunds_toObject: (a: number, b: number) => void;
|
|
6156
|
+
readonly __wbg_operation_free: (a: number) => void;
|
|
6164
6157
|
readonly __wbg_statetransitionkeysignaturevalidator_free: (a: number) => void;
|
|
6165
6158
|
readonly statetransitionkeysignaturevalidator_new: (a: number) => number;
|
|
6166
6159
|
readonly statetransitionkeysignaturevalidator_validate: (a: number, b: number, c: number) => number;
|
|
6167
|
-
readonly __wbg_instantassetlockproofstructurevalidator_free: (a: number) => void;
|
|
6168
6160
|
readonly invalididentityerror_getRawIdentity: (a: number) => number;
|
|
6169
6161
|
readonly invalidstatetransitionerror_getRawStateTransition: (a: number) => number;
|
|
6170
6162
|
readonly __wbg_invalididentityerror_free: (a: number) => void;
|
|
@@ -6172,14 +6164,16 @@ export interface InitOutput {
|
|
|
6172
6164
|
readonly refunds_identifier: (a: number) => number;
|
|
6173
6165
|
readonly __wbg_datacontractinvalidindexdefinitionupdateerror_free: (a: number) => void;
|
|
6174
6166
|
readonly __wbg_datacontractuniqueindiceschangederror_free: (a: number) => void;
|
|
6167
|
+
readonly __wbg_duplicateindexnameerror_free: (a: number) => void;
|
|
6175
6168
|
readonly __wbg_duplicateindexerror_free: (a: number) => void;
|
|
6176
6169
|
readonly __wbg_invalidcompoundindexerror_free: (a: number) => void;
|
|
6177
6170
|
readonly __wbg_invaliddatacontractiderror_free: (a: number) => void;
|
|
6178
6171
|
readonly __wbg_invalididentifiererror_free: (a: number) => void;
|
|
6179
6172
|
readonly invalididentityerror_getErrors: (a: number, b: number) => void;
|
|
6180
6173
|
readonly invalidstatetransitionerror_getErrors: (a: number, b: number) => void;
|
|
6181
|
-
readonly invalidactionterror_new: (a: number) => number;
|
|
6182
6174
|
readonly __wbg_invaliddocumenttransitioniderror_free: (a: number) => void;
|
|
6175
|
+
readonly __wbg_wrongpublickeypurposeerror_free: (a: number) => void;
|
|
6176
|
+
readonly __wbg_uniqueindiceslimitreachederror_free: (a: number) => void;
|
|
6183
6177
|
readonly __wbg_datacontractcreatetransition_free: (a: number) => void;
|
|
6184
6178
|
readonly datacontractcreatetransition_new: (a: number, b: number) => void;
|
|
6185
6179
|
readonly datacontractcreatetransition_getDataContract: (a: number) => number;
|
|
@@ -6188,7 +6182,7 @@ export interface InitOutput {
|
|
|
6188
6182
|
readonly datacontractcreatetransition_getOwnerId: (a: number) => number;
|
|
6189
6183
|
readonly datacontractcreatetransition_getType: (a: number) => number;
|
|
6190
6184
|
readonly datacontractcreatetransition_toJSON: (a: number, b: number, c: number) => void;
|
|
6191
|
-
readonly datacontractcreatetransition_toBuffer: (a: number, b: number
|
|
6185
|
+
readonly datacontractcreatetransition_toBuffer: (a: number, b: number) => void;
|
|
6192
6186
|
readonly datacontractcreatetransition_getModifiedDataIds: (a: number, b: number) => void;
|
|
6193
6187
|
readonly datacontractcreatetransition_isDataContractStateTransition: (a: number) => number;
|
|
6194
6188
|
readonly datacontractcreatetransition_isDocumentStateTransition: (a: number) => number;
|
|
@@ -6196,6 +6190,9 @@ export interface InitOutput {
|
|
|
6196
6190
|
readonly datacontractcreatetransition_toObject: (a: number, b: number, c: number) => void;
|
|
6197
6191
|
readonly datacontractcreatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
6198
6192
|
readonly datacontractcreatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
|
|
6193
|
+
readonly __wbg_applydatacontractupdatetransition_free: (a: number) => void;
|
|
6194
|
+
readonly applydatacontractupdatetransition_new: (a: number) => number;
|
|
6195
|
+
readonly applydatacontractupdatetransition_applyDataContractUpdateTransition: (a: number, b: number, c: number) => number;
|
|
6199
6196
|
readonly __wbg_datacontractupdatetransition_free: (a: number) => void;
|
|
6200
6197
|
readonly datacontractupdatetransition_new: (a: number, b: number) => void;
|
|
6201
6198
|
readonly datacontractupdatetransition_getDataContract: (a: number) => number;
|
|
@@ -6204,7 +6201,7 @@ export interface InitOutput {
|
|
|
6204
6201
|
readonly datacontractupdatetransition_getOwnerId: (a: number) => number;
|
|
6205
6202
|
readonly datacontractupdatetransition_getType: (a: number) => number;
|
|
6206
6203
|
readonly datacontractupdatetransition_toJSON: (a: number, b: number, c: number) => void;
|
|
6207
|
-
readonly datacontractupdatetransition_toBuffer: (a: number, b: number
|
|
6204
|
+
readonly datacontractupdatetransition_toBuffer: (a: number, b: number) => void;
|
|
6208
6205
|
readonly datacontractupdatetransition_getModifiedDataIds: (a: number, b: number) => void;
|
|
6209
6206
|
readonly datacontractupdatetransition_isDataContractStateTransition: (a: number) => number;
|
|
6210
6207
|
readonly datacontractupdatetransition_isDocumentStateTransition: (a: number) => number;
|
|
@@ -6213,6 +6210,14 @@ export interface InitOutput {
|
|
|
6213
6210
|
readonly datacontractupdatetransition_toObject: (a: number, b: number, c: number) => void;
|
|
6214
6211
|
readonly datacontractupdatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
6215
6212
|
readonly datacontractupdatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
|
|
6213
|
+
readonly __wbg_datatriggerexecutioncontext_free: (a: number) => void;
|
|
6214
|
+
readonly datatriggerexecutioncontext_new: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6215
|
+
readonly datatriggerexecutioncontext_ownerId: (a: number) => number;
|
|
6216
|
+
readonly datatriggerexecutioncontext_set_ownerId: (a: number, b: number, c: number) => void;
|
|
6217
|
+
readonly datatriggerexecutioncontext_dataContract: (a: number) => number;
|
|
6218
|
+
readonly datatriggerexecutioncontext_set_dataContract: (a: number, b: number) => void;
|
|
6219
|
+
readonly datatriggerexecutioncontext_stateTransitionExecutionContext: (a: number) => number;
|
|
6220
|
+
readonly datatriggerexecutioncontext_set_statTransitionExecutionContext: (a: number, b: number) => void;
|
|
6216
6221
|
readonly executeDataTriggers: (a: number, b: number, c: number) => number;
|
|
6217
6222
|
readonly getDataTriggers: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
6218
6223
|
readonly getAllDataTriggers: (a: number) => void;
|
|
@@ -6220,17 +6225,6 @@ export interface InitOutput {
|
|
|
6220
6225
|
readonly invaliddocumenterror_new: (a: number, b: number, c: number) => number;
|
|
6221
6226
|
readonly invaliddocumenterror_getErrors: (a: number, b: number) => void;
|
|
6222
6227
|
readonly invaliddocumenterror_getRawDocument: (a: number) => number;
|
|
6223
|
-
readonly __wbg_documenttransitions_free: (a: number) => void;
|
|
6224
|
-
readonly documenttransitions_new: () => number;
|
|
6225
|
-
readonly documenttransitions_addTransitionCreate: (a: number, b: number) => void;
|
|
6226
|
-
readonly documenttransitions_addTransitionReplace: (a: number, b: number) => void;
|
|
6227
|
-
readonly documenttransitions_addTransitionDelete: (a: number, b: number) => void;
|
|
6228
|
-
readonly __wbg_documentfactory_free: (a: number) => void;
|
|
6229
|
-
readonly documentfactory_new: (a: number, b: number, c: number, d: number) => number;
|
|
6230
|
-
readonly documentfactory_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
6231
|
-
readonly documentfactory_createStateTransition: (a: number, b: number, c: number) => void;
|
|
6232
|
-
readonly documentfactory_createFromObject: (a: number, b: number, c: number) => number;
|
|
6233
|
-
readonly documentfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
6234
6228
|
readonly __wbg_documentsbatchtransition_free: (a: number) => void;
|
|
6235
6229
|
readonly documentsbatchtransition_from_raw_object: (a: number, b: number, c: number) => void;
|
|
6236
6230
|
readonly documentsbatchtransition_getType: (a: number) => number;
|
|
@@ -6253,7 +6247,7 @@ export interface InitOutput {
|
|
|
6253
6247
|
readonly documentsbatchtransition_isDocumentStateTransition: (a: number) => number;
|
|
6254
6248
|
readonly documentsbatchtransition_isDataContractStateTransition: (a: number) => number;
|
|
6255
6249
|
readonly documentsbatchtransition_isIdentityStateTransition: (a: number) => number;
|
|
6256
|
-
readonly documentsbatchtransition_toBuffer: (a: number, b: number
|
|
6250
|
+
readonly documentsbatchtransition_toBuffer: (a: number, b: number) => void;
|
|
6257
6251
|
readonly documentsbatchtransition_hash: (a: number, b: number, c: number) => void;
|
|
6258
6252
|
readonly __wbg_documentvalidator_free: (a: number) => void;
|
|
6259
6253
|
readonly documentvalidator_new: (a: number) => number;
|
|
@@ -6264,56 +6258,21 @@ export interface InitOutput {
|
|
|
6264
6258
|
readonly datacontractmaxdeptherror_getCode: (a: number) => number;
|
|
6265
6259
|
readonly datacontractmaxdeptherror_message: (a: number, b: number) => void;
|
|
6266
6260
|
readonly datacontractmaxdeptherror_serialize: (a: number, b: number) => void;
|
|
6267
|
-
readonly __wbg_duplicateindexnameerror_free: (a: number) => void;
|
|
6268
|
-
readonly duplicateindexnameerror_getDocumentType: (a: number, b: number) => void;
|
|
6269
|
-
readonly duplicateindexnameerror_getDuplicateIndexName: (a: number, b: number) => void;
|
|
6270
|
-
readonly duplicateindexnameerror_getCode: (a: number) => number;
|
|
6271
|
-
readonly duplicateindexnameerror_message: (a: number, b: number) => void;
|
|
6272
|
-
readonly duplicateindexnameerror_serialize: (a: number, b: number) => void;
|
|
6273
|
-
readonly __wbg_incompatiblere2patternerror_free: (a: number) => void;
|
|
6274
|
-
readonly incompatiblere2patternerror_getPattern: (a: number, b: number) => void;
|
|
6275
|
-
readonly incompatiblere2patternerror_getPath: (a: number, b: number) => void;
|
|
6276
|
-
readonly incompatiblere2patternerror_getMessage: (a: number, b: number) => void;
|
|
6277
|
-
readonly incompatiblere2patternerror_getCode: (a: number) => number;
|
|
6278
|
-
readonly incompatiblere2patternerror_message: (a: number, b: number) => void;
|
|
6279
|
-
readonly incompatiblere2patternerror_serialize: (a: number, b: number) => void;
|
|
6280
|
-
readonly uniqueindiceslimitreachederror_getDocumentType: (a: number, b: number) => void;
|
|
6281
|
-
readonly uniqueindiceslimitreachederror_getIndexLimit: (a: number) => number;
|
|
6282
|
-
readonly uniqueindiceslimitreachederror_getCode: (a: number) => number;
|
|
6283
|
-
readonly uniqueindiceslimitreachederror_message: (a: number, b: number) => void;
|
|
6284
|
-
readonly uniqueindiceslimitreachederror_serialize: (a: number, b: number) => void;
|
|
6285
6261
|
readonly invaliddatacontractversionerror_getExpectedVersion: (a: number) => number;
|
|
6286
6262
|
readonly invaliddatacontractversionerror_getVersion: (a: number) => number;
|
|
6287
6263
|
readonly invaliddatacontractversionerror_getCode: (a: number) => number;
|
|
6288
6264
|
readonly invaliddatacontractversionerror_message: (a: number, b: number) => void;
|
|
6289
6265
|
readonly invaliddatacontractversionerror_serialize: (a: number, b: number) => void;
|
|
6290
|
-
readonly __wbg_identityinsufficientbalanceerror_free: (a: number) => void;
|
|
6291
|
-
readonly identityinsufficientbalanceerror_getIdentityId: (a: number) => number;
|
|
6292
|
-
readonly identityinsufficientbalanceerror_getBalance: (a: number) => number;
|
|
6293
|
-
readonly identityinsufficientbalanceerror_getCode: (a: number) => number;
|
|
6294
|
-
readonly identityinsufficientbalanceerror_message: (a: number, b: number) => void;
|
|
6295
|
-
readonly identityinsufficientbalanceerror_serialize: (a: number, b: number) => void;
|
|
6296
6266
|
readonly invalidassetlockproofcorechainheighterror_getProofCoreChainLockedHeight: (a: number) => number;
|
|
6297
6267
|
readonly invalidassetlockproofcorechainheighterror_getCurrentCoreChainLockedHeight: (a: number) => number;
|
|
6298
6268
|
readonly invalidassetlockproofcorechainheighterror_getCode: (a: number) => number;
|
|
6299
6269
|
readonly invalidassetlockproofcorechainheighterror_message: (a: number, b: number) => void;
|
|
6300
6270
|
readonly invalidassetlockproofcorechainheighterror_serialize: (a: number, b: number) => void;
|
|
6301
|
-
readonly __wbg_invalididentitypublickeydataerror_free: (a: number) => void;
|
|
6302
|
-
readonly invalididentitypublickeydataerror_getPublicKeyId: (a: number) => number;
|
|
6303
|
-
readonly invalididentitypublickeydataerror_getValidationError: (a: number, b: number) => void;
|
|
6304
|
-
readonly invalididentitypublickeydataerror_getCode: (a: number) => number;
|
|
6305
|
-
readonly invalididentitypublickeydataerror_message: (a: number, b: number) => void;
|
|
6306
|
-
readonly invalididentitypublickeydataerror_serialize: (a: number, b: number) => void;
|
|
6307
6271
|
readonly incompatibleprotocolversionerror_getParsedProtocolVersion: (a: number) => number;
|
|
6308
6272
|
readonly incompatibleprotocolversionerror_getMinimalProtocolVersion: (a: number) => number;
|
|
6309
6273
|
readonly incompatibleprotocolversionerror_getCode: (a: number) => number;
|
|
6310
6274
|
readonly incompatibleprotocolversionerror_message: (a: number, b: number) => void;
|
|
6311
6275
|
readonly incompatibleprotocolversionerror_serialize: (a: number, b: number) => void;
|
|
6312
|
-
readonly publickeysecuritylevelnotmeterror_getPublicKeySecurityLevel: (a: number) => number;
|
|
6313
|
-
readonly publickeysecuritylevelnotmeterror_getKeySecurityLevelRequirement: (a: number) => number;
|
|
6314
|
-
readonly publickeysecuritylevelnotmeterror_getCode: (a: number) => number;
|
|
6315
|
-
readonly publickeysecuritylevelnotmeterror_message: (a: number, b: number) => void;
|
|
6316
|
-
readonly publickeysecuritylevelnotmeterror_serialize: (a: number, b: number) => void;
|
|
6317
6276
|
readonly statetransitionmaxsizeexceedederror_getActualSizeKBytes: (a: number) => number;
|
|
6318
6277
|
readonly statetransitionmaxsizeexceedederror_getMaxSizeKBytes: (a: number) => number;
|
|
6319
6278
|
readonly statetransitionmaxsizeexceedederror_getCode: (a: number) => number;
|
|
@@ -6324,11 +6283,6 @@ export interface InitOutput {
|
|
|
6324
6283
|
readonly unsupportedprotocolversionerror_getCode: (a: number) => number;
|
|
6325
6284
|
readonly unsupportedprotocolversionerror_message: (a: number, b: number) => void;
|
|
6326
6285
|
readonly unsupportedprotocolversionerror_serialize: (a: number, b: number) => void;
|
|
6327
|
-
readonly wrongpublickeypurposeerror_getPublicKeyPurpose: (a: number) => number;
|
|
6328
|
-
readonly wrongpublickeypurposeerror_getKeyPurposeRequirement: (a: number) => number;
|
|
6329
|
-
readonly wrongpublickeypurposeerror_getCode: (a: number) => number;
|
|
6330
|
-
readonly wrongpublickeypurposeerror_message: (a: number, b: number) => void;
|
|
6331
|
-
readonly wrongpublickeypurposeerror_serialize: (a: number, b: number) => void;
|
|
6332
6286
|
readonly __wbg_identitypublickeyisreadonlyerror_free: (a: number) => void;
|
|
6333
6287
|
readonly identitypublickeyisreadonlyerror_getKeyId: (a: number) => number;
|
|
6334
6288
|
readonly identitypublickeyisreadonlyerror_getCode: (a: number) => number;
|
|
@@ -6354,14 +6308,27 @@ export interface InitOutput {
|
|
|
6354
6308
|
readonly identitypublickey_isMaster: (a: number) => number;
|
|
6355
6309
|
readonly identitypublickey_toJSON: (a: number, b: number) => void;
|
|
6356
6310
|
readonly identitypublickey_toObject: (a: number, b: number) => void;
|
|
6357
|
-
readonly __wbg_identityvalidator_free: (a: number) => void;
|
|
6358
|
-
readonly identityvalidator_new: (a: number, b: number) => void;
|
|
6359
|
-
readonly identityvalidator_validate: (a: number, b: number, c: number) => void;
|
|
6360
6311
|
readonly __wbg_identitycreatetransitionstatevalidator_free: (a: number) => void;
|
|
6361
6312
|
readonly identitycreatetransitionstatevalidator_new: (a: number) => number;
|
|
6362
6313
|
readonly identitycreatetransitionstatevalidator_validate: (a: number, b: number, c: number) => number;
|
|
6363
6314
|
readonly identitytopuptransitionstatevalidator_validate: (a: number, b: number, c: number) => number;
|
|
6364
|
-
readonly
|
|
6315
|
+
readonly __wbg_statetransitionfacade_free: (a: number) => void;
|
|
6316
|
+
readonly statetransitionfacade_createFromObject: (a: number, b: number, c: number) => number;
|
|
6317
|
+
readonly statetransitionfacade_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
6318
|
+
readonly statetransitionfacade_validate: (a: number, b: number, c: number, d: number) => number;
|
|
6319
|
+
readonly statetransitionfacade_validateBasic: (a: number, b: number, c: number) => number;
|
|
6320
|
+
readonly statetransitionfacade_validateSignature: (a: number, b: number, c: number) => number;
|
|
6321
|
+
readonly statetransitionfacade_validateFee: (a: number, b: number, c: number) => number;
|
|
6322
|
+
readonly statetransitionfacade_validateState: (a: number, b: number, c: number) => number;
|
|
6323
|
+
readonly statetransitionfacade_apply: (a: number, b: number) => number;
|
|
6324
|
+
readonly __wbg_precalculatedoperation_free: (a: number) => void;
|
|
6325
|
+
readonly precalculatedoperation_new: (a: number, b: number, c: number, d: number) => void;
|
|
6326
|
+
readonly precalculatedoperation_fromFee: (a: number) => number;
|
|
6327
|
+
readonly precalculatedoperation_getProcessingCost: (a: number, b: number) => void;
|
|
6328
|
+
readonly precalculatedoperation_getStorageCost: (a: number, b: number) => void;
|
|
6329
|
+
readonly precalculatedoperation_refunds: (a: number) => number;
|
|
6330
|
+
readonly precalculatedoperation_refunds_as_objects: (a: number, b: number) => void;
|
|
6331
|
+
readonly precalculatedoperation_toJSON: (a: number, b: number) => void;
|
|
6365
6332
|
readonly __wbg_identitytopuptransitionstatevalidator_free: (a: number) => void;
|
|
6366
6333
|
readonly identitypublickeyisreadonlyerror_getPublicKeyIndex: (a: number) => number;
|
|
6367
6334
|
readonly identitytopuptransitionstatevalidator_new: (a: number) => number;
|
|
@@ -6370,23 +6337,26 @@ export interface InitOutput {
|
|
|
6370
6337
|
readonly __wbg_incompatibleprotocolversionerror_free: (a: number) => void;
|
|
6371
6338
|
readonly __wbg_statetransitionmaxsizeexceedederror_free: (a: number) => void;
|
|
6372
6339
|
readonly __wbg_unsupportedprotocolversionerror_free: (a: number) => void;
|
|
6373
|
-
readonly __wbg_wrongpublickeypurposeerror_free: (a: number) => void;
|
|
6374
|
-
readonly __wbg_publickeysecuritylevelnotmeterror_free: (a: number) => void;
|
|
6375
|
-
readonly __wbg_uniqueindiceslimitreachederror_free: (a: number) => void;
|
|
6376
6340
|
readonly __wbg_applydatacontractcreatetransition_free: (a: number) => void;
|
|
6377
6341
|
readonly applydatacontractcreatetransition_new: (a: number) => number;
|
|
6378
6342
|
readonly applydatacontractcreatetransition_applyDataContractCreateTransition: (a: number, b: number) => number;
|
|
6379
|
-
readonly
|
|
6380
|
-
readonly
|
|
6381
|
-
readonly
|
|
6382
|
-
readonly
|
|
6383
|
-
readonly
|
|
6384
|
-
readonly
|
|
6385
|
-
readonly
|
|
6386
|
-
readonly
|
|
6387
|
-
readonly
|
|
6388
|
-
readonly
|
|
6389
|
-
readonly
|
|
6343
|
+
readonly __wbg_datacontractfacade_free: (a: number) => void;
|
|
6344
|
+
readonly datacontractfacade_create: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
6345
|
+
readonly datacontractfacade_createFromObject: (a: number, b: number, c: number) => number;
|
|
6346
|
+
readonly datacontractfacade_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
6347
|
+
readonly datacontractfacade_createDataContractCreateTransition: (a: number, b: number, c: number) => void;
|
|
6348
|
+
readonly datacontractfacade_createDataContractUpdateTransition: (a: number, b: number, c: number) => void;
|
|
6349
|
+
readonly datacontractfacade_validate: (a: number, b: number) => number;
|
|
6350
|
+
readonly __wbg_datatrigger_free: (a: number) => void;
|
|
6351
|
+
readonly datatrigger_get_data_contract_id: (a: number) => number;
|
|
6352
|
+
readonly datatrigger_set_data_contract_id: (a: number, b: number, c: number) => void;
|
|
6353
|
+
readonly datatrigger_get_document_type: (a: number, b: number) => void;
|
|
6354
|
+
readonly datatrigger_set_document_type: (a: number, b: number, c: number) => void;
|
|
6355
|
+
readonly datatrigger_get_data_trigger_kind: (a: number, b: number) => void;
|
|
6356
|
+
readonly datatrigger_get_transition_action: (a: number, b: number) => void;
|
|
6357
|
+
readonly datatrigger_set_transition_action: (a: number, b: number, c: number, d: number) => void;
|
|
6358
|
+
readonly datatrigger_get_top_level_identity: (a: number) => number;
|
|
6359
|
+
readonly datatrigger_set_top_level_identity: (a: number, b: number, c: number) => void;
|
|
6390
6360
|
readonly __wbg_datacontractimmutablepropertiesupdateerror_free: (a: number) => void;
|
|
6391
6361
|
readonly datacontractimmutablepropertiesupdateerror_getOperation: (a: number, b: number) => void;
|
|
6392
6362
|
readonly datacontractimmutablepropertiesupdateerror_getFieldPath: (a: number, b: number) => void;
|
|
@@ -6411,6 +6381,17 @@ export interface InitOutput {
|
|
|
6411
6381
|
readonly duplicatedidentitypublickeyiderror_getCode: (a: number) => number;
|
|
6412
6382
|
readonly duplicatedidentitypublickeyiderror_message: (a: number, b: number) => void;
|
|
6413
6383
|
readonly duplicatedidentitypublickeyiderror_serialize: (a: number, b: number) => void;
|
|
6384
|
+
readonly __wbg_datatriggerinvalidresulterror_free: (a: number) => void;
|
|
6385
|
+
readonly datatriggerinvalidresulterror_getDataContractId: (a: number) => number;
|
|
6386
|
+
readonly datatriggerinvalidresulterror_getDocumentId: (a: number) => number;
|
|
6387
|
+
readonly datatriggerinvalidresulterror_getCode: (a: number) => number;
|
|
6388
|
+
readonly datatriggerinvalidresulterror_message: (a: number, b: number) => void;
|
|
6389
|
+
readonly datatriggerinvalidresulterror_serialize: (a: number, b: number) => void;
|
|
6390
|
+
readonly __wbg_datatriggeractioninvalidresulterror_free: (a: number) => void;
|
|
6391
|
+
readonly datatriggeractioninvalidresulterror_getDataContractId: (a: number) => number;
|
|
6392
|
+
readonly datatriggeractioninvalidresulterror_getDocumentTransitionId: (a: number) => number;
|
|
6393
|
+
readonly datatriggeractioninvalidresulterror_getOwnerId: (a: number) => number;
|
|
6394
|
+
readonly datatriggeractioninvalidresulterror_getCode: (a: number) => number;
|
|
6414
6395
|
readonly duplicatedidentitypublickeyidstateerror_getDuplicatedIds: (a: number) => number;
|
|
6415
6396
|
readonly duplicatedidentitypublickeyidstateerror_getCode: (a: number) => number;
|
|
6416
6397
|
readonly duplicatedidentitypublickeyidstateerror_message: (a: number, b: number) => void;
|
|
@@ -6419,46 +6400,46 @@ export interface InitOutput {
|
|
|
6419
6400
|
readonly duplicatedidentitypublickeystateerror_getCode: (a: number) => number;
|
|
6420
6401
|
readonly duplicatedidentitypublickeystateerror_message: (a: number, b: number) => void;
|
|
6421
6402
|
readonly duplicatedidentitypublickeystateerror_serialize: (a: number, b: number) => void;
|
|
6422
|
-
readonly
|
|
6423
|
-
readonly
|
|
6424
|
-
readonly
|
|
6425
|
-
readonly
|
|
6426
|
-
readonly
|
|
6427
|
-
readonly
|
|
6428
|
-
readonly
|
|
6429
|
-
readonly
|
|
6430
|
-
readonly
|
|
6431
|
-
readonly
|
|
6432
|
-
readonly
|
|
6433
|
-
readonly
|
|
6434
|
-
readonly
|
|
6435
|
-
readonly
|
|
6436
|
-
readonly
|
|
6437
|
-
readonly
|
|
6438
|
-
readonly
|
|
6403
|
+
readonly __wbg_metadata_free: (a: number) => void;
|
|
6404
|
+
readonly metadata_new: (a: number, b: number) => void;
|
|
6405
|
+
readonly metadata_from: (a: number, b: number) => void;
|
|
6406
|
+
readonly metadata_toJSON: (a: number) => number;
|
|
6407
|
+
readonly metadata_toObject: (a: number) => number;
|
|
6408
|
+
readonly metadata_getBlockHeight: (a: number) => number;
|
|
6409
|
+
readonly metadata_getCoreChainLockedHeight: (a: number) => number;
|
|
6410
|
+
readonly metadata_getTimeMs: (a: number) => number;
|
|
6411
|
+
readonly metadata_getProtocolVersion: (a: number) => number;
|
|
6412
|
+
readonly __wbg_signatureverificationoperation_free: (a: number) => void;
|
|
6413
|
+
readonly signatureverificationoperation_new: (a: number, b: number) => void;
|
|
6414
|
+
readonly signatureverificationoperation_getProcessingCost: (a: number, b: number) => void;
|
|
6415
|
+
readonly signatureverificationoperation_getStorageCost: (a: number, b: number) => void;
|
|
6416
|
+
readonly signatureverificationoperation_refunds: (a: number) => number;
|
|
6417
|
+
readonly signatureverificationoperation_toJSON: (a: number, b: number) => void;
|
|
6418
|
+
readonly __wbg_validationresult_free: (a: number) => void;
|
|
6419
|
+
readonly validationresult_new: (a: number, b: number, c: number) => void;
|
|
6420
|
+
readonly validationresult_errorsText: (a: number, b: number) => void;
|
|
6421
|
+
readonly validationresult_isValid: (a: number) => number;
|
|
6422
|
+
readonly validationresult_errors: (a: number, b: number) => void;
|
|
6423
|
+
readonly validationresult_getData: (a: number) => number;
|
|
6424
|
+
readonly validationresult_getFirstError: (a: number) => number;
|
|
6425
|
+
readonly validationresult_addError: (a: number, b: number, c: number) => void;
|
|
6439
6426
|
readonly __wbg_duplicatedidentitypublickeyiderror_free: (a: number) => void;
|
|
6440
6427
|
readonly __wbg_duplicatedidentitypublickeyidstateerror_free: (a: number) => void;
|
|
6441
6428
|
readonly __wbg_duplicatedidentitypublickeystateerror_free: (a: number) => void;
|
|
6442
|
-
readonly
|
|
6443
|
-
readonly applydatacontractupdatetransition_new: (a: number) => number;
|
|
6429
|
+
readonly validationresult_getErrors: (a: number, b: number) => void;
|
|
6444
6430
|
readonly __wbg_duplicatedocumenttransitionswithindiceserror_free: (a: number) => void;
|
|
6445
|
-
readonly
|
|
6446
|
-
readonly
|
|
6447
|
-
readonly
|
|
6448
|
-
readonly
|
|
6449
|
-
readonly
|
|
6450
|
-
readonly
|
|
6451
|
-
readonly
|
|
6452
|
-
readonly
|
|
6453
|
-
readonly
|
|
6454
|
-
readonly
|
|
6455
|
-
readonly
|
|
6456
|
-
readonly
|
|
6457
|
-
readonly datatrigger_get_data_trigger_kind: (a: number, b: number) => void;
|
|
6458
|
-
readonly datatrigger_get_transition_action: (a: number, b: number) => void;
|
|
6459
|
-
readonly datatrigger_set_transition_action: (a: number, b: number, c: number, d: number) => void;
|
|
6460
|
-
readonly datatrigger_get_top_level_identity: (a: number) => number;
|
|
6461
|
-
readonly datatrigger_set_top_level_identity: (a: number, b: number, c: number) => void;
|
|
6431
|
+
readonly validateDataContractCreateTransitionState: (a: number, b: number, c: number) => number;
|
|
6432
|
+
readonly validateDataContractCreateTransitionBasic: (a: number) => number;
|
|
6433
|
+
readonly __wbg_indexproperty_free: (a: number) => void;
|
|
6434
|
+
readonly indexproperty_isAscending: (a: number) => number;
|
|
6435
|
+
readonly __wbg_indexdefinition_free: (a: number) => void;
|
|
6436
|
+
readonly indexdefinition_getName: (a: number, b: number) => void;
|
|
6437
|
+
readonly indexdefinition_getProperties: (a: number, b: number) => void;
|
|
6438
|
+
readonly indexdefinition_isUnique: (a: number) => number;
|
|
6439
|
+
readonly indexdefinition_toObject: (a: number, b: number) => void;
|
|
6440
|
+
readonly __wbg_mismatchowneridserror_free: (a: number) => void;
|
|
6441
|
+
readonly mismatchowneridserror_new: (a: number, b: number) => number;
|
|
6442
|
+
readonly mismatchowneridserror_getDocuments: (a: number, b: number) => void;
|
|
6462
6443
|
readonly __wbg_extendeddocument_free: (a: number) => void;
|
|
6463
6444
|
readonly extendeddocument_new: (a: number, b: number, c: number) => void;
|
|
6464
6445
|
readonly extendeddocument_getProtocolVersion: (a: number) => number;
|
|
@@ -6532,17 +6513,18 @@ export interface InitOutput {
|
|
|
6532
6513
|
readonly invaliddocumenttransitionactionerror_getCode: (a: number) => number;
|
|
6533
6514
|
readonly invaliddocumenttransitionactionerror_message: (a: number, b: number) => void;
|
|
6534
6515
|
readonly invaliddocumenttransitionactionerror_serialize: (a: number, b: number) => void;
|
|
6535
|
-
readonly
|
|
6536
|
-
readonly
|
|
6537
|
-
readonly
|
|
6538
|
-
readonly
|
|
6539
|
-
readonly
|
|
6540
|
-
readonly
|
|
6541
|
-
readonly
|
|
6542
|
-
readonly
|
|
6543
|
-
readonly
|
|
6544
|
-
readonly
|
|
6545
|
-
readonly
|
|
6516
|
+
readonly identityassetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
|
|
6517
|
+
readonly identityassetlocktransactionisnotfounderror_getCode: (a: number) => number;
|
|
6518
|
+
readonly identityassetlocktransactionisnotfounderror_message: (a: number, b: number) => void;
|
|
6519
|
+
readonly identityassetlocktransactionisnotfounderror_serialize: (a: number, b: number) => void;
|
|
6520
|
+
readonly invalididentityassetlocktransactionerror_getErrorMessage: (a: number, b: number) => void;
|
|
6521
|
+
readonly invalididentityassetlocktransactionerror_getCode: (a: number) => number;
|
|
6522
|
+
readonly invalididentityassetlocktransactionerror_message: (a: number, b: number) => void;
|
|
6523
|
+
readonly invalididentityassetlocktransactionerror_serialize: (a: number, b: number) => void;
|
|
6524
|
+
readonly jsonschemacompilationerror_getError: (a: number, b: number) => void;
|
|
6525
|
+
readonly jsonschemacompilationerror_getCode: (a: number) => number;
|
|
6526
|
+
readonly jsonschemacompilationerror_message: (a: number, b: number) => void;
|
|
6527
|
+
readonly jsonschemacompilationerror_serialize: (a: number, b: number) => void;
|
|
6546
6528
|
readonly documentalreadypresenterror_getDocumentId: (a: number) => number;
|
|
6547
6529
|
readonly documentalreadypresenterror_getCode: (a: number) => number;
|
|
6548
6530
|
readonly documentalreadypresenterror_message: (a: number, b: number) => void;
|
|
@@ -6559,6 +6541,12 @@ export interface InitOutput {
|
|
|
6559
6541
|
readonly identityalreadyexistserror_getCode: (a: number) => number;
|
|
6560
6542
|
readonly identityalreadyexistserror_message: (a: number, b: number) => void;
|
|
6561
6543
|
readonly identityalreadyexistserror_serialize: (a: number, b: number) => void;
|
|
6544
|
+
readonly __wbg_missingidentitypublickeyidserror_free: (a: number) => void;
|
|
6545
|
+
readonly missingidentitypublickeyidserror_getDuplicatedIds: (a: number) => number;
|
|
6546
|
+
readonly valueerror_getMessage: (a: number, b: number) => void;
|
|
6547
|
+
readonly valueerror_getCode: (a: number) => number;
|
|
6548
|
+
readonly valueerror_message: (a: number, b: number) => void;
|
|
6549
|
+
readonly valueerror_serialize: (a: number, b: number) => void;
|
|
6562
6550
|
readonly __wbg_identityfacade_free: (a: number) => void;
|
|
6563
6551
|
readonly identityfacade_create: (a: number, b: number, c: number, d: number) => void;
|
|
6564
6552
|
readonly identityfacade_createFromObject: (a: number, b: number, c: number, d: number) => void;
|
|
@@ -6570,36 +6558,43 @@ export interface InitOutput {
|
|
|
6570
6558
|
readonly identityfacade_createIdentityTopUpTransition: (a: number, b: number, c: number, d: number) => void;
|
|
6571
6559
|
readonly identityfacade_createIdentityUpdateTransition: (a: number, b: number, c: number, d: number) => void;
|
|
6572
6560
|
readonly __wbg_nonconsensuserrorwasm_free: (a: number) => void;
|
|
6573
|
-
readonly
|
|
6574
|
-
readonly
|
|
6575
|
-
readonly
|
|
6576
|
-
readonly
|
|
6577
|
-
readonly
|
|
6578
|
-
readonly
|
|
6579
|
-
readonly
|
|
6580
|
-
readonly
|
|
6581
|
-
readonly
|
|
6582
|
-
readonly
|
|
6583
|
-
readonly
|
|
6584
|
-
readonly
|
|
6585
|
-
readonly
|
|
6586
|
-
readonly
|
|
6587
|
-
readonly
|
|
6588
|
-
readonly
|
|
6589
|
-
readonly
|
|
6590
|
-
readonly
|
|
6591
|
-
readonly
|
|
6592
|
-
readonly
|
|
6593
|
-
readonly
|
|
6594
|
-
readonly
|
|
6595
|
-
readonly
|
|
6561
|
+
readonly __wbg_publickeysvalidator_free: (a: number) => void;
|
|
6562
|
+
readonly publickeysvalidator_new: (a: number, b: number) => void;
|
|
6563
|
+
readonly publickeysvalidator_validateKeys: (a: number, b: number, c: number) => void;
|
|
6564
|
+
readonly publickeysvalidator_validatePublicKeyStructure: (a: number, b: number, c: number) => void;
|
|
6565
|
+
readonly publickeysvalidator_validateKeysInStateTransition: (a: number, b: number, c: number) => void;
|
|
6566
|
+
readonly __wbg_instantassetlockproof_free: (a: number) => void;
|
|
6567
|
+
readonly instantassetlockproof_new: (a: number, b: number) => void;
|
|
6568
|
+
readonly instantassetlockproof_getType: (a: number) => number;
|
|
6569
|
+
readonly instantassetlockproof_getOutputIndex: (a: number) => number;
|
|
6570
|
+
readonly instantassetlockproof_getOutPoint: (a: number) => number;
|
|
6571
|
+
readonly instantassetlockproof_getOutput: (a: number, b: number) => void;
|
|
6572
|
+
readonly instantassetlockproof_createIdentifier: (a: number, b: number) => void;
|
|
6573
|
+
readonly instantassetlockproof_getInstantLock: (a: number) => number;
|
|
6574
|
+
readonly instantassetlockproof_getTransaction: (a: number) => number;
|
|
6575
|
+
readonly instantassetlockproof_toObject: (a: number, b: number) => void;
|
|
6576
|
+
readonly instantassetlockproof_toJSON: (a: number, b: number) => void;
|
|
6577
|
+
readonly calculateStateTransitionFeeFromOperations: (a: number, b: number, c: number) => void;
|
|
6578
|
+
readonly __wbg_statetransitionexecutioncontext_free: (a: number) => void;
|
|
6579
|
+
readonly statetransitionexecutioncontext_new: () => number;
|
|
6580
|
+
readonly statetransitionexecutioncontext_enableDryRun: (a: number) => void;
|
|
6581
|
+
readonly statetransitionexecutioncontext_disableDryRun: (a: number) => void;
|
|
6582
|
+
readonly statetransitionexecutioncontext_isDryRun: (a: number) => number;
|
|
6583
|
+
readonly statetransitionexecutioncontext_addOperation: (a: number, b: number, c: number) => void;
|
|
6584
|
+
readonly statetransitionexecutioncontext_getDryOperations: (a: number, b: number) => void;
|
|
6585
|
+
readonly statetransitionexecutioncontext_getOperations: (a: number, b: number) => void;
|
|
6586
|
+
readonly statetransitionexecutioncontext_clearDryOperations: (a: number) => void;
|
|
6596
6587
|
readonly extendeddocument_getId: (a: number) => number;
|
|
6597
|
-
readonly
|
|
6588
|
+
readonly indexproperty_getName: (a: number, b: number) => void;
|
|
6589
|
+
readonly __wbg_identityassetlocktransactionisnotfounderror_free: (a: number) => void;
|
|
6598
6590
|
readonly __wbg_documentalreadypresenterror_free: (a: number) => void;
|
|
6599
6591
|
readonly __wbg_documentnotfounderror_free: (a: number) => void;
|
|
6600
6592
|
readonly __wbg_documenttimestampsmismatcherror_free: (a: number) => void;
|
|
6601
6593
|
readonly __wbg_identityalreadyexistserror_free: (a: number) => void;
|
|
6602
6594
|
readonly __wbg_serializedobjectparsingerror_free: (a: number) => void;
|
|
6595
|
+
readonly __wbg_invalididentityassetlocktransactionerror_free: (a: number) => void;
|
|
6596
|
+
readonly __wbg_jsonschemacompilationerror_free: (a: number) => void;
|
|
6597
|
+
readonly __wbg_valueerror_free: (a: number) => void;
|
|
6603
6598
|
readonly rustsecp256k1_v0_6_1_context_create: (a: number) => number;
|
|
6604
6599
|
readonly rustsecp256k1_v0_6_1_context_destroy: (a: number) => void;
|
|
6605
6600
|
readonly rustsecp256k1_v0_6_1_default_illegal_callback_fn: (a: number, b: number) => void;
|