> ## Documentation Index
> Fetch the complete documentation index at: https://companyname-a7d5b98e-v2-pagination.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Whitepaper comments

Descriptions in the original [whitepapers](/foundations/whitepapers/overview) are not aligned with actual blockchain sources. This page provides clarifications and status updates for the whitepapers, highlighting features that have not been implemented and correcting descriptions of those that have been.

## TON Virtual Machine, `tvm.pdf`

### 1.3.2. List of control registers

The zero element of the `c7` tuple is an environment information (which itself is also a tuple). The remaining 255 slots are used for global variables. [`[i] SETGLOB`](/tvm/instructions#f87_-setglob) modifies `c7`, inserting an element with index `i`, [`[i] GETGLOB`](/tvm/instructions#f85_-getglob) reads `i`-th element from `c7`.

See the [TVM registers](/tvm/registers#c7-%E2%80%94-environment-information-and-global-variables) page for details.

### 4.4. Continuations as objects

Tolk implements this via [callable types](/tolk/types/callables) — first-class function values of the form `fun(...) -> ...`, including lambda expressions that capture outer-scope variables.

### 4.5.7. List of predefined exceptions

Exit code `11` is thrown by [standard function selector](/tvm/registers#c3-—-function-selector) if there is no function with given ID. Also it is thrown by [`SENDMSG`](/tvm/instructions#fb08-sendmsg) in case of invalid message.

### 5.1. Codepages and interoperability of different TVM versions

Only codepage `0` is implemented.

### A. Instructions and opcodes

Basic gas price is `10 + b`, not `10 + b + 5r`. The [TVM gas documentation](/tvm/gas) explains these details.

Provided instruction list is obsolete: use [TVM instructions](/tvm/instructions) instead.

### B.2. Step function of TVM

"Reference implementation of TVM" and codepages `-1` and `-2` are not implemented yet.

## Fift, `fiftbase.pdf`

> The dictionary is supposed to be split into several vocabularies, or namespaces; however, namespaces are not implemented yet, so all words are currently defined in the same global namespace.

Namespaces and context switching are now implemented — Fift words are defined in the default dictionary and accessible through the global namespace called `Fift`.

It is now possible to add new namespaces with the `namespace` word or switch dictionary contexts on the fly. It is also possible to define words or named constants directly under those namespaces and reference words from different namespaces:

```fift theme={"theme":{"light":"github-light-default","dark":"dark-plus"},"languages":{"custom":["/resources/grammars/tolk.tmLanguage.json","/resources/grammars/tlb.tmLanguage.json","/resources/grammars/fift.tmLanguage.json","/resources/grammars/tasm.tmLanguage.json","/resources/grammars/func.tmLanguage.json"]}}
namespace My

"a" constant a
"b" constant b
"c" constant c

a b c .s { drop } 3 times // "a" "b" "c"

My definitions
"b-my" constant b
"c-my" constant c
"d-my" constant d

a b c d .s { drop } 4 times // "a" "b-my" "c-my" "d-my"

Fift definitions
a b c .s { drop } 3 times // "a" "b-my" "c-my" "d-my"

My b My c My d .s { drop } 3 times // "b-my" "c-my" "d-my"
a b c .s { drop } 3 times // "a" "b" "c" "d"

My definitions
a b c d .s { drop } 4 times // "a" "b-my" "c-my" "d-my"
Fift a Fift b Fift c d .s { drop } 4 times // "a" "b" "c" "d-my"

Fift definitions
cr
My-wordlist @
{ drop type -1 } hmapforeach drop cr // "b " "d " "c "
```

## The Open Network, `ton.pdf`

### 2.1.3. Messages and Instant Hypercube Routing

Not implemented. Only [Hypercube Routing (HR)](https://en.wikipedia.org/wiki/Hypercube_internetwork_topology) is present.

### 2.1.6. Identification of workchains

The workchain identifier is a **signed** 32-bit integer (`int32`), not unsigned. The *masterchain* has ID `-1`, and the *basechain* has ID `0`.

### 2.1.7. Creation and activation of new workchains

The only active workchain is the basechain (ID `0`). The validator-consensus activation flow has never been exercised to add another workchain.

### 2.1.18. TON coins and multi-currency workchains

Support for `extra_currencies` has been implemented, but it is not being utilized. The [jetton smart contracts](/standard/tokens/jettons/overview) are used instead.

### 2.1.20. TON Virtual Machine

Cells up to 1023 data bits, not 128 data bytes.

### 2.2.5. TL, or the Type Language

Learn more in the [TL-B overview](/languages/tl-b/overview).

### 2.4.20. Instant Hypercube Routing: fast path for messages

Not implemented. Only [Hypercube Routing (HR)](https://en.wikipedia.org/wiki/Hypercube_internetwork_topology) is present.

### 2.6.4. Fishermen: obtaining money by pointing out others' mistakes

Not implemented.

### 4.1.9. Decentralized mixed services, or fog services

[Cocoon](https://github.com/TelegramMessenger/cocoon).

### 5. TON Payments

Partially implemented via specialized [smart contracts](https://github.com/ton-blockchain/payment-channels).
