pshenmic-dpp 1.0.9 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -72,50 +72,131 @@ export enum TokenEmergencyActionWASM {
72
72
  Resume = 1,
73
73
  }
74
74
  export class ActionTakerWASM {
75
- free(): void;
76
- constructor(value: any);
77
- getType(): string;
75
+ /** @ignore */
76
+ free(): void;
77
+ /**
78
+ * * @param {any} value
79
+ * @returns {ActionTakerWASM}
80
+ */
81
+ constructor(value: any);
82
+ /** @returns {string} */
83
+ getType(): string;
78
84
  readonly __type: string;
79
85
  value: any;
80
86
  }
81
87
  export class AssetLockProofWASM {
82
- free(): void;
83
- constructor(js_asset_lock_proof_type: any);
84
- static createInstantAssetLockProof(instant_lock: Uint8Array, transaction: Uint8Array, output_index: number): AssetLockProofWASM;
85
- static createChainAssetLockProof(core_chain_locked_height: number, out_point: OutPointWASM): AssetLockProofWASM;
86
- getLockType(): string;
87
- getInstantLockProof(): InstantAssetLockProofWASM;
88
- getChainLockProof(): ChainAssetLockProofWASM;
89
- getOutPoint(): OutPointWASM | undefined;
90
- toObject(): any;
88
+ /** @ignore */
89
+ free(): void;
90
+ /**
91
+ * * @param {any} js_asset_lock_proof_type
92
+ * @returns {AssetLockProofWASM}
93
+ */
94
+ constructor(js_asset_lock_proof_type: any);
95
+ /**
96
+ * * @param {Uint8Array<ArrayBufferLike>} instant_lock
97
+ * * @param {Uint8Array<ArrayBufferLike>} transaction
98
+ * * @param {number} output_index
99
+ * @returns {AssetLockProofWASM}
100
+ */
101
+ static createInstantAssetLockProof(instant_lock: Uint8Array, transaction: Uint8Array, output_index: number): AssetLockProofWASM;
102
+ /**
103
+ * * @param {number} core_chain_locked_height
104
+ * * @param {OutPointWASM} out_point
105
+ * @returns {AssetLockProofWASM}
106
+ */
107
+ static createChainAssetLockProof(core_chain_locked_height: number, out_point: OutPointWASM): AssetLockProofWASM;
108
+ /** @returns {string} */
109
+ getLockType(): string;
110
+ /** @returns {InstantAssetLockProofWASM} */
111
+ getInstantLockProof(): InstantAssetLockProofWASM;
112
+ /** @returns {ChainAssetLockProofWASM} */
113
+ getChainLockProof(): ChainAssetLockProofWASM;
114
+ /** @returns {OutPointWASM} */
115
+ getOutPoint(): OutPointWASM | undefined;
116
+ /** @returns {any} */
117
+ toObject(): any;
91
118
  readonly __type: string;
92
119
  }
93
120
  export class AuthorizedActionTakersWASM {
94
- private constructor();
95
- free(): void;
96
- static NoOne(): AuthorizedActionTakersWASM;
97
- static ContractOwner(): AuthorizedActionTakersWASM;
98
- static Identity(js_identity_id: any): AuthorizedActionTakersWASM;
99
- static MainGroup(): AuthorizedActionTakersWASM;
100
- static Group(group_contract_position: number): AuthorizedActionTakersWASM;
101
- getTakerType(): string;
102
- getValue(): any;
121
+ /** @returns {AuthorizedActionTakersWASM} */
122
+ private constructor();
123
+ /** @ignore */
124
+ free(): void;
125
+ /** @returns {AuthorizedActionTakersWASM} */
126
+ static NoOne(): AuthorizedActionTakersWASM;
127
+ /** @returns {AuthorizedActionTakersWASM} */
128
+ static ContractOwner(): AuthorizedActionTakersWASM;
129
+ /**
130
+ * * @param {any} js_identity_id
131
+ * @returns {AuthorizedActionTakersWASM}
132
+ */
133
+ static Identity(js_identity_id: any): AuthorizedActionTakersWASM;
134
+ /** @returns {AuthorizedActionTakersWASM} */
135
+ static MainGroup(): AuthorizedActionTakersWASM;
136
+ /**
137
+ * * @param {number} group_contract_position
138
+ * @returns {AuthorizedActionTakersWASM}
139
+ */
140
+ static Group(group_contract_position: number): AuthorizedActionTakersWASM;
141
+ /** @returns {string} */
142
+ getTakerType(): string;
143
+ /** @returns {any} */
144
+ getValue(): any;
103
145
  readonly __type: string;
104
146
  }
