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
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
1 Answers
17K Views
0 Votes 1 Answers 17K Views
Do I get it right that FunC treats int and (int) (a tuple with only one integer in it) as two different types even though they both are really integers? I ha...
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
1 Answers
17K Views
0 Votes 1 Answers 17K Views
Is there any specific reason why single line comments in FunC start with ;; and not something more common like //? It feels very odd. --- > This question was...
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
0 Votes
1 Answers
18K Views
0 Votes 1 Answers 18K Views
We have a project written in Solidity. How much effort would it take to move such a project to TON? Does it mean a total rewrite from scratch in FunC, or is ...
one year ago
0 Votes
1 Answers
17K Views
0 Votes 1 Answers 17K 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...
one year ago
5 Votes
2 Answers
22K Views
5 Votes 2 Answers 22K Views
There's a lot of setup for a project to implement a smart contract in FunC for TON blockchain (ton.org). Is there a good practice setup project that provides...
Tal Kol
359 × 3 Administrator
2 years ago
0 Votes
1 Answers
17K Views
0 Votes 1 Answers 17K 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 ...
one year ago
0 Votes
0 Answers
4K Views
0 Votes 0 Answers 4K 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
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
0 Answers
12K Views
0 Votes 0 Answers 12K Views
According to the documentation, we find the commit() FunC code described as follows: Commits the current state of registers c4 (“persistent data”) and c5 (“a...
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
2 Answers
18K Views
0 Votes 2 Answers 18K 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
0 Votes
0 Answers
18K Views
0 Votes 0 Answers 18K Views
It is probably a silly question, but it is confusing for a newcomer. What is the difference between msg and msg_body, aside from the type difference? --- > T...
one year ago
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
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
2 Answers
15K Views
0 Votes 2 Answers 15K 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
17K Views
0 Votes 1 Answers 17K 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
1 Answers
18K Views
0 Votes 1 Answers 18K Views
I would like to take a look at the source code of wallet contracts (wallet v3 and v4). As far as I understand, both these contracts are open source, but wher...
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
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
0 Answers
12K Views
0 Votes 0 Answers 12K Views
here is my FunC code: C-like forall X -> int is_null (X x) asm "ISNULL"; forall X -> (tuple, ()) push_back (tuple tail, X head) asm "CONS"; forall X -> (tupl...
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
0 Votes
1 Answers
5K Views
0 Votes 1 Answers 5K Views
In the Ston.fi core contract GitHub repository (https://github.com/ston-fi/dex-core), there is a line of FunC code as shown below: force_chain(WORKCHAIN, sen...
Howard Peng
10 × 1 Administrator
one year ago
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, ...
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
17K Views
0 Votes 1 Answers 17K Views
What determines the purity of a function? A) It must only read the function parameters. B) It can read values outside of the function parameters and return a...
one year ago
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
1 Votes
2 Answers
19K Views
1 Votes 2 Answers 19K Views
Is my understanding correct that smart contracts are written in FunC, then compiled into Fift, and deployed on the blockchain, and they can later be interact...
Show more results questions