pshenmic-dpp 1.1.2-dev.6 → 1.1.2-dev.8
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 +20 -0
- package/dist/wasm/pshenmic_dpp.d.ts +524 -49
- package/dist/wasm/pshenmic_dpp.js +7315 -4893
- package/dist/wasm/pshenmic_dpp_bg.js +1 -1
- package/dist/wasm/pshenmic_dpp_bg.wasm.d.ts +202 -43
- package/dist/wasm/pshenmic_dpp_zipped.js +1 -1
- package/package.json +1 -1
|
@@ -69,6 +69,7 @@ export enum PlatformVersionWASM {
|
|
|
69
69
|
PLATFORM_V8 = 8,
|
|
70
70
|
PLATFORM_V9 = 9,
|
|
71
71
|
PLATFORM_V10 = 10,
|
|
72
|
+
PLATFORM_V11 = 11,
|
|
72
73
|
}
|
|
73
74
|
export enum PoolingWASM {
|
|
74
75
|
Never = 0,
|
|
@@ -118,6 +119,158 @@ export class ActionTakerWASM {
|
|
|
118
119
|
value: any;
|
|
119
120
|
readonly __type: string;
|
|
120
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
|
+
}
|
|
121
274
|
export class AssetLockProofWASM {
|
|
122
275
|
/** @ignore */
|
|
123
276
|
free(): void;
|
|
@@ -1319,6 +1472,40 @@ export class IdentifierWASM {
|
|
|
1319
1472
|
static readonly __struct: string;
|
|
1320
1473
|
readonly __type: string;
|
|
1321
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
|
+
}
|
|
1322
1509
|
export class IdentityCreateTransitionWASM {
|
|
1323
1510
|
/** @ignore */
|
|
1324
1511
|
free(): void;
|
|
@@ -1372,6 +1559,36 @@ export class IdentityCreateTransitionWASM {
|
|
|
1372
1559
|
userFeeIncrease: number;
|
|
1373
1560
|
readonly __type: string;
|
|
1374
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
|
+
}
|
|
1375
1592
|
export class IdentityCreditTransferWASM {
|
|
1376
1593
|
/** @ignore */
|
|
1377
1594
|
free(): void;
|
|
@@ -1619,6 +1836,38 @@ export class IdentityTokenInfoWASM {
|
|
|
1619
1836
|
[Symbol.dispose](): void;
|
|
1620
1837
|
frozen: boolean;
|
|
1621
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
|
+
}
|
|
1622
1871
|
export class IdentityTopUpTransitionWASM {
|
|
1623
1872
|
/** @ignore */
|
|
1624
1873
|
free(): void;
|
|
@@ -1781,6 +2030,23 @@ export class IdentityWASM {
|
|
|
1781
2030
|
set id(value: any);
|
|
1782
2031
|
readonly __type: string;
|
|
1783
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
|
+
}
|
|
1784
2050
|
export class InstantAssetLockProofWASM {
|
|
1785
2051
|
/** @ignore */
|
|
1786
2052
|
free(): void;
|
|
@@ -1928,6 +2194,21 @@ export class OutPointWASM {
|
|
|
1928
2194
|
static readonly __struct: string;
|
|
1929
2195
|
readonly __type: string;
|
|
1930
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
|
+
}
|
|
1931
2212
|
export class PartialIdentityWASM {
|
|
1932
2213
|
/** @ignore */
|
|
1933
2214
|
free(): void;
|
|
@@ -1952,6 +2233,31 @@ export class PartialIdentityWASM {
|
|
|
1952
2233
|
get id(): IdentifierWASM;
|
|
1953
2234
|
set id(value: any);
|
|
1954
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
|
+
}
|
|
1955
2261
|
export class PrefundedVotingBalanceWASM {
|
|
1956
2262
|
/** @ignore */
|
|
1957
2263
|
free(): void;
|
|
@@ -2062,6 +2368,17 @@ export class PublicKeyWASM {
|
|
|
2062
2368
|
inner: Uint8Array;
|
|
2063
2369
|
readonly __type: string;
|
|
2064
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
|
+
}
|
|
2065
2382
|
export class ResourceVoteChoiceWASM {
|
|
2066
2383
|
/** @returns {ResourceVoteChoiceWASM} */
|
|
2067
2384
|
private constructor();
|
|
@@ -2147,7 +2464,7 @@ export class StateTransitionWASM {
|
|
|
2147
2464
|
*/
|
|
2148
2465
|
static fromBase64(base64: string): StateTransitionWASM;
|
|
2149
2466
|
/** @returns {IdentifierWASM} */
|
|
2150
|
-
getOwnerId(): IdentifierWASM;
|
|
2467
|
+
getOwnerId(): IdentifierWASM | undefined;
|
|
2151
2468
|
/** @param {any} js_owner_id */
|
|
2152
2469
|
setOwnerId(js_owner_id: any): void;
|
|
2153
2470
|
/** @returns {string} */
|
|
@@ -2168,10 +2485,9 @@ export class StateTransitionWASM {
|
|
|
2168
2485
|
* @param {any} js_private_key
|
|
2169
2486
|
* @param {number} key_id
|
|
2170
2487
|
* @param {any} js_key_type
|
|
2171
|
-
* @param {any} js_network
|
|
2172
2488
|
* @returns {Uint8Array<ArrayBufferLike>}
|
|
2173
2489
|
*/
|
|
2174
|
-
signByPrivateKey(js_private_key: any, key_id: number | null | undefined, js_key_type: any
|
|
2490
|
+
signByPrivateKey(js_private_key: any, key_id: number | null | undefined, js_key_type: any): Uint8Array;
|
|
2175
2491
|
/** @returns {number} */
|
|
2176
2492
|
getActionTypeNumber(): number;
|
|
2177
2493
|
/** @returns {string[]} */
|
|
@@ -2188,10 +2504,9 @@ export class StateTransitionWASM {
|
|
|
2188
2504
|
/**
|
|
2189
2505
|
* @param {any} js_private_key
|
|
2190
2506
|
* @param {IdentityPublicKeyWASM} public_key
|
|
2191
|
-
* @param {any} js_network
|
|
2192
2507
|
* @returns {Uint8Array<ArrayBufferLike>}
|
|
2193
2508
|
*/
|
|
2194
|
-
sign(js_private_key: any, public_key: IdentityPublicKeyWASM
|
|
2509
|
+
sign(js_private_key: any, public_key: IdentityPublicKeyWASM): Uint8Array;
|
|
2195
2510
|
/** @returns {any} */
|
|
2196
2511
|
hex(): any;
|
|
2197
2512
|
/**
|
|
@@ -2209,7 +2524,8 @@ export class StateTransitionWASM {
|
|
|
2209
2524
|
/** @returns {any} */
|
|
2210
2525
|
base64(): any;
|
|
2211
2526
|
static readonly __struct: string;
|
|
2212
|
-
signature: Uint8Array;
|
|
2527
|
+
get signature(): Uint8Array | undefined;
|
|
2528
|
+
set signature(value: Uint8Array);
|
|
2213
2529
|
userFeeIncrease: number;
|
|
2214
2530
|
get signaturePublicKeyId(): number | undefined;
|
|
2215
2531
|
set signaturePublicKeyId(value: number);
|
|
@@ -3437,17 +3753,17 @@ export interface InitOutput {
|
|
|
3437
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;
|
|
3438
3754
|
readonly __wbg_verifiedtokentotalsupplywasm_free: (a: number, b: number) => void;
|
|
3439
3755
|
readonly __wbg_verifiedidentitynoncewasm_free: (a: number, b: number) => void;
|
|
3756
|
+
readonly __wbg_tokenstatuswasm_free: (a: number, b: number) => void;
|
|
3440
3757
|
readonly __wbg_verifiedidentitycontractnoncewasm_free: (a: number, b: number) => void;
|
|
3441
3758
|
readonly __wbg_verifiedtotalcreditswasm_free: (a: number, b: number) => void;
|
|
3442
|
-
readonly __wbg_tokenstatuswasm_free: (a: number, b: number) => void;
|
|
3443
|
-
readonly __wbg_verifiedtokensbalancesforidentitywasm_free: (a: number, b: number) => void;
|
|
3444
3759
|
readonly __wbg_verifiedidentitybyuniquekeyhashwasm_free: (a: number, b: number) => void;
|
|
3760
|
+
readonly __wbg_verifiedtokensbalancesforidentitywasm_free: (a: number, b: number) => void;
|
|
3761
|
+
readonly verifiedidentitynoncewasm_root_hash: (a: number) => number;
|
|
3762
|
+
readonly verifiedidentitynoncewasm_nonce: (a: number, b: number) => void;
|
|
3445
3763
|
readonly verifiedidentitycontractnoncewasm_root_hash: (a: number) => number;
|
|
3446
3764
|
readonly verifiedidentitycontractnoncewasm_contract_nonce: (a: number, b: number) => void;
|
|
3447
3765
|
readonly verifiedidentitybyuniquekeyhashwasm_root_hash: (a: number) => number;
|
|
3448
3766
|
readonly verifiedidentitybyuniquekeyhashwasm_identity: (a: number) => number;
|
|
3449
|
-
readonly verifiedidentitynoncewasm_root_hash: (a: number) => number;
|
|
3450
|
-
readonly verifiedidentitynoncewasm_nonce: (a: number, b: number) => void;
|
|
3451
3767
|
readonly verifiedtokensbalancesforidentitywasm_root_hash: (a: number) => number;
|
|
3452
3768
|
readonly verifiedtokensbalancesforidentitywasm_balances: (a: number) => number;
|
|
3453
3769
|
readonly tokenstatuswasm_paused: (a: number) => number;
|
|
@@ -3519,11 +3835,103 @@ export interface InitOutput {
|
|
|
3519
3835
|
readonly votewasm_struct_name: (a: number) => void;
|
|
3520
3836
|
readonly votewasm_type_name: (a: number, b: number) => void;
|
|
3521
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;
|
|
3522
3845
|
readonly __wbg_identitycreatetransitionwasm_free: (a: number, b: number) => void;
|
|
3846
|
+
readonly __wbg_identitycredittransfertoaddressestransitionwasm_free: (a: number, b: number) => void;
|
|
3523
3847
|
readonly __wbg_identitycredittransferwasm_free: (a: number, b: number) => void;
|
|
3524
3848
|
readonly __wbg_identitycreditwithdrawaltransitionwasm_free: (a: number, b: number) => void;
|
|
3849
|
+
readonly __wbg_identitytopupfromaddressestransitionwasm_free: (a: number, b: number) => void;
|
|
3525
3850
|
readonly __wbg_identitytopuptransitionwasm_free: (a: number, b: number) => void;
|
|
3526
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;
|
|
3527
3935
|
readonly identitycreatetransitionwasm_bytes: (a: number, b: number) => void;
|
|
3528
3936
|
readonly identitycreatetransitionwasm_default: (a: number, b: number) => void;
|
|
3529
3937
|
readonly identitycreatetransitionwasm_fromBase64: (a: number, b: number, c: number) => void;
|
|
@@ -3544,6 +3952,23 @@ export interface InitOutput {
|
|
|
3544
3952
|
readonly identitycreatetransitionwasm_struct_name: (a: number) => void;
|
|
3545
3953
|
readonly identitycreatetransitionwasm_toStateTransition: (a: number) => number;
|
|
3546
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;
|
|
3547
3972
|
readonly identitycredittransferwasm_base64: (a: number, b: number) => void;
|
|
3548
3973
|
readonly identitycredittransferwasm_bytes: (a: number, b: number) => void;
|
|
3549
3974
|
readonly identitycredittransferwasm_fromBase64: (a: number, b: number, c: number) => void;
|
|
@@ -3603,6 +4028,21 @@ export interface InitOutput {
|
|
|
3603
4028
|
readonly identitycreditwithdrawaltransitionwasm_struct_name: (a: number) => void;
|
|
3604
4029
|
readonly identitycreditwithdrawaltransitionwasm_toStateTransition: (a: number) => number;
|
|
3605
4030
|
readonly identitycreditwithdrawaltransitionwasm_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;
|
|
3606
4046
|
readonly identitytopuptransitionwasm_base64: (a: number, b: number) => void;
|
|
3607
4047
|
readonly identitytopuptransitionwasm_bytes: (a: number, b: number) => void;
|
|
3608
4048
|
readonly identitytopuptransitionwasm_fromBase64: (a: number, b: number, c: number) => void;
|
|
@@ -3656,18 +4096,25 @@ export interface InitOutput {
|
|
|
3656
4096
|
readonly identityupdatetransitionwasm_struct_name: (a: number) => void;
|
|
3657
4097
|
readonly identityupdatetransitionwasm_toStateTransition: (a: number) => number;
|
|
3658
4098
|
readonly identityupdatetransitionwasm_type_name: (a: number, b: number) => void;
|
|
3659
|
-
readonly
|
|
3660
|
-
readonly
|
|
3661
|
-
readonly
|
|
3662
|
-
readonly
|
|
3663
|
-
readonly
|
|
3664
|
-
readonly
|
|
3665
|
-
readonly
|
|
3666
|
-
readonly
|
|
3667
|
-
readonly
|
|
3668
|
-
readonly
|
|
3669
|
-
readonly
|
|
3670
|
-
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;
|
|
3671
4118
|
readonly __wbg_assetlockproofwasm_free: (a: number, b: number) => void;
|
|
3672
4119
|
readonly __wbg_chainassetlockproofwasm_free: (a: number, b: number) => void;
|
|
3673
4120
|
readonly __wbg_instantassetlockproofwasm_free: (a: number, b: number) => void;
|
|
@@ -3779,6 +4226,34 @@ export interface InitOutput {
|
|
|
3779
4226
|
readonly witnesswasm_push: (a: number, b: number, c: number) => void;
|
|
3780
4227
|
readonly witnesswasm_struct_name: (a: number) => void;
|
|
3781
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;
|
|
3782
4257
|
readonly __wbg_identitywasm_free: (a: number, b: number) => void;
|
|
3783
4258
|
readonly identitywasm_addPublicKey: (a: number, b: number) => void;
|
|
3784
4259
|
readonly identitywasm_base64: (a: number, b: number) => void;
|
|
@@ -4128,18 +4603,18 @@ export interface InitOutput {
|
|
|
4128
4603
|
readonly tokenunfreezetransitionwasm_new: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
4129
4604
|
readonly tokenfreezetransitionwasm_new: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
4130
4605
|
readonly documentupdatepricetransitionwasm_new: (a: number, b: number, c: bigint, d: bigint, e: number) => void;
|
|
4606
|
+
readonly __wbg_documentdeletetransitionwasm_free: (a: number, b: number) => void;
|
|
4131
4607
|
readonly __wbg_tokenfreezetransitionwasm_free: (a: number, b: number) => void;
|
|
4132
4608
|
readonly __wbg_documentupdatepricetransitionwasm_free: (a: number, b: number) => void;
|
|
4133
|
-
readonly __wbg_tokenemergencyactiontransitionwasm_free: (a: number, b: number) => void;
|
|
4134
4609
|
readonly __wbg_tokenunfreezetransitionwasm_free: (a: number, b: number) => void;
|
|
4135
|
-
readonly
|
|
4610
|
+
readonly __wbg_tokenemergencyactiontransitionwasm_free: (a: number, b: number) => void;
|
|
4136
4611
|
readonly tokenunfreezetransitionwasm_get_base: (a: number) => number;
|
|
4137
|
-
readonly
|
|
4612
|
+
readonly tokenemergencyactiontransitionwasm_get_base: (a: number) => number;
|
|
4138
4613
|
readonly documentupdatepricetransitionwasm_get_price: (a: number) => bigint;
|
|
4139
4614
|
readonly documentupdatepricetransitionwasm_get_base: (a: number) => number;
|
|
4140
|
-
readonly
|
|
4141
|
-
readonly tokenemergencyactiontransitionwasm_set_base: (a: number, b: number) => void;
|
|
4615
|
+
readonly tokenfreezetransitionwasm_get_base: (a: number) => number;
|
|
4142
4616
|
readonly tokenfreezetransitionwasm_set_base: (a: number, b: number) => void;
|
|
4617
|
+
readonly tokenemergencyactiontransitionwasm_set_base: (a: number, b: number) => void;
|
|
4143
4618
|
readonly documentupdatepricetransitionwasm_set_price: (a: number, b: bigint) => void;
|
|
4144
4619
|
readonly tokenunfreezetransitionwasm_set_base: (a: number, b: number) => void;
|
|
4145
4620
|
readonly __wbg_privateencryptednotewasm_free: (a: number, b: number) => void;
|
|
@@ -4558,20 +5033,30 @@ export interface InitOutput {
|
|
|
4558
5033
|
readonly __wbg_set_timebaseddistributionwasm_interval: (a: number, b: bigint) => void;
|
|
4559
5034
|
readonly __wbg_set_distributionpolynomialwasm_startMoment: (a: number, b: number, c: bigint) => void;
|
|
4560
5035
|
readonly __wbg_distributionpolynomialwasm_free: (a: number, b: number) => void;
|
|
4561
|
-
readonly __wbg_set_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number, c: bigint) => void;
|
|
4562
5036
|
readonly __wbg_set_distributionrandomwasm_min: (a: number, b: bigint) => void;
|
|
4563
5037
|
readonly __wbg_get_distributionrandomwasm_min: (a: number) => bigint;
|
|
5038
|
+
readonly __wbg_set_distributionlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
|
|
4564
5039
|
readonly __wbg_set_distributionlinearwasm_startStep: (a: number, b: number, c: bigint) => void;
|
|
5040
|
+
readonly __wbg_distributionlogarithmicwasm_free: (a: number, b: number) => void;
|
|
5041
|
+
readonly __wbg_set_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number, c: bigint) => void;
|
|
4565
5042
|
readonly __wbg_set_distributioninvertedlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
|
|
4566
5043
|
readonly __wbg_distributioninvertedlogarithmicwasm_free: (a: number, b: number) => void;
|
|
4567
|
-
readonly __wbg_set_distributionlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
|
|
4568
|
-
readonly __wbg_distributionlogarithmicwasm_free: (a: number, b: number) => void;
|
|
4569
5044
|
readonly __wbg_get_distributionlinearwasm_startStep: (a: number, b: number) => void;
|
|
4570
5045
|
readonly __wbg_get_distributionlinearwasm_minValue: (a: number, b: number) => void;
|
|
4571
5046
|
readonly __wbg_get_distributionlinearwasm_maxValue: (a: number, b: number) => void;
|
|
4572
5047
|
readonly __wbg_get_distributionlinearwasm_startingAmount: (a: number) => bigint;
|
|
4573
5048
|
readonly __wbg_get_distributionlinearwasm_d: (a: number) => bigint;
|
|
4574
5049
|
readonly __wbg_get_distributionlinearwasm_a: (a: number) => bigint;
|
|
5050
|
+
readonly __wbg_get_distributioninvertedlogarithmicwasm_startMoment: (a: number, b: number) => void;
|
|
5051
|
+
readonly __wbg_get_distributioninvertedlogarithmicwasm_o: (a: number) => bigint;
|
|
5052
|
+
readonly __wbg_get_distributioninvertedlogarithmicwasm_n: (a: number) => bigint;
|
|
5053
|
+
readonly __wbg_get_distributioninvertedlogarithmicwasm_minValue: (a: number, b: number) => void;
|
|
5054
|
+
readonly __wbg_get_distributioninvertedlogarithmicwasm_maxValue: (a: number, b: number) => void;
|
|
5055
|
+
readonly __wbg_get_distributioninvertedlogarithmicwasm_m: (a: number) => bigint;
|
|
5056
|
+
readonly __wbg_get_distributioninvertedlogarithmicwasm_d: (a: number) => bigint;
|
|
5057
|
+
readonly __wbg_get_distributioninvertedlogarithmicwasm_b: (a: number) => bigint;
|
|
5058
|
+
readonly __wbg_get_distributioninvertedlogarithmicwasm_a: (a: number) => bigint;
|
|
5059
|
+
readonly __wbg_get_timebaseddistributionwasm_interval: (a: number) => bigint;
|
|
4575
5060
|
readonly __wbg_get_distributionlogarithmicwasm_startMoment: (a: number, b: number) => void;
|
|
4576
5061
|
readonly __wbg_get_distributionlogarithmicwasm_o: (a: number) => bigint;
|
|
4577
5062
|
readonly __wbg_get_distributionlogarithmicwasm_n: (a: number) => bigint;
|
|
@@ -4581,8 +5066,6 @@ export interface InitOutput {
|
|
|
4581
5066
|
readonly __wbg_get_distributionlogarithmicwasm_d: (a: number) => bigint;
|
|
4582
5067
|
readonly __wbg_get_distributionlogarithmicwasm_b: (a: number) => bigint;
|
|
4583
5068
|
readonly __wbg_get_distributionlogarithmicwasm_a: (a: number) => bigint;
|
|
4584
|
-
readonly __wbg_get_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number) => void;
|
|
4585
|
-
readonly __wbg_get_distributionstepdecreasingamountwasm_minValue: (a: number, b: number) => void;
|
|
4586
5069
|
readonly __wbg_get_distributionpolynomialwasm_startMoment: (a: number, b: number) => void;
|
|
4587
5070
|
readonly __wbg_get_distributionpolynomialwasm_o: (a: number) => bigint;
|
|
4588
5071
|
readonly __wbg_get_distributionpolynomialwasm_n: (a: number) => bigint;
|
|
@@ -4592,32 +5075,24 @@ export interface InitOutput {
|
|
|
4592
5075
|
readonly __wbg_get_distributionpolynomialwasm_d: (a: number) => bigint;
|
|
4593
5076
|
readonly __wbg_get_distributionpolynomialwasm_b: (a: number) => bigint;
|
|
4594
5077
|
readonly __wbg_get_distributionpolynomialwasm_a: (a: number) => bigint;
|
|
4595
|
-
readonly
|
|
4596
|
-
readonly
|
|
4597
|
-
readonly __wbg_get_distributioninvertedlogarithmicwasm_n: (a: number) => bigint;
|
|
4598
|
-
readonly __wbg_get_distributioninvertedlogarithmicwasm_minValue: (a: number, b: number) => void;
|
|
4599
|
-
readonly __wbg_get_distributioninvertedlogarithmicwasm_maxValue: (a: number, b: number) => void;
|
|
4600
|
-
readonly __wbg_get_distributioninvertedlogarithmicwasm_m: (a: number) => bigint;
|
|
4601
|
-
readonly __wbg_get_distributioninvertedlogarithmicwasm_d: (a: number) => bigint;
|
|
4602
|
-
readonly __wbg_get_distributioninvertedlogarithmicwasm_b: (a: number) => bigint;
|
|
4603
|
-
readonly __wbg_get_distributioninvertedlogarithmicwasm_a: (a: number) => bigint;
|
|
4604
|
-
readonly __wbg_get_timebaseddistributionwasm_interval: (a: number) => bigint;
|
|
5078
|
+
readonly __wbg_get_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number) => void;
|
|
5079
|
+
readonly __wbg_get_distributionstepdecreasingamountwasm_minValue: (a: number, b: number) => void;
|
|
4605
5080
|
readonly __wbg_set_distributionlinearwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4606
5081
|
readonly __wbg_set_distributionlinearwasm_maxValue: (a: number, b: number, c: bigint) => void;
|
|
4607
|
-
readonly __wbg_set_distributionpolynomialwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4608
|
-
readonly __wbg_set_distributionpolynomialwasm_maxValue: (a: number, b: number, c: bigint) => void;
|
|
4609
|
-
readonly __wbg_set_distributionstepdecreasingamountwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4610
5082
|
readonly __wbg_set_distributionlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4611
5083
|
readonly __wbg_set_distributionlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
|
|
4612
5084
|
readonly __wbg_set_distributioninvertedlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4613
5085
|
readonly __wbg_set_distributioninvertedlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
|
|
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;
|
|
4614
5089
|
readonly __wbg_tokenmarketplaceruleswasm_free: (a: number, b: number) => void;
|
|
4615
5090
|
readonly __wbg_timebaseddistributionwasm_free: (a: number, b: number) => void;
|
|
4616
5091
|
readonly epochbaseddistributionwasm_set_function: (a: number, b: number) => void;
|
|
4617
5092
|
readonly __wbg_epochbaseddistributionwasm_free: (a: number, b: number) => void;
|
|
5093
|
+
readonly timebaseddistributionwasm_get_function: (a: number) => number;
|
|
4618
5094
|
readonly epochbaseddistributionwasm_get_function: (a: number) => number;
|
|
4619
5095
|
readonly timebaseddistributionwasm_set_function: (a: number, b: number) => void;
|
|
4620
|
-
readonly timebaseddistributionwasm_get_function: (a: number) => number;
|
|
4621
5096
|
readonly __wbg_statetransitionwasm_free: (a: number, b: number) => void;
|
|
4622
5097
|
readonly statetransitionwasm_base64: (a: number, b: number) => void;
|
|
4623
5098
|
readonly statetransitionwasm_bytes: (a: number, b: number) => void;
|
|
@@ -4640,11 +5115,11 @@ export interface InitOutput {
|
|
|
4640
5115
|
readonly statetransitionwasm_setIdentityContractNonce: (a: number, b: number, c: bigint) => void;
|
|
4641
5116
|
readonly statetransitionwasm_setIdentityNonce: (a: number, b: number, c: bigint) => void;
|
|
4642
5117
|
readonly statetransitionwasm_setOwnerId: (a: number, b: number, c: number) => void;
|
|
4643
|
-
readonly statetransitionwasm_set_signature: (a: number, b: number, c: number) =>
|
|
5118
|
+
readonly statetransitionwasm_set_signature: (a: number, b: number, c: number) => number;
|
|
4644
5119
|
readonly statetransitionwasm_set_signature_public_key_id: (a: number, b: number) => void;
|
|
4645
5120
|
readonly statetransitionwasm_set_user_fee_increase: (a: number, b: number) => void;
|
|
4646
|
-
readonly statetransitionwasm_sign: (a: number, b: number, c: number, d: number
|
|
4647
|
-
readonly statetransitionwasm_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number
|
|
5121
|
+
readonly statetransitionwasm_sign: (a: number, b: number, c: number, d: number) => void;
|
|
5122
|
+
readonly statetransitionwasm_signByPrivateKey: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
4648
5123
|
readonly statetransitionwasm_struct_name: (a: number) => void;
|
|
4649
5124
|
readonly statetransitionwasm_type_name: (a: number, b: number) => void;
|
|
4650
5125
|
readonly statetransitionwasm_verifyPublicKey: (a: number, b: number, c: number, d: number, e: number) => void;
|