@contractkit/plugin-typescript 0.17.3 → 0.17.4

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.
@@ -1,35 +1,35 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1777995408663" clover="3.2.0">
3
- <project timestamp="1777995408663" name="All files">
4
- <metrics statements="1880" coveredstatements="1497" conditionals="1491" coveredconditionals="1108" methods="358" coveredmethods="294" elements="3729" coveredelements="2899" complexity="0" loc="1880" ncloc="1880" packages="2" files="8" classes="8"/>
2
+ <coverage generated="1777996520460" clover="3.2.0">
3
+ <project timestamp="1777996520460" name="All files">
4
+ <metrics statements="1891" coveredstatements="1508" conditionals="1503" coveredconditionals="1119" methods="360" coveredmethods="297" elements="3754" coveredelements="2924" complexity="0" loc="1891" ncloc="1891" packages="2" files="8" classes="8"/>
5
5
  <package name="src">
6
- <metrics statements="1834" coveredstatements="1454" conditionals="1458" coveredconditionals="1078" methods="330" coveredmethods="269"/>
6
+ <metrics statements="1845" coveredstatements="1465" conditionals="1470" coveredconditionals="1089" methods="332" coveredmethods="272"/>
7
7
  <file name="codegen-contract.ts" path="/home/runner/work/ContractKit/ContractKit/packages/plugin-typescript/src/codegen-contract.ts">
8
8
  <metrics statements="553" coveredstatements="492" conditionals="470" coveredconditionals="386" methods="121" coveredmethods="109"/>
9
9
  <line num="31" count="126" type="cond" truecount="3" falsecount="0"/>
10
10
  <line num="33" count="119" type="stmt"/>
11
11
  <line num="35" count="5" type="stmt"/>
12
12
  <line num="37" count="2" type="stmt"/>
13
- <line num="65" count="140" type="stmt"/>
14
- <line num="68" count="140" type="stmt"/>
15
- <line num="69" count="215" type="cond" truecount="2" falsecount="0"/>
16
- <line num="70" count="29" type="stmt"/>
17
- <line num="76" count="140" type="stmt"/>
18
- <line num="77" count="140" type="stmt"/>
19
- <line num="78" count="158" type="stmt"/>
20
- <line num="79" count="158" type="stmt"/>
21
- <line num="80" count="212" type="cond" truecount="2" falsecount="0"/>
22
- <line num="81" count="149" type="stmt"/>
23
- <line num="82" count="149" type="stmt"/>
24
- <line num="83" count="184" type="stmt"/>
25
- <line num="87" count="149" type="cond" truecount="2" falsecount="0"/>
26
- <line num="90" count="149" type="cond" truecount="2" falsecount="0"/>
27
- <line num="91" count="149" type="stmt"/>
28
- <line num="92" count="67" type="cond" truecount="4" falsecount="0"/>
29
- <line num="93" count="20" type="stmt"/>
30
- <line num="94" count="20" type="stmt"/>
31
- <line num="95" count="20" type="stmt"/>
32
- <line num="101" count="140" type="stmt"/>
13
+ <line num="65" count="143" type="stmt"/>
14
+ <line num="68" count="143" type="stmt"/>
15
+ <line num="69" count="224" type="cond" truecount="2" falsecount="0"/>
16
+ <line num="70" count="30" type="stmt"/>
17
+ <line num="76" count="143" type="stmt"/>
18
+ <line num="77" count="143" type="stmt"/>
19
+ <line num="78" count="162" type="stmt"/>
20
+ <line num="79" count="162" type="stmt"/>
21
+ <line num="80" count="221" type="cond" truecount="2" falsecount="0"/>
22
+ <line num="81" count="155" type="stmt"/>
23
+ <line num="82" count="155" type="stmt"/>
24
+ <line num="83" count="192" type="stmt"/>
25
+ <line num="87" count="155" type="cond" truecount="2" falsecount="0"/>
26
+ <line num="90" count="155" type="cond" truecount="2" falsecount="0"/>
27
+ <line num="91" count="155" type="stmt"/>
28
+ <line num="92" count="71" type="cond" truecount="4" falsecount="0"/>
29
+ <line num="93" count="21" type="stmt"/>
30
+ <line num="94" count="21" type="stmt"/>
31
+ <line num="95" count="21" type="stmt"/>
32
+ <line num="101" count="143" type="stmt"/>
33
33
  <line num="105" count="105" type="stmt"/>
34
34
  <line num="106" count="105" type="stmt"/>
35
35
  <line num="107" count="105" type="cond" truecount="1" falsecount="1"/>
@@ -450,8 +450,8 @@
450
450
  <line num="935" count="214" type="cond" truecount="1" falsecount="1"/>
451
451
  <line num="941" count="25" type="stmt"/>
452
452
  <line num="947" count="140" type="cond" truecount="3" falsecount="0"/>
453
- <line num="952" count="1446" type="cond" truecount="10" falsecount="0"/>
454
- <line num="954" count="847" type="stmt"/>
453
+ <line num="952" count="1456" type="cond" truecount="10" falsecount="0"/>
454
+ <line num="954" count="852" type="stmt"/>
455
455
  <line num="956" count="76" type="stmt"/>
