Skip to content

Commit adce3a4

Browse files
authored
Merge pull request #846 from pixelplex/staging
Staging
2 parents 6839641 + a384d8a commit adce3a4

File tree

71 files changed

+4081
-1732
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+4081
-1732
lines changed

cspell.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"language": "en",
55
"files": [
66
"**/*.md",
7-
"**/*.mdx",
7+
"**/*.mdx"
88
],
9-
"dictionaries": ["tvm-instructions", "names", "commands"],
9+
"dictionaries": ["tvm-instructions", "names", "commands", "examples"],
1010
"dictionaryDefinitions": [
1111
{
1212
"name":"tvm-instructions",
@@ -20,6 +20,10 @@
2020
"name":"commands",
2121
"path":"./src/grammar/commands-dictionary.txt"
2222
},
23+
{
24+
"name":"examples",
25+
"path":"./src/grammar/examples-dictionary.txt"
26+
},
2327
],
2428
"words": [
2529
"ADNL",
@@ -103,6 +107,7 @@
103107
"Threadripper",
104108
"Threadripper-based",
105109
"Timeouted",
110+
"Tolk",
106111
"Toncoin",
107112
"Toncoins",
108113
"Underload",
@@ -175,6 +180,7 @@
175180
"hmac",
176181
"howto",
177182
"HOWTO",
183+
"idict",
178184
"inclusivity",
179185
"inplace",
180186
"int",
@@ -196,12 +202,14 @@
196202
"liteservers",
197203
"logname",
198204
"long",
205+
"lowlevel",
199206
"masterchain",
200207
"mathrm",
201208
"mintless",
202209
"micropayment",
203210
"micropayments",
204211
"mintable",
212+
"moddiv",
205213
"multichain",
206214
"multisignature",
207215
"mystore",
@@ -217,6 +225,7 @@
217225
"nonfinal",
218226
"penalising",
219227
"penalised",
228+
"pfxdict",
220229
"precomplied",
221230
"preimage",
222231
"prer",
@@ -259,13 +268,15 @@
259268
"sunt",
260269
"superserver",
261270
"tick-tock",
271+
"tilda",
262272
"timeouted",
263273
"tock",
264274
"tokenomics",
265275
"tvmbeta",
266276
"udict",
267277
"uint",
268278
"unbounceable",
279+
"uncons",
269280
"underload",
270281
"underloaded",
271282
"unixtime",
@@ -300,6 +311,7 @@
300311
],
301312
"flagWords": [],
302313
"ignorePaths": [
314+
"scripts",
303315
"static",
304316
"node_modules",
305317
"package.json",
@@ -313,6 +325,6 @@
313325
"sidebars.js",
314326
"sidebars",
315327
"i18n",
316-
".husky",
328+
".husky"
317329
]
318330
}

docs/v3/concepts/dive-into-ton/go-from-ethereum/difference-of-blockchains.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Ethereum, by inheriting and extending the foundational principles of Bitcoin, ha
1414

1515
In response to these challenges, TON offers an alternative approach aimed at improving scalability and performance. Designed with the ambition to provide developers with maximum flexibility to create a variety of applications, TON uses the concept of shards and masterchain to optimize the block creation process. In each TON shardchain and masterchain, a new block is generated on average every 5 seconds, ensuring fast transaction execution. Unlike Ethereum, where state updates are synchronous, TON implements asynchronous messaging between smart contracts, allowing each transaction to be processed independently and in parallel, significantly speeding up transaction processing on the network. Sections and articles to familiarize yourself with:
1616

