pshenmic-dpp 1.0.10 → 1.0.12
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.
|
@@ -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,38 +1493,26 @@ 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
|
-
/**
|
|
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 */
|
|
1500
|
+
/** @param {IdentityPublicKeyWASM} public_key */
|
|
1507
1501
|
addPublicKey(public_key: IdentityPublicKeyWASM): void;
|
|
1508
|
-
/** @returns {IdentifierWASM} */
|
|
1509
|
-
getId(): IdentifierWASM;
|
|
1510
|
-
/** @returns {bigint} */
|
|
1511
|
-
getBalance(): bigint;
|
|
1512
|
-
/** @returns {bigint} */
|
|
1513
|
-
getRevision(): bigint;
|
|
1514
1502
|
/**
|
|
1515
|
-
*
|
|
1503
|
+
* @param {number} key_id
|
|
1516
1504
|
* @returns {IdentityPublicKeyWASM}
|
|
1517
1505
|
*/
|
|
1518
1506
|
getPublicKeyById(key_id: number): IdentityPublicKeyWASM;
|
|
1519
1507
|
/** @returns {IdentityPublicKeyWASM[]} */
|
|
1520
1508
|
getPublicKeys(): IdentityPublicKeyWASM[];
|
|
1521
1509
|
/**
|
|
1522
|
-
*
|
|
1510
|
+
* @param {string} hex
|
|
1523
1511
|
* @returns {IdentityWASM}
|
|
1524
1512
|
*/
|
|
1525
1513
|
static fromHex(hex: string): IdentityWASM;
|
|
1526
1514
|
/**
|
|
1527
|
-
*
|
|
1515
|
+
* @param {string} base64
|
|
1528
1516
|
* @returns {IdentityWASM}
|
|
1529
1517
|
*/
|
|
1530
1518
|
static fromBase64(base64: string): IdentityWASM;
|
|
@@ -1535,24 +1523,28 @@ export class IdentityWASM {
|
|
|
1535
1523
|
/** @returns {string} */
|
|
1536
1524
|
base64(): string;
|
|
1537
1525
|
/**
|
|
1538
|
-
*
|
|
1526
|
+
* @param {Uint8Array<ArrayBufferLike>} bytes
|
|
1539
1527
|
* @returns {IdentityWASM}
|
|
1540
1528
|
*/
|
|
1541
1529
|
static fromBytes(bytes: Uint8Array): IdentityWASM;
|
|
1542
1530
|
readonly __type: string;
|
|
1531
|
+
get id(): IdentifierWASM;
|
|
1532
|
+
set id(value: any);
|
|
1533
|
+
balance: bigint;
|
|
1534
|
+
revision: bigint;
|
|
1543
1535
|
}
|
|
1544
1536
|
export class InstantAssetLockProofWASM {
|
|
1545
1537
|
/** @ignore */
|
|
1546
1538
|
free(): void;
|
|
1547
1539
|
/**
|
|
1548
|
-
*
|
|
1549
|
-
*
|
|
1550
|
-
*
|
|
1540
|
+
* @param {Uint8Array<ArrayBufferLike>} instant_lock
|
|
1541
|
+
* @param {Uint8Array<ArrayBufferLike>} transaction
|
|
1542
|
+
* @param {number} output_index
|
|
1551
1543
|
* @returns {InstantAssetLockProofWASM}
|
|
1552
1544
|
*/
|
|
1553
1545
|
constructor(instant_lock: Uint8Array, transaction: Uint8Array, output_index: number);
|
|
1554
1546
|
/**
|
|
1555
|
-
*
|
|
1547
|
+
* @param {any} value
|
|
1556
1548
|
* @returns {InstantAssetLockProofWASM}
|
|
1557
1549
|
*/
|
|
1558
1550
|
static fromObject(value: any): InstantAssetLockProofWASM;
|
|
@@ -1574,11 +1566,11 @@ export class InstantLockWASM {
|
|
|
1574
1566
|
/** @ignore */
|
|
1575
1567
|
free(): void;
|
|
1576
1568
|
/**
|
|
1577
|
-
*
|
|
1578
|
-
*
|
|
1579
|
-
*
|
|
1580
|
-
*
|
|
1581
|
-
*
|
|
1569
|
+
* @param {number} version
|
|
1570
|
+
* @param {any[]} js_inputs
|
|
1571
|
+
* @param {string} txid
|
|
1572
|
+
* @param {string} cycle_hash
|
|
1573
|
+
* @param {string} bls_signature
|
|
1582
1574
|
* @returns {InstantLockWASM}
|
|
1583
1575
|
*/
|
|
1584
1576
|
constructor(version: number, js_inputs: Array<any>, txid: string, cycle_hash: string, bls_signature: string);
|
|
@@ -1594,29 +1586,29 @@ export class MasternodeVoteTransitionWASM {
|
|
|
1594
1586
|
/** @ignore */
|
|
1595
1587
|
free(): void;
|
|
1596
1588
|
/**
|
|
1597
|
-
*
|
|
1598
|
-
*
|
|
1599
|
-
*
|
|
1600
|
-
*
|
|
1601
|
-
*
|
|
1602
|
-
*
|
|
1589
|
+
* @param {any} js_pro_tx_hash
|
|
1590
|
+
* @param {any} js_voter_identity_id
|
|
1591
|
+
* @param {VoteWASM} vote
|
|
1592
|
+
* @param {bigint} nonce
|
|
1593
|
+
* @param {number} signature_public_key
|
|
1594
|
+
* @param {Uint8Array<ArrayBufferLike>} signature
|
|
1603
1595
|
* @returns {MasternodeVoteTransitionWASM}
|
|
1604
1596
|
*/
|
|
1605
1597
|
constructor(js_pro_tx_hash: any, js_voter_identity_id: any, vote: VoteWASM, nonce: bigint, signature_public_key?: number | null, signature?: Uint8Array | null);
|
|
1606
1598
|
/**
|
|
1607
|
-
*
|
|
1599
|
+
* @param {string} hex
|
|
1608
1600
|
* @returns {MasternodeVoteTransitionWASM}
|
|
1609
1601
|
*/
|
|
1610
1602
|
static fromHex(hex: string): MasternodeVoteTransitionWASM;
|
|
1611
1603
|
/**
|
|
1612
|
-
*
|
|
1604
|
+
* @param {string} base64
|
|
1613
1605
|
* @returns {MasternodeVoteTransitionWASM}
|
|
1614
1606
|
*/
|
|
1615
1607
|
static fromBase64(base64: string): MasternodeVoteTransitionWASM;
|
|
1616
1608
|
/** @returns {Uint8Array<ArrayBufferLike>} */
|
|
1617
1609
|
bytes(): Uint8Array;
|
|
1618
1610
|
/**
|
|
1619
|
-
*
|
|
1611
|
+
* @param {Uint8Array<ArrayBufferLike>} bytes
|
|
1620
1612
|
* @returns {MasternodeVoteTransitionWASM}
|
|
1621
1613
|
*/
|
|
1622
1614
|
static fromBytes(bytes: Uint8Array): MasternodeVoteTransitionWASM;
|
|
@@ -1625,7 +1617,7 @@ export class MasternodeVoteTransitionWASM {
|
|
|
1625
1617
|
/** @returns {StateTransitionWASM} */
|
|
1626
1618
|
toStateTransition(): StateTransitionWASM;
|
|
1627
1619
|
/**
|
|
1628
|
-
*
|
|
1620
|
+
* @param {StateTransitionWASM} st
|
|
1629
1621
|
* @returns {MasternodeVoteTransitionWASM}
|
|
1630
1622
|
*/
|
|
1631
1623
|
static fromStateTransition(st: StateTransitionWASM): MasternodeVoteTransitionWASM;
|
|
@@ -1646,8 +1638,8 @@ export class OutPointWASM {
|
|
|
1646
1638
|
/** @ignore */
|
|
1647
1639
|
free(): void;
|
|
1648
1640
|
/**
|
|
1649
|
-
*
|
|
1650
|
-
*
|
|
1641
|
+
* @param {string} txid_hex
|
|
1642
|
+
* @param {number} vout
|
|
1651
1643
|
* @returns {OutPointWASM}
|
|
1652
1644
|
*/
|
|
1653
1645
|
constructor(txid_hex: string, vout: number);
|
|
@@ -1662,17 +1654,17 @@ export class OutPointWASM {
|
|
|
1662
1654
|
/** @returns {string} */
|
|
1663
1655
|
base64(): string;
|
|
1664
1656
|
/**
|
|
1665
|
-
*
|
|
1657
|
+
* @param {Uint8Array<ArrayBufferLike>} js_buffer
|
|
1666
1658
|
* @returns {OutPointWASM}
|
|
1667
1659
|
*/
|
|
1668
1660
|
static fromBytes(js_buffer: Uint8Array): OutPointWASM;
|
|
1669
1661
|
/**
|
|
1670
|
-
*
|
|
1662
|
+
* @param {string} hex
|
|
1671
1663
|
* @returns {OutPointWASM}
|
|
1672
1664
|
*/
|
|
1673
1665
|
static fromHex(hex: string): OutPointWASM;
|
|
1674
1666
|
/**
|
|
1675
|
-
*
|
|
1667
|
+
* @param {string} base64
|
|
1676
1668
|
* @returns {OutPointWASM}
|
|
1677
1669
|
*/
|
|
1678
1670
|
static fromBase64(base64: string): OutPointWASM;
|
|
@@ -1682,8 +1674,8 @@ export class PrefundedVotingBalanceWASM {
|
|
|
1682
1674
|
/** @ignore */
|
|
1683
1675
|
free(): void;
|
|
1684
1676
|
/**
|
|
1685
|
-
*
|
|
1686
|
-
*
|
|
1677
|
+
* @param {string} index_name
|
|
1678
|
+
* @param {bigint} credits
|
|
1687
1679
|
* @returns {PrefundedVotingBalanceWASM}
|
|
1688
1680
|
*/
|
|
1689
1681
|
constructor(index_name: string, credits: bigint);
|
|
@@ -1695,9 +1687,9 @@ export class PrivateEncryptedNoteWASM {
|
|
|
1695
1687
|
/** @ignore */
|
|
1696
1688
|
free(): void;
|
|
1697
1689
|
/**
|
|
1698
|
-
*
|
|
1699
|
-
*
|
|
1700
|
-
*
|
|
1690
|
+
* @param {number} root_encryption_key_index
|
|
1691
|
+
* @param {number} derivation_encryption_key_index
|
|
1692
|
+
* @param {Uint8Array<ArrayBufferLike>} value
|
|
1701
1693
|
* @returns {PrivateEncryptedNoteWASM}
|
|
1702
1694
|
*/
|
|
1703
1695
|
constructor(root_encryption_key_index: number, derivation_encryption_key_index: number, value: Uint8Array);
|
|
@@ -1712,19 +1704,19 @@ export class PrivateKeyWASM {
|
|
|
1712
1704
|
/** @ignore */
|
|
1713
1705
|
free(): void;
|
|
1714
1706
|
/**
|
|
1715
|
-
*
|
|
1707
|
+
* @param {string} wif
|
|
1716
1708
|
* @returns {PrivateKeyWASM}
|
|
1717
1709
|
*/
|
|
1718
1710
|
static fromWIF(wif: string): PrivateKeyWASM;
|
|
1719
1711
|
/**
|
|
1720
|
-
*
|
|
1721
|
-
*
|
|
1712
|
+
* @param {Uint8Array<ArrayBufferLike>} bytes
|
|
1713
|
+
* @param {any} js_network
|
|
1722
1714
|
* @returns {PrivateKeyWASM}
|
|
1723
1715
|
*/
|
|
1724
1716
|
static fromBytes(bytes: Uint8Array, js_network: any): PrivateKeyWASM;
|
|
1725
1717
|
/**
|
|
1726
|
-
*
|
|
1727
|
-
*
|
|
1718
|
+
* @param {string} hex_key
|
|
1719
|
+
* @param {any} js_network
|
|
1728
1720
|
* @returns {PrivateKeyWASM}
|
|
1729
1721
|
*/
|
|
1730
1722
|
static fromHex(hex_key: string, js_network: any): PrivateKeyWASM;
|
|
@@ -1744,7 +1736,7 @@ export class ResourceVoteChoiceWASM {
|
|
|
1744
1736
|
/** @ignore */
|
|
1745
1737
|
free(): void;
|
|
1746
1738
|
/**
|
|
1747
|
-
*
|
|
1739
|
+
* @param {any} js_id
|
|
1748
1740
|
* @returns {ResourceVoteChoiceWASM}
|
|
1749
1741
|
*/
|
|
1750
1742
|
static TowardsIdentity(js_id: any): ResourceVoteChoiceWASM;
|
|
@@ -1764,20 +1756,20 @@ export class RewardDistributionTypeWASM {
|
|
|
1764
1756
|
/** @ignore */
|
|
1765
1757
|
free(): void;
|
|
1766
1758
|
/**
|
|
1767
|
-
*
|
|
1768
|
-
*
|
|
1759
|
+
* @param {bigint} interval
|
|
1760
|
+
* @param {DistributionFunctionWASM} _function
|
|
1769
1761
|
* @returns {RewardDistributionTypeWASM}
|
|
1770
1762
|
*/
|
|
1771
1763
|
static BlockBasedDistribution(interval: bigint, _function: DistributionFunctionWASM): RewardDistributionTypeWASM;
|
|
1772
1764
|
/**
|
|
1773
|
-
*
|
|
1774
|
-
*
|
|
1765
|
+
* @param {bigint} interval
|
|
1766
|
+
* @param {DistributionFunctionWASM} _function
|
|
1775
1767
|
* @returns {RewardDistributionTypeWASM}
|
|
1776
1768
|
*/
|
|
1777
1769
|
static TimeBasedDistribution(interval: bigint, _function: DistributionFunctionWASM): RewardDistributionTypeWASM;
|
|
1778
1770
|
/**
|
|
1779
|
-
*
|
|
1780
|
-
*
|
|
1771
|
+
* @param {number} interval
|
|
1772
|
+
* @param {DistributionFunctionWASM} _function
|
|
1781
1773
|
* @returns {RewardDistributionTypeWASM}
|
|
1782
1774
|
*/
|
|
1783
1775
|
static EpochBasedDistribution(interval: number, _function: DistributionFunctionWASM): RewardDistributionTypeWASM;
|
|
@@ -1789,9 +1781,9 @@ export class SharedEncryptedNoteWASM {
|
|
|
1789
1781
|
/** @ignore */
|
|
1790
1782
|
free(): void;
|
|
1791
1783
|
/**
|
|
1792
|
-
*
|
|
1793
|
-
*
|
|
1794
|
-
*
|
|
1784
|
+
* @param {number} sender_key_index
|
|
1785
|
+
* @param {number} recipient_key_index
|
|
1786
|
+
* @param {Uint8Array<ArrayBufferLike>} value
|
|
1795
1787
|
* @returns {SharedEncryptedNoteWASM}
|
|
1796
1788
|
*/
|
|
1797
1789
|
constructor(sender_key_index: number, recipient_key_index: number, value: Uint8Array);
|
|
@@ -1806,14 +1798,14 @@ export class StateTransitionWASM {
|
|
|
1806
1798
|
/** @ignore */
|
|
1807
1799
|
free(): void;
|
|
1808
1800
|
/**
|
|
1809
|
-
*
|
|
1810
|
-
*
|
|
1801
|
+
* @param {PrivateKeyWASM} private_key
|
|
1802
|
+
* @param {IdentityPublicKeyWASM} public_key
|
|
1811
1803
|
* @returns {Uint8Array<ArrayBufferLike>}
|
|
1812
1804
|
*/
|
|
1813
1805
|
sign(private_key: PrivateKeyWASM, public_key: IdentityPublicKeyWASM): Uint8Array;
|
|
1814
1806
|
/**
|
|
1815
|
-
*
|
|
1816
|
-
*
|
|
1807
|
+
* @param {PrivateKeyWASM} private_key
|
|
1808
|
+
* @param {any} js_key_type
|
|
1817
1809
|
* @returns {Uint8Array<ArrayBufferLike>}
|
|
1818
1810
|
*/
|
|
1819
1811
|
signByPrivateKey(private_key: PrivateKeyWASM, js_key_type: any): Uint8Array;
|
|
@@ -1824,22 +1816,22 @@ export class StateTransitionWASM {
|
|
|
1824
1816
|
/** @returns {any} */
|
|
1825
1817
|
base64(): any;
|
|
1826
1818
|
/**
|
|
1827
|
-
*
|
|
1819
|
+
* @param {Uint8Array<ArrayBufferLike>} bytes
|
|
1828
1820
|
* @returns {StateTransitionWASM}
|
|
1829
1821
|
*/
|
|
1830
1822
|
static fromBytes(bytes: Uint8Array): StateTransitionWASM;
|
|
1831
1823
|
/**
|
|
1832
|
-
*
|
|
1824
|
+
* @param {string} hex
|
|
1833
1825
|
* @returns {StateTransitionWASM}
|
|
1834
1826
|
*/
|
|
1835
1827
|
static fromHex(hex: string): StateTransitionWASM;
|
|
1836
1828
|
/**
|
|
1837
|
-
*
|
|
1829
|
+
* @param {string} base64
|
|
1838
1830
|
* @returns {StateTransitionWASM}
|
|
1839
1831
|
*/
|
|
1840
1832
|
static fromBase64(base64: string): StateTransitionWASM;
|
|
1841
1833
|
/**
|
|
1842
|
-
*
|
|
1834
|
+
* @param {boolean} skip_signature
|
|
1843
1835
|
* @returns {string}
|
|
1844
1836
|
*/
|
|
1845
1837
|
hash(skip_signature: boolean): string;
|
|
@@ -1869,11 +1861,11 @@ export class TokenBaseTransitionWASM {
|
|
|
1869
1861
|
/** @ignore */
|
|
1870
1862
|
free(): void;
|
|
1871
1863
|
/**
|
|
1872
|
-
*
|
|
1873
|
-
*
|
|
1874
|
-
*
|
|
1875
|
-
*
|
|
1876
|
-
*
|
|
1864
|
+
* @param {bigint} identity_contract_nonce
|
|
1865
|
+
* @param {number} token_contract_position
|
|
1866
|
+
* @param {any} js_data_contract_id
|
|
1867
|
+
* @param {any} js_token_id
|
|
1868
|
+
* @param {any} js_using_group_info
|
|
1877
1869
|
* @returns {TokenBaseTransitionWASM}
|
|
1878
1870
|
*/
|
|
1879
1871
|
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 +1883,9 @@ export class TokenBurnTransitionWASM {
|
|
|
1891
1883
|
/** @ignore */
|
|
1892
1884
|
free(): void;
|
|
1893
1885
|
/**
|
|
1894
|
-
*
|
|
1895
|
-
*
|
|
1896
|
-
*
|
|
1886
|
+
* @param {TokenBaseTransitionWASM} base
|
|
1887
|
+
* @param {bigint} burn_amount
|
|
1888
|
+
* @param {string} public_note
|
|
1897
1889
|
* @returns {TokenBurnTransitionWASM}
|
|
1898
1890
|
*/
|
|
1899
1891
|
constructor(base: TokenBaseTransitionWASM, burn_amount: bigint, public_note?: string | null);
|
|
@@ -1907,9 +1899,9 @@ export class TokenClaimTransitionWASM {
|
|
|
1907
1899
|
/** @ignore */
|
|
1908
1900
|
free(): void;
|
|
1909
1901
|
/**
|
|
1910
|
-
*
|
|
1911
|
-
*
|
|
1912
|
-
*
|
|
1902
|
+
* @param {TokenBaseTransitionWASM} base
|
|
1903
|
+
* @param {any} js_distribution_type
|
|
1904
|
+
* @param {string} public_note
|
|
1913
1905
|
* @returns {TokenClaimTransitionWASM}
|
|
1914
1906
|
*/
|
|
1915
1907
|
constructor(base: TokenBaseTransitionWASM, js_distribution_type: any, public_note?: string | null);
|
|
@@ -1924,9 +1916,9 @@ export class TokenConfigUpdateTransitionWASM {
|
|
|
1924
1916
|
/** @ignore */
|
|
1925
1917
|
free(): void;
|
|
1926
1918
|
/**
|
|
1927
|
-
*
|
|
1928
|
-
*
|
|
1929
|
-
*
|
|
1919
|
+
* @param {TokenBaseTransitionWASM} base
|
|
1920
|
+
* @param {TokenConfigurationChangeItemWASM} update_token_configuration_item
|
|
1921
|
+
* @param {string} public_note
|
|
1930
1922
|
* @returns {TokenConfigUpdateTransitionWASM}
|
|
1931
1923
|
*/
|
|
1932
1924
|
constructor(base: TokenBaseTransitionWASM, update_token_configuration_item: TokenConfigurationChangeItemWASM, public_note?: string | null);
|
|
@@ -1942,159 +1934,159 @@ export class TokenConfigurationChangeItemWASM {
|
|
|
1942
1934
|
/** @ignore */
|
|
1943
1935
|
free(): void;
|
|
1944
1936
|
/**
|
|
1945
|
-
*
|
|
1937
|
+
* @param {TokenConfigurationConventionWASM} convention
|
|
1946
1938
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1947
1939
|
*/
|
|
1948
1940
|
static conventionsItem(convention: TokenConfigurationConventionWASM): TokenConfigurationChangeItemWASM;
|
|
1949
1941
|
/**
|
|
1950
|
-
*
|
|
1942
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
1951
1943
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1952
1944
|
*/
|
|
1953
1945
|
static ConventionsAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
1954
1946
|
/**
|
|
1955
|
-
*
|
|
1947
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
1956
1948
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1957
1949
|
*/
|
|
1958
1950
|
static ConventionsControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
1959
1951
|
/**
|
|
1960
|
-
*
|
|
1952
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
1961
1953
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1962
1954
|
*/
|
|
1963
1955
|
static DestroyFrozenFundsItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
1964
1956
|
/**
|
|
1965
|
-
*
|
|
1957
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
1966
1958
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1967
1959
|
*/
|
|
1968
1960
|
static DestroyFrozenFundsAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
1969
1961
|
/**
|
|
1970
|
-
*
|
|
1962
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
1971
1963
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1972
1964
|
*/
|
|
1973
1965
|
static EmergencyActionItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
1974
1966
|
/**
|
|
1975
|
-
*
|
|
1967
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
1976
1968
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1977
1969
|
*/
|
|
1978
1970
|
static EmergencyActionAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
1979
1971
|
/**
|
|
1980
|
-
*
|
|
1972
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
1981
1973
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1982
1974
|
*/
|
|
1983
1975
|
static FreezeItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
1984
1976
|
/**
|
|
1985
|
-
*
|
|
1977
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
1986
1978
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1987
1979
|
*/
|
|
1988
1980
|
static FreezeAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
1989
1981
|
/**
|
|
1990
|
-
*
|
|
1982
|
+
* @param {number} group_contract_position
|
|
1991
1983
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1992
1984
|
*/
|
|
1993
1985
|
static MainControlGroupItem(group_contract_position?: number | null): TokenConfigurationChangeItemWASM;
|
|
1994
1986
|
/**
|
|
1995
|
-
*
|
|
1987
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
1996
1988
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
1997
1989
|
*/
|
|
1998
1990
|
static ManualBurningItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
1999
1991
|
/**
|
|
2000
|
-
*
|
|
1992
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2001
1993
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2002
1994
|
*/
|
|
2003
1995
|
static ManualBurningAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2004
1996
|
/**
|
|
2005
|
-
*
|
|
1997
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2006
1998
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2007
1999
|
*/
|
|
2008
2000
|
static ManualMintingItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2009
2001
|
/**
|
|
2010
|
-
*
|
|
2002
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2011
2003
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2012
2004
|
*/
|
|
2013
2005
|
static ManualMintingAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2014
2006
|
/**
|
|
2015
|
-
*
|
|
2007
|
+
* @param {TokenTradeModeWASM} trade_mode
|
|
2016
2008
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2017
2009
|
*/
|
|
2018
2010
|
static MarketplaceTradeModeItem(trade_mode: TokenTradeModeWASM): TokenConfigurationChangeItemWASM;
|
|
2019
2011
|
/**
|
|
2020
|
-
*
|
|
2012
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2021
2013
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2022
2014
|
*/
|
|
2023
2015
|
static MarketplaceTradeModeControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2024
2016
|
/**
|
|
2025
|
-
*
|
|
2017
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2026
2018
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2027
2019
|
*/
|
|
2028
2020
|
static MarketplaceTradeModeAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2029
2021
|
/**
|
|
2030
|
-
*
|
|
2022
|
+
* @param {bigint} supply
|
|
2031
2023
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2032
2024
|
*/
|
|
2033
2025
|
static MaxSupplyItem(supply?: bigint | null): TokenConfigurationChangeItemWASM;
|
|
2034
2026
|
/**
|
|
2035
|
-
*
|
|
2027
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2036
2028
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2037
2029
|
*/
|
|
2038
2030
|
static MaxSupplyControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2039
2031
|
/**
|
|
2040
|
-
*
|
|
2032
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2041
2033
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2042
2034
|
*/
|
|
2043
2035
|
static MaxSupplyAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2044
2036
|
/**
|
|
2045
|
-
*
|
|
2037
|
+
* @param {boolean} flag
|
|
2046
2038
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2047
2039
|
*/
|
|
2048
2040
|
static MintingAllowChoosingDestinationItem(flag: boolean): TokenConfigurationChangeItemWASM;
|
|
2049
2041
|
/**
|
|
2050
|
-
*
|
|
2042
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2051
2043
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2052
2044
|
*/
|
|
2053
2045
|
static MintingAllowChoosingDestinationControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2054
2046
|
/**
|
|
2055
|
-
*
|
|
2047
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2056
2048
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2057
2049
|
*/
|
|
2058
2050
|
static MintingAllowChoosingDestinationAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2059
2051
|
/**
|
|
2060
|
-
*
|
|
2052
|
+
* @param {any} js_identity_id
|
|
2061
2053
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2062
2054
|
*/
|
|
2063
2055
|
static NewTokensDestinationIdentityItem(js_identity_id: any): TokenConfigurationChangeItemWASM;
|
|
2064
2056
|
/**
|
|
2065
|
-
*
|
|
2057
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2066
2058
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2067
2059
|
*/
|
|
2068
2060
|
static NewTokensDestinationIdentityControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2069
2061
|
/**
|
|
2070
|
-
*
|
|
2062
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2071
2063
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2072
2064
|
*/
|
|
2073
2065
|
static NewTokensDestinationIdentityAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2074
2066
|
/** @returns {TokenConfigurationChangeItemWASM} */
|
|
2075
2067
|
static noChangeItem(): TokenConfigurationChangeItemWASM;
|
|
2076
2068
|
/**
|
|
2077
|
-
*
|
|
2069
|
+
* @param {any} js_perpetual_distribution_value
|
|
2078
2070
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2079
2071
|
*/
|
|
2080
2072
|
static PerpetualDistributionConfigurationItem(js_perpetual_distribution_value: any): TokenConfigurationChangeItemWASM;
|
|
2081
2073
|
/**
|
|
2082
|
-
*
|
|
2074
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2083
2075
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2084
2076
|
*/
|
|
2085
2077
|
static PerpetualDistributionControlGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2086
2078
|
/**
|
|
2087
|
-
*
|
|
2079
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2088
2080
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2089
2081
|
*/
|
|
2090
2082
|
static PerpetualDistributionAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2091
2083
|
/**
|
|
2092
|
-
*
|
|
2084
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2093
2085
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2094
2086
|
*/
|
|
2095
2087
|
static UnfreezeItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
2096
2088
|
/**
|
|
2097
|
-
*
|
|
2089
|
+
* @param {AuthorizedActionTakersWASM} action_taker
|
|
2098
2090
|
* @returns {TokenConfigurationChangeItemWASM}
|
|
2099
2091
|
*/
|
|
2100
2092
|
static UnfreezeAdminGroupItem(action_taker: AuthorizedActionTakersWASM): TokenConfigurationChangeItemWASM;
|
|
@@ -2108,8 +2100,8 @@ export class TokenConfigurationConventionWASM {
|
|
|
2108
2100
|
/** @ignore */
|
|
2109
2101
|
free(): void;
|
|
2110
2102
|
/**
|
|
2111
|
-
*
|
|
2112
|
-
*
|
|
2103
|
+
* @param {any} js_localizations
|
|
2104
|
+
* @param {number} decimals
|
|
2113
2105
|
* @returns {TokenConfigurationConventionWASM}
|
|
2114
2106
|
*/
|
|
2115
2107
|
constructor(js_localizations: any, decimals: number);
|
|
@@ -2121,9 +2113,9 @@ export class TokenConfigurationLocalizationWASM {
|
|
|
2121
2113
|
/** @ignore */
|
|
2122
2114
|
free(): void;
|
|
2123
2115
|
/**
|
|
2124
|
-
*
|
|
2125
|
-
*
|
|
2126
|
-
*
|
|
2116
|
+
* @param {boolean} should_capitalize
|
|
2117
|
+
* @param {string} singular_form
|
|
2118
|
+
* @param {string} plural_form
|
|
2127
2119
|
* @returns {TokenConfigurationLocalizationWASM}
|
|
2128
2120
|
*/
|
|
2129
2121
|
constructor(should_capitalize: boolean, singular_form: string, plural_form: string);
|
|
@@ -2138,25 +2130,25 @@ export class TokenConfigurationWASM {
|
|
|
2138
2130
|
/** @ignore */
|
|
2139
2131
|
free(): void;
|
|
2140
2132
|
/**
|
|
2141
|
-
*
|
|
2142
|
-
*
|
|
2143
|
-
*
|
|
2144
|
-
*
|
|
2145
|
-
*
|
|
2146
|
-
*
|
|
2147
|
-
*
|
|
2148
|
-
*
|
|
2149
|
-
*
|
|
2150
|
-
*
|
|
2151
|
-
*
|
|
2152
|
-
*
|
|
2153
|
-
*
|
|
2154
|
-
*
|
|
2155
|
-
*
|
|
2156
|
-
*
|
|
2157
|
-
*
|
|
2158
|
-
*
|
|
2159
|
-
*
|
|
2133
|
+
* @param {TokenConfigurationConventionWASM} conventions
|
|
2134
|
+
* @param {ChangeControlRulesWASM} conventions_change_rules
|
|
2135
|
+
* @param {bigint} base_supply
|
|
2136
|
+
* @param {bigint} max_supply
|
|
2137
|
+
* @param {TokenKeepsHistoryRulesWASM} keeps_history
|
|
2138
|
+
* @param {boolean} start_as_paused
|
|
2139
|
+
* @param {boolean} allow_transfer_to_frozen_balance
|
|
2140
|
+
* @param {ChangeControlRulesWASM} max_supply_change_rules
|
|
2141
|
+
* @param {TokenDistributionRulesWASM} distribution_rules
|
|
2142
|
+
* @param {TokenMarketplaceRulesWASM} marketplace_rules
|
|
2143
|
+
* @param {ChangeControlRulesWASM} manual_minting_rules
|
|
2144
|
+
* @param {ChangeControlRulesWASM} manual_burning_rules
|
|
2145
|
+
* @param {ChangeControlRulesWASM} freeze_rules
|
|
2146
|
+
* @param {ChangeControlRulesWASM} unfreeze_rules
|
|
2147
|
+
* @param {ChangeControlRulesWASM} destroy_frozen_funds_rules
|
|
2148
|
+
* @param {ChangeControlRulesWASM} emergency_action_rules
|
|
2149
|
+
* @param {number} main_control_group
|
|
2150
|
+
* @param {AuthorizedActionTakersWASM} main_control_group_can_be_modified
|
|
2151
|
+
* @param {string} description
|
|
2160
2152
|
* @returns {TokenConfigurationWASM}
|
|
2161
2153
|
*/
|
|
2162
2154
|
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 +2180,9 @@ export class TokenDestroyFrozenFundsTransitionWASM {
|
|
|
2188
2180
|
/** @ignore */
|
|
2189
2181
|
free(): void;
|
|
2190
2182
|
/**
|
|
2191
|
-
*
|
|
2192
|
-
*
|
|
2193
|
-
*
|
|
2183
|
+
* @param {TokenBaseTransitionWASM} base
|
|
2184
|
+
* @param {any} js_frozen_identity_id
|
|
2185
|
+
* @param {string} public_note
|
|
2194
2186
|
* @returns {TokenDestroyFrozenFundsTransitionWASM}
|
|
2195
2187
|
*/
|
|
2196
2188
|
constructor(base: TokenBaseTransitionWASM, js_frozen_identity_id: any, public_note?: string | null);
|
|
@@ -2205,9 +2197,9 @@ export class TokenDirectPurchaseTransitionWASM {
|
|
|
2205
2197
|
/** @ignore */
|
|
2206
2198
|
free(): void;
|
|
2207
2199
|
/**
|
|
2208
|
-
*
|
|
2209
|
-
*
|
|
2210
|
-
*
|
|
2200
|
+
* @param {TokenBaseTransitionWASM} base
|
|
2201
|
+
* @param {bigint} token_count
|
|
2202
|
+
* @param {bigint} total_agreed_price
|
|
2211
2203
|
* @returns {TokenDirectPurchaseTransitionWASM}
|
|
2212
2204
|
*/
|
|
2213
2205
|
constructor(base: TokenBaseTransitionWASM, token_count: bigint, total_agreed_price: bigint);
|
|
@@ -2224,7 +2216,7 @@ export class TokenDistributionRecipientWASM {
|
|
|
2224
2216
|
/** @returns {TokenDistributionRecipientWASM} */
|
|
2225
2217
|
static ContractOwner(): TokenDistributionRecipientWASM;
|
|
2226
2218
|
/**
|
|
2227
|
-
*
|
|
2219
|
+
* @param {any} js_identity_id
|
|
2228
2220
|
* @returns {TokenDistributionRecipientWASM}
|
|
2229
2221
|
*/
|
|
2230
2222
|
static Identity(js_identity_id: any): TokenDistributionRecipientWASM;
|
|
@@ -2240,14 +2232,14 @@ export class TokenDistributionRulesWASM {
|
|
|
2240
2232
|
/** @ignore */
|
|
2241
2233
|
free(): void;
|
|
2242
2234
|
/**
|
|
2243
|
-
*
|
|
2244
|
-
*
|
|
2245
|
-
*
|
|
2246
|
-
*
|
|
2247
|
-
*
|
|
2248
|
-
*
|
|
2249
|
-
*
|
|
2250
|
-
*
|
|
2235
|
+
* @param {any} js_perpetual_distribution
|
|
2236
|
+
* @param {ChangeControlRulesWASM} perpetual_distribution_rules
|
|
2237
|
+
* @param {any} js_pre_programmed_distribution
|
|
2238
|
+
* @param {any} js_new_tokens_destination_identity
|
|
2239
|
+
* @param {ChangeControlRulesWASM} new_tokens_destination_identity_rules
|
|
2240
|
+
* @param {boolean} minting_allow_choosing_destination
|
|
2241
|
+
* @param {ChangeControlRulesWASM} minting_allow_choosing_destination_rules
|
|
2242
|
+
* @param {ChangeControlRulesWASM} change_direct_purchase_pricing_rules
|
|
2251
2243
|
* @returns {TokenDistributionRulesWASM}
|
|
2252
2244
|
*/
|
|
2253
2245
|
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 +2259,9 @@ export class TokenEmergencyActionTransitionWASM {
|
|
|
2267
2259
|
/** @ignore */
|
|
2268
2260
|
free(): void;
|
|
2269
2261
|
/**
|
|
2270
|
-
*
|
|
2271
|
-
*
|
|
2272
|
-
*
|
|
2262
|
+
* @param {TokenBaseTransitionWASM} base
|
|
2263
|
+
* @param {TokenEmergencyActionWASM} emergency_action
|
|
2264
|
+
* @param {string} public_note
|
|
2273
2265
|
* @returns {TokenEmergencyActionTransitionWASM}
|
|
2274
2266
|
*/
|
|
2275
2267
|
constructor(base: TokenBaseTransitionWASM, emergency_action: TokenEmergencyActionWASM, public_note?: string | null);
|
|
@@ -2284,9 +2276,9 @@ export class TokenFreezeTransitionWASM {
|
|
|
2284
2276
|
/** @ignore */
|
|
2285
2277
|
free(): void;
|
|
2286
2278
|
/**
|
|
2287
|
-
*
|
|
2288
|
-
*
|
|
2289
|
-
*
|
|
2279
|
+
* @param {TokenBaseTransitionWASM} base
|
|
2280
|
+
* @param {any} js_identity_to_freeze_id
|
|
2281
|
+
* @param {string} public_note
|
|
2290
2282
|
* @returns {TokenFreezeTransitionWASM}
|
|
2291
2283
|
*/
|
|
2292
2284
|
constructor(base: TokenBaseTransitionWASM, js_identity_to_freeze_id: any, public_note?: string | null);
|
|
@@ -2301,12 +2293,12 @@ export class TokenKeepsHistoryRulesWASM {
|
|
|
2301
2293
|
/** @ignore */
|
|
2302
2294
|
free(): void;
|
|
2303
2295
|
/**
|
|
2304
|
-
*
|
|
2305
|
-
*
|
|
2306
|
-
*
|
|
2307
|
-
*
|
|
2308
|
-
*
|
|
2309
|
-
*
|
|
2296
|
+
* @param {boolean} keeps_transfer_history
|
|
2297
|
+
* @param {boolean} keeps_freezing_history
|
|
2298
|
+
* @param {boolean} keeps_minting_history
|
|
2299
|
+
* @param {boolean} keeps_burning_history
|
|
2300
|
+
* @param {boolean} keeps_direct_pricing_history
|
|
2301
|
+
* @param {boolean} keeps_direct_purchase_history
|
|
2310
2302
|
* @returns {TokenKeepsHistoryRulesWASM}
|
|
2311
2303
|
*/
|
|
2312
2304
|
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 +2314,8 @@ export class TokenMarketplaceRulesWASM {
|
|
|
2322
2314
|
/** @ignore */
|
|
2323
2315
|
free(): void;
|
|
2324
2316
|
/**
|
|
2325
|
-
*
|
|
2326
|
-
*
|
|
2317
|
+
* @param {TokenTradeModeWASM} trade_mode
|
|
2318
|
+
* @param {ChangeControlRulesWASM} trade_mode_change_rules
|
|
2327
2319
|
* @returns {TokenMarketplaceRulesWASM}
|
|
2328
2320
|
*/
|
|
2329
2321
|
constructor(trade_mode: TokenTradeModeWASM, trade_mode_change_rules: ChangeControlRulesWASM);
|
|
@@ -2334,15 +2326,15 @@ export class TokenMintTransitionWASM {
|
|
|
2334
2326
|
/** @ignore */
|
|
2335
2327
|
free(): void;
|
|
2336
2328
|
/**
|
|
2337
|
-
*
|
|
2338
|
-
*
|
|
2339
|
-
*
|
|
2340
|
-
*
|
|
2329
|
+
* @param {TokenBaseTransitionWASM} base
|
|
2330
|
+
* @param {any} js_issued_to_identity_id
|
|
2331
|
+
* @param {bigint} amount
|
|
2332
|
+
* @param {string} public_note
|
|
2341
2333
|
* @returns {TokenMintTransitionWASM}
|
|
2342
2334
|
*/
|
|
2343
2335
|
constructor(base: TokenBaseTransitionWASM, js_issued_to_identity_id: any, amount: bigint, public_note?: string | null);
|
|
2344
2336
|
/**
|
|
2345
|
-
*
|
|
2337
|
+
* @param {TokenConfigurationWASM} config
|
|
2346
2338
|
* @returns {IdentifierWASM}
|
|
2347
2339
|
*/
|
|
2348
2340
|
getRecipitnId(config: TokenConfigurationWASM): IdentifierWASM;
|
|
@@ -2358,8 +2350,8 @@ export class TokenPerpetualDistributionWASM {
|
|
|
2358
2350
|
/** @ignore */
|
|
2359
2351
|
free(): void;
|
|
2360
2352
|
/**
|
|
2361
|
-
*
|
|
2362
|
-
*
|
|
2353
|
+
* @param {RewardDistributionTypeWASM} distribution_type
|
|
2354
|
+
* @param {TokenDistributionRecipientWASM} recipient
|
|
2363
2355
|
* @returns {TokenPerpetualDistributionWASM}
|
|
2364
2356
|
*/
|
|
2365
2357
|
constructor(distribution_type: RewardDistributionTypeWASM, recipient: TokenDistributionRecipientWASM);
|
|
@@ -2371,7 +2363,7 @@ export class TokenPreProgrammedDistributionWASM {
|
|
|
2371
2363
|
/** @ignore */
|
|
2372
2364
|
free(): void;
|
|
2373
2365
|
/**
|
|
2374
|
-
*
|
|
2366
|
+
* @param {any} js_distributions
|
|
2375
2367
|
* @returns {TokenPreProgrammedDistributionWASM}
|
|
2376
2368
|
*/
|
|
2377
2369
|
constructor(js_distributions: any);
|
|
@@ -2384,12 +2376,12 @@ export class TokenPricingScheduleWASM {
|
|
|
2384
2376
|
/** @ignore */
|
|
2385
2377
|
free(): void;
|
|
2386
2378
|
/**
|
|
2387
|
-
*
|
|
2379
|
+
* @param {bigint} credits
|
|
2388
2380
|
* @returns {TokenPricingScheduleWASM}
|
|
2389
2381
|
*/
|
|
2390
2382
|
static SinglePrice(credits: bigint): TokenPricingScheduleWASM;
|
|
2391
2383
|
/**
|
|
2392
|
-
*
|
|
2384
|
+
* @param {any} js_prices
|
|
2393
2385
|
* @returns {TokenPricingScheduleWASM}
|
|
2394
2386
|
*/
|
|
2395
2387
|
static SetPrices(js_prices: any): TokenPricingScheduleWASM;
|
|
@@ -2403,9 +2395,9 @@ export class TokenSetPriceForDirectPurchaseTransitionWASM {
|
|
|
2403
2395
|
/** @ignore */
|
|
2404
2396
|
free(): void;
|
|
2405
2397
|
/**
|
|
2406
|
-
*
|
|
2407
|
-
*
|
|
2408
|
-
*
|
|
2398
|
+
* @param {TokenBaseTransitionWASM} base
|
|
2399
|
+
* @param {any} js_price
|
|
2400
|
+
* @param {string} public_note
|
|
2409
2401
|
* @returns {TokenSetPriceForDirectPurchaseTransitionWASM}
|
|
2410
2402
|
*/
|
|
2411
2403
|
constructor(base: TokenBaseTransitionWASM, js_price: any, public_note?: string | null);
|
|
@@ -2430,12 +2422,12 @@ export class TokenTransferTransitionWASM {
|
|
|
2430
2422
|
/** @ignore */
|
|
2431
2423
|
free(): void;
|
|
2432
2424
|
/**
|
|
2433
|
-
*
|
|
2434
|
-
*
|
|
2435
|
-
*
|
|
2436
|
-
*
|
|
2437
|
-
*
|
|
2438
|
-
*
|
|
2425
|
+
* @param {TokenBaseTransitionWASM} base
|
|
2426
|
+
* @param {any} js_recipient_id
|
|
2427
|
+
* @param {bigint} amount
|
|
2428
|
+
* @param {string} public_note
|
|
2429
|
+
* @param {any} js_shared_encrypted_note
|
|
2430
|
+
* @param {any} js_private_encrypted_note
|
|
2439
2431
|
* @returns {TokenTransferTransitionWASM}
|
|
2440
2432
|
*/
|
|
2441
2433
|
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 +2447,7 @@ export class TokenTransitionWASM {
|
|
|
2455
2447
|
/** @ignore */
|
|
2456
2448
|
free(): void;
|
|
2457
2449
|
/**
|
|
2458
|
-
*
|
|
2450
|
+
* @param {any} js_transition
|
|
2459
2451
|
* @returns {TokenTransitionWASM}
|
|
2460
2452
|
*/
|
|
2461
2453
|
constructor(js_transition: any);
|
|
@@ -2468,7 +2460,7 @@ export class TokenTransitionWASM {
|
|
|
2468
2460
|
/** @returns {string} */
|
|
2469
2461
|
getHistoricalDocumentTypeName(): string;
|
|
2470
2462
|
/**
|
|
2471
|
-
*
|
|
2463
|
+
* @param {any} js_owner
|
|
2472
2464
|
* @returns {IdentifierWASM}
|
|
2473
2465
|
*/
|
|
2474
2466
|
getHistoricalDocumentId(js_owner: any): IdentifierWASM;
|
|
@@ -2483,9 +2475,9 @@ export class TokenUnFreezeTransitionWASM {
|
|
|
2483
2475
|
/** @ignore */
|
|
2484
2476
|
free(): void;
|
|
2485
2477
|
/**
|
|
2486
|
-
*
|
|
2487
|
-
*
|
|
2488
|
-
*
|
|
2478
|
+
* @param {TokenBaseTransitionWASM} base
|
|
2479
|
+
* @param {any} js_frozen_identity_id
|
|
2480
|
+
* @param {string} public_note
|
|
2489
2481
|
* @returns {TokenUnFreezeTransitionWASM}
|
|
2490
2482
|
*/
|
|
2491
2483
|
constructor(base: TokenBaseTransitionWASM, js_frozen_identity_id: any, public_note?: string | null);
|
|
@@ -2500,8 +2492,8 @@ export class TxOutWASM {
|
|
|
2500
2492
|
/** @ignore */
|
|
2501
2493
|
free(): void;
|
|
2502
2494
|
/**
|
|
2503
|
-
*
|
|
2504
|
-
*
|
|
2495
|
+
* @param {bigint} value
|
|
2496
|
+
* @param {any} script_pubkey
|
|
2505
2497
|
* @returns {TxOutWASM}
|
|
2506
2498
|
*/
|
|
2507
2499
|
constructor(value: bigint, script_pubkey: any);
|
|
@@ -2516,10 +2508,10 @@ export class VotePollWASM {
|
|
|
2516
2508
|
/** @ignore */
|
|
2517
2509
|
free(): void;
|
|
2518
2510
|
/**
|
|
2519
|
-
*
|
|
2520
|
-
*
|
|
2521
|
-
*
|
|
2522
|
-
*
|
|
2511
|
+
* @param {any} js_contract_id
|
|
2512
|
+
* @param {string} document_type_name
|
|
2513
|
+
* @param {string} index_name
|
|
2514
|
+
* @param {any} js_index_values
|
|
2523
2515
|
* @returns {VotePollWASM}
|
|
2524
2516
|
*/
|
|
2525
2517
|
constructor(js_contract_id: any, document_type_name: string, index_name: string, js_index_values: any);
|
|
@@ -2537,8 +2529,8 @@ export class VoteWASM {
|
|
|
2537
2529
|
/** @ignore */
|
|
2538
2530
|
free(): void;
|
|
2539
2531
|
/**
|
|
2540
|
-
*
|
|
2541
|
-
*
|
|
2532
|
+
* @param {VotePollWASM} vote_poll
|
|
2533
|
+
* @param {ResourceVoteChoiceWASM} resource_vote_choice
|
|
2542
2534
|
* @returns {VoteWASM}
|
|
2543
2535
|
*/
|
|
2544
2536
|
constructor(vote_poll: VotePollWASM, resource_vote_choice: ResourceVoteChoiceWASM);
|
|
@@ -2834,13 +2826,13 @@ export interface InitOutput {
|
|
|
2834
2826
|
readonly __wbg_identitywasm_free: (a: number, b: number) => void;
|
|
2835
2827
|
readonly identitywasm_type_name: (a: number, b: number) => void;
|
|
2836
2828
|
readonly identitywasm_new: (a: number, b: number) => void;
|
|
2837
|
-
readonly
|
|
2838
|
-
readonly
|
|
2839
|
-
readonly
|
|
2829
|
+
readonly identitywasm_set_id: (a: number, b: number, c: number) => void;
|
|
2830
|
+
readonly identitywasm_set_balance: (a: number, b: bigint) => void;
|
|
2831
|
+
readonly identitywasm_set_revision: (a: number, b: bigint) => void;
|
|
2840
2832
|
readonly identitywasm_addPublicKey: (a: number, b: number) => void;
|
|
2841
|
-
readonly
|
|
2842
|
-
readonly
|
|
2843
|
-
readonly
|
|
2833
|
+
readonly identitywasm_get_id: (a: number) => number;
|
|
2834
|
+
readonly identitywasm_get_balance: (a: number) => bigint;
|
|
2835
|
+
readonly identitywasm_get_revision: (a: number) => bigint;
|
|
2844
2836
|
readonly identitywasm_getPublicKeyById: (a: number, b: number) => number;
|
|
2845
2837
|
readonly identitywasm_getPublicKeys: (a: number, b: number) => void;
|
|
2846
2838
|
readonly identitywasm_fromHex: (a: number, b: number, c: number) => void;
|