@dashevo/wasm-dpp 0.25.0-dev.12 → 0.25.0-dev.14
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 +6 -5
- package/README.md +11 -6
- package/dist/wasm/wasm_dpp.d.ts +715 -653
- package/dist/wasm/wasm_dpp.js +1219 -1195
- package/dist/wasm/wasm_dpp_bg.js +1 -1
- package/lib/test/fixtures/getIdentityCreateTransitionFixture.js +2 -2
- package/lib/test/fixtures/js/generateRandomIdentifier.js +1 -0
- package/lib/test/fixtures/js/getChainAssetLockProofFixture.js +1 -0
- package/lib/test/fixtures/js/getDataContractFixture.js +1 -0
- package/lib/test/fixtures/js/getDocumentTransitionsFixture.js +1 -0
- package/lib/test/fixtures/js/getDocumentsFixture.js +1 -0
- package/lib/test/fixtures/js/getInstantAssetLockProofFixture.js +1 -0
- package/lib/test/mocks/createStateRepositoryMock.js +1 -0
- package/lib/wasm/wasm_dpp.d.ts +715 -653
- package/package.json +3 -3
- package/scripts/build-wasm.sh +32 -28
- package/src/data_contract/data_contract.rs +99 -54
- package/src/data_contract/data_contract_facade.rs +5 -2
- package/src/data_contract/state_transition/data_contract_update_transition/mod.rs +0 -5
- package/src/data_contract_factory/data_contract_factory.rs +5 -1
- package/src/document/document_facade.rs +12 -0
- package/src/document/factory.rs +17 -0
- package/src/document/mod.rs +4 -4
- package/src/errors/consensus/consensus_error.rs +5 -0
- package/src/errors/consensus/state/document/document_timestamps_are_equal_error.rs +42 -0
- package/src/errors/consensus/state/document/mod.rs +2 -0
- package/src/errors/value_error.rs +5 -0
- package/src/identity/mod.rs +8 -1
- package/src/identity/state_transition/mod.rs +1 -0
- package/src/identity/state_transition/transition_types.rs +30 -0
- package/src/lib.rs +1 -2
- package/src/protocol_version.rs +7 -0
- package/src/state_transition/errors/invalid_state_transition_error.rs +12 -1
- package/src/state_transition/state_transition_facade.rs +6 -1
- package/test/integration/dataContract/stateTransition/DataContractCreateTransition/validation/basic/validateDataContractCreateTransitionBasicFactory.spec.js +5 -5
- package/test/integration/dataContract/stateTransition/DataContractUpdateTransition/validation/basic/validateDataContractUpdateTransitionBasicFactory.spec.js +5 -5
- package/test/integration/dataContract/validation/validateDataContractFactory.spec.js +2 -2
- package/test/integration/document/DocumentFacade.spec.js +4 -4
- package/test/integration/document/stateTransition/DocumentsBatchTransition/DocumentBatchTransition.spec.js +5 -6
- package/test/integration/document/stateTransition/DocumentsBatchTransition/validation/basic/validateDocumentsBatchTransitionBasicFactory.spec.js +14 -14
- package/test/integration/document/stateTransition/DocumentsBatchTransition/validation/state/executeDataTriggersFactory.spec.js +1 -1
- package/test/integration/document/validation/validateDocumentFactory.spec.js +2 -2
- package/test/integration/identity/IdentityFacade.spec.js +8 -8
- package/test/integration/identity/stateTransition/IdentityCreateTransition/validation/basic/validateIdentityCreateTransitionBasicFactory.spec.js +4 -6
- package/test/integration/identity/stateTransition/IdentityTopUpTransition/validation/basic/validateIdentityTopUpTransitionBasicFactory.spec.js +3 -6
- package/test/integration/identity/stateTransition/IdentityUpdateTransition/validation/state/validateIdentityUpdateTransitionStateFactory.spec.js +20 -23
- package/test/integration/identity/stateTransition/IdentityUpdateTransition/validation/state/validatePublicKeysState.spec.js +1 -1
- package/test/integration/identity/stateTransition/assetLockProof/chain/validateChainAssetLockProofStructureFactory.spec.js +3 -3
- package/test/integration/identity/stateTransition/assetLockProof/fetchAssetLockTransactionOutputFactory.spec.js +5 -8
- package/test/integration/identity/stateTransition/assetLockProof/instant/validateInstantAssetLockProofStructureFactory.spec.js +3 -4
- package/test/integration/identity/stateTransition/assetLockProof/validateAssetLockTransactionFactory.spec.js +2 -3
- package/test/integration/identity/stateTransition/validatePublicKeySignaturesFactory.spec.js +2 -6
- package/test/integration/identity/validation/validateIdentityFactory.spec.js +6 -5
- package/test/integration/identity/validation/validatePublicKeysFactory.spec.js +4 -24
- package/test/integration/stateTransition/StateTransitionFacade.spec.js +11 -15
- package/test/unit/DashPlatformProtocol.spec.js +6 -7
- package/test/unit/dataContract/DataContract.spec.js +9 -9
- package/test/unit/dataContract/DataContractFactory.spec.js +3 -3
- package/test/unit/dataContract/createDataContract.spec.js +5 -5
- package/test/unit/dataContract/stateTransition/DataContractCreateTransition/DataContractCreateTransition.spec.js +14 -14
- package/test/unit/dataContract/stateTransition/DataContractCreateTransition/applyDataContractCreateTransitionFactory.spec.js +6 -8
- package/test/unit/dataContract/stateTransition/DataContractCreateTransition/validation/state/validateDataContractCreateTransitionStateFactory.spec.js +3 -3
- package/test/unit/dataContract/stateTransition/DataContractUpdateTransition/DataContractUpdateTransition.spec.js +14 -12
- package/test/unit/dataContract/stateTransition/DataContractUpdateTransition/applyDataContractUpdateTransitionFactory.spec.js +6 -6
- package/test/unit/dataContract/stateTransition/DataContractUpdateTransition/validation/basic/validateIndicesAreBackwardCompatible.spec.js +4 -4
- package/test/unit/dataContract/stateTransition/DataContractUpdateTransition/validation/state/validateDataContractUpdateTransitionStateFactory.spec.js +5 -5
- package/test/unit/dataContract/validation/validateDataContractPatterns.spec.js +6 -6
- package/test/unit/document/Document.spec.js +5 -4
- package/test/unit/document/stateTransition/DocumetsBatchTransition/applyDocumentsBatchTransitionFactory.spec.js +10 -11
- package/test/unit/document/stateTransition/DocumetsBatchTransition/validation/state/validateDocumentsBatchTransitionStateFactory.spec.js +8 -8
- package/test/unit/identity/Identity.spec.js +14 -6
- package/test/unit/identity/IdentityFactory.spec.js +11 -11
- package/test/unit/identity/IdentityPublicKey.spec.js +2 -2
- package/test/unit/identity/stateTransition/IdentityCreateTransition/IdentityCreateTransition.spec.js +13 -14
- package/test/unit/identity/stateTransition/IdentityCreateTransition/applyIdentityCreateTransitionFactory.spec.js +7 -13
- package/test/unit/identity/stateTransition/IdentityCreateTransition/validation/state/validateIdentityCreateTransitionStateFactory.spec.js +3 -7
- package/test/unit/identity/stateTransition/IdentityTopUpTransition/IdentityTopUpTransition.spec.js +13 -14
- package/test/unit/identity/stateTransition/IdentityTopUpTransition/applyIdentityTopUpTransitionFactory.spec.js +5 -9
- package/test/unit/identity/stateTransition/IdentityTopUpTransition/validation/state/validateIdentityTopUpTransitionStateFactory.spec.js +4 -8
- package/test/unit/identity/stateTransition/IdentityUpdateTransition/IdentityUpdateTransition.spec.js +11 -16
- package/test/unit/identity/stateTransition/IdentityUpdateTransition/applyIdentityUpdateTransitionFactory.spec.js +1 -1
- package/test/unit/stateTransition/StateTransitionFactory.spec.js +6 -7
- package/test/unit/stateTransition/createStateTransitionFactory.spec.js +41 -19
- package/test/unit/stateTransition/validation/validateStateTransitionKeySignatureFactory.spec.js +6 -12
- package/src/decode_protocol_entity.rs +0 -25
- package/test/integration/ajv/keywords/byteArray/addByteArrayKeyword.spec.js +0 -148
- package/test/integration/util/generateEntropy.spec.js +0 -17
- package/test/integration/util/serializer.spec.js +0 -24
- package/test/unit/decodeProtocolEntityFactory.spec.js +0 -72
- package/test/unit/identity/errors/InvalidIdentityError.spec.js +0 -46
- package/test/unit/stateTransition/errors/InvalidStateTransitionError.spec.js +0 -51
package/dist/wasm/wasm_dpp.d.ts
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
+
* @param {Array<any>} operations
|
|
5
|
+
* @param {any} identity_id
|
|
6
|
+
* @returns {FeeResult}
|
|
7
|
+
*/
|
|
8
|
+
export function calculateStateTransitionFeeFromOperations(operations: Array<any>, identity_id: any): FeeResult;
|
|
9
|
+
/**
|
|
4
10
|
* @param {Uint8Array} bytes
|
|
5
11
|
* @returns {any}
|
|
6
12
|
*/
|
|
@@ -55,17 +61,6 @@ export function calculateOperationFees(operations: Array<any>): DummyFeesResult;
|
|
|
55
61
|
*/
|
|
56
62
|
export function validateStateTransitionIdentitySignature(external_state_repository: any, js_state_transition: any, execution_context: StateTransitionExecutionContext, bls_adapter: any): Promise<ValidationResult>;
|
|
57
63
|
/**
|
|
58
|
-
* @param {Array<any>} js_raw_transitions
|
|
59
|
-
* @param {DataContract} data_contract
|
|
60
|
-
* @returns {ValidationResult}
|
|
61
|
-
*/
|
|
62
|
-
export function validatePartialCompoundIndices(js_raw_transitions: Array<any>, data_contract: DataContract): ValidationResult;
|
|
63
|
-
/**
|
|
64
|
-
* @param {Uint8Array} _buffer
|
|
65
|
-
* @returns {Array<any>}
|
|
66
|
-
*/
|
|
67
|
-
export function decodeProtocolEntity(_buffer: Uint8Array): Array<any>;
|
|
68
|
-
/**
|
|
69
64
|
* @param {any} state_repository
|
|
70
65
|
* @param {DataContractUpdateTransition} state_transition
|
|
71
66
|
* @param {StateTransitionExecutionContext} execution_context
|
|
@@ -86,6 +81,12 @@ export function validateIndicesAreBackwardCompatible(old_documents_schema: any,
|
|
|
86
81
|
*/
|
|
87
82
|
export function validateDataContractUpdateTransitionBasic(state_repository: any, raw_parameters: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
|
|
88
83
|
/**
|
|
84
|
+
* @param {Array<any>} js_raw_transitions
|
|
85
|
+
* @param {DataContract} data_contract
|
|
86
|
+
* @returns {ValidationResult}
|
|
87
|
+
*/
|
|
88
|
+
export function validatePartialCompoundIndices(js_raw_transitions: Array<any>, data_contract: DataContract): ValidationResult;
|
|
89
|
+
/**
|
|
89
90
|
* @param {any} state_repository
|
|
90
91
|
* @param {any} js_owner_id
|
|
91
92
|
* @param {Array<any>} js_document_transitions
|
|
@@ -95,6 +96,28 @@ export function validateDataContractUpdateTransitionBasic(state_repository: any,
|
|
|
95
96
|
*/
|
|
96
97
|
export function validateDocumentsUniquenessByIndices(state_repository: any, js_owner_id: any, js_document_transitions: Array<any>, js_data_contract: DataContract, js_execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
|
|
97
98
|
/**
|
|
99
|
+
* @returns {number}
|
|
100
|
+
*/
|
|
101
|
+
export function getCreditsConversionRatio(): number;
|
|
102
|
+
/**
|
|
103
|
+
* @param {any} state_transition_js
|
|
104
|
+
* @param {StateTransitionExecutionContext} execution_context
|
|
105
|
+
* @returns {FeeResult}
|
|
106
|
+
*/
|
|
107
|
+
export function calculateStateTransitionFee(state_transition_js: any, execution_context: StateTransitionExecutionContext): FeeResult;
|
|
108
|
+
/**
|
|
109
|
+
* @returns {number}
|
|
110
|
+
*/
|
|
111
|
+
export function getLatestProtocolVersion(): number;
|
|
112
|
+
/**
|
|
113
|
+
* @param {any} contract_id
|
|
114
|
+
* @param {any} owner_id
|
|
115
|
+
* @param {string} document_type
|
|
116
|
+
* @param {Uint8Array} entropy
|
|
117
|
+
* @returns {any}
|
|
118
|
+
*/
|
|
119
|
+
export function generateDocumentId(contract_id: any, owner_id: any, document_type: string, entropy: Uint8Array): any;
|
|
120
|
+
/**
|
|
98
121
|
* @param {any} state_repository
|
|
99
122
|
* @param {DocumentsBatchTransition} transition
|
|
100
123
|
* @param {StateTransitionExecutionContext} execution_context
|
|
@@ -117,10 +140,6 @@ export function validateDocumentsBatchTransitionBasic(protocol_version_validator
|
|
|
117
140
|
*/
|
|
118
141
|
export function validateDocumentsBatchTransitionState(state_repository: any, state_transition: DocumentsBatchTransition, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
|
|
119
142
|
/**
|
|
120
|
-
* @returns {number}
|
|
121
|
-
*/
|
|
122
|
-
export function getCreditsConversionRatio(): number;
|
|
123
|
-
/**
|
|
124
143
|
* @param {any} state_repository
|
|
125
144
|
* @param {IdentityCreateTransition} state_transition
|
|
126
145
|
* @param {StateTransitionExecutionContext} execution_context
|
|
@@ -142,26 +161,12 @@ export function applyIdentityTopUpTransition(state_repository: any, state_transi
|
|
|
142
161
|
*/
|
|
143
162
|
export function applyIdentityUpdateTransition(state_repository: any, state_transition: IdentityUpdateTransition, execution_context: StateTransitionExecutionContext): Promise<void>;
|
|
144
163
|
/**
|
|
145
|
-
* @param {any} state_transition_js
|
|
146
|
-
* @param {StateTransitionExecutionContext} execution_context
|
|
147
|
-
* @returns {FeeResult}
|
|
148
|
-
*/
|
|
149
|
-
export function calculateStateTransitionFee(state_transition_js: any, execution_context: StateTransitionExecutionContext): FeeResult;
|
|
150
|
-
/**
|
|
151
164
|
* @param {any} state_repository
|
|
152
165
|
* @param {any} js_raw_document
|
|
153
166
|
* @returns {Promise<ValidationResult>}
|
|
154
167
|
*/
|
|
155
168
|
export function fetchAndValidateDataContract(state_repository: any, js_raw_document: any): Promise<ValidationResult>;
|
|
156
169
|
/**
|
|
157
|
-
* @param {any} contract_id
|
|
158
|
-
* @param {any} owner_id
|
|
159
|
-
* @param {string} document_type
|
|
160
|
-
* @param {Uint8Array} entropy
|
|
161
|
-
* @returns {any}
|
|
162
|
-
*/
|
|
163
|
-
export function generateDocumentId(contract_id: any, owner_id: any, document_type: string, entropy: Uint8Array): any;
|
|
164
|
-
/**
|
|
165
170
|
* @param {Array<any>} js_raw_transitions
|
|
166
171
|
* @param {DataContract} data_contract
|
|
167
172
|
* @param {any} owner_id
|
|
@@ -176,13 +181,6 @@ export function findDuplicatesByIndices(js_raw_transitions: Array<any>, data_con
|
|
|
176
181
|
*/
|
|
177
182
|
export function fetchExtendedDocuments(state_repository: any, js_document_transitions: Array<any>, js_execution_context: StateTransitionExecutionContext): Promise<Array<any>>;
|
|
178
183
|
/**
|
|
179
|
-
* @param {Array<any>} js_document_transitions
|
|
180
|
-
* @param {DataTriggerExecutionContext} js_context
|
|
181
|
-
* @param {Array<any>} js_data_triggers
|
|
182
|
-
* @returns {Promise<Array<any>>}
|
|
183
|
-
*/
|
|
184
|
-
export function executeDataTriggers(js_document_transitions: Array<any>, js_context: DataTriggerExecutionContext, js_data_triggers: Array<any>): Promise<Array<any>>;
|
|
185
|
-
/**
|
|
186
184
|
* @param {any} js_data_contract_id
|
|
187
185
|
* @param {string} document_type
|
|
188
186
|
* @param {string} transition_action_string
|
|
@@ -207,11 +205,12 @@ export function validateDataContractCreateTransitionState(state_repository: any,
|
|
|
207
205
|
*/
|
|
208
206
|
export function validateDataContractCreateTransitionBasic(raw_parameters: any): Promise<ValidationResult>;
|
|
209
207
|
/**
|
|
210
|
-
* @param {Array<any>}
|
|
211
|
-
* @param {
|
|
212
|
-
* @
|
|
208
|
+
* @param {Array<any>} js_document_transitions
|
|
209
|
+
* @param {DataTriggerExecutionContext} js_context
|
|
210
|
+
* @param {Array<any>} js_data_triggers
|
|
211
|
+
* @returns {Promise<Array<any>>}
|
|
213
212
|
*/
|
|
214
|
-
export function
|
|
213
|
+
export function executeDataTriggers(js_document_transitions: Array<any>, js_context: DataTriggerExecutionContext, js_data_triggers: Array<any>): Promise<Array<any>>;
|
|
215
214
|
/**
|
|
216
215
|
*/
|
|
217
216
|
export enum KeyPurpose {
|
|
@@ -259,6 +258,17 @@ export enum KeyType {
|
|
|
259
258
|
}
|
|
260
259
|
/**
|
|
261
260
|
*/
|
|
261
|
+
export enum StateTransitionTypes {
|
|
262
|
+
DataContractCreate = 0,
|
|
263
|
+
DocumentsBatch = 1,
|
|
264
|
+
IdentityCreate = 2,
|
|
265
|
+
IdentityTopUp = 3,
|
|
266
|
+
DataContractUpdate = 4,
|
|
267
|
+
IdentityUpdate = 5,
|
|
268
|
+
IdentityCreditWithdrawal = 6,
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
*/
|
|
262
272
|
export class ApplyDataContractCreateTransition {
|
|
263
273
|
free(): void;
|
|
264
274
|
/**
|
|
@@ -960,10 +970,6 @@ export class DataContractUpdateTransition {
|
|
|
960
970
|
getProtocolVersion(): number;
|
|
961
971
|
/**
|
|
962
972
|
* @returns {any}
|
|
963
|
-
*/
|
|
964
|
-
getEntropy(): any;
|
|
965
|
-
/**
|
|
966
|
-
* @returns {any}
|
|
967
973
|
*/
|
|
968
974
|
getOwnerId(): any;
|
|
969
975
|
/**
|
|
@@ -1502,6 +1508,13 @@ export class DocumentFacade {
|
|
|
1502
1508
|
*/
|
|
1503
1509
|
createFromBuffer(bytes: Uint8Array, options?: object): Promise<ExtendedDocument>;
|
|
1504
1510
|
/**
|
|
1511
|
+
* @param {Uint8Array} buffer
|
|
1512
|
+
* @param {string} document_type
|
|
1513
|
+
* @param {DataContract} data_contract
|
|
1514
|
+
* @returns {ExtendedDocument}
|
|
1515
|
+
*/
|
|
1516
|
+
createExtendedDocumentFromDocumentBuffer(buffer: Uint8Array, document_type: string, data_contract: DataContract): ExtendedDocument;
|
|
1517
|
+
/**
|
|
1505
1518
|
* Creates Documents State Transition
|
|
1506
1519
|
* @param {any} documents
|
|
1507
1520
|
* @returns {DocumentsBatchTransition}
|
|
@@ -1556,6 +1569,13 @@ export class DocumentFactory {
|
|
|
1556
1569
|
* @returns {Promise<ExtendedDocument>}
|
|
1557
1570
|
*/
|
|
1558
1571
|
createFromBuffer(buffer: Uint8Array, options: any): Promise<ExtendedDocument>;
|
|
1572
|
+
/**
|
|
1573
|
+
* @param {Uint8Array} buffer
|
|
1574
|
+
* @param {string} document_type
|
|
1575
|
+
* @param {DataContract} data_contract
|
|
1576
|
+
* @returns {ExtendedDocument}
|
|
1577
|
+
*/
|
|
1578
|
+
createExtendedDocumentFromDocumentBuffer(buffer: Uint8Array, document_type: string, data_contract: DataContract): ExtendedDocument;
|
|
1559
1579
|
}
|
|
1560
1580
|
/**
|
|
1561
1581
|
*/
|
|
@@ -1721,6 +1741,26 @@ export class DocumentTimestampWindowViolationError {
|
|
|
1721
1741
|
}
|
|
1722
1742
|
/**
|
|
1723
1743
|
*/
|
|
1744
|
+
export class DocumentTimestampsAreEqualError {
|
|
1745
|
+
free(): void;
|
|
1746
|
+
/**
|
|
1747
|
+
* @returns {any}
|
|
1748
|
+
*/
|
|
1749
|
+
getDocumentId(): any;
|
|
1750
|
+
/**
|
|
1751
|
+
* @returns {number}
|
|
1752
|
+
*/
|
|
1753
|
+
getCode(): number;
|
|
1754
|
+
/**
|
|
1755
|
+
* @returns {any}
|
|
1756
|
+
*/
|
|
1757
|
+
serialize(): any;
|
|
1758
|
+
/**
|
|
1759
|
+
*/
|
|
1760
|
+
readonly message: string;
|
|
1761
|
+
}
|
|
1762
|
+
/**
|
|
1763
|
+
*/
|
|
1724
1764
|
export class DocumentTimestampsMismatchError {
|
|
1725
1765
|
free(): void;
|
|
1726
1766
|
/**
|
|
@@ -2445,6 +2485,11 @@ export class Identity {
|
|
|
2445
2485
|
*/
|
|
2446
2486
|
getPublicKeyMaxId(): number;
|
|
2447
2487
|
/**
|
|
2488
|
+
* @param {Uint8Array} buffer
|
|
2489
|
+
* @returns {Identity}
|
|
2490
|
+
*/
|
|
2491
|
+
static fromBuffer(buffer: Uint8Array): Identity;
|
|
2492
|
+
/**
|
|
2448
2493
|
*/
|
|
2449
2494
|
readonly balance: number;
|
|
2450
2495
|
}
|
|
@@ -4315,6 +4360,10 @@ export class InvalidStateTransitionError {
|
|
|
4315
4360
|
* @returns {any}
|
|
4316
4361
|
*/
|
|
4317
4362
|
getRawStateTransition(): any;
|
|
4363
|
+
/**
|
|
4364
|
+
* @returns {any}
|
|
4365
|
+
*/
|
|
4366
|
+
valueOf(): any;
|
|
4318
4367
|
}
|
|
4319
4368
|
/**
|
|
4320
4369
|
*/
|
|
@@ -4691,6 +4740,10 @@ export class PlatformValueError {
|
|
|
4691
4740
|
* @returns {string}
|
|
4692
4741
|
*/
|
|
4693
4742
|
toString(): string;
|
|
4743
|
+
/**
|
|
4744
|
+
* @returns {string}
|
|
4745
|
+
*/
|
|
4746
|
+
valueOf(): string;
|
|
4694
4747
|
}
|
|
4695
4748
|
/**
|
|
4696
4749
|
*/
|
|
@@ -5346,138 +5399,287 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
5346
5399
|
|
|
5347
5400
|
export interface InitOutput {
|
|
5348
5401
|
readonly memory: WebAssembly.Memory;
|
|
5349
|
-
readonly
|
|
5350
|
-
readonly
|
|
5351
|
-
readonly
|
|
5352
|
-
readonly
|
|
5353
|
-
readonly
|
|
5354
|
-
readonly
|
|
5355
|
-
readonly
|
|
5356
|
-
readonly
|
|
5357
|
-
readonly
|
|
5358
|
-
readonly
|
|
5359
|
-
readonly
|
|
5360
|
-
readonly
|
|
5361
|
-
readonly
|
|
5362
|
-
readonly
|
|
5363
|
-
readonly
|
|
5364
|
-
readonly
|
|
5365
|
-
readonly
|
|
5366
|
-
readonly
|
|
5367
|
-
readonly
|
|
5368
|
-
readonly
|
|
5369
|
-
readonly
|
|
5370
|
-
readonly
|
|
5371
|
-
readonly
|
|
5372
|
-
readonly
|
|
5373
|
-
readonly
|
|
5374
|
-
readonly
|
|
5375
|
-
readonly
|
|
5376
|
-
readonly
|
|
5377
|
-
readonly
|
|
5378
|
-
readonly
|
|
5379
|
-
readonly
|
|
5380
|
-
readonly
|
|
5381
|
-
readonly
|
|
5382
|
-
readonly
|
|
5383
|
-
readonly
|
|
5384
|
-
readonly
|
|
5385
|
-
readonly
|
|
5386
|
-
readonly
|
|
5387
|
-
readonly
|
|
5388
|
-
readonly
|
|
5389
|
-
readonly
|
|
5390
|
-
readonly
|
|
5391
|
-
readonly
|
|
5392
|
-
readonly
|
|
5393
|
-
readonly
|
|
5394
|
-
readonly
|
|
5395
|
-
readonly
|
|
5396
|
-
readonly
|
|
5397
|
-
readonly
|
|
5398
|
-
readonly
|
|
5399
|
-
readonly
|
|
5400
|
-
readonly
|
|
5401
|
-
readonly
|
|
5402
|
-
readonly
|
|
5403
|
-
readonly
|
|
5404
|
-
readonly
|
|
5405
|
-
readonly
|
|
5406
|
-
readonly
|
|
5407
|
-
readonly
|
|
5408
|
-
readonly
|
|
5409
|
-
readonly
|
|
5410
|
-
readonly
|
|
5411
|
-
readonly
|
|
5412
|
-
readonly
|
|
5413
|
-
readonly
|
|
5414
|
-
readonly
|
|
5415
|
-
readonly
|
|
5416
|
-
readonly
|
|
5417
|
-
readonly
|
|
5418
|
-
readonly
|
|
5419
|
-
readonly
|
|
5420
|
-
readonly
|
|
5421
|
-
readonly
|
|
5422
|
-
readonly
|
|
5423
|
-
readonly
|
|
5424
|
-
readonly
|
|
5425
|
-
readonly
|
|
5426
|
-
readonly
|
|
5427
|
-
readonly
|
|
5428
|
-
readonly
|
|
5429
|
-
readonly
|
|
5430
|
-
readonly
|
|
5431
|
-
readonly
|
|
5432
|
-
readonly
|
|
5433
|
-
readonly
|
|
5434
|
-
readonly
|
|
5435
|
-
readonly
|
|
5436
|
-
readonly
|
|
5437
|
-
readonly
|
|
5438
|
-
readonly
|
|
5439
|
-
readonly
|
|
5440
|
-
readonly
|
|
5441
|
-
readonly
|
|
5442
|
-
readonly
|
|
5443
|
-
readonly
|
|
5444
|
-
readonly
|
|
5445
|
-
readonly
|
|
5446
|
-
readonly
|
|
5447
|
-
readonly
|
|
5448
|
-
readonly
|
|
5449
|
-
readonly
|
|
5450
|
-
readonly
|
|
5451
|
-
readonly
|
|
5452
|
-
readonly
|
|
5453
|
-
readonly
|
|
5454
|
-
readonly
|
|
5455
|
-
readonly
|
|
5456
|
-
readonly
|
|
5457
|
-
readonly
|
|
5458
|
-
readonly
|
|
5459
|
-
readonly
|
|
5460
|
-
readonly
|
|
5461
|
-
readonly
|
|
5462
|
-
readonly
|
|
5463
|
-
readonly
|
|
5464
|
-
readonly
|
|
5465
|
-
readonly
|
|
5466
|
-
readonly
|
|
5467
|
-
readonly
|
|
5468
|
-
readonly
|
|
5469
|
-
readonly
|
|
5470
|
-
readonly
|
|
5471
|
-
readonly
|
|
5472
|
-
readonly
|
|
5473
|
-
readonly
|
|
5474
|
-
readonly
|
|
5475
|
-
readonly
|
|
5476
|
-
readonly
|
|
5477
|
-
readonly
|
|
5478
|
-
readonly
|
|
5479
|
-
readonly
|
|
5480
|
-
readonly
|
|
5402
|
+
readonly __wbg_indexproperty_free: (a: number) => void;
|
|
5403
|
+
readonly indexproperty_isAscending: (a: number) => number;
|
|
5404
|
+
readonly __wbg_indexdefinition_free: (a: number) => void;
|
|
5405
|
+
readonly indexdefinition_getName: (a: number, b: number) => void;
|
|
5406
|
+
readonly indexdefinition_getProperties: (a: number, b: number) => void;
|
|
5407
|
+
readonly indexdefinition_isUnique: (a: number) => number;
|
|
5408
|
+
readonly indexdefinition_toObject: (a: number, b: number) => void;
|
|
5409
|
+
readonly __wbg_mismatchowneridserror_free: (a: number) => void;
|
|
5410
|
+
readonly mismatchowneridserror_new: (a: number, b: number) => number;
|
|
5411
|
+
readonly mismatchowneridserror_getDocuments: (a: number, b: number) => void;
|
|
5412
|
+
readonly __wbg_extendeddocument_free: (a: number) => void;
|
|
5413
|
+
readonly extendeddocument_new: (a: number, b: number, c: number) => void;
|
|
5414
|
+
readonly extendeddocument_getProtocolVersion: (a: number) => number;
|
|
5415
|
+
readonly extendeddocument_getId: (a: number) => number;
|
|
5416
|
+
readonly extendeddocument_setId: (a: number, b: number) => void;
|
|
5417
|
+
readonly extendeddocument_getType: (a: number, b: number) => void;
|
|
5418
|
+
readonly extendeddocument_setType: (a: number, b: number, c: number) => void;
|
|
5419
|
+
readonly extendeddocument_getDataContractId: (a: number) => number;
|
|
5420
|
+
readonly extendeddocument_getDataContract: (a: number) => number;
|
|
5421
|
+
readonly extendeddocument_setDataContractId: (a: number, b: number, c: number) => void;
|
|
5422
|
+
readonly extendeddocument_getDocument: (a: number) => number;
|
|
5423
|
+
readonly extendeddocument_setOwnerId: (a: number, b: number) => void;
|
|
5424
|
+
readonly extendeddocument_getOwnerId: (a: number) => number;
|
|
5425
|
+
readonly extendeddocument_setRevision: (a: number, b: number, c: number) => void;
|
|
5426
|
+
readonly extendeddocument_getRevision: (a: number, b: number) => void;
|
|
5427
|
+
readonly extendeddocument_setEntropy: (a: number, b: number, c: number, d: number) => void;
|
|
5428
|
+
readonly extendeddocument_getEntropy: (a: number) => number;
|
|
5429
|
+
readonly extendeddocument_setData: (a: number, b: number, c: number) => void;
|
|
5430
|
+
readonly extendeddocument_getData: (a: number, b: number) => void;
|
|
5431
|
+
readonly extendeddocument_set: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5432
|
+
readonly extendeddocument_get: (a: number, b: number, c: number) => number;
|
|
5433
|
+
readonly extendeddocument_setCreatedAt: (a: number, b: number) => void;
|
|
5434
|
+
readonly extendeddocument_setUpdatedAt: (a: number, b: number) => void;
|
|
5435
|
+
readonly extendeddocument_getCreatedAt: (a: number) => number;
|
|
5436
|
+
readonly extendeddocument_getUpdatedAt: (a: number) => number;
|
|
5437
|
+
readonly extendeddocument_getMetadata: (a: number) => number;
|
|
5438
|
+
readonly extendeddocument_setMetadata: (a: number, b: number, c: number) => void;
|
|
5439
|
+
readonly extendeddocument_toObject: (a: number, b: number, c: number) => void;
|
|
5440
|
+
readonly extendeddocument_toJSON: (a: number, b: number) => void;
|
|
5441
|
+
readonly extendeddocument_toBuffer: (a: number, b: number) => void;
|
|
5442
|
+
readonly extendeddocument_hash: (a: number, b: number) => void;
|
|
5443
|
+
readonly extendeddocument_clone: (a: number) => number;
|
|
5444
|
+
readonly __wbg_documenttransition_free: (a: number) => void;
|
|
5445
|
+
readonly documenttransition_getId: (a: number) => number;
|
|
5446
|
+
readonly documenttransition_getType: (a: number, b: number) => void;
|
|
5447
|
+
readonly documenttransition_getAction: (a: number) => number;
|
|
5448
|
+
readonly documenttransition_getDataContract: (a: number) => number;
|
|
5449
|
+
readonly documenttransition_getDataContractId: (a: number) => number;
|
|
5450
|
+
readonly documenttransition_setDataContractId: (a: number, b: number, c: number) => void;
|
|
5451
|
+
readonly documenttransition_getRevision: (a: number) => number;
|
|
5452
|
+
readonly documenttransition_getCreatedAt: (a: number) => number;
|
|
5453
|
+
readonly documenttransition_getUpdatedAt: (a: number) => number;
|
|
5454
|
+
readonly documenttransition_setUpdatedAt: (a: number, b: number, c: number) => void;
|
|
5455
|
+
readonly documenttransition_setCreatedAt: (a: number, b: number) => void;
|
|
5456
|
+
readonly documenttransition_getData: (a: number, b: number) => void;
|
|
5457
|
+
readonly documenttransition_get: (a: number, b: number, c: number) => number;
|
|
5458
|
+
readonly documenttransition_toObject: (a: number, b: number, c: number) => void;
|
|
5459
|
+
readonly documenttransition_toJSON: (a: number, b: number) => void;
|
|
5460
|
+
readonly documenttransition_fromTransitionCreate: (a: number) => number;
|
|
5461
|
+
readonly documenttransition_fromTransitionReplace: (a: number) => number;
|
|
5462
|
+
readonly documenttransition_fromTransitionDelete: (a: number) => number;
|
|
5463
|
+
readonly serializedobjectparsingerror_getParsingError: (a: number, b: number) => void;
|
|
5464
|
+
readonly serializedobjectparsingerror_getCode: (a: number) => number;
|
|
5465
|
+
readonly serializedobjectparsingerror_message: (a: number, b: number) => void;
|
|
5466
|
+
readonly serializedobjectparsingerror_serialize: (a: number, b: number) => void;
|
|
5467
|
+
readonly __wbg_datacontractnotpresenterror_free: (a: number) => void;
|
|
5468
|
+
readonly datacontractnotpresenterror_getDataContractId: (a: number) => number;
|
|
5469
|
+
readonly datacontractnotpresenterror_getCode: (a: number) => number;
|
|
5470
|
+
readonly datacontractnotpresenterror_message: (a: number, b: number) => void;
|
|
5471
|
+
readonly datacontractnotpresenterror_serialize: (a: number, b: number) => void;
|
|
5472
|
+
readonly __wbg_invaliddocumenttransitionactionerror_free: (a: number) => void;
|
|
5473
|
+
readonly invaliddocumenttransitionactionerror_getAction: (a: number, b: number) => void;
|
|
5474
|
+
readonly invaliddocumenttransitionactionerror_getCode: (a: number) => number;
|
|
5475
|
+
readonly invaliddocumenttransitionactionerror_message: (a: number, b: number) => void;
|
|
5476
|
+
readonly invaliddocumenttransitionactionerror_serialize: (a: number, b: number) => void;
|
|
5477
|
+
readonly identityassetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
|
|
5478
|
+
readonly identityassetlocktransactionisnotfounderror_getCode: (a: number) => number;
|
|
5479
|
+
readonly identityassetlocktransactionisnotfounderror_message: (a: number, b: number) => void;
|
|
5480
|
+
readonly identityassetlocktransactionisnotfounderror_serialize: (a: number, b: number) => void;
|
|
5481
|
+
readonly invalididentityassetlocktransactionerror_getErrorMessage: (a: number, b: number) => void;
|
|
5482
|
+
readonly invalididentityassetlocktransactionerror_getCode: (a: number) => number;
|
|
5483
|
+
readonly invalididentityassetlocktransactionerror_message: (a: number, b: number) => void;
|
|
5484
|
+
readonly invalididentityassetlocktransactionerror_serialize: (a: number, b: number) => void;
|
|
5485
|
+
readonly jsonschemacompilationerror_getError: (a: number, b: number) => void;
|
|
5486
|
+
readonly jsonschemacompilationerror_getCode: (a: number) => number;
|
|
5487
|
+
readonly jsonschemacompilationerror_message: (a: number, b: number) => void;
|
|
5488
|
+
readonly jsonschemacompilationerror_serialize: (a: number, b: number) => void;
|
|
5489
|
+
readonly documentalreadypresenterror_getDocumentId: (a: number) => number;
|
|
5490
|
+
readonly documentalreadypresenterror_getCode: (a: number) => number;
|
|
5491
|
+
readonly documentalreadypresenterror_message: (a: number, b: number) => void;
|
|
5492
|
+
readonly documentalreadypresenterror_serialize: (a: number, b: number) => void;
|
|
5493
|
+
readonly documentnotfounderror_getDocumentId: (a: number) => number;
|
|
5494
|
+
readonly documentnotfounderror_getCode: (a: number) => number;
|
|
5495
|
+
readonly documentnotfounderror_message: (a: number, b: number) => void;
|
|
5496
|
+
readonly documentnotfounderror_serialize: (a: number, b: number) => void;
|
|
5497
|
+
readonly documenttimestampsareequalerror_getDocumentId: (a: number) => number;
|
|
5498
|
+
readonly documenttimestampsareequalerror_getCode: (a: number) => number;
|
|
5499
|
+
readonly documenttimestampsareequalerror_message: (a: number, b: number) => void;
|
|
5500
|
+
readonly documenttimestampsareequalerror_serialize: (a: number, b: number) => void;
|
|
5501
|
+
readonly documenttimestampsmismatcherror_getDocumentId: (a: number) => number;
|
|
5502
|
+
readonly documenttimestampsmismatcherror_getCode: (a: number) => number;
|
|
5503
|
+
readonly documenttimestampsmismatcherror_message: (a: number, b: number) => void;
|
|
5504
|
+
readonly documenttimestampsmismatcherror_serialize: (a: number, b: number) => void;
|
|
5505
|
+
readonly identityalreadyexistserror_getIdentityId: (a: number) => number;
|
|
5506
|
+
readonly identityalreadyexistserror_getCode: (a: number) => number;
|
|
5507
|
+
readonly identityalreadyexistserror_message: (a: number, b: number) => void;
|
|
5508
|
+
readonly identityalreadyexistserror_serialize: (a: number, b: number) => void;
|
|
5509
|
+
readonly __wbg_missingidentitypublickeyidserror_free: (a: number) => void;
|
|
5510
|
+
readonly missingidentitypublickeyidserror_getDuplicatedIds: (a: number) => number;
|
|
5511
|
+
readonly valueerror_getMessage: (a: number, b: number) => void;
|
|
5512
|
+
readonly valueerror_getCode: (a: number) => number;
|
|
5513
|
+
readonly valueerror_message: (a: number, b: number) => void;
|
|
5514
|
+
readonly valueerror_serialize: (a: number, b: number) => void;
|
|
5515
|
+
readonly __wbg_identityfacade_free: (a: number) => void;
|
|
5516
|
+
readonly identityfacade_create: (a: number, b: number, c: number, d: number) => void;
|
|
5517
|
+
readonly identityfacade_createFromObject: (a: number, b: number, c: number, d: number) => void;
|
|
5518
|
+
readonly identityfacade_createFromBuffer: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5519
|
+
readonly identityfacade_validate: (a: number, b: number, c: number) => void;
|
|
5520
|
+
readonly identityfacade_createInstantAssetLockProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
5521
|
+
readonly identityfacade_createChainAssetLockProof: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5522
|
+
readonly identityfacade_createIdentityCreateTransition: (a: number, b: number, c: number) => void;
|
|
5523
|
+
readonly identityfacade_createIdentityTopUpTransition: (a: number, b: number, c: number, d: number) => void;
|
|
5524
|
+
readonly identityfacade_createIdentityUpdateTransition: (a: number, b: number, c: number, d: number) => void;
|
|
5525
|
+
readonly __wbg_nonconsensuserrorwasm_free: (a: number) => void;
|
|
5526
|
+
readonly __wbg_publickeysvalidator_free: (a: number) => void;
|
|
5527
|
+
readonly publickeysvalidator_new: (a: number, b: number) => void;
|
|
5528
|
+
readonly publickeysvalidator_validateKeys: (a: number, b: number, c: number) => void;
|
|
5529
|
+
readonly publickeysvalidator_validatePublicKeyStructure: (a: number, b: number, c: number) => void;
|
|
5530
|
+
readonly publickeysvalidator_validateKeysInStateTransition: (a: number, b: number, c: number) => void;
|
|
5531
|
+
readonly __wbg_instantassetlockproof_free: (a: number) => void;
|
|
5532
|
+
readonly instantassetlockproof_new: (a: number, b: number) => void;
|
|
5533
|
+
readonly instantassetlockproof_getType: (a: number) => number;
|
|
5534
|
+
readonly instantassetlockproof_getOutputIndex: (a: number) => number;
|
|
5535
|
+
readonly instantassetlockproof_getOutPoint: (a: number) => number;
|
|
5536
|
+
readonly instantassetlockproof_getOutput: (a: number, b: number) => void;
|
|
5537
|
+
readonly instantassetlockproof_createIdentifier: (a: number, b: number) => void;
|
|
5538
|
+
readonly instantassetlockproof_getInstantLock: (a: number) => number;
|
|
5539
|
+
readonly instantassetlockproof_getTransaction: (a: number) => number;
|
|
5540
|
+
readonly instantassetlockproof_toObject: (a: number, b: number) => void;
|
|
5541
|
+
readonly instantassetlockproof_toJSON: (a: number, b: number) => void;
|
|
5542
|
+
readonly calculateStateTransitionFeeFromOperations: (a: number, b: number, c: number) => void;
|
|
5543
|
+
readonly __wbg_dummyfeesresult_free: (a: number) => void;
|
|
5544
|
+
readonly dummyfeesresult_storageFee: (a: number) => number;
|
|
5545
|
+
readonly dummyfeesresult_processingFee: (a: number) => number;
|
|
5546
|
+
readonly dummyfeesresult_feeRefunds: (a: number) => number;
|
|
5547
|
+
readonly dummyfeesresult_set_storageFee: (a: number, b: number, c: number) => void;
|
|
5548
|
+
readonly dummyfeesresult_set_processingFee: (a: number, b: number, c: number) => void;
|
|
5549
|
+
readonly dummyfeesresult_set_feeRefunds: (a: number, b: number, c: number) => void;
|
|
5550
|
+
readonly __wbg_statetransitionexecutioncontext_free: (a: number) => void;
|
|
5551
|
+
readonly statetransitionexecutioncontext_new: () => number;
|
|
5552
|
+
readonly statetransitionexecutioncontext_enableDryRun: (a: number) => void;
|
|
5553
|
+
readonly statetransitionexecutioncontext_disableDryRun: (a: number) => void;
|
|
5554
|
+
readonly statetransitionexecutioncontext_isDryRun: (a: number) => number;
|
|
5555
|
+
readonly statetransitionexecutioncontext_addOperation: (a: number, b: number, c: number) => void;
|
|
5556
|
+
readonly statetransitionexecutioncontext_getDryOperations: (a: number, b: number) => void;
|
|
5557
|
+
readonly statetransitionexecutioncontext_getOperations: (a: number, b: number) => void;
|
|
5558
|
+
readonly statetransitionexecutioncontext_clearDryOperations: (a: number) => void;
|
|
5559
|
+
readonly indexproperty_getName: (a: number, b: number) => void;
|
|
5560
|
+
readonly __wbg_identityassetlocktransactionisnotfounderror_free: (a: number) => void;
|
|
5561
|
+
readonly __wbg_documentalreadypresenterror_free: (a: number) => void;
|
|
5562
|
+
readonly __wbg_documentnotfounderror_free: (a: number) => void;
|
|
5563
|
+
readonly __wbg_documenttimestampsareequalerror_free: (a: number) => void;
|
|
5564
|
+
readonly __wbg_documenttimestampsmismatcherror_free: (a: number) => void;
|
|
5565
|
+
readonly __wbg_identityalreadyexistserror_free: (a: number) => void;
|
|
5566
|
+
readonly __wbg_serializedobjectparsingerror_free: (a: number) => void;
|
|
5567
|
+
readonly __wbg_invalididentityassetlocktransactionerror_free: (a: number) => void;
|
|
5568
|
+
readonly __wbg_jsonschemacompilationerror_free: (a: number) => void;
|
|
5569
|
+
readonly __wbg_valueerror_free: (a: number) => void;
|
|
5570
|
+
readonly __wbg_invalidactionnameerror_free: (a: number) => void;
|
|
5571
|
+
readonly invalidactionnameerror_new: (a: number, b: number) => number;
|
|
5572
|
+
readonly invalidactionnameerror_getActions: (a: number, b: number) => void;
|
|
5573
|
+
readonly __wbg_document_free: (a: number) => void;
|
|
5574
|
+
readonly document_new: (a: number, b: number, c: number, d: number) => void;
|
|
5575
|
+
readonly document_getId: (a: number) => number;
|
|
5576
|
+
readonly document_setId: (a: number, b: number) => void;
|
|
5577
|
+
readonly document_setOwnerId: (a: number, b: number) => void;
|
|
5578
|
+
readonly document_getOwnerId: (a: number) => number;
|
|
5579
|
+
readonly document_setRevision: (a: number, b: number, c: number) => void;
|
|
5580
|
+
readonly document_getRevision: (a: number, b: number) => void;
|
|
5581
|
+
readonly document_setData: (a: number, b: number, c: number) => void;
|
|
5582
|
+
readonly document_getData: (a: number, b: number) => void;
|
|
5583
|
+
readonly document_set: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5584
|
+
readonly document_get: (a: number, b: number, c: number, d: number) => void;
|
|
5585
|
+
readonly document_setCreatedAt: (a: number, b: number) => void;
|
|
5586
|
+
readonly document_setUpdatedAt: (a: number, b: number) => void;
|
|
5587
|
+
readonly document_getCreatedAt: (a: number) => number;
|
|
5588
|
+
readonly document_getUpdatedAt: (a: number) => number;
|
|
5589
|
+
readonly document_toObject: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
5590
|
+
readonly document_toJSON: (a: number, b: number) => void;
|
|
5591
|
+
readonly document_toBuffer: (a: number, b: number) => void;
|
|
5592
|
+
readonly document_hash: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5593
|
+
readonly document_clone: (a: number) => number;
|
|
5594
|
+
readonly __wbg_invalidjsonschemareferror_free: (a: number) => void;
|
|
5595
|
+
readonly invalidjsonschemareferror_getRefError: (a: number, b: number) => void;
|
|
5596
|
+
readonly invalidjsonschemareferror_getCode: (a: number) => number;
|
|
5597
|
+
readonly invalidjsonschemareferror_message: (a: number, b: number) => void;
|
|
5598
|
+
readonly invalidjsonschemareferror_serialize: (a: number, b: number) => void;
|
|
5599
|
+
readonly __wbg_identityassetlocktransactionoutputnotfounderror_free: (a: number) => void;
|
|
5600
|
+
readonly identityassetlocktransactionoutputnotfounderror_getOutputIndex: (a: number) => number;
|
|
5601
|
+
readonly identityassetlocktransactionoutputnotfounderror_getCode: (a: number) => number;
|
|
5602
|
+
readonly identityassetlocktransactionoutputnotfounderror_message: (a: number, b: number) => void;
|
|
5603
|
+
readonly identityassetlocktransactionoutputnotfounderror_serialize: (a: number, b: number) => void;
|
|
5604
|
+
readonly invalidassetlocktransactionoutputreturnsizeerror_getOutputIndex: (a: number) => number;
|
|
5605
|
+
readonly invalidassetlocktransactionoutputreturnsizeerror_getCode: (a: number) => number;
|
|
5606
|
+
readonly invalidassetlocktransactionoutputreturnsizeerror_message: (a: number, b: number) => void;
|
|
5607
|
+
readonly invalidassetlocktransactionoutputreturnsizeerror_serialize: (a: number, b: number) => void;
|
|
5608
|
+
readonly invalididentityassetlocktransactionoutputerror_getOutputIndex: (a: number) => number;
|
|
5609
|
+
readonly invalididentityassetlocktransactionoutputerror_getCode: (a: number) => number;
|
|
5610
|
+
readonly invalididentityassetlocktransactionoutputerror_message: (a: number, b: number) => void;
|
|
5611
|
+
readonly invalididentityassetlocktransactionoutputerror_serialize: (a: number, b: number) => void;
|
|
5612
|
+
readonly invalididentitycreditwithdrawaltransitioncorefeeerror_getCoreFee: (a: number) => number;
|
|
5613
|
+
readonly invalididentitycreditwithdrawaltransitioncorefeeerror_getCode: (a: number) => number;
|
|
5614
|
+
readonly invalididentitycreditwithdrawaltransitioncorefeeerror_message: (a: number, b: number) => void;
|
|
5615
|
+
readonly invalididentitycreditwithdrawaltransitioncorefeeerror_serialize: (a: number, b: number) => void;
|
|
5616
|
+
readonly __wbg_invalididentitycreditwithdrawaltransitionoutputscripterror_free: (a: number) => void;
|
|
5617
|
+
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_getCode: (a: number) => number;
|
|
5618
|
+
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_message: (a: number, b: number) => void;
|
|
5619
|
+
readonly invalididentitycreditwithdrawaltransitionoutputscripterror_serialize: (a: number, b: number) => void;
|
|
5620
|
+
readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_getPooling: (a: number) => number;
|
|
5621
|
+
readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_getCode: (a: number) => number;
|
|
5622
|
+
readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_message: (a: number, b: number) => void;
|
|
5623
|
+
readonly notimplementedidentitycreditwithdrawaltransitionpoolingerror_serialize: (a: number, b: number) => void;
|
|
5624
|
+
readonly invalididentitykeysignatureerror_getPublicKeyId: (a: number) => number;
|
|
5625
|
+
readonly invalididentitykeysignatureerror_getCode: (a: number) => number;
|
|
5626
|
+
readonly invalididentitykeysignatureerror_message: (a: number, b: number) => void;
|
|
5627
|
+
readonly invalididentitykeysignatureerror_serialize: (a: number, b: number) => void;
|
|
5628
|
+
readonly missingpublickeyerror_getPublicKeyId: (a: number) => number;
|
|
5629
|
+
readonly missingpublickeyerror_getCode: (a: number) => number;
|
|
5630
|
+
readonly missingpublickeyerror_message: (a: number, b: number) => void;
|
|
5631
|
+
readonly missingpublickeyerror_serialize: (a: number, b: number) => void;
|
|
5632
|
+
readonly publickeyisdisablederror_getPublicKeyId: (a: number) => number;
|
|
5633
|
+
readonly publickeyisdisablederror_getCode: (a: number) => number;
|
|
5634
|
+
readonly publickeyisdisablederror_message: (a: number, b: number) => void;
|
|
5635
|
+
readonly publickeyisdisablederror_serialize: (a: number, b: number) => void;
|
|
5636
|
+
readonly deserializeConsensusError: (a: number, b: number, c: number) => void;
|
|
5637
|
+
readonly identitypublickeyisdisablederror_getPublicKeyIndex: (a: number) => number;
|
|
5638
|
+
readonly identitypublickeyisdisablederror_getCode: (a: number) => number;
|
|
5639
|
+
readonly identitypublickeyisdisablederror_message: (a: number, b: number) => void;
|
|
5640
|
+
readonly identitypublickeyisdisablederror_serialize: (a: number, b: number) => void;
|
|
5641
|
+
readonly invalididentitypublickeyiderror_getId: (a: number) => number;
|
|
5642
|
+
readonly invalididentitypublickeyiderror_getCode: (a: number) => number;
|
|
5643
|
+
readonly invalididentitypublickeyiderror_message: (a: number, b: number) => void;
|
|
5644
|
+
readonly invalididentitypublickeyiderror_serialize: (a: number, b: number) => void;
|
|
5645
|
+
readonly maxidentitypublickeylimitreachederror_getMaxItems: (a: number) => number;
|
|
5646
|
+
readonly maxidentitypublickeylimitreachederror_getCode: (a: number) => number;
|
|
5647
|
+
readonly maxidentitypublickeylimitreachederror_message: (a: number, b: number) => void;
|
|
5648
|
+
readonly maxidentitypublickeylimitreachederror_serialize: (a: number, b: number) => void;
|
|
5649
|
+
readonly __wbg_identitycreatetransition_free: (a: number) => void;
|
|
5650
|
+
readonly identitycreatetransition_new: (a: number, b: number) => void;
|
|
5651
|
+
readonly identitycreatetransition_setAssetLockProof: (a: number, b: number, c: number) => void;
|
|
5652
|
+
readonly identitycreatetransition_assetLockProof: (a: number) => number;
|
|
5653
|
+
readonly identitycreatetransition_setPublicKeys: (a: number, b: number, c: number, d: number) => void;
|
|
5654
|
+
readonly identitycreatetransition_addPublicKeys: (a: number, b: number, c: number, d: number) => void;
|
|
5655
|
+
readonly identitycreatetransition_getPublicKeys: (a: number, b: number) => void;
|
|
5656
|
+
readonly identitycreatetransition_getType: (a: number) => number;
|
|
5657
|
+
readonly identitycreatetransition_getIdentityId: (a: number) => number;
|
|
5658
|
+
readonly identitycreatetransition_getOwnerId: (a: number) => number;
|
|
5659
|
+
readonly identitycreatetransition_toObject: (a: number, b: number, c: number) => void;
|
|
5660
|
+
readonly identitycreatetransition_toBuffer: (a: number, b: number) => void;
|
|
5661
|
+
readonly identitycreatetransition_toJSON: (a: number, b: number) => void;
|
|
5662
|
+
readonly identitycreatetransition_getModifiedDataIds: (a: number, b: number) => void;
|
|
5663
|
+
readonly identitycreatetransition_isDataContractStateTransition: (a: number) => number;
|
|
5664
|
+
readonly identitycreatetransition_isDocumentStateTransition: (a: number) => number;
|
|
5665
|
+
readonly identitycreatetransition_isIdentityStateTransition: (a: number) => number;
|
|
5666
|
+
readonly identitycreatetransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
5667
|
+
readonly identitycreatetransition_getSignature: (a: number) => number;
|
|
5668
|
+
readonly identitycreatetransition_setSignature: (a: number, b: number, c: number) => void;
|
|
5669
|
+
readonly __wbg_readoperation_free: (a: number) => void;
|
|
5670
|
+
readonly readoperation_new: (a: number, b: number) => void;
|
|
5671
|
+
readonly readoperation_processingCost: (a: number, b: number) => void;
|
|
5672
|
+
readonly readoperation_storageCost: (a: number, b: number) => void;
|
|
5673
|
+
readonly readoperation_refunds: (a: number) => number;
|
|
5674
|
+
readonly readoperation_toJSON: (a: number, b: number) => void;
|
|
5675
|
+
readonly __wbg_statetransitionfeevalidator_free: (a: number) => void;
|
|
5676
|
+
readonly statetransitionfeevalidator_new: (a: number) => number;
|
|
5677
|
+
readonly statetransitionfeevalidator_validate: (a: number, b: number, c: number) => number;
|
|
5678
|
+
readonly identitycreatetransition_publicKeys: (a: number, b: number) => void;
|
|
5679
|
+
readonly identitycreatetransition_getAssetLockProof: (a: number) => number;
|
|
5680
|
+
readonly identitycreatetransition_identityId: (a: number) => number;
|
|
5681
|
+
readonly __wbg_invalidassetlocktransactionoutputreturnsizeerror_free: (a: number) => void;
|
|
5682
|
+
readonly __wbg_invalididentityassetlocktransactionoutputerror_free: (a: number) => void;
|
|
5481
5683
|
readonly __wbg_invalididentitycreditwithdrawaltransitioncorefeeerror_free: (a: number) => void;
|
|
5482
5684
|
readonly __wbg_notimplementedidentitycreditwithdrawaltransitionpoolingerror_free: (a: number) => void;
|
|
5483
5685
|
readonly __wbg_invalididentitykeysignatureerror_free: (a: number) => void;
|
|
@@ -5502,6 +5704,16 @@ export interface InitOutput {
|
|
|
5502
5704
|
readonly __wbg_invalidinitialrevisionerror_free: (a: number) => void;
|
|
5503
5705
|
readonly invalidinitialrevisionerror_new: (a: number) => number;
|
|
5504
5706
|
readonly invalidinitialrevisionerror_getDocument: (a: number) => number;
|
|
5707
|
+
readonly __wbg_jsonschemaerror_free: (a: number) => void;
|
|
5708
|
+
readonly jsonschemaerror_getKeyword: (a: number, b: number) => void;
|
|
5709
|
+
readonly jsonschemaerror_getInstancePath: (a: number, b: number) => void;
|
|
5710
|
+
readonly jsonschemaerror_getSchemaPath: (a: number, b: number) => void;
|
|
5711
|
+
readonly jsonschemaerror_getPropertyName: (a: number, b: number) => void;
|
|
5712
|
+
readonly jsonschemaerror_getParams: (a: number, b: number) => void;
|
|
5713
|
+
readonly jsonschemaerror_getCode: (a: number) => number;
|
|
5714
|
+
readonly jsonschemaerror_toString: (a: number, b: number) => void;
|
|
5715
|
+
readonly jsonschemaerror_message: (a: number, b: number) => void;
|
|
5716
|
+
readonly jsonschemaerror_serialize: (a: number, b: number) => void;
|
|
5505
5717
|
readonly __wbg_documenttimestampwindowviolationerror_free: (a: number) => void;
|
|
5506
5718
|
readonly documenttimestampwindowviolationerror_getDocumentId: (a: number) => number;
|
|
5507
5719
|
readonly documenttimestampwindowviolationerror_getTimestampName: (a: number, b: number) => void;
|
|
@@ -5522,11 +5734,13 @@ export interface InitOutput {
|
|
|
5522
5734
|
readonly identityfactory_createIdentityCreateTransition: (a: number, b: number, c: number) => void;
|
|
5523
5735
|
readonly identityfactory_createIdentityTopUpTransition: (a: number, b: number, c: number, d: number) => void;
|
|
5524
5736
|
readonly identityfactory_createIdentityUpdateTransition: (a: number, b: number, c: number, d: number) => void;
|
|
5737
|
+
readonly __wbg_assetlockoutputnotfounderror_free: (a: number) => void;
|
|
5525
5738
|
readonly __wbg_assetlocktransactionisnotfounderror_free: (a: number) => void;
|
|
5526
5739
|
readonly assetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
|
|
5527
5740
|
readonly __wbg_identitycreatetransitionbasicvalidator_free: (a: number) => void;
|
|
5528
5741
|
readonly identitycreatetransitionbasicvalidator_new: (a: number, b: number, c: number) => void;
|
|
5529
5742
|
readonly identitycreatetransitionbasicvalidator_validate: (a: number, b: number, c: number) => number;
|
|
5743
|
+
readonly generateTemporaryEcdsaPrivateKey: () => number;
|
|
5530
5744
|
readonly tryingtoreplaceimmutabledocumenterror_new: (a: number) => number;
|
|
5531
5745
|
readonly dashplatformprotocol_protocol_version: (a: number) => number;
|
|
5532
5746
|
readonly __wbg_tryingtoreplaceimmutabledocumenterror_free: (a: number) => void;
|
|
@@ -5534,14 +5748,6 @@ export interface InitOutput {
|
|
|
5534
5748
|
readonly datacontractgenericerror_getMessage: (a: number, b: number) => void;
|
|
5535
5749
|
readonly __wbg_documentalreadyexistserror_free: (a: number) => void;
|
|
5536
5750
|
readonly documentalreadyexistserror_getDocumentTransition: (a: number) => number;
|
|
5537
|
-
readonly __wbg_documentfacade_free: (a: number) => void;
|
|
5538
|
-
readonly documentfacade_new: (a: number, b: number, c: number) => number;
|
|
5539
|
-
readonly documentfacade_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
5540
|
-
readonly documentfacade_createFromObject: (a: number, b: number, c: number) => number;
|
|
5541
|
-
readonly documentfacade_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
5542
|
-
readonly documentfacade_createStateTransition: (a: number, b: number, c: number) => void;
|
|
5543
|
-
readonly documentfacade_validate: (a: number, b: number) => number;
|
|
5544
|
-
readonly documentfacade_validate_raw_document: (a: number, b: number) => number;
|
|
5545
5751
|
readonly findDuplicatesById: (a: number, b: number) => void;
|
|
5546
5752
|
readonly invalididentitypublickeytypeerror_new: (a: number, b: number) => void;
|
|
5547
5753
|
readonly invalididentitypublickeytypeerror_getPublicKeyType: (a: number) => number;
|
|
@@ -5596,6 +5802,22 @@ export interface InitOutput {
|
|
|
5596
5802
|
readonly protocolversionparsingerror_getCode: (a: number) => number;
|
|
5597
5803
|
readonly protocolversionparsingerror_serialize: (a: number, b: number) => void;
|
|
5598
5804
|
readonly protocolversionparsingerror_message: (a: number, b: number) => void;
|
|
5805
|
+
readonly missingdatacontractiderror_getCode: (a: number) => number;
|
|
5806
|
+
readonly missingdatacontractiderror_message: (a: number, b: number) => void;
|
|
5807
|
+
readonly missingdatacontractiderror_serialize: (a: number, b: number) => void;
|
|
5808
|
+
readonly missingdocumenttransitiontypeerror_getCode: (a: number) => number;
|
|
5809
|
+
readonly missingdocumenttransitiontypeerror_message: (a: number, b: number) => void;
|
|
5810
|
+
readonly missingdocumenttransitiontypeerror_serialize: (a: number, b: number) => void;
|
|
5811
|
+
readonly __wbg_invalidinstantassetlockproofsignatureerror_free: (a: number) => void;
|
|
5812
|
+
readonly invalidinstantassetlockproofsignatureerror_getCode: (a: number) => number;
|
|
5813
|
+
readonly invalidinstantassetlockproofsignatureerror_message: (a: number, b: number) => void;
|
|
5814
|
+
readonly invalidinstantassetlockproofsignatureerror_serialize: (a: number, b: number) => void;
|
|
5815
|
+
readonly missingmasterpublickeyerror_getCode: (a: number) => number;
|
|
5816
|
+
readonly missingmasterpublickeyerror_message: (a: number, b: number) => void;
|
|
5817
|
+
readonly missingmasterpublickeyerror_serialize: (a: number, b: number) => void;
|
|
5818
|
+
readonly invalidstatetransitionsignatureerror_getCode: (a: number) => number;
|
|
5819
|
+
readonly invalidstatetransitionsignatureerror_message: (a: number, b: number) => void;
|
|
5820
|
+
readonly invalidstatetransitionsignatureerror_serialize: (a: number, b: number) => void;
|
|
5599
5821
|
readonly __wbg_identitytopuptransition_free: (a: number) => void;
|
|
5600
5822
|
readonly identitytopuptransition_new: (a: number, b: number) => void;
|
|
5601
5823
|
readonly identitytopuptransition_setAssetLockProof: (a: number, b: number, c: number) => void;
|
|
@@ -5615,7 +5837,28 @@ export interface InitOutput {
|
|
|
5615
5837
|
readonly identitytopuptransition_setSignature: (a: number, b: number, c: number) => void;
|
|
5616
5838
|
readonly identitytopuptransition_getAssetLockProof: (a: number) => number;
|
|
5617
5839
|
readonly identitytopuptransition_identityId: (a: number) => number;
|
|
5840
|
+
readonly __wbg_missingdocumenttransitiontypeerror_free: (a: number) => void;
|
|
5841
|
+
readonly __wbg_missingdatacontractiderror_free: (a: number) => void;
|
|
5842
|
+
readonly __wbg_missingmasterpublickeyerror_free: (a: number) => void;
|
|
5843
|
+
readonly __wbg_invalidstatetransitionsignatureerror_free: (a: number) => void;
|
|
5844
|
+
readonly validateDataContractUpdateTransitionState: (a: number, b: number, c: number) => number;
|
|
5845
|
+
readonly validateIndicesAreBackwardCompatible: (a: number, b: number, c: number) => void;
|
|
5846
|
+
readonly validateDataContractUpdateTransitionBasic: (a: number, b: number, c: number) => number;
|
|
5847
|
+
readonly __wbg_documentreplacetransition_free: (a: number) => void;
|
|
5848
|
+
readonly documentreplacetransition_from_raw_object: (a: number, b: number, c: number) => void;
|
|
5849
|
+
readonly documentreplacetransition_getAction: (a: number) => number;
|
|
5850
|
+
readonly documentreplacetransition_getRevision: (a: number) => number;
|
|
5851
|
+
readonly documentreplacetransition_getUpdatedAt: (a: number) => number;
|
|
5852
|
+
readonly documentreplacetransition_toObject: (a: number, b: number, c: number) => void;
|
|
5853
|
+
readonly documentreplacetransition_toJSON: (a: number, b: number) => void;
|
|
5854
|
+
readonly documentreplacetransition_getData: (a: number, b: number) => void;
|
|
5855
|
+
readonly documentreplacetransition_getId: (a: number) => number;
|
|
5856
|
+
readonly documentreplacetransition_getType: (a: number, b: number) => void;
|
|
5857
|
+
readonly documentreplacetransition_getDataContract: (a: number) => number;
|
|
5858
|
+
readonly documentreplacetransition_getDataContractId: (a: number) => number;
|
|
5859
|
+
readonly documentreplacetransition_get: (a: number, b: number, c: number, d: number) => void;
|
|
5618
5860
|
readonly validatePartialCompoundIndices: (a: number, b: number, c: number) => void;
|
|
5861
|
+
readonly validateDocumentsUniquenessByIndices: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
5619
5862
|
readonly __wbg_invalidindexedpropertyconstrainterror_free: (a: number) => void;
|
|
5620
5863
|
readonly invalidindexedpropertyconstrainterror_getDocumentType: (a: number, b: number) => void;
|
|
5621
5864
|
readonly invalidindexedpropertyconstrainterror_getIndexName: (a: number, b: number) => void;
|
|
@@ -5625,28 +5868,13 @@ export interface InitOutput {
|
|
|
5625
5868
|
readonly invalidindexedpropertyconstrainterror_getCode: (a: number) => number;
|
|
5626
5869
|
readonly invalidindexedpropertyconstrainterror_message: (a: number, b: number) => void;
|
|
5627
5870
|
readonly invalidindexedpropertyconstrainterror_serialize: (a: number, b: number) => void;
|
|
5628
|
-
readonly
|
|
5629
|
-
readonly missingdatacontractiderror_message: (a: number, b: number) => void;
|
|
5630
|
-
readonly missingdatacontractiderror_serialize: (a: number, b: number) => void;
|
|
5871
|
+
readonly __wbg_missingdocumenttransitionactionerror_free: (a: number) => void;
|
|
5631
5872
|
readonly missingdocumenttransitionactionerror_getCode: (a: number) => number;
|
|
5632
5873
|
readonly missingdocumenttransitionactionerror_message: (a: number, b: number) => void;
|
|
5633
5874
|
readonly missingdocumenttransitionactionerror_serialize: (a: number, b: number) => void;
|
|
5634
|
-
readonly missingdocumenttransitiontypeerror_getCode: (a: number) => number;
|
|
5635
|
-
readonly missingdocumenttransitiontypeerror_message: (a: number, b: number) => void;
|
|
5636
|
-
readonly missingdocumenttransitiontypeerror_serialize: (a: number, b: number) => void;
|
|
5637
5875
|
readonly missingdocumenttypeerror_getCode: (a: number) => number;
|
|
5638
5876
|
readonly missingdocumenttypeerror_message: (a: number, b: number) => void;
|
|
5639
5877
|
readonly missingdocumenttypeerror_serialize: (a: number, b: number) => void;
|
|
5640
|
-
readonly __wbg_invalidinstantassetlockproofsignatureerror_free: (a: number) => void;
|
|
5641
|
-
readonly invalidinstantassetlockproofsignatureerror_getCode: (a: number) => number;
|
|
5642
|
-
readonly invalidinstantassetlockproofsignatureerror_message: (a: number, b: number) => void;
|
|
5643
|
-
readonly invalidinstantassetlockproofsignatureerror_serialize: (a: number, b: number) => void;
|
|
5644
|
-
readonly missingmasterpublickeyerror_getCode: (a: number) => number;
|
|
5645
|
-
readonly missingmasterpublickeyerror_message: (a: number, b: number) => void;
|
|
5646
|
-
readonly missingmasterpublickeyerror_serialize: (a: number, b: number) => void;
|
|
5647
|
-
readonly invalidstatetransitionsignatureerror_getCode: (a: number) => number;
|
|
5648
|
-
readonly invalidstatetransitionsignatureerror_message: (a: number, b: number) => void;
|
|
5649
|
-
readonly invalidstatetransitionsignatureerror_serialize: (a: number, b: number) => void;
|
|
5650
5878
|
readonly __wbg_invalidstatetransitiontypeerror_free: (a: number) => void;
|
|
5651
5879
|
readonly invalidstatetransitiontypeerror_new: (a: number) => number;
|
|
5652
5880
|
readonly invalidstatetransitiontypeerror_getType: (a: number) => number;
|
|
@@ -5666,6 +5894,19 @@ export interface InitOutput {
|
|
|
5666
5894
|
readonly datacontractalreadypresenterror_getCode: (a: number) => number;
|
|
5667
5895
|
readonly datacontractalreadypresenterror_message: (a: number, b: number) => void;
|
|
5668
5896
|
readonly datacontractalreadypresenterror_serialize: (a: number, b: number) => void;
|
|
5897
|
+
readonly __wbg_platformvalueerror_free: (a: number) => void;
|
|
5898
|
+
readonly platformvalueerror_getMessage: (a: number, b: number) => void;
|
|
5899
|
+
readonly platformvalueerror_toString: (a: number, b: number) => void;
|
|
5900
|
+
readonly __wbg_chainassetlockproof_free: (a: number) => void;
|
|
5901
|
+
readonly chainassetlockproof_new: (a: number, b: number) => void;
|
|
5902
|
+
readonly chainassetlockproof_getType: (a: number) => number;
|
|
5903
|
+
readonly chainassetlockproof_getCoreChainLockedHeight: (a: number) => number;
|
|
5904
|
+
readonly chainassetlockproof_setCoreChainLockedHeight: (a: number, b: number) => void;
|
|
5905
|
+
readonly chainassetlockproof_getOutPoint: (a: number) => number;
|
|
5906
|
+
readonly chainassetlockproof_setOutPoint: (a: number, b: number, c: number, d: number) => void;
|
|
5907
|
+
readonly chainassetlockproof_toJSON: (a: number, b: number) => void;
|
|
5908
|
+
readonly chainassetlockproof_toObject: (a: number, b: number) => void;
|
|
5909
|
+
readonly chainassetlockproof_createIdentifier: (a: number, b: number) => void;
|
|
5669
5910
|
readonly __wbg_identityupdatetransitionbasicvalidator_free: (a: number) => void;
|
|
5670
5911
|
readonly identityupdatetransitionbasicvalidator_new: (a: number, b: number) => void;
|
|
5671
5912
|
readonly identityupdatetransitionbasicvalidator_validate: (a: number, b: number, c: number) => void;
|
|
@@ -5694,6 +5935,7 @@ export interface InitOutput {
|
|
|
5694
5935
|
readonly identity_addPublicKey: (a: number, b: number) => void;
|
|
5695
5936
|
readonly identity_addPublicKeys: (a: number, b: number, c: number) => void;
|
|
5696
5937
|
readonly identity_getPublicKeyMaxId: (a: number) => number;
|
|
5938
|
+
readonly identity_fromBuffer: (a: number, b: number, c: number) => void;
|
|
5697
5939
|
readonly __wbg_feeresult_free: (a: number) => void;
|
|
5698
5940
|
readonly feeresult_new: () => number;
|
|
5699
5941
|
readonly feeresult_storageFee: (a: number) => number;
|
|
@@ -5708,17 +5950,25 @@ export interface InitOutput {
|
|
|
5708
5950
|
readonly feeresult_set_desiredAmount: (a: number, b: number, c: number) => void;
|
|
5709
5951
|
readonly feeresult_set_requiredAmount: (a: number, b: number, c: number) => void;
|
|
5710
5952
|
readonly feeresult_set_totalRefunds: (a: number, b: number, c: number) => void;
|
|
5711
|
-
readonly decodeProtocolEntity: (a: number, b: number, c: number) => void;
|
|
5712
|
-
readonly __wbg_missingdocumenttransitionactionerror_free: (a: number) => void;
|
|
5713
|
-
readonly __wbg_missingdocumenttransitiontypeerror_free: (a: number) => void;
|
|
5714
5953
|
readonly __wbg_missingdocumenttypeerror_free: (a: number) => void;
|
|
5715
|
-
readonly
|
|
5716
|
-
readonly __wbg_missingmasterpublickeyerror_free: (a: number) => void;
|
|
5717
|
-
readonly __wbg_invalidstatetransitionsignatureerror_free: (a: number) => void;
|
|
5954
|
+
readonly platformvalueerror_valueOf: (a: number, b: number) => void;
|
|
5718
5955
|
readonly identity_getBalance: (a: number) => number;
|
|
5719
|
-
readonly
|
|
5720
|
-
readonly
|
|
5721
|
-
readonly
|
|
5956
|
+
readonly __wbg_invaliddocumenttypeindatacontracterror_free: (a: number) => void;
|
|
5957
|
+
readonly invaliddocumenttypeindatacontracterror_new: (a: number, b: number, c: number) => number;
|
|
5958
|
+
readonly invaliddocumenttypeindatacontracterror_getType: (a: number, b: number) => void;
|
|
5959
|
+
readonly invaliddocumenttypeindatacontracterror_getDataContractId: (a: number) => number;
|
|
5960
|
+
readonly __wbg_datacontractvalidator_free: (a: number) => void;
|
|
5961
|
+
readonly datacontractvalidator_new: () => number;
|
|
5962
|
+
readonly datacontractvalidator_validate: (a: number, b: number, c: number) => void;
|
|
5963
|
+
readonly __wbg_datacontractfactory_free: (a: number) => void;
|
|
5964
|
+
readonly datacontractfactory_new: (a: number, b: number, c: number) => number;
|
|
5965
|
+
readonly datacontractfactory_create: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5966
|
+
readonly datacontractfactory_createFromObject: (a: number, b: number, c: number) => number;
|
|
5967
|
+
readonly datacontractfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
5968
|
+
readonly datacontractfactory_createDataContractCreateTransition: (a: number, b: number) => number;
|
|
5969
|
+
readonly __wbg_datatriggerexecutionresult_free: (a: number) => void;
|
|
5970
|
+
readonly datatriggerexecutionresult_isOk: (a: number) => number;
|
|
5971
|
+
readonly datatriggerexecutionresult_getErrors: (a: number) => number;
|
|
5722
5972
|
readonly __wbg_documentcreatetransition_free: (a: number) => void;
|
|
5723
5973
|
readonly documentcreatetransition_from_raw_object: (a: number, b: number, c: number) => void;
|
|
5724
5974
|
readonly documentcreatetransition_getEntropy: (a: number, b: number) => void;
|
|
@@ -5734,20 +5984,6 @@ export interface InitOutput {
|
|
|
5734
5984
|
readonly documentcreatetransition_toObject: (a: number, b: number, c: number) => void;
|
|
5735
5985
|
readonly documentcreatetransition_toJSON: (a: number, b: number) => void;
|
|
5736
5986
|
readonly documentcreatetransition_getData: (a: number, b: number) => void;
|
|
5737
|
-
readonly __wbg_documentreplacetransition_free: (a: number) => void;
|
|
5738
|
-
readonly documentreplacetransition_from_raw_object: (a: number, b: number, c: number) => void;
|
|
5739
|
-
readonly documentreplacetransition_getAction: (a: number) => number;
|
|
5740
|
-
readonly documentreplacetransition_getRevision: (a: number) => number;
|
|
5741
|
-
readonly documentreplacetransition_getUpdatedAt: (a: number) => number;
|
|
5742
|
-
readonly documentreplacetransition_toObject: (a: number, b: number, c: number) => void;
|
|
5743
|
-
readonly documentreplacetransition_toJSON: (a: number, b: number) => void;
|
|
5744
|
-
readonly documentreplacetransition_getData: (a: number, b: number) => void;
|
|
5745
|
-
readonly documentreplacetransition_getId: (a: number) => number;
|
|
5746
|
-
readonly documentreplacetransition_getType: (a: number, b: number) => void;
|
|
5747
|
-
readonly documentreplacetransition_getDataContract: (a: number) => number;
|
|
5748
|
-
readonly documentreplacetransition_getDataContractId: (a: number) => number;
|
|
5749
|
-
readonly documentreplacetransition_get: (a: number, b: number, c: number, d: number) => void;
|
|
5750
|
-
readonly validateDocumentsUniquenessByIndices: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
5751
5987
|
readonly __wbg_invalidindexpropertytypeerror_free: (a: number) => void;
|
|
5752
5988
|
readonly invalidindexpropertytypeerror_getDocumentType: (a: number, b: number) => void;
|
|
5753
5989
|
readonly invalidindexpropertytypeerror_getIndexName: (a: number, b: number) => void;
|
|
@@ -5756,6 +5992,17 @@ export interface InitOutput {
|
|
|
5756
5992
|
readonly invalidindexpropertytypeerror_getCode: (a: number) => number;
|
|
5757
5993
|
readonly invalidindexpropertytypeerror_message: (a: number, b: number) => void;
|
|
5758
5994
|
readonly invalidindexpropertytypeerror_serialize: (a: number, b: number) => void;
|
|
5995
|
+
readonly __wbg_invalididentitypublickeysecuritylevelerror_free: (a: number) => void;
|
|
5996
|
+
readonly invalididentitypublickeysecuritylevelerror_getPublicKeyId: (a: number) => number;
|
|
5997
|
+
readonly invalididentitypublickeysecuritylevelerror_getPublicKeyPurpose: (a: number) => number;
|
|
5998
|
+
readonly invalididentitypublickeysecuritylevelerror_getPublicKeySecurityLevel: (a: number) => number;
|
|
5999
|
+
readonly invalididentitypublickeysecuritylevelerror_getCode: (a: number) => number;
|
|
6000
|
+
readonly invalididentitypublickeysecuritylevelerror_message: (a: number, b: number) => void;
|
|
6001
|
+
readonly invalididentitypublickeysecuritylevelerror_serialize: (a: number, b: number) => void;
|
|
6002
|
+
readonly missingstatetransitiontypeerror_new: () => number;
|
|
6003
|
+
readonly missingstatetransitiontypeerror_getCode: (a: number) => number;
|
|
6004
|
+
readonly missingstatetransitiontypeerror_message: (a: number, b: number) => void;
|
|
6005
|
+
readonly missingstatetransitiontypeerror_serialize: (a: number, b: number) => void;
|
|
5759
6006
|
readonly __wbg_identitynotfounderror_free: (a: number) => void;
|
|
5760
6007
|
readonly identitynotfounderror_new: (a: number) => number;
|
|
5761
6008
|
readonly identitynotfounderror_getIdentityId: (a: number) => number;
|
|
@@ -5776,19 +6023,15 @@ export interface InitOutput {
|
|
|
5776
6023
|
readonly identitypublickeydisabledatwindowviolationerror_getCode: (a: number) => number;
|
|
5777
6024
|
readonly identitypublickeydisabledatwindowviolationerror_message: (a: number, b: number) => void;
|
|
5778
6025
|
readonly identitypublickeydisabledatwindowviolationerror_serialize: (a: number, b: number) => void;
|
|
5779
|
-
readonly
|
|
5780
|
-
readonly
|
|
5781
|
-
readonly
|
|
5782
|
-
readonly chainassetlockproof_getCoreChainLockedHeight: (a: number) => number;
|
|
5783
|
-
readonly chainassetlockproof_setCoreChainLockedHeight: (a: number, b: number) => void;
|
|
5784
|
-
readonly chainassetlockproof_getOutPoint: (a: number) => number;
|
|
5785
|
-
readonly chainassetlockproof_setOutPoint: (a: number, b: number, c: number, d: number) => void;
|
|
5786
|
-
readonly chainassetlockproof_toJSON: (a: number, b: number) => void;
|
|
5787
|
-
readonly chainassetlockproof_toObject: (a: number, b: number) => void;
|
|
5788
|
-
readonly chainassetlockproof_createIdentifier: (a: number, b: number) => void;
|
|
6026
|
+
readonly __wbg_publickeyvalidationerror_free: (a: number) => void;
|
|
6027
|
+
readonly publickeyvalidationerror_message: (a: number) => number;
|
|
6028
|
+
readonly getCreditsConversionRatio: () => number;
|
|
5789
6029
|
readonly __wbg_identitytopuptransitionbasicvalidator_free: (a: number) => void;
|
|
5790
6030
|
readonly identitytopuptransitionbasicvalidator_new: (a: number, b: number) => void;
|
|
5791
6031
|
readonly identitytopuptransitionbasicvalidator_validate: (a: number, b: number, c: number) => number;
|
|
6032
|
+
readonly __wbg_identityupdatepublickeysvalidator_free: (a: number) => void;
|
|
6033
|
+
readonly identityupdatepublickeysvalidator_new: () => number;
|
|
6034
|
+
readonly identityupdatepublickeysvalidator_validate: (a: number, b: number, c: number, d: number) => void;
|
|
5792
6035
|
readonly __wbg_identityupdatetransition_free: (a: number) => void;
|
|
5793
6036
|
readonly identityupdatetransition_new: (a: number, b: number) => void;
|
|
5794
6037
|
readonly identityupdatetransition_setPublicKeysToAdd: (a: number, b: number, c: number, d: number) => void;
|
|
@@ -5819,48 +6062,60 @@ export interface InitOutput {
|
|
|
5819
6062
|
readonly __wbg_publickeyssignaturesvalidator_free: (a: number) => void;
|
|
5820
6063
|
readonly publickeyssignaturesvalidator_new: (a: number) => number;
|
|
5821
6064
|
readonly publickeyssignaturesvalidator_validate: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6065
|
+
readonly __wbg_invalidstatetransitionerror_free: (a: number) => void;
|
|
6066
|
+
readonly invalidstatetransitionerror_new_wasm: (a: number, b: number, c: number, d: number) => void;
|
|
6067
|
+
readonly invalidstatetransitionerror_getErrors: (a: number, b: number) => void;
|
|
6068
|
+
readonly invalidstatetransitionerror_valueOf: (a: number, b: number) => void;
|
|
5822
6069
|
readonly __wbg_statetransitionfactory_free: (a: number) => void;
|
|
5823
6070
|
readonly statetransitionfactory_new: (a: number, b: number, c: number) => void;
|
|
5824
6071
|
readonly statetransitionfactory_createFromObject: (a: number, b: number, c: number) => number;
|
|
5825
6072
|
readonly statetransitionfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
6073
|
+
readonly calculateStateTransitionFee: (a: number, b: number, c: number) => void;
|
|
6074
|
+
readonly getLatestProtocolVersion: () => number;
|
|
5826
6075
|
readonly identityupdatetransition_getPublicKeysToAdd: (a: number, b: number) => void;
|
|
6076
|
+
readonly invalidstatetransitionerror_getRawStateTransition: (a: number) => number;
|
|
5827
6077
|
readonly identityupdatetransition_identityId: (a: number) => number;
|
|
5828
|
-
readonly __wbg_invaliddocumenttypeindatacontracterror_free: (a: number) => void;
|
|
5829
|
-
readonly invaliddocumenttypeindatacontracterror_new: (a: number, b: number, c: number) => number;
|
|
5830
|
-
readonly invaliddocumenttypeindatacontracterror_getType: (a: number, b: number) => void;
|
|
5831
|
-
readonly invaliddocumenttypeindatacontracterror_getDataContractId: (a: number) => number;
|
|
5832
|
-
readonly __wbg_datacontractvalidator_free: (a: number) => void;
|
|
5833
|
-
readonly datacontractvalidator_new: () => number;
|
|
5834
|
-
readonly datacontractvalidator_validate: (a: number, b: number, c: number) => void;
|
|
5835
|
-
readonly __wbg_datacontractfactory_free: (a: number) => void;
|
|
5836
|
-
readonly datacontractfactory_new: (a: number, b: number, c: number) => number;
|
|
5837
|
-
readonly datacontractfactory_create: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5838
|
-
readonly datacontractfactory_createFromObject: (a: number, b: number, c: number) => number;
|
|
5839
|
-
readonly datacontractfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
5840
|
-
readonly datacontractfactory_createDataContractCreateTransition: (a: number, b: number) => number;
|
|
5841
|
-
readonly __wbg_datatriggerexecutionresult_free: (a: number) => void;
|
|
5842
|
-
readonly datatriggerexecutionresult_isOk: (a: number) => number;
|
|
5843
|
-
readonly datatriggerexecutionresult_getErrors: (a: number) => number;
|
|
5844
|
-
readonly __wbg_invalididentitypublickeysecuritylevelerror_free: (a: number) => void;
|
|
5845
|
-
readonly invalididentitypublickeysecuritylevelerror_getPublicKeyId: (a: number) => number;
|
|
5846
|
-
readonly invalididentitypublickeysecuritylevelerror_getPublicKeyPurpose: (a: number) => number;
|
|
5847
|
-
readonly invalididentitypublickeysecuritylevelerror_getPublicKeySecurityLevel: (a: number) => number;
|
|
5848
|
-
readonly invalididentitypublickeysecuritylevelerror_getCode: (a: number) => number;
|
|
5849
|
-
readonly invalididentitypublickeysecuritylevelerror_message: (a: number, b: number) => void;
|
|
5850
|
-
readonly invalididentitypublickeysecuritylevelerror_serialize: (a: number, b: number) => void;
|
|
5851
|
-
readonly missingstatetransitiontypeerror_new: () => number;
|
|
5852
|
-
readonly missingstatetransitiontypeerror_getCode: (a: number) => number;
|
|
5853
|
-
readonly missingstatetransitiontypeerror_message: (a: number, b: number) => void;
|
|
5854
|
-
readonly missingstatetransitiontypeerror_serialize: (a: number, b: number) => void;
|
|
5855
|
-
readonly __wbg_publickeyvalidationerror_free: (a: number) => void;
|
|
5856
|
-
readonly publickeyvalidationerror_message: (a: number) => number;
|
|
5857
|
-
readonly __wbg_identityupdatepublickeysvalidator_free: (a: number) => void;
|
|
5858
|
-
readonly identityupdatepublickeysvalidator_validate: (a: number, b: number, c: number, d: number) => void;
|
|
5859
6078
|
readonly nodocumentssuppliederror_new: () => number;
|
|
5860
|
-
readonly identityupdatepublickeysvalidator_new: () => number;
|
|
5861
6079
|
readonly __wbg_nodocumentssuppliederror_free: (a: number) => void;
|
|
5862
6080
|
readonly __wbg_missingstatetransitiontypeerror_free: (a: number) => void;
|
|
6081
|
+
readonly __wbg_identitypublickeywithwitness_free: (a: number) => void;
|
|
6082
|
+
readonly identitypublickeywithwitness_new: (a: number, b: number) => void;
|
|
6083
|
+
readonly identitypublickeywithwitness_getId: (a: number) => number;
|
|
6084
|
+
readonly identitypublickeywithwitness_setId: (a: number, b: number) => void;
|
|
6085
|
+
readonly identitypublickeywithwitness_getType: (a: number) => number;
|
|
6086
|
+
readonly identitypublickeywithwitness_setType: (a: number, b: number, c: number) => void;
|
|
6087
|
+
readonly identitypublickeywithwitness_setData: (a: number, b: number, c: number, d: number) => void;
|
|
6088
|
+
readonly identitypublickeywithwitness_getData: (a: number) => number;
|
|
6089
|
+
readonly identitypublickeywithwitness_setPurpose: (a: number, b: number, c: number) => void;
|
|
6090
|
+
readonly identitypublickeywithwitness_getPurpose: (a: number) => number;
|
|
6091
|
+
readonly identitypublickeywithwitness_setSecurityLevel: (a: number, b: number, c: number) => void;
|
|
6092
|
+
readonly identitypublickeywithwitness_getSecurityLevel: (a: number) => number;
|
|
6093
|
+
readonly identitypublickeywithwitness_setReadOnly: (a: number, b: number) => void;
|
|
6094
|
+
readonly identitypublickeywithwitness_isReadOnly: (a: number) => number;
|
|
6095
|
+
readonly identitypublickeywithwitness_setSignature: (a: number, b: number, c: number) => void;
|
|
6096
|
+
readonly identitypublickeywithwitness_getSignature: (a: number, b: number) => void;
|
|
6097
|
+
readonly identitypublickeywithwitness_hash: (a: number, b: number) => void;
|
|
6098
|
+
readonly identitypublickeywithwitness_isMaster: (a: number) => number;
|
|
6099
|
+
readonly identitypublickeywithwitness_toJSON: (a: number, b: number) => void;
|
|
6100
|
+
readonly identitypublickeywithwitness_toObject: (a: number, b: number, c: number) => void;
|
|
6101
|
+
readonly __wbg_invaliddatacontracterror_free: (a: number) => void;
|
|
6102
|
+
readonly invaliddatacontracterror_getErrors: (a: number, b: number) => void;
|
|
6103
|
+
readonly invaliddatacontracterror_getRawDataContract: (a: number) => number;
|
|
6104
|
+
readonly invaliddatacontracterror_getMessage: (a: number, b: number) => void;
|
|
5863
6105
|
readonly __wbg_invalidactionerror_free: (a: number) => void;
|
|
6106
|
+
readonly __wbg_documenttransitions_free: (a: number) => void;
|
|
6107
|
+
readonly documenttransitions_new: () => number;
|
|
6108
|
+
readonly documenttransitions_addTransitionCreate: (a: number, b: number) => void;
|
|
6109
|
+
readonly documenttransitions_addTransitionReplace: (a: number, b: number) => void;
|
|
6110
|
+
readonly documenttransitions_addTransitionDelete: (a: number, b: number) => void;
|
|
6111
|
+
readonly __wbg_documentfactory_free: (a: number) => void;
|
|
6112
|
+
readonly documentfactory_new: (a: number, b: number, c: number, d: number) => number;
|
|
6113
|
+
readonly documentfactory_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
6114
|
+
readonly documentfactory_createStateTransition: (a: number, b: number, c: number) => void;
|
|
6115
|
+
readonly documentfactory_createFromObject: (a: number, b: number, c: number) => number;
|
|
6116
|
+
readonly documentfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
6117
|
+
readonly documentfactory_createExtendedDocumentFromDocumentBuffer: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
6118
|
+
readonly generateDocumentId: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
5864
6119
|
readonly applyDocumentsBatchTransition: (a: number, b: number, c: number) => number;
|
|
5865
6120
|
readonly validateDocumentsBatchTransitionBasic: (a: number, b: number, c: number, d: number) => number;
|
|
5866
6121
|
readonly validateDocumentsBatchTransitionState: (a: number, b: number, c: number) => number;
|
|
@@ -5877,6 +6132,23 @@ export interface InitOutput {
|
|
|
5877
6132
|
readonly undefinedindexpropertyerror_getCode: (a: number) => number;
|
|
5878
6133
|
readonly undefinedindexpropertyerror_message: (a: number, b: number) => void;
|
|
5879
6134
|
readonly undefinedindexpropertyerror_serialize: (a: number, b: number) => void;
|
|
6135
|
+
readonly invaliddocumenttransitioniderror_getExpectedId: (a: number) => number;
|
|
6136
|
+
readonly invaliddocumenttransitioniderror_getInvalidId: (a: number) => number;
|
|
6137
|
+
readonly invaliddocumenttransitioniderror_getCode: (a: number) => number;
|
|
6138
|
+
readonly invaliddocumenttransitioniderror_message: (a: number, b: number) => void;
|
|
6139
|
+
readonly invaliddocumenttransitioniderror_serialize: (a: number, b: number) => void;
|
|
6140
|
+
readonly __wbg_identityassetlockprooflockedtransactionmismatcherror_free: (a: number) => void;
|
|
6141
|
+
readonly identityassetlockprooflockedtransactionmismatcherror_getInstantLockTransactionId: (a: number) => number;
|
|
6142
|
+
readonly identityassetlockprooflockedtransactionmismatcherror_getAssetLockTransactionId: (a: number) => number;
|
|
6143
|
+
readonly identityassetlockprooflockedtransactionmismatcherror_getCode: (a: number) => number;
|
|
6144
|
+
readonly identityassetlockprooflockedtransactionmismatcherror_message: (a: number, b: number) => void;
|
|
6145
|
+
readonly identityassetlockprooflockedtransactionmismatcherror_serialize: (a: number, b: number) => void;
|
|
6146
|
+
readonly __wbg_invalidassetlockprooftransactionheighterror_free: (a: number) => void;
|
|
6147
|
+
readonly invalidassetlockprooftransactionheighterror_getProofCoreChainLockedHeight: (a: number) => number;
|
|
6148
|
+
readonly invalidassetlockprooftransactionheighterror_getTransactionHeight: (a: number, b: number) => void;
|
|
6149
|
+
readonly invalidassetlockprooftransactionheighterror_getCode: (a: number) => number;
|
|
6150
|
+
readonly invalidassetlockprooftransactionheighterror_message: (a: number, b: number) => void;
|
|
6151
|
+
readonly invalidassetlockprooftransactionheighterror_serialize: (a: number, b: number) => void;
|
|
5880
6152
|
readonly __wbg_invalididentityassetlockproofchainlockvalidationerrorwasm_free: (a: number) => void;
|
|
5881
6153
|
readonly invalididentityassetlockproofchainlockvalidationerrorwasm_getTransactionId: (a: number) => number;
|
|
5882
6154
|
readonly invalididentityassetlockproofchainlockvalidationerrorwasm_getHeightReportedNotLocked: (a: number) => number;
|
|
@@ -5900,53 +6172,38 @@ export interface InitOutput {
|
|
|
5900
6172
|
readonly datatriggeractionexecutionerror_getMessage: (a: number, b: number) => void;
|
|
5901
6173
|
readonly datatriggeractionexecutionerror_getOwnerId: (a: number) => number;
|
|
5902
6174
|
readonly datatriggeractionexecutionerror_getCode: (a: number) => number;
|
|
5903
|
-
readonly
|
|
5904
|
-
readonly
|
|
5905
|
-
readonly
|
|
5906
|
-
readonly
|
|
5907
|
-
readonly
|
|
5908
|
-
readonly
|
|
5909
|
-
readonly
|
|
5910
|
-
readonly
|
|
5911
|
-
readonly
|
|
5912
|
-
readonly
|
|
5913
|
-
readonly
|
|
5914
|
-
readonly
|
|
5915
|
-
readonly
|
|
5916
|
-
readonly
|
|
5917
|
-
readonly
|
|
5918
|
-
readonly
|
|
5919
|
-
readonly
|
|
5920
|
-
readonly
|
|
5921
|
-
readonly
|
|
5922
|
-
readonly
|
|
5923
|
-
readonly
|
|
5924
|
-
readonly
|
|
5925
|
-
readonly
|
|
5926
|
-
readonly
|
|
5927
|
-
readonly identitypublickeywithwitness_getType: (a: number) => number;
|
|
5928
|
-
readonly identitypublickeywithwitness_setType: (a: number, b: number, c: number) => void;
|
|
5929
|
-
readonly identitypublickeywithwitness_setData: (a: number, b: number, c: number, d: number) => void;
|
|
5930
|
-
readonly identitypublickeywithwitness_getData: (a: number) => number;
|
|
5931
|
-
readonly identitypublickeywithwitness_setPurpose: (a: number, b: number, c: number) => void;
|
|
5932
|
-
readonly identitypublickeywithwitness_getPurpose: (a: number) => number;
|
|
5933
|
-
readonly identitypublickeywithwitness_setSecurityLevel: (a: number, b: number, c: number) => void;
|
|
5934
|
-
readonly identitypublickeywithwitness_getSecurityLevel: (a: number) => number;
|
|
5935
|
-
readonly identitypublickeywithwitness_setReadOnly: (a: number, b: number) => void;
|
|
5936
|
-
readonly identitypublickeywithwitness_isReadOnly: (a: number) => number;
|
|
5937
|
-
readonly identitypublickeywithwitness_setSignature: (a: number, b: number, c: number) => void;
|
|
5938
|
-
readonly identitypublickeywithwitness_getSignature: (a: number, b: number) => void;
|
|
5939
|
-
readonly identitypublickeywithwitness_hash: (a: number, b: number) => void;
|
|
5940
|
-
readonly identitypublickeywithwitness_isMaster: (a: number) => number;
|
|
5941
|
-
readonly identitypublickeywithwitness_toJSON: (a: number, b: number) => void;
|
|
5942
|
-
readonly identitypublickeywithwitness_toObject: (a: number, b: number, c: number) => void;
|
|
6175
|
+
readonly __wbg_duplicateuniqueindexerror_free: (a: number) => void;
|
|
6176
|
+
readonly duplicateuniqueindexerror_getDocumentId: (a: number) => number;
|
|
6177
|
+
readonly duplicateuniqueindexerror_getDuplicatingProperties: (a: number) => number;
|
|
6178
|
+
readonly duplicateuniqueindexerror_getCode: (a: number) => number;
|
|
6179
|
+
readonly duplicateuniqueindexerror_message: (a: number, b: number) => void;
|
|
6180
|
+
readonly duplicateuniqueindexerror_serialize: (a: number, b: number) => void;
|
|
6181
|
+
readonly __wbg_invaliddocumentrevisionerror_free: (a: number) => void;
|
|
6182
|
+
readonly invaliddocumentrevisionerror_getDocumentId: (a: number) => number;
|
|
6183
|
+
readonly invaliddocumentrevisionerror_getCurrentRevision: (a: number, b: number) => void;
|
|
6184
|
+
readonly invaliddocumentrevisionerror_getCode: (a: number) => number;
|
|
6185
|
+
readonly invaliddocumentrevisionerror_message: (a: number, b: number) => void;
|
|
6186
|
+
readonly invaliddocumentrevisionerror_serialize: (a: number, b: number) => void;
|
|
6187
|
+
readonly __wbg_invalididentityrevisionerror_free: (a: number) => void;
|
|
6188
|
+
readonly invalididentityrevisionerror_getIdentityId: (a: number) => number;
|
|
6189
|
+
readonly invalididentityrevisionerror_getCurrentRevision: (a: number) => number;
|
|
6190
|
+
readonly invalididentityrevisionerror_getCode: (a: number) => number;
|
|
6191
|
+
readonly invalididentityrevisionerror_message: (a: number, b: number) => void;
|
|
6192
|
+
readonly invalididentityrevisionerror_serialize: (a: number, b: number) => void;
|
|
6193
|
+
readonly __wbg_chainassetlockproofstructurevalidator_free: (a: number) => void;
|
|
6194
|
+
readonly chainassetlockproofstructurevalidator_new: (a: number, b: number) => void;
|
|
6195
|
+
readonly chainassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
|
|
6196
|
+
readonly instantassetlockproofstructurevalidator_new: (a: number, b: number) => void;
|
|
6197
|
+
readonly instantassetlockproofstructurevalidator_validate: (a: number, b: number, c: number) => number;
|
|
6198
|
+
readonly applyIdentityCreateTransition: (a: number, b: number, c: number) => number;
|
|
5943
6199
|
readonly applyIdentityTopUpTransition: (a: number, b: number, c: number) => number;
|
|
5944
6200
|
readonly applyIdentityUpdateTransition: (a: number, b: number, c: number) => number;
|
|
5945
|
-
readonly calculateStateTransitionFee: (a: number, b: number, c: number) => void;
|
|
5946
6201
|
readonly __wbg_jsonschemavalidator_free: (a: number) => void;
|
|
5947
6202
|
readonly jsonschemavalidator_new: (a: number, b: number, c: number) => void;
|
|
5948
6203
|
readonly __wbg_undefinedindexpropertyerror_free: (a: number) => void;
|
|
6204
|
+
readonly __wbg_instantassetlockproofstructurevalidator_free: (a: number) => void;
|
|
5949
6205
|
readonly invalidactionterror_new: (a: number) => number;
|
|
6206
|
+
readonly __wbg_invaliddocumenttransitioniderror_free: (a: number) => void;
|
|
5950
6207
|
readonly __wbg_datacontract_free: (a: number) => void;
|
|
5951
6208
|
readonly datacontract_new: (a: number, b: number) => void;
|
|
5952
6209
|
readonly datacontract_getProtocolVersion: (a: number) => number;
|
|
@@ -5981,26 +6238,10 @@ export interface InitOutput {
|
|
|
5981
6238
|
readonly datacontract_clone: (a: number) => number;
|
|
5982
6239
|
readonly __wbg_datacontractdefaults_free: (a: number) => void;
|
|
5983
6240
|
readonly datacontractdefaults_get_default_schema: (a: number) => void;
|
|
5984
|
-
readonly __wbg_invaliddatacontracterror_free: (a: number) => void;
|
|
5985
|
-
readonly invaliddatacontracterror_getErrors: (a: number, b: number) => void;
|
|
5986
|
-
readonly invaliddatacontracterror_getRawDataContract: (a: number) => number;
|
|
5987
|
-
readonly invaliddatacontracterror_getMessage: (a: number, b: number) => void;
|
|
5988
|
-
readonly __wbg_documenttransitions_free: (a: number) => void;
|
|
5989
|
-
readonly documenttransitions_new: () => number;
|
|
5990
|
-
readonly documenttransitions_addTransitionCreate: (a: number, b: number) => void;
|
|
5991
|
-
readonly documenttransitions_addTransitionReplace: (a: number, b: number) => void;
|
|
5992
|
-
readonly documenttransitions_addTransitionDelete: (a: number, b: number) => void;
|
|
5993
|
-
readonly __wbg_documentfactory_free: (a: number) => void;
|
|
5994
|
-
readonly documentfactory_new: (a: number, b: number, c: number, d: number) => number;
|
|
5995
|
-
readonly documentfactory_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
5996
|
-
readonly documentfactory_createStateTransition: (a: number, b: number, c: number) => void;
|
|
5997
|
-
readonly documentfactory_createFromObject: (a: number, b: number, c: number) => number;
|
|
5998
|
-
readonly documentfactory_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
5999
6241
|
readonly __wbg_fetchandvalidatedatacontractfactory_free: (a: number) => void;
|
|
6000
6242
|
readonly fetchandvalidatedatacontractfactory_new: (a: number) => number;
|
|
6001
6243
|
readonly fetchandvalidatedatacontractfactory_validate: (a: number, b: number) => number;
|
|
6002
6244
|
readonly fetchAndValidateDataContract: (a: number, b: number) => number;
|
|
6003
|
-
readonly generateDocumentId: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
6004
6245
|
readonly findDuplicatesByIndices: (a: number, b: number, c: number, d: number) => void;
|
|
6005
6246
|
readonly fetchExtendedDocuments: (a: number, b: number, c: number) => number;
|
|
6006
6247
|
readonly __wbg_datacontracthavenewuniqueindexerror_free: (a: number) => void;
|
|
@@ -6014,6 +6255,12 @@ export interface InitOutput {
|
|
|
6014
6255
|
readonly datacontractinvalidindexdefinitionupdateerror_getCode: (a: number) => number;
|
|
6015
6256
|
readonly datacontractinvalidindexdefinitionupdateerror_message: (a: number, b: number) => void;
|
|
6016
6257
|
readonly datacontractinvalidindexdefinitionupdateerror_serialize: (a: number, b: number) => void;
|
|
6258
|
+
readonly __wbg_datacontractmaxdepthexceederror_free: (a: number) => void;
|
|
6259
|
+
readonly datacontractmaxdeptherror_getMaxDepth: (a: number) => number;
|
|
6260
|
+
readonly datacontractmaxdeptherror_getSchemaDepth: (a: number) => number;
|
|
6261
|
+
readonly datacontractmaxdeptherror_getCode: (a: number) => number;
|
|
6262
|
+
readonly datacontractmaxdeptherror_message: (a: number, b: number) => void;
|
|
6263
|
+
readonly datacontractmaxdeptherror_serialize: (a: number, b: number) => void;
|
|
6017
6264
|
readonly datacontractuniqueindiceschangederror_getDocumentType: (a: number, b: number) => void;
|
|
6018
6265
|
readonly datacontractuniqueindiceschangederror_getIndexName: (a: number, b: number) => void;
|
|
6019
6266
|
readonly datacontractuniqueindiceschangederror_getCode: (a: number) => number;
|
|
@@ -6058,29 +6305,23 @@ export interface InitOutput {
|
|
|
6058
6305
|
readonly invaliddatacontractiderror_getCode: (a: number) => number;
|
|
6059
6306
|
readonly invaliddatacontractiderror_message: (a: number, b: number) => void;
|
|
6060
6307
|
readonly invaliddatacontractiderror_serialize: (a: number, b: number) => void;
|
|
6308
|
+
readonly invaliddatacontractversionerror_getExpectedVersion: (a: number) => number;
|
|
6309
|
+
readonly invaliddatacontractversionerror_getVersion: (a: number) => number;
|
|
6310
|
+
readonly invaliddatacontractversionerror_getCode: (a: number) => number;
|
|
6311
|
+
readonly invaliddatacontractversionerror_message: (a: number, b: number) => void;
|
|
6312
|
+
readonly invaliddatacontractversionerror_serialize: (a: number, b: number) => void;
|
|
6061
6313
|
readonly __wbg_inconsistentcompoundindexdataerror_free: (a: number) => void;
|
|
6062
6314
|
readonly inconsistentcompoundindexdataerror_getIndexedProperties: (a: number) => number;
|
|
6063
6315
|
readonly inconsistentcompoundindexdataerror_getDocumentType: (a: number, b: number) => void;
|
|
6064
6316
|
readonly inconsistentcompoundindexdataerror_getCode: (a: number) => number;
|
|
6065
6317
|
readonly inconsistentcompoundindexdataerror_message: (a: number, b: number) => void;
|
|
6066
6318
|
readonly inconsistentcompoundindexdataerror_serialize: (a: number, b: number) => void;
|
|
6067
|
-
readonly invaliddocumenttransitioniderror_getExpectedId: (a: number) => number;
|
|
6068
|
-
readonly invaliddocumenttransitioniderror_getInvalidId: (a: number) => number;
|
|
6069
|
-
readonly invaliddocumenttransitioniderror_getCode: (a: number) => number;
|
|
6070
|
-
readonly invaliddocumenttransitioniderror_message: (a: number, b: number) => void;
|
|
6071
|
-
readonly invaliddocumenttransitioniderror_serialize: (a: number, b: number) => void;
|
|
6072
6319
|
readonly __wbg_invaliddocumenttypeerror_free: (a: number) => void;
|
|
6073
6320
|
readonly invaliddocumenttypeerror_getType: (a: number, b: number) => void;
|
|
6074
6321
|
readonly invaliddocumenttypeerror_getDataContractId: (a: number) => number;
|
|
6075
6322
|
readonly invaliddocumenttypeerror_getCode: (a: number) => number;
|
|
6076
6323
|
readonly invaliddocumenttypeerror_message: (a: number, b: number) => void;
|
|
6077
6324
|
readonly invaliddocumenttypeerror_serialize: (a: number, b: number) => void;
|
|
6078
|
-
readonly __wbg_identityassetlockprooflockedtransactionmismatcherror_free: (a: number) => void;
|
|
6079
|
-
readonly identityassetlockprooflockedtransactionmismatcherror_getInstantLockTransactionId: (a: number) => number;
|
|
6080
|
-
readonly identityassetlockprooflockedtransactionmismatcherror_getAssetLockTransactionId: (a: number) => number;
|
|
6081
|
-
readonly identityassetlockprooflockedtransactionmismatcherror_getCode: (a: number) => number;
|
|
6082
|
-
readonly identityassetlockprooflockedtransactionmismatcherror_message: (a: number, b: number) => void;
|
|
6083
|
-
readonly identityassetlockprooflockedtransactionmismatcherror_serialize: (a: number, b: number) => void;
|
|
6084
6325
|
readonly __wbg_identityassetlocktransactionoutpointalreadyexistserror_free: (a: number) => void;
|
|
6085
6326
|
readonly identityassetlocktransactionoutpointalreadyexistserror_getOutputIndex: (a: number) => number;
|
|
6086
6327
|
readonly identityassetlocktransactionoutpointalreadyexistserror_getTransactionId: (a: number) => number;
|
|
@@ -6093,18 +6334,22 @@ export interface InitOutput {
|
|
|
6093
6334
|
readonly identityinsufficientbalanceerror_getCode: (a: number) => number;
|
|
6094
6335
|
readonly identityinsufficientbalanceerror_message: (a: number, b: number) => void;
|
|
6095
6336
|
readonly identityinsufficientbalanceerror_serialize: (a: number, b: number) => void;
|
|
6096
|
-
readonly
|
|
6097
|
-
readonly
|
|
6098
|
-
readonly
|
|
6099
|
-
readonly
|
|
6100
|
-
readonly
|
|
6101
|
-
readonly invalidassetlockprooftransactionheighterror_serialize: (a: number, b: number) => void;
|
|
6337
|
+
readonly invalidassetlockproofcorechainheighterror_getProofCoreChainLockedHeight: (a: number) => number;
|
|
6338
|
+
readonly invalidassetlockproofcorechainheighterror_getCurrentCoreChainLockedHeight: (a: number) => number;
|
|
6339
|
+
readonly invalidassetlockproofcorechainheighterror_getCode: (a: number) => number;
|
|
6340
|
+
readonly invalidassetlockproofcorechainheighterror_message: (a: number, b: number) => void;
|
|
6341
|
+
readonly invalidassetlockproofcorechainheighterror_serialize: (a: number, b: number) => void;
|
|
6102
6342
|
readonly __wbg_invalididentitypublickeydataerror_free: (a: number) => void;
|
|
6103
6343
|
readonly invalididentitypublickeydataerror_getPublicKeyId: (a: number) => number;
|
|
6104
6344
|
readonly invalididentitypublickeydataerror_getValidationError: (a: number, b: number) => void;
|
|
6105
6345
|
readonly invalididentitypublickeydataerror_getCode: (a: number) => number;
|
|
6106
6346
|
readonly invalididentitypublickeydataerror_message: (a: number, b: number) => void;
|
|
6107
6347
|
readonly invalididentitypublickeydataerror_serialize: (a: number, b: number) => void;
|
|
6348
|
+
readonly incompatibleprotocolversionerror_getParsedProtocolVersion: (a: number) => number;
|
|
6349
|
+
readonly incompatibleprotocolversionerror_getMinimalProtocolVersion: (a: number) => number;
|
|
6350
|
+
readonly incompatibleprotocolversionerror_getCode: (a: number) => number;
|
|
6351
|
+
readonly incompatibleprotocolversionerror_message: (a: number, b: number) => void;
|
|
6352
|
+
readonly incompatibleprotocolversionerror_serialize: (a: number, b: number) => void;
|
|
6108
6353
|
readonly invalididentifiererror_getIdentifierName: (a: number, b: number) => void;
|
|
6109
6354
|
readonly invalididentifiererror_getIdentifierError: (a: number, b: number) => void;
|
|
6110
6355
|
readonly invalididentifiererror_getCode: (a: number) => number;
|
|
@@ -6116,6 +6361,16 @@ export interface InitOutput {
|
|
|
6116
6361
|
readonly publickeysecuritylevelnotmeterror_getCode: (a: number) => number;
|
|
6117
6362
|
readonly publickeysecuritylevelnotmeterror_message: (a: number, b: number) => void;
|
|
6118
6363
|
readonly publickeysecuritylevelnotmeterror_serialize: (a: number, b: number) => void;
|
|
6364
|
+
readonly statetransitionmaxsizeexceedederror_getActualSizeKBytes: (a: number) => number;
|
|
6365
|
+
readonly statetransitionmaxsizeexceedederror_getMaxSizeKBytes: (a: number) => number;
|
|
6366
|
+
readonly statetransitionmaxsizeexceedederror_getCode: (a: number) => number;
|
|
6367
|
+
readonly statetransitionmaxsizeexceedederror_message: (a: number, b: number) => void;
|
|
6368
|
+
readonly statetransitionmaxsizeexceedederror_serialize: (a: number, b: number) => void;
|
|
6369
|
+
readonly unsupportedprotocolversionerror_getParsedProtocolVersion: (a: number) => number;
|
|
6370
|
+
readonly unsupportedprotocolversionerror_getLatestVersion: (a: number) => number;
|
|
6371
|
+
readonly unsupportedprotocolversionerror_getCode: (a: number) => number;
|
|
6372
|
+
readonly unsupportedprotocolversionerror_message: (a: number, b: number) => void;
|
|
6373
|
+
readonly unsupportedprotocolversionerror_serialize: (a: number, b: number) => void;
|
|
6119
6374
|
readonly wrongpublickeypurposeerror_getPublicKeyPurpose: (a: number) => number;
|
|
6120
6375
|
readonly wrongpublickeypurposeerror_getKeyPurposeRequirement: (a: number) => number;
|
|
6121
6376
|
readonly wrongpublickeypurposeerror_getCode: (a: number) => number;
|
|
@@ -6134,22 +6389,37 @@ export interface InitOutput {
|
|
|
6134
6389
|
readonly datatriggeractionconditionerror_getMessage: (a: number, b: number) => void;
|
|
6135
6390
|
readonly datatriggeractionconditionerror_getOwnerId: (a: number) => number;
|
|
6136
6391
|
readonly datatriggeractionconditionerror_getCode: (a: number) => number;
|
|
6137
|
-
readonly
|
|
6138
|
-
readonly
|
|
6139
|
-
readonly
|
|
6140
|
-
readonly
|
|
6141
|
-
readonly
|
|
6142
|
-
readonly
|
|
6392
|
+
readonly __wbg_identitypublickey_free: (a: number) => void;
|
|
6393
|
+
readonly identitypublickey_new: (a: number, b: number) => void;
|
|
6394
|
+
readonly identitypublickey_getId: (a: number) => number;
|
|
6395
|
+
readonly identitypublickey_setId: (a: number, b: number) => void;
|
|
6396
|
+
readonly identitypublickey_getType: (a: number) => number;
|
|
6397
|
+
readonly identitypublickey_setType: (a: number, b: number, c: number) => void;
|
|
6398
|
+
readonly identitypublickey_setData: (a: number, b: number, c: number, d: number) => void;
|
|
6399
|
+
readonly identitypublickey_getData: (a: number) => number;
|
|
6400
|
+
readonly identitypublickey_setPurpose: (a: number, b: number, c: number) => void;
|
|
6401
|
+
readonly identitypublickey_getPurpose: (a: number) => number;
|
|
6402
|
+
readonly identitypublickey_setSecurityLevel: (a: number, b: number, c: number) => void;
|
|
6403
|
+
readonly identitypublickey_getSecurityLevel: (a: number) => number;
|
|
6404
|
+
readonly identitypublickey_setReadOnly: (a: number, b: number) => void;
|
|
6405
|
+
readonly identitypublickey_isReadOnly: (a: number) => number;
|
|
6406
|
+
readonly identitypublickey_setDisabledAt: (a: number, b: number) => void;
|
|
6407
|
+
readonly identitypublickey_getDisabledAt: (a: number) => number;
|
|
6408
|
+
readonly identitypublickey_hash: (a: number, b: number) => void;
|
|
6409
|
+
readonly identitypublickey_isMaster: (a: number) => number;
|
|
6410
|
+
readonly identitypublickey_toJSON: (a: number, b: number) => void;
|
|
6411
|
+
readonly identitypublickey_toObject: (a: number, b: number) => void;
|
|
6143
6412
|
readonly __wbg_identityvalidator_free: (a: number) => void;
|
|
6144
6413
|
readonly identityvalidator_new: (a: number, b: number) => void;
|
|
6145
6414
|
readonly identityvalidator_validate: (a: number, b: number, c: number) => void;
|
|
6146
|
-
readonly
|
|
6147
|
-
readonly
|
|
6148
|
-
readonly
|
|
6415
|
+
readonly __wbg_invalididentityerror_free: (a: number) => void;
|
|
6416
|
+
readonly invalididentityerror_getErrors: (a: number, b: number) => void;
|
|
6417
|
+
readonly invalididentityerror_getRawIdentity: (a: number) => number;
|
|
6418
|
+
readonly identitycreatetransitionstatevalidator_validate: (a: number, b: number, c: number) => number;
|
|
6419
|
+
readonly identitytopuptransitionstatevalidator_validate: (a: number, b: number, c: number) => number;
|
|
6149
6420
|
readonly __wbg_identityupdatetransitionstatevalidator_free: (a: number) => void;
|
|
6150
6421
|
readonly identityupdatetransitionstatevalidator_new: (a: number, b: number) => void;
|
|
6151
6422
|
readonly identityupdatetransitionstatevalidator_validate: (a: number, b: number, c: number) => number;
|
|
6152
|
-
readonly invalidstatetransitionerror_new_wasm: (a: number, b: number, c: number, d: number) => void;
|
|
6153
6423
|
readonly __wbg_refunds_free: (a: number) => void;
|
|
6154
6424
|
readonly refunds_credits_per_epoch: (a: number) => number;
|
|
6155
6425
|
readonly refunds_toObject: (a: number, b: number) => void;
|
|
@@ -6157,10 +6427,6 @@ export interface InitOutput {
|
|
|
6157
6427
|
readonly __wbg_statetransitionkeysignaturevalidator_free: (a: number) => void;
|
|
6158
6428
|
readonly statetransitionkeysignaturevalidator_new: (a: number) => number;
|
|
6159
6429
|
readonly statetransitionkeysignaturevalidator_validate: (a: number, b: number, c: number) => number;
|
|
6160
|
-
readonly invalididentityerror_getRawIdentity: (a: number) => number;
|
|
6161
|
-
readonly invalidstatetransitionerror_getRawStateTransition: (a: number) => number;
|
|
6162
|
-
readonly __wbg_invalididentityerror_free: (a: number) => void;
|
|
6163
|
-
readonly __wbg_invalidstatetransitionerror_free: (a: number) => void;
|
|
6164
6430
|
readonly refunds_identifier: (a: number) => number;
|
|
6165
6431
|
readonly __wbg_datacontractinvalidindexdefinitionupdateerror_free: (a: number) => void;
|
|
6166
6432
|
readonly __wbg_datacontractuniqueindiceschangederror_free: (a: number) => void;
|
|
@@ -6169,27 +6435,17 @@ export interface InitOutput {
|
|
|
6169
6435
|
readonly __wbg_invalidcompoundindexerror_free: (a: number) => void;
|
|
6170
6436
|
readonly __wbg_invaliddatacontractiderror_free: (a: number) => void;
|
|
6171
6437
|
readonly __wbg_invalididentifiererror_free: (a: number) => void;
|
|
6172
|
-
readonly
|
|
6173
|
-
readonly
|
|
6174
|
-
readonly
|
|
6438
|
+
readonly __wbg_identitycreatetransitionstatevalidator_free: (a: number) => void;
|
|
6439
|
+
readonly __wbg_identitytopuptransitionstatevalidator_free: (a: number) => void;
|
|
6440
|
+
readonly identitycreatetransitionstatevalidator_new: (a: number) => number;
|
|
6441
|
+
readonly identitytopuptransitionstatevalidator_new: (a: number) => number;
|
|
6442
|
+
readonly __wbg_invaliddatacontractversionerror_free: (a: number) => void;
|
|
6443
|
+
readonly __wbg_invalidassetlockproofcorechainheighterror_free: (a: number) => void;
|
|
6444
|
+
readonly __wbg_incompatibleprotocolversionerror_free: (a: number) => void;
|
|
6445
|
+
readonly __wbg_statetransitionmaxsizeexceedederror_free: (a: number) => void;
|
|
6446
|
+
readonly __wbg_unsupportedprotocolversionerror_free: (a: number) => void;
|
|
6175
6447
|
readonly __wbg_wrongpublickeypurposeerror_free: (a: number) => void;
|
|
6176
6448
|
readonly __wbg_uniqueindiceslimitreachederror_free: (a: number) => void;
|
|
6177
|
-
readonly __wbg_datacontractcreatetransition_free: (a: number) => void;
|
|
6178
|
-
readonly datacontractcreatetransition_new: (a: number, b: number) => void;
|
|
6179
|
-
readonly datacontractcreatetransition_getDataContract: (a: number) => number;
|
|
6180
|
-
readonly datacontractcreatetransition_getProtocolVersion: (a: number) => number;
|
|
6181
|
-
readonly datacontractcreatetransition_getEntropy: (a: number) => number;
|
|
6182
|
-
readonly datacontractcreatetransition_getOwnerId: (a: number) => number;
|
|
6183
|
-
readonly datacontractcreatetransition_getType: (a: number) => number;
|
|
6184
|
-
readonly datacontractcreatetransition_toJSON: (a: number, b: number, c: number) => void;
|
|
6185
|
-
readonly datacontractcreatetransition_toBuffer: (a: number, b: number) => void;
|
|
6186
|
-
readonly datacontractcreatetransition_getModifiedDataIds: (a: number, b: number) => void;
|
|
6187
|
-
readonly datacontractcreatetransition_isDataContractStateTransition: (a: number) => number;
|
|
6188
|
-
readonly datacontractcreatetransition_isDocumentStateTransition: (a: number) => number;
|
|
6189
|
-
readonly datacontractcreatetransition_isIdentityStateTransition: (a: number) => number;
|
|
6190
|
-
readonly datacontractcreatetransition_toObject: (a: number, b: number, c: number) => void;
|
|
6191
|
-
readonly datacontractcreatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
6192
|
-
readonly datacontractcreatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
|
|
6193
6449
|
readonly __wbg_applydatacontractupdatetransition_free: (a: number) => void;
|
|
6194
6450
|
readonly applydatacontractupdatetransition_new: (a: number) => number;
|
|
6195
6451
|
readonly applydatacontractupdatetransition_applyDataContractUpdateTransition: (a: number, b: number, c: number) => number;
|
|
@@ -6197,7 +6453,6 @@ export interface InitOutput {
|
|
|
6197
6453
|
readonly datacontractupdatetransition_new: (a: number, b: number) => void;
|
|
6198
6454
|
readonly datacontractupdatetransition_getDataContract: (a: number) => number;
|
|
6199
6455
|
readonly datacontractupdatetransition_getProtocolVersion: (a: number) => number;
|
|
6200
|
-
readonly datacontractupdatetransition_getEntropy: (a: number) => number;
|
|
6201
6456
|
readonly datacontractupdatetransition_getOwnerId: (a: number) => number;
|
|
6202
6457
|
readonly datacontractupdatetransition_getType: (a: number) => number;
|
|
6203
6458
|
readonly datacontractupdatetransition_toJSON: (a: number, b: number, c: number) => void;
|
|
@@ -6210,136 +6465,51 @@ export interface InitOutput {
|
|
|
6210
6465
|
readonly datacontractupdatetransition_toObject: (a: number, b: number, c: number) => void;
|
|
6211
6466
|
readonly datacontractupdatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
6212
6467
|
readonly datacontractupdatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
|
|
6213
|
-
readonly __wbg_datatriggerexecutioncontext_free: (a: number) => void;
|
|
6214
|
-
readonly datatriggerexecutioncontext_new: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6215
|
-
readonly datatriggerexecutioncontext_ownerId: (a: number) => number;
|
|
6216
|
-
readonly datatriggerexecutioncontext_set_ownerId: (a: number, b: number, c: number) => void;
|
|
6217
|
-
readonly datatriggerexecutioncontext_dataContract: (a: number) => number;
|
|
6218
|
-
readonly datatriggerexecutioncontext_set_dataContract: (a: number, b: number) => void;
|
|
6219
|
-
readonly datatriggerexecutioncontext_stateTransitionExecutionContext: (a: number) => number;
|
|
6220
|
-
readonly datatriggerexecutioncontext_set_statTransitionExecutionContext: (a: number, b: number) => void;
|
|
6221
|
-
readonly executeDataTriggers: (a: number, b: number, c: number) => number;
|
|
6222
6468
|
readonly getDataTriggers: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
6223
6469
|
readonly getAllDataTriggers: (a: number) => void;
|
|
6224
6470
|
readonly __wbg_invaliddocumenterror_free: (a: number) => void;
|
|
6225
6471
|
readonly invaliddocumenterror_new: (a: number, b: number, c: number) => number;
|
|
6226
6472
|
readonly invaliddocumenterror_getErrors: (a: number, b: number) => void;
|
|
6227
6473
|
readonly invaliddocumenterror_getRawDocument: (a: number) => number;
|
|
6228
|
-
readonly __wbg_documentsbatchtransition_free: (a: number) => void;
|
|
6229
|
-
readonly documentsbatchtransition_from_raw_object: (a: number, b: number, c: number) => void;
|
|
6230
|
-
readonly documentsbatchtransition_getType: (a: number) => number;
|
|
6231
|
-
readonly documentsbatchtransition_getOwnerId: (a: number) => number;
|
|
6232
|
-
readonly documentsbatchtransition_getTransitions: (a: number) => number;
|
|
6233
|
-
readonly documentsbatchtransition_setTransitions: (a: number, b: number, c: number) => void;
|
|
6234
|
-
readonly documentsbatchtransition_toJSON: (a: number, b: number) => void;
|
|
6235
|
-
readonly documentsbatchtransition_toObject: (a: number, b: number, c: number) => void;
|
|
6236
|
-
readonly documentsbatchtransition_getModifiedDataIds: (a: number) => number;
|
|
6237
|
-
readonly documentsbatchtransition_getSignaturePublicKeyId: (a: number, b: number) => void;
|
|
6238
|
-
readonly documentsbatchtransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
6239
|
-
readonly documentsbatchtransition_verifyPublicKeyLevelAndPurpose: (a: number, b: number, c: number) => void;
|
|
6240
|
-
readonly documentsbatchtransition_verifyPublicKeyIsEnabled: (a: number, b: number, c: number) => void;
|
|
6241
|
-
readonly documentsbatchtransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
|
|
6242
|
-
readonly documentsbatchtransition_setSignaturePublicKeyId: (a: number, b: number) => void;
|
|
6243
|
-
readonly documentsbatchtransition_getKeySecurityLevelRequirement: (a: number) => number;
|
|
6244
|
-
readonly documentsbatchtransition_getProtocolVersion: (a: number) => number;
|
|
6245
|
-
readonly documentsbatchtransition_getSignature: (a: number, b: number) => void;
|
|
6246
|
-
readonly documentsbatchtransition_setSignature: (a: number, b: number, c: number) => void;
|
|
6247
|
-
readonly documentsbatchtransition_isDocumentStateTransition: (a: number) => number;
|
|
6248
|
-
readonly documentsbatchtransition_isDataContractStateTransition: (a: number) => number;
|
|
6249
|
-
readonly documentsbatchtransition_isIdentityStateTransition: (a: number) => number;
|
|
6250
|
-
readonly documentsbatchtransition_toBuffer: (a: number, b: number) => void;
|
|
6251
|
-
readonly documentsbatchtransition_hash: (a: number, b: number, c: number) => void;
|
|
6252
6474
|
readonly __wbg_documentvalidator_free: (a: number) => void;
|
|
6253
6475
|
readonly documentvalidator_new: (a: number) => number;
|
|
6254
6476
|
readonly documentvalidator_validate: (a: number, b: number, c: number, d: number) => void;
|
|
6255
|
-
readonly __wbg_datacontractmaxdepthexceederror_free: (a: number) => void;
|
|
6256
|
-
readonly datacontractmaxdeptherror_getMaxDepth: (a: number) => number;
|
|
6257
|
-
readonly datacontractmaxdeptherror_getSchemaDepth: (a: number) => number;
|
|
6258
|
-
readonly datacontractmaxdeptherror_getCode: (a: number) => number;
|
|
6259
|
-
readonly datacontractmaxdeptherror_message: (a: number, b: number) => void;
|
|
6260
|
-
readonly datacontractmaxdeptherror_serialize: (a: number, b: number) => void;
|
|
6261
|
-
readonly invaliddatacontractversionerror_getExpectedVersion: (a: number) => number;
|
|
6262
|
-
readonly invaliddatacontractversionerror_getVersion: (a: number) => number;
|
|
6263
|
-
readonly invaliddatacontractversionerror_getCode: (a: number) => number;
|
|
6264
|
-
readonly invaliddatacontractversionerror_message: (a: number, b: number) => void;
|
|
6265
|
-
readonly invaliddatacontractversionerror_serialize: (a: number, b: number) => void;
|
|
6266
|
-
readonly invalidassetlockproofcorechainheighterror_getProofCoreChainLockedHeight: (a: number) => number;
|
|
6267
|
-
readonly invalidassetlockproofcorechainheighterror_getCurrentCoreChainLockedHeight: (a: number) => number;
|
|
6268
|
-
readonly invalidassetlockproofcorechainheighterror_getCode: (a: number) => number;
|
|
6269
|
-
readonly invalidassetlockproofcorechainheighterror_message: (a: number, b: number) => void;
|
|
6270
|
-
readonly invalidassetlockproofcorechainheighterror_serialize: (a: number, b: number) => void;
|
|
6271
|
-
readonly incompatibleprotocolversionerror_getParsedProtocolVersion: (a: number) => number;
|
|
6272
|
-
readonly incompatibleprotocolversionerror_getMinimalProtocolVersion: (a: number) => number;
|
|
6273
|
-
readonly incompatibleprotocolversionerror_getCode: (a: number) => number;
|
|
6274
|
-
readonly incompatibleprotocolversionerror_message: (a: number, b: number) => void;
|
|
6275
|
-
readonly incompatibleprotocolversionerror_serialize: (a: number, b: number) => void;
|
|
6276
|
-
readonly statetransitionmaxsizeexceedederror_getActualSizeKBytes: (a: number) => number;
|
|
6277
|
-
readonly statetransitionmaxsizeexceedederror_getMaxSizeKBytes: (a: number) => number;
|
|
6278
|
-
readonly statetransitionmaxsizeexceedederror_getCode: (a: number) => number;
|
|
6279
|
-
readonly statetransitionmaxsizeexceedederror_message: (a: number, b: number) => void;
|
|
6280
|
-
readonly statetransitionmaxsizeexceedederror_serialize: (a: number, b: number) => void;
|
|
6281
|
-
readonly unsupportedprotocolversionerror_getParsedProtocolVersion: (a: number) => number;
|
|
6282
|
-
readonly unsupportedprotocolversionerror_getLatestVersion: (a: number) => number;
|
|
6283
|
-
readonly unsupportedprotocolversionerror_getCode: (a: number) => number;
|
|
6284
|
-
readonly unsupportedprotocolversionerror_message: (a: number, b: number) => void;
|
|
6285
|
-
readonly unsupportedprotocolversionerror_serialize: (a: number, b: number) => void;
|
|
6286
6477
|
readonly __wbg_identitypublickeyisreadonlyerror_free: (a: number) => void;
|
|
6287
6478
|
readonly identitypublickeyisreadonlyerror_getKeyId: (a: number) => number;
|
|
6288
6479
|
readonly identitypublickeyisreadonlyerror_getCode: (a: number) => number;
|
|
6289
6480
|
readonly identitypublickeyisreadonlyerror_message: (a: number, b: number) => void;
|
|
6290
6481
|
readonly identitypublickeyisreadonlyerror_serialize: (a: number, b: number) => void;
|
|
6291
|
-
readonly __wbg_identitypublickey_free: (a: number) => void;
|
|
6292
|
-
readonly identitypublickey_new: (a: number, b: number) => void;
|
|
6293
|
-
readonly identitypublickey_getId: (a: number) => number;
|
|
6294
|
-
readonly identitypublickey_setId: (a: number, b: number) => void;
|
|
6295
|
-
readonly identitypublickey_getType: (a: number) => number;
|
|
6296
|
-
readonly identitypublickey_setType: (a: number, b: number, c: number) => void;
|
|
6297
|
-
readonly identitypublickey_setData: (a: number, b: number, c: number, d: number) => void;
|
|
6298
|
-
readonly identitypublickey_getData: (a: number) => number;
|
|
6299
|
-
readonly identitypublickey_setPurpose: (a: number, b: number, c: number) => void;
|
|
6300
|
-
readonly identitypublickey_getPurpose: (a: number) => number;
|
|
6301
|
-
readonly identitypublickey_setSecurityLevel: (a: number, b: number, c: number) => void;
|
|
6302
|
-
readonly identitypublickey_getSecurityLevel: (a: number) => number;
|
|
6303
|
-
readonly identitypublickey_setReadOnly: (a: number, b: number) => void;
|
|
6304
|
-
readonly identitypublickey_isReadOnly: (a: number) => number;
|
|
6305
|
-
readonly identitypublickey_setDisabledAt: (a: number, b: number) => void;
|
|
6306
|
-
readonly identitypublickey_getDisabledAt: (a: number) => number;
|
|
6307
|
-
readonly identitypublickey_hash: (a: number, b: number) => void;
|
|
6308
|
-
readonly identitypublickey_isMaster: (a: number) => number;
|
|
6309
|
-
readonly identitypublickey_toJSON: (a: number, b: number) => void;
|
|
6310
|
-
readonly identitypublickey_toObject: (a: number, b: number) => void;
|
|
6311
|
-
readonly __wbg_identitycreatetransitionstatevalidator_free: (a: number) => void;
|
|
6312
|
-
readonly identitycreatetransitionstatevalidator_new: (a: number) => number;
|
|
6313
|
-
readonly identitycreatetransitionstatevalidator_validate: (a: number, b: number, c: number) => number;
|
|
6314
|
-
readonly identitytopuptransitionstatevalidator_validate: (a: number, b: number, c: number) => number;
|
|
6315
6482
|
readonly __wbg_statetransitionfacade_free: (a: number) => void;
|
|
6316
6483
|
readonly statetransitionfacade_createFromObject: (a: number, b: number, c: number) => number;
|
|
6317
|
-
readonly statetransitionfacade_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
6318
|
-
readonly statetransitionfacade_validate: (a: number, b: number, c: number, d: number) => number;
|
|
6319
|
-
readonly statetransitionfacade_validateBasic: (a: number, b: number, c: number) => number;
|
|
6320
|
-
readonly statetransitionfacade_validateSignature: (a: number, b: number, c: number) => number;
|
|
6321
|
-
readonly statetransitionfacade_validateFee: (a: number, b: number, c: number) => number;
|
|
6322
|
-
readonly statetransitionfacade_validateState: (a: number, b: number, c: number) => number;
|
|
6323
|
-
readonly statetransitionfacade_apply: (a: number, b: number) => number;
|
|
6324
|
-
readonly __wbg_precalculatedoperation_free: (a: number) => void;
|
|
6325
|
-
readonly precalculatedoperation_new: (a: number, b: number, c: number, d: number) => void;
|
|
6326
|
-
readonly precalculatedoperation_fromFee: (a: number) => number;
|
|
6327
|
-
readonly precalculatedoperation_getProcessingCost: (a: number, b: number) => void;
|
|
6328
|
-
readonly precalculatedoperation_getStorageCost: (a: number, b: number) => void;
|
|
6329
|
-
readonly precalculatedoperation_refunds: (a: number) => number;
|
|
6330
|
-
readonly precalculatedoperation_refunds_as_objects: (a: number, b: number) => void;
|
|
6331
|
-
readonly precalculatedoperation_toJSON: (a: number, b: number) => void;
|
|
6332
|
-
readonly __wbg_identitytopuptransitionstatevalidator_free: (a: number) => void;
|
|
6484
|
+
readonly statetransitionfacade_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
6485
|
+
readonly statetransitionfacade_validate: (a: number, b: number, c: number, d: number) => number;
|
|
6486
|
+
readonly statetransitionfacade_validateBasic: (a: number, b: number, c: number) => number;
|
|
6487
|
+
readonly statetransitionfacade_validateSignature: (a: number, b: number, c: number) => number;
|
|
6488
|
+
readonly statetransitionfacade_validateFee: (a: number, b: number, c: number) => number;
|
|
6489
|
+
readonly statetransitionfacade_validateState: (a: number, b: number, c: number) => number;
|
|
6490
|
+
readonly statetransitionfacade_apply: (a: number, b: number) => number;
|
|
6333
6491
|
readonly identitypublickeyisreadonlyerror_getPublicKeyIndex: (a: number) => number;
|
|
6334
|
-
readonly identitytopuptransitionstatevalidator_new: (a: number) => number;
|
|
6335
|
-
readonly __wbg_invaliddatacontractversionerror_free: (a: number) => void;
|
|
6336
|
-
readonly __wbg_invalidassetlockproofcorechainheighterror_free: (a: number) => void;
|
|
6337
|
-
readonly __wbg_incompatibleprotocolversionerror_free: (a: number) => void;
|
|
6338
|
-
readonly __wbg_statetransitionmaxsizeexceedederror_free: (a: number) => void;
|
|
6339
|
-
readonly __wbg_unsupportedprotocolversionerror_free: (a: number) => void;
|
|
6340
6492
|
readonly __wbg_applydatacontractcreatetransition_free: (a: number) => void;
|
|
6341
6493
|
readonly applydatacontractcreatetransition_new: (a: number) => number;
|
|
6342
6494
|
readonly applydatacontractcreatetransition_applyDataContractCreateTransition: (a: number, b: number) => number;
|
|
6495
|
+
readonly validateDataContractCreateTransitionState: (a: number, b: number, c: number) => number;
|
|
6496
|
+
readonly validateDataContractCreateTransitionBasic: (a: number) => number;
|
|
6497
|
+
readonly __wbg_datacontractcreatetransition_free: (a: number) => void;
|
|
6498
|
+
readonly datacontractcreatetransition_new: (a: number, b: number) => void;
|
|
6499
|
+
readonly datacontractcreatetransition_getDataContract: (a: number) => number;
|
|
6500
|
+
readonly datacontractcreatetransition_getProtocolVersion: (a: number) => number;
|
|
6501
|
+
readonly datacontractcreatetransition_getEntropy: (a: number) => number;
|
|
6502
|
+
readonly datacontractcreatetransition_getOwnerId: (a: number) => number;
|
|
6503
|
+
readonly datacontractcreatetransition_getType: (a: number) => number;
|
|
6504
|
+
readonly datacontractcreatetransition_toJSON: (a: number, b: number, c: number) => void;
|
|
6505
|
+
readonly datacontractcreatetransition_toBuffer: (a: number, b: number) => void;
|
|
6506
|
+
readonly datacontractcreatetransition_getModifiedDataIds: (a: number, b: number) => void;
|
|
6507
|
+
readonly datacontractcreatetransition_isDataContractStateTransition: (a: number) => number;
|
|
6508
|
+
readonly datacontractcreatetransition_isDocumentStateTransition: (a: number) => number;
|
|
6509
|
+
readonly datacontractcreatetransition_isIdentityStateTransition: (a: number) => number;
|
|
6510
|
+
readonly datacontractcreatetransition_toObject: (a: number, b: number, c: number) => void;
|
|
6511
|
+
readonly datacontractcreatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
6512
|
+
readonly datacontractcreatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
|
|
6343
6513
|
readonly __wbg_datacontractfacade_free: (a: number) => void;
|
|
6344
6514
|
readonly datacontractfacade_create: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
6345
6515
|
readonly datacontractfacade_createFromObject: (a: number, b: number, c: number) => number;
|
|
@@ -6347,6 +6517,15 @@ export interface InitOutput {
|
|
|
6347
6517
|
readonly datacontractfacade_createDataContractCreateTransition: (a: number, b: number, c: number) => void;
|
|
6348
6518
|
readonly datacontractfacade_createDataContractUpdateTransition: (a: number, b: number, c: number) => void;
|
|
6349
6519
|
readonly datacontractfacade_validate: (a: number, b: number) => number;
|
|
6520
|
+
readonly __wbg_datatriggerexecutioncontext_free: (a: number) => void;
|
|
6521
|
+
readonly datatriggerexecutioncontext_new: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6522
|
+
readonly datatriggerexecutioncontext_ownerId: (a: number) => number;
|
|
6523
|
+
readonly datatriggerexecutioncontext_set_ownerId: (a: number, b: number, c: number) => void;
|
|
6524
|
+
readonly datatriggerexecutioncontext_dataContract: (a: number) => number;
|
|
6525
|
+
readonly datatriggerexecutioncontext_set_dataContract: (a: number, b: number) => void;
|
|
6526
|
+
readonly datatriggerexecutioncontext_stateTransitionExecutionContext: (a: number) => number;
|
|
6527
|
+
readonly datatriggerexecutioncontext_set_statTransitionExecutionContext: (a: number, b: number) => void;
|
|
6528
|
+
readonly executeDataTriggers: (a: number, b: number, c: number) => number;
|
|
6350
6529
|
readonly __wbg_datatrigger_free: (a: number) => void;
|
|
6351
6530
|
readonly datatrigger_get_data_contract_id: (a: number) => number;
|
|
6352
6531
|
readonly datatrigger_set_data_contract_id: (a: number, b: number, c: number) => void;
|
|
@@ -6357,6 +6536,48 @@ export interface InitOutput {
|
|
|
6357
6536
|
readonly datatrigger_set_transition_action: (a: number, b: number, c: number, d: number) => void;
|
|
6358
6537
|
readonly datatrigger_get_top_level_identity: (a: number) => number;
|
|
6359
6538
|
readonly datatrigger_set_top_level_identity: (a: number, b: number, c: number) => void;
|
|
6539
|
+
readonly __wbg_documentfacade_free: (a: number) => void;
|
|
6540
|
+
readonly documentfacade_new: (a: number, b: number, c: number) => number;
|
|
6541
|
+
readonly documentfacade_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
6542
|
+
readonly documentfacade_createFromObject: (a: number, b: number, c: number) => number;
|
|
6543
|
+
readonly documentfacade_createFromBuffer: (a: number, b: number, c: number, d: number) => number;
|
|
6544
|
+
readonly documentfacade_createExtendedDocumentFromDocumentBuffer: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
6545
|
+
readonly documentfacade_createStateTransition: (a: number, b: number, c: number) => void;
|
|
6546
|
+
readonly documentfacade_validate: (a: number, b: number) => number;
|
|
6547
|
+
readonly documentfacade_validate_raw_document: (a: number, b: number) => number;
|
|
6548
|
+
readonly __wbg_documentdeletetransition_free: (a: number) => void;
|
|
6549
|
+
readonly documentdeletetransition_getAction: (a: number) => number;
|
|
6550
|
+
readonly documentdeletetransition_toObject: (a: number, b: number, c: number) => void;
|
|
6551
|
+
readonly documentdeletetransition_toJSON: (a: number, b: number) => void;
|
|
6552
|
+
readonly documentdeletetransition_getId: (a: number) => number;
|
|
6553
|
+
readonly documentdeletetransition_getType: (a: number, b: number) => void;
|
|
6554
|
+
readonly documentdeletetransition_getDataContract: (a: number) => number;
|
|
6555
|
+
readonly documentdeletetransition_getDataContractId: (a: number) => number;
|
|
6556
|
+
readonly documentdeletetransition_get: (a: number, b: number, c: number, d: number) => void;
|
|
6557
|
+
readonly __wbg_documentsbatchtransition_free: (a: number) => void;
|
|
6558
|
+
readonly documentsbatchtransition_from_raw_object: (a: number, b: number, c: number) => void;
|
|
6559
|
+
readonly documentsbatchtransition_getType: (a: number) => number;
|
|
6560
|
+
readonly documentsbatchtransition_getOwnerId: (a: number) => number;
|
|
6561
|
+
readonly documentsbatchtransition_getTransitions: (a: number) => number;
|
|
6562
|
+
readonly documentsbatchtransition_setTransitions: (a: number, b: number, c: number) => void;
|
|
6563
|
+
readonly documentsbatchtransition_toJSON: (a: number, b: number) => void;
|
|
6564
|
+
readonly documentsbatchtransition_toObject: (a: number, b: number, c: number) => void;
|
|
6565
|
+
readonly documentsbatchtransition_getModifiedDataIds: (a: number) => number;
|
|
6566
|
+
readonly documentsbatchtransition_getSignaturePublicKeyId: (a: number, b: number) => void;
|
|
6567
|
+
readonly documentsbatchtransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
6568
|
+
readonly documentsbatchtransition_verifyPublicKeyLevelAndPurpose: (a: number, b: number, c: number) => void;
|
|
6569
|
+
readonly documentsbatchtransition_verifyPublicKeyIsEnabled: (a: number, b: number, c: number) => void;
|
|
6570
|
+
readonly documentsbatchtransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
|
|
6571
|
+
readonly documentsbatchtransition_setSignaturePublicKeyId: (a: number, b: number) => void;
|
|
6572
|
+
readonly documentsbatchtransition_getKeySecurityLevelRequirement: (a: number) => number;
|
|
6573
|
+
readonly documentsbatchtransition_getProtocolVersion: (a: number) => number;
|
|
6574
|
+
readonly documentsbatchtransition_getSignature: (a: number, b: number) => void;
|
|
6575
|
+
readonly documentsbatchtransition_setSignature: (a: number, b: number, c: number) => void;
|
|
6576
|
+
readonly documentsbatchtransition_isDocumentStateTransition: (a: number) => number;
|
|
6577
|
+
readonly documentsbatchtransition_isDataContractStateTransition: (a: number) => number;
|
|
6578
|
+
readonly documentsbatchtransition_isIdentityStateTransition: (a: number) => number;
|
|
6579
|
+
readonly documentsbatchtransition_toBuffer: (a: number, b: number) => void;
|
|
6580
|
+
readonly documentsbatchtransition_hash: (a: number, b: number, c: number) => void;
|
|
6360
6581
|
readonly __wbg_datacontractimmutablepropertiesupdateerror_free: (a: number) => void;
|
|
6361
6582
|
readonly datacontractimmutablepropertiesupdateerror_getOperation: (a: number, b: number) => void;
|
|
6362
6583
|
readonly datacontractimmutablepropertiesupdateerror_getFieldPath: (a: number, b: number) => void;
|
|
@@ -6409,6 +6630,14 @@ export interface InitOutput {
|
|
|
6409
6630
|
readonly metadata_getCoreChainLockedHeight: (a: number) => number;
|
|
6410
6631
|
readonly metadata_getTimeMs: (a: number) => number;
|
|
6411
6632
|
readonly metadata_getProtocolVersion: (a: number) => number;
|
|
6633
|
+
readonly __wbg_precalculatedoperation_free: (a: number) => void;
|
|
6634
|
+
readonly precalculatedoperation_new: (a: number, b: number, c: number, d: number) => void;
|
|
6635
|
+
readonly precalculatedoperation_fromFee: (a: number) => number;
|
|
6636
|
+
readonly precalculatedoperation_getProcessingCost: (a: number, b: number) => void;
|
|
6637
|
+
readonly precalculatedoperation_getStorageCost: (a: number, b: number) => void;
|
|
6638
|
+
readonly precalculatedoperation_refunds: (a: number) => number;
|
|
6639
|
+
readonly precalculatedoperation_refunds_as_objects: (a: number, b: number) => void;
|
|
6640
|
+
readonly precalculatedoperation_toJSON: (a: number, b: number) => void;
|
|
6412
6641
|
readonly __wbg_signatureverificationoperation_free: (a: number) => void;
|
|
6413
6642
|
readonly signatureverificationoperation_new: (a: number, b: number) => void;
|
|
6414
6643
|
readonly signatureverificationoperation_getProcessingCost: (a: number, b: number) => void;
|
|
@@ -6428,173 +6657,6 @@ export interface InitOutput {
|
|
|
6428
6657
|
readonly __wbg_duplicatedidentitypublickeystateerror_free: (a: number) => void;
|
|
6429
6658
|
readonly validationresult_getErrors: (a: number, b: number) => void;
|
|
6430
6659
|
readonly __wbg_duplicatedocumenttransitionswithindiceserror_free: (a: number) => void;
|
|
6431
|
-
readonly validateDataContractCreateTransitionState: (a: number, b: number, c: number) => number;
|
|
6432
|
-
readonly validateDataContractCreateTransitionBasic: (a: number) => number;
|
|
6433
|
-
readonly __wbg_indexproperty_free: (a: number) => void;
|
|
6434
|
-
readonly indexproperty_isAscending: (a: number) => number;
|
|
6435
|
-
readonly __wbg_indexdefinition_free: (a: number) => void;
|
|
6436
|
-
readonly indexdefinition_getName: (a: number, b: number) => void;
|
|
6437
|
-
readonly indexdefinition_getProperties: (a: number, b: number) => void;
|
|
6438
|
-
readonly indexdefinition_isUnique: (a: number) => number;
|
|
6439
|
-
readonly indexdefinition_toObject: (a: number, b: number) => void;
|
|
6440
|
-
readonly __wbg_mismatchowneridserror_free: (a: number) => void;
|
|
6441
|
-
readonly mismatchowneridserror_new: (a: number, b: number) => number;
|
|
6442
|
-
readonly mismatchowneridserror_getDocuments: (a: number, b: number) => void;
|
|
6443
|
-
readonly __wbg_extendeddocument_free: (a: number) => void;
|
|
6444
|
-
readonly extendeddocument_new: (a: number, b: number, c: number) => void;
|
|
6445
|
-
readonly extendeddocument_getProtocolVersion: (a: number) => number;
|
|
6446
|
-
readonly extendeddocument_setId: (a: number, b: number) => void;
|
|
6447
|
-
readonly extendeddocument_getType: (a: number, b: number) => void;
|
|
6448
|
-
readonly extendeddocument_setType: (a: number, b: number, c: number) => void;
|
|
6449
|
-
readonly extendeddocument_getDataContractId: (a: number) => number;
|
|
6450
|
-
readonly extendeddocument_getDataContract: (a: number) => number;
|
|
6451
|
-
readonly extendeddocument_setDataContractId: (a: number, b: number, c: number) => void;
|
|
6452
|
-
readonly extendeddocument_getDocument: (a: number) => number;
|
|
6453
|
-
readonly extendeddocument_setOwnerId: (a: number, b: number) => void;
|
|
6454
|
-
readonly extendeddocument_getOwnerId: (a: number) => number;
|
|
6455
|
-
readonly extendeddocument_setRevision: (a: number, b: number, c: number) => void;
|
|
6456
|
-
readonly extendeddocument_getRevision: (a: number, b: number) => void;
|
|
6457
|
-
readonly extendeddocument_setEntropy: (a: number, b: number, c: number, d: number) => void;
|
|
6458
|
-
readonly extendeddocument_getEntropy: (a: number) => number;
|
|
6459
|
-
readonly extendeddocument_setData: (a: number, b: number, c: number) => void;
|
|
6460
|
-
readonly extendeddocument_getData: (a: number, b: number) => void;
|
|
6461
|
-
readonly extendeddocument_set: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6462
|
-
readonly extendeddocument_get: (a: number, b: number, c: number) => number;
|
|
6463
|
-
readonly extendeddocument_setCreatedAt: (a: number, b: number) => void;
|
|
6464
|
-
readonly extendeddocument_setUpdatedAt: (a: number, b: number) => void;
|
|
6465
|
-
readonly extendeddocument_getCreatedAt: (a: number) => number;
|
|
6466
|
-
readonly extendeddocument_getUpdatedAt: (a: number) => number;
|
|
6467
|
-
readonly extendeddocument_getMetadata: (a: number) => number;
|
|
6468
|
-
readonly extendeddocument_setMetadata: (a: number, b: number, c: number) => void;
|
|
6469
|
-
readonly extendeddocument_toObject: (a: number, b: number, c: number) => void;
|
|
6470
|
-
readonly extendeddocument_toJSON: (a: number, b: number) => void;
|
|
6471
|
-
readonly extendeddocument_toBuffer: (a: number, b: number) => void;
|
|
6472
|
-
readonly extendeddocument_hash: (a: number, b: number) => void;
|
|
6473
|
-
readonly extendeddocument_clone: (a: number) => number;
|
|
6474
|
-
readonly __wbg_documentdeletetransition_free: (a: number) => void;
|
|
6475
|
-
readonly documentdeletetransition_getAction: (a: number) => number;
|
|
6476
|
-
readonly documentdeletetransition_toObject: (a: number, b: number, c: number) => void;
|
|
6477
|
-
readonly documentdeletetransition_toJSON: (a: number, b: number) => void;
|
|
6478
|
-
readonly documentdeletetransition_getId: (a: number) => number;
|
|
6479
|
-
readonly documentdeletetransition_getType: (a: number, b: number) => void;
|
|
6480
|
-
readonly documentdeletetransition_getDataContract: (a: number) => number;
|
|
6481
|
-
readonly documentdeletetransition_getDataContractId: (a: number) => number;
|
|
6482
|
-
readonly documentdeletetransition_get: (a: number, b: number, c: number, d: number) => void;
|
|
6483
|
-
readonly __wbg_documenttransition_free: (a: number) => void;
|
|
6484
|
-
readonly documenttransition_getId: (a: number) => number;
|
|
6485
|
-
readonly documenttransition_getType: (a: number, b: number) => void;
|
|
6486
|
-
readonly documenttransition_getAction: (a: number) => number;
|
|
6487
|
-
readonly documenttransition_getDataContract: (a: number) => number;
|
|
6488
|
-
readonly documenttransition_getDataContractId: (a: number) => number;
|
|
6489
|
-
readonly documenttransition_setDataContractId: (a: number, b: number, c: number) => void;
|
|
6490
|
-
readonly documenttransition_getRevision: (a: number) => number;
|
|
6491
|
-
readonly documenttransition_getCreatedAt: (a: number) => number;
|
|
6492
|
-
readonly documenttransition_getUpdatedAt: (a: number) => number;
|
|
6493
|
-
readonly documenttransition_setUpdatedAt: (a: number, b: number, c: number) => void;
|
|
6494
|
-
readonly documenttransition_setCreatedAt: (a: number, b: number) => void;
|
|
6495
|
-
readonly documenttransition_getData: (a: number, b: number) => void;
|
|
6496
|
-
readonly documenttransition_get: (a: number, b: number, c: number) => number;
|
|
6497
|
-
readonly documenttransition_toObject: (a: number, b: number, c: number) => void;
|
|
6498
|
-
readonly documenttransition_toJSON: (a: number, b: number) => void;
|
|
6499
|
-
readonly documenttransition_fromTransitionCreate: (a: number) => number;
|
|
6500
|
-
readonly documenttransition_fromTransitionReplace: (a: number) => number;
|
|
6501
|
-
readonly documenttransition_fromTransitionDelete: (a: number) => number;
|
|
6502
|
-
readonly serializedobjectparsingerror_getParsingError: (a: number, b: number) => void;
|
|
6503
|
-
readonly serializedobjectparsingerror_getCode: (a: number) => number;
|
|
6504
|
-
readonly serializedobjectparsingerror_message: (a: number, b: number) => void;
|
|
6505
|
-
readonly serializedobjectparsingerror_serialize: (a: number, b: number) => void;
|
|
6506
|
-
readonly __wbg_datacontractnotpresenterror_free: (a: number) => void;
|
|
6507
|
-
readonly datacontractnotpresenterror_getDataContractId: (a: number) => number;
|
|
6508
|
-
readonly datacontractnotpresenterror_getCode: (a: number) => number;
|
|
6509
|
-
readonly datacontractnotpresenterror_message: (a: number, b: number) => void;
|
|
6510
|
-
readonly datacontractnotpresenterror_serialize: (a: number, b: number) => void;
|
|
6511
|
-
readonly __wbg_invaliddocumenttransitionactionerror_free: (a: number) => void;
|
|
6512
|
-
readonly invaliddocumenttransitionactionerror_getAction: (a: number, b: number) => void;
|
|
6513
|
-
readonly invaliddocumenttransitionactionerror_getCode: (a: number) => number;
|
|
6514
|
-
readonly invaliddocumenttransitionactionerror_message: (a: number, b: number) => void;
|
|
6515
|
-
readonly invaliddocumenttransitionactionerror_serialize: (a: number, b: number) => void;
|
|
6516
|
-
readonly identityassetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
|
|
6517
|
-
readonly identityassetlocktransactionisnotfounderror_getCode: (a: number) => number;
|
|
6518
|
-
readonly identityassetlocktransactionisnotfounderror_message: (a: number, b: number) => void;
|
|
6519
|
-
readonly identityassetlocktransactionisnotfounderror_serialize: (a: number, b: number) => void;
|
|
6520
|
-
readonly invalididentityassetlocktransactionerror_getErrorMessage: (a: number, b: number) => void;
|
|
6521
|
-
readonly invalididentityassetlocktransactionerror_getCode: (a: number) => number;
|
|
6522
|
-
readonly invalididentityassetlocktransactionerror_message: (a: number, b: number) => void;
|
|
6523
|
-
readonly invalididentityassetlocktransactionerror_serialize: (a: number, b: number) => void;
|
|
6524
|
-
readonly jsonschemacompilationerror_getError: (a: number, b: number) => void;
|
|
6525
|
-
readonly jsonschemacompilationerror_getCode: (a: number) => number;
|
|
6526
|
-
readonly jsonschemacompilationerror_message: (a: number, b: number) => void;
|
|
6527
|
-
readonly jsonschemacompilationerror_serialize: (a: number, b: number) => void;
|
|
6528
|
-
readonly documentalreadypresenterror_getDocumentId: (a: number) => number;
|
|
6529
|
-
readonly documentalreadypresenterror_getCode: (a: number) => number;
|
|
6530
|
-
readonly documentalreadypresenterror_message: (a: number, b: number) => void;
|
|
6531
|
-
readonly documentalreadypresenterror_serialize: (a: number, b: number) => void;
|
|
6532
|
-
readonly documentnotfounderror_getDocumentId: (a: number) => number;
|
|
6533
|
-
readonly documentnotfounderror_getCode: (a: number) => number;
|
|
6534
|
-
readonly documentnotfounderror_message: (a: number, b: number) => void;
|
|
6535
|
-
readonly documentnotfounderror_serialize: (a: number, b: number) => void;
|
|
6536
|
-
readonly documenttimestampsmismatcherror_getDocumentId: (a: number) => number;
|
|
6537
|
-
readonly documenttimestampsmismatcherror_getCode: (a: number) => number;
|
|
6538
|
-
readonly documenttimestampsmismatcherror_message: (a: number, b: number) => void;
|
|
6539
|
-
readonly documenttimestampsmismatcherror_serialize: (a: number, b: number) => void;
|
|
6540
|
-
readonly identityalreadyexistserror_getIdentityId: (a: number) => number;
|
|
6541
|
-
readonly identityalreadyexistserror_getCode: (a: number) => number;
|
|
6542
|
-
readonly identityalreadyexistserror_message: (a: number, b: number) => void;
|
|
6543
|
-
readonly identityalreadyexistserror_serialize: (a: number, b: number) => void;
|
|
6544
|
-
readonly __wbg_missingidentitypublickeyidserror_free: (a: number) => void;
|
|
6545
|
-
readonly missingidentitypublickeyidserror_getDuplicatedIds: (a: number) => number;
|
|
6546
|
-
readonly valueerror_getMessage: (a: number, b: number) => void;
|
|
6547
|
-
readonly valueerror_getCode: (a: number) => number;
|
|
6548
|
-
readonly valueerror_message: (a: number, b: number) => void;
|
|
6549
|
-
readonly valueerror_serialize: (a: number, b: number) => void;
|
|
6550
|
-
readonly __wbg_identityfacade_free: (a: number) => void;
|
|
6551
|
-
readonly identityfacade_create: (a: number, b: number, c: number, d: number) => void;
|
|
6552
|
-
readonly identityfacade_createFromObject: (a: number, b: number, c: number, d: number) => void;
|
|
6553
|
-
readonly identityfacade_createFromBuffer: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6554
|
-
readonly identityfacade_validate: (a: number, b: number, c: number) => void;
|
|
6555
|
-
readonly identityfacade_createInstantAssetLockProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
6556
|
-
readonly identityfacade_createChainAssetLockProof: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6557
|
-
readonly identityfacade_createIdentityCreateTransition: (a: number, b: number, c: number) => void;
|
|
6558
|
-
readonly identityfacade_createIdentityTopUpTransition: (a: number, b: number, c: number, d: number) => void;
|
|
6559
|
-
readonly identityfacade_createIdentityUpdateTransition: (a: number, b: number, c: number, d: number) => void;
|
|
6560
|
-
readonly __wbg_nonconsensuserrorwasm_free: (a: number) => void;
|
|
6561
|
-
readonly __wbg_publickeysvalidator_free: (a: number) => void;
|
|
6562
|
-
readonly publickeysvalidator_new: (a: number, b: number) => void;
|
|
6563
|
-
readonly publickeysvalidator_validateKeys: (a: number, b: number, c: number) => void;
|
|
6564
|
-
readonly publickeysvalidator_validatePublicKeyStructure: (a: number, b: number, c: number) => void;
|
|
6565
|
-
readonly publickeysvalidator_validateKeysInStateTransition: (a: number, b: number, c: number) => void;
|
|
6566
|
-
readonly __wbg_instantassetlockproof_free: (a: number) => void;
|
|
6567
|
-
readonly instantassetlockproof_new: (a: number, b: number) => void;
|
|
6568
|
-
readonly instantassetlockproof_getType: (a: number) => number;
|
|
6569
|
-
readonly instantassetlockproof_getOutputIndex: (a: number) => number;
|
|
6570
|
-
readonly instantassetlockproof_getOutPoint: (a: number) => number;
|
|
6571
|
-
readonly instantassetlockproof_getOutput: (a: number, b: number) => void;
|
|
6572
|
-
readonly instantassetlockproof_createIdentifier: (a: number, b: number) => void;
|
|
6573
|
-
readonly instantassetlockproof_getInstantLock: (a: number) => number;
|
|
6574
|
-
readonly instantassetlockproof_getTransaction: (a: number) => number;
|
|
6575
|
-
readonly instantassetlockproof_toObject: (a: number, b: number) => void;
|
|
6576
|
-
readonly instantassetlockproof_toJSON: (a: number, b: number) => void;
|
|
6577
|
-
readonly calculateStateTransitionFeeFromOperations: (a: number, b: number, c: number) => void;
|
|
6578
|
-
readonly __wbg_statetransitionexecutioncontext_free: (a: number) => void;
|
|
6579
|
-
readonly statetransitionexecutioncontext_new: () => number;
|
|
6580
|
-
readonly statetransitionexecutioncontext_enableDryRun: (a: number) => void;
|
|
6581
|
-
readonly statetransitionexecutioncontext_disableDryRun: (a: number) => void;
|
|
6582
|
-
readonly statetransitionexecutioncontext_isDryRun: (a: number) => number;
|
|
6583
|
-
readonly statetransitionexecutioncontext_addOperation: (a: number, b: number, c: number) => void;
|
|
6584
|
-
readonly statetransitionexecutioncontext_getDryOperations: (a: number, b: number) => void;
|
|
6585
|
-
readonly statetransitionexecutioncontext_getOperations: (a: number, b: number) => void;
|
|
6586
|
-
readonly statetransitionexecutioncontext_clearDryOperations: (a: number) => void;
|
|
6587
|
-
readonly extendeddocument_getId: (a: number) => number;
|
|
6588
|
-
readonly indexproperty_getName: (a: number, b: number) => void;
|
|
6589
|
-
readonly __wbg_identityassetlocktransactionisnotfounderror_free: (a: number) => void;
|
|
6590
|
-
readonly __wbg_documentalreadypresenterror_free: (a: number) => void;
|
|
6591
|
-
readonly __wbg_documentnotfounderror_free: (a: number) => void;
|
|
6592
|
-
readonly __wbg_documenttimestampsmismatcherror_free: (a: number) => void;
|
|
6593
|
-
readonly __wbg_identityalreadyexistserror_free: (a: number) => void;
|
|
6594
|
-
readonly __wbg_serializedobjectparsingerror_free: (a: number) => void;
|
|
6595
|
-
readonly __wbg_invalididentityassetlocktransactionerror_free: (a: number) => void;
|
|
6596
|
-
readonly __wbg_jsonschemacompilationerror_free: (a: number) => void;
|
|
6597
|
-
readonly __wbg_valueerror_free: (a: number) => void;
|
|
6598
6660
|
readonly rustsecp256k1_v0_6_1_context_create: (a: number) => number;
|
|
6599
6661
|
readonly rustsecp256k1_v0_6_1_context_destroy: (a: number) => void;
|
|
6600
6662
|
readonly rustsecp256k1_v0_6_1_default_illegal_callback_fn: (a: number, b: number) => void;
|
|
@@ -6602,11 +6664,11 @@ export interface InitOutput {
|
|
|
6602
6664
|
readonly __wbindgen_malloc: (a: number) => number;
|
|
6603
6665
|
readonly __wbindgen_realloc: (a: number, b: number, c: number) => number;
|
|
6604
6666
|
readonly __wbindgen_export_2: WebAssembly.Table;
|
|
6605
|
-
readonly
|
|
6667
|
+
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc20888cf22f54164: (a: number, b: number, c: number) => void;
|
|
6606
6668
|
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
6607
6669
|
readonly __wbindgen_free: (a: number, b: number) => void;
|
|
6608
6670
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
6609
|
-
readonly
|
|
6671
|
+
readonly wasm_bindgen__convert__closures__invoke2_mut__h6bd18e3c01470de5: (a: number, b: number, c: number, d: number) => void;
|
|
6610
6672
|
}
|
|
6611
6673
|
|
|
6612
6674
|
export type SyncInitInput = BufferSource | WebAssembly.Module;
|
|
@@ -6628,4 +6690,4 @@ export function initSync(module: SyncInitInput): InitOutput;
|
|
|
6628
6690
|
*
|
|
6629
6691
|
* @returns {Promise<InitOutput>}
|
|
6630
6692
|
*/
|
|
6631
|
-
export default function
|
|
6693
|
+
export default function __wbg_init (module_or_path: InitInput | Promise<InitInput>): Promise<InitOutput>;
|