Skip to content

Commit 424e818

Browse files
author
moonman369
committed
10.4.22-2
1 parent 238b8a0 commit 424e818

17 files changed

+541811
-19
lines changed

artifacts/ZombieFactory.json

+247
Large diffs are not rendered by default.

artifacts/ZombieFactory_metadata.json

+235
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,235 @@
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+
}

artifacts/ZombieHelper.json

+39-16
Large diffs are not rendered by default.

artifacts/ZombieHelper_metadata.json

+24-3
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,27 @@
149149
"stateMutability": "nonpayable",
150150
"type": "function"
151151
},
152+
{
153+
"constant": true,
154+
"inputs": [
155+
{
156+
"internalType": "address",
157+
"name": "_owner",
158+
"type": "address"
159+
}
160+
],
161+
"name": "getZombiesByOwner",
162+
"outputs": [
163+
{
164+
"internalType": "uint256[]",
165+
"name": "",
166+
"type": "uint256[]"
167+
}
168+
],
169+
"payable": false,
170+
"stateMutability": "view",
171+
"type": "function"
172+
},
152173
{
153174
"constant": true,
154175
"inputs": [],
@@ -338,10 +359,10 @@
338359
]
339360
},
340361
"zombiehelper.sol": {
341-
"keccak256": "0xa9fc933714000247f7bf83a7791b5cd63ebbfb1936525e04f3eefb9d59d53fe8",
362+
"keccak256": "0xfd570ce178cfac15ea4d5b01b8b54eb52cfc986b990f1073a0a955d723ecb555",
342363
"urls": [
343-
"bzz-raw://38945a9fd62ba077a89cc7e899fef7dbd933c440369d48bb1dfba48596955828",
344-
"dweb:/ipfs/QmWxs62XPfUYkKSh3615uy5gLYxbDaZmSmLBMdoR2nwgau"
364+
"bzz-raw://faab00f008c68ad4f8c393bb456a47f1537c8dd76dfdd5f048bf34e5836218cf",
365+
"dweb:/ipfs/QmW4Zj3rtstdbYiyeyh7Ysdv8kCFTYNqgo4NWs3LGnmnPT"
345366
]
346367
}
347368
},

0 commit comments

Comments
 (0)