pshenmic-dpp 1.0.8 → 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.
@@ -41,6 +41,7 @@ export enum PlatformVersionWASM {
41
41
  PLATFORM_V6 = 5,
42
42
  PLATFORM_V7 = 6,
43
43
  PLATFORM_V8 = 7,
44
+ PLATFORM_V9 = 8,
44
45
  }
45
46
  export enum PoolingWASM {
46
47
  Never = 0,
@@ -71,50 +72,131 @@ export enum TokenEmergencyActionWASM {
71
72
  Resume = 1,
72
73
  }
73
74
  export class ActionTakerWASM {
74
- free(): void;
75
- constructor(value: any);
76
- 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;
77
84
  readonly __type: string;
78
85
  value: any;
79
86
  }
80
87
  export class AssetLockProofWASM {
81
- free(): void;
82
- constructor(js_asset_lock_proof_type: any);
83
- static createInstantAssetLockProof(instant_lock: Uint8Array, transaction: Uint8Array, output_index: number): AssetLockProofWASM;
84
- static createChainAssetLockProof(core_chain_locked_height: number, out_point: OutPointWASM): AssetLockProofWASM;
85
- getLockType(): string;
86
- getInstantLockProof(): InstantAssetLockProofWASM;
87
- getChainLockProof(): ChainAssetLockProofWASM;
88
- getOutPoint(): OutPointWASM | undefined;
89
- 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;
90
118
  readonly __type: string;
91
119
  }
92
120
  export class AuthorizedActionTakersWASM {
93
- private constructor();
94
- free(): void;
95
- static NoOne(): AuthorizedActionTakersWASM;
96
- static ContractOwner(): AuthorizedActionTakersWASM;
97
- static Identity(js_identity_id: any): AuthorizedActionTakersWASM;
98
- static MainGroup(): AuthorizedActionTakersWASM;
99
- static Group(group_contract_position: number): AuthorizedActionTakersWASM;
100
- getTakerType(): string;
101
- 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;
102
145
  readonly __type: string;
103
146
  }
104
147
  export class BatchTransitionWASM {
105
- private constructor();
106
- free(): void;
107
- static fromV1BatchedTransitions(js_batched_transitions: Array<any>, owner_id: any, user_fee_increase: number, signature_public_key_id?: number | null, signature?: Uint8Array | null): BatchTransitionWASM;
108
- 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;
109
- setIdentityContractNonce(nonce: bigint): void;
110
- toStateTransition(): StateTransitionWASM;
111
- static fromStateTransition(state_transition: StateTransitionWASM): BatchTransitionWASM;
112
- bytes(): Uint8Array;
113
- hex(): string;
114
- base64(): string;
115
- static fromBytes(bytes: Uint8Array): BatchTransitionWASM;
116
- static fromBase64(base64: string): BatchTransitionWASM;
117
- 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;
118
200
  readonly __type: string;
119
201
  get transitions(): BatchedTransitionWASM[];
120
202
  set transitions(value: Array<any>);
@@ -126,29 +208,65 @@ export class BatchTransitionWASM {
126
208
  readonly allConflictingIndexCollateralVotingFunds: bigint | undefined;
127
209
  }
128
210
  export class BatchedTransitionWASM {
129
- free(): void;
130
- constructor(js_transition: any);
131
- 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;
132
220
  readonly __type: string;
133
221
  }
134
222
  export class BlockBasedDistributionWASM {
135
- private constructor();
136
- free(): void;
223
+ /** @returns {BlockBasedDistributionWASM} */
224
+ private constructor();
225
+ /** @ignore */
226
+ free(): void;
137
227
  interval: bigint;
138
228
  function: DistributionFunctionWASM;
139
229
  }
140
230
  export class ChainAssetLockProofWASM {
141
- free(): void;
142
- constructor(core_chain_locked_height: number, out_point: OutPointWASM);
143
- 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;
144
244
  readonly __type: string;
145
245
  coreChainLockedHeight: number;
146
246
  outPoint: OutPointWASM;
147
247
  }
148
248
  export class ChangeControlRulesWASM {
149
- free(): void;
150
- 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);
151
- 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;
152
270
  readonly __type: string;
153
271
  authorizedToMakeChange: AuthorizedActionTakersWASM;
154
272
  adminActionTakers: AuthorizedActionTakersWASM;
@@ -157,10 +275,21 @@ export class ChangeControlRulesWASM {
157
275
  selfChangingAdminActionTakersAllowed: boolean;
158
276
  }
159
277
  export class ContractBoundsWASM {
160
- private constructor();
161
- free(): void;
162
- static SingleContract(js_contract_id: any): ContractBoundsWASM;
163
- 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;
164
293
  readonly __type: string;
165
294
  get identifier(): IdentifierWASM;
166
295
  set identifier(value: any);
@@ -170,71 +299,242 @@ export class ContractBoundsWASM {
170
299
  readonly contractBoundsTypeNumber: number;
171
300
  }
172
301
  export class CoreScriptWASM {
173
- private constructor();
174
- free(): void;
175
- static fromBytes(bytes: Uint8Array): CoreScriptWASM;
176
- static newP2PKH(js_key_hash: Uint8Array): CoreScriptWASM;
177
- static newP2SH(js_script_hash: Uint8Array): CoreScriptWASM;
178
- toString(): string;
179
- bytes(): Uint8Array;
180
- hex(): string;
181
- base64(): string;
182
- 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;
183
331
  readonly __type: string;
184
332
  }
185
333
  export class DataContractCreateTransitionWASM {
186
- free(): void;
187
- constructor(data_contract: DataContractWASM, identity_nonce: bigint, js_platform_version: any);
188
- static fromBytes(bytes: Uint8Array): DataContractCreateTransitionWASM;
189
- static fromHex(hex: string): DataContractCreateTransitionWASM;
190
- static fromBase64(base64: string): DataContractCreateTransitionWASM;
191
- bytes(): Uint8Array;
192
- hex(): string;
193
- base64(): string;
194
- verifyProtocolVersion(protocol_version: number): boolean;
195
- setDataContract(data_contract: DataContractWASM, js_platform_version: any): void;
196
- getDataContract(js_platform_version: any, full_validation?: boolean | null): DataContractWASM;
197
- toStateTransition(): StateTransitionWASM;
198
- 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;
199
387
  readonly __type: string;
200
388
  readonly featureVersion: number;
201
389
  readonly identityNonce: bigint;
202
390
  }
203
391
  export class DataContractUpdateTransitionWASM {
204
- free(): void;
205
- constructor(data_contract: DataContractWASM, identity_nonce: bigint, js_platform_version: any);
206
- static fromBytes(bytes: Uint8Array): DataContractUpdateTransitionWASM;
207
- static fromHex(hex: string): DataContractUpdateTransitionWASM;
208
- static fromBase64(base64: string): DataContractUpdateTransitionWASM;
209
- bytes(): Uint8Array;
210
- hex(): string;
211
- base64(): string;
212
- verifyProtocolVersion(protocol_version: number): boolean;
213
- setDataContract(data_contract: DataContractWASM, js_platform_version: any): void;
214
- getDataContract(full_validation: boolean | null | undefined, js_platform_version: any): DataContractWASM;
215
- toStateTransition(): StateTransitionWASM;
216
- 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;
217
445
  readonly __type: string;
218
446
  readonly featureVersion: number;
219
447
  readonly identityContractNonce: bigint;
220
448
  }
221
449
  export class DataContractWASM {
222
- free(): void;
223
- 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);
224
- static fromValue(js_value: any, full_validation: boolean, js_platform_version: any): DataContractWASM;
225
- static fromBytes(bytes: Uint8Array, full_validation: boolean, js_platform_version: any): DataContractWASM;
226
- static fromHex(hex: string, full_validation: boolean, js_platform_version: any): DataContractWASM;
227
- static fromBase64(base64: string, full_validation: boolean, js_platform_version: any): DataContractWASM;
228
- bytes(js_platform_version: any): Uint8Array;
229
- hex(js_platform_version: any): string;
230
- base64(js_platform_version: any): string;
231
- toValue(js_platform_version: any): any;
232
- getSchemas(): any;
233
- getConfig(): any;
234
- setConfig(js_config: any, js_platform_version: any): void;
235
- setSchemas(js_schema: any, js_definitions: object | null | undefined, full_validation: boolean, js_platform_version: any): void;
236
- toJson(js_platform_version: any): any;
237
- 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;
238
538
  readonly __type: string;
239
539
  version: number;
240
540
  get id(): IdentifierWASM;
@@ -245,8 +545,10 @@ export class DataContractWASM {
245
545
  set tokens(value: any);
246
546
  }
247
547
  export class DistributionExponentialWASM {
248
- private constructor();
249
- free(): void;
548
+ /** @returns {DistributionExponentialWASM} */
549
+ private constructor();
550
+ /** @ignore */
551
+ free(): void;
250
552
  a: bigint;
251
553
  d: bigint;
252
554
  m: bigint;
@@ -261,29 +563,118 @@ export class DistributionExponentialWASM {
261
563
  set maxValue(value: bigint | null | undefined);
262
564
  }
263
565
  export class DistributionFixedAmountWASM {
264
- private constructor();
265
- free(): void;
566
+ /** @returns {DistributionFixedAmountWASM} */
567
+ private constructor();
568
+ /** @ignore */
569
+ free(): void;
266
570
  amount: bigint;
267
571
  }
268
572
  export class DistributionFunctionWASM {
269
- private constructor();
270
- free(): void;
271
- static FixedAmountDistribution(amount: bigint): DistributionFunctionWASM;
272
- static Random(min: bigint, max: bigint): DistributionFunctionWASM;
273
- 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;
274
- static Stepwise(js_steps_with_amount: any): DistributionFunctionWASM;
275
- static Linear(a: bigint, d: bigint, start_step: bigint | null | undefined, starting_amount: bigint, min_value?: bigint | null, max_value?: bigint | null): DistributionFunctionWASM;
276
- 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;
277
- 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;
278
- 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;
279
- 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;
280
- getFunctionName(): string;
281
- 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;
282
671
  readonly __type: string;
283
672
  }
284
673
  export class DistributionInvertedLogarithmicWASM {
285
- private constructor();
286
- free(): void;
674
+ /** @returns {DistributionInvertedLogarithmicWASM} */
675
+ private constructor();
676
+ /** @ignore */
677
+ free(): void;
287
678
  a: bigint;
288
679
  d: bigint;
289
680
  m: bigint;
@@ -298,8 +689,10 @@ export class DistributionInvertedLogarithmicWASM {
298
689
  set maxValue(value: bigint | null | undefined);
299
690
  }
300
691
  export class DistributionLinearWASM {
301
- private constructor();
302
- free(): void;
692
+ /** @returns {DistributionLinearWASM} */
693
+ private constructor();
694
+ /** @ignore */
695
+ free(): void;
303
696
  a: bigint;
304
697
  d: bigint;
305
698
  get startStep(): bigint | undefined;
@@ -311,8 +704,10 @@ export class DistributionLinearWASM {
311
704
  set maxValue(value: bigint | null | undefined);
312
705
  }
313
706
  export class DistributionLogarithmicWASM {
314
- private constructor();
315
- free(): void;
707
+ /** @returns {DistributionLogarithmicWASM} */
708
+ private constructor();
709
+ /** @ignore */
710
+ free(): void;
316
711
  a: bigint;
317
712
  d: bigint;
318
713
  m: bigint;
@@ -327,8 +722,10 @@ export class DistributionLogarithmicWASM {
327
722
  set maxValue(value: bigint | null | undefined);
328
723
  }
329
724
  export class DistributionPolynomialWASM {
330
- private constructor();
331
- free(): void;
725
+ /** @returns {DistributionPolynomialWASM} */
726
+ private constructor();
727
+ /** @ignore */
728
+ free(): void;
332
729
  a: bigint;
333
730
  d: bigint;
334
731
  m: bigint;
@@ -343,14 +740,18 @@ export class DistributionPolynomialWASM {
343
740
  set maxValue(value: bigint | null | undefined);
344
741
  }
345
742
  export class DistributionRandomWASM {
346
- private constructor();
347
- free(): void;
743
+ /** @returns {DistributionRandomWASM} */
744
+ private constructor();
745
+ /** @ignore */
746
+ free(): void;
348
747
  min: bigint;
349
748
  max: bigint;
350
749
  }
351
750
  export class DistributionStepDecreasingAmountWASM {
352
- private constructor();
353
- free(): void;
751
+ /** @returns {DistributionStepDecreasingAmountWASM} */
752
+ private constructor();
753
+ /** @ignore */
754
+ free(): void;
354
755
  stepCount: number;
355
756
  decreasePerIntervalNumerator: number;
356
757
  decreasePerIntervalDenominator: number;
@@ -364,8 +765,16 @@ export class DistributionStepDecreasingAmountWASM {
364
765
  set minValue(value: bigint | null | undefined);
365
766
  }
366
767
  export class DocumentBaseTransitionWASM {
367
- free(): void;
368
- 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);
369
778
  readonly __type: string;
370
779
  get id(): IdentifierWASM;
371
780
  set id(value: any);
@@ -375,11 +784,23 @@ export class DocumentBaseTransitionWASM {
375
784
  documentTypeName: string;
376
785
  }
377
786
  export class DocumentCreateTransitionWASM {
378
- free(): void;
379
- constructor(document: DocumentWASM, identity_contract_nonce: bigint);
380
- clearPrefundedVotingBalance(): void;
381
- toDocumentTransition(): DocumentTransitionWASM;
382
- 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;
383
804
  readonly __type: string;
384
805
  data: any;
385
806
  base: DocumentBaseTransitionWASM;
@@ -388,46 +809,94 @@ export class DocumentCreateTransitionWASM {
388
809
  set prefundedVotingBalance(value: PrefundedVotingBalanceWASM);
389
810
  }
390
811
  export class DocumentDeleteTransitionWASM {
391
- free(): void;
392
- constructor(document: DocumentWASM, identity_contract_nonce: bigint);
393
- toDocumentTransition(): DocumentTransitionWASM;
394
- 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;
395
827
  readonly __type: string;
396
828
  base: DocumentBaseTransitionWASM;
397
829
  }
398
830
  export class DocumentPurchaseTransitionWASM {
399
- free(): void;
400
- constructor(document: DocumentWASM, identity_contract_nonce: bigint, amount: bigint);
401
- toDocumentTransition(): DocumentTransitionWASM;
402
- 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;
403
847
  readonly __type: string;
404
848
  base: DocumentBaseTransitionWASM;
405
849
  price: bigint;
406
850
  revision: bigint;
407
851
  }
408
852
  export class DocumentReplaceTransitionWASM {
409
- free(): void;
410
- constructor(document: DocumentWASM, identity_contract_nonce: bigint);
411
- toDocumentTransition(): DocumentTransitionWASM;
412
- 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;
413
868
  readonly __type: string;
414
869
  data: any;
415
870
  base: DocumentBaseTransitionWASM;
416
871
  revision: bigint;
417
872
  }
418
873
  export class DocumentTransferTransitionWASM {
419
- free(): void;
420
- constructor(document: DocumentWASM, identity_contract_nonce: bigint, js_recipient_owner_id: any);
421
- toDocumentTransition(): DocumentTransitionWASM;
422
- 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;
423
890
  readonly __type: string;
424
891
  base: DocumentBaseTransitionWASM;
425
892
  get recipientId(): IdentifierWASM;
426
893
  set recipientId(value: any);
427
894
  }
428
895
  export class DocumentTransitionWASM {
429
- private constructor();
430
- free(): void;
896
+ /** @returns {DocumentTransitionWASM} */
897
+ private constructor();
898
+ /** @ignore */
899
+ free(): void;
431
900
  readonly __type: string;
432
901
  readonly actionType: string;
433
902
  readonly actionTypeNumber: number;
@@ -447,24 +916,89 @@ export class DocumentTransitionWASM {
447
916
  readonly updatePriceTransition: DocumentUpdatePriceTransitionWASM;
448
917
  }
449
918
  export class DocumentUpdatePriceTransitionWASM {
450
- free(): void;
451
- constructor(document: DocumentWASM, identity_contract_nonce: bigint, price: bigint);
452
- toDocumentTransition(): DocumentTransitionWASM;
453
- 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;
454
935
  readonly __type: string;
455
936
  base: DocumentBaseTransitionWASM;
456
937
  price: bigint;
457
938
  }
458
939
  export class DocumentWASM {
459
- free(): void;
460
- 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);
461
- bytes(data_contract: DataContractWASM, js_platform_version: any): Uint8Array;
462
- hex(data_contract: DataContractWASM, js_platform_version: any): string;
463
- base64(data_contract: DataContractWASM, js_platform_version: any): string;
464
- static fromBytes(bytes: Uint8Array, data_contract: DataContractWASM, type_name: string, js_platform_version: any): DocumentWASM;
465
- static fromHex(hex: string, data_contract: DataContractWASM, type_name: string, js_platform_version: any): DocumentWASM;
466
- static fromBase64(base64: string, data_contract: DataContractWASM, type_name: string, js_platform_version: any): DocumentWASM;
467
- 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;
468
1002
  readonly __type: string;
469
1003
  get id(): IdentifierWASM;
470
1004
  set id(value: any);
@@ -497,14 +1031,23 @@ export class DocumentWASM {
497
1031
  documentTypeName: string;
498
1032
  }
499
1033
  export class EpochBasedDistributionWASM {
500
- private constructor();
501
- free(): void;
1034
+ /** @returns {EpochBasedDistributionWASM} */
1035
+ private constructor();
1036
+ /** @ignore */
1037
+ free(): void;
502
1038
  interval: number;
503
1039
  function: DistributionFunctionWASM;
504
1040
  }
505
1041
  export class GroupStateTransitionInfoWASM {
506
- free(): void;
507
- 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);
508
1051
  readonly __type: string;
509
1052
  groupContractPosition: number;
510
1053
  get actionId(): IdentifierWASM;
@@ -512,38 +1055,106 @@ export class GroupStateTransitionInfoWASM {
512
1055
  actionIsProposer: boolean;
513
1056
  }
514
1057
  export class GroupWASM {
515
- free(): void;
516
- constructor(js_members: any, required_power: number);
517
- 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;
518
1071
  readonly __type: string;
519
1072
  members: any;
520
1073
  requiredPower: number;
521
1074
  }
522
1075
  export class IdentifierWASM {
523
- free(): void;
524
- constructor(js_identifier: any);
525
- base58(): string;
526
- base64(): string;
527
- hex(): string;
528
- bytes(): Uint8Array;
529
- static fromBase58(base58: string): IdentifierWASM;
530
- static fromBase64(base64: string): IdentifierWASM;
531
- static fromHex(hex: string): IdentifierWASM;
532
- 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;
533
1111
  readonly __type: string;
534
1112
  }
535
1113
  export class IdentityCreateTransitionWASM {
536
- free(): void;
537
- constructor(js_public_keys: Array<any>, asset_lock: AssetLockProofWASM, user_fee_increase: number, signature: Uint8Array | null | undefined, js_identity_id: any);
538
- static default(js_platform_version: any): IdentityCreateTransitionWASM;
539
- static fromHex(hex: string): IdentityCreateTransitionWASM;
540
- static fromBase64(base64: string): IdentityCreateTransitionWASM;
541
- bytes(): Uint8Array;
542
- static fromBytes(bytes: Uint8Array): IdentityCreateTransitionWASM;
543
- getIdentifier(): IdentifierWASM;
544
- getSignableBytes(): Uint8Array;
545
- toStateTransition(): StateTransitionWASM;
546
- 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;
547
1158
  readonly __type: string;
548
1159
  get publicKeys(): IdentityPublicKeyInCreationWASM[];
549
1160
  set publicKeys(value: Array<any>);
@@ -552,17 +1163,47 @@ export class IdentityCreateTransitionWASM {
552
1163
  assetLock: AssetLockProofWASM;
553
1164
  }
554
1165
  export class IdentityCreditTransferWASM {
555
- free(): void;
556
- constructor(amount: bigint, js_sender: any, js_recipient: any, nonce: bigint, js_platform_version_wasm: any);
557
- bytes(): Uint8Array;
558
- hex(): string;
559
- base64(): string;
560
- static fromBytes(bytes: Uint8Array): IdentityCreditTransferWASM;
561
- static fromHex(hex: string): IdentityCreditTransferWASM;
562
- static fromBase64(hex: string): IdentityCreditTransferWASM;
563
- getSignableBytes(): Uint8Array;
564
- toStateTransition(): StateTransitionWASM;
565
- 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;
566
1207
  readonly __type: string;
567
1208
  get recipientId(): IdentifierWASM;
568
1209
  set recipientId(value: any);
@@ -575,20 +1216,55 @@ export class IdentityCreditTransferWASM {
575
1216
  userFeeIncrease: number;
576
1217
  }
577
1218
  export class IdentityCreditWithdrawalTransitionWASM {
578
- free(): void;
579
- 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);
580
- getPurposeRequirement(): string[];
581
- getModifiedDataIds(): IdentifierWASM[];
582
- getOptionalAssetLockProof(): any;
583
- getSignableBytes(): Uint8Array;
584
- static fromHex(hex: string): IdentityCreditWithdrawalTransitionWASM;
585
- static fromBase64(base64: string): IdentityCreditWithdrawalTransitionWASM;
586
- bytes(): Uint8Array;
587
- hex(): string;
588
- base64(): string;
589
- static fromBytes(bytes: Uint8Array): IdentityCreditWithdrawalTransitionWASM;
590
- toStateTransition(): StateTransitionWASM;
591
- 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;
592
1268
  readonly __type: string;
593
1269
  get outputScript(): CoreScriptWASM | undefined;
594
1270
  set outputScript(value: any);
@@ -604,10 +1280,23 @@ export class IdentityCreditWithdrawalTransitionWASM {
604
1280
  signaturePublicKeyId: number;
605
1281
  }
606
1282
  export class IdentityPublicKeyInCreationWASM {
607
- free(): void;
608
- constructor(id: number, js_purpose: any, js_security_level: any, js_key_type: any, read_only: boolean, binary_data: Uint8Array, signature: Uint8Array);
609
- toIdentityPublicKey(): IdentityPublicKeyWASM;
610
- 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;
611
1300
  readonly __type: string;
612
1301
  get contractBounds(): ContractBoundsWASM | undefined;
613
1302
  set contractBounds(value: any);
@@ -623,18 +1312,52 @@ export class IdentityPublicKeyInCreationWASM {
623
1312
  signature: Uint8Array;
624
1313
  }
625
1314
  export class IdentityPublicKeyWASM {
626
- free(): void;
627
- constructor(id: number, js_purpose: any, js_security_level: any, js_key_type: any, read_only: boolean, binary_data: string, disabled_at?: bigint | null);
628
- validatePrivateKey(js_private_key_bytes: Uint8Array, js_network: any): boolean;
629
- getContractBounds(): any;
630
- getPublicKeyHash(): string;
631
- isMaster(): boolean;
632
- bytes(): Uint8Array;
633
- hex(): string;
634
- base64(): string;
635
- static fromBytes(bytes: Uint8Array): IdentityPublicKeyWASM;
636
- static fromHex(hex: string): IdentityPublicKeyWASM;
637
- 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;
638
1361
  readonly __type: string;
639
1362
  keyId: number;
640
1363
  get purpose(): string;
@@ -655,19 +1378,49 @@ export class IdentityPublicKeyWASM {
655
1378
  set disabledAt(value: bigint);
656
1379
  }
657
1380
  export class IdentityTopUpTransitionWASM {
658
- free(): void;
659
- constructor(asset_lock_proof: AssetLockProofWASM, js_identity_id: any, user_fee_increase: number);
660
- getModifiedDataIds(): IdentifierWASM[];
661
- getOptionalAssetLockProof(): any;
662
- getSignableBytes(): Uint8Array;
663
- bytes(): Uint8Array;
664
- hex(): string;
665
- base64(): string;
666
- static fromBytes(bytes: Uint8Array): IdentityTopUpTransitionWASM;
667
- static fromHex(hex: string): IdentityTopUpTransitionWASM;
668
- static fromBase64(base64: string): IdentityTopUpTransitionWASM;
669
- toStateTransition(): StateTransitionWASM;
670
- 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;
671
1424
  readonly __type: string;
672
1425
  userFeeIncrease: number;
673
1426
  get identityIdentifier(): IdentifierWASM;
@@ -676,20 +1429,54 @@ export class IdentityTopUpTransitionWASM {
676
1429
  signature: Uint8Array;
677
1430
  }
678
1431
  export class IdentityUpdateTransitionWASM {
679
- free(): void;
680
- 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);
681
- getPurposeRequirement(): string[];
682
- getModifiedDataIds(): IdentifierWASM[];
683
- getOptionalAssetLockProof(): any;
684
- getSignableBytes(): Uint8Array;
685
- static fromHex(hex: string): IdentityUpdateTransitionWASM;
686
- static fromBase64(base64: string): IdentityUpdateTransitionWASM;
687
- bytes(): Uint8Array;
688
- hex(): string;
689
- base64(): string;
690
- static fromBytes(bytes: Uint8Array): IdentityUpdateTransitionWASM;
691
- toStateTransition(): StateTransitionWASM;
692
- 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;
693
1480
  readonly __type: string;
694
1481
  revision: bigint;
695
1482
  nonce: bigint;
@@ -703,41 +1490,98 @@ export class IdentityUpdateTransitionWASM {
703
1490
  signaturePublicKeyId: number;
704
1491
  }
705
1492
  export class IdentityWASM {
706
- free(): void;
707
- constructor(js_identifier: any);
708
- setId(js_identifier: any): void;
709
- setBalance(balance: bigint): void;
710
- setRevision(revision: bigint): void;
711
- addPublicKey(public_key: IdentityPublicKeyWASM): void;
712
- getId(): IdentifierWASM;
713
- getBalance(): bigint;
714
- getRevision(): bigint;
715
- getPublicKeyById(key_id: number): IdentityPublicKeyWASM;
716
- getPublicKeys(): IdentityPublicKeyWASM[];
717
- static fromHex(hex: string): IdentityWASM;
718
- static fromBase64(base64: string): IdentityWASM;
719
- bytes(): Uint8Array;
720
- hex(): string;
721
- base64(): string;
722
- 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;
723
1542
  readonly __type: string;
724
1543
  }
725
1544
  export class InstantAssetLockProofWASM {
726
- free(): void;
727
- constructor(instant_lock: Uint8Array, transaction: Uint8Array, output_index: number);
728
- static fromObject(value: any): InstantAssetLockProofWASM;
729
- toObject(): any;
730
- getOutput(): TxOutWASM | undefined;
731
- getOutPoint(): OutPointWASM | undefined;
732
- getTransaction(): Uint8Array;
733
- 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;
734
1569
  readonly __type: string;
735
1570
  outputIndex: number;
736
1571
  instantLock: InstantLockWASM;
737
1572
  }
738
1573
  export class InstantLockWASM {
739
- free(): void;
740
- 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);
741
1585
  readonly __type: string;
742
1586
  version: number;
743
1587
  get inputs(): OutPointWASM[];
@@ -747,15 +1591,44 @@ export class InstantLockWASM {
747
1591
  blsSignature: string;
748
1592
  }
749
1593
  export class MasternodeVoteTransitionWASM {
750
- free(): void;
751
- constructor(js_pro_tx_hash: any, js_voter_identity_id: any, vote: VoteWASM, nonce: bigint, signature_public_key?: number | null, signature?: Uint8Array | null);
752
- static fromHex(hex: string): MasternodeVoteTransitionWASM;
753
- static fromBase64(base64: string): MasternodeVoteTransitionWASM;
754
- bytes(): Uint8Array;
755
- static fromBytes(bytes: Uint8Array): MasternodeVoteTransitionWASM;
756
- getSignableBytes(): Uint8Array;
757
- toStateTransition(): StateTransitionWASM;
758
- 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;
759
1632
  readonly __type: string;
760
1633
  get proTxHash(): IdentifierWASM;
761
1634
  set proTxHash(value: any);
@@ -770,88 +1643,214 @@ export class MasternodeVoteTransitionWASM {
770
1643
  readonly modifiedDataIds: IdentifierWASM[];
771
1644
  }
772
1645
  export class OutPointWASM {
773
- free(): void;
774
- constructor(txid_hex: string, vout: number);
775
- getVOUT(): number;
776
- getTXID(): string;
777
- bytes(): Uint8Array;
778
- hex(): string;
779
- base64(): string;
780
- static fromBytes(js_buffer: Uint8Array): OutPointWASM;
781
- static fromHex(hex: string): OutPointWASM;
782
- 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;
783
1679
  readonly __type: string;
784
1680
  }
785
1681
  export class PrefundedVotingBalanceWASM {
786
- free(): void;
787
- 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);
788
1690
  readonly __type: string;
789
1691
  readonly indexName: string;
790
1692
  readonly credits: bigint;
791
1693
  }
792
1694
  export class PrivateEncryptedNoteWASM {
793
- free(): void;
794
- 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);
795
1704
  readonly __type: string;
796
1705
  rootEncryptionKeyIndex: number;
797
1706
  derivationEncryptionKeyIndex: number;
798
1707
  value: Uint8Array;
799
1708
  }
800
1709
  export class PrivateKeyWASM {
801
- private constructor();
802
- free(): void;
803
- static fromWIF(wif: string): PrivateKeyWASM;
804
- static fromBytes(bytes: Uint8Array, js_network: any): PrivateKeyWASM;
805
- static fromHex(hex_key: string, js_network: any): PrivateKeyWASM;
806
- WIF(): string;
807
- bytes(): Uint8Array;
808
- hex(): string;
809
- 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;
810
1739
  readonly __type: string;
811
1740
  }
812
1741
  export class ResourceVoteChoiceWASM {
813
- private constructor();
814
- free(): void;
815
- static TowardsIdentity(js_id: any): ResourceVoteChoiceWASM;
816
- static Abstain(): ResourceVoteChoiceWASM;
817
- static Lock(): ResourceVoteChoiceWASM;
818
- getValue(): any;
819
- 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;
820
1759
  readonly __type: string;
821
1760
  }
822
1761
  export class RewardDistributionTypeWASM {
823
- private constructor();
824
- free(): void;
825
- static BlockBasedDistribution(interval: bigint, _function: DistributionFunctionWASM): RewardDistributionTypeWASM;
826
- static TimeBasedDistribution(interval: bigint, _function: DistributionFunctionWASM): RewardDistributionTypeWASM;
827
- static EpochBasedDistribution(interval: number, _function: DistributionFunctionWASM): RewardDistributionTypeWASM;
828
- 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;
829
1786
  readonly __type: string;
830
1787
  }
831
1788
  export class SharedEncryptedNoteWASM {
832
- free(): void;
833
- 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);
834
1798
  readonly __type: string;
835
1799
  senderKeyIndex: number;
836
1800
  recipientKeyIndex: number;
837
1801
  value: Uint8Array;
838
1802
  }
839
1803
  export class StateTransitionWASM {
840
- private constructor();
841
- free(): void;
842
- sign(private_key: PrivateKeyWASM, public_key: IdentityPublicKeyWASM): Uint8Array;
843
- signByPrivateKey(private_key: PrivateKeyWASM, js_key_type: any): Uint8Array;
844
- bytes(): any;
845
- hex(): any;
846
- base64(): any;
847
- static fromBytes(bytes: Uint8Array): StateTransitionWASM;
848
- static fromHex(hex: string): StateTransitionWASM;
849
- static fromBase64(base64: string): StateTransitionWASM;
850
- hash(skip_signature: boolean): string;
851
- getActionType(): string;
852
- getActionTypeNumber(): number;
853
- getOwnerId(): IdentifierWASM;
854
- 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;
855
1854
  readonly __type: string;
856
1855
  signature: Uint8Array;
857
1856
  get signaturePublicKeyId(): number | undefined;
@@ -859,14 +1858,25 @@ export class StateTransitionWASM {
859
1858
  userFeeIncrease: number;
860
1859
  }
861
1860
  export class TimeBasedDistributionWASM {
862
- private constructor();
863
- free(): void;
1861
+ /** @returns {TimeBasedDistributionWASM} */
1862
+ private constructor();
1863
+ /** @ignore */
1864
+ free(): void;
864
1865
  interval: bigint;
865
1866
  function: DistributionFunctionWASM;
866
1867
  }
867
1868
  export class TokenBaseTransitionWASM {
868
- free(): void;
869
- 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);
870
1880
  readonly __type: string;
871
1881
  identityContractNonce: bigint;
872
1882
  tokenContractPosition: number;
@@ -878,8 +1888,15 @@ export class TokenBaseTransitionWASM {
878
1888
  set usingGroupInfo(value: any);
879
1889
  }
880
1890
  export class TokenBurnTransitionWASM {
881
- free(): void;
882
- 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);
883
1900
  readonly __type: string;
884
1901
  burnAmount: bigint;
885
1902
  base: TokenBaseTransitionWASM;
@@ -887,8 +1904,15 @@ export class TokenBurnTransitionWASM {
887
1904
  set publicNote(value: string | null | undefined);
888
1905
  }
889
1906
  export class TokenClaimTransitionWASM {
890
- free(): void;
891
- 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);
892
1916
  readonly __type: string;
893
1917
  base: TokenBaseTransitionWASM;
894
1918
  get publicNote(): string | undefined;
@@ -897,8 +1921,15 @@ export class TokenClaimTransitionWASM {
897
1921
  set distributionType(value: any);
898
1922
  }
899
1923
  export class TokenConfigUpdateTransitionWASM {
900
- free(): void;
901
- 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);
902
1933
  readonly __type: string;
903
1934
  base: TokenBaseTransitionWASM;
904
1935
  get publicNote(): string | undefined;
@@ -906,63 +1937,229 @@ export class TokenConfigUpdateTransitionWASM {
906
1937
  updateTokenConfigurationItem: TokenConfigurationChangeItemWASM;
907
1938
  }
908
1939
  export class TokenConfigurationChangeItemWASM {
909
- private constructor();
910
- free(): void;
911
- static conventionsItem(convention: TokenConfigurationConventionWASM): TokenConfigurationChangeItemWASM;
912
- static ConventionsAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
913
- static ConventionsControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
914
- static DestroyFrozenFundsItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
915
- static DestroyFrozenFundsAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
916
- static EmergencyActionItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
917
- static EmergencyActionAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
918
- static FreezeItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
919
- static FreezeAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
920
- static MainControlGroupItem(group_contract_position?: number | null): TokenConfigurationChangeItemWASM;
921
- static ManualBurningItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
922
- static ManualBurningAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
923
- static ManualMintingItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
924
- static ManualMintingAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
925
- static MarketplaceTradeModeItem(trade_mode: TokenTradeModeWASM): TokenConfigurationChangeItemWASM;
926
- static MarketplaceTradeModeControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
927
- static MarketplaceTradeModeAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
928
- static MaxSupplyItem(supply?: bigint | null): TokenConfigurationChangeItemWASM;
929
- static MaxSupplyControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
930
- static MaxSupplyAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
931
- static MintingAllowChoosingDestinationItem(flag: boolean): TokenConfigurationChangeItemWASM;
932
- static MintingAllowChoosingDestinationControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
933
- static MintingAllowChoosingDestinationAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
934
- static NewTokensDestinationIdentityItem(js_identity_id: any): TokenConfigurationChangeItemWASM;
935
- static NewTokensDestinationIdentityControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
936
- static NewTokensDestinationIdentityAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
937
- static noChangeItem(): TokenConfigurationChangeItemWASM;
938
- static PerpetualDistributionConfigurationItem(js_perpetual_distribution_value: any): TokenConfigurationChangeItemWASM;
939
- static PerpetualDistributionControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
940
- static PerpetualDistributionAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
941
- static UnfreezeItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
942
- static UnfreezeAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
943
- getItemName(): string;
944
- 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;
945
2105
  readonly __type: string;
946
2106
  }
947
2107
  export class TokenConfigurationConventionWASM {
948
- free(): void;
949
- 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);
950
2116
  readonly __type: string;
951
2117
  decimals: number;
952
2118
  localizations: any;
953
2119
  }
954
2120
  export class TokenConfigurationLocalizationWASM {
955
- free(): void;
956
- constructor(should_capitalize: boolean, singular_form: string, plural_form: string);
957
- 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;
958
2132
  readonly __type: string;
959
2133
  shouldCapitalize: boolean;
960
2134
  pluralForm: string;
961
2135
  singularForm: string;
962
2136
  }
963
2137
  export class TokenConfigurationWASM {
964
- free(): void;
965
- 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);
966
2163
  readonly __type: string;
967
2164
  conventions: TokenConfigurationConventionWASM;
968
2165
  conventionsChangeRules: ChangeControlRulesWASM;
@@ -988,8 +2185,15 @@ export class TokenConfigurationWASM {
988
2185
  set description(value: string | null | undefined);
989
2186
  }
990
2187
  export class TokenDestroyFrozenFundsTransitionWASM {
991
- free(): void;
992
- 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);
993
2197
  readonly __type: string;
994
2198
  base: TokenBaseTransitionWASM;
995
2199
  get publicNote(): string | undefined;
@@ -998,26 +2202,55 @@ export class TokenDestroyFrozenFundsTransitionWASM {
998
2202
  set frozenIdentityId(value: any);
999
2203
  }
1000
2204
  export class TokenDirectPurchaseTransitionWASM {
1001
- free(): void;
1002
- 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);
1003
2214
  readonly __type: string;
1004
2215
  base: TokenBaseTransitionWASM;
1005
2216
  tokenCount: bigint;
1006
2217
  totalAgreedPrice: bigint;
1007
2218
  }
1008
2219
  export class TokenDistributionRecipientWASM {
1009
- private constructor();
1010
- free(): void;
1011
- static ContractOwner(): TokenDistributionRecipientWASM;
1012
- static Identity(js_identity_id: any): TokenDistributionRecipientWASM;
1013
- static EvonodesByParticipation(): TokenDistributionRecipientWASM;
1014
- getType(): string;
1015
- 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;
1016
2237
  readonly __type: string;
1017
2238
  }
1018
2239
  export class TokenDistributionRulesWASM {
1019
- free(): void;
1020
- 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);
1021
2254
  get perpetualDistribution(): TokenPerpetualDistributionWASM | undefined;
1022
2255
  set perpetualDistribution(value: any);
1023
2256
  perpetualDistributionRules: ChangeControlRulesWASM;
@@ -1031,8 +2264,15 @@ export class TokenDistributionRulesWASM {
1031
2264
  changeDirectPurchasePricingRules: ChangeControlRulesWASM;
1032
2265
  }
1033
2266
  export class TokenEmergencyActionTransitionWASM {
1034
- free(): void;
1035
- 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);
1036
2276
  readonly __type: string;
1037
2277
  base: TokenBaseTransitionWASM;
1038
2278
  get publicNote(): string | undefined;
@@ -1041,8 +2281,15 @@ export class TokenEmergencyActionTransitionWASM {
1041
2281
  set emergencyAction(value: TokenEmergencyActionWASM);
1042
2282
  }
1043
2283
  export class TokenFreezeTransitionWASM {
1044
- free(): void;
1045
- 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);
1046
2293
  readonly __type: string;
1047
2294
  base: TokenBaseTransitionWASM;
1048
2295
  get publicNote(): string | undefined;
@@ -1051,8 +2298,18 @@ export class TokenFreezeTransitionWASM {
1051
2298
  set frozenIdentityId(value: any);
1052
2299
  }
1053
2300
  export class TokenKeepsHistoryRulesWASM {
1054
- free(): void;
1055
- 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);
1056
2313
  readonly __type: string;
1057
2314
  keepsTransferHistory: boolean;
1058
2315
  keepsFreezingHistory: boolean;
@@ -1062,15 +2319,33 @@ export class TokenKeepsHistoryRulesWASM {
1062
2319
  keepsDirectPurchaseHistory: boolean;
1063
2320
  }
1064
2321
  export class TokenMarketplaceRulesWASM {
1065
- free(): void;
1066
- 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);
1067
2330
  tradeMode: TokenTradeModeWASM;
1068
2331
  tradeModeChangeRules: ChangeControlRulesWASM;
1069
2332
  }
1070
2333
  export class TokenMintTransitionWASM {
1071
- free(): void;
1072
- constructor(base: TokenBaseTransitionWASM, js_issued_to_identity_id: any, amount: bigint, public_note?: string | null);
1073
- 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;
1074
2349
  readonly __type: string;
1075
2350
  get issuedToIdentityId(): IdentifierWASM | undefined;
1076
2351
  set issuedToIdentityId(value: any);
@@ -1080,30 +2355,60 @@ export class TokenMintTransitionWASM {
1080
2355
  set publicNote(value: string | null | undefined);
1081
2356
  }
1082
2357
  export class TokenPerpetualDistributionWASM {
1083
- free(): void;
1084
- 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);
1085
2366
  readonly __type: string;
1086
2367
  distributionType: RewardDistributionTypeWASM;
1087
2368
  distributionRecipient: TokenDistributionRecipientWASM;
1088
2369
  }
1089
2370
  export class TokenPreProgrammedDistributionWASM {
1090
- free(): void;
1091
- constructor(js_distributions: any);
2371
+ /** @ignore */
2372
+ free(): void;
2373
+ /**
2374
+ * * @param {any} js_distributions
2375
+ * @returns {TokenPreProgrammedDistributionWASM}
2376
+ */
2377
+ constructor(js_distributions: any);
1092
2378
  readonly __type: string;
1093
2379
  distributions: any;
1094
2380
  }
1095
2381
  export class TokenPricingScheduleWASM {
1096
- private constructor();
1097
- free(): void;
1098
- static SinglePrice(credits: bigint): TokenPricingScheduleWASM;
1099
- static SetPrices(js_prices: any): TokenPricingScheduleWASM;
1100
- getScheduleType(): string;
1101
- 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;
1102
2400
  readonly __type: string;
1103
2401
  }
1104
2402
  export class TokenSetPriceForDirectPurchaseTransitionWASM {
1105
- free(): void;
1106
- 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);
1107
2412
  readonly __type: string;
1108
2413
  base: TokenBaseTransitionWASM;
1109
2414
  get publicNote(): string | undefined;
@@ -1111,15 +2416,29 @@ export class TokenSetPriceForDirectPurchaseTransitionWASM {
1111
2416
  price: any;
1112
2417
  }
1113
2418
  export class TokenTradeModeWASM {
1114
- private constructor();
1115
- free(): void;
1116
- static NotTradeable(): TokenTradeModeWASM;
1117
- 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;
1118
2427
  readonly __type: string;
1119
2428
  }
1120
2429
  export class TokenTransferTransitionWASM {
1121
- free(): void;
1122
- 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);
1123
2442
  readonly __type: string;
1124
2443
  amount: bigint;
1125
2444
  base: TokenBaseTransitionWASM;
@@ -1133,13 +2452,26 @@ export class TokenTransferTransitionWASM {
1133
2452
  set recipientId(value: any);
1134
2453
  }
1135
2454
  export class TokenTransitionWASM {
1136
- free(): void;
1137
- constructor(js_transition: any);
1138
- getTransition(): any;
1139
- getTransitionTypeNumber(): number;
1140
- getTransitionType(): string;
1141
- getHistoricalDocumentTypeName(): string;
1142
- 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;
1143
2475
  readonly __type: string;
1144
2476
  identityContractNonce: bigint;
1145
2477
  get tokenId(): IdentifierWASM;
@@ -1148,8 +2480,15 @@ export class TokenTransitionWASM {
1148
2480
  set contractId(value: any);
1149
2481
  }
1150
2482
  export class TokenUnFreezeTransitionWASM {
1151
- free(): void;
1152
- 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);
1153
2492
  readonly __type: string;
1154
2493
  base: TokenBaseTransitionWASM;
1155
2494
  get publicNote(): string | undefined;
@@ -1158,18 +2497,34 @@ export class TokenUnFreezeTransitionWASM {
1158
2497
  set frozenIdentityId(value: any);
1159
2498
  }
1160
2499
  export class TxOutWASM {
1161
- free(): void;
1162
- constructor(value: bigint, script_pubkey: any);
1163
- 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;
1164
2510
  readonly __type: string;
1165
2511
  value: bigint;
1166
2512
  scriptPubKeyHex: string;
1167
2513
  scriptPubKeyBytes: Uint8Array;
1168
2514
  }
1169
2515
  export class VotePollWASM {
1170
- free(): void;
1171
- constructor(js_contract_id: any, document_type_name: string, index_name: string, js_index_values: any);
1172
- 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;
1173
2528
  readonly __type: string;
1174
2529
  get contractId(): IdentifierWASM;
1175
2530
  set contractId(value: any);
@@ -1179,8 +2534,14 @@ export class VotePollWASM {
1179
2534
  set indexValues(value: any);
1180
2535
  }
1181
2536
  export class VoteWASM {
1182
- free(): void;
1183
- 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);
1184
2545
  readonly __type: string;
1185
2546
  votePoll: VotePollWASM;
1186
2547
  resourceVoteChoice: ResourceVoteChoiceWASM;