456
456
  <line num="958" count="12" type="stmt"/>
457
457
  <line num="960" count="6" type="cond" truecount="2" falsecount="0"/>
@@ -460,8 +460,8 @@
460
460
  <line num="966" count="68" type="stmt"/>
461
461
  <line num="968" count="6" type="stmt"/>
462
462
  <line num="970" count="46" type="stmt"/>
463
- <line num="972" count="425" type="stmt"/>
464
- <line num="978" count="815" type="cond" truecount="3" falsecount="0"/>
463
+ <line num="972" count="430" type="stmt"/>
464
+ <line num="978" count="825" type="cond" truecount="3" falsecount="0"/>
465
465
  <line num="983" count="263" type="cond" truecount="6" falsecount="1"/>
466
466
  <line num="985" count="149" type="cond" truecount="3" falsecount="0"/>
467
467
  <line num="987" count="14" type="stmt"/>
@@ -470,31 +470,31 @@
470
470
  <line num="993" count="8" type="stmt"/>
471
471
  <line num="995" count="8" type="stmt"/>
472
472
  <line num="997" count="84" type="stmt"/>
473
- <line num="1003" count="176" type="stmt"/>
474
- <line num="1004" count="140" type="stmt"/>
475
- <line num="1006" count="140" type="stmt"/>
476
- <line num="1007" count="176" type="cond" truecount="4" falsecount="0"/>
477
- <line num="1008" count="176" type="cond" truecount="2" falsecount="0"/>
478
- <line num="1009" count="176" type="stmt"/>
479
- <line num="1010" count="243" type="stmt"/>
480
- <line num="1014" count="176" type="stmt"/>
481
- <line num="1015" count="140" type="stmt"/>
482
- <line num="1020" count="55" type="stmt"/>
483
- <line num="1021" count="33" type="stmt"/>
484
- <line num="1023" count="33" type="stmt"/>
485
- <line num="1024" count="55" type="cond" truecount="2" falsecount="0"/>
486
- <line num="1026" count="49" type="cond" truecount="2" falsecount="0"/>
473
+ <line num="1003" count="183" type="stmt"/>
474
+ <line num="1004" count="143" type="stmt"/>
475
+ <line num="1006" count="143" type="stmt"/>
476
+ <line num="1007" count="183" type="cond" truecount="4" falsecount="0"/>
477
+ <line num="1008" count="183" type="cond" truecount="2" falsecount="0"/>
478
+ <line num="1009" count="183" type="stmt"/>
479
+ <line num="1010" count="253" type="stmt"/>
480
+ <line num="1014" count="183" type="stmt"/>
481
+ <line num="1015" count="143" type="stmt"/>
482
+ <line num="1020" count="57" type="stmt"/>
483
+ <line num="1021" count="34" type="stmt"/>
484
+ <line num="1023" count="34" type="stmt"/>
485
+ <line num="1024" count="57" type="cond" truecount="2" falsecount="0"/>
486
+ <line num="1026" count="51" type="cond" truecount="2" falsecount="0"/>
487
487
  <line num="1027" count="5" type="stmt"/>
488
488
  <line num="1028" count="5" type="stmt"/>
489
- <line num="1032" count="44" type="cond" truecount="5" falsecount="0"/>
489
+ <line num="1032" count="46" type="cond" truecount="5" falsecount="0"/>
490
490
  <line num="1033" count="2" type="stmt"/>
491
- <line num="1035" count="76" type="stmt"/>
492
- <line num="1036" count="44" type="stmt"/>
493
- <line num="1037" count="49" type="stmt"/>
494
- <line num="1042" count="33" type="stmt"/>
495
- <line num="1043" count="55" type="stmt"/>
496
- <line num="1046" count="33" type="stmt"/>
497
- <line num="1050" count="76" type="cond" truecount="5" falsecount="4"/>
491
+ <line num="1035" count="80" type="stmt"/>
492
+ <line num="1036" count="46" type="stmt"/>
493
+ <line num="1037" count="52" type="stmt"/>
494
+ <line num="1042" count="34" type="stmt"/>
495
+ <line num="1043" count="57" type="stmt"/>
496
+ <line num="1046" count="34" type="stmt"/>
497
+ <line num="1050" count="79" type="cond" truecount="5" falsecount="4"/>
498
498
  <line num="1052" count="17" type="cond" truecount="2" falsecount="0"/>
499
499
  <line num="1053" count="17" type="stmt"/>
500
500
  <line num="1055" count="6" type="stmt"/>
@@ -514,40 +514,40 @@
514
514
  <line num="1075" count="0" type="stmt"/>
515
515
  <line num="1077" count="4" type="stmt"/>
516
516
  <line num="1078" count="4" type="stmt"/>
