-
Notifications
You must be signed in to change notification settings - Fork 6
/
primitives.go
64 lines (62 loc) · 1.64 KB
/
primitives.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
package consts
// Primitives
const (
OR = "or"
PAIR = "pair"
LAMBDA = "lambda"
CONTRACT = "contract"
OPTION = "option"
ADDRESS = "address"
NAT = "nat"
STRING = "string"
UNIT = "unit"
PARAMETER = "parameter"
STORAGE = "storage"
CODE = "code"
CREATECONTRACT = "create_contract"
SETDELEGATE = "set_delegate"
CHECKSIGNATURE = "check_signature"
CHAINID = "chain_id"
MAP = "map"
BIGMAP = "big_map"
SOME = "some"
LEFT = "left"
RIGHT = "right"
IF = "if"
SET = "set"
LIST = "list"
KEY = "key"
SIGNATURE = "signature"
OPERATION = "operation"
INT = "int"
BYTES = "bytes"
MUTEZ = "mutez"
BOOL = "bool"
KEYHASH = "key_hash"
TIMESTAMP = "timestamp"
PUSH = "push"
ELT = "elt"
NONE = "none"
CAST = "cast"
RENAME = "rename"
SAPLINGTRANSACTION = "sapling_transaction"
BAKERHASH = "baker_hash"
SAPLINGSTATE = "sapling_state"
NEVER = "never"
BLS12381FR = "bls12_381_fr"
BLS12381G1 = "bls12_381_g1"
BLS12381G2 = "bls12_381_g2"
TICKET = "ticket"
)
// Data instructions
const (
Pair = "Pair"
Some = "Some"
None = "None"
False = "False"
True = "True"
Elt = "Elt"
Left = "Left"
Right = "Right"
Unit = "Unit"
)