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

   
7 Votes
2 Answers
24K Views
7 Votes 2 Answers 24K 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
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
2 Votes
1 Answers
5K Views
2 Votes 1 Answers 5K Views
Hello, I'm considering to move my projects from another blockchain to TON but I still don't understand how to handle the asynchronous part. One of my project...
one year ago
2 Votes
1 Answers
23K Views
2 Votes 1 Answers 23K Views
There's an existing contract that was deployed by somebody else, for example a token, that has getter methods like get_balance(address) or get_total_supply()...
Tal Kol
359 × 3 Administrator
2 years 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...
one year ago
2 Votes
2 Answers
23K Views
2 Votes 2 Answers 23K Views
In TON blockchain, when implementing my dapp smart contract in FunC, my contract can accept both internal messages handled by recv_internal() and external me...
Tal Kol
359 × 3 Administrator
2 Votes
1 Answers
20K Views
2 Votes 1 Answers 20K Views
I am new to developing smart contracts on the TON blockchain and I am looking for assistance in creating a contract that can automatically distribute a jetto...
1 Votes
1 Answers
18K Views
1 Votes 1 Answers 18K Views
Many programming languages have a ternary operator, such as booleanExpression ? expression1 : expression2 in Java (if booleanExpression equals true, than exp...
one year ago
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...
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...
1 Votes
2 Answers
18K Views
1 Votes 2 Answers 18K Views
I've heard from the TON Spanish DevChat that there exists "Ten Lessons for learning FunC". Are those video lessons? --- > This question was imported from Tel...
one year ago
1 Votes
0 Answers
18K Views
1 Votes 0 Answers 18K Views
In developing for blockchain it's important to save space, so it seems better to store the dates using 32-bit timestamps instead of 64-bit. But blockchain is...
one year ago
1 Votes
1 Answers
18K Views
1 Votes 1 Answers 18K Views
Is there any call to get the contract address inside it? I cant find anything like that in tvm https://t.me/tondev_eng/363
one year ago
1 Votes
1 Answers
13K Views
1 Votes 1 Answers 13K Views
In Blueprint, we will need to write the Wrapper functions ourselves. More importantly, when we code the op code in our FunC code, we need to decode the strin...
one year ago
1 Votes
2 Answers
19K Views
1 Votes 2 Answers 19K Views
Is the function recv_internal required to have certain arguments or is it completely up to what you want the message sender to send you? I've noticed some Fu...
one year ago
1 Votes
1 Answers
22K Views
1 Votes 1 Answers 22K 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
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...
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
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
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
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
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
18K Views
0 Votes 1 Answers 18K Views
Do I get it right that there is no implementation of a floating-point numbers type such as float in FunC? --- > This question was imported from Telegram Chat...
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
1 Answers
16K Views
0 Votes 1 Answers 16K Views
In FunC, if you apply the letter c to a string literal (writing it as "string"c), the crc32 check value of the string is calculated and used instead of the s...
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
18K Views
0 Votes 1 Answers 18K Views
I am getting an error with TonWeb - "tonweb/src/boc/Cell.js:347 const prefix = serializedBoc.slice(0, 4); TypeError: serializedBoc.slice is not a function." ...
one year ago
0 Votes
1 Answers
19K Views
0 Votes 1 Answers 19K Views
For some reason I can't parse commentary that I receive in a transaction. This commentary is specified when sending ton coins from a wallet to a smart contra...
one year ago
0 Votes
1 Answers
17K Views
0 Votes 1 Answers 17K Views
In general-purpose languages there often is some form of try. Is there anything like that in FunC I could use to validate data in msg_body? > This question w...
one year 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...
one year ago
Show more results questions