517
- <line num="1087" count="176" type="stmt"/>
518
- <line num="1088" count="176" type="stmt"/>
519
- <line num="1091" count="140" type="stmt"/>
520
- <line num="1092" count="140" type="stmt"/>
521
- <line num="1093" count="176" type="stmt"/>
522
- <line num="1094" count="176" type="cond" truecount="4" falsecount="0"/>
523
- <line num="1095" count="176" type="cond" truecount="2" falsecount="0"/>
524
- <line num="1096" count="176" type="stmt"/>
525
- <line num="1097" count="243" type="stmt"/>
526
- <line num="1100" count="176" type="stmt"/>
527
- <line num="1101" count="176" type="stmt"/>
528
- <line num="1102" count="56" type="cond" truecount="4" falsecount="0"/>
529
- <line num="1104" count="176" type="stmt"/>
530
- <line num="1108" count="140" type="stmt"/>
531
- <line num="1109" count="176" type="stmt"/>
532
- <line num="1110" count="140" type="stmt"/>
533
- <line num="1111" count="176" type="stmt"/>
534
- <line num="1112" count="33" type="cond" truecount="1" falsecount="1"/>
535
- <line num="1119" count="140" type="stmt"/>
536
- <line num="1120" count="140" type="stmt"/>
537
- <line num="1121" count="176" type="stmt"/>
538
- <line num="1124" count="140" type="stmt"/>
539
- <line num="1125" count="140" type="stmt"/>
540
- <line num="1126" count="176" type="cond" truecount="2" falsecount="0"/>
541
- <line num="1129" count="140" type="stmt"/>
542
- <line num="1130" count="140" type="stmt"/>
543
- <line num="1131" count="176" type="stmt"/>
544
- <line num="1132" count="176" type="stmt"/>
545
- <line num="1134" count="176" type="stmt"/>
546
- <line num="1135" count="274" type="cond" truecount="4" falsecount="0"/>
547
- <line num="1136" count="31" type="stmt"/>
548
- <line num="1142" count="140" type="stmt"/>
549
- <line num="1143" count="176" type="cond" truecount="1" falsecount="1"/>
550
- <line num="1146" count="140" type="stmt"/>
517
+ <line num="1087" count="183" type="stmt"/>
518
+ <line num="1088" count="183" type="stmt"/>
519
+ <line num="1091" count="143" type="stmt"/>
520
+ <line num="1092" count="143" type="stmt"/>
521
+ <line num="1093" count="183" type="stmt"/>
522
+ <line num="1094" count="183" type="cond" truecount="4" falsecount="0"/>
523
+ <line num="1095" count="183" type="cond" truecount="2" falsecount="0"/>
524
+ <line num="1096" count="183" type="stmt"/>
525
+ <line num="1097" count="253" type="stmt"/>
526
+ <line num="1100" count="183" type="stmt"/>
527
+ <line num="1101" count="183" type="stmt"/>
528
+ <line num="1102" count="60" type="cond" truecount="4" falsecount="0"/>
529
+ <line num="1104" count="183" type="stmt"/>
530
+ <line num="1108" count="143" type="stmt"/>
531
+ <line num="1109" count="183" type="stmt"/>
532
+ <line num="1110" count="143" type="stmt"/>
533
+ <line num="1111" count="183" type="stmt"/>
534
+ <line num="1112" count="37" type="cond" truecount="1" falsecount="1"/>
535
+ <line num="1119" count="143" type="stmt"/>
536
+ <line num="1120" count="143" type="stmt"/>
537
+ <line num="1121" count="183" type="stmt"/>
538
+ <line num="1124" count="143" type="stmt"/>
539
+ <line num="1125" count="143" type="stmt"/>
540
+ <line num="1126" count="183" type="cond" truecount="2" falsecount="0"/>
541
+ <line num="1129" count="143" type="stmt"/>
542
+ <line num="1130" count="143" type="stmt"/>
543
+ <line num="1131" count="183" type="stmt"/>
544
+ <line num="1132" count="183" type="stmt"/>
545
+ <line num="1134" count="183" type="stmt"/>
546
+ <line num="1135" count="291" type="cond" truecount="4" falsecount="0"/>
547
+ <line num="1136" count="35" type="stmt"/>
548
+ <line num="1142" count="143" type="stmt"/>
549
+ <line num="1143" count="183" type="cond" truecount="1" falsecount="1"/>
550
+ <line num="1146" count="143" type="stmt"/>
551
551
  <line num="1156" count="38" type="cond" truecount="2" falsecount="0"/>
552
552
  <line num="1157" count="21" type="stmt"/>
553
553
  <line num="1158" count="21" type="cond" truecount="2" falsecount="0"/>
@@ -963,139 +963,150 @@
963
963
  <line num="814" count="43" type="stmt"/>
964
964
  </file>
965
965
  <file name="codegen-plain-types.ts" path="/home/runner/work/ContractKit/ContractKit/packages/plugin-typescript/src/codegen-plain-types.ts">
