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
17K Views
0 Votes 1 Answers 17K Views
Hi guys, how can I sign a Cell with ton-crypto, or ton-core or in someway, that later can be correctly verified by check_signature or check_data_signature fr...
one year ago
1 Votes
0 Answers
19K Views
1 Votes 0 Answers 19K 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...
2 years ago
0 Votes
1 Answers
19K Views
0 Votes 1 Answers 19K 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
2 Answers
17K Views
0 Votes 2 Answers 17K 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
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
1 Votes
1 Answers
17K Views
1 Votes 1 Answers 17K 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
2 Votes
1 Answers
20K Views
2 Votes 1 Answers 20K 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
2 Votes
1 Answers
7K Views
2 Votes 1 Answers 7K 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...
2 years ago
2 Votes
1 Answers
25K Views
2 Votes 1 Answers 25K 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
22K Views
2 Votes 1 Answers 22K 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...
2 Votes
2 Answers
26K Views
2 Votes 2 Answers 26K 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
0 Votes
1 Answers
4K Views
0 Votes 1 Answers 4K 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 ...
2 years ago
7 Votes
2 Answers
27K Views
7 Votes 2 Answers 27K 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
7K Views
0 Votes 1 Answers 7K 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...
2 years ago
0 Votes
1 Answers
16K Views
0 Votes 1 Answers 16K 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
19K Views
0 Votes 1 Answers 19K 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...
2 years ago
1 Votes
1 Answers
19K Views
1 Votes 1 Answers 19K 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
2 years ago
0 Votes
1 Answers
14K Views
0 Votes 1 Answers 14K 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...
2 years ago
0 Votes
1 Answers
9K Views
0 Votes 1 Answers 9K 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
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
1 Answers
19K Views
0 Votes 1 Answers 19K 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...
2 years ago
0 Votes
2 Answers
22K Views
0 Votes 2 Answers 22K Views
Follow the docs there:https://ton.org/docs/develop/func/overview back by the code: () send_money(slice address, int amount) impure inline { var msg = begin_c...
2 years ago
0 Votes
1 Answers
7K Views
0 Votes 1 Answers 7K 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...
2 years ago
0 Votes
1 Answers
5K Views
0 Votes 1 Answers 5K Views
In the following API link, the server gets the list of items of a collection. https://tonapi.io/v2/nfts/collections/0%3A80d78a35f955a14b679faa887ff4cd5bfc0f4...
2 years ago
1 Votes
2 Answers
22K Views
1 Votes 2 Answers 22K 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...
2 years ago
0 Votes
0 Answers
16K Views
0 Votes 0 Answers 16K Views
I use Visual Studio Code with the "FunC Language Support" extension by Whales Corp. This setup is convenient and often helps with the autocompletion in FunC....
one year ago
0 Votes
1 Answers
12K Views
0 Votes 1 Answers 12K 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
14K Views
0 Votes 1 Answers 14K 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
4K Views
0 Votes 1 Answers 4K 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...
2 years ago
Show more results questions