pshenmic-dpp 1.0.10 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/wasm/pshenmic_dpp.d.ts +477 -477
- package/package.json +1 -1
|
@@ -75,7 +75,7 @@ export class ActionTakerWASM {
|
|
|
75
75
|
/** @ignore */
|
|
76
76
|
free(): void;
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
* @param {any} value
|
|
79
79
|
* @returns {ActionTakerWASM}
|
|
80
80
|
*/
|
|
81
81
|
constructor(value: any);
|
|
@@ -88,20 +88,20 @@ export class AssetLockProofWASM {
|
|
|
88
88
|
/** @ignore */
|
|
89
89
|
free(): void;
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
91
|
+
* @param {any} js_asset_lock_proof_type
|
|
92
92
|
* @returns {AssetLockProofWASM}
|
|
93
93
|
*/
|
|
94
94
|
constructor(js_asset_lock_proof_type: any);
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
96
|
+
* @param {Uint8Array<ArrayBufferLike>} instant_lock
|
|
97
|
+
* @param {Uint8Array<ArrayBufferLike>} transaction
|
|
98
|
+
* @param {number} output_index
|
|
99
99
|
* @returns {AssetLockProofWASM}
|
|
100
100
|
*/
|
|
101
101
|
static createInstantAssetLockProof(instant_lock: Uint8Array, transaction: Uint8Array, output_index: number): AssetLockProofWASM;
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
104
|
-
*
|
|
103
|
+
* @param {number} core_chain_locked_height
|
|
104
|
+
* @param {OutPointWASM} out_point
|
|
105
105
|
* @returns {AssetLockProofWASM}
|
|
106
106
|
*/
|
|
107
107
|
static createChainAssetLockProof(core_chain_locked_height: number, out_point: OutPointWASM): AssetLockProofWASM;
|
|
@@ -127,14 +127,14 @@ export class AuthorizedActionTakersWASM {
|
|
|
127
127
|
/** @returns {AuthorizedActionTakersWASM} */
|
|
128
128
|
static ContractOwner(): AuthorizedActionTakersWASM;
|
|
129
129
|
/**
|
|
130
|
-
*
|
|
130
|
+
* @param {any} js_identity_id
|
|
131
131
|
* @returns {AuthorizedActionTakersWASM}
|
|
132
132
|
*/
|
|
133
133
|
static Identity(js_identity_id: any): AuthorizedActionTakersWASM;
|
|
134
134
|
/** @returns {AuthorizedActionTakersWASM} */
|
|
135
135
|
static MainGroup(): AuthorizedActionTakersWASM;
|
|
136
136
|
/**
|
|
137
|
-
*
|
|
137
|
+
* @param {number} group_contract_position
|
|
138
138
|
* @returns {AuthorizedActionTakersWASM}
|
|
139
139
|
*/
|
|
140
140
|
static Group(group_contract_position: number): AuthorizedActionTakersWASM;
|
|
@@ -150,29 +150,29 @@ export class BatchTransitionWASM {
|
|
|
150
150
|
/** @ignore */
|
|
151
151
|
free(): void;
|
|
152
152
|
/**
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
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
158
|
* @returns {BatchTransitionWASM}
|
|
159
159
|
*/
|
|
160
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
161
|
/**
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
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
167
|
* @returns {BatchTransitionWASM}
|
|
168
168
|
*/
|
|
169
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
|
-
/**
|
|
170
|
+
/** @param {bigint} nonce */
|
|
171
171
|
setIdentityContractNonce(nonce: bigint): void;
|
|
172
172
|
/** @returns {StateTransitionWASM} */
|
|
173
173
|
toStateTransition(): StateTransitionWASM;
|
|
174
174
|
/**
|
|
175
|
-
*
|
|
175
|
+
* @param {StateTransitionWASM} state_transition
|
|
176
176
|
* @returns {BatchTransitionWASM}
|
|
177
177
|
*/
|
|
178
178
|
static fromStateTransition(state_transition: StateTransitionWASM): BatchTransitionWASM;
|
|
@@ -183,17 +183,17 @@ export class BatchTransitionWASM {
|
|
|
183
183
|
/** @returns {string} */
|
|
184
184
|
base64(): string;
|
|
185
185
|
/**
|
|
186
|
-
*
|
|
186
|
+
* @param {Uint8Array<ArrayBufferLike>} bytes
|
|
187
187
|
* @returns {BatchTransitionWASM}
|
|
188
188
|
*/
|
|
189
189
|
static fromBytes(bytes: Uint8Array): BatchTransitionWASM;
|
|
190
190
|
/**
|
|
191
|
-
*
|
|
191
|
+
* @param {string} base64
|
|
192
192
|
* @returns {BatchTransitionWASM}
|
|
193
193
|
*/
|
|
194
194
|
static fromBase64(base64: string): BatchTransitionWASM;
|
|
195
195
|
/**
|
|
196
|
-
*
|
|
196
|
+
* @param {string} hex
|
|
197
197
|
* @returns {BatchTransitionWASM}
|
|
198
198
|
*/
|
|
199
199
|
static fromHex(hex: string): BatchTransitionWASM;
|
|
@@ -211,7 +211,7 @@ export class BatchedTransitionWASM {
|
|
|
211
211
|
/** @ignore */
|
|
212
212
|
free(): void;
|
|
213
213
|
/**
|
|
214
|
-
*
|
|
214
|
+
* @param {any} js_transition
|
|
215
215
|
* @returns {BatchedTransitionWASM}
|
|
216
216
|
*/
|
|
217
217
|
constructor(js_transition: any);
|
|
@@ -231,13 +231,13 @@ export class ChainAssetLockProofWASM {
|
|
|
231
231
|
/** @ignore */
|
|
232
232
|
free(): void;
|
|
233
233
|
/**
|
|
234
|
-
*
|
|
235
|
-
*
|
|
234
|
+
* @param {number} core_chain_locked_height
|
|
235
|
+
* @param {OutPointWASM} out_point
|
|
236
236
|
* @returns {ChainAssetLockProofWASM}
|
|
237
237
|
*/
|
|
238
238
|
constructor(core_chain_locked_height: number, out_point: OutPointWASM);
|
|
239
239
|
/**
|
|
240
|
-
*
|
|
240
|
+
* @param {any} raw_asset_lock_proof
|
|
241
241
|
* @returns {ChainAssetLockProofWASM}
|
|
242
242
|
*/
|
|
243
243
|
static fromRawObject(raw_asset_lock_proof: any): ChainAssetLockProofWASM;
|
|
@@ -249,21 +249,21 @@ export class ChangeControlRulesWASM {
|
|
|
249
249
|
/** @ignore */
|
|
250
250
|
free(): void;
|
|
251
251
|
/**
|
|
252
|
-
*
|
|
253
|
-
*
|
|
254
|
-
*
|
|
255
|
-
*
|
|
256
|
-
*
|
|
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
257
|
* @returns {ChangeControlRulesWASM}
|
|
258
258
|
*/
|
|
259
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
260
|
/**
|
|
261
|
-
*
|
|
262
|
-
*
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
*
|
|
266
|
-
*
|
|
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
267
|
* @returns {boolean}
|
|
268
268
|
*/
|
|
269
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;
|
|
@@ -280,13 +280,13 @@ export class ContractBoundsWASM {
|
|
|
280
280
|
/** @ignore */
|
|
281
281
|
free(): void;
|
|
282
282
|
/**
|
|
283
|
-
*
|
|
283
|
+
* @param {any} js_contract_id
|
|
284
284
|
* @returns {ContractBoundsWASM}
|
|
285
285
|
*/
|
|
286
286
|
static SingleContract(js_contract_id: any): ContractBoundsWASM;
|
|
287
287
|
/**
|
|
288
|
-
*
|
|
289
|
-
*
|
|
288
|
+
* @param {any} js_contract_id
|
|
289
|
+
* @param {string} document_type_name
|
|
290
290
|
* @returns {ContractBoundsWASM}
|
|
291
291
|
*/
|
|
292
292
|
static SingleContractDocumentType(js_contract_id: any, document_type_name: string): ContractBoundsWASM;
|
|
@@ -304,17 +304,17 @@ export class CoreScriptWASM {
|
|
|
304
304
|
/** @ignore */
|
|
305
305
|
free(): void;
|
|
306
306
|
/**
|
|
307
|
-
*
|
|
307
|
+
* @param {Uint8Array<ArrayBufferLike>} bytes
|
|
308
308
|
* @returns {CoreScriptWASM}
|
|
309
309
|
*/
|
|
310
310
|
static fromBytes(bytes: Uint8Array): CoreScriptWASM;
|
|
311
311
|
/**
|
|
312
|
-
*
|
|
312
|
+
* @param {Uint8Array<ArrayBufferLike>} js_key_hash
|
|
313
313
|
* @returns {CoreScriptWASM}
|
|
314
314
|
*/
|
|
315
315
|
static newP2PKH(js_key_hash: Uint8Array): CoreScriptWASM;
|
|
316
316
|
/**
|
|
317
|
-
*
|
|
317
|
+
* @param {Uint8Array<ArrayBufferLike>} js_script_hash
|
|
318
318
|
* @returns {CoreScriptWASM}
|
|
319
319
|
*/
|
|
320
320
|
static newP2SH(js_script_hash: Uint8Array): CoreScriptWASM;
|
|
@@ -334,24 +334,24 @@ export class DataContractCreateTransitionWASM {
|
|
|
334
334
|
/** @ignore */
|
|
335
335
|
free(): void;
|
|
336
336
|
/**
|
|
337
|
-
*
|
|
338
|
-
*
|
|
339
|
-
*
|
|
337
|
+
* @param {DataContractWASM} data_contract
|
|
338
|
+
* @param {bigint} identity_nonce
|
|
339
|
+
* @param {any} js_platform_version
|
|
340
340
|
* @returns {DataContractCreateTransitionWASM}
|
|
341
341
|
*/
|
|
342
342
|
constructor(data_contract: DataContractWASM, identity_nonce: bigint, js_platform_version: any);
|
|
343
343
|
/**
|
|
344
|
-
*
|
|
344
|
+
* @param {Uint8Array<ArrayBufferLike>} bytes
|
|
345
345
|
* @returns {DataContractCreateTransitionWASM}
|
|
346
346
|
*/
|
|
347
347
|
static fromBytes(bytes: Uint8Array): DataContractCreateTransitionWASM;
|
|
348
348
|
/**
|
|
349
|
-
*
|
|
349
|
+
* @param {string} hex
|
|
350
350
|
* @returns {DataContractCreateTransitionWASM}
|
|
351
351
|
*/
|
|
352
352
|
static fromHex(hex: string): DataContractCreateTransitionWASM;
|
|
353
353
|
/**
|
|
354
|
-
*
|
|
354
|
+
* @param {string} base64
|
|
355
355
|
* @returns {DataContractCreateTransitionWASM}
|
|
356
356
|
*/
|
|
357
357
|
static fromBase64(base64: string): DataContractCreateTransitionWASM;
|
|
@@ -362,25 +362,25 @@ export class DataContractCreateTransitionWASM {
|
|
|
362
362
|
/** @returns {string} */
|
|
363
363
|
base64(): string;
|
|
364
364
|
/**
|
|
365
|
-
*
|
|
365
|
+
* @param {number} protocol_version
|
|
366
366
|
* @returns {boolean}
|
|
367
367
|
*/
|
|
368
368
|
verifyProtocolVersion(protocol_version: number): boolean;
|
|
369
369
|
/**
|
|
370
|
-
*
|
|
371
|
-
*
|
|
370
|
+
* @param {DataContractWASM} data_contract
|
|
371
|
+
* @param {any} js_platform_version
|
|
372
372
|
*/
|
|
373
373
|
setDataContract(data_contract: DataContractWASM, js_platform_version: any): void;
|
|
374
374
|
/**
|
|
375
|
-
*
|
|
376
|
-
*
|
|
375
|
+
* @param {any} js_platform_version
|
|
376
|
+
* @param {boolean} full_validation
|
|
377
377
|
* @returns {DataContractWASM}
|
|
378
378
|
*/
|
|
379
379
|
getDataContract(js_platform_version: any, full_validation?: boolean | null): DataContractWASM;
|
|
380
380
|
/** @returns {StateTransitionWASM} */
|
|
381
381
|
toStateTransition(): StateTransitionWASM;
|
|
382
382
|
/**
|
|
383
|
-
*
|
|
383
|
+
* @param {StateTransitionWASM} state_transition
|
|
384
384
|
* @returns {DataContractCreateTransitionWASM}
|
|
385
385
|
*/
|
|
386
386
|
static fromStateTransition(state_transition: StateTransitionWASM): DataContractCreateTransitionWASM;
|
|
@@ -392,24 +392,24 @@ export class DataContractUpdateTransitionWASM {
|
|
|
392
392
|
/** @ignore */
|
|
393
393
|
free(): void;
|
|
394
394
|
/**
|
|
395
|
-
*
|
|
396
|
-
*
|
|
397
|
-
*
|
|
395
|
+
* @param {DataContractWASM} data_contract
|
|
396
|
+
* @param {bigint} identity_nonce
|
|
397
|
+
* @param {any} js_platform_version
|
|
398
398
|
* @returns {DataContractUpdateTransitionWASM}
|
|
399
399
|
*/
|
|
400
400
|
constructor(data_contract: DataContractWASM, identity_nonce: bigint, js_platform_version: any);
|
|
401
401
|
/**
|
|
402
|
-
*
|
|
402
|
+
* @param {Uint8Array<ArrayBufferLike>} bytes
|
|
403
403
|
* @returns {DataContractUpdateTransitionWASM}
|
|
404
404
|
*/
|
|
405
405
|
static fromBytes(bytes: Uint8Array): DataContractUpdateTransitionWASM;
|
|
406
406
|
/**
|
|
407
|
-
*
|
|
407
|
+
* @param {string} hex
|
|
408
408
|
* @returns {DataContractUpdateTransitionWASM}
|
|
409
409
|
*/
|
|
410
410
|
static fromHex(hex: string): DataContractUpdateTransitionWASM;
|
|
411
411
|
/**
|
|
412
|
-
*
|
|
412
|
+
* @param {string} base64
|
|
413
413
|
* @returns {DataContractUpdateTransitionWASM}
|
|
414
414
|
*/
|
|
415
415
|
static fromBase64(base64: string): DataContractUpdateTransitionWASM;
|
|
@@ -420,25 +420,25 @@ export class DataContractUpdateTransitionWASM {
|
|
|
420
420
|
/** @returns {string} */
|
|
421
421
|
base64(): string;
|
|
422
422
|
/**
|
|
423
|
-
*
|
|
423
|
+
* @param {number} protocol_version
|
|
424
424
|
* @returns {boolean}
|
|
425
425
|
*/
|
|
426
426
|
verifyProtocolVersion(protocol_version: number): boolean;
|
|
427
427
|
/**
|
|
428
|
-
*
|
|
429
|
-
*
|
|
428
|
+
* @param {DataContractWASM} data_contract
|
|
429
|
+
* @param {any} js_platform_version
|
|
430
430
|
*/
|
|
431
431
|
setDataContract(data_contract: DataContractWASM, js_platform_version: any): void;
|
|
432
432
|
/**
|
|
433
|
-
*
|
|
434
|
-
*
|
|
433
|
+
* @param {boolean} full_validation
|
|
434
|
+
* @param {any} js_platform_version
|
|
435
435
|
* @returns {DataContractWASM}
|
|
436
436
|
*/
|
|
437
437
|
getDataContract(full_validation: boolean | null | undefined, js_platform_version: any): DataContractWASM;
|
|
438
438
|
/** @returns {StateTransitionWASM} */
|
|
439
439
|
toStateTransition(): StateTransitionWASM;
|
|
440
440
|
/**
|
|
441
|
-
*
|
|
441
|
+
* @param {StateTransitionWASM} state_transition
|
|
442
442
|
* @returns {DataContractUpdateTransitionWASM}
|
|
443
443
|
*/
|
|
444
444
|
static fromStateTransition(state_transition: StateTransitionWASM): DataContractUpdateTransitionWASM;
|
|
@@ -450,61 +450,61 @@ export class DataContractWASM {
|
|
|
450
450
|
/** @ignore */
|
|
451
451
|
free(): void;
|
|
452
452
|
/**
|
|
453
|
-
*
|
|
454
|
-
*
|
|
455
|
-
*
|
|
456
|
-
*
|
|
457
|
-
*
|
|
458
|
-
*
|
|
459
|
-
*
|
|
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
460
|
* @returns {DataContractWASM}
|
|
461
461
|
*/
|
|
462
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
463
|
/**
|
|
464
|
-
*
|
|
465
|
-
*
|
|
466
|
-
*
|
|
464
|
+
* @param {any} js_value
|
|
465
|
+
* @param {boolean} full_validation
|
|
466
|
+
* @param {any} js_platform_version
|
|
467
467
|
* @returns {DataContractWASM}
|
|
468
468
|
*/
|
|
469
469
|
static fromValue(js_value: any, full_validation: boolean, js_platform_version: any): DataContractWASM;
|
|
470
470
|
/**
|
|
471
|
-
*
|
|
472
|
-
*
|
|
473
|
-
*
|
|
471
|
+
* @param {Uint8Array<ArrayBufferLike>} bytes
|
|
472
|
+
* @param {boolean} full_validation
|
|
473
|
+
* @param {any} js_platform_version
|
|
474
474
|
* @returns {DataContractWASM}
|
|
475
475
|
*/
|
|
476
476
|
static fromBytes(bytes: Uint8Array, full_validation: boolean, js_platform_version: any): DataContractWASM;
|
|
477
477
|
/**
|
|
478
|
-
*
|
|
479
|
-
*
|
|
480
|
-
*
|
|
478
|
+
* @param {string} hex
|
|
479
|
+
* @param {boolean} full_validation
|
|
480
|
+
* @param {any} js_platform_version
|
|
481
481
|
* @returns {DataContractWASM}
|
|
482
482
|
*/
|
|
483
483
|
static fromHex(hex: string, full_validation: boolean, js_platform_version: any): DataContractWASM;
|
|
484
484
|
/**
|
|
485
|
-
*
|
|
486
|
-
*
|
|
487
|
-
*
|
|
485
|
+
* @param {string} base64
|
|
486
|
+
* @param {boolean} full_validation
|
|
487
|
+
* @param {any} js_platform_version
|
|
488
488
|
* @returns {DataContractWASM}
|
|
489
489
|
*/
|
|
490
490
|
static fromBase64(base64: string, full_validation: boolean, js_platform_version: any): DataContractWASM;
|
|
491
491
|
/**
|
|
492
|
-
*
|
|
492
|
+
* @param {any} js_platform_version
|
|
493
493
|
* @returns {Uint8Array<ArrayBufferLike>}
|
|
494
494
|
*/
|
|
495
495
|
bytes(js_platform_version: any): Uint8Array;
|
|
496
496
|
/**
|
|
497
|
-
*
|
|
497
|
+
* @param {any} js_platform_version
|
|
498
498
|
* @returns {string}
|
|
499
499
|
*/
|
|
500
500
|
hex(js_platform_version: any): string;
|
|
501
501
|
/**
|
|
502
|
-
*
|
|
502
|
+
* @param {any} js_platform_version
|
|
503
503
|
* @returns {string}
|
|
504
504
|
*/
|
|
505
505
|
base64(js_platform_version: any): string;
|
|
506
506
|
/**
|
|
507
|
-
*
|
|
507
|
+
* @param {any} js_platform_version
|
|
508
508
|
* @returns {any}
|
|
509
509
|
*/
|
|
510
510
|
toValue(js_platform_version: any): any;
|
|
@@ -513,25 +513,25 @@ export class DataContractWASM {
|
|
|
513
513
|
/** @returns {any} */
|
|
514
514
|
getConfig(): any;
|
|
515
515
|
/**
|
|
516
|
-
*
|
|
517
|
-
*
|
|
516
|
+
* @param {any} js_config
|
|
517
|
+
* @param {any} js_platform_version
|
|
518
518
|
*/
|
|
519
519
|
setConfig(js_config: any, js_platform_version: any): void;
|
|
520
520
|
/**
|
|
521
|
-
*
|
|
522
|
-
*
|
|
523
|
-
*
|
|
524
|
-
*
|
|
521
|
+
* @param {any} js_schema
|
|
522
|
+
* @param {object} js_definitions
|
|
523
|
+
* @param {boolean} full_validation
|
|
524
|
+
* @param {any} js_platform_version
|
|
525
525
|
*/
|
|
526
526
|
setSchemas(js_schema: any, js_definitions: object | null | undefined, full_validation: boolean, js_platform_version: any): void;
|
|
527
527
|
/**
|
|
528
|
-
*
|
|
528
|
+
* @param {any} js_platform_version
|
|
529
529
|
* @returns {any}
|
|
530
530
|
*/
|
|
531
531
|
toJson(js_platform_version: any): any;
|
|
532
532
|
/**
|
|
533
|
-
*
|
|
534
|
-
*
|
|
533
|
+
* @param {any} js_owner_id
|
|
534
|
+
* @param {bigint} identity_nonce
|
|
535
535
|
* @returns {IdentifierWASM}
|
|
536
536
|
*/
|
|
537
537
|
static generateId(js_owner_id: any, identity_nonce: bigint): IdentifierWASM;
|
|
@@ -575,92 +575,92 @@ export class DistributionFunctionWASM {
|
|
|
575
575
|
/** @ignore */
|
|
576
576
|
free(): void;
|
|
577
577
|
/**
|
|
578
|
-
*
|
|
578
|
+
* @param {bigint} amount
|
|
579
579
|
* @returns {DistributionFunctionWASM}
|
|
580
580
|
*/
|
|
581
581
|
static FixedAmountDistribution(amount: bigint): DistributionFunctionWASM;
|
|
582
582
|
/**
|
|
583
|
-
*
|
|
584
|
-
*
|
|
583
|
+
* @param {bigint} min
|
|
584
|
+
* @param {bigint} max
|
|
585
585
|
* @returns {DistributionFunctionWASM}
|
|
586
586
|
*/
|
|
587
587
|
static Random(min: bigint, max: bigint): DistributionFunctionWASM;
|
|
588
588
|
/**
|
|
589
|
-
*
|
|
590
|
-
*
|
|
591
|
-
*
|
|
592
|
-
*
|
|
593
|
-
*
|
|
594
|
-
*
|
|
595
|
-
*
|
|
596
|
-
*
|
|
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
597
|
* @returns {DistributionFunctionWASM}
|
|
598
598
|
*/
|
|
599
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
600
|
/**
|
|
601
|
-
*
|
|
601
|
+
* @param {any} js_steps_with_amount
|
|
602
602
|
* @returns {DistributionFunctionWASM}
|
|
603
603
|
*/
|
|
604
604
|
static Stepwise(js_steps_with_amount: any): DistributionFunctionWASM;
|
|
605
605
|
/**
|
|
606
|
-
*
|
|
607
|
-
*
|
|
608
|
-
*
|
|
609
|
-
*
|
|
610
|
-
*
|
|
611
|
-
*
|
|
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
612
|
* @returns {DistributionFunctionWASM}
|
|
613
613
|
*/
|
|
614
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
615
|
/**
|
|
616
|
-
*
|
|
617
|
-
*
|
|
618
|
-
*
|
|
619
|
-
*
|
|
620
|
-
*
|
|
621
|
-
*
|
|
622
|
-
*
|
|
623
|
-
*
|
|
624
|
-
*
|
|
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
625
|
* @returns {DistributionFunctionWASM}
|
|
626
626
|
*/
|
|
627
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
628
|
/**
|
|
629
|
-
*
|
|
630
|
-
*
|
|
631
|
-
*
|
|
632
|
-
*
|
|
633
|
-
*
|
|
634
|
-
*
|
|
635
|
-
*
|
|
636
|
-
*
|
|
637
|
-
*
|
|
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
638
|
* @returns {DistributionFunctionWASM}
|
|
639
639
|
*/
|
|
640
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
641
|
/**
|
|
642
|
-
*
|
|
643
|
-
*
|
|
644
|
-
*
|
|
645
|
-
*
|
|
646
|
-
*
|
|
647
|
-
*
|
|
648
|
-
*
|
|
649
|
-
*
|
|
650
|
-
*
|
|
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
651
|
* @returns {DistributionFunctionWASM}
|
|
652
652
|
*/
|
|
653
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
654
|
/**
|
|
655
|
-
*
|
|
656
|
-
*
|
|
657
|
-
*
|
|
658
|
-
*
|
|
659
|
-
*
|
|
660
|
-
*
|
|
661
|
-
*
|
|
662
|
-
*
|
|
663
|
-
*
|
|
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
664
|
* @returns {DistributionFunctionWASM}
|
|
665
665
|
*/
|
|
666
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;
|
|
@@ -768,10 +768,10 @@ export class DocumentBaseTransitionWASM {
|
|
|
768
768
|
/** @ignore */
|
|
769
769
|
free(): void;
|
|
770
770
|
/**
|
|
771
|
-
*
|
|
772
|
-
*
|
|
773
|
-
*
|
|
774
|
-
*
|
|
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
775
|
* @returns {DocumentBaseTransitionWASM}
|
|
776
776
|
*/
|
|
777
777
|
constructor(js_document_id: any, identity_contract_nonce: bigint, document_type_name: string, js_data_contract_id: any);
|
|
@@ -787,8 +787,8 @@ export class DocumentCreateTransitionWASM {
|
|
|
787
787
|
/** @ignore */
|
|
788
788
|
free(): void;
|
|
789
789
|
/**
|
|
790
|
-
*
|
|
791
|
-
*
|
|
790
|
+
* @param {DocumentWASM} document
|
|
791
|
+
* @param {bigint} identity_contract_nonce
|
|
792
792
|
* @returns {DocumentCreateTransitionWASM}
|
|
793
793
|
*/
|
|
794
794
|
constructor(document: DocumentWASM, identity_contract_nonce: bigint);
|
|
@@ -797,7 +797,7 @@ export class DocumentCreateTransitionWASM {
|
|
|
797
797
|
/** @returns {DocumentTransitionWASM} */
|
|
798
798
|
toDocumentTransition(): DocumentTransitionWASM;
|
|
799
799
|
/**
|
|
800
|
-
*
|
|
800
|
+
* @param {DocumentTransitionWASM} js_transition
|
|
801
801
|
* @returns {DocumentCreateTransitionWASM}
|
|
802
802
|
*/
|
|
803
803
|
static fromDocumentTransition(js_transition: DocumentTransitionWASM): DocumentCreateTransitionWASM;
|
|
@@ -812,15 +812,15 @@ export class DocumentDeleteTransitionWASM {
|
|
|
812
812
|
/** @ignore */
|
|
813
813
|
free(): void;
|
|
814
814
|
/**
|
|
815
|
-
*
|
|
816
|
-
*
|
|
815
|
+
* @param {DocumentWASM} document
|
|
816
|
+
* @param {bigint} identity_contract_nonce
|
|
817
817
|
* @returns {DocumentDeleteTransitionWASM}
|
|
818
818
|
*/
|
|
819
819
|
constructor(document: DocumentWASM, identity_contract_nonce: bigint);
|
|
820
820
|
/** @returns {DocumentTransitionWASM} */
|
|
821
821
|
toDocumentTransition(): DocumentTransitionWASM;
|
|
822
822
|
/**
|
|
823
|
-
*
|
|
823
|
+
* @param {DocumentTransitionWASM} js_transition
|
|
824
824
|
* @returns {DocumentDeleteTransitionWASM}
|
|
825
825
|
*/
|
|
826
826
|
static fromDocumentTransition(js_transition: DocumentTransitionWASM): DocumentDeleteTransitionWASM;
|
|
@@ -831,16 +831,16 @@ export class DocumentPurchaseTransitionWASM {
|
|
|
831
831
|
/** @ignore */
|
|
832
832
|
free(): void;
|
|
833
833
|
/**
|
|
834
|
-
*
|
|
835
|
-
*
|
|
836
|
-
*
|
|
834
|
+
* @param {DocumentWASM} document
|
|
835
|
+
* @param {bigint} identity_contract_nonce
|
|
836
|
+
* @param {bigint} amount
|
|
837
837
|
* @returns {DocumentPurchaseTransitionWASM}
|
|
838
838
|
*/
|
|
839
839
|
constructor(document: DocumentWASM, identity_contract_nonce: bigint, amount: bigint);
|
|
840
840
|
/** @returns {DocumentTransitionWASM} */
|
|
841
841
|
toDocumentTransition(): DocumentTransitionWASM;
|
|
842
842
|
/**
|
|
843
|
-
*
|
|
843
|
+
* @param {DocumentTransitionWASM} js_transition
|
|
844
844
|
* @returns {DocumentPurchaseTransitionWASM}
|
|
845
845
|
*/
|
|
846
846
|
static fromDocumentTransition(js_transition: DocumentTransitionWASM): DocumentPurchaseTransitionWASM;
|
|
@@ -853,15 +853,15 @@ export class DocumentReplaceTransitionWASM {
|
|
|
853
853
|
/** @ignore */
|
|
854
854
|
free(): void;
|
|
855
855
|
/**
|
|
856
|
-
*
|
|
857
|
-
*
|
|
856
|
+
* @param {DocumentWASM} document
|
|
857
|
+
* @param {bigint} identity_contract_nonce
|
|
858
858
|
* @returns {DocumentReplaceTransitionWASM}
|
|
859
859
|
*/
|
|
860
860
|
constructor(document: DocumentWASM, identity_contract_nonce: bigint);
|
|
861
861
|
/** @returns {DocumentTransitionWASM} */
|
|
862
862
|
toDocumentTransition(): DocumentTransitionWASM;
|
|
863
863
|
/**
|
|
864
|
-
*
|
|
864
|
+
* @param {DocumentTransitionWASM} js_transition
|
|
865
865
|
* @returns {DocumentReplaceTransitionWASM}
|
|
866
866
|
*/
|
|
867
867
|
static fromDocumentTransition(js_transition: DocumentTransitionWASM): DocumentReplaceTransitionWASM;
|
|
@@ -874,16 +874,16 @@ export class DocumentTransferTransitionWASM {
|
|
|
874
874
|
/** @ignore */
|
|
875
875
|
free(): void;
|
|
876
876
|
/**
|
|
877
|
-
*
|
|
878
|
-
*
|
|
879
|
-
*
|
|
877
|
+
* @param {DocumentWASM} document
|
|
878
|
+
* @param {bigint} identity_contract_nonce
|
|
879
|
+
* @param {any} js_recipient_owner_id
|
|
880
880
|
* @returns {DocumentTransferTransitionWASM}
|
|
881
881
|
*/
|
|
882
882
|
constructor(document: DocumentWASM, identity_contract_nonce: bigint, js_recipient_owner_id: any);
|
|
883
883
|
/** @returns {DocumentTransitionWASM} */
|
|
884
884
|
toDocumentTransition(): DocumentTransitionWASM;
|
|
885
885
|
/**
|
|
886
|
-
*
|
|
886
|
+
* @param {DocumentTransitionWASM} js_transition
|
|
887
887
|
* @returns {DocumentTransferTransitionWASM}
|
|
888
888
|
*/
|
|
889
889
|
static fromDocumentTransition(js_transition: DocumentTransitionWASM): DocumentTransferTransitionWASM;
|
|
@@ -919,16 +919,16 @@ export class DocumentUpdatePriceTransitionWASM {
|
|
|
919
919
|
/** @ignore */
|
|
920
920
|
free(): void;
|
|
921
921
|
/**
|
|
922
|
-
*
|
|
923
|
-
*
|
|
924
|
-
*
|
|
922
|
+
* @param {DocumentWASM} document
|
|
923
|
+
* @param {bigint} identity_contract_nonce
|
|
924
|
+
* @param {bigint} price
|
|
925
925
|
* @returns {DocumentUpdatePriceTransitionWASM}
|
|
926
926
|
*/
|
|
927
927
|
constructor(document: DocumentWASM, identity_contract_nonce: bigint, price: bigint);
|
|
928
928
|
/** @returns {DocumentTransitionWASM} */
|
|
929
929
|
toDocumentTransition(): DocumentTransitionWASM;
|
|
930
930
|
/**
|
|
931
|
-
*
|
|
931
|
+
* @param {DocumentTransitionWASM} js_transition
|
|
932
932
|
* @returns {DocumentUpdatePriceTransitionWASM}
|
|
933
933
|
*/
|
|
934
934
|
static fromDocumentTransition(js_transition: DocumentTransitionWASM): DocumentUpdatePriceTransitionWASM;
|
|
@@ -940,62 +940,62 @@ export class DocumentWASM {
|
|
|
940
940
|
/** @ignore */
|
|
941
941
|
free(): void;
|
|
942
942
|
/**
|
|
943
|
-
*
|
|
944
|
-
*
|
|
945
|
-
*
|
|
946
|
-
*
|
|
947
|
-
*
|
|
948
|
-
*
|
|
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
949
|
* @returns {DocumentWASM}
|
|
950
950
|
*/
|
|
951
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
952
|
/**
|
|
953
|
-
*
|
|
954
|
-
*
|
|
953
|
+
* @param {DataContractWASM} data_contract
|
|
954
|
+
* @param {any} js_platform_version
|
|
955
955
|
* @returns {Uint8Array<ArrayBufferLike>}
|
|
956
956
|
*/
|
|
957
957
|
bytes(data_contract: DataContractWASM, js_platform_version: any): Uint8Array;
|
|
958
958
|
/**
|
|
959
|
-
*
|
|
960
|
-
*
|
|
959
|
+
* @param {DataContractWASM} data_contract
|
|
960
|
+
* @param {any} js_platform_version
|
|
961
961
|
* @returns {string}
|
|
962
962
|
*/
|
|
963
963
|
hex(data_contract: DataContractWASM, js_platform_version: any): string;
|
|
964
964
|
/**
|
|
965
|
-
*
|
|
966
|
-
*
|
|
965
|
+
* @param {DataContractWASM} data_contract
|
|
966
|
+
* @param {any} js_platform_version
|
|
967
967
|
* @returns {string}
|
|
968
968
|
*/
|
|
969
969
|
base64(data_contract: DataContractWASM, js_platform_version: any): string;
|
|
970
970
|
/**
|
|
971
|
-
*
|
|
972
|
-
*
|
|
973
|
-
*
|
|
974
|
-
*
|
|
971
|
+
* @param {Uint8Array<ArrayBufferLike>} bytes
|
|
972
|
+
* @param {DataContractWASM} data_contract
|
|
973
|
+
* @param {string} type_name
|
|
974
|
+
* @param {any} js_platform_version
|
|
975
975
|
* @returns {DocumentWASM}
|
|
976
976
|
*/
|
|
977
977
|
static fromBytes(bytes: Uint8Array, data_contract: DataContractWASM, type_name: string, js_platform_version: any): DocumentWASM;
|
|
978
978
|
/**
|
|
979
|
-
*
|
|
980
|
-
*
|
|
981
|
-
*
|
|
982
|
-
*
|
|
979
|
+
* @param {string} hex
|
|
980
|
+
* @param {DataContractWASM} data_contract
|
|
981
|
+
* @param {string} type_name
|
|
982
|
+
* @param {any} js_platform_version
|
|
983
983
|
* @returns {DocumentWASM}
|
|
984
984
|
*/
|
|
985
985
|
static fromHex(hex: string, data_contract: DataContractWASM, type_name: string, js_platform_version: any): DocumentWASM;
|
|
986
986
|
/**
|
|
987
|
-
*
|
|
988
|
-
*
|
|
989
|
-
*
|
|
990
|
-
*
|
|
987
|
+
* @param {string} base64
|
|
988
|
+
* @param {DataContractWASM} data_contract
|
|
989
|
+
* @param {string} type_name
|
|
990
|
+
* @param {any} js_platform_version
|
|
991
991
|
* @returns {DocumentWASM}
|
|
992
992
|
*/
|
|
993
993
|
static fromBase64(base64: string, data_contract: DataContractWASM, type_name: string, js_platform_version: any): DocumentWASM;
|
|
994
994
|
/**
|
|
995
|
-
*
|
|
996
|
-
*
|
|
997
|
-
*
|
|
998
|
-
*
|
|
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
999
|
* @returns {Uint8Array<ArrayBufferLike>}
|
|
1000
1000
|
*/
|
|
1001
1001
|
static generateId(js_document_type_name: string, js_owner_id: any, js_data_contract_id: any, opt_entropy?: Uint8Array | null): Uint8Array;
|
|
@@ -1042,9 +1042,9 @@ export class GroupStateTransitionInfoWASM {
|
|
|
1042
1042
|
/** @ignore */
|
|
1043
1043
|
free(): void;
|
|
1044
1044
|
/**
|
|
1045
|
-
*
|
|
1046
|
-
*
|
|
1047
|
-
*
|
|
1045
|
+
* @param {number} group_contract_position
|
|
1046
|
+
* @param {any} action_id
|
|
1047
|
+
* @param {boolean} action_is_proposer
|
|
1048
1048
|
* @returns {GroupStateTransitionInfoWASM}
|
|
1049
1049
|
*/
|
|
1050
1050
|
constructor(group_contract_position: number, action_id: any, action_is_proposer: boolean);
|
|
@@ -1058,14 +1058,14 @@ export class GroupWASM {
|
|
|
1058
1058
|
/** @ignore */
|
|
1059
1059
|
free(): void;
|
|
1060
1060
|
/**
|
|
1061
|
-
*
|
|
1062
|
-
*
|
|
1061
|
+
* @param {any} js_members
|
|
1062
|
+
* @param {number} required_power
|
|
1063
1063
|
* @returns {GroupWASM}
|
|
1064
1064
|
*/
|
|
1065
1065
|
constructor(js_members: any, required_power: number);
|
|
1066
1066
|
/**
|
|
1067
|
-
*
|
|
1068
|
-
*
|
|
1067
|
+
* @param {any} js_member
|
|
1068
|
+
* @param {number} member_required_power
|
|
1069
1069
|
*/
|
|
1070
1070
|
setMemberRequiredPower(js_member: any, member_required_power: number): void;
|
|
1071
1071
|
readonly __type: string;
|
|
@@ -1076,7 +1076,7 @@ export class IdentifierWASM {
|
|
|
1076
1076
|
/** @ignore */
|
|
1077
1077
|
free(): void;
|
|
1078
1078
|
/**
|
|
1079
|
-
*
|
|
1079
|
+
* @param {any} js_identifier
|
|
1080
1080
|
* @returns {IdentifierWASM}
|
|
1081
1081
|
*/
|
|
1082
1082
|
constructor(js_identifier: any);
|
|
@@ -1089,22 +1089,22 @@ export class IdentifierWASM {
|
|
|
1089
1089
|
/** @returns {Uint8Array<ArrayBufferLike>} */
|
|
1090
1090
|
bytes(): Uint8Array;
|
|
1091
1091
|
/**
|
|
1092
|
-
*
|
|
1092
|
+
* @param {string} base58
|
|
1093
1093
|
* @returns {IdentifierWASM}
|
|
1094
1094
|
*/
|
|
1095
1095
|
static fromBase58(base58: string): IdentifierWASM;
|
|
1096
1096
|
/**
|
|
1097
|
-
*
|
|
1097
|
+
* @param {string} base64
|
|
1098
1098
|
* @returns {IdentifierWASM}
|
|
1099
1099
|
*/
|
|
1100
1100
|
static fromBase64(base64: string): IdentifierWASM;
|
|
1101
1101
|
/**
|
|
1102
|
-
*
|
|
1102
|
+
* @param {string} hex
|
|
1103
1103
|
* @returns {IdentifierWASM}
|
|
1104
1104
|
*/
|
|
1105
1105
|
static fromHex(hex: string): IdentifierWASM;
|
|
1106
1106
|
/**
|
|
1107
|
-
*
|
|
1107
|
+
* @param {Uint8Array<ArrayBufferLike>} bytes
|
|
1108
1108
|
* @returns {IdentifierWASM}
|
|
1109
1109
|
*/
|
|
1110
1110
|
static fromBytes(bytes: Uint8Array): IdentifierWASM;
|
|
@@ -1114,33 +1114,33 @@ export class IdentityCreateTransitionWASM {
|
|
|
1114
1114
|
/** @ignore */
|
|
1115
1115
|
free(): void;
|
|
1116
1116
|
/**
|
|
1117
|
-
*
|
|
1118
|
-
*
|
|
1119
|
-
*
|
|
1120
|
-
*
|
|
1121
|
-
*
|
|
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
1122
|
* @returns {IdentityCreateTransitionWASM}
|
|
1123
1123
|
*/
|
|
1124
1124
|
constructor(js_public_keys: Array<any>, asset_lock: AssetLockProofWASM, user_fee_increase: number, signature: Uint8Array | null | undefined, js_identity_id: any);
|
|
1125
1125
|
/**
|
|
1126
|
-
*
|
|
1126
|
+
* @param {any} js_platform_version
|
|
1127
1127
|
* @returns {IdentityCreateTransitionWASM}
|
|
1128
1128
|
*/
|
|
1129
1129
|
static default(js_platform_version: any): IdentityCreateTransitionWASM;
|
|
1130
1130
|
/**
|
|
1131
|
-
*
|
|
1131
|
+
* @param {string} hex
|
|
1132
1132
|
* @returns {IdentityCreateTransitionWASM}
|
|
1133
1133
|
*/
|
|
1134
1134
|
static fromHex(hex: string): IdentityCreateTransitionWASM;
|
|
1135
1135
|
/**
|
|
1136
|
-
*
|
|
1136
|
+
* @param {string} base64
|
|
1137
1137
|
* @returns {IdentityCreateTransitionWASM}
|
|
1138
1138
|
*/
|
|
1139
1139
|
static fromBase64(base64: string): IdentityCreateTransitionWASM;
|
|
1140
1140
|
/** @returns {Uint8Array<ArrayBufferLike>} */
|
|
1141
1141
|
bytes(): Uint8Array;
|
|
1142
1142
|
/**
|
|
1143
|
-
*
|
|
1143
|
+
* @param {Uint8Array<ArrayBufferLike>} bytes
|
|
1144
1144
|
* @returns {IdentityCreateTransitionWASM}
|
|
1145
1145
|
*/
|
|
1146
1146
|
static fromBytes(bytes: Uint8Array): IdentityCreateTransitionWASM;
|
|
@@ -1151,7 +1151,7 @@ export class IdentityCreateTransitionWASM {
|
|
|
1151
1151
|
/** @returns {StateTransitionWASM} */
|
|
1152
1152
|
toStateTransition(): StateTransitionWASM;
|
|
1153
1153
|
/**
|
|
1154
|
-
*
|
|
1154
|
+
* @param {StateTransitionWASM} st
|
|
1155
1155
|
* @returns {IdentityCreateTransitionWASM}
|
|
1156
1156
|
*/
|
|
1157
1157
|
static fromStateTransition(st: StateTransitionWASM): IdentityCreateTransitionWASM;
|
|
@@ -1166,11 +1166,11 @@ export class IdentityCreditTransferWASM {
|
|
|
1166
1166
|
/** @ignore */
|
|
1167
1167
|
free(): void;
|
|
1168
1168
|
/**
|
|
1169
|
-
*
|
|
1170
|
-
*
|
|
1171
|
-
*
|
|
1172
|
-
*
|
|
1173
|
-
*
|
|
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
1174
|
* @returns {IdentityCreditTransferWASM}
|
|
1175
1175
|
*/
|
|
1176
1176
|
constructor(amount: bigint, js_sender: any, js_recipient: any, nonce: bigint, js_platform_version_wasm: any);
|
|
@@ -1181,17 +1181,17 @@ export class IdentityCreditTransferWASM {
|
|
|
1181
1181
|
/** @returns {string} */
|
|
1182
1182
|
base64(): string;
|
|
1183
1183
|
/**
|
|
1184
|
-
*
|
|
1184
|
+
* @param {Uint8Array<ArrayBufferLike>} bytes
|
|
1185
1185
|
* @returns {IdentityCreditTransferWASM}
|
|
1186
1186
|
*/
|
|
1187
1187
|
static fromBytes(bytes: Uint8Array): IdentityCreditTransferWASM;
|
|
1188
1188
|
/**
|
|
1189
|
-
*
|
|
1189
|
+
* @param {string} hex
|
|
1190
1190
|
* @returns {IdentityCreditTransferWASM}
|
|
1191
1191
|
*/
|
|
1192
1192
|
static fromHex(hex: string): IdentityCreditTransferWASM;
|
|
1193
1193
|
/**
|
|
1194
|
-
*
|
|
1194
|
+
* @param {string} hex
|
|
1195
1195
|
* @returns {IdentityCreditTransferWASM}
|
|
1196
1196
|
*/
|
|
1197
1197
|
static fromBase64(hex: string): IdentityCreditTransferWASM;
|
|
@@ -1200,7 +1200,7 @@ export class IdentityCreditTransferWASM {
|
|
|
1200
1200
|
/** @returns {StateTransitionWASM} */
|
|
1201
1201
|
toStateTransition(): StateTransitionWASM;
|
|
1202
1202
|
/**
|
|
1203
|
-
*
|
|
1203
|
+
* @param {StateTransitionWASM} st
|
|
1204
1204
|
* @returns {IdentityCreditTransferWASM}
|
|
1205
1205
|
*/
|
|
1206
1206
|
static fromStateTransition(st: StateTransitionWASM): IdentityCreditTransferWASM;
|
|
@@ -1219,13 +1219,13 @@ export class IdentityCreditWithdrawalTransitionWASM {
|
|
|
1219
1219
|
/** @ignore */
|
|
1220
1220
|
free(): void;
|
|
1221
1221
|
/**
|
|
1222
|
-
*
|
|
1223
|
-
*
|
|
1224
|
-
*
|
|
1225
|
-
*
|
|
1226
|
-
*
|
|
1227
|
-
*
|
|
1228
|
-
*
|
|
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
1229
|
* @returns {IdentityCreditWithdrawalTransitionWASM}
|
|
1230
1230
|
*/
|
|
1231
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);
|
|
@@ -1238,12 +1238,12 @@ export class IdentityCreditWithdrawalTransitionWASM {
|
|
|
1238
1238
|
/** @returns {Uint8Array<ArrayBufferLike>} */
|
|
1239
1239
|
getSignableBytes(): Uint8Array;
|
|
1240
1240
|
/**
|
|
1241
|
-
*
|
|
1241
|
+
* @param {string} hex
|
|
1242
1242
|
* @returns {IdentityCreditWithdrawalTransitionWASM}
|
|
1243
1243
|
*/
|
|
1244
1244
|
static fromHex(hex: string): IdentityCreditWithdrawalTransitionWASM;
|
|
1245
1245
|
/**
|
|
1246
|
-
*
|
|
1246
|
+
* @param {string} base64
|
|
1247
1247
|
* @returns {IdentityCreditWithdrawalTransitionWASM}
|
|
1248
1248
|
*/
|
|
1249
1249
|
static fromBase64(base64: string): IdentityCreditWithdrawalTransitionWASM;
|
|
@@ -1254,14 +1254,14 @@ export class IdentityCreditWithdrawalTransitionWASM {
|
|
|
1254
1254
|
/** @returns {string} */
|
|
1255
1255
|
base64(): string;
|
|
1256
1256
|
/**
|
|
1257
|
-
*
|
|
1257
|
+
* @param {Uint8Array<ArrayBufferLike>} bytes
|
|
1258
1258
|
* @returns {IdentityCreditWithdrawalTransitionWASM}
|
|
1259
1259
|
*/
|
|
1260
1260
|
static fromBytes(bytes: Uint8Array): IdentityCreditWithdrawalTransitionWASM;
|
|
1261
1261
|
/** @returns {StateTransitionWASM} */
|
|
1262
1262
|
toStateTransition(): StateTransitionWASM;
|
|
1263
1263
|
/**
|
|
1264
|
-
*
|
|
1264
|
+
* @param {StateTransitionWASM} st
|
|
1265
1265
|
* @returns {IdentityCreditWithdrawalTransitionWASM}
|
|
1266
1266
|
*/
|
|
1267
1267
|
static fromStateTransition(st: StateTransitionWASM): IdentityCreditWithdrawalTransitionWASM;
|
|
@@ -1283,13 +1283,13 @@ export class IdentityPublicKeyInCreationWASM {
|
|
|
1283
1283
|
/** @ignore */
|
|
1284
1284
|
free(): void;
|
|
1285
1285
|
/**
|
|
1286
|
-
*
|
|
1287
|
-
*
|
|
1288
|
-
*
|
|
1289
|
-
*
|
|
1290
|
-
*
|
|
1291
|
-
*
|
|
1292
|
-
*
|
|
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
1293
|
* @returns {IdentityPublicKeyInCreationWASM}
|
|
1294
1294
|
*/
|
|
1295
1295
|
constructor(id: number, js_purpose: any, js_security_level: any, js_key_type: any, read_only: boolean, binary_data: Uint8Array, signature: Uint8Array);
|
|
@@ -1315,19 +1315,19 @@ export class IdentityPublicKeyWASM {
|
|
|
1315
1315
|
/** @ignore */
|
|
1316
1316
|
free(): void;
|
|
1317
1317
|
/**
|
|
1318
|
-
*
|
|
1319
|
-
*
|
|
1320
|
-
*
|
|
1321
|
-
*
|
|
1322
|
-
*
|
|
1323
|
-
*
|
|
1324
|
-
*
|
|
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
1325
|
* @returns {IdentityPublicKeyWASM}
|
|
1326
1326
|
*/
|
|
1327
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
1328
|
/**
|
|
1329
|
-
*
|
|
1330
|
-
*
|
|
1329
|
+
* @param {Uint8Array<ArrayBufferLike>} js_private_key_bytes
|
|
1330
|
+
* @param {any} js_network
|
|
1331
1331
|
* @returns {boolean}
|
|
1332
1332
|
*/
|
|
1333
1333
|
validatePrivateKey(js_private_key_bytes: Uint8Array, js_network: any): boolean;
|
|
@@ -1344,17 +1344,17 @@ export class IdentityPublicKeyWASM {
|
|
|
1344
1344
|
/** @returns {string} */
|
|
1345
1345
|
base64(): string;
|
|
1346
1346
|
/**
|
|
1347
|
-
*
|
|
1347
|
+
* @param {Uint8Array<ArrayBufferLike>} bytes
|
|
1348
1348
|
* @returns {IdentityPublicKeyWASM}
|
|
1349
1349
|
*/
|
|
1350
1350
|
static fromBytes(bytes: Uint8Array): IdentityPublicKeyWASM;
|
|
1351
1351
|
/**
|
|
1352
|
-
*
|
|
1352
|
+
* @param {string} hex
|
|
1353
1353
|
* @returns {IdentityPublicKeyWASM}
|
|
1354
1354
|
*/
|
|
1355
1355
|
static fromHex(hex: string): IdentityPublicKeyWASM;
|
|
1356
1356
|
/**
|
|
1357
|
-
*
|
|
1357
|
+
* @param {string} hex
|
|
1358
1358
|
* @returns {IdentityPublicKeyWASM}
|
|
1359
1359
|
*/
|
|
1360
1360
|
static fromBase64(hex: string): IdentityPublicKeyWASM;
|
|
@@ -1381,9 +1381,9 @@ export class IdentityTopUpTransitionWASM {
|
|
|
1381
1381
|
/** @ignore */
|
|
1382
1382
|
free(): void;
|
|
1383
1383
|
/**
|
|
1384
|
-
*
|
|
1385
|
-
*
|
|
1386
|
-
*
|
|
1384
|
+
* @param {AssetLockProofWASM} asset_lock_proof
|
|
1385
|
+
* @param {any} js_identity_id
|
|
1386
|
+
* @param {number} user_fee_increase
|
|
1387
1387
|
* @returns {IdentityTopUpTransitionWASM}
|
|
1388
1388
|
*/
|
|
1389
1389
|
constructor(asset_lock_proof: AssetLockProofWASM, js_identity_id: any, user_fee_increase: number);
|
|
@@ -1400,24 +1400,24 @@ export class IdentityTopUpTransitionWASM {
|
|
|
1400
1400
|
/** @returns {string} */
|
|
1401
1401
|
base64(): string;
|
|
1402
1402
|
/**
|
|
1403
|
-
*
|
|
1403
|
+
* @param {Uint8Array<ArrayBufferLike>} bytes
|
|
1404
1404
|
* @returns {IdentityTopUpTransitionWASM}
|
|
1405
1405
|
*/
|
|
1406
1406
|
static fromBytes(bytes: Uint8Array): IdentityTopUpTransitionWASM;
|
|
1407
1407
|
/**
|
|
1408
|
-
*
|
|
1408
|
+
* @param {string} hex
|
|
1409
1409
|
* @returns {IdentityTopUpTransitionWASM}
|
|
1410
1410
|
*/
|
|
1411
1411
|
static fromHex(hex: string): IdentityTopUpTransitionWASM;
|
|
1412
1412
|
/**
|
|
1413
|
-
*
|
|
1413
|
+
* @param {string} base64
|
|
1414
1414
|
* @returns {IdentityTopUpTransitionWASM}
|
|
1415
1415
|
*/
|
|
1416
1416
|
static fromBase64(base64: string): IdentityTopUpTransitionWASM;
|
|
1417
1417
|
/** @returns {StateTransitionWASM} */
|
|
1418
1418
|
toStateTransition(): StateTransitionWASM;
|
|
1419
1419
|
/**
|
|
1420
|
-
*
|
|
1420
|
+
* @param {StateTransitionWASM} st
|
|
1421
1421
|
* @returns {IdentityTopUpTransitionWASM}
|
|
1422
1422
|
*/
|
|
1423
1423
|
static fromStateTransition(st: StateTransitionWASM): IdentityTopUpTransitionWASM;
|
|
@@ -1432,12 +1432,12 @@ export class IdentityUpdateTransitionWASM {
|
|
|
1432
1432
|
/** @ignore */
|
|
1433
1433
|
free(): void;
|
|
1434
1434
|
/**
|
|
1435
|
-
*
|
|
1436
|
-
*
|
|
1437
|
-
*
|
|
1438
|
-
*
|
|
1439
|
-
*
|
|
1440
|
-
*
|
|
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
1441
|
* @returns {IdentityUpdateTransitionWASM}
|
|
1442
1442
|
*/
|
|
1443
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);
|
|
@@ -1450,12 +1450,12 @@ export class IdentityUpdateTransitionWASM {
|
|
|
1450
1450
|
/** @returns {Uint8Array<ArrayBufferLike>} */
|
|
1451
1451
|
getSignableBytes(): Uint8Array;
|
|
1452
1452
|
/**
|
|
1453
|
-
*
|
|
1453
|
+
* @param {string} hex
|
|
1454
1454
|
* @returns {IdentityUpdateTransitionWASM}
|
|
1455
1455
|
*/
|
|
1456
1456
|
static fromHex(hex: string): IdentityUpdateTransitionWASM;
|
|
1457
1457
|
/**
|
|
1458
|
-
*
|
|
1458
|
+
* @param {string} base64
|
|
1459
1459
|
* @returns {IdentityUpdateTransitionWASM}
|
|
1460
1460
|
*/
|
|
1461
1461
|
static fromBase64(base64: string): IdentityUpdateTransitionWASM;
|
|
@@ -1466,14 +1466,14 @@ export class IdentityUpdateTransitionWASM {
|
|
|
1466
1466
|
/** @returns {string} */
|
|
1467
1467
|
base64(): string;
|
|
1468
1468
|
/**
|
|
1469
|
-
*
|
|
1469
|
+
* @param {Uint8Array<ArrayBufferLike>} bytes
|
|
1470
1470
|
* @returns {IdentityUpdateTransitionWASM}
|
|
1471
1471
|
*/
|
|
1472
1472
|
static fromBytes(bytes: Uint8Array): IdentityUpdateTransitionWASM;
|
|
1473
1473
|
/** @returns {StateTransitionWASM} */
|
|
1474
1474
|
toStateTransition(): StateTransitionWASM;
|
|
1475
1475
|
/**
|
|
1476
|
-
*
|
|
1476
|
+
* @param {StateTransitionWASM} st
|
|
1477
1477
|
* @returns {IdentityUpdateTransitionWASM}
|
|
1478
1478
|
*/
|
|
1479
1479
|
static fromStateTransition(st: StateTransitionWASM): IdentityUpdateTransitionWASM;
|
|
@@ -1493,17 +1493,17 @@ export class IdentityWASM {
|
|
|
1493
1493
|
/** @ignore */
|
|
1494
1494
|
free(): void;
|
|
1495
1495
|
/**
|
|
1496
|
-
*
|
|
1496
|
+
* @param {any} js_identifier
|
|
1497
1497
|
* @returns {IdentityWASM}
|
|
1498
1498
|
*/
|
|
1499
1499
|
constructor(js_identifier: any);
|
|
1500
|
-
/**
|
|
1500
|
+
/** @param {any} js_identifier */
|
|
1501
1501
|
setId(js_identifier: any): void;
|
|
1502
|
-
/**
|
|
1502
|
+
/** @param {bigint} balance */
|
|
1503
1503
|
setBalance(balance: bigint): void;
|
|
1504
|
-
/**
|
|
1504
|
+
/** @param {bigint} revision */
|
|
1505
1505
|
setRevision(revision: bigint): void;
|
|
1506
|
-
/**
|
|
1506
|
+
/** @param {IdentityPublicKeyWASM} public_key */
|
|
1507
1507
|
addPublicKey(public_key: IdentityPublicKeyWASM): void;
|
|
1508
1508
|
/** @returns {IdentifierWASM} */
|
|
1509
1509
|
getId(): IdentifierWASM;
|
|
@@ -1512,19 +1512,19 @@ export class IdentityWASM {
|
|
|
1512
1512
|
/** @returns {bigint} */
|
|
1513
1513
|
getRevision(): bigint;
|
|
1514
1514
|
/**
|
|
1515
|
-
*
|
|
1515
|
+
* @param {number} key_id
|
|
1516
1516
|
* @returns {IdentityPublicKeyWASM}
|
|
1517
1517
|
*/
|
|
1518
1518
|
getPublicKeyById(key_id: number): IdentityPublicKeyWASM;
|
|
1519
1519
|
/** @returns {IdentityPublicKeyWASM[]} */
|
|
1520
1520
|
getPublicKeys(): IdentityPublicKeyWASM[];
|
|
1521
1521
|
/**
|
|
1522
|
-
*
|
|
1522
|
+
* @param {string} hex
|
|
1523
1523
|
* @returns {IdentityWASM}
|
|
1524
1524
|
*/
|
|
1525
1525
|
static fromHex(hex: string): IdentityWASM;
|
|
1526
1526
|
/**
|
|
1527
|
-
*
|
|
1527
|
+
* @param {string} base64
|
|
1528
1528
|
* @returns {IdentityWASM}
|
|
1529
1529
|
*/
|
|
1530
1530
|
static fromBase64(base64: string): IdentityWASM;
|
|
@@ -1535,7 +1535,7 @@ export class IdentityWASM {
|
|
|
1535
1535
|
/** @returns {string} */
|
|
1536
1536
|
base64(): string;
|
|
1537
1537
|
/**
|
|
1538
|
-
*
|
|
1538
|
+
* @param {Uint8Array<ArrayBufferLike>} bytes
|
|
1539
1539
|
* @returns {IdentityWASM}
|
|
1540
1540
|
*/
|
|
1541
1541
|
static fromBytes(bytes: Uint8Array): IdentityWASM;
|
|
@@ -1545,14 +1545,14 @@ export class InstantAssetLockProofWASM {
|
|
|
1545
1545
|
/** @ignore */
|
|
1546
1546
|
free(): void;
|
|
1547
1547
|
/**
|
|
1548
|
-
*
|
|
1549
|
-
*
|
|
1550
|
-
*
|
|
1548
|
+
* @param {Uint8Array<ArrayBufferLike>} instant_lock
|
|
1549
|
+
* @param {Uint8Array<ArrayBufferLike>} transaction
|
|
1550
|
+
* @param {number} output_index
|
|
1551
1551
|
* @returns {InstantAssetLockProofWASM}
|
|
1552
1552
|
*/
|
|
1553
1553
|
constructor(instant_lock: Uint8Array, transaction: Uint8Array, output_index: number);
|
|
1554
1554
|
/**
|
|
1555
|
-
*
|
|
1555
|
+
* @param {any} value
|
|
1556
1556
|
* @returns {InstantAssetLockProofWASM}
|
|
1557
1557
|
*/
|
|
1558
1558
|
static fromObject(value: any): InstantAssetLockProofWASM;
|
|
@@ -1574,11 +1574,11 @@ export class InstantLockWASM {
|
|
|
1574
1574
|
/** @ignore */
|
|
1575
1575
|
free(): void;
|
|
1576
1576
|
/**
|
|
1577
|
-
*
|
|
1578
|
-
*
|
|
1579
|
-
*
|
|
1580
|
-
*
|
|
1581
|
-
*
|
|
1577
|
+
* @param {number} version
|
|
1578
|
+
* @param {any[]} js_inputs
|
|
1579
|
+
* @param {string} txid
|
|
1580
|
+
* @param {string} cycle_hash
|
|
1581
|
+
* @param {string} bls_signature
|
|
1582
1582
|
* @returns {InstantLockWASM}
|
|
1583
1583
|
*/
|
|
1584
1584
|
constructor(version: number, js_inputs: Array<any>, txid: string, cycle_hash: string, bls_signature: string);
|
|
@@ -1594,29 +1594,29 @@ export class MasternodeVoteTransitionWASM {
|
|
|
1594
1594
|
/** @ignore */
|
|
1595
1595
|
free(): void;
|
|
1596
1596
|
/**
|
|
1597
|
-
*
|
|
1598
|
-
*
|
|
1599
|
-
*
|
|
1600
|
-
*
|
|
1601
|
-
*
|
|
1602
|
-
*
|
|
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
1603
|
* @returns {MasternodeVoteTransitionWASM}
|
|
1604
1604
|
*/
|
|
1605
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
1606
|
/**
|
|
1607
|
-
*
|
|
1607
|
+
* @param {string} hex
|
|
1608
1608
|
* @returns {MasternodeVoteTransitionWASM}
|
|
1609
1609
|
*/
|
|
1610
1610
|
static fromHex(hex: string): MasternodeVoteTransitionWASM;
|
|
1611
1611
|
/**
|
|
1612
|
-
*
|
|
1612
|
+
* @param {string} base64
|
|
1613
1613
|
* @returns {MasternodeVoteTransitionWASM}
|
|
1614
1614
|
*/
|
|
1615
1615
|
static fromBase64(base64: string): MasternodeVoteTransitionWASM;
|
|
1616
1616
|
/** @returns {Uint8Array<ArrayBufferLike>} */
|
|
1617
1617
|
bytes(): Uint8Array;
|
|
1618
1618
|
/**
|
|
1619
|
-
*
|
|
1619
|
+
* @param {Uint8Array<ArrayBufferLike>} bytes
|
|
1620
1620
|
* @returns {MasternodeVoteTransitionWASM}
|
|
1621
1621
|
*/
|
|
1622
1622
|
static fromBytes(bytes: Uint8Array): MasternodeVoteTransitionWASM;
|
|
@@ -1625,7 +1625,7 @@ export class MasternodeVoteTransitionWASM {
|
|
|
1625
1625
|
/** @returns {StateTransitionWASM} */
|
|
1626
1626
|
toStateTransition(): StateTransitionWASM;
|
|
1627
1627
|
/**
|
|
1628
|
-
*
|
|
1628
|
+
* @param {StateTransitionWASM} st
|
|
1629
1629
|
* @returns {MasternodeVoteTransitionWASM}
|
|
1630
1630
|
*/
|
|
1631
1631
|
static fromStateTransition(st: StateTransitionWASM): MasternodeVoteTransitionWASM;
|
|
@@ -1646,8 +1646,8 @@ export class OutPointWASM {
|
|
|
1646
1646
|
/** @ignore */
|
|
1647
1647
|
free(): void;
|
|
1648
1648
|
/**
|
|
1649
|
-
*
|
|
1650
|
-
*
|
|
1649
|
+
* @param {string} txid_hex
|
|
1650
|
+
* @param {number} vout
|
|
1651
1651
|
* @returns {OutPointWASM}
|
|
1652
1652
|
*/
|
|
1653
1653
|
constructor(txid_hex: string, vout: number);
|
|
@@ -1662,17 +1662,17 @@ export class OutPointWASM {
|
|
|
1662
1662
|
/** @returns {string} */
|
|
1663
1663
|
base64(): string;
|
|
1664
1664
|
/**
|
|
1665
|
-
*
|
|
1665
|
+
* @param {Uint8Array<ArrayBufferLike>} js_buffer
|
|
1666
1666
|
* @returns {OutPointWASM}
|
|
1667
1667
|
*/
|
|
1668
1668
|
static fromBytes(js_buffer: Uint8Array): OutPointWASM;
|
|
1669
1669
|
/**
|
|
1670
|
-
*
|
|
1670
|
+
* @param {string} hex
|
|
1671
1671
|
* @returns {OutPointWASM}
|
|
1672
1672
|
*/
|
|
1673
1673
|
static fromHex(hex: string): OutPointWASM;
|
|
1674
1674
|
/**
|
|
1675
|
-
*
|
|
1675
|
+
* @param {string} base64
|
|
1676
1676
|
* @returns {OutPointWASM}
|
|
1677
1677
|
*/
|
|
1678
1678
|
static fromBase64(base64: string): OutPointWASM;
|
|
@@ -1682,8 +1682,8 @@ export class PrefundedVotingBalanceWASM {
|
|
|
1682
1682
|
/** @ignore */
|
|
1683
1683
|
free(): void;
|
|
1684
1684
|
/**
|
|
1685
|
-
*
|
|
1686
|
-
*
|
|
1685
|
+
* @param {string} index_name
|
|
1686
|
+
* @param {bigint} credits
|
|
1687
1687
|
* @returns {PrefundedVotingBalanceWASM}
|
|
1688
1688
|
*/
|
|
1689
1689
|
constructor(index_name: string, credits: bigint);
|
|
@@ -1695,9 +1695,9 @@ export class PrivateEncryptedNoteWASM {
|
|
|
1695
1695
|
/** @ignore */
|
|
1696
1696
|
free(): void;
|
|
1697
1697
|
/**
|
|
1698
|
-
*
|
|
1699
|
-
*
|
|
1700
|
-
*
|
|
1698
|
+
* @param {number} root_encryption_key_index
|
|
1699
|
+
* @param {number} derivation_encryption_key_index
|
|
1700
|
+
* @param {Uint8Array<ArrayBufferLike>} value
|
|
1701
1701
|
* @returns {PrivateEncryptedNoteWASM}
|
|
1702
1702
|
*/
|
|
1703
1703
|
constructor(root_encryption_key_index: number, derivation_encryption_key_index: number, value: Uint8Array);
|
|
@@ -1712,19 +1712,19 @@ export class PrivateKeyWASM {
|
|
|
1712
1712
|
/** @ignore */
|
|
1713
1713
|
free(): void;
|
|
1714
1714
|
/**
|
|
1715
|
-
*
|
|
1715
|
+
* @param {string} wif
|
|
1716
1716
|
* @returns {PrivateKeyWASM}
|
|
1717
1717
|
*/
|
|
1718
1718
|
static fromWIF(wif: string): PrivateKeyWASM;
|
|
1719
1719
|
/**
|
|
1720
|
-
*
|
|
1721
|
-
*
|
|
1720
|
+
* @param {Uint8Array<ArrayBufferLike>} bytes
|
|
1721
|
+
* @param {any} js_network
|
|
1722
1722
|
* @returns {PrivateKeyWASM}
|
|
1723
1723
|
*/
|
|
1724
1724
|
static fromBytes(bytes: Uint8Array, js_network: any): PrivateKeyWASM;
|
|
1725
1725
|
/**
|
|
1726
|
-
*
|
|
1727
|
-
*
|
|
1726
|
+
* @param {string} hex_key
|
|
1727
|
+
* @param {any} js_network
|
|
1728
1728
|
* @returns {PrivateKeyWASM}
|
|
1729
1729
|
*/
|
|
1730
1730
|
static fromHex(hex_key: string, js_network: any): PrivateKeyWASM;
|
|
@@ -1744,7 +1744,7 @@ export class ResourceVoteChoiceWASM {
|
|
|
1744
1744
|
/** @ignore */
|
|
1745
1745
|
free(): void;
|
|
1746
1746
|
/**
|
|
1747
|
-
*
|
|
1747
|
+
* @param {any} js_id
|
|
1748
1748
|
* @returns {ResourceVoteChoiceWASM}
|
|
1749
1749
|
*/
|
|
1750
1750
|
static TowardsIdentity(js_id: any): ResourceVoteChoiceWASM;
|
|
@@ -1764,20 +1764,20 @@ export class RewardDistributionTypeWASM {
|
|
|
1764
1764
|
/** @ignore */
|
|
1765
1765
|
free(): void;
|
|
1766
1766
|
/**
|
|
1767
|
-
*
|
|
1768
|
-
*
|
|
1767
|
+
* @param {bigint} interval
|
|
1768
|
+
* @param {DistributionFunctionWASM} _function
|
|
1769
1769
|
* @returns {RewardDistributionTypeWASM}
|
|
1770
1770
|
*/
|
|
1771
1771
|
static BlockBasedDistribution(interval: bigint, _function: DistributionFunctionWASM): RewardDistributionTypeWASM;
|
|
1772
1772
|
/**
|
|
1773
|
-
*
|
|
1774
|
-
*
|
|
1773
|
+
* @param {bigint} interval
|
|
1774
|
+
* @param {DistributionFunctionWASM} _function
|
|
1775
1775
|
* @returns {RewardDistributionTypeWASM}
|
|
1776
1776
|
*/
|
|
1777
1777
|
static TimeBasedDistribution(interval: bigint, _function: DistributionFunctionWASM): RewardDistributionTypeWASM;
|
|
1778
1778
|
/**
|
|
1779
|
-
*
|
|
1780
|
-
*
|
|
1779
|
+
* @param {number} interval
|
|
1780
|
+
* @param {DistributionFunctionWASM} _function
|
|
1781
1781
|
* @returns {RewardDistributionTypeWASM}
|
|
1782
1782
|
*/
|
|
1783
1783
|
static EpochBasedDistribution(interval: number, _function: DistributionFunctionWASM): RewardDistributionTypeWASM;
|
|
@@ -1789,9 +1789,9 @@ export class SharedEncryptedNoteWASM {
|
|
|
1789
1789
|
/** @ignore */
|
|
1790
1790
|
free(): void;
|
|
1791
1791
|
/**
|
|
1792
|
-
*
|
|
1793
|
-
*
|
|
1794
|
-
*
|
|
1792
|
+
* @param {number} sender_key_index
|
|
1793
|
+
* @param {number} recipient_key_index
|
|
1794
|
+
* @param {Uint8Array<ArrayBufferLike>} value
|
|
1795
1795
|
* @returns {SharedEncryptedNoteWASM}
|
|
1796
1796
|
*/
|
|
1797
1797
|
constructor(sender_key_index: number, recipient_key_index: number, value: Uint8Array);
|
|
@@ -1806,14 +1806,14 @@ export class StateTransitionWASM {
|
|
|
1806
1806
|
/** @ignore */
|
|
1807
1807
|
free(): void;
|
|
1808
1808
|
/**
|
|
1809
|
-
*
|
|
1810
|
-
*
|
|
1809
|
+
* @param {PrivateKeyWASM} private_key
|
|
1810
|
+
* @param {IdentityPublicKeyWASM} public_key
|
|
1811
1811
|
* @returns {Uint8Array<ArrayBufferLike>}
|
|
1812
1812
|
*/
|
|
1813
1813
|
sign(private_key: PrivateKeyWASM, public_key: IdentityPublicKeyWASM): Uint8Array;
|
|
1814
1814
|
/**
|
|
1815
|
-
*
|
|
1816
|
-
*
|
|
1815
|
+
* @param {PrivateKeyWASM} private_key
|
|
1816
|
+
* @param {any} js_key_type
|
|
1817
1817
|
* @returns {Uint8Array<ArrayBufferLike>}
|
|
1818
1818
|
*/
|
|
1819
1819
|
signByPrivateKey(private_key: PrivateKeyWASM, js_key_type: any): Uint8Array;
|
|
@@ -1824,22 +1824,22 @@ export class StateTransitionWASM {
|
|
|
1824
1824
|
/** @returns {any} */
|
|
1825
1825
|
base64(): any;
|
|
1826
1826
|
/**
|
|
1827
|
-
*
|
|
1827
|
+
* @param {Uint8Array<ArrayBufferLike>} bytes
|
|
1828
1828
|
* @returns {StateTransitionWASM}
|
|
1829
1829
|
*/
|
|
1830
1830
|
static fromBytes(bytes: Uint8Array): StateTransitionWASM;
|
|
1831
1831
|
/**
|
|
1832
|
-
*
|
|
1832
|
+
* @param {string} hex
|
|
1833
1833
|
* @returns {StateTransitionWASM}
|
|
1834
1834
|
*/
|
|
1835
1835
|
static fromHex(hex: string): StateTransitionWASM;
|
|
1836
1836
|
/**
|
|
1837
|
-
*
|
|
1837
|
+
* @param {string} base64
|
|
1838
1838
|
* @returns {StateTransitionWASM}
|
|
1839
1839
|
*/
|
|
1840
1840
|
static fromBase64(base64: string): StateTransitionWASM;
|
|
1841
1841
|
/**
|
|
1842
|
-
*
|
|
1842
|
+
* @param {boolean} skip_signature
|
|
1843
1843
|
* @returns {string}
|
|
1844
1844
|
*/
|
|
1845
1845
|
hash(skip_signature: boolean): string;
|
|
@@ -1869,11 +1869,11 @@ export class TokenBaseTransitionWASM {
|
|
|
1869
1869
|
/** @ignore */
|
|
1870
1870
|
free(): void;
|
|
1871
1871
|
/**
|
|
1872
|
-
*
|
|
1873
|
-
*
|
|
1874
|
-
*
|
|
1875
|
-
*
|
|
1876
|
-
*
|
|
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
1877
|
* @returns {TokenBaseTransitionWASM}
|
|
1878
1878
|
*/
|
|
1879
1879
|
constructor(identity_contract_nonce: bigint, token_contract_position: number, js_data_contract_id: any, js_token_id: any, js_using_group_info: any);
|
|
@@ -1891,9 +1891,9 @@ export class TokenBurnTransitionWASM {
|
|
|
1891
1891
|
/** @ignore */
|
|
1892
1892
|
free(): void;
|
|
1893
1893
|
/**
|
|
1894
|
-
*
|
|
1895
|
-
*
|
|
1896
|
-
*
|
|
1894
|
+
* @param {TokenBaseTransitionWASM} base
|
|
1895
|
+
* @param {bigint} burn_amount
|
|
1896
|
+
* @param {string} public_note
|
|
1897
1897
|
* @returns {TokenBurnTransitionWASM}
|
|
1898
1898
|
*/
|
|
1899
1899
|
constructor(base: TokenBaseTransitionWASM, burn_amount: bigint, public_note?: string | null);
|
|
@@ -1907,9 +1907,9 @@ export class TokenClaimTransitionWASM {
|
|
|
1907
1907
|
/** @ignore */
|
|
1908
1908
|
free(): void;
|
|
1909
1909
|
/**
|
|
1910
|
-
*
|
|
1911
|
-
*
|
|
1912
|
-
*
|
|
1910
|
+
* @param {TokenBaseTransitionWASM} base
|
|
1911
|
+
* @param {any} js_distribution_type
|
|
1912
|
+
* @param {string} public_note
|
|
1913
1913
|
* @returns {TokenClaimTransitionWASM}
|
|
1914
1914
|
*/
|
|
1915
1915
|
constructor(base: TokenBaseTransitionWASM, js_distribution_type: any, public_note?: string | null);
|
|
@@ -1924,9 +1924,9 @@ export class TokenConfigUpdateTransitionWASM {
|
|
|
1924
1924
|
/** @ignore */
|
|
1925
1925
|
free(): void;
|
|
1926
1926
|
/**
|
|
1927
|
-
*
|
|
1928
|
-
*
|
|
1929
|
-
*
|
|
1927
|
+
* @param {TokenBaseTransitionWASM} base
|
|
1928
|
+
* @param {TokenConfigurationChangeItemWASM} update_token_configuration_item
|
|
1929
|
+
* @param {string} public_note
|
|
1930
1930
|
* @returns {TokenConfigUpdateTransitionWASM}
|
|
1931
1931
|
*/
|
|
1932
1932
|
constructor(base: TokenBaseTransitionWASM, update_token_configuration_item: TokenConfigurationChangeItemWASM, public_note?: string | null);
|
|
@@ -1942,159 +1942,159 @@ export class TokenConfigurationChangeItemWASM {
|
|
|
1942
1942
|
/** @ignore */
|
|
1943
1943
|
free(): void;
|
|
1944
1944
|
/**
|
|
1945
|
-
*
|
|
1945
|
+
* @param {TokenConfigurationConventionWASM} convention
|
|
1946
1946
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1947
1947
|
*/
|
|
1948
1948
|
static conventionsItem(convention: TokenConfigurationConventionWASM): TokenConfigurationChangeItemWASM;
|
|
1949
1949
|
/**
|
|
1950
|
-
*
|
|
1950
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
1951
1951
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1952
1952
|
*/
|
|
1953
1953
|
static ConventionsAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
1954
1954
|
/**
|
|
1955
|
-
*
|
|
1955
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
1956
1956
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1957
1957
|
*/
|
|
1958
1958
|
static ConventionsControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
1959
1959
|
/**
|
|
1960
|
-
*
|
|
1960
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
1961
1961
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1962
1962
|
*/
|
|
1963
1963
|
static DestroyFrozenFundsItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
1964
1964
|
/**
|
|
1965
|
-
*
|
|
1965
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
1966
1966
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1967
1967
|
*/
|
|
1968
1968
|
static DestroyFrozenFundsAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
1969
1969
|
/**
|
|
1970
|
-
*
|
|
1970
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
1971
1971
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1972
1972
|
*/
|
|
1973
1973
|
static EmergencyActionItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
1974
1974
|
/**
|
|
1975
|
-
*
|
|
1975
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
1976
1976
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1977
1977
|
*/
|
|
1978
1978
|
static EmergencyActionAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
1979
1979
|
/**
|
|
1980
|
-
*
|
|
1980
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
1981
1981
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1982
1982
|
*/
|
|
1983
1983
|
static FreezeItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
1984
1984
|
/**
|
|
1985
|
-
*
|
|
1985
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
1986
1986
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1987
1987
|
*/
|
|
1988
1988
|
static FreezeAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
1989
1989
|
/**
|
|
1990
|
-
*
|
|
1990
|
+
* @param {number} group_contract_position
|
|
1991
1991
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1992
1992
|
*/
|
|
1993
1993
|
static MainControlGroupItem(group_contract_position?: number | null): TokenConfigurationChangeItemWASM;
|
|
1994
1994
|
/**
|
|
1995
|
-
*
|
|
1995
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
1996
1996
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1997
1997
|
*/
|
|
1998
1998
|
static ManualBurningItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
1999
1999
|
/**
|
|
2000
|
-
*
|
|
2000
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2001
2001
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2002
2002
|
*/
|
|
2003
2003
|
static ManualBurningAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2004
2004
|
/**
|
|
2005
|
-
*
|
|
2005
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2006
2006
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2007
2007
|
*/
|
|
2008
2008
|
static ManualMintingItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2009
2009
|
/**
|
|
2010
|
-
*
|
|
2010
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2011
2011
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2012
2012
|
*/
|
|
2013
2013
|
static ManualMintingAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2014
2014
|
/**
|
|
2015
|
-
*
|
|
2015
|
+
* @param {TokenTradeModeWASM} trade_mode
|
|
2016
2016
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2017
2017
|
*/
|
|
2018
2018
|
static MarketplaceTradeModeItem(trade_mode: TokenTradeModeWASM): TokenConfigurationChangeItemWASM;
|
|
2019
2019
|
/**
|
|
2020
|
-
*
|
|
2020
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2021
2021
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2022
2022
|
*/
|
|
2023
2023
|
static MarketplaceTradeModeControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2024
2024
|
/**
|
|
2025
|
-
*
|
|
2025
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2026
2026
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2027
2027
|
*/
|
|
2028
2028
|
static MarketplaceTradeModeAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2029
2029
|
/**
|
|
2030
|
-
*
|
|
2030
|
+
* @param {bigint} supply
|
|
2031
2031
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2032
2032
|
*/
|
|
2033
2033
|
static MaxSupplyItem(supply?: bigint | null): TokenConfigurationChangeItemWASM;
|
|
2034
2034
|
/**
|
|
2035
|
-
*
|
|
2035
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2036
2036
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2037
2037
|
*/
|
|
2038
2038
|
static MaxSupplyControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2039
2039
|
/**
|
|
2040
|
-
*
|
|
2040
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2041
2041
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2042
2042
|
*/
|
|
2043
2043
|
static MaxSupplyAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2044
2044
|
/**
|
|
2045
|
-
*
|
|
2045
|
+
* @param {boolean} flag
|
|
2046
2046
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2047
2047
|
*/
|
|
2048
2048
|
static MintingAllowChoosingDestinationItem(flag: boolean): TokenConfigurationChangeItemWASM;
|
|
2049
2049
|
/**
|
|
2050
|
-
*
|
|
2050
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2051
2051
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2052
2052
|
*/
|
|
2053
2053
|
static MintingAllowChoosingDestinationControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2054
2054
|
/**
|
|
2055
|
-
*
|
|
2055
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2056
2056
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2057
2057
|
*/
|
|
2058
2058
|
static MintingAllowChoosingDestinationAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2059
2059
|
/**
|
|
2060
|
-
*
|
|
2060
|
+
* @param {any} js_identity_id
|
|
2061
2061
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2062
2062
|
*/
|
|
2063
2063
|
static NewTokensDestinationIdentityItem(js_identity_id: any): TokenConfigurationChangeItemWASM;
|
|
2064
2064
|
/**
|
|
2065
|
-
*
|
|
2065
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2066
2066
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2067
2067
|
*/
|
|
2068
2068
|
static NewTokensDestinationIdentityControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2069
2069
|
/**
|
|
2070
|
-
*
|
|
2070
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2071
2071
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2072
2072
|
*/
|
|
2073
2073
|
static NewTokensDestinationIdentityAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2074
2074
|
/** @returns {TokenConfigurationChangeItemWASM} */
|
|
2075
2075
|
static noChangeItem(): TokenConfigurationChangeItemWASM;
|
|
2076
2076
|
/**
|
|
2077
|
-
*
|
|
2077
|
+
* @param {any} js_perpetual_distribution_value
|
|
2078
2078
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2079
2079
|
*/
|
|
2080
2080
|
static PerpetualDistributionConfigurationItem(js_perpetual_distribution_value: any): TokenConfigurationChangeItemWASM;
|
|
2081
2081
|
/**
|
|
2082
|
-
*
|
|
2082
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2083
2083
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2084
2084
|
*/
|
|
2085
2085
|
static PerpetualDistributionControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2086
2086
|
/**
|
|
2087
|
-
*
|
|
2087
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2088
2088
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2089
2089
|
*/
|
|
2090
2090
|
static PerpetualDistributionAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2091
2091
|
/**
|
|
2092
|
-
*
|
|
2092
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2093
2093
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2094
2094
|
*/
|
|
2095
2095
|
static UnfreezeItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2096
2096
|
/**
|
|
2097
|
-
*
|
|
2097
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2098
2098
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2099
2099
|
*/
|
|
2100
2100
|
static UnfreezeAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
@@ -2108,8 +2108,8 @@ export class TokenConfigurationConventionWASM {
|
|
|
2108
2108
|
/** @ignore */
|
|
2109
2109
|
free(): void;
|
|
2110
2110
|
/**
|
|
2111
|
-
*
|
|
2112
|
-
*
|
|
2111
|
+
* @param {any} js_localizations
|
|
2112
|
+
* @param {number} decimals
|
|
2113
2113
|
* @returns {TokenConfigurationConventionWASM}
|
|
2114
2114
|
*/
|
|
2115
2115
|
constructor(js_localizations: any, decimals: number);
|
|
@@ -2121,9 +2121,9 @@ export class TokenConfigurationLocalizationWASM {
|
|
|
2121
2121
|
/** @ignore */
|
|
2122
2122
|
free(): void;
|
|
2123
2123
|
/**
|
|
2124
|
-
*
|
|
2125
|
-
*
|
|
2126
|
-
*
|
|
2124
|
+
* @param {boolean} should_capitalize
|
|
2125
|
+
* @param {string} singular_form
|
|
2126
|
+
* @param {string} plural_form
|
|
2127
2127
|
* @returns {TokenConfigurationLocalizationWASM}
|
|
2128
2128
|
*/
|
|
2129
2129
|
constructor(should_capitalize: boolean, singular_form: string, plural_form: string);
|
|
@@ -2138,25 +2138,25 @@ export class TokenConfigurationWASM {
|
|
|
2138
2138
|
/** @ignore */
|
|
2139
2139
|
free(): void;
|
|
2140
2140
|
/**
|
|
2141
|
-
*
|
|
2142
|
-
*
|
|
2143
|
-
*
|
|
2144
|
-
*
|
|
2145
|
-
*
|
|
2146
|
-
*
|
|
2147
|
-
*
|
|
2148
|
-
*
|
|
2149
|
-
*
|
|
2150
|
-
*
|
|
2151
|
-
*
|
|
2152
|
-
*
|
|
2153
|
-
*
|
|
2154
|
-
*
|
|
2155
|
-
*
|
|
2156
|
-
*
|
|
2157
|
-
*
|
|
2158
|
-
*
|
|
2159
|
-
*
|
|
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
2160
|
* @returns {TokenConfigurationWASM}
|
|
2161
2161
|
*/
|
|
2162
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);
|
|
@@ -2188,9 +2188,9 @@ export class TokenDestroyFrozenFundsTransitionWASM {
|
|
|
2188
2188
|
/** @ignore */
|
|
2189
2189
|
free(): void;
|
|
2190
2190
|
/**
|
|
2191
|
-
*
|
|
2192
|
-
*
|
|
2193
|
-
*
|
|
2191
|
+
* @param {TokenBaseTransitionWASM} base
|
|
2192
|
+
* @param {any} js_frozen_identity_id
|
|
2193
|
+
* @param {string} public_note
|
|
2194
2194
|
* @returns {TokenDestroyFrozenFundsTransitionWASM}
|
|
2195
2195
|
*/
|
|
2196
2196
|
constructor(base: TokenBaseTransitionWASM, js_frozen_identity_id: any, public_note?: string | null);
|
|
@@ -2205,9 +2205,9 @@ export class TokenDirectPurchaseTransitionWASM {
|
|
|
2205
2205
|
/** @ignore */
|
|
2206
2206
|
free(): void;
|
|
2207
2207
|
/**
|
|
2208
|
-
*
|
|
2209
|
-
*
|
|
2210
|
-
*
|
|
2208
|
+
* @param {TokenBaseTransitionWASM} base
|
|
2209
|
+
* @param {bigint} token_count
|
|
2210
|
+
* @param {bigint} total_agreed_price
|
|
2211
2211
|
* @returns {TokenDirectPurchaseTransitionWASM}
|
|
2212
2212
|
*/
|
|
2213
2213
|
constructor(base: TokenBaseTransitionWASM, token_count: bigint, total_agreed_price: bigint);
|
|
@@ -2224,7 +2224,7 @@ export class TokenDistributionRecipientWASM {
|
|
|
2224
2224
|
/** @returns {TokenDistributionRecipientWASM} */
|
|
2225
2225
|
static ContractOwner(): TokenDistributionRecipientWASM;
|
|
2226
2226
|
/**
|
|
2227
|
-
*
|
|
2227
|
+
* @param {any} js_identity_id
|
|
2228
2228
|
* @returns {TokenDistributionRecipientWASM}
|
|
2229
2229
|
*/
|
|
2230
2230
|
static Identity(js_identity_id: any): TokenDistributionRecipientWASM;
|
|
@@ -2240,14 +2240,14 @@ export class TokenDistributionRulesWASM {
|
|
|
2240
2240
|
/** @ignore */
|
|
2241
2241
|
free(): void;
|
|
2242
2242
|
/**
|
|
2243
|
-
*
|
|
2244
|
-
*
|
|
2245
|
-
*
|
|
2246
|
-
*
|
|
2247
|
-
*
|
|
2248
|
-
*
|
|
2249
|
-
*
|
|
2250
|
-
*
|
|
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
2251
|
* @returns {TokenDistributionRulesWASM}
|
|
2252
2252
|
*/
|
|
2253
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);
|
|
@@ -2267,9 +2267,9 @@ export class TokenEmergencyActionTransitionWASM {
|
|
|
2267
2267
|
/** @ignore */
|
|
2268
2268
|
free(): void;
|
|
2269
2269
|
/**
|
|
2270
|
-
*
|
|
2271
|
-
*
|
|
2272
|
-
*
|
|
2270
|
+
* @param {TokenBaseTransitionWASM} base
|
|
2271
|
+
* @param {TokenEmergencyActionWASM} emergency_action
|
|
2272
|
+
* @param {string} public_note
|
|
2273
2273
|
* @returns {TokenEmergencyActionTransitionWASM}
|
|
2274
2274
|
*/
|
|
2275
2275
|
constructor(base: TokenBaseTransitionWASM, emergency_action: TokenEmergencyActionWASM, public_note?: string | null);
|
|
@@ -2284,9 +2284,9 @@ export class TokenFreezeTransitionWASM {
|
|
|
2284
2284
|
/** @ignore */
|
|
2285
2285
|
free(): void;
|
|
2286
2286
|
/**
|
|
2287
|
-
*
|
|
2288
|
-
*
|
|
2289
|
-
*
|
|
2287
|
+
* @param {TokenBaseTransitionWASM} base
|
|
2288
|
+
* @param {any} js_identity_to_freeze_id
|
|
2289
|
+
* @param {string} public_note
|
|
2290
2290
|
* @returns {TokenFreezeTransitionWASM}
|
|
2291
2291
|
*/
|
|
2292
2292
|
constructor(base: TokenBaseTransitionWASM, js_identity_to_freeze_id: any, public_note?: string | null);
|
|
@@ -2301,12 +2301,12 @@ export class TokenKeepsHistoryRulesWASM {
|
|
|
2301
2301
|
/** @ignore */
|
|
2302
2302
|
free(): void;
|
|
2303
2303
|
/**
|
|
2304
|
-
*
|
|
2305
|
-
*
|
|
2306
|
-
*
|
|
2307
|
-
*
|
|
2308
|
-
*
|
|
2309
|
-
*
|
|
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
2310
|
* @returns {TokenKeepsHistoryRulesWASM}
|
|
2311
2311
|
*/
|
|
2312
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);
|
|
@@ -2322,8 +2322,8 @@ export class TokenMarketplaceRulesWASM {
|
|
|
2322
2322
|
/** @ignore */
|
|
2323
2323
|
free(): void;
|
|
2324
2324
|
/**
|
|
2325
|
-
*
|
|
2326
|
-
*
|
|
2325
|
+
* @param {TokenTradeModeWASM} trade_mode
|
|
2326
|
+
* @param {ChangeControlRulesWASM} trade_mode_change_rules
|
|
2327
2327
|
* @returns {TokenMarketplaceRulesWASM}
|
|
2328
2328
|
*/
|
|
2329
2329
|
constructor(trade_mode: TokenTradeModeWASM, trade_mode_change_rules: ChangeControlRulesWASM);
|
|
@@ -2334,15 +2334,15 @@ export class TokenMintTransitionWASM {
|
|
|
2334
2334
|
/** @ignore */
|
|
2335
2335
|
free(): void;
|
|
2336
2336
|
/**
|
|
2337
|
-
*
|
|
2338
|
-
*
|
|
2339
|
-
*
|
|
2340
|
-
*
|
|
2337
|
+
* @param {TokenBaseTransitionWASM} base
|
|
2338
|
+
* @param {any} js_issued_to_identity_id
|
|
2339
|
+
* @param {bigint} amount
|
|
2340
|
+
* @param {string} public_note
|
|
2341
2341
|
* @returns {TokenMintTransitionWASM}
|
|
2342
2342
|
*/
|
|
2343
2343
|
constructor(base: TokenBaseTransitionWASM, js_issued_to_identity_id: any, amount: bigint, public_note?: string | null);
|
|
2344
2344
|
/**
|
|
2345
|
-
*
|
|
2345
|
+
* @param {TokenConfigurationWASM} config
|
|
2346
2346
|
* @returns {IdentifierWASM}
|
|
2347
2347
|
*/
|
|
2348
2348
|
getRecipitnId(config: TokenConfigurationWASM): IdentifierWASM;
|
|
@@ -2358,8 +2358,8 @@ export class TokenPerpetualDistributionWASM {
|
|
|
2358
2358
|
/** @ignore */
|
|
2359
2359
|
free(): void;
|
|
2360
2360
|
/**
|
|
2361
|
-
*
|
|
2362
|
-
*
|
|
2361
|
+
* @param {RewardDistributionTypeWASM} distribution_type
|
|
2362
|
+
* @param {TokenDistributionRecipientWASM} recipient
|
|
2363
2363
|
* @returns {TokenPerpetualDistributionWASM}
|
|
2364
2364
|
*/
|
|
2365
2365
|
constructor(distribution_type: RewardDistributionTypeWASM, recipient: TokenDistributionRecipientWASM);
|
|
@@ -2371,7 +2371,7 @@ export class TokenPreProgrammedDistributionWASM {
|
|
|
2371
2371
|
/** @ignore */
|
|
2372
2372
|
free(): void;
|
|
2373
2373
|
/**
|
|
2374
|
-
*
|
|
2374
|
+
* @param {any} js_distributions
|
|
2375
2375
|
* @returns {TokenPreProgrammedDistributionWASM}
|
|
2376
2376
|
*/
|
|
2377
2377
|
constructor(js_distributions: any);
|
|
@@ -2384,12 +2384,12 @@ export class TokenPricingScheduleWASM {
|
|
|
2384
2384
|
/** @ignore */
|
|
2385
2385
|
free(): void;
|
|
2386
2386
|
/**
|
|
2387
|
-
*
|
|
2387
|
+
* @param {bigint} credits
|
|
2388
2388
|
* @returns {TokenPricingScheduleWASM}
|
|
2389
2389
|
*/
|
|
2390
2390
|
static SinglePrice(credits: bigint): TokenPricingScheduleWASM;
|
|
2391
2391
|
/**
|
|
2392
|
-
*
|
|
2392
|
+
* @param {any} js_prices
|
|
2393
2393
|
* @returns {TokenPricingScheduleWASM}
|
|
2394
2394
|
*/
|
|
2395
2395
|
static SetPrices(js_prices: any): TokenPricingScheduleWASM;
|
|
@@ -2403,9 +2403,9 @@ export class TokenSetPriceForDirectPurchaseTransitionWASM {
|
|
|
2403
2403
|
/** @ignore */
|
|
2404
2404
|
free(): void;
|
|
2405
2405
|
/**
|
|
2406
|
-
*
|
|
2407
|
-
*
|
|
2408
|
-
*
|
|
2406
|
+
* @param {TokenBaseTransitionWASM} base
|
|
2407
|
+
* @param {any} js_price
|
|
2408
|
+
* @param {string} public_note
|
|
2409
2409
|
* @returns {TokenSetPriceForDirectPurchaseTransitionWASM}
|
|
2410
2410
|
*/
|
|
2411
2411
|
constructor(base: TokenBaseTransitionWASM, js_price: any, public_note?: string | null);
|
|
@@ -2430,12 +2430,12 @@ export class TokenTransferTransitionWASM {
|
|
|
2430
2430
|
/** @ignore */
|
|
2431
2431
|
free(): void;
|
|
2432
2432
|
/**
|
|
2433
|
-
*
|
|
2434
|
-
*
|
|
2435
|
-
*
|
|
2436
|
-
*
|
|
2437
|
-
*
|
|
2438
|
-
*
|
|
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
2439
|
* @returns {TokenTransferTransitionWASM}
|
|
2440
2440
|
*/
|
|
2441
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);
|
|
@@ -2455,7 +2455,7 @@ export class TokenTransitionWASM {
|
|
|
2455
2455
|
/** @ignore */
|
|
2456
2456
|
free(): void;
|
|
2457
2457
|
/**
|
|
2458
|
-
*
|
|
2458
|
+
* @param {any} js_transition
|
|
2459
2459
|
* @returns {TokenTransitionWASM}
|
|
2460
2460
|
*/
|
|
2461
2461
|
constructor(js_transition: any);
|
|
@@ -2468,7 +2468,7 @@ export class TokenTransitionWASM {
|
|
|
2468
2468
|
/** @returns {string} */
|
|
2469
2469
|
getHistoricalDocumentTypeName(): string;
|
|
2470
2470
|
/**
|
|
2471
|
-
*
|
|
2471
|
+
* @param {any} js_owner
|
|
2472
2472
|
* @returns {IdentifierWASM}
|
|
2473
2473
|
*/
|
|
2474
2474
|
getHistoricalDocumentId(js_owner: any): IdentifierWASM;
|
|
@@ -2483,9 +2483,9 @@ export class TokenUnFreezeTransitionWASM {
|
|
|
2483
2483
|
/** @ignore */
|
|
2484
2484
|
free(): void;
|
|
2485
2485
|
/**
|
|
2486
|
-
*
|
|
2487
|
-
*
|
|
2488
|
-
*
|
|
2486
|
+
* @param {TokenBaseTransitionWASM} base
|
|
2487
|
+
* @param {any} js_frozen_identity_id
|
|
2488
|
+
* @param {string} public_note
|
|
2489
2489
|
* @returns {TokenUnFreezeTransitionWASM}
|
|
2490
2490
|
*/
|
|
2491
2491
|
constructor(base: TokenBaseTransitionWASM, js_frozen_identity_id: any, public_note?: string | null);
|
|
@@ -2500,8 +2500,8 @@ export class TxOutWASM {
|
|
|
2500
2500
|
/** @ignore */
|
|
2501
2501
|
free(): void;
|
|
2502
2502
|
/**
|
|
2503
|
-
*
|
|
2504
|
-
*
|
|
2503
|
+
* @param {bigint} value
|
|
2504
|
+
* @param {any} script_pubkey
|
|
2505
2505
|
* @returns {TxOutWASM}
|
|
2506
2506
|
*/
|
|
2507
2507
|
constructor(value: bigint, script_pubkey: any);
|
|
@@ -2516,10 +2516,10 @@ export class VotePollWASM {
|
|
|
2516
2516
|
/** @ignore */
|
|
2517
2517
|
free(): void;
|
|
2518
2518
|
/**
|
|
2519
|
-
*
|
|
2520
|
-
*
|
|
2521
|
-
*
|
|
2522
|
-
*
|
|
2519
|
+
* @param {any} js_contract_id
|
|
2520
|
+
* @param {string} document_type_name
|
|
2521
|
+
* @param {string} index_name
|
|
2522
|
+
* @param {any} js_index_values
|
|
2523
2523
|
* @returns {VotePollWASM}
|
|
2524
2524
|
*/
|
|
2525
2525
|
constructor(js_contract_id: any, document_type_name: string, index_name: string, js_index_values: any);
|
|
@@ -2537,8 +2537,8 @@ export class VoteWASM {
|
|
|
2537
2537
|
/** @ignore */
|
|
2538
2538
|
free(): void;
|
|
2539
2539
|
/**
|
|
2540
|
-
*
|
|
2541
|
-
*
|
|
2540
|
+
* @param {VotePollWASM} vote_poll
|
|
2541
|
+
* @param {ResourceVoteChoiceWASM} resource_vote_choice
|
|
2542
2542
|
* @returns {VoteWASM}
|
|
2543
2543
|
*/
|
|
2544
2544
|
constructor(vote_poll: VotePollWASM, resource_vote_choice: ResourceVoteChoiceWASM);
|