966
- <metrics statements="132" coveredstatements="121" conditionals="99" coveredconditionals="76" methods="28" coveredmethods="26"/>
967
- <line num="24" count="60" type="stmt"/>
968
- <line num="25" count="60" type="stmt"/>
969
- <line num="28" count="60" type="cond" truecount="2" falsecount="0"/>
970
- <line num="29" count="60" type="stmt"/>
971
- <line num="30" count="60" type="stmt"/>
972
- <line num="33" count="60" type="cond" truecount="2" falsecount="0"/>
973
- <line num="34" count="60" type="stmt"/>
974
- <line num="35" count="60" type="stmt"/>
975
- <line num="38" count="60" type="cond" truecount="2" falsecount="0"/>
976
- <line num="39" count="60" type="cond" truecount="2" falsecount="0"/>
977
- <line num="40" count="60" type="stmt"/>
978
- <line num="43" count="60" type="stmt"/>
966
+ <metrics statements="143" coveredstatements="132" conditionals="111" coveredconditionals="87" methods="30" coveredmethods="29"/>
967
+ <line num="24" count="63" type="stmt"/>
968
+ <line num="25" count="63" type="stmt"/>
969
+ <line num="28" count="63" type="cond" truecount="2" falsecount="0"/>
970
+ <line num="29" count="63" type="stmt"/>
971
+ <line num="30" count="63" type="stmt"/>
972
+ <line num="33" count="63" type="cond" truecount="2" falsecount="0"/>
973
+ <line num="34" count="63" type="stmt"/>
974
+ <line num="35" count="63" type="stmt"/>
975
+ <line num="38" count="63" type="cond" truecount="2" falsecount="0"/>
976
+ <line num="39" count="63" type="cond" truecount="2" falsecount="0"/>
977
+ <line num="40" count="63" type="stmt"/>
978
+ <line num="43" count="63" type="stmt"/>
979
979
  <line num="44" count="19" type="stmt"/>
980
980
  <line num="45" count="19" type="stmt"/>
981
- <line num="47" count="60" type="cond" truecount="2" falsecount="0"/>
982
- <line num="49" count="60" type="cond" truecount="1" falsecount="1"/>
981
+ <line num="47" count="63" type="cond" truecount="2" falsecount="0"/>
982
+ <line num="49" count="63" type="cond" truecount="1" falsecount="1"/>
983
983
  <line num="50" count="0" type="cond" truecount="0" falsecount="2"/>
984
984
  <line num="51" count="0" type="stmt"/>
985
985
  <line num="53" count="0" type="stmt"/>
986
986
  <line num="55" count="0" type="stmt"/>
