1
+ {
2
+ "compiler" : {
3
+ "version" : " 0.5.17+commit.d19bba13"
4
+ },
5
+ "language" : " Solidity" ,
6
+ "output" : {
7
+ "abi" : [
8
+ {
9
+ "anonymous" : false ,
10
+ "inputs" : [
11
+ {
12
+ "indexed" : false ,
13
+ "internalType" : " uint256" ,
14
+ "name" : " zombieId" ,
15
+ "type" : " uint256"
16
+ },
17
+ {
18
+ "indexed" : false ,
19
+ "internalType" : " string" ,
20
+ "name" : " name" ,
21
+ "type" : " string"
22
+ },
23
+ {
24
+ "indexed" : false ,
25
+ "internalType" : " uint256" ,
26
+ "name" : " dna" ,
27
+ "type" : " uint256"
28
+ }
29
+ ],
30
+ "name" : " NewZombie" ,
31
+ "type" : " event"
32
+ },
33
+ {
34
+ "anonymous" : false ,
35
+ "inputs" : [
36
+ {
37
+ "indexed" : true ,
38
+ "internalType" : " address" ,
39
+ "name" : " previousOwner" ,
40
+ "type" : " address"
41
+ },
42
+ {
43
+ "indexed" : true ,
44
+ "internalType" : " address" ,
45
+ "name" : " newOwner" ,
46
+ "type" : " address"
47
+ }
48
+ ],
49
+ "name" : " OwnershipTransferred" ,
50
+ "type" : " event"
51
+ },
52
+ {
53
+ "constant" : false ,
54
+ "inputs" : [
55
+ {
56
+ "internalType" : " string" ,
57
+ "name" : " _name" ,
58
+ "type" : " string"
59
+ }
60
+ ],
61
+ "name" : " createRandomZombie" ,
62
+ "outputs" : [],
63
+ "payable" : false ,
64
+ "stateMutability" : " nonpayable" ,
65
+ "type" : " function"
66
+ },
67
+ {
68
+ "constant" : true ,
69
+ "inputs" : [],
70
+ "name" : " isOwner" ,
71
+ "outputs" : [
72
+ {
73
+ "internalType" : " bool" ,
74
+ "name" : " " ,
75
+ "type" : " bool"
76
+ }
77
+ ],
78
+ "payable" : false ,
79
+ "stateMutability" : " view" ,
80
+ "type" : " function"
81
+ },
82
+ {
83
+ "constant" : true ,
84
+ "inputs" : [],
85
+ "name" : " owner" ,
86
+ "outputs" : [
87
+ {
88
+ "internalType" : " address" ,
89
+ "name" : " " ,
90
+ "type" : " address"
91
+ }
92
+ ],
93
+ "payable" : false ,
94
+ "stateMutability" : " view" ,
95
+ "type" : " function"
96
+ },
97
+ {
98
+ "constant" : false ,
99
+ "inputs" : [],
100
+ "name" : " renounceOwnership" ,
101
+ "outputs" : [],
102
+ "payable" : false ,
103
+ "stateMutability" : " nonpayable" ,
104
+ "type" : " function"
105
+ },
106
+ {
107
+ "constant" : false ,
108
+ "inputs" : [
109
+ {
110
+ "internalType" : " address" ,
111
+ "name" : " newOwner" ,
112
+ "type" : " address"
113
+ }
114
+ ],
115
+ "name" : " transferOwnership" ,
116
+ "outputs" : [],
117
+ "payable" : false ,
118
+ "stateMutability" : " nonpayable" ,
119
+ "type" : " function"
120
+ },
121
+ {
122
+ "constant" : true ,
123
+ "inputs" : [
124
+ {
125
+ "internalType" : " uint256" ,
126
+ "name" : " " ,
127
+ "type" : " uint256"
128
+ }
129
+ ],
130
+ "name" : " zombieToOwner" ,
131
+ "outputs" : [
132
+ {
133
+ "internalType" : " address" ,
134
+ "name" : " " ,
135
+ "type" : " address"
136
+ }
137
+ ],
138
+ "payable" : false ,
139
+ "stateMutability" : " view" ,
140
+ "type" : " function"
141
+ },
142
+ {
143
+ "constant" : true ,
144
+ "inputs" : [
145
+ {
146
+ "internalType" : " uint256" ,
147
+ "name" : " " ,
148
+ "type" : " uint256"
149
+ }
150
+ ],
151
+ "name" : " zombies" ,
152
+ "outputs" : [
153
+ {
154
+ "internalType" : " string" ,
155
+ "name" : " name" ,
156
+ "type" : " string"
157
+ },
158
+ {
159
+ "internalType" : " uint256" ,
160
+ "name" : " dna" ,
161
+ "type" : " uint256"
162
+ },
163
+ {
164
+ "internalType" : " uint32" ,
165
+ "name" : " level" ,
166
+ "type" : " uint32"
167
+ },
168
+ {
169
+ "internalType" : " uint32" ,
170
+ "name" : " readyTime" ,
171
+ "type" : " uint32"
172
+ }
173
+ ],
174
+ "payable" : false ,
175
+ "stateMutability" : " view" ,
176
+ "type" : " function"
177
+ }
178
+ ],
179
+ "devdoc" : {
180
+ "methods" : {
181
+ "isOwner()" : {
182
+ "return" : " true if `msg.sender` is the owner of the contract."
183
+ },
184
+ "owner()" : {
185
+ "return" : " the address of the owner."
186
+ },
187
+ "renounceOwnership()" : {
188
+ "details" : " Allows the current owner to relinquish control of the contract."
189
+ },
190
+ "transferOwnership(address)" : {
191
+ "details" : " Allows the current owner to transfer control of the contract to a newOwner." ,
192
+ "params" : {
193
+ "newOwner" : " The address to transfer ownership to."
194
+ }
195
+ }
196
+ }
197
+ },
198
+ "userdoc" : {
199
+ "methods" : {
200
+ "renounceOwnership()" : {
201
+ "notice" : " Renouncing to ownership will leave the contract without an owner. It will not be possible to call the functions with the `onlyOwner` modifier anymore."
202
+ }
203
+ }
204
+ }
205
+ },
206
+ "settings" : {
207
+ "compilationTarget" : {
208
+ "zombiefactory.sol" : " ZombieFactory"
209
+ },
210
+ "evmVersion" : " istanbul" ,
211
+ "libraries" : {},
212
+ "optimizer" : {
213
+ "enabled" : false ,
214
+ "runs" : 200
215
+ },
216
+ "remappings" : []
217
+ },
218
+ "sources" : {
219
+ "ownable.sol" : {
220
+ "keccak256" : " 0x3975d7bc1eed490de45aea9989ef691dc5cbe6fbde88cde80f1b570825a0f198" ,
221
+ "urls" : [
222
+ " bzz-raw://78f615823cde88d4d5e3d07cda3cfad7f0bc57ff6ea5f0900a24b0c642cc80b1" ,
223
+ " dweb:/ipfs/QmR1UAo7Ym95oG2sXf84HpE1pH7F6Aeah8ruZPt4CMfWMg"
224
+ ]
225
+ },
226
+ "zombiefactory.sol" : {
227
+ "keccak256" : " 0xb2e81ab84c6f56aa01bbcdb3439477e87b57b9899867aec8327cec60926b65d6" ,
228
+ "urls" : [
229
+ " bzz-raw://3c110905a46e4f85a65dd216315e7bbb4f8fba9e8cd7ae0262435315e6afec2a" ,
230
+ " dweb:/ipfs/Qmc4eqY6pMMtXeM5tMMe6xpJh5UBackCqPWHmQqhnMJqvz"
231
+ ]
232
+ }
233
+ },
234
+ "version" : 1
235
+ }
0 commit comments