pshenmic-dpp 1.1.1 → 1.1.2-dev.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/wasm/index.d.ts +22 -0
- package/dist/wasm/pshenmic_dpp.d.ts +709 -114
- package/dist/wasm/pshenmic_dpp.js +7696 -4705
- package/dist/wasm/pshenmic_dpp_bg.js +1 -1
- package/dist/wasm/pshenmic_dpp_bg.wasm.d.ts +298 -103
- package/dist/wasm/pshenmic_dpp_zipped.js +1 -1
- package/package.json +1 -1
- package/tests/AsyncImportTest.spec.cjs +2 -2
- package/tests/DataContract.spec.cjs +1 -1
- package/tests/DataContractCreateStateTransition.spec.cjs +9 -10
- package/tests/DataContractUpdateStateTransition.spec.cjs +9 -9
- package/tests/IdentityCreateTransition.spec.cjs +0 -1
- package/tests/IdentityPublicKey.spec.cjs +40 -0
- package/tests/mocks/DataContract/DataContract.json +16 -5
- package/tests/mocks/DataContract/index.js +1 -1
|
@@ -18,6 +18,7 @@ export function verifyIdentityByUniqueKeyHashProof(proof: Uint8Array, js_public_
|
|
|
18
18
|
export function verifyIdentifierByNonUniquePublicKeyHashProof(proof: Uint8Array, is_proof_subset: boolean, js_public_key_hash: Uint8Array, js_after: any, js_platform_version: any): VerifiedIdentifierByNonUniquePublicKeyHashWASM;
|
|
19
19
|
export function verifyVotePollVoteStateProof(proof: Uint8Array, contract: DataContractWASM, document_type_name: string, index_name: string, js_index_values: Uint8Array[], js_result_type: any, allow_include_locked_and_abstaining_vote_tally: boolean, count: number | null | undefined, js_start_at: any, js_platform_version: any): VerifiedVoteStateWASM;
|
|
20
20
|
export function verifySignatureDigest(sign_digest: Uint8Array, signature: Uint8Array, pubkey_bytes: Uint8Array): boolean;
|
|
21
|
+
export function verifyStateTransitionResult(proof: Uint8Array, state_transition: StateTransitionWASM, block_info: BlockInfoWASM, js_known_contracts_array: any, js_platform_version: any): VerifiedStateTransitionResultWASM;
|
|
21
22
|
export enum ActionGoalWASM {
|
|
22
23
|
ActionCompletion = 0,
|
|
23
24
|
ActionParticipation = 1,
|
|
@@ -40,6 +41,10 @@ export enum GasFeesPaidByWASM {
|
|
|
40
41
|
ContractOwner = 1,
|
|
41
42
|
PreferContractOwner = 2,
|
|
42
43
|
}
|
|
44
|
+
export enum GroupActionStatusWASM {
|
|
45
|
+
ActionActive = 0,
|
|
46
|
+
ActionClosed = 1,
|
|
47
|
+
}
|
|
43
48
|
export enum KeyType {
|
|
44
49
|
ECDSA_SECP256K1 = 0,
|
|
45
50
|
BLS12_381 = 1,
|
|
@@ -64,6 +69,7 @@ export enum PlatformVersionWASM {
|
|
|
64
69
|
PLATFORM_V8 = 8,
|
|
65
70
|
PLATFORM_V9 = 9,
|
|
66
71
|
PLATFORM_V10 = 10,
|
|
72
|
+
PLATFORM_V11 = 11,
|
|
67
73
|
}
|
|
68
74
|
export enum PoolingWASM {
|
|
69
75
|
Never = 0,
|
|
@@ -113,6 +119,158 @@ export class ActionTakerWASM {
|
|
|
113
119
|
value: any;
|
|
114
120
|
readonly __type: string;
|
|
115
121
|
}
|
|
122
|
+
export class AddressCreditWithdrawalTransitionWASM {
|
|
123
|
+
/** @ignore */
|
|
124
|
+
free(): void;
|
|
125
|
+
[Symbol.dispose](): void;
|
|
126
|
+
/** @returns {StateTransitionWASM} */
|
|
127
|
+
toStateTransition(): StateTransitionWASM;
|
|
128
|
+
/**
|
|
129
|
+
* @param {StateTransitionWASM} st
|
|
130
|
+
* @returns {AddressCreditWithdrawalTransitionWASM}
|
|
131
|
+
*/
|
|
132
|
+
static fromStateTransition(st: StateTransitionWASM): AddressCreditWithdrawalTransitionWASM;
|
|
133
|
+
/**
|
|
134
|
+
* @param {any} js_inputs
|
|
135
|
+
* @param {AddressFundsFeeStrategyStepWASM[]} js_fee_strategy
|
|
136
|
+
* @param {number} core_fee_per_byte
|
|
137
|
+
* @param {any} js_pooling
|
|
138
|
+
* @param {CoreScriptWASM} js_output_script
|
|
139
|
+
* @param {number} user_fee_increase
|
|
140
|
+
* @param {any} js_input_witnesses
|
|
141
|
+
* @param {any} js_output
|
|
142
|
+
* @returns {AddressCreditWithdrawalTransitionWASM}
|
|
143
|
+
*/
|
|
144
|
+
constructor(js_inputs: any, js_fee_strategy: AddressFundsFeeStrategyStepWASM[], core_fee_per_byte: number, js_pooling: any, js_output_script: CoreScriptWASM, user_fee_increase: number, js_input_witnesses: any, js_output: any);
|
|
145
|
+
get inputs(): InputAddressWASM[];
|
|
146
|
+
set inputs(value: any);
|
|
147
|
+
get output(): OutputAddressWASM | undefined;
|
|
148
|
+
set output(value: any);
|
|
149
|
+
get pooling(): PoolingWASM;
|
|
150
|
+
set pooling(value: any);
|
|
151
|
+
static readonly __struct: string;
|
|
152
|
+
feeStrategy: AddressFundsFeeStrategyStepWASM[];
|
|
153
|
+
get inputWitness(): AddressWitnessWASM[];
|
|
154
|
+
set inputWitness(value: any);
|
|
155
|
+
outputScript: CoreScriptWASM;
|
|
156
|
+
coreFeePerByte: number;
|
|
157
|
+
userFeeIncrease: number;
|
|
158
|
+
readonly __type: string;
|
|
159
|
+
}
|
|
160
|
+
export class AddressFundingFromAssetLockTransitionWASM {
|
|
161
|
+
/** @ignore */
|
|
162
|
+
free(): void;
|
|
163
|
+
[Symbol.dispose](): void;
|
|
164
|
+
/** @returns {StateTransitionWASM} */
|
|
165
|
+
toStateTransition(): StateTransitionWASM;
|
|
166
|
+
/**
|
|
167
|
+
* @param {StateTransitionWASM} st
|
|
168
|
+
* @returns {AddressFundingFromAssetLockTransitionWASM}
|
|
169
|
+
*/
|
|
170
|
+
static fromStateTransition(st: StateTransitionWASM): AddressFundingFromAssetLockTransitionWASM;
|
|
171
|
+
/**
|
|
172
|
+
* @param {AssetLockProofWASM} asset_lock_proof
|
|
173
|
+
* @param {any} js_inputs
|
|
174
|
+
* @param {AddressFundsFeeStrategyStepWASM[]} js_fee_strategy
|
|
175
|
+
* @param {number} user_fee_increase
|
|
176
|
+
* @param {any} js_input_witnesses
|
|
177
|
+
* @param {any} js_outputs
|
|
178
|
+
* @returns {AddressFundingFromAssetLockTransitionWASM}
|
|
179
|
+
*/
|
|
180
|
+
constructor(asset_lock_proof: AssetLockProofWASM, js_inputs: any, js_fee_strategy: AddressFundsFeeStrategyStepWASM[], user_fee_increase: number, js_input_witnesses: any, js_outputs: any);
|
|
181
|
+
get inputs(): InputAddressWASM[];
|
|
182
|
+
set inputs(value: any);
|
|
183
|
+
get outputs(): OutputAddressWASM[];
|
|
184
|
+
set outputs(value: any);
|
|
185
|
+
static readonly __struct: string;
|
|
186
|
+
feeStrategy: AddressFundsFeeStrategyStepWASM[];
|
|
187
|
+
get inputWitness(): AddressWitnessWASM[];
|
|
188
|
+
set inputWitness(value: any);
|
|
189
|
+
signature: Uint8Array;
|
|
190
|
+
assetLockProof: AssetLockProofWASM;
|
|
191
|
+
userFeeIncrease: number;
|
|
192
|
+
readonly __type: string;
|
|
193
|
+
}
|
|
194
|
+
export class AddressFundsFeeStrategyStepWASM {
|
|
195
|
+
/** @returns {AddressFundsFeeStrategyStepWASM} */
|
|
196
|
+
private constructor();
|
|
197
|
+
/** @ignore */
|
|
198
|
+
free(): void;
|
|
199
|
+
[Symbol.dispose](): void;
|
|
200
|
+
/**
|
|
201
|
+
* @param {number} output
|
|
202
|
+
* @returns {AddressFundsFeeStrategyStepWASM}
|
|
203
|
+
*/
|
|
204
|
+
static ReduceOutput(output: number): AddressFundsFeeStrategyStepWASM;
|
|
205
|
+
/** @returns {string} */
|
|
206
|
+
getValueType(): string;
|
|
207
|
+
/**
|
|
208
|
+
* @param {number} input
|
|
209
|
+
* @returns {AddressFundsFeeStrategyStepWASM}
|
|
210
|
+
*/
|
|
211
|
+
static DeductFromInput(input: number): AddressFundsFeeStrategyStepWASM;
|
|
212
|
+
/** @returns {number} */
|
|
213
|
+
getValue(): number;
|
|
214
|
+
/** @param {number} value */
|
|
215
|
+
setValue(value: number): void;
|
|
216
|
+
static readonly __struct: string;
|
|
217
|
+
readonly __type: string;
|
|
218
|
+
}
|
|
219
|
+
export class AddressFundsTransferTransitionWASM {
|
|
220
|
+
/** @ignore */
|
|
221
|
+
free(): void;
|
|
222
|
+
[Symbol.dispose](): void;
|
|
223
|
+
/** @returns {StateTransitionWASM} */
|
|
224
|
+
toStateTransition(): StateTransitionWASM;
|
|
225
|
+
/**
|
|
226
|
+
* @param {StateTransitionWASM} st
|
|
227
|
+
* @returns {AddressFundsTransferTransitionWASM}
|
|
228
|
+
*/
|
|
229
|
+
static fromStateTransition(st: StateTransitionWASM): AddressFundsTransferTransitionWASM;
|
|
230
|
+
/**
|
|
231
|
+
* @param {any} js_inputs
|
|
232
|
+
* @param {AddressFundsFeeStrategyStepWASM[]} js_fee_strategy
|
|
233
|
+
* @param {number} user_fee_increase
|
|
234
|
+
* @param {any} js_input_witnesses
|
|
235
|
+
* @param {any} js_outputs
|
|
236
|
+
* @returns {AddressFundsTransferTransitionWASM}
|
|
237
|
+
*/
|
|
238
|
+
constructor(js_inputs: any, js_fee_strategy: AddressFundsFeeStrategyStepWASM[], user_fee_increase: number, js_input_witnesses: any, js_outputs: any);
|
|
239
|
+
get inputs(): InputAddressWASM[];
|
|
240
|
+
set inputs(value: any);
|
|
241
|
+
get outputs(): OutputAddressWASM[];
|
|
242
|
+
set outputs(value: any);
|
|
243
|
+
static readonly __struct: string;
|
|
244
|
+
feeStrategy: AddressFundsFeeStrategyStepWASM[];
|
|
245
|
+
get inputWitness(): AddressWitnessWASM[];
|
|
246
|
+
set inputWitness(value: any);
|
|
247
|
+
userFeeIncrease: number;
|
|
248
|
+
readonly __type: string;
|
|
249
|
+
}
|
|
250
|
+
export class AddressWitnessWASM {
|
|
251
|
+
/** @returns {AddressWitnessWASM} */
|
|
252
|
+
private constructor();
|
|
253
|
+
/** @ignore */
|
|
254
|
+
free(): void;
|
|
255
|
+
[Symbol.dispose](): void;
|
|
256
|
+
/**
|
|
257
|
+
* @param {Uint8Array<ArrayBufferLike>[]} signatures
|
|
258
|
+
* @param {Uint8Array<ArrayBufferLike>} redeem_script
|
|
259
|
+
* @returns {AddressWitnessWASM}
|
|
260
|
+
*/
|
|
261
|
+
P2SH(signatures: Uint8Array[], redeem_script: Uint8Array): AddressWitnessWASM;
|
|
262
|
+
/**
|
|
263
|
+
* @param {Uint8Array<ArrayBufferLike>} signature
|
|
264
|
+
* @returns {AddressWitnessWASM}
|
|
265
|
+
*/
|
|
266
|
+
P2PKH(signature: Uint8Array): AddressWitnessWASM;
|
|
267
|
+
/** @returns {string} */
|
|
268
|
+
getType(): string;
|
|
269
|
+
/** @returns {any} */
|
|
270
|
+
getValue(): any;
|
|
271
|
+
static readonly __struct: string;
|
|
272
|
+
readonly __type: string;
|
|
273
|
+
}
|
|
116
274
|
export class AssetLockProofWASM {
|
|
117
275
|
/** @ignore */
|
|
118
276
|
free(): void;
|
|
@@ -278,6 +436,24 @@ export class BlockBasedDistributionWASM {
|
|
|
278
436
|
function: DistributionFunctionWASM;
|
|
279
437
|
readonly __type: string;
|
|
280
438
|
}
|
|
439
|
+
export class BlockInfoWASM {
|
|
440
|
+
/** @ignore */
|
|
441
|
+
free(): void;
|
|
442
|
+
[Symbol.dispose](): void;
|
|
443
|
+
/**
|
|
444
|
+
* @param {bigint} timestamp
|
|
445
|
+
* @param {bigint} height
|
|
446
|
+
* @param {number} core_block_height
|
|
447
|
+
* @param {number} js_epoch_index
|
|
448
|
+
* @returns {BlockInfoWASM}
|
|
449
|
+
*/
|
|
450
|
+
constructor(timestamp: bigint, height: bigint, core_block_height: number, js_epoch_index?: number | null);
|
|
451
|
+
height: bigint;
|
|
452
|
+
coreHeight: number;
|
|
453
|
+
epochIndex: number;
|
|
454
|
+
timeMs: bigint;
|
|
455
|
+
epochKey: Uint8Array;
|
|
456
|
+
}
|
|
281
457
|
export class ChainAssetLockProofWASM {
|
|
282
458
|
/** @ignore */
|
|
283
459
|
free(): void;
|
|
@@ -654,8 +830,12 @@ export class DataContractWASM {
|
|
|
654
830
|
set tokens(value: any);
|
|
655
831
|
version: number;
|
|
656
832
|
static readonly __struct: string;
|
|
833
|
+
keywords: string[];
|
|
657
834
|
get ownerId(): IdentifierWASM;
|
|
658
835
|
set ownerId(value: any);
|
|
836
|
+
get description(): string | undefined;
|
|
837
|
+
set description(value: string | null | undefined);
|
|
838
|
+
systemVersion: number;
|
|
659
839
|
get id(): IdentifierWASM;
|
|
660
840
|
set id(value: any);
|
|
661
841
|
readonly __type: string;
|
|
@@ -1292,6 +1472,40 @@ export class IdentifierWASM {
|
|
|
1292
1472
|
static readonly __struct: string;
|
|
1293
1473
|
readonly __type: string;
|
|
1294
1474
|
}
|
|
1475
|
+
export class IdentityCreateFromAddressesTransitionWASM {
|
|
1476
|
+
/** @ignore */
|
|
1477
|
+
free(): void;
|
|
1478
|
+
[Symbol.dispose](): void;
|
|
1479
|
+
/** @returns {StateTransitionWASM} */
|
|
1480
|
+
toStateTransition(): StateTransitionWASM;
|
|
1481
|
+
/**
|
|
1482
|
+
* @param {StateTransitionWASM} st
|
|
1483
|
+
* @returns {IdentityCreateFromAddressesTransitionWASM}
|
|
1484
|
+
*/
|
|
1485
|
+
static fromStateTransition(st: StateTransitionWASM): IdentityCreateFromAddressesTransitionWASM;
|
|
1486
|
+
/**
|
|
1487
|
+
* @param {any} js_identity_public_key_in_creation
|
|
1488
|
+
* @param {any} js_inputs
|
|
1489
|
+
* @param {AddressFundsFeeStrategyStepWASM[]} js_fee_strategy
|
|
1490
|
+
* @param {number} user_fee_increase
|
|
1491
|
+
* @param {any} js_input_witnesses
|
|
1492
|
+
* @param {any} js_output
|
|
1493
|
+
* @returns {IdentityCreateFromAddressesTransitionWASM}
|
|
1494
|
+
*/
|
|
1495
|
+
constructor(js_identity_public_key_in_creation: any, js_inputs: any, js_fee_strategy: AddressFundsFeeStrategyStepWASM[], user_fee_increase: number, js_input_witnesses: any, js_output: any);
|
|
1496
|
+
get inputs(): InputAddressWASM[];
|
|
1497
|
+
set inputs(value: any);
|
|
1498
|
+
get output(): OutputAddressWASM | undefined;
|
|
1499
|
+
set output(value: any);
|
|
1500
|
+
get publicKeys(): IdentityPublicKeyInCreationWASM[];
|
|
1501
|
+
set publicKeys(value: any);
|
|
1502
|
+
static readonly __struct: string;
|
|
1503
|
+
feeStrategy: AddressFundsFeeStrategyStepWASM[];
|
|
1504
|
+
get inputWitness(): AddressWitnessWASM[];
|
|
1505
|
+
set inputWitness(value: any);
|
|
1506
|
+
userFeeIncrease: number;
|
|
1507
|
+
readonly __type: string;
|
|
1508
|
+
}
|
|
1295
1509
|
export class IdentityCreateTransitionWASM {
|
|
1296
1510
|
/** @ignore */
|
|
1297
1511
|
free(): void;
|
|
@@ -1345,6 +1559,36 @@ export class IdentityCreateTransitionWASM {
|
|
|
1345
1559
|
userFeeIncrease: number;
|
|
1346
1560
|
readonly __type: string;
|
|
1347
1561
|
}
|
|
1562
|
+
export class IdentityCreditTransferToAddressesTransitionWASM {
|
|
1563
|
+
/** @ignore */
|
|
1564
|
+
free(): void;
|
|
1565
|
+
[Symbol.dispose](): void;
|
|
1566
|
+
/** @returns {StateTransitionWASM} */
|
|
1567
|
+
toStateTransition(): StateTransitionWASM;
|
|
1568
|
+
/**
|
|
1569
|
+
* @param {StateTransitionWASM} st
|
|
1570
|
+
* @returns {IdentityCreditTransferToAddressesTransitionWASM}
|
|
1571
|
+
*/
|
|
1572
|
+
static fromStateTransition(st: StateTransitionWASM): IdentityCreditTransferToAddressesTransitionWASM;
|
|
1573
|
+
/**
|
|
1574
|
+
* @param {any} js_identifier
|
|
1575
|
+
* @param {any} js_addresses
|
|
1576
|
+
* @param {bigint} nonce
|
|
1577
|
+
* @param {number} user_fee_increase
|
|
1578
|
+
* @returns {IdentityCreditTransferToAddressesTransitionWASM}
|
|
1579
|
+
*/
|
|
1580
|
+
constructor(js_identifier: any, js_addresses: any, nonce: bigint, user_fee_increase: number);
|
|
1581
|
+
get identityId(): IdentifierWASM;
|
|
1582
|
+
set identityId(value: any);
|
|
1583
|
+
static readonly __struct: string;
|
|
1584
|
+
signature: Uint8Array;
|
|
1585
|
+
userFeeIncrease: number;
|
|
1586
|
+
get recipientAddresses(): RecipientAddressWASM[];
|
|
1587
|
+
set recipientAddresses(value: any);
|
|
1588
|
+
signaturePublicKeyId: number;
|
|
1589
|
+
nonce: bigint;
|
|
1590
|
+
readonly __type: string;
|
|
1591
|
+
}
|
|
1348
1592
|
export class IdentityCreditTransferWASM {
|
|
1349
1593
|
/** @ignore */
|
|
1350
1594
|
free(): void;
|
|
@@ -1470,6 +1714,12 @@ export class IdentityPublicKeyInCreationWASM {
|
|
|
1470
1714
|
/** @ignore */
|
|
1471
1715
|
free(): void;
|
|
1472
1716
|
[Symbol.dispose](): void;
|
|
1717
|
+
/**
|
|
1718
|
+
* @param {any} js_private_key
|
|
1719
|
+
* @param {any} js_network
|
|
1720
|
+
* @returns {boolean}
|
|
1721
|
+
*/
|
|
1722
|
+
validatePrivateKey(js_private_key: any, js_network: any): boolean;
|
|
1473
1723
|
/** @returns {IdentityPublicKeyWASM} */
|
|
1474
1724
|
toIdentityPublicKey(): IdentityPublicKeyWASM;
|
|
1475
1725
|
/**
|
|
@@ -1521,12 +1771,18 @@ export class IdentityPublicKeyWASM {
|
|
|
1521
1771
|
getPublicKeyHash(): string;
|
|
1522
1772
|
/** */
|
|
1523
1773
|
removeDisabledAt(): void;
|
|
1774
|
+
/**
|
|
1775
|
+
* @param {any} js_private_key
|
|
1776
|
+
* @param {any} js_network
|
|
1777
|
+
* @returns {boolean}
|
|
1778
|
+
*/
|
|
1779
|
+
validatePrivateKey(js_private_key: any, js_network: any): boolean;
|
|
1524
1780
|
/**
|
|
1525
1781
|
* @param {Uint8Array<ArrayBufferLike>} js_private_key_bytes
|
|
1526
1782
|
* @param {any} js_network
|
|
1527
1783
|
* @returns {boolean}
|
|
1528
1784
|
*/
|
|
1529
|
-
|
|
1785
|
+
validatePrivateKeyBytes(js_private_key_bytes: Uint8Array, js_network: any): boolean;
|
|
1530
1786
|
/**
|
|
1531
1787
|
* @param {number} id
|
|
1532
1788
|
* @param {any} js_purpose
|
|
@@ -1541,13 +1797,13 @@ export class IdentityPublicKeyWASM {
|
|
|
1541
1797
|
constructor(id: number, js_purpose: any, js_security_level: any, js_key_type: any, read_only: boolean, binary_data: string, disabled_at: bigint | null | undefined, js_contract_bounds: any);
|
|
1542
1798
|
/** @returns {string} */
|
|
1543
1799
|
hex(): string;
|
|
1544
|
-
/** @returns {Uint8Array<ArrayBufferLike>} */
|
|
1545
|
-
bytes(): Uint8Array;
|
|
1546
1800
|
/**
|
|
1547
1801
|
* @param {string} hex
|
|
1548
1802
|
* @returns {IdentityPublicKeyWASM}
|
|
1549
1803
|
*/
|
|
1550
1804
|
static fromHex(hex: string): IdentityPublicKeyWASM;
|
|
1805
|
+
/** @returns {Uint8Array<ArrayBufferLike>} */
|
|
1806
|
+
bytes(): Uint8Array;
|
|
1551
1807
|
/** @returns {boolean} */
|
|
1552
1808
|
isMaster(): boolean;
|
|
1553
1809
|
/** @returns {string} */
|
|
@@ -1572,6 +1828,46 @@ export class IdentityPublicKeyWASM {
|
|
|
1572
1828
|
data: string;
|
|
1573
1829
|
readonly __type: string;
|
|
1574
1830
|
}
|
|
1831
|
+
export class IdentityTokenInfoWASM {
|
|
1832
|
+
/** @returns {IdentityTokenInfoWASM} */
|
|
1833
|
+
private constructor();
|
|
1834
|
+
/** @ignore */
|
|
1835
|
+
free(): void;
|
|
1836
|
+
[Symbol.dispose](): void;
|
|
1837
|
+
frozen: boolean;
|
|
1838
|
+
}
|
|
1839
|
+
export class IdentityTopUpFromAddressesTransitionWASM {
|
|
1840
|
+
/** @ignore */
|
|
1841
|
+
free(): void;
|
|
1842
|
+
[Symbol.dispose](): void;
|
|
1843
|
+
/** @returns {StateTransitionWASM} */
|
|
1844
|
+
toStateTransition(): StateTransitionWASM;
|
|
1845
|
+
/**
|
|
1846
|
+
* @param {StateTransitionWASM} st
|
|
1847
|
+
* @returns {IdentityTopUpFromAddressesTransitionWASM}
|
|
1848
|
+
*/
|
|
1849
|
+
static fromStateTransition(st: StateTransitionWASM): IdentityTopUpFromAddressesTransitionWASM;
|
|
1850
|
+
/**
|
|
1851
|
+
* @param {any} js_identifier
|
|
1852
|
+
* @param {any} js_inputs
|
|
1853
|
+
* @param {AddressFundsFeeStrategyStepWASM[]} js_fee_strategy
|
|
1854
|
+
* @param {number} user_fee_increase
|
|
1855
|
+
* @param {any} js_input_witnesses
|
|
1856
|
+
* @param {any} js_output
|
|
1857
|
+
* @returns {IdentityTopUpFromAddressesTransitionWASM}
|
|
1858
|
+
*/
|
|
1859
|
+
constructor(js_identifier: any, js_inputs: any, js_fee_strategy: AddressFundsFeeStrategyStepWASM[], user_fee_increase: number, js_input_witnesses: any, js_output: any);
|
|
1860
|
+
get inputs(): InputAddressWASM[];
|
|
1861
|
+
set inputs(value: any);
|
|
1862
|
+
get output(): OutputAddressWASM | undefined;
|
|
1863
|
+
set output(value: any);
|
|
1864
|
+
static readonly __struct: string;
|
|
1865
|
+
feeStrategy: AddressFundsFeeStrategyStepWASM[];
|
|
1866
|
+
get inputWitness(): AddressWitnessWASM[];
|
|
1867
|
+
set inputWitness(value: any);
|
|
1868
|
+
userFeeIncrease: number;
|
|
1869
|
+
readonly __type: string;
|
|
1870
|
+
}
|
|
1575
1871
|
export class IdentityTopUpTransitionWASM {
|
|
1576
1872
|
/** @ignore */
|
|
1577
1873
|
free(): void;
|
|
@@ -1734,6 +2030,23 @@ export class IdentityWASM {
|
|
|
1734
2030
|
set id(value: any);
|
|
1735
2031
|
readonly __type: string;
|
|
1736
2032
|
}
|
|
2033
|
+
export class InputAddressWASM {
|
|
2034
|
+
/** @ignore */
|
|
2035
|
+
free(): void;
|
|
2036
|
+
[Symbol.dispose](): void;
|
|
2037
|
+
/**
|
|
2038
|
+
* @param {PlatformAddressWASM} address
|
|
2039
|
+
* @param {number} nonce
|
|
2040
|
+
* @param {bigint} credits
|
|
2041
|
+
* @returns {InputAddressWASM}
|
|
2042
|
+
*/
|
|
2043
|
+
constructor(address: PlatformAddressWASM, nonce: number, credits: bigint);
|
|
2044
|
+
address: PlatformAddressWASM;
|
|
2045
|
+
credits: bigint;
|
|
2046
|
+
static readonly __struct: string;
|
|
2047
|
+
nonce: number;
|
|
2048
|
+
readonly __type: string;
|
|
2049
|
+
}
|
|
1737
2050
|
export class InstantAssetLockProofWASM {
|
|
1738
2051
|
/** @ignore */
|
|
1739
2052
|
free(): void;
|
|
@@ -1881,6 +2194,21 @@ export class OutPointWASM {
|
|
|
1881
2194
|
static readonly __struct: string;
|
|
1882
2195
|
readonly __type: string;
|
|
1883
2196
|
}
|
|
2197
|
+
export class OutputAddressWASM {
|
|
2198
|
+
/** @ignore */
|
|
2199
|
+
free(): void;
|
|
2200
|
+
[Symbol.dispose](): void;
|
|
2201
|
+
/**
|
|
2202
|
+
* @param {PlatformAddressWASM} address
|
|
2203
|
+
* @param {bigint} credits
|
|
2204
|
+
* @returns {OutputAddressWASM}
|
|
2205
|
+
*/
|
|
2206
|
+
constructor(address: PlatformAddressWASM, credits: bigint);
|
|
2207
|
+
address: PlatformAddressWASM;
|
|
2208
|
+
credits: bigint;
|
|
2209
|
+
static readonly __struct: string;
|
|
2210
|
+
readonly __type: string;
|
|
2211
|
+
}
|
|
1884
2212
|
export class PartialIdentityWASM {
|
|
1885
2213
|
/** @ignore */
|
|
1886
2214
|
free(): void;
|
|
@@ -1905,6 +2233,31 @@ export class PartialIdentityWASM {
|
|
|
1905
2233
|
get id(): IdentifierWASM;
|
|
1906
2234
|
set id(value: any);
|
|
1907
2235
|
}
|
|
2236
|
+
export class PlatformAddressWASM {
|
|
2237
|
+
/** @ignore */
|
|
2238
|
+
free(): void;
|
|
2239
|
+
[Symbol.dispose](): void;
|
|
2240
|
+
/**
|
|
2241
|
+
* @param {any} js_network
|
|
2242
|
+
* @returns {string}
|
|
2243
|
+
*/
|
|
2244
|
+
toAddress(js_network: any): string;
|
|
2245
|
+
/**
|
|
2246
|
+
* @param {Uint8Array<ArrayBufferLike>} address
|
|
2247
|
+
* @returns {PlatformAddressWASM}
|
|
2248
|
+
*/
|
|
2249
|
+
constructor(address: Uint8Array);
|
|
2250
|
+
/** @returns {Uint8Array<ArrayBufferLike>} */
|
|
2251
|
+
hash(): Uint8Array;
|
|
2252
|
+
/** @returns {Uint8Array<ArrayBufferLike>} */
|
|
2253
|
+
bytes(): Uint8Array;
|
|
2254
|
+
/** @returns {boolean} */
|
|
2255
|
+
isP2SH(): boolean;
|
|
2256
|
+
/** @returns {boolean} */
|
|
2257
|
+
isP2PKH(): boolean;
|
|
2258
|
+
static readonly __struct: string;
|
|
2259
|
+
readonly __type: string;
|
|
2260
|
+
}
|
|
1908
2261
|
export class PrefundedVotingBalanceWASM {
|
|
1909
2262
|
/** @ignore */
|
|
1910
2263
|
free(): void;
|
|
@@ -1938,8 +2291,6 @@ export class PrivateEncryptedNoteWASM {
|
|
|
1938
2291
|
readonly __type: string;
|
|
1939
2292
|
}
|
|
1940
2293
|
export class PrivateKeyWASM {
|
|
1941
|
-
/** @returns {PrivateKeyWASM} */
|
|
1942
|
-
private constructor();
|
|
1943
2294
|
/** @ignore */
|
|
1944
2295
|
free(): void;
|
|
1945
2296
|
[Symbol.dispose](): void;
|
|
@@ -1949,10 +2300,23 @@ export class PrivateKeyWASM {
|
|
|
1949
2300
|
* @returns {PrivateKeyWASM}
|
|
1950
2301
|
*/
|
|
1951
2302
|
static fromBytes(bytes: Uint8Array, js_network: any): PrivateKeyWASM;
|
|
2303
|
+
/** @returns {string} */
|
|
2304
|
+
getNetwork(): string;
|
|
1952
2305
|
/** @returns {PublicKeyWASM} */
|
|
1953
2306
|
getPublicKey(): PublicKeyWASM;
|
|
1954
2307
|
/** @returns {string} */
|
|
1955
2308
|
getPublicKeyHash(): string;
|
|
2309
|
+
/**
|
|
2310
|
+
* @param {any} value
|
|
2311
|
+
* @param {any} js_network
|
|
2312
|
+
* @returns {PrivateKeyWASM}
|
|
2313
|
+
*/
|
|
2314
|
+
constructor(value: any, js_network: any);
|
|
2315
|
+
/**
|
|
2316
|
+
* @param {Uint8Array<ArrayBufferLike>} data
|
|
2317
|
+
* @returns {Uint8Array<ArrayBufferLike>}
|
|
2318
|
+
*/
|
|
2319
|
+
sign(data: Uint8Array): Uint8Array;
|
|
1956
2320
|
/** @returns {string} */
|
|
1957
2321
|
hex(): string;
|
|
1958
2322
|
/** @returns {string} */
|
|
@@ -1970,6 +2334,11 @@ export class PrivateKeyWASM {
|
|
|
1970
2334
|
static fromWIF(wif: string): PrivateKeyWASM;
|
|
1971
2335
|
/** @returns {Uint8Array<ArrayBufferLike>} */
|
|
1972
2336
|
bytes(): Uint8Array;
|
|
2337
|
+
/**
|
|
2338
|
+
* @param {Uint8Array<ArrayBufferLike>} data_hash
|
|
2339
|
+
* @returns {Uint8Array<ArrayBufferLike>}
|
|
2340
|
+
*/
|
|
2341
|
+
signHash(data_hash: Uint8Array): Uint8Array;
|
|
1973
2342
|
static readonly __struct: string;
|
|
1974
2343
|
readonly __type: string;
|
|
1975
2344
|
}
|
|
@@ -1999,6 +2368,17 @@ export class PublicKeyWASM {
|
|
|
1999
2368
|
inner: Uint8Array;
|
|
2000
2369
|
readonly __type: string;
|
|
2001
2370
|
}
|
|
2371
|
+
export class RecipientAddressWASM {
|
|
2372
|
+
/** @returns {RecipientAddressWASM} */
|
|
2373
|
+
private constructor();
|
|
2374
|
+
/** @ignore */
|
|
2375
|
+
free(): void;
|
|
2376
|
+
[Symbol.dispose](): void;
|
|
2377
|
+
address: PlatformAddressWASM;
|
|
2378
|
+
amount: bigint;
|
|
2379
|
+
static readonly __struct: string;
|
|
2380
|
+
readonly __type: string;
|
|
2381
|
+
}
|
|
2002
2382
|
export class ResourceVoteChoiceWASM {
|
|
2003
2383
|
/** @returns {ResourceVoteChoiceWASM} */
|
|
2004
2384
|
private constructor();
|
|
@@ -2084,7 +2464,7 @@ export class StateTransitionWASM {
|
|
|
2084
2464
|
*/
|
|
2085
2465
|
static fromBase64(base64: string): StateTransitionWASM;
|
|
2086
2466
|
/** @returns {IdentifierWASM} */
|
|
2087
|
-
getOwnerId(): IdentifierWASM;
|
|
2467
|
+
getOwnerId(): IdentifierWASM | undefined;
|
|
2088
2468
|
/** @param {any} js_owner_id */
|
|
2089
2469
|
setOwnerId(js_owner_id: any): void;
|
|
2090
2470
|
/** @returns {string} */
|
|
@@ -2102,12 +2482,12 @@ export class StateTransitionWASM {
|
|
|
2102
2482
|
/** @param {bigint} nonce */
|
|
2103
2483
|
setIdentityNonce(nonce: bigint): void;
|
|
2104
2484
|
/**
|
|
2105
|
-
* @param {
|
|
2485
|
+
* @param {any} js_private_key
|
|
2106
2486
|
* @param {number} key_id
|
|
2107
2487
|
* @param {any} js_key_type
|
|
2108
2488
|
* @returns {Uint8Array<ArrayBufferLike>}
|
|
2109
2489
|
*/
|
|
2110
|
-
signByPrivateKey(
|
|
2490
|
+
signByPrivateKey(js_private_key: any, key_id: number | null | undefined, js_key_type: any): Uint8Array;
|
|
2111
2491
|
/** @returns {number} */
|
|
2112
2492
|
getActionTypeNumber(): number;
|
|
2113
2493
|
/** @returns {string[]} */
|
|
@@ -2122,11 +2502,11 @@ export class StateTransitionWASM {
|
|
|
2122
2502
|
/** @param {bigint} nonce */
|
|
2123
2503
|
setIdentityContractNonce(nonce: bigint): void;
|
|
2124
2504
|
/**
|
|
2125
|
-
* @param {
|
|
2505
|
+
* @param {any} js_private_key
|
|
2126
2506
|
* @param {IdentityPublicKeyWASM} public_key
|
|
2127
2507
|
* @returns {Uint8Array<ArrayBufferLike>}
|
|
2128
2508
|
*/
|
|
2129
|
-
sign(
|
|
2509
|
+
sign(js_private_key: any, public_key: IdentityPublicKeyWASM): Uint8Array;
|
|
2130
2510
|
/** @returns {any} */
|
|
2131
2511
|
hex(): any;
|
|
2132
2512
|
/**
|
|
@@ -2144,7 +2524,8 @@ export class StateTransitionWASM {
|
|
|
2144
2524
|
/** @returns {any} */
|
|
2145
2525
|
base64(): any;
|
|
2146
2526
|
static readonly __struct: string;
|
|
2147
|
-
signature: Uint8Array;
|
|
2527
|
+
get signature(): Uint8Array | undefined;
|
|
2528
|
+
set signature(value: Uint8Array);
|
|
2148
2529
|
userFeeIncrease: number;
|
|
2149
2530
|
get signaturePublicKeyId(): number | undefined;
|
|
2150
2531
|
set signaturePublicKeyId(value: number);
|
|
@@ -2795,6 +3176,14 @@ export class TokenSetPriceForDirectPurchaseTransitionWASM {
|
|
|
2795
3176
|
price: any;
|
|
2796
3177
|
readonly __type: string;
|
|
2797
3178
|
}
|
|
3179
|
+
export class TokenStatusWASM {
|
|
3180
|
+
/** @returns {TokenStatusWASM} */
|
|
3181
|
+
private constructor();
|
|
3182
|
+
/** @ignore */
|
|
3183
|
+
free(): void;
|
|
3184
|
+
[Symbol.dispose](): void;
|
|
3185
|
+
paused: boolean;
|
|
3186
|
+
}
|
|
2798
3187
|
export class TokenTradeModeWASM {
|
|
2799
3188
|
/** @returns {TokenTradeModeWASM} */
|
|
2800
3189
|
private constructor();
|
|
@@ -3069,6 +3458,17 @@ export class VerifiedIdentityNonceWASM {
|
|
|
3069
3458
|
readonly rootHash: Uint8Array;
|
|
3070
3459
|
readonly __type: string;
|
|
3071
3460
|
}
|
|
3461
|
+
export class VerifiedStateTransitionResultWASM {
|
|
3462
|
+
/** @returns {VerifiedStateTransitionResultWASM} */
|
|
3463
|
+
private constructor();
|
|
3464
|
+
/** @ignore */
|
|
3465
|
+
free(): void;
|
|
3466
|
+
[Symbol.dispose](): void;
|
|
3467
|
+
static readonly __struct: string;
|
|
3468
|
+
readonly result: any;
|
|
3469
|
+
readonly rootHash: Uint8Array;
|
|
3470
|
+
readonly __type: string;
|
|
3471
|
+
}
|
|
3072
3472
|
export class VerifiedTokenBalancesForIdentitiesWASM {
|
|
3073
3473
|
/** @returns {VerifiedTokenBalancesForIdentitiesWASM} */
|
|
3074
3474
|
private constructor();
|
|
@@ -3209,9 +3609,11 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
3209
3609
|
|
|
3210
3610
|
export interface InitOutput {
|
|
3211
3611
|
readonly memory: WebAssembly.Memory;
|
|
3612
|
+
readonly __wbg_blockinfowasm_free: (a: number, b: number) => void;
|
|
3212
3613
|
readonly __wbg_contenderwithserializeddocumentwasm_free: (a: number, b: number) => void;
|
|
3213
3614
|
readonly __wbg_contesteddocumentvotepollqueryexecutionresultwasm_free: (a: number, b: number) => void;
|
|
3214
3615
|
readonly __wbg_extendedepochinfowasm_free: (a: number, b: number) => void;
|
|
3616
|
+
readonly __wbg_identitytokeninfowasm_free: (a: number, b: number) => void;
|
|
3215
3617
|
readonly __wbg_tokencontractinfowasm_free: (a: number, b: number) => void;
|
|
3216
3618
|
readonly __wbg_totalsingletokenbalancewasm_free: (a: number, b: number) => void;
|
|
3217
3619
|
readonly __wbg_verifiedcontractwasm_free: (a: number, b: number) => void;
|
|
@@ -3221,10 +3623,22 @@ export interface InitOutput {
|
|
|
3221
3623
|
readonly __wbg_verifiedidentitybalancewasm_free: (a: number, b: number) => void;
|
|
3222
3624
|
readonly __wbg_verifiedidentitybyidentifierwasm_free: (a: number, b: number) => void;
|
|
3223
3625
|
readonly __wbg_verifiedidentitykeysbyidentifierwasm_free: (a: number, b: number) => void;
|
|
3626
|
+
readonly __wbg_verifiedstatetransitionresultwasm_free: (a: number, b: number) => void;
|
|
3224
3627
|
readonly __wbg_verifiedtokenbalancesforidentitieswasm_free: (a: number, b: number) => void;
|
|
3225
3628
|
readonly __wbg_verifiedtokencontractinfowasm_free: (a: number, b: number) => void;
|
|
3226
3629
|
readonly __wbg_verifiedtokendirectpurchaseprices_free: (a: number, b: number) => void;
|
|
3227
3630
|
readonly __wbg_verifiedvotestatewasm_free: (a: number, b: number) => void;
|
|
3631
|
+
readonly blockinfowasm_core_height: (a: number) => number;
|
|
3632
|
+
readonly blockinfowasm_epoch_index: (a: number) => number;
|
|
3633
|
+
readonly blockinfowasm_epoch_key: (a: number, b: number) => void;
|
|
3634
|
+
readonly blockinfowasm_height: (a: number) => bigint;
|
|
3635
|
+
readonly blockinfowasm_new: (a: number, b: bigint, c: bigint, d: number, e: number) => void;
|
|
3636
|
+
readonly blockinfowasm_set_core_height: (a: number, b: number) => void;
|
|
3637
|
+
readonly blockinfowasm_set_epoch_index: (a: number, b: number) => void;
|
|
3638
|
+
readonly blockinfowasm_set_epoch_key: (a: number, b: number, c: number, d: number) => void;
|
|
3639
|
+
readonly blockinfowasm_set_height: (a: number, b: bigint) => void;
|
|
3640
|
+
readonly blockinfowasm_set_time_ms: (a: number, b: bigint) => void;
|
|
3641
|
+
readonly blockinfowasm_time_ms: (a: number) => bigint;
|
|
3228
3642
|
readonly contenderwithserializeddocumentwasm_identity_id: (a: number) => number;
|
|
3229
3643
|
readonly contenderwithserializeddocumentwasm_serialized_document: (a: number, b: number) => void;
|
|
3230
3644
|
readonly contenderwithserializeddocumentwasm_struct_name: (a: number) => void;
|
|
@@ -3245,8 +3659,11 @@ export interface InitOutput {
|
|
|
3245
3659
|
readonly extendedepochinfowasm_protocol_version: (a: number) => number;
|
|
3246
3660
|
readonly extendedepochinfowasm_struct_name: (a: number) => void;
|
|
3247
3661
|
readonly extendedepochinfowasm_type_name: (a: number, b: number) => void;
|
|
3662
|
+
readonly identitytokeninfowasm_frozen: (a: number) => number;
|
|
3663
|
+
readonly identitytokeninfowasm_set_frozen: (a: number, b: number) => void;
|
|
3248
3664
|
readonly tokencontractinfowasm_contract_id: (a: number) => number;
|
|
3249
3665
|
readonly tokencontractinfowasm_token_contract_position: (a: number) => number;
|
|
3666
|
+
readonly tokenstatuswasm_set_paused: (a: number, b: number) => void;
|
|
3250
3667
|
readonly totalsingletokenbalancewasm_aggregated_token_account_balances: (a: number) => bigint;
|
|
3251
3668
|
readonly totalsingletokenbalancewasm_struct_name: (a: number) => void;
|
|
3252
3669
|
readonly totalsingletokenbalancewasm_token_supply: (a: number) => bigint;
|
|
@@ -3285,6 +3702,10 @@ export interface InitOutput {
|
|
|
3285
3702
|
readonly verifiedidentitykeysbyidentifierwasm_type_name: (a: number, b: number) => void;
|
|
3286
3703
|
readonly verifiedidentitynoncewasm_struct_name: (a: number) => void;
|
|
3287
3704
|
readonly verifiedidentitynoncewasm_type_name: (a: number, b: number) => void;
|
|
3705
|
+
readonly verifiedstatetransitionresultwasm_result: (a: number, b: number) => void;
|
|
3706
|
+
readonly verifiedstatetransitionresultwasm_root_hash: (a: number) => number;
|
|
3707
|
+
readonly verifiedstatetransitionresultwasm_struct_name: (a: number) => void;
|
|
3708
|
+
readonly verifiedstatetransitionresultwasm_type_name: (a: number, b: number) => void;
|
|
3288
3709
|
readonly verifiedtokenbalancesforidentitieswasm_balances: (a: number) => number;
|
|
3289
3710
|
readonly verifiedtokenbalancesforidentitieswasm_root_hash: (a: number) => number;
|
|
3290
3711
|
readonly verifiedtokenbalancesforidentitieswasm_struct_name: (a: number) => void;
|
|
@@ -3322,6 +3743,7 @@ export interface InitOutput {
|
|
|
3322
3743
|
readonly verifyIdentityKeysByIdentifierProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
3323
3744
|
readonly verifyIdentityNonceProof: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
3324
3745
|
readonly verifySignatureDigest: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
3746
|
+
readonly verifyStateTransitionResult: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
3325
3747
|
readonly verifyTokenBalancesForIdentitiesProof: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
3326
3748
|
readonly verifyTokenContractInfoProof: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
3327
3749
|
readonly verifyTokenDirectPurchasePrices: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
@@ -3329,20 +3751,22 @@ export interface InitOutput {
|
|
|
3329
3751
|
readonly verifyTokensBalancesForIdentityProof: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
3330
3752
|
readonly verifyTotalCreditsProof: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
3331
3753
|
readonly verifyVotePollVoteStateProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number) => void;
|
|
3754
|
+
readonly __wbg_verifiedtokentotalsupplywasm_free: (a: number, b: number) => void;
|
|
3332
3755
|
readonly __wbg_verifiedidentitynoncewasm_free: (a: number, b: number) => void;
|
|
3333
|
-
readonly
|
|
3756
|
+
readonly __wbg_tokenstatuswasm_free: (a: number, b: number) => void;
|
|
3334
3757
|
readonly __wbg_verifiedidentitycontractnoncewasm_free: (a: number, b: number) => void;
|
|
3335
|
-
readonly
|
|
3758
|
+
readonly __wbg_verifiedtotalcreditswasm_free: (a: number, b: number) => void;
|
|
3336
3759
|
readonly __wbg_verifiedidentitybyuniquekeyhashwasm_free: (a: number, b: number) => void;
|
|
3337
3760
|
readonly __wbg_verifiedtokensbalancesforidentitywasm_free: (a: number, b: number) => void;
|
|
3338
|
-
readonly verifiedtokensbalancesforidentitywasm_root_hash: (a: number) => number;
|
|
3339
|
-
readonly verifiedtokensbalancesforidentitywasm_balances: (a: number) => number;
|
|
3340
3761
|
readonly verifiedidentitynoncewasm_root_hash: (a: number) => number;
|
|
3341
3762
|
readonly verifiedidentitynoncewasm_nonce: (a: number, b: number) => void;
|
|
3342
|
-
readonly verifiedidentitybyuniquekeyhashwasm_root_hash: (a: number) => number;
|
|
3343
|
-
readonly verifiedidentitybyuniquekeyhashwasm_identity: (a: number) => number;
|
|
3344
3763
|
readonly verifiedidentitycontractnoncewasm_root_hash: (a: number) => number;
|
|
3345
3764
|
readonly verifiedidentitycontractnoncewasm_contract_nonce: (a: number, b: number) => void;
|
|
3765
|
+
readonly verifiedidentitybyuniquekeyhashwasm_root_hash: (a: number) => number;
|
|
3766
|
+
readonly verifiedidentitybyuniquekeyhashwasm_identity: (a: number) => number;
|
|
3767
|
+
readonly verifiedtokensbalancesforidentitywasm_root_hash: (a: number) => number;
|
|
3768
|
+
readonly verifiedtokensbalancesforidentitywasm_balances: (a: number) => number;
|
|
3769
|
+
readonly tokenstatuswasm_paused: (a: number) => number;
|
|
3346
3770
|
readonly __wbg_partialidentitywasm_free: (a: number, b: number) => void;
|
|
3347
3771
|
readonly partialidentitywasm_balance: (a: number, b: number) => void;
|
|
3348
3772
|
readonly partialidentitywasm_id: (a: number) => number;
|
|
@@ -3411,12 +3835,103 @@ export interface InitOutput {
|
|
|
3411
3835
|
readonly votewasm_struct_name: (a: number) => void;
|
|
3412
3836
|
readonly votewasm_type_name: (a: number, b: number) => void;
|
|
3413
3837
|
readonly votewasm_vote_poll: (a: number) => number;
|
|
3838
|
+
readonly __wbg_addresscreditwithdrawaltransitionwasm_free: (a: number, b: number) => void;
|
|
3839
|
+
readonly __wbg_addressfundingfromassetlocktransitionwasm_free: (a: number, b: number) => void;
|
|
3840
|
+
readonly __wbg_addressfundsfeestrategystepwasm_free: (a: number, b: number) => void;
|
|
3841
|
+
readonly __wbg_addressfundstransfertransitionwasm_free: (a: number, b: number) => void;
|
|
3842
|
+
readonly __wbg_get_recipientaddresswasm_address: (a: number) => number;
|
|
3843
|
+
readonly __wbg_get_recipientaddresswasm_amount: (a: number) => bigint;
|
|
3844
|
+
readonly __wbg_identitycreatefromaddressestransitionwasm_free: (a: number, b: number) => void;
|
|
3414
3845
|
readonly __wbg_identitycreatetransitionwasm_free: (a: number, b: number) => void;
|
|
3846
|
+
readonly __wbg_identitycredittransfertoaddressestransitionwasm_free: (a: number, b: number) => void;
|
|
3415
3847
|
readonly __wbg_identitycredittransferwasm_free: (a: number, b: number) => void;
|
|
3416
3848
|
readonly __wbg_identitycreditwithdrawaltransitionwasm_free: (a: number, b: number) => void;
|
|
3417
|
-
readonly
|
|
3849
|
+
readonly __wbg_identitytopupfromaddressestransitionwasm_free: (a: number, b: number) => void;
|
|
3418
3850
|
readonly __wbg_identitytopuptransitionwasm_free: (a: number, b: number) => void;
|
|
3419
3851
|
readonly __wbg_identityupdatetransitionwasm_free: (a: number, b: number) => void;
|
|
3852
|
+
readonly __wbg_inputaddresswasm_free: (a: number, b: number) => void;
|
|
3853
|
+
readonly __wbg_outputaddresswasm_free: (a: number, b: number) => void;
|
|
3854
|
+
readonly __wbg_set_recipientaddresswasm_address: (a: number, b: number) => void;
|
|
3855
|
+
readonly __wbg_set_recipientaddresswasm_amount: (a: number, b: bigint) => void;
|
|
3856
|
+
readonly addresscreditwithdrawaltransitionwasm_core_fee_per_byte: (a: number) => number;
|
|
3857
|
+
readonly addresscreditwithdrawaltransitionwasm_fee_strategy: (a: number, b: number) => void;
|
|
3858
|
+
readonly addresscreditwithdrawaltransitionwasm_fromStateTransition: (a: number, b: number) => void;
|
|
3859
|
+
readonly addresscreditwithdrawaltransitionwasm_input_witness: (a: number, b: number) => void;
|
|
3860
|
+
readonly addresscreditwithdrawaltransitionwasm_inputs: (a: number, b: number) => void;
|
|
3861
|
+
readonly addresscreditwithdrawaltransitionwasm_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
3862
|
+
readonly addresscreditwithdrawaltransitionwasm_output: (a: number) => number;
|
|
3863
|
+
readonly addresscreditwithdrawaltransitionwasm_output_script: (a: number) => number;
|
|
3864
|
+
readonly addresscreditwithdrawaltransitionwasm_pooling: (a: number) => number;
|
|
3865
|
+
readonly addresscreditwithdrawaltransitionwasm_set_core_fee_per_byte: (a: number, b: number) => void;
|
|
3866
|
+
readonly addresscreditwithdrawaltransitionwasm_set_fee_strategy: (a: number, b: number, c: number) => void;
|
|
3867
|
+
readonly addresscreditwithdrawaltransitionwasm_set_input_witness: (a: number, b: number, c: number) => void;
|
|
3868
|
+
readonly addresscreditwithdrawaltransitionwasm_set_inputs: (a: number, b: number, c: number) => void;
|
|
3869
|
+
readonly addresscreditwithdrawaltransitionwasm_set_output: (a: number, b: number, c: number) => void;
|
|
3870
|
+
readonly addresscreditwithdrawaltransitionwasm_set_output_script: (a: number, b: number) => void;
|
|
3871
|
+
readonly addresscreditwithdrawaltransitionwasm_set_pooling: (a: number, b: number, c: number) => void;
|
|
3872
|
+
readonly addresscreditwithdrawaltransitionwasm_set_user_fee_increase: (a: number, b: number) => void;
|
|
3873
|
+
readonly addresscreditwithdrawaltransitionwasm_struct_name: (a: number) => void;
|
|
3874
|
+
readonly addresscreditwithdrawaltransitionwasm_toStateTransition: (a: number) => number;
|
|
3875
|
+
readonly addresscreditwithdrawaltransitionwasm_type_name: (a: number, b: number) => void;
|
|
3876
|
+
readonly addresscreditwithdrawaltransitionwasm_user_fee_increase: (a: number) => number;
|
|
3877
|
+
readonly addressfundingfromassetlocktransitionwasm_asset_lock_proof: (a: number) => number;
|
|
3878
|
+
readonly addressfundingfromassetlocktransitionwasm_fee_strategy: (a: number, b: number) => void;
|
|
3879
|
+
readonly addressfundingfromassetlocktransitionwasm_fromStateTransition: (a: number, b: number) => void;
|
|
3880
|
+
readonly addressfundingfromassetlocktransitionwasm_input_witness: (a: number, b: number) => void;
|
|
3881
|
+
readonly addressfundingfromassetlocktransitionwasm_inputs: (a: number, b: number) => void;
|
|
3882
|
+
readonly addressfundingfromassetlocktransitionwasm_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
3883
|
+
readonly addressfundingfromassetlocktransitionwasm_outputs: (a: number, b: number) => void;
|
|
3884
|
+
readonly addressfundingfromassetlocktransitionwasm_set_asset_lock_proof: (a: number, b: number) => void;
|
|
3885
|
+
readonly addressfundingfromassetlocktransitionwasm_set_fee_strategy: (a: number, b: number, c: number) => void;
|
|
3886
|
+
readonly addressfundingfromassetlocktransitionwasm_set_input_witness: (a: number, b: number, c: number) => void;
|
|
3887
|
+
readonly addressfundingfromassetlocktransitionwasm_set_inputs: (a: number, b: number, c: number) => void;
|
|
3888
|
+
readonly addressfundingfromassetlocktransitionwasm_set_outputs: (a: number, b: number, c: number) => void;
|
|
3889
|
+
readonly addressfundingfromassetlocktransitionwasm_set_signature: (a: number, b: number, c: number) => void;
|
|
3890
|
+
readonly addressfundingfromassetlocktransitionwasm_set_user_fee_increase: (a: number, b: number) => void;
|
|
3891
|
+
readonly addressfundingfromassetlocktransitionwasm_signature: (a: number, b: number) => void;
|
|
3892
|
+
readonly addressfundingfromassetlocktransitionwasm_struct_name: (a: number) => void;
|
|
3893
|
+
readonly addressfundingfromassetlocktransitionwasm_toStateTransition: (a: number) => number;
|
|
3894
|
+
readonly addressfundingfromassetlocktransitionwasm_type_name: (a: number, b: number) => void;
|
|
3895
|
+
readonly addressfundingfromassetlocktransitionwasm_user_fee_increase: (a: number) => number;
|
|
3896
|
+
readonly addressfundsfeestrategystepwasm_DeductFromInput: (a: number) => number;
|
|
3897
|
+
readonly addressfundsfeestrategystepwasm_ReduceOutput: (a: number) => number;
|
|
3898
|
+
readonly addressfundsfeestrategystepwasm_getValue: (a: number) => number;
|
|
3899
|
+
readonly addressfundsfeestrategystepwasm_getValueType: (a: number, b: number) => void;
|
|
3900
|
+
readonly addressfundsfeestrategystepwasm_setValue: (a: number, b: number) => void;
|
|
3901
|
+
readonly addressfundsfeestrategystepwasm_struct_name: (a: number) => void;
|
|
3902
|
+
readonly addressfundsfeestrategystepwasm_type_name: (a: number, b: number) => void;
|
|
3903
|
+
readonly addressfundstransfertransitionwasm_fee_strategy: (a: number, b: number) => void;
|
|
3904
|
+
readonly addressfundstransfertransitionwasm_fromStateTransition: (a: number, b: number) => void;
|
|
3905
|
+
readonly addressfundstransfertransitionwasm_input_witness: (a: number, b: number) => void;
|
|
3906
|
+
readonly addressfundstransfertransitionwasm_inputs: (a: number, b: number) => void;
|
|
3907
|
+
readonly addressfundstransfertransitionwasm_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
3908
|
+
readonly addressfundstransfertransitionwasm_outputs: (a: number, b: number) => void;
|
|
3909
|
+
readonly addressfundstransfertransitionwasm_set_fee_strategy: (a: number, b: number, c: number) => void;
|
|
3910
|
+
readonly addressfundstransfertransitionwasm_set_input_witness: (a: number, b: number, c: number) => void;
|
|
3911
|
+
readonly addressfundstransfertransitionwasm_set_inputs: (a: number, b: number, c: number) => void;
|
|
3912
|
+
readonly addressfundstransfertransitionwasm_set_outputs: (a: number, b: number, c: number) => void;
|
|
3913
|
+
readonly addressfundstransfertransitionwasm_set_user_fee_increase: (a: number, b: number) => void;
|
|
3914
|
+
readonly addressfundstransfertransitionwasm_struct_name: (a: number) => void;
|
|
3915
|
+
readonly addressfundstransfertransitionwasm_toStateTransition: (a: number) => number;
|
|
3916
|
+
readonly addressfundstransfertransitionwasm_type_name: (a: number, b: number) => void;
|
|
3917
|
+
readonly addressfundstransfertransitionwasm_user_fee_increase: (a: number) => number;
|
|
3918
|
+
readonly identitycreatefromaddressestransitionwasm_fee_strategy: (a: number, b: number) => void;
|
|
3919
|
+
readonly identitycreatefromaddressestransitionwasm_fromStateTransition: (a: number, b: number) => void;
|
|
3920
|
+
readonly identitycreatefromaddressestransitionwasm_input_witness: (a: number, b: number) => void;
|
|
3921
|
+
readonly identitycreatefromaddressestransitionwasm_inputs: (a: number, b: number) => void;
|
|
3922
|
+
readonly identitycreatefromaddressestransitionwasm_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
3923
|
+
readonly identitycreatefromaddressestransitionwasm_output: (a: number) => number;
|
|
3924
|
+
readonly identitycreatefromaddressestransitionwasm_public_keys: (a: number, b: number) => void;
|
|
3925
|
+
readonly identitycreatefromaddressestransitionwasm_set_fee_strategy: (a: number, b: number, c: number) => void;
|
|
3926
|
+
readonly identitycreatefromaddressestransitionwasm_set_input_witness: (a: number, b: number, c: number) => void;
|
|
3927
|
+
readonly identitycreatefromaddressestransitionwasm_set_inputs: (a: number, b: number, c: number) => void;
|
|
3928
|
+
readonly identitycreatefromaddressestransitionwasm_set_output: (a: number, b: number, c: number) => void;
|
|
3929
|
+
readonly identitycreatefromaddressestransitionwasm_set_public_keys: (a: number, b: number, c: number) => void;
|
|
3930
|
+
readonly identitycreatefromaddressestransitionwasm_set_user_fee_increase: (a: number, b: number) => void;
|
|
3931
|
+
readonly identitycreatefromaddressestransitionwasm_struct_name: (a: number) => void;
|
|
3932
|
+
readonly identitycreatefromaddressestransitionwasm_toStateTransition: (a: number) => number;
|
|
3933
|
+
readonly identitycreatefromaddressestransitionwasm_type_name: (a: number, b: number) => void;
|
|
3934
|
+
readonly identitycreatefromaddressestransitionwasm_user_fee_increase: (a: number) => number;
|
|
3420
3935
|
readonly identitycreatetransitionwasm_bytes: (a: number, b: number) => void;
|
|
3421
3936
|
readonly identitycreatetransitionwasm_default: (a: number, b: number) => void;
|
|
3422
3937
|
readonly identitycreatetransitionwasm_fromBase64: (a: number, b: number, c: number) => void;
|
|
@@ -3437,6 +3952,23 @@ export interface InitOutput {
|
|
|
3437
3952
|
readonly identitycreatetransitionwasm_struct_name: (a: number) => void;
|
|
3438
3953
|
readonly identitycreatetransitionwasm_toStateTransition: (a: number) => number;
|
|
3439
3954
|
readonly identitycreatetransitionwasm_type_name: (a: number, b: number) => void;
|
|
3955
|
+
readonly identitycredittransfertoaddressestransitionwasm_fromStateTransition: (a: number, b: number) => void;
|
|
3956
|
+
readonly identitycredittransfertoaddressestransitionwasm_identity_id: (a: number) => number;
|
|
3957
|
+
readonly identitycredittransfertoaddressestransitionwasm_new: (a: number, b: number, c: number, d: bigint, e: number) => void;
|
|
3958
|
+
readonly identitycredittransfertoaddressestransitionwasm_nonce: (a: number) => bigint;
|
|
3959
|
+
readonly identitycredittransfertoaddressestransitionwasm_recipient_addresses: (a: number, b: number) => void;
|
|
3960
|
+
readonly identitycredittransfertoaddressestransitionwasm_set_identity_id: (a: number, b: number, c: number) => void;
|
|
3961
|
+
readonly identitycredittransfertoaddressestransitionwasm_set_nonce: (a: number, b: bigint) => void;
|
|
3962
|
+
readonly identitycredittransfertoaddressestransitionwasm_set_recipient_addresses: (a: number, b: number, c: number) => void;
|
|
3963
|
+
readonly identitycredittransfertoaddressestransitionwasm_set_signature: (a: number, b: number, c: number) => void;
|
|
3964
|
+
readonly identitycredittransfertoaddressestransitionwasm_set_signature_public_key_id: (a: number, b: number) => void;
|
|
3965
|
+
readonly identitycredittransfertoaddressestransitionwasm_set_user_fee_increase: (a: number, b: number) => void;
|
|
3966
|
+
readonly identitycredittransfertoaddressestransitionwasm_signature: (a: number, b: number) => void;
|
|
3967
|
+
readonly identitycredittransfertoaddressestransitionwasm_signature_public_key_id: (a: number) => number;
|
|
3968
|
+
readonly identitycredittransfertoaddressestransitionwasm_struct_name: (a: number) => void;
|
|
3969
|
+
readonly identitycredittransfertoaddressestransitionwasm_toStateTransition: (a: number) => number;
|
|
3970
|
+
readonly identitycredittransfertoaddressestransitionwasm_type_name: (a: number, b: number) => void;
|
|
3971
|
+
readonly identitycredittransfertoaddressestransitionwasm_user_fee_increase: (a: number) => number;
|
|
3440
3972
|
readonly identitycredittransferwasm_base64: (a: number, b: number) => void;
|
|
3441
3973
|
readonly identitycredittransferwasm_bytes: (a: number, b: number) => void;
|
|
3442
3974
|
readonly identitycredittransferwasm_fromBase64: (a: number, b: number, c: number) => void;
|
|
@@ -3496,27 +4028,21 @@ export interface InitOutput {
|
|
|
3496
4028
|
readonly identitycreditwithdrawaltransitionwasm_struct_name: (a: number) => void;
|
|
3497
4029
|
readonly identitycreditwithdrawaltransitionwasm_toStateTransition: (a: number) => number;
|
|
3498
4030
|
readonly identitycreditwithdrawaltransitionwasm_type_name: (a: number, b: number) => void;
|
|
3499
|
-
readonly
|
|
3500
|
-
readonly
|
|
3501
|
-
readonly
|
|
3502
|
-
readonly
|
|
3503
|
-
readonly
|
|
3504
|
-
readonly
|
|
3505
|
-
readonly
|
|
3506
|
-
readonly
|
|
3507
|
-
readonly
|
|
3508
|
-
readonly
|
|
3509
|
-
readonly
|
|
3510
|
-
readonly
|
|
3511
|
-
readonly
|
|
3512
|
-
readonly
|
|
3513
|
-
readonly
|
|
3514
|
-
readonly identitypublickeyincreationwasm_set_read_only: (a: number, b: number) => void;
|
|
3515
|
-
readonly identitypublickeyincreationwasm_set_security_level: (a: number, b: number, c: number) => void;
|
|
3516
|
-
readonly identitypublickeyincreationwasm_set_signature: (a: number, b: number, c: number) => void;
|
|
3517
|
-
readonly identitypublickeyincreationwasm_struct_name: (a: number) => void;
|
|
3518
|
-
readonly identitypublickeyincreationwasm_toIdentityPublicKey: (a: number, b: number) => void;
|
|
3519
|
-
readonly identitypublickeyincreationwasm_type_name: (a: number, b: number) => void;
|
|
4031
|
+
readonly identitytopupfromaddressestransitionwasm_fee_strategy: (a: number, b: number) => void;
|
|
4032
|
+
readonly identitytopupfromaddressestransitionwasm_fromStateTransition: (a: number, b: number) => void;
|
|
4033
|
+
readonly identitytopupfromaddressestransitionwasm_input_witness: (a: number, b: number) => void;
|
|
4034
|
+
readonly identitytopupfromaddressestransitionwasm_inputs: (a: number, b: number) => void;
|
|
4035
|
+
readonly identitytopupfromaddressestransitionwasm_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
4036
|
+
readonly identitytopupfromaddressestransitionwasm_output: (a: number) => number;
|
|
4037
|
+
readonly identitytopupfromaddressestransitionwasm_set_fee_strategy: (a: number, b: number, c: number) => void;
|
|
4038
|
+
readonly identitytopupfromaddressestransitionwasm_set_input_witness: (a: number, b: number, c: number) => void;
|
|
4039
|
+
readonly identitytopupfromaddressestransitionwasm_set_inputs: (a: number, b: number, c: number) => void;
|
|
4040
|
+
readonly identitytopupfromaddressestransitionwasm_set_output: (a: number, b: number, c: number) => void;
|
|
4041
|
+
readonly identitytopupfromaddressestransitionwasm_set_user_fee_increase: (a: number, b: number) => void;
|
|
4042
|
+
readonly identitytopupfromaddressestransitionwasm_struct_name: (a: number) => void;
|
|
4043
|
+
readonly identitytopupfromaddressestransitionwasm_toStateTransition: (a: number) => number;
|
|
4044
|
+
readonly identitytopupfromaddressestransitionwasm_type_name: (a: number, b: number) => void;
|
|
4045
|
+
readonly identitytopupfromaddressestransitionwasm_user_fee_increase: (a: number) => number;
|
|
3520
4046
|
readonly identitytopuptransitionwasm_base64: (a: number, b: number) => void;
|
|
3521
4047
|
readonly identitytopuptransitionwasm_bytes: (a: number, b: number) => void;
|
|
3522
4048
|
readonly identitytopuptransitionwasm_fromBase64: (a: number, b: number, c: number) => void;
|
|
@@ -3570,18 +4096,25 @@ export interface InitOutput {
|
|
|
3570
4096
|
readonly identityupdatetransitionwasm_struct_name: (a: number) => void;
|
|
3571
4097
|
readonly identityupdatetransitionwasm_toStateTransition: (a: number) => number;
|
|
3572
4098
|
readonly identityupdatetransitionwasm_type_name: (a: number, b: number) => void;
|
|
3573
|
-
readonly
|
|
3574
|
-
readonly
|
|
3575
|
-
readonly
|
|
3576
|
-
readonly
|
|
3577
|
-
readonly
|
|
3578
|
-
readonly
|
|
3579
|
-
readonly
|
|
3580
|
-
readonly
|
|
3581
|
-
readonly
|
|
3582
|
-
readonly
|
|
3583
|
-
readonly
|
|
3584
|
-
readonly
|
|
4099
|
+
readonly inputaddresswasm_address: (a: number) => number;
|
|
4100
|
+
readonly inputaddresswasm_credits: (a: number) => bigint;
|
|
4101
|
+
readonly inputaddresswasm_new: (a: number, b: number, c: bigint) => number;
|
|
4102
|
+
readonly inputaddresswasm_nonce: (a: number) => number;
|
|
4103
|
+
readonly inputaddresswasm_set_address: (a: number, b: number) => void;
|
|
4104
|
+
readonly inputaddresswasm_set_credits: (a: number, b: bigint) => void;
|
|
4105
|
+
readonly inputaddresswasm_set_nonce: (a: number, b: number) => void;
|
|
4106
|
+
readonly inputaddresswasm_struct_name: (a: number) => void;
|
|
4107
|
+
readonly inputaddresswasm_type_name: (a: number, b: number) => void;
|
|
4108
|
+
readonly outputaddresswasm_address: (a: number) => number;
|
|
4109
|
+
readonly outputaddresswasm_credits: (a: number) => bigint;
|
|
4110
|
+
readonly outputaddresswasm_new: (a: number, b: bigint) => number;
|
|
4111
|
+
readonly outputaddresswasm_set_address: (a: number, b: number) => void;
|
|
4112
|
+
readonly outputaddresswasm_set_credits: (a: number, b: bigint) => void;
|
|
4113
|
+
readonly outputaddresswasm_struct_name: (a: number) => void;
|
|
4114
|
+
readonly outputaddresswasm_type_name: (a: number, b: number) => void;
|
|
4115
|
+
readonly recipientaddresswasm_struct_name: (a: number) => void;
|
|
4116
|
+
readonly recipientaddresswasm_type_name: (a: number, b: number) => void;
|
|
4117
|
+
readonly __wbg_recipientaddresswasm_free: (a: number, b: number) => void;
|
|
3585
4118
|
readonly __wbg_assetlockproofwasm_free: (a: number, b: number) => void;
|
|
3586
4119
|
readonly __wbg_chainassetlockproofwasm_free: (a: number, b: number) => void;
|
|
3587
4120
|
readonly __wbg_instantassetlockproofwasm_free: (a: number, b: number) => void;
|
|
@@ -3693,6 +4226,34 @@ export interface InitOutput {
|
|
|
3693
4226
|
readonly witnesswasm_push: (a: number, b: number, c: number) => void;
|
|
3694
4227
|
readonly witnesswasm_struct_name: (a: number) => void;
|
|
3695
4228
|
readonly witnesswasm_type_name: (a: number, b: number) => void;
|
|
4229
|
+
readonly __wbg_addresswitnesswasm_free: (a: number, b: number) => void;
|
|
4230
|
+
readonly __wbg_platformaddresswasm_free: (a: number, b: number) => void;
|
|
4231
|
+
readonly addresswitnesswasm_P2PKH: (a: number, b: number) => number;
|
|
4232
|
+
readonly addresswitnesswasm_P2SH: (a: number, b: number, c: number, d: number) => number;
|
|
4233
|
+
readonly addresswitnesswasm_getType: (a: number, b: number) => void;
|
|
4234
|
+
readonly addresswitnesswasm_getValue: (a: number, b: number) => void;
|
|
4235
|
+
readonly addresswitnesswasm_struct_name: (a: number) => void;
|
|
4236
|
+
readonly addresswitnesswasm_type_name: (a: number, b: number) => void;
|
|
4237
|
+
readonly platformaddresswasm_bytes: (a: number, b: number) => void;
|
|
4238
|
+
readonly platformaddresswasm_hash: (a: number, b: number) => void;
|
|
4239
|
+
readonly platformaddresswasm_isP2PKH: (a: number) => number;
|
|
4240
|
+
readonly platformaddresswasm_isP2SH: (a: number) => number;
|
|
4241
|
+
readonly platformaddresswasm_new: (a: number, b: number, c: number) => void;
|
|
4242
|
+
readonly platformaddresswasm_struct_name: (a: number) => void;
|
|
4243
|
+
readonly platformaddresswasm_toAddress: (a: number, b: number, c: number) => void;
|
|
4244
|
+
readonly platformaddresswasm_type_name: (a: number, b: number) => void;
|
|
4245
|
+
readonly __wbg_corescriptwasm_free: (a: number, b: number) => void;
|
|
4246
|
+
readonly corescriptwasm_ASMString: (a: number, b: number) => void;
|
|
4247
|
+
readonly corescriptwasm_base64: (a: number, b: number) => void;
|
|
4248
|
+
readonly corescriptwasm_bytes: (a: number, b: number) => void;
|
|
4249
|
+
readonly corescriptwasm_fromBytes: (a: number, b: number) => number;
|
|
4250
|
+
readonly corescriptwasm_hex: (a: number, b: number) => void;
|
|
4251
|
+
readonly corescriptwasm_newP2PKH: (a: number, b: number) => number;
|
|
4252
|
+
readonly corescriptwasm_newP2SH: (a: number, b: number) => number;
|
|
4253
|
+
readonly corescriptwasm_struct_name: (a: number) => void;
|
|
4254
|
+
readonly corescriptwasm_toAddress: (a: number, b: number, c: number) => void;
|
|
4255
|
+
readonly corescriptwasm_toString: (a: number, b: number) => void;
|
|
4256
|
+
readonly corescriptwasm_type_name: (a: number, b: number) => void;
|
|
3696
4257
|
readonly __wbg_identitywasm_free: (a: number, b: number) => void;
|
|
3697
4258
|
readonly identitywasm_addPublicKey: (a: number, b: number) => void;
|
|
3698
4259
|
readonly identitywasm_base64: (a: number, b: number) => void;
|
|
@@ -4042,20 +4603,20 @@ export interface InitOutput {
|
|
|
4042
4603
|
readonly tokenunfreezetransitionwasm_new: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
4043
4604
|
readonly tokenfreezetransitionwasm_new: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
4044
4605
|
readonly documentupdatepricetransitionwasm_new: (a: number, b: number, c: bigint, d: bigint, e: number) => void;
|
|
4045
|
-
readonly __wbg_tokenfreezetransitionwasm_free: (a: number, b: number) => void;
|
|
4046
|
-
readonly __wbg_tokenemergencyactiontransitionwasm_free: (a: number, b: number) => void;
|
|
4047
|
-
readonly __wbg_tokenunfreezetransitionwasm_free: (a: number, b: number) => void;
|
|
4048
4606
|
readonly __wbg_documentdeletetransitionwasm_free: (a: number, b: number) => void;
|
|
4607
|
+
readonly __wbg_tokenfreezetransitionwasm_free: (a: number, b: number) => void;
|
|
4049
4608
|
readonly __wbg_documentupdatepricetransitionwasm_free: (a: number, b: number) => void;
|
|
4609
|
+
readonly __wbg_tokenunfreezetransitionwasm_free: (a: number, b: number) => void;
|
|
4610
|
+
readonly __wbg_tokenemergencyactiontransitionwasm_free: (a: number, b: number) => void;
|
|
4050
4611
|
readonly tokenunfreezetransitionwasm_get_base: (a: number) => number;
|
|
4051
|
-
readonly tokenfreezetransitionwasm_get_base: (a: number) => number;
|
|
4052
4612
|
readonly tokenemergencyactiontransitionwasm_get_base: (a: number) => number;
|
|
4053
4613
|
readonly documentupdatepricetransitionwasm_get_price: (a: number) => bigint;
|
|
4054
4614
|
readonly documentupdatepricetransitionwasm_get_base: (a: number) => number;
|
|
4055
|
-
readonly
|
|
4056
|
-
readonly tokenemergencyactiontransitionwasm_set_base: (a: number, b: number) => void;
|
|
4057
|
-
readonly tokenfreezetransitionwasm_set_base: (a: number, b: number) => void;
|
|
4615
|
+
readonly tokenfreezetransitionwasm_get_base: (a: number) => number;
|
|
4058
4616
|
readonly tokenunfreezetransitionwasm_set_base: (a: number, b: number) => void;
|
|
4617
|
+
readonly tokenfreezetransitionwasm_set_base: (a: number, b: number) => void;
|
|
4618
|
+
readonly tokenemergencyactiontransitionwasm_set_base: (a: number, b: number) => void;
|
|
4619
|
+
readonly documentupdatepricetransitionwasm_set_price: (a: number, b: bigint) => void;
|
|
4059
4620
|
readonly __wbg_privateencryptednotewasm_free: (a: number, b: number) => void;
|
|
4060
4621
|
readonly privateencryptednotewasm_derivation_encryption_key_index: (a: number) => number;
|
|
4061
4622
|
readonly privateencryptednotewasm_new: (a: number, b: number, c: number, d: number) => number;
|
|
@@ -4068,9 +4629,9 @@ export interface InitOutput {
|
|
|
4068
4629
|
readonly privateencryptednotewasm_value: (a: number, b: number) => void;
|
|
4069
4630
|
readonly sharedencryptednotewasm_struct_name: (a: number) => void;
|
|
4070
4631
|
readonly sharedencryptednotewasm_type_name: (a: number, b: number) => void;
|
|
4071
|
-
readonly sharedencryptednotewasm_value: (a: number, b: number) => void;
|
|
4072
4632
|
readonly sharedencryptednotewasm_new: (a: number, b: number, c: number, d: number) => number;
|
|
4073
4633
|
readonly __wbg_sharedencryptednotewasm_free: (a: number, b: number) => void;
|
|
4634
|
+
readonly sharedencryptednotewasm_value: (a: number, b: number) => void;
|
|
4074
4635
|
readonly sharedencryptednotewasm_sender_key_index: (a: number) => number;
|
|
4075
4636
|
readonly sharedencryptednotewasm_recipient_key_index: (a: number) => number;
|
|
4076
4637
|
readonly sharedencryptednotewasm_set_value: (a: number, b: number, c: number) => void;
|
|
@@ -4171,6 +4732,7 @@ export interface InitOutput {
|
|
|
4171
4732
|
readonly __wbg_datacontractwasm_free: (a: number, b: number) => void;
|
|
4172
4733
|
readonly datacontractwasm_base64: (a: number, b: number, c: number) => void;
|
|
4173
4734
|
readonly datacontractwasm_bytes: (a: number, b: number, c: number) => void;
|
|
4735
|
+
readonly datacontractwasm_data_contract_protocol_version: (a: number) => number;
|
|
4174
4736
|
readonly datacontractwasm_fromBase64: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
4175
4737
|
readonly datacontractwasm_fromBytes: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
4176
4738
|
readonly datacontractwasm_fromHex: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
@@ -4179,16 +4741,21 @@ export interface InitOutput {
|
|
|
4179
4741
|
readonly datacontractwasm_generateId: (a: number, b: number, c: bigint) => void;
|
|
4180
4742
|
readonly datacontractwasm_getConfig: (a: number, b: number) => void;
|
|
4181
4743
|
readonly datacontractwasm_getSchemas: (a: number, b: number) => void;
|
|
4744
|
+
readonly datacontractwasm_get_description: (a: number, b: number) => void;
|
|
4182
4745
|
readonly datacontractwasm_get_groups: (a: number, b: number) => void;
|
|
4183
4746
|
readonly datacontractwasm_get_id: (a: number) => number;
|
|
4747
|
+
readonly datacontractwasm_get_keywords: (a: number, b: number) => void;
|
|
4184
4748
|
readonly datacontractwasm_get_owner_id: (a: number) => number;
|
|
4185
4749
|
readonly datacontractwasm_get_tokens: (a: number, b: number) => void;
|
|
4186
4750
|
readonly datacontractwasm_get_version: (a: number) => number;
|
|
4187
4751
|
readonly datacontractwasm_hex: (a: number, b: number, c: number) => void;
|
|
4188
4752
|
readonly datacontractwasm_setConfig: (a: number, b: number, c: number, d: number) => void;
|
|
4189
4753
|
readonly datacontractwasm_setSchemas: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
4754
|
+
readonly datacontractwasm_set_data_contract_protocol_version: (a: number, b: number, c: number) => void;
|
|
4755
|
+
readonly datacontractwasm_set_description: (a: number, b: number, c: number) => void;
|
|
4190
4756
|
readonly datacontractwasm_set_groups: (a: number, b: number, c: number) => void;
|
|
4191
4757
|
readonly datacontractwasm_set_id: (a: number, b: number, c: number) => void;
|
|
4758
|
+
readonly datacontractwasm_set_keywords: (a: number, b: number, c: number) => void;
|
|
4192
4759
|
readonly datacontractwasm_set_owner_id: (a: number, b: number, c: number) => void;
|
|
4193
4760
|
readonly datacontractwasm_set_tokens: (a: number, b: number, c: number) => void;
|
|
4194
4761
|
readonly datacontractwasm_set_version: (a: number, b: number) => void;
|
|
@@ -4464,26 +5031,22 @@ export interface InitOutput {
|
|
|
4464
5031
|
readonly __wbg_set_distributionpolynomialwasm_n: (a: number, b: bigint) => void;
|
|
4465
5032
|
readonly __wbg_set_distributionpolynomialwasm_o: (a: number, b: bigint) => void;
|
|
4466
5033
|
readonly __wbg_set_timebaseddistributionwasm_interval: (a: number, b: bigint) => void;
|
|
4467
|
-
readonly __wbg_set_distributioninvertedlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
|
|
4468
|
-
readonly __wbg_distributioninvertedlogarithmicwasm_free: (a: number, b: number) => void;
|
|
4469
|
-
readonly __wbg_set_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number, c: bigint) => void;
|
|
4470
|
-
readonly __wbg_set_distributionlinearwasm_startStep: (a: number, b: number, c: bigint) => void;
|
|
4471
5034
|
readonly __wbg_set_distributionpolynomialwasm_startMoment: (a: number, b: number, c: bigint) => void;
|
|
4472
5035
|
readonly __wbg_distributionpolynomialwasm_free: (a: number, b: number) => void;
|
|
5036
|
+
readonly __wbg_set_distributionrandomwasm_min: (a: number, b: bigint) => void;
|
|
5037
|
+
readonly __wbg_get_distributionrandomwasm_min: (a: number) => bigint;
|
|
4473
5038
|
readonly __wbg_set_distributionlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
|
|
5039
|
+
readonly __wbg_set_distributionlinearwasm_startStep: (a: number, b: number, c: bigint) => void;
|
|
4474
5040
|
readonly __wbg_distributionlogarithmicwasm_free: (a: number, b: number) => void;
|
|
4475
|
-
readonly
|
|
4476
|
-
readonly
|
|
4477
|
-
readonly
|
|
4478
|
-
readonly
|
|
4479
|
-
readonly
|
|
4480
|
-
readonly
|
|
4481
|
-
readonly
|
|
4482
|
-
readonly
|
|
4483
|
-
readonly
|
|
4484
|
-
readonly __wbg_get_distributionlogarithmicwasm_d: (a: number) => bigint;
|
|
4485
|
-
readonly __wbg_get_distributionlogarithmicwasm_b: (a: number) => bigint;
|
|
4486
|
-
readonly __wbg_get_distributionlogarithmicwasm_a: (a: number) => bigint;
|
|
5041
|
+
readonly __wbg_set_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number, c: bigint) => void;
|
|
5042
|
+
readonly __wbg_set_distributioninvertedlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
|
|
5043
|
+
readonly __wbg_distributioninvertedlogarithmicwasm_free: (a: number, b: number) => void;
|
|
5044
|
+
readonly __wbg_get_distributionlinearwasm_startStep: (a: number, b: number) => void;
|
|
5045
|
+
readonly __wbg_get_distributionlinearwasm_minValue: (a: number, b: number) => void;
|
|
5046
|
+
readonly __wbg_get_distributionlinearwasm_maxValue: (a: number, b: number) => void;
|
|
5047
|
+
readonly __wbg_get_distributionlinearwasm_startingAmount: (a: number) => bigint;
|
|
5048
|
+
readonly __wbg_get_distributionlinearwasm_d: (a: number) => bigint;
|
|
5049
|
+
readonly __wbg_get_distributionlinearwasm_a: (a: number) => bigint;
|
|
4487
5050
|
readonly __wbg_get_distributioninvertedlogarithmicwasm_startMoment: (a: number, b: number) => void;
|
|
4488
5051
|
readonly __wbg_get_distributioninvertedlogarithmicwasm_o: (a: number) => bigint;
|
|
4489
5052
|
readonly __wbg_get_distributioninvertedlogarithmicwasm_n: (a: number) => bigint;
|
|
@@ -4493,6 +5056,16 @@ export interface InitOutput {
|
|
|
4493
5056
|
readonly __wbg_get_distributioninvertedlogarithmicwasm_d: (a: number) => bigint;
|
|
4494
5057
|
readonly __wbg_get_distributioninvertedlogarithmicwasm_b: (a: number) => bigint;
|
|
4495
5058
|
readonly __wbg_get_distributioninvertedlogarithmicwasm_a: (a: number) => bigint;
|
|
5059
|
+
readonly __wbg_get_timebaseddistributionwasm_interval: (a: number) => bigint;
|
|
5060
|
+
readonly __wbg_get_distributionlogarithmicwasm_startMoment: (a: number, b: number) => void;
|
|
5061
|
+
readonly __wbg_get_distributionlogarithmicwasm_o: (a: number) => bigint;
|
|
5062
|
+
readonly __wbg_get_distributionlogarithmicwasm_n: (a: number) => bigint;
|
|
5063
|
+
readonly __wbg_get_distributionlogarithmicwasm_minValue: (a: number, b: number) => void;
|
|
5064
|
+
readonly __wbg_get_distributionlogarithmicwasm_maxValue: (a: number, b: number) => void;
|
|
5065
|
+
readonly __wbg_get_distributionlogarithmicwasm_m: (a: number) => bigint;
|
|
5066
|
+
readonly __wbg_get_distributionlogarithmicwasm_d: (a: number) => bigint;
|
|
5067
|
+
readonly __wbg_get_distributionlogarithmicwasm_b: (a: number) => bigint;
|
|
5068
|
+
readonly __wbg_get_distributionlogarithmicwasm_a: (a: number) => bigint;
|
|
4496
5069
|
readonly __wbg_get_distributionpolynomialwasm_startMoment: (a: number, b: number) => void;
|
|
4497
5070
|
readonly __wbg_get_distributionpolynomialwasm_o: (a: number) => bigint;
|
|
4498
5071
|
readonly __wbg_get_distributionpolynomialwasm_n: (a: number) => bigint;
|
|
@@ -4502,30 +5075,24 @@ export interface InitOutput {
|
|
|
4502
5075
|
readonly __wbg_get_distributionpolynomialwasm_d: (a: number) => bigint;
|
|
4503
5076
|
readonly __wbg_get_distributionpolynomialwasm_b: (a: number) => bigint;
|
|
4504
5077
|
readonly __wbg_get_distributionpolynomialwasm_a: (a: number) => bigint;
|
|
4505
|
-
readonly
|
|
4506
|
-
readonly
|
|
4507
|
-
readonly
|
|
4508
|
-
readonly
|
|
4509
|
-
readonly __wbg_get_distributionlinearwasm_maxValue: (a: number, b: number) => void;
|
|
4510
|
-
readonly __wbg_get_distributionlinearwasm_d: (a: number) => bigint;
|
|
4511
|
-
readonly __wbg_get_distributionlinearwasm_a: (a: number) => bigint;
|
|
4512
|
-
readonly __wbg_set_distributionpolynomialwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4513
|
-
readonly __wbg_set_distributionpolynomialwasm_maxValue: (a: number, b: number, c: bigint) => void;
|
|
5078
|
+
readonly __wbg_get_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number) => void;
|
|
5079
|
+
readonly __wbg_get_distributionstepdecreasingamountwasm_minValue: (a: number, b: number) => void;
|
|
5080
|
+
readonly __wbg_set_distributionlinearwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
5081
|
+
readonly __wbg_set_distributionlinearwasm_maxValue: (a: number, b: number, c: bigint) => void;
|
|
4514
5082
|
readonly __wbg_set_distributionlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4515
5083
|
readonly __wbg_set_distributionlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
|
|
4516
|
-
readonly __wbg_set_distributionrandomwasm_min: (a: number, b: bigint) => void;
|
|
4517
5084
|
readonly __wbg_set_distributioninvertedlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4518
5085
|
readonly __wbg_set_distributioninvertedlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
|
|
4519
|
-
readonly __wbg_set_distributionlinearwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4520
|
-
readonly __wbg_set_distributionlinearwasm_maxValue: (a: number, b: number, c: bigint) => void;
|
|
4521
5086
|
readonly __wbg_set_distributionstepdecreasingamountwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
5087
|
+
readonly __wbg_set_distributionpolynomialwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
5088
|
+
readonly __wbg_set_distributionpolynomialwasm_maxValue: (a: number, b: number, c: bigint) => void;
|
|
4522
5089
|
readonly __wbg_tokenmarketplaceruleswasm_free: (a: number, b: number) => void;
|
|
4523
5090
|
readonly __wbg_timebaseddistributionwasm_free: (a: number, b: number) => void;
|
|
4524
5091
|
readonly epochbaseddistributionwasm_set_function: (a: number, b: number) => void;
|
|
4525
5092
|
readonly __wbg_epochbaseddistributionwasm_free: (a: number, b: number) => void;
|
|
4526
|
-
readonly timebaseddistributionwasm_set_function: (a: number, b: number) => void;
|
|
4527
|
-
readonly epochbaseddistributionwasm_get_function: (a: number) => number;
|
|
4528
5093
|
readonly timebaseddistributionwasm_get_function: (a: number) => number;
|
|
5094
|
+
readonly epochbaseddistributionwasm_get_function: (a: number) => number;
|
|
5095
|
+
readonly timebaseddistributionwasm_set_function: (a: number, b: number) => void;
|
|
4529
5096
|
readonly __wbg_statetransitionwasm_free: (a: number, b: number) => void;
|
|
4530
5097
|
readonly statetransitionwasm_base64: (a: number, b: number) => void;
|
|
4531
5098
|
readonly statetransitionwasm_bytes: (a: number, b: number) => void;
|
|
@@ -4548,7 +5115,7 @@ export interface InitOutput {
|
|
|
4548
5115
|
readonly statetransitionwasm_setIdentityContractNonce: (a: number, b: number, c: bigint) => void;
|
|
4549
5116
|
readonly statetransitionwasm_setIdentityNonce: (a: number, b: number, c: bigint) => void;
|
|
4550
5117
|
readonly statetransitionwasm_setOwnerId: (a: number, b: number, c: number) => void;
|
|
4551
|
-
readonly statetransitionwasm_set_signature: (a: number, b: number, c: number) =>
|
|
5118
|
+
readonly statetransitionwasm_set_signature: (a: number, b: number, c: number) => number;
|
|
4552
5119
|
readonly statetransitionwasm_set_signature_public_key_id: (a: number, b: number) => void;
|
|
4553
5120
|
readonly statetransitionwasm_set_user_fee_increase: (a: number, b: number) => void;
|
|
4554
5121
|
readonly statetransitionwasm_sign: (a: number, b: number, c: number, d: number) => void;
|
|
@@ -4556,30 +5123,30 @@ export interface InitOutput {
|
|
|
4556
5123
|
readonly statetransitionwasm_struct_name: (a: number) => void;
|
|
4557
5124
|
readonly statetransitionwasm_type_name: (a: number, b: number) => void;
|
|
4558
5125
|
readonly statetransitionwasm_verifyPublicKey: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
4559
|
-
readonly
|
|
4560
|
-
readonly privatekeywasm_WIF: (a: number, b: number) => void;
|
|
4561
|
-
readonly privatekeywasm_bytes: (a: number, b: number) => void;
|
|
4562
|
-
readonly privatekeywasm_fromBytes: (a: number, b: number, c: number, d: number) => void;
|
|
4563
|
-
readonly privatekeywasm_fromHex: (a: number, b: number, c: number, d: number) => void;
|
|
4564
|
-
readonly privatekeywasm_fromWIF: (a: number, b: number, c: number) => void;
|
|
4565
|
-
readonly privatekeywasm_getPublicKey: (a: number) => number;
|
|
4566
|
-
readonly privatekeywasm_getPublicKeyHash: (a: number, b: number) => void;
|
|
4567
|
-
readonly privatekeywasm_hex: (a: number, b: number) => void;
|
|
4568
|
-
readonly privatekeywasm_struct_name: (a: number) => void;
|
|
4569
|
-
readonly privatekeywasm_type_name: (a: number, b: number) => void;
|
|
4570
|
-
readonly __wbg_publickeywasm_free: (a: number, b: number) => void;
|
|
4571
|
-
readonly publickeywasm_bytes: (a: number, b: number) => void;
|
|
4572
|
-
readonly publickeywasm_compressed: (a: number) => number;
|
|
4573
|
-
readonly publickeywasm_fromBytes: (a: number, b: number, c: number) => void;
|
|
4574
|
-
readonly publickeywasm_getPublicKeyHash: (a: number, b: number) => void;
|
|
4575
|
-
readonly publickeywasm_hash160: (a: number, b: number) => void;
|
|
4576
|
-
readonly publickeywasm_inner: (a: number, b: number) => void;
|
|
4577
|
-
readonly publickeywasm_new: (a: number, b: number, c: number, d: number) => void;
|
|
4578
|
-
readonly publickeywasm_set_compressed: (a: number, b: number) => void;
|
|
4579
|
-
readonly publickeywasm_set_inner: (a: number, b: number, c: number, d: number) => void;
|
|
4580
|
-
readonly publickeywasm_struct_name: (a: number) => void;
|
|
4581
|
-
readonly publickeywasm_type_name: (a: number, b: number) => void;
|
|
5126
|
+
readonly __wbg_identitypublickeyincreationwasm_free: (a: number, b: number) => void;
|
|
4582
5127
|
readonly __wbg_identitypublickeywasm_free: (a: number, b: number) => void;
|
|
5128
|
+
readonly identitypublickeyincreationwasm_getHash: (a: number, b: number) => void;
|
|
5129
|
+
readonly identitypublickeyincreationwasm_get_contract_bounds: (a: number) => number;
|
|
5130
|
+
readonly identitypublickeyincreationwasm_get_data: (a: number, b: number) => void;
|
|
5131
|
+
readonly identitypublickeyincreationwasm_get_key_id: (a: number) => number;
|
|
5132
|
+
readonly identitypublickeyincreationwasm_get_key_type: (a: number, b: number) => void;
|
|
5133
|
+
readonly identitypublickeyincreationwasm_get_purpose: (a: number, b: number) => void;
|
|
5134
|
+
readonly identitypublickeyincreationwasm_get_read_only: (a: number) => number;
|
|
5135
|
+
readonly identitypublickeyincreationwasm_get_security_level: (a: number, b: number) => void;
|
|
5136
|
+
readonly identitypublickeyincreationwasm_get_signature: (a: number, b: number) => void;
|
|
5137
|
+
readonly identitypublickeyincreationwasm_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
|
|
5138
|
+
readonly identitypublickeyincreationwasm_set_contract_bounds: (a: number, b: number, c: number) => void;
|
|
5139
|
+
readonly identitypublickeyincreationwasm_set_data: (a: number, b: number, c: number) => void;
|
|
5140
|
+
readonly identitypublickeyincreationwasm_set_key_id: (a: number, b: number) => void;
|
|
5141
|
+
readonly identitypublickeyincreationwasm_set_key_type: (a: number, b: number, c: number) => void;
|
|
5142
|
+
readonly identitypublickeyincreationwasm_set_purpose: (a: number, b: number, c: number) => void;
|
|
5143
|
+
readonly identitypublickeyincreationwasm_set_read_only: (a: number, b: number) => void;
|
|
5144
|
+
readonly identitypublickeyincreationwasm_set_security_level: (a: number, b: number, c: number) => void;
|
|
5145
|
+
readonly identitypublickeyincreationwasm_set_signature: (a: number, b: number, c: number) => void;
|
|
5146
|
+
readonly identitypublickeyincreationwasm_struct_name: (a: number) => void;
|
|
5147
|
+
readonly identitypublickeyincreationwasm_toIdentityPublicKey: (a: number, b: number) => void;
|
|
5148
|
+
readonly identitypublickeyincreationwasm_type_name: (a: number, b: number) => void;
|
|
5149
|
+
readonly identitypublickeyincreationwasm_validatePrivateKey: (a: number, b: number, c: number, d: number) => void;
|
|
4583
5150
|
readonly identitypublickeywasm_base64: (a: number, b: number) => void;
|
|
4584
5151
|
readonly identitypublickeywasm_bytes: (a: number, b: number) => void;
|
|
4585
5152
|
readonly identitypublickeywasm_fromBase64: (a: number, b: number, c: number) => void;
|
|
@@ -4610,10 +5177,38 @@ export interface InitOutput {
|
|
|
4610
5177
|
readonly identitypublickeywasm_set_security_level: (a: number, b: number, c: number) => void;
|
|
4611
5178
|
readonly identitypublickeywasm_struct_name: (a: number) => void;
|
|
4612
5179
|
readonly identitypublickeywasm_type_name: (a: number, b: number) => void;
|
|
4613
|
-
readonly identitypublickeywasm_validatePrivateKey: (a: number, b: number, c: number, d: number
|
|
5180
|
+
readonly identitypublickeywasm_validatePrivateKey: (a: number, b: number, c: number, d: number) => void;
|
|
5181
|
+
readonly identitypublickeywasm_validatePrivateKeyBytes: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
4614
5182
|
readonly identitypublickeywasm_set_key_type_number: (a: number, b: number, c: number) => void;
|
|
4615
5183
|
readonly identitypublickeywasm_set_purpose_number: (a: number, b: number, c: number) => void;
|
|
4616
5184
|
readonly identitypublickeywasm_set_security_level_number: (a: number, b: number, c: number) => void;
|
|
5185
|
+
readonly __wbg_privatekeywasm_free: (a: number, b: number) => void;
|
|
5186
|
+
readonly privatekeywasm_WIF: (a: number, b: number) => void;
|
|
5187
|
+
readonly privatekeywasm_bytes: (a: number, b: number) => void;
|
|
5188
|
+
readonly privatekeywasm_fromBytes: (a: number, b: number, c: number, d: number) => void;
|
|
5189
|
+
readonly privatekeywasm_fromHex: (a: number, b: number, c: number, d: number) => void;
|
|
5190
|
+
readonly privatekeywasm_fromWIF: (a: number, b: number, c: number) => void;
|
|
5191
|
+
readonly privatekeywasm_getNetwork: (a: number, b: number) => void;
|
|
5192
|
+
readonly privatekeywasm_getPublicKey: (a: number) => number;
|
|
5193
|
+
readonly privatekeywasm_getPublicKeyHash: (a: number, b: number) => void;
|
|
5194
|
+
readonly privatekeywasm_hex: (a: number, b: number) => void;
|
|
5195
|
+
readonly privatekeywasm_new: (a: number, b: number, c: number) => void;
|
|
5196
|
+
readonly privatekeywasm_sign: (a: number, b: number, c: number, d: number) => void;
|
|
5197
|
+
readonly privatekeywasm_signHash: (a: number, b: number, c: number, d: number) => void;
|
|
5198
|
+
readonly privatekeywasm_struct_name: (a: number) => void;
|
|
5199
|
+
readonly privatekeywasm_type_name: (a: number, b: number) => void;
|
|
5200
|
+
readonly __wbg_publickeywasm_free: (a: number, b: number) => void;
|
|
5201
|
+
readonly publickeywasm_bytes: (a: number, b: number) => void;
|
|
5202
|
+
readonly publickeywasm_compressed: (a: number) => number;
|
|
5203
|
+
readonly publickeywasm_fromBytes: (a: number, b: number, c: number) => void;
|
|
5204
|
+
readonly publickeywasm_getPublicKeyHash: (a: number, b: number) => void;
|
|
5205
|
+
readonly publickeywasm_hash160: (a: number, b: number) => void;
|
|
5206
|
+
readonly publickeywasm_inner: (a: number, b: number) => void;
|
|
5207
|
+
readonly publickeywasm_new: (a: number, b: number, c: number, d: number) => void;
|
|
5208
|
+
readonly publickeywasm_set_compressed: (a: number, b: number) => void;
|
|
5209
|
+
readonly publickeywasm_set_inner: (a: number, b: number, c: number, d: number) => void;
|
|
5210
|
+
readonly publickeywasm_struct_name: (a: number) => void;
|
|
5211
|
+
readonly publickeywasm_type_name: (a: number, b: number) => void;
|
|
4617
5212
|
readonly __wbg_contractboundswasm_free: (a: number, b: number) => void;
|
|
4618
5213
|
readonly contractboundswasm_SingleContract: (a: number, b: number) => void;
|
|
4619
5214
|
readonly contractboundswasm_SingleContractDocumentType: (a: number, b: number, c: number, d: number) => void;
|