Skip to content

Commit 67703f7

Browse files
author
Reuben Rodrigues
committed
WIP
1 parent 7ee83c5 commit 67703f7

File tree

2 files changed

+457
-91
lines changed

2 files changed

+457
-91
lines changed
Lines changed: 383 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,383 @@
1+
[
2+
{
3+
"anonymous": false,
4+
"inputs": [
5+
{
6+
"indexed": true,
7+
"internalType": "address",
8+
"name": "proposer",
9+
"type": "address"
10+
},
11+
{
12+
"indexed": true,
13+
"internalType": "uint256",
14+
"name": "headerBlockId",
15+
"type": "uint256"
16+
},
17+
{
18+
"indexed": true,
19+
"internalType": "uint256",
20+
"name": "reward",
21+
"type": "uint256"
22+
},
23+
{
24+
"indexed": false,
25+
"internalType": "uint256",
26+
"name": "start",
27+
"type": "uint256"
28+
},
29+
{
30+
"indexed": false,
31+
"internalType": "uint256",
32+
"name": "end",
33+
"type": "uint256"
34+
},
35+
{
36+
"indexed": false,
37+
"internalType": "bytes32",
38+
"name": "root",
39+
"type": "bytes32"
40+
}
41+
],
42+
"name": "NewHeaderBlock",
43+
"type": "event"
44+
},
45+
{
46+
"anonymous": false,
47+
"inputs": [
48+
{
49+
"indexed": true,
50+
"internalType": "address",
51+
"name": "previousOwner",
52+
"type": "address"
53+
},
54+
{
55+
"indexed": true,
56+
"internalType": "address",
57+
"name": "newOwner",
58+
"type": "address"
59+
}
60+
],
61+
"name": "OwnershipTransferred",
62+
"type": "event"
63+
},
64+
{
65+
"anonymous": false,
66+
"inputs": [
67+
{
68+
"indexed": true,
69+
"internalType": "address",
70+
"name": "proposer",
71+
"type": "address"
72+
},
73+
{
74+
"indexed": true,
75+
"internalType": "uint256",
76+
"name": "headerBlockId",
77+
"type": "uint256"
78+
}
79+
],
80+
"name": "ResetHeaderBlock",
81+
"type": "event"
82+
},
83+
{
84+
"constant": true,
85+
"inputs": [],
86+
"name": "CHAINID",
87+
"outputs": [
88+
{
89+
"internalType": "uint256",
90+
"name": "",
91+
"type": "uint256"
92+
}
93+
],
94+
"payable": false,
95+
"stateMutability": "view",
96+
"type": "function"
97+
},
98+
{
99+
"constant": true,
100+
"inputs": [],
101+
"name": "VOTE_TYPE",
102+
"outputs": [
103+
{
104+
"internalType": "uint8",
105+
"name": "",
106+
"type": "uint8"
107+
}
108+
],
109+
"payable": false,
110+
"stateMutability": "view",
111+
"type": "function"
112+
},
113+
{
114+
"constant": true,
115+
"inputs": [],
116+
"name": "_nextHeaderBlock",
117+
"outputs": [
118+
{
119+
"internalType": "uint256",
120+
"name": "",
121+
"type": "uint256"
122+
}
123+
],
124+
"payable": false,
125+
"stateMutability": "view",
126+
"type": "function"
127+
},
128+
{
129+
"constant": true,
130+
"inputs": [],
131+
"name": "currentHeaderBlock",
132+
"outputs": [
133+
{
134+
"internalType": "uint256",
135+
"name": "",
136+
"type": "uint256"
137+
}
138+
],
139+
"payable": false,
140+
"stateMutability": "view",
141+
"type": "function"
142+
},
143+
{
144+
"constant": true,
145+
"inputs": [],
146+
"name": "getLastChildBlock",
147+
"outputs": [
148+
{
149+
"internalType": "uint256",
150+
"name": "",
151+
"type": "uint256"
152+
}
153+
],
154+
"payable": false,
155+
"stateMutability": "view",
156+
"type": "function"
157+
},
158+
{
159+
"constant": true,
160+
"inputs": [
161+
{
162+
"internalType": "uint256",
163+
"name": "",
164+
"type": "uint256"
165+
}
166+
],
167+
"name": "headerBlocks",
168+
"outputs": [
169+
{
170+
"internalType": "bytes32",
171+
"name": "root",
172+
"type": "bytes32"
173+
},
174+
{
175+
"internalType": "uint256",
176+
"name": "start",
177+
"type": "uint256"
178+
},
179+
{
180+
"internalType": "uint256",
181+
"name": "end",
182+
"type": "uint256"
183+
},
184+
{
185+
"internalType": "uint256",
186+
"name": "createdAt",
187+
"type": "uint256"
188+
},
189+
{
190+
"internalType": "address",
191+
"name": "proposer",
192+
"type": "address"
193+
}
194+
],
195+
"payable": false,
196+
"stateMutability": "view",
197+
"type": "function"
198+
},
199+
{
200+
"constant": true,
201+
"inputs": [],
202+
"name": "heimdallId",
203+
"outputs": [
204+
{
205+
"internalType": "bytes32",
206+
"name": "",
207+
"type": "bytes32"
208+
}
209+
],
210+
"payable": false,
211+
"stateMutability": "view",
212+
"type": "function"
213+
},
214+
{
215+
"constant": true,
216+
"inputs": [],
217+
"name": "isOwner",
218+
"outputs": [
219+
{
220+
"internalType": "bool",
221+
"name": "",
222+
"type": "bool"
223+
}
224+
],
225+
"payable": false,
226+
"stateMutability": "view",
227+
"type": "function"
228+
},
229+
{
230+
"constant": true,
231+
"inputs": [],
232+
"name": "networkId",
233+
"outputs": [
234+
{
235+
"internalType": "bytes",
236+
"name": "",
237+
"type": "bytes"
238+
}
239+
],
240+
"payable": false,
241+
"stateMutability": "view",
242+
"type": "function"
243+
},
244+
{
245+
"constant": true,
246+
"inputs": [],
247+
"name": "owner",
248+
"outputs": [
249+
{
250+
"internalType": "address",
251+
"name": "",
252+
"type": "address"
253+
}
254+
],
255+
"payable": false,
256+
"stateMutability": "view",
257+
"type": "function"
258+
},
259+
{
260+
"constant": false,
261+
"inputs": [],
262+
"name": "renounceOwnership",
263+
"outputs": [],
264+
"payable": false,
265+
"stateMutability": "nonpayable",
266+
"type": "function"
267+
},
268+
{
269+
"constant": false,
270+
"inputs": [
271+
{
272+
"internalType": "string",
273+
"name": "_heimdallId",
274+
"type": "string"
275+
}
276+
],
277+
"name": "setHeimdallId",
278+
"outputs": [],
279+
"payable": false,
280+
"stateMutability": "nonpayable",
281+
"type": "function"
282+
},
283+
{
284+
"constant": false,
285+
"inputs": [
286+
{
287+
"internalType": "uint256",
288+
"name": "_value",
289+
"type": "uint256"
290+
}
291+
],
292+
"name": "setNextHeaderBlock",
293+
"outputs": [],
294+
"payable": false,
295+
"stateMutability": "nonpayable",
296+
"type": "function"
297+
},
298+
{
299+
"constant": false,
300+
"inputs": [],
301+
"name": "slash",
302+
"outputs": [],
303+
"payable": false,
304+
"stateMutability": "nonpayable",
305+
"type": "function"
306+
},
307+
{
308+
"constant": false,
309+
"inputs": [
310+
{
311+
"internalType": "bytes",
312+
"name": "data",
313+
"type": "bytes"
314+
},
315+
{
316+
"internalType": "uint256[3][]",
317+
"name": "sigs",
318+
"type": "uint256[3][]"
319+
}
320+
],
321+
"name": "submitCheckpoint",
322+
"outputs": [],
323+
"payable": false,
324+
"stateMutability": "nonpayable",
325+
"type": "function"
326+
},
327+
{
328+
"constant": false,
329+
"inputs": [
330+
{
331+
"internalType": "bytes",
332+
"name": "data",
333+
"type": "bytes"
334+
},
335+
{
336+
"internalType": "bytes",
337+
"name": "sigs",
338+
"type": "bytes"
339+
}
340+
],
341+
"name": "submitHeaderBlock",
342+
"outputs": [],
343+
"payable": false,
344+
"stateMutability": "nonpayable",
345+
"type": "function"
346+
},
347+
{
348+
"constant": false,
349+
"inputs": [
350+
{
351+
"internalType": "address",
352+
"name": "newOwner",
353+
"type": "address"
354+
}
355+
],
356+
"name": "transferOwnership",
357+
"outputs": [],
358+
"payable": false,
359+
"stateMutability": "nonpayable",
360+
"type": "function"
361+
},
362+
{
363+
"constant": false,
364+
"inputs": [
365+
{
366+
"internalType": "uint256",
367+
"name": "numDeposits",
368+
"type": "uint256"
369+
}
370+
],
371+
"name": "updateDepositId",
372+
"outputs": [
373+
{
374+
"internalType": "uint256",
375+
"name": "depositId",
376+
"type": "uint256"
377+
}
378+
],
379+
"payable": false,
380+
"stateMutability": "nonpayable",
381+
"type": "function"
382+
}
383+
]

0 commit comments

Comments
 (0)