Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text

Questions with tag func

Questions with tag func

Tags
Sorting
Results
per page
Filter

   
0 Votes
1 Answers
12K Views
0 Votes 1 Answers 12K Views
Suppose I have a slice that contains a string and I want to read it char by char. How do I do it? --- > This question was imported from Telegram Chat: https:...
one year ago
0 Votes
1 Answers
18K Views
0 Votes 1 Answers 18K Views
Does anyone know or have an example how can I store a static address in FunC? I'm thinking about using the asm command, but I'm not sure what the syntax is f...
0 Votes
0 Answers
12K Views
0 Votes 0 Answers 12K Views
In TON software development, everything is a cell. Every cell can reference up to 4 other cells, creating a parent-child relationship. What if I have a speci...
one year ago
0 Votes
0 Answers
5K Views
0 Votes 0 Answers 5K Views
Suppose we check for two conditions at the same time: if( (a == b) & (b == c) ). If a is not equal to b, that makes the first condition false. And that means...
one year ago
1 Votes
1 Answers
23K Views
1 Votes 1 Answers 23K Views
In order to compile smart contracts in the FunC language I need the executables named func and fift. They are used to compile my FunC source code to TVM byte...
Tal Kol
359 × 3 Administrator
0 Votes
1 Answers
18K Views
0 Votes 1 Answers 18K Views
There are TIP standards, but are there interfaces (libraries) that I can use when writing smart contracts with FunC? Or should I just attept to follow the st...
one year ago
0 Votes
1 Answers
3K Views
0 Votes 1 Answers 3K Views
There are different approaches to division: * using floating-point numbers (so 23 / 4 = 5.75) * mathematical rounding (23 / 4 = 6 since it's the closest inte...
one year ago
0 Votes
1 Answers
18K Views
0 Votes 1 Answers 18K Views
Is there a built-in way to exponentiate numbers in FunC? If there isn't and it is up to developer to write a function, probably the community has already wri...
2 years ago
0 Votes
0 Answers
5K Views
0 Votes 0 Answers 5K Views
Case 1: () recv_internal(int my_balance, int msg_value, cell in_msg_full, slice in_msg_body) impure { slice cs = in_msg_full.begin_parse(); int flags = cs~lo...
one year ago
0 Votes
1 Answers
7K Views
0 Votes 1 Answers 7K Views
Is there a size limit for bocs? I've heard values such as 64kb, but I don't know where this limit is defined. --- > This question was imported from Telegram ...
0 Votes
1 Answers
8K Views
0 Votes 1 Answers 8K Views
Hi, I transferred my TG NFT username to another wallet, but the transfer has not happened yet. The transaction generated exit code 206. Is this normal? Can s...
0 Votes
1 Answers
8K Views
0 Votes 1 Answers 8K Views
What is the byte size of a smart contract that can be deployed on TON? --------- > This question was imported from Telegram Chat: https://t.me/tondev_eng/26332
Howard Peng
10 × 1 Administrator
0 Votes
1 Answers
12K Views
0 Votes 1 Answers 12K Views
Are there functions for working with dates in FunC? Is it possible to get the current date or something like that? --- > This question was imported from Tele...
one year ago
0 Votes
0 Answers
13K Views
0 Votes 0 Answers 13K Views
Is there a conventional way to concatenate two strings using FunC? --- > This question was imported from Telegram Chat: https://t.me/tondev/130472
one year ago
0 Votes
2 Answers
19K Views
0 Votes 2 Answers 19K Views
How do you hardcode an address in a smart contract? An example in both FunC would be helpful. https://t.me/tondev_eng/4099
7 Votes
2 Answers
25K Views
7 Votes 2 Answers 25K Views
I'm developing a smart contract for TON blockchain in FunC and I'm trying to find a bug in my code. I'm trying to debug the issue and will appreciate somethi...
Tal Kol
359 × 3 Administrator
2 years ago
0 Votes
1 Answers
16K Views
0 Votes 1 Answers 16K Views
If there are two dicts and one of them is bigger than other, would the operations like insert require more gas for the bigger one, or would the gas fees be t...
one year ago
0 Votes
1 Answers
18K Views
0 Votes 1 Answers 18K Views
In general-purpose languages like Java it is possible to get server time by using things like System.currentTimeMills(). Is there a way to retrieve server ti...
2 years ago
0 Votes
1 Answers
18K Views
0 Votes 1 Answers 18K Views
What would be your suggestions on some basic pet projects for studying main concepts of ton? These would be smart contracts to write immidiately after doing ...
2 years ago
0 Votes
0 Answers
13K Views
0 Votes 0 Answers 13K Views
In modular arithmetic there is such a thing as modular multiplication. Does it have a built-in support in FunC? --- > This question was imported from Telegra...
one year ago
0 Votes
1 Answers
18K Views
0 Votes 1 Answers 18K Views
How can I print out something in FunC? https://t.me/tondev_eng/9305
2 years ago
0 Votes
1 Answers
17K Views
0 Votes 1 Answers 17K Views
How is a reference serialized (stored)? --- > This question was imported from Telegram Chat: https://t.me/tondev_eng/9475
0 Votes
2 Answers
16K Views
0 Votes 2 Answers 16K Views
I found a strange behavior in func bitwise operation. I don't understand why. slice slice0 = begin_cell().store_coins(123).end_cell().begin_parse(); int resu...
one year ago
0 Votes
1 Answers
4K Views
0 Votes 1 Answers 4K Views
How do you define multiple cells in the storage of a contract? clike const data = beginCell() .storeUint(someVar, 64) .storeMaybeSlice() .endCell(); In other...
one year ago
1 Votes
1 Answers
8K Views
1 Votes 1 Answers 8K Views
In TON, messages are used to send data and instructions to smart contracts. Sometimes, these messages can contain large amounts of data such as media files, ...
0 Votes
1 Answers
6K Views
0 Votes 1 Answers 6K Views
how can I calculate the gas price for get/set operations to Hashmap? https://docs.ton.org/learn/tvm-instructions/instructions for these operations the gas pr...
one year ago
2 Votes
1 Answers
19K Views
2 Votes 1 Answers 19K Views
I have function like this: clike () save_data_on_update(slice destination_address) impure inline { builder q = begin_cell(); builder qSliceDestinationAddress...
2 years ago
0 Votes
1 Answers
18K Views
0 Votes 1 Answers 18K Views
I see that there is a touch method in the wallet v4 contract: https://github.com/ton-blockchain/wallet-contract/blob/main/func/wallet-v4-code.fc#L90 What exa...
2 years ago
0 Votes
1 Answers
18K Views
0 Votes 1 Answers 18K Views
Is there any more materials on writing those tests? Since I am just joined the TON ecosytem. As far as I understood, in order to test internal command, tests...
1 Votes
1 Answers
18K Views
1 Votes 1 Answers 18K Views
There are extensions for code editors like Visual Studio Code providing syntax highlighting for FunC. Is there anything like that for the vim editor? --- > T...
2 years ago
Show more results questions