@dashevo/wasm-dpp 0.24.0-dev.11 → 0.24.0-dev.13
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/Cargo.toml +3 -0
- package/README.md +5 -1
- package/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +9 -0
- package/dist/lib/dpp.d.ts +9 -0
- package/dist/lib/errors/AbstractConsensusError.d.ts +10 -0
- package/dist/lib/errors/DPPError.d.ts +5 -0
- package/dist/lib/errors/patchConsensusErrors.d.ts +1 -0
- package/dist/lib/{patchIdentifier.d.ts → identifier/patchIdentifier.d.ts} +1 -1
- package/dist/{index.d.ts → lib/index.d.ts} +1 -1
- package/dist/lib/utils/extend.d.ts +1 -0
- package/dist/wasm/wasm_dpp.d.ts +1595 -518
- package/karma.conf.js +5 -0
- package/lib/dpp.ts +24 -0
- package/lib/errors/AbstractConsensusError.ts +13 -0
- package/lib/errors/DPPError.ts +15 -0
- package/lib/errors/patchConsensusErrors.ts +175 -0
- package/lib/{patchIdentifier.ts → identifier/patchIdentifier.ts} +6 -5
- package/{index.ts → lib/index.ts} +5 -4
- package/lib/test/bootstrap.js +5 -0
- package/lib/test/expect/expectError.js +4 -2
- package/lib/test/mocks/getBlsAdapterMock.js +36 -0
- package/lib/test/utils/newDocumentsContainer.js +36 -0
- package/lib/utils/extend.ts +6 -0
- package/package.json +9 -6
- package/src/bls_adapter.rs +16 -1
- package/src/data_contract/data_contract.rs +35 -7
- package/src/data_contract/errors/invalid_data_contract.rs +21 -0
- package/src/data_contract/errors/invalid_document_type.rs +1 -1
- package/src/data_contract/index.rs +56 -1
- package/src/data_contract/mod.rs +1 -0
- package/src/data_contract/state_transition/data_contract_create_transition/mod.rs +6 -8
- package/src/data_contract/state_transition/data_contract_create_transition/validation.rs +4 -4
- package/src/data_contract/state_transition/data_contract_update_transition/apply.rs +44 -0
- package/src/data_contract/state_transition/data_contract_update_transition/mod.rs +145 -0
- package/src/data_contract/state_transition/data_contract_update_transition/validation.rs +49 -0
- package/src/data_contract/state_transition/mod.rs +2 -0
- package/src/data_contract_factory/data_contract_factory.rs +25 -12
- package/src/document/errors/invalid_document_error.rs +10 -9
- package/src/document/errors/invalid_initial_revision_error.rs +1 -1
- package/src/document/errors/mismatch_owners_ids_error.rs +14 -4
- package/src/document/errors/mod.rs +17 -13
- package/src/document/errors/no_documents_supplied_error.rs +4 -4
- package/src/document/factory.rs +192 -0
- package/src/document/mod.rs +222 -30
- package/src/document/state_transition/document_batch_transition/document_transition/document_create_transition.rs +47 -1
- package/src/document/state_transition/document_batch_transition/document_transition/document_delete_transition.rs +25 -1
- package/src/document/state_transition/document_batch_transition/document_transition/document_replace_transition.rs +65 -0
- package/src/document/state_transition/document_batch_transition/document_transition/mod.rs +123 -3
- package/src/document/state_transition/document_batch_transition/mod.rs +378 -0
- package/src/document/validator.rs +30 -0
- package/src/errors/consensus/basic/data_contract/data_contract_max_depth_exceed_error.rs +5 -5
- package/src/errors/consensus/basic/document/duplicate_document_transitions_with_ids_error.rs +4 -4
- package/src/errors/consensus/basic/document/duplicate_document_transitions_with_indices_error.rs +36 -0
- package/src/errors/consensus/basic/document/missing_document_transition_type_error.rs +20 -0
- package/src/errors/consensus/basic/document/mod.rs +4 -0
- package/src/errors/consensus/basic/identity/duplicated_identity_public_key_error.rs +2 -2
- package/src/errors/consensus/basic/identity/duplicated_identity_public_key_id_error.rs +2 -2
- package/src/errors/consensus/basic/identity/identity_asset_lock_proof_locked_transaction_mismatch_error.rs +6 -2
- package/src/errors/consensus/basic/identity/identity_asset_lock_transaction_out_point_already_exists_error.rs +5 -2
- package/src/errors/consensus/basic/identity/invalid_asset_lock_proof_transaction_height_error.rs +3 -3
- package/src/errors/consensus/basic/identity/invalid_identity_public_key_security_level_error.rs +2 -2
- package/src/errors/consensus/basic/json_schema_error.rs +1 -1
- package/src/errors/consensus_error.rs +15 -8
- package/src/errors/dpp_error.rs +17 -0
- package/src/errors/from.rs +6 -1
- package/src/errors/js_conversion.rs +19 -4
- package/src/errors/mod.rs +3 -0
- package/src/errors/protocol_error.rs +15 -0
- package/src/{identifier.rs → identifier/mod.rs} +48 -3
- package/src/identity/errors/asset_lock_output_not_found_error.rs +11 -0
- package/src/identity/errors/asset_lock_transaction_is_not_found_error.rs +20 -0
- package/src/identity/errors/mod.rs +7 -0
- package/src/identity/errors/unknown_asset_lock_proof_type_error.rs +26 -0
- package/src/{identity_facade.rs → identity/identity_facade.rs} +3 -5
- package/src/{identity_public_key → identity/identity_public_key}/key_type.rs +0 -0
- package/src/{identity_public_key → identity/identity_public_key}/mod.rs +41 -10
- package/src/{identity_public_key → identity/identity_public_key}/purpose.rs +0 -0
- package/src/{identity_public_key → identity/identity_public_key}/security_level.rs +0 -0
- package/src/{identity.rs → identity/mod.rs} +20 -12
- package/src/identity/state_transition/asset_lock_proof/chain/chain_asset_lock_proof.rs +132 -0
- package/src/identity/state_transition/asset_lock_proof/chain/chain_asset_lock_proof_structure_validator.rs +72 -0
- package/src/identity/state_transition/asset_lock_proof/chain/mod.rs +4 -0
- package/src/identity/state_transition/asset_lock_proof/instant/instant_asset_lock_proof.rs +177 -0
- package/src/identity/state_transition/asset_lock_proof/instant/instant_asset_lock_proof_structure_validator.rs +72 -0
- package/src/identity/state_transition/asset_lock_proof/instant/mod.rs +4 -0
- package/src/identity/state_transition/asset_lock_proof/mod.rs +269 -0
- package/src/identity/state_transition/identity_create_transition/apply_identity_create_transition.rs +26 -0
- package/src/identity/state_transition/identity_create_transition/identity_create_transition.rs +335 -0
- package/src/identity/state_transition/identity_create_transition/identity_create_transition_basic_validator.rs +153 -0
- package/src/identity/state_transition/identity_create_transition/identity_create_transition_state_validator.rs +37 -0
- package/src/identity/state_transition/identity_create_transition/mod.rs +8 -0
- package/src/identity/state_transition/identity_create_transition/to_object.rs +46 -0
- package/src/identity/state_transition/identity_topup_transition/apply_identity_topup_transition.rs +31 -0
- package/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs +280 -0
- package/src/identity/state_transition/identity_topup_transition/identity_topup_transition_basic_validator.rs +113 -0
- package/src/identity/state_transition/identity_topup_transition/identity_topup_transition_state_validator.rs +37 -0
- package/src/identity/state_transition/identity_topup_transition/mod.rs +8 -0
- package/src/identity/state_transition/identity_topup_transition/to_object.rs +42 -0
- package/src/identity/state_transition/mod.rs +9 -0
- package/src/identity/state_transition/validate_public_key_signatures.rs +59 -0
- package/src/identity/validation/mod.rs +3 -0
- package/src/identity/validation/public_keys_validator.rs +76 -0
- package/src/identity_public_key/public_keys_validator.rs +1 -1
- package/src/lib.rs +3 -6
- package/src/lodash.rs +7 -0
- package/src/state_repository.rs +188 -36
- package/src/state_transition/mod.rs +12 -0
- package/src/utils.rs +102 -7
- package/src/validation/json_schema_validator.rs +41 -0
- package/src/validation/mod.rs +5 -0
- package/src/{validation_result.rs → validation/validation_result.rs} +23 -5
- package/src/version/mod.rs +2 -0
- package/src/version/protocol_version.rs +26 -0
- package/test/integration/dataContract/validation/validateDataContractFactory.spec.js +579 -502
- package/test/integration/identity/stateTransition/IdentityCreateTransition/validation/basic/validateIdentityCreateTransitionBasicFactory.spec.js +175 -165
- package/test/integration/identity/stateTransition/IdentityTopUpTransition/validation/basic/validateIdentityTopUpTransitionBasicFactory.spec.js +83 -114
- package/test/integration/identity/stateTransition/IdentityUpdateTransition/validation/state/validateIdentityUpdateTransitionStateFactory.spec.js +1 -1
- package/test/integration/identity/stateTransition/assetLockProof/chain/validateChainAssetLockProofStructureFactory.spec.js +82 -91
- package/test/integration/identity/stateTransition/assetLockProof/fetchAssetLockTransactionOutputFactory.spec.js +75 -31
- package/test/integration/identity/stateTransition/assetLockProof/instant/validateInstantAssetLockProofStructureFactory.spec.js +93 -148
- package/test/integration/identity/stateTransition/assetLockProof/validateAssetLockTransactionFactory.spec.js +63 -75
- package/test/integration/identity/stateTransition/validatePublicKeySignaturesFactory.spec.js +48 -19
- package/test/integration/identity/validation/validatePublicKeysFactory.spec.js +79 -114
- package/test/integration/stateTransition/AbstractStateTransitionIdentitySigned.spec.js +0 -11
- package/test/integration/stateTransition/StateTransitionFacade.spec.js +1 -1
- package/test/integration/stateTransition/calculateStateTransitionFeeFactory.spec.js +135 -0
- package/test/unit/dataContract/DataContract.spec.js +5 -9
- package/test/unit/dataContract/DataContractFactory.spec.js +13 -6
- package/test/unit/dataContract/createDataContract.spec.js +0 -1
- package/test/unit/dataContract/errors/InvalidDataContractError.spec.js +11 -3
- package/test/unit/dataContract/stateTransition/DataContractCreateTransition/DataContractCreateTransition.spec.js +3 -3
- package/test/unit/dataContract/stateTransition/DataContractCreateTransition/validation/state/validateDataContractCreateTransitionStateFactory.spec.js +20 -16
- package/test/unit/dataContract/stateTransition/DataContractUpdateTransition/DataContractUpdateTransition.spec.js +24 -60
- package/test/unit/dataContract/stateTransition/DataContractUpdateTransition/applyDataContractUpdateTransitionFactory.spec.js +27 -23
- package/test/unit/dataContract/stateTransition/DataContractUpdateTransition/validation/basic/validateIndicesAreBackwardCompatible.spec.js +29 -12
- package/test/unit/dataContract/stateTransition/DataContractUpdateTransition/validation/state/validateDataContractUpdateTransitionStateFactory.spec.js +66 -49
- package/test/unit/dataContract/validation/validateDataContractPatterns.spec.js +73 -0
- package/test/unit/decodeProtocolEntityFactory.spec.js +2 -2
- package/test/unit/document/Document.spec.js +147 -155
- package/test/unit/document/DocumentFactory.spec.js +325 -91
- package/test/unit/document/stateTransition/DocumetsBatchTransition/DocumentsBatchTransition.spec.js +142 -64
- package/test/unit/document/stateTransition/DocumetsBatchTransition/applyDocumentsBatchTransitionFactory.spec.js +1 -1
- package/test/unit/document/stateTransition/DocumetsBatchTransition/validation/state/validateDocumentsBatchTransitionStateFactory.spec.js +1 -1
- package/test/unit/identity/Identity.spec.js +2 -2
- package/test/unit/identity/IdentityPublicKey.spec.js +25 -31
- package/test/unit/identity/stateTransition/IdentityCreateTransition/IdentityCreateTransition.spec.js +69 -30
- package/test/unit/identity/stateTransition/IdentityCreateTransition/applyIdentityCreateTransitionFactory.spec.js +32 -32
- package/test/unit/identity/stateTransition/IdentityCreateTransition/validation/state/validateIdentityCreateTransitionStateFactory.spec.js +56 -25
- package/test/unit/identity/stateTransition/IdentityTopUpTransition/IdentityTopUpTransition.spec.js +36 -16
- package/test/unit/identity/stateTransition/IdentityTopUpTransition/applyIdentityTopUpTransitionFactory.spec.js +48 -46
- package/test/unit/identity/stateTransition/IdentityTopUpTransition/validation/state/validateIdentityTopUpTransitionStateFactory.spec.js +24 -6
- package/test/unit/identity/stateTransition/assetLockProof/ChainAssetLockProof.spec.js +63 -0
- package/test/unit/identity/stateTransition/assetLockProof/InstantAssetLockProof.spec.js +90 -0
- package/test/unit/identity/stateTransition/assetLockProof/createAssetLockProofInstance.spec.js +18 -3
- package/test/unit/identity/stateTransition/assetLockProof/fetchAssetLockPublicKeyHashFactory.spec.js +38 -11
- package/tsconfig.json +1 -1
- package/wasm/package.json +5 -0
- package/wasm/wasm_dpp.d.ts +1595 -518
- package/wasm/wasm_dpp.js +5007 -2172
- package/wasm/wasm_dpp_bg.js +1 -1
- package/wasm/wasm_dpp_bg.wasm +0 -0
- package/wasm/wasm_dpp_bg.wasm.d.ts +566 -365
- package/webpack.config.js +10 -1
- package/test/integration/stateTransition/calculateStateTransitionFee.spec.js +0 -32
- package/test/unit/dataContract/validation/validateDataContractMaxDepthFactory.spec.js +0 -93
- package/test/unit/dataContract/validation/validateDataContractPatternsFactory.spec.js +0 -64
package/dist/wasm/wasm_dpp.d.ts
CHANGED
|
@@ -7,6 +7,65 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export function validateDataContractCreateTransitionState(state_repository: any, state_transition: DataContractCreateTransition): Promise<ValidationResult>;
|
|
9
9
|
/**
|
|
10
|
+
* @param {any} state_repository
|
|
11
|
+
* @param {IdentityCreateTransition} state_transition
|
|
12
|
+
* @returns {Promise<void>}
|
|
13
|
+
*/
|
|
14
|
+
export function applyIdentityCreateTransition(state_repository: any, state_transition: IdentityCreateTransition): Promise<void>;
|
|
15
|
+
/**
|
|
16
|
+
* @param {any} state_repository
|
|
17
|
+
* @param {IdentityTopUpTransition} state_transition
|
|
18
|
+
* @returns {Promise<void>}
|
|
19
|
+
*/
|
|
20
|
+
export function applyIdentityTopUpTransition(state_repository: any, state_transition: IdentityTopUpTransition): Promise<void>;
|
|
21
|
+
/**
|
|
22
|
+
* @param {any} raw_parameters
|
|
23
|
+
* @returns {any}
|
|
24
|
+
*/
|
|
25
|
+
export function createAssetLockProofInstance(raw_parameters: any): any;
|
|
26
|
+
/**
|
|
27
|
+
* @param {any} state_repository
|
|
28
|
+
* @param {string} raw_transaction
|
|
29
|
+
* @param {number} output_index
|
|
30
|
+
* @param {StateTransitionExecutionContext} execution_context
|
|
31
|
+
* @returns {Promise<ValidationResult>}
|
|
32
|
+
*/
|
|
33
|
+
export function validateAssetLockTransaction(state_repository: any, raw_transaction: string, output_index: number, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
|
|
34
|
+
/**
|
|
35
|
+
* @param {any} state_repository
|
|
36
|
+
* @param {any} raw_asset_lock_proof
|
|
37
|
+
* @param {StateTransitionExecutionContext} execution_context
|
|
38
|
+
* @returns {Promise<any>}
|
|
39
|
+
*/
|
|
40
|
+
export function fetchAssetLockTransactionOutput(state_repository: any, raw_asset_lock_proof: any, execution_context: StateTransitionExecutionContext): Promise<any>;
|
|
41
|
+
/**
|
|
42
|
+
* @param {any} state_repository
|
|
43
|
+
* @param {any} raw_asset_lock_proof
|
|
44
|
+
* @param {StateTransitionExecutionContext} execution_context
|
|
45
|
+
* @returns {Promise<any>}
|
|
46
|
+
*/
|
|
47
|
+
export function fetchAssetLockPublicKeyHash(state_repository: any, raw_asset_lock_proof: any, execution_context: StateTransitionExecutionContext): Promise<any>;
|
|
48
|
+
/**
|
|
49
|
+
* @param {any} state_repository
|
|
50
|
+
* @param {DataContractUpdateTransition} state_transition
|
|
51
|
+
* @returns {Promise<ValidationResult>}
|
|
52
|
+
*/
|
|
53
|
+
export function validateDataContractUpdateTransitionState(state_repository: any, state_transition: DataContractUpdateTransition): Promise<ValidationResult>;
|
|
54
|
+
/**
|
|
55
|
+
* @param {any} old_documents_schema
|
|
56
|
+
* @param {any} new_documents_schema
|
|
57
|
+
* @returns {ValidationResult}
|
|
58
|
+
*/
|
|
59
|
+
export function validateIndicesAreBackwardCompatible(old_documents_schema: any, new_documents_schema: any): ValidationResult;
|
|
60
|
+
/**
|
|
61
|
+
*/
|
|
62
|
+
export enum KeySecurityLevel {
|
|
63
|
+
MASTER,
|
|
64
|
+
CRITICAL,
|
|
65
|
+
HIGH,
|
|
66
|
+
MEDIUM,
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
10
69
|
*/
|
|
11
70
|
export enum KeyPurpose {
|
|
12
71
|
/**
|
|
@@ -25,14 +84,6 @@ export enum KeyPurpose {
|
|
|
25
84
|
}
|
|
26
85
|
/**
|
|
27
86
|
*/
|
|
28
|
-
export enum KeySecurityLevel {
|
|
29
|
-
MASTER,
|
|
30
|
-
CRITICAL,
|
|
31
|
-
HIGH,
|
|
32
|
-
MEDIUM,
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
*/
|
|
36
87
|
export enum KeyType {
|
|
37
88
|
ECDSA_SECP256K1,
|
|
38
89
|
BLS12_381,
|
|
@@ -55,8 +106,48 @@ export class ApplyDataContractCreateTransition {
|
|
|
55
106
|
}
|
|
56
107
|
/**
|
|
57
108
|
*/
|
|
109
|
+
export class ApplyDataContractUpdateTransition {
|
|
110
|
+
free(): void;
|
|
111
|
+
/**
|
|
112
|
+
* @param {any} state_repository
|
|
113
|
+
*/
|
|
114
|
+
constructor(state_repository: any);
|
|
115
|
+
/**
|
|
116
|
+
* @param {DataContractUpdateTransition} transition
|
|
117
|
+
* @returns {Promise<void>}
|
|
118
|
+
*/
|
|
119
|
+
applyDataContractUpdateTransition(transition: DataContractUpdateTransition): Promise<void>;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
*/
|
|
123
|
+
export class AssetLockOutputNotFoundError {
|
|
124
|
+
free(): void;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
*/
|
|
58
128
|
export class AssetLockProof {
|
|
59
129
|
free(): void;
|
|
130
|
+
/**
|
|
131
|
+
* @param {any} raw_asset_lock_proof
|
|
132
|
+
*/
|
|
133
|
+
constructor(raw_asset_lock_proof: any);
|
|
134
|
+
/**
|
|
135
|
+
* @returns {Identifier}
|
|
136
|
+
*/
|
|
137
|
+
createIdentifier(): Identifier;
|
|
138
|
+
/**
|
|
139
|
+
* @returns {any}
|
|
140
|
+
*/
|
|
141
|
+
toObject(): any;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
*/
|
|
145
|
+
export class AssetLockTransactionIsNotFoundError {
|
|
146
|
+
free(): void;
|
|
147
|
+
/**
|
|
148
|
+
* @returns {any}
|
|
149
|
+
*/
|
|
150
|
+
getTransactionId(): any;
|
|
60
151
|
}
|
|
61
152
|
/**
|
|
62
153
|
*/
|
|
@@ -77,6 +168,62 @@ export class BalanceIsNotEnoughError {
|
|
|
77
168
|
}
|
|
78
169
|
/**
|
|
79
170
|
*/
|
|
171
|
+
export class ChainAssetLockProof {
|
|
172
|
+
free(): void;
|
|
173
|
+
/**
|
|
174
|
+
* @param {any} raw_parameters
|
|
175
|
+
*/
|
|
176
|
+
constructor(raw_parameters: any);
|
|
177
|
+
/**
|
|
178
|
+
* @returns {number}
|
|
179
|
+
*/
|
|
180
|
+
getType(): number;
|
|
181
|
+
/**
|
|
182
|
+
* @returns {number}
|
|
183
|
+
*/
|
|
184
|
+
getCoreChainLockedHeight(): number;
|
|
185
|
+
/**
|
|
186
|
+
* @param {number} value
|
|
187
|
+
*/
|
|
188
|
+
setCoreChainLockedHeight(value: number): void;
|
|
189
|
+
/**
|
|
190
|
+
* @returns {any}
|
|
191
|
+
*/
|
|
192
|
+
getOutPoint(): any;
|
|
193
|
+
/**
|
|
194
|
+
* @param {Uint8Array} out_point
|
|
195
|
+
*/
|
|
196
|
+
setOutPoint(out_point: Uint8Array): void;
|
|
197
|
+
/**
|
|
198
|
+
* @returns {any}
|
|
199
|
+
*/
|
|
200
|
+
toJSON(): any;
|
|
201
|
+
/**
|
|
202
|
+
* @returns {any}
|
|
203
|
+
*/
|
|
204
|
+
toObject(): any;
|
|
205
|
+
/**
|
|
206
|
+
* @returns {Identifier}
|
|
207
|
+
*/
|
|
208
|
+
createIdentifier(): Identifier;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
*/
|
|
212
|
+
export class ChainAssetLockProofStructureValidator {
|
|
213
|
+
free(): void;
|
|
214
|
+
/**
|
|
215
|
+
* @param {any} state_repository
|
|
216
|
+
*/
|
|
217
|
+
constructor(state_repository: any);
|
|
218
|
+
/**
|
|
219
|
+
* @param {any} raw_asset_lock_proof
|
|
220
|
+
* @param {StateTransitionExecutionContext} execution_context
|
|
221
|
+
* @returns {Promise<ValidationResult>}
|
|
222
|
+
*/
|
|
223
|
+
validate(raw_asset_lock_proof: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
*/
|
|
80
227
|
export class DashPlatformProtocol {
|
|
81
228
|
free(): void;
|
|
82
229
|
/**
|
|
@@ -101,6 +248,10 @@ export class DataContract {
|
|
|
101
248
|
*/
|
|
102
249
|
getId(): Identifier;
|
|
103
250
|
/**
|
|
251
|
+
* @param {Identifier} id
|
|
252
|
+
*/
|
|
253
|
+
setId(id: Identifier): void;
|
|
254
|
+
/**
|
|
104
255
|
* @returns {Identifier}
|
|
105
256
|
*/
|
|
106
257
|
getOwnerId(): Identifier;
|
|
@@ -205,6 +356,11 @@ export class DataContract {
|
|
|
205
356
|
* @returns {DataContract}
|
|
206
357
|
*/
|
|
207
358
|
static from(v: any): DataContract;
|
|
359
|
+
/**
|
|
360
|
+
* @param {Uint8Array} b
|
|
361
|
+
* @returns {DataContract}
|
|
362
|
+
*/
|
|
363
|
+
static fromBuffer(b: Uint8Array): DataContract;
|
|
208
364
|
}
|
|
209
365
|
/**
|
|
210
366
|
*/
|
|
@@ -373,16 +529,8 @@ export class DataContractInvalidIndexDefinitionUpdateError {
|
|
|
373
529
|
}
|
|
374
530
|
/**
|
|
375
531
|
*/
|
|
376
|
-
export class
|
|
532
|
+
export class DataContractMaxDepthExceedError {
|
|
377
533
|
free(): void;
|
|
378
|
-
/**
|
|
379
|
-
* @returns {number}
|
|
380
|
-
*/
|
|
381
|
-
getDepth(): number;
|
|
382
|
-
/**
|
|
383
|
-
* @returns {number}
|
|
384
|
-
*/
|
|
385
|
-
getCode(): number;
|
|
386
534
|
}
|
|
387
535
|
/**
|
|
388
536
|
*/
|
|
@@ -416,11 +564,80 @@ export class DataContractUniqueIndicesChangedError {
|
|
|
416
564
|
}
|
|
417
565
|
/**
|
|
418
566
|
*/
|
|
567
|
+
export class DataContractUpdateTransition {
|
|
568
|
+
free(): void;
|
|
569
|
+
/**
|
|
570
|
+
* @param {any} raw_parameters
|
|
571
|
+
*/
|
|
572
|
+
constructor(raw_parameters: any);
|
|
573
|
+
/**
|
|
574
|
+
* @returns {DataContract}
|
|
575
|
+
*/
|
|
576
|
+
getDataContract(): DataContract;
|
|
577
|
+
/**
|
|
578
|
+
* @returns {number}
|
|
579
|
+
*/
|
|
580
|
+
getProtocolVersion(): number;
|
|
581
|
+
/**
|
|
582
|
+
* @returns {any}
|
|
583
|
+
*/
|
|
584
|
+
getEntropy(): any;
|
|
585
|
+
/**
|
|
586
|
+
* @returns {Identifier}
|
|
587
|
+
*/
|
|
588
|
+
getOwnerId(): Identifier;
|
|
589
|
+
/**
|
|
590
|
+
* @returns {number}
|
|
591
|
+
*/
|
|
592
|
+
getType(): number;
|
|
593
|
+
/**
|
|
594
|
+
* @param {boolean | undefined} skip_signature
|
|
595
|
+
* @returns {any}
|
|
596
|
+
*/
|
|
597
|
+
toJSON(skip_signature?: boolean): any;
|
|
598
|
+
/**
|
|
599
|
+
* @param {boolean | undefined} skip_signature
|
|
600
|
+
* @returns {any}
|
|
601
|
+
*/
|
|
602
|
+
toBuffer(skip_signature?: boolean): any;
|
|
603
|
+
/**
|
|
604
|
+
* @returns {any[]}
|
|
605
|
+
*/
|
|
606
|
+
getModifiedDataIds(): any[];
|
|
607
|
+
/**
|
|
608
|
+
* @returns {boolean}
|
|
609
|
+
*/
|
|
610
|
+
isDataContractStateTransition(): boolean;
|
|
611
|
+
/**
|
|
612
|
+
* @returns {boolean}
|
|
613
|
+
*/
|
|
614
|
+
isDocumentStateTransition(): boolean;
|
|
615
|
+
/**
|
|
616
|
+
* @returns {boolean}
|
|
617
|
+
*/
|
|
618
|
+
isIdentityStateTransition(): boolean;
|
|
619
|
+
/**
|
|
620
|
+
* @param {StateTransitionExecutionContext} context
|
|
621
|
+
*/
|
|
622
|
+
setExecutionContext(context: StateTransitionExecutionContext): void;
|
|
623
|
+
/**
|
|
624
|
+
* @param {boolean | undefined} skip_signature
|
|
625
|
+
* @returns {any}
|
|
626
|
+
*/
|
|
627
|
+
hash(skip_signature?: boolean): any;
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
*/
|
|
419
631
|
export class DataContractValidator {
|
|
420
632
|
free(): void;
|
|
421
633
|
/**
|
|
422
634
|
*/
|
|
423
635
|
constructor();
|
|
636
|
+
/**
|
|
637
|
+
* @param {any} raw_data_contract
|
|
638
|
+
* @returns {ValidationResult}
|
|
639
|
+
*/
|
|
640
|
+
validate(raw_data_contract: any): ValidationResult;
|
|
424
641
|
}
|
|
425
642
|
/**
|
|
426
643
|
*/
|
|
@@ -514,6 +731,11 @@ export class DataTriggerInvalidResultError {
|
|
|
514
731
|
export class Document {
|
|
515
732
|
free(): void;
|
|
516
733
|
/**
|
|
734
|
+
* @param {any} js_raw_document
|
|
735
|
+
* @param {DataContract} js_data_contract
|
|
736
|
+
*/
|
|
737
|
+
constructor(js_raw_document: any, js_data_contract: DataContract);
|
|
738
|
+
/**
|
|
517
739
|
* @returns {number}
|
|
518
740
|
*/
|
|
519
741
|
getProtocolVersion(): number;
|
|
@@ -522,6 +744,10 @@ export class Document {
|
|
|
522
744
|
*/
|
|
523
745
|
getId(): Identifier;
|
|
524
746
|
/**
|
|
747
|
+
* @param {Identifier} js_id
|
|
748
|
+
*/
|
|
749
|
+
setId(js_id: Identifier): void;
|
|
750
|
+
/**
|
|
525
751
|
* @returns {string}
|
|
526
752
|
*/
|
|
527
753
|
getType(): string;
|
|
@@ -534,6 +760,10 @@ export class Document {
|
|
|
534
760
|
*/
|
|
535
761
|
getDataContract(): DataContract;
|
|
536
762
|
/**
|
|
763
|
+
* @param {Identifier} owner_id
|
|
764
|
+
*/
|
|
765
|
+
setOwnerId(owner_id: Identifier): void;
|
|
766
|
+
/**
|
|
537
767
|
* @returns {Identifier}
|
|
538
768
|
*/
|
|
539
769
|
getOwnerId(): Identifier;
|
|
@@ -550,9 +780,9 @@ export class Document {
|
|
|
550
780
|
*/
|
|
551
781
|
setEntropy(e: Uint8Array): void;
|
|
552
782
|
/**
|
|
553
|
-
* @returns {
|
|
783
|
+
* @returns {any}
|
|
554
784
|
*/
|
|
555
|
-
getEntropy():
|
|
785
|
+
getEntropy(): any;
|
|
556
786
|
/**
|
|
557
787
|
* @param {any} d
|
|
558
788
|
*/
|
|
@@ -562,55 +792,61 @@ export class Document {
|
|
|
562
792
|
*/
|
|
563
793
|
getData(): any;
|
|
564
794
|
/**
|
|
565
|
-
* @param {string}
|
|
566
|
-
* @param {any}
|
|
795
|
+
* @param {string} path
|
|
796
|
+
* @param {any} js_value_to_set
|
|
567
797
|
*/
|
|
568
|
-
set(
|
|
798
|
+
set(path: string, js_value_to_set: any): void;
|
|
569
799
|
/**
|
|
570
|
-
* @param {string}
|
|
800
|
+
* @param {string} path
|
|
571
801
|
* @returns {any}
|
|
572
802
|
*/
|
|
573
|
-
get(
|
|
803
|
+
get(path: string): any;
|
|
574
804
|
/**
|
|
575
|
-
* @param {
|
|
805
|
+
* @param {number} ts
|
|
576
806
|
*/
|
|
577
|
-
setCreatedAt(ts:
|
|
807
|
+
setCreatedAt(ts: number): void;
|
|
578
808
|
/**
|
|
579
|
-
* @param {
|
|
809
|
+
* @param {number} ts
|
|
580
810
|
*/
|
|
581
|
-
setUpdatedAt(ts:
|
|
811
|
+
setUpdatedAt(ts: number): void;
|
|
582
812
|
/**
|
|
583
|
-
* @returns {
|
|
813
|
+
* @returns {number | undefined}
|
|
584
814
|
*/
|
|
585
|
-
getCreatedAt():
|
|
815
|
+
getCreatedAt(): number | undefined;
|
|
586
816
|
/**
|
|
587
|
-
* @returns {
|
|
817
|
+
* @returns {number | undefined}
|
|
588
818
|
*/
|
|
589
|
-
getUpdatedAt():
|
|
819
|
+
getUpdatedAt(): number | undefined;
|
|
590
820
|
/**
|
|
591
821
|
* @returns {Metadata | undefined}
|
|
592
822
|
*/
|
|
593
823
|
getMetadata(): Metadata | undefined;
|
|
594
824
|
/**
|
|
595
825
|
* @param {Metadata} metadata
|
|
826
|
+
* @returns {Document}
|
|
596
827
|
*/
|
|
597
|
-
setMetadata(metadata: Metadata):
|
|
828
|
+
setMetadata(metadata: Metadata): Document;
|
|
598
829
|
/**
|
|
830
|
+
* @param {any} options
|
|
599
831
|
* @returns {any}
|
|
600
832
|
*/
|
|
601
|
-
toObject(): any;
|
|
833
|
+
toObject(options: any): any;
|
|
602
834
|
/**
|
|
603
835
|
* @returns {any}
|
|
604
836
|
*/
|
|
605
837
|
toJSON(): any;
|
|
606
838
|
/**
|
|
607
|
-
* @returns {
|
|
839
|
+
* @returns {any}
|
|
608
840
|
*/
|
|
609
|
-
toBuffer():
|
|
841
|
+
toBuffer(): any;
|
|
610
842
|
/**
|
|
611
|
-
* @returns {
|
|
843
|
+
* @returns {any}
|
|
612
844
|
*/
|
|
613
|
-
hash():
|
|
845
|
+
hash(): any;
|
|
846
|
+
/**
|
|
847
|
+
* @returns {Document}
|
|
848
|
+
*/
|
|
849
|
+
clone(): Document;
|
|
614
850
|
}
|
|
615
851
|
/**
|
|
616
852
|
*/
|
|
@@ -642,6 +878,10 @@ export class DocumentCreateTransition {
|
|
|
642
878
|
* @returns {number}
|
|
643
879
|
*/
|
|
644
880
|
getAction(): number;
|
|
881
|
+
/**
|
|
882
|
+
* @returns {any}
|
|
883
|
+
*/
|
|
884
|
+
toObject(): any;
|
|
645
885
|
}
|
|
646
886
|
/**
|
|
647
887
|
*/
|
|
@@ -651,6 +891,46 @@ export class DocumentDeleteTransition {
|
|
|
651
891
|
* @returns {number}
|
|
652
892
|
*/
|
|
653
893
|
getAction(): number;
|
|
894
|
+
/**
|
|
895
|
+
* @returns {any}
|
|
896
|
+
*/
|
|
897
|
+
toObject(): any;
|
|
898
|
+
}
|
|
899
|
+
/**
|
|
900
|
+
*/
|
|
901
|
+
export class DocumentFactory {
|
|
902
|
+
free(): void;
|
|
903
|
+
/**
|
|
904
|
+
* @param {number} protocol_version
|
|
905
|
+
* @param {DocumentValidator} document_validator
|
|
906
|
+
* @param {any} state_repository
|
|
907
|
+
*/
|
|
908
|
+
constructor(protocol_version: number, document_validator: DocumentValidator, state_repository: any);
|
|
909
|
+
/**
|
|
910
|
+
* @param {DataContract} data_contract
|
|
911
|
+
* @param {any} js_owner_id
|
|
912
|
+
* @param {string} document_type
|
|
913
|
+
* @param {any} data
|
|
914
|
+
* @returns {Document}
|
|
915
|
+
*/
|
|
916
|
+
create(data_contract: DataContract, js_owner_id: any, document_type: string, data: any): Document;
|
|
917
|
+
/**
|
|
918
|
+
* @param {DocumentsContainer} documents_container
|
|
919
|
+
* @returns {DocumentsBatchTransition}
|
|
920
|
+
*/
|
|
921
|
+
createStateTransition(documents_container: DocumentsContainer): DocumentsBatchTransition;
|
|
922
|
+
/**
|
|
923
|
+
* @param {any} raw_document_js
|
|
924
|
+
* @param {any} options
|
|
925
|
+
* @returns {Promise<Document>}
|
|
926
|
+
*/
|
|
927
|
+
createFromObject(raw_document_js: any, options: any): Promise<Document>;
|
|
928
|
+
/**
|
|
929
|
+
* @param {Uint8Array} buffer
|
|
930
|
+
* @param {any} options
|
|
931
|
+
* @returns {Promise<Document>}
|
|
932
|
+
*/
|
|
933
|
+
createFromBuffer(buffer: Uint8Array, options: any): Promise<Document>;
|
|
654
934
|
}
|
|
655
935
|
/**
|
|
656
936
|
*/
|
|
@@ -745,13 +1025,231 @@ export class DocumentTransition {
|
|
|
745
1025
|
* @returns {number}
|
|
746
1026
|
*/
|
|
747
1027
|
getAction(): number;
|
|
1028
|
+
/**
|
|
1029
|
+
* @returns {any}
|
|
1030
|
+
*/
|
|
1031
|
+
toObject(): any;
|
|
748
1032
|
}
|
|
749
1033
|
/**
|
|
750
1034
|
*/
|
|
751
|
-
export class
|
|
1035
|
+
export class DocumentTransitionWasm {
|
|
752
1036
|
free(): void;
|
|
753
1037
|
/**
|
|
754
|
-
* @returns {
|
|
1038
|
+
* @returns {Identifier}
|
|
1039
|
+
*/
|
|
1040
|
+
getId(): Identifier;
|
|
1041
|
+
/**
|
|
1042
|
+
* @returns {string}
|
|
1043
|
+
*/
|
|
1044
|
+
getType(): string;
|
|
1045
|
+
/**
|
|
1046
|
+
* @returns {number}
|
|
1047
|
+
*/
|
|
1048
|
+
getAction(): number;
|
|
1049
|
+
/**
|
|
1050
|
+
* @returns {DataContract}
|
|
1051
|
+
*/
|
|
1052
|
+
getDataContract(): DataContract;
|
|
1053
|
+
/**
|
|
1054
|
+
* @returns {Identifier}
|
|
1055
|
+
*/
|
|
1056
|
+
getDataContractId(): Identifier;
|
|
1057
|
+
/**
|
|
1058
|
+
* @param {string} path
|
|
1059
|
+
* @returns {any}
|
|
1060
|
+
*/
|
|
1061
|
+
get(path: string): any;
|
|
1062
|
+
/**
|
|
1063
|
+
* @param {any} _options
|
|
1064
|
+
* @returns {any}
|
|
1065
|
+
*/
|
|
1066
|
+
getObject(_options: any): any;
|
|
1067
|
+
/**
|
|
1068
|
+
* @returns {any}
|
|
1069
|
+
*/
|
|
1070
|
+
toJSON(): any;
|
|
1071
|
+
}
|
|
1072
|
+
/**
|
|
1073
|
+
*/
|
|
1074
|
+
export class DocumentTransitions {
|
|
1075
|
+
free(): void;
|
|
1076
|
+
/**
|
|
1077
|
+
*/
|
|
1078
|
+
constructor();
|
|
1079
|
+
/**
|
|
1080
|
+
* @param {Document} transition
|
|
1081
|
+
*/
|
|
1082
|
+
addTransitionCreate(transition: Document): void;
|
|
1083
|
+
/**
|
|
1084
|
+
* @param {Document} transition
|
|
1085
|
+
*/
|
|
1086
|
+
addTransitionReplace(transition: Document): void;
|
|
1087
|
+
/**
|
|
1088
|
+
* @param {Document} transition
|
|
1089
|
+
*/
|
|
1090
|
+
addTransitionDelete(transition: Document): void;
|
|
1091
|
+
}
|
|
1092
|
+
/**
|
|
1093
|
+
*/
|
|
1094
|
+
export class DocumentValidator {
|
|
1095
|
+
free(): void;
|
|
1096
|
+
/**
|
|
1097
|
+
* @param {ProtocolVersionValidator} protocol_validator
|
|
1098
|
+
*/
|
|
1099
|
+
constructor(protocol_validator: ProtocolVersionValidator);
|
|
1100
|
+
}
|
|
1101
|
+
/**
|
|
1102
|
+
*/
|
|
1103
|
+
export class DocumentsBatchTransition {
|
|
1104
|
+
free(): void;
|
|
1105
|
+
/**
|
|
1106
|
+
* @param {any} js_raw_transition
|
|
1107
|
+
* @param {Array<any>} data_contracts
|
|
1108
|
+
*/
|
|
1109
|
+
constructor(js_raw_transition: any, data_contracts: Array<any>);
|
|
1110
|
+
/**
|
|
1111
|
+
* @returns {number}
|
|
1112
|
+
*/
|
|
1113
|
+
getType(): number;
|
|
1114
|
+
/**
|
|
1115
|
+
* @returns {Identifier}
|
|
1116
|
+
*/
|
|
1117
|
+
getOwnerId(): Identifier;
|
|
1118
|
+
/**
|
|
1119
|
+
* @returns {Array<any>}
|
|
1120
|
+
*/
|
|
1121
|
+
getTransitions(): Array<any>;
|
|
1122
|
+
/**
|
|
1123
|
+
* @returns {any}
|
|
1124
|
+
*/
|
|
1125
|
+
toJSON(): any;
|
|
1126
|
+
/**
|
|
1127
|
+
* @param {any} options
|
|
1128
|
+
* @returns {any}
|
|
1129
|
+
*/
|
|
1130
|
+
toObject(options: any): any;
|
|
1131
|
+
/**
|
|
1132
|
+
* @returns {Array<any>}
|
|
1133
|
+
*/
|
|
1134
|
+
getModifiedDataIds(): Array<any>;
|
|
1135
|
+
/**
|
|
1136
|
+
* @returns {number | undefined}
|
|
1137
|
+
*/
|
|
1138
|
+
getSignaturePublicKeyId(): number | undefined;
|
|
1139
|
+
/**
|
|
1140
|
+
* @param {IdentityPublicKey} identity_public_key
|
|
1141
|
+
* @param {Uint8Array} private_key
|
|
1142
|
+
* @param {any} bls
|
|
1143
|
+
*/
|
|
1144
|
+
sign(identity_public_key: IdentityPublicKey, private_key: Uint8Array, bls: any): void;
|
|
1145
|
+
/**
|
|
1146
|
+
* @param {IdentityPublicKey} public_key
|
|
1147
|
+
*/
|
|
1148
|
+
verifyPublicKeyLevelAndPurpose(public_key: IdentityPublicKey): void;
|
|
1149
|
+
/**
|
|
1150
|
+
* @param {IdentityPublicKey} public_key
|
|
1151
|
+
*/
|
|
1152
|
+
verifyPublicKeyIsEnabled(public_key: IdentityPublicKey): void;
|
|
1153
|
+
/**
|
|
1154
|
+
* @param {IdentityPublicKey} public_key
|
|
1155
|
+
* @param {any} bls
|
|
1156
|
+
*/
|
|
1157
|
+
verifySignature(public_key: IdentityPublicKey, bls: any): void;
|
|
1158
|
+
/**
|
|
1159
|
+
* @param {bigint} key_id
|
|
1160
|
+
*/
|
|
1161
|
+
setSignaturePublicKey(key_id: bigint): void;
|
|
1162
|
+
/**
|
|
1163
|
+
* @returns {number}
|
|
1164
|
+
*/
|
|
1165
|
+
getSecurityLevelRequirement(): number;
|
|
1166
|
+
/**
|
|
1167
|
+
* @returns {number}
|
|
1168
|
+
*/
|
|
1169
|
+
getProtocolVersion(): number;
|
|
1170
|
+
/**
|
|
1171
|
+
* @returns {Uint8Array}
|
|
1172
|
+
*/
|
|
1173
|
+
getSignature(): Uint8Array;
|
|
1174
|
+
/**
|
|
1175
|
+
* @param {Uint8Array} signature
|
|
1176
|
+
*/
|
|
1177
|
+
setSignature(signature: Uint8Array): void;
|
|
1178
|
+
/**
|
|
1179
|
+
* @returns {bigint}
|
|
1180
|
+
*/
|
|
1181
|
+
calculateFee(): bigint;
|
|
1182
|
+
/**
|
|
1183
|
+
* @returns {boolean}
|
|
1184
|
+
*/
|
|
1185
|
+
isDocumentStateTransition(): boolean;
|
|
1186
|
+
/**
|
|
1187
|
+
* @returns {boolean}
|
|
1188
|
+
*/
|
|
1189
|
+
isDataContractStateTransition(): boolean;
|
|
1190
|
+
/**
|
|
1191
|
+
* @returns {boolean}
|
|
1192
|
+
*/
|
|
1193
|
+
isIdentityStateTransition(): boolean;
|
|
1194
|
+
/**
|
|
1195
|
+
* @param {StateExecutionContext} context
|
|
1196
|
+
*/
|
|
1197
|
+
setExecutionContext(context: StateExecutionContext): void;
|
|
1198
|
+
/**
|
|
1199
|
+
* @returns {StateExecutionContext}
|
|
1200
|
+
*/
|
|
1201
|
+
getExecutionContext(): StateExecutionContext;
|
|
1202
|
+
/**
|
|
1203
|
+
* @param {any} options
|
|
1204
|
+
* @returns {any}
|
|
1205
|
+
*/
|
|
1206
|
+
toBuffer(options: any): any;
|
|
1207
|
+
/**
|
|
1208
|
+
* @param {any} options
|
|
1209
|
+
* @returns {any}
|
|
1210
|
+
*/
|
|
1211
|
+
hash(options: any): any;
|
|
1212
|
+
}
|
|
1213
|
+
/**
|
|
1214
|
+
* Collections of Documents split by actions
|
|
1215
|
+
*/
|
|
1216
|
+
export class DocumentsContainer {
|
|
1217
|
+
free(): void;
|
|
1218
|
+
/**
|
|
1219
|
+
*/
|
|
1220
|
+
constructor();
|
|
1221
|
+
/**
|
|
1222
|
+
* @param {Document} d
|
|
1223
|
+
*/
|
|
1224
|
+
pushDocumentCreate(d: Document): void;
|
|
1225
|
+
/**
|
|
1226
|
+
* @param {Document} d
|
|
1227
|
+
*/
|
|
1228
|
+
pushDocumentReplace(d: Document): void;
|
|
1229
|
+
/**
|
|
1230
|
+
* @param {Document} d
|
|
1231
|
+
*/
|
|
1232
|
+
pushDocumentDelete(d: Document): void;
|
|
1233
|
+
}
|
|
1234
|
+
/**
|
|
1235
|
+
*/
|
|
1236
|
+
export class DuplicateDocumentTransitionsWithIdsError {
|
|
1237
|
+
free(): void;
|
|
1238
|
+
/**
|
|
1239
|
+
* @returns {Array<any>}
|
|
1240
|
+
*/
|
|
1241
|
+
getReferences(): Array<any>;
|
|
1242
|
+
/**
|
|
1243
|
+
* @returns {number}
|
|
1244
|
+
*/
|
|
1245
|
+
getCode(): number;
|
|
1246
|
+
}
|
|
1247
|
+
/**
|
|
1248
|
+
*/
|
|
1249
|
+
export class DuplicateDocumentTransitionsWithIndicesError {
|
|
1250
|
+
free(): void;
|
|
1251
|
+
/**
|
|
1252
|
+
* @returns {Array<any>}
|
|
755
1253
|
*/
|
|
756
1254
|
getReferences(): Array<any>;
|
|
757
1255
|
/**
|
|
@@ -815,9 +1313,9 @@ export class DuplicateUniqueIndexError {
|
|
|
815
1313
|
export class DuplicatedIdentityPublicKeyError {
|
|
816
1314
|
free(): void;
|
|
817
1315
|
/**
|
|
818
|
-
* @returns {
|
|
1316
|
+
* @returns {Array<any>}
|
|
819
1317
|
*/
|
|
820
|
-
getDuplicatedPublicKeysIds():
|
|
1318
|
+
getDuplicatedPublicKeysIds(): Array<any>;
|
|
821
1319
|
/**
|
|
822
1320
|
* @returns {number}
|
|
823
1321
|
*/
|
|
@@ -828,9 +1326,9 @@ export class DuplicatedIdentityPublicKeyError {
|
|
|
828
1326
|
export class DuplicatedIdentityPublicKeyIdError {
|
|
829
1327
|
free(): void;
|
|
830
1328
|
/**
|
|
831
|
-
* @returns {
|
|
1329
|
+
* @returns {Array<any>}
|
|
832
1330
|
*/
|
|
833
|
-
getDuplicatedIds():
|
|
1331
|
+
getDuplicatedIds(): Array<any>;
|
|
834
1332
|
/**
|
|
835
1333
|
* @returns {number}
|
|
836
1334
|
*/
|
|
@@ -880,7 +1378,11 @@ export class Identifier {
|
|
|
880
1378
|
/**
|
|
881
1379
|
* @returns {Uint8Array}
|
|
882
1380
|
*/
|
|
883
|
-
|
|
1381
|
+
toBytes(): Uint8Array;
|
|
1382
|
+
/**
|
|
1383
|
+
* @returns {Identifier}
|
|
1384
|
+
*/
|
|
1385
|
+
clone(): Identifier;
|
|
884
1386
|
/**
|
|
885
1387
|
*/
|
|
886
1388
|
readonly length: number;
|
|
@@ -1042,7 +1544,7 @@ export class IdentityAssetLockTransactionOutPointAlreadyExistsError {
|
|
|
1042
1544
|
/**
|
|
1043
1545
|
* @returns {number}
|
|
1044
1546
|
*/
|
|
1045
|
-
|
|
1547
|
+
getOutputIndex(): number;
|
|
1046
1548
|
/**
|
|
1047
1549
|
* @returns {any}
|
|
1048
1550
|
*/
|
|
@@ -1067,129 +1569,260 @@ export class IdentityAssetLockTransactionOutputNotFoundError {
|
|
|
1067
1569
|
}
|
|
1068
1570
|
/**
|
|
1069
1571
|
*/
|
|
1070
|
-
export class
|
|
1572
|
+
export class IdentityCreateTransition {
|
|
1071
1573
|
free(): void;
|
|
1072
1574
|
/**
|
|
1073
|
-
* @param {any}
|
|
1074
|
-
*/
|
|
1075
|
-
constructor(bls_adapter: any);
|
|
1076
|
-
/**
|
|
1077
|
-
* @param {any} raw_identity_object
|
|
1078
|
-
* @returns {ValidationResult}
|
|
1575
|
+
* @param {any} raw_parameters
|
|
1079
1576
|
*/
|
|
1080
|
-
|
|
1081
|
-
}
|
|
1577
|
+
constructor(raw_parameters: any);
|
|
1082
1578
|
/**
|
|
1579
|
+
* @param {any} asset_lock_proof
|
|
1083
1580
|
*/
|
|
1084
|
-
|
|
1085
|
-
free(): void;
|
|
1581
|
+
setAssetLockProof(asset_lock_proof: any): void;
|
|
1086
1582
|
/**
|
|
1087
1583
|
* @returns {any}
|
|
1088
1584
|
*/
|
|
1089
|
-
|
|
1090
|
-
/**
|
|
1091
|
-
* @returns {number}
|
|
1092
|
-
*/
|
|
1093
|
-
getBalance(): number;
|
|
1585
|
+
getAssetLockProof(): any;
|
|
1094
1586
|
/**
|
|
1095
|
-
* @
|
|
1587
|
+
* @param {any[]} public_keys
|
|
1096
1588
|
*/
|
|
1097
|
-
|
|
1098
|
-
}
|
|
1589
|
+
setPublicKeys(public_keys: any[]): void;
|
|
1099
1590
|
/**
|
|
1591
|
+
* @param {any[]} public_keys
|
|
1100
1592
|
*/
|
|
1101
|
-
|
|
1102
|
-
free(): void;
|
|
1593
|
+
addPublicKeys(public_keys: any[]): void;
|
|
1103
1594
|
/**
|
|
1104
|
-
* @returns {any}
|
|
1595
|
+
* @returns {any[]}
|
|
1105
1596
|
*/
|
|
1106
|
-
|
|
1597
|
+
getPublicKeys(): any[];
|
|
1107
1598
|
/**
|
|
1108
1599
|
* @returns {number}
|
|
1109
1600
|
*/
|
|
1110
|
-
|
|
1111
|
-
}
|
|
1601
|
+
getType(): number;
|
|
1112
1602
|
/**
|
|
1603
|
+
* @returns {Identifier}
|
|
1113
1604
|
*/
|
|
1114
|
-
|
|
1115
|
-
free(): void;
|
|
1605
|
+
getIdentityId(): Identifier;
|
|
1116
1606
|
/**
|
|
1117
|
-
* @
|
|
1607
|
+
* @returns {Identifier}
|
|
1118
1608
|
*/
|
|
1119
|
-
|
|
1609
|
+
getOwnerId(): Identifier;
|
|
1120
1610
|
/**
|
|
1121
|
-
* @
|
|
1611
|
+
* @param {any} options
|
|
1612
|
+
* @returns {any}
|
|
1122
1613
|
*/
|
|
1123
|
-
|
|
1614
|
+
toObject(options: any): any;
|
|
1124
1615
|
/**
|
|
1125
|
-
* @
|
|
1616
|
+
* @returns {any}
|
|
1126
1617
|
*/
|
|
1127
|
-
|
|
1618
|
+
toJSON(): any;
|
|
1128
1619
|
/**
|
|
1129
|
-
* @returns {
|
|
1620
|
+
* @returns {any[]}
|
|
1130
1621
|
*/
|
|
1131
|
-
|
|
1622
|
+
getModifiedDataIds(): any[];
|
|
1132
1623
|
/**
|
|
1133
|
-
* @
|
|
1624
|
+
* @returns {boolean}
|
|
1134
1625
|
*/
|
|
1135
|
-
|
|
1626
|
+
isDataContractStateTransition(): boolean;
|
|
1136
1627
|
/**
|
|
1137
|
-
* @
|
|
1628
|
+
* @returns {boolean}
|
|
1138
1629
|
*/
|
|
1139
|
-
|
|
1630
|
+
isDocumentStateTransition(): boolean;
|
|
1140
1631
|
/**
|
|
1141
|
-
* @returns {
|
|
1632
|
+
* @returns {boolean}
|
|
1142
1633
|
*/
|
|
1143
|
-
|
|
1634
|
+
isIdentityStateTransition(): boolean;
|
|
1144
1635
|
/**
|
|
1145
|
-
* @param {
|
|
1636
|
+
* @param {StateTransitionExecutionContext} context
|
|
1146
1637
|
*/
|
|
1147
|
-
|
|
1638
|
+
setExecutionContext(context: StateTransitionExecutionContext): void;
|
|
1148
1639
|
/**
|
|
1149
|
-
* @returns {
|
|
1640
|
+
* @returns {StateTransitionExecutionContext}
|
|
1150
1641
|
*/
|
|
1151
|
-
|
|
1642
|
+
getExecutionContext(): StateTransitionExecutionContext;
|
|
1152
1643
|
/**
|
|
1153
|
-
* @param {
|
|
1644
|
+
* @param {Uint8Array} private_key
|
|
1645
|
+
* @param {number} key_type
|
|
1646
|
+
* @param {any} bls
|
|
1154
1647
|
*/
|
|
1155
|
-
|
|
1648
|
+
signByPrivateKey(private_key: Uint8Array, key_type: number, bls: any): void;
|
|
1156
1649
|
/**
|
|
1157
|
-
* @returns {
|
|
1650
|
+
* @returns {any}
|
|
1158
1651
|
*/
|
|
1159
|
-
|
|
1652
|
+
getSignature(): any;
|
|
1160
1653
|
/**
|
|
1161
|
-
* @param {boolean} purpose
|
|
1162
1654
|
*/
|
|
1163
|
-
|
|
1655
|
+
readonly assetLockProof: any;
|
|
1164
1656
|
/**
|
|
1165
|
-
* @returns {boolean}
|
|
1166
1657
|
*/
|
|
1167
|
-
|
|
1658
|
+
readonly identityId: Identifier;
|
|
1168
1659
|
/**
|
|
1169
|
-
* @param {number} timestamp
|
|
1170
1660
|
*/
|
|
1171
|
-
|
|
1661
|
+
readonly publicKeys: any[];
|
|
1662
|
+
}
|
|
1172
1663
|
/**
|
|
1173
|
-
* @returns {number | undefined}
|
|
1174
1664
|
*/
|
|
1175
|
-
|
|
1665
|
+
export class IdentityCreateTransitionBasicValidator {
|
|
1666
|
+
free(): void;
|
|
1176
1667
|
/**
|
|
1177
|
-
* @
|
|
1668
|
+
* @param {any} state_repository
|
|
1669
|
+
* @param {any} js_bls
|
|
1178
1670
|
*/
|
|
1179
|
-
|
|
1671
|
+
constructor(state_repository: any, js_bls: any);
|
|
1180
1672
|
/**
|
|
1181
|
-
* @
|
|
1673
|
+
* @param {any} raw_state_transition
|
|
1674
|
+
* @param {StateTransitionExecutionContext} execution_context
|
|
1675
|
+
* @returns {Promise<ValidationResult>}
|
|
1182
1676
|
*/
|
|
1183
|
-
|
|
1677
|
+
validate(raw_state_transition: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
|
|
1678
|
+
}
|
|
1184
1679
|
/**
|
|
1185
|
-
|
|
1680
|
+
*/
|
|
1681
|
+
export class IdentityCreateTransitionStateValidator {
|
|
1682
|
+
free(): void;
|
|
1683
|
+
/**
|
|
1684
|
+
* @param {any} state_repository
|
|
1685
|
+
*/
|
|
1686
|
+
constructor(state_repository: any);
|
|
1687
|
+
/**
|
|
1688
|
+
* @param {IdentityCreateTransition} state_transition
|
|
1689
|
+
* @returns {Promise<ValidationResult>}
|
|
1690
|
+
*/
|
|
1691
|
+
validate(state_transition: IdentityCreateTransition): Promise<ValidationResult>;
|
|
1692
|
+
}
|
|
1693
|
+
/**
|
|
1694
|
+
*/
|
|
1695
|
+
export class IdentityFacade {
|
|
1696
|
+
free(): void;
|
|
1697
|
+
/**
|
|
1698
|
+
* @param {any} bls_adapter
|
|
1699
|
+
*/
|
|
1700
|
+
constructor(bls_adapter: any);
|
|
1701
|
+
/**
|
|
1702
|
+
* @param {any} raw_identity_object
|
|
1703
|
+
* @returns {ValidationResult}
|
|
1704
|
+
*/
|
|
1705
|
+
validate(raw_identity_object: any): ValidationResult;
|
|
1706
|
+
}
|
|
1707
|
+
/**
|
|
1708
|
+
*/
|
|
1709
|
+
export class IdentityInsufficientBalanceError {
|
|
1710
|
+
free(): void;
|
|
1711
|
+
/**
|
|
1712
|
+
* @returns {any}
|
|
1713
|
+
*/
|
|
1714
|
+
getIdentityId(): any;
|
|
1715
|
+
/**
|
|
1716
|
+
* @returns {number}
|
|
1717
|
+
*/
|
|
1718
|
+
getBalance(): number;
|
|
1719
|
+
/**
|
|
1720
|
+
* @returns {number}
|
|
1721
|
+
*/
|
|
1722
|
+
getCode(): number;
|
|
1723
|
+
}
|
|
1724
|
+
/**
|
|
1725
|
+
*/
|
|
1726
|
+
export class IdentityNotFoundError {
|
|
1727
|
+
free(): void;
|
|
1728
|
+
/**
|
|
1729
|
+
* @returns {any}
|
|
1730
|
+
*/
|
|
1731
|
+
getIdentityId(): any;
|
|
1732
|
+
/**
|
|
1733
|
+
* @returns {number}
|
|
1734
|
+
*/
|
|
1735
|
+
getCode(): number;
|
|
1736
|
+
}
|
|
1737
|
+
/**
|
|
1738
|
+
*/
|
|
1739
|
+
export class IdentityPublicKey {
|
|
1740
|
+
free(): void;
|
|
1741
|
+
/**
|
|
1742
|
+
* @param {any} raw_public_key
|
|
1743
|
+
*/
|
|
1744
|
+
constructor(raw_public_key: any);
|
|
1745
|
+
/**
|
|
1746
|
+
* @returns {number}
|
|
1747
|
+
*/
|
|
1748
|
+
getId(): number;
|
|
1749
|
+
/**
|
|
1750
|
+
* @param {number} id
|
|
1751
|
+
*/
|
|
1752
|
+
setId(id: number): void;
|
|
1753
|
+
/**
|
|
1754
|
+
* @returns {number}
|
|
1755
|
+
*/
|
|
1756
|
+
getType(): number;
|
|
1757
|
+
/**
|
|
1758
|
+
* @param {number} key_type
|
|
1759
|
+
*/
|
|
1760
|
+
setType(key_type: number): void;
|
|
1761
|
+
/**
|
|
1762
|
+
* @param {Uint8Array} data
|
|
1763
|
+
*/
|
|
1764
|
+
setData(data: Uint8Array): void;
|
|
1765
|
+
/**
|
|
1766
|
+
* @returns {Uint8Array}
|
|
1767
|
+
*/
|
|
1768
|
+
getData(): Uint8Array;
|
|
1769
|
+
/**
|
|
1770
|
+
* @param {number} purpose
|
|
1771
|
+
*/
|
|
1772
|
+
setPurpose(purpose: number): void;
|
|
1773
|
+
/**
|
|
1774
|
+
* @returns {number}
|
|
1775
|
+
*/
|
|
1776
|
+
getPurpose(): number;
|
|
1777
|
+
/**
|
|
1778
|
+
* @param {number} purpose
|
|
1779
|
+
*/
|
|
1780
|
+
setSecurityLevel(purpose: number): void;
|
|
1781
|
+
/**
|
|
1782
|
+
* @returns {number}
|
|
1783
|
+
*/
|
|
1784
|
+
getSecurityLevel(): number;
|
|
1785
|
+
/**
|
|
1786
|
+
* @param {boolean} purpose
|
|
1787
|
+
*/
|
|
1788
|
+
setReadOnly(purpose: boolean): void;
|
|
1789
|
+
/**
|
|
1790
|
+
* @returns {boolean}
|
|
1791
|
+
*/
|
|
1792
|
+
isReadOnly(): boolean;
|
|
1793
|
+
/**
|
|
1794
|
+
* @param {number} timestamp
|
|
1795
|
+
*/
|
|
1796
|
+
setDisabledAt(timestamp: number): void;
|
|
1797
|
+
/**
|
|
1798
|
+
* @returns {number | undefined}
|
|
1799
|
+
*/
|
|
1800
|
+
getDisabledAt(): number | undefined;
|
|
1801
|
+
/**
|
|
1802
|
+
* @returns {Uint8Array}
|
|
1803
|
+
*/
|
|
1804
|
+
hash(): Uint8Array;
|
|
1805
|
+
/**
|
|
1806
|
+
* @returns {boolean}
|
|
1807
|
+
*/
|
|
1808
|
+
isMaster(): boolean;
|
|
1809
|
+
/**
|
|
1810
|
+
* @returns {any}
|
|
1186
1811
|
*/
|
|
1187
1812
|
toJSON(): any;
|
|
1188
1813
|
/**
|
|
1189
|
-
* @param {boolean | undefined}
|
|
1814
|
+
* @param {boolean | undefined} skip_signatures
|
|
1190
1815
|
* @returns {any}
|
|
1191
1816
|
*/
|
|
1192
|
-
toObject(
|
|
1817
|
+
toObject(skip_signatures?: boolean): any;
|
|
1818
|
+
/**
|
|
1819
|
+
* @param {Uint8Array} signature
|
|
1820
|
+
*/
|
|
1821
|
+
setSignature(signature: Uint8Array): void;
|
|
1822
|
+
/**
|
|
1823
|
+
* @returns {any}
|
|
1824
|
+
*/
|
|
1825
|
+
getSignature(): any;
|
|
1193
1826
|
}
|
|
1194
1827
|
/**
|
|
1195
1828
|
*/
|
|
@@ -1240,6 +1873,113 @@ export class IdentityPublicKeyIsReadOnlyError {
|
|
|
1240
1873
|
}
|
|
1241
1874
|
/**
|
|
1242
1875
|
*/
|
|
1876
|
+
export class IdentityTopUpTransition {
|
|
1877
|
+
free(): void;
|
|
1878
|
+
/**
|
|
1879
|
+
* @param {any} raw_parameters
|
|
1880
|
+
*/
|
|
1881
|
+
constructor(raw_parameters: any);
|
|
1882
|
+
/**
|
|
1883
|
+
* @param {any} asset_lock_proof
|
|
1884
|
+
*/
|
|
1885
|
+
setAssetLockProof(asset_lock_proof: any): void;
|
|
1886
|
+
/**
|
|
1887
|
+
* @returns {any}
|
|
1888
|
+
*/
|
|
1889
|
+
getAssetLockProof(): any;
|
|
1890
|
+
/**
|
|
1891
|
+
* @returns {number}
|
|
1892
|
+
*/
|
|
1893
|
+
getType(): number;
|
|
1894
|
+
/**
|
|
1895
|
+
* @returns {Identifier}
|
|
1896
|
+
*/
|
|
1897
|
+
getIdentityId(): Identifier;
|
|
1898
|
+
/**
|
|
1899
|
+
* @returns {Identifier}
|
|
1900
|
+
*/
|
|
1901
|
+
getOwnerId(): Identifier;
|
|
1902
|
+
/**
|
|
1903
|
+
* @param {any} options
|
|
1904
|
+
* @returns {any}
|
|
1905
|
+
*/
|
|
1906
|
+
toObject(options: any): any;
|
|
1907
|
+
/**
|
|
1908
|
+
* @returns {any}
|
|
1909
|
+
*/
|
|
1910
|
+
toJSON(): any;
|
|
1911
|
+
/**
|
|
1912
|
+
* @returns {any[]}
|
|
1913
|
+
*/
|
|
1914
|
+
getModifiedDataIds(): any[];
|
|
1915
|
+
/**
|
|
1916
|
+
* @returns {boolean}
|
|
1917
|
+
*/
|
|
1918
|
+
isDataContractStateTransition(): boolean;
|
|
1919
|
+
/**
|
|
1920
|
+
* @returns {boolean}
|
|
1921
|
+
*/
|
|
1922
|
+
isDocumentStateTransition(): boolean;
|
|
1923
|
+
/**
|
|
1924
|
+
* @returns {boolean}
|
|
1925
|
+
*/
|
|
1926
|
+
isIdentityStateTransition(): boolean;
|
|
1927
|
+
/**
|
|
1928
|
+
* @param {StateTransitionExecutionContext} context
|
|
1929
|
+
*/
|
|
1930
|
+
setExecutionContext(context: StateTransitionExecutionContext): void;
|
|
1931
|
+
/**
|
|
1932
|
+
* @returns {StateTransitionExecutionContext}
|
|
1933
|
+
*/
|
|
1934
|
+
getExecutionContext(): StateTransitionExecutionContext;
|
|
1935
|
+
/**
|
|
1936
|
+
* @param {Uint8Array} private_key
|
|
1937
|
+
* @param {number} key_type
|
|
1938
|
+
* @param {any} bls
|
|
1939
|
+
*/
|
|
1940
|
+
signByPrivateKey(private_key: Uint8Array, key_type: number, bls: any): void;
|
|
1941
|
+
/**
|
|
1942
|
+
* @returns {any}
|
|
1943
|
+
*/
|
|
1944
|
+
getSignature(): any;
|
|
1945
|
+
/**
|
|
1946
|
+
*/
|
|
1947
|
+
readonly assetLockProof: any;
|
|
1948
|
+
/**
|
|
1949
|
+
*/
|
|
1950
|
+
readonly identityId: Identifier;
|
|
1951
|
+
}
|
|
1952
|
+
/**
|
|
1953
|
+
*/
|
|
1954
|
+
export class IdentityTopUpTransitionBasicValidator {
|
|
1955
|
+
free(): void;
|
|
1956
|
+
/**
|
|
1957
|
+
* @param {any} state_repository
|
|
1958
|
+
*/
|
|
1959
|
+
constructor(state_repository: any);
|
|
1960
|
+
/**
|
|
1961
|
+
* @param {any} raw_state_transition
|
|
1962
|
+
* @param {StateTransitionExecutionContext} execution_context
|
|
1963
|
+
* @returns {Promise<ValidationResult>}
|
|
1964
|
+
*/
|
|
1965
|
+
validate(raw_state_transition: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
|
|
1966
|
+
}
|
|
1967
|
+
/**
|
|
1968
|
+
*/
|
|
1969
|
+
export class IdentityTopUpTransitionStateValidator {
|
|
1970
|
+
free(): void;
|
|
1971
|
+
/**
|
|
1972
|
+
* @param {any} state_repository
|
|
1973
|
+
*/
|
|
1974
|
+
constructor(state_repository: any);
|
|
1975
|
+
/**
|
|
1976
|
+
* @param {IdentityTopUpTransition} state_transition
|
|
1977
|
+
* @returns {Promise<ValidationResult>}
|
|
1978
|
+
*/
|
|
1979
|
+
validate(state_transition: IdentityTopUpTransition): Promise<ValidationResult>;
|
|
1980
|
+
}
|
|
1981
|
+
/**
|
|
1982
|
+
*/
|
|
1243
1983
|
export class IncompatibleDataContractSchemaError {
|
|
1244
1984
|
free(): void;
|
|
1245
1985
|
/**
|
|
@@ -1338,6 +2078,10 @@ export class IndexDefinition {
|
|
|
1338
2078
|
* @returns {boolean}
|
|
1339
2079
|
*/
|
|
1340
2080
|
isUnique(): boolean;
|
|
2081
|
+
/**
|
|
2082
|
+
* @returns {any}
|
|
2083
|
+
*/
|
|
2084
|
+
toObject(): any;
|
|
1341
2085
|
}
|
|
1342
2086
|
/**
|
|
1343
2087
|
*/
|
|
@@ -1354,51 +2098,111 @@ export class IndexProperty {
|
|
|
1354
2098
|
}
|
|
1355
2099
|
/**
|
|
1356
2100
|
*/
|
|
1357
|
-
export class
|
|
2101
|
+
export class InstantAssetLockProof {
|
|
1358
2102
|
free(): void;
|
|
1359
2103
|
/**
|
|
1360
|
-
* @param {any
|
|
1361
|
-
*/
|
|
1362
|
-
constructor(actions: any[]);
|
|
1363
|
-
/**
|
|
1364
|
-
* @returns {any[]}
|
|
1365
|
-
*/
|
|
1366
|
-
getActions(): any[];
|
|
1367
|
-
}
|
|
1368
|
-
/**
|
|
2104
|
+
* @param {any} raw_parameters
|
|
1369
2105
|
*/
|
|
1370
|
-
|
|
1371
|
-
free(): void;
|
|
2106
|
+
constructor(raw_parameters: any);
|
|
1372
2107
|
/**
|
|
1373
2108
|
* @returns {number}
|
|
1374
2109
|
*/
|
|
1375
|
-
|
|
2110
|
+
getType(): number;
|
|
1376
2111
|
/**
|
|
1377
2112
|
* @returns {number}
|
|
1378
2113
|
*/
|
|
1379
|
-
|
|
2114
|
+
getOutputIndex(): number;
|
|
1380
2115
|
/**
|
|
1381
|
-
* @returns {
|
|
2116
|
+
* @returns {any | undefined}
|
|
1382
2117
|
*/
|
|
1383
|
-
|
|
1384
|
-
}
|
|
2118
|
+
getOutPoint(): any | undefined;
|
|
1385
2119
|
/**
|
|
2120
|
+
* @returns {any}
|
|
1386
2121
|
*/
|
|
1387
|
-
|
|
1388
|
-
free(): void;
|
|
2122
|
+
getOutput(): any;
|
|
1389
2123
|
/**
|
|
1390
|
-
* @returns {
|
|
2124
|
+
* @returns {Identifier}
|
|
1391
2125
|
*/
|
|
1392
|
-
|
|
2126
|
+
createIdentifier(): Identifier;
|
|
1393
2127
|
/**
|
|
1394
|
-
* @returns {
|
|
2128
|
+
* @returns {any}
|
|
1395
2129
|
*/
|
|
1396
|
-
|
|
2130
|
+
getInstantLock(): any;
|
|
1397
2131
|
/**
|
|
1398
|
-
* @returns {
|
|
2132
|
+
* @returns {any}
|
|
1399
2133
|
*/
|
|
1400
|
-
|
|
1401
|
-
|
|
2134
|
+
getTransaction(): any;
|
|
2135
|
+
/**
|
|
2136
|
+
* @returns {any}
|
|
2137
|
+
*/
|
|
2138
|
+
toObject(): any;
|
|
2139
|
+
/**
|
|
2140
|
+
* @returns {any}
|
|
2141
|
+
*/
|
|
2142
|
+
toJSON(): any;
|
|
2143
|
+
}
|
|
2144
|
+
/**
|
|
2145
|
+
*/
|
|
2146
|
+
export class InstantAssetLockProofStructureValidator {
|
|
2147
|
+
free(): void;
|
|
2148
|
+
/**
|
|
2149
|
+
* @param {any} state_repository
|
|
2150
|
+
*/
|
|
2151
|
+
constructor(state_repository: any);
|
|
2152
|
+
/**
|
|
2153
|
+
* @param {any} raw_asset_lock_proof
|
|
2154
|
+
* @param {StateTransitionExecutionContext} execution_context
|
|
2155
|
+
* @returns {Promise<ValidationResult>}
|
|
2156
|
+
*/
|
|
2157
|
+
validate(raw_asset_lock_proof: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
|
|
2158
|
+
}
|
|
2159
|
+
/**
|
|
2160
|
+
*/
|
|
2161
|
+
export class InvalidActionNameError {
|
|
2162
|
+
free(): void;
|
|
2163
|
+
/**
|
|
2164
|
+
* @param {any[]} actions
|
|
2165
|
+
*/
|
|
2166
|
+
constructor(actions: any[]);
|
|
2167
|
+
/**
|
|
2168
|
+
* @returns {any[]}
|
|
2169
|
+
*/
|
|
2170
|
+
getActions(): any[];
|
|
2171
|
+
}
|
|
2172
|
+
/**
|
|
2173
|
+
*/
|
|
2174
|
+
export class InvalidAssetLockProofCoreChainHeightError {
|
|
2175
|
+
free(): void;
|
|
2176
|
+
/**
|
|
2177
|
+
* @returns {number}
|
|
2178
|
+
*/
|
|
2179
|
+
getProofCoreChainLockedHeight(): number;
|
|
2180
|
+
/**
|
|
2181
|
+
* @returns {number}
|
|
2182
|
+
*/
|
|
2183
|
+
getCurrentCoreChainLockedHeight(): number;
|
|
2184
|
+
/**
|
|
2185
|
+
* @returns {number}
|
|
2186
|
+
*/
|
|
2187
|
+
getCode(): number;
|
|
2188
|
+
}
|
|
2189
|
+
/**
|
|
2190
|
+
*/
|
|
2191
|
+
export class InvalidAssetLockProofTransactionHeightError {
|
|
2192
|
+
free(): void;
|
|
2193
|
+
/**
|
|
2194
|
+
* @returns {number}
|
|
2195
|
+
*/
|
|
2196
|
+
getProofCoreChainLockedHeight(): number;
|
|
2197
|
+
/**
|
|
2198
|
+
* @returns {number | undefined}
|
|
2199
|
+
*/
|
|
2200
|
+
getTransactionHeight(): number | undefined;
|
|
2201
|
+
/**
|
|
2202
|
+
* @returns {number}
|
|
2203
|
+
*/
|
|
2204
|
+
getCode(): number;
|
|
2205
|
+
}
|
|
1402
2206
|
/**
|
|
1403
2207
|
*/
|
|
1404
2208
|
export class InvalidAssetLockTransactionOutputReturnSizeError {
|
|
@@ -1436,9 +2240,8 @@ export class InvalidDataContractError {
|
|
|
1436
2240
|
/**
|
|
1437
2241
|
* @param {any[]} errors
|
|
1438
2242
|
* @param {any} raw_data_contract
|
|
1439
|
-
* @returns {InvalidDataContractError}
|
|
1440
2243
|
*/
|
|
1441
|
-
|
|
2244
|
+
constructor(errors: any[], raw_data_contract: any);
|
|
1442
2245
|
/**
|
|
1443
2246
|
* @returns {any[]}
|
|
1444
2247
|
*/
|
|
@@ -1447,6 +2250,10 @@ export class InvalidDataContractError {
|
|
|
1447
2250
|
* @returns {any}
|
|
1448
2251
|
*/
|
|
1449
2252
|
getRawDataContract(): any;
|
|
2253
|
+
/**
|
|
2254
|
+
* @returns {string}
|
|
2255
|
+
*/
|
|
2256
|
+
getMessage(): string;
|
|
1450
2257
|
}
|
|
1451
2258
|
/**
|
|
1452
2259
|
*/
|
|
@@ -1496,18 +2303,18 @@ export class InvalidDocumentActionError {
|
|
|
1496
2303
|
export class InvalidDocumentError {
|
|
1497
2304
|
free(): void;
|
|
1498
2305
|
/**
|
|
1499
|
-
* @param {
|
|
2306
|
+
* @param {any} raw_document
|
|
1500
2307
|
* @param {any[]} errors
|
|
1501
2308
|
*/
|
|
1502
|
-
constructor(
|
|
2309
|
+
constructor(raw_document: any, errors: any[]);
|
|
1503
2310
|
/**
|
|
1504
2311
|
* @returns {any[]}
|
|
1505
2312
|
*/
|
|
1506
2313
|
getErrors(): any[];
|
|
1507
2314
|
/**
|
|
1508
|
-
* @returns {
|
|
2315
|
+
* @returns {any}
|
|
1509
2316
|
*/
|
|
1510
|
-
|
|
2317
|
+
getRawDocument(): any;
|
|
1511
2318
|
}
|
|
1512
2319
|
/**
|
|
1513
2320
|
*/
|
|
@@ -1585,7 +2392,7 @@ export class InvalidDocumentTypeInDataContractError {
|
|
|
1585
2392
|
/**
|
|
1586
2393
|
* @returns {string}
|
|
1587
2394
|
*/
|
|
1588
|
-
|
|
2395
|
+
getType(): string;
|
|
1589
2396
|
/**
|
|
1590
2397
|
* @returns {DataContract}
|
|
1591
2398
|
*/
|
|
@@ -1718,11 +2525,11 @@ export class InvalidIdentityPublicKeySecurityLevelError {
|
|
|
1718
2525
|
/**
|
|
1719
2526
|
* @returns {number}
|
|
1720
2527
|
*/
|
|
1721
|
-
|
|
2528
|
+
getPublicKeyPurpose(): number;
|
|
1722
2529
|
/**
|
|
1723
2530
|
* @returns {number}
|
|
1724
2531
|
*/
|
|
1725
|
-
|
|
2532
|
+
getPublicKeySecurityLevel(): number;
|
|
1726
2533
|
/**
|
|
1727
2534
|
* @returns {number}
|
|
1728
2535
|
*/
|
|
@@ -1823,7 +2630,7 @@ export class InvalidInitialRevisionError {
|
|
|
1823
2630
|
/**
|
|
1824
2631
|
* @returns {Document}
|
|
1825
2632
|
*/
|
|
1826
|
-
|
|
2633
|
+
getDocument(): Document;
|
|
1827
2634
|
}
|
|
1828
2635
|
/**
|
|
1829
2636
|
*/
|
|
@@ -1939,6 +2746,16 @@ export class JsonSchemaError {
|
|
|
1939
2746
|
}
|
|
1940
2747
|
/**
|
|
1941
2748
|
*/
|
|
2749
|
+
export class JsonSchemaValidator {
|
|
2750
|
+
free(): void;
|
|
2751
|
+
/**
|
|
2752
|
+
* @param {any} schema_js
|
|
2753
|
+
* @param {any} definitions
|
|
2754
|
+
*/
|
|
2755
|
+
constructor(schema_js: any, definitions: any);
|
|
2756
|
+
}
|
|
2757
|
+
/**
|
|
2758
|
+
*/
|
|
1942
2759
|
export class MaxIdentityPublicKeyLimitReachedError {
|
|
1943
2760
|
free(): void;
|
|
1944
2761
|
/**
|
|
@@ -1975,7 +2792,7 @@ export class Metadata {
|
|
|
1975
2792
|
}
|
|
1976
2793
|
/**
|
|
1977
2794
|
*/
|
|
1978
|
-
export class
|
|
2795
|
+
export class MismatchOwnerIdsError {
|
|
1979
2796
|
free(): void;
|
|
1980
2797
|
/**
|
|
1981
2798
|
* @param {any[]} documents
|
|
@@ -1984,7 +2801,7 @@ export class MismatchOwnersIdsError {
|
|
|
1984
2801
|
/**
|
|
1985
2802
|
* @returns {any[]}
|
|
1986
2803
|
*/
|
|
1987
|
-
|
|
2804
|
+
getDocuments(): any[];
|
|
1988
2805
|
}
|
|
1989
2806
|
/**
|
|
1990
2807
|
*/
|
|
@@ -2006,6 +2823,15 @@ export class MissingDocumentTransitionActionError {
|
|
|
2006
2823
|
}
|
|
2007
2824
|
/**
|
|
2008
2825
|
*/
|
|
2826
|
+
export class MissingDocumentTransitionTypeError {
|
|
2827
|
+
free(): void;
|
|
2828
|
+
/**
|
|
2829
|
+
* @returns {number}
|
|
2830
|
+
*/
|
|
2831
|
+
getCode(): number;
|
|
2832
|
+
}
|
|
2833
|
+
/**
|
|
2834
|
+
*/
|
|
2009
2835
|
export class MissingDocumentTypeError {
|
|
2010
2836
|
free(): void;
|
|
2011
2837
|
/**
|
|
@@ -2046,16 +2872,16 @@ export class MissingStateTransitionTypeError {
|
|
|
2046
2872
|
}
|
|
2047
2873
|
/**
|
|
2048
2874
|
*/
|
|
2049
|
-
export class
|
|
2875
|
+
export class NoDocumentsSuppliedError {
|
|
2050
2876
|
free(): void;
|
|
2051
|
-
}
|
|
2052
2877
|
/**
|
|
2053
2878
|
*/
|
|
2054
|
-
|
|
2055
|
-
|
|
2879
|
+
constructor();
|
|
2880
|
+
}
|
|
2056
2881
|
/**
|
|
2057
2882
|
*/
|
|
2058
|
-
|
|
2883
|
+
export class NonConsensusErrorWasm {
|
|
2884
|
+
free(): void;
|
|
2059
2885
|
}
|
|
2060
2886
|
/**
|
|
2061
2887
|
*/
|
|
@@ -2072,6 +2898,14 @@ export class ProtocolVersionParsingError {
|
|
|
2072
2898
|
}
|
|
2073
2899
|
/**
|
|
2074
2900
|
*/
|
|
2901
|
+
export class ProtocolVersionValidator {
|
|
2902
|
+
free(): void;
|
|
2903
|
+
/**
|
|
2904
|
+
*/
|
|
2905
|
+
constructor();
|
|
2906
|
+
}
|
|
2907
|
+
/**
|
|
2908
|
+
*/
|
|
2075
2909
|
export class PublicKeyIsDisabledError {
|
|
2076
2910
|
free(): void;
|
|
2077
2911
|
/**
|
|
@@ -2110,6 +2944,21 @@ export class PublicKeyValidationError {
|
|
|
2110
2944
|
}
|
|
2111
2945
|
/**
|
|
2112
2946
|
*/
|
|
2947
|
+
export class PublicKeysSignaturesValidator {
|
|
2948
|
+
free(): void;
|
|
2949
|
+
/**
|
|
2950
|
+
* @param {any} bls
|
|
2951
|
+
*/
|
|
2952
|
+
constructor(bls: any);
|
|
2953
|
+
/**
|
|
2954
|
+
* @param {any} raw_state_transition
|
|
2955
|
+
* @param {any[]} raw_public_keys
|
|
2956
|
+
* @returns {ValidationResult}
|
|
2957
|
+
*/
|
|
2958
|
+
validate(raw_state_transition: any, raw_public_keys: any[]): ValidationResult;
|
|
2959
|
+
}
|
|
2960
|
+
/**
|
|
2961
|
+
*/
|
|
2113
2962
|
export class PublicKeysValidator {
|
|
2114
2963
|
free(): void;
|
|
2115
2964
|
/**
|
|
@@ -2126,6 +2975,11 @@ export class PublicKeysValidator {
|
|
|
2126
2975
|
* @returns {ValidationResult}
|
|
2127
2976
|
*/
|
|
2128
2977
|
validatePublicKeyStructure(public_key: any): ValidationResult;
|
|
2978
|
+
/**
|
|
2979
|
+
* @param {Array<any>} public_keys
|
|
2980
|
+
* @returns {ValidationResult}
|
|
2981
|
+
*/
|
|
2982
|
+
validateKeysInStateTransition(public_keys: Array<any>): ValidationResult;
|
|
2129
2983
|
}
|
|
2130
2984
|
/**
|
|
2131
2985
|
*/
|
|
@@ -2142,6 +2996,11 @@ export class SerializedObjectParsingError {
|
|
|
2142
2996
|
}
|
|
2143
2997
|
/**
|
|
2144
2998
|
*/
|
|
2999
|
+
export class StateExecutionContext {
|
|
3000
|
+
free(): void;
|
|
3001
|
+
}
|
|
3002
|
+
/**
|
|
3003
|
+
*/
|
|
2145
3004
|
export class StateTransitionExecutionContext {
|
|
2146
3005
|
free(): void;
|
|
2147
3006
|
/**
|
|
@@ -2237,6 +3096,15 @@ export class UniqueIndicesLimitReachedError {
|
|
|
2237
3096
|
}
|
|
2238
3097
|
/**
|
|
2239
3098
|
*/
|
|
3099
|
+
export class UnknownAssetLockProofTypeError {
|
|
3100
|
+
free(): void;
|
|
3101
|
+
/**
|
|
3102
|
+
* @returns {number | undefined}
|
|
3103
|
+
*/
|
|
3104
|
+
getType(): number | undefined;
|
|
3105
|
+
}
|
|
3106
|
+
/**
|
|
3107
|
+
*/
|
|
2240
3108
|
export class UnsupportedProtocolVersionError {
|
|
2241
3109
|
free(): void;
|
|
2242
3110
|
/**
|
|
@@ -2270,6 +3138,14 @@ export class ValidationResult {
|
|
|
2270
3138
|
* @returns {any[]}
|
|
2271
3139
|
*/
|
|
2272
3140
|
getErrors(): any[];
|
|
3141
|
+
/**
|
|
3142
|
+
* @returns {any}
|
|
3143
|
+
*/
|
|
3144
|
+
getData(): any;
|
|
3145
|
+
/**
|
|
3146
|
+
* @returns {any}
|
|
3147
|
+
*/
|
|
3148
|
+
getFirstError(): any;
|
|
2273
3149
|
}
|
|
2274
3150
|
/**
|
|
2275
3151
|
*/
|
|
@@ -2293,233 +3169,224 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
2293
3169
|
|
|
2294
3170
|
export interface InitOutput {
|
|
2295
3171
|
readonly memory: WebAssembly.Memory;
|
|
3172
|
+
readonly validateDataContractCreateTransitionState: (a: number, b: number) => number;
|
|
3173
|
+
readonly __wbg_datacontractcreatetransition_free: (a: number) => void;
|
|
3174
|
+
readonly datacontractcreatetransition_new: (a: number, b: number) => void;
|
|
3175
|
+
readonly datacontractcreatetransition_getDataContract: (a: number) => number;
|
|
3176
|
+
readonly datacontractcreatetransition_getProtocolVersion: (a: number) => number;
|
|
3177
|
+
readonly datacontractcreatetransition_getEntropy: (a: number) => number;
|
|
3178
|
+
readonly datacontractcreatetransition_getOwnerId: (a: number) => number;
|
|
3179
|
+
readonly datacontractcreatetransition_getType: (a: number) => number;
|
|
3180
|
+
readonly datacontractcreatetransition_toJSON: (a: number, b: number, c: number) => void;
|
|
3181
|
+
readonly datacontractcreatetransition_toBuffer: (a: number, b: number, c: number) => void;
|
|
3182
|
+
readonly datacontractcreatetransition_getModifiedDataIds: (a: number, b: number) => void;
|
|
3183
|
+
readonly datacontractcreatetransition_isDataContractStateTransition: (a: number) => number;
|
|
3184
|
+
readonly datacontractcreatetransition_isDocumentStateTransition: (a: number) => number;
|
|
3185
|
+
readonly datacontractcreatetransition_isIdentityStateTransition: (a: number) => number;
|
|
3186
|
+
readonly datacontractcreatetransition_setExecutionContext: (a: number, b: number) => void;
|
|
3187
|
+
readonly __wbg_incompatibledatacontractschemaerror_free: (a: number) => void;
|
|
3188
|
+
readonly incompatibledatacontractschemaerror_getOperation: (a: number, b: number) => void;
|
|
3189
|
+
readonly incompatibledatacontractschemaerror_getFieldPath: (a: number, b: number) => void;
|
|
3190
|
+
readonly incompatibledatacontractschemaerror_getOldSchema: (a: number, b: number) => void;
|
|
3191
|
+
readonly incompatibledatacontractschemaerror_getNewSchema: (a: number, b: number) => void;
|
|
3192
|
+
readonly incompatibledatacontractschemaerror_getCode: (a: number) => number;
|
|
2296
3193
|
readonly __wbg_invalidindexedpropertyconstrainterror_free: (a: number) => void;
|
|
2297
3194
|
readonly invalidindexedpropertyconstrainterror_getDocumentType: (a: number, b: number) => void;
|
|
2298
3195
|
readonly invalidindexedpropertyconstrainterror_getIndexDefinition: (a: number) => number;
|
|
2299
3196
|
readonly invalidindexedpropertyconstrainterror_getPropertyName: (a: number, b: number) => void;
|
|
2300
3197
|
readonly invalidindexedpropertyconstrainterror_getConstraintName: (a: number, b: number) => void;
|
|
2301
3198
|
readonly invalidindexedpropertyconstrainterror_getReason: (a: number, b: number) => void;
|
|
3199
|
+
readonly __wbg_duplicatedocumenttransitionswithidserror_free: (a: number) => void;
|
|
3200
|
+
readonly duplicatedocumenttransitionswithidserror_getReferences: (a: number) => number;
|
|
3201
|
+
readonly duplicatedocumenttransitionswithidserror_getCode: (a: number) => number;
|
|
3202
|
+
readonly __wbg_datatriggerinvalidresulterror_free: (a: number) => void;
|
|
3203
|
+
readonly datatriggerinvalidresulterror_getDataContractId: (a: number) => number;
|
|
3204
|
+
readonly datatriggerinvalidresulterror_getDocumentTransitionId: (a: number) => number;
|
|
3205
|
+
readonly datatriggerinvalidresulterror_getTimestamp: (a: number) => number;
|
|
3206
|
+
readonly datatriggerinvalidresulterror_getOwnerId: (a: number) => number;
|
|
3207
|
+
readonly datatriggerinvalidresulterror_getCode: (a: number) => number;
|
|
3208
|
+
readonly __wbg_publickeysvalidator_free: (a: number) => void;
|
|
3209
|
+
readonly publickeysvalidator_new: (a: number, b: number) => void;
|
|
3210
|
+
readonly publickeysvalidator_validateKeys: (a: number, b: number, c: number) => void;
|
|
3211
|
+
readonly publickeysvalidator_validatePublicKeyStructure: (a: number, b: number, c: number) => void;
|
|
3212
|
+
readonly publickeysvalidator_validateKeysInStateTransition: (a: number, b: number, c: number) => void;
|
|
3213
|
+
readonly applyIdentityCreateTransition: (a: number, b: number) => number;
|
|
3214
|
+
readonly applyIdentityTopUpTransition: (a: number, b: number) => number;
|
|
2302
3215
|
readonly invalidindexedpropertyconstrainterror_getCode: (a: number) => number;
|
|
3216
|
+
readonly duplicatedocumenttransitionswithindiceserror_getCode: (a: number) => number;
|
|
3217
|
+
readonly __wbg_duplicatedocumenttransitionswithindiceserror_free: (a: number) => void;
|
|
3218
|
+
readonly incompatibledatacontractschemaerror_getDataContractId: (a: number) => number;
|
|
3219
|
+
readonly duplicatedocumenttransitionswithindiceserror_getReferences: (a: number) => number;
|
|
3220
|
+
readonly __wbg_applydatacontractcreatetransition_free: (a: number) => void;
|
|
3221
|
+
readonly applydatacontractcreatetransition_new: (a: number) => number;
|
|
3222
|
+
readonly applydatacontractcreatetransition_applyDataContractCreateTransition: (a: number, b: number) => number;
|
|
3223
|
+
readonly applydatacontractupdatetransition_applyDataContractUpdateTransition: (a: number, b: number) => number;
|
|
3224
|
+
readonly __wbg_indexproperty_free: (a: number) => void;
|
|
3225
|
+
readonly indexproperty_isAscending: (a: number) => number;
|
|
3226
|
+
readonly __wbg_indexdefinition_free: (a: number) => void;
|
|
3227
|
+
readonly indexdefinition_getName: (a: number, b: number) => void;
|
|
3228
|
+
readonly indexdefinition_getProperties: (a: number, b: number) => void;
|
|
3229
|
+
readonly indexdefinition_isUnique: (a: number) => number;
|
|
3230
|
+
readonly indexdefinition_toObject: (a: number, b: number) => void;
|
|
3231
|
+
readonly __wbg_invaliddocumenterror_free: (a: number) => void;
|
|
3232
|
+
readonly invaliddocumenterror_new: (a: number, b: number, c: number) => number;
|
|
3233
|
+
readonly invaliddocumenterror_getErrors: (a: number, b: number) => void;
|
|
3234
|
+
readonly invaliddocumenterror_getRawDocument: (a: number) => number;
|
|
3235
|
+
readonly __wbg_documenttransitionwasm_free: (a: number) => void;
|
|
3236
|
+
readonly documenttransitionwasm_getId: (a: number) => number;
|
|
3237
|
+
readonly documenttransitionwasm_getType: (a: number, b: number) => void;
|
|
3238
|
+
readonly documenttransitionwasm_getAction: (a: number) => number;
|
|
3239
|
+
readonly documenttransitionwasm_getDataContract: (a: number) => number;
|
|
3240
|
+
readonly documenttransitionwasm_getDataContractId: (a: number) => number;
|
|
3241
|
+
readonly documenttransitionwasm_get: (a: number, b: number, c: number) => number;
|
|
3242
|
+
readonly documenttransitionwasm_getObject: (a: number, b: number, c: number) => void;
|
|
3243
|
+
readonly documenttransitionwasm_toJSON: (a: number, b: number) => void;
|
|
2303
3244
|
readonly __wbg_protocolversionparsingerror_free: (a: number) => void;
|
|
2304
3245
|
readonly protocolversionparsingerror_getParsingError: (a: number) => number;
|
|
2305
3246
|
readonly protocolversionparsingerror_getCode: (a: number) => number;
|
|
2306
3247
|
readonly __wbg_identityassetlocktransactionoutputnotfounderror_free: (a: number) => void;
|
|
2307
3248
|
readonly identityassetlocktransactionoutputnotfounderror_getOutputIndex: (a: number) => number;
|
|
2308
3249
|
readonly identityassetlocktransactionoutputnotfounderror_getCode: (a: number) => number;
|
|
3250
|
+
readonly invalidassetlocktransactionoutputreturnsizeerror_getOutputIndex: (a: number) => number;
|
|
3251
|
+
readonly invalidassetlocktransactionoutputreturnsizeerror_getCode: (a: number) => number;
|
|
3252
|
+
readonly invalididentityassetlocktransactionoutputerror_getOutputIndex: (a: number) => number;
|
|
3253
|
+
readonly invalididentityassetlocktransactionoutputerror_getCode: (a: number) => number;
|
|
2309
3254
|
readonly invalididentitycreditwithdrawaltransitioncorefeeerror_getCoreFee: (a: number) => number;
|
|
2310
3255
|
readonly invalididentitycreditwithdrawaltransitioncorefeeerror_getCode: (a: number) => number;
|
|
2311
3256
|
readonly __wbg_datacontractalreadypresenterror_free: (a: number) => void;
|
|
2312
3257
|
readonly datacontractalreadypresenterror_getDataContractId: (a: number) => number;
|
|
2313
3258
|
readonly datacontractalreadypresenterror_getCode: (a: number) => number;
|
|
2314
|
-
readonly
|
|
2315
|
-
readonly
|
|
2316
|
-
readonly
|
|
2317
|
-
readonly datatriggerinvalidresulterror_getTimestamp: (a: number) => number;
|
|
2318
|
-
readonly datatriggerinvalidresulterror_getOwnerId: (a: number) => number;
|
|
2319
|
-
readonly datatriggerinvalidresulterror_getCode: (a: number) => number;
|
|
2320
|
-
readonly __wbg_identifier_free: (a: number) => void;
|
|
2321
|
-
readonly identifier_new: (a: number, b: number, c: number) => void;
|
|
2322
|
-
readonly identifier_from: (a: number, b: number, c: number, d: number) => void;
|
|
2323
|
-
readonly identifier_fromString: (a: number, b: number, c: number, d: number) => number;
|
|
2324
|
-
readonly identifier_toBuffer: (a: number) => number;
|
|
2325
|
-
readonly identifier_toJSON: (a: number, b: number) => void;
|
|
2326
|
-
readonly identifier_toString: (a: number, b: number, c: number, d: number) => void;
|
|
2327
|
-
readonly identifier_length: (a: number) => number;
|
|
2328
|
-
readonly identifier_inner: (a: number, b: number) => void;
|
|
2329
|
-
readonly __wbg_identityfacade_free: (a: number) => void;
|
|
2330
|
-
readonly identityfacade_new: (a: number) => number;
|
|
2331
|
-
readonly identityfacade_validate: (a: number, b: number, c: number) => void;
|
|
2332
|
-
readonly __wbg_nonconsensuserrorwasm_free: (a: number) => void;
|
|
3259
|
+
readonly identitycreatetransitionstatevalidator_validate: (a: number, b: number) => number;
|
|
3260
|
+
readonly identitytopuptransitionstatevalidator_validate: (a: number, b: number) => number;
|
|
3261
|
+
readonly indexproperty_getName: (a: number, b: number) => void;
|
|
2333
3262
|
readonly serializedobjectparsingerror_getCode: (a: number) => number;
|
|
3263
|
+
readonly identitynotfounderror_getCode: (a: number) => number;
|
|
2334
3264
|
readonly documentalreadypresenterror_getCode: (a: number) => number;
|
|
3265
|
+
readonly documentnotfounderror_getCode: (a: number) => number;
|
|
2335
3266
|
readonly documenttimestampsmismatcherror_getCode: (a: number) => number;
|
|
2336
3267
|
readonly __wbg_serializedobjectparsingerror_free: (a: number) => void;
|
|
3268
|
+
readonly __wbg_applydatacontractupdatetransition_free: (a: number) => void;
|
|
3269
|
+
readonly __wbg_identitycreatetransitionstatevalidator_free: (a: number) => void;
|
|
3270
|
+
readonly __wbg_identitytopuptransitionstatevalidator_free: (a: number) => void;
|
|
3271
|
+
readonly identitynotfounderror_getIdentityId: (a: number) => number;
|
|
2337
3272
|
readonly documentalreadypresenterror_getDocumentId: (a: number) => number;
|
|
3273
|
+
readonly documentnotfounderror_getDocumentId: (a: number) => number;
|
|
2338
3274
|
readonly documenttimestampsmismatcherror_getDocumentId: (a: number) => number;
|
|
2339
3275
|
readonly serializedobjectparsingerror_getParsingError: (a: number) => number;
|
|
3276
|
+
readonly applydatacontractupdatetransition_new: (a: number) => number;
|
|
3277
|
+
readonly identitycreatetransitionstatevalidator_new: (a: number) => number;
|
|
3278
|
+
readonly identitytopuptransitionstatevalidator_new: (a: number) => number;
|
|
3279
|
+
readonly __wbg_invalidassetlocktransactionoutputreturnsizeerror_free: (a: number) => void;
|
|
3280
|
+
readonly __wbg_invalididentityassetlocktransactionoutputerror_free: (a: number) => void;
|
|
2340
3281
|
readonly __wbg_invalididentitycreditwithdrawaltransitioncorefeeerror_free: (a: number) => void;
|
|
3282
|
+
readonly __wbg_identitynotfounderror_free: (a: number) => void;
|
|
2341
3283
|
readonly __wbg_documentalreadypresenterror_free: (a: number) => void;
|
|
3284
|
+
readonly __wbg_documentnotfounderror_free: (a: number) => void;
|
|
2342
3285
|
readonly __wbg_documenttimestampsmismatcherror_free: (a: number) => void;
|
|
2343
|
-
readonly
|
|
2344
|
-
readonly
|
|
2345
|
-
readonly
|
|
2346
|
-
readonly
|
|
2347
|
-
readonly
|
|
2348
|
-
readonly
|
|
2349
|
-
readonly
|
|
2350
|
-
readonly
|
|
2351
|
-
readonly
|
|
2352
|
-
readonly
|
|
2353
|
-
readonly document_getEntropy: (a: number, b: number) => void;
|
|
2354
|
-
readonly document_setData: (a: number, b: number, c: number) => void;
|
|
2355
|
-
readonly document_getData: (a: number, b: number) => void;
|
|
2356
|
-
readonly document_set: (a: number, b: number, c: number, d: number) => void;
|
|
2357
|
-
readonly document_get: (a: number, b: number, c: number) => number;
|
|
2358
|
-
readonly document_setCreatedAt: (a: number, b: number) => void;
|
|
2359
|
-
readonly document_setUpdatedAt: (a: number, b: number) => void;
|
|
2360
|
-
readonly document_getCreatedAt: (a: number, b: number) => void;
|
|
2361
|
-
readonly document_getUpdatedAt: (a: number, b: number) => void;
|
|
2362
|
-
readonly document_getMetadata: (a: number) => number;
|
|
2363
|
-
readonly document_setMetadata: (a: number, b: number) => void;
|
|
2364
|
-
readonly document_toJSON: (a: number, b: number) => void;
|
|
2365
|
-
readonly document_toBuffer: (a: number, b: number) => void;
|
|
2366
|
-
readonly document_hash: (a: number, b: number) => void;
|
|
2367
|
-
readonly __wbg_incompatibledatacontractschemaerror_free: (a: number) => void;
|
|
2368
|
-
readonly incompatibledatacontractschemaerror_getDataContractId: (a: number) => number;
|
|
2369
|
-
readonly incompatibledatacontractschemaerror_getOperation: (a: number, b: number) => void;
|
|
2370
|
-
readonly incompatibledatacontractschemaerror_getFieldPath: (a: number, b: number) => void;
|
|
2371
|
-
readonly incompatibledatacontractschemaerror_getOldSchema: (a: number, b: number) => void;
|
|
2372
|
-
readonly incompatibledatacontractschemaerror_getNewSchema: (a: number, b: number) => void;
|
|
2373
|
-
readonly incompatibledatacontractschemaerror_getCode: (a: number) => number;
|
|
3286
|
+
readonly __wbg_documentdeletetransition_free: (a: number) => void;
|
|
3287
|
+
readonly documentdeletetransition_getAction: (a: number) => number;
|
|
3288
|
+
readonly documentdeletetransition_toObject: (a: number, b: number) => void;
|
|
3289
|
+
readonly __wbg_datacontractmaxdepthexceederror_free: (a: number) => void;
|
|
3290
|
+
readonly datacontractmaxdeptherror_getDepth: (a: number) => number;
|
|
3291
|
+
readonly datacontractmaxdeptherror_getCode: (a: number) => number;
|
|
3292
|
+
readonly __wbg_invalidindexpropertytypeerror_free: (a: number) => void;
|
|
3293
|
+
readonly invalidindexpropertytypeerror_getIndexDefinition: (a: number) => number;
|
|
3294
|
+
readonly invalidindexpropertytypeerror_getPropertyName: (a: number, b: number) => void;
|
|
3295
|
+
readonly invalidindexpropertytypeerror_getPropertyType: (a: number, b: number) => void;
|
|
2374
3296
|
readonly __wbg_datacontractnotpresenterror_free: (a: number) => void;
|
|
2375
3297
|
readonly datacontractnotpresenterror_getDataContractId: (a: number) => number;
|
|
2376
3298
|
readonly datacontractnotpresenterror_getCode: (a: number) => number;
|
|
2377
|
-
readonly __wbg_invalididentitypublickeytypeerror_free: (a: number) => void;
|
|
2378
|
-
readonly invalididentitypublickeytypeerror_getPublicKeyType: (a: number) => number;
|
|
2379
|
-
readonly __wbg_jsonschemacompilationerror_free: (a: number) => void;
|
|
2380
|
-
readonly jsonschemacompilationerror_getError: (a: number, b: number) => void;
|
|
2381
|
-
readonly jsonschemacompilationerror_getCode: (a: number) => number;
|
|
2382
|
-
readonly __wbg_statetransitionexecutioncontext_free: (a: number) => void;
|
|
2383
|
-
readonly statetransitionexecutioncontext_new: () => number;
|
|
2384
|
-
readonly statetransitionexecutioncontext_enableDryRun: (a: number) => void;
|
|
2385
|
-
readonly statetransitionexecutioncontext_disableDryRun: (a: number) => void;
|
|
2386
|
-
readonly invalididentitypublickeytypeerror_getCode: (a: number) => number;
|
|
2387
|
-
readonly identitynotfounderror_getCode: (a: number) => number;
|
|
2388
|
-
readonly documentnotfounderror_getCode: (a: number) => number;
|
|
2389
|
-
readonly identitynotfounderror_getIdentityId: (a: number) => number;
|
|
2390
|
-
readonly documentnotfounderror_getDocumentId: (a: number) => number;
|
|
2391
|
-
readonly document_toObject: (a: number, b: number) => void;
|
|
2392
|
-
readonly __wbg_identitynotfounderror_free: (a: number) => void;
|
|
2393
|
-
readonly __wbg_documentnotfounderror_free: (a: number) => void;
|
|
2394
|
-
readonly __wbg_datacontract_free: (a: number) => void;
|
|
2395
|
-
readonly datacontract_new: (a: number, b: number) => void;
|
|
2396
|
-
readonly datacontract_getProtocolVersion: (a: number) => number;
|
|
2397
|
-
readonly datacontract_getId: (a: number) => number;
|
|
2398
|
-
readonly datacontract_getOwnerId: (a: number) => number;
|
|
2399
|
-
readonly datacontract_getVersion: (a: number) => number;
|
|
2400
|
-
readonly datacontract_setVersion: (a: number, b: number) => void;
|
|
2401
|
-
readonly datacontract_incrementVersion: (a: number) => void;
|
|
2402
|
-
readonly datacontract_getJsonSchemaId: (a: number, b: number) => void;
|
|
2403
|
-
readonly datacontract_setJsonMetaSchema: (a: number, b: number, c: number) => void;
|
|
2404
|
-
readonly datacontract_getJsonMetaSchema: (a: number, b: number) => void;
|
|
2405
|
-
readonly datacontract_setDocuments: (a: number, b: number, c: number) => void;
|
|
2406
|
-
readonly datacontract_getDocuments: (a: number, b: number) => void;
|
|
2407
|
-
readonly datacontract_isDocumentDefined: (a: number, b: number, c: number) => number;
|
|
2408
|
-
readonly datacontract_setDocumentSchema: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
2409
|
-
readonly datacontract_getDocumentSchema: (a: number, b: number, c: number, d: number) => void;
|
|
2410
|
-
readonly datacontract_getDocumentSchemaRef: (a: number, b: number, c: number, d: number) => void;
|
|
2411
|
-
readonly datacontract_setDefinitions: (a: number, b: number, c: number) => void;
|
|
2412
|
-
readonly datacontract_getDefinitions: (a: number, b: number) => void;
|
|
2413
|
-
readonly datacontract_setEntropy: (a: number, b: number, c: number, d: number) => void;
|
|
2414
|
-
readonly datacontract_getEntropy: (a: number) => number;
|
|
2415
|
-
readonly datacontract_getBinaryProperties: (a: number, b: number, c: number, d: number) => void;
|
|
2416
|
-
readonly datacontract_getMetadata: (a: number) => number;
|
|
2417
|
-
readonly datacontract_setMetadata: (a: number, b: number) => void;
|
|
2418
|
-
readonly datacontract_toObject: (a: number, b: number) => void;
|
|
2419
|
-
readonly datacontract_toJSON: (a: number, b: number) => void;
|
|
2420
|
-
readonly datacontract_toBuffer: (a: number, b: number) => void;
|
|
2421
|
-
readonly datacontract_hash: (a: number, b: number) => void;
|
|
2422
|
-
readonly datacontract_from: (a: number, b: number) => void;
|
|
2423
|
-
readonly __wbg_datacontractdefaults_free: (a: number) => void;
|
|
2424
|
-
readonly datacontractdefaults_get_default_schema: (a: number) => void;
|
|
2425
|
-
readonly validateDataContractCreateTransitionState: (a: number, b: number) => number;
|
|
2426
|
-
readonly __wbg_datacontractcreatetransition_free: (a: number) => void;
|
|
2427
|
-
readonly datacontractcreatetransition_new: (a: number, b: number) => void;
|
|
2428
|
-
readonly datacontractcreatetransition_getDataContract: (a: number) => number;
|
|
2429
|
-
readonly datacontractcreatetransition_getProtocolVersion: (a: number) => number;
|
|
2430
|
-
readonly datacontractcreatetransition_getEntropy: (a: number) => number;
|
|
2431
|
-
readonly datacontractcreatetransition_getOwnerId: (a: number) => number;
|
|
2432
|
-
readonly datacontractcreatetransition_getType: (a: number) => number;
|
|
2433
|
-
readonly datacontractcreatetransition_toJSON: (a: number, b: number, c: number) => void;
|
|
2434
|
-
readonly datacontractcreatetransition_toBuffer: (a: number, b: number, c: number) => void;
|
|
2435
|
-
readonly datacontractcreatetransition_getModifiedDataIds: (a: number, b: number) => void;
|
|
2436
|
-
readonly datacontractcreatetransition_isDataContractStateTransition: (a: number) => number;
|
|
2437
|
-
readonly datacontractcreatetransition_isDocumentStateTransition: (a: number) => number;
|
|
2438
|
-
readonly datacontractcreatetransition_isIdentityStateTransition: (a: number) => number;
|
|
2439
|
-
readonly datacontractcreatetransition_setExecutionContext: (a: number, b: number) => void;
|
|
2440
|
-
readonly __wbg_datacontractmaxdeptherror_free: (a: number) => void;
|
|
2441
|
-
readonly datacontractmaxdeptherror_getDepth: (a: number) => number;
|
|
2442
|
-
readonly datacontractmaxdeptherror_getCode: (a: number) => number;
|
|
2443
3299
|
readonly __wbg_invaliddocumenttransitionactionerror_free: (a: number) => void;
|
|
2444
3300
|
readonly invaliddocumenttransitionactionerror_getAction: (a: number, b: number) => void;
|
|
2445
|
-
readonly
|
|
3301
|
+
readonly __wbg_invalididentitypublickeysecuritylevelerror_free: (a: number) => void;
|
|
3302
|
+
readonly invalididentitypublickeysecuritylevelerror_getPublicKeyId: (a: number) => number;
|
|
3303
|
+
readonly invalididentitypublickeysecuritylevelerror_getPublicKeyPurpose: (a: number) => number;
|
|
3304
|
+
readonly invalididentitypublickeysecuritylevelerror_getPublicKeySecurityLevel: (a: number) => number;
|
|
3305
|
+
readonly invalididentitypublickeysecuritylevelerror_getCode: (a: number) => number;
|
|
3306
|
+
readonly invalididentitypublickeytypeerror_getPublicKeyType: (a: number) => number;
|
|
2446
3307
|
readonly invalidstatetransitiontypeerror_getTransitionType: (a: number) => number;
|
|
2447
|
-
readonly
|
|
2448
|
-
readonly
|
|
2449
|
-
readonly
|
|
2450
|
-
readonly
|
|
2451
|
-
readonly
|
|
3308
|
+
readonly __wbg_identitypublickeyisdisablederror_free: (a: number) => void;
|
|
3309
|
+
readonly identitypublickeyisdisablederror_getPublicKeyIndex: (a: number) => number;
|
|
3310
|
+
readonly identitypublickeyisdisablederror_getCode: (a: number) => number;
|
|
3311
|
+
readonly __wbg_identitytopuptransition_free: (a: number) => void;
|
|
3312
|
+
readonly identitytopuptransition_new: (a: number, b: number) => void;
|
|
3313
|
+
readonly identitytopuptransition_setAssetLockProof: (a: number, b: number, c: number) => void;
|
|
3314
|
+
readonly identitytopuptransition_assetLockProof: (a: number) => number;
|
|
3315
|
+
readonly identitytopuptransition_getType: (a: number) => number;
|
|
3316
|
+
readonly identitytopuptransition_getIdentityId: (a: number) => number;
|
|
3317
|
+
readonly identitytopuptransition_getOwnerId: (a: number) => number;
|
|
3318
|
+
readonly identitytopuptransition_toObject: (a: number, b: number, c: number) => void;
|
|
3319
|
+
readonly identitytopuptransition_toJSON: (a: number, b: number) => void;
|
|
3320
|
+
readonly identitytopuptransition_getModifiedDataIds: (a: number, b: number) => void;
|
|
3321
|
+
readonly identitytopuptransition_isDataContractStateTransition: (a: number) => number;
|
|
3322
|
+
readonly identitytopuptransition_isDocumentStateTransition: (a: number) => number;
|
|
3323
|
+
readonly identitytopuptransition_isIdentityStateTransition: (a: number) => number;
|
|
3324
|
+
readonly identitytopuptransition_setExecutionContext: (a: number, b: number) => void;
|
|
3325
|
+
readonly identitytopuptransition_getExecutionContext: (a: number) => number;
|
|
3326
|
+
readonly identitytopuptransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
3327
|
+
readonly identitytopuptransition_getSignature: (a: number) => number;
|
|
2452
3328
|
readonly invalidjsonschemareferror_getRefError: (a: number, b: number) => void;
|
|
2453
|
-
readonly __wbg_invalidstatetransitiontypeerror_free: (a: number) => void;
|
|
2454
|
-
readonly __wbg_maxidentitypublickeylimitreachederror_free: (a: number) => void;
|
|
2455
|
-
readonly __wbg_applydatacontractcreatetransition_free: (a: number) => void;
|
|
2456
|
-
readonly applydatacontractcreatetransition_new: (a: number) => number;
|
|
2457
|
-
readonly applydatacontractcreatetransition_applyDataContractCreateTransition: (a: number, b: number) => number;
|
|
2458
|
-
readonly __wbg_invaliddocumenterror_free: (a: number) => void;
|
|
2459
|
-
readonly invaliddocumenterror_new: (a: number, b: number, c: number) => number;
|
|
2460
|
-
readonly invaliddocumenterror_getErrors: (a: number, b: number) => void;
|
|
2461
|
-
readonly invaliddocumenterror_getDocument: (a: number) => number;
|
|
2462
|
-
readonly __wbg_invalidindexpropertytypeerror_free: (a: number) => void;
|
|
2463
3329
|
readonly invalidindexpropertytypeerror_getDocumentType: (a: number, b: number) => void;
|
|
2464
|
-
readonly
|
|
2465
|
-
readonly
|
|
2466
|
-
readonly
|
|
3330
|
+
readonly jsonschemacompilationerror_getError: (a: number, b: number) => void;
|
|
3331
|
+
readonly __wbg_invalidjsonschemareferror_free: (a: number) => void;
|
|
3332
|
+
readonly __wbg_jsonschemacompilationerror_free: (a: number) => void;
|
|
2467
3333
|
readonly invalidindexpropertytypeerror_getCode: (a: number) => number;
|
|
2468
|
-
readonly
|
|
3334
|
+
readonly invalidjsonschemareferror_getCode: (a: number) => number;
|
|
3335
|
+
readonly invaliddocumenttransitionactionerror_getCode: (a: number) => number;
|
|
2469
3336
|
readonly invalididentitykeysignatureerror_getPublicKeyId: (a: number) => number;
|
|
2470
3337
|
readonly invalididentitykeysignatureerror_getCode: (a: number) => number;
|
|
2471
|
-
readonly
|
|
2472
|
-
readonly
|
|
2473
|
-
readonly
|
|
2474
|
-
readonly identitypublickeyisdisablederror_getCode: (a: number) => number;
|
|
2475
|
-
readonly publickeyisdisablederror_getPublicKeyId: (a: number) => number;
|
|
2476
|
-
readonly publickeyisdisablederror_getCode: (a: number) => number;
|
|
2477
|
-
readonly missingpublickeyerror_getCode: (a: number) => number;
|
|
3338
|
+
readonly invalididentitypublickeytypeerror_getCode: (a: number) => number;
|
|
3339
|
+
readonly jsonschemacompilationerror_getCode: (a: number) => number;
|
|
3340
|
+
readonly invalidstatetransitiontypeerror_getCode: (a: number) => number;
|
|
2478
3341
|
readonly identitypublickeyisreadonlyerror_getCode: (a: number) => number;
|
|
2479
3342
|
readonly invalididentitypublickeyiderror_getCode: (a: number) => number;
|
|
3343
|
+
readonly maxidentitypublickeylimitreachederror_getIdentityId: (a: number) => number;
|
|
3344
|
+
readonly maxidentitypublickeylimitreachederror_getCode: (a: number) => number;
|
|
2480
3345
|
readonly identitypublickeyisreadonlyerror_getKeyId: (a: number) => number;
|
|
2481
3346
|
readonly invalididentitypublickeyiderror_getId: (a: number) => number;
|
|
2482
|
-
readonly
|
|
2483
|
-
readonly
|
|
3347
|
+
readonly identitytopuptransition_getAssetLockProof: (a: number) => number;
|
|
3348
|
+
readonly identitytopuptransition_identityId: (a: number) => number;
|
|
3349
|
+
readonly __wbg_invalididentitykeysignatureerror_free: (a: number) => void;
|
|
3350
|
+
readonly __wbg_invalididentitypublickeytypeerror_free: (a: number) => void;
|
|
3351
|
+
readonly __wbg_invalidstatetransitiontypeerror_free: (a: number) => void;
|
|
2484
3352
|
readonly __wbg_identitypublickeyisreadonlyerror_free: (a: number) => void;
|
|
2485
3353
|
readonly __wbg_invalididentitypublickeyiderror_free: (a: number) => void;
|
|
2486
|
-
readonly
|
|
2487
|
-
readonly
|
|
2488
|
-
readonly
|
|
2489
|
-
readonly
|
|
2490
|
-
readonly
|
|
2491
|
-
readonly
|
|
2492
|
-
readonly
|
|
2493
|
-
readonly
|
|
2494
|
-
readonly
|
|
2495
|
-
readonly __wbg_identityassetlockprooflockedtransactionmismatcherror_free: (a: number) => void;
|
|
2496
|
-
readonly identityassetlockprooflockedtransactionmismatcherror_getInstantLockTransactionId: (a: number) => number;
|
|
2497
|
-
readonly identityassetlockprooflockedtransactionmismatcherror_getAssetLockTransactionId: (a: number) => number;
|
|
2498
|
-
readonly identityassetlockprooflockedtransactionmismatcherror_getCode: (a: number) => number;
|
|
2499
|
-
readonly __wbg_transactiondecodeerror_free: (a: number) => void;
|
|
2500
|
-
readonly __wbg_invalididentityassetlocktransactionerror_free: (a: number) => void;
|
|
2501
|
-
readonly invalididentityassetlocktransactionerror_getValidationError: (a: number) => number;
|
|
2502
|
-
readonly invalididentityassetlocktransactionerror_getMessage: (a: number, b: number) => void;
|
|
2503
|
-
readonly invalididentityassetlocktransactionerror_getCode: (a: number) => number;
|
|
2504
|
-
readonly __wbg_invalididentitypublickeysecuritylevelerror_free: (a: number) => void;
|
|
2505
|
-
readonly invalididentitypublickeysecuritylevelerror_getPublicKeyId: (a: number) => number;
|
|
2506
|
-
readonly invalididentitypublickeysecuritylevelerror_getPurpose: (a: number) => number;
|
|
2507
|
-
readonly invalididentitypublickeysecuritylevelerror_getSecurityLevel: (a: number) => number;
|
|
2508
|
-
readonly invalididentitypublickeysecuritylevelerror_getCode: (a: number) => number;
|
|
2509
|
-
readonly __wbg_invalidinstantassetlockprooferror_free: (a: number) => void;
|
|
2510
|
-
readonly invalidinstantassetlockprooferror_getCode: (a: number) => number;
|
|
2511
|
-
readonly __wbg_documentowneridmismatcherror_free: (a: number) => void;
|
|
2512
|
-
readonly documentowneridmismatcherror_getDocumentId: (a: number) => number;
|
|
2513
|
-
readonly documentowneridmismatcherror_getDocumentOwnerId: (a: number) => number;
|
|
2514
|
-
readonly documentowneridmismatcherror_getExistingDocumentOwnerId: (a: number) => number;
|
|
2515
|
-
readonly documentowneridmismatcherror_getCode: (a: number) => number;
|
|
3354
|
+
readonly __wbg_maxidentitypublickeylimitreachederror_free: (a: number) => void;
|
|
3355
|
+
readonly __wbg_invaliddatacontracterror_free: (a: number) => void;
|
|
3356
|
+
readonly invaliddatacontracterror_new: (a: number, b: number, c: number) => number;
|
|
3357
|
+
readonly invaliddatacontracterror_getErrors: (a: number, b: number) => void;
|
|
3358
|
+
readonly invaliddatacontracterror_getRawDataContract: (a: number) => number;
|
|
3359
|
+
readonly invaliddatacontracterror_getMessage: (a: number, b: number) => void;
|
|
3360
|
+
readonly __wbg_missingpublickeyerror_free: (a: number) => void;
|
|
3361
|
+
readonly missingpublickeyerror_getPublicKeyId: (a: number) => number;
|
|
3362
|
+
readonly missingpublickeyerror_getCode: (a: number) => number;
|
|
2516
3363
|
readonly __wbg_identitypublickeydisabledatwindowviolationerror_free: (a: number) => void;
|
|
2517
3364
|
readonly identitypublickeydisabledatwindowviolationerror_getDisabledAt: (a: number) => number;
|
|
2518
3365
|
readonly identitypublickeydisabledatwindowviolationerror_getTimeWindowStart: (a: number) => number;
|
|
2519
3366
|
readonly identitypublickeydisabledatwindowviolationerror_getTimeWindowEnd: (a: number) => number;
|
|
2520
3367
|
readonly identitypublickeydisabledatwindowviolationerror_getCode: (a: number) => number;
|
|
2521
|
-
readonly
|
|
3368
|
+
readonly __wbg_chainassetlockproof_free: (a: number) => void;
|
|
3369
|
+
readonly chainassetlockproof_new: (a: number, b: number) => void;
|
|
3370
|
+
readonly chainassetlockproof_getType: (a: number) => number;
|
|
3371
|
+
readonly chainassetlockproof_getCoreChainLockedHeight: (a: number) => number;
|
|
3372
|
+
readonly chainassetlockproof_setCoreChainLockedHeight: (a: number, b: number) => void;
|
|
3373
|
+
readonly chainassetlockproof_getOutPoint: (a: number) => number;
|
|
3374
|
+
readonly chainassetlockproof_setOutPoint: (a: number, b: number, c: number, d: number) => void;
|
|
3375
|
+
readonly chainassetlockproof_toJSON: (a: number, b: number) => void;
|
|
3376
|
+
readonly chainassetlockproof_toObject: (a: number, b: number) => void;
|
|
3377
|
+
readonly chainassetlockproof_createIdentifier: (a: number, b: number) => void;
|
|
2522
3378
|
readonly __wbg_assetlockproof_free: (a: number) => void;
|
|
3379
|
+
readonly assetlockproof_new: (a: number, b: number) => void;
|
|
3380
|
+
readonly assetlockproof_createIdentifier: (a: number, b: number) => void;
|
|
3381
|
+
readonly assetlockproof_toObject: (a: number, b: number) => void;
|
|
3382
|
+
readonly createAssetLockProofInstance: (a: number, b: number) => void;
|
|
3383
|
+
readonly validateAssetLockTransaction: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
3384
|
+
readonly fetchAssetLockTransactionOutput: (a: number, b: number, c: number) => number;
|
|
3385
|
+
readonly fetchAssetLockPublicKeyHash: (a: number, b: number, c: number) => number;
|
|
3386
|
+
readonly __wbg_identitycreatetransitionbasicvalidator_free: (a: number) => void;
|
|
3387
|
+
readonly identitycreatetransitionbasicvalidator_new: (a: number, b: number, c: number) => void;
|
|
3388
|
+
readonly identitycreatetransitionbasicvalidator_validate: (a: number, b: number, c: number) => number;
|
|
3389
|
+
readonly __wbg_identity_free: (a: number) => void;
|
|
2523
3390
|
readonly identity_new: (a: number, b: number) => void;
|
|
2524
3391
|
readonly identity_getProtocolVersion: (a: number) => number;
|
|
2525
3392
|
readonly identity_getId: (a: number) => number;
|
|
@@ -2544,86 +3411,97 @@ export interface InitOutput {
|
|
|
2544
3411
|
readonly identity_addPublicKey: (a: number, b: number) => void;
|
|
2545
3412
|
readonly identity_addPublicKeys: (a: number, b: number, c: number) => void;
|
|
2546
3413
|
readonly identity_getPublicKeyMaxId: (a: number) => number;
|
|
2547
|
-
readonly
|
|
2548
|
-
readonly
|
|
2549
|
-
readonly
|
|
2550
|
-
readonly
|
|
2551
|
-
readonly
|
|
2552
|
-
readonly
|
|
3414
|
+
readonly publickeyisdisablederror_getPublicKeyId: (a: number) => number;
|
|
3415
|
+
readonly publickeyisdisablederror_getCode: (a: number) => number;
|
|
3416
|
+
readonly __wbg_publickeyisdisablederror_free: (a: number) => void;
|
|
3417
|
+
readonly __wbg_invalidactionnameerror_free: (a: number) => void;
|
|
3418
|
+
readonly invalidactionnameerror_new: (a: number, b: number) => number;
|
|
3419
|
+
readonly invalidactionnameerror_getActions: (a: number, b: number) => void;
|
|
3420
|
+
readonly __wbg_invalidinitialrevisionerror_free: (a: number) => void;
|
|
3421
|
+
readonly invalidinitialrevisionerror_new: (a: number) => number;
|
|
3422
|
+
readonly invalidinitialrevisionerror_getDocument: (a: number) => number;
|
|
3423
|
+
readonly __wbg_mismatchowneridserror_free: (a: number) => void;
|
|
3424
|
+
readonly mismatchowneridserror_new: (a: number, b: number) => number;
|
|
3425
|
+
readonly mismatchowneridserror_getDocuments: (a: number, b: number) => void;
|
|
3426
|
+
readonly __wbg_systempropertyindexalreadypresenterror_free: (a: number) => void;
|
|
3427
|
+
readonly systempropertyindexalreadypresenterror_getDocumentType: (a: number, b: number) => void;
|
|
3428
|
+
readonly systempropertyindexalreadypresenterror_getIndexDefinition: (a: number) => number;
|
|
3429
|
+
readonly systempropertyindexalreadypresenterror_getPropertyName: (a: number, b: number) => void;
|
|
3430
|
+
readonly systempropertyindexalreadypresenterror_getCode: (a: number) => number;
|
|
3431
|
+
readonly __wbg_transactiondecodeerror_free: (a: number) => void;
|
|
3432
|
+
readonly __wbg_invalididentityassetlocktransactionerror_free: (a: number) => void;
|
|
3433
|
+
readonly invalididentityassetlocktransactionerror_getValidationError: (a: number) => number;
|
|
3434
|
+
readonly invalididentityassetlocktransactionerror_getMessage: (a: number, b: number) => void;
|
|
3435
|
+
readonly invalididentityassetlocktransactionerror_getCode: (a: number) => number;
|
|
3436
|
+
readonly undefinedindexpropertyerror_getDocumentType: (a: number, b: number) => void;
|
|
3437
|
+
readonly undefinedindexpropertyerror_getPropertyName: (a: number, b: number) => void;
|
|
3438
|
+
readonly undefinedindexpropertyerror_getCode: (a: number) => number;
|
|
3439
|
+
readonly __wbg_undefinedindexpropertyerror_free: (a: number) => void;
|
|
3440
|
+
readonly undefinedindexpropertyerror_getIndexDefinition: (a: number) => number;
|
|
3441
|
+
readonly __wbg_documenttransitions_free: (a: number) => void;
|
|
3442
|
+
readonly documenttransitions_new: () => number;
|
|
3443
|
+
readonly documenttransitions_addTransitionCreate: (a: number, b: number) => void;
|
|
3444
|
+
readonly documenttransitions_addTransitionReplace: (a: number, b: number) => void;
|
|
3445
|
+
readonly documenttransitions_addTransitionDelete: (a: number, b: number) => void;
|
|
3446
|
+
readonly __wbg_documentfactory_free: (a: number) => void;
|
|
3447
|
+
readonly documentfactory_new: (a: number, b: number, c: number) => number;
|
|
3448
|
+
readonly documentfactory_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
3449
|
+
readonly documentfactory_createStateTransition: (a: number, b: number, c: number) => void;
|
|
3450
|
+
readonly documentfactory_createFromObject: (a: number, b: number, c: number) => number;
|
|
3451
|
+
readonly documentfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
2553
3452
|
readonly __wbg_incompatiblere2patternerror_free: (a: number) => void;
|
|
2554
3453
|
readonly incompatiblere2patternerror_getPattern: (a: number, b: number) => void;
|
|
2555
3454
|
readonly incompatiblere2patternerror_getPath: (a: number, b: number) => void;
|
|
2556
3455
|
readonly incompatiblere2patternerror_getMessage: (a: number, b: number) => void;
|
|
2557
3456
|
readonly incompatiblere2patternerror_getCode: (a: number) => number;
|
|
2558
|
-
readonly
|
|
2559
|
-
readonly
|
|
2560
|
-
readonly
|
|
2561
|
-
readonly
|
|
3457
|
+
readonly __wbg_identityassetlockprooflockedtransactionmismatcherror_free: (a: number) => void;
|
|
3458
|
+
readonly identityassetlockprooflockedtransactionmismatcherror_getInstantLockTransactionId: (a: number) => number;
|
|
3459
|
+
readonly identityassetlockprooflockedtransactionmismatcherror_getAssetLockTransactionId: (a: number) => number;
|
|
3460
|
+
readonly identityassetlockprooflockedtransactionmismatcherror_getCode: (a: number) => number;
|
|
2562
3461
|
readonly __wbg_identityassetlocktransactionoutpointalreadyexistserror_free: (a: number) => void;
|
|
2563
|
-
readonly
|
|
3462
|
+
readonly identityassetlocktransactionoutpointalreadyexistserror_getOutputIndex: (a: number) => number;
|
|
2564
3463
|
readonly identityassetlocktransactionoutpointalreadyexistserror_getTransactionId: (a: number) => number;
|
|
2565
3464
|
readonly identityassetlocktransactionoutpointalreadyexistserror_getCode: (a: number) => number;
|
|
2566
3465
|
readonly __wbg_identityinsufficientbalanceerror_free: (a: number) => void;
|
|
2567
3466
|
readonly identityinsufficientbalanceerror_getIdentityId: (a: number) => number;
|
|
2568
3467
|
readonly identityinsufficientbalanceerror_getBalance: (a: number) => number;
|
|
2569
3468
|
readonly identityinsufficientbalanceerror_getCode: (a: number) => number;
|
|
2570
|
-
readonly
|
|
2571
|
-
readonly
|
|
2572
|
-
readonly
|
|
2573
|
-
readonly
|
|
2574
|
-
readonly
|
|
2575
|
-
readonly
|
|
2576
|
-
readonly
|
|
2577
|
-
readonly
|
|
2578
|
-
readonly
|
|
2579
|
-
readonly
|
|
2580
|
-
readonly
|
|
2581
|
-
readonly
|
|
2582
|
-
readonly
|
|
2583
|
-
readonly
|
|
2584
|
-
readonly
|
|
2585
|
-
readonly
|
|
2586
|
-
readonly
|
|
2587
|
-
readonly
|
|
2588
|
-
readonly
|
|
2589
|
-
readonly
|
|
2590
|
-
readonly
|
|
2591
|
-
readonly
|
|
2592
|
-
readonly
|
|
2593
|
-
readonly
|
|
2594
|
-
readonly
|
|
2595
|
-
readonly
|
|
2596
|
-
readonly
|
|
2597
|
-
readonly
|
|
2598
|
-
readonly
|
|
2599
|
-
readonly
|
|
2600
|
-
readonly
|
|
2601
|
-
readonly
|
|
2602
|
-
readonly
|
|
2603
|
-
readonly invaliddatacontractiderror_getExpectedId: (a: number) => number;
|
|
2604
|
-
readonly invaliddatacontractiderror_getInvalidId: (a: number) => number;
|
|
2605
|
-
readonly __wbg_inconsistentcompoundindexdataerror_free: (a: number) => void;
|
|
2606
|
-
readonly inconsistentcompoundindexdataerror_getDocumentType: (a: number, b: number) => void;
|
|
2607
|
-
readonly inconsistentcompoundindexdataerror_getCode: (a: number) => number;
|
|
2608
|
-
readonly __wbg_invaliddocumenttransitioniderror_free: (a: number) => void;
|
|
2609
|
-
readonly invaliddocumenttransitioniderror_getExpectedId: (a: number) => number;
|
|
2610
|
-
readonly invaliddocumenttransitioniderror_getInvalidId: (a: number) => number;
|
|
2611
|
-
readonly invaliddocumenttransitioniderror_getCode: (a: number) => number;
|
|
2612
|
-
readonly __wbg_duplicatedidentitypublickeyerror_free: (a: number) => void;
|
|
2613
|
-
readonly duplicatedidentitypublickeyerror_getDuplicatedPublicKeysIds: (a: number, b: number) => void;
|
|
2614
|
-
readonly duplicatedidentitypublickeyerror_getCode: (a: number) => number;
|
|
2615
|
-
readonly duplicatedidentitypublickeyiderror_getDuplicatedIds: (a: number, b: number) => void;
|
|
2616
|
-
readonly duplicatedidentitypublickeyiderror_getCode: (a: number) => number;
|
|
3469
|
+
readonly __wbg_invalidinstantassetlockprooferror_free: (a: number) => void;
|
|
3470
|
+
readonly invalidinstantassetlockprooferror_getCode: (a: number) => number;
|
|
3471
|
+
readonly __wbg_documentowneridmismatcherror_free: (a: number) => void;
|
|
3472
|
+
readonly documentowneridmismatcherror_getDocumentId: (a: number) => number;
|
|
3473
|
+
readonly documentowneridmismatcherror_getDocumentOwnerId: (a: number) => number;
|
|
3474
|
+
readonly documentowneridmismatcherror_getExistingDocumentOwnerId: (a: number) => number;
|
|
3475
|
+
readonly documentowneridmismatcherror_getCode: (a: number) => number;
|
|
3476
|
+
readonly identifier_new: (a: number, b: number, c: number) => void;
|
|
3477
|
+
readonly identifier_from: (a: number, b: number, c: number, d: number) => void;
|
|
3478
|
+
readonly identifier_fromString: (a: number, b: number, c: number, d: number) => number;
|
|
3479
|
+
readonly identifier_toBuffer: (a: number) => number;
|
|
3480
|
+
readonly identifier_toJSON: (a: number, b: number) => void;
|
|
3481
|
+
readonly identifier_toString: (a: number, b: number, c: number, d: number) => void;
|
|
3482
|
+
readonly identifier_length: (a: number) => number;
|
|
3483
|
+
readonly identifier_toBytes: (a: number, b: number) => void;
|
|
3484
|
+
readonly identifier_clone: (a: number) => number;
|
|
3485
|
+
readonly __wbg_assetlocktransactionisnotfounderror_free: (a: number) => void;
|
|
3486
|
+
readonly assetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
|
|
3487
|
+
readonly __wbg_identifier_free: (a: number) => void;
|
|
3488
|
+
readonly validateDataContractUpdateTransitionState: (a: number, b: number) => number;
|
|
3489
|
+
readonly validateIndicesAreBackwardCompatible: (a: number, b: number, c: number) => void;
|
|
3490
|
+
readonly __wbg_datacontractvalidator_free: (a: number) => void;
|
|
3491
|
+
readonly datacontractvalidator_new: () => number;
|
|
3492
|
+
readonly datacontractvalidator_validate: (a: number, b: number, c: number) => void;
|
|
3493
|
+
readonly __wbg_datacontractfactory_free: (a: number) => void;
|
|
3494
|
+
readonly datacontractfactory_new: (a: number, b: number, c: number) => number;
|
|
3495
|
+
readonly datacontractfactory_create: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
3496
|
+
readonly datacontractfactory_createFromObject: (a: number, b: number, c: number) => number;
|
|
3497
|
+
readonly datacontractfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
3498
|
+
readonly datacontractfactory_createDataContractCreateTransition: (a: number, b: number) => number;
|
|
3499
|
+
readonly __wbg_documentcreatetransition_free: (a: number) => void;
|
|
3500
|
+
readonly documentcreatetransition_getAction: (a: number) => number;
|
|
3501
|
+
readonly documentcreatetransition_toObject: (a: number, b: number) => void;
|
|
2617
3502
|
readonly invalidassetlockproofcorechainheighterror_getProofCoreChainLockedHeight: (a: number) => number;
|
|
2618
3503
|
readonly invalidassetlockproofcorechainheighterror_getCurrentCoreChainLockedHeight: (a: number) => number;
|
|
2619
3504
|
readonly invalidassetlockproofcorechainheighterror_getCode: (a: number) => number;
|
|
2620
|
-
readonly __wbg_invalididentitycreditwithdrawaltransitionoutputscripterror_free: (a: number) => void;
|
|
2621
|
-
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_getOutputScript: (a: number) => number;
|
|
2622
|
-
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_getCode: (a: number) => number;
|
|
2623
|
-
readonly __wbg_invalididentitypublickeydataerror_free: (a: number) => void;
|
|
2624
|
-
readonly invalididentitypublickeydataerror_getPublicKeyId: (a: number) => number;
|
|
2625
|
-
readonly invalididentitypublickeydataerror_getValidationError: (a: number) => number;
|
|
2626
|
-
readonly invalididentitypublickeydataerror_getCode: (a: number) => number;
|
|
2627
3505
|
readonly __wbg_incompatibleprotocolversionerror_free: (a: number) => void;
|
|
2628
3506
|
readonly incompatibleprotocolversionerror_getParsedProtocolVersion: (a: number) => number;
|
|
2629
3507
|
readonly incompatibleprotocolversionerror_getMinimalProtocolVersion: (a: number) => number;
|
|
@@ -2645,81 +3523,165 @@ export interface InitOutput {
|
|
|
2645
3523
|
readonly duplicateuniqueindexerror_getCode: (a: number) => number;
|
|
2646
3524
|
readonly __wbg_publickeyvalidationerror_free: (a: number) => void;
|
|
2647
3525
|
readonly publickeyvalidationerror_message: (a: number) => number;
|
|
2648
|
-
readonly
|
|
2649
|
-
readonly
|
|
3526
|
+
readonly __wbg_identitypublickey_free: (a: number) => void;
|
|
3527
|
+
readonly identitypublickey_new: (a: number, b: number) => void;
|
|
3528
|
+
readonly identitypublickey_getId: (a: number) => number;
|
|
3529
|
+
readonly identitypublickey_setId: (a: number, b: number) => void;
|
|
3530
|
+
readonly identitypublickey_getType: (a: number) => number;
|
|
3531
|
+
readonly identitypublickey_setType: (a: number, b: number, c: number) => void;
|
|
3532
|
+
readonly identitypublickey_setData: (a: number, b: number, c: number, d: number) => void;
|
|
3533
|
+
readonly identitypublickey_getData: (a: number, b: number) => void;
|
|
3534
|
+
readonly identitypublickey_setPurpose: (a: number, b: number, c: number) => void;
|
|
3535
|
+
readonly identitypublickey_getPurpose: (a: number) => number;
|
|
3536
|
+
readonly identitypublickey_setSecurityLevel: (a: number, b: number, c: number) => void;
|
|
3537
|
+
readonly identitypublickey_getSecurityLevel: (a: number) => number;
|
|
3538
|
+
readonly identitypublickey_setReadOnly: (a: number, b: number) => void;
|
|
3539
|
+
readonly identitypublickey_isReadOnly: (a: number) => number;
|
|
3540
|
+
readonly identitypublickey_setDisabledAt: (a: number, b: number) => void;
|
|
3541
|
+
readonly identitypublickey_getDisabledAt: (a: number, b: number) => void;
|
|
3542
|
+
readonly identitypublickey_hash: (a: number, b: number) => void;
|
|
3543
|
+
readonly identitypublickey_isMaster: (a: number) => number;
|
|
3544
|
+
readonly identitypublickey_toJSON: (a: number, b: number) => void;
|
|
3545
|
+
readonly identitypublickey_toObject: (a: number, b: number, c: number) => void;
|
|
3546
|
+
readonly identitypublickey_setSignature: (a: number, b: number, c: number) => void;
|
|
3547
|
+
readonly identitypublickey_getSignature: (a: number) => number;
|
|
3548
|
+
readonly __wbg_identitytopuptransitionbasicvalidator_free: (a: number) => void;
|
|
3549
|
+
readonly identitytopuptransitionbasicvalidator_new: (a: number, b: number) => void;
|
|
3550
|
+
readonly identitytopuptransitionbasicvalidator_validate: (a: number, b: number, c: number) => number;
|
|
3551
|
+
readonly __wbg_publickeyssignaturesvalidator_free: (a: number) => void;
|
|
3552
|
+
readonly publickeyssignaturesvalidator_new: (a: number) => number;
|
|
3553
|
+
readonly publickeyssignaturesvalidator_validate: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
3554
|
+
readonly __wbg_validationresult_free: (a: number) => void;
|
|
3555
|
+
readonly validationresult_errorsText: (a: number, b: number) => void;
|
|
3556
|
+
readonly validationresult_isValid: (a: number) => number;
|
|
3557
|
+
readonly validationresult_getErrors: (a: number, b: number) => void;
|
|
3558
|
+
readonly validationresult_getData: (a: number) => number;
|
|
3559
|
+
readonly validationresult_getFirstError: (a: number) => number;
|
|
3560
|
+
readonly __wbg_invalidassetlockproofcorechainheighterror_free: (a: number) => void;
|
|
3561
|
+
readonly __wbg_unsupportedprotocolversionerror_free: (a: number) => void;
|
|
3562
|
+
readonly __wbg_dashplatformprotocol_free: (a: number) => void;
|
|
3563
|
+
readonly dashplatformprotocol_new: (a: number) => number;
|
|
3564
|
+
readonly __wbg_documentalreadyexistserror_free: (a: number) => void;
|
|
3565
|
+
readonly documentalreadyexistserror_getDocumentTransition: (a: number) => number;
|
|
3566
|
+
readonly __wbg_documenttransition_free: (a: number) => void;
|
|
3567
|
+
readonly documenttransition_getAction: (a: number) => number;
|
|
3568
|
+
readonly documenttransition_toObject: (a: number, b: number) => void;
|
|
3569
|
+
readonly __wbg_duplicateindexerror_free: (a: number) => void;
|
|
3570
|
+
readonly duplicateindexerror_getDocumentType: (a: number, b: number) => void;
|
|
3571
|
+
readonly duplicateindexerror_getIndexDefinition: (a: number) => number;
|
|
3572
|
+
readonly duplicateindexerror_getCode: (a: number) => number;
|
|
3573
|
+
readonly __wbg_invaliddatacontractiderror_free: (a: number) => void;
|
|
3574
|
+
readonly invaliddatacontractiderror_getExpectedId: (a: number) => number;
|
|
3575
|
+
readonly invaliddatacontractiderror_getInvalidId: (a: number) => number;
|
|
3576
|
+
readonly __wbg_inconsistentcompoundindexdataerror_free: (a: number) => void;
|
|
2650
3577
|
readonly inconsistentcompoundindexdataerror_getIndexProperties: (a: number) => number;
|
|
2651
|
-
readonly
|
|
3578
|
+
readonly inconsistentcompoundindexdataerror_getDocumentType: (a: number, b: number) => void;
|
|
3579
|
+
readonly __wbg_invaliddocumenttransitioniderror_free: (a: number) => void;
|
|
3580
|
+
readonly invaliddocumenttransitioniderror_getExpectedId: (a: number) => number;
|
|
3581
|
+
readonly invaliddocumenttransitioniderror_getInvalidId: (a: number) => number;
|
|
3582
|
+
readonly invaliddocumenttransitioniderror_getCode: (a: number) => number;
|
|
3583
|
+
readonly __wbg_invalididentitycreditwithdrawaltransitionoutputscripterror_free: (a: number) => void;
|
|
3584
|
+
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_getOutputScript: (a: number) => number;
|
|
3585
|
+
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_getCode: (a: number) => number;
|
|
3586
|
+
readonly __wbg_invalididentitypublickeydataerror_free: (a: number) => void;
|
|
3587
|
+
readonly invalididentitypublickeydataerror_getPublicKeyId: (a: number) => number;
|
|
3588
|
+
readonly invalididentitypublickeydataerror_getValidationError: (a: number) => number;
|
|
3589
|
+
readonly invalididentitypublickeydataerror_getCode: (a: number) => number;
|
|
3590
|
+
readonly __wbg_invalidinstantassetlockproofsignatureerror_free: (a: number) => void;
|
|
3591
|
+
readonly invalidinstantassetlockproofsignatureerror_getCode: (a: number) => number;
|
|
3592
|
+
readonly missingmasterpublickeyerror_getCode: (a: number) => number;
|
|
3593
|
+
readonly __wbg_invalidstatetransitionsignatureerror_free: (a: number) => void;
|
|
3594
|
+
readonly __wbg_jsonschemaerror_free: (a: number) => void;
|
|
3595
|
+
readonly jsonschemaerror_getKeyword: (a: number, b: number) => void;
|
|
3596
|
+
readonly jsonschemaerror_getInstancePath: (a: number, b: number) => void;
|
|
3597
|
+
readonly jsonschemaerror_getSchemaPath: (a: number, b: number) => void;
|
|
3598
|
+
readonly jsonschemaerror_getPropertyName: (a: number, b: number) => void;
|
|
3599
|
+
readonly jsonschemaerror_getParams: (a: number, b: number) => void;
|
|
3600
|
+
readonly jsonschemaerror_getCode: (a: number) => number;
|
|
3601
|
+
readonly __wbg_publickeysecuritylevelnotmeterror_free: (a: number) => void;
|
|
3602
|
+
readonly publickeysecuritylevelnotmeterror_getPublicKeySecurityLevel: (a: number) => number;
|
|
3603
|
+
readonly publickeysecuritylevelnotmeterror_getRequiredSecurityLevel: (a: number) => number;
|
|
3604
|
+
readonly unknownassetlockprooftypeerror_getType: (a: number) => number;
|
|
2652
3605
|
readonly invalidcompoundindexerror_getDocumentType: (a: number, b: number) => void;
|
|
3606
|
+
readonly invalidcompoundindexerror_getCode: (a: number) => number;
|
|
3607
|
+
readonly invaliddatacontractiderror_getCode: (a: number) => number;
|
|
3608
|
+
readonly inconsistentcompoundindexdataerror_getCode: (a: number) => number;
|
|
3609
|
+
readonly missingdatacontractiderror_getCode: (a: number) => number;
|
|
3610
|
+
readonly missingdocumenttransitionactionerror_getCode: (a: number) => number;
|
|
3611
|
+
readonly missingdocumenttransitiontypeerror_getCode: (a: number) => number;
|
|
3612
|
+
readonly missingdocumenttypeerror_getCode: (a: number) => number;
|
|
3613
|
+
readonly invalidstatetransitionsignatureerror_getCode: (a: number) => number;
|
|
3614
|
+
readonly publickeysecuritylevelnotmeterror_getCode: (a: number) => number;
|
|
3615
|
+
readonly missingstatetransitiontypeerror_getCode: (a: number) => number;
|
|
2653
3616
|
readonly __wbg_invalidcompoundindexerror_free: (a: number) => void;
|
|
2654
3617
|
readonly invalidcompoundindexerror_getIndexDefinition: (a: number) => number;
|
|
2655
|
-
readonly
|
|
2656
|
-
readonly
|
|
2657
|
-
readonly
|
|
3618
|
+
readonly __wbg_missingmasterpublickeyerror_free: (a: number) => void;
|
|
3619
|
+
readonly __wbg_documentnotprovidederror_free: (a: number) => void;
|
|
3620
|
+
readonly __wbg_invaliddocumentactionerror_free: (a: number) => void;
|
|
3621
|
+
readonly __wbg_missingdocumenttransitionactionerror_free: (a: number) => void;
|
|
3622
|
+
readonly __wbg_missingdocumenttransitiontypeerror_free: (a: number) => void;
|
|
3623
|
+
readonly __wbg_missingdocumenttypeerror_free: (a: number) => void;
|
|
3624
|
+
readonly __wbg_missingdatacontractiderror_free: (a: number) => void;
|
|
3625
|
+
readonly __wbg_missingstatetransitiontypeerror_free: (a: number) => void;
|
|
3626
|
+
readonly __wbg_unknownassetlockprooftypeerror_free: (a: number) => void;
|
|
3627
|
+
readonly documentnotprovidederror_getDocumentTransition: (a: number) => number;
|
|
3628
|
+
readonly invaliddocumentactionerror_getDocumentTransition: (a: number) => number;
|
|
3629
|
+
readonly __wbg_invaliddocumenttypeindatacontracterror_free: (a: number) => void;
|
|
3630
|
+
readonly invaliddocumenttypeindatacontracterror_new: (a: number, b: number, c: number) => number;
|
|
3631
|
+
readonly invaliddocumenttypeindatacontracterror_getType: (a: number, b: number) => void;
|
|
3632
|
+
readonly invaliddocumenttypeindatacontracterror_getDataContract: (a: number) => number;
|
|
3633
|
+
readonly __wbg_nodocumentssuppliederror_free: (a: number) => void;
|
|
3634
|
+
readonly __wbg_documentsbatchtransition_free: (a: number) => void;
|
|
3635
|
+
readonly __wbg_documentscontainer_free: (a: number) => void;
|
|
3636
|
+
readonly documentscontainer_new: () => number;
|
|
3637
|
+
readonly documentscontainer_pushDocumentCreate: (a: number, b: number) => void;
|
|
3638
|
+
readonly documentscontainer_pushDocumentReplace: (a: number, b: number) => void;
|
|
3639
|
+
readonly documentscontainer_pushDocumentDelete: (a: number, b: number) => void;
|
|
3640
|
+
readonly documentsbatchtransition_from_raw_object: (a: number, b: number, c: number) => void;
|
|
3641
|
+
readonly documentsbatchtransition_getType: (a: number) => number;
|
|
3642
|
+
readonly documentsbatchtransition_getOwnerId: (a: number) => number;
|
|
3643
|
+
readonly documentsbatchtransition_getTransitions: (a: number) => number;
|
|
3644
|
+
readonly documentsbatchtransition_toJSON: (a: number, b: number) => void;
|
|
3645
|
+
readonly documentsbatchtransition_toObject: (a: number, b: number, c: number) => void;
|
|
3646
|
+
readonly documentsbatchtransition_getModifiedDataIds: (a: number) => number;
|
|
3647
|
+
readonly documentsbatchtransition_getSignaturePublicKeyId: (a: number, b: number) => void;
|
|
3648
|
+
readonly documentsbatchtransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
3649
|
+
readonly documentsbatchtransition_verifyPublicKeyLevelAndPurpose: (a: number, b: number, c: number) => void;
|
|
3650
|
+
readonly documentsbatchtransition_verifyPublicKeyIsEnabled: (a: number, b: number, c: number) => void;
|
|
3651
|
+
readonly documentsbatchtransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
|
|
3652
|
+
readonly documentsbatchtransition_setSignaturePublicKey: (a: number, b: number) => void;
|
|
3653
|
+
readonly documentsbatchtransition_getSecurityLevelRequirement: (a: number) => number;
|
|
3654
|
+
readonly documentsbatchtransition_getProtocolVersion: (a: number) => number;
|
|
3655
|
+
readonly documentsbatchtransition_getSignature: (a: number, b: number) => void;
|
|
3656
|
+
readonly documentsbatchtransition_setSignature: (a: number, b: number, c: number) => void;
|
|
3657
|
+
readonly documentsbatchtransition_calculateFee: (a: number) => number;
|
|
3658
|
+
readonly documentsbatchtransition_isDocumentStateTransition: (a: number) => number;
|
|
3659
|
+
readonly documentsbatchtransition_isDataContractStateTransition: (a: number) => number;
|
|
3660
|
+
readonly documentsbatchtransition_isIdentityStateTransition: (a: number) => number;
|
|
3661
|
+
readonly documentsbatchtransition_setExecutionContext: (a: number, b: number) => void;
|
|
3662
|
+
readonly documentsbatchtransition_getExecutionContext: (a: number) => number;
|
|
3663
|
+
readonly documentsbatchtransition_toBuffer: (a: number, b: number, c: number) => void;
|
|
3664
|
+
readonly documentsbatchtransition_hash: (a: number, b: number, c: number) => void;
|
|
3665
|
+
readonly __wbg_stateexecutioncontext_free: (a: number) => void;
|
|
2658
3666
|
readonly __wbg_datacontracthavenewuniqueindexerror_free: (a: number) => void;
|
|
2659
3667
|
readonly datacontracthavenewuniqueindexerror_getDocumentType: (a: number, b: number) => void;
|
|
2660
3668
|
readonly datacontracthavenewuniqueindexerror_getIndexName: (a: number, b: number) => void;
|
|
2661
3669
|
readonly datacontracthavenewuniqueindexerror_getCode: (a: number) => number;
|
|
2662
3670
|
readonly __wbg_uniqueindiceslimitreachederror_free: (a: number) => void;
|
|
3671
|
+
readonly uniqueindiceslimitreachederror_getDocumentType: (a: number, b: number) => void;
|
|
2663
3672
|
readonly uniqueindiceslimitreachederror_getCode: (a: number) => number;
|
|
2664
3673
|
readonly __wbg_invaliddocumenttypeerror_free: (a: number) => void;
|
|
2665
|
-
readonly
|
|
2666
|
-
readonly
|
|
3674
|
+
readonly invaliddocumenttypeerror_getDocumentType: (a: number, b: number) => void;
|
|
3675
|
+
readonly __wbg_duplicatedidentitypublickeyiderror_free: (a: number) => void;
|
|
3676
|
+
readonly duplicatedidentitypublickeyiderror_getDuplicatedIds: (a: number) => number;
|
|
3677
|
+
readonly duplicatedidentitypublickeyiderror_getCode: (a: number) => number;
|
|
2667
3678
|
readonly __wbg_invalidassetlockprooftransactionheighterror_free: (a: number) => void;
|
|
2668
3679
|
readonly invalidassetlockprooftransactionheighterror_getProofCoreChainLockedHeight: (a: number) => number;
|
|
2669
|
-
readonly
|
|
3680
|
+
readonly invalidassetlockprooftransactionheighterror_getTransactionHeight: (a: number, b: number) => void;
|
|
2670
3681
|
readonly invalidassetlockprooftransactionheighterror_getCode: (a: number) => number;
|
|
2671
3682
|
readonly __wbg_invalidsignaturepublickeysecuritylevelerror_free: (a: number) => void;
|
|
2672
3683
|
readonly invalidsignaturepublickeysecuritylevelerror_getPublicKeySecurityLevel: (a: number) => number;
|
|
2673
3684
|
readonly invalidsignaturepublickeysecuritylevelerror_getRequiredKeySecurityLevel: (a: number) => number;
|
|
2674
|
-
readonly __wbg_invaliddocumentrevisionerror_free: (a: number) => void;
|
|
2675
|
-
readonly invaliddocumentrevisionerror_getDocumentId: (a: number) => number;
|
|
2676
|
-
readonly invaliddocumentrevisionerror_getCurrentRevision: (a: number) => number;
|
|
2677
|
-
readonly invaliddocumentrevisionerror_getCode: (a: number) => number;
|
|
2678
|
-
readonly publickeysecuritylevelnotmeterror_getPublicKeySecurityLevel: (a: number) => number;
|
|
2679
|
-
readonly publickeysecuritylevelnotmeterror_getRequiredSecurityLevel: (a: number) => number;
|
|
2680
|
-
readonly wrongpublickeypurposeerror_getPublicKeyPurpose: (a: number) => number;
|
|
2681
|
-
readonly wrongpublickeypurposeerror_getKeyPurposeRequirement: (a: number) => number;
|
|
2682
|
-
readonly datacontractuniqueindiceschangederror_getCode: (a: number) => number;
|
|
2683
|
-
readonly uniqueindiceslimitreachederror_getIndexLimit: (a: number) => number;
|
|
2684
|
-
readonly publickeysecuritylevelnotmeterror_getCode: (a: number) => number;
|
|
2685
|
-
readonly wrongpublickeypurposeerror_getCode: (a: number) => number;
|
|
2686
|
-
readonly invalidsignaturepublickeysecuritylevelerror_getCode: (a: number) => number;
|
|
2687
|
-
readonly invalididentityrevisionerror_getCurrentRevision: (a: number) => number;
|
|
2688
|
-
readonly invalididentityrevisionerror_getCode: (a: number) => number;
|
|
2689
|
-
readonly datacontractuniqueindiceschangederror_getDocumentType: (a: number, b: number) => void;
|
|
2690
|
-
readonly datacontractuniqueindiceschangederror_getIndexName: (a: number, b: number) => void;
|
|
2691
|
-
readonly uniqueindiceslimitreachederror_getDocumentType: (a: number, b: number) => void;
|
|
2692
|
-
readonly invaliddocumenttypeerror_getDocumentType: (a: number, b: number) => void;
|
|
2693
|
-
readonly invalididentityrevisionerror_getIdentityId: (a: number) => number;
|
|
2694
|
-
readonly notdocumentssuppliederror_new: () => number;
|
|
2695
|
-
readonly __wbg_datacontractuniqueindiceschangederror_free: (a: number) => void;
|
|
2696
|
-
readonly __wbg_publickeysecuritylevelnotmeterror_free: (a: number) => void;
|
|
2697
|
-
readonly __wbg_wrongpublickeypurposeerror_free: (a: number) => void;
|
|
2698
|
-
readonly __wbg_invalididentityrevisionerror_free: (a: number) => void;
|
|
2699
|
-
readonly __wbg_indexproperty_free: (a: number) => void;
|
|
2700
|
-
readonly indexproperty_isAscending: (a: number) => number;
|
|
2701
|
-
readonly __wbg_indexdefinition_free: (a: number) => void;
|
|
2702
|
-
readonly indexdefinition_getProperties: (a: number, b: number) => void;
|
|
2703
|
-
readonly indexdefinition_isUnique: (a: number) => number;
|
|
2704
|
-
readonly __wbg_datacontractimmutablepropertiesupdateerror_free: (a: number) => void;
|
|
2705
|
-
readonly datacontractimmutablepropertiesupdateerror_getOperation: (a: number, b: number) => void;
|
|
2706
|
-
readonly datacontractimmutablepropertiesupdateerror_getFieldPath: (a: number, b: number) => void;
|
|
2707
|
-
readonly datacontractimmutablepropertiesupdateerror_getCode: (a: number) => number;
|
|
2708
|
-
readonly __wbg_invaliddatacontractversionerror_free: (a: number) => void;
|
|
2709
|
-
readonly invaliddatacontractversionerror_getExpectedVersion: (a: number) => number;
|
|
2710
|
-
readonly invaliddatacontractversionerror_getVersion: (a: number) => number;
|
|
2711
|
-
readonly invaliddatacontractversionerror_getCode: (a: number) => number;
|
|
2712
|
-
readonly __wbg_jsonschemaerror_free: (a: number) => void;
|
|
2713
|
-
readonly jsonschemaerror_getKeyword: (a: number, b: number) => void;
|
|
2714
|
-
readonly jsonschemaerror_getInstancePath: (a: number, b: number) => void;
|
|
2715
|
-
readonly jsonschemaerror_getSchemaPath: (a: number, b: number) => void;
|
|
2716
|
-
readonly jsonschemaerror_getPropertyName: (a: number, b: number) => void;
|
|
2717
|
-
readonly jsonschemaerror_getParams: (a: number, b: number) => void;
|
|
2718
|
-
readonly jsonschemaerror_getCode: (a: number) => number;
|
|
2719
|
-
readonly __wbg_balanceisnotenougherror_free: (a: number) => void;
|
|
2720
|
-
readonly balanceisnotenougherror_getBalance: (a: number) => number;
|
|
2721
|
-
readonly balanceisnotenougherror_getFee: (a: number) => number;
|
|
2722
|
-
readonly balanceisnotenougherror_getCode: (a: number) => number;
|
|
2723
3685
|
readonly __wbg_datatriggerconditionerror_free: (a: number) => void;
|
|
2724
3686
|
readonly datatriggerconditionerror_getDataContractId: (a: number) => number;
|
|
2725
3687
|
readonly datatriggerconditionerror_getDocumentTransitionId: (a: number) => number;
|
|
@@ -2728,104 +3690,219 @@ export interface InitOutput {
|
|
|
2728
3690
|
readonly datatriggerconditionerror_getOwnerId: (a: number) => number;
|
|
2729
3691
|
readonly datatriggerconditionerror_getCode: (a: number) => number;
|
|
2730
3692
|
readonly __wbg_documenttimestampwindowviolationerror_free: (a: number) => void;
|
|
2731
|
-
readonly documenttimestampwindowviolationerror_getDocumentId: (a: number) => number;
|
|
2732
3693
|
readonly documenttimestampwindowviolationerror_getTimestampName: (a: number, b: number) => void;
|
|
2733
3694
|
readonly documenttimestampwindowviolationerror_getTimestamp: (a: number) => number;
|
|
2734
3695
|
readonly documenttimestampwindowviolationerror_getTimeWindowStart: (a: number) => number;
|
|
2735
3696
|
readonly documenttimestampwindowviolationerror_getTimeWindowEnd: (a: number) => number;
|
|
2736
3697
|
readonly documenttimestampwindowviolationerror_getCode: (a: number) => number;
|
|
2737
|
-
readonly
|
|
2738
|
-
readonly
|
|
2739
|
-
readonly
|
|
2740
|
-
readonly
|
|
3698
|
+
readonly __wbg_invaliddocumentrevisionerror_free: (a: number) => void;
|
|
3699
|
+
readonly invaliddocumentrevisionerror_getDocumentId: (a: number) => number;
|
|
3700
|
+
readonly invaliddocumentrevisionerror_getCurrentRevision: (a: number) => number;
|
|
3701
|
+
readonly invaliddocumentrevisionerror_getCode: (a: number) => number;
|
|
2741
3702
|
readonly __wbg_metadata_free: (a: number) => void;
|
|
2742
3703
|
readonly metadata_new: (a: number, b: number) => number;
|
|
2743
3704
|
readonly metadata_from: (a: number) => number;
|
|
2744
3705
|
readonly metadata_toJSON: (a: number) => number;
|
|
2745
3706
|
readonly metadata_toObject: (a: number) => number;
|
|
2746
|
-
readonly
|
|
2747
|
-
readonly
|
|
2748
|
-
readonly
|
|
2749
|
-
readonly
|
|
2750
|
-
readonly statetransitionmaxsizeexceedederror_getMaxSizeKBytes: (a: number) => number;
|
|
2751
|
-
readonly statetransitionmaxsizeexceedederror_getCode: (a: number) => number;
|
|
2752
|
-
readonly indexproperty_getName: (a: number, b: number) => void;
|
|
2753
|
-
readonly indexdefinition_getName: (a: number, b: number) => void;
|
|
3707
|
+
readonly __wbg_protocolversionvalidator_free: (a: number) => void;
|
|
3708
|
+
readonly protocolversionvalidator_new: () => number;
|
|
3709
|
+
readonly datacontractimmutablepropertiesupdateerror_getOperation: (a: number, b: number) => void;
|
|
3710
|
+
readonly datacontractimmutablepropertiesupdateerror_getFieldPath: (a: number, b: number) => void;
|
|
2754
3711
|
readonly datacontractinvalidindexdefinitionupdateerror_getDocumentType: (a: number, b: number) => void;
|
|
2755
3712
|
readonly datacontractinvalidindexdefinitionupdateerror_getIndexName: (a: number, b: number) => void;
|
|
3713
|
+
readonly datacontractuniqueindiceschangederror_getDocumentType: (a: number, b: number) => void;
|
|
3714
|
+
readonly datacontractuniqueindiceschangederror_getIndexName: (a: number, b: number) => void;
|
|
2756
3715
|
readonly duplicateindexnameerror_getDocumentType: (a: number, b: number) => void;
|
|
2757
3716
|
readonly duplicateindexnameerror_getDuplicateIndexName: (a: number, b: number) => void;
|
|
2758
3717
|
readonly invalididentifiererror_getIdentifierName: (a: number, b: number) => void;
|
|
2759
3718
|
readonly invalididentifiererror_getError: (a: number, b: number) => void;
|
|
3719
|
+
readonly wrongpublickeypurposeerror_getPublicKeyPurpose: (a: number) => number;
|
|
3720
|
+
readonly wrongpublickeypurposeerror_getKeyPurposeRequirement: (a: number) => number;
|
|
3721
|
+
readonly datacontractimmutablepropertiesupdateerror_getCode: (a: number) => number;
|
|
3722
|
+
readonly datacontractinvalidindexdefinitionupdateerror_getCode: (a: number) => number;
|
|
3723
|
+
readonly datacontractuniqueindiceschangederror_getCode: (a: number) => number;
|
|
3724
|
+
readonly duplicateindexnameerror_getCode: (a: number) => number;
|
|
3725
|
+
readonly uniqueindiceslimitreachederror_getIndexLimit: (a: number) => number;
|
|
3726
|
+
readonly invalididentifiererror_getCode: (a: number) => number;
|
|
3727
|
+
readonly invalidsignaturepublickeysecuritylevelerror_getCode: (a: number) => number;
|
|
3728
|
+
readonly wrongpublickeypurposeerror_getCode: (a: number) => number;
|
|
3729
|
+
readonly invaliddocumenttypeerror_getCode: (a: number) => number;
|
|
3730
|
+
readonly invalididentityrevisionerror_getCurrentRevision: (a: number) => number;
|
|
3731
|
+
readonly invalididentityrevisionerror_getCode: (a: number) => number;
|
|
3732
|
+
readonly documenttimestampwindowviolationerror_getDocumentId: (a: number) => number;
|
|
3733
|
+
readonly invaliddocumenttypeerror_getDataContractId: (a: number) => number;
|
|
3734
|
+
readonly invalididentityrevisionerror_getIdentityId: (a: number) => number;
|
|
3735
|
+
readonly nodocumentssuppliederror_new: () => number;
|
|
3736
|
+
readonly __wbg_datacontractimmutablepropertiesupdateerror_free: (a: number) => void;
|
|
2760
3737
|
readonly __wbg_datacontractinvalidindexdefinitionupdateerror_free: (a: number) => void;
|
|
3738
|
+
readonly __wbg_datacontractuniqueindiceschangederror_free: (a: number) => void;
|
|
2761
3739
|
readonly __wbg_duplicateindexnameerror_free: (a: number) => void;
|
|
2762
3740
|
readonly __wbg_invalididentifiererror_free: (a: number) => void;
|
|
3741
|
+
readonly __wbg_wrongpublickeypurposeerror_free: (a: number) => void;
|
|
3742
|
+
readonly __wbg_invalididentityrevisionerror_free: (a: number) => void;
|
|
3743
|
+
readonly __wbg_document_free: (a: number) => void;
|
|
3744
|
+
readonly document_new: (a: number, b: number, c: number) => void;
|
|
3745
|
+
readonly document_getProtocolVersion: (a: number) => number;
|
|
3746
|
+
readonly document_getId: (a: number) => number;
|
|
3747
|
+
readonly document_setId: (a: number, b: number) => void;
|
|
3748
|
+
readonly document_getType: (a: number, b: number) => void;
|
|
3749
|
+
readonly document_getDataContractId: (a: number) => number;
|
|
3750
|
+
readonly document_getDataContract: (a: number) => number;
|
|
3751
|
+
readonly document_setOwnerId: (a: number, b: number) => void;
|
|
3752
|
+
readonly document_getOwnerId: (a: number) => number;
|
|
3753
|
+
readonly document_setRevision: (a: number, b: number) => void;
|
|
3754
|
+
readonly document_getRevision: (a: number) => number;
|
|
3755
|
+
readonly document_setEntropy: (a: number, b: number, c: number, d: number) => void;
|
|
3756
|
+
readonly document_getEntropy: (a: number) => number;
|
|
3757
|
+
readonly document_setData: (a: number, b: number, c: number) => void;
|
|
3758
|
+
readonly document_getData: (a: number, b: number) => void;
|
|
3759
|
+
readonly document_set: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
3760
|
+
readonly document_get: (a: number, b: number, c: number) => number;
|
|
3761
|
+
readonly document_setCreatedAt: (a: number, b: number) => void;
|
|
3762
|
+
readonly document_setUpdatedAt: (a: number, b: number) => void;
|
|
3763
|
+
readonly document_getCreatedAt: (a: number, b: number) => void;
|
|
3764
|
+
readonly document_getUpdatedAt: (a: number, b: number) => void;
|
|
3765
|
+
readonly document_getMetadata: (a: number) => number;
|
|
3766
|
+
readonly document_setMetadata: (a: number, b: number) => number;
|
|
3767
|
+
readonly document_toObject: (a: number, b: number, c: number) => void;
|
|
3768
|
+
readonly document_toJSON: (a: number, b: number) => void;
|
|
3769
|
+
readonly document_toBuffer: (a: number, b: number) => void;
|
|
3770
|
+
readonly document_hash: (a: number, b: number) => void;
|
|
3771
|
+
readonly document_clone: (a: number) => number;
|
|
3772
|
+
readonly __wbg_invaliddatacontractversionerror_free: (a: number) => void;
|
|
3773
|
+
readonly invaliddatacontractversionerror_getExpectedVersion: (a: number) => number;
|
|
3774
|
+
readonly invaliddatacontractversionerror_getVersion: (a: number) => number;
|
|
3775
|
+
readonly invaliddatacontractversionerror_getCode: (a: number) => number;
|
|
3776
|
+
readonly __wbg_duplicatedidentitypublickeyerror_free: (a: number) => void;
|
|
3777
|
+
readonly duplicatedidentitypublickeyerror_getDuplicatedPublicKeysIds: (a: number) => number;
|
|
3778
|
+
readonly duplicatedidentitypublickeyerror_getCode: (a: number) => number;
|
|
3779
|
+
readonly __wbg_balanceisnotenougherror_free: (a: number) => void;
|
|
3780
|
+
readonly balanceisnotenougherror_getBalance: (a: number) => number;
|
|
3781
|
+
readonly balanceisnotenougherror_getFee: (a: number) => number;
|
|
3782
|
+
readonly balanceisnotenougherror_getCode: (a: number) => number;
|
|
3783
|
+
readonly __wbg_assetlockoutputnotfounderror_free: (a: number) => void;
|
|
3784
|
+
readonly __wbg_chainassetlockproofstructurevalidator_free: (a: number) => void;
|
|
3785
|
+
readonly chainassetlockproofstructurevalidator_new: (a: number, b: number) => void;
|
|
3786
|
+
readonly chainassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
|
|
3787
|
+
readonly __wbg_instantassetlockproof_free: (a: number) => void;
|
|
3788
|
+
readonly instantassetlockproof_new: (a: number, b: number) => void;
|
|
3789
|
+
readonly instantassetlockproof_getType: (a: number) => number;
|
|
3790
|
+
readonly instantassetlockproof_getOutputIndex: (a: number) => number;
|
|
3791
|
+
readonly instantassetlockproof_getOutPoint: (a: number) => number;
|
|
3792
|
+
readonly instantassetlockproof_getOutput: (a: number, b: number) => void;
|
|
3793
|
+
readonly instantassetlockproof_createIdentifier: (a: number, b: number) => void;
|
|
3794
|
+
readonly instantassetlockproof_getInstantLock: (a: number) => number;
|
|
3795
|
+
readonly instantassetlockproof_getTransaction: (a: number) => number;
|
|
3796
|
+
readonly instantassetlockproof_toObject: (a: number, b: number) => void;
|
|
3797
|
+
readonly instantassetlockproof_toJSON: (a: number, b: number) => void;
|
|
3798
|
+
readonly instantassetlockproofstructurevalidator_new: (a: number, b: number) => void;
|
|
3799
|
+
readonly instantassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
|
|
3800
|
+
readonly __wbg_jsonschemavalidator_free: (a: number) => void;
|
|
3801
|
+
readonly jsonschemavalidator_new: (a: number, b: number, c: number) => void;
|
|
3802
|
+
readonly __wbg_instantassetlockproofstructurevalidator_free: (a: number) => void;
|
|
3803
|
+
readonly statetransitionmaxsizeexceedederror_getActualSizeKBytes: (a: number) => number;
|
|
3804
|
+
readonly statetransitionmaxsizeexceedederror_getMaxSizeKBytes: (a: number) => number;
|
|
3805
|
+
readonly statetransitionmaxsizeexceedederror_getCode: (a: number) => number;
|
|
2763
3806
|
readonly __wbg_statetransitionmaxsizeexceedederror_free: (a: number) => void;
|
|
2764
|
-
readonly
|
|
2765
|
-
readonly
|
|
2766
|
-
readonly
|
|
2767
|
-
readonly
|
|
2768
|
-
readonly
|
|
2769
|
-
readonly
|
|
2770
|
-
readonly
|
|
2771
|
-
readonly
|
|
2772
|
-
readonly
|
|
2773
|
-
readonly
|
|
2774
|
-
readonly
|
|
2775
|
-
readonly
|
|
2776
|
-
readonly
|
|
2777
|
-
readonly
|
|
2778
|
-
readonly
|
|
2779
|
-
readonly
|
|
2780
|
-
readonly
|
|
2781
|
-
readonly
|
|
2782
|
-
readonly
|
|
2783
|
-
readonly
|
|
2784
|
-
readonly
|
|
2785
|
-
readonly
|
|
2786
|
-
readonly
|
|
2787
|
-
readonly
|
|
2788
|
-
readonly
|
|
2789
|
-
readonly
|
|
2790
|
-
readonly
|
|
2791
|
-
readonly
|
|
2792
|
-
readonly
|
|
2793
|
-
readonly
|
|
2794
|
-
readonly
|
|
2795
|
-
readonly
|
|
2796
|
-
readonly
|
|
2797
|
-
readonly
|
|
2798
|
-
readonly
|
|
2799
|
-
readonly
|
|
2800
|
-
readonly
|
|
2801
|
-
readonly
|
|
2802
|
-
readonly
|
|
3807
|
+
readonly __wbg_datacontract_free: (a: number) => void;
|
|
3808
|
+
readonly datacontract_new: (a: number, b: number) => void;
|
|
3809
|
+
readonly datacontract_getProtocolVersion: (a: number) => number;
|
|
3810
|
+
readonly datacontract_getId: (a: number) => number;
|
|
3811
|
+
readonly datacontract_setId: (a: number, b: number) => void;
|
|
3812
|
+
readonly datacontract_getOwnerId: (a: number) => number;
|
|
3813
|
+
readonly datacontract_getVersion: (a: number) => number;
|
|
3814
|
+
readonly datacontract_setVersion: (a: number, b: number) => void;
|
|
3815
|
+
readonly datacontract_incrementVersion: (a: number) => void;
|
|
3816
|
+
readonly datacontract_getJsonSchemaId: (a: number, b: number) => void;
|
|
3817
|
+
readonly datacontract_setJsonMetaSchema: (a: number, b: number, c: number) => void;
|
|
3818
|
+
readonly datacontract_getJsonMetaSchema: (a: number, b: number) => void;
|
|
3819
|
+
readonly datacontract_setDocuments: (a: number, b: number, c: number) => void;
|
|
3820
|
+
readonly datacontract_getDocuments: (a: number, b: number) => void;
|
|
3821
|
+
readonly datacontract_isDocumentDefined: (a: number, b: number, c: number) => number;
|
|
3822
|
+
readonly datacontract_setDocumentSchema: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
3823
|
+
readonly datacontract_getDocumentSchema: (a: number, b: number, c: number, d: number) => void;
|
|
3824
|
+
readonly datacontract_getDocumentSchemaRef: (a: number, b: number, c: number, d: number) => void;
|
|
3825
|
+
readonly datacontract_setDefinitions: (a: number, b: number, c: number) => void;
|
|
3826
|
+
readonly datacontract_getDefinitions: (a: number, b: number) => void;
|
|
3827
|
+
readonly datacontract_setEntropy: (a: number, b: number, c: number, d: number) => void;
|
|
3828
|
+
readonly datacontract_getEntropy: (a: number) => number;
|
|
3829
|
+
readonly datacontract_getBinaryProperties: (a: number, b: number, c: number, d: number) => void;
|
|
3830
|
+
readonly datacontract_getMetadata: (a: number) => number;
|
|
3831
|
+
readonly datacontract_setMetadata: (a: number, b: number) => void;
|
|
3832
|
+
readonly datacontract_toObject: (a: number, b: number) => void;
|
|
3833
|
+
readonly datacontract_toJSON: (a: number, b: number) => void;
|
|
3834
|
+
readonly datacontract_toBuffer: (a: number, b: number) => void;
|
|
3835
|
+
readonly datacontract_hash: (a: number, b: number) => void;
|
|
3836
|
+
readonly datacontract_from: (a: number, b: number) => void;
|
|
3837
|
+
readonly datacontract_fromBuffer: (a: number, b: number, c: number) => void;
|
|
3838
|
+
readonly __wbg_datacontractdefaults_free: (a: number) => void;
|
|
3839
|
+
readonly datacontractdefaults_get_default_schema: (a: number) => void;
|
|
3840
|
+
readonly __wbg_datacontractupdatetransition_free: (a: number) => void;
|
|
3841
|
+
readonly datacontractupdatetransition_new: (a: number, b: number) => void;
|
|
3842
|
+
readonly datacontractupdatetransition_getDataContract: (a: number) => number;
|
|
3843
|
+
readonly datacontractupdatetransition_getProtocolVersion: (a: number) => number;
|
|
3844
|
+
readonly datacontractupdatetransition_getEntropy: (a: number) => number;
|
|
3845
|
+
readonly datacontractupdatetransition_getOwnerId: (a: number) => number;
|
|
3846
|
+
readonly datacontractupdatetransition_getType: (a: number) => number;
|
|
3847
|
+
readonly datacontractupdatetransition_toJSON: (a: number, b: number, c: number) => void;
|
|
3848
|
+
readonly datacontractupdatetransition_toBuffer: (a: number, b: number, c: number) => void;
|
|
3849
|
+
readonly datacontractupdatetransition_getModifiedDataIds: (a: number, b: number) => void;
|
|
3850
|
+
readonly datacontractupdatetransition_isDataContractStateTransition: (a: number) => number;
|
|
3851
|
+
readonly datacontractupdatetransition_isDocumentStateTransition: (a: number) => number;
|
|
3852
|
+
readonly datacontractupdatetransition_isIdentityStateTransition: (a: number) => number;
|
|
3853
|
+
readonly datacontractupdatetransition_setExecutionContext: (a: number, b: number) => void;
|
|
3854
|
+
readonly datacontractupdatetransition_hash: (a: number, b: number, c: number) => void;
|
|
3855
|
+
readonly __wbg_documentvalidator_free: (a: number) => void;
|
|
3856
|
+
readonly documentvalidator_new: (a: number) => number;
|
|
2803
3857
|
readonly identityassetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
|
|
2804
3858
|
readonly identityassetlocktransactionisnotfounderror_getCode: (a: number) => number;
|
|
2805
|
-
readonly __wbg_invalidassetlocktransactionoutputreturnsizeerror_free: (a: number) => void;
|
|
2806
|
-
readonly invalidassetlocktransactionoutputreturnsizeerror_getOutputIndex: (a: number) => number;
|
|
2807
|
-
readonly invalidassetlocktransactionoutputreturnsizeerror_getCode: (a: number) => number;
|
|
2808
|
-
readonly invalididentityassetlocktransactionoutputerror_getOutputIndex: (a: number) => number;
|
|
2809
|
-
readonly invalididentityassetlocktransactionoutputerror_getCode: (a: number) => number;
|
|
2810
3859
|
readonly __wbg_identityalreadyexistserror_free: (a: number) => void;
|
|
2811
3860
|
readonly identityalreadyexistserror_getIdentityId: (a: number) => number;
|
|
2812
3861
|
readonly identityalreadyexistserror_getCode: (a: number) => number;
|
|
2813
|
-
readonly
|
|
2814
|
-
readonly
|
|
2815
|
-
readonly
|
|
2816
|
-
readonly
|
|
2817
|
-
readonly
|
|
3862
|
+
readonly __wbg_identityfacade_free: (a: number) => void;
|
|
3863
|
+
readonly identityfacade_new: (a: number) => number;
|
|
3864
|
+
readonly identityfacade_validate: (a: number, b: number, c: number) => void;
|
|
3865
|
+
readonly __wbg_nonconsensuserrorwasm_free: (a: number) => void;
|
|
3866
|
+
readonly __wbg_identitycreatetransition_free: (a: number) => void;
|
|
3867
|
+
readonly identitycreatetransition_new: (a: number, b: number) => void;
|
|
3868
|
+
readonly identitycreatetransition_setAssetLockProof: (a: number, b: number, c: number) => void;
|
|
3869
|
+
readonly identitycreatetransition_assetLockProof: (a: number) => number;
|
|
3870
|
+
readonly identitycreatetransition_setPublicKeys: (a: number, b: number, c: number, d: number) => void;
|
|
3871
|
+
readonly identitycreatetransition_addPublicKeys: (a: number, b: number, c: number, d: number) => void;
|
|
3872
|
+
readonly identitycreatetransition_getPublicKeys: (a: number, b: number) => void;
|
|
3873
|
+
readonly identitycreatetransition_getType: (a: number) => number;
|
|
3874
|
+
readonly identitycreatetransition_getIdentityId: (a: number) => number;
|
|
3875
|
+
readonly identitycreatetransition_getOwnerId: (a: number) => number;
|
|
3876
|
+
readonly identitycreatetransition_toObject: (a: number, b: number, c: number) => void;
|
|
3877
|
+
readonly identitycreatetransition_toJSON: (a: number, b: number) => void;
|
|
3878
|
+
readonly identitycreatetransition_getModifiedDataIds: (a: number, b: number) => void;
|
|
3879
|
+
readonly identitycreatetransition_isDataContractStateTransition: (a: number) => number;
|
|
3880
|
+
readonly identitycreatetransition_isDocumentStateTransition: (a: number) => number;
|
|
3881
|
+
readonly identitycreatetransition_isIdentityStateTransition: (a: number) => number;
|
|
3882
|
+
readonly identitycreatetransition_setExecutionContext: (a: number, b: number) => void;
|
|
3883
|
+
readonly identitycreatetransition_getExecutionContext: (a: number) => number;
|
|
3884
|
+
readonly identitycreatetransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
3885
|
+
readonly identitycreatetransition_getSignature: (a: number) => number;
|
|
3886
|
+
readonly __wbg_statetransitionexecutioncontext_free: (a: number) => void;
|
|
3887
|
+
readonly statetransitionexecutioncontext_new: () => number;
|
|
3888
|
+
readonly statetransitionexecutioncontext_enableDryRun: (a: number) => void;
|
|
3889
|
+
readonly statetransitionexecutioncontext_disableDryRun: (a: number) => void;
|
|
3890
|
+
readonly identitycreatetransition_publicKeys: (a: number, b: number) => void;
|
|
3891
|
+
readonly identitycreatetransition_getAssetLockProof: (a: number) => number;
|
|
3892
|
+
readonly identitycreatetransition_identityId: (a: number) => number;
|
|
2818
3893
|
readonly __wbg_identityassetlocktransactionisnotfounderror_free: (a: number) => void;
|
|
2819
|
-
readonly
|
|
2820
|
-
readonly
|
|
3894
|
+
readonly rustsecp256k1_v0_6_1_context_create: (a: number) => number;
|
|
3895
|
+
readonly rustsecp256k1_v0_6_1_context_destroy: (a: number) => void;
|
|
3896
|
+
readonly rustsecp256k1_v0_6_1_default_illegal_callback_fn: (a: number, b: number) => void;
|
|
3897
|
+
readonly rustsecp256k1_v0_6_1_default_error_callback_fn: (a: number, b: number) => void;
|
|
2821
3898
|
readonly __wbindgen_malloc: (a: number) => number;
|
|
2822
3899
|
readonly __wbindgen_realloc: (a: number, b: number, c: number) => number;
|
|
2823
3900
|
readonly __wbindgen_export_2: WebAssembly.Table;
|
|
2824
|
-
readonly
|
|
3901
|
+
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb41434d7f0ac0d06: (a: number, b: number, c: number) => void;
|
|
2825
3902
|
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
2826
3903
|
readonly __wbindgen_free: (a: number, b: number) => void;
|
|
2827
3904
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
2828
|
-
readonly
|
|
3905
|
+
readonly wasm_bindgen__convert__closures__invoke2_mut__h068e39ab2e0e8376: (a: number, b: number, c: number, d: number) => void;
|
|
2829
3906
|
}
|
|
2830
3907
|
|
|
2831
3908
|
export type SyncInitInput = BufferSource | WebAssembly.Module;
|