17-
* [Shards](/v3/documentation/smart-contracts/shards)
17+
* [Shards](/v3/documentation/smart-contracts/shards/shards-intro)
1818
* [Comparison of Blockchains document](https://ton.org/comparison_of_blockchains.pdf)
1919
* [Comparison of Blockchains table (much less informative than the document, but more visual)](/v3/concepts/dive-into-ton/ton-blockchain/blockchain-comparison)
2020

docs/v3/concepts/dive-into-ton/go-from-ethereum/solidity-vs-func.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ var msg = begin_cell()
208208
send_raw_message(msg, mode);
209209
```
210210
Let's discuss in more detail what it looks like for our smart contract to send a message to our recipient:
211-
1. Initially, we need to build our message. The full structure of the send can be found [here](v3/documentation/smart-contracts/message-management/sending-messages). We won't go into detail on how to assemble it here, you can read about that at the link.
211+
1. Initially, we need to build our message. The full structure of the send can be found [here](/v3/documentation/smart-contracts/message-management/sending-messages). We won't go into detail on how to assemble it here, you can read about that at the link.
212212
2. The body of the message represents a cell. In `msg_body_cell` we do: `begin_cell()` - creates `Builder` for the future cell, first `store_uint` - stores the first uint into `Builder` (1 - this is our `op`), second `store_uint` - stores the second uint into `Builder` (num - this is our number that we will manipulate in the receiving contract), `end_cell()` - creates the cell.
213213
3. To attach the body that will come in `recv_internal` in the message, we reference the collected cell in the message itself with `store_ref`.
214214
4. Sending a message.

docs/v3/concepts/dive-into-ton/ton-blockchain/sharding.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ In addition to the dynamic creation of shards, TON uses **Split Merge** function
2121

2222
## See Also
2323

24-
* [Shards Dive In](/v3/documentation/smart-contracts/shards)
25-
* [# Infinity Sharding Paradigm](/v3/documentation/smart-contracts/infinity-sharding-paradigm)
24+
* [Shards Dive In](/v3/documentation/smart-contracts/shards/shards-intro)
25+
* [# Infinity Sharding Paradigm](/v3/documentation/smart-contracts/shards/infinity-sharding-paradigm)

docs/v3/concepts/qa-outsource/auditors.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Test your software with the following quality assurance providers.
1414
* [ton.tech](https://ton.tech/)
1515
* [trailofbits.com](https://www.trailofbits.com/)
1616
* [zellic.io](https://www.zellic.io/)
17+
* [tonbit.xyz](https://www.tonbit.xyz/)
1718

1819

1920
## See Also

docs/v3/concepts/ton-blockchain/shards.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ In addition to the dynamic creation of shards, TON uses **Split Merge** function
2121

2222
## See Also
2323

24-
* [Shards Dive In](/v3/documentation/smart-contracts/shards)
25-
* [# Infinity Sharding Paradigm](/v3/documentation/smart-contracts/infinity-sharding-paradigm)
24+
* [Shards Dive In](/v3/documentation/smart-contracts/shards/shards-intro)
25+
* [# Infinity Sharding Paradigm](/v3/documentation/smart-contracts/shards/infinity-sharding-paradigm)

docs/v3/contribute/docs/schemes-guidelines.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ If the order of transactions doesn't matter, you can omit their labels. This sim
4242

4343

4444

45-
Learn references directly from Visio [message-processing.vsdx](/static/schemes-visio/message-processing.vsdx).
45+
Learn references directly from Visio [message-processing.vsdx](/schemes-visio/message-processing.vsdx).
4646

4747

4848
### Formats and Colors

docs/v3/documentation/dapps/oracles/red_stone.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To learn more about RedStone oracles design go to the [RedStone docs](https://do
1919
### price_manager.fc
2020

2121
- Sample oracle contract that consumes RedStone oracles data [price_manager.fc](https://github.com/redstone-finance/redstone-oracles-monorepo/blob/main/packages/ton-connector/contracts/price_manager.fc) written in
22-
FunC. It requires [TVM Upgrade 2023.07](v3/documentation/tvm/changelog/tvm-upgrade-2023-07).
22+
FunC. It requires [TVM Upgrade 2023.07](/v3/documentation/tvm/changelog/tvm-upgrade-2023-07).
2323

2424
#### initial data
2525

docs/v3/documentation/data-formats/tlb/tl-b-language.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import ThemedImage from '@theme/ThemedImage';
55
TL-B (Type Language - Binary) serves to describe the type system, constructors and existing functions. For example, we
66
can use TL-B schemes to build binary structures associated with TON Blockchain. Special TL-B parsers can read schemes to
77
deserialize binary data into different objects. TL-B describes data schemes for `Cell` objects. If you not familiar
8-
with `Cells`, please read [Cell & Bag of Cells(BOC)](v3/documentation/data-formats/tlb/cell-boc#cell) article.
8+
with `Cells`, please read [Cell & Bag of Cells(BOC)](/v3/documentation/data-formats/tlb/cell-boc#cell) article.
99

1010
## Overview
1111

@@ -516,7 +516,7 @@ unary_succ$1 {n:#} x:(Unary ~n) = Unary ~(n + 1);
516516
_ u:(Unary Any) = UnaryChain;
517517
```
518518

519-
This is example has good explanation in [TL-B Types](v3/documentation/data-formats/tlb/tl-b-types#unary)
519+
This is example has good explanation in [TL-B Types](/v3/documentation/data-formats/tlb/tl-b-types#unary)
520520
article. The main idea here is that `UnaryChain` will recursively deserialize until reach of `unary_zero$0` (because we
521521
know last element of `Unary X` type by definition `unary_zero$0 = Unary ~0;` and `X` is calculated in runtime
522522
due `Unary ~(n + 1)` definition).

0 commit comments

Comments
 (0)