@@ -33,74 +33,74 @@ Schema rec
33
33
some is Unit option wrapped tag=1
34
34
globalTypes map len=0..MAX8
35
35
key is U16 aka=GlobalStateType
36
- value rec GlobalStateSchema
36
+ GlobalStateSchema rec -- mapped to
37
37
semId bytes len=32 aka=SemId
38
38
maxItems is U16
39
39
ownedTypes map len=0..MAX8
40
40
key is U16 aka=AssignmentType
41
- value union StateSchema
41
+ StateSchema union -- mapped to
42
42
declarative is Unit tag=0
43
- fungible enum FungibleType wrapped unsigned64Bit=8 tag=1
43
+ fungible enum wrapped unsigned64Bit=8 tag=1 -- FungibleType
44
44
structured bytes len=32 wrapped aka=SemId tag=2
45
- attachment enum MediaType wrapped any=255 tag=3
45
+ attachment enum wrapped any=255 tag=3 -- MediaType
46
46
valencyTypes set len=0..MAX8
47
47
element is U16 aka=ValencyType
48
- genesis rec GenesisSchema
48
+ genesis rec -- GenesisSchema
49
49
metadata bytes len=32 aka=SemId
50
50
globals map len=0..MAX8
51
51
key is U16 aka=GlobalStateType
52
- value rec Occurrences
52
+ Occurrences rec -- mapped to
53
53
min is U16
54
54
max is U16
55
55
assignments map len=0..MAX8
56
56
key is U16 aka=AssignmentType
57
- value rec Occurrences
57
+ Occurrences rec -- mapped to
58
58
min is U16
59
59
max is U16
60
60
valencies set len=0..MAX8
61
61
element is U16 aka=ValencyType
62
62
extensions map len=0..MAX8
63
63
key is U16 aka=ExtensionType
64
- value rec ExtensionSchema
64
+ ExtensionSchema rec -- mapped to
65
65
metadata bytes len=32 aka=SemId
66
66
globals map len=0..MAX8
67
67
key is U16 aka=GlobalStateType
68
- value rec Occurrences
68
+ Occurrences rec -- mapped to
69
69
min is U16
70
70
max is U16
71
71
redeems set len=0..MAX8
72
72
element is U16 aka=ValencyType
73
73
assignments map len=0..MAX8
74
74
key is U16 aka=AssignmentType
75
- value rec Occurrences
75
+ Occurrences rec -- mapped to
76
76
min is U16
77
77
max is U16
78
78
valencies set len=0..MAX8
79
79
element is U16 aka=ValencyType
80
80
transitions map len=0..MAX8
81
81
key is U16 aka=TransitionType
82
- value rec TransitionSchema
82
+ TransitionSchema rec -- mapped to
83
83
metadata bytes len=32 aka=SemId
84
84
globals map len=0..MAX8
85
85
key is U16 aka=GlobalStateType
86
- value rec Occurrences
86
+ Occurrences rec -- mapped to
87
87
min is U16
88
88
max is U16
89
89
inputs map len=0..MAX8
90
90
key is U16 aka=AssignmentType
91
- value rec Occurrences
91
+ Occurrences rec -- mapped to
92
92
min is U16
93
93
max is U16
94
94
assignments map len=0..MAX8
95
95
key is U16 aka=AssignmentType
96
- value rec Occurrences
96
+ Occurrences rec -- mapped to
97
97
min is U16
98
98
max is U16
99
99
valencies set len=0..MAX8
100
100
element is U16 aka=ValencyType
101
101
typeSystem map len=0..MAX24 aka=TypeSystem
102
102
key bytes len=32 aka=SemId
103
- value union TySemId
103
+ TySemId union -- mapped to
104
104
primitive is U8 wrapped aka=Primitive tag=0
105
105
unicode is Unit tag=1
106
106
enum set len=1..MAX8 wrapped aka=EnumVariants tag=2
@@ -109,7 +109,7 @@ Schema rec
109
109
tag is U8
110
110
union map len=0..MAX8 wrapped aka=UnionVariantsSemId tag=3
111
111
key is U8
112
- value rec VariantInfoSemId
112
+ VariantInfoSemId rec -- mapped to
113
113
name ascii len=1..100 aka=VariantName aka=Ident charset=AlphaNumLodash
114
114
ty bytes len=32 aka=SemId
115
115
tuple list len=1..MAX8 wrapped aka=UnnamedFieldsSemId tag=4
@@ -137,14 +137,14 @@ Schema rec
137
137
Sizing rec
138
138
min is U64
139
139
max is U64
140
- script union Script
141
- aluVm rec AluScript wrapped tag=0
140
+ script union -- Script
141
+ aluVm rec wrapped tag=0 -- AluScript
142
142
libs map len=0..MAX8
143
143
key bytes len=32 aka=LibId
144
144
value bytes len=0..MAX16
145
145
entryPoints map len=0..MAX16
146
146
key bytes len=3
147
- value rec LibSite
147
+ LibSite rec -- mapped to
148
148
lib bytes len=32 aka=LibId
149
149
pos is U16
150
150
0 commit comments