ton
ton copied to clipboard
Main TON monorepo
Currently, `MERKLE_UPDATE`, stores `#04` https://github.com/ton-blockchain/ton/blob/testnet/crypto/vm/cells/CellBuilder.cpp#L144
Such TLB: ``` _ a:(## 64) b:^# = A; _ a:A = T; ``` Will generate: ``` bool skip(vm::CellSlice& cs) const override { return cs.advance_ext(0x10040); } ``` Which has arguments:...
All serializable cells MUST be declared with prefix `^` like this: `foo:^Cell`
The stdlib already has the functions `slice_empty?`, `slice_data_empty?` and `slice_refs_empty?` corresponding to "SEMPTY", "SDEMPTY" and "SREMPTY" assembly instructions. It's clear that the function name corresponding to assembly instruction 'SDEQ' should...
I checked all functions in stdlib, and all of the functions that returns a boolean have a ? suffix, except for dict_delete_get_min and dict_delete_get_max functions, which together with udict and...
Changed order of functions to match the documentation. Also replaced `cell` with `slice` in `slice_compute_data_size?` to fix it.
I tried to skip extra currencies dictionary in the message header like this: ``` cs~skip_dict(); ``` but found out that the modifying version is not in the stdlib. With current...
Add realization of `DUMPTOSFMT` op code. Now you can dump any TLB object by it's name: ``` "Asm.fif" include "TonUtil.fif" include smca 2drop Addr, b> s runvmcode ``` Result will...
Cool improvements that will help development might be: 1. Allow `int` / `uint` constraints (the more complex task can be usage of Int256 in codegen and allow them as NAT)...
https://github.com/ton-blockchain/TEPs/pull/88