@anastasia-labs/cardano-multiplatform-lib-nodejs 6.0.0-6 → 6.0.0-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.
|
@@ -194,9 +194,31 @@ export enum ChangeSelectionAlgo {
|
|
|
194
194
|
}
|
|
195
195
|
/**
|
|
196
196
|
*/
|
|
197
|
-
export enum
|
|
198
|
-
|
|
199
|
-
|
|
197
|
+
export enum NonceKind {
|
|
198
|
+
Identity = 0,
|
|
199
|
+
Hash = 1,
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
*/
|
|
203
|
+
export enum TransactionMetadatumKind {
|
|
204
|
+
Map = 0,
|
|
205
|
+
List = 1,
|
|
206
|
+
Int = 2,
|
|
207
|
+
Bytes = 3,
|
|
208
|
+
Text = 4,
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
*/
|
|
212
|
+
export enum StakeDistributionKind {
|
|
213
|
+
SingleKey = 0,
|
|
214
|
+
BootstrapEra = 1,
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
*/
|
|
218
|
+
export enum ByronAddrType {
|
|
219
|
+
PublicKey = 0,
|
|
220
|
+
Script = 1,
|
|
221
|
+
Redeem = 2,
|
|
200
222
|
}
|
|
201
223
|
/**
|
|
202
224
|
*/
|
|
@@ -208,39 +230,37 @@ export enum AddressKind {
|
|
|
208
230
|
Byron = 4,
|
|
209
231
|
}
|
|
210
232
|
/**
|
|
211
|
-
* Careful: this enum doesn't include the network ID part of the header
|
|
212
|
-
* ex: base address isn't 0b0000_0000 but instead 0b0000
|
|
213
|
-
* Use `header_matches_kind` if you don't want to implement the bitwise operators yourself
|
|
214
233
|
*/
|
|
215
|
-
export enum
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
PointerKey = 4,
|
|
221
|
-
PointerScript = 5,
|
|
222
|
-
EnterpriseKey = 6,
|
|
223
|
-
EnterpriseScript = 7,
|
|
224
|
-
Byron = 8,
|
|
225
|
-
RewardKey = 14,
|
|
226
|
-
RewardScript = 15,
|
|
234
|
+
export enum ScriptKind {
|
|
235
|
+
Native = 0,
|
|
236
|
+
PlutusV1 = 1,
|
|
237
|
+
PlutusV2 = 2,
|
|
238
|
+
PlutusV3 = 3,
|
|
227
239
|
}
|
|
228
240
|
/**
|
|
229
241
|
*/
|
|
230
|
-
export enum
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
ScriptInvalidBefore = 4,
|
|
236
|
-
ScriptInvalidHereafter = 5,
|
|
242
|
+
export enum DRepKind {
|
|
243
|
+
Key = 0,
|
|
244
|
+
Script = 1,
|
|
245
|
+
AlwaysAbstain = 2,
|
|
246
|
+
AlwaysNoConfidence = 3,
|
|
237
247
|
}
|
|
238
248
|
/**
|
|
239
249
|
*/
|
|
240
|
-
export enum
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
250
|
+
export enum Vote {
|
|
251
|
+
No = 0,
|
|
252
|
+
Yes = 1,
|
|
253
|
+
Abstain = 2,
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
*/
|
|
257
|
+
export enum RedeemerTag {
|
|
258
|
+
Spend = 0,
|
|
259
|
+
Mint = 1,
|
|
260
|
+
Cert = 2,
|
|
261
|
+
Reward = 3,
|
|
262
|
+
Voting = 4,
|
|
263
|
+
Proposing = 5,
|
|
244
264
|
}
|
|
245
265
|
/**
|
|
246
266
|
*/
|
|
@@ -265,18 +285,12 @@ export enum CertificateKind {
|
|
|
265
285
|
}
|
|
266
286
|
/**
|
|
267
287
|
*/
|
|
268
|
-
export enum
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
}
|
|
275
|
-
/**
|
|
276
|
-
*/
|
|
277
|
-
export enum DelegationDistributionKind {
|
|
278
|
-
Weighted = 0,
|
|
279
|
-
Legacy = 1,
|
|
288
|
+
export enum VoterKind {
|
|
289
|
+
ConstitutionalCommitteeHotKeyHash = 0,
|
|
290
|
+
ConstitutionalCommitteeHotScriptHash = 1,
|
|
291
|
+
DRepKeyHash = 2,
|
|
292
|
+
DRepScriptHash = 3,
|
|
293
|
+
StakingPoolKeyHash = 4,
|
|
280
294
|
}
|
|
281
295
|
/**
|
|
282
296
|
* JSON <-> PlutusData conversion schemas.
|
|
@@ -332,43 +346,49 @@ export enum CardanoNodePlutusDatumSchema {
|
|
|
332
346
|
}
|
|
333
347
|
/**
|
|
334
348
|
*/
|
|
335
|
-
export enum
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
*/
|
|
341
|
-
export enum DRepKind {
|
|
342
|
-
Key = 0,
|
|
343
|
-
Script = 1,
|
|
344
|
-
AlwaysAbstain = 2,
|
|
345
|
-
AlwaysNoConfidence = 3,
|
|
349
|
+
export enum AuxiliaryDataKind {
|
|
350
|
+
Shelley = 0,
|
|
351
|
+
ShelleyMA = 1,
|
|
352
|
+
Conway = 2,
|
|
346
353
|
}
|
|
347
354
|
/**
|
|
348
355
|
*/
|
|
349
|
-
export enum
|
|
350
|
-
|
|
351
|
-
|
|
356
|
+
export enum TransactionOutputKind {
|
|
357
|
+
AlonzoFormatTxOut = 0,
|
|
358
|
+
ConwayFormatTxOut = 1,
|
|
352
359
|
}
|
|
353
360
|
/**
|
|
354
361
|
*/
|
|
355
|
-
export enum
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
362
|
+
export enum PlutusDataKind {
|
|
363
|
+
ConstrPlutusData = 0,
|
|
364
|
+
Map = 1,
|
|
365
|
+
List = 2,
|
|
366
|
+
Integer = 3,
|
|
367
|
+
Bytes = 4,
|
|
359
368
|
}
|
|
360
369
|
/**
|
|
361
370
|
*/
|
|
362
|
-
export enum
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
PlutusV3 = 2,
|
|
371
|
+
export enum RedeemersKind {
|
|
372
|
+
ArrLegacyRedeemer = 0,
|
|
373
|
+
MapRedeemerKeyToRedeemerVal = 1,
|
|
366
374
|
}
|
|
367
375
|
/**
|
|
376
|
+
* Careful: this enum doesn't include the network ID part of the header
|
|
377
|
+
* ex: base address isn't 0b0000_0000 but instead 0b0000
|
|
378
|
+
* Use `header_matches_kind` if you don't want to implement the bitwise operators yourself
|
|
368
379
|
*/
|
|
369
|
-
export enum
|
|
370
|
-
|
|
371
|
-
|
|
380
|
+
export enum AddressHeaderKind {
|
|
381
|
+
BasePaymentKeyStakeKey = 0,
|
|
382
|
+
BasePaymentScriptStakeKey = 1,
|
|
383
|
+
BasePaymentKeyStakeScript = 2,
|
|
384
|
+
BasePaymentScriptStakeScript = 3,
|
|
385
|
+
PointerKey = 4,
|
|
386
|
+
PointerScript = 5,
|
|
387
|
+
EnterpriseKey = 6,
|
|
388
|
+
EnterpriseScript = 7,
|
|
389
|
+
Byron = 8,
|
|
390
|
+
RewardKey = 14,
|
|
391
|
+
RewardScript = 15,
|
|
372
392
|
}
|
|
373
393
|
/**
|
|
374
394
|
*/
|
|
@@ -379,68 +399,67 @@ export enum MetadataJsonSchema {
|
|
|
379
399
|
}
|
|
380
400
|
/**
|
|
381
401
|
*/
|
|
382
|
-
export enum
|
|
383
|
-
Map = 0,
|
|
384
|
-
List = 1,
|
|
385
|
-
Int = 2,
|
|
386
|
-
Bytes = 3,
|
|
387
|
-
Text = 4,
|
|
388
|
-
}
|
|
402
|
+
export enum CoinSelectionStrategyCIP2 {
|
|
389
403
|
/**
|
|
404
|
+
* Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
|
|
390
405
|
*/
|
|
391
|
-
|
|
392
|
-
ArrLegacyRedeemer = 0,
|
|
393
|
-
MapRedeemerKeyToRedeemerVal = 1,
|
|
394
|
-
}
|
|
406
|
+
LargestFirst = 0,
|
|
395
407
|
/**
|
|
408
|
+
* Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
|
|
396
409
|
*/
|
|
397
|
-
|
|
398
|
-
Single = 0,
|
|
399
|
-
Chunked = 1,
|
|
400
|
-
}
|
|
410
|
+
RandomImprove = 1,
|
|
401
411
|
/**
|
|
412
|
+
* Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
|
|
402
413
|
*/
|
|
403
|
-
|
|
404
|
-
SingleHostAddr = 0,
|
|
405
|
-
SingleHostName = 1,
|
|
406
|
-
MultiHostName = 2,
|
|
407
|
-
}
|
|
414
|
+
LargestFirstMultiAsset = 2,
|
|
408
415
|
/**
|
|
416
|
+
* Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
|
|
409
417
|
*/
|
|
410
|
-
|
|
411
|
-
Spend = 0,
|
|
412
|
-
Mint = 1,
|
|
413
|
-
Cert = 2,
|
|
414
|
-
Reward = 3,
|
|
415
|
-
Voting = 4,
|
|
416
|
-
Proposing = 5,
|
|
418
|
+
RandomImproveMultiAsset = 3,
|
|
417
419
|
}
|
|
418
420
|
/**
|
|
419
421
|
*/
|
|
420
|
-
export enum
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
SpendingDataRedeem = 2,
|
|
422
|
+
export enum DatumOptionKind {
|
|
423
|
+
Hash = 0,
|
|
424
|
+
Datum = 1,
|
|
424
425
|
}
|
|
425
426
|
/**
|
|
427
|
+
* Which version of the CIP25 spec to use. See CIP25 for details.
|
|
428
|
+
* This will change how things are encoded but for the most part contains
|
|
429
|
+
* the same information.
|
|
426
430
|
*/
|
|
427
|
-
export enum
|
|
431
|
+
export enum CIP25Version {
|
|
428
432
|
/**
|
|
429
|
-
*
|
|
433
|
+
* Initial version of CIP25 with only string (utf8) asset names allowed.
|
|
430
434
|
*/
|
|
431
|
-
|
|
435
|
+
V1 = 0,
|
|
432
436
|
/**
|
|
433
|
-
*
|
|
437
|
+
* Second version of CIP25. Supports any type of asset names.
|
|
434
438
|
*/
|
|
435
|
-
|
|
439
|
+
V2 = 1,
|
|
440
|
+
}
|
|
436
441
|
/**
|
|
437
|
-
* Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
|
|
438
442
|
*/
|
|
439
|
-
|
|
443
|
+
export enum Language {
|
|
444
|
+
PlutusV1 = 0,
|
|
445
|
+
PlutusV2 = 1,
|
|
446
|
+
PlutusV3 = 2,
|
|
447
|
+
}
|
|
440
448
|
/**
|
|
441
|
-
* Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
|
|
442
449
|
*/
|
|
443
|
-
|
|
450
|
+
export enum DelegationDistributionKind {
|
|
451
|
+
Weighted = 0,
|
|
452
|
+
Legacy = 1,
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
*/
|
|
456
|
+
export enum NativeScriptKind {
|
|
457
|
+
ScriptPubkey = 0,
|
|
458
|
+
ScriptAll = 1,
|
|
459
|
+
ScriptAny = 2,
|
|
460
|
+
ScriptNOfK = 3,
|
|
461
|
+
ScriptInvalidBefore = 4,
|
|
462
|
+
ScriptInvalidHereafter = 5,
|
|
444
463
|
}
|
|
445
464
|
/**
|
|
446
465
|
*/
|
|
@@ -455,33 +474,23 @@ export enum GovActionKind {
|
|
|
455
474
|
}
|
|
456
475
|
/**
|
|
457
476
|
*/
|
|
458
|
-
export enum
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
477
|
+
export enum RelayKind {
|
|
478
|
+
SingleHostAddr = 0,
|
|
479
|
+
SingleHostName = 1,
|
|
480
|
+
MultiHostName = 2,
|
|
462
481
|
}
|
|
463
482
|
/**
|
|
464
|
-
* Which version of the CIP25 spec to use. See CIP25 for details.
|
|
465
|
-
* This will change how things are encoded but for the most part contains
|
|
466
|
-
* the same information.
|
|
467
483
|
*/
|
|
468
|
-
export enum
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
V1 = 0,
|
|
473
|
-
/**
|
|
474
|
-
* Second version of CIP25. Supports any type of asset names.
|
|
475
|
-
*/
|
|
476
|
-
V2 = 1,
|
|
484
|
+
export enum SpendingDataKind {
|
|
485
|
+
SpendingDataPubKey = 0,
|
|
486
|
+
SpendingDataScript = 1,
|
|
487
|
+
SpendingDataRedeem = 2,
|
|
477
488
|
}
|
|
478
489
|
/**
|
|
479
490
|
*/
|
|
480
|
-
export enum
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
PlutusV2 = 2,
|
|
484
|
-
PlutusV3 = 3,
|
|
491
|
+
export enum ChunkableStringKind {
|
|
492
|
+
Single = 0,
|
|
493
|
+
Chunked = 1,
|
|
485
494
|
}
|
|
486
495
|
/**
|
|
487
496
|
*/
|
|
@@ -491,15 +500,6 @@ export enum CredentialKind {
|
|
|
491
500
|
}
|
|
492
501
|
/**
|
|
493
502
|
*/
|
|
494
|
-
export enum VoterKind {
|
|
495
|
-
ConstitutionalCommitteeHotKeyHash = 0,
|
|
496
|
-
ConstitutionalCommitteeHotScriptHash = 1,
|
|
497
|
-
DRepKeyHash = 2,
|
|
498
|
-
DRepScriptHash = 3,
|
|
499
|
-
StakingPoolKeyHash = 4,
|
|
500
|
-
}
|
|
501
|
-
/**
|
|
502
|
-
*/
|
|
503
503
|
export class AddrAttributes {
|
|
504
504
|
free(): void;
|
|
505
505
|
/**
|
|
@@ -770,31 +770,37 @@ function getArrayU64FromWasm0(ptr, len) {
|
|
|
770
770
|
module.exports.ChangeSelectionAlgo = Object.freeze({ Default:0,"0":"Default", });
|
|
771
771
|
/**
|
|
772
772
|
*/
|
|
773
|
-
module.exports.
|
|
773
|
+
module.exports.NonceKind = Object.freeze({ Identity:0,"0":"Identity",Hash:1,"1":"Hash", });
|
|
774
|
+
/**
|
|
775
|
+
*/
|
|
776
|
+
module.exports.TransactionMetadatumKind = Object.freeze({ Map:0,"0":"Map",List:1,"1":"List",Int:2,"2":"Int",Bytes:3,"3":"Bytes",Text:4,"4":"Text", });
|
|
777
|
+
/**
|
|
778
|
+
*/
|
|
779
|
+
module.exports.StakeDistributionKind = Object.freeze({ SingleKey:0,"0":"SingleKey",BootstrapEra:1,"1":"BootstrapEra", });
|
|
780
|
+
/**
|
|
781
|
+
*/
|
|
782
|
+
module.exports.ByronAddrType = Object.freeze({ PublicKey:0,"0":"PublicKey",Script:1,"1":"Script",Redeem:2,"2":"Redeem", });
|
|
774
783
|
/**
|
|
775
784
|
*/
|
|
776
785
|
module.exports.AddressKind = Object.freeze({ Base:0,"0":"Base",Ptr:1,"1":"Ptr",Enterprise:2,"2":"Enterprise",Reward:3,"3":"Reward",Byron:4,"4":"Byron", });
|
|
777
786
|
/**
|
|
778
|
-
* Careful: this enum doesn't include the network ID part of the header
|
|
779
|
-
* ex: base address isn't 0b0000_0000 but instead 0b0000
|
|
780
|
-
* Use `header_matches_kind` if you don't want to implement the bitwise operators yourself
|
|
781
787
|
*/
|
|
782
|
-
module.exports.
|
|
788
|
+
module.exports.ScriptKind = Object.freeze({ Native:0,"0":"Native",PlutusV1:1,"1":"PlutusV1",PlutusV2:2,"2":"PlutusV2",PlutusV3:3,"3":"PlutusV3", });
|
|
783
789
|
/**
|
|
784
790
|
*/
|
|
785
|
-
module.exports.
|
|
791
|
+
module.exports.DRepKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
|
|
786
792
|
/**
|
|
787
793
|
*/
|
|
788
|
-
module.exports.
|
|
794
|
+
module.exports.Vote = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
|
|
789
795
|
/**
|
|
790
796
|
*/
|
|
791
|
-
module.exports.
|
|
797
|
+
module.exports.RedeemerTag = Object.freeze({ Spend:0,"0":"Spend",Mint:1,"1":"Mint",Cert:2,"2":"Cert",Reward:3,"3":"Reward",Voting:4,"4":"Voting",Proposing:5,"5":"Proposing", });
|
|
792
798
|
/**
|
|
793
799
|
*/
|
|
794
|
-
module.exports.
|
|
800
|
+
module.exports.CertificateKind = Object.freeze({ StakeRegistration:0,"0":"StakeRegistration",StakeDeregistration:1,"1":"StakeDeregistration",StakeDelegation:2,"2":"StakeDelegation",PoolRegistration:3,"3":"PoolRegistration",PoolRetirement:4,"4":"PoolRetirement",RegCert:5,"5":"RegCert",UnregCert:6,"6":"UnregCert",VoteDelegCert:7,"7":"VoteDelegCert",StakeVoteDelegCert:8,"8":"StakeVoteDelegCert",StakeRegDelegCert:9,"9":"StakeRegDelegCert",VoteRegDelegCert:10,"10":"VoteRegDelegCert",StakeVoteRegDelegCert:11,"11":"StakeVoteRegDelegCert",AuthCommitteeHotCert:12,"12":"AuthCommitteeHotCert",ResignCommitteeColdCert:13,"13":"ResignCommitteeColdCert",RegDrepCert:14,"14":"RegDrepCert",UnregDrepCert:15,"15":"UnregDrepCert",UpdateDrepCert:16,"16":"UpdateDrepCert", });
|
|
795
801
|
/**
|
|
796
802
|
*/
|
|
797
|
-
module.exports.
|
|
803
|
+
module.exports.VoterKind = Object.freeze({ ConstitutionalCommitteeHotKeyHash:0,"0":"ConstitutionalCommitteeHotKeyHash",ConstitutionalCommitteeHotScriptHash:1,"1":"ConstitutionalCommitteeHotScriptHash",DRepKeyHash:2,"2":"DRepKeyHash",DRepScriptHash:3,"3":"DRepScriptHash",StakingPoolKeyHash:4,"4":"StakingPoolKeyHash", });
|
|
798
804
|
/**
|
|
799
805
|
* JSON <-> PlutusData conversion schemas.
|
|
800
806
|
* Follows ScriptDataJsonSchema in cardano-cli defined at:
|
|
@@ -848,43 +854,25 @@ BasicConversions:0,"0":"BasicConversions",
|
|
|
848
854
|
DetailedSchema:1,"1":"DetailedSchema", });
|
|
849
855
|
/**
|
|
850
856
|
*/
|
|
851
|
-
module.exports.
|
|
852
|
-
/**
|
|
853
|
-
*/
|
|
854
|
-
module.exports.DRepKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
|
|
855
|
-
/**
|
|
856
|
-
*/
|
|
857
|
-
module.exports.NonceKind = Object.freeze({ Identity:0,"0":"Identity",Hash:1,"1":"Hash", });
|
|
858
|
-
/**
|
|
859
|
-
*/
|
|
860
|
-
module.exports.ByronAddrType = Object.freeze({ PublicKey:0,"0":"PublicKey",Script:1,"1":"Script",Redeem:2,"2":"Redeem", });
|
|
861
|
-
/**
|
|
862
|
-
*/
|
|
863
|
-
module.exports.Language = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
|
|
864
|
-
/**
|
|
865
|
-
*/
|
|
866
|
-
module.exports.StakeDistributionKind = Object.freeze({ SingleKey:0,"0":"SingleKey",BootstrapEra:1,"1":"BootstrapEra", });
|
|
857
|
+
module.exports.AuxiliaryDataKind = Object.freeze({ Shelley:0,"0":"Shelley",ShelleyMA:1,"1":"ShelleyMA",Conway:2,"2":"Conway", });
|
|
867
858
|
/**
|
|
868
859
|
*/
|
|
869
|
-
module.exports.
|
|
860
|
+
module.exports.TransactionOutputKind = Object.freeze({ AlonzoFormatTxOut:0,"0":"AlonzoFormatTxOut",ConwayFormatTxOut:1,"1":"ConwayFormatTxOut", });
|
|
870
861
|
/**
|
|
871
862
|
*/
|
|
872
|
-
module.exports.
|
|
863
|
+
module.exports.PlutusDataKind = Object.freeze({ ConstrPlutusData:0,"0":"ConstrPlutusData",Map:1,"1":"Map",List:2,"2":"List",Integer:3,"3":"Integer",Bytes:4,"4":"Bytes", });
|
|
873
864
|
/**
|
|
874
865
|
*/
|
|
875
866
|
module.exports.RedeemersKind = Object.freeze({ ArrLegacyRedeemer:0,"0":"ArrLegacyRedeemer",MapRedeemerKeyToRedeemerVal:1,"1":"MapRedeemerKeyToRedeemerVal", });
|
|
876
867
|
/**
|
|
868
|
+
* Careful: this enum doesn't include the network ID part of the header
|
|
869
|
+
* ex: base address isn't 0b0000_0000 but instead 0b0000
|
|
870
|
+
* Use `header_matches_kind` if you don't want to implement the bitwise operators yourself
|
|
877
871
|
*/
|
|
878
|
-
module.exports.
|
|
879
|
-
/**
|
|
880
|
-
*/
|
|
881
|
-
module.exports.RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
|
|
882
|
-
/**
|
|
883
|
-
*/
|
|
884
|
-
module.exports.RedeemerTag = Object.freeze({ Spend:0,"0":"Spend",Mint:1,"1":"Mint",Cert:2,"2":"Cert",Reward:3,"3":"Reward",Voting:4,"4":"Voting",Proposing:5,"5":"Proposing", });
|
|
872
|
+
module.exports.AddressHeaderKind = Object.freeze({ BasePaymentKeyStakeKey:0,"0":"BasePaymentKeyStakeKey",BasePaymentScriptStakeKey:1,"1":"BasePaymentScriptStakeKey",BasePaymentKeyStakeScript:2,"2":"BasePaymentKeyStakeScript",BasePaymentScriptStakeScript:3,"3":"BasePaymentScriptStakeScript",PointerKey:4,"4":"PointerKey",PointerScript:5,"5":"PointerScript",EnterpriseKey:6,"6":"EnterpriseKey",EnterpriseScript:7,"7":"EnterpriseScript",Byron:8,"8":"Byron",RewardKey:14,"14":"RewardKey",RewardScript:15,"15":"RewardScript", });
|
|
885
873
|
/**
|
|
886
874
|
*/
|
|
887
|
-
module.exports.
|
|
875
|
+
module.exports.MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
|
|
888
876
|
/**
|
|
889
877
|
*/
|
|
890
878
|
module.exports.CoinSelectionStrategyCIP2 = Object.freeze({
|
|
@@ -906,10 +894,7 @@ LargestFirstMultiAsset:2,"2":"LargestFirstMultiAsset",
|
|
|
906
894
|
RandomImproveMultiAsset:3,"3":"RandomImproveMultiAsset", });
|
|
907
895
|
/**
|
|
908
896
|
*/
|
|
909
|
-
module.exports.
|
|
910
|
-
/**
|
|
911
|
-
*/
|
|
912
|
-
module.exports.Vote = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
|
|
897
|
+
module.exports.DatumOptionKind = Object.freeze({ Hash:0,"0":"Hash",Datum:1,"1":"Datum", });
|
|
913
898
|
/**
|
|
914
899
|
* Which version of the CIP25 spec to use. See CIP25 for details.
|
|
915
900
|
* This will change how things are encoded but for the most part contains
|
|
@@ -926,13 +911,28 @@ V1:0,"0":"V1",
|
|
|
926
911
|
V2:1,"1":"V2", });
|
|
927
912
|
/**
|
|
928
913
|
*/
|
|
929
|
-
module.exports.
|
|
914
|
+
module.exports.Language = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
|
|
930
915
|
/**
|
|
931
916
|
*/
|
|
932
|
-
module.exports.
|
|
917
|
+
module.exports.DelegationDistributionKind = Object.freeze({ Weighted:0,"0":"Weighted",Legacy:1,"1":"Legacy", });
|
|
933
918
|
/**
|
|
934
919
|
*/
|
|
935
|
-
module.exports.
|
|
920
|
+
module.exports.NativeScriptKind = Object.freeze({ ScriptPubkey:0,"0":"ScriptPubkey",ScriptAll:1,"1":"ScriptAll",ScriptAny:2,"2":"ScriptAny",ScriptNOfK:3,"3":"ScriptNOfK",ScriptInvalidBefore:4,"4":"ScriptInvalidBefore",ScriptInvalidHereafter:5,"5":"ScriptInvalidHereafter", });
|
|
921
|
+
/**
|
|
922
|
+
*/
|
|
923
|
+
module.exports.GovActionKind = Object.freeze({ ParameterChangeAction:0,"0":"ParameterChangeAction",HardForkInitiationAction:1,"1":"HardForkInitiationAction",TreasuryWithdrawalsAction:2,"2":"TreasuryWithdrawalsAction",NoConfidence:3,"3":"NoConfidence",UpdateCommittee:4,"4":"UpdateCommittee",NewConstitution:5,"5":"NewConstitution",InfoAction:6,"6":"InfoAction", });
|
|
924
|
+
/**
|
|
925
|
+
*/
|
|
926
|
+
module.exports.RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
|
|
927
|
+
/**
|
|
928
|
+
*/
|
|
929
|
+
module.exports.SpendingDataKind = Object.freeze({ SpendingDataPubKey:0,"0":"SpendingDataPubKey",SpendingDataScript:1,"1":"SpendingDataScript",SpendingDataRedeem:2,"2":"SpendingDataRedeem", });
|
|
930
|
+
/**
|
|
931
|
+
*/
|
|
932
|
+
module.exports.ChunkableStringKind = Object.freeze({ Single:0,"0":"Single",Chunked:1,"1":"Chunked", });
|
|
933
|
+
/**
|
|
934
|
+
*/
|
|
935
|
+
module.exports.CredentialKind = Object.freeze({ PubKey:0,"0":"PubKey",Script:1,"1":"Script", });
|
|
936
936
|
|
|
937
937
|
const AddrAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
938
938
|
? { register: () => {}, unregister: () => {} }
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anastasia-labs/cardano-multiplatform-lib-nodejs",
|
|
3
3
|
"description": "Multiplatform WASM SDK containing the most common CML crates for Cardano blockchain functionality",
|
|
4
|
-
"version": "6.0.0-
|
|
4
|
+
"version": "6.0.0-8",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|