987
- <line num="58" count="60" type="stmt"/>
988
- <line num="59" count="71" type="stmt"/>
989
- <line num="60" count="71" type="stmt"/>
990
- <line num="63" count="60" type="stmt"/>
991
- <line num="70" count="71" type="cond" truecount="2" falsecount="0"/>
992
- <line num="71" count="5" type="stmt"/>
993
- <line num="76" count="88" type="cond" truecount="2" falsecount="1"/>
994
- <line num="78" count="71" type="cond" truecount="2" falsecount="0"/>
995
- <line num="80" count="71" type="cond" truecount="2" falsecount="0"/>
996
- <line num="81" count="3" type="stmt"/>
997
- <line num="82" count="3" type="stmt"/>
998
- <line num="84" count="66" type="stmt"/>
999
- <line num="88" count="71" type="stmt"/>
1000
- <line num="89" count="71" type="stmt"/>
1001
- <line num="90" count="71" type="cond" truecount="1" falsecount="1"/>
1002
- <line num="91" count="0" type="stmt"/>
1003
- <line num="93" count="71" type="cond" truecount="2" falsecount="0"/>
1004
- <line num="94" count="1" type="stmt"/>
1005
- <line num="97" count="71" type="cond" truecount="2" falsecount="0"/>
1006
- <line num="98" count="71" type="stmt"/>
1007
- <line num="99" count="71" type="stmt"/>
1008
- <line num="100" count="71" type="stmt"/>
1009
- <line num="104" count="5" type="stmt"/>
1010
- <line num="105" count="5" type="stmt"/>
1011
- <line num="106" count="5" type="stmt"/>
1012
- <line num="107" count="5" type="cond" truecount="2" falsecount="0"/>
1013
- <line num="108" count="2" type="stmt"/>
1014
- <line num="110" count="5" type="cond" truecount="1" falsecount="1"/>
1015
- <line num="111" count="0" type="stmt"/>
1016
- <line num="113" count="5" type="stmt"/>
1017
- <line num="122" count="82" type="cond" truecount="2" falsecount="0"/>
1018
- <line num="123" count="11" type="cond" truecount="2" falsecount="0"/>
1019
- <line num="124" count="3" type="stmt"/>
1020
- <line num="125" count="3" type="stmt"/>
1021
- <line num="126" count="2" type="stmt"/>
1022
- <line num="130" count="50" type="stmt"/>
1023
- <line num="131" count="50" type="stmt"/>
1024
- <line num="133" count="50" type="cond" truecount="2" falsecount="0"/>
1025
- <line num="134" count="71" type="stmt"/>
1026
- <line num="135" count="50" type="stmt"/>
1027
- <line num="137" count="50" type="stmt"/>
1028
- <line num="138" count="71" type="stmt"/>
1029
- <line num="141" count="50" type="stmt"/>
1030
- <line num="142" count="50" type="stmt"/>
1031
- <line num="146" count="16" type="stmt"/>
1032
- <line num="147" count="16" type="stmt"/>
1033
- <line num="149" count="16" type="cond" truecount="2" falsecount="0"/>
1034
- <line num="150" count="28" type="stmt"/>
1035
- <line num="153" count="28" type="stmt"/>
1036
- <line num="154" count="16" type="stmt"/>
1037
- <line num="155" count="16" type="stmt"/>
1038
- <line num="156" count="25" type="stmt"/>
1039
- <line num="158" count="16" type="stmt"/>
1040
- <line num="159" count="16" type="stmt"/>
1041
- <line num="163" count="28" type="stmt"/>
1042
- <line num="164" count="16" type="cond" truecount="2" falsecount="0"/>
1043
- <line num="165" count="16" type="stmt"/>
1044
- <line num="166" count="16" type="stmt"/>
1045
- <line num="167" count="18" type="cond" truecount="1" falsecount="1"/>
1046
- <line num="169" count="16" type="stmt"/>
1047
- <line num="171" count="16" type="stmt"/>
1048
- <line num="177" count="96" type="cond" truecount="4" falsecount="0"/>
1049
- <line num="178" count="96" type="stmt"/>
1050
- <line num="179" count="96" type="cond" truecount="2" falsecount="0"/>
1051
- <line num="180" count="96" type="stmt"/>
1052
- <line num="181" count="96" type="stmt"/>
1053
- <line num="182" count="96" type="cond" truecount="1" falsecount="1"/>
1054
- <line num="183" count="96" type="cond" truecount="1" falsecount="1"/>
1055
- <line num="184" count="96" type="cond" truecount="1" falsecount="1"/>
1056
- <line num="185" count="0" type="stmt"/>
1057
- <line num="187" count="96" type="stmt"/>
1058
- <line num="191" count="18" type="cond" truecount="3" falsecount="1"/>
1059
- <line num="192" count="18" type="stmt"/>
1060
- <line num="193" count="18" type="cond" truecount="1" falsecount="1"/>
1061
- <line num="194" count="18" type="stmt"/>
1062
- <line num="195" count="18" type="stmt"/>
1063
- <line num="196" count="18" type="cond" truecount="1" falsecount="1"/>
1064
- <line num="197" count="18" type="cond" truecount="1" falsecount="1"/>
1065
- <line num="198" count="18" type="cond" truecount="1" falsecount="1"/>
1066
- <line num="199" count="0" type="stmt"/>
987
+ <line num="58" count="78" type="stmt"/>
988
+ <line num="60" count="63" type="stmt"/>
989
+ <line num="61" count="78" type="stmt"/>
990
+ <line num="62" count="78" type="stmt"/>
991
+ <line num="65" count="63" type="stmt"/>
992
+ <line num="78" count="78" type="cond" truecount="2" falsecount="0"/>
993
+ <line num="79" count="5" type="stmt"/>
994
+ <line num="84" count="97" type="cond" truecount="2" falsecount="1"/>
995
+ <line num="86" count="78" type="cond" truecount="2" falsecount="0"/>
996
+ <line num="88" count="78" type="cond" truecount="2" falsecount="0"/>
997
+ <line num="89" count="3" type="stmt"/>
998
+ <line num="90" count="3" type="stmt"/>
999
+ <line num="92" count="73" type="stmt"/>
1000
+ <line num="100" count="73" type="stmt"/>
1001
+ <line num="101" count="73" type="stmt"/>
1002
+ <line num="102" count="17" type="stmt"/>
1003
+ <line num="103" count="17" type="cond" truecount="4" falsecount="0"/>
1004
+ <line num="104" count="8" type="stmt"/>
1005
+ <line num="105" count="6" type="cond" truecount="2" falsecount="0"/>
1006
+ <line num="107" count="73" type="stmt"/>
1007
+ <line num="108" count="73" type="stmt"/>
1008
+ <line num="115" count="73" type="cond" truecount="3" falsecount="1"/>
1009
+ <line num="116" count="109" type="cond" truecount="2" falsecount="0"/>
1010
+ <line num="120" count="78" type="stmt"/>
1011
+ <line num="121" count="78" type="stmt"/>
1012
+ <line num="122" count="78" type="cond" truecount="1" falsecount="1"/>
1013
+ <line num="123" count="0" type="stmt"/>
1014
+ <line num="125" count="78" type="cond" truecount="2" falsecount="0"/>
1015
+ <line num="126" count="1" type="stmt"/>
1016
+ <line num="129" count="78" type="cond" truecount="2" falsecount="0"/>
1017
+ <line num="130" count="78" type="stmt"/>
1018
+ <line num="131" count="78" type="stmt"/>
1019
+ <line num="132" count="78" type="stmt"/>
1020
+ <line num="136" count="5" type="stmt"/>
1021
+ <line num="137" count="5" type="stmt"/>
1022
+ <line num="138" count="5" type="stmt"/>
1023
+ <line num="139" count="5" type="cond" truecount="2" falsecount="0"/>
1024
+ <line num="140" count="2" type="stmt"/>
1025
+ <line num="142" count="5" type="cond" truecount="1" falsecount="1"/>
1026
+ <line num="143" count="0" type="stmt"/>
1027
+ <line num="145" count="5" type="stmt"/>
1028
+ <line num="154" count="91" type="cond" truecount="2" falsecount="0"/>
1029
+ <line num="155" count="16" type="cond" truecount="2" falsecount="0"/>
1030
+ <line num="156" count="7" type="stmt"/>
1031
+ <line num="157" count="7" type="stmt"/>
1032
+ <line num="158" count="6" type="stmt"/>
1033
+ <line num="162" count="55" type="stmt"/>
1034
+ <line num="163" count="55" type="stmt"/>
1035
+ <line num="165" count="55" type="cond" truecount="2" falsecount="0"/>
1036
+ <line num="166" count="55" type="stmt"/>
1037
+ <line num="167" count="55" type="stmt"/>
1038
+ <line num="169" count="55" type="stmt"/>
1039
+ <line num="170" count="77" type="stmt"/>
1040
+ <line num="173" count="55" type="stmt"/>
1041
+ <line num="174" count="55" type="stmt"/>
1042
+ <line num="178" count="18" type="stmt"/>
1043
+ <line num="179" count="18" type="stmt"/>
1044
+ <line num="181" count="18" type="cond" truecount="2" falsecount="0"/>
1045
+ <line num="182" count="18" type="stmt"/>
1046
+ <line num="185" count="32" type="stmt"/>
1047
+ <line num="186" count="18" type="stmt"/>
1048
+ <line num="187" count="18" type="stmt"/>
1049
+ <line num="188" count="29" type="stmt"/>
1050
+ <line num="190" count="18" type="stmt"/>
1051
+ <line num="191" count="18" type="stmt"/>
1052
+ <line num="195" count="32" type="stmt"/>
1053
+ <line num="196" count="18" type="cond" truecount="2" falsecount="0"/>
1054
+ <line num="197" count="18" type="stmt"/>
1055
+ <line num="198" count="18" type="stmt"/>
1056
+ <line num="199" count="21" type="cond" truecount="1" falsecount="1"/>
1067
1057
  <line num="201" count="18" type="stmt"/>
