|
17 | 17 | {
|
18 | 18 | "trigger": "asm\tasm with optional arrangement (...)",
|
19 | 19 | "contents": "asm $0",
|
20 |
| - "kind": ["function", "a", "Attribute"] |
| 20 | + "kind": ["function", "a", "Attribute"], |
| 21 | + "details": "<a href=\"https://docs.tact-lang.org/book/assembly-functions\">Tact Docs</a>" |
21 | 22 | },
|
22 | 23 |
|
23 | 24 | // Literals, Base trait and constants
|
|
108 | 109 | {
|
109 | 110 | "trigger": "SendOnlyEstimateFee\tequal to 1024",
|
110 | 111 | "contents": "SendOnlyEstimateFee",
|
111 |
| - "kind": ["variable", "c", "Constant"] |
| 112 | + "kind": ["variable", "c", "Constant"], |
| 113 | + "details": "<a href=\"https://docs.tact-lang.org/book/message-mode#base-modes\">Tact Docs</a>" |
112 | 114 | },
|
113 | 115 | {
|
114 | 116 | "trigger": "ReserveExact\tequal to 0",
|
|
163 | 165 | {
|
164 | 166 | "trigger": "StdAddress",
|
165 | 167 | "contents": "StdAddress",
|
166 |
| - "kind": ["variable", "s", "Struct"] |
| 168 | + "kind": ["variable", "s", "Struct"], |
| 169 | + "details": "<a href=\"https://docs.tact-lang.org/ref/core-advanced/#parsestdaddress\">Tact Docs</a>" |
167 | 170 | },
|
168 | 171 | {
|
169 | 172 | "trigger": "VarAddress",
|
170 | 173 | "contents": "VarAddress",
|
171 |
| - "kind": ["variable", "s", "Struct"] |
| 174 | + "kind": ["variable", "s", "Struct"], |
| 175 | + "details": "<a href=\"https://docs.tact-lang.org/ref/core-advanced/#parsevaraddress\">Tact Docs</a>" |
172 | 176 | },
|
173 | 177 |
|
174 | 178 | // Built-in types and serialization options
|
|
630 | 634 | {
|
631 | 635 | "trigger": "slice\tSlice from a BoC String at compile-time",
|
632 | 636 | "contents": "slice(${1:bocBase64String})",
|
633 |
| - "kind": "function" |
| 637 | + "kind": "function", |
| 638 | + "details": "<a href=\"https://docs.tact-lang.org/ref/core-comptime#slice\">Tact Docs</a>" |
634 | 639 | },
|
635 | 640 | {
|
636 | 641 | "trigger": "rawSlice\tSlice from a String at compile-time",
|
637 | 642 | "contents": "rawSlice(${1:someString})",
|
638 |
| - "kind": "function" |
| 643 | + "kind": "function", |
| 644 | + "details": "<a href=\"https://docs.tact-lang.org/ref/core-comptime#rawslice\">Tact Docs</a>" |
639 | 645 | },
|
640 | 646 | {
|
641 |
| - "trigger": "ascii\tInt sum of ASCII values at compile-time", |
| 647 | + "trigger": "ascii\tInt of hex of ASCII characters at compile-time", |
642 | 648 | "contents": "aslii(${1:asciiString})",
|
643 |
| - "kind": "function" |
| 649 | + "kind": "function", |
| 650 | + "details": "<a href=\"https://docs.tact-lang.org/ref/core-comptime#ascii\">Tact Docs</a>" |
644 | 651 | },
|
645 | 652 | {
|
646 | 653 | "trigger": "crc32\tCRC32 of a String at compile-time",
|
647 | 654 | "contents": "crc32(${1:someString})",
|
648 |
| - "kind": "function" |
| 655 | + "kind": "function", |
| 656 | + "details": "<a href=\"https://docs.tact-lang.org/ref/core-comptime#crc32\">Tact Docs</a>" |
649 | 657 | },
|
650 | 658 |
|
651 | 659 | // Core library: Debug
|
|
694 | 702 | {
|
695 | 703 | "trigger": "parseStdAddress\tparse StdAddress from a Slice",
|
696 | 704 | "contents": "parseStdAddress(${1:slice_Slice})",
|
697 |
| - "kind": "function" |
| 705 | + "kind": "function", |
| 706 | + "details": "<a href=\"https://docs.tact-lang.org/ref/core-advanced/#parsestdaddress\">Tact Docs</a>" |
698 | 707 | },
|
699 | 708 | {
|
700 | 709 | "trigger": "parseVarAddress\tparse VarAddress from a Slice",
|
701 | 710 | "contents": "parseVarAddress(${1:slice_Slice})",
|
702 |
| - "kind": "function" |
| 711 | + "kind": "function", |
| 712 | + "details": "<a href=\"https://docs.tact-lang.org/ref/core-advanced/#parsevaraddress\">Tact Docs</a>" |
703 | 713 | },
|
704 | 714 |
|
705 | 715 | // Core library: Random
|
|
868 | 878 | "details": "<a href=\"https://docs.tact-lang.org/ref/core-advanced#nativerandominterval\">Tact Docs</a>"
|
869 | 879 | },
|
870 | 880 | {
|
871 |
| - "trigger": "nativeSendMessage\tsend message Cell with mode Int", |
872 |
| - "contents": "nativeSendMessage(${1:cell}, ${2:mode_Int})", |
| 881 | + "trigger": "nativeSendMessage\tsend msg Cell with mode Int", |
| 882 | + "contents": "nativeSendMessage(${1:msg_Cell}, ${2:mode_Int})", |
873 | 883 | "kind": "function",
|
874 | 884 | "details": "<a href=\"https://docs.tact-lang.org/ref/core-advanced#nativesendmessage\">Tact Docs</a>"
|
875 | 885 | },
|
876 | 886 | {
|
877 |
| - "trigger": "nativeSendMessageReturnForwardFee\tsend message Cell with mode Int and get fees", |
878 |
| - "contents": "nativeSendMessageReturnForwardFee(${1:cell}, ${2:mode_Int})", |
879 |
| - "kind": "function" |
| 887 | + "trigger": "nativeSendMessageReturnForwardFee\tsend msg Cell with mode Int and get fees", |
| 888 | + "contents": "nativeSendMessageReturnForwardFee(${1:msg_Cell}, ${2:mode_Int})", |
| 889 | + "kind": "function", |
| 890 | + "details": "<a href=\"https://docs.tact-lang.org/ref/core-advanced#nativesendmessagereturnforwardfee\">Tact Docs</a>" |
880 | 891 | },
|
881 | 892 | {
|
882 | 893 | "trigger": "nativeReserve\treserve nanoToncoin amount Int with mode Int",
|
883 | 894 | "contents": "nativeReserve(${1:amount_Int}, ${2:mode_Int})",
|
884 | 895 | "kind": "function",
|
885 | 896 | "details": "<a href=\"https://docs.tact-lang.org/ref/core-advanced#nativereserve\">Tact Docs</a>"
|
886 | 897 | },
|
887 |
| - { |
888 |
| - "trigger": "nativeReserve\treserve nanoToncoin amount Int with mode Int", |
889 |
| - "contents": "nativeReserve(${1:amount_Int}, ${2:mode_Int})", |
890 |
| - "kind": "function" |
891 |
| - }, |
892 | 898 | {
|
893 | 899 | "trigger": "gasConsumed\tget gas consumed so far",
|
894 | 900 | "contents": "gasConsumed()",
|
895 |
| - "kind": "function" |
| 901 | + "kind": "function", |
| 902 | + "details": "<a href=\"https://docs.tact-lang.org/ref/core-advanced/#gasconsumed\">Tact Docs</a>" |
896 | 903 | },
|
897 | 904 | {
|
898 | 905 | "trigger": "getComputeFee\tcalc compute cost in nanoToncoins",
|
899 | 906 | "contents": "getComputeFee(${1:gas_used_Int, ${2:is_masterchain_Bool})",
|
900 |
| - "kind": "function" |
| 907 | + "kind": "function", |
| 908 | + "details": "<a href=\"https://docs.tact-lang.org/ref/core-advanced/#getcomputefee\">Tact Docs</a>" |
901 | 909 | },
|
902 | 910 | {
|
903 | 911 | "trigger": "getStorageFee\tcalc storage fees in nanoToncoins",
|
904 | 912 | "contents": "getStorageFee(${1:cells_Int, ${2:bits_Int}, ${3:seconds_Int}, ${4:is_masterchain_Bool})",
|
905 |
| - "kind": "function" |
| 913 | + "kind": "function", |
| 914 | + "details": "<a href=\"https://docs.tact-lang.org/ref/core-advanced/#getstoragefee\">Tact Docs</a>" |
906 | 915 | },
|
907 | 916 | {
|
908 | 917 | "trigger": "getForwardFee\tcalc forward fees in nanoToncoins",
|
909 | 918 | "contents": "getForwardFee(${1:cells_Int, ${2:bits_Int}, ${3:is_masterchain_Bool})",
|
910 |
| - "kind": "function" |
| 919 | + "kind": "function", |
| 920 | + "details": "<a href=\"https://docs.tact-lang.org/ref/core-advanced/#getforwardfee\">Tact Docs</a>" |
911 | 921 | },
|
912 | 922 | {
|
913 | 923 | "trigger": "getSimpleComputeFee\tcalc extra compute cost in nanoToncoins",
|
914 | 924 | "contents": "getSimpleComputeFee(${1:gas_used_Int, ${2:is_masterchain_Bool})",
|
915 |
| - "kind": "function" |
| 925 | + "kind": "function", |
| 926 | + "details": "<a href=\"https://docs.tact-lang.org/ref/core-advanced/#getsimplecomputefee\">Tact Docs</a>" |
916 | 927 | },
|
917 | 928 | {
|
918 | 929 | "trigger": "getSimpleForwardFee\tcalc extra forward fees in nanoToncoins",
|
919 | 930 | "contents": "getSimpleForwardFee(${1:cells_Int, ${2:bits_Int}, ${3:is_masterchain_Bool})",
|
920 |
| - "kind": "function" |
| 931 | + "kind": "function", |
| 932 | + "details": "<a href=\"https://docs.tact-lang.org/ref/core-advanced/#getsimpleforwardfee\">Tact Docs</a>" |
921 | 933 | },
|
922 | 934 | {
|
923 | 935 | "trigger": "getOriginalFwdFee\tcalc original fwd_fee in nanoToncoins",
|
924 | 936 | "contents": "getOriginalFwdFee(${1:fwd_fee_Int, ${2:is_masterchain_Bool})",
|
925 |
| - "kind": "function" |
| 937 | + "kind": "function", |
| 938 | + "details": "<a href=\"https://docs.tact-lang.org/ref/core-advanced/#getoriginalfwdfee\">Tact Docs</a>" |
926 | 939 | },
|
927 | 940 | {
|
928 | 941 | "trigger": "myStorageDue\tstorage fee debt in nanoToncoins",
|
929 |
| - "contents": "myStorageDue(${1:fwd_fee_Int, ${2:is_masterchain_Bool})", |
930 |
| - "kind": "function" |
| 942 | + "contents": "myStorageDue()", |
| 943 | + "kind": "function", |
| 944 | + "details": "<a href=\"https://docs.tact-lang.org/ref/core-advanced/#mystoragedue\">Tact Docs</a>" |
931 | 945 | },
|
932 | 946 | ]
|
933 | 947 | }
|
0 commit comments