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