1068
- <line num="207" count="3" type="stmt"/>
1069
- <line num="211" count="0" type="stmt"/>
1070
- <line num="215" count="5" type="cond" truecount="4" falsecount="0"/>
1071
- <line num="216" count="3" type="cond" truecount="1" falsecount="1"/>
1058
+ <line num="203" count="18" type="stmt"/>
1059
+ <line num="209" count="106" type="cond" truecount="4" falsecount="0"/>
1060
+ <line num="210" count="106" type="stmt"/>
1061
+ <line num="211" count="106" type="cond" truecount="2" falsecount="0"/>
1062
+ <line num="212" count="106" type="stmt"/>
1063
+ <line num="213" count="106" type="stmt"/>
1064
+ <line num="214" count="106" type="cond" truecount="1" falsecount="1"/>
1065
+ <line num="215" count="106" type="cond" truecount="1" falsecount="1"/>
1066
+ <line num="216" count="106" type="cond" truecount="1" falsecount="1"/>
1072
1067
  <line num="217" count="0" type="stmt"/>
1073
- <line num="230" count="3" type="stmt"/>
1074
- <line num="231" count="3" type="cond" truecount="4" falsecount="0"/>
1075
- <line num="232" count="5" type="stmt"/>
1076
- <line num="235" count="3" type="cond" truecount="2" falsecount="0"/>
1077
- <line num="237" count="1" type="cond" truecount="2" falsecount="2"/>
1078
- <line num="242" count="1" type="stmt"/>
1079
- <line num="243" count="1" type="stmt"/>
1080
- <line num="244" count="2" type="stmt"/>
1081
- <line num="246" count="1" type="stmt"/>
1082
- <line num="247" count="1" type="stmt"/>
1083
- <line num="251" count="2" type="stmt"/>
1084
- <line num="252" count="2" type="stmt"/>
1085
- <line num="253" count="3" type="stmt"/>
1086
- <line num="255" count="2" type="stmt"/>
1087
- <line num="256" count="2" type="stmt"/>
1088
- <line num="260" count="5" type="cond" truecount="4" falsecount="0"/>
1089
- <line num="261" count="5" type="stmt"/>
1090
- <line num="262" count="5" type="stmt"/>
1091
- <line num="263" count="5" type="cond" truecount="1" falsecount="1"/>
1068
+ <line num="219" count="106" type="stmt"/>
1069
+ <line num="223" count="21" type="cond" truecount="3" falsecount="1"/>
1070
+ <line num="224" count="21" type="stmt"/>
1071
+ <line num="225" count="21" type="cond" truecount="1" falsecount="1"/>
1072
+ <line num="226" count="21" type="stmt"/>
1073
+ <line num="227" count="21" type="stmt"/>
1074
+ <line num="228" count="21" type="cond" truecount="1" falsecount="1"/>
1075
+ <line num="229" count="21" type="cond" truecount="1" falsecount="1"/>
1076
+ <line num="230" count="21" type="cond" truecount="1" falsecount="1"/>
1077
+ <line num="231" count="0" type="stmt"/>
1078
+ <line num="233" count="21" type="stmt"/>
1079
+ <line num="239" count="3" type="stmt"/>
1080
+ <line num="243" count="0" type="stmt"/>
1081
+ <line num="247" count="5" type="cond" truecount="4" falsecount="0"/>
1082
+ <line num="248" count="3" type="cond" truecount="1" falsecount="1"/>
1083
+ <line num="249" count="0" type="stmt"/>
1084
+ <line num="262" count="3" type="stmt"/>
1085
+ <line num="263" count="3" type="cond" truecount="4" falsecount="0"/>
1092
1086
  <line num="264" count="5" type="stmt"/>
