-
Notifications
You must be signed in to change notification settings - Fork 7
/
game_of_life.abi
63 lines (63 loc) · 1.3 KB
/
game_of_life.abi
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
{
"structs": [{
"name": "remove",
"base": "",
"fields": [
{"name":"user", "type":"account_name"},
{"name":"game", "type":"name"}
]
},{
"name": "removeall",
"base": "",
"fields": [
{"name":"user", "type":"account_name"}
]
},{
"name": "create",
"base": "",
"fields": [
{"name":"user", "type":"account_name"},
{"name":"game", "type":"name"},
{"name":"num_rows", "type":"uint32"},
{"name":"num_cols", "type":"uint32"},
{"name":"seed", "type":"uint32"}
]
},{
"name": "step",
"base": "",
"fields": [
{"name":"user", "type":"account_name"},
{"name":"game", "type":"name"}
]
},{
"name": "board",
"base": "",
"fields": [
{"name":"game", "type":"name"},
{"name":"rows", "type":"string[]"}
]
}
],
"actions": [{
"name": "create",
"type": "create"
},{
"name": "remove",
"type": "remove"
},{
"name": "removeall",
"type": "removeall"
},{
"name": "step",
"type": "step"
}
],
"tables": [{
"name": "boards",
"type": "board",
"index_type": "i64",
"key_names" : ["game"],
"key_types" : ["name"]
}
]
}