105
147
  export class BatchTransitionWASM {
106
- private constructor();
107
- free(): void;
108
- static fromV1BatchedTransitions(js_batched_transitions: Array<any>, owner_id: any, user_fee_increase: number, signature_public_key_id?: number | null, signature?: Uint8Array | null): BatchTransitionWASM;
109
- static fromV0Transitions(document_transitions: Array<any>, js_owner_id: any, user_fee_increase?: number | null, signature_public_key_id?: number | null, signature?: Uint8Array | null): BatchTransitionWASM;
110
- setIdentityContractNonce(nonce: bigint): void;
111
- toStateTransition(): StateTransitionWASM;
112
- static fromStateTransition(state_transition: StateTransitionWASM): BatchTransitionWASM;
113
- bytes(): Uint8Array;
114
- hex(): string;
115
- base64(): string;
116
- static fromBytes(bytes: Uint8Array): BatchTransitionWASM;
117
- static fromBase64(base64: string): BatchTransitionWASM;
118
- static fromHex(hex: string): BatchTransitionWASM;
148
+ /** @returns {BatchTransitionWASM} */
149
+ private constructor();
150
+ /** @ignore */
151
+ free(): void;
152
+ /**
153
+ * * @param {any[]} js_batched_transitions
154
+ * * @param {any} owner_id
155
+ * * @param {number} user_fee_increase
156
+ * * @param {number} signature_public_key_id
157
+ * * @param {Uint8Array<ArrayBufferLike>} signature
158
+ * @returns {BatchTransitionWASM}
159
+ */
160
+ static fromV1BatchedTransitions(js_batched_transitions: Array<any>, owner_id: any, user_fee_increase: number, signature_public_key_id?: number | null, signature?: Uint8Array | null): BatchTransitionWASM;
161
+ /**
162
+ * * @param {any[]} document_transitions
163
+ * * @param {any} js_owner_id
164
+ * * @param {number} user_fee_increase
165
+ * * @param {number} signature_public_key_id
166
+ * * @param {Uint8Array<ArrayBufferLike>} signature
167
+ * @returns {BatchTransitionWASM}
168
+ */
169
+ static fromV0Transitions(document_transitions: Array<any>, js_owner_id: any, user_fee_increase?: number | null, signature_public_key_id?: number | null, signature?: Uint8Array | null): BatchTransitionWASM;
170
+ /** * @param {bigint} nonce */
171
+ setIdentityContractNonce(nonce: bigint): void;
172
+ /** @returns {StateTransitionWASM} */
173
+ toStateTransition(): StateTransitionWASM;
174
+ /**
175
+ * * @param {StateTransitionWASM} state_transition
176
+ * @returns {BatchTransitionWASM}
177
+ */
178
+ static fromStateTransition(state_transition: StateTransitionWASM): BatchTransitionWASM;
179
+ /** @returns {Uint8Array<ArrayBufferLike>} */
180
+ bytes(): Uint8Array;
181
+ /** @returns {string} */
182
+ hex(): string;
183
+ /** @returns {string} */
184
+ base64(): string;
185
+ /**
186
+ * * @param {Uint8Array<ArrayBufferLike>} bytes
187
+ * @returns {BatchTransitionWASM}
188
+ */
189
+ static fromBytes(bytes: Uint8Array): BatchTransitionWASM;
190
+ /**
191
+ * * @param {string} base64
192
+ * @returns {BatchTransitionWASM}
193
+ */
194
+ static fromBase64(base64: string): BatchTransitionWASM;
195
+ /**
196
+ * * @param {string} hex
197
+ * @returns {BatchTransitionWASM}
198
+ */
199
+ static fromHex(hex: string): BatchTransitionWASM;
119
200
  readonly __type: string;
120
201
  get transitions(): BatchedTransitionWASM[];
121
202
  set transitions(value: Array<any>);
@@ -127,29 +208,65 @@ export class BatchTransitionWASM {
127
208
  readonly allConflictingIndexCollateralVotingFunds: bigint | undefined;
128
209
  }
129
210
  export class BatchedTransitionWASM {
130
- free(): void;
131
- constructor(js_transition: any);
132
- toTransition(): any;
211
+ /** @ignore */
212
+ free(): void;
213
+ /**
214
+ * * @param {any} js_transition
215
+ * @returns {BatchedTransitionWASM}
216
+ */
217
+ constructor(js_transition: any);
218
+ /** @returns {any} */
219
+ toTransition(): any;
133
220
  readonly __type: string;
134
221
  }
135
222
  export class BlockBasedDistributionWASM {
136
- private constructor();
137
- free(): void;
223
+ /** @returns {BlockBasedDistributionWASM} */
224
+ private constructor();
225
+ /** @ignore */
226
+ free(): void;
138
227
  interval: bigint;
139
228
  function: DistributionFunctionWASM;
140
229
  }
141
230
  export class ChainAssetLockProofWASM {
142
- free(): void;
143
- constructor(core_chain_locked_height: number, out_point: OutPointWASM);
144
- static fromRawObject(raw_asset_lock_proof: any): ChainAssetLockProofWASM;
231
+ /** @ignore */
232
+ free(): void;
233
+ /**
234
+ * * @param {number} core_chain_locked_height
235
+ * * @param {OutPointWASM} out_point
236
+ * @returns {ChainAssetLockProofWASM}
237
+ */
238
+ constructor(core_chain_locked_height: number, out_point: OutPointWASM);
239
+ /**
240
+ * * @param {any} raw_asset_lock_proof
241
+ * @returns {ChainAssetLockProofWASM}
242
+ */
243
+ static fromRawObject(raw_asset_lock_proof: any): ChainAssetLockProofWASM;
145
244
  readonly __type: string;
146
245
  coreChainLockedHeight: number;
147
246
  outPoint: OutPointWASM;
148
247
  }
149
248
  export class ChangeControlRulesWASM {
150
- free(): void;
151
- constructor(authorized_to_make_change: AuthorizedActionTakersWASM, admin_action_takers: AuthorizedActionTakersWASM, changing_authorized_action_takers_to_no_one_allowed: boolean, changing_admin_action_takers_to_no_one_allowed: boolean, self_changing_admin_action_takers_allowed: boolean);
152
- canChangeAdminActionTakers(admin_action_takers: AuthorizedActionTakersWASM, js_contract_owner_id: any, main_group: number | null | undefined, js_groups: any, action_taker: ActionTakerWASM, js_goal: any): boolean;
249
+ /** @ignore */
250
+ free(): void;
251
+ /**
252
+ * * @param {AuthorizedActionTakersWASM} authorized_to_make_change
253
+ * * @param {AuthorizedActionTakersWASM} admin_action_takers
254
+ * * @param {boolean} changing_authorized_action_takers_to_no_one_allowed
255
+ * * @param {boolean} changing_admin_action_takers_to_no_one_allowed
256
+ * * @param {boolean} self_changing_admin_action_takers_allowed
257
+ * @returns {ChangeControlRulesWASM}
258
+ */
259
+ constructor(authorized_to_make_change: AuthorizedActionTakersWASM, admin_action_takers: AuthorizedActionTakersWASM, changing_authorized_action_takers_to_no_one_allowed: boolean, changing_admin_action_takers_to_no_one_allowed: boolean, self_changing_admin_action_takers_allowed: boolean);
260
+ /**
261
+ * * @param {AuthorizedActionTakersWASM} admin_action_takers
262
+ * * @param {any} js_contract_owner_id
263
+ * * @param {number} main_group
264
+ * * @param {any} js_groups
265
+ * * @param {ActionTakerWASM} action_taker
266
+ * * @param {any} js_goal
267
+ * @returns {boolean}
268
+ */
269
+ canChangeAdminActionTakers(admin_action_takers: AuthorizedActionTakersWASM, js_contract_owner_id: any, main_group: number | null | undefined, js_groups: any, action_taker: ActionTakerWASM, js_goal: any): boolean;
153
270
  readonly __type: string;
154
271
  authorizedToMakeChange: AuthorizedActionTakersWASM;
155
272
  adminActionTakers: AuthorizedActionTakersWASM;
@@ -158,10 +275,21 @@ export class ChangeControlRulesWASM {
158
275
  selfChangingAdminActionTakersAllowed: boolean;
159
276
  }
160
277
  export class ContractBoundsWASM {
161
- private constructor();
162
- free(): void;
163
- static SingleContract(js_contract_id: any): ContractBoundsWASM;
164
- static SingleContractDocumentType(js_contract_id: any, document_type_name: string): ContractBoundsWASM;
278
+ /** @returns {ContractBoundsWASM} */
279
+ private constructor();
280
+ /** @ignore */
281
+ free(): void;
282
+ /**
283
+ * * @param {any} js_contract_id
284
+ * @returns {ContractBoundsWASM}
285
+ */
286
+ static SingleContract(js_contract_id: any): ContractBoundsWASM;
287
+ /**
288
+ * * @param {any} js_contract_id
289
+ * * @param {string} document_type_name
290
+ * @returns {ContractBoundsWASM}
291
+ */
292
+ static SingleContractDocumentType(js_contract_id: any, document_type_name: string): ContractBoundsWASM;
165
293
  readonly __type: string;
166
294
  get identifier(): IdentifierWASM;
167
295
  set identifier(value: any);
@@ -171,71 +299,242 @@ export class ContractBoundsWASM {
171
299
  readonly contractBoundsTypeNumber: number;
172
300
  }
173
301
  export class CoreScriptWASM {
174
- private constructor();
175
- free(): void;
176
- static fromBytes(bytes: Uint8Array): CoreScriptWASM;
177
- static newP2PKH(js_key_hash: Uint8Array): CoreScriptWASM;
178
- static newP2SH(js_script_hash: Uint8Array): CoreScriptWASM;
179
- toString(): string;
180
- bytes(): Uint8Array;
181
- hex(): string;
182
- base64(): string;
183
- ASMString(): string;
302
+ /** @returns {CoreScriptWASM} */
303
+ private constructor();
304
+ /** @ignore */
305
+ free(): void;
306
+ /**
307
+ * * @param {Uint8Array<ArrayBufferLike>} bytes
308
+ * @returns {CoreScriptWASM}
309
+ */
310
+ static fromBytes(bytes: Uint8Array): CoreScriptWASM;
311
+ /**
312
+ * * @param {Uint8Array<ArrayBufferLike>} js_key_hash
313
+ * @returns {CoreScriptWASM}
314
+ */
315
+ static newP2PKH(js_key_hash: Uint8Array): CoreScriptWASM;
316
+ /**
317
+ * * @param {Uint8Array<ArrayBufferLike>} js_script_hash
318
+ * @returns {CoreScriptWASM}
319
+ */
320
+ static newP2SH(js_script_hash: Uint8Array): CoreScriptWASM;
321
+ /** @returns {string} */
322
+ toString(): string;
323
+ /** @returns {Uint8Array<ArrayBufferLike>} */
324
+ bytes(): Uint8Array;
325
+ /** @returns {string} */
326
+ hex(): string;
327
+ /** @returns {string} */
328
+ base64(): string;
329
+ /** @returns {string} */
330
+ ASMString(): string;
184
331
  readonly __type: string;
185
332
  }
186
333
  export class DataContractCreateTransitionWASM {
187
- free(): void;
188
- constructor(data_contract: DataContractWASM, identity_nonce: bigint, js_platform_version: any);
189
- static fromBytes(bytes: Uint8Array): DataContractCreateTransitionWASM;
190
- static fromHex(hex: string): DataContractCreateTransitionWASM;
191
- static fromBase64(base64: string): DataContractCreateTransitionWASM;
192
- bytes(): Uint8Array;
193
- hex(): string;
194
- base64(): string;
195
- verifyProtocolVersion(protocol_version: number): boolean;
196
- setDataContract(data_contract: DataContractWASM, js_platform_version: any): void;
197
- getDataContract(js_platform_version: any, full_validation?: boolean | null): DataContractWASM;
198
- toStateTransition(): StateTransitionWASM;
199
- static fromStateTransition(state_transition: StateTransitionWASM): DataContractCreateTransitionWASM;
334
+ /** @ignore */
335
+ free(): void;
336
+ /**
337
+ * * @param {DataContractWASM} data_contract
338
+ * * @param {bigint} identity_nonce
339
+ * * @param {any} js_platform_version
340
+ * @returns {DataContractCreateTransitionWASM}
341
+ */
342
+ constructor(data_contract: DataContractWASM, identity_nonce: bigint, js_platform_version: any);
343
+ /**
344
+ * * @param {Uint8Array<ArrayBufferLike>} bytes
345
+ * @returns {DataContractCreateTransitionWASM}
346
+ */
347
+ static fromBytes(bytes: Uint8Array): DataContractCreateTransitionWASM;
348
+ /**
349
+ * * @param {string} hex
350
+ * @returns {DataContractCreateTransitionWASM}
351
+ */
352
+ static fromHex(hex: string): DataContractCreateTransitionWASM;
353
+ /**
354
+ * * @param {string} base64
355
+ * @returns {DataContractCreateTransitionWASM}
356
+ */
357
+ static fromBase64(base64: string): DataContractCreateTransitionWASM;
358
+ /** @returns {Uint8Array<ArrayBufferLike>} */
359
+ bytes(): Uint8Array;
360
+ /** @returns {string} */
361
+ hex(): string;
362
+ /** @returns {string} */
363
+ base64(): string;
364
+ /**
365
+ * * @param {number} protocol_version
366
+ * @returns {boolean}
367
+ */
368
+ verifyProtocolVersion(protocol_version: number): boolean;
369
+ /**
370
+ * * @param {DataContractWASM} data_contract
371
+ * * @param {any} js_platform_version
372
+ */
373
+ setDataContract(data_contract: DataContractWASM, js_platform_version: any): void;
374
+ /**
375
+ * * @param {any} js_platform_version
376
+ * * @param {boolean} full_validation
377
+ * @returns {DataContractWASM}
378
+ */
379
+ getDataContract(js_platform_version: any, full_validation?: boolean | null): DataContractWASM;
380
+ /** @returns {StateTransitionWASM} */
381
+ toStateTransition(): StateTransitionWASM;
382
+ /**
383
+ * * @param {StateTransitionWASM} state_transition
384
+ * @returns {DataContractCreateTransitionWASM}
385
+ */
386
+ static fromStateTransition(state_transition: StateTransitionWASM): DataContractCreateTransitionWASM;
200
387
  readonly __type: string;
201
388
  readonly featureVersion: number;
202
389
  readonly identityNonce: bigint;
203
390
  }
204
391
  export class DataContractUpdateTransitionWASM {
205
- free(): void;
206
- constructor(data_contract: DataContractWASM, identity_nonce: bigint, js_platform_version: any);
207
- static fromBytes(bytes: Uint8Array): DataContractUpdateTransitionWASM;
208
- static fromHex(hex: string): DataContractUpdateTransitionWASM;
209
- static fromBase64(base64: string): DataContractUpdateTransitionWASM;
210
- bytes(): Uint8Array;
211
- hex(): string;
212
- base64(): string;
213
- verifyProtocolVersion(protocol_version: number): boolean;
214
- setDataContract(data_contract: DataContractWASM, js_platform_version: any): void;
215
- getDataContract(full_validation: boolean | null | undefined, js_platform_version: any): DataContractWASM;
216
- toStateTransition(): StateTransitionWASM;
217
- static fromStateTransition(state_transition: StateTransitionWASM): DataContractUpdateTransitionWASM;
392
+ /** @ignore */
393
+ free(): void;
394
+ /**
395
+ * * @param {DataContractWASM} data_contract
396
+ * * @param {bigint} identity_nonce
397
+ * * @param {any} js_platform_version
398
+ * @returns {DataContractUpdateTransitionWASM}
399
+ */
400
+ constructor(data_contract: DataContractWASM, identity_nonce: bigint, js_platform_version: any);
401
+ /**
402
+ * * @param {Uint8Array<ArrayBufferLike>} bytes
403
+ * @returns {DataContractUpdateTransitionWASM}
404
+ */
405
+ static fromBytes(bytes: Uint8Array): DataContractUpdateTransitionWASM;
406
+ /**
407
+ * * @param {string} hex
408
+ * @returns {DataContractUpdateTransitionWASM}
409
+ */
410
+ static fromHex(hex: string): DataContractUpdateTransitionWASM;
411
+ /**
412
+ * * @param {string} base64
413
+ * @returns {DataContractUpdateTransitionWASM}
414
+ */
415
+ static fromBase64(base64: string): DataContractUpdateTransitionWASM;
416
+ /** @returns {Uint8Array<ArrayBufferLike>} */
417
+ bytes(): Uint8Array;
418
+ /** @returns {string} */
419
+ hex(): string;
420
+ /** @returns {string} */
421
+ base64(): string;
422
+ /**
423
+ * * @param {number} protocol_version
424
+ * @returns {boolean}
425
+ */
426
+ verifyProtocolVersion(protocol_version: number): boolean;
427
+ /**
428
+ * * @param {DataContractWASM} data_contract
429
+ * * @param {any} js_platform_version
430
+ */
431
+ setDataContract(data_contract: DataContractWASM, js_platform_version: any): void;
432
+ /**
433
+ * * @param {boolean} full_validation
434
+ * * @param {any} js_platform_version
435
+ * @returns {DataContractWASM}
436
+ */
437
+ getDataContract(full_validation: boolean | null | undefined, js_platform_version: any): DataContractWASM;
438
+ /** @returns {StateTransitionWASM} */
439
+ toStateTransition(): StateTransitionWASM;
440
+ /**
441
+ * * @param {StateTransitionWASM} state_transition
442
+ * @returns {DataContractUpdateTransitionWASM}
443
+ */
444
+ static fromStateTransition(state_transition: StateTransitionWASM): DataContractUpdateTransitionWASM;
218
445
  readonly __type: string;
219
446
  readonly featureVersion: number;
220
447
  readonly identityContractNonce: bigint;
221
448
  }
222
449
  export class DataContractWASM {
223
- free(): void;
224
- constructor(js_owner_id: any, identity_nonce: bigint, js_schema: any, js_definitions: object | null | undefined, js_tokens: any, full_validation: boolean, js_platform_version: any);
225
- static fromValue(js_value: any, full_validation: boolean, js_platform_version: any): DataContractWASM;
226
- static fromBytes(bytes: Uint8Array, full_validation: boolean, js_platform_version: any): DataContractWASM;
227
- static fromHex(hex: string, full_validation: boolean, js_platform_version: any): DataContractWASM;
228
- static fromBase64(base64: string, full_validation: boolean, js_platform_version: any): DataContractWASM;
229
- bytes(js_platform_version: any): Uint8Array;
230
- hex(js_platform_version: any): string;
231
- base64(js_platform_version: any): string;
232
- toValue(js_platform_version: any): any;
233
- getSchemas(): any;
234
- getConfig(): any;
235
- setConfig(js_config: any, js_platform_version: any): void;
236
- setSchemas(js_schema: any, js_definitions: object | null | undefined, full_validation: boolean, js_platform_version: any): void;
237
- toJson(js_platform_version: any): any;
238
- static generateId(js_owner_id: any, identity_nonce: bigint): IdentifierWASM;
450
+ /** @ignore */
451
+ free(): void;
452
+ /**
453
+ * * @param {any} js_owner_id
454
+ * * @param {bigint} identity_nonce
455
+ * * @param {any} js_schema
456
+ * * @param {object} js_definitions
457
+ * * @param {any} js_tokens
458
+ * * @param {boolean} full_validation
459
+ * * @param {any} js_platform_version
460
+ * @returns {DataContractWASM}
461
+ */
462
+ constructor(js_owner_id: any, identity_nonce: bigint, js_schema: any, js_definitions: object | null | undefined, js_tokens: any, full_validation: boolean, js_platform_version: any);
463
+ /**
464
+ * * @param {any} js_value
465
+ * * @param {boolean} full_validation
466
+ * * @param {any} js_platform_version
467
+ * @returns {DataContractWASM}
468
+ */
469
+ static fromValue(js_value: any, full_validation: boolean, js_platform_version: any): DataContractWASM;
470
+ /**
471
+ * * @param {Uint8Array<ArrayBufferLike>} bytes
472
+ * * @param {boolean} full_validation
473
+ * * @param {any} js_platform_version
474
+ * @returns {DataContractWASM}
475
+ */
476
+ static fromBytes(bytes: Uint8Array, full_validation: boolean, js_platform_version: any): DataContractWASM;
477
+ /**
478
+ * * @param {string} hex
479
+ * * @param {boolean} full_validation
480
+ * * @param {any} js_platform_version
481
+ * @returns {DataContractWASM}
482
+ */
483
+ static fromHex(hex: string, full_validation: boolean, js_platform_version: any): DataContractWASM;
484
+ /**
485
+ * * @param {string} base64
486
+ * * @param {boolean} full_validation
487
+ * * @param {any} js_platform_version
488
+ * @returns {DataContractWASM}
489
+ */
490
+ static fromBase64(base64: string, full_validation: boolean, js_platform_version: any): DataContractWASM;
491
+ /**
492
+ * * @param {any} js_platform_version
493
+ * @returns {Uint8Array<ArrayBufferLike>}
494
+ */
495
+ bytes(js_platform_version: any): Uint8Array;
496
+ /**
497
+ * * @param {any} js_platform_version
498
+ * @returns {string}
499
+ */
500
+ hex(js_platform_version: any): string;
501
+ /**
502
+ * * @param {any} js_platform_version
503
+ * @returns {string}
504
+ */
505
+ base64(js_platform_version: any): string;
506
+ /**
507
+ * * @param {any} js_platform_version
508
+ * @returns {any}
509
+ */
510
+ toValue(js_platform_version: any): any;
511
+ /** @returns {any} */
512
+ getSchemas(): any;
513
+ /** @returns {any} */
514
+ getConfig(): any;
515
+ /**
516
+ * * @param {any} js_config
517
+ * * @param {any} js_platform_version
518
+ */
519
+ setConfig(js_config: any, js_platform_version: any): void;
520
+ /**
521
+ * * @param {any} js_schema
522
+ * * @param {object} js_definitions
523
+ * * @param {boolean} full_validation
524
+ * * @param {any} js_platform_version
525
+ */
526
+ setSchemas(js_schema: any, js_definitions: object | null | undefined, full_validation: boolean, js_platform_version: any): void;
527
+ /**
528
+ * * @param {any} js_platform_version
529
+ * @returns {any}
530
+ */
531
+ toJson(js_platform_version: any): any;
532
+ /**
533
+ * * @param {any} js_owner_id
534
+ * * @param {bigint} identity_nonce
535
+ * @returns {IdentifierWASM}
536
+ */
537
+ static generateId(js_owner_id: any, identity_nonce: bigint): IdentifierWASM;
239
538
  readonly __type: string;
240
539
  version: number;
241
540
  get id(): IdentifierWASM;
@@ -246,8 +545,10 @@ export class DataContractWASM {
246
545
  set tokens(value: any);
247
546
  }
248
547
  export class DistributionExponentialWASM {
249
- private constructor();
250
- free(): void;
548
+ /** @returns {DistributionExponentialWASM} */
549
+ private constructor();
550
+ /** @ignore */
551
+ free(): void;
251
552
  a: bigint;
252
553
  d: bigint;
253
554
  m: bigint;
@@ -262,29 +563,118 @@ export class DistributionExponentialWASM {
262
563
  set maxValue(value: bigint | null | undefined);
263
564
  }
264
565
  export class DistributionFixedAmountWASM {
265
- private constructor();
266
- free(): void;
566
+ /** @returns {DistributionFixedAmountWASM} */
567
+ private constructor();
568
+ /** @ignore */
569
+ free(): void;
267
570
  amount: bigint;
268
571
  }
269
572
  export class DistributionFunctionWASM {
270
- private constructor();
271
- free(): void;
272
- static FixedAmountDistribution(amount: bigint): DistributionFunctionWASM;
273
- static Random(min: bigint, max: bigint): DistributionFunctionWASM;
274
- static StepDecreasingAmount(step_count: number, decrease_per_interval_numerator: number, decrease_per_interval_denominator: number, start_decreasing_offset: bigint | null | undefined, max_interval_count: number | null | undefined, distribution_start_amount: bigint, trailing_distribution_interval_amount: bigint, min_value?: bigint | null): DistributionFunctionWASM;
275
- static Stepwise(js_steps_with_amount: any): DistributionFunctionWASM;
276
- static Linear(a: bigint, d: bigint, start_step: bigint | null | undefined, starting_amount: bigint, min_value?: bigint | null, max_value?: bigint | null): DistributionFunctionWASM;
277
- static Polynomial(a: bigint, d: bigint, m: bigint, n: bigint, o: bigint, start_moment: bigint | null | undefined, b: bigint, min_value?: bigint | null, max_value?: bigint | null): DistributionFunctionWASM;
278
- static Exponential(a: bigint, d: bigint, m: bigint, n: bigint, o: bigint, start_moment: bigint | null | undefined, b: bigint, min_value?: bigint | null, max_value?: bigint | null): DistributionFunctionWASM;
279
- static Logarithmic(a: bigint, d: bigint, m: bigint, n: bigint, o: bigint, start_moment: bigint | null | undefined, b: bigint, min_value?: bigint | null, max_value?: bigint | null): DistributionFunctionWASM;
280
- static InvertedLogarithmic(a: bigint, d: bigint, m: bigint, n: bigint, o: bigint, start_moment: bigint | null | undefined, b: bigint, min_value?: bigint | null, max_value?: bigint | null): DistributionFunctionWASM;
281
- getFunctionName(): string;
282
- getFunctionValue(): any;
573
+ /** @returns {DistributionFunctionWASM} */
574
+ private constructor();
575
+ /** @ignore */
576
+ free(): void;
577
+ /**
578
+ * * @param {bigint} amount
579
+ * @returns {DistributionFunctionWASM}
580
+ */
581
+ static FixedAmountDistribution(amount: bigint): DistributionFunctionWASM;
582
+ /**
583
+ * * @param {bigint} min
584
+ * * @param {bigint} max
585
+ * @returns {DistributionFunctionWASM}
586
+ */
587
+ static Random(min: bigint, max: bigint): DistributionFunctionWASM;
588
+ /**
589
+ * * @param {number} step_count
590
+ * * @param {number} decrease_per_interval_numerator
591
+ * * @param {number} decrease_per_interval_denominator
592
+ * * @param {bigint} start_decreasing_offset
593
+ * * @param {number} max_interval_count
594
+ * * @param {bigint} distribution_start_amount
595
+ * * @param {bigint} trailing_distribution_interval_amount
596
+ * * @param {bigint} min_value
597
+ * @returns {DistributionFunctionWASM}
598
+ */
599
+ static StepDecreasingAmount(step_count: number, decrease_per_interval_numerator: number, decrease_per_interval_denominator: number, start_decreasing_offset: bigint | null | undefined, max_interval_count: number | null | undefined, distribution_start_amount: bigint, trailing_distribution_interval_amount: bigint, min_value?: bigint | null): DistributionFunctionWASM;
600
+ /**
601
+ * * @param {any} js_steps_with_amount
602
+ * @returns {DistributionFunctionWASM}
603
+ */
604
+ static Stepwise(js_steps_with_amount: any): DistributionFunctionWASM;
605
+ /**
606
+ * * @param {bigint} a
607
+ * * @param {bigint} d
608
+ * * @param {bigint} start_step
609
+ * * @param {bigint} starting_amount
610
+ * * @param {bigint} min_value
611
+ * * @param {bigint} max_value
612
+ * @returns {DistributionFunctionWASM}
613
+ */
614
+ static Linear(a: bigint, d: bigint, start_step: bigint | null | undefined, starting_amount: bigint, min_value?: bigint | null, max_value?: bigint | null): DistributionFunctionWASM;
615
+ /**
616
+ * * @param {bigint} a
617
+ * * @param {bigint} d
618
+ * * @param {bigint} m
619
+ * * @param {bigint} n
620
+ * * @param {bigint} o
621
+ * * @param {bigint} start_moment
622
+ * * @param {bigint} b
623
+ * * @param {bigint} min_value
624
+ * * @param {bigint} max_value
625
+ * @returns {DistributionFunctionWASM}
626
+ */
627
+ static Polynomial(a: bigint, d: bigint, m: bigint, n: bigint, o: bigint, start_moment: bigint | null | undefined, b: bigint, min_value?: bigint | null, max_value?: bigint | null): DistributionFunctionWASM;
628
+ /**
629
+ * * @param {bigint} a
630
+ * * @param {bigint} d
631
+ * * @param {bigint} m
632
+ * * @param {bigint} n
633
+ * * @param {bigint} o
634
+ * * @param {bigint} start_moment
635
+ * * @param {bigint} b
636
+ * * @param {bigint} min_value
637
+ * * @param {bigint} max_value
638
+ * @returns {DistributionFunctionWASM}
639
+ */
640
+ static Exponential(a: bigint, d: bigint, m: bigint, n: bigint, o: bigint, start_moment: bigint | null | undefined, b: bigint, min_value?: bigint | null, max_value?: bigint | null): DistributionFunctionWASM;
641
+ /**
642
+ * * @param {bigint} a
643
+ * * @param {bigint} d
644
+ * * @param {bigint} m
645
+ * * @param {bigint} n
646
+ * * @param {bigint} o
647
+ * * @param {bigint} start_moment
648
+ * * @param {bigint} b
649
+ * * @param {bigint} min_value
650
+ * * @param {bigint} max_value
651
+ * @returns {DistributionFunctionWASM}
652
+ */
653
+ static Logarithmic(a: bigint, d: bigint, m: bigint, n: bigint, o: bigint, start_moment: bigint | null | undefined, b: bigint, min_value?: bigint | null, max_value?: bigint | null): DistributionFunctionWASM;
654
+ /**
655
+ * * @param {bigint} a
656
+ * * @param {bigint} d
657
+ * * @param {bigint} m
658
+ * * @param {bigint} n
659
+ * * @param {bigint} o
660
+ * * @param {bigint} start_moment
661
+ * * @param {bigint} b
662
+ * * @param {bigint} min_value
663
+ * * @param {bigint} max_value
664
+ * @returns {DistributionFunctionWASM}
665
+ */
666
+ static InvertedLogarithmic(a: bigint, d: bigint, m: bigint, n: bigint, o: bigint, start_moment: bigint | null | undefined, b: bigint, min_value?: bigint | null, max_value?: bigint | null): DistributionFunctionWASM;
667
+ /** @returns {string} */
668
+ getFunctionName(): string;
669
+ /** @returns {any} */
670
+ getFunctionValue(): any;
283
671
  readonly __type: string;
284
672
  }
285
673
  export class DistributionInvertedLogarithmicWASM {
286
- private constructor();
287
- free(): void;
674
+ /** @returns {DistributionInvertedLogarithmicWASM} */
675
+ private constructor();
676
+ /** @ignore */
677
+ free(): void;
288
678
  a: bigint;
289
679
  d: bigint;
290
680
  m: bigint;
@@ -299,8 +689,10 @@ export class DistributionInvertedLogarithmicWASM {
299
689
  set maxValue(value: bigint | null | undefined);
300
690
  }
301
691
  export class DistributionLinearWASM {
302
- private constructor();
303
- free(): void;
692
+ /** @returns {DistributionLinearWASM} */
693
+ private constructor();
694
+ /** @ignore */
695
+ free(): void;
304
696
  a: bigint;
305
697
  d: bigint;
306
698
  get startStep(): bigint | undefined;
@@ -312,8 +704,10 @@ export class DistributionLinearWASM {
312
704
  set maxValue(value: bigint | null | undefined);
313
705
  }
314
706
  export class DistributionLogarithmicWASM {
315
- private constructor();
316
- free(): void;
707
+ /** @returns {DistributionLogarithmicWASM} */
708
+ private constructor();
709
+ /** @ignore */
710
+ free(): void;
317
711
  a: bigint;
318
712
  d: bigint;
319
713
  m: bigint;
@@ -328,8 +722,10 @@ export class DistributionLogarithmicWASM {
328
722
  set maxValue(value: bigint | null | undefined);
329
723
  }
330
724
  export class DistributionPolynomialWASM {
331
- private constructor();
332
- free(): void;
725
+ /** @returns {DistributionPolynomialWASM} */
726
+ private constructor();
727
+ /** @ignore */
728
+ free(): void;
333
729
  a: bigint;
334
730
  d: bigint;
335
731
  m: bigint;
@@ -344,14 +740,18 @@ export class DistributionPolynomialWASM {
344
740
  set maxValue(value: bigint | null | undefined);
345
741
  }
346
742
  export class DistributionRandomWASM {
347
- private constructor();
348
- free(): void;
743
+ /** @returns {DistributionRandomWASM} */
744
+ private constructor();
745
+ /** @ignore */
746
+ free(): void;
349
747
  min: bigint;
350
748
  max: bigint;
351
749
  }
352
750
  export class DistributionStepDecreasingAmountWASM {
353
- private constructor();
354
- free(): void;
751
+ /** @returns {DistributionStepDecreasingAmountWASM} */
752
+ private constructor();
753
+ /** @ignore */
754
+ free(): void;
355
755
  stepCount: number;
356
756
  decreasePerIntervalNumerator: number;
357
757
  decreasePerIntervalDenominator: number;
@@ -365,8 +765,16 @@ export class DistributionStepDecreasingAmountWASM {
365
765
  set minValue(value: bigint | null | undefined);
366
766
  }
367
767
  export class DocumentBaseTransitionWASM {
368
- free(): void;
369
- constructor(js_document_id: any, identity_contract_nonce: bigint, document_type_name: string, js_data_contract_id: any);
768
+ /** @ignore */
769
+ free(): void;
770
+ /**
771
+ * * @param {any} js_document_id
772
+ * * @param {bigint} identity_contract_nonce
773
+ * * @param {string} document_type_name
774
+ * * @param {any} js_data_contract_id
775
+ * @returns {DocumentBaseTransitionWASM}
776
+ */
777
+ constructor(js_document_id: any, identity_contract_nonce: bigint, document_type_name: string, js_data_contract_id: any);
370
778
  readonly __type: string;
371
779
  get id(): IdentifierWASM;
372
780
  set id(value: any);
@@ -376,11 +784,23 @@ export class DocumentBaseTransitionWASM {
376
784
  documentTypeName: string;
377
785
  }
378
786
  export class DocumentCreateTransitionWASM {
379
- free(): void;
380
- constructor(document: DocumentWASM, identity_contract_nonce: bigint);
381
- clearPrefundedVotingBalance(): void;
382
- toDocumentTransition(): DocumentTransitionWASM;
383
- static fromDocumentTransition(js_transition: DocumentTransitionWASM): DocumentCreateTransitionWASM;
787
+ /** @ignore */
788
+ free(): void;
789
+ /**
790
+ * * @param {DocumentWASM} document
791
+ * * @param {bigint} identity_contract_nonce
792
+ * @returns {DocumentCreateTransitionWASM}
793
+ */
794
+ constructor(document: DocumentWASM, identity_contract_nonce: bigint);
795
+ /** */
796
+ clearPrefundedVotingBalance(): void;
797
+ /** @returns {DocumentTransitionWASM} */
798
+ toDocumentTransition(): DocumentTransitionWASM;
799
+ /**
800
+ * * @param {DocumentTransitionWASM} js_transition
801
+ * @returns {DocumentCreateTransitionWASM}
802
+ */
803
+ static fromDocumentTransition(js_transition: DocumentTransitionWASM): DocumentCreateTransitionWASM;
384
804
  readonly __type: string;
385
805
  data: any;
386
806
  base: DocumentBaseTransitionWASM;
@@ -389,46 +809,94 @@ export class DocumentCreateTransitionWASM {
389
809
  set prefundedVotingBalance(value: PrefundedVotingBalanceWASM);
390
810
  }
391
811
  export class DocumentDeleteTransitionWASM {
392
- free(): void;
393
- constructor(document: DocumentWASM, identity_contract_nonce: bigint);
394
- toDocumentTransition(): DocumentTransitionWASM;
395
- static fromDocumentTransition(js_transition: DocumentTransitionWASM): DocumentDeleteTransitionWASM;
812
+ /** @ignore */
813
+ free(): void;
814
+ /**
815
+ * * @param {DocumentWASM} document
816
+ * * @param {bigint} identity_contract_nonce
817
+ * @returns {DocumentDeleteTransitionWASM}
818
+ */
819
+ constructor(document: DocumentWASM, identity_contract_nonce: bigint);
820
+ /** @returns {DocumentTransitionWASM} */
821
+ toDocumentTransition(): DocumentTransitionWASM;
822
+ /**
823
+ * * @param {DocumentTransitionWASM} js_transition
824
+ * @returns {DocumentDeleteTransitionWASM}
825
+ */
826
+ static fromDocumentTransition(js_transition: DocumentTransitionWASM): DocumentDeleteTransitionWASM;
396
827
  readonly __type: string;
397
828
  base: DocumentBaseTransitionWASM;
398
829
  }
399
830
  export class DocumentPurchaseTransitionWASM {
400
- free(): void;
401
- constructor(document: DocumentWASM, identity_contract_nonce: bigint, amount: bigint);
402
- toDocumentTransition(): DocumentTransitionWASM;
403
- static fromDocumentTransition(js_transition: DocumentTransitionWASM): DocumentPurchaseTransitionWASM;
831
+ /** @ignore */
832
+ free(): void;
833
+ /**
834
+ * * @param {DocumentWASM} document
835
+ * * @param {bigint} identity_contract_nonce
836
+ * * @param {bigint} amount
837
+ * @returns {DocumentPurchaseTransitionWASM}
838
+ */
839
+ constructor(document: DocumentWASM, identity_contract_nonce: bigint, amount: bigint);
840
+ /** @returns {DocumentTransitionWASM} */
841
+ toDocumentTransition(): DocumentTransitionWASM;
842
+ /**
843
+ * * @param {DocumentTransitionWASM} js_transition
844
+ * @returns {DocumentPurchaseTransitionWASM}
845
+ */
846
+ static fromDocumentTransition(js_transition: DocumentTransitionWASM): DocumentPurchaseTransitionWASM;
404
847
  readonly __type: string;
405
848
  base: DocumentBaseTransitionWASM;
406
849
  price: bigint;
407
850
  revision: bigint;
408
851
  }
409
852
  export class DocumentReplaceTransitionWASM {
410
- free(): void;
411
- constructor(document: DocumentWASM, identity_contract_nonce: bigint);
412
- toDocumentTransition(): DocumentTransitionWASM;
413
- static fromDocumentTransition(js_transition: DocumentTransitionWASM): DocumentReplaceTransitionWASM;
853
+ /** @ignore */
854
+ free(): void;
855
+ /**
856
+ * * @param {DocumentWASM} document
857
+ * * @param {bigint} identity_contract_nonce
858
+ * @returns {DocumentReplaceTransitionWASM}
859
+ */
860
+ constructor(document: DocumentWASM, identity_contract_nonce: bigint);
861
+ /** @returns {DocumentTransitionWASM} */
862
+ toDocumentTransition(): DocumentTransitionWASM;
863
+ /**
864
+ * * @param {DocumentTransitionWASM} js_transition
865
+ * @returns {DocumentReplaceTransitionWASM}
866
+ */
867
+ static fromDocumentTransition(js_transition: DocumentTransitionWASM): DocumentReplaceTransitionWASM;
414
868
  readonly __type: string;
415
869
  data: any;
416
870
  base: DocumentBaseTransitionWASM;
417
871
  revision: bigint;
418
872
  }
419
873
  export class DocumentTransferTransitionWASM {
420
- free(): void;
421
- constructor(document: DocumentWASM, identity_contract_nonce: bigint, js_recipient_owner_id: any);
422
- toDocumentTransition(): DocumentTransitionWASM;
423
- static fromDocumentTransition(js_transition: DocumentTransitionWASM): DocumentTransferTransitionWASM;
874
+ /** @ignore */
875
+ free(): void;
876
+ /**
877
+ * * @param {DocumentWASM} document
878
+ * * @param {bigint} identity_contract_nonce
879
+ * * @param {any} js_recipient_owner_id
880
+ * @returns {DocumentTransferTransitionWASM}
881
+ */
882
+ constructor(document: DocumentWASM, identity_contract_nonce: bigint, js_recipient_owner_id: any);
883
+ /** @returns {DocumentTransitionWASM} */
884
+ toDocumentTransition(): DocumentTransitionWASM;
885
+ /**
886
+ * * @param {DocumentTransitionWASM} js_transition
887
+ * @returns {DocumentTransferTransitionWASM}
888
+ */
889
+ static fromDocumentTransition(js_transition: DocumentTransitionWASM): DocumentTransferTransitionWASM;
424
890
  readonly __type: string;
425
891
  base: DocumentBaseTransitionWASM;
426
892
  get recipientId(): IdentifierWASM;
427
893
  set recipientId(value: any);
428
894
  }
429
895
  export class DocumentTransitionWASM {
430
- private constructor();
431
- free(): void;
896
+ /** @returns {DocumentTransitionWASM} */
897
+ private constructor();
898
+ /** @ignore */
899
+ free(): void;
432
900
  readonly __type: string;
433
901
  readonly actionType: string;
434
902
  readonly actionTypeNumber: number;
@@ -448,24 +916,89 @@ export class DocumentTransitionWASM {
448
916
  readonly updatePriceTransition: DocumentUpdatePriceTransitionWASM;
449
917
  }
450
918
  export class DocumentUpdatePriceTransitionWASM {
451
- free(): void;
452
- constructor(document: DocumentWASM, identity_contract_nonce: bigint, price: bigint);
453
- toDocumentTransition(): DocumentTransitionWASM;
454
- static fromDocumentTransition(js_transition: DocumentTransitionWASM): DocumentUpdatePriceTransitionWASM;
919
+ /** @ignore */
920
+ free(): void;
921
+ /**
922
+ * * @param {DocumentWASM} document
923
+ * * @param {bigint} identity_contract_nonce
924
+ * * @param {bigint} price
925
+ * @returns {DocumentUpdatePriceTransitionWASM}
926
+ */
927
+ constructor(document: DocumentWASM, identity_contract_nonce: bigint, price: bigint);
928
+ /** @returns {DocumentTransitionWASM} */
929
+ toDocumentTransition(): DocumentTransitionWASM;
930
+ /**
931
+ * * @param {DocumentTransitionWASM} js_transition
932
+ * @returns {DocumentUpdatePriceTransitionWASM}
933
+ */
934
+ static fromDocumentTransition(js_transition: DocumentTransitionWASM): DocumentUpdatePriceTransitionWASM;
455
935
  readonly __type: string;
456
936
  base: DocumentBaseTransitionWASM;
457
937
  price: bigint;
458
938
  }
459
939
  export class DocumentWASM {
460
- free(): void;
461
- constructor(js_raw_document: any, js_document_type_name: string, js_revision: bigint, js_data_contract_id: any, js_owner_id: any, js_document_id: any);
462
- bytes(data_contract: DataContractWASM, js_platform_version: any): Uint8Array;
463
- hex(data_contract: DataContractWASM, js_platform_version: any): string;
464
- base64(data_contract: DataContractWASM, js_platform_version: any): string;
465
- static fromBytes(bytes: Uint8Array, data_contract: DataContractWASM, type_name: string, js_platform_version: any): DocumentWASM;
466
- static fromHex(hex: string, data_contract: DataContractWASM, type_name: string, js_platform_version: any): DocumentWASM;
467
- static fromBase64(base64: string, data_contract: DataContractWASM, type_name: string, js_platform_version: any): DocumentWASM;
468
- static generateId(js_document_type_name: string, js_owner_id: any, js_data_contract_id: any, opt_entropy?: Uint8Array | null): Uint8Array;
940
+ /** @ignore */
941
+ free(): void;
942
+ /**
943
+ * * @param {any} js_raw_document
944
+ * * @param {string} js_document_type_name
945
+ * * @param {bigint} js_revision
946
+ * * @param {any} js_data_contract_id
947
+ * * @param {any} js_owner_id
948
+ * * @param {any} js_document_id
949
+ * @returns {DocumentWASM}
950
+ */
951
+ constructor(js_raw_document: any, js_document_type_name: string, js_revision: bigint, js_data_contract_id: any, js_owner_id: any, js_document_id: any);
952
+ /**
953
+ * * @param {DataContractWASM} data_contract
954
+ * * @param {any} js_platform_version
955
+ * @returns {Uint8Array<ArrayBufferLike>}
956
+ */
957
+ bytes(data_contract: DataContractWASM, js_platform_version: any): Uint8Array;
958
+ /**
959
+ * * @param {DataContractWASM} data_contract
960
+ * * @param {any} js_platform_version
961
+ * @returns {string}
962
+ */
963
+ hex(data_contract: DataContractWASM, js_platform_version: any): string;
964
+ /**
965
+ * * @param {DataContractWASM} data_contract
966
+ * * @param {any} js_platform_version
967
+ * @returns {string}
968
+ */
969
+ base64(data_contract: DataContractWASM, js_platform_version: any): string;
970
+ /**
971
+ * * @param {Uint8Array<ArrayBufferLike>} bytes
972
+ * * @param {DataContractWASM} data_contract
973
+ * * @param {string} type_name
974
+ * * @param {any} js_platform_version
975
+ * @returns {DocumentWASM}
976
+ */
977
+ static fromBytes(bytes: Uint8Array, data_contract: DataContractWASM, type_name: string, js_platform_version: any): DocumentWASM;
978
+ /**
979
+ * * @param {string} hex
980
+ * * @param {DataContractWASM} data_contract
981
+ * * @param {string} type_name
982
+ * * @param {any} js_platform_version
983
+ * @returns {DocumentWASM}
984
+ */
985
+ static fromHex(hex: string, data_contract: DataContractWASM, type_name: string, js_platform_version: any): DocumentWASM;
986
+ /**
987
+ * * @param {string} base64
988
+ * * @param {DataContractWASM} data_contract
989
+ * * @param {string} type_name
990
+ * * @param {any} js_platform_version
991
+ * @returns {DocumentWASM}
992
+ */
993
+ static fromBase64(base64: string, data_contract: DataContractWASM, type_name: string, js_platform_version: any): DocumentWASM;
994
+ /**
995
+ * * @param {string} js_document_type_name
996
+ * * @param {any} js_owner_id
997
+ * * @param {any} js_data_contract_id
998
+ * * @param {Uint8Array<ArrayBufferLike>} opt_entropy
999
+ * @returns {Uint8Array<ArrayBufferLike>}
1000
+ */
1001
+ static generateId(js_document_type_name: string, js_owner_id: any, js_data_contract_id: any, opt_entropy?: Uint8Array | null): Uint8Array;
469
1002
  readonly __type: string;
470
1003
  get id(): IdentifierWASM;
471
1004
  set id(value: any);
@@ -498,14 +1031,23 @@ export class DocumentWASM {
498
1031
  documentTypeName: string;
499
1032
  }
500
1033
  export class EpochBasedDistributionWASM {
501
- private constructor();
502
- free(): void;
1034
+ /** @returns {EpochBasedDistributionWASM} */
1035
+ private constructor();
1036
+ /** @ignore */
1037
+ free(): void;
503
1038
  interval: number;
504
1039
  function: DistributionFunctionWASM;
505
1040
  }
506
1041
  export class GroupStateTransitionInfoWASM {
507
- free(): void;
508
- constructor(group_contract_position: number, action_id: any, action_is_proposer: boolean);
1042
+ /** @ignore */
1043
+ free(): void;
1044
+ /**
1045
+ * * @param {number} group_contract_position
1046
+ * * @param {any} action_id
1047
+ * * @param {boolean} action_is_proposer
1048
+ * @returns {GroupStateTransitionInfoWASM}
1049
+ */
1050
+ constructor(group_contract_position: number, action_id: any, action_is_proposer: boolean);
509
1051
  readonly __type: string;
510
1052
  groupContractPosition: number;
511
1053
  get actionId(): IdentifierWASM;
@@ -513,38 +1055,106 @@ export class GroupStateTransitionInfoWASM {
513
1055
  actionIsProposer: boolean;
514
1056
  }
515
1057
  export class GroupWASM {
516
- free(): void;
517
- constructor(js_members: any, required_power: number);
518
- setMemberRequiredPower(js_member: any, member_required_power: number): void;
1058
+ /** @ignore */
1059
+ free(): void;
1060
+ /**
1061
+ * * @param {any} js_members
1062
+ * * @param {number} required_power
1063
+ * @returns {GroupWASM}
1064
+ */
1065
+ constructor(js_members: any, required_power: number);
1066
+ /**
1067
+ * * @param {any} js_member
1068
+ * * @param {number} member_required_power
1069
+ */
1070
+ setMemberRequiredPower(js_member: any, member_required_power: number): void;
519
1071
  readonly __type: string;
520
1072
  members: any;
521
1073
  requiredPower: number;
522
1074
  }
523
1075
  export class IdentifierWASM {
524
- free(): void;
525
- constructor(js_identifier: any);
526
- base58(): string;
527
- base64(): string;
528
- hex(): string;
529
- bytes(): Uint8Array;
530
- static fromBase58(base58: string): IdentifierWASM;
531
- static fromBase64(base64: string): IdentifierWASM;
532
- static fromHex(hex: string): IdentifierWASM;
533
- static fromBytes(bytes: Uint8Array): IdentifierWASM;
1076
+ /** @ignore */
1077
+ free(): void;
1078
+ /**
1079
+ * * @param {any} js_identifier
1080
+ * @returns {IdentifierWASM}
1081
+ */
1082
+ constructor(js_identifier: any);
1083
+ /** @returns {string} */
1084
+ base58(): string;
1085
+ /** @returns {string} */
1086
+ base64(): string;
1087
+ /** @returns {string} */
1088
+ hex(): string;
1089
+ /** @returns {Uint8Array<ArrayBufferLike>} */
1090
+ bytes(): Uint8Array;
1091
+ /**
1092
+ * * @param {string} base58
1093
+ * @returns {IdentifierWASM}
1094
+ */
1095
+ static fromBase58(base58: string): IdentifierWASM;
1096
+ /**
1097
+ * * @param {string} base64
1098
+ * @returns {IdentifierWASM}
1099
+ */
1100
+ static fromBase64(base64: string): IdentifierWASM;
1101
+ /**
1102
+ * * @param {string} hex
1103
+ * @returns {IdentifierWASM}
1104
+ */
1105
+ static fromHex(hex: string): IdentifierWASM;
1106
+ /**
1107
+ * * @param {Uint8Array<ArrayBufferLike>} bytes
1108
+ * @returns {IdentifierWASM}
1109
+ */
1110
+ static fromBytes(bytes: Uint8Array): IdentifierWASM;
534
1111
  readonly __type: string;
535
1112
  }
536
1113
  export class IdentityCreateTransitionWASM {
537
- free(): void;
538
- constructor(js_public_keys: Array<any>, asset_lock: AssetLockProofWASM, user_fee_increase: number, signature: Uint8Array | null | undefined, js_identity_id: any);
539
- static default(js_platform_version: any): IdentityCreateTransitionWASM;
540
- static fromHex(hex: string): IdentityCreateTransitionWASM;
541
- static fromBase64(base64: string): IdentityCreateTransitionWASM;
542
- bytes(): Uint8Array;
543
- static fromBytes(bytes: Uint8Array): IdentityCreateTransitionWASM;
544
- getIdentifier(): IdentifierWASM;
545
- getSignableBytes(): Uint8Array;
546
- toStateTransition(): StateTransitionWASM;
547
- static fromStateTransition(st: StateTransitionWASM): IdentityCreateTransitionWASM;
1114
+ /** @ignore */
1115
+ free(): void;
1116
+ /**
1117
+ * * @param {any[]} js_public_keys
1118
+ * * @param {AssetLockProofWASM} asset_lock
1119
+ * * @param {number} user_fee_increase
1120
+ * * @param {Uint8Array<ArrayBufferLike>} signature
1121
+ * * @param {any} js_identity_id
1122
+ * @returns {IdentityCreateTransitionWASM}
1123
+ */
1124
+ constructor(js_public_keys: Array<any>, asset_lock: AssetLockProofWASM, user_fee_increase: number, signature: Uint8Array | null | undefined, js_identity_id: any);
1125
+ /**
1126
+ * * @param {any} js_platform_version
1127
+ * @returns {IdentityCreateTransitionWASM}
1128
+ */
1129
+ static default(js_platform_version: any): IdentityCreateTransitionWASM;
1130
+ /**
1131
+ * * @param {string} hex
1132
+ * @returns {IdentityCreateTransitionWASM}
1133
+ */
1134
+ static fromHex(hex: string): IdentityCreateTransitionWASM;
1135
+ /**
1136
+ * * @param {string} base64
1137
+ * @returns {IdentityCreateTransitionWASM}
1138
+ */
1139
+ static fromBase64(base64: string): IdentityCreateTransitionWASM;
1140
+ /** @returns {Uint8Array<ArrayBufferLike>} */
1141
+ bytes(): Uint8Array;
1142
+ /**
1143
+ * * @param {Uint8Array<ArrayBufferLike>} bytes
1144
+ * @returns {IdentityCreateTransitionWASM}
1145
+ */
1146
+ static fromBytes(bytes: Uint8Array): IdentityCreateTransitionWASM;
1147
+ /** @returns {IdentifierWASM} */
1148
+ getIdentifier(): IdentifierWASM;
1149
+ /** @returns {Uint8Array<ArrayBufferLike>} */
1150
+ getSignableBytes(): Uint8Array;
1151
+ /** @returns {StateTransitionWASM} */
1152
+ toStateTransition(): StateTransitionWASM;
1153
+ /**
1154
+ * * @param {StateTransitionWASM} st
1155
+ * @returns {IdentityCreateTransitionWASM}
1156
+ */
1157
+ static fromStateTransition(st: StateTransitionWASM): IdentityCreateTransitionWASM;
548
1158
  readonly __type: string;
549
1159
  get publicKeys(): IdentityPublicKeyInCreationWASM[];
550
1160
  set publicKeys(value: Array<any>);
@@ -553,17 +1163,47 @@ export class IdentityCreateTransitionWASM {
553
1163
  assetLock: AssetLockProofWASM;
554
1164
  }
555
1165
  export class IdentityCreditTransferWASM {
556
- free(): void;
557
- constructor(amount: bigint, js_sender: any, js_recipient: any, nonce: bigint, js_platform_version_wasm: any);
558
- bytes(): Uint8Array;
559
- hex(): string;
560
- base64(): string;
561
- static fromBytes(bytes: Uint8Array): IdentityCreditTransferWASM;
562
- static fromHex(hex: string): IdentityCreditTransferWASM;
563
- static fromBase64(hex: string): IdentityCreditTransferWASM;
564
- getSignableBytes(): Uint8Array;
565
- toStateTransition(): StateTransitionWASM;
566
- static fromStateTransition(st: StateTransitionWASM): IdentityCreditTransferWASM;
1166
+ /** @ignore */
1167
+ free(): void;
1168
+ /**
1169
+ * * @param {bigint} amount
1170
+ * * @param {any} js_sender
1171
+ * * @param {any} js_recipient
1172
+ * * @param {bigint} nonce
1173
+ * * @param {any} js_platform_version_wasm
1174
+ * @returns {IdentityCreditTransferWASM}
1175
+ */
1176
+ constructor(amount: bigint, js_sender: any, js_recipient: any, nonce: bigint, js_platform_version_wasm: any);
1177
+ /** @returns {Uint8Array<ArrayBufferLike>} */
1178
+ bytes(): Uint8Array;
1179
+ /** @returns {string} */
1180
+ hex(): string;
1181
+ /** @returns {string} */
1182
+ base64(): string;
1183
+ /**
1184
+ * * @param {Uint8Array<ArrayBufferLike>} bytes
1185
+ * @returns {IdentityCreditTransferWASM}
1186
+ */
1187
+ static fromBytes(bytes: Uint8Array): IdentityCreditTransferWASM;
1188
+ /**
1189
+ * * @param {string} hex
1190
+ * @returns {IdentityCreditTransferWASM}
1191
+ */
1192
+ static fromHex(hex: string): IdentityCreditTransferWASM;
1193
+ /**
1194
+ * * @param {string} hex
1195
+ * @returns {IdentityCreditTransferWASM}
1196
+ */
1197
+ static fromBase64(hex: string): IdentityCreditTransferWASM;
1198
+ /** @returns {Uint8Array<ArrayBufferLike>} */
1199
+ getSignableBytes(): Uint8Array;
1200
+ /** @returns {StateTransitionWASM} */
1201
+ toStateTransition(): StateTransitionWASM;
1202
+ /**
1203
+ * * @param {StateTransitionWASM} st
1204
+ * @returns {IdentityCreditTransferWASM}
1205
+ */
1206
+ static fromStateTransition(st: StateTransitionWASM): IdentityCreditTransferWASM;
567
1207
  readonly __type: string;
568
1208
  get recipientId(): IdentifierWASM;
569
1209
  set recipientId(value: any);
@@ -576,20 +1216,55 @@ export class IdentityCreditTransferWASM {
576
1216
  userFeeIncrease: number;
577
1217
  }
578
1218
  export class IdentityCreditWithdrawalTransitionWASM {
579
- free(): void;
580
- constructor(js_identity_id: any, amount: bigint, core_fee_per_byte: number, js_pooling: any, output_script: CoreScriptWASM, nonce?: bigint | null, user_fee_increase?: number | null);
581
- getPurposeRequirement(): string[];
582
- getModifiedDataIds(): IdentifierWASM[];
583
- getOptionalAssetLockProof(): any;
584
- getSignableBytes(): Uint8Array;
585
- static fromHex(hex: string): IdentityCreditWithdrawalTransitionWASM;
586
- static fromBase64(base64: string): IdentityCreditWithdrawalTransitionWASM;
587
- bytes(): Uint8Array;
588
- hex(): string;
589
- base64(): string;
590
- static fromBytes(bytes: Uint8Array): IdentityCreditWithdrawalTransitionWASM;
591
- toStateTransition(): StateTransitionWASM;
592
- static fromStateTransition(st: StateTransitionWASM): IdentityCreditWithdrawalTransitionWASM;
1219
+ /** @ignore */
1220
+ free(): void;
1221
+ /**
1222
+ * * @param {any} js_identity_id
1223
+ * * @param {bigint} amount
1224
+ * * @param {number} core_fee_per_byte
1225
+ * * @param {any} js_pooling
1226
+ * * @param {CoreScriptWASM} output_script
1227
+ * * @param {bigint} nonce
1228
+ * * @param {number} user_fee_increase
1229
+ * @returns {IdentityCreditWithdrawalTransitionWASM}
1230
+ */
1231
+ constructor(js_identity_id: any, amount: bigint, core_fee_per_byte: number, js_pooling: any, output_script: CoreScriptWASM, nonce?: bigint | null, user_fee_increase?: number | null);
1232
+ /** @returns {string[]} */
1233
+ getPurposeRequirement(): string[];
1234
+ /** @returns {IdentifierWASM[]} */
1235
+ getModifiedDataIds(): IdentifierWASM[];
1236
+ /** @returns {any} */
1237
+ getOptionalAssetLockProof(): any;
1238
+ /** @returns {Uint8Array<ArrayBufferLike>} */
1239
+ getSignableBytes(): Uint8Array;
1240
+ /**
1241
+ * * @param {string} hex
1242
+ * @returns {IdentityCreditWithdrawalTransitionWASM}
1243
+ */
1244
+ static fromHex(hex: string): IdentityCreditWithdrawalTransitionWASM;
1245
+ /**
1246
+ * * @param {string} base64
1247
+ * @returns {IdentityCreditWithdrawalTransitionWASM}
1248
+ */
1249
+ static fromBase64(base64: string): IdentityCreditWithdrawalTransitionWASM;
1250
+ /** @returns {Uint8Array<ArrayBufferLike>} */
1251
+ bytes(): Uint8Array;
1252
+ /** @returns {string} */
1253
+ hex(): string;
1254
+ /** @returns {string} */
1255
+ base64(): string;
1256
+ /**
1257
+ * * @param {Uint8Array<ArrayBufferLike>} bytes
1258
+ * @returns {IdentityCreditWithdrawalTransitionWASM}
1259
+ */
1260
+ static fromBytes(bytes: Uint8Array): IdentityCreditWithdrawalTransitionWASM;
1261
+ /** @returns {StateTransitionWASM} */
1262
+ toStateTransition(): StateTransitionWASM;
1263
+ /**
1264
+ * * @param {StateTransitionWASM} st
1265
+ * @returns {IdentityCreditWithdrawalTransitionWASM}
1266
+ */
1267
+ static fromStateTransition(st: StateTransitionWASM): IdentityCreditWithdrawalTransitionWASM;
593
1268
  readonly __type: string;
594
1269
  get outputScript(): CoreScriptWASM | undefined;
595
1270
  set outputScript(value: any);
@@ -605,10 +1280,23 @@ export class IdentityCreditWithdrawalTransitionWASM {
605
1280
  signaturePublicKeyId: number;
606
1281
  }
607
1282
  export class IdentityPublicKeyInCreationWASM {
608
- free(): void;
609
- constructor(id: number, js_purpose: any, js_security_level: any, js_key_type: any, read_only: boolean, binary_data: Uint8Array, signature: Uint8Array);
610
- toIdentityPublicKey(): IdentityPublicKeyWASM;
611
- getHash(): Uint8Array;
1283
+ /** @ignore */
1284
+ free(): void;
1285
+ /**
1286
+ * * @param {number} id
1287
+ * * @param {any} js_purpose
1288
+ * * @param {any} js_security_level
1289
+ * * @param {any} js_key_type
1290
+ * * @param {boolean} read_only
1291
+ * * @param {Uint8Array<ArrayBufferLike>} binary_data
1292
+ * * @param {Uint8Array<ArrayBufferLike>} signature
1293
+ * @returns {IdentityPublicKeyInCreationWASM}
1294
+ */
1295
+ constructor(id: number, js_purpose: any, js_security_level: any, js_key_type: any, read_only: boolean, binary_data: Uint8Array, signature: Uint8Array);
1296
+ /** @returns {IdentityPublicKeyWASM} */
1297
+ toIdentityPublicKey(): IdentityPublicKeyWASM;
1298
+ /** @returns {Uint8Array<ArrayBufferLike>} */
1299
+ getHash(): Uint8Array;
612
1300
  readonly __type: string;
613
1301
  get contractBounds(): ContractBoundsWASM | undefined;
614
1302
  set contractBounds(value: any);
@@ -624,18 +1312,52 @@ export class IdentityPublicKeyInCreationWASM {
624
1312
  signature: Uint8Array;
625
1313
  }
626
1314
  export class IdentityPublicKeyWASM {
627
- free(): void;
628
- constructor(id: number, js_purpose: any, js_security_level: any, js_key_type: any, read_only: boolean, binary_data: string, disabled_at?: bigint | null);
629
- validatePrivateKey(js_private_key_bytes: Uint8Array, js_network: any): boolean;
630
- getContractBounds(): any;
631
- getPublicKeyHash(): string;
632
- isMaster(): boolean;
633
- bytes(): Uint8Array;
634
- hex(): string;
635
- base64(): string;
636
- static fromBytes(bytes: Uint8Array): IdentityPublicKeyWASM;
637
- static fromHex(hex: string): IdentityPublicKeyWASM;
638
- static fromBase64(hex: string): IdentityPublicKeyWASM;
1315
+ /** @ignore */
1316
+ free(): void;
1317
+ /**
1318
+ * * @param {number} id
1319
+ * * @param {any} js_purpose
1320
+ * * @param {any} js_security_level
1321
+ * * @param {any} js_key_type
1322
+ * * @param {boolean} read_only
1323
+ * * @param {string} binary_data
1324
+ * * @param {bigint} disabled_at
1325
+ * @returns {IdentityPublicKeyWASM}
1326
+ */
1327
+ constructor(id: number, js_purpose: any, js_security_level: any, js_key_type: any, read_only: boolean, binary_data: string, disabled_at?: bigint | null);
1328
+ /**
1329
+ * * @param {Uint8Array<ArrayBufferLike>} js_private_key_bytes
1330
+ * * @param {any} js_network
1331
+ * @returns {boolean}
1332
+ */
1333
+ validatePrivateKey(js_private_key_bytes: Uint8Array, js_network: any): boolean;
1334
+ /** @returns {any} */
1335
+ getContractBounds(): any;
1336
+ /** @returns {string} */
1337
+ getPublicKeyHash(): string;
1338
+ /** @returns {boolean} */
1339
+ isMaster(): boolean;
1340
+ /** @returns {Uint8Array<ArrayBufferLike>} */
1341
+ bytes(): Uint8Array;
1342
+ /** @returns {string} */
1343
+ hex(): string;
1344
+ /** @returns {string} */
1345
+ base64(): string;
1346
+ /**
1347
+ * * @param {Uint8Array<ArrayBufferLike>} bytes
1348
+ * @returns {IdentityPublicKeyWASM}
1349
+ */
1350
+ static fromBytes(bytes: Uint8Array): IdentityPublicKeyWASM;
1351
+ /**
1352
+ * * @param {string} hex
1353
+ * @returns {IdentityPublicKeyWASM}
1354
+ */
1355
+ static fromHex(hex: string): IdentityPublicKeyWASM;
1356
+ /**
1357
+ * * @param {string} hex
1358
+ * @returns {IdentityPublicKeyWASM}
1359
+ */
1360
+ static fromBase64(hex: string): IdentityPublicKeyWASM;
639
1361
  readonly __type: string;
640
1362
  keyId: number;
641
1363
  get purpose(): string;
@@ -656,19 +1378,49 @@ export class IdentityPublicKeyWASM {
656
1378
  set disabledAt(value: bigint);
657
1379
  }
658
1380
  export class IdentityTopUpTransitionWASM {
659
- free(): void;
660
- constructor(asset_lock_proof: AssetLockProofWASM, js_identity_id: any, user_fee_increase: number);
661
- getModifiedDataIds(): IdentifierWASM[];
662
- getOptionalAssetLockProof(): any;
663
- getSignableBytes(): Uint8Array;
664
- bytes(): Uint8Array;
665
- hex(): string;
666
- base64(): string;
667
- static fromBytes(bytes: Uint8Array): IdentityTopUpTransitionWASM;
668
- static fromHex(hex: string): IdentityTopUpTransitionWASM;
669
- static fromBase64(base64: string): IdentityTopUpTransitionWASM;
670
- toStateTransition(): StateTransitionWASM;
671
- static fromStateTransition(st: StateTransitionWASM): IdentityTopUpTransitionWASM;
1381
+ /** @ignore */
1382
+ free(): void;
1383
+ /**
1384
+ * * @param {AssetLockProofWASM} asset_lock_proof
1385
+ * * @param {any} js_identity_id
1386
+ * * @param {number} user_fee_increase
1387
+ * @returns {IdentityTopUpTransitionWASM}
1388
+ */
1389
+ constructor(asset_lock_proof: AssetLockProofWASM, js_identity_id: any, user_fee_increase: number);
1390
+ /** @returns {IdentifierWASM[]} */
1391
+ getModifiedDataIds(): IdentifierWASM[];
1392
+ /** @returns {any} */
1393
+ getOptionalAssetLockProof(): any;
1394
+ /** @returns {Uint8Array<ArrayBufferLike>} */
1395
+ getSignableBytes(): Uint8Array;
1396
+ /** @returns {Uint8Array<ArrayBufferLike>} */
1397
+ bytes(): Uint8Array;
1398
+ /** @returns {string} */
1399
+ hex(): string;
1400
+ /** @returns {string} */
1401
+ base64(): string;
1402
+ /**
1403
+ * * @param {Uint8Array<ArrayBufferLike>} bytes
1404
+ * @returns {IdentityTopUpTransitionWASM}
1405
+ */
1406
+ static fromBytes(bytes: Uint8Array): IdentityTopUpTransitionWASM;
1407
+ /**
1408
+ * * @param {string} hex
1409
+ * @returns {IdentityTopUpTransitionWASM}
1410
+ */
1411
+ static fromHex(hex: string): IdentityTopUpTransitionWASM;
1412
+ /**
1413
+ * * @param {string} base64
1414
+ * @returns {IdentityTopUpTransitionWASM}
1415
+ */
1416
+ static fromBase64(base64: string): IdentityTopUpTransitionWASM;
1417
+ /** @returns {StateTransitionWASM} */
1418
+ toStateTransition(): StateTransitionWASM;
1419
+ /**
1420
+ * * @param {StateTransitionWASM} st
1421
+ * @returns {IdentityTopUpTransitionWASM}
1422
+ */
1423
+ static fromStateTransition(st: StateTransitionWASM): IdentityTopUpTransitionWASM;
672
1424
  readonly __type: string;
673
1425
  userFeeIncrease: number;
674
1426
  get identityIdentifier(): IdentifierWASM;
@@ -677,20 +1429,54 @@ export class IdentityTopUpTransitionWASM {
677
1429
  signature: Uint8Array;
678
1430
  }
679
1431
  export class IdentityUpdateTransitionWASM {
680
- free(): void;
681
- constructor(js_identity_id: any, revision: bigint, nonce: bigint, user_fee_increase: number | null | undefined, js_add_public_keys: Array<any>, disable_public_keys: Uint32Array);
682
- getPurposeRequirement(): string[];
683
- getModifiedDataIds(): IdentifierWASM[];
684
- getOptionalAssetLockProof(): any;
685
- getSignableBytes(): Uint8Array;
686
- static fromHex(hex: string): IdentityUpdateTransitionWASM;
687
- static fromBase64(base64: string): IdentityUpdateTransitionWASM;
688
- bytes(): Uint8Array;
689
- hex(): string;
690
- base64(): string;
691
- static fromBytes(bytes: Uint8Array): IdentityUpdateTransitionWASM;
692
- toStateTransition(): StateTransitionWASM;
693
- static fromStateTransition(st: StateTransitionWASM): IdentityUpdateTransitionWASM;
1432
+ /** @ignore */
1433
+ free(): void;
1434
+ /**
1435
+ * * @param {any} js_identity_id
1436
+ * * @param {bigint} revision
1437
+ * * @param {bigint} nonce
1438
+ * * @param {number} user_fee_increase
1439
+ * * @param {any[]} js_add_public_keys
1440
+ * * @param {Uint32Array<ArrayBufferLike>} disable_public_keys
1441
+ * @returns {IdentityUpdateTransitionWASM}
1442
+ */
1443
+ constructor(js_identity_id: any, revision: bigint, nonce: bigint, user_fee_increase: number | null | undefined, js_add_public_keys: Array<any>, disable_public_keys: Uint32Array);
1444
+ /** @returns {string[]} */
1445
+ getPurposeRequirement(): string[];
1446
+ /** @returns {IdentifierWASM[]} */
1447
+ getModifiedDataIds(): IdentifierWASM[];
1448
+ /** @returns {any} */
1449
+ getOptionalAssetLockProof(): any;
1450
+ /** @returns {Uint8Array<ArrayBufferLike>} */
1451
+ getSignableBytes(): Uint8Array;
1452
+ /**
1453
+ * * @param {string} hex
1454
+ * @returns {IdentityUpdateTransitionWASM}
1455
+ */
1456
+ static fromHex(hex: string): IdentityUpdateTransitionWASM;
1457
+ /**
1458
+ * * @param {string} base64
1459
+ * @returns {IdentityUpdateTransitionWASM}
1460
+ */
1461
+ static fromBase64(base64: string): IdentityUpdateTransitionWASM;
1462
+ /** @returns {Uint8Array<ArrayBufferLike>} */
1463
+ bytes(): Uint8Array;
1464
+ /** @returns {string} */
1465
+ hex(): string;
1466
+ /** @returns {string} */
1467
+ base64(): string;
1468
+ /**
1469
+ * * @param {Uint8Array<ArrayBufferLike>} bytes
1470
+ * @returns {IdentityUpdateTransitionWASM}
1471
+ */
1472
+ static fromBytes(bytes: Uint8Array): IdentityUpdateTransitionWASM;
1473
+ /** @returns {StateTransitionWASM} */
1474
+ toStateTransition(): StateTransitionWASM;
1475
+ /**
1476
+ * * @param {StateTransitionWASM} st
1477
+ * @returns {IdentityUpdateTransitionWASM}
1478
+ */
1479
+ static fromStateTransition(st: StateTransitionWASM): IdentityUpdateTransitionWASM;
694
1480
  readonly __type: string;
695
1481
  revision: bigint;
696
1482
  nonce: bigint;
@@ -704,41 +1490,98 @@ export class IdentityUpdateTransitionWASM {
704
1490
  signaturePublicKeyId: number;
705
1491
  }
706
1492
  export class IdentityWASM {
707
- free(): void;
708
- constructor(js_identifier: any);
709
- setId(js_identifier: any): void;
710
- setBalance(balance: bigint): void;
711
- setRevision(revision: bigint): void;
712
- addPublicKey(public_key: IdentityPublicKeyWASM): void;
713
- getId(): IdentifierWASM;
714
- getBalance(): bigint;
715
- getRevision(): bigint;
716
- getPublicKeyById(key_id: number): IdentityPublicKeyWASM;
717
- getPublicKeys(): IdentityPublicKeyWASM[];
718
- static fromHex(hex: string): IdentityWASM;
719
- static fromBase64(base64: string): IdentityWASM;
720
- bytes(): Uint8Array;
721
- hex(): string;
722
- base64(): string;
723
- static fromBytes(bytes: Uint8Array): IdentityWASM;
1493
+ /** @ignore */
1494
+ free(): void;
1495
+ /**
1496
+ * * @param {any} js_identifier
1497
+ * @returns {IdentityWASM}
1498
+ */
1499
+ constructor(js_identifier: any);
1500
+ /** * @param {any} js_identifier */
1501
+ setId(js_identifier: any): void;
1502
+ /** * @param {bigint} balance */
1503
+ setBalance(balance: bigint): void;
1504
+ /** * @param {bigint} revision */
1505
+ setRevision(revision: bigint): void;
1506
+ /** * @param {IdentityPublicKeyWASM} public_key */
1507
+ addPublicKey(public_key: IdentityPublicKeyWASM): void;
1508
+ /** @returns {IdentifierWASM} */
1509
+ getId(): IdentifierWASM;
1510
+ /** @returns {bigint} */
1511
+ getBalance(): bigint;
1512
+ /** @returns {bigint} */
1513
+ getRevision(): bigint;
1514
+ /**
1515
+ * * @param {number} key_id
1516
+ * @returns {IdentityPublicKeyWASM}
1517
+ */
1518
+ getPublicKeyById(key_id: number): IdentityPublicKeyWASM;
1519
+ /** @returns {IdentityPublicKeyWASM[]} */
1520
+ getPublicKeys(): IdentityPublicKeyWASM[];
1521
+ /**
1522
+ * * @param {string} hex
1523
+ * @returns {IdentityWASM}
1524
+ */
1525
+ static fromHex(hex: string): IdentityWASM;
1526
+ /**
1527
+ * * @param {string} base64
1528
+ * @returns {IdentityWASM}
1529
+ */
1530
+ static fromBase64(base64: string): IdentityWASM;
1531
+ /** @returns {Uint8Array<ArrayBufferLike>} */
1532
+ bytes(): Uint8Array;
1533
+ /** @returns {string} */
1534
+ hex(): string;
1535
+ /** @returns {string} */
1536
+ base64(): string;
1537
+ /**
1538
+ * * @param {Uint8Array<ArrayBufferLike>} bytes
1539
+ * @returns {IdentityWASM}
1540
+ */
1541
+ static fromBytes(bytes: Uint8Array): IdentityWASM;
724
1542
  readonly __type: string;
725
1543
  }
726
1544
  export class InstantAssetLockProofWASM {
727
- free(): void;
728
- constructor(instant_lock: Uint8Array, transaction: Uint8Array, output_index: number);
729
- static fromObject(value: any): InstantAssetLockProofWASM;
730
- toObject(): any;
731
- getOutput(): TxOutWASM | undefined;
732
- getOutPoint(): OutPointWASM | undefined;
733
- getTransaction(): Uint8Array;
734
- getInstantLockBytes(): Uint8Array;
1545
+ /** @ignore */
1546
+ free(): void;
1547
+ /**
1548
+ * * @param {Uint8Array<ArrayBufferLike>} instant_lock
1549
+ * * @param {Uint8Array<ArrayBufferLike>} transaction
1550
+ * * @param {number} output_index
1551
+ * @returns {InstantAssetLockProofWASM}
1552
+ */
1553
+ constructor(instant_lock: Uint8Array, transaction: Uint8Array, output_index: number);
1554
+ /**
1555
+ * * @param {any} value
1556
+ * @returns {InstantAssetLockProofWASM}
1557
+ */
1558
+ static fromObject(value: any): InstantAssetLockProofWASM;
1559
+ /** @returns {any} */
1560
+ toObject(): any;
1561
+ /** @returns {TxOutWASM} */
1562
+ getOutput(): TxOutWASM | undefined;
1563
+ /** @returns {OutPointWASM} */
1564
+ getOutPoint(): OutPointWASM | undefined;
1565
+ /** @returns {Uint8Array<ArrayBufferLike>} */
1566
+ getTransaction(): Uint8Array;
1567
+ /** @returns {Uint8Array<ArrayBufferLike>} */
1568
+ getInstantLockBytes(): Uint8Array;
735
1569
  readonly __type: string;
736
1570
  outputIndex: number;
737
1571
  instantLock: InstantLockWASM;
738
1572
  }
739
1573
  export class InstantLockWASM {
740
- free(): void;
741
- constructor(version: number, js_inputs: Array<any>, txid: string, cycle_hash: string, bls_signature: string);
1574
+ /** @ignore */
1575
+ free(): void;
1576
+ /**
1577
+ * * @param {number} version
1578
+ * * @param {any[]} js_inputs
1579
+ * * @param {string} txid
1580
+ * * @param {string} cycle_hash
1581
+ * * @param {string} bls_signature
1582
+ * @returns {InstantLockWASM}
1583
+ */
1584
+ constructor(version: number, js_inputs: Array<any>, txid: string, cycle_hash: string, bls_signature: string);
742
1585
  readonly __type: string;
743
1586
  version: number;
744
1587
  get inputs(): OutPointWASM[];
@@ -748,15 +1591,44 @@ export class InstantLockWASM {
748
1591
  blsSignature: string;
749
1592
  }
750
1593
  export class MasternodeVoteTransitionWASM {
751
- free(): void;
752
- constructor(js_pro_tx_hash: any, js_voter_identity_id: any, vote: VoteWASM, nonce: bigint, signature_public_key?: number | null, signature?: Uint8Array | null);
753
- static fromHex(hex: string): MasternodeVoteTransitionWASM;
754
- static fromBase64(base64: string): MasternodeVoteTransitionWASM;
755
- bytes(): Uint8Array;
756
- static fromBytes(bytes: Uint8Array): MasternodeVoteTransitionWASM;
757
- getSignableBytes(): Uint8Array;
758
- toStateTransition(): StateTransitionWASM;
759
- static fromStateTransition(st: StateTransitionWASM): MasternodeVoteTransitionWASM;
1594
+ /** @ignore */
1595
+ free(): void;
1596
+ /**
1597
+ * * @param {any} js_pro_tx_hash
1598
+ * * @param {any} js_voter_identity_id
1599
+ * * @param {VoteWASM} vote
1600
+ * * @param {bigint} nonce
1601
+ * * @param {number} signature_public_key
1602
+ * * @param {Uint8Array<ArrayBufferLike>} signature
1603
+ * @returns {MasternodeVoteTransitionWASM}
1604
+ */
1605
+ constructor(js_pro_tx_hash: any, js_voter_identity_id: any, vote: VoteWASM, nonce: bigint, signature_public_key?: number | null, signature?: Uint8Array | null);
1606
+ /**
1607
+ * * @param {string} hex
1608
+ * @returns {MasternodeVoteTransitionWASM}
1609
+ */
1610
+ static fromHex(hex: string): MasternodeVoteTransitionWASM;
1611
+ /**
1612
+ * * @param {string} base64
1613
+ * @returns {MasternodeVoteTransitionWASM}
1614
+ */
1615
+ static fromBase64(base64: string): MasternodeVoteTransitionWASM;
1616
+ /** @returns {Uint8Array<ArrayBufferLike>} */
1617
+ bytes(): Uint8Array;
1618
+ /**
1619
+ * * @param {Uint8Array<ArrayBufferLike>} bytes
1620
+ * @returns {MasternodeVoteTransitionWASM}
1621
+ */
1622
+ static fromBytes(bytes: Uint8Array): MasternodeVoteTransitionWASM;
1623
+ /** @returns {Uint8Array<ArrayBufferLike>} */
1624
+ getSignableBytes(): Uint8Array;
1625
+ /** @returns {StateTransitionWASM} */
1626
+ toStateTransition(): StateTransitionWASM;
1627
+ /**
1628
+ * * @param {StateTransitionWASM} st
1629
+ * @returns {MasternodeVoteTransitionWASM}
1630
+ */
1631
+ static fromStateTransition(st: StateTransitionWASM): MasternodeVoteTransitionWASM;
760
1632
  readonly __type: string;
761
1633
  get proTxHash(): IdentifierWASM;
762
1634
  set proTxHash(value: any);
@@ -771,88 +1643,214 @@ export class MasternodeVoteTransitionWASM {
771
1643
  readonly modifiedDataIds: IdentifierWASM[];
772
1644
  }
773
1645
  export class OutPointWASM {
774
- free(): void;
775
- constructor(txid_hex: string, vout: number);
776
- getVOUT(): number;
777
- getTXID(): string;
778
- bytes(): Uint8Array;
779
- hex(): string;
780
- base64(): string;
781
- static fromBytes(js_buffer: Uint8Array): OutPointWASM;
782
- static fromHex(hex: string): OutPointWASM;
783
- static fromBase64(base64: string): OutPointWASM;
1646
+ /** @ignore */
1647
+ free(): void;
1648
+ /**
1649
+ * * @param {string} txid_hex
1650
+ * * @param {number} vout
1651
+ * @returns {OutPointWASM}
1652
+ */
1653
+ constructor(txid_hex: string, vout: number);
1654
+ /** @returns {number} */
1655
+ getVOUT(): number;
1656
+ /** @returns {string} */
1657
+ getTXID(): string;
1658
+ /** @returns {Uint8Array<ArrayBufferLike>} */
1659
+ bytes(): Uint8Array;
1660
+ /** @returns {string} */
1661
+ hex(): string;
1662
+ /** @returns {string} */
1663
+ base64(): string;
1664
+ /**
1665
+ * * @param {Uint8Array<ArrayBufferLike>} js_buffer
1666
+ * @returns {OutPointWASM}
1667
+ */
1668
+ static fromBytes(js_buffer: Uint8Array): OutPointWASM;
1669
+ /**
1670
+ * * @param {string} hex
1671
+ * @returns {OutPointWASM}
1672
+ */
1673
+ static fromHex(hex: string): OutPointWASM;
1674
+ /**
1675
+ * * @param {string} base64
1676
+ * @returns {OutPointWASM}
1677
+ */
1678
+ static fromBase64(base64: string): OutPointWASM;
784
1679
  readonly __type: string;
785
1680
  }
786
1681
  export class PrefundedVotingBalanceWASM {
787
- free(): void;
788
- constructor(index_name: string, credits: bigint);
1682
+ /** @ignore */
1683
+ free(): void;
1684
+ /**
1685
+ * * @param {string} index_name
1686
+ * * @param {bigint} credits
1687
+ * @returns {PrefundedVotingBalanceWASM}
1688
+ */
1689
+ constructor(index_name: string, credits: bigint);
789
1690
  readonly __type: string;
790
1691
  readonly indexName: string;
791
1692
  readonly credits: bigint;
792
1693
  }
793
1694
  export class PrivateEncryptedNoteWASM {
794
- free(): void;
795
- constructor(root_encryption_key_index: number, derivation_encryption_key_index: number, value: Uint8Array);
1695
+ /** @ignore */
1696
+ free(): void;
1697
+ /**
1698
+ * * @param {number} root_encryption_key_index
1699
+ * * @param {number} derivation_encryption_key_index
1700
+ * * @param {Uint8Array<ArrayBufferLike>} value
1701
+ * @returns {PrivateEncryptedNoteWASM}
1702
+ */
1703
+ constructor(root_encryption_key_index: number, derivation_encryption_key_index: number, value: Uint8Array);
796
1704
  readonly __type: string;
797
1705
  rootEncryptionKeyIndex: number;
798
1706
  derivationEncryptionKeyIndex: number;
799
1707
  value: Uint8Array;
800
1708
  }
801
1709
  export class PrivateKeyWASM {
802
- private constructor();
803
- free(): void;
804
- static fromWIF(wif: string): PrivateKeyWASM;
805
- static fromBytes(bytes: Uint8Array, js_network: any): PrivateKeyWASM;
806
- static fromHex(hex_key: string, js_network: any): PrivateKeyWASM;
807
- WIF(): string;
808
- bytes(): Uint8Array;
809
- hex(): string;
810
- getPublicKeyHash(): string;
1710
+ /** @returns {PrivateKeyWASM} */
1711
+ private constructor();
1712
+ /** @ignore */
1713
+ free(): void;
1714
+ /**
1715
+ * * @param {string} wif
1716
+ * @returns {PrivateKeyWASM}
1717
+ */
1718
+ static fromWIF(wif: string): PrivateKeyWASM;
1719
+ /**
1720
+ * * @param {Uint8Array<ArrayBufferLike>} bytes
1721
+ * * @param {any} js_network
1722
+ * @returns {PrivateKeyWASM}
1723
+ */
1724
+ static fromBytes(bytes: Uint8Array, js_network: any): PrivateKeyWASM;
1725
+ /**
1726
+ * * @param {string} hex_key
1727
+ * * @param {any} js_network
1728
+ * @returns {PrivateKeyWASM}
1729
+ */
1730
+ static fromHex(hex_key: string, js_network: any): PrivateKeyWASM;
1731
+ /** @returns {string} */
1732
+ WIF(): string;
1733
+ /** @returns {Uint8Array<ArrayBufferLike>} */
1734
+ bytes(): Uint8Array;
1735
+ /** @returns {string} */
1736
+ hex(): string;
1737
+ /** @returns {string} */
1738
+ getPublicKeyHash(): string;
811
1739
  readonly __type: string;
812
1740
  }
813
1741
  export class ResourceVoteChoiceWASM {
814
- private constructor();
815
- free(): void;
816
- static TowardsIdentity(js_id: any): ResourceVoteChoiceWASM;
817
- static Abstain(): ResourceVoteChoiceWASM;
818
- static Lock(): ResourceVoteChoiceWASM;
819
- getValue(): any;
820
- getType(): string;
1742
+ /** @returns {ResourceVoteChoiceWASM} */
1743
+ private constructor();
1744
+ /** @ignore */
1745
+ free(): void;
1746
+ /**
1747
+ * * @param {any} js_id
1748
+ * @returns {ResourceVoteChoiceWASM}
1749
+ */
1750
+ static TowardsIdentity(js_id: any): ResourceVoteChoiceWASM;
1751
+ /** @returns {ResourceVoteChoiceWASM} */
1752
+ static Abstain(): ResourceVoteChoiceWASM;
1753
+ /** @returns {ResourceVoteChoiceWASM} */
1754
+ static Lock(): ResourceVoteChoiceWASM;
1755
+ /** @returns {any} */
1756
+ getValue(): any;
1757
+ /** @returns {string} */
1758
+ getType(): string;
821
1759
  readonly __type: string;
822
1760
  }
823
1761
  export class RewardDistributionTypeWASM {
824
- private constructor();
825
- free(): void;
826
- static BlockBasedDistribution(interval: bigint, _function: DistributionFunctionWASM): RewardDistributionTypeWASM;
827
- static TimeBasedDistribution(interval: bigint, _function: DistributionFunctionWASM): RewardDistributionTypeWASM;
828
- static EpochBasedDistribution(interval: number, _function: DistributionFunctionWASM): RewardDistributionTypeWASM;
829
- getDistribution(): any;
1762
+ /** @returns {RewardDistributionTypeWASM} */
1763
+ private constructor();
1764
+ /** @ignore */
1765
+ free(): void;
1766
+ /**
1767
+ * * @param {bigint} interval
1768
+ * * @param {DistributionFunctionWASM} _function
1769
+ * @returns {RewardDistributionTypeWASM}
1770
+ */
1771
+ static BlockBasedDistribution(interval: bigint, _function: DistributionFunctionWASM): RewardDistributionTypeWASM;
1772
+ /**
1773
+ * * @param {bigint} interval
1774
+ * * @param {DistributionFunctionWASM} _function
1775
+ * @returns {RewardDistributionTypeWASM}
1776
+ */
1777
+ static TimeBasedDistribution(interval: bigint, _function: DistributionFunctionWASM): RewardDistributionTypeWASM;
1778
+ /**
1779
+ * * @param {number} interval
1780
+ * * @param {DistributionFunctionWASM} _function
1781
+ * @returns {RewardDistributionTypeWASM}
1782
+ */
1783
+ static EpochBasedDistribution(interval: number, _function: DistributionFunctionWASM): RewardDistributionTypeWASM;
1784
+ /** @returns {any} */
1785
+ getDistribution(): any;
830
1786
  readonly __type: string;
831
1787
  }
832
1788
  export class SharedEncryptedNoteWASM {
833
- free(): void;
834
- constructor(sender_key_index: number, recipient_key_index: number, value: Uint8Array);
1789
+ /** @ignore */
1790
+ free(): void;
1791
+ /**
1792
+ * * @param {number} sender_key_index
1793
+ * * @param {number} recipient_key_index
1794
+ * * @param {Uint8Array<ArrayBufferLike>} value
1795
+ * @returns {SharedEncryptedNoteWASM}
1796
+ */
1797
+ constructor(sender_key_index: number, recipient_key_index: number, value: Uint8Array);
835
1798
  readonly __type: string;
836
1799
  senderKeyIndex: number;
837
1800
  recipientKeyIndex: number;
838
1801
  value: Uint8Array;
839
1802
  }
840
1803
  export class StateTransitionWASM {
841
- private constructor();
842
- free(): void;
843
- sign(private_key: PrivateKeyWASM, public_key: IdentityPublicKeyWASM): Uint8Array;
844
- signByPrivateKey(private_key: PrivateKeyWASM, js_key_type: any): Uint8Array;
845
- bytes(): any;
846
- hex(): any;
847
- base64(): any;
848
- static fromBytes(bytes: Uint8Array): StateTransitionWASM;
849
- static fromHex(hex: string): StateTransitionWASM;
850
- static fromBase64(base64: string): StateTransitionWASM;
851
- hash(skip_signature: boolean): string;
852
- getActionType(): string;
853
- getActionTypeNumber(): number;
854
- getOwnerId(): IdentifierWASM;
855
- getPurposeRequirement(): string[] | undefined;
1804
+ /** @returns {StateTransitionWASM} */
1805
+ private constructor();
1806
+ /** @ignore */
1807
+ free(): void;
1808
+ /**
1809
+ * * @param {PrivateKeyWASM} private_key
1810
+ * * @param {IdentityPublicKeyWASM} public_key
1811
+ * @returns {Uint8Array<ArrayBufferLike>}
1812
+ */
1813
+ sign(private_key: PrivateKeyWASM, public_key: IdentityPublicKeyWASM): Uint8Array;
1814
+ /**
1815
+ * * @param {PrivateKeyWASM} private_key
1816
+ * * @param {any} js_key_type
1817
+ * @returns {Uint8Array<ArrayBufferLike>}
1818
+ */
1819
+ signByPrivateKey(private_key: PrivateKeyWASM, js_key_type: any): Uint8Array;
1820
+ /** @returns {any} */
1821
+ bytes(): any;
1822
+ /** @returns {any} */
1823
+ hex(): any;
1824
+ /** @returns {any} */
1825
+ base64(): any;
1826
+ /**
1827
+ * * @param {Uint8Array<ArrayBufferLike>} bytes
1828
+ * @returns {StateTransitionWASM}
1829
+ */
1830
+ static fromBytes(bytes: Uint8Array): StateTransitionWASM;
1831
+ /**
1832
+ * * @param {string} hex
1833
+ * @returns {StateTransitionWASM}
1834
+ */
1835
+ static fromHex(hex: string): StateTransitionWASM;
1836
+ /**
1837
+ * * @param {string} base64
1838
+ * @returns {StateTransitionWASM}
1839
+ */
1840
+ static fromBase64(base64: string): StateTransitionWASM;
1841
+ /**
1842
+ * * @param {boolean} skip_signature
1843
+ * @returns {string}
1844
+ */
1845
+ hash(skip_signature: boolean): string;
1846
+ /** @returns {string} */
1847
+ getActionType(): string;
1848
+ /** @returns {number} */
1849
+ getActionTypeNumber(): number;
1850
+ /** @returns {IdentifierWASM} */
1851
+ getOwnerId(): IdentifierWASM;
1852
+ /** @returns {string[]} */
1853
+ getPurposeRequirement(): string[] | undefined;
856
1854
  readonly __type: string;
857
1855
  signature: Uint8Array;
858
1856
  get signaturePublicKeyId(): number | undefined;
@@ -860,14 +1858,25 @@ export class StateTransitionWASM {
860
1858
  userFeeIncrease: number;
861
1859
  }
862
1860
  export class TimeBasedDistributionWASM {
863
- private constructor();
864
- free(): void;
1861
+ /** @returns {TimeBasedDistributionWASM} */
1862
+ private constructor();
1863
+ /** @ignore */
1864
+ free(): void;
865
1865
  interval: bigint;
866
1866
  function: DistributionFunctionWASM;
867
1867
  }
868
1868
  export class TokenBaseTransitionWASM {
869
- free(): void;
870
- constructor(identity_contract_nonce: bigint, token_contract_position: number, js_data_contract_id: any, js_token_id: any, js_using_group_info: any);
1869
+ /** @ignore */
1870
+ free(): void;
1871
+ /**
1872
+ * * @param {bigint} identity_contract_nonce
1873
+ * * @param {number} token_contract_position
1874
+ * * @param {any} js_data_contract_id
1875
+ * * @param {any} js_token_id
1876
+ * * @param {any} js_using_group_info
1877
+ * @returns {TokenBaseTransitionWASM}
1878
+ */
1879
+ constructor(identity_contract_nonce: bigint, token_contract_position: number, js_data_contract_id: any, js_token_id: any, js_using_group_info: any);
871
1880
  readonly __type: string;
872
1881
  identityContractNonce: bigint;
873
1882
  tokenContractPosition: number;
@@ -879,8 +1888,15 @@ export class TokenBaseTransitionWASM {
879
1888
  set usingGroupInfo(value: any);
880
1889
  }
881
1890
  export class TokenBurnTransitionWASM {
882
- free(): void;
883
- constructor(base: TokenBaseTransitionWASM, burn_amount: bigint, public_note?: string | null);
1891
+ /** @ignore */
1892
+ free(): void;
1893
+ /**
1894
+ * * @param {TokenBaseTransitionWASM} base
1895
+ * * @param {bigint} burn_amount
1896
+ * * @param {string} public_note
1897
+ * @returns {TokenBurnTransitionWASM}
1898
+ */
1899
+ constructor(base: TokenBaseTransitionWASM, burn_amount: bigint, public_note?: string | null);
884
1900
  readonly __type: string;
885
1901
  burnAmount: bigint;
886
1902
  base: TokenBaseTransitionWASM;
@@ -888,8 +1904,15 @@ export class TokenBurnTransitionWASM {
888
1904
  set publicNote(value: string | null | undefined);
889
1905
  }
890
1906
  export class TokenClaimTransitionWASM {
891
- free(): void;
892
- constructor(base: TokenBaseTransitionWASM, js_distribution_type: any, public_note?: string | null);
1907
+ /** @ignore */
1908
+ free(): void;
1909
+ /**
1910
+ * * @param {TokenBaseTransitionWASM} base
1911
+ * * @param {any} js_distribution_type
1912
+ * * @param {string} public_note
1913
+ * @returns {TokenClaimTransitionWASM}
1914
+ */
1915
+ constructor(base: TokenBaseTransitionWASM, js_distribution_type: any, public_note?: string | null);
893
1916
  readonly __type: string;
894
1917
  base: TokenBaseTransitionWASM;
895
1918
  get publicNote(): string | undefined;
@@ -898,8 +1921,15 @@ export class TokenClaimTransitionWASM {
898
1921
  set distributionType(value: any);
899
1922
  }
900
1923
  export class TokenConfigUpdateTransitionWASM {
901
- free(): void;
902
- constructor(base: TokenBaseTransitionWASM, update_token_configuration_item: TokenConfigurationChangeItemWASM, public_note?: string | null);
1924
+ /** @ignore */
1925
+ free(): void;
1926
+ /**
1927
+ * * @param {TokenBaseTransitionWASM} base
1928
+ * * @param {TokenConfigurationChangeItemWASM} update_token_configuration_item
1929
+ * * @param {string} public_note
1930
+ * @returns {TokenConfigUpdateTransitionWASM}
1931
+ */
1932
+ constructor(base: TokenBaseTransitionWASM, update_token_configuration_item: TokenConfigurationChangeItemWASM, public_note?: string | null);
903
1933
  readonly __type: string;
904
1934
  base: TokenBaseTransitionWASM;
905
1935
  get publicNote(): string | undefined;
@@ -907,63 +1937,229 @@ export class TokenConfigUpdateTransitionWASM {
907
1937
  updateTokenConfigurationItem: TokenConfigurationChangeItemWASM;
908
1938
  }
909
1939
  export class TokenConfigurationChangeItemWASM {
910
- private constructor();
911
- free(): void;
912
- static conventionsItem(convention: TokenConfigurationConventionWASM): TokenConfigurationChangeItemWASM;
913
- static ConventionsAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
914
- static ConventionsControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
915
- static DestroyFrozenFundsItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
916
- static DestroyFrozenFundsAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
917
- static EmergencyActionItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
918
- static EmergencyActionAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
919
- static FreezeItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
920
- static FreezeAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
921
- static MainControlGroupItem(group_contract_position?: number | null): TokenConfigurationChangeItemWASM;
922
- static ManualBurningItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
923
- static ManualBurningAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
924
- static ManualMintingItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
925
- static ManualMintingAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
926
- static MarketplaceTradeModeItem(trade_mode: TokenTradeModeWASM): TokenConfigurationChangeItemWASM;
927
- static MarketplaceTradeModeControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
928
- static MarketplaceTradeModeAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
929
- static MaxSupplyItem(supply?: bigint | null): TokenConfigurationChangeItemWASM;
930
- static MaxSupplyControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
931
- static MaxSupplyAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
932
- static MintingAllowChoosingDestinationItem(flag: boolean): TokenConfigurationChangeItemWASM;
933
- static MintingAllowChoosingDestinationControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
934
- static MintingAllowChoosingDestinationAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
935
- static NewTokensDestinationIdentityItem(js_identity_id: any): TokenConfigurationChangeItemWASM;
936
- static NewTokensDestinationIdentityControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
937
- static NewTokensDestinationIdentityAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
938
- static noChangeItem(): TokenConfigurationChangeItemWASM;
939
- static PerpetualDistributionConfigurationItem(js_perpetual_distribution_value: any): TokenConfigurationChangeItemWASM;
940
- static PerpetualDistributionControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
941
- static PerpetualDistributionAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
942
- static UnfreezeItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
943
- static UnfreezeAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
944
- getItemName(): string;
945
- getItem(): any;
1940
+ /** @returns {TokenConfigurationChangeItemWASM} */
1941
+ private constructor();
1942
+ /** @ignore */
1943
+ free(): void;
1944
+ /**
1945
+ * * @param {TokenConfigurationConventionWASM} convention
1946
+ * @returns {TokenConfigurationChangeItemWASM}
1947
+ */
1948
+ static conventionsItem(convention: TokenConfigurationConventionWASM): TokenConfigurationChangeItemWASM;
1949
+ /**
1950
+ * * @param {AuthorizedActionTakersWASM} action_taker
1951
+ * @returns {TokenConfigurationChangeItemWASM}
1952
+ */
1953
+ static ConventionsAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
1954
+ /**
1955
+ * * @param {AuthorizedActionTakersWASM} action_taker
1956
+ * @returns {TokenConfigurationChangeItemWASM}
1957
+ */
1958
+ static ConventionsControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
1959
+ /**
1960
+ * * @param {AuthorizedActionTakersWASM} action_taker
1961
+ * @returns {TokenConfigurationChangeItemWASM}
1962
+ */
1963
+ static DestroyFrozenFundsItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
1964
+ /**
1965
+ * * @param {AuthorizedActionTakersWASM} action_taker
1966
+ * @returns {TokenConfigurationChangeItemWASM}
1967
+ */
1968
+ static DestroyFrozenFundsAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
1969
+ /**
1970
+ * * @param {AuthorizedActionTakersWASM} action_taker
1971
+ * @returns {TokenConfigurationChangeItemWASM}
1972
+ */
1973
+ static EmergencyActionItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
1974
+ /**
1975
+ * * @param {AuthorizedActionTakersWASM} action_taker
1976
+ * @returns {TokenConfigurationChangeItemWASM}
1977
+ */
1978
+ static EmergencyActionAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
1979
+ /**
1980
+ * * @param {AuthorizedActionTakersWASM} action_taker
1981
+ * @returns {TokenConfigurationChangeItemWASM}
1982
+ */
1983
+ static FreezeItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
1984
+ /**
1985
+ * * @param {AuthorizedActionTakersWASM} action_taker
1986
+ * @returns {TokenConfigurationChangeItemWASM}
1987
+ */
1988
+ static FreezeAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
1989
+ /**
1990
+ * * @param {number} group_contract_position
1991
+ * @returns {TokenConfigurationChangeItemWASM}
1992
+ */
1993
+ static MainControlGroupItem(group_contract_position?: number | null): TokenConfigurationChangeItemWASM;
1994
+ /**
1995
+ * * @param {AuthorizedActionTakersWASM} action_taker
1996
+ * @returns {TokenConfigurationChangeItemWASM}
1997
+ */
1998
+ static ManualBurningItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
1999
+ /**
2000
+ * * @param {AuthorizedActionTakersWASM} action_taker
2001
+ * @returns {TokenConfigurationChangeItemWASM}
2002
+ */
2003
+ static ManualBurningAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
2004
+ /**
2005
+ * * @param {AuthorizedActionTakersWASM} action_taker
2006
+ * @returns {TokenConfigurationChangeItemWASM}
2007
+ */
2008
+ static ManualMintingItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
2009
+ /**
2010
+ * * @param {AuthorizedActionTakersWASM} action_taker
2011
+ * @returns {TokenConfigurationChangeItemWASM}
2012
+ */
2013
+ static ManualMintingAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
2014
+ /**
2015
+ * * @param {TokenTradeModeWASM} trade_mode
2016
+ * @returns {TokenConfigurationChangeItemWASM}
2017
+ */
2018
+ static MarketplaceTradeModeItem(trade_mode: TokenTradeModeWASM): TokenConfigurationChangeItemWASM;
2019
+ /**
2020
+ * * @param {AuthorizedActionTakersWASM} action_taker
2021
+ * @returns {TokenConfigurationChangeItemWASM}
2022
+ */
2023
+ static MarketplaceTradeModeControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
2024
+ /**
2025
+ * * @param {AuthorizedActionTakersWASM} action_taker
2026
+ * @returns {TokenConfigurationChangeItemWASM}
2027
+ */
2028
+ static MarketplaceTradeModeAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
2029
+ /**
2030
+ * * @param {bigint} supply
2031
+ * @returns {TokenConfigurationChangeItemWASM}
2032
+ */
2033
+ static MaxSupplyItem(supply?: bigint | null): TokenConfigurationChangeItemWASM;
2034
+ /**
2035
+ * * @param {AuthorizedActionTakersWASM} action_taker
2036
+ * @returns {TokenConfigurationChangeItemWASM}
2037
+ */
2038
+ static MaxSupplyControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
2039
+ /**
2040
+ * * @param {AuthorizedActionTakersWASM} action_taker
2041
+ * @returns {TokenConfigurationChangeItemWASM}
2042
+ */
2043
+ static MaxSupplyAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
2044
+ /**
2045
+ * * @param {boolean} flag
2046
+ * @returns {TokenConfigurationChangeItemWASM}
2047
+ */
2048
+ static MintingAllowChoosingDestinationItem(flag: boolean): TokenConfigurationChangeItemWASM;
2049
+ /**
2050
+ * * @param {AuthorizedActionTakersWASM} action_taker
2051
+ * @returns {TokenConfigurationChangeItemWASM}
2052
+ */
2053
+ static MintingAllowChoosingDestinationControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
2054
+ /**
2055
+ * * @param {AuthorizedActionTakersWASM} action_taker
2056
+ * @returns {TokenConfigurationChangeItemWASM}
2057
+ */
2058
+ static MintingAllowChoosingDestinationAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
2059
+ /**
2060
+ * * @param {any} js_identity_id
2061
+ * @returns {TokenConfigurationChangeItemWASM}
2062
+ */
2063
+ static NewTokensDestinationIdentityItem(js_identity_id: any): TokenConfigurationChangeItemWASM;
2064
+ /**
2065
+ * * @param {AuthorizedActionTakersWASM} action_taker
2066
+ * @returns {TokenConfigurationChangeItemWASM}
2067
+ */
2068
+ static NewTokensDestinationIdentityControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
2069
+ /**
2070
+ * * @param {AuthorizedActionTakersWASM} action_taker
2071
+ * @returns {TokenConfigurationChangeItemWASM}
2072
+ */
2073
+ static NewTokensDestinationIdentityAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
2074
+ /** @returns {TokenConfigurationChangeItemWASM} */
2075
+ static noChangeItem(): TokenConfigurationChangeItemWASM;
2076
+ /**
2077
+ * * @param {any} js_perpetual_distribution_value
2078
+ * @returns {TokenConfigurationChangeItemWASM}
2079
+ */
2080
+ static PerpetualDistributionConfigurationItem(js_perpetual_distribution_value: any): TokenConfigurationChangeItemWASM;
2081
+ /**
2082
+ * * @param {AuthorizedActionTakersWASM} action_taker
2083
+ * @returns {TokenConfigurationChangeItemWASM}
2084
+ */
2085
+ static PerpetualDistributionControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
2086
+ /**
2087
+ * * @param {AuthorizedActionTakersWASM} action_taker
2088
+ * @returns {TokenConfigurationChangeItemWASM}
2089
+ */
2090
+ static PerpetualDistributionAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
2091
+ /**
2092
+ * * @param {AuthorizedActionTakersWASM} action_taker
2093
+ * @returns {TokenConfigurationChangeItemWASM}
2094
+ */
2095
+ static UnfreezeItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
2096
+ /**
2097
+ * * @param {AuthorizedActionTakersWASM} action_taker
2098
+ * @returns {TokenConfigurationChangeItemWASM}
2099
+ */
2100
+ static UnfreezeAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
2101
+ /** @returns {string} */
2102
+ getItemName(): string;
2103
+ /** @returns {any} */
2104
+ getItem(): any;
946
2105
  readonly __type: string;
947
2106
  }
948
2107
  export class TokenConfigurationConventionWASM {
949
- free(): void;
950
- constructor(js_localizations: any, decimals: number);
2108
+ /** @ignore */
2109
+ free(): void;
2110
+ /**
2111
+ * * @param {any} js_localizations
2112
+ * * @param {number} decimals
2113
+ * @returns {TokenConfigurationConventionWASM}
2114
+ */
2115
+ constructor(js_localizations: any, decimals: number);
951
2116
  readonly __type: string;
952
2117
  decimals: number;
953
2118
  localizations: any;
954
2119
  }
955
2120
  export class TokenConfigurationLocalizationWASM {
956
- free(): void;
957
- constructor(should_capitalize: boolean, singular_form: string, plural_form: string);
958
- toJSON(): any;
2121
+ /** @ignore */
2122
+ free(): void;
2123
+ /**
2124
+ * * @param {boolean} should_capitalize
2125
+ * * @param {string} singular_form
2126
+ * * @param {string} plural_form
2127
+ * @returns {TokenConfigurationLocalizationWASM}
2128
+ */
2129
+ constructor(should_capitalize: boolean, singular_form: string, plural_form: string);
2130
+ /** @returns {any} */
2131
+ toJSON(): any;
959
2132
  readonly __type: string;
960
2133
  shouldCapitalize: boolean;
961
2134
  pluralForm: string;
962
2135
  singularForm: string;
963
2136
  }
964
2137
  export class TokenConfigurationWASM {
965
- free(): void;
966
- constructor(conventions: TokenConfigurationConventionWASM, conventions_change_rules: ChangeControlRulesWASM, base_supply: bigint, max_supply: bigint | null | undefined, keeps_history: TokenKeepsHistoryRulesWASM, start_as_paused: boolean, allow_transfer_to_frozen_balance: boolean, max_supply_change_rules: ChangeControlRulesWASM, distribution_rules: TokenDistributionRulesWASM, marketplace_rules: TokenMarketplaceRulesWASM, manual_minting_rules: ChangeControlRulesWASM, manual_burning_rules: ChangeControlRulesWASM, freeze_rules: ChangeControlRulesWASM, unfreeze_rules: ChangeControlRulesWASM, destroy_frozen_funds_rules: ChangeControlRulesWASM, emergency_action_rules: ChangeControlRulesWASM, main_control_group: number | null | undefined, main_control_group_can_be_modified: AuthorizedActionTakersWASM, description?: string | null);
2138
+ /** @ignore */
2139
+ free(): void;
2140
+ /**
2141
+ * * @param {TokenConfigurationConventionWASM} conventions
2142
+ * * @param {ChangeControlRulesWASM} conventions_change_rules
2143
+ * * @param {bigint} base_supply
2144
+ * * @param {bigint} max_supply
2145
+ * * @param {TokenKeepsHistoryRulesWASM} keeps_history
2146
+ * * @param {boolean} start_as_paused
2147
+ * * @param {boolean} allow_transfer_to_frozen_balance
2148
+ * * @param {ChangeControlRulesWASM} max_supply_change_rules
2149
+ * * @param {TokenDistributionRulesWASM} distribution_rules
2150
+ * * @param {TokenMarketplaceRulesWASM} marketplace_rules
2151
+ * * @param {ChangeControlRulesWASM} manual_minting_rules
2152
+ * * @param {ChangeControlRulesWASM} manual_burning_rules
2153
+ * * @param {ChangeControlRulesWASM} freeze_rules
2154
+ * * @param {ChangeControlRulesWASM} unfreeze_rules
2155
+ * * @param {ChangeControlRulesWASM} destroy_frozen_funds_rules
2156
+ * * @param {ChangeControlRulesWASM} emergency_action_rules
2157
+ * * @param {number} main_control_group
2158
+ * * @param {AuthorizedActionTakersWASM} main_control_group_can_be_modified
2159
+ * * @param {string} description
2160
+ * @returns {TokenConfigurationWASM}
2161
+ */
2162
+ constructor(conventions: TokenConfigurationConventionWASM, conventions_change_rules: ChangeControlRulesWASM, base_supply: bigint, max_supply: bigint | null | undefined, keeps_history: TokenKeepsHistoryRulesWASM, start_as_paused: boolean, allow_transfer_to_frozen_balance: boolean, max_supply_change_rules: ChangeControlRulesWASM, distribution_rules: TokenDistributionRulesWASM, marketplace_rules: TokenMarketplaceRulesWASM, manual_minting_rules: ChangeControlRulesWASM, manual_burning_rules: ChangeControlRulesWASM, freeze_rules: ChangeControlRulesWASM, unfreeze_rules: ChangeControlRulesWASM, destroy_frozen_funds_rules: ChangeControlRulesWASM, emergency_action_rules: ChangeControlRulesWASM, main_control_group: number | null | undefined, main_control_group_can_be_modified: AuthorizedActionTakersWASM, description?: string | null);
967
2163
  readonly __type: string;
968
2164
  conventions: TokenConfigurationConventionWASM;
969
2165
  conventionsChangeRules: ChangeControlRulesWASM;
@@ -989,8 +2185,15 @@ export class TokenConfigurationWASM {
989
2185
  set description(value: string | null | undefined);
990
2186
  }
991
2187
  export class TokenDestroyFrozenFundsTransitionWASM {
992
- free(): void;
993
- constructor(base: TokenBaseTransitionWASM, js_frozen_identity_id: any, public_note?: string | null);
2188
+ /** @ignore */
2189
+ free(): void;
2190
+ /**
2191
+ * * @param {TokenBaseTransitionWASM} base
2192
+ * * @param {any} js_frozen_identity_id
2193
+ * * @param {string} public_note
2194
+ * @returns {TokenDestroyFrozenFundsTransitionWASM}
2195
+ */
2196
+ constructor(base: TokenBaseTransitionWASM, js_frozen_identity_id: any, public_note?: string | null);
994
2197
  readonly __type: string;
995
2198
  base: TokenBaseTransitionWASM;
996
2199
  get publicNote(): string | undefined;
@@ -999,26 +2202,55 @@ export class TokenDestroyFrozenFundsTransitionWASM {
999
2202
  set frozenIdentityId(value: any);
1000
2203
  }
1001
2204
  export class TokenDirectPurchaseTransitionWASM {
1002
- free(): void;
1003
- constructor(base: TokenBaseTransitionWASM, token_count: bigint, total_agreed_price: bigint);
2205
+ /** @ignore */
2206
+ free(): void;
2207
+ /**
2208
+ * * @param {TokenBaseTransitionWASM} base
2209
+ * * @param {bigint} token_count
2210
+ * * @param {bigint} total_agreed_price
2211
+ * @returns {TokenDirectPurchaseTransitionWASM}
2212
+ */
2213
+ constructor(base: TokenBaseTransitionWASM, token_count: bigint, total_agreed_price: bigint);
1004
2214
  readonly __type: string;
1005
2215
  base: TokenBaseTransitionWASM;
1006
2216
  tokenCount: bigint;
1007
2217
  totalAgreedPrice: bigint;
1008
2218
  }
1009
2219
  export class TokenDistributionRecipientWASM {
1010
- private constructor();
1011
- free(): void;
1012
- static ContractOwner(): TokenDistributionRecipientWASM;
1013
- static Identity(js_identity_id: any): TokenDistributionRecipientWASM;
1014
- static EvonodesByParticipation(): TokenDistributionRecipientWASM;
1015
- getType(): string;
1016
- getValue(): any;
2220
+ /** @returns {TokenDistributionRecipientWASM} */
2221
+ private constructor();
2222
+ /** @ignore */
2223
+ free(): void;
2224
+ /** @returns {TokenDistributionRecipientWASM} */
2225
+ static ContractOwner(): TokenDistributionRecipientWASM;
2226
+ /**
2227
+ * * @param {any} js_identity_id
2228
+ * @returns {TokenDistributionRecipientWASM}
2229
+ */
2230
+ static Identity(js_identity_id: any): TokenDistributionRecipientWASM;
2231
+ /** @returns {TokenDistributionRecipientWASM} */
2232
+ static EvonodesByParticipation(): TokenDistributionRecipientWASM;
2233
+ /** @returns {string} */
2234
+ getType(): string;
2235
+ /** @returns {any} */
2236
+ getValue(): any;
1017
2237
  readonly __type: string;
1018
2238
  }
1019
2239
  export class TokenDistributionRulesWASM {
1020
- free(): void;
1021
- constructor(js_perpetual_distribution: any, perpetual_distribution_rules: ChangeControlRulesWASM, js_pre_programmed_distribution: any, js_new_tokens_destination_identity: any, new_tokens_destination_identity_rules: ChangeControlRulesWASM, minting_allow_choosing_destination: boolean, minting_allow_choosing_destination_rules: ChangeControlRulesWASM, change_direct_purchase_pricing_rules: ChangeControlRulesWASM);
2240
+ /** @ignore */
2241
+ free(): void;
2242
+ /**
2243
+ * * @param {any} js_perpetual_distribution
2244
+ * * @param {ChangeControlRulesWASM} perpetual_distribution_rules
2245
+ * * @param {any} js_pre_programmed_distribution
2246
+ * * @param {any} js_new_tokens_destination_identity
2247
+ * * @param {ChangeControlRulesWASM} new_tokens_destination_identity_rules
2248
+ * * @param {boolean} minting_allow_choosing_destination
2249
+ * * @param {ChangeControlRulesWASM} minting_allow_choosing_destination_rules
2250
+ * * @param {ChangeControlRulesWASM} change_direct_purchase_pricing_rules
2251
+ * @returns {TokenDistributionRulesWASM}
2252
+ */
2253
+ constructor(js_perpetual_distribution: any, perpetual_distribution_rules: ChangeControlRulesWASM, js_pre_programmed_distribution: any, js_new_tokens_destination_identity: any, new_tokens_destination_identity_rules: ChangeControlRulesWASM, minting_allow_choosing_destination: boolean, minting_allow_choosing_destination_rules: ChangeControlRulesWASM, change_direct_purchase_pricing_rules: ChangeControlRulesWASM);
1022
2254
  get perpetualDistribution(): TokenPerpetualDistributionWASM | undefined;
1023
2255
  set perpetualDistribution(value: any);
1024
2256
  perpetualDistributionRules: ChangeControlRulesWASM;
@@ -1032,8 +2264,15 @@ export class TokenDistributionRulesWASM {
1032
2264
  changeDirectPurchasePricingRules: ChangeControlRulesWASM;
1033
2265
  }
1034
2266
  export class TokenEmergencyActionTransitionWASM {
1035
- free(): void;
1036
- constructor(base: TokenBaseTransitionWASM, emergency_action: TokenEmergencyActionWASM, public_note?: string | null);
2267
+ /** @ignore */
2268
+ free(): void;
2269
+ /**
2270
+ * * @param {TokenBaseTransitionWASM} base
2271
+ * * @param {TokenEmergencyActionWASM} emergency_action
2272
+ * * @param {string} public_note
2273
+ * @returns {TokenEmergencyActionTransitionWASM}
2274
+ */
2275
+ constructor(base: TokenBaseTransitionWASM, emergency_action: TokenEmergencyActionWASM, public_note?: string | null);
1037
2276
  readonly __type: string;
1038
2277
  base: TokenBaseTransitionWASM;
1039
2278
  get publicNote(): string | undefined;
@@ -1042,8 +2281,15 @@ export class TokenEmergencyActionTransitionWASM {
1042
2281
  set emergencyAction(value: TokenEmergencyActionWASM);
1043
2282
  }
1044
2283
  export class TokenFreezeTransitionWASM {
1045
- free(): void;
1046
- constructor(base: TokenBaseTransitionWASM, js_identity_to_freeze_id: any, public_note?: string | null);
2284
+ /** @ignore */
2285
+ free(): void;
2286
+ /**
2287
+ * * @param {TokenBaseTransitionWASM} base
2288
+ * * @param {any} js_identity_to_freeze_id
2289
+ * * @param {string} public_note
2290
+ * @returns {TokenFreezeTransitionWASM}
2291
+ */
2292
+ constructor(base: TokenBaseTransitionWASM, js_identity_to_freeze_id: any, public_note?: string | null);
1047
2293
  readonly __type: string;
1048
2294
  base: TokenBaseTransitionWASM;
1049
2295
  get publicNote(): string | undefined;
@@ -1052,8 +2298,18 @@ export class TokenFreezeTransitionWASM {
1052
2298
  set frozenIdentityId(value: any);
1053
2299
  }
1054
2300
  export class TokenKeepsHistoryRulesWASM {
1055
- free(): void;
1056
- constructor(keeps_transfer_history: boolean, keeps_freezing_history: boolean, keeps_minting_history: boolean, keeps_burning_history: boolean, keeps_direct_pricing_history: boolean, keeps_direct_purchase_history: boolean);
2301
+ /** @ignore */
2302
+ free(): void;
2303
+ /**
2304
+ * * @param {boolean} keeps_transfer_history
2305
+ * * @param {boolean} keeps_freezing_history
2306
+ * * @param {boolean} keeps_minting_history
2307
+ * * @param {boolean} keeps_burning_history
2308
+ * * @param {boolean} keeps_direct_pricing_history
2309
+ * * @param {boolean} keeps_direct_purchase_history
2310
+ * @returns {TokenKeepsHistoryRulesWASM}
2311
+ */
2312
+ constructor(keeps_transfer_history: boolean, keeps_freezing_history: boolean, keeps_minting_history: boolean, keeps_burning_history: boolean, keeps_direct_pricing_history: boolean, keeps_direct_purchase_history: boolean);
1057
2313
  readonly __type: string;
1058
2314
  keepsTransferHistory: boolean;
1059
2315
  keepsFreezingHistory: boolean;
@@ -1063,15 +2319,33 @@ export class TokenKeepsHistoryRulesWASM {
1063
2319
  keepsDirectPurchaseHistory: boolean;
1064
2320
  }
1065
2321
  export class TokenMarketplaceRulesWASM {
1066
- free(): void;
1067
- constructor(trade_mode: TokenTradeModeWASM, trade_mode_change_rules: ChangeControlRulesWASM);
2322
+ /** @ignore */
2323
+ free(): void;
2324
+ /**
2325
+ * * @param {TokenTradeModeWASM} trade_mode
2326
+ * * @param {ChangeControlRulesWASM} trade_mode_change_rules
2327
+ * @returns {TokenMarketplaceRulesWASM}
2328
+ */
2329
+ constructor(trade_mode: TokenTradeModeWASM, trade_mode_change_rules: ChangeControlRulesWASM);
1068
2330
  tradeMode: TokenTradeModeWASM;
1069
2331
  tradeModeChangeRules: ChangeControlRulesWASM;
1070
2332
  }
1071
2333
  export class TokenMintTransitionWASM {
1072
- free(): void;
1073
- constructor(base: TokenBaseTransitionWASM, js_issued_to_identity_id: any, amount: bigint, public_note?: string | null);
1074
- getRecipitnId(config: TokenConfigurationWASM): IdentifierWASM;
2334
+ /** @ignore */
2335
+ free(): void;
2336
+ /**
2337
+ * * @param {TokenBaseTransitionWASM} base
2338
+ * * @param {any} js_issued_to_identity_id
2339
+ * * @param {bigint} amount
2340
+ * * @param {string} public_note
2341
+ * @returns {TokenMintTransitionWASM}
2342
+ */
2343
+ constructor(base: TokenBaseTransitionWASM, js_issued_to_identity_id: any, amount: bigint, public_note?: string | null);
2344
+ /**
2345
+ * * @param {TokenConfigurationWASM} config
2346
+ * @returns {IdentifierWASM}
2347
+ */
2348
+ getRecipitnId(config: TokenConfigurationWASM): IdentifierWASM;
1075
2349
  readonly __type: string;
1076
2350
  get issuedToIdentityId(): IdentifierWASM | undefined;
1077
2351
  set issuedToIdentityId(value: any);
@@ -1081,30 +2355,60 @@ export class TokenMintTransitionWASM {
1081
2355
  set publicNote(value: string | null | undefined);
1082
2356
  }
1083
2357
  export class TokenPerpetualDistributionWASM {
1084
- free(): void;
1085
- constructor(distribution_type: RewardDistributionTypeWASM, recipient: TokenDistributionRecipientWASM);
2358
+ /** @ignore */
2359
+ free(): void;
2360
+ /**
2361
+ * * @param {RewardDistributionTypeWASM} distribution_type
2362
+ * * @param {TokenDistributionRecipientWASM} recipient
2363
+ * @returns {TokenPerpetualDistributionWASM}
2364
+ */
2365
+ constructor(distribution_type: RewardDistributionTypeWASM, recipient: TokenDistributionRecipientWASM);
1086
2366
  readonly __type: string;
1087
2367
  distributionType: RewardDistributionTypeWASM;
1088
2368
  distributionRecipient: TokenDistributionRecipientWASM;
1089
2369
  }
1090
2370
  export class TokenPreProgrammedDistributionWASM {
1091
- free(): void;
1092
- constructor(js_distributions: any);
2371
+ /** @ignore */
2372
+ free(): void;
2373
+ /**
2374
+ * * @param {any} js_distributions
2375
+ * @returns {TokenPreProgrammedDistributionWASM}
2376
+ */
2377
+ constructor(js_distributions: any);
1093
2378
  readonly __type: string;
1094
2379
  distributions: any;
1095
2380
  }
1096
2381
  export class TokenPricingScheduleWASM {
1097
- private constructor();
1098
- free(): void;
1099
- static SinglePrice(credits: bigint): TokenPricingScheduleWASM;
1100
- static SetPrices(js_prices: any): TokenPricingScheduleWASM;
1101
- getScheduleType(): string;
1102
- getValue(): any;
2382
+ /** @returns {TokenPricingScheduleWASM} */
2383
+ private constructor();
2384
+ /** @ignore */
2385
+ free(): void;
2386
+ /**
2387
+ * * @param {bigint} credits
2388
+ * @returns {TokenPricingScheduleWASM}
2389
+ */
2390
+ static SinglePrice(credits: bigint): TokenPricingScheduleWASM;
2391
+ /**
2392
+ * * @param {any} js_prices
2393
+ * @returns {TokenPricingScheduleWASM}
2394
+ */
2395
+ static SetPrices(js_prices: any): TokenPricingScheduleWASM;
2396
+ /** @returns {string} */
2397
+ getScheduleType(): string;
2398
+ /** @returns {any} */
2399
+ getValue(): any;
1103
2400
  readonly __type: string;
1104
2401
  }
1105
2402
  export class TokenSetPriceForDirectPurchaseTransitionWASM {
1106
- free(): void;
1107
- constructor(base: TokenBaseTransitionWASM, js_price: any, public_note?: string | null);
2403
+ /** @ignore */
2404
+ free(): void;
2405
+ /**
2406
+ * * @param {TokenBaseTransitionWASM} base
2407
+ * * @param {any} js_price
2408
+ * * @param {string} public_note
2409
+ * @returns {TokenSetPriceForDirectPurchaseTransitionWASM}
2410
+ */
2411
+ constructor(base: TokenBaseTransitionWASM, js_price: any, public_note?: string | null);
1108
2412
  readonly __type: string;
1109
2413
  base: TokenBaseTransitionWASM;
1110
2414
  get publicNote(): string | undefined;
@@ -1112,15 +2416,29 @@ export class TokenSetPriceForDirectPurchaseTransitionWASM {
1112
2416
  price: any;
1113
2417
  }
1114
2418
  export class TokenTradeModeWASM {
1115
- private constructor();
1116
- free(): void;
1117
- static NotTradeable(): TokenTradeModeWASM;
1118
- getValue(): string;
2419
+ /** @returns {TokenTradeModeWASM} */
2420
+ private constructor();
2421
+ /** @ignore */
2422
+ free(): void;
2423
+ /** @returns {TokenTradeModeWASM} */
2424
+ static NotTradeable(): TokenTradeModeWASM;
2425
+ /** @returns {string} */
2426
+ getValue(): string;
1119
2427
  readonly __type: string;
1120
2428
  }
1121
2429
  export class TokenTransferTransitionWASM {
1122
- free(): void;
1123
- constructor(base: TokenBaseTransitionWASM, js_recipient_id: any, amount: bigint, public_note: string | null | undefined, js_shared_encrypted_note: any, js_private_encrypted_note: any);
2430
+ /** @ignore */
2431
+ free(): void;
2432
+ /**
2433
+ * * @param {TokenBaseTransitionWASM} base
2434
+ * * @param {any} js_recipient_id
2435
+ * * @param {bigint} amount
2436
+ * * @param {string} public_note
2437
+ * * @param {any} js_shared_encrypted_note
2438
+ * * @param {any} js_private_encrypted_note
2439
+ * @returns {TokenTransferTransitionWASM}
2440
+ */
2441
+ constructor(base: TokenBaseTransitionWASM, js_recipient_id: any, amount: bigint, public_note: string | null | undefined, js_shared_encrypted_note: any, js_private_encrypted_note: any);
1124
2442
  readonly __type: string;
1125
2443
  amount: bigint;
1126
2444
  base: TokenBaseTransitionWASM;
@@ -1134,13 +2452,26 @@ export class TokenTransferTransitionWASM {
1134
2452
  set recipientId(value: any);
1135
2453
  }
1136
2454
  export class TokenTransitionWASM {
1137
- free(): void;
1138
- constructor(js_transition: any);
1139
- getTransition(): any;
1140
- getTransitionTypeNumber(): number;
1141
- getTransitionType(): string;
1142
- getHistoricalDocumentTypeName(): string;
1143
- getHistoricalDocumentId(js_owner: any): IdentifierWASM;
2455
+ /** @ignore */
2456
+ free(): void;
2457
+ /**
2458
+ * * @param {any} js_transition
2459
+ * @returns {TokenTransitionWASM}
2460
+ */
2461
+ constructor(js_transition: any);
2462
+ /** @returns {any} */
2463
+ getTransition(): any;
2464
+ /** @returns {number} */
2465
+ getTransitionTypeNumber(): number;
2466
+ /** @returns {string} */
2467
+ getTransitionType(): string;
2468
+ /** @returns {string} */
2469
+ getHistoricalDocumentTypeName(): string;
2470
+ /**
2471
+ * * @param {any} js_owner
2472
+ * @returns {IdentifierWASM}
2473
+ */
2474
+ getHistoricalDocumentId(js_owner: any): IdentifierWASM;
1144
2475
  readonly __type: string;
1145
2476
  identityContractNonce: bigint;
1146
2477
  get tokenId(): IdentifierWASM;
@@ -1149,8 +2480,15 @@ export class TokenTransitionWASM {
1149
2480
  set contractId(value: any);
1150
2481
  }
1151
2482
  export class TokenUnFreezeTransitionWASM {
1152
- free(): void;
1153
- constructor(base: TokenBaseTransitionWASM, js_frozen_identity_id: any, public_note?: string | null);
2483
+ /** @ignore */
2484
+ free(): void;
2485
+ /**
2486
+ * * @param {TokenBaseTransitionWASM} base
2487
+ * * @param {any} js_frozen_identity_id
2488
+ * * @param {string} public_note
2489
+ * @returns {TokenUnFreezeTransitionWASM}
2490
+ */
2491
+ constructor(base: TokenBaseTransitionWASM, js_frozen_identity_id: any, public_note?: string | null);
1154
2492
  readonly __type: string;
1155
2493
  base: TokenBaseTransitionWASM;
1156
2494
  get publicNote(): string | undefined;
@@ -1159,18 +2497,34 @@ export class TokenUnFreezeTransitionWASM {
1159
2497
  set frozenIdentityId(value: any);
1160
2498
  }
1161
2499
  export class TxOutWASM {
1162
- free(): void;
1163
- constructor(value: bigint, script_pubkey: any);
1164
- getScriptPubKeyASM(): string;
2500
+ /** @ignore */
2501
+ free(): void;
2502
+ /**
2503
+ * * @param {bigint} value
2504
+ * * @param {any} script_pubkey
2505
+ * @returns {TxOutWASM}
2506
+ */
2507
+ constructor(value: bigint, script_pubkey: any);
2508
+ /** @returns {string} */
2509
+ getScriptPubKeyASM(): string;
1165
2510
  readonly __type: string;
1166
2511
  value: bigint;
1167
2512
  scriptPubKeyHex: string;
1168
2513
  scriptPubKeyBytes: Uint8Array;
1169
2514
  }
1170
2515
  export class VotePollWASM {
1171
- free(): void;
1172
- constructor(js_contract_id: any, document_type_name: string, index_name: string, js_index_values: any);
1173
- toString(): string;
2516
+ /** @ignore */
2517
+ free(): void;
2518
+ /**
2519
+ * * @param {any} js_contract_id
2520
+ * * @param {string} document_type_name
2521
+ * * @param {string} index_name
2522
+ * * @param {any} js_index_values
2523
+ * @returns {VotePollWASM}
2524
+ */
2525
+ constructor(js_contract_id: any, document_type_name: string, index_name: string, js_index_values: any);
2526
+ /** @returns {string} */
2527
+ toString(): string;
1174
2528
  readonly __type: string;
1175
2529
  get contractId(): IdentifierWASM;
1176
2530
  set contractId(value: any);
@@ -1180,8 +2534,14 @@ export class VotePollWASM {
1180
2534
  set indexValues(value: any);
1181
2535
  }
1182
2536
  export class VoteWASM {
1183
- free(): void;
1184
- constructor(vote_poll: VotePollWASM, resource_vote_choice: ResourceVoteChoiceWASM);
2537
+ /** @ignore */
2538
+ free(): void;
2539
+ /**
2540
+ * * @param {VotePollWASM} vote_poll
2541
+ * * @param {ResourceVoteChoiceWASM} resource_vote_choice
2542
+ * @returns {VoteWASM}
2543
+ */
2544
+ constructor(vote_poll: VotePollWASM, resource_vote_choice: ResourceVoteChoiceWASM);
1185
2545
  readonly __type: string;
1186
2546
  votePoll: VotePollWASM;
1187
2547
  resourceVoteChoice: ResourceVoteChoiceWASM;