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