You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gen/schema.json
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -462,6 +462,7 @@
462
462
},
463
463
"UintArg": {
464
464
"type": "object",
465
+
"description": "Represents an unsigned integer argument with a specified length and a range of valid values.",
465
466
"properties": {
466
467
"$": {
467
468
"type": "string",
@@ -485,6 +486,7 @@
485
486
},
486
487
"IntArg": {
487
488
"type": "object",
489
+
"description": "Represents a signed integer argument with a specified length and a range of valid values.",
488
490
"properties": {
489
491
"$": {
490
492
"type": "string",
@@ -508,6 +510,7 @@
508
510
},
509
511
"DeltaArg": {
510
512
"type": "object",
513
+
"description": "Represents argument with specified inner type and delta for it.",
511
514
"properties": {
512
515
"$": {
513
516
"type": "string",
@@ -531,6 +534,7 @@
531
534
},
532
535
"StackArg": {
533
536
"type": "object",
537
+
"description": "Represents a stack argument with a constant bit length equal to 4 and a range of valid values. This argument can be serialized and deserialized as a plain integer with `slice.load_uint(4)` and `builder.store_uint(t, 4)`.",
534
538
"properties": {
535
539
"$": {
536
540
"type": "string",
@@ -554,6 +558,7 @@
554
558
},
555
559
"ControlArg": {
556
560
"type": "object",
561
+
"description": "Represents a control register argument with a constant bit length equal to 4 and a range of valid values. This argument can be serialized and deserialized as a plain integer with `slice.load_uint(4)` and `builder.store_uint(t, 4)`.",
557
562
"properties": {
558
563
"$": {
559
564
"type": "string",
@@ -573,6 +578,7 @@
573
578
},
574
579
"PlduzArg": {
575
580
"type": "object",
581
+
"description": "Represents a special `PLDUZ` argument with a constant bit length equal to 3 and a range of valid values. This argument can be deserialized as follows: `((slice.load_uint(3) & 7) + 1) << 5` and serialized as `builder.store_uint(((value >> 5) - 1) & 7, 3)`.",
576
582
"properties": {
577
583
"$": {
578
584
"type": "string",
@@ -592,6 +598,7 @@
592
598
},
593
599
"TinyIntArg": {
594
600
"type": "object",
601
+
"description": "Represents a special `PUSHINT_4` argument with a constant bit length equal to 4 and a range of valid values. This argument can be deserialized as follows: `((int64(slice.load_uint(4)) + 5) & 15) - 5` and serialized as `builder.store_uint((value + 16) & 15, 4)`.",
595
602
"properties": {
596
603
"$": {
597
604
"type": "string",
@@ -611,6 +618,7 @@
611
618
},
612
619
"LargeIntArg": {
613
620
"type": "object",
621
+
"description": "Represents a special `PUSHINT_LONG` argument with a range of valid values. This argument can be deserialized as follows: `len = slice.load_uint(5); value = slice.load_uint(3 + ((len & 31) + 2) * 8) )` and serialized as\n\nlen = t === 0n ? 1 : t.toString(2).length + (t < 0n ? 0 : 1);\nlen2 = trunc((len + 7) / 8) - 2;\nif (len2 <= 0 || len2 >= 32) \n b.store_uint(t, 24);\n return;\n\ncount_bits = ceil((len - 19) / 8);\nb.store_uint(count_bits, 5);\ndata_bits = 8 * count_bits + 19;\nb.store_int(t, data_bits);\n.",
614
622
"properties": {
615
623
"$": {
616
624
"type": "string",
@@ -679,6 +687,7 @@
679
687
},
680
688
"SliceArg": {
681
689
"type": "object",
690
+
"description": "Represents data slice argument.",
682
691
"properties": {
683
692
"$": {
684
693
"type": "string",
@@ -706,6 +715,7 @@
706
715
},
707
716
"CodeSliceArg": {
708
717
"type": "object",
718
+
"description": "Represents code slice argument. This slice is always padded to 8 bytes.",
709
719
"properties": {
710
720
"$": {
711
721
"type": "string",
@@ -729,6 +739,7 @@
729
739
},
730
740
"RefCodeSliceArg": {
731
741
"type": "object",
742
+
"description": "Represents code cell argument stored in a ref. This argument can be deserialized as follows: `slice.load_ref()` and serialized as `builder.store_ref(cell)`.",
732
743
"properties": {
733
744
"$": {
734
745
"type": "string",
@@ -744,6 +755,7 @@
744
755
},
745
756
"InlineCodeSliceArg": {
746
757
"type": "object",
758
+
"description": "Represents code slice argument that embedded in current slice bytes. This slice is always padded to 8 bytes. This argument can be deserialized as follows: `y = slice.load_uint(bits); data = slice.load_slice(y * 8)` and serialized as `builder.store_uint(ceil(data.len / 8), bits); builder.store_slice(data)`.",
747
759
"properties": {
748
760
"$": {
749
761
"type": "string",
@@ -763,6 +775,7 @@
763
775
},
764
776
"InlineDictArg": {
765
777
"type": "object",
778
+
"description": "Represents dictionary argument. This argument can only be paired with a dictionary length represented as `uint(10)`, and they are `DICTPUSHCONSTS` type instructions and must be processed separately.",
766
779
"properties": {
767
780
"$": {
768
781
"type": "string",
@@ -793,6 +806,7 @@
793
806
},
794
807
"DebugstrArg": {
795
808
"type": "object",
809
+
"description": "Represents `DEBUGSTR` argument. This slice is always padded to 8 bytes. This argument can be deserialized as follows: `y = slice.load_uint(4); bits = slice.load_slice((y + 1) * 8)` and serialized as `y = ceil((data.length - 8) / 8); builder.store_uint(y, 4); builder.store_slice(data, bits)`.",
0 commit comments