Skip to content

Commit 534ef91

Browse files
committed
chore: update stl and vesper
1 parent 01448d0 commit 534ef91

7 files changed

+374
-385
lines changed

stl/AnchoredBundle.vesper

Lines changed: 117 additions & 119 deletions
Large diffs are not rendered by default.

stl/MerkleNode.vesper

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
MerkleNode rec
2-
branching enum NodeBranching void=0 single=1 branch=2
2+
branching enum void=0 single=1 branch=2 -- NodeBranching
33
depth is U8
44
width is U256
55
node1 bytes len=32 aka=MerkleHash

stl/[email protected]

Lines changed: 151 additions & 152 deletions
Large diffs are not rendered by default.

stl/[email protected]

-81 Bytes
Binary file not shown.

stl/[email protected]

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{-
2-
Id: urn:ubideco:stl:Hzv1xPBtQfqcGYeisvS2V9DPj1VRC5WyYfME2RtmuRpu#blitz-english-eric
2+
Id: urn:ubideco:stl:2nWgjeSMhVE2mKgC7WyE5Dn8a6tZJDMoNugDWdc4vcZZ#spring-moral-almanac
33
Name: RGB
44
Version: 0.1.0
55
Description: Consensus layer for RGB smart contracts
@@ -166,8 +166,8 @@ data ConcealedAttach : [Byte ^ 32]
166166
@mnemonic(mirage-invite-newton)
167167
data ConcealedData : [Byte ^ 32]
168168

169-
@mnemonic(window-basket-actor)
170-
data ConcealedFungible : commitment PedersenCommitment, rangeProof RangeProof
169+
@mnemonic(small-melody-empty)
170+
data ConcealedFungible : commitment PedersenCommitment, rangeProof PedersenCommitment
171171

172172
@mnemonic(beast-korea-perfect)
173173
data ContractHistory : schemaId SchemaId
@@ -265,9 +265,6 @@ data MediaType : any#255
265265
@mnemonic(moment-patriot-patron)
266266
data Metadata : [Byte]
267267

268-
@mnemonic(deal-orca-aztec)
269-
data NoiseDumb : [Byte ^ 512]
270-
271268
@mnemonic(unicorn-empire-mama)
272269
data Occurrences : min U16, max U16
273270

@@ -316,9 +313,6 @@ data OutputAssignmentVoidState : opout Opout
316313
@mnemonic(nepal-delta-earth)
317314
data PedersenCommitment : [Byte ^ 33]
318315

319-
@mnemonic(invent-stock-result)
320-
data RangeProof : placeholder#255 NoiseDumb
321-
322316
@mnemonic(scoop-press-scuba)
323317
data Redeemed : {ValencyType -> ^ ..0xff OpId}
324318

stl/Schema.vesper

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -33,74 +33,74 @@ Schema rec
3333
some is Unit option wrapped tag=1
3434
globalTypes map len=0..MAX8
3535
key is U16 aka=GlobalStateType
36-
value rec GlobalStateSchema
36+
GlobalStateSchema rec -- mapped to
3737
semId bytes len=32 aka=SemId
3838
maxItems is U16
3939
ownedTypes map len=0..MAX8
4040
key is U16 aka=AssignmentType
41-
value union StateSchema
41+
StateSchema union -- mapped to
4242
declarative is Unit tag=0
43-
fungible enum FungibleType wrapped unsigned64Bit=8 tag=1
43+
fungible enum wrapped unsigned64Bit=8 tag=1 -- FungibleType
4444
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
4646
valencyTypes set len=0..MAX8
4747
element is U16 aka=ValencyType
48-
genesis rec GenesisSchema
48+
genesis rec -- GenesisSchema
4949
metadata bytes len=32 aka=SemId
5050
globals map len=0..MAX8
5151
key is U16 aka=GlobalStateType
52-
value rec Occurrences
52+
Occurrences rec -- mapped to
5353
min is U16
5454
max is U16
5555
assignments map len=0..MAX8
5656
key is U16 aka=AssignmentType
57-
value rec Occurrences
57+
Occurrences rec -- mapped to
5858
min is U16
5959
max is U16
6060
valencies set len=0..MAX8
6161
element is U16 aka=ValencyType
6262
extensions map len=0..MAX8
6363
key is U16 aka=ExtensionType
64-
value rec ExtensionSchema
64+
ExtensionSchema rec -- mapped to
6565
metadata bytes len=32 aka=SemId
6666
globals map len=0..MAX8
6767
key is U16 aka=GlobalStateType
68-
value rec Occurrences
68+
Occurrences rec -- mapped to
6969
min is U16
7070
max is U16
7171
redeems set len=0..MAX8
7272
element is U16 aka=ValencyType
7373
assignments map len=0..MAX8
7474
key is U16 aka=AssignmentType
75-
value rec Occurrences
75+
Occurrences rec -- mapped to
7676
min is U16
7777
max is U16
7878
valencies set len=0..MAX8
7979
element is U16 aka=ValencyType
8080
transitions map len=0..MAX8
8181
key is U16 aka=TransitionType
82-
value rec TransitionSchema
82+
TransitionSchema rec -- mapped to
8383
metadata bytes len=32 aka=SemId
8484
globals map len=0..MAX8
8585
key is U16 aka=GlobalStateType
86-
value rec Occurrences
86+
Occurrences rec -- mapped to
8787
min is U16
8888
max is U16
8989
inputs map len=0..MAX8
9090
key is U16 aka=AssignmentType
91-
value rec Occurrences
91+
Occurrences rec -- mapped to
9292
min is U16
9393
max is U16
9494
assignments map len=0..MAX8
9595
key is U16 aka=AssignmentType
96-
value rec Occurrences
96+
Occurrences rec -- mapped to
9797
min is U16
9898
max is U16
9999
valencies set len=0..MAX8
100100
element is U16 aka=ValencyType
101101
typeSystem map len=0..MAX24 aka=TypeSystem
102102
key bytes len=32 aka=SemId
103-
value union TySemId
103+
TySemId union -- mapped to
104104
primitive is U8 wrapped aka=Primitive tag=0
105105
unicode is Unit tag=1
106106
enum set len=1..MAX8 wrapped aka=EnumVariants tag=2
@@ -109,7 +109,7 @@ Schema rec
109109
tag is U8
110110
union map len=0..MAX8 wrapped aka=UnionVariantsSemId tag=3
111111
key is U8
112-
value rec VariantInfoSemId
112+
VariantInfoSemId rec -- mapped to
113113
name ascii len=1..100 aka=VariantName aka=Ident charset=AlphaNumLodash
114114
ty bytes len=32 aka=SemId
115115
tuple list len=1..MAX8 wrapped aka=UnnamedFieldsSemId tag=4
@@ -137,14 +137,14 @@ Schema rec
137137
Sizing rec
138138
min is U64
139139
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
142142
libs map len=0..MAX8
143143
key bytes len=32 aka=LibId
144144
value bytes len=0..MAX16
145145
entryPoints map len=0..MAX16
146146
key bytes len=3
147-
value rec LibSite
147+
LibSite rec -- mapped to
148148
lib bytes len=32 aka=LibId
149149
pos is U16
150150

0 commit comments

Comments
 (0)