1093
- <line num="265" count="5" type="stmt"/>
1094
- <line num="266" count="5" type="cond" truecount="1" falsecount="1"/>
1095
- <line num="267" count="5" type="cond" truecount="1" falsecount="1"/>
1096
- <line num="268" count="5" type="cond" truecount="1" falsecount="1"/>
1097
- <line num="269" count="0" type="stmt"/>
1098
- <line num="271" count="5" type="stmt"/>
1087
+ <line num="267" count="3" type="cond" truecount="2" falsecount="0"/>
1088
+ <line num="269" count="1" type="cond" truecount="2" falsecount="2"/>
1089
+ <line num="274" count="1" type="stmt"/>
1090
+ <line num="275" count="1" type="stmt"/>
1091
+ <line num="276" count="2" type="stmt"/>
1092
+ <line num="278" count="1" type="stmt"/>
1093
+ <line num="279" count="1" type="stmt"/>
1094
+ <line num="283" count="2" type="stmt"/>
1095
+ <line num="284" count="2" type="stmt"/>
1096
+ <line num="285" count="3" type="stmt"/>
1097
+ <line num="287" count="2" type="stmt"/>
1098
+ <line num="288" count="2" type="stmt"/>
1099
+ <line num="292" count="5" type="cond" truecount="4" falsecount="0"/>
1100
+ <line num="293" count="5" type="stmt"/>
1101
+ <line num="294" count="5" type="stmt"/>
1102
+ <line num="295" count="5" type="cond" truecount="1" falsecount="1"/>
1103
+ <line num="296" count="5" type="stmt"/>
1104
+ <line num="297" count="5" type="stmt"/>
1105
+ <line num="298" count="5" type="cond" truecount="1" falsecount="1"/>
1106
+ <line num="299" count="5" type="cond" truecount="1" falsecount="1"/>
1107
+ <line num="300" count="5" type="cond" truecount="1" falsecount="1"/>
1108
+ <line num="301" count="0" type="stmt"/>
1109
+ <line num="303" count="5" type="stmt"/>
1099
1110
  </file>
1100
1111
  <file name="codegen-sdk.ts" path="/home/runner/work/ContractKit/ContractKit/packages/plugin-typescript/src/codegen-sdk.ts">
1101
1112
  <metrics statements="447" coveredstatements="409" conditionals="311" coveredconditionals="260" methods="60" coveredmethods="51"/>
@@ -1797,20 +1808,20 @@
1797
1808
  <file name="ts-render.ts" path="/home/runner/work/ContractKit/ContractKit/packages/plugin-typescript/src/ts-render.ts">
1798
1809
  <metrics statements="62" coveredstatements="54" conditionals="89" coveredconditionals="76" methods="18" coveredmethods="13"/>
1799
1810
  <line num="3" count="5" type="stmt"/>
1800
- <line num="6" count="165" type="cond" truecount="2" falsecount="0"/>
1811
+ <line num="6" count="178" type="cond" truecount="2" falsecount="0"/>
1801
1812
  <line num="11" count="20" type="stmt"/>
1802
1813
  <line num="12" count="20" type="stmt"/>
1803
1814
  <line num="14" count="48" type="stmt"/>
1804
1815
  <line num="15" count="48" type="cond" truecount="2" falsecount="0"/>
1805
- <line num="23" count="330" type="cond" truecount="12" falsecount="1"/>
1806
- <line num="25" count="164" type="stmt"/>
1816
+ <line num="23" count="343" type="cond" truecount="12" falsecount="1"/>
1817
+ <line num="25" count="170" type="stmt"/>
1807
1818
  <line num="27" count="20" type="stmt"/>
1808
1819
  <line num="29" count="20" type="cond" truecount="4" falsecount="0"/>
1809
1820
  <line num="33" count="20" type="cond" truecount="2" falsecount="0"/>
1810
1821
  <line num="36" count="2" type="stmt"/>
