@lucid-evolution/utils 0.1.34 → 0.1.36

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/index.js CHANGED
@@ -112,8 +112,16 @@ var applyDoubleCborEncoding = (script) => {
112
112
 
113
113
  // src/scripts.ts
114
114
  import { Data } from "@lucid-evolution/plutus";
115
- import * as UPLC from "@lucid-evolution/uplc";
115
+ import {
116
+ Application,
117
+ encodeUPLC,
118
+ parseUPLC,
119
+ UPLCConst,
120
+ UPLCProgram
121
+ } from "@harmoniclabs/uplc";
116
122
  import { fromHex as fromHex2, toHex as toHex2 } from "@lucid-evolution/core-utils";
123
+ import { decode as decode2, encode as encode2 } from "cborg";
124
+ import { dataFromCbor } from "@harmoniclabs/plutus-data";
117
125
  function validatorToAddress(network, validator, stakeCredential) {
118
126
  const validatorHash = validatorToScriptHash(validator);
119
127
  if (stakeCredential) {
@@ -193,6 +201,11 @@ function fromScriptRef(scriptRef) {
193
201
  type: "PlutusV2",
194
202
  script: scriptRef.as_plutus_v2().to_cbor_hex()
195
203
  };
204
+ case 3:
205
+ return {
206
+ type: "PlutusV3",
207
+ script: scriptRef.as_plutus_v3().to_cbor_hex()
208
+ };
196
209
  default:
197
210
  throw new Error("No variant matched.");
198
211
  }
@@ -201,9 +214,19 @@ function mintingPolicyToId(mintingPolicy) {
201
214
  return validatorToScriptHash(mintingPolicy);
202
215
  }
203
216
  function applyParamsToScript(plutusScript, params, type) {
204
- const p = type ? Data.castTo(params, type) : params;
217
+ const program = parseUPLC(decode2(decode2(fromHex2(plutusScript))), "flat");
218
+ const parameters = type ? Data.castTo(params, type) : params;
219
+ const appliedProgram = parameters.reduce((body, currentParameter) => {
220
+ const data = UPLCConst.data(dataFromCbor(Data.to(currentParameter)));
221
+ const appliedParameter = new Application(body, data);
222
+ return appliedParameter;
223
+ }, program.body);
205
224
  return toHex2(
206
- UPLC.apply_params_to_script(fromHex2(Data.to(p)), fromHex2(plutusScript))
225
+ encode2(
226
+ encode2(
227
+ encodeUPLC(new UPLCProgram(program.version, appliedProgram)).toBuffer().buffer
228
+ )
229
+ )
207
230
  );
208
231
  }
209
232
 
@@ -410,349 +433,602 @@ var PROTOCOL_PARAMETERS_DEFAULT = {
410
433
  maxCollateralInputs: 3,
411
434
  costModels: {
412
435
  PlutusV1: {
413
- "addInteger-cpu-arguments-intercept": 205665,
414
- "addInteger-cpu-arguments-slope": 812,
415
- "addInteger-memory-arguments-intercept": 1,
416
- "addInteger-memory-arguments-slope": 1,
417
- "appendByteString-cpu-arguments-intercept": 1e3,
418
- "appendByteString-cpu-arguments-slope": 571,
419
- "appendByteString-memory-arguments-intercept": 0,
420
- "appendByteString-memory-arguments-slope": 1,
421
- "appendString-cpu-arguments-intercept": 1e3,
422
- "appendString-cpu-arguments-slope": 24177,
423
- "appendString-memory-arguments-intercept": 4,
424
- "appendString-memory-arguments-slope": 1,
425
- "bData-cpu-arguments": 1e3,
426
- "bData-memory-arguments": 32,
427
- "blake2b_256-cpu-arguments-intercept": 117366,
428
- "blake2b_256-cpu-arguments-slope": 10475,
429
- "blake2b_256-memory-arguments": 4,
430
- "cekApplyCost-exBudgetCPU": 23e3,
431
- "cekApplyCost-exBudgetMemory": 100,
432
- "cekBuiltinCost-exBudgetCPU": 23e3,
433
- "cekBuiltinCost-exBudgetMemory": 100,
434
- "cekConstCost-exBudgetCPU": 23e3,
435
- "cekConstCost-exBudgetMemory": 100,
436
- "cekDelayCost-exBudgetCPU": 23e3,
437
- "cekDelayCost-exBudgetMemory": 100,
438
- "cekForceCost-exBudgetCPU": 23e3,
439
- "cekForceCost-exBudgetMemory": 100,
440
- "cekLamCost-exBudgetCPU": 23e3,
441
- "cekLamCost-exBudgetMemory": 100,
442
- "cekStartupCost-exBudgetCPU": 100,
443
- "cekStartupCost-exBudgetMemory": 100,
444
- "cekVarCost-exBudgetCPU": 23e3,
445
- "cekVarCost-exBudgetMemory": 100,
446
- "chooseData-cpu-arguments": 19537,
447
- "chooseData-memory-arguments": 32,
448
- "chooseList-cpu-arguments": 175354,
449
- "chooseList-memory-arguments": 32,
450
- "chooseUnit-cpu-arguments": 46417,
451
- "chooseUnit-memory-arguments": 4,
452
- "consByteString-cpu-arguments-intercept": 221973,
453
- "consByteString-cpu-arguments-slope": 511,
454
- "consByteString-memory-arguments-intercept": 0,
455
- "consByteString-memory-arguments-slope": 1,
456
- "constrData-cpu-arguments": 89141,
457
- "constrData-memory-arguments": 32,
458
- "decodeUtf8-cpu-arguments-intercept": 497525,
459
- "decodeUtf8-cpu-arguments-slope": 14068,
460
- "decodeUtf8-memory-arguments-intercept": 4,
461
- "decodeUtf8-memory-arguments-slope": 2,
462
- "divideInteger-cpu-arguments-constant": 196500,
463
- "divideInteger-cpu-arguments-model-arguments-intercept": 453240,
464
- "divideInteger-cpu-arguments-model-arguments-slope": 220,
465
- "divideInteger-memory-arguments-intercept": 0,
466
- "divideInteger-memory-arguments-minimum": 1,
467
- "divideInteger-memory-arguments-slope": 1,
468
- "encodeUtf8-cpu-arguments-intercept": 1e3,
469
- "encodeUtf8-cpu-arguments-slope": 28662,
470
- "encodeUtf8-memory-arguments-intercept": 4,
471
- "encodeUtf8-memory-arguments-slope": 2,
472
- "equalsByteString-cpu-arguments-constant": 245e3,
473
- "equalsByteString-cpu-arguments-intercept": 216773,
474
- "equalsByteString-cpu-arguments-slope": 62,
475
- "equalsByteString-memory-arguments": 1,
476
- "equalsData-cpu-arguments-intercept": 1060367,
477
- "equalsData-cpu-arguments-slope": 12586,
478
- "equalsData-memory-arguments": 1,
479
- "equalsInteger-cpu-arguments-intercept": 208512,
480
- "equalsInteger-cpu-arguments-slope": 421,
481
- "equalsInteger-memory-arguments": 1,
482
- "equalsString-cpu-arguments-constant": 187e3,
483
- "equalsString-cpu-arguments-intercept": 1e3,
484
- "equalsString-cpu-arguments-slope": 52998,
485
- "equalsString-memory-arguments": 1,
486
- "fstPair-cpu-arguments": 80436,
487
- "fstPair-memory-arguments": 32,
488
- "headList-cpu-arguments": 43249,
489
- "headList-memory-arguments": 32,
490
- "iData-cpu-arguments": 1e3,
491
- "iData-memory-arguments": 32,
492
- "ifThenElse-cpu-arguments": 80556,
493
- "ifThenElse-memory-arguments": 1,
494
- "indexByteString-cpu-arguments": 57667,
495
- "indexByteString-memory-arguments": 4,
496
- "lengthOfByteString-cpu-arguments": 1e3,
497
- "lengthOfByteString-memory-arguments": 10,
498
- "lessThanByteString-cpu-arguments-intercept": 197145,
499
- "lessThanByteString-cpu-arguments-slope": 156,
500
- "lessThanByteString-memory-arguments": 1,
501
- "lessThanEqualsByteString-cpu-arguments-intercept": 197145,
502
- "lessThanEqualsByteString-cpu-arguments-slope": 156,
503
- "lessThanEqualsByteString-memory-arguments": 1,
504
- "lessThanEqualsInteger-cpu-arguments-intercept": 204924,
505
- "lessThanEqualsInteger-cpu-arguments-slope": 473,
506
- "lessThanEqualsInteger-memory-arguments": 1,
507
- "lessThanInteger-cpu-arguments-intercept": 208896,
508
- "lessThanInteger-cpu-arguments-slope": 511,
509
- "lessThanInteger-memory-arguments": 1,
510
- "listData-cpu-arguments": 52467,
511
- "listData-memory-arguments": 32,
512
- "mapData-cpu-arguments": 64832,
513
- "mapData-memory-arguments": 32,
514
- "mkCons-cpu-arguments": 65493,
515
- "mkCons-memory-arguments": 32,
516
- "mkNilData-cpu-arguments": 22558,
517
- "mkNilData-memory-arguments": 32,
518
- "mkNilPairData-cpu-arguments": 16563,
519
- "mkNilPairData-memory-arguments": 32,
520
- "mkPairData-cpu-arguments": 76511,
521
- "mkPairData-memory-arguments": 32,
522
- "modInteger-cpu-arguments-constant": 196500,
523
- "modInteger-cpu-arguments-model-arguments-intercept": 453240,
524
- "modInteger-cpu-arguments-model-arguments-slope": 220,
525
- "modInteger-memory-arguments-intercept": 0,
526
- "modInteger-memory-arguments-minimum": 1,
527
- "modInteger-memory-arguments-slope": 1,
528
- "multiplyInteger-cpu-arguments-intercept": 69522,
529
- "multiplyInteger-cpu-arguments-slope": 11687,
530
- "multiplyInteger-memory-arguments-intercept": 0,
531
- "multiplyInteger-memory-arguments-slope": 1,
532
- "nullList-cpu-arguments": 60091,
533
- "nullList-memory-arguments": 32,
534
- "quotientInteger-cpu-arguments-constant": 196500,
535
- "quotientInteger-cpu-arguments-model-arguments-intercept": 453240,
536
- "quotientInteger-cpu-arguments-model-arguments-slope": 220,
537
- "quotientInteger-memory-arguments-intercept": 0,
538
- "quotientInteger-memory-arguments-minimum": 1,
539
- "quotientInteger-memory-arguments-slope": 1,
540
- "remainderInteger-cpu-arguments-constant": 196500,
541
- "remainderInteger-cpu-arguments-model-arguments-intercept": 453240,
542
- "remainderInteger-cpu-arguments-model-arguments-slope": 220,
543
- "remainderInteger-memory-arguments-intercept": 0,
544
- "remainderInteger-memory-arguments-minimum": 1,
545
- "remainderInteger-memory-arguments-slope": 1,
546
- "sha2_256-cpu-arguments-intercept": 806990,
547
- "sha2_256-cpu-arguments-slope": 30482,
548
- "sha2_256-memory-arguments": 4,
549
- "sha3_256-cpu-arguments-intercept": 1927926,
550
- "sha3_256-cpu-arguments-slope": 82523,
551
- "sha3_256-memory-arguments": 4,
552
- "sliceByteString-cpu-arguments-intercept": 265318,
553
- "sliceByteString-cpu-arguments-slope": 0,
554
- "sliceByteString-memory-arguments-intercept": 4,
555
- "sliceByteString-memory-arguments-slope": 0,
556
- "sndPair-cpu-arguments": 85931,
557
- "sndPair-memory-arguments": 32,
558
- "subtractInteger-cpu-arguments-intercept": 205665,
559
- "subtractInteger-cpu-arguments-slope": 812,
560
- "subtractInteger-memory-arguments-intercept": 1,
561
- "subtractInteger-memory-arguments-slope": 1,
562
- "tailList-cpu-arguments": 41182,
563
- "tailList-memory-arguments": 32,
564
- "trace-cpu-arguments": 212342,
565
- "trace-memory-arguments": 32,
566
- "unBData-cpu-arguments": 31220,
567
- "unBData-memory-arguments": 32,
568
- "unConstrData-cpu-arguments": 32696,
569
- "unConstrData-memory-arguments": 32,
570
- "unIData-cpu-arguments": 43357,
571
- "unIData-memory-arguments": 32,
572
- "unListData-cpu-arguments": 32247,
573
- "unListData-memory-arguments": 32,
574
- "unMapData-cpu-arguments": 38314,
575
- "unMapData-memory-arguments": 32,
576
- "verifyEd25519Signature-cpu-arguments-intercept": 9462713,
577
- "verifyEd25519Signature-cpu-arguments-slope": 1021,
578
- "verifyEd25519Signature-memory-arguments": 10
436
+ "0": 100788,
437
+ "1": 420,
438
+ "2": 1,
439
+ "3": 1,
440
+ "4": 1e3,
441
+ "5": 173,
442
+ "6": 0,
443
+ "7": 1,
444
+ "8": 1e3,
445
+ "9": 59957,
446
+ "10": 4,
447
+ "11": 1,
448
+ "12": 11183,
449
+ "13": 32,
450
+ "14": 201305,
451
+ "15": 8356,
452
+ "16": 4,
453
+ "17": 16e3,
454
+ "18": 100,
455
+ "19": 16e3,
456
+ "20": 100,
457
+ "21": 16e3,
458
+ "22": 100,
459
+ "23": 16e3,
460
+ "24": 100,
461
+ "25": 16e3,
462
+ "26": 100,
463
+ "27": 16e3,
464
+ "28": 100,
465
+ "29": 100,
466
+ "30": 100,
467
+ "31": 16e3,
468
+ "32": 100,
469
+ "33": 94375,
470
+ "34": 32,
471
+ "35": 132994,
472
+ "36": 32,
473
+ "37": 61462,
474
+ "38": 4,
475
+ "39": 72010,
476
+ "40": 178,
477
+ "41": 0,
478
+ "42": 1,
479
+ "43": 22151,
480
+ "44": 32,
481
+ "45": 91189,
482
+ "46": 769,
483
+ "47": 4,
484
+ "48": 2,
485
+ "49": 85848,
486
+ "50": 228465,
487
+ "51": 122,
488
+ "52": 0,
489
+ "53": 1,
490
+ "54": 1,
491
+ "55": 1e3,
492
+ "56": 42921,
493
+ "57": 4,
494
+ "58": 2,
495
+ "59": 24548,
496
+ "60": 29498,
497
+ "61": 38,
498
+ "62": 1,
499
+ "63": 898148,
500
+ "64": 27279,
501
+ "65": 1,
502
+ "66": 51775,
503
+ "67": 558,
504
+ "68": 1,
505
+ "69": 39184,
506
+ "70": 1e3,
507
+ "71": 60594,
508
+ "72": 1,
509
+ "73": 141895,
510
+ "74": 32,
511
+ "75": 83150,
512
+ "76": 32,
513
+ "77": 15299,
514
+ "78": 32,
515
+ "79": 76049,
516
+ "80": 1,
517
+ "81": 13169,
518
+ "82": 4,
519
+ "83": 22100,
520
+ "84": 10,
521
+ "85": 28999,
522
+ "86": 74,
523
+ "87": 1,
524
+ "88": 28999,
525
+ "89": 74,
526
+ "90": 1,
527
+ "91": 43285,
528
+ "92": 552,
529
+ "93": 1,
530
+ "94": 44749,
531
+ "95": 541,
532
+ "96": 1,
533
+ "97": 33852,
534
+ "98": 32,
535
+ "99": 68246,
536
+ "100": 32,
537
+ "101": 72362,
538
+ "102": 32,
539
+ "103": 7243,
540
+ "104": 32,
541
+ "105": 7391,
542
+ "106": 32,
543
+ "107": 11546,
544
+ "108": 32,
545
+ "109": 85848,
546
+ "110": 228465,
547
+ "111": 122,
548
+ "112": 0,
549
+ "113": 1,
550
+ "114": 1,
551
+ "115": 90434,
552
+ "116": 519,
553
+ "117": 0,
554
+ "118": 1,
555
+ "119": 74433,
556
+ "120": 32,
557
+ "121": 85848,
558
+ "122": 228465,
559
+ "123": 122,
560
+ "124": 0,
561
+ "125": 1,
562
+ "126": 1,
563
+ "127": 85848,
564
+ "128": 228465,
565
+ "129": 122,
566
+ "130": 0,
567
+ "131": 1,
568
+ "132": 1,
569
+ "133": 270652,
570
+ "134": 22588,
571
+ "135": 4,
572
+ "136": 1457325,
573
+ "137": 64566,
574
+ "138": 4,
575
+ "139": 20467,
576
+ "140": 1,
577
+ "141": 4,
578
+ "142": 0,
579
+ "143": 141992,
580
+ "144": 32,
581
+ "145": 100788,
582
+ "146": 420,
583
+ "147": 1,
584
+ "148": 1,
585
+ "149": 81663,
586
+ "150": 32,
587
+ "151": 59498,
588
+ "152": 32,
589
+ "153": 20142,
590
+ "154": 32,
591
+ "155": 24588,
592
+ "156": 32,
593
+ "157": 20744,
594
+ "158": 32,
595
+ "159": 25933,
596
+ "160": 32,
597
+ "161": 24623,
598
+ "162": 32,
599
+ "163": 53384111,
600
+ "164": 14333,
601
+ "165": 10
579
602
  },
580
603
  PlutusV2: {
581
- "addInteger-cpu-arguments-intercept": 205665,
582
- "addInteger-cpu-arguments-slope": 812,
583
- "addInteger-memory-arguments-intercept": 1,
584
- "addInteger-memory-arguments-slope": 1,
585
- "appendByteString-cpu-arguments-intercept": 1e3,
586
- "appendByteString-cpu-arguments-slope": 571,
587
- "appendByteString-memory-arguments-intercept": 0,
588
- "appendByteString-memory-arguments-slope": 1,
589
- "appendString-cpu-arguments-intercept": 1e3,
590
- "appendString-cpu-arguments-slope": 24177,
591
- "appendString-memory-arguments-intercept": 4,
592
- "appendString-memory-arguments-slope": 1,
593
- "bData-cpu-arguments": 1e3,
594
- "bData-memory-arguments": 32,
595
- "blake2b_256-cpu-arguments-intercept": 117366,
596
- "blake2b_256-cpu-arguments-slope": 10475,
597
- "blake2b_256-memory-arguments": 4,
598
- "cekApplyCost-exBudgetCPU": 23e3,
599
- "cekApplyCost-exBudgetMemory": 100,
600
- "cekBuiltinCost-exBudgetCPU": 23e3,
601
- "cekBuiltinCost-exBudgetMemory": 100,
602
- "cekConstCost-exBudgetCPU": 23e3,
603
- "cekConstCost-exBudgetMemory": 100,
604
- "cekDelayCost-exBudgetCPU": 23e3,
605
- "cekDelayCost-exBudgetMemory": 100,
606
- "cekForceCost-exBudgetCPU": 23e3,
607
- "cekForceCost-exBudgetMemory": 100,
608
- "cekLamCost-exBudgetCPU": 23e3,
609
- "cekLamCost-exBudgetMemory": 100,
610
- "cekStartupCost-exBudgetCPU": 100,
611
- "cekStartupCost-exBudgetMemory": 100,
612
- "cekVarCost-exBudgetCPU": 23e3,
613
- "cekVarCost-exBudgetMemory": 100,
614
- "chooseData-cpu-arguments": 19537,
615
- "chooseData-memory-arguments": 32,
616
- "chooseList-cpu-arguments": 175354,
617
- "chooseList-memory-arguments": 32,
618
- "chooseUnit-cpu-arguments": 46417,
619
- "chooseUnit-memory-arguments": 4,
620
- "consByteString-cpu-arguments-intercept": 221973,
621
- "consByteString-cpu-arguments-slope": 511,
622
- "consByteString-memory-arguments-intercept": 0,
623
- "consByteString-memory-arguments-slope": 1,
624
- "constrData-cpu-arguments": 89141,
625
- "constrData-memory-arguments": 32,
626
- "decodeUtf8-cpu-arguments-intercept": 497525,
627
- "decodeUtf8-cpu-arguments-slope": 14068,
628
- "decodeUtf8-memory-arguments-intercept": 4,
629
- "decodeUtf8-memory-arguments-slope": 2,
630
- "divideInteger-cpu-arguments-constant": 196500,
631
- "divideInteger-cpu-arguments-model-arguments-intercept": 453240,
632
- "divideInteger-cpu-arguments-model-arguments-slope": 220,
633
- "divideInteger-memory-arguments-intercept": 0,
634
- "divideInteger-memory-arguments-minimum": 1,
635
- "divideInteger-memory-arguments-slope": 1,
636
- "encodeUtf8-cpu-arguments-intercept": 1e3,
637
- "encodeUtf8-cpu-arguments-slope": 28662,
638
- "encodeUtf8-memory-arguments-intercept": 4,
639
- "encodeUtf8-memory-arguments-slope": 2,
640
- "equalsByteString-cpu-arguments-constant": 245e3,
641
- "equalsByteString-cpu-arguments-intercept": 216773,
642
- "equalsByteString-cpu-arguments-slope": 62,
643
- "equalsByteString-memory-arguments": 1,
644
- "equalsData-cpu-arguments-intercept": 1060367,
645
- "equalsData-cpu-arguments-slope": 12586,
646
- "equalsData-memory-arguments": 1,
647
- "equalsInteger-cpu-arguments-intercept": 208512,
648
- "equalsInteger-cpu-arguments-slope": 421,
649
- "equalsInteger-memory-arguments": 1,
650
- "equalsString-cpu-arguments-constant": 187e3,
651
- "equalsString-cpu-arguments-intercept": 1e3,
652
- "equalsString-cpu-arguments-slope": 52998,
653
- "equalsString-memory-arguments": 1,
654
- "fstPair-cpu-arguments": 80436,
655
- "fstPair-memory-arguments": 32,
656
- "headList-cpu-arguments": 43249,
657
- "headList-memory-arguments": 32,
658
- "iData-cpu-arguments": 1e3,
659
- "iData-memory-arguments": 32,
660
- "ifThenElse-cpu-arguments": 80556,
661
- "ifThenElse-memory-arguments": 1,
662
- "indexByteString-cpu-arguments": 57667,
663
- "indexByteString-memory-arguments": 4,
664
- "lengthOfByteString-cpu-arguments": 1e3,
665
- "lengthOfByteString-memory-arguments": 10,
666
- "lessThanByteString-cpu-arguments-intercept": 197145,
667
- "lessThanByteString-cpu-arguments-slope": 156,
668
- "lessThanByteString-memory-arguments": 1,
669
- "lessThanEqualsByteString-cpu-arguments-intercept": 197145,
670
- "lessThanEqualsByteString-cpu-arguments-slope": 156,
671
- "lessThanEqualsByteString-memory-arguments": 1,
672
- "lessThanEqualsInteger-cpu-arguments-intercept": 204924,
673
- "lessThanEqualsInteger-cpu-arguments-slope": 473,
674
- "lessThanEqualsInteger-memory-arguments": 1,
675
- "lessThanInteger-cpu-arguments-intercept": 208896,
676
- "lessThanInteger-cpu-arguments-slope": 511,
677
- "lessThanInteger-memory-arguments": 1,
678
- "listData-cpu-arguments": 52467,
679
- "listData-memory-arguments": 32,
680
- "mapData-cpu-arguments": 64832,
681
- "mapData-memory-arguments": 32,
682
- "mkCons-cpu-arguments": 65493,
683
- "mkCons-memory-arguments": 32,
684
- "mkNilData-cpu-arguments": 22558,
685
- "mkNilData-memory-arguments": 32,
686
- "mkNilPairData-cpu-arguments": 16563,
687
- "mkNilPairData-memory-arguments": 32,
688
- "mkPairData-cpu-arguments": 76511,
689
- "mkPairData-memory-arguments": 32,
690
- "modInteger-cpu-arguments-constant": 196500,
691
- "modInteger-cpu-arguments-model-arguments-intercept": 453240,
692
- "modInteger-cpu-arguments-model-arguments-slope": 220,
693
- "modInteger-memory-arguments-intercept": 0,
694
- "modInteger-memory-arguments-minimum": 1,
695
- "modInteger-memory-arguments-slope": 1,
696
- "multiplyInteger-cpu-arguments-intercept": 69522,
697
- "multiplyInteger-cpu-arguments-slope": 11687,
698
- "multiplyInteger-memory-arguments-intercept": 0,
699
- "multiplyInteger-memory-arguments-slope": 1,
700
- "nullList-cpu-arguments": 60091,
701
- "nullList-memory-arguments": 32,
702
- "quotientInteger-cpu-arguments-constant": 196500,
703
- "quotientInteger-cpu-arguments-model-arguments-intercept": 453240,
704
- "quotientInteger-cpu-arguments-model-arguments-slope": 220,
705
- "quotientInteger-memory-arguments-intercept": 0,
706
- "quotientInteger-memory-arguments-minimum": 1,
707
- "quotientInteger-memory-arguments-slope": 1,
708
- "remainderInteger-cpu-arguments-constant": 196500,
709
- "remainderInteger-cpu-arguments-model-arguments-intercept": 453240,
710
- "remainderInteger-cpu-arguments-model-arguments-slope": 220,
711
- "remainderInteger-memory-arguments-intercept": 0,
712
- "remainderInteger-memory-arguments-minimum": 1,
713
- "remainderInteger-memory-arguments-slope": 1,
714
- "serialiseData-cpu-arguments-intercept": 1159724,
715
- "serialiseData-cpu-arguments-slope": 392670,
716
- "serialiseData-memory-arguments-intercept": 0,
717
- "serialiseData-memory-arguments-slope": 2,
718
- "sha2_256-cpu-arguments-intercept": 806990,
719
- "sha2_256-cpu-arguments-slope": 30482,
720
- "sha2_256-memory-arguments": 4,
721
- "sha3_256-cpu-arguments-intercept": 1927926,
722
- "sha3_256-cpu-arguments-slope": 82523,
723
- "sha3_256-memory-arguments": 4,
724
- "sliceByteString-cpu-arguments-intercept": 265318,
725
- "sliceByteString-cpu-arguments-slope": 0,
726
- "sliceByteString-memory-arguments-intercept": 4,
727
- "sliceByteString-memory-arguments-slope": 0,
728
- "sndPair-cpu-arguments": 85931,
729
- "sndPair-memory-arguments": 32,
730
- "subtractInteger-cpu-arguments-intercept": 205665,
731
- "subtractInteger-cpu-arguments-slope": 812,
732
- "subtractInteger-memory-arguments-intercept": 1,
733
- "subtractInteger-memory-arguments-slope": 1,
734
- "tailList-cpu-arguments": 41182,
735
- "tailList-memory-arguments": 32,
736
- "trace-cpu-arguments": 212342,
737
- "trace-memory-arguments": 32,
738
- "unBData-cpu-arguments": 31220,
739
- "unBData-memory-arguments": 32,
740
- "unConstrData-cpu-arguments": 32696,
741
- "unConstrData-memory-arguments": 32,
742
- "unIData-cpu-arguments": 43357,
743
- "unIData-memory-arguments": 32,
744
- "unListData-cpu-arguments": 32247,
745
- "unListData-memory-arguments": 32,
746
- "unMapData-cpu-arguments": 38314,
747
- "unMapData-memory-arguments": 32,
748
- "verifyEcdsaSecp256k1Signature-cpu-arguments": 35892428,
749
- "verifyEcdsaSecp256k1Signature-memory-arguments": 10,
750
- "verifyEd25519Signature-cpu-arguments-intercept": 57996947,
751
- "verifyEd25519Signature-cpu-arguments-slope": 18975,
752
- "verifyEd25519Signature-memory-arguments": 10,
753
- "verifySchnorrSecp256k1Signature-cpu-arguments-intercept": 38887044,
754
- "verifySchnorrSecp256k1Signature-cpu-arguments-slope": 32947,
755
- "verifySchnorrSecp256k1Signature-memory-arguments": 10
604
+ "0": 100788,
605
+ "1": 420,
606
+ "2": 1,
607
+ "3": 1,
608
+ "4": 1e3,
609
+ "5": 173,
610
+ "6": 0,
611
+ "7": 1,
612
+ "8": 1e3,
613
+ "9": 59957,
614
+ "10": 4,
615
+ "11": 1,
616
+ "12": 11183,
617
+ "13": 32,
618
+ "14": 201305,
619
+ "15": 8356,
620
+ "16": 4,
621
+ "17": 16e3,
622
+ "18": 100,
623
+ "19": 16e3,
624
+ "20": 100,
625
+ "21": 16e3,
626
+ "22": 100,
627
+ "23": 16e3,
628
+ "24": 100,
629
+ "25": 16e3,
630
+ "26": 100,
631
+ "27": 16e3,
632
+ "28": 100,
633
+ "29": 100,
634
+ "30": 100,
635
+ "31": 16e3,
636
+ "32": 100,
637
+ "33": 94375,
638
+ "34": 32,
639
+ "35": 132994,
640
+ "36": 32,
641
+ "37": 61462,
642
+ "38": 4,
643
+ "39": 72010,
644
+ "40": 178,
645
+ "41": 0,
646
+ "42": 1,
647
+ "43": 22151,
648
+ "44": 32,
649
+ "45": 91189,
650
+ "46": 769,
651
+ "47": 4,
652
+ "48": 2,
653
+ "49": 85848,
654
+ "50": 228465,
655
+ "51": 122,
656
+ "52": 0,
657
+ "53": 1,
658
+ "54": 1,
659
+ "55": 1e3,
660
+ "56": 42921,
661
+ "57": 4,
662
+ "58": 2,
663
+ "59": 24548,
664
+ "60": 29498,
665
+ "61": 38,
666
+ "62": 1,
667
+ "63": 898148,
668
+ "64": 27279,
669
+ "65": 1,
670
+ "66": 51775,
671
+ "67": 558,
672
+ "68": 1,
673
+ "69": 39184,
674
+ "70": 1e3,
675
+ "71": 60594,
676
+ "72": 1,
677
+ "73": 141895,
678
+ "74": 32,
679
+ "75": 83150,
680
+ "76": 32,
681
+ "77": 15299,
682
+ "78": 32,
683
+ "79": 76049,
684
+ "80": 1,
685
+ "81": 13169,
686
+ "82": 4,
687
+ "83": 22100,
688
+ "84": 10,
689
+ "85": 28999,
690
+ "86": 74,
691
+ "87": 1,
692
+ "88": 28999,
693
+ "89": 74,
694
+ "90": 1,
695
+ "91": 43285,
696
+ "92": 552,
697
+ "93": 1,
698
+ "94": 44749,
699
+ "95": 541,
700
+ "96": 1,
701
+ "97": 33852,
702
+ "98": 32,
703
+ "99": 68246,
704
+ "100": 32,
705
+ "101": 72362,
706
+ "102": 32,
707
+ "103": 7243,
708
+ "104": 32,
709
+ "105": 7391,
710
+ "106": 32,
711
+ "107": 11546,
712
+ "108": 32,
713
+ "109": 85848,
714
+ "110": 228465,
715
+ "111": 122,
716
+ "112": 0,
717
+ "113": 1,
718
+ "114": 1,
719
+ "115": 90434,
720
+ "116": 519,
721
+ "117": 0,
722
+ "118": 1,
723
+ "119": 74433,
724
+ "120": 32,
725
+ "121": 85848,
726
+ "122": 228465,
727
+ "123": 122,
728
+ "124": 0,
729
+ "125": 1,
730
+ "126": 1,
731
+ "127": 85848,
732
+ "128": 228465,
733
+ "129": 122,
734
+ "130": 0,
735
+ "131": 1,
736
+ "132": 1,
737
+ "133": 955506,
738
+ "134": 213312,
739
+ "135": 0,
740
+ "136": 2,
741
+ "137": 270652,
742
+ "138": 22588,
743
+ "139": 4,
744
+ "140": 1457325,
745
+ "141": 64566,
746
+ "142": 4,
747
+ "143": 20467,
748
+ "144": 1,
749
+ "145": 4,
750
+ "146": 0,
751
+ "147": 141992,
752
+ "148": 32,
753
+ "149": 100788,
754
+ "150": 420,
755
+ "151": 1,
756
+ "152": 1,
757
+ "153": 81663,
758
+ "154": 32,
759
+ "155": 59498,
760
+ "156": 32,
761
+ "157": 20142,
762
+ "158": 32,
763
+ "159": 24588,
764
+ "160": 32,
765
+ "161": 20744,
766
+ "162": 32,
767
+ "163": 25933,
768
+ "164": 32,
769
+ "165": 24623,
770
+ "166": 32,
771
+ "167": 43053543,
772
+ "168": 10,
773
+ "169": 53384111,
774
+ "170": 14333,
775
+ "171": 10,
776
+ "172": 43574283,
777
+ "173": 26308,
778
+ "174": 10
779
+ },
780
+ PlutusV3: {
781
+ "0": 100788,
782
+ "1": 420,
783
+ "2": 1,
784
+ "3": 1,
785
+ "4": 1e3,
786
+ "5": 173,
787
+ "6": 0,
788
+ "7": 1,
789
+ "8": 1e3,
790
+ "9": 59957,
791
+ "10": 4,
792
+ "11": 1,
793
+ "12": 11183,
794
+ "13": 32,
795
+ "14": 201305,
796
+ "15": 8356,
797
+ "16": 4,
798
+ "17": 16e3,
799
+ "18": 100,
800
+ "19": 16e3,
801
+ "20": 100,
802
+ "21": 16e3,
803
+ "22": 100,
804
+ "23": 16e3,
805
+ "24": 100,
806
+ "25": 16e3,
807
+ "26": 100,
808
+ "27": 16e3,
809
+ "28": 100,
810
+ "29": 100,
811
+ "30": 100,
812
+ "31": 16e3,
813
+ "32": 100,
814
+ "33": 94375,
815
+ "34": 32,
816
+ "35": 132994,
817
+ "36": 32,
818
+ "37": 61462,
819
+ "38": 4,
820
+ "39": 72010,
821
+ "40": 178,
822
+ "41": 0,
823
+ "42": 1,
824
+ "43": 22151,
825
+ "44": 32,
826
+ "45": 91189,
827
+ "46": 769,
828
+ "47": 4,
829
+ "48": 2,
830
+ "49": 85848,
831
+ "50": 123203,
832
+ "51": 7305,
833
+ "52": -900,
834
+ "53": 1716,
835
+ "54": 549,
836
+ "55": 57,
837
+ "56": 85848,
838
+ "57": 0,
839
+ "58": 1,
840
+ "59": 1,
841
+ "60": 1e3,
842
+ "61": 42921,
843
+ "62": 4,
844
+ "63": 2,
845
+ "64": 24548,
846
+ "65": 29498,
847
+ "66": 38,
848
+ "67": 1,
849
+ "68": 898148,
850
+ "69": 27279,
851
+ "70": 1,
852
+ "71": 51775,
853
+ "72": 558,
854
+ "73": 1,
855
+ "74": 39184,
856
+ "75": 1e3,
857
+ "76": 60594,
858
+ "77": 1,
859
+ "78": 141895,
860
+ "79": 32,
861
+ "80": 83150,
862
+ "81": 32,
863
+ "82": 15299,
864
+ "83": 32,
865
+ "84": 76049,
866
+ "85": 1,
867
+ "86": 13169,
868
+ "87": 4,
869
+ "88": 22100,
870
+ "89": 10,
871
+ "90": 28999,
872
+ "91": 74,
873
+ "92": 1,
874
+ "93": 28999,
875
+ "94": 74,
876
+ "95": 1,
877
+ "96": 43285,
878
+ "97": 552,
879
+ "98": 1,
880
+ "99": 44749,
881
+ "100": 541,
882
+ "101": 1,
883
+ "102": 33852,
884
+ "103": 32,
885
+ "104": 68246,
886
+ "105": 32,
887
+ "106": 72362,
888
+ "107": 32,
889
+ "108": 7243,
890
+ "109": 32,
891
+ "110": 7391,
892
+ "111": 32,
893
+ "112": 11546,
894
+ "113": 32,
895
+ "114": 85848,
896
+ "115": 123203,
897
+ "116": 7305,
898
+ "117": -900,
899
+ "118": 1716,
900
+ "119": 549,
901
+ "120": 57,
902
+ "121": 85848,
903
+ "122": 0,
904
+ "123": 1,
905
+ "124": 90434,
906
+ "125": 519,
907
+ "126": 0,
908
+ "127": 1,
909
+ "128": 74433,
910
+ "129": 32,
911
+ "130": 85848,
912
+ "131": 123203,
913
+ "132": 7305,
914
+ "133": -900,
915
+ "134": 1716,
916
+ "135": 549,
917
+ "136": 57,
918
+ "137": 85848,
919
+ "138": 0,
920
+ "139": 1,
921
+ "140": 1,
922
+ "141": 85848,
923
+ "142": 123203,
924
+ "143": 7305,
925
+ "144": -900,
926
+ "145": 1716,
927
+ "146": 549,
928
+ "147": 57,
929
+ "148": 85848,
930
+ "149": 0,
931
+ "150": 1,
932
+ "151": 955506,
933
+ "152": 213312,
934
+ "153": 0,
935
+ "154": 2,
936
+ "155": 270652,
937
+ "156": 22588,
938
+ "157": 4,
939
+ "158": 1457325,
940
+ "159": 64566,
941
+ "160": 4,
942
+ "161": 20467,
943
+ "162": 1,
944
+ "163": 4,
945
+ "164": 0,
946
+ "165": 141992,
947
+ "166": 32,
948
+ "167": 100788,
949
+ "168": 420,
950
+ "169": 1,
951
+ "170": 1,
952
+ "171": 81663,
953
+ "172": 32,
954
+ "173": 59498,
955
+ "174": 32,
956
+ "175": 20142,
957
+ "176": 32,
958
+ "177": 24588,
959
+ "178": 32,
960
+ "179": 20744,
961
+ "180": 32,
962
+ "181": 25933,
963
+ "182": 32,
964
+ "183": 24623,
965
+ "184": 32,
966
+ "185": 43053543,
967
+ "186": 10,
968
+ "187": 53384111,
969
+ "188": 14333,
970
+ "189": 10,
971
+ "190": 43574283,
972
+ "191": 26308,
973
+ "192": 10,
974
+ "193": 16e3,
975
+ "194": 100,
976
+ "195": 16e3,
977
+ "196": 100,
978
+ "197": 962335,
979
+ "198": 18,
980
+ "199": 2780678,
981
+ "200": 6,
982
+ "201": 442008,
983
+ "202": 1,
984
+ "203": 52538055,
985
+ "204": 3756,
986
+ "205": 18,
987
+ "206": 267929,
988
+ "207": 18,
989
+ "208": 76433006,
990
+ "209": 8868,
991
+ "210": 18,
992
+ "211": 52948122,
993
+ "212": 18,
994
+ "213": 1995836,
995
+ "214": 36,
996
+ "215": 3227919,
997
+ "216": 12,
998
+ "217": 901022,
999
+ "218": 1,
1000
+ "219": 166917843,
1001
+ "220": 4307,
1002
+ "221": 36,
1003
+ "222": 284546,
1004
+ "223": 36,
1005
+ "224": 158221314,
1006
+ "225": 26549,
1007
+ "226": 36,
1008
+ "227": 74698472,
1009
+ "228": 36,
1010
+ "229": 333849714,
1011
+ "230": 1,
1012
+ "231": 254006273,
1013
+ "232": 72,
1014
+ "233": 2174038,
1015
+ "234": 72,
1016
+ "235": 2261318,
1017
+ "236": 64571,
1018
+ "237": 4,
1019
+ "238": 207616,
1020
+ "239": 8310,
1021
+ "240": 4,
1022
+ "241": 1293828,
1023
+ "242": 28716,
1024
+ "243": 63,
1025
+ "244": 0,
1026
+ "245": 1,
1027
+ "246": 1006041,
1028
+ "247": 43623,
1029
+ "248": 251,
1030
+ "249": 0,
1031
+ "250": 1
756
1032
  }
757
1033
  }
758
1034
  };