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
5K Views
0 Votes 1 Answers 5K Views
Some programming languages have built-in functions like is_int() helping to check quickly if a specific variable is of type integer or not. Is there somethin...
one year ago
0 Votes
0 Answers
5K Views
0 Votes 0 Answers 5K Views
I've previously seen tilde symbol used for bitwise NOT in other programming languages, so placing ~ before some X means "not X". But it seems in FunC it work...
one year ago
0 Votes
0 Answers
5K Views
0 Votes 0 Answers 5K Views
On TON, everything is a cell, and a slice is a cell opened up for reading. But can a slice contain another slice inside? --- > This question was imported fro...
one year ago
0 Votes
1 Answers
6K Views
0 Votes 1 Answers 6K Views
I have a simple transfer from a TON wallet to a contract. It has a comment: "2". Is there a way to parse this comment within the recv_internal function? Here...
0 Votes
1 Answers
5K Views
0 Votes 1 Answers 5K Views
I would like to put some utility functions into different files and call them from the main contract file. How can I do that? --- > This question was importe...
one year ago
0 Votes
0 Answers
6K Views
0 Votes 0 Answers 6K Views
TON documentation states that "every function in TVM program has an internal integer id by which it can be called". But how exactly can I call a function aft...
one year ago
0 Votes
1 Answers
6K Views
0 Votes 1 Answers 6K Views
FunC language evolves and gets new versions. But there seems to be no release notes for those versions on the TON website and FunC doesn't have its own websi...
one year ago
0 Votes
1 Answers
8K Views
0 Votes 1 Answers 8K Views
When "throwing" inside a function, is the transaction cancelled? For example, if I send 10 TON from a main account but in a smart contract there an error is ...
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
0 Answers
7K Views
0 Votes 0 Answers 7K Views
Why is it that during the TonCLI run_tests procedure, already defined comes up even with only having 2 procedures in test file? The error is as follows: [ 1]...
one year ago
0 Votes
1 Answers
7K Views
0 Votes 1 Answers 7K 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
7K Views
0 Votes 1 Answers 7K 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
1 Votes
1 Answers
7K Views
1 Votes 1 Answers 7K 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, ...
1 Votes
2 Answers
6K Views
1 Votes 2 Answers 6K Views
Hello everyone, please explain: ```` () send_message_back(addr, ans_tag, query_id, body, grams, mode) impure inline_ref { ;; int_msg_info$0 ihr_disabled:Bool...
0 Votes
0 Answers
7K Views
0 Votes 0 Answers 7K Views
For example, if you examine the code in detail here: https://github.com/ton-blockchain/payment-channels/blob/e605580c3fb1feb22d80be9a0cddfcd05671c347/func/as...
one year ago
0 Votes
1 Answers
10K Views
0 Votes 1 Answers 10K Views
I've been trying to create a simple wallet smart contract by myself to learn FunC, but my transactions keep failing with exit code 34. What am I doing wrong?...
0 Votes
1 Answers
10K Views
0 Votes 1 Answers 10K Views
Where can I find wallet v3r1 and v3r2 FunC code? --- > This question was imported from Telegram Chat: https://t.me/tondev_eng/9027
one year ago
0 Votes
2 Answers
11K Views
0 Votes 2 Answers 11K Views
How do we save an ordinary string in FunC? For example, how do you store the text "A" without making it a slice? --- > This question was imported from Telegr...
one year ago
0 Votes
1 Answers
11K Views
0 Votes 1 Answers 11K Views
What's the best way to debug unexpected test failures? Does FunC have a print function? My test failed on first check: throw_if(100, exit_code != 0); but how...
0 Votes
2 Answers
12K Views
0 Votes 2 Answers 12K Views
As far as I understand, code in FunC language compiles to Fift, and then from Fift code the resulting bag of cells is generated. Could I make my code more co...
one year ago
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
1 Answers
13K Views
0 Votes 1 Answers 13K Views
Is there a built-in square root function in the language? And if not, maybe there is a popular library with the optimal implementation? --- > This question w...
one year ago
0 Votes
1 Answers
15K Views
0 Votes 1 Answers 15K Views
Is it possible to call a function in a recursive way in FunC? If so, how exactly should I do it? I haven't found it in the FunC documentation, is it covered ...
one year ago
0 Votes
1 Answers
15K Views
0 Votes 1 Answers 15K Views
Suppose there is a web3 blog platform where people follow specific writers. Each follower has its own smart contract. Usually data such as "X follows Y" woul...
0 Votes
1 Answers
16K Views
0 Votes 1 Answers 16K Views
How do you access individual elements of a tuple in FunC using a while loop? As in, say there are 5 values in a tuple. How do I access the "nth" value in my ...
one year ago
0 Votes
1 Answers
16K Views
0 Votes 1 Answers 16K Views
I've been trying to do the following using the uncons function, but it doesn't destructure as I expect it to: (var l, var rvalues) = uncons(values); --- > Th...
one year ago
0 Votes
2 Answers
18K Views
0 Votes 2 Answers 18K Views
Do I get it right that if my smart contract needs to store a string longer than 1023 bits, I should split that thing in parts and make a chain of cells conta...
one year ago
0 Votes
1 Answers
16K Views
0 Votes 1 Answers 16K Views
How is a reference serialized (stored)? --- > This question was imported from Telegram Chat: https://t.me/tondev_eng/9475
0 Votes
1 Answers
17K Views
0 Votes 1 Answers 17K Views
It looks like Message X is almost the same as MessageAny. What is the difference? --- > This question was imported from Telegram Chat: https://t.me/tondev_en...
one year ago
0 Votes
1 Answers
17K Views
0 Votes 1 Answers 17K Views
What is the right way to concatenate strings? I've tried this but didn't succeed: .store_slice("start test " + VAR1 + " finish text") --- > This question was...
one year ago
Show more results questions