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")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, 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
0 Votes
0 Answers
239 Views
0 Votes 0 Answers 239 Views
In FunC there is a function run_ticktock called in ticktock transactions of special smart contracts. But can such smart contracts work on a basechain, or is ...
4 days ago
0 Votes
1 Answers
449 Views
0 Votes 1 Answers 449 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...
8 days ago
0 Votes
1 Answers
730 Views
0 Votes 1 Answers 730 Views
In the following API link, the server gets the list of items of a collection. https://tonapi.io/v2/nfts/collections/0%3A80d78a35f955a14b679faa887ff4cd5bfc0f4...
15 days ago
0 Votes
1 Answers
821 Views
0 Votes 1 Answers 821 Views
How do you define multiple cells in the storage of a contract? clike const data = beginCell() .storeUint(someVar, 64) .storeMaybeSlice() .endCell(); In other...
17 days ago
0 Votes
1 Answers
1K Views
0 Votes 1 Answers 1K 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...
26 days ago
0 Votes
0 Answers
1K Views
0 Votes 0 Answers 1K 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...
26 days ago
0 Votes
1 Answers
1K Views
0 Votes 1 Answers 1K 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...
27 days ago
0 Votes
1 Answers
2K Views
0 Votes 1 Answers 2K Views
Both FunC and Tact languages can be used for developing on TON. But from what I see, tutorials, questions and other resources are currently focused mostly on...
one month ago
2 Votes
1 Answers
2K Views
2 Votes 1 Answers 2K 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 month ago
0 Votes
0 Answers
2K Views
0 Votes 0 Answers 2K 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 month ago
0 Votes
1 Answers
2K Views
0 Votes 1 Answers 2K 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 month ago
0 Votes
0 Answers
2K Views
0 Votes 0 Answers 2K 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 month ago
0 Votes
0 Answers
2K Views
0 Votes 0 Answers 2K 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 month ago
0 Votes
1 Answers
2K Views
0 Votes 1 Answers 2K 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
2K Views
0 Votes 1 Answers 2K 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 month ago
0 Votes
0 Answers
2K Views
0 Votes 0 Answers 2K 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 month ago
0 Votes
1 Answers
2K Views
0 Votes 1 Answers 2K 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 month ago
0 Votes
1 Answers
2K Views
0 Votes 1 Answers 2K 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
2K Views
0 Votes 1 Answers 2K 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
2K Views
0 Votes 0 Answers 2K 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 month ago
0 Votes
1 Answers
2K Views
0 Votes 1 Answers 2K 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
2K Views
0 Votes 1 Answers 2K 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
1 Votes
1 Answers
2K Views
1 Votes 1 Answers 2K 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
1 Answers
2K Views
1 Votes 1 Answers 2K 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
2K Views
0 Votes 0 Answers 2K Views
For example, if you examine the code in detail here: https://github.com/ton-blockchain/payment-channels/blob/e605580c3fb1feb22d80be9a0cddfcd05671c347/func/as...
one month ago
0 Votes
1 Answers
2K Views
0 Votes 1 Answers 2K 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
2K Views
0 Votes 1 Answers 2K Views
Where can I find wallet v3r1 and v3r2 FunC code? --- > This question was imported from Telegram Chat: https://t.me/tondev_eng/9027
2 months ago
0 Votes
2 Answers
2K Views
0 Votes 2 Answers 2K 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...
2 months ago
0 Votes
1 Answers
2K Views
0 Votes 1 Answers 2K 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
2K Views
0 Votes 2 Answers 2K 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...
2 months ago
Show more results questions