1811
1822
  <line num="38" count="2" type="stmt"/>
1812
1823
  <line num="40" count="10" type="stmt"/>
1813
- <line num="42" count="5" type="cond" truecount="2" falsecount="0"/>
1824
+ <line num="42" count="12" type="cond" truecount="2" falsecount="0"/>
1814
1825
  <line num="44" count="3" type="stmt"/>
1815
1826
  <line num="46" count="1" type="stmt"/>
1816
1827
  <line num="48" count="4" type="stmt"/>
@@ -1818,11 +1829,11 @@
1818
1829
  <line num="52" count="2" type="stmt"/>
1819
1830
  <line num="54" count="8" type="stmt"/>
1820
1831
  <line num="56" count="0" type="stmt"/>
1821
- <line num="61" count="164" type="cond" truecount="17" falsecount="1"/>
1822
- <line num="66" count="113" type="stmt"/>
1832
+ <line num="61" count="170" type="cond" truecount="17" falsecount="1"/>
1833
+ <line num="66" count="116" type="stmt"/>
1823
1834
  <line num="69" count="23" type="stmt"/>
1824
1835
  <line num="71" count="6" type="stmt"/>
1825
- <line num="73" count="2" type="stmt"/>
1836
+ <line num="73" count="5" type="stmt"/>
1826
1837
  <line num="78" count="4" type="stmt"/>
1827
1838
  <line num="80" count="4" type="stmt"/>
1828
1839
  <line num="82" count="2" type="stmt"/>
@@ -1834,8 +1845,8 @@
1834
1845
  <line num="96" count="12" type="cond" truecount="2" falsecount="0"/>
1835
1846
  <line num="97" count="12" type="stmt"/>
1836
1847
  <line num="99" count="8" type="stmt"/>
1837
- <line num="108" count="89" type="cond" truecount="4" falsecount="0"/>
1838
- <line num="109" count="43" type="cond" truecount="7" falsecount="1"/>
1848
+ <line num="108" count="92" type="cond" truecount="4" falsecount="0"/>
1849
+ <line num="109" count="46" type="cond" truecount="7" falsecount="1"/>
1839
1850
  <line num="111" count="15" type="cond" truecount="2" falsecount="0"/>
1840
1851
  <line num="113" count="4" type="stmt"/>
1841
1852
  <line num="115" count="4" type="cond" truecount="4" falsecount="0"/>
@@ -1845,7 +1856,7 @@
1845
1856
  <line num="126" count="0" type="stmt"/>
1846
1857
  <line num="128" count="3" type="cond" truecount="2" falsecount="0"/>
1847
1858
  <line num="130" count="1" type="stmt"/>
1848
- <line num="132" count="16" type="stmt"/>
1859
+ <line num="132" count="19" type="stmt"/>
1849
1860
  <line num="143" count="91" type="cond" truecount="4" falsecount="0"/>
1850
1861
  <line num="144" count="8" type="cond" truecount="3" falsecount="5"/>
1851
1862
  <line num="146" count="3" type="cond" truecount="1" falsecount="1"/>
@@ -1864,21 +1875,21 @@
1864
1875
  <metrics statements="46" coveredstatements="43" conditionals="33" coveredconditionals="30" methods="28" coveredmethods="25"/>
1865
1876
  <file name="helpers.ts" path="/home/runner/work/ContractKit/ContractKit/packages/plugin-typescript/tests/helpers.ts">
1866
1877
  <metrics statements="46" coveredstatements="43" conditionals="33" coveredconditionals="30" methods="28" coveredmethods="25"/>
1867
- <line num="32" count="857" type="stmt"/>
1868
- <line num="36" count="313" type="stmt"/>
1878
+ <line num="32" count="874" type="stmt"/>
1879
+ <line num="36" count="318" type="stmt"/>
1869
1880
  <line num="40" count="29" type="stmt"/>
1870
1881
  <line num="44" count="3" type="stmt"/>
1871
1882
  <line num="48" count="3" type="stmt"/>
1872
1883
  <line num="52" count="5" type="stmt"/>
1873
- <line num="56" count="10" type="stmt"/>
1884
+ <line num="56" count="15" type="stmt"/>
1874
1885
  <line num="60" count="6" type="stmt"/>
1875
1886
  <line num="64" count="2" type="stmt"/>
1876
1887
  <line num="68" count="203" type="stmt"/>
1877
1888
  <line num="72" count="10" type="stmt"/>
1878
1889
  <line num="76" count="4" type="stmt"/>
1879
- <line num="80" count="247" type="stmt"/>
1880
- <line num="92" count="171" type="stmt"/>
1881
- <line num="102" count="134" type="stmt"/>
1890
+ <line num="80" count="257" type="stmt"/>
1891
+ <line num="92" count="178" type="stmt"/>
1892
+ <line num="102" count="137" type="stmt"/>
1882
1893
  <line num="106" count="43" type="stmt"/>
1883
1894
  <line num="110" count="0" type="stmt"/>
1884
1895
  <line num="114" count="0" type="stmt"/>