@emurgo/cardano-serialization-lib-browser-inlined-gc 15.0.1 → 15.0.2-beta.1
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/cardano_serialization_lib.d.ts +200 -200
- package/cardano_serialization_lib.js +1 -1
- package/cardano_serialization_lib.js.flow +245 -245
- package/cardano_serialization_lib_bg.js +337 -337
- package/package.json +1 -1
|
@@ -1,6 +1,44 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
+
* @param {string} password
|
|
5
|
+
* @param {string} salt
|
|
6
|
+
* @param {string} nonce
|
|
7
|
+
* @param {string} data
|
|
8
|
+
* @returns {string}
|
|
9
|
+
*/
|
|
10
|
+
export function encrypt_with_password(password: string, salt: string, nonce: string, data: string): string;
|
|
11
|
+
/**
|
|
12
|
+
* @param {string} password
|
|
13
|
+
* @param {string} data
|
|
14
|
+
* @returns {string}
|
|
15
|
+
*/
|
|
16
|
+
export function decrypt_with_password(password: string, data: string): string;
|
|
17
|
+
/**
|
|
18
|
+
* @param {Transaction} tx
|
|
19
|
+
* @param {LinearFee} linear_fee
|
|
20
|
+
* @returns {BigNum}
|
|
21
|
+
*/
|
|
22
|
+
export function min_fee(tx: Transaction, linear_fee: LinearFee): BigNum;
|
|
23
|
+
/**
|
|
24
|
+
* @param {ExUnits} ex_units
|
|
25
|
+
* @param {ExUnitPrices} ex_unit_prices
|
|
26
|
+
* @returns {BigNum}
|
|
27
|
+
*/
|
|
28
|
+
export function calculate_ex_units_ceil_cost(ex_units: ExUnits, ex_unit_prices: ExUnitPrices): BigNum;
|
|
29
|
+
/**
|
|
30
|
+
* @param {Transaction} tx
|
|
31
|
+
* @param {ExUnitPrices} ex_unit_prices
|
|
32
|
+
* @returns {BigNum}
|
|
33
|
+
*/
|
|
34
|
+
export function min_script_fee(tx: Transaction, ex_unit_prices: ExUnitPrices): BigNum;
|
|
35
|
+
/**
|
|
36
|
+
* @param {number} total_ref_scripts_size
|
|
37
|
+
* @param {UnitInterval} ref_script_coins_per_byte
|
|
38
|
+
* @returns {BigNum}
|
|
39
|
+
*/
|
|
40
|
+
export function min_ref_script_fee(total_ref_scripts_size: number, ref_script_coins_per_byte: UnitInterval): BigNum;
|
|
41
|
+
/**
|
|
4
42
|
* @param {TransactionHash} tx_body_hash
|
|
5
43
|
* @param {ByronAddress} addr
|
|
6
44
|
* @param {LegacyDaedalusPrivateKey} key
|
|
@@ -86,19 +124,39 @@ export function encode_json_str_to_native_script(json: string, self_xpub: string
|
|
|
86
124
|
*/
|
|
87
125
|
export function has_transaction_set_tag(tx_bytes: Uint8Array): TransactionSetsState;
|
|
88
126
|
/**
|
|
89
|
-
* @param {string}
|
|
90
|
-
* @param {
|
|
91
|
-
* @
|
|
92
|
-
|
|
127
|
+
* @param {string} json
|
|
128
|
+
* @param {PlutusDatumSchema} schema
|
|
129
|
+
* @returns {PlutusData}
|
|
130
|
+
*/
|
|
131
|
+
export function encode_json_str_to_plutus_datum(json: string, schema: PlutusDatumSchema): PlutusData;
|
|
132
|
+
/**
|
|
133
|
+
* @param {PlutusData} datum
|
|
134
|
+
* @param {PlutusDatumSchema} schema
|
|
93
135
|
* @returns {string}
|
|
94
136
|
*/
|
|
95
|
-
export function
|
|
137
|
+
export function decode_plutus_datum_to_json_str(datum: PlutusData, schema: PlutusDatumSchema): string;
|
|
96
138
|
/**
|
|
97
|
-
* @param {
|
|
98
|
-
* @
|
|
139
|
+
* @param {Uint8Array} bytes
|
|
140
|
+
* @returns {TransactionMetadatum}
|
|
141
|
+
*/
|
|
142
|
+
export function encode_arbitrary_bytes_as_metadatum(bytes: Uint8Array): TransactionMetadatum;
|
|
143
|
+
/**
|
|
144
|
+
* @param {TransactionMetadatum} metadata
|
|
145
|
+
* @returns {Uint8Array}
|
|
146
|
+
*/
|
|
147
|
+
export function decode_arbitrary_bytes_from_metadatum(metadata: TransactionMetadatum): Uint8Array;
|
|
148
|
+
/**
|
|
149
|
+
* @param {string} json
|
|
150
|
+
* @param {MetadataJsonSchema} schema
|
|
151
|
+
* @returns {TransactionMetadatum}
|
|
152
|
+
*/
|
|
153
|
+
export function encode_json_str_to_metadatum(json: string, schema: MetadataJsonSchema): TransactionMetadatum;
|
|
154
|
+
/**
|
|
155
|
+
* @param {TransactionMetadatum} metadatum
|
|
156
|
+
* @param {MetadataJsonSchema} schema
|
|
99
157
|
* @returns {string}
|
|
100
158
|
*/
|
|
101
|
-
export function
|
|
159
|
+
export function decode_metadatum_to_json_str(metadatum: TransactionMetadatum, schema: MetadataJsonSchema): string;
|
|
102
160
|
/**
|
|
103
161
|
* @param {Address} address
|
|
104
162
|
* @param {TransactionUnspentOutputs} utxos
|
|
@@ -107,63 +165,83 @@ export function decrypt_with_password(password: string, data: string): string;
|
|
|
107
165
|
*/
|
|
108
166
|
export function create_send_all(address: Address, utxos: TransactionUnspentOutputs, config: TransactionBuilderConfig): TransactionBatchList;
|
|
109
167
|
/**
|
|
110
|
-
* @param {Transaction} tx
|
|
111
|
-
* @param {LinearFee} linear_fee
|
|
112
|
-
* @returns {BigNum}
|
|
113
168
|
*/
|
|
114
|
-
export
|
|
169
|
+
export enum NativeScriptKind {
|
|
170
|
+
ScriptPubkey = 0,
|
|
171
|
+
ScriptAll = 1,
|
|
172
|
+
ScriptAny = 2,
|
|
173
|
+
ScriptNOfK = 3,
|
|
174
|
+
TimelockStart = 4,
|
|
175
|
+
TimelockExpiry = 5,
|
|
176
|
+
}
|
|
115
177
|
/**
|
|
116
|
-
* @param {ExUnits} ex_units
|
|
117
|
-
* @param {ExUnitPrices} ex_unit_prices
|
|
118
|
-
* @returns {BigNum}
|
|
119
178
|
*/
|
|
120
|
-
export
|
|
179
|
+
export enum AddressKind {
|
|
180
|
+
Base = 0,
|
|
181
|
+
Pointer = 1,
|
|
182
|
+
Enterprise = 2,
|
|
183
|
+
Reward = 3,
|
|
184
|
+
Byron = 4,
|
|
185
|
+
Malformed = 5,
|
|
186
|
+
}
|
|
121
187
|
/**
|
|
122
|
-
* @param {Transaction} tx
|
|
123
|
-
* @param {ExUnitPrices} ex_unit_prices
|
|
124
|
-
* @returns {BigNum}
|
|
125
188
|
*/
|
|
126
|
-
export
|
|
189
|
+
export enum GovernanceActionKind {
|
|
190
|
+
ParameterChangeAction = 0,
|
|
191
|
+
HardForkInitiationAction = 1,
|
|
192
|
+
TreasuryWithdrawalsAction = 2,
|
|
193
|
+
NoConfidenceAction = 3,
|
|
194
|
+
UpdateCommitteeAction = 4,
|
|
195
|
+
NewConstitutionAction = 5,
|
|
196
|
+
InfoAction = 6,
|
|
197
|
+
}
|
|
127
198
|
/**
|
|
128
|
-
* @param {number} total_ref_scripts_size
|
|
129
|
-
* @param {UnitInterval} ref_script_coins_per_byte
|
|
130
|
-
* @returns {BigNum}
|
|
131
199
|
*/
|
|
132
|
-
export
|
|
200
|
+
export enum ByronAddressType {
|
|
201
|
+
ATPubKey = 0,
|
|
202
|
+
ATScript = 1,
|
|
203
|
+
ATRedeem = 2,
|
|
204
|
+
}
|
|
133
205
|
/**
|
|
134
|
-
* @param {Uint8Array} bytes
|
|
135
|
-
* @returns {TransactionMetadatum}
|
|
136
206
|
*/
|
|
137
|
-
export
|
|
207
|
+
export enum TransactionSetsState {
|
|
208
|
+
AllSetsHaveTag = 0,
|
|
209
|
+
AllSetsHaveNoTag = 1,
|
|
210
|
+
MixedSets = 2,
|
|
211
|
+
}
|
|
138
212
|
/**
|
|
139
|
-
* @param {TransactionMetadatum} metadata
|
|
140
|
-
* @returns {Uint8Array}
|
|
141
213
|
*/
|
|
142
|
-
export
|
|
214
|
+
export enum CborSetType {
|
|
215
|
+
Tagged = 0,
|
|
216
|
+
Untagged = 1,
|
|
217
|
+
}
|
|
143
218
|
/**
|
|
144
|
-
* @param {string} json
|
|
145
|
-
* @param {MetadataJsonSchema} schema
|
|
146
|
-
* @returns {TransactionMetadatum}
|
|
147
219
|
*/
|
|
148
|
-
export
|
|
220
|
+
export enum CoinSelectionStrategyCIP2 {
|
|
149
221
|
/**
|
|
150
|
-
*
|
|
151
|
-
* @param {MetadataJsonSchema} schema
|
|
152
|
-
* @returns {string}
|
|
222
|
+
* Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
|
|
153
223
|
*/
|
|
154
|
-
|
|
224
|
+
LargestFirst = 0,
|
|
155
225
|
/**
|
|
156
|
-
*
|
|
157
|
-
* @param {PlutusDatumSchema} schema
|
|
158
|
-
* @returns {PlutusData}
|
|
226
|
+
* Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
|
|
159
227
|
*/
|
|
160
|
-
|
|
228
|
+
RandomImprove = 1,
|
|
161
229
|
/**
|
|
162
|
-
*
|
|
163
|
-
* @param {PlutusDatumSchema} schema
|
|
164
|
-
* @returns {string}
|
|
230
|
+
* Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
|
|
165
231
|
*/
|
|
166
|
-
|
|
232
|
+
LargestFirstMultiAsset = 2,
|
|
233
|
+
/**
|
|
234
|
+
* Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
|
|
235
|
+
*/
|
|
236
|
+
RandomImproveMultiAsset = 3,
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Used to choosed the schema for a script JSON string
|
|
240
|
+
*/
|
|
241
|
+
export enum ScriptSchema {
|
|
242
|
+
Wallet = 0,
|
|
243
|
+
Node = 1,
|
|
244
|
+
}
|
|
167
245
|
/**
|
|
168
246
|
*/
|
|
169
247
|
export enum CertificateKind {
|
|
@@ -187,10 +265,9 @@ export enum CertificateKind {
|
|
|
187
265
|
}
|
|
188
266
|
/**
|
|
189
267
|
*/
|
|
190
|
-
export enum
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
ATRedeem = 2,
|
|
268
|
+
export enum CredKind {
|
|
269
|
+
Key = 0,
|
|
270
|
+
Script = 1,
|
|
194
271
|
}
|
|
195
272
|
/**
|
|
196
273
|
*/
|
|
@@ -204,31 +281,30 @@ export enum RedeemerTagKind {
|
|
|
204
281
|
}
|
|
205
282
|
/**
|
|
206
283
|
*/
|
|
207
|
-
export enum
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
284
|
+
export enum VoterKind {
|
|
285
|
+
ConstitutionalCommitteeHotKeyHash = 0,
|
|
286
|
+
ConstitutionalCommitteeHotScriptHash = 1,
|
|
287
|
+
DRepKeyHash = 2,
|
|
288
|
+
DRepScriptHash = 3,
|
|
289
|
+
StakingPoolKeyHash = 4,
|
|
211
290
|
}
|
|
212
291
|
/**
|
|
213
292
|
*/
|
|
214
|
-
export enum
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
Int = 2,
|
|
218
|
-
Bytes = 3,
|
|
219
|
-
Text = 4,
|
|
293
|
+
export enum NetworkIdKind {
|
|
294
|
+
Testnet = 0,
|
|
295
|
+
Mainnet = 1,
|
|
220
296
|
}
|
|
221
297
|
/**
|
|
222
|
-
* Each new language uses a different namespace for hashing its script
|
|
223
|
-
* This is because you could have a language where the same bytes have different semantics
|
|
224
|
-
* So this avoids scripts in different languages mapping to the same hash
|
|
225
|
-
* Note that the enum value here is different than the enum value for deciding the cost model of a script
|
|
226
298
|
*/
|
|
227
|
-
export enum
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
299
|
+
export enum BlockEra {
|
|
300
|
+
Byron = 0,
|
|
301
|
+
Shelley = 1,
|
|
302
|
+
Allegra = 2,
|
|
303
|
+
Mary = 3,
|
|
304
|
+
Alonzo = 4,
|
|
305
|
+
Babbage = 5,
|
|
306
|
+
Conway = 6,
|
|
307
|
+
Unknown = 7,
|
|
232
308
|
}
|
|
233
309
|
/**
|
|
234
310
|
*/
|
|
@@ -241,20 +317,9 @@ export enum PlutusDataKind {
|
|
|
241
317
|
}
|
|
242
318
|
/**
|
|
243
319
|
*/
|
|
244
|
-
export enum
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
TreasuryWithdrawalsAction = 2,
|
|
248
|
-
NoConfidenceAction = 3,
|
|
249
|
-
UpdateCommitteeAction = 4,
|
|
250
|
-
NewConstitutionAction = 5,
|
|
251
|
-
InfoAction = 6,
|
|
252
|
-
}
|
|
253
|
-
/**
|
|
254
|
-
*/
|
|
255
|
-
export enum MIRKind {
|
|
256
|
-
ToOtherPot = 0,
|
|
257
|
-
ToStakeCredentials = 1,
|
|
320
|
+
export enum CborContainerType {
|
|
321
|
+
Array = 0,
|
|
322
|
+
Map = 1,
|
|
258
323
|
}
|
|
259
324
|
/**
|
|
260
325
|
* JSON <-> PlutusData conversion schemas.
|
|
@@ -310,29 +375,22 @@ export enum PlutusDatumSchema {
|
|
|
310
375
|
}
|
|
311
376
|
/**
|
|
312
377
|
*/
|
|
313
|
-
export enum
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
LargestFirst = 0,
|
|
318
|
-
/**
|
|
319
|
-
* Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
|
|
320
|
-
*/
|
|
321
|
-
RandomImprove = 1,
|
|
322
|
-
/**
|
|
323
|
-
* Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
|
|
324
|
-
*/
|
|
325
|
-
LargestFirstMultiAsset = 2,
|
|
326
|
-
/**
|
|
327
|
-
* Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
|
|
328
|
-
*/
|
|
329
|
-
RandomImproveMultiAsset = 3,
|
|
378
|
+
export enum LanguageKind {
|
|
379
|
+
PlutusV1 = 0,
|
|
380
|
+
PlutusV2 = 1,
|
|
381
|
+
PlutusV3 = 2,
|
|
330
382
|
}
|
|
331
383
|
/**
|
|
384
|
+
* Each new language uses a different namespace for hashing its script
|
|
385
|
+
* This is because you could have a language where the same bytes have different semantics
|
|
386
|
+
* So this avoids scripts in different languages mapping to the same hash
|
|
387
|
+
* Note that the enum value here is different than the enum value for deciding the cost model of a script
|
|
332
388
|
*/
|
|
333
|
-
export enum
|
|
334
|
-
|
|
335
|
-
|
|
389
|
+
export enum ScriptHashNamespace {
|
|
390
|
+
NativeScript = 0,
|
|
391
|
+
PlutusScript = 1,
|
|
392
|
+
PlutusScriptV2 = 2,
|
|
393
|
+
PlutusScriptV3 = 3,
|
|
336
394
|
}
|
|
337
395
|
/**
|
|
338
396
|
*/
|
|
@@ -344,16 +402,15 @@ export enum DRepKind {
|
|
|
344
402
|
}
|
|
345
403
|
/**
|
|
346
404
|
*/
|
|
347
|
-
export enum
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
MixedSets = 2,
|
|
405
|
+
export enum MIRKind {
|
|
406
|
+
ToOtherPot = 0,
|
|
407
|
+
ToStakeCredentials = 1,
|
|
351
408
|
}
|
|
352
409
|
/**
|
|
353
410
|
*/
|
|
354
|
-
export enum
|
|
355
|
-
|
|
356
|
-
|
|
411
|
+
export enum MIRPot {
|
|
412
|
+
Reserves = 0,
|
|
413
|
+
Treasury = 1,
|
|
357
414
|
}
|
|
358
415
|
/**
|
|
359
416
|
*/
|
|
@@ -363,55 +420,20 @@ export enum VoteKind {
|
|
|
363
420
|
Abstain = 2,
|
|
364
421
|
}
|
|
365
422
|
/**
|
|
366
|
-
* Used to choosed the schema for a script JSON string
|
|
367
|
-
*/
|
|
368
|
-
export enum ScriptSchema {
|
|
369
|
-
Wallet = 0,
|
|
370
|
-
Node = 1,
|
|
371
|
-
}
|
|
372
|
-
/**
|
|
373
|
-
*/
|
|
374
|
-
export enum CredKind {
|
|
375
|
-
Key = 0,
|
|
376
|
-
Script = 1,
|
|
377
|
-
}
|
|
378
|
-
/**
|
|
379
|
-
*/
|
|
380
|
-
export enum NativeScriptKind {
|
|
381
|
-
ScriptPubkey = 0,
|
|
382
|
-
ScriptAll = 1,
|
|
383
|
-
ScriptAny = 2,
|
|
384
|
-
ScriptNOfK = 3,
|
|
385
|
-
TimelockStart = 4,
|
|
386
|
-
TimelockExpiry = 5,
|
|
387
|
-
}
|
|
388
|
-
/**
|
|
389
423
|
*/
|
|
390
|
-
export enum
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
Mary = 3,
|
|
395
|
-
Alonzo = 4,
|
|
396
|
-
Babbage = 5,
|
|
397
|
-
Conway = 6,
|
|
398
|
-
Unknown = 7,
|
|
399
|
-
}
|
|
400
|
-
/**
|
|
401
|
-
*/
|
|
402
|
-
export enum AddressKind {
|
|
403
|
-
Base = 0,
|
|
404
|
-
Pointer = 1,
|
|
405
|
-
Enterprise = 2,
|
|
406
|
-
Reward = 3,
|
|
407
|
-
Byron = 4,
|
|
408
|
-
Malformed = 5,
|
|
424
|
+
export enum RelayKind {
|
|
425
|
+
SingleHostAddr = 0,
|
|
426
|
+
SingleHostName = 1,
|
|
427
|
+
MultiHostName = 2,
|
|
409
428
|
}
|
|
410
429
|
/**
|
|
411
430
|
*/
|
|
412
|
-
export enum
|
|
413
|
-
|
|
414
|
-
|
|
431
|
+
export enum TransactionMetadatumKind {
|
|
432
|
+
MetadataMap = 0,
|
|
433
|
+
MetadataList = 1,
|
|
434
|
+
Int = 2,
|
|
435
|
+
Bytes = 3,
|
|
436
|
+
Text = 4,
|
|
415
437
|
}
|
|
416
438
|
/**
|
|
417
439
|
*/
|
|
@@ -422,28 +444,6 @@ export enum MetadataJsonSchema {
|
|
|
422
444
|
}
|
|
423
445
|
/**
|
|
424
446
|
*/
|
|
425
|
-
export enum LanguageKind {
|
|
426
|
-
PlutusV1 = 0,
|
|
427
|
-
PlutusV2 = 1,
|
|
428
|
-
PlutusV3 = 2,
|
|
429
|
-
}
|
|
430
|
-
/**
|
|
431
|
-
*/
|
|
432
|
-
export enum NetworkIdKind {
|
|
433
|
-
Testnet = 0,
|
|
434
|
-
Mainnet = 1,
|
|
435
|
-
}
|
|
436
|
-
/**
|
|
437
|
-
*/
|
|
438
|
-
export enum VoterKind {
|
|
439
|
-
ConstitutionalCommitteeHotKeyHash = 0,
|
|
440
|
-
ConstitutionalCommitteeHotScriptHash = 1,
|
|
441
|
-
DRepKeyHash = 2,
|
|
442
|
-
DRepScriptHash = 3,
|
|
443
|
-
StakingPoolKeyHash = 4,
|
|
444
|
-
}
|
|
445
|
-
/**
|
|
446
|
-
*/
|
|
447
447
|
export class Address {
|
|
448
448
|
free(): void;
|
|
449
449
|
/**
|
|
@@ -6210,46 +6210,46 @@ export class PlutusWitnesses {
|
|
|
6210
6210
|
export class Pointer {
|
|
6211
6211
|
free(): void;
|
|
6212
6212
|
/**
|
|
6213
|
-
*
|
|
6214
|
-
* This constructor uses outdated slot number format for the ttl value, tx_index and cert_index.
|
|
6215
|
-
* Use `.new_pointer` instead
|
|
6216
|
-
* @param {number} slot
|
|
6217
|
-
* @param {number} tx_index
|
|
6218
|
-
* @param {number} cert_index
|
|
6219
|
-
* @returns {Pointer}
|
|
6213
|
+
* @returns {BigNum}
|
|
6220
6214
|
*/
|
|
6221
|
-
|
|
6215
|
+
cert_index_bignum(): BigNum;
|
|
6222
6216
|
/**
|
|
6223
|
-
* @
|
|
6224
|
-
* @param {BigNum} tx_index
|
|
6225
|
-
* @param {BigNum} cert_index
|
|
6226
|
-
* @returns {Pointer}
|
|
6217
|
+
* @returns {BigNum}
|
|
6227
6218
|
*/
|
|
6228
|
-
|
|
6219
|
+
tx_index_bignum(): BigNum;
|
|
6229
6220
|
/**
|
|
6230
|
-
* @returns {
|
|
6221
|
+
* @returns {BigNum}
|
|
6231
6222
|
*/
|
|
6232
|
-
|
|
6223
|
+
slot_bignum(): BigNum;
|
|
6233
6224
|
/**
|
|
6234
6225
|
* @returns {number}
|
|
6235
6226
|
*/
|
|
6236
|
-
|
|
6227
|
+
cert_index(): number;
|
|
6237
6228
|
/**
|
|
6238
6229
|
* @returns {number}
|
|
6239
6230
|
*/
|
|
6240
|
-
|
|
6231
|
+
tx_index(): number;
|
|
6241
6232
|
/**
|
|
6242
|
-
* @returns {
|
|
6233
|
+
* @returns {number}
|
|
6243
6234
|
*/
|
|
6244
|
-
|
|
6235
|
+
slot(): number;
|
|
6245
6236
|
/**
|
|
6246
|
-
* @
|
|
6237
|
+
* @param {BigNum} slot
|
|
6238
|
+
* @param {BigNum} tx_index
|
|
6239
|
+
* @param {BigNum} cert_index
|
|
6240
|
+
* @returns {Pointer}
|
|
6247
6241
|
*/
|
|
6248
|
-
|
|
6242
|
+
static new_pointer(slot: BigNum, tx_index: BigNum, cert_index: BigNum): Pointer;
|
|
6249
6243
|
/**
|
|
6250
|
-
*
|
|
6244
|
+
* !!! DEPRECATED !!!
|
|
6245
|
+
* This constructor uses outdated slot number format for the ttl value, tx_index and cert_index.
|
|
6246
|
+
* Use `.new_pointer` instead
|
|
6247
|
+
* @param {number} slot
|
|
6248
|
+
* @param {number} tx_index
|
|
6249
|
+
* @param {number} cert_index
|
|
6250
|
+
* @returns {Pointer}
|
|
6251
6251
|
*/
|
|
6252
|
-
|
|
6252
|
+
static new(slot: number, tx_index: number, cert_index: number): Pointer;
|
|
6253
6253
|
}
|
|
6254
6254
|
/**
|
|
6255
6255
|
*/
|