@dashevo/wasm-dpp 0.24.18 → 0.24.20

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.
@@ -7,7 +7,7 @@ export function generateTemporaryEcdsaPrivateKey(): any;
7
7
  /**
8
8
  * @returns {number}
9
9
  */
10
- export function getCreditsConversionRatio(): number;
10
+ export function getLatestProtocolVersion(): number;
11
11
  /**
12
12
  * @param {any} state_repository
13
13
  * @param {any} js_raw_document
@@ -28,27 +28,27 @@ export function applyDocumentsBatchTransition(state_repository: any, transition:
28
28
  */
29
29
  export function fetchExtendedDocuments(state_repository: any, js_document_transitions: Array<any>, js_execution_context: StateTransitionExecutionContext): Promise<Array<any>>;
30
30
  /**
31
+ * @returns {number}
32
+ */
33
+ export function getCreditsConversionRatio(): number;
34
+ /**
31
35
  * @param {any} state_repository
32
- * @param {DocumentsBatchTransition} state_transition
33
- * @returns {Promise<ValidationResult>}
36
+ * @param {IdentityCreateTransition} state_transition
37
+ * @returns {Promise<void>}
34
38
  */
35
- export function validateDocumentsBatchTransitionState(state_repository: any, state_transition: DocumentsBatchTransition): Promise<ValidationResult>;
39
+ export function applyIdentityCreateTransition(state_repository: any, state_transition: IdentityCreateTransition): Promise<void>;
36
40
  /**
37
41
  * @param {any} state_repository
38
- * @param {IdentityUpdateTransition} state_transition
42
+ * @param {IdentityTopUpTransition} state_transition
39
43
  * @returns {Promise<void>}
40
44
  */
41
- export function applyIdentityUpdateTransition(state_repository: any, state_transition: IdentityUpdateTransition): Promise<void>;
45
+ export function applyIdentityTopUpTransition(state_repository: any, state_transition: IdentityTopUpTransition): Promise<void>;
42
46
  /**
43
47
  * @param {Array<any>} operations
44
48
  * @returns {DummyFeesResult}
45
49
  */
46
50
  export function calculateOperationFees(operations: Array<any>): DummyFeesResult;
47
51
  /**
48
- * @returns {number}
49
- */
50
- export function getLatestProtocolVersion(): number;
51
- /**
52
52
  * @param {Array<any>} js_document_transitions
53
53
  * @param {DataTriggerExecutionContext} js_context
54
54
  * @param {Array<any>} js_data_triggers
@@ -71,16 +71,16 @@ export function validatePartialCompoundIndices(js_raw_transitions: Array<any>, d
71
71
  export function validateDocumentsBatchTransitionBasic(protocol_version_validator: ProtocolVersionValidator, state_repository: any, js_raw_state_transition: any, execution_context: StateTransitionExecutionContext): Promise<ValidationResult>;
72
72
  /**
73
73
  * @param {any} state_repository
74
- * @param {IdentityCreateTransition} state_transition
75
- * @returns {Promise<void>}
74
+ * @param {DocumentsBatchTransition} state_transition
75
+ * @returns {Promise<ValidationResult>}
76
76
  */
77
- export function applyIdentityCreateTransition(state_repository: any, state_transition: IdentityCreateTransition): Promise<void>;
77
+ export function validateDocumentsBatchTransitionState(state_repository: any, state_transition: DocumentsBatchTransition): Promise<ValidationResult>;
78
78
  /**
79
79
  * @param {any} state_repository
80
- * @param {IdentityTopUpTransition} state_transition
80
+ * @param {IdentityUpdateTransition} state_transition
81
81
  * @returns {Promise<void>}
82
82
  */
83
- export function applyIdentityTopUpTransition(state_repository: any, state_transition: IdentityTopUpTransition): Promise<void>;
83
+ export function applyIdentityUpdateTransition(state_repository: any, state_transition: IdentityUpdateTransition): Promise<void>;
84
84
  /**
85
85
  * @param {any} state_repository
86
86
  * @param {DataContractCreateTransition} state_transition
@@ -169,11 +169,6 @@ export function getDataTriggers(js_data_contract_id: any, document_type: string,
169
169
  */
170
170
  export function getAllDataTriggers(): Array<any>;
171
171
  /**
172
- * @param {any} state_transition_js
173
- * @returns {FeeResult}
174
- */
175
- export function calculateStateTransitionFee(state_transition_js: any): FeeResult;
176
- /**
177
172
  * @param {any} external_state_repository
178
173
  * @param {any} js_state_transition
179
174
  * @param {any} bls_adapter
@@ -181,6 +176,11 @@ export function calculateStateTransitionFee(state_transition_js: any): FeeResult
181
176
  */
182
177
  export function validateStateTransitionIdentitySignature(external_state_repository: any, js_state_transition: any, bls_adapter: any): Promise<ValidationResult>;
