-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
cryshado
committed
May 4, 2023
1 parent
754a24d
commit 3ca1f3a
Showing
5 changed files
with
88 additions
and
325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,5 @@ | |
|
||
# other | ||
.idea | ||
test.boc | ||
test.fif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
[package] | ||
name = "ever-struct" | ||
version = "0.1.0-alpha.1" | ||
version = "1.0.0" | ||
edition = "2021" | ||
authors = ["EverX Labs <[email protected]>"] | ||
repository = "https://github.com/tonlabs/ever-struct" | ||
rust-version = "1.65" | ||
license = "Apache-2.0" | ||
|
||
[dependencies] | ||
failure = '0.1.0' | ||
anyhow = "1.0.70" | ||
failure = "0.1.0" | ||
hex-literal = "0.3.4" | ||
ton_block = { git = 'https://github.com/tonlabs/ton-labs-block.git', tag = '1.9.22' } | ||
ton_types = { git = 'https://github.com/tonlabs/ton-labs-types.git', tag = '1.12.6' } | ||
|
||
ton_block = { git = 'https://github.com/tonlabs/ever-block.git', tag = '1.9.46' } | ||
ton_types = { git = 'https://github.com/tonlabs/ever-types.git', tag = '2.0.4' } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,2 @@ | ||
nothing$0 {X:Type} = Maybe X; | ||
just$1 {X:Type} value:X = Maybe X; | ||
|
||
_ (## 8) = Byte; | ||
_ Byte = Char; | ||
|
||
_ Cell = Remainder; | ||
_ Remainder = StrCont; | ||
|
||
small_str#_ len:(## 7) string:(len * [ Char ]) = SmallStr; | ||
|
||
version#_ commit:bits160 semantic:StrCont = Version; | ||
|
||
metadata#_ sold:^Version linker:^Version | ||
compiled_at:uint64 name:SmallStr | ||
desc:StrCont = Metadata; | ||
|
||
tvc_none#fa90fdb2 = TvmSmc; | ||
tvc_frst#b96aa11b code:^Cell meta:(Maybe ^Metadata) = TvmSmc; | ||
|
||
tvc#8b5f2433 tvc:TvmSmc = TVC; | ||
|
||
// crc32 <(printf "tvc_none = TvmSmc") == fa90fdb2 | ||
// crc32 <(printf "tvc_frst code:^Cell meta:Maybe ^Metadata = TvmSmc") == b96aa11b | ||
// crc32 <(printf "tvc tvc:TvmSmc = TVC") == 8b5f2433 | ||
str#_ _:(HashmapE 16 Any) = MapString; | ||
tvc#0167f70c code:^Cell desc:MapString = TVC; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.