183
178
  /**
179
+ * @param {any} state_transition_js
180
+ * @returns {FeeResult}
181
+ */
182
+ export function calculateStateTransitionFee(state_transition_js: any): FeeResult;
183
+ /**
184
184
  * @param {Array<any>} js_raw_transitions
185
185
  * @param {DataContract} data_contract
186
186
  * @param {any} owner_id
@@ -5302,11 +5302,11 @@ export interface InitOutput {
5302
5302
  readonly documenttransition_fromTransitionCreate: (a: number) => number;
5303
5303
  readonly documenttransition_fromTransitionReplace: (a: number) => number;
5304
5304
  readonly documenttransition_fromTransitionDelete: (a: number) => number;
5305
- readonly __wbg_documenttimestampsmismatcherror_free: (a: number) => void;
5306
- readonly documenttimestampsmismatcherror_getDocumentId: (a: number) => number;
5307
- readonly documenttimestampsmismatcherror_getCode: (a: number) => number;
5308
- readonly documenttimestampsmismatcherror_message: (a: number, b: number) => void;
5309
- readonly documenttimestampsmismatcherror_serialize: (a: number, b: number) => void;
5305
+ readonly __wbg_documentalreadypresenterror_free: (a: number) => void;
5306
+ readonly documentalreadypresenterror_getDocumentId: (a: number) => number;
5307
+ readonly documentalreadypresenterror_getCode: (a: number) => number;
5308
+ readonly documentalreadypresenterror_message: (a: number, b: number) => void;
5309
+ readonly documentalreadypresenterror_serialize: (a: number, b: number) => void;
5310
5310
  readonly __wbg_publickeysvalidator_free: (a: number) => void;
5311
5311
  readonly publickeysvalidator_new: (a: number, b: number) => void;
5312
5312
  readonly publickeysvalidator_validateKeys: (a: number, b: number, c: number) => void;
@@ -5404,10 +5404,6 @@ export interface InitOutput {
5404
5404
  readonly publickeyisdisablederror_getCode: (a: number) => number;
5405
5405
  readonly publickeyisdisablederror_message: (a: number, b: number) => void;
5406
5406
  readonly publickeyisdisablederror_serialize: (a: number, b: number) => void;
5407
- readonly documentalreadypresenterror_getDocumentId: (a: number) => number;
5408
- readonly documentalreadypresenterror_getCode: (a: number) => number;
5409
- readonly documentalreadypresenterror_message: (a: number, b: number) => void;
5410
- readonly documentalreadypresenterror_serialize: (a: number, b: number) => void;
5411
5407
  readonly documentnotfounderror_getDocumentId: (a: number) => number;
5412
5408
  readonly documentnotfounderror_getCode: (a: number) => number;
5413
5409
  readonly documentnotfounderror_message: (a: number, b: number) => void;
@@ -5416,6 +5412,10 @@ export interface InitOutput {
5416
5412
  readonly documenttimestampsareequalerror_getCode: (a: number) => number;
5417
5413
  readonly documenttimestampsareequalerror_message: (a: number, b: number) => void;
5418
5414
  readonly documenttimestampsareequalerror_serialize: (a: number, b: number) => void;
5415
+ readonly documenttimestampsmismatcherror_getDocumentId: (a: number) => number;
5416
+ readonly documenttimestampsmismatcherror_getCode: (a: number) => number;
5417
+ readonly documenttimestampsmismatcherror_message: (a: number, b: number) => void;
5418
+ readonly documenttimestampsmismatcherror_serialize: (a: number, b: number) => void;
5419
5419
  readonly identityalreadyexistserror_getIdentityId: (a: number) => number;
5420
5420
  readonly identityalreadyexistserror_getCode: (a: number) => number;
5421
5421
  readonly identityalreadyexistserror_message: (a: number, b: number) => void;
@@ -5482,9 +5482,9 @@ export interface InitOutput {
5482
5482
  readonly __wbg_invalididentitykeysignatureerror_free: (a: number) => void;
5483
5483
  readonly __wbg_missingpublickeyerror_free: (a: number) => void;
5484
5484
  readonly __wbg_publickeyisdisablederror_free: (a: number) => void;
5485
- readonly __wbg_documentalreadypresenterror_free: (a: number) => void;
5486
5485
  readonly __wbg_documentnotfounderror_free: (a: number) => void;
5487
5486
  readonly __wbg_documenttimestampsareequalerror_free: (a: number) => void;
5487
+ readonly __wbg_documenttimestampsmismatcherror_free: (a: number) => void;
5488
5488
  readonly __wbg_identityalreadyexistserror_free: (a: number) => void;
5489
5489
  readonly __wbg_identitypublickeyisdisablederror_free: (a: number) => void;
5490
5490
  readonly __wbg_invalididentitypublickeyiderror_free: (a: number) => void;
@@ -5528,7 +5528,6 @@ export interface InitOutput {
5528
5528
  readonly identityfactory_createIdentityCreateTransition: (a: number, b: number, c: number) => void;
5529
5529
  readonly identityfactory_createIdentityTopUpTransition: (a: number, b: number, c: number, d: number) => void;
5530
5530
  readonly identityfactory_createIdentityUpdateTransition: (a: number, b: number, c: number, d: number) => void;
5531
- readonly getCreditsConversionRatio: () => number;
5532
5531
  readonly __wbg_identitycreatetransitionbasicvalidator_free: (a: number) => void;
5533
5532
  readonly identitycreatetransitionbasicvalidator_new: (a: number, b: number, c: number) => void;
5534
5533
  readonly identitycreatetransitionbasicvalidator_validate: (a: number, b: number, c: number) => number;
@@ -5547,6 +5546,7 @@ export interface InitOutput {
5547
5546
  readonly statetransitionexecutioncontext_getDryOperations: (a: number, b: number) => void;
5548
5547
  readonly statetransitionexecutioncontext_getOperations: (a: number, b: number) => void;
5549
5548
  readonly statetransitionexecutioncontext_clearDryOperations: (a: number) => void;
5549
+ readonly getLatestProtocolVersion: () => number;
5550
5550
  readonly nodocumentssuppliederror_new: () => number;
5551
5551
  readonly __wbg_dashplatformprotocol_free: (a: number) => void;
5552
5552
  readonly dashplatformprotocol_new: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -5587,7 +5587,6 @@ export interface InitOutput {
5587
5587
  readonly documentdeletetransition_getDataContractId: (a: number) => number;
5588
5588
  readonly documentdeletetransition_get: (a: number, b: number, c: number, d: number) => void;
5589
5589
  readonly fetchExtendedDocuments: (a: number, b: number, c: number) => number;
5590
- readonly validateDocumentsBatchTransitionState: (a: number, b: number) => number;
5591
5590
  readonly __wbg_invalidinstantassetlockprooferror_free: (a: number) => void;
5592
5591
  readonly invalidinstantassetlockprooferror_getCode: (a: number) => number;
5593
5592
  readonly invalidinstantassetlockprooferror_message: (a: number, b: number) => void;
@@ -5601,7 +5600,9 @@ export interface InitOutput {
5601
5600
  readonly documenttimestampwindowviolationerror_getCode: (a: number) => number;
5602
5601
  readonly documenttimestampwindowviolationerror_message: (a: number, b: number) => void;
5603
5602
  readonly documenttimestampwindowviolationerror_serialize: (a: number, b: number) => void;
5604
- readonly applyIdentityUpdateTransition: (a: number, b: number) => number;
5603
+ readonly getCreditsConversionRatio: () => number;
5604
+ readonly applyIdentityCreateTransition: (a: number, b: number) => number;
5605
+ readonly applyIdentityTopUpTransition: (a: number, b: number) => number;
5605
5606
  readonly __wbg_metadata_free: (a: number) => void;
5606
5607
  readonly metadata_new: (a: number, b: number) => void;
5607
5608
  readonly metadata_from: (a: number, b: number) => void;
@@ -5619,7 +5620,6 @@ export interface InitOutput {
5619
5620
  readonly dummyfeesresult_set_storageFee: (a: number, b: number, c: number) => void;
5620
5621
  readonly dummyfeesresult_set_processingFee: (a: number, b: number, c: number) => void;
5621
5622
  readonly dummyfeesresult_set_feeRefunds: (a: number, b: number, c: number) => void;
5622
- readonly getLatestProtocolVersion: () => number;
5623
5623
  readonly invalidactionterror_new: (a: number) => number;
5624
5624
  readonly dashplatformprotocol_protocol_version: (a: number) => number;
5625
5625
  readonly documentdeletetransition_getDataContract: (a: number) => number;
@@ -5672,9 +5672,9 @@ export interface InitOutput {
5672
5672
  readonly identityupdatetransition_identityId: (a: number) => number;
5673
5673
  readonly __wbg_datacontractgenericerror_free: (a: number) => void;
5674
5674
  readonly datacontractgenericerror_getMessage: (a: number, b: number) => void;
5675
- readonly __wbg_applydatacontractcreatetransition_free: (a: number) => void;
5676
- readonly applydatacontractcreatetransition_new: (a: number) => number;
5677
- readonly applydatacontractcreatetransition_applyDataContractCreateTransition: (a: number, b: number) => number;
5675
+ readonly __wbg_applydatacontractupdatetransition_free: (a: number) => void;
5676
+ readonly applydatacontractupdatetransition_new: (a: number) => number;
5677
+ readonly applydatacontractupdatetransition_applyDataContractUpdateTransition: (a: number, b: number) => number;
5678
5678
  readonly executeDataTriggers: (a: number, b: number, c: number) => number;
5679
5679
  readonly __wbg_invaliddocumenterror_free: (a: number) => void;
5680
5680
  readonly invaliddocumenterror_new: (a: number, b: number, c: number) => number;
@@ -5704,6 +5704,7 @@ export interface InitOutput {
5704
5704
  readonly documentreplacetransition_get: (a: number, b: number, c: number, d: number) => void;
5705
5705
  readonly validatePartialCompoundIndices: (a: number, b: number, c: number) => void;
5706
5706
  readonly validateDocumentsBatchTransitionBasic: (a: number, b: number, c: number, d: number) => number;
5707
+ readonly validateDocumentsBatchTransitionState: (a: number, b: number) => number;
5707
5708
  readonly __wbg_datacontracthavenewuniqueindexerror_free: (a: number) => void;
5708
5709
  readonly datacontracthavenewuniqueindexerror_getDocumentType: (a: number, b: number) => void;
5709
5710
  readonly datacontracthavenewuniqueindexerror_getIndexName: (a: number, b: number) => void;
@@ -5770,20 +5771,19 @@ export interface InitOutput {
5770
5771
  readonly invalidstatetransitionsignatureerror_getCode: (a: number) => number;
5771
5772
  readonly invalidstatetransitionsignatureerror_message: (a: number, b: number) => void;
5772
5773
  readonly invalidstatetransitionsignatureerror_serialize: (a: number, b: number) => void;
5773
- readonly __wbg_datatriggerconditionerror_free: (a: number) => void;
5774
- readonly datatriggerconditionerror_getDataContractId: (a: number) => number;
5775
- readonly datatriggerconditionerror_getDocumentId: (a: number) => number;
5776
- readonly datatriggerconditionerror_getMessage: (a: number, b: number) => void;
5777
- readonly datatriggerconditionerror_getCode: (a: number) => number;
5778
- readonly datatriggerconditionerror_message: (a: number, b: number) => void;
5779
- readonly datatriggerconditionerror_serialize: (a: number, b: number) => void;
5774
+ readonly __wbg_datatriggerexecutionerror_free: (a: number) => void;
5775
+ readonly datatriggerexecutionerror_getDataContractId: (a: number) => number;
5776
+ readonly datatriggerexecutionerror_getDocumentId: (a: number) => number;
5777
+ readonly datatriggerexecutionerror_getMessage: (a: number, b: number) => void;
5778
+ readonly datatriggerexecutionerror_getCode: (a: number) => number;
5779
+ readonly datatriggerexecutionerror_message: (a: number, b: number) => void;
5780
+ readonly datatriggerexecutionerror_serialize: (a: number, b: number) => void;
5780
5781
  readonly platformvalueerror_toString: (a: number, b: number) => void;
5781
- readonly applyIdentityCreateTransition: (a: number, b: number) => number;
5782
5782
  readonly __wbg_identitycreatetransitionstatevalidator_free: (a: number) => void;
5783
5783
  readonly identitycreatetransitionstatevalidator_new: (a: number) => number;
5784
5784
  readonly identitycreatetransitionstatevalidator_validate: (a: number, b: number) => number;
5785
- readonly applyIdentityTopUpTransition: (a: number, b: number) => number;
5786
5785
  readonly identitytopuptransitionstatevalidator_validate: (a: number, b: number) => number;
5786
+ readonly applyIdentityUpdateTransition: (a: number, b: number) => number;
5787
5787
  readonly __wbg_readoperation_free: (a: number) => void;
5788
5788
  readonly readoperation_new: (a: number, b: number) => void;
5789
5789
  readonly readoperation_processingCost: (a: number, b: number) => void;
@@ -5815,13 +5815,19 @@ export interface InitOutput {
5815
5815
  readonly __wbg_invalidstatetransitionsignatureerror_free: (a: number) => void;
5816
5816
  readonly identitytopuptransitionstatevalidator_new: (a: number) => number;
5817
5817
  readonly platformvalueerror_valueOf: (a: number, b: number) => void;
5818
+ readonly __wbg_applydatacontractcreatetransition_free: (a: number) => void;
5819
+ readonly applydatacontractcreatetransition_new: (a: number) => number;
5820
+ readonly applydatacontractcreatetransition_applyDataContractCreateTransition: (a: number, b: number) => number;
5818
5821
  readonly validateDataContractCreateTransitionState: (a: number, b: number) => number;
5819
5822
  readonly validateDataContractCreateTransitionBasic: (a: number) => number;
5820
- readonly __wbg_applydatacontractupdatetransition_free: (a: number) => void;
5821
- readonly applydatacontractupdatetransition_new: (a: number) => number;
5822
- readonly applydatacontractupdatetransition_applyDataContractUpdateTransition: (a: number, b: number) => number;
5823
- readonly __wbg_documentnotprovidederror_free: (a: number) => void;
5824
- readonly documentnotprovidederror_getDocumentTransition: (a: number) => number;
5823
+ readonly __wbg_datatriggerexecutionresult_free: (a: number) => void;
5824
+ readonly datatriggerexecutionresult_isOk: (a: number) => number;
5825
+ readonly datatriggerexecutionresult_getErrors: (a: number) => number;
5826
+ readonly __wbg_documentalreadyexistserror_free: (a: number) => void;
5827
+ readonly documentalreadyexistserror_getDocumentTransition: (a: number) => number;
5828
+ readonly __wbg_invalidinitialrevisionerror_free: (a: number) => void;
5829
+ readonly invalidinitialrevisionerror_new: (a: number) => number;
5830
+ readonly invalidinitialrevisionerror_getDocument: (a: number) => number;
5825
5831
  readonly __wbg_documentfacade_free: (a: number) => void;
5826
5832
  readonly documentfacade_new: (a: number, b: number, c: number) => number;
5827
5833
  readonly documentfacade_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
@@ -5846,6 +5852,12 @@ export interface InitOutput {
5846
5852
  readonly incompatiblere2patternerror_getCode: (a: number) => number;
5847
5853
  readonly incompatiblere2patternerror_message: (a: number, b: number) => void;
5848
5854
  readonly incompatiblere2patternerror_serialize: (a: number, b: number) => void;
5855
+ readonly __wbg_inconsistentcompoundindexdataerror_free: (a: number) => void;
5856
+ readonly inconsistentcompoundindexdataerror_getIndexedProperties: (a: number) => number;
5857
+ readonly inconsistentcompoundindexdataerror_getDocumentType: (a: number, b: number) => void;
5858
+ readonly inconsistentcompoundindexdataerror_getCode: (a: number) => number;
5859
+ readonly inconsistentcompoundindexdataerror_message: (a: number, b: number) => void;
5860
+ readonly inconsistentcompoundindexdataerror_serialize: (a: number, b: number) => void;
5849
5861
  readonly __wbg_invalididentitypublickeytypeerror_free: (a: number) => void;
5850
5862
  readonly invalididentitypublickeytypeerror_new: (a: number, b: number) => void;
5851
5863
  readonly invalididentitypublickeytypeerror_getPublicKeyType: (a: number) => number;
@@ -5864,13 +5876,13 @@ export interface InitOutput {
5864
5876
  readonly datacontractalreadypresenterror_getCode: (a: number) => number;
5865
5877
  readonly datacontractalreadypresenterror_message: (a: number, b: number) => void;
5866
5878
  readonly datacontractalreadypresenterror_serialize: (a: number, b: number) => void;
5867
- readonly __wbg_datatriggerexecutionerror_free: (a: number) => void;
5868
- readonly datatriggerexecutionerror_getDataContractId: (a: number) => number;
5869
- readonly datatriggerexecutionerror_getDocumentId: (a: number) => number;
5870
- readonly datatriggerexecutionerror_getMessage: (a: number, b: number) => void;
5871
- readonly datatriggerexecutionerror_getCode: (a: number) => number;
5872
- readonly datatriggerexecutionerror_message: (a: number, b: number) => void;
5873
- readonly datatriggerexecutionerror_serialize: (a: number, b: number) => void;
5879
+ readonly __wbg_datatriggerconditionerror_free: (a: number) => void;
5880
+ readonly datatriggerconditionerror_getDataContractId: (a: number) => number;
5881
+ readonly datatriggerconditionerror_getDocumentId: (a: number) => number;
5882
+ readonly datatriggerconditionerror_getMessage: (a: number, b: number) => void;
5883
+ readonly datatriggerconditionerror_getCode: (a: number) => number;
5884
+ readonly datatriggerconditionerror_message: (a: number, b: number) => void;
5885
+ readonly datatriggerconditionerror_serialize: (a: number, b: number) => void;
5874
5886
  readonly datacontractnotpresentnotconsensuserror_getDataContractId: (a: number) => number;
5875
5887
  readonly __wbg_assetlocktransactionisnotfounderror_free: (a: number) => void;
5876
5888
  readonly assetlocktransactionisnotfounderror_getTransactionId: (a: number) => number;
@@ -5924,79 +5936,34 @@ export interface InitOutput {
5924
5936
  readonly __wbg_statetransitionfeevalidator_free: (a: number) => void;
5925
5937
  readonly statetransitionfeevalidator_new: (a: number) => number;
5926
5938
  readonly statetransitionfeevalidator_validate: (a: number, b: number) => number;
5939
+ readonly __wbg_protocolversionvalidator_free: (a: number) => void;
5940
+ readonly protocolversionvalidator_new: (a: number, b: number) => void;
5941
+ readonly protocolversionvalidator_validate: (a: number, b: number, c: number) => void;
5942
+ readonly __wbg_documentnotprovidederror_free: (a: number) => void;
5943
+ readonly __wbg_invaliddocumentactionerror_free: (a: number) => void;
5927
5944
  readonly identity_getBalance: (a: number) => number;
5928
5945
  readonly __wbg_datacontractnotpresentnotconsensuserror_free: (a: number) => void;
5929
5946
  readonly __wbg_datacontractalreadypresenterror_free: (a: number) => void;
5930
5947
  readonly __wbg_unknownassetlockprooftypeerror_free: (a: number) => void;
5931
- readonly __wbg_datacontract_free: (a: number) => void;
5932
- readonly datacontract_new: (a: number, b: number) => void;
5933
- readonly datacontract_getProtocolVersion: (a: number) => number;
5934
- readonly datacontract_getId: (a: number) => number;
5935
- readonly datacontract_setId: (a: number, b: number, c: number) => void;
5936
- readonly datacontract_getOwnerId: (a: number) => number;
5937
- readonly datacontract_getVersion: (a: number) => number;
5938
- readonly datacontract_setVersion: (a: number, b: number) => void;
5939
- readonly datacontract_incrementVersion: (a: number) => void;
5940
- readonly datacontract_getJsonSchemaId: (a: number, b: number) => void;
5941
- readonly datacontract_setJsonMetaSchema: (a: number, b: number, c: number) => void;
5942
- readonly datacontract_getJsonMetaSchema: (a: number, b: number) => void;
5943
- readonly datacontract_setDocuments: (a: number, b: number, c: number) => void;
5944
- readonly datacontract_getDocuments: (a: number, b: number) => void;
5945
- readonly datacontract_isDocumentDefined: (a: number, b: number, c: number) => number;
5946
- readonly datacontract_setDocumentSchema: (a: number, b: number, c: number, d: number, e: number) => void;
5947
- readonly datacontract_getDocumentSchema: (a: number, b: number, c: number, d: number) => void;
5948
- readonly datacontract_getDocumentSchemaRef: (a: number, b: number, c: number, d: number) => void;
5949
- readonly datacontract_setDefinitions: (a: number, b: number, c: number) => void;
5950
- readonly datacontract_getDefinitions: (a: number, b: number) => void;
5951
- readonly datacontract_setEntropy: (a: number, b: number, c: number, d: number) => void;
5952
- readonly datacontract_getEntropy: (a: number) => number;
5953
- readonly datacontract_getBinaryProperties: (a: number, b: number, c: number, d: number) => void;
5954
- readonly datacontract_getMetadata: (a: number) => number;
5955
- readonly datacontract_setMetadata: (a: number, b: number, c: number) => void;
5956
- readonly datacontract_toObject: (a: number, b: number) => void;
5957
- readonly datacontract_toJSON: (a: number, b: number) => void;
5958
- readonly datacontract_toBuffer: (a: number, b: number) => void;
5959
- readonly datacontract_hash: (a: number, b: number) => void;
5960
- readonly datacontract_from: (a: number, b: number) => void;
5961
- readonly datacontract_fromBuffer: (a: number, b: number, c: number) => void;
5962
- readonly datacontract_clone: (a: number) => number;
5963
- readonly datacontractdefaults_get_default_schema: (a: number) => void;
5948
+ readonly documentnotprovidederror_getDocumentTransition: (a: number) => number;
5949
+ readonly invaliddocumentactionerror_getDocumentTransition: (a: number) => number;
5964
5950
  readonly validateDataContractUpdateTransitionState: (a: number, b: number) => number;
5965
5951
  readonly validateIndicesAreBackwardCompatible: (a: number, b: number, c: number) => void;
5966
5952
  readonly validateDataContractUpdateTransitionBasic: (a: number, b: number, c: number) => number;
5967
- readonly __wbg_datatriggerexecutionresult_free: (a: number) => void;
5968
- readonly datatriggerexecutionresult_isOk: (a: number) => number;
5969
- readonly datatriggerexecutionresult_getErrors: (a: number) => number;
5970
- readonly __wbg_documentalreadyexistserror_free: (a: number) => void;
5971
- readonly documentalreadyexistserror_getDocumentTransition: (a: number) => number;
5972
5953
  readonly __wbg_documentnorevisionerror_free: (a: number) => void;
5973
5954
  readonly documentnorevisionerror_new: (a: number) => number;
5974
5955
  readonly documentnorevisionerror_getDocument: (a: number) => number;
5975
- readonly __wbg_invalidinitialrevisionerror_free: (a: number) => void;
5976
- readonly invalidinitialrevisionerror_new: (a: number) => number;
5977
- readonly invalidinitialrevisionerror_getDocument: (a: number) => number;
5978
- readonly __wbg_duplicateindexnameerror_free: (a: number) => void;
5979
- readonly duplicateindexnameerror_getDocumentType: (a: number, b: number) => void;
5980
- readonly duplicateindexnameerror_getDuplicateIndexName: (a: number, b: number) => void;
5981
- readonly duplicateindexnameerror_getCode: (a: number) => number;
5982
- readonly duplicateindexnameerror_message: (a: number, b: number) => void;
5983
- readonly duplicateindexnameerror_serialize: (a: number, b: number) => void;
5984
5956
  readonly uniqueindiceslimitreachederror_getDocumentType: (a: number, b: number) => void;
5985
5957
  readonly uniqueindiceslimitreachederror_getIndexLimit: (a: number) => number;
5986
5958
  readonly uniqueindiceslimitreachederror_getCode: (a: number) => number;
5987
5959
  readonly uniqueindiceslimitreachederror_message: (a: number, b: number) => void;
5988
5960
  readonly uniqueindiceslimitreachederror_serialize: (a: number, b: number) => void;
5961
+ readonly __wbg_invaliddatacontractiderror_free: (a: number) => void;
5989
5962
  readonly invaliddatacontractiderror_getExpectedId: (a: number) => number;
5990
5963
  readonly invaliddatacontractiderror_getInvalidId: (a: number) => number;
5991
5964
  readonly invaliddatacontractiderror_getCode: (a: number) => number;
5992
5965
  readonly invaliddatacontractiderror_message: (a: number, b: number) => void;
5993
5966
  readonly invaliddatacontractiderror_serialize: (a: number, b: number) => void;
5994
- readonly __wbg_inconsistentcompoundindexdataerror_free: (a: number) => void;
5995
- readonly inconsistentcompoundindexdataerror_getIndexedProperties: (a: number) => number;
5996
- readonly inconsistentcompoundindexdataerror_getDocumentType: (a: number, b: number) => void;
5997
- readonly inconsistentcompoundindexdataerror_getCode: (a: number) => number;
5998
- readonly inconsistentcompoundindexdataerror_message: (a: number, b: number) => void;
5999
- readonly inconsistentcompoundindexdataerror_serialize: (a: number, b: number) => void;
6000
5967
  readonly __wbg_invalididentitypublickeydataerror_free: (a: number) => void;
6001
5968
  readonly invalididentitypublickeydataerror_getPublicKeyId: (a: number) => number;
6002
5969
  readonly invalididentitypublickeydataerror_getValidationError: (a: number, b: number) => void;
@@ -6026,12 +5993,6 @@ export interface InitOutput {
6026
5993
  readonly invalidstatetransitiontypeerror_message: (a: number, b: number) => void;
6027
5994
  readonly invalidstatetransitiontypeerror_serialize: (a: number, b: number) => void;
6028
5995
  readonly deserializeConsensusError: (a: number, b: number, c: number) => void;
6029
- readonly __wbg_identitynotfounderror_free: (a: number) => void;
6030
- readonly identitynotfounderror_new: (a: number) => number;
6031
- readonly identitynotfounderror_getIdentityId: (a: number) => number;
6032
- readonly identitynotfounderror_getCode: (a: number) => number;
6033
- readonly identitynotfounderror_message: (a: number, b: number) => void;
6034
- readonly identitynotfounderror_serialize: (a: number, b: number) => void;
6035
5996
  readonly __wbg_documentowneridmismatcherror_free: (a: number) => void;
6036
5997
  readonly documentowneridmismatcherror_getDocumentId: (a: number) => number;
6037
5998
  readonly documentowneridmismatcherror_getDocumentOwnerId: (a: number) => number;
@@ -6045,12 +6006,6 @@ export interface InitOutput {
6045
6006
  readonly duplicateuniqueindexerror_getCode: (a: number) => number;
6046
6007
  readonly duplicateuniqueindexerror_message: (a: number, b: number) => void;
6047
6008
  readonly duplicateuniqueindexerror_serialize: (a: number, b: number) => void;
6048
- readonly __wbg_invaliddocumentrevisionerror_free: (a: number) => void;
6049
- readonly invaliddocumentrevisionerror_getDocumentId: (a: number) => number;
6050
- readonly invaliddocumentrevisionerror_getCurrentRevision: (a: number, b: number) => void;
6051
- readonly invaliddocumentrevisionerror_getCode: (a: number) => number;
6052
- readonly invaliddocumentrevisionerror_message: (a: number, b: number) => void;
6053
- readonly invaliddocumentrevisionerror_serialize: (a: number, b: number) => void;
6054
6009
  readonly __wbg_identitypublickeydisabledatwindowviolationerror_free: (a: number) => void;
6055
6010
  readonly identitypublickeydisabledatwindowviolationerror_getDisabledAt: (a: number) => number;
6056
6011
  readonly identitypublickeydisabledatwindowviolationerror_getTimeWindowStart: (a: number) => number;
@@ -6062,7 +6017,6 @@ export interface InitOutput {
6062
6017
  readonly publickeyvalidationerror_message: (a: number) => number;
6063
6018
  readonly __wbg_compatibleprotocolversionisnotdefinederror_free: (a: number) => void;
6064
6019
  readonly compatibleprotocolversionisnotdefinederror_getCurrentProtocolVersion: (a: number) => number;
6065
- readonly __wbg_assetlockoutputnotfounderror_free: (a: number) => void;
6066
6020
  readonly __wbg_invalididentityerror_free: (a: number) => void;
6067
6021
  readonly invalididentityerror_getErrors: (a: number, b: number) => void;
6068
6022
  readonly invalididentityerror_getRawIdentity: (a: number) => number;
@@ -6085,9 +6039,6 @@ export interface InitOutput {
6085
6039
  readonly feeresult_set_desiredAmount: (a: number, b: number, c: number) => void;
6086
6040
  readonly feeresult_set_requiredAmount: (a: number, b: number, c: number) => void;
6087
6041
  readonly feeresult_set_totalRefunds: (a: number, b: number, c: number) => void;
6088
- readonly __wbg_protocolversionvalidator_free: (a: number) => void;
6089
- readonly protocolversionvalidator_new: (a: number, b: number) => void;
6090
- readonly protocolversionvalidator_validate: (a: number, b: number, c: number) => void;
6091
6042
  readonly __wbg_validationresult_free: (a: number) => void;
6092
6043
  readonly validationresult_new: (a: number, b: number, c: number) => void;
6093
6044
  readonly validationresult_errorsText: (a: number, b: number) => void;
@@ -6098,16 +6049,43 @@ export interface InitOutput {
6098
6049
  readonly validationresult_addError: (a: number, b: number, c: number) => void;
6099
6050
  readonly __wbg_invalidstatetransitionerror_free: (a: number) => void;
6100
6051
  readonly invalidstatetransitionerror_getRawStateTransition: (a: number) => number;
6101
- readonly tryingtoreplaceimmutabledocumenterror_new: (a: number) => number;
6102
6052
  readonly __wbg_uniqueindiceslimitreachederror_free: (a: number) => void;
6103
- readonly __wbg_invaliddatacontractiderror_free: (a: number) => void;
6104
- readonly __wbg_tryingtoreplaceimmutabledocumenterror_free: (a: number) => void;
6105
- readonly __wbg_datacontractdefaults_free: (a: number) => void;
6106
- readonly __wbg_invaliddocumentactionerror_free: (a: number) => void;
6107
6053
  readonly __wbg_invalidstatetransitiontypeerror_free: (a: number) => void;
6108
- readonly invaliddocumentactionerror_getDocumentTransition: (a: number) => number;
6109
6054
  readonly invalidstatetransitionerror_getErrors: (a: number, b: number) => void;
6110
6055
  readonly validationresult_getErrors: (a: number, b: number) => void;
6056
+ readonly __wbg_datacontract_free: (a: number) => void;
6057
+ readonly datacontract_new: (a: number, b: number) => void;
6058
+ readonly datacontract_getProtocolVersion: (a: number) => number;
6059
+ readonly datacontract_getId: (a: number) => number;
6060
+ readonly datacontract_setId: (a: number, b: number, c: number) => void;
6061
+ readonly datacontract_getOwnerId: (a: number) => number;
6062
+ readonly datacontract_getVersion: (a: number) => number;
6063
+ readonly datacontract_setVersion: (a: number, b: number) => void;
6064
+ readonly datacontract_incrementVersion: (a: number) => void;
6065
+ readonly datacontract_getJsonSchemaId: (a: number, b: number) => void;
6066
+ readonly datacontract_setJsonMetaSchema: (a: number, b: number, c: number) => void;
6067
+ readonly datacontract_getJsonMetaSchema: (a: number, b: number) => void;
6068
+ readonly datacontract_setDocuments: (a: number, b: number, c: number) => void;
6069
+ readonly datacontract_getDocuments: (a: number, b: number) => void;
6070
+ readonly datacontract_isDocumentDefined: (a: number, b: number, c: number) => number;
6071
+ readonly datacontract_setDocumentSchema: (a: number, b: number, c: number, d: number, e: number) => void;
6072
+ readonly datacontract_getDocumentSchema: (a: number, b: number, c: number, d: number) => void;
6073
+ readonly datacontract_getDocumentSchemaRef: (a: number, b: number, c: number, d: number) => void;
6074
+ readonly datacontract_setDefinitions: (a: number, b: number, c: number) => void;
6075
+ readonly datacontract_getDefinitions: (a: number, b: number) => void;
6076
+ readonly datacontract_setEntropy: (a: number, b: number, c: number, d: number) => void;
6077
+ readonly datacontract_getEntropy: (a: number) => number;
6078
+ readonly datacontract_getBinaryProperties: (a: number, b: number, c: number, d: number) => void;
6079
+ readonly datacontract_getMetadata: (a: number) => number;
6080
+ readonly datacontract_setMetadata: (a: number, b: number, c: number) => void;
6081
+ readonly datacontract_toObject: (a: number, b: number) => void;
6082
+ readonly datacontract_toJSON: (a: number, b: number) => void;
6083
+ readonly datacontract_toBuffer: (a: number, b: number) => void;
6084
+ readonly datacontract_hash: (a: number, b: number) => void;
6085
+ readonly datacontract_from: (a: number, b: number) => void;
6086
+ readonly datacontract_fromBuffer: (a: number, b: number, c: number) => void;
6087
+ readonly datacontract_clone: (a: number) => number;
6088
+ readonly datacontractdefaults_get_default_schema: (a: number) => void;
6111
6089
  readonly __wbg_datacontractvalidator_free: (a: number) => void;
6112
6090
  readonly datacontractvalidator_new: () => number;
6113
6091
  readonly datacontractvalidator_validate: (a: number, b: number, c: number) => void;
@@ -6122,6 +6100,12 @@ export interface InitOutput {
6122
6100
  readonly __wbg_revisionabsenterror_free: (a: number) => void;
6123
6101
  readonly revisionabsenterror_new: (a: number) => number;
6124
6102
  readonly revisionabsenterror_getDocument: (a: number) => number;
6103
+ readonly __wbg_duplicateindexnameerror_free: (a: number) => void;
6104
+ readonly duplicateindexnameerror_getDocumentType: (a: number, b: number) => void;
6105
+ readonly duplicateindexnameerror_getDuplicateIndexName: (a: number, b: number) => void;
6106
+ readonly duplicateindexnameerror_getCode: (a: number) => number;
6107
+ readonly duplicateindexnameerror_message: (a: number, b: number) => void;
6108
+ readonly duplicateindexnameerror_serialize: (a: number, b: number) => void;
6125
6109
  readonly __wbg_invalidindexedpropertyconstrainterror_free: (a: number) => void;
6126
6110
  readonly invalidindexedpropertyconstrainterror_getDocumentType: (a: number, b: number) => void;
6127
6111
  readonly invalidindexedpropertyconstrainterror_getIndexName: (a: number, b: number) => void;
@@ -6135,15 +6119,6 @@ export interface InitOutput {
6135
6119
  readonly serializedobjectparsingerror_getCode: (a: number) => number;
6136
6120
  readonly serializedobjectparsingerror_message: (a: number, b: number) => void;
6137
6121
  readonly serializedobjectparsingerror_serialize: (a: number, b: number) => void;
6138
- readonly __wbg_duplicatedocumenttransitionswithidserror_free: (a: number) => void;
6139
- readonly duplicatedocumenttransitionswithidserror_getDocumentTransitionReferences: (a: number) => number;
6140
- readonly duplicatedocumenttransitionswithidserror_getCode: (a: number) => number;
6141
- readonly duplicatedocumenttransitionswithidserror_message: (a: number, b: number) => void;
6142
- readonly duplicatedocumenttransitionswithidserror_serialize: (a: number, b: number) => void;
6143
- readonly duplicatedocumenttransitionswithindiceserror_getDocumentTransitionReferences: (a: number) => number;
6144
- readonly duplicatedocumenttransitionswithindiceserror_getCode: (a: number) => number;
6145
- readonly duplicatedocumenttransitionswithindiceserror_message: (a: number, b: number) => void;
6146
- readonly duplicatedocumenttransitionswithindiceserror_serialize: (a: number, b: number) => void;
6147
6122
  readonly __wbg_invaliddocumenttransitionactionerror_free: (a: number) => void;
6148
6123
  readonly invaliddocumenttransitionactionerror_getAction: (a: number, b: number) => void;
6149
6124
  readonly invaliddocumenttransitionactionerror_getCode: (a: number) => number;
@@ -6160,15 +6135,6 @@ export interface InitOutput {
6160
6135
  readonly invaliddocumenttypeerror_getCode: (a: number) => number;
6161
6136
  readonly invaliddocumenttypeerror_message: (a: number, b: number) => void;
6162
6137
  readonly invaliddocumenttypeerror_serialize: (a: number, b: number) => void;
6163
- readonly __wbg_duplicatedidentitypublickeyerror_free: (a: number) => void;
6164
- readonly duplicatedidentitypublickeyerror_getDuplicatedPublicKeysIds: (a: number) => number;
6165
- readonly duplicatedidentitypublickeyerror_getCode: (a: number) => number;
6166
- readonly duplicatedidentitypublickeyerror_message: (a: number, b: number) => void;
6167
- readonly duplicatedidentitypublickeyerror_serialize: (a: number, b: number) => void;
6168
- readonly duplicatedidentitypublickeyiderror_getDuplicatedIds: (a: number) => number;
6169
- readonly duplicatedidentitypublickeyiderror_getCode: (a: number) => number;
6170
- readonly duplicatedidentitypublickeyiderror_message: (a: number, b: number) => void;
6171
- readonly duplicatedidentitypublickeyiderror_serialize: (a: number, b: number) => void;
6172
6138
  readonly identityassetlockprooflockedtransactionmismatcherror_getInstantLockTransactionId: (a: number) => number;
6173
6139
  readonly identityassetlockprooflockedtransactionmismatcherror_getAssetLockTransactionId: (a: number) => number;
6174
6140
  readonly identityassetlockprooflockedtransactionmismatcherror_getCode: (a: number) => number;
@@ -6188,20 +6154,24 @@ export interface InitOutput {
6188
6154
  readonly jsonschemacompilationerror_getCode: (a: number) => number;
6189
6155
  readonly jsonschemacompilationerror_message: (a: number, b: number) => void;
6190
6156
  readonly jsonschemacompilationerror_serialize: (a: number, b: number) => void;
6157
+ readonly __wbg_identitynotfounderror_free: (a: number) => void;
6158
+ readonly identitynotfounderror_new: (a: number) => number;
6159
+ readonly identitynotfounderror_getIdentityId: (a: number) => number;
6160
+ readonly identitynotfounderror_getCode: (a: number) => number;
6161
+ readonly identitynotfounderror_message: (a: number, b: number) => void;
6162
+ readonly identitynotfounderror_serialize: (a: number, b: number) => void;
6191
6163
  readonly __wbg_datatriggerinvalidresulterror_free: (a: number) => void;
6192
6164
  readonly datatriggerinvalidresulterror_getDataContractId: (a: number) => number;
6193
6165
  readonly datatriggerinvalidresulterror_getDocumentId: (a: number) => number;
6194
6166
  readonly datatriggerinvalidresulterror_getCode: (a: number) => number;
6195
6167
  readonly datatriggerinvalidresulterror_message: (a: number, b: number) => void;
6196
6168
  readonly datatriggerinvalidresulterror_serialize: (a: number, b: number) => void;
6197
- readonly duplicatedidentitypublickeyidstateerror_getDuplicatedIds: (a: number) => number;
6198
- readonly duplicatedidentitypublickeyidstateerror_getCode: (a: number) => number;
6199
- readonly duplicatedidentitypublickeyidstateerror_message: (a: number, b: number) => void;
6200
- readonly duplicatedidentitypublickeyidstateerror_serialize: (a: number, b: number) => void;
6201
- readonly duplicatedidentitypublickeystateerror_getDuplicatedPublicKeysIds: (a: number) => number;
6202
- readonly duplicatedidentitypublickeystateerror_getCode: (a: number) => number;
6203
- readonly duplicatedidentitypublickeystateerror_message: (a: number, b: number) => void;
6204
- readonly duplicatedidentitypublickeystateerror_serialize: (a: number, b: number) => void;
6169
+ readonly __wbg_invaliddocumentrevisionerror_free: (a: number) => void;
6170
+ readonly invaliddocumentrevisionerror_getDocumentId: (a: number) => number;
6171
+ readonly invaliddocumentrevisionerror_getCurrentRevision: (a: number, b: number) => void;
6172
+ readonly invaliddocumentrevisionerror_getCode: (a: number) => number;
6173
+ readonly invaliddocumentrevisionerror_message: (a: number, b: number) => void;
6174
+ readonly invaliddocumentrevisionerror_serialize: (a: number, b: number) => void;
6205
6175
  readonly __wbg_invalididentityrevisionerror_free: (a: number) => void;
6206
6176
  readonly invalididentityrevisionerror_getIdentityId: (a: number) => number;
6207
6177
  readonly invalididentityrevisionerror_getCurrentRevision: (a: number) => number;
@@ -6212,48 +6182,22 @@ export interface InitOutput {
6212
6182
  readonly valueerror_getCode: (a: number) => number;
6213
6183
  readonly valueerror_message: (a: number, b: number) => void;
6214
6184
  readonly valueerror_serialize: (a: number, b: number) => void;
6215
- readonly __wbg_identitycreatetransition_free: (a: number) => void;
6216
- readonly identitycreatetransition_new: (a: number, b: number) => void;
6217
- readonly identitycreatetransition_setAssetLockProof: (a: number, b: number, c: number) => void;
6218
- readonly identitycreatetransition_assetLockProof: (a: number) => number;
6219
- readonly identitycreatetransition_setPublicKeys: (a: number, b: number, c: number, d: number) => void;
6220
- readonly identitycreatetransition_addPublicKeys: (a: number, b: number, c: number, d: number) => void;
6221
- readonly identitycreatetransition_getPublicKeys: (a: number, b: number) => void;
6222
- readonly identitycreatetransition_getType: (a: number) => number;
6223
- readonly identitycreatetransition_getIdentityId: (a: number) => number;
6224
- readonly identitycreatetransition_getOwnerId: (a: number) => number;
6225
- readonly identitycreatetransition_toObject: (a: number, b: number, c: number) => void;
6226
- readonly identitycreatetransition_toBuffer: (a: number, b: number, c: number) => void;
6227
- readonly identitycreatetransition_toJSON: (a: number, b: number) => void;
6228
- readonly identitycreatetransition_getModifiedDataIds: (a: number, b: number) => void;
6229
- readonly identitycreatetransition_isDataContractStateTransition: (a: number) => number;
6230
- readonly identitycreatetransition_isDocumentStateTransition: (a: number) => number;
6231
- readonly identitycreatetransition_isIdentityStateTransition: (a: number) => number;
6232
- readonly identitycreatetransition_setExecutionContext: (a: number, b: number) => void;
6233
- readonly identitycreatetransition_getExecutionContext: (a: number) => number;
6234
- readonly identitycreatetransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6235
- readonly identitycreatetransition_getSignature: (a: number) => number;
6236
- readonly identitycreatetransition_setSignature: (a: number, b: number, c: number) => void;
6185
+ readonly __wbg_assetlockoutputnotfounderror_free: (a: number) => void;
6237
6186
  readonly __wbg_publickeyssignaturesvalidator_free: (a: number) => void;
6238
6187
  readonly publickeyssignaturesvalidator_new: (a: number) => number;
6239
6188
  readonly publickeyssignaturesvalidator_validate: (a: number, b: number, c: number, d: number, e: number) => void;
6240
- readonly calculateStateTransitionFee: (a: number, b: number) => void;
6241
6189
  readonly __wbg_refunds_free: (a: number) => void;
6242
6190
  readonly refunds_identifier: (a: number) => number;
6243
6191
  readonly refunds_credits_per_epoch: (a: number) => number;
6244
6192
  readonly refunds_toObject: (a: number, b: number) => void;
6245
6193
  readonly validateStateTransitionIdentitySignature: (a: number, b: number, c: number) => number;
6246
- readonly identitycreatetransition_publicKeys: (a: number, b: number) => void;
6247
- readonly __wbg_duplicatedocumenttransitionswithindiceserror_free: (a: number) => void;
6194
+ readonly tryingtoreplaceimmutabledocumenterror_new: (a: number) => number;
6248
6195
  readonly __wbg_serializedobjectparsingerror_free: (a: number) => void;
6249
6196
  readonly __wbg_invalididentityassetlocktransactionerror_free: (a: number) => void;
6250
6197
  readonly __wbg_jsonschemacompilationerror_free: (a: number) => void;
6251
6198
  readonly __wbg_valueerror_free: (a: number) => void;
6252
- readonly identitycreatetransition_getAssetLockProof: (a: number) => number;
6253
- readonly __wbg_duplicatedidentitypublickeyiderror_free: (a: number) => void;
6254
- readonly __wbg_duplicatedidentitypublickeyidstateerror_free: (a: number) => void;
6255
- readonly __wbg_duplicatedidentitypublickeystateerror_free: (a: number) => void;
6256
- readonly identitycreatetransition_identityId: (a: number) => number;
6199
+ readonly __wbg_tryingtoreplaceimmutabledocumenterror_free: (a: number) => void;
6200
+ readonly __wbg_datacontractdefaults_free: (a: number) => void;
6257
6201
  readonly __wbg_invaliddocumenttransitioniderror_free: (a: number) => void;
6258
6202
  readonly __wbg_identityassetlockprooflockedtransactionmismatcherror_free: (a: number) => void;
6259
6203
  readonly __wbg_datacontractupdatetransition_free: (a: number) => void;
@@ -6275,6 +6219,24 @@ export interface InitOutput {
6275
6219
  readonly datacontractupdatetransition_toObject: (a: number, b: number, c: number) => void;
6276
6220
  readonly datacontractupdatetransition_sign: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6277
6221
  readonly datacontractupdatetransition_verifySignature: (a: number, b: number, c: number, d: number) => void;
6222
+ readonly __wbg_duplicatedocumenttransitionswithidserror_free: (a: number) => void;
6223
+ readonly duplicatedocumenttransitionswithidserror_getDocumentTransitionReferences: (a: number) => number;
6224
+ readonly duplicatedocumenttransitionswithidserror_getCode: (a: number) => number;
6225
+ readonly duplicatedocumenttransitionswithidserror_message: (a: number, b: number) => void;
6226
+ readonly duplicatedocumenttransitionswithidserror_serialize: (a: number, b: number) => void;
6227
+ readonly duplicatedocumenttransitionswithindiceserror_getDocumentTransitionReferences: (a: number) => number;
6228
+ readonly duplicatedocumenttransitionswithindiceserror_getCode: (a: number) => number;
6229
+ readonly duplicatedocumenttransitionswithindiceserror_message: (a: number, b: number) => void;
6230
+ readonly duplicatedocumenttransitionswithindiceserror_serialize: (a: number, b: number) => void;
6231
+ readonly __wbg_duplicatedidentitypublickeyerror_free: (a: number) => void;
6232
+ readonly duplicatedidentitypublickeyerror_getDuplicatedPublicKeysIds: (a: number) => number;
6233
+ readonly duplicatedidentitypublickeyerror_getCode: (a: number) => number;
6234
+ readonly duplicatedidentitypublickeyerror_message: (a: number, b: number) => void;
6235
+ readonly duplicatedidentitypublickeyerror_serialize: (a: number, b: number) => void;
6236
+ readonly duplicatedidentitypublickeyiderror_getDuplicatedIds: (a: number) => number;
6237
+ readonly duplicatedidentitypublickeyiderror_getCode: (a: number) => number;
6238
+ readonly duplicatedidentitypublickeyiderror_message: (a: number, b: number) => void;
6239
+ readonly duplicatedidentitypublickeyiderror_serialize: (a: number, b: number) => void;
6278
6240
  readonly __wbg_identityassetlocktransactionoutpointalreadyexistserror_free: (a: number) => void;
6279
6241
  readonly identityassetlocktransactionoutpointalreadyexistserror_getOutputIndex: (a: number) => number;
6280
6242
  readonly identityassetlocktransactionoutpointalreadyexistserror_getTransactionId: (a: number) => number;
@@ -6286,6 +6248,36 @@ export interface InitOutput {
6286
6248
  readonly missingstatetransitiontypeerror_getCode: (a: number) => number;
6287
6249
  readonly missingstatetransitiontypeerror_message: (a: number, b: number) => void;
6288
6250
  readonly missingstatetransitiontypeerror_serialize: (a: number, b: number) => void;
6251
+ readonly duplicatedidentitypublickeyidstateerror_getDuplicatedIds: (a: number) => number;
6252
+ readonly duplicatedidentitypublickeyidstateerror_getCode: (a: number) => number;
6253
+ readonly duplicatedidentitypublickeyidstateerror_message: (a: number, b: number) => void;
6254
+ readonly duplicatedidentitypublickeyidstateerror_serialize: (a: number, b: number) => void;
6255
+ readonly duplicatedidentitypublickeystateerror_getDuplicatedPublicKeysIds: (a: number) => number;
6256
+ readonly duplicatedidentitypublickeystateerror_getCode: (a: number) => number;
6257
+ readonly duplicatedidentitypublickeystateerror_message: (a: number, b: number) => void;
6258
+ readonly duplicatedidentitypublickeystateerror_serialize: (a: number, b: number) => void;
6259
+ readonly __wbg_identitycreatetransition_free: (a: number) => void;
6260
+ readonly identitycreatetransition_new: (a: number, b: number) => void;
6261
+ readonly identitycreatetransition_setAssetLockProof: (a: number, b: number, c: number) => void;
6262
+ readonly identitycreatetransition_assetLockProof: (a: number) => number;
6263
+ readonly identitycreatetransition_setPublicKeys: (a: number, b: number, c: number, d: number) => void;
6264
+ readonly identitycreatetransition_addPublicKeys: (a: number, b: number, c: number, d: number) => void;
6265
+ readonly identitycreatetransition_getPublicKeys: (a: number, b: number) => void;
6266
+ readonly identitycreatetransition_getType: (a: number) => number;
6267
+ readonly identitycreatetransition_getIdentityId: (a: number) => number;
6268
+ readonly identitycreatetransition_getOwnerId: (a: number) => number;
6269
+ readonly identitycreatetransition_toObject: (a: number, b: number, c: number) => void;
6270
+ readonly identitycreatetransition_toBuffer: (a: number, b: number, c: number) => void;
6271
+ readonly identitycreatetransition_toJSON: (a: number, b: number) => void;
6272
+ readonly identitycreatetransition_getModifiedDataIds: (a: number, b: number) => void;
6273
+ readonly identitycreatetransition_isDataContractStateTransition: (a: number) => number;
6274
+ readonly identitycreatetransition_isDocumentStateTransition: (a: number) => number;
6275
+ readonly identitycreatetransition_isIdentityStateTransition: (a: number) => number;
6276
+ readonly identitycreatetransition_setExecutionContext: (a: number, b: number) => void;
6277
+ readonly identitycreatetransition_getExecutionContext: (a: number) => number;
6278
+ readonly identitycreatetransition_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
6279
+ readonly identitycreatetransition_getSignature: (a: number) => number;
6280
+ readonly identitycreatetransition_setSignature: (a: number, b: number, c: number) => void;
6289
6281
  readonly __wbg_identitypublickeywithwitness_free: (a: number) => void;
6290
6282
  readonly identitypublickeywithwitness_new: (a: number, b: number) => void;
6291
6283
  readonly identitypublickeywithwitness_getId: (a: number) => number;
@@ -6306,6 +6298,14 @@ export interface InitOutput {
6306
6298
  readonly identitypublickeywithwitness_isMaster: (a: number) => number;
6307
6299
  readonly identitypublickeywithwitness_toJSON: (a: number, b: number) => void;
6308
6300
  readonly identitypublickeywithwitness_toObject: (a: number, b: number, c: number) => void;
6301
+ readonly calculateStateTransitionFee: (a: number, b: number) => void;
6302
+ readonly identitycreatetransition_publicKeys: (a: number, b: number) => void;
6303
+ readonly __wbg_duplicatedocumenttransitionswithindiceserror_free: (a: number) => void;
6304
+ readonly identitycreatetransition_getAssetLockProof: (a: number) => number;
6305
+ readonly __wbg_duplicatedidentitypublickeyiderror_free: (a: number) => void;
6306
+ readonly __wbg_duplicatedidentitypublickeyidstateerror_free: (a: number) => void;
6307
+ readonly __wbg_duplicatedidentitypublickeystateerror_free: (a: number) => void;
6308
+ readonly identitycreatetransition_identityId: (a: number) => number;
6309
6309
  readonly __wbg_documenttransitions_free: (a: number) => void;
6310
6310
  readonly documenttransitions_new: () => number;
6311
6311
  readonly documenttransitions_addTransitionCreate: (a: number, b: number) => void;
@@ -6507,11 +6507,11 @@ export interface InitOutput {
6507
6507
  readonly __wbindgen_malloc: (a: number) => number;
6508
6508
  readonly __wbindgen_realloc: (a: number, b: number, c: number) => number;
6509
6509
  readonly __wbindgen_export_2: WebAssembly.Table;
6510
- readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3ec1ef9fe95b9142: (a: number, b: number, c: number) => void;
6510
+ readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he8b9c2dab8ebac2b: (a: number, b: number, c: number) => void;
6511
6511
  readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
6512
6512
  readonly __wbindgen_free: (a: number, b: number) => void;
6513
6513
  readonly __wbindgen_exn_store: (a: number) => void;
6514
- readonly wasm_bindgen__convert__closures__invoke2_mut__h2f2cd052e087f6ce: (a: number, b: number, c: number, d: number) => void;
6514
+ readonly wasm_bindgen__convert__closures__invoke2_mut__h3c856b0adbb2bcae: (a: number, b: number, c: number, d: number) => void;
6515
6515
  }
6516
6516
 
6517
6517
  export type SyncInitInput = BufferSource | WebAssembly.Module;
@@ -6533,4 +6533,4 @@ export function initSync(module: SyncInitInput): InitOutput;
6533
6533
  *
6534
6534
  * @returns {Promise<InitOutput>}
6535
6535
  */
6536
- export default function init (module_or_path: InitInput | Promise<InitInput>): Promise<InitOutput>;
6536
+ export default function __wbg_init (module_or_path: InitInput | Promise<InitInput>): Promise<InitOutput>;