genlayer-js 0.18.2 → 0.18.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/chains/index.cjs +2 -2
- package/dist/chains/index.d.cts +2 -2
- package/dist/chains/index.d.ts +2 -2
- package/dist/chains/index.js +1 -1
- package/dist/{chains-BYSCF33g.d.cts → chains-BIe_Q0mF.d.cts} +1 -0
- package/dist/{chains-BYSCF33g.d.ts → chains-BIe_Q0mF.d.ts} +1 -0
- package/dist/{chunk-GEN4SJ6K.js → chunk-NO75TOQL.js} +3 -0
- package/dist/{chunk-ZKBMABRA.cjs → chunk-SMGWE7OH.cjs} +3 -0
- package/dist/{index-Rls_T310.d.ts → index-B2AY6_eD.d.ts} +1 -1
- package/dist/{index-tixobC8m.d.cts → index-BYma5s90.d.cts} +1 -1
- package/dist/{index-DCzgdyMa.d.ts → index-BpFWfpio.d.ts} +1 -1
- package/dist/{index-Bw-kn7CF.d.cts → index-C5zeayBB.d.cts} +1 -1
- package/dist/index.cjs +16 -16
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/chains/localnet.ts +1 -0
- package/src/chains/studionet.ts +1 -0
- package/src/chains/testnetAsimov.ts +875 -874
- package/src/contracts/actions.ts +2 -2
- package/src/transactions/actions.ts +6 -8
- package/src/types/chains.ts +1 -0
- package/tests/client.test.ts +26 -0
|
@@ -10,126 +10,126 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
10
10
|
{
|
|
11
11
|
inputs: [],
|
|
12
12
|
name: "AccessControlBadConfirmation",
|
|
13
|
-
type: "error"
|
|
13
|
+
type: "error",
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
inputs: [
|
|
17
17
|
{
|
|
18
18
|
internalType: "address",
|
|
19
19
|
name: "account",
|
|
20
|
-
type: "address"
|
|
20
|
+
type: "address",
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
internalType: "bytes32",
|
|
24
24
|
name: "neededRole",
|
|
25
|
-
type: "bytes32"
|
|
26
|
-
}
|
|
25
|
+
type: "bytes32",
|
|
26
|
+
},
|
|
27
27
|
],
|
|
28
28
|
name: "AccessControlUnauthorizedAccount",
|
|
29
|
-
type: "error"
|
|
29
|
+
type: "error",
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
inputs: [],
|
|
33
33
|
name: "CallerNotMessages",
|
|
34
|
-
type: "error"
|
|
34
|
+
type: "error",
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
inputs: [],
|
|
38
38
|
name: "CanNotAppeal",
|
|
39
|
-
type: "error"
|
|
39
|
+
type: "error",
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
inputs: [],
|
|
43
43
|
name: "EmptyTransaction",
|
|
44
|
-
type: "error"
|
|
44
|
+
type: "error",
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
inputs: [],
|
|
48
48
|
name: "FinalizationNotAllowed",
|
|
49
|
-
type: "error"
|
|
49
|
+
type: "error",
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
inputs: [],
|
|
53
53
|
name: "InvalidAddress",
|
|
54
|
-
type: "error"
|
|
54
|
+
type: "error",
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
inputs: [],
|
|
58
58
|
name: "InvalidGhostContract",
|
|
59
|
-
type: "error"
|
|
59
|
+
type: "error",
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
inputs: [],
|
|
63
63
|
name: "InvalidInitialization",
|
|
64
|
-
type: "error"
|
|
64
|
+
type: "error",
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
inputs: [],
|
|
68
68
|
name: "InvalidVote",
|
|
69
|
-
type: "error"
|
|
69
|
+
type: "error",
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
inputs: [],
|
|
73
73
|
name: "MaxNumOfIterationsInPendingQueueReached",
|
|
74
|
-
type: "error"
|
|
74
|
+
type: "error",
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
inputs: [
|
|
78
78
|
{
|
|
79
79
|
internalType: "uint256",
|
|
80
80
|
name: "numOfMessages",
|
|
81
|
-
type: "uint256"
|
|
81
|
+
type: "uint256",
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
84
|
internalType: "uint256",
|
|
85
85
|
name: "maxAllocatedMessages",
|
|
86
|
-
type: "uint256"
|
|
87
|
-
}
|
|
86
|
+
type: "uint256",
|
|
87
|
+
},
|
|
88
88
|
],
|
|
89
89
|
name: "MaxNumOfMessagesExceeded",
|
|
90
|
-
type: "error"
|
|
90
|
+
type: "error",
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
93
|
inputs: [],
|
|
94
94
|
name: "NonGenVMContract",
|
|
95
|
-
type: "error"
|
|
95
|
+
type: "error",
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
98
|
inputs: [],
|
|
99
99
|
name: "NotInitializing",
|
|
100
|
-
type: "error"
|
|
100
|
+
type: "error",
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
103
|
inputs: [
|
|
104
104
|
{
|
|
105
105
|
internalType: "address",
|
|
106
106
|
name: "owner",
|
|
107
|
-
type: "address"
|
|
108
|
-
}
|
|
107
|
+
type: "address",
|
|
108
|
+
},
|
|
109
109
|
],
|
|
110
110
|
name: "OwnableInvalidOwner",
|
|
111
|
-
type: "error"
|
|
111
|
+
type: "error",
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
114
|
inputs: [
|
|
115
115
|
{
|
|
116
116
|
internalType: "address",
|
|
117
117
|
name: "account",
|
|
118
|
-
type: "address"
|
|
119
|
-
}
|
|
118
|
+
type: "address",
|
|
119
|
+
},
|
|
120
120
|
],
|
|
121
121
|
name: "OwnableUnauthorizedAccount",
|
|
122
|
-
type: "error"
|
|
122
|
+
type: "error",
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
inputs: [],
|
|
126
126
|
name: "ReentrancyGuardReentrantCall",
|
|
127
|
-
type: "error"
|
|
127
|
+
type: "error",
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
inputs: [],
|
|
131
131
|
name: "TransactionNotAtPendingQueueHead",
|
|
132
|
-
type: "error"
|
|
132
|
+
type: "error",
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
135
|
anonymous: false,
|
|
@@ -138,29 +138,29 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
138
138
|
indexed: true,
|
|
139
139
|
internalType: "bytes32",
|
|
140
140
|
name: "txId",
|
|
141
|
-
type: "bytes32"
|
|
141
|
+
type: "bytes32",
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
144
|
indexed: true,
|
|
145
145
|
internalType: "address",
|
|
146
146
|
name: "appealer",
|
|
147
|
-
type: "address"
|
|
147
|
+
type: "address",
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
150
|
indexed: false,
|
|
151
151
|
internalType: "uint256",
|
|
152
152
|
name: "appealBond",
|
|
153
|
-
type: "uint256"
|
|
153
|
+
type: "uint256",
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
indexed: false,
|
|
157
157
|
internalType: "address[]",
|
|
158
158
|
name: "appealValidators",
|
|
159
|
-
type: "address[]"
|
|
160
|
-
}
|
|
159
|
+
type: "address[]",
|
|
160
|
+
},
|
|
161
161
|
],
|
|
162
162
|
name: "AppealStarted",
|
|
163
|
-
type: "event"
|
|
163
|
+
type: "event",
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
anonymous: false,
|
|
@@ -169,23 +169,23 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
169
169
|
indexed: true,
|
|
170
170
|
internalType: "bytes32",
|
|
171
171
|
name: "txId",
|
|
172
|
-
type: "bytes32"
|
|
172
|
+
type: "bytes32",
|
|
173
173
|
},
|
|
174
174
|
{
|
|
175
175
|
indexed: true,
|
|
176
176
|
internalType: "address",
|
|
177
177
|
name: "recipient",
|
|
178
|
-
type: "address"
|
|
178
|
+
type: "address",
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
181
|
indexed: false,
|
|
182
182
|
internalType: "bytes",
|
|
183
183
|
name: "data",
|
|
184
|
-
type: "bytes"
|
|
185
|
-
}
|
|
184
|
+
type: "bytes",
|
|
185
|
+
},
|
|
186
186
|
],
|
|
187
187
|
name: "ErrorMessage",
|
|
188
|
-
type: "event"
|
|
188
|
+
type: "event",
|
|
189
189
|
},
|
|
190
190
|
{
|
|
191
191
|
anonymous: false,
|
|
@@ -194,53 +194,53 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
194
194
|
indexed: false,
|
|
195
195
|
internalType: "address",
|
|
196
196
|
name: "ghostFactory",
|
|
197
|
-
type: "address"
|
|
197
|
+
type: "address",
|
|
198
198
|
},
|
|
199
199
|
{
|
|
200
200
|
indexed: false,
|
|
201
201
|
internalType: "address",
|
|
202
202
|
name: "genManager",
|
|
203
|
-
type: "address"
|
|
203
|
+
type: "address",
|
|
204
204
|
},
|
|
205
205
|
{
|
|
206
206
|
indexed: false,
|
|
207
207
|
internalType: "address",
|
|
208
208
|
name: "genTransactions",
|
|
209
|
-
type: "address"
|
|
209
|
+
type: "address",
|
|
210
210
|
},
|
|
211
211
|
{
|
|
212
212
|
indexed: false,
|
|
213
213
|
internalType: "address",
|
|
214
214
|
name: "genQueue",
|
|
215
|
-
type: "address"
|
|
215
|
+
type: "address",
|
|
216
216
|
},
|
|
217
217
|
{
|
|
218
218
|
indexed: false,
|
|
219
219
|
internalType: "address",
|
|
220
220
|
name: "genStaking",
|
|
221
|
-
type: "address"
|
|
221
|
+
type: "address",
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
224
|
indexed: false,
|
|
225
225
|
internalType: "address",
|
|
226
226
|
name: "genMessages",
|
|
227
|
-
type: "address"
|
|
227
|
+
type: "address",
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
230
|
indexed: false,
|
|
231
231
|
internalType: "address",
|
|
232
232
|
name: "idleness",
|
|
233
|
-
type: "address"
|
|
233
|
+
type: "address",
|
|
234
234
|
},
|
|
235
235
|
{
|
|
236
236
|
indexed: false,
|
|
237
237
|
internalType: "address",
|
|
238
238
|
name: "tribunalAppeal",
|
|
239
|
-
type: "address"
|
|
240
|
-
}
|
|
239
|
+
type: "address",
|
|
240
|
+
},
|
|
241
241
|
],
|
|
242
242
|
name: "ExternalContractsSet",
|
|
243
|
-
type: "event"
|
|
243
|
+
type: "event",
|
|
244
244
|
},
|
|
245
245
|
{
|
|
246
246
|
anonymous: false,
|
|
@@ -249,11 +249,11 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
249
249
|
indexed: false,
|
|
250
250
|
internalType: "uint64",
|
|
251
251
|
name: "version",
|
|
252
|
-
type: "uint64"
|
|
253
|
-
}
|
|
252
|
+
type: "uint64",
|
|
253
|
+
},
|
|
254
254
|
],
|
|
255
255
|
name: "Initialized",
|
|
256
|
-
type: "event"
|
|
256
|
+
type: "event",
|
|
257
257
|
},
|
|
258
258
|
{
|
|
259
259
|
anonymous: false,
|
|
@@ -262,23 +262,23 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
262
262
|
indexed: true,
|
|
263
263
|
internalType: "bytes32",
|
|
264
264
|
name: "txId",
|
|
265
|
-
type: "bytes32"
|
|
265
|
+
type: "bytes32",
|
|
266
266
|
},
|
|
267
267
|
{
|
|
268
268
|
indexed: true,
|
|
269
269
|
internalType: "address",
|
|
270
270
|
name: "recipient",
|
|
271
|
-
type: "address"
|
|
271
|
+
type: "address",
|
|
272
272
|
},
|
|
273
273
|
{
|
|
274
274
|
indexed: true,
|
|
275
275
|
internalType: "address",
|
|
276
276
|
name: "activator",
|
|
277
|
-
type: "address"
|
|
278
|
-
}
|
|
277
|
+
type: "address",
|
|
278
|
+
},
|
|
279
279
|
],
|
|
280
280
|
name: "InternalMessageProcessed",
|
|
281
|
-
type: "event"
|
|
281
|
+
type: "event",
|
|
282
282
|
},
|
|
283
283
|
{
|
|
284
284
|
anonymous: false,
|
|
@@ -287,23 +287,23 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
287
287
|
indexed: true,
|
|
288
288
|
internalType: "bytes32",
|
|
289
289
|
name: "txId",
|
|
290
|
-
type: "bytes32"
|
|
290
|
+
type: "bytes32",
|
|
291
291
|
},
|
|
292
292
|
{
|
|
293
293
|
indexed: true,
|
|
294
294
|
internalType: "address",
|
|
295
295
|
name: "recipient",
|
|
296
|
-
type: "address"
|
|
296
|
+
type: "address",
|
|
297
297
|
},
|
|
298
298
|
{
|
|
299
299
|
indexed: true,
|
|
300
300
|
internalType: "address",
|
|
301
301
|
name: "activator",
|
|
302
|
-
type: "address"
|
|
303
|
-
}
|
|
302
|
+
type: "address",
|
|
303
|
+
},
|
|
304
304
|
],
|
|
305
305
|
name: "NewTransaction",
|
|
306
|
-
type: "event"
|
|
306
|
+
type: "event",
|
|
307
307
|
},
|
|
308
308
|
{
|
|
309
309
|
anonymous: false,
|
|
@@ -312,17 +312,17 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
312
312
|
indexed: true,
|
|
313
313
|
internalType: "address",
|
|
314
314
|
name: "previousOwner",
|
|
315
|
-
type: "address"
|
|
315
|
+
type: "address",
|
|
316
316
|
},
|
|
317
317
|
{
|
|
318
318
|
indexed: true,
|
|
319
319
|
internalType: "address",
|
|
320
320
|
name: "newOwner",
|
|
321
|
-
type: "address"
|
|
322
|
-
}
|
|
321
|
+
type: "address",
|
|
322
|
+
},
|
|
323
323
|
],
|
|
324
324
|
name: "OwnershipTransferStarted",
|
|
325
|
-
type: "event"
|
|
325
|
+
type: "event",
|
|
326
326
|
},
|
|
327
327
|
{
|
|
328
328
|
anonymous: false,
|
|
@@ -331,17 +331,17 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
331
331
|
indexed: true,
|
|
332
332
|
internalType: "address",
|
|
333
333
|
name: "previousOwner",
|
|
334
|
-
type: "address"
|
|
334
|
+
type: "address",
|
|
335
335
|
},
|
|
336
336
|
{
|
|
337
337
|
indexed: true,
|
|
338
338
|
internalType: "address",
|
|
339
339
|
name: "newOwner",
|
|
340
|
-
type: "address"
|
|
341
|
-
}
|
|
340
|
+
type: "address",
|
|
341
|
+
},
|
|
342
342
|
],
|
|
343
343
|
name: "OwnershipTransferred",
|
|
344
|
-
type: "event"
|
|
344
|
+
type: "event",
|
|
345
345
|
},
|
|
346
346
|
{
|
|
347
347
|
anonymous: false,
|
|
@@ -350,23 +350,23 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
350
350
|
indexed: true,
|
|
351
351
|
internalType: "bytes32",
|
|
352
352
|
name: "role",
|
|
353
|
-
type: "bytes32"
|
|
353
|
+
type: "bytes32",
|
|
354
354
|
},
|
|
355
355
|
{
|
|
356
356
|
indexed: true,
|
|
357
357
|
internalType: "bytes32",
|
|
358
358
|
name: "previousAdminRole",
|
|
359
|
-
type: "bytes32"
|
|
359
|
+
type: "bytes32",
|
|
360
360
|
},
|
|
361
361
|
{
|
|
362
362
|
indexed: true,
|
|
363
363
|
internalType: "bytes32",
|
|
364
364
|
name: "newAdminRole",
|
|
365
|
-
type: "bytes32"
|
|
366
|
-
}
|
|
365
|
+
type: "bytes32",
|
|
366
|
+
},
|
|
367
367
|
],
|
|
368
368
|
name: "RoleAdminChanged",
|
|
369
|
-
type: "event"
|
|
369
|
+
type: "event",
|
|
370
370
|
},
|
|
371
371
|
{
|
|
372
372
|
anonymous: false,
|
|
@@ -375,23 +375,23 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
375
375
|
indexed: true,
|
|
376
376
|
internalType: "bytes32",
|
|
377
377
|
name: "role",
|
|
378
|
-
type: "bytes32"
|
|
378
|
+
type: "bytes32",
|
|
379
379
|
},
|
|
380
380
|
{
|
|
381
381
|
indexed: true,
|
|
382
382
|
internalType: "address",
|
|
383
383
|
name: "account",
|
|
384
|
-
type: "address"
|
|
384
|
+
type: "address",
|
|
385
385
|
},
|
|
386
386
|
{
|
|
387
387
|
indexed: true,
|
|
388
388
|
internalType: "address",
|
|
389
389
|
name: "sender",
|
|
390
|
-
type: "address"
|
|
391
|
-
}
|
|
390
|
+
type: "address",
|
|
391
|
+
},
|
|
392
392
|
],
|
|
393
393
|
name: "RoleGranted",
|
|
394
|
-
type: "event"
|
|
394
|
+
type: "event",
|
|
395
395
|
},
|
|
396
396
|
{
|
|
397
397
|
anonymous: false,
|
|
@@ -400,23 +400,23 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
400
400
|
indexed: true,
|
|
401
401
|
internalType: "bytes32",
|
|
402
402
|
name: "role",
|
|
403
|
-
type: "bytes32"
|
|
403
|
+
type: "bytes32",
|
|
404
404
|
},
|
|
405
405
|
{
|
|
406
406
|
indexed: true,
|
|
407
407
|
internalType: "address",
|
|
408
408
|
name: "account",
|
|
409
|
-
type: "address"
|
|
409
|
+
type: "address",
|
|
410
410
|
},
|
|
411
411
|
{
|
|
412
412
|
indexed: true,
|
|
413
413
|
internalType: "address",
|
|
414
414
|
name: "sender",
|
|
415
|
-
type: "address"
|
|
416
|
-
}
|
|
415
|
+
type: "address",
|
|
416
|
+
},
|
|
417
417
|
],
|
|
418
418
|
name: "RoleRevoked",
|
|
419
|
-
type: "event"
|
|
419
|
+
type: "event",
|
|
420
420
|
},
|
|
421
421
|
{
|
|
422
422
|
anonymous: false,
|
|
@@ -425,17 +425,17 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
425
425
|
indexed: true,
|
|
426
426
|
internalType: "bytes32",
|
|
427
427
|
name: "txId",
|
|
428
|
-
type: "bytes32"
|
|
428
|
+
type: "bytes32",
|
|
429
429
|
},
|
|
430
430
|
{
|
|
431
431
|
indexed: true,
|
|
432
432
|
internalType: "address",
|
|
433
433
|
name: "sender",
|
|
434
|
-
type: "address"
|
|
435
|
-
}
|
|
434
|
+
type: "address",
|
|
435
|
+
},
|
|
436
436
|
],
|
|
437
437
|
name: "SlashAppealSubmitted",
|
|
438
|
-
type: "event"
|
|
438
|
+
type: "event",
|
|
439
439
|
},
|
|
440
440
|
{
|
|
441
441
|
anonymous: false,
|
|
@@ -444,11 +444,11 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
444
444
|
indexed: true,
|
|
445
445
|
internalType: "bytes32",
|
|
446
446
|
name: "tx_id",
|
|
447
|
-
type: "bytes32"
|
|
448
|
-
}
|
|
447
|
+
type: "bytes32",
|
|
448
|
+
},
|
|
449
449
|
],
|
|
450
450
|
name: "TransactionAccepted",
|
|
451
|
-
type: "event"
|
|
451
|
+
type: "event",
|
|
452
452
|
},
|
|
453
453
|
{
|
|
454
454
|
anonymous: false,
|
|
@@ -457,17 +457,17 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
457
457
|
indexed: true,
|
|
458
458
|
internalType: "bytes32",
|
|
459
459
|
name: "txId",
|
|
460
|
-
type: "bytes32"
|
|
460
|
+
type: "bytes32",
|
|
461
461
|
},
|
|
462
462
|
{
|
|
463
463
|
indexed: true,
|
|
464
464
|
internalType: "address",
|
|
465
465
|
name: "leader",
|
|
466
|
-
type: "address"
|
|
467
|
-
}
|
|
466
|
+
type: "address",
|
|
467
|
+
},
|
|
468
468
|
],
|
|
469
469
|
name: "TransactionActivated",
|
|
470
|
-
type: "event"
|
|
470
|
+
type: "event",
|
|
471
471
|
},
|
|
472
472
|
{
|
|
473
473
|
anonymous: false,
|
|
@@ -476,17 +476,17 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
476
476
|
indexed: true,
|
|
477
477
|
internalType: "bytes32",
|
|
478
478
|
name: "txId",
|
|
479
|
-
type: "bytes32"
|
|
479
|
+
type: "bytes32",
|
|
480
480
|
},
|
|
481
481
|
{
|
|
482
482
|
indexed: true,
|
|
483
483
|
internalType: "address",
|
|
484
484
|
name: "sender",
|
|
485
|
-
type: "address"
|
|
486
|
-
}
|
|
485
|
+
type: "address",
|
|
486
|
+
},
|
|
487
487
|
],
|
|
488
488
|
name: "TransactionCancelled",
|
|
489
|
-
type: "event"
|
|
489
|
+
type: "event",
|
|
490
490
|
},
|
|
491
491
|
{
|
|
492
492
|
anonymous: false,
|
|
@@ -495,11 +495,11 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
495
495
|
indexed: true,
|
|
496
496
|
internalType: "bytes32",
|
|
497
497
|
name: "tx_id",
|
|
498
|
-
type: "bytes32"
|
|
499
|
-
}
|
|
498
|
+
type: "bytes32",
|
|
499
|
+
},
|
|
500
500
|
],
|
|
501
501
|
name: "TransactionFinalized",
|
|
502
|
-
type: "event"
|
|
502
|
+
type: "event",
|
|
503
503
|
},
|
|
504
504
|
{
|
|
505
505
|
anonymous: false,
|
|
@@ -508,23 +508,23 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
508
508
|
indexed: true,
|
|
509
509
|
internalType: "bytes32",
|
|
510
510
|
name: "txId",
|
|
511
|
-
type: "bytes32"
|
|
511
|
+
type: "bytes32",
|
|
512
512
|
},
|
|
513
513
|
{
|
|
514
514
|
indexed: true,
|
|
515
515
|
internalType: "address",
|
|
516
516
|
name: "oldValidator",
|
|
517
|
-
type: "address"
|
|
517
|
+
type: "address",
|
|
518
518
|
},
|
|
519
519
|
{
|
|
520
520
|
indexed: true,
|
|
521
521
|
internalType: "address",
|
|
522
522
|
name: "newValidator",
|
|
523
|
-
type: "address"
|
|
524
|
-
}
|
|
523
|
+
type: "address",
|
|
524
|
+
},
|
|
525
525
|
],
|
|
526
526
|
name: "TransactionIdleValidatorReplaced",
|
|
527
|
-
type: "event"
|
|
527
|
+
type: "event",
|
|
528
528
|
},
|
|
529
529
|
{
|
|
530
530
|
anonymous: false,
|
|
@@ -533,17 +533,17 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
533
533
|
indexed: true,
|
|
534
534
|
internalType: "bytes32",
|
|
535
535
|
name: "txId",
|
|
536
|
-
type: "bytes32"
|
|
536
|
+
type: "bytes32",
|
|
537
537
|
},
|
|
538
538
|
{
|
|
539
539
|
indexed: true,
|
|
540
540
|
internalType: "uint256",
|
|
541
541
|
name: "validatorIndex",
|
|
542
|
-
type: "uint256"
|
|
543
|
-
}
|
|
542
|
+
type: "uint256",
|
|
543
|
+
},
|
|
544
544
|
],
|
|
545
545
|
name: "TransactionIdleValidatorReplacementFailed",
|
|
546
|
-
type: "event"
|
|
546
|
+
type: "event",
|
|
547
547
|
},
|
|
548
548
|
{
|
|
549
549
|
anonymous: false,
|
|
@@ -552,17 +552,17 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
552
552
|
indexed: true,
|
|
553
553
|
internalType: "bytes32",
|
|
554
554
|
name: "txId",
|
|
555
|
-
type: "bytes32"
|
|
555
|
+
type: "bytes32",
|
|
556
556
|
},
|
|
557
557
|
{
|
|
558
558
|
indexed: true,
|
|
559
559
|
internalType: "address",
|
|
560
560
|
name: "newLeader",
|
|
561
|
-
type: "address"
|
|
562
|
-
}
|
|
561
|
+
type: "address",
|
|
562
|
+
},
|
|
563
563
|
],
|
|
564
564
|
name: "TransactionLeaderRotated",
|
|
565
|
-
type: "event"
|
|
565
|
+
type: "event",
|
|
566
566
|
},
|
|
567
567
|
{
|
|
568
568
|
anonymous: false,
|
|
@@ -571,11 +571,11 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
571
571
|
indexed: true,
|
|
572
572
|
internalType: "bytes32",
|
|
573
573
|
name: "tx_id",
|
|
574
|
-
type: "bytes32"
|
|
575
|
-
}
|
|
574
|
+
type: "bytes32",
|
|
575
|
+
},
|
|
576
576
|
],
|
|
577
577
|
name: "TransactionLeaderTimeout",
|
|
578
|
-
type: "event"
|
|
578
|
+
type: "event",
|
|
579
579
|
},
|
|
580
580
|
{
|
|
581
581
|
anonymous: false,
|
|
@@ -584,11 +584,11 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
584
584
|
indexed: false,
|
|
585
585
|
internalType: "bytes32[]",
|
|
586
586
|
name: "tx_ids",
|
|
587
|
-
type: "bytes32[]"
|
|
588
|
-
}
|
|
587
|
+
type: "bytes32[]",
|
|
588
|
+
},
|
|
589
589
|
],
|
|
590
590
|
name: "TransactionNeedsRecomputation",
|
|
591
|
-
type: "event"
|
|
591
|
+
type: "event",
|
|
592
592
|
},
|
|
593
593
|
{
|
|
594
594
|
anonymous: false,
|
|
@@ -597,17 +597,17 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
597
597
|
indexed: true,
|
|
598
598
|
internalType: "bytes32",
|
|
599
599
|
name: "tx_id",
|
|
600
|
-
type: "bytes32"
|
|
600
|
+
type: "bytes32",
|
|
601
601
|
},
|
|
602
602
|
{
|
|
603
603
|
indexed: false,
|
|
604
604
|
internalType: "address[]",
|
|
605
605
|
name: "validators",
|
|
606
|
-
type: "address[]"
|
|
607
|
-
}
|
|
606
|
+
type: "address[]",
|
|
607
|
+
},
|
|
608
608
|
],
|
|
609
609
|
name: "TransactionReceiptProposed",
|
|
610
|
-
type: "event"
|
|
610
|
+
type: "event",
|
|
611
611
|
},
|
|
612
612
|
{
|
|
613
613
|
anonymous: false,
|
|
@@ -616,11 +616,11 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
616
616
|
indexed: true,
|
|
617
617
|
internalType: "bytes32",
|
|
618
618
|
name: "tx_id",
|
|
619
|
-
type: "bytes32"
|
|
620
|
-
}
|
|
619
|
+
type: "bytes32",
|
|
620
|
+
},
|
|
621
621
|
],
|
|
622
622
|
name: "TransactionUndetermined",
|
|
623
|
-
type: "event"
|
|
623
|
+
type: "event",
|
|
624
624
|
},
|
|
625
625
|
{
|
|
626
626
|
anonymous: false,
|
|
@@ -629,23 +629,23 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
629
629
|
indexed: true,
|
|
630
630
|
internalType: "bytes32",
|
|
631
631
|
name: "txId",
|
|
632
|
-
type: "bytes32"
|
|
632
|
+
type: "bytes32",
|
|
633
633
|
},
|
|
634
634
|
{
|
|
635
635
|
indexed: true,
|
|
636
636
|
internalType: "address",
|
|
637
637
|
name: "validator",
|
|
638
|
-
type: "address"
|
|
638
|
+
type: "address",
|
|
639
639
|
},
|
|
640
640
|
{
|
|
641
641
|
indexed: false,
|
|
642
642
|
internalType: "bool",
|
|
643
643
|
name: "isLastVote",
|
|
644
|
-
type: "bool"
|
|
645
|
-
}
|
|
644
|
+
type: "bool",
|
|
645
|
+
},
|
|
646
646
|
],
|
|
647
647
|
name: "TribunalAppealVoteCommitted",
|
|
648
|
-
type: "event"
|
|
648
|
+
type: "event",
|
|
649
649
|
},
|
|
650
650
|
{
|
|
651
651
|
anonymous: false,
|
|
@@ -654,23 +654,23 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
654
654
|
indexed: true,
|
|
655
655
|
internalType: "bytes32",
|
|
656
656
|
name: "txId",
|
|
657
|
-
type: "bytes32"
|
|
657
|
+
type: "bytes32",
|
|
658
658
|
},
|
|
659
659
|
{
|
|
660
660
|
indexed: true,
|
|
661
661
|
internalType: "address",
|
|
662
662
|
name: "validator",
|
|
663
|
-
type: "address"
|
|
663
|
+
type: "address",
|
|
664
664
|
},
|
|
665
665
|
{
|
|
666
666
|
indexed: false,
|
|
667
667
|
internalType: "bool",
|
|
668
668
|
name: "isLastVote",
|
|
669
|
-
type: "bool"
|
|
670
|
-
}
|
|
669
|
+
type: "bool",
|
|
670
|
+
},
|
|
671
671
|
],
|
|
672
672
|
name: "TribunalAppealVoteRevealed",
|
|
673
|
-
type: "event"
|
|
673
|
+
type: "event",
|
|
674
674
|
},
|
|
675
675
|
{
|
|
676
676
|
anonymous: false,
|
|
@@ -679,23 +679,23 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
679
679
|
indexed: true,
|
|
680
680
|
internalType: "bytes32",
|
|
681
681
|
name: "txId",
|
|
682
|
-
type: "bytes32"
|
|
682
|
+
type: "bytes32",
|
|
683
683
|
},
|
|
684
684
|
{
|
|
685
685
|
indexed: true,
|
|
686
686
|
internalType: "address",
|
|
687
687
|
name: "validator",
|
|
688
|
-
type: "address"
|
|
688
|
+
type: "address",
|
|
689
689
|
},
|
|
690
690
|
{
|
|
691
691
|
indexed: false,
|
|
692
692
|
internalType: "bool",
|
|
693
693
|
name: "isLastVote",
|
|
694
|
-
type: "bool"
|
|
695
|
-
}
|
|
694
|
+
type: "bool",
|
|
695
|
+
},
|
|
696
696
|
],
|
|
697
697
|
name: "VoteCommitted",
|
|
698
|
-
type: "event"
|
|
698
|
+
type: "event",
|
|
699
699
|
},
|
|
700
700
|
{
|
|
701
701
|
anonymous: false,
|
|
@@ -704,35 +704,35 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
704
704
|
indexed: true,
|
|
705
705
|
internalType: "bytes32",
|
|
706
706
|
name: "txId",
|
|
707
|
-
type: "bytes32"
|
|
707
|
+
type: "bytes32",
|
|
708
708
|
},
|
|
709
709
|
{
|
|
710
710
|
indexed: true,
|
|
711
711
|
internalType: "address",
|
|
712
712
|
name: "validator",
|
|
713
|
-
type: "address"
|
|
713
|
+
type: "address",
|
|
714
714
|
},
|
|
715
715
|
{
|
|
716
716
|
indexed: false,
|
|
717
717
|
internalType: "enum ITransactions.VoteType",
|
|
718
718
|
name: "voteType",
|
|
719
|
-
type: "uint8"
|
|
719
|
+
type: "uint8",
|
|
720
720
|
},
|
|
721
721
|
{
|
|
722
722
|
indexed: false,
|
|
723
723
|
internalType: "bool",
|
|
724
724
|
name: "isLastVote",
|
|
725
|
-
type: "bool"
|
|
725
|
+
type: "bool",
|
|
726
726
|
},
|
|
727
727
|
{
|
|
728
728
|
indexed: false,
|
|
729
729
|
internalType: "enum ITransactions.ResultType",
|
|
730
730
|
name: "result",
|
|
731
|
-
type: "uint8"
|
|
732
|
-
}
|
|
731
|
+
type: "uint8",
|
|
732
|
+
},
|
|
733
733
|
],
|
|
734
734
|
name: "VoteRevealed",
|
|
735
|
-
type: "event"
|
|
735
|
+
type: "event",
|
|
736
736
|
},
|
|
737
737
|
{
|
|
738
738
|
inputs: [],
|
|
@@ -741,118 +741,118 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
741
741
|
{
|
|
742
742
|
internalType: "bytes32",
|
|
743
743
|
name: "",
|
|
744
|
-
type: "bytes32"
|
|
745
|
-
}
|
|
744
|
+
type: "bytes32",
|
|
745
|
+
},
|
|
746
746
|
],
|
|
747
747
|
stateMutability: "view",
|
|
748
|
-
type: "function"
|
|
748
|
+
type: "function",
|
|
749
749
|
},
|
|
750
750
|
{
|
|
751
751
|
inputs: [],
|
|
752
752
|
name: "acceptOwnership",
|
|
753
753
|
outputs: [],
|
|
754
754
|
stateMutability: "nonpayable",
|
|
755
|
-
type: "function"
|
|
755
|
+
type: "function",
|
|
756
756
|
},
|
|
757
757
|
{
|
|
758
758
|
inputs: [
|
|
759
759
|
{
|
|
760
760
|
internalType: "bytes32",
|
|
761
761
|
name: "_txId",
|
|
762
|
-
type: "bytes32"
|
|
762
|
+
type: "bytes32",
|
|
763
763
|
},
|
|
764
764
|
{
|
|
765
765
|
internalType: "bytes",
|
|
766
766
|
name: "_vrfProof",
|
|
767
|
-
type: "bytes"
|
|
768
|
-
}
|
|
767
|
+
type: "bytes",
|
|
768
|
+
},
|
|
769
769
|
],
|
|
770
770
|
name: "activateTransaction",
|
|
771
771
|
outputs: [],
|
|
772
772
|
stateMutability: "nonpayable",
|
|
773
|
-
type: "function"
|
|
773
|
+
type: "function",
|
|
774
774
|
},
|
|
775
775
|
{
|
|
776
776
|
inputs: [
|
|
777
777
|
{
|
|
778
778
|
internalType: "address",
|
|
779
779
|
name: "_sender",
|
|
780
|
-
type: "address"
|
|
780
|
+
type: "address",
|
|
781
781
|
},
|
|
782
782
|
{
|
|
783
783
|
internalType: "address",
|
|
784
784
|
name: "_recipient",
|
|
785
|
-
type: "address"
|
|
785
|
+
type: "address",
|
|
786
786
|
},
|
|
787
787
|
{
|
|
788
788
|
internalType: "uint256",
|
|
789
789
|
name: "_numOfInitialValidators",
|
|
790
|
-
type: "uint256"
|
|
790
|
+
type: "uint256",
|
|
791
791
|
},
|
|
792
792
|
{
|
|
793
793
|
internalType: "uint256",
|
|
794
794
|
name: "_maxRotations",
|
|
795
|
-
type: "uint256"
|
|
795
|
+
type: "uint256",
|
|
796
796
|
},
|
|
797
797
|
{
|
|
798
798
|
internalType: "bytes",
|
|
799
799
|
name: "_txData",
|
|
800
|
-
type: "bytes"
|
|
801
|
-
}
|
|
800
|
+
type: "bytes",
|
|
801
|
+
},
|
|
802
802
|
],
|
|
803
803
|
name: "addTransaction",
|
|
804
804
|
outputs: [],
|
|
805
805
|
stateMutability: "nonpayable",
|
|
806
|
-
type: "function"
|
|
806
|
+
type: "function",
|
|
807
807
|
},
|
|
808
808
|
{
|
|
809
809
|
inputs: [
|
|
810
810
|
{
|
|
811
811
|
internalType: "bytes32",
|
|
812
812
|
name: "_txId",
|
|
813
|
-
type: "bytes32"
|
|
814
|
-
}
|
|
813
|
+
type: "bytes32",
|
|
814
|
+
},
|
|
815
815
|
],
|
|
816
816
|
name: "cancelTransaction",
|
|
817
817
|
outputs: [],
|
|
818
818
|
stateMutability: "nonpayable",
|
|
819
|
-
type: "function"
|
|
819
|
+
type: "function",
|
|
820
820
|
},
|
|
821
821
|
{
|
|
822
822
|
inputs: [
|
|
823
823
|
{
|
|
824
824
|
internalType: "bytes32",
|
|
825
825
|
name: "_txId",
|
|
826
|
-
type: "bytes32"
|
|
826
|
+
type: "bytes32",
|
|
827
827
|
},
|
|
828
828
|
{
|
|
829
829
|
internalType: "bytes32",
|
|
830
830
|
name: "_commitHash",
|
|
831
|
-
type: "bytes32"
|
|
832
|
-
}
|
|
831
|
+
type: "bytes32",
|
|
832
|
+
},
|
|
833
833
|
],
|
|
834
834
|
name: "commitTribunalAppealVote",
|
|
835
835
|
outputs: [],
|
|
836
836
|
stateMutability: "nonpayable",
|
|
837
|
-
type: "function"
|
|
837
|
+
type: "function",
|
|
838
838
|
},
|
|
839
839
|
{
|
|
840
840
|
inputs: [
|
|
841
841
|
{
|
|
842
842
|
internalType: "bytes32",
|
|
843
843
|
name: "_txId",
|
|
844
|
-
type: "bytes32"
|
|
844
|
+
type: "bytes32",
|
|
845
845
|
},
|
|
846
846
|
{
|
|
847
847
|
internalType: "bytes32",
|
|
848
848
|
name: "_commitHash",
|
|
849
|
-
type: "bytes32"
|
|
850
|
-
}
|
|
849
|
+
type: "bytes32",
|
|
850
|
+
},
|
|
851
851
|
],
|
|
852
852
|
name: "commitVote",
|
|
853
853
|
outputs: [],
|
|
854
854
|
stateMutability: "nonpayable",
|
|
855
|
-
type: "function"
|
|
855
|
+
type: "function",
|
|
856
856
|
},
|
|
857
857
|
{
|
|
858
858
|
inputs: [],
|
|
@@ -861,88 +861,88 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
861
861
|
{
|
|
862
862
|
internalType: "contract IGenManager",
|
|
863
863
|
name: "genManager",
|
|
864
|
-
type: "address"
|
|
864
|
+
type: "address",
|
|
865
865
|
},
|
|
866
866
|
{
|
|
867
867
|
internalType: "contract ITransactions",
|
|
868
868
|
name: "genTransactions",
|
|
869
|
-
type: "address"
|
|
869
|
+
type: "address",
|
|
870
870
|
},
|
|
871
871
|
{
|
|
872
872
|
internalType: "contract IQueues",
|
|
873
873
|
name: "genQueue",
|
|
874
|
-
type: "address"
|
|
874
|
+
type: "address",
|
|
875
875
|
},
|
|
876
876
|
{
|
|
877
877
|
internalType: "contract IGhostFactory",
|
|
878
878
|
name: "ghostFactory",
|
|
879
|
-
type: "address"
|
|
879
|
+
type: "address",
|
|
880
880
|
},
|
|
881
881
|
{
|
|
882
882
|
internalType: "contract IGenStaking",
|
|
883
883
|
name: "genStaking",
|
|
884
|
-
type: "address"
|
|
884
|
+
type: "address",
|
|
885
885
|
},
|
|
886
886
|
{
|
|
887
887
|
internalType: "contract IMessages",
|
|
888
888
|
name: "genMessages",
|
|
889
|
-
type: "address"
|
|
889
|
+
type: "address",
|
|
890
890
|
},
|
|
891
891
|
{
|
|
892
892
|
internalType: "contract IIdleness",
|
|
893
893
|
name: "idleness",
|
|
894
|
-
type: "address"
|
|
894
|
+
type: "address",
|
|
895
895
|
},
|
|
896
896
|
{
|
|
897
897
|
internalType: "contract ITribunalAppeal",
|
|
898
898
|
name: "tribunalAppeal",
|
|
899
|
-
type: "address"
|
|
900
|
-
}
|
|
899
|
+
type: "address",
|
|
900
|
+
},
|
|
901
901
|
],
|
|
902
902
|
stateMutability: "view",
|
|
903
|
-
type: "function"
|
|
903
|
+
type: "function",
|
|
904
904
|
},
|
|
905
905
|
{
|
|
906
906
|
inputs: [
|
|
907
907
|
{
|
|
908
908
|
internalType: "address",
|
|
909
909
|
name: "_recipient",
|
|
910
|
-
type: "address"
|
|
910
|
+
type: "address",
|
|
911
911
|
},
|
|
912
912
|
{
|
|
913
913
|
internalType: "uint256",
|
|
914
914
|
name: "_value",
|
|
915
|
-
type: "uint256"
|
|
915
|
+
type: "uint256",
|
|
916
916
|
},
|
|
917
917
|
{
|
|
918
918
|
internalType: "bytes",
|
|
919
919
|
name: "_data",
|
|
920
|
-
type: "bytes"
|
|
921
|
-
}
|
|
920
|
+
type: "bytes",
|
|
921
|
+
},
|
|
922
922
|
],
|
|
923
923
|
name: "executeMessage",
|
|
924
924
|
outputs: [
|
|
925
925
|
{
|
|
926
926
|
internalType: "bool",
|
|
927
927
|
name: "success",
|
|
928
|
-
type: "bool"
|
|
929
|
-
}
|
|
928
|
+
type: "bool",
|
|
929
|
+
},
|
|
930
930
|
],
|
|
931
931
|
stateMutability: "nonpayable",
|
|
932
|
-
type: "function"
|
|
932
|
+
type: "function",
|
|
933
933
|
},
|
|
934
934
|
{
|
|
935
935
|
inputs: [
|
|
936
936
|
{
|
|
937
937
|
internalType: "bytes32",
|
|
938
938
|
name: "_txId",
|
|
939
|
-
type: "bytes32"
|
|
940
|
-
}
|
|
939
|
+
type: "bytes32",
|
|
940
|
+
},
|
|
941
941
|
],
|
|
942
942
|
name: "finalizeTransaction",
|
|
943
943
|
outputs: [],
|
|
944
944
|
stateMutability: "nonpayable",
|
|
945
|
-
type: "function"
|
|
945
|
+
type: "function",
|
|
946
946
|
},
|
|
947
947
|
{
|
|
948
948
|
inputs: [],
|
|
@@ -953,138 +953,138 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
953
953
|
{
|
|
954
954
|
internalType: "contract IGenManager",
|
|
955
955
|
name: "genManager",
|
|
956
|
-
type: "address"
|
|
956
|
+
type: "address",
|
|
957
957
|
},
|
|
958
958
|
{
|
|
959
959
|
internalType: "contract ITransactions",
|
|
960
960
|
name: "genTransactions",
|
|
961
|
-
type: "address"
|
|
961
|
+
type: "address",
|
|
962
962
|
},
|
|
963
963
|
{
|
|
964
964
|
internalType: "contract IQueues",
|
|
965
965
|
name: "genQueue",
|
|
966
|
-
type: "address"
|
|
966
|
+
type: "address",
|
|
967
967
|
},
|
|
968
968
|
{
|
|
969
969
|
internalType: "contract IGhostFactory",
|
|
970
970
|
name: "ghostFactory",
|
|
971
|
-
type: "address"
|
|
971
|
+
type: "address",
|
|
972
972
|
},
|
|
973
973
|
{
|
|
974
974
|
internalType: "contract IGenStaking",
|
|
975
975
|
name: "genStaking",
|
|
976
|
-
type: "address"
|
|
976
|
+
type: "address",
|
|
977
977
|
},
|
|
978
978
|
{
|
|
979
979
|
internalType: "contract IMessages",
|
|
980
980
|
name: "genMessages",
|
|
981
|
-
type: "address"
|
|
981
|
+
type: "address",
|
|
982
982
|
},
|
|
983
983
|
{
|
|
984
984
|
internalType: "contract IIdleness",
|
|
985
985
|
name: "idleness",
|
|
986
|
-
type: "address"
|
|
986
|
+
type: "address",
|
|
987
987
|
},
|
|
988
988
|
{
|
|
989
989
|
internalType: "contract ITribunalAppeal",
|
|
990
990
|
name: "tribunalAppeal",
|
|
991
|
-
type: "address"
|
|
992
|
-
}
|
|
991
|
+
type: "address",
|
|
992
|
+
},
|
|
993
993
|
],
|
|
994
994
|
internalType: "struct IConsensusMain.ExternalContracts",
|
|
995
995
|
name: "",
|
|
996
|
-
type: "tuple"
|
|
997
|
-
}
|
|
996
|
+
type: "tuple",
|
|
997
|
+
},
|
|
998
998
|
],
|
|
999
999
|
stateMutability: "view",
|
|
1000
|
-
type: "function"
|
|
1000
|
+
type: "function",
|
|
1001
1001
|
},
|
|
1002
1002
|
{
|
|
1003
1003
|
inputs: [
|
|
1004
1004
|
{
|
|
1005
1005
|
internalType: "bytes32",
|
|
1006
1006
|
name: "role",
|
|
1007
|
-
type: "bytes32"
|
|
1008
|
-
}
|
|
1007
|
+
type: "bytes32",
|
|
1008
|
+
},
|
|
1009
1009
|
],
|
|
1010
1010
|
name: "getRoleAdmin",
|
|
1011
1011
|
outputs: [
|
|
1012
1012
|
{
|
|
1013
1013
|
internalType: "bytes32",
|
|
1014
1014
|
name: "",
|
|
1015
|
-
type: "bytes32"
|
|
1016
|
-
}
|
|
1015
|
+
type: "bytes32",
|
|
1016
|
+
},
|
|
1017
1017
|
],
|
|
1018
1018
|
stateMutability: "view",
|
|
1019
|
-
type: "function"
|
|
1019
|
+
type: "function",
|
|
1020
1020
|
},
|
|
1021
1021
|
{
|
|
1022
1022
|
inputs: [
|
|
1023
1023
|
{
|
|
1024
1024
|
internalType: "address",
|
|
1025
1025
|
name: "addr",
|
|
1026
|
-
type: "address"
|
|
1027
|
-
}
|
|
1026
|
+
type: "address",
|
|
1027
|
+
},
|
|
1028
1028
|
],
|
|
1029
1029
|
name: "ghostContracts",
|
|
1030
1030
|
outputs: [
|
|
1031
1031
|
{
|
|
1032
1032
|
internalType: "bool",
|
|
1033
1033
|
name: "isGhost",
|
|
1034
|
-
type: "bool"
|
|
1035
|
-
}
|
|
1034
|
+
type: "bool",
|
|
1035
|
+
},
|
|
1036
1036
|
],
|
|
1037
1037
|
stateMutability: "view",
|
|
1038
|
-
type: "function"
|
|
1038
|
+
type: "function",
|
|
1039
1039
|
},
|
|
1040
1040
|
{
|
|
1041
1041
|
inputs: [
|
|
1042
1042
|
{
|
|
1043
1043
|
internalType: "bytes32",
|
|
1044
1044
|
name: "role",
|
|
1045
|
-
type: "bytes32"
|
|
1045
|
+
type: "bytes32",
|
|
1046
1046
|
},
|
|
1047
1047
|
{
|
|
1048
1048
|
internalType: "address",
|
|
1049
1049
|
name: "account",
|
|
1050
|
-
type: "address"
|
|
1051
|
-
}
|
|
1050
|
+
type: "address",
|
|
1051
|
+
},
|
|
1052
1052
|
],
|
|
1053
1053
|
name: "grantRole",
|
|
1054
1054
|
outputs: [],
|
|
1055
1055
|
stateMutability: "nonpayable",
|
|
1056
|
-
type: "function"
|
|
1056
|
+
type: "function",
|
|
1057
1057
|
},
|
|
1058
1058
|
{
|
|
1059
1059
|
inputs: [
|
|
1060
1060
|
{
|
|
1061
1061
|
internalType: "bytes32",
|
|
1062
1062
|
name: "role",
|
|
1063
|
-
type: "bytes32"
|
|
1063
|
+
type: "bytes32",
|
|
1064
1064
|
},
|
|
1065
1065
|
{
|
|
1066
1066
|
internalType: "address",
|
|
1067
1067
|
name: "account",
|
|
1068
|
-
type: "address"
|
|
1069
|
-
}
|
|
1068
|
+
type: "address",
|
|
1069
|
+
},
|
|
1070
1070
|
],
|
|
1071
1071
|
name: "hasRole",
|
|
1072
1072
|
outputs: [
|
|
1073
1073
|
{
|
|
1074
1074
|
internalType: "bool",
|
|
1075
1075
|
name: "",
|
|
1076
|
-
type: "bool"
|
|
1077
|
-
}
|
|
1076
|
+
type: "bool",
|
|
1077
|
+
},
|
|
1078
1078
|
],
|
|
1079
1079
|
stateMutability: "view",
|
|
1080
|
-
type: "function"
|
|
1080
|
+
type: "function",
|
|
1081
1081
|
},
|
|
1082
1082
|
{
|
|
1083
1083
|
inputs: [],
|
|
1084
1084
|
name: "initialize",
|
|
1085
1085
|
outputs: [],
|
|
1086
1086
|
stateMutability: "nonpayable",
|
|
1087
|
-
type: "function"
|
|
1087
|
+
type: "function",
|
|
1088
1088
|
},
|
|
1089
1089
|
{
|
|
1090
1090
|
inputs: [],
|
|
@@ -1093,11 +1093,11 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
1093
1093
|
{
|
|
1094
1094
|
internalType: "address",
|
|
1095
1095
|
name: "",
|
|
1096
|
-
type: "address"
|
|
1097
|
-
}
|
|
1096
|
+
type: "address",
|
|
1097
|
+
},
|
|
1098
1098
|
],
|
|
1099
1099
|
stateMutability: "view",
|
|
1100
|
-
type: "function"
|
|
1100
|
+
type: "function",
|
|
1101
1101
|
},
|
|
1102
1102
|
{
|
|
1103
1103
|
inputs: [],
|
|
@@ -1106,290 +1106,290 @@ const CONSENSUS_MAIN_CONTRACT = {
|
|
|
1106
1106
|
{
|
|
1107
1107
|
internalType: "address",
|
|
1108
1108
|
name: "",
|
|
1109
|
-
type: "address"
|
|
1110
|
-
}
|
|
1109
|
+
type: "address",
|
|
1110
|
+
},
|
|
1111
1111
|
],
|
|
1112
1112
|
stateMutability: "view",
|
|
1113
|
-
type: "function"
|
|
1113
|
+
type: "function",
|
|
1114
1114
|
},
|
|
1115
1115
|
{
|
|
1116
1116
|
inputs: [
|
|
1117
1117
|
{
|
|
1118
1118
|
internalType: "address",
|
|
1119
1119
|
name: "recipient",
|
|
1120
|
-
type: "address"
|
|
1121
|
-
}
|
|
1120
|
+
type: "address",
|
|
1121
|
+
},
|
|
1122
1122
|
],
|
|
1123
1123
|
name: "proceedPendingQueueProcessing",
|
|
1124
1124
|
outputs: [],
|
|
1125
1125
|
stateMutability: "nonpayable",
|
|
1126
|
-
type: "function"
|
|
1126
|
+
type: "function",
|
|
1127
1127
|
},
|
|
1128
1128
|
{
|
|
1129
1129
|
inputs: [
|
|
1130
1130
|
{
|
|
1131
1131
|
internalType: "bytes32",
|
|
1132
1132
|
name: "_txId",
|
|
1133
|
-
type: "bytes32"
|
|
1133
|
+
type: "bytes32",
|
|
1134
1134
|
},
|
|
1135
1135
|
{
|
|
1136
1136
|
internalType: "bytes",
|
|
1137
1137
|
name: "_txReceipt",
|
|
1138
|
-
type: "bytes"
|
|
1138
|
+
type: "bytes",
|
|
1139
1139
|
},
|
|
1140
1140
|
{
|
|
1141
1141
|
internalType: "uint256",
|
|
1142
1142
|
name: "_processingBlock",
|
|
1143
|
-
type: "uint256"
|
|
1143
|
+
type: "uint256",
|
|
1144
1144
|
},
|
|
1145
1145
|
{
|
|
1146
1146
|
components: [
|
|
1147
1147
|
{
|
|
1148
1148
|
internalType: "enum IMessages.MessageType",
|
|
1149
1149
|
name: "messageType",
|
|
1150
|
-
type: "uint8"
|
|
1150
|
+
type: "uint8",
|
|
1151
1151
|
},
|
|
1152
1152
|
{
|
|
1153
1153
|
internalType: "address",
|
|
1154
1154
|
name: "recipient",
|
|
1155
|
-
type: "address"
|
|
1155
|
+
type: "address",
|
|
1156
1156
|
},
|
|
1157
1157
|
{
|
|
1158
1158
|
internalType: "uint256",
|
|
1159
1159
|
name: "value",
|
|
1160
|
-
type: "uint256"
|
|
1160
|
+
type: "uint256",
|
|
1161
1161
|
},
|
|
1162
1162
|
{
|
|
1163
1163
|
internalType: "bytes",
|
|
1164
1164
|
name: "data",
|
|
1165
|
-
type: "bytes"
|
|
1165
|
+
type: "bytes",
|
|
1166
1166
|
},
|
|
1167
1167
|
{
|
|
1168
1168
|
internalType: "bool",
|
|
1169
1169
|
name: "onAcceptance",
|
|
1170
|
-
type: "bool"
|
|
1171
|
-
}
|
|
1170
|
+
type: "bool",
|
|
1171
|
+
},
|
|
1172
1172
|
],
|
|
1173
1173
|
internalType: "struct IMessages.SubmittedMessage[]",
|
|
1174
1174
|
name: "_messages",
|
|
1175
|
-
type: "tuple[]"
|
|
1175
|
+
type: "tuple[]",
|
|
1176
1176
|
},
|
|
1177
1177
|
{
|
|
1178
1178
|
internalType: "bytes",
|
|
1179
1179
|
name: "_vrfProof",
|
|
1180
|
-
type: "bytes"
|
|
1181
|
-
}
|
|
1180
|
+
type: "bytes",
|
|
1181
|
+
},
|
|
1182
1182
|
],
|
|
1183
1183
|
name: "proposeReceipt",
|
|
1184
1184
|
outputs: [],
|
|
1185
1185
|
stateMutability: "nonpayable",
|
|
1186
|
-
type: "function"
|
|
1186
|
+
type: "function",
|
|
1187
1187
|
},
|
|
1188
1188
|
{
|
|
1189
1189
|
inputs: [],
|
|
1190
1190
|
name: "renounceOwnership",
|
|
1191
1191
|
outputs: [],
|
|
1192
1192
|
stateMutability: "nonpayable",
|
|
1193
|
-
type: "function"
|
|
1193
|
+
type: "function",
|
|
1194
1194
|
},
|
|
1195
1195
|
{
|
|
1196
1196
|
inputs: [
|
|
1197
1197
|
{
|
|
1198
1198
|
internalType: "bytes32",
|
|
1199
1199
|
name: "role",
|
|
1200
|
-
type: "bytes32"
|
|
1200
|
+
type: "bytes32",
|
|
1201
1201
|
},
|
|
1202
1202
|
{
|
|
1203
1203
|
internalType: "address",
|
|
1204
1204
|
name: "callerConfirmation",
|
|
1205
|
-
type: "address"
|
|
1206
|
-
}
|
|
1205
|
+
type: "address",
|
|
1206
|
+
},
|
|
1207
1207
|
],
|
|
1208
1208
|
name: "renounceRole",
|
|
1209
1209
|
outputs: [],
|
|
1210
1210
|
stateMutability: "nonpayable",
|
|
1211
|
-
type: "function"
|
|
1211
|
+
type: "function",
|
|
1212
1212
|
},
|
|
1213
1213
|
{
|
|
1214
1214
|
inputs: [
|
|
1215
1215
|
{
|
|
1216
1216
|
internalType: "bytes32",
|
|
1217
1217
|
name: "_txId",
|
|
1218
|
-
type: "bytes32"
|
|
1218
|
+
type: "bytes32",
|
|
1219
1219
|
},
|
|
1220
1220
|
{
|
|
1221
1221
|
internalType: "bytes32",
|
|
1222
1222
|
name: "_voteHash",
|
|
1223
|
-
type: "bytes32"
|
|
1223
|
+
type: "bytes32",
|
|
1224
1224
|
},
|
|
1225
1225
|
{
|
|
1226
1226
|
internalType: "enum ITribunalAppeal.TribunalVoteType",
|
|
1227
1227
|
name: "_voteType",
|
|
1228
|
-
type: "uint8"
|
|
1228
|
+
type: "uint8",
|
|
1229
1229
|
},
|
|
1230
1230
|
{
|
|
1231
1231
|
internalType: "uint256",
|
|
1232
1232
|
name: "_nonce",
|
|
1233
|
-
type: "uint256"
|
|
1234
|
-
}
|
|
1233
|
+
type: "uint256",
|
|
1234
|
+
},
|
|
1235
1235
|
],
|
|
1236
1236
|
name: "revealTribunalAppealVote",
|
|
1237
1237
|
outputs: [],
|
|
1238
1238
|
stateMutability: "nonpayable",
|
|
1239
|
-
type: "function"
|
|
1239
|
+
type: "function",
|
|
1240
1240
|
},
|
|
1241
1241
|
{
|
|
1242
1242
|
inputs: [
|
|
1243
1243
|
{
|
|
1244
1244
|
internalType: "bytes32",
|
|
1245
1245
|
name: "_txId",
|
|
1246
|
-
type: "bytes32"
|
|
1246
|
+
type: "bytes32",
|
|
1247
1247
|
},
|
|
1248
1248
|
{
|
|
1249
1249
|
internalType: "bytes32",
|
|
1250
1250
|
name: "_voteHash",
|
|
1251
|
-
type: "bytes32"
|
|
1251
|
+
type: "bytes32",
|
|
1252
1252
|
},
|
|
1253
1253
|
{
|
|
1254
1254
|
internalType: "enum ITransactions.VoteType",
|
|
1255
1255
|
name: "_voteType",
|
|
1256
|
-
type: "uint8"
|
|
1256
|
+
type: "uint8",
|
|
1257
1257
|
},
|
|
1258
1258
|
{
|
|
1259
1259
|
internalType: "uint256",
|
|
1260
1260
|
name: "_nonce",
|
|
1261
|
-
type: "uint256"
|
|
1262
|
-
}
|
|
1261
|
+
type: "uint256",
|
|
1262
|
+
},
|
|
1263
1263
|
],
|
|
1264
1264
|
name: "revealVote",
|
|
1265
1265
|
outputs: [],
|
|
1266
1266
|
stateMutability: "nonpayable",
|
|
1267
|
-
type: "function"
|
|
1267
|
+
type: "function",
|
|
1268
1268
|
},
|
|
1269
1269
|
{
|
|
1270
1270
|
inputs: [
|
|
1271
1271
|
{
|
|
1272
1272
|
internalType: "bytes32",
|
|
1273
1273
|
name: "role",
|
|
1274
|
-
type: "bytes32"
|
|
1274
|
+
type: "bytes32",
|
|
1275
1275
|
},
|
|
1276
1276
|
{
|
|
1277
1277
|
internalType: "address",
|
|
1278
1278
|
name: "account",
|
|
1279
|
-
type: "address"
|
|
1280
|
-
}
|
|
1279
|
+
type: "address",
|
|
1280
|
+
},
|
|
1281
1281
|
],
|
|
1282
1282
|
name: "revokeRole",
|
|
1283
1283
|
outputs: [],
|
|
1284
1284
|
stateMutability: "nonpayable",
|
|
1285
|
-
type: "function"
|
|
1285
|
+
type: "function",
|
|
1286
1286
|
},
|
|
1287
1287
|
{
|
|
1288
1288
|
inputs: [
|
|
1289
1289
|
{
|
|
1290
1290
|
internalType: "address",
|
|
1291
1291
|
name: "_ghostFactory",
|
|
1292
|
-
type: "address"
|
|
1292
|
+
type: "address",
|
|
1293
1293
|
},
|
|
1294
1294
|
{
|
|
1295
1295
|
internalType: "address",
|
|
1296
1296
|
name: "_genManager",
|
|
1297
|
-
type: "address"
|
|
1297
|
+
type: "address",
|
|
1298
1298
|
},
|
|
1299
1299
|
{
|
|
1300
1300
|
internalType: "address",
|
|
1301
1301
|
name: "_genTransactions",
|
|
1302
|
-
type: "address"
|
|
1302
|
+
type: "address",
|
|
1303
1303
|
},
|
|
1304
1304
|
{
|
|
1305
1305
|
internalType: "address",
|
|
1306
1306
|
name: "_genQueue",
|
|
1307
|
-
type: "address"
|
|
1307
|
+
type: "address",
|
|
1308
1308
|
},
|
|
1309
1309
|
{
|
|
1310
1310
|
internalType: "address",
|
|
1311
1311
|
name: "_genStaking",
|
|
1312
|
-
type: "address"
|
|
1312
|
+
type: "address",
|
|
1313
1313
|
},
|
|
1314
1314
|
{
|
|
1315
1315
|
internalType: "address",
|
|
1316
1316
|
name: "_genMessages",
|
|
1317
|
-
type: "address"
|
|
1317
|
+
type: "address",
|
|
1318
1318
|
},
|
|
1319
1319
|
{
|
|
1320
1320
|
internalType: "address",
|
|
1321
1321
|
name: "_idleness",
|
|
1322
|
-
type: "address"
|
|
1322
|
+
type: "address",
|
|
1323
1323
|
},
|
|
1324
1324
|
{
|
|
1325
1325
|
internalType: "address",
|
|
1326
1326
|
name: "_tribunalAppeal",
|
|
1327
|
-
type: "address"
|
|
1328
|
-
}
|
|
1327
|
+
type: "address",
|
|
1328
|
+
},
|
|
1329
1329
|
],
|
|
1330
1330
|
name: "setExternalContracts",
|
|
1331
1331
|
outputs: [],
|
|
1332
1332
|
stateMutability: "nonpayable",
|
|
1333
|
-
type: "function"
|
|
1333
|
+
type: "function",
|
|
1334
1334
|
},
|
|
1335
1335
|
{
|
|
1336
1336
|
inputs: [
|
|
1337
1337
|
{
|
|
1338
1338
|
internalType: "bytes32",
|
|
1339
1339
|
name: "_txId",
|
|
1340
|
-
type: "bytes32"
|
|
1341
|
-
}
|
|
1340
|
+
type: "bytes32",
|
|
1341
|
+
},
|
|
1342
1342
|
],
|
|
1343
1343
|
name: "submitAppeal",
|
|
1344
1344
|
outputs: [],
|
|
1345
1345
|
stateMutability: "payable",
|
|
1346
|
-
type: "function"
|
|
1346
|
+
type: "function",
|
|
1347
1347
|
},
|
|
1348
1348
|
{
|
|
1349
1349
|
inputs: [
|
|
1350
1350
|
{
|
|
1351
1351
|
internalType: "bytes32",
|
|
1352
1352
|
name: "_txId",
|
|
1353
|
-
type: "bytes32"
|
|
1354
|
-
}
|
|
1353
|
+
type: "bytes32",
|
|
1354
|
+
},
|
|
1355
1355
|
],
|
|
1356
1356
|
name: "submitSlashAppeal",
|
|
1357
1357
|
outputs: [],
|
|
1358
1358
|
stateMutability: "nonpayable",
|
|
1359
|
-
type: "function"
|
|
1359
|
+
type: "function",
|
|
1360
1360
|
},
|
|
1361
1361
|
{
|
|
1362
1362
|
inputs: [
|
|
1363
1363
|
{
|
|
1364
1364
|
internalType: "bytes4",
|
|
1365
1365
|
name: "interfaceId",
|
|
1366
|
-
type: "bytes4"
|
|
1367
|
-
}
|
|
1366
|
+
type: "bytes4",
|
|
1367
|
+
},
|
|
1368
1368
|
],
|
|
1369
1369
|
name: "supportsInterface",
|
|
1370
1370
|
outputs: [
|
|
1371
1371
|
{
|
|
1372
1372
|
internalType: "bool",
|
|
1373
1373
|
name: "",
|
|
1374
|
-
type: "bool"
|
|
1375
|
-
}
|
|
1374
|
+
type: "bool",
|
|
1375
|
+
},
|
|
1376
1376
|
],
|
|
1377
1377
|
stateMutability: "view",
|
|
1378
|
-
type: "function"
|
|
1378
|
+
type: "function",
|
|
1379
1379
|
},
|
|
1380
1380
|
{
|
|
1381
1381
|
inputs: [
|
|
1382
1382
|
{
|
|
1383
1383
|
internalType: "address",
|
|
1384
1384
|
name: "newOwner",
|
|
1385
|
-
type: "address"
|
|
1386
|
-
}
|
|
1385
|
+
type: "address",
|
|
1386
|
+
},
|
|
1387
1387
|
],
|
|
1388
1388
|
name: "transferOwnership",
|
|
1389
1389
|
outputs: [],
|
|
1390
1390
|
stateMutability: "nonpayable",
|
|
1391
|
-
type: "function"
|
|
1392
|
-
}
|
|
1391
|
+
type: "function",
|
|
1392
|
+
},
|
|
1393
1393
|
],
|
|
1394
1394
|
bytecode: "",
|
|
1395
1395
|
};
|
|
@@ -1400,60 +1400,60 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
1400
1400
|
{
|
|
1401
1401
|
inputs: [],
|
|
1402
1402
|
name: "AccessControlBadConfirmation",
|
|
1403
|
-
type: "error"
|
|
1403
|
+
type: "error",
|
|
1404
1404
|
},
|
|
1405
1405
|
{
|
|
1406
1406
|
inputs: [
|
|
1407
1407
|
{
|
|
1408
1408
|
internalType: "address",
|
|
1409
1409
|
name: "account",
|
|
1410
|
-
type: "address"
|
|
1410
|
+
type: "address",
|
|
1411
1411
|
},
|
|
1412
1412
|
{
|
|
1413
1413
|
internalType: "bytes32",
|
|
1414
1414
|
name: "neededRole",
|
|
1415
|
-
type: "bytes32"
|
|
1416
|
-
}
|
|
1415
|
+
type: "bytes32",
|
|
1416
|
+
},
|
|
1417
1417
|
],
|
|
1418
1418
|
name: "AccessControlUnauthorizedAccount",
|
|
1419
|
-
type: "error"
|
|
1419
|
+
type: "error",
|
|
1420
1420
|
},
|
|
1421
1421
|
{
|
|
1422
1422
|
inputs: [],
|
|
1423
1423
|
name: "InvalidInitialization",
|
|
1424
|
-
type: "error"
|
|
1424
|
+
type: "error",
|
|
1425
1425
|
},
|
|
1426
1426
|
{
|
|
1427
1427
|
inputs: [],
|
|
1428
1428
|
name: "NotInitializing",
|
|
1429
|
-
type: "error"
|
|
1429
|
+
type: "error",
|
|
1430
1430
|
},
|
|
1431
1431
|
{
|
|
1432
1432
|
inputs: [
|
|
1433
1433
|
{
|
|
1434
1434
|
internalType: "address",
|
|
1435
1435
|
name: "owner",
|
|
1436
|
-
type: "address"
|
|
1437
|
-
}
|
|
1436
|
+
type: "address",
|
|
1437
|
+
},
|
|
1438
1438
|
],
|
|
1439
1439
|
name: "OwnableInvalidOwner",
|
|
1440
|
-
type: "error"
|
|
1440
|
+
type: "error",
|
|
1441
1441
|
},
|
|
1442
1442
|
{
|
|
1443
1443
|
inputs: [
|
|
1444
1444
|
{
|
|
1445
1445
|
internalType: "address",
|
|
1446
1446
|
name: "account",
|
|
1447
|
-
type: "address"
|
|
1448
|
-
}
|
|
1447
|
+
type: "address",
|
|
1448
|
+
},
|
|
1449
1449
|
],
|
|
1450
1450
|
name: "OwnableUnauthorizedAccount",
|
|
1451
|
-
type: "error"
|
|
1451
|
+
type: "error",
|
|
1452
1452
|
},
|
|
1453
1453
|
{
|
|
1454
1454
|
inputs: [],
|
|
1455
1455
|
name: "ReentrancyGuardReentrantCall",
|
|
1456
|
-
type: "error"
|
|
1456
|
+
type: "error",
|
|
1457
1457
|
},
|
|
1458
1458
|
{
|
|
1459
1459
|
anonymous: false,
|
|
@@ -1462,11 +1462,11 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
1462
1462
|
indexed: false,
|
|
1463
1463
|
internalType: "uint64",
|
|
1464
1464
|
name: "version",
|
|
1465
|
-
type: "uint64"
|
|
1466
|
-
}
|
|
1465
|
+
type: "uint64",
|
|
1466
|
+
},
|
|
1467
1467
|
],
|
|
1468
1468
|
name: "Initialized",
|
|
1469
|
-
type: "event"
|
|
1469
|
+
type: "event",
|
|
1470
1470
|
},
|
|
1471
1471
|
{
|
|
1472
1472
|
anonymous: false,
|
|
@@ -1475,17 +1475,17 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
1475
1475
|
indexed: true,
|
|
1476
1476
|
internalType: "address",
|
|
1477
1477
|
name: "previousOwner",
|
|
1478
|
-
type: "address"
|
|
1478
|
+
type: "address",
|
|
1479
1479
|
},
|
|
1480
1480
|
{
|
|
1481
1481
|
indexed: true,
|
|
1482
1482
|
internalType: "address",
|
|
1483
1483
|
name: "newOwner",
|
|
1484
|
-
type: "address"
|
|
1485
|
-
}
|
|
1484
|
+
type: "address",
|
|
1485
|
+
},
|
|
1486
1486
|
],
|
|
1487
1487
|
name: "OwnershipTransferStarted",
|
|
1488
|
-
type: "event"
|
|
1488
|
+
type: "event",
|
|
1489
1489
|
},
|
|
1490
1490
|
{
|
|
1491
1491
|
anonymous: false,
|
|
@@ -1494,17 +1494,17 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
1494
1494
|
indexed: true,
|
|
1495
1495
|
internalType: "address",
|
|
1496
1496
|
name: "previousOwner",
|
|
1497
|
-
type: "address"
|
|
1497
|
+
type: "address",
|
|
1498
1498
|
},
|
|
1499
1499
|
{
|
|
1500
1500
|
indexed: true,
|
|
1501
1501
|
internalType: "address",
|
|
1502
1502
|
name: "newOwner",
|
|
1503
|
-
type: "address"
|
|
1504
|
-
}
|
|
1503
|
+
type: "address",
|
|
1504
|
+
},
|
|
1505
1505
|
],
|
|
1506
1506
|
name: "OwnershipTransferred",
|
|
1507
|
-
type: "event"
|
|
1507
|
+
type: "event",
|
|
1508
1508
|
},
|
|
1509
1509
|
{
|
|
1510
1510
|
anonymous: false,
|
|
@@ -1513,23 +1513,23 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
1513
1513
|
indexed: true,
|
|
1514
1514
|
internalType: "bytes32",
|
|
1515
1515
|
name: "role",
|
|
1516
|
-
type: "bytes32"
|
|
1516
|
+
type: "bytes32",
|
|
1517
1517
|
},
|
|
1518
1518
|
{
|
|
1519
1519
|
indexed: true,
|
|
1520
1520
|
internalType: "bytes32",
|
|
1521
1521
|
name: "previousAdminRole",
|
|
1522
|
-
type: "bytes32"
|
|
1522
|
+
type: "bytes32",
|
|
1523
1523
|
},
|
|
1524
1524
|
{
|
|
1525
1525
|
indexed: true,
|
|
1526
1526
|
internalType: "bytes32",
|
|
1527
1527
|
name: "newAdminRole",
|
|
1528
|
-
type: "bytes32"
|
|
1529
|
-
}
|
|
1528
|
+
type: "bytes32",
|
|
1529
|
+
},
|
|
1530
1530
|
],
|
|
1531
1531
|
name: "RoleAdminChanged",
|
|
1532
|
-
type: "event"
|
|
1532
|
+
type: "event",
|
|
1533
1533
|
},
|
|
1534
1534
|
{
|
|
1535
1535
|
anonymous: false,
|
|
@@ -1538,23 +1538,23 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
1538
1538
|
indexed: true,
|
|
1539
1539
|
internalType: "bytes32",
|
|
1540
1540
|
name: "role",
|
|
1541
|
-
type: "bytes32"
|
|
1541
|
+
type: "bytes32",
|
|
1542
1542
|
},
|
|
1543
1543
|
{
|
|
1544
1544
|
indexed: true,
|
|
1545
1545
|
internalType: "address",
|
|
1546
1546
|
name: "account",
|
|
1547
|
-
type: "address"
|
|
1547
|
+
type: "address",
|
|
1548
1548
|
},
|
|
1549
1549
|
{
|
|
1550
1550
|
indexed: true,
|
|
1551
1551
|
internalType: "address",
|
|
1552
1552
|
name: "sender",
|
|
1553
|
-
type: "address"
|
|
1554
|
-
}
|
|
1553
|
+
type: "address",
|
|
1554
|
+
},
|
|
1555
1555
|
],
|
|
1556
1556
|
name: "RoleGranted",
|
|
1557
|
-
type: "event"
|
|
1557
|
+
type: "event",
|
|
1558
1558
|
},
|
|
1559
1559
|
{
|
|
1560
1560
|
anonymous: false,
|
|
@@ -1563,23 +1563,23 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
1563
1563
|
indexed: true,
|
|
1564
1564
|
internalType: "bytes32",
|
|
1565
1565
|
name: "role",
|
|
1566
|
-
type: "bytes32"
|
|
1566
|
+
type: "bytes32",
|
|
1567
1567
|
},
|
|
1568
1568
|
{
|
|
1569
1569
|
indexed: true,
|
|
1570
1570
|
internalType: "address",
|
|
1571
1571
|
name: "account",
|
|
1572
|
-
type: "address"
|
|
1572
|
+
type: "address",
|
|
1573
1573
|
},
|
|
1574
1574
|
{
|
|
1575
1575
|
indexed: true,
|
|
1576
1576
|
internalType: "address",
|
|
1577
1577
|
name: "sender",
|
|
1578
|
-
type: "address"
|
|
1579
|
-
}
|
|
1578
|
+
type: "address",
|
|
1579
|
+
},
|
|
1580
1580
|
],
|
|
1581
1581
|
name: "RoleRevoked",
|
|
1582
|
-
type: "event"
|
|
1582
|
+
type: "event",
|
|
1583
1583
|
},
|
|
1584
1584
|
{
|
|
1585
1585
|
inputs: [],
|
|
@@ -1588,52 +1588,52 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
1588
1588
|
{
|
|
1589
1589
|
internalType: "bytes32",
|
|
1590
1590
|
name: "",
|
|
1591
|
-
type: "bytes32"
|
|
1592
|
-
}
|
|
1591
|
+
type: "bytes32",
|
|
1592
|
+
},
|
|
1593
1593
|
],
|
|
1594
1594
|
stateMutability: "view",
|
|
1595
|
-
type: "function"
|
|
1595
|
+
type: "function",
|
|
1596
1596
|
},
|
|
1597
1597
|
{
|
|
1598
1598
|
inputs: [],
|
|
1599
1599
|
name: "acceptOwnership",
|
|
1600
1600
|
outputs: [],
|
|
1601
1601
|
stateMutability: "nonpayable",
|
|
1602
|
-
type: "function"
|
|
1602
|
+
type: "function",
|
|
1603
1603
|
},
|
|
1604
1604
|
{
|
|
1605
1605
|
inputs: [
|
|
1606
1606
|
{
|
|
1607
1607
|
internalType: "bytes32",
|
|
1608
1608
|
name: "_txId",
|
|
1609
|
-
type: "bytes32"
|
|
1609
|
+
type: "bytes32",
|
|
1610
1610
|
},
|
|
1611
1611
|
{
|
|
1612
1612
|
internalType: "uint256",
|
|
1613
1613
|
name: "_currentTimestamp",
|
|
1614
|
-
type: "uint256"
|
|
1615
|
-
}
|
|
1614
|
+
type: "uint256",
|
|
1615
|
+
},
|
|
1616
1616
|
],
|
|
1617
1617
|
name: "canFinalize",
|
|
1618
1618
|
outputs: [
|
|
1619
1619
|
{
|
|
1620
1620
|
internalType: "bool",
|
|
1621
1621
|
name: "",
|
|
1622
|
-
type: "bool"
|
|
1622
|
+
type: "bool",
|
|
1623
1623
|
},
|
|
1624
1624
|
{
|
|
1625
1625
|
internalType: "uint256",
|
|
1626
1626
|
name: "",
|
|
1627
|
-
type: "uint256"
|
|
1627
|
+
type: "uint256",
|
|
1628
1628
|
},
|
|
1629
1629
|
{
|
|
1630
1630
|
internalType: "uint256",
|
|
1631
1631
|
name: "",
|
|
1632
|
-
type: "uint256"
|
|
1633
|
-
}
|
|
1632
|
+
type: "uint256",
|
|
1633
|
+
},
|
|
1634
1634
|
],
|
|
1635
1635
|
stateMutability: "view",
|
|
1636
|
-
type: "function"
|
|
1636
|
+
type: "function",
|
|
1637
1637
|
},
|
|
1638
1638
|
{
|
|
1639
1639
|
inputs: [],
|
|
@@ -1642,38 +1642,38 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
1642
1642
|
{
|
|
1643
1643
|
internalType: "contract IConsensusMain",
|
|
1644
1644
|
name: "",
|
|
1645
|
-
type: "address"
|
|
1646
|
-
}
|
|
1645
|
+
type: "address",
|
|
1646
|
+
},
|
|
1647
1647
|
],
|
|
1648
1648
|
stateMutability: "view",
|
|
1649
|
-
type: "function"
|
|
1649
|
+
type: "function",
|
|
1650
1650
|
},
|
|
1651
1651
|
{
|
|
1652
1652
|
inputs: [
|
|
1653
1653
|
{
|
|
1654
1654
|
internalType: "bytes32",
|
|
1655
1655
|
name: "_tx_id",
|
|
1656
|
-
type: "bytes32"
|
|
1657
|
-
}
|
|
1656
|
+
type: "bytes32",
|
|
1657
|
+
},
|
|
1658
1658
|
],
|
|
1659
1659
|
name: "getLastAppealResult",
|
|
1660
1660
|
outputs: [
|
|
1661
1661
|
{
|
|
1662
1662
|
internalType: "enum ITransactions.ResultType",
|
|
1663
1663
|
name: "",
|
|
1664
|
-
type: "uint8"
|
|
1665
|
-
}
|
|
1664
|
+
type: "uint8",
|
|
1665
|
+
},
|
|
1666
1666
|
],
|
|
1667
1667
|
stateMutability: "view",
|
|
1668
|
-
type: "function"
|
|
1668
|
+
type: "function",
|
|
1669
1669
|
},
|
|
1670
1670
|
{
|
|
1671
1671
|
inputs: [
|
|
1672
1672
|
{
|
|
1673
1673
|
internalType: "address",
|
|
1674
1674
|
name: "recipient",
|
|
1675
|
-
type: "address"
|
|
1676
|
-
}
|
|
1675
|
+
type: "address",
|
|
1676
|
+
},
|
|
1677
1677
|
],
|
|
1678
1678
|
name: "getLatestAcceptedTransaction",
|
|
1679
1679
|
outputs: [
|
|
@@ -1682,230 +1682,230 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
1682
1682
|
{
|
|
1683
1683
|
internalType: "uint256",
|
|
1684
1684
|
name: "currentTimestamp",
|
|
1685
|
-
type: "uint256"
|
|
1685
|
+
type: "uint256",
|
|
1686
1686
|
},
|
|
1687
1687
|
{
|
|
1688
1688
|
internalType: "address",
|
|
1689
1689
|
name: "sender",
|
|
1690
|
-
type: "address"
|
|
1690
|
+
type: "address",
|
|
1691
1691
|
},
|
|
1692
1692
|
{
|
|
1693
1693
|
internalType: "address",
|
|
1694
1694
|
name: "recipient",
|
|
1695
|
-
type: "address"
|
|
1695
|
+
type: "address",
|
|
1696
1696
|
},
|
|
1697
1697
|
{
|
|
1698
1698
|
internalType: "uint256",
|
|
1699
1699
|
name: "numOfInitialValidators",
|
|
1700
|
-
type: "uint256"
|
|
1700
|
+
type: "uint256",
|
|
1701
1701
|
},
|
|
1702
1702
|
{
|
|
1703
1703
|
internalType: "uint256",
|
|
1704
1704
|
name: "txSlot",
|
|
1705
|
-
type: "uint256"
|
|
1705
|
+
type: "uint256",
|
|
1706
1706
|
},
|
|
1707
1707
|
{
|
|
1708
1708
|
internalType: "uint256",
|
|
1709
1709
|
name: "createdTimestamp",
|
|
1710
|
-
type: "uint256"
|
|
1710
|
+
type: "uint256",
|
|
1711
1711
|
},
|
|
1712
1712
|
{
|
|
1713
1713
|
internalType: "uint256",
|
|
1714
1714
|
name: "lastVoteTimestamp",
|
|
1715
|
-
type: "uint256"
|
|
1715
|
+
type: "uint256",
|
|
1716
1716
|
},
|
|
1717
1717
|
{
|
|
1718
1718
|
internalType: "bytes32",
|
|
1719
1719
|
name: "randomSeed",
|
|
1720
|
-
type: "bytes32"
|
|
1720
|
+
type: "bytes32",
|
|
1721
1721
|
},
|
|
1722
1722
|
{
|
|
1723
1723
|
internalType: "enum ITransactions.ResultType",
|
|
1724
1724
|
name: "result",
|
|
1725
|
-
type: "uint8"
|
|
1725
|
+
type: "uint8",
|
|
1726
1726
|
},
|
|
1727
1727
|
{
|
|
1728
1728
|
internalType: "bytes",
|
|
1729
1729
|
name: "txData",
|
|
1730
|
-
type: "bytes"
|
|
1730
|
+
type: "bytes",
|
|
1731
1731
|
},
|
|
1732
1732
|
{
|
|
1733
1733
|
internalType: "bytes",
|
|
1734
1734
|
name: "txReceipt",
|
|
1735
|
-
type: "bytes"
|
|
1735
|
+
type: "bytes",
|
|
1736
1736
|
},
|
|
1737
1737
|
{
|
|
1738
1738
|
components: [
|
|
1739
1739
|
{
|
|
1740
1740
|
internalType: "enum IMessages.MessageType",
|
|
1741
1741
|
name: "messageType",
|
|
1742
|
-
type: "uint8"
|
|
1742
|
+
type: "uint8",
|
|
1743
1743
|
},
|
|
1744
1744
|
{
|
|
1745
1745
|
internalType: "address",
|
|
1746
1746
|
name: "recipient",
|
|
1747
|
-
type: "address"
|
|
1747
|
+
type: "address",
|
|
1748
1748
|
},
|
|
1749
1749
|
{
|
|
1750
1750
|
internalType: "uint256",
|
|
1751
1751
|
name: "value",
|
|
1752
|
-
type: "uint256"
|
|
1752
|
+
type: "uint256",
|
|
1753
1753
|
},
|
|
1754
1754
|
{
|
|
1755
1755
|
internalType: "bytes",
|
|
1756
1756
|
name: "data",
|
|
1757
|
-
type: "bytes"
|
|
1757
|
+
type: "bytes",
|
|
1758
1758
|
},
|
|
1759
1759
|
{
|
|
1760
1760
|
internalType: "bool",
|
|
1761
1761
|
name: "onAcceptance",
|
|
1762
|
-
type: "bool"
|
|
1763
|
-
}
|
|
1762
|
+
type: "bool",
|
|
1763
|
+
},
|
|
1764
1764
|
],
|
|
1765
1765
|
internalType: "struct IMessages.SubmittedMessage[]",
|
|
1766
1766
|
name: "messages",
|
|
1767
|
-
type: "tuple[]"
|
|
1767
|
+
type: "tuple[]",
|
|
1768
1768
|
},
|
|
1769
1769
|
{
|
|
1770
1770
|
internalType: "enum IQueues.QueueType",
|
|
1771
1771
|
name: "queueType",
|
|
1772
|
-
type: "uint8"
|
|
1772
|
+
type: "uint8",
|
|
1773
1773
|
},
|
|
1774
1774
|
{
|
|
1775
1775
|
internalType: "uint256",
|
|
1776
1776
|
name: "queuePosition",
|
|
1777
|
-
type: "uint256"
|
|
1777
|
+
type: "uint256",
|
|
1778
1778
|
},
|
|
1779
1779
|
{
|
|
1780
1780
|
internalType: "address",
|
|
1781
1781
|
name: "activator",
|
|
1782
|
-
type: "address"
|
|
1782
|
+
type: "address",
|
|
1783
1783
|
},
|
|
1784
1784
|
{
|
|
1785
1785
|
internalType: "address",
|
|
1786
1786
|
name: "lastLeader",
|
|
1787
|
-
type: "address"
|
|
1787
|
+
type: "address",
|
|
1788
1788
|
},
|
|
1789
1789
|
{
|
|
1790
1790
|
internalType: "enum ITransactions.TransactionStatus",
|
|
1791
1791
|
name: "status",
|
|
1792
|
-
type: "uint8"
|
|
1792
|
+
type: "uint8",
|
|
1793
1793
|
},
|
|
1794
1794
|
{
|
|
1795
1795
|
internalType: "bytes32",
|
|
1796
1796
|
name: "txId",
|
|
1797
|
-
type: "bytes32"
|
|
1797
|
+
type: "bytes32",
|
|
1798
1798
|
},
|
|
1799
1799
|
{
|
|
1800
1800
|
components: [
|
|
1801
1801
|
{
|
|
1802
1802
|
internalType: "uint256",
|
|
1803
1803
|
name: "activationBlock",
|
|
1804
|
-
type: "uint256"
|
|
1804
|
+
type: "uint256",
|
|
1805
1805
|
},
|
|
1806
1806
|
{
|
|
1807
1807
|
internalType: "uint256",
|
|
1808
1808
|
name: "processingBlock",
|
|
1809
|
-
type: "uint256"
|
|
1809
|
+
type: "uint256",
|
|
1810
1810
|
},
|
|
1811
1811
|
{
|
|
1812
1812
|
internalType: "uint256",
|
|
1813
1813
|
name: "proposalBlock",
|
|
1814
|
-
type: "uint256"
|
|
1815
|
-
}
|
|
1814
|
+
type: "uint256",
|
|
1815
|
+
},
|
|
1816
1816
|
],
|
|
1817
1817
|
internalType: "struct ITransactions.ReadStateBlockRange",
|
|
1818
1818
|
name: "readStateBlockRange",
|
|
1819
|
-
type: "tuple"
|
|
1819
|
+
type: "tuple",
|
|
1820
1820
|
},
|
|
1821
1821
|
{
|
|
1822
1822
|
internalType: "uint256",
|
|
1823
1823
|
name: "numOfRounds",
|
|
1824
|
-
type: "uint256"
|
|
1824
|
+
type: "uint256",
|
|
1825
1825
|
},
|
|
1826
1826
|
{
|
|
1827
1827
|
components: [
|
|
1828
1828
|
{
|
|
1829
1829
|
internalType: "uint256",
|
|
1830
1830
|
name: "round",
|
|
1831
|
-
type: "uint256"
|
|
1831
|
+
type: "uint256",
|
|
1832
1832
|
},
|
|
1833
1833
|
{
|
|
1834
1834
|
internalType: "uint256",
|
|
1835
1835
|
name: "leaderIndex",
|
|
1836
|
-
type: "uint256"
|
|
1836
|
+
type: "uint256",
|
|
1837
1837
|
},
|
|
1838
1838
|
{
|
|
1839
1839
|
internalType: "uint256",
|
|
1840
1840
|
name: "votesCommitted",
|
|
1841
|
-
type: "uint256"
|
|
1841
|
+
type: "uint256",
|
|
1842
1842
|
},
|
|
1843
1843
|
{
|
|
1844
1844
|
internalType: "uint256",
|
|
1845
1845
|
name: "votesRevealed",
|
|
1846
|
-
type: "uint256"
|
|
1846
|
+
type: "uint256",
|
|
1847
1847
|
},
|
|
1848
1848
|
{
|
|
1849
1849
|
internalType: "uint256",
|
|
1850
1850
|
name: "appealBond",
|
|
1851
|
-
type: "uint256"
|
|
1851
|
+
type: "uint256",
|
|
1852
1852
|
},
|
|
1853
1853
|
{
|
|
1854
1854
|
internalType: "uint256",
|
|
1855
1855
|
name: "rotationsLeft",
|
|
1856
|
-
type: "uint256"
|
|
1856
|
+
type: "uint256",
|
|
1857
1857
|
},
|
|
1858
1858
|
{
|
|
1859
1859
|
internalType: "enum ITransactions.ResultType",
|
|
1860
1860
|
name: "result",
|
|
1861
|
-
type: "uint8"
|
|
1861
|
+
type: "uint8",
|
|
1862
1862
|
},
|
|
1863
1863
|
{
|
|
1864
1864
|
internalType: "address[]",
|
|
1865
1865
|
name: "roundValidators",
|
|
1866
|
-
type: "address[]"
|
|
1866
|
+
type: "address[]",
|
|
1867
1867
|
},
|
|
1868
1868
|
{
|
|
1869
1869
|
internalType: "bytes32[]",
|
|
1870
1870
|
name: "validatorVotesHash",
|
|
1871
|
-
type: "bytes32[]"
|
|
1871
|
+
type: "bytes32[]",
|
|
1872
1872
|
},
|
|
1873
1873
|
{
|
|
1874
1874
|
internalType: "enum ITransactions.VoteType[]",
|
|
1875
1875
|
name: "validatorVotes",
|
|
1876
|
-
type: "uint8[]"
|
|
1877
|
-
}
|
|
1876
|
+
type: "uint8[]",
|
|
1877
|
+
},
|
|
1878
1878
|
],
|
|
1879
1879
|
internalType: "struct ITransactions.RoundData",
|
|
1880
1880
|
name: "lastRound",
|
|
1881
|
-
type: "tuple"
|
|
1882
|
-
}
|
|
1881
|
+
type: "tuple",
|
|
1882
|
+
},
|
|
1883
1883
|
],
|
|
1884
1884
|
internalType: "struct ConsensusData.TransactionData",
|
|
1885
1885
|
name: "txData",
|
|
1886
|
-
type: "tuple"
|
|
1887
|
-
}
|
|
1886
|
+
type: "tuple",
|
|
1887
|
+
},
|
|
1888
1888
|
],
|
|
1889
1889
|
stateMutability: "view",
|
|
1890
|
-
type: "function"
|
|
1890
|
+
type: "function",
|
|
1891
1891
|
},
|
|
1892
1892
|
{
|
|
1893
1893
|
inputs: [
|
|
1894
1894
|
{
|
|
1895
1895
|
internalType: "address",
|
|
1896
1896
|
name: "recipient",
|
|
1897
|
-
type: "address"
|
|
1897
|
+
type: "address",
|
|
1898
1898
|
},
|
|
1899
1899
|
{
|
|
1900
1900
|
internalType: "uint256",
|
|
1901
1901
|
name: "startIndex",
|
|
1902
|
-
type: "uint256"
|
|
1902
|
+
type: "uint256",
|
|
1903
1903
|
},
|
|
1904
1904
|
{
|
|
1905
1905
|
internalType: "uint256",
|
|
1906
1906
|
name: "pageSize",
|
|
1907
|
-
type: "uint256"
|
|
1908
|
-
}
|
|
1907
|
+
type: "uint256",
|
|
1908
|
+
},
|
|
1909
1909
|
],
|
|
1910
1910
|
name: "getLatestAcceptedTransactions",
|
|
1911
1911
|
outputs: [
|
|
@@ -1914,239 +1914,239 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
1914
1914
|
{
|
|
1915
1915
|
internalType: "uint256",
|
|
1916
1916
|
name: "currentTimestamp",
|
|
1917
|
-
type: "uint256"
|
|
1917
|
+
type: "uint256",
|
|
1918
1918
|
},
|
|
1919
1919
|
{
|
|
1920
1920
|
internalType: "address",
|
|
1921
1921
|
name: "sender",
|
|
1922
|
-
type: "address"
|
|
1922
|
+
type: "address",
|
|
1923
1923
|
},
|
|
1924
1924
|
{
|
|
1925
1925
|
internalType: "address",
|
|
1926
1926
|
name: "recipient",
|
|
1927
|
-
type: "address"
|
|
1927
|
+
type: "address",
|
|
1928
1928
|
},
|
|
1929
1929
|
{
|
|
1930
1930
|
internalType: "uint256",
|
|
1931
1931
|
name: "numOfInitialValidators",
|
|
1932
|
-
type: "uint256"
|
|
1932
|
+
type: "uint256",
|
|
1933
1933
|
},
|
|
1934
1934
|
{
|
|
1935
1935
|
internalType: "uint256",
|
|
1936
1936
|
name: "txSlot",
|
|
1937
|
-
type: "uint256"
|
|
1937
|
+
type: "uint256",
|
|
1938
1938
|
},
|
|
1939
1939
|
{
|
|
1940
1940
|
internalType: "uint256",
|
|
1941
1941
|
name: "createdTimestamp",
|
|
1942
|
-
type: "uint256"
|
|
1942
|
+
type: "uint256",
|
|
1943
1943
|
},
|
|
1944
1944
|
{
|
|
1945
1945
|
internalType: "uint256",
|
|
1946
1946
|
name: "lastVoteTimestamp",
|
|
1947
|
-
type: "uint256"
|
|
1947
|
+
type: "uint256",
|
|
1948
1948
|
},
|
|
1949
1949
|
{
|
|
1950
1950
|
internalType: "bytes32",
|
|
1951
1951
|
name: "randomSeed",
|
|
1952
|
-
type: "bytes32"
|
|
1952
|
+
type: "bytes32",
|
|
1953
1953
|
},
|
|
1954
1954
|
{
|
|
1955
1955
|
internalType: "enum ITransactions.ResultType",
|
|
1956
1956
|
name: "result",
|
|
1957
|
-
type: "uint8"
|
|
1957
|
+
type: "uint8",
|
|
1958
1958
|
},
|
|
1959
1959
|
{
|
|
1960
1960
|
internalType: "bytes",
|
|
1961
1961
|
name: "txData",
|
|
1962
|
-
type: "bytes"
|
|
1962
|
+
type: "bytes",
|
|
1963
1963
|
},
|
|
1964
1964
|
{
|
|
1965
1965
|
internalType: "bytes",
|
|
1966
1966
|
name: "txReceipt",
|
|
1967
|
-
type: "bytes"
|
|
1967
|
+
type: "bytes",
|
|
1968
1968
|
},
|
|
1969
1969
|
{
|
|
1970
1970
|
components: [
|
|
1971
1971
|
{
|
|
1972
1972
|
internalType: "enum IMessages.MessageType",
|
|
1973
1973
|
name: "messageType",
|
|
1974
|
-
type: "uint8"
|
|
1974
|
+
type: "uint8",
|
|
1975
1975
|
},
|
|
1976
1976
|
{
|
|
1977
1977
|
internalType: "address",
|
|
1978
1978
|
name: "recipient",
|
|
1979
|
-
type: "address"
|
|
1979
|
+
type: "address",
|
|
1980
1980
|
},
|
|
1981
1981
|
{
|
|
1982
1982
|
internalType: "uint256",
|
|
1983
1983
|
name: "value",
|
|
1984
|
-
type: "uint256"
|
|
1984
|
+
type: "uint256",
|
|
1985
1985
|
},
|
|
1986
1986
|
{
|
|
1987
1987
|
internalType: "bytes",
|
|
1988
1988
|
name: "data",
|
|
1989
|
-
type: "bytes"
|
|
1989
|
+
type: "bytes",
|
|
1990
1990
|
},
|
|
1991
1991
|
{
|
|
1992
1992
|
internalType: "bool",
|
|
1993
1993
|
name: "onAcceptance",
|
|
1994
|
-
type: "bool"
|
|
1995
|
-
}
|
|
1994
|
+
type: "bool",
|
|
1995
|
+
},
|
|
1996
1996
|
],
|
|
1997
1997
|
internalType: "struct IMessages.SubmittedMessage[]",
|
|
1998
1998
|
name: "messages",
|
|
1999
|
-
type: "tuple[]"
|
|
1999
|
+
type: "tuple[]",
|
|
2000
2000
|
},
|
|
2001
2001
|
{
|
|
2002
2002
|
internalType: "enum IQueues.QueueType",
|
|
2003
2003
|
name: "queueType",
|
|
2004
|
-
type: "uint8"
|
|
2004
|
+
type: "uint8",
|
|
2005
2005
|
},
|
|
2006
2006
|
{
|
|
2007
2007
|
internalType: "uint256",
|
|
2008
2008
|
name: "queuePosition",
|
|
2009
|
-
type: "uint256"
|
|
2009
|
+
type: "uint256",
|
|
2010
2010
|
},
|
|
2011
2011
|
{
|
|
2012
2012
|
internalType: "address",
|
|
2013
2013
|
name: "activator",
|
|
2014
|
-
type: "address"
|
|
2014
|
+
type: "address",
|
|
2015
2015
|
},
|
|
2016
2016
|
{
|
|
2017
2017
|
internalType: "address",
|
|
2018
2018
|
name: "lastLeader",
|
|
2019
|
-
type: "address"
|
|
2019
|
+
type: "address",
|
|
2020
2020
|
},
|
|
2021
2021
|
{
|
|
2022
2022
|
internalType: "enum ITransactions.TransactionStatus",
|
|
2023
2023
|
name: "status",
|
|
2024
|
-
type: "uint8"
|
|
2024
|
+
type: "uint8",
|
|
2025
2025
|
},
|
|
2026
2026
|
{
|
|
2027
2027
|
internalType: "bytes32",
|
|
2028
2028
|
name: "txId",
|
|
2029
|
-
type: "bytes32"
|
|
2029
|
+
type: "bytes32",
|
|
2030
2030
|
},
|
|
2031
2031
|
{
|
|
2032
2032
|
components: [
|
|
2033
2033
|
{
|
|
2034
2034
|
internalType: "uint256",
|
|
2035
2035
|
name: "activationBlock",
|
|
2036
|
-
type: "uint256"
|
|
2036
|
+
type: "uint256",
|
|
2037
2037
|
},
|
|
2038
2038
|
{
|
|
2039
2039
|
internalType: "uint256",
|
|
2040
2040
|
name: "processingBlock",
|
|
2041
|
-
type: "uint256"
|
|
2041
|
+
type: "uint256",
|
|
2042
2042
|
},
|
|
2043
2043
|
{
|
|
2044
2044
|
internalType: "uint256",
|
|
2045
2045
|
name: "proposalBlock",
|
|
2046
|
-
type: "uint256"
|
|
2047
|
-
}
|
|
2046
|
+
type: "uint256",
|
|
2047
|
+
},
|
|
2048
2048
|
],
|
|
2049
2049
|
internalType: "struct ITransactions.ReadStateBlockRange",
|
|
2050
2050
|
name: "readStateBlockRange",
|
|
2051
|
-
type: "tuple"
|
|
2051
|
+
type: "tuple",
|
|
2052
2052
|
},
|
|
2053
2053
|
{
|
|
2054
2054
|
internalType: "uint256",
|
|
2055
2055
|
name: "numOfRounds",
|
|
2056
|
-
type: "uint256"
|
|
2056
|
+
type: "uint256",
|
|
2057
2057
|
},
|
|
2058
2058
|
{
|
|
2059
2059
|
components: [
|
|
2060
2060
|
{
|
|
2061
2061
|
internalType: "uint256",
|
|
2062
2062
|
name: "round",
|
|
2063
|
-
type: "uint256"
|
|
2063
|
+
type: "uint256",
|
|
2064
2064
|
},
|
|
2065
2065
|
{
|
|
2066
2066
|
internalType: "uint256",
|
|
2067
2067
|
name: "leaderIndex",
|
|
2068
|
-
type: "uint256"
|
|
2068
|
+
type: "uint256",
|
|
2069
2069
|
},
|
|
2070
2070
|
{
|
|
2071
2071
|
internalType: "uint256",
|
|
2072
2072
|
name: "votesCommitted",
|
|
2073
|
-
type: "uint256"
|
|
2073
|
+
type: "uint256",
|
|
2074
2074
|
},
|
|
2075
2075
|
{
|
|
2076
2076
|
internalType: "uint256",
|
|
2077
2077
|
name: "votesRevealed",
|
|
2078
|
-
type: "uint256"
|
|
2078
|
+
type: "uint256",
|
|
2079
2079
|
},
|
|
2080
2080
|
{
|
|
2081
2081
|
internalType: "uint256",
|
|
2082
2082
|
name: "appealBond",
|
|
2083
|
-
type: "uint256"
|
|
2083
|
+
type: "uint256",
|
|
2084
2084
|
},
|
|
2085
2085
|
{
|
|
2086
2086
|
internalType: "uint256",
|
|
2087
2087
|
name: "rotationsLeft",
|
|
2088
|
-
type: "uint256"
|
|
2088
|
+
type: "uint256",
|
|
2089
2089
|
},
|
|
2090
2090
|
{
|
|
2091
2091
|
internalType: "enum ITransactions.ResultType",
|
|
2092
2092
|
name: "result",
|
|
2093
|
-
type: "uint8"
|
|
2093
|
+
type: "uint8",
|
|
2094
2094
|
},
|
|
2095
2095
|
{
|
|
2096
2096
|
internalType: "address[]",
|
|
2097
2097
|
name: "roundValidators",
|
|
2098
|
-
type: "address[]"
|
|
2098
|
+
type: "address[]",
|
|
2099
2099
|
},
|
|
2100
2100
|
{
|
|
2101
2101
|
internalType: "bytes32[]",
|
|
2102
2102
|
name: "validatorVotesHash",
|
|
2103
|
-
type: "bytes32[]"
|
|
2103
|
+
type: "bytes32[]",
|
|
2104
2104
|
},
|
|
2105
2105
|
{
|
|
2106
2106
|
internalType: "enum ITransactions.VoteType[]",
|
|
2107
2107
|
name: "validatorVotes",
|
|
2108
|
-
type: "uint8[]"
|
|
2109
|
-
}
|
|
2108
|
+
type: "uint8[]",
|
|
2109
|
+
},
|
|
2110
2110
|
],
|
|
2111
2111
|
internalType: "struct ITransactions.RoundData",
|
|
2112
2112
|
name: "lastRound",
|
|
2113
|
-
type: "tuple"
|
|
2114
|
-
}
|
|
2113
|
+
type: "tuple",
|
|
2114
|
+
},
|
|
2115
2115
|
],
|
|
2116
2116
|
internalType: "struct ConsensusData.TransactionData[]",
|
|
2117
2117
|
name: "",
|
|
2118
|
-
type: "tuple[]"
|
|
2119
|
-
}
|
|
2118
|
+
type: "tuple[]",
|
|
2119
|
+
},
|
|
2120
2120
|
],
|
|
2121
2121
|
stateMutability: "view",
|
|
2122
|
-
type: "function"
|
|
2122
|
+
type: "function",
|
|
2123
2123
|
},
|
|
2124
2124
|
{
|
|
2125
2125
|
inputs: [
|
|
2126
2126
|
{
|
|
2127
2127
|
internalType: "address",
|
|
2128
2128
|
name: "recipient",
|
|
2129
|
-
type: "address"
|
|
2130
|
-
}
|
|
2129
|
+
type: "address",
|
|
2130
|
+
},
|
|
2131
2131
|
],
|
|
2132
2132
|
name: "getLatestAcceptedTxCount",
|
|
2133
2133
|
outputs: [
|
|
2134
2134
|
{
|
|
2135
2135
|
internalType: "uint256",
|
|
2136
2136
|
name: "",
|
|
2137
|
-
type: "uint256"
|
|
2138
|
-
}
|
|
2137
|
+
type: "uint256",
|
|
2138
|
+
},
|
|
2139
2139
|
],
|
|
2140
2140
|
stateMutability: "view",
|
|
2141
|
-
type: "function"
|
|
2141
|
+
type: "function",
|
|
2142
2142
|
},
|
|
2143
2143
|
{
|
|
2144
2144
|
inputs: [
|
|
2145
2145
|
{
|
|
2146
2146
|
internalType: "address",
|
|
2147
2147
|
name: "recipient",
|
|
2148
|
-
type: "address"
|
|
2149
|
-
}
|
|
2148
|
+
type: "address",
|
|
2149
|
+
},
|
|
2150
2150
|
],
|
|
2151
2151
|
name: "getLatestFinalizedTransaction",
|
|
2152
2152
|
outputs: [
|
|
@@ -2155,230 +2155,230 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
2155
2155
|
{
|
|
2156
2156
|
internalType: "uint256",
|
|
2157
2157
|
name: "currentTimestamp",
|
|
2158
|
-
type: "uint256"
|
|
2158
|
+
type: "uint256",
|
|
2159
2159
|
},
|
|
2160
2160
|
{
|
|
2161
2161
|
internalType: "address",
|
|
2162
2162
|
name: "sender",
|
|
2163
|
-
type: "address"
|
|
2163
|
+
type: "address",
|
|
2164
2164
|
},
|
|
2165
2165
|
{
|
|
2166
2166
|
internalType: "address",
|
|
2167
2167
|
name: "recipient",
|
|
2168
|
-
type: "address"
|
|
2168
|
+
type: "address",
|
|
2169
2169
|
},
|
|
2170
2170
|
{
|
|
2171
2171
|
internalType: "uint256",
|
|
2172
2172
|
name: "numOfInitialValidators",
|
|
2173
|
-
type: "uint256"
|
|
2173
|
+
type: "uint256",
|
|
2174
2174
|
},
|
|
2175
2175
|
{
|
|
2176
2176
|
internalType: "uint256",
|
|
2177
2177
|
name: "txSlot",
|
|
2178
|
-
type: "uint256"
|
|
2178
|
+
type: "uint256",
|
|
2179
2179
|
},
|
|
2180
2180
|
{
|
|
2181
2181
|
internalType: "uint256",
|
|
2182
2182
|
name: "createdTimestamp",
|
|
2183
|
-
type: "uint256"
|
|
2183
|
+
type: "uint256",
|
|
2184
2184
|
},
|
|
2185
2185
|
{
|
|
2186
2186
|
internalType: "uint256",
|
|
2187
2187
|
name: "lastVoteTimestamp",
|
|
2188
|
-
type: "uint256"
|
|
2188
|
+
type: "uint256",
|
|
2189
2189
|
},
|
|
2190
2190
|
{
|
|
2191
2191
|
internalType: "bytes32",
|
|
2192
2192
|
name: "randomSeed",
|
|
2193
|
-
type: "bytes32"
|
|
2193
|
+
type: "bytes32",
|
|
2194
2194
|
},
|
|
2195
2195
|
{
|
|
2196
2196
|
internalType: "enum ITransactions.ResultType",
|
|
2197
2197
|
name: "result",
|
|
2198
|
-
type: "uint8"
|
|
2198
|
+
type: "uint8",
|
|
2199
2199
|
},
|
|
2200
2200
|
{
|
|
2201
2201
|
internalType: "bytes",
|
|
2202
2202
|
name: "txData",
|
|
2203
|
-
type: "bytes"
|
|
2203
|
+
type: "bytes",
|
|
2204
2204
|
},
|
|
2205
2205
|
{
|
|
2206
2206
|
internalType: "bytes",
|
|
2207
2207
|
name: "txReceipt",
|
|
2208
|
-
type: "bytes"
|
|
2208
|
+
type: "bytes",
|
|
2209
2209
|
},
|
|
2210
2210
|
{
|
|
2211
2211
|
components: [
|
|
2212
2212
|
{
|
|
2213
2213
|
internalType: "enum IMessages.MessageType",
|
|
2214
2214
|
name: "messageType",
|
|
2215
|
-
type: "uint8"
|
|
2215
|
+
type: "uint8",
|
|
2216
2216
|
},
|
|
2217
2217
|
{
|
|
2218
2218
|
internalType: "address",
|
|
2219
2219
|
name: "recipient",
|
|
2220
|
-
type: "address"
|
|
2220
|
+
type: "address",
|
|
2221
2221
|
},
|
|
2222
2222
|
{
|
|
2223
2223
|
internalType: "uint256",
|
|
2224
2224
|
name: "value",
|
|
2225
|
-
type: "uint256"
|
|
2225
|
+
type: "uint256",
|
|
2226
2226
|
},
|
|
2227
2227
|
{
|
|
2228
2228
|
internalType: "bytes",
|
|
2229
2229
|
name: "data",
|
|
2230
|
-
type: "bytes"
|
|
2230
|
+
type: "bytes",
|
|
2231
2231
|
},
|
|
2232
2232
|
{
|
|
2233
2233
|
internalType: "bool",
|
|
2234
2234
|
name: "onAcceptance",
|
|
2235
|
-
type: "bool"
|
|
2236
|
-
}
|
|
2235
|
+
type: "bool",
|
|
2236
|
+
},
|
|
2237
2237
|
],
|
|
2238
2238
|
internalType: "struct IMessages.SubmittedMessage[]",
|
|
2239
2239
|
name: "messages",
|
|
2240
|
-
type: "tuple[]"
|
|
2240
|
+
type: "tuple[]",
|
|
2241
2241
|
},
|
|
2242
2242
|
{
|
|
2243
2243
|
internalType: "enum IQueues.QueueType",
|
|
2244
2244
|
name: "queueType",
|
|
2245
|
-
type: "uint8"
|
|
2245
|
+
type: "uint8",
|
|
2246
2246
|
},
|
|
2247
2247
|
{
|
|
2248
2248
|
internalType: "uint256",
|
|
2249
2249
|
name: "queuePosition",
|
|
2250
|
-
type: "uint256"
|
|
2250
|
+
type: "uint256",
|
|
2251
2251
|
},
|
|
2252
2252
|
{
|
|
2253
2253
|
internalType: "address",
|
|
2254
2254
|
name: "activator",
|
|
2255
|
-
type: "address"
|
|
2255
|
+
type: "address",
|
|
2256
2256
|
},
|
|
2257
2257
|
{
|
|
2258
2258
|
internalType: "address",
|
|
2259
2259
|
name: "lastLeader",
|
|
2260
|
-
type: "address"
|
|
2260
|
+
type: "address",
|
|
2261
2261
|
},
|
|
2262
2262
|
{
|
|
2263
2263
|
internalType: "enum ITransactions.TransactionStatus",
|
|
2264
2264
|
name: "status",
|
|
2265
|
-
type: "uint8"
|
|
2265
|
+
type: "uint8",
|
|
2266
2266
|
},
|
|
2267
2267
|
{
|
|
2268
2268
|
internalType: "bytes32",
|
|
2269
2269
|
name: "txId",
|
|
2270
|
-
type: "bytes32"
|
|
2270
|
+
type: "bytes32",
|
|
2271
2271
|
},
|
|
2272
2272
|
{
|
|
2273
2273
|
components: [
|
|
2274
2274
|
{
|
|
2275
2275
|
internalType: "uint256",
|
|
2276
2276
|
name: "activationBlock",
|
|
2277
|
-
type: "uint256"
|
|
2277
|
+
type: "uint256",
|
|
2278
2278
|
},
|
|
2279
2279
|
{
|
|
2280
2280
|
internalType: "uint256",
|
|
2281
2281
|
name: "processingBlock",
|
|
2282
|
-
type: "uint256"
|
|
2282
|
+
type: "uint256",
|
|
2283
2283
|
},
|
|
2284
2284
|
{
|
|
2285
2285
|
internalType: "uint256",
|
|
2286
2286
|
name: "proposalBlock",
|
|
2287
|
-
type: "uint256"
|
|
2288
|
-
}
|
|
2287
|
+
type: "uint256",
|
|
2288
|
+
},
|
|
2289
2289
|
],
|
|
2290
2290
|
internalType: "struct ITransactions.ReadStateBlockRange",
|
|
2291
2291
|
name: "readStateBlockRange",
|
|
2292
|
-
type: "tuple"
|
|
2292
|
+
type: "tuple",
|
|
2293
2293
|
},
|
|
2294
2294
|
{
|
|
2295
2295
|
internalType: "uint256",
|
|
2296
2296
|
name: "numOfRounds",
|
|
2297
|
-
type: "uint256"
|
|
2297
|
+
type: "uint256",
|
|
2298
2298
|
},
|
|
2299
2299
|
{
|
|
2300
2300
|
components: [
|
|
2301
2301
|
{
|
|
2302
2302
|
internalType: "uint256",
|
|
2303
2303
|
name: "round",
|
|
2304
|
-
type: "uint256"
|
|
2304
|
+
type: "uint256",
|
|
2305
2305
|
},
|
|
2306
2306
|
{
|
|
2307
2307
|
internalType: "uint256",
|
|
2308
2308
|
name: "leaderIndex",
|
|
2309
|
-
type: "uint256"
|
|
2309
|
+
type: "uint256",
|
|
2310
2310
|
},
|
|
2311
2311
|
{
|
|
2312
2312
|
internalType: "uint256",
|
|
2313
2313
|
name: "votesCommitted",
|
|
2314
|
-
type: "uint256"
|
|
2314
|
+
type: "uint256",
|
|
2315
2315
|
},
|
|
2316
2316
|
{
|
|
2317
2317
|
internalType: "uint256",
|
|
2318
2318
|
name: "votesRevealed",
|
|
2319
|
-
type: "uint256"
|
|
2319
|
+
type: "uint256",
|
|
2320
2320
|
},
|
|
2321
2321
|
{
|
|
2322
2322
|
internalType: "uint256",
|
|
2323
2323
|
name: "appealBond",
|
|
2324
|
-
type: "uint256"
|
|
2324
|
+
type: "uint256",
|
|
2325
2325
|
},
|
|
2326
2326
|
{
|
|
2327
2327
|
internalType: "uint256",
|
|
2328
2328
|
name: "rotationsLeft",
|
|
2329
|
-
type: "uint256"
|
|
2329
|
+
type: "uint256",
|
|
2330
2330
|
},
|
|
2331
2331
|
{
|
|
2332
2332
|
internalType: "enum ITransactions.ResultType",
|
|
2333
2333
|
name: "result",
|
|
2334
|
-
type: "uint8"
|
|
2334
|
+
type: "uint8",
|
|
2335
2335
|
},
|
|
2336
2336
|
{
|
|
2337
2337
|
internalType: "address[]",
|
|
2338
2338
|
name: "roundValidators",
|
|
2339
|
-
type: "address[]"
|
|
2339
|
+
type: "address[]",
|
|
2340
2340
|
},
|
|
2341
2341
|
{
|
|
2342
2342
|
internalType: "bytes32[]",
|
|
2343
2343
|
name: "validatorVotesHash",
|
|
2344
|
-
type: "bytes32[]"
|
|
2344
|
+
type: "bytes32[]",
|
|
2345
2345
|
},
|
|
2346
2346
|
{
|
|
2347
2347
|
internalType: "enum ITransactions.VoteType[]",
|
|
2348
2348
|
name: "validatorVotes",
|
|
2349
|
-
type: "uint8[]"
|
|
2350
|
-
}
|
|
2349
|
+
type: "uint8[]",
|
|
2350
|
+
},
|
|
2351
2351
|
],
|
|
2352
2352
|
internalType: "struct ITransactions.RoundData",
|
|
2353
2353
|
name: "lastRound",
|
|
2354
|
-
type: "tuple"
|
|
2355
|
-
}
|
|
2354
|
+
type: "tuple",
|
|
2355
|
+
},
|
|
2356
2356
|
],
|
|
2357
2357
|
internalType: "struct ConsensusData.TransactionData",
|
|
2358
2358
|
name: "txData",
|
|
2359
|
-
type: "tuple"
|
|
2360
|
-
}
|
|
2359
|
+
type: "tuple",
|
|
2360
|
+
},
|
|
2361
2361
|
],
|
|
2362
2362
|
stateMutability: "view",
|
|
2363
|
-
type: "function"
|
|
2363
|
+
type: "function",
|
|
2364
2364
|
},
|
|
2365
2365
|
{
|
|
2366
2366
|
inputs: [
|
|
2367
2367
|
{
|
|
2368
2368
|
internalType: "address",
|
|
2369
2369
|
name: "recipient",
|
|
2370
|
-
type: "address"
|
|
2370
|
+
type: "address",
|
|
2371
2371
|
},
|
|
2372
2372
|
{
|
|
2373
2373
|
internalType: "uint256",
|
|
2374
2374
|
name: "startIndex",
|
|
2375
|
-
type: "uint256"
|
|
2375
|
+
type: "uint256",
|
|
2376
2376
|
},
|
|
2377
2377
|
{
|
|
2378
2378
|
internalType: "uint256",
|
|
2379
2379
|
name: "pageSize",
|
|
2380
|
-
type: "uint256"
|
|
2381
|
-
}
|
|
2380
|
+
type: "uint256",
|
|
2381
|
+
},
|
|
2382
2382
|
],
|
|
2383
2383
|
name: "getLatestFinalizedTransactions",
|
|
2384
2384
|
outputs: [
|
|
@@ -2387,282 +2387,282 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
2387
2387
|
{
|
|
2388
2388
|
internalType: "uint256",
|
|
2389
2389
|
name: "currentTimestamp",
|
|
2390
|
-
type: "uint256"
|
|
2390
|
+
type: "uint256",
|
|
2391
2391
|
},
|
|
2392
2392
|
{
|
|
2393
2393
|
internalType: "address",
|
|
2394
2394
|
name: "sender",
|
|
2395
|
-
type: "address"
|
|
2395
|
+
type: "address",
|
|
2396
2396
|
},
|
|
2397
2397
|
{
|
|
2398
2398
|
internalType: "address",
|
|
2399
2399
|
name: "recipient",
|
|
2400
|
-
type: "address"
|
|
2400
|
+
type: "address",
|
|
2401
2401
|
},
|
|
2402
2402
|
{
|
|
2403
2403
|
internalType: "uint256",
|
|
2404
2404
|
name: "numOfInitialValidators",
|
|
2405
|
-
type: "uint256"
|
|
2405
|
+
type: "uint256",
|
|
2406
2406
|
},
|
|
2407
2407
|
{
|
|
2408
2408
|
internalType: "uint256",
|
|
2409
2409
|
name: "txSlot",
|
|
2410
|
-
type: "uint256"
|
|
2410
|
+
type: "uint256",
|
|
2411
2411
|
},
|
|
2412
2412
|
{
|
|
2413
2413
|
internalType: "uint256",
|
|
2414
2414
|
name: "createdTimestamp",
|
|
2415
|
-
type: "uint256"
|
|
2415
|
+
type: "uint256",
|
|
2416
2416
|
},
|
|
2417
2417
|
{
|
|
2418
2418
|
internalType: "uint256",
|
|
2419
2419
|
name: "lastVoteTimestamp",
|
|
2420
|
-
type: "uint256"
|
|
2420
|
+
type: "uint256",
|
|
2421
2421
|
},
|
|
2422
2422
|
{
|
|
2423
2423
|
internalType: "bytes32",
|
|
2424
2424
|
name: "randomSeed",
|
|
2425
|
-
type: "bytes32"
|
|
2425
|
+
type: "bytes32",
|
|
2426
2426
|
},
|
|
2427
2427
|
{
|
|
2428
2428
|
internalType: "enum ITransactions.ResultType",
|
|
2429
2429
|
name: "result",
|
|
2430
|
-
type: "uint8"
|
|
2430
|
+
type: "uint8",
|
|
2431
2431
|
},
|
|
2432
2432
|
{
|
|
2433
2433
|
internalType: "bytes",
|
|
2434
2434
|
name: "txData",
|
|
2435
|
-
type: "bytes"
|
|
2435
|
+
type: "bytes",
|
|
2436
2436
|
},
|
|
2437
2437
|
{
|
|
2438
2438
|
internalType: "bytes",
|
|
2439
2439
|
name: "txReceipt",
|
|
2440
|
-
type: "bytes"
|
|
2440
|
+
type: "bytes",
|
|
2441
2441
|
},
|
|
2442
2442
|
{
|
|
2443
2443
|
components: [
|
|
2444
2444
|
{
|
|
2445
2445
|
internalType: "enum IMessages.MessageType",
|
|
2446
2446
|
name: "messageType",
|
|
2447
|
-
type: "uint8"
|
|
2447
|
+
type: "uint8",
|
|
2448
2448
|
},
|
|
2449
2449
|
{
|
|
2450
2450
|
internalType: "address",
|
|
2451
2451
|
name: "recipient",
|
|
2452
|
-
type: "address"
|
|
2452
|
+
type: "address",
|
|
2453
2453
|
},
|
|
2454
2454
|
{
|
|
2455
2455
|
internalType: "uint256",
|
|
2456
2456
|
name: "value",
|
|
2457
|
-
type: "uint256"
|
|
2457
|
+
type: "uint256",
|
|
2458
2458
|
},
|
|
2459
2459
|
{
|
|
2460
2460
|
internalType: "bytes",
|
|
2461
2461
|
name: "data",
|
|
2462
|
-
type: "bytes"
|
|
2462
|
+
type: "bytes",
|
|
2463
2463
|
},
|
|
2464
2464
|
{
|
|
2465
2465
|
internalType: "bool",
|
|
2466
2466
|
name: "onAcceptance",
|
|
2467
|
-
type: "bool"
|
|
2468
|
-
}
|
|
2467
|
+
type: "bool",
|
|
2468
|
+
},
|
|
2469
2469
|
],
|
|
2470
2470
|
internalType: "struct IMessages.SubmittedMessage[]",
|
|
2471
2471
|
name: "messages",
|
|
2472
|
-
type: "tuple[]"
|
|
2472
|
+
type: "tuple[]",
|
|
2473
2473
|
},
|
|
2474
2474
|
{
|
|
2475
2475
|
internalType: "enum IQueues.QueueType",
|
|
2476
2476
|
name: "queueType",
|
|
2477
|
-
type: "uint8"
|
|
2477
|
+
type: "uint8",
|
|
2478
2478
|
},
|
|
2479
2479
|
{
|
|
2480
2480
|
internalType: "uint256",
|
|
2481
2481
|
name: "queuePosition",
|
|
2482
|
-
type: "uint256"
|
|
2482
|
+
type: "uint256",
|
|
2483
2483
|
},
|
|
2484
2484
|
{
|
|
2485
2485
|
internalType: "address",
|
|
2486
2486
|
name: "activator",
|
|
2487
|
-
type: "address"
|
|
2487
|
+
type: "address",
|
|
2488
2488
|
},
|
|
2489
2489
|
{
|
|
2490
2490
|
internalType: "address",
|
|
2491
2491
|
name: "lastLeader",
|
|
2492
|
-
type: "address"
|
|
2492
|
+
type: "address",
|
|
2493
2493
|
},
|
|
2494
2494
|
{
|
|
2495
2495
|
internalType: "enum ITransactions.TransactionStatus",
|
|
2496
2496
|
name: "status",
|
|
2497
|
-
type: "uint8"
|
|
2497
|
+
type: "uint8",
|
|
2498
2498
|
},
|
|
2499
2499
|
{
|
|
2500
2500
|
internalType: "bytes32",
|
|
2501
2501
|
name: "txId",
|
|
2502
|
-
type: "bytes32"
|
|
2502
|
+
type: "bytes32",
|
|
2503
2503
|
},
|
|
2504
2504
|
{
|
|
2505
2505
|
components: [
|
|
2506
2506
|
{
|
|
2507
2507
|
internalType: "uint256",
|
|
2508
2508
|
name: "activationBlock",
|
|
2509
|
-
type: "uint256"
|
|
2509
|
+
type: "uint256",
|
|
2510
2510
|
},
|
|
2511
2511
|
{
|
|
2512
2512
|
internalType: "uint256",
|
|
2513
2513
|
name: "processingBlock",
|
|
2514
|
-
type: "uint256"
|
|
2514
|
+
type: "uint256",
|
|
2515
2515
|
},
|
|
2516
2516
|
{
|
|
2517
2517
|
internalType: "uint256",
|
|
2518
2518
|
name: "proposalBlock",
|
|
2519
|
-
type: "uint256"
|
|
2520
|
-
}
|
|
2519
|
+
type: "uint256",
|
|
2520
|
+
},
|
|
2521
2521
|
],
|
|
2522
2522
|
internalType: "struct ITransactions.ReadStateBlockRange",
|
|
2523
2523
|
name: "readStateBlockRange",
|
|
2524
|
-
type: "tuple"
|
|
2524
|
+
type: "tuple",
|
|
2525
2525
|
},
|
|
2526
2526
|
{
|
|
2527
2527
|
internalType: "uint256",
|
|
2528
2528
|
name: "numOfRounds",
|
|
2529
|
-
type: "uint256"
|
|
2529
|
+
type: "uint256",
|
|
2530
2530
|
},
|
|
2531
2531
|
{
|
|
2532
2532
|
components: [
|
|
2533
2533
|
{
|
|
2534
2534
|
internalType: "uint256",
|
|
2535
2535
|
name: "round",
|
|
2536
|
-
type: "uint256"
|
|
2536
|
+
type: "uint256",
|
|
2537
2537
|
},
|
|
2538
2538
|
{
|
|
2539
2539
|
internalType: "uint256",
|
|
2540
2540
|
name: "leaderIndex",
|
|
2541
|
-
type: "uint256"
|
|
2541
|
+
type: "uint256",
|
|
2542
2542
|
},
|
|
2543
2543
|
{
|
|
2544
2544
|
internalType: "uint256",
|
|
2545
2545
|
name: "votesCommitted",
|
|
2546
|
-
type: "uint256"
|
|
2546
|
+
type: "uint256",
|
|
2547
2547
|
},
|
|
2548
2548
|
{
|
|
2549
2549
|
internalType: "uint256",
|
|
2550
2550
|
name: "votesRevealed",
|
|
2551
|
-
type: "uint256"
|
|
2551
|
+
type: "uint256",
|
|
2552
2552
|
},
|
|
2553
2553
|
{
|
|
2554
2554
|
internalType: "uint256",
|
|
2555
2555
|
name: "appealBond",
|
|
2556
|
-
type: "uint256"
|
|
2556
|
+
type: "uint256",
|
|
2557
2557
|
},
|
|
2558
2558
|
{
|
|
2559
2559
|
internalType: "uint256",
|
|
2560
2560
|
name: "rotationsLeft",
|
|
2561
|
-
type: "uint256"
|
|
2561
|
+
type: "uint256",
|
|
2562
2562
|
},
|
|
2563
2563
|
{
|
|
2564
2564
|
internalType: "enum ITransactions.ResultType",
|
|
2565
2565
|
name: "result",
|
|
2566
|
-
type: "uint8"
|
|
2566
|
+
type: "uint8",
|
|
2567
2567
|
},
|
|
2568
2568
|
{
|
|
2569
2569
|
internalType: "address[]",
|
|
2570
2570
|
name: "roundValidators",
|
|
2571
|
-
type: "address[]"
|
|
2571
|
+
type: "address[]",
|
|
2572
2572
|
},
|
|
2573
2573
|
{
|
|
2574
2574
|
internalType: "bytes32[]",
|
|
2575
2575
|
name: "validatorVotesHash",
|
|
2576
|
-
type: "bytes32[]"
|
|
2576
|
+
type: "bytes32[]",
|
|
2577
2577
|
},
|
|
2578
2578
|
{
|
|
2579
2579
|
internalType: "enum ITransactions.VoteType[]",
|
|
2580
2580
|
name: "validatorVotes",
|
|
2581
|
-
type: "uint8[]"
|
|
2582
|
-
}
|
|
2581
|
+
type: "uint8[]",
|
|
2582
|
+
},
|
|
2583
2583
|
],
|
|
2584
2584
|
internalType: "struct ITransactions.RoundData",
|
|
2585
2585
|
name: "lastRound",
|
|
2586
|
-
type: "tuple"
|
|
2587
|
-
}
|
|
2586
|
+
type: "tuple",
|
|
2587
|
+
},
|
|
2588
2588
|
],
|
|
2589
2589
|
internalType: "struct ConsensusData.TransactionData[]",
|
|
2590
2590
|
name: "",
|
|
2591
|
-
type: "tuple[]"
|
|
2592
|
-
}
|
|
2591
|
+
type: "tuple[]",
|
|
2592
|
+
},
|
|
2593
2593
|
],
|
|
2594
2594
|
stateMutability: "view",
|
|
2595
|
-
type: "function"
|
|
2595
|
+
type: "function",
|
|
2596
2596
|
},
|
|
2597
2597
|
{
|
|
2598
2598
|
inputs: [
|
|
2599
2599
|
{
|
|
2600
2600
|
internalType: "address",
|
|
2601
2601
|
name: "recipient",
|
|
2602
|
-
type: "address"
|
|
2603
|
-
}
|
|
2602
|
+
type: "address",
|
|
2603
|
+
},
|
|
2604
2604
|
],
|
|
2605
2605
|
name: "getLatestFinalizedTxCount",
|
|
2606
2606
|
outputs: [
|
|
2607
2607
|
{
|
|
2608
2608
|
internalType: "uint256",
|
|
2609
2609
|
name: "",
|
|
2610
|
-
type: "uint256"
|
|
2611
|
-
}
|
|
2610
|
+
type: "uint256",
|
|
2611
|
+
},
|
|
2612
2612
|
],
|
|
2613
2613
|
stateMutability: "view",
|
|
2614
|
-
type: "function"
|
|
2614
|
+
type: "function",
|
|
2615
2615
|
},
|
|
2616
2616
|
{
|
|
2617
2617
|
inputs: [
|
|
2618
2618
|
{
|
|
2619
2619
|
internalType: "address",
|
|
2620
2620
|
name: "recipient",
|
|
2621
|
-
type: "address"
|
|
2622
|
-
}
|
|
2621
|
+
type: "address",
|
|
2622
|
+
},
|
|
2623
2623
|
],
|
|
2624
2624
|
name: "getLatestPendingTxCount",
|
|
2625
2625
|
outputs: [
|
|
2626
2626
|
{
|
|
2627
2627
|
internalType: "uint256",
|
|
2628
2628
|
name: "",
|
|
2629
|
-
type: "uint256"
|
|
2630
|
-
}
|
|
2629
|
+
type: "uint256",
|
|
2630
|
+
},
|
|
2631
2631
|
],
|
|
2632
2632
|
stateMutability: "view",
|
|
2633
|
-
type: "function"
|
|
2633
|
+
type: "function",
|
|
2634
2634
|
},
|
|
2635
2635
|
{
|
|
2636
2636
|
inputs: [
|
|
2637
2637
|
{
|
|
2638
2638
|
internalType: "address",
|
|
2639
2639
|
name: "recipient",
|
|
2640
|
-
type: "address"
|
|
2640
|
+
type: "address",
|
|
2641
2641
|
},
|
|
2642
2642
|
{
|
|
2643
2643
|
internalType: "uint256",
|
|
2644
2644
|
name: "slot",
|
|
2645
|
-
type: "uint256"
|
|
2646
|
-
}
|
|
2645
|
+
type: "uint256",
|
|
2646
|
+
},
|
|
2647
2647
|
],
|
|
2648
2648
|
name: "getLatestPendingTxId",
|
|
2649
2649
|
outputs: [
|
|
2650
2650
|
{
|
|
2651
2651
|
internalType: "bytes32",
|
|
2652
2652
|
name: "",
|
|
2653
|
-
type: "bytes32"
|
|
2654
|
-
}
|
|
2653
|
+
type: "bytes32",
|
|
2654
|
+
},
|
|
2655
2655
|
],
|
|
2656
2656
|
stateMutability: "view",
|
|
2657
|
-
type: "function"
|
|
2657
|
+
type: "function",
|
|
2658
2658
|
},
|
|
2659
2659
|
{
|
|
2660
2660
|
inputs: [
|
|
2661
2661
|
{
|
|
2662
2662
|
internalType: "address",
|
|
2663
2663
|
name: "recipient",
|
|
2664
|
-
type: "address"
|
|
2665
|
-
}
|
|
2664
|
+
type: "address",
|
|
2665
|
+
},
|
|
2666
2666
|
],
|
|
2667
2667
|
name: "getLatestUndeterminedTransaction",
|
|
2668
2668
|
outputs: [
|
|
@@ -2671,239 +2671,239 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
2671
2671
|
{
|
|
2672
2672
|
internalType: "uint256",
|
|
2673
2673
|
name: "currentTimestamp",
|
|
2674
|
-
type: "uint256"
|
|
2674
|
+
type: "uint256",
|
|
2675
2675
|
},
|
|
2676
2676
|
{
|
|
2677
2677
|
internalType: "address",
|
|
2678
2678
|
name: "sender",
|
|
2679
|
-
type: "address"
|
|
2679
|
+
type: "address",
|
|
2680
2680
|
},
|
|
2681
2681
|
{
|
|
2682
2682
|
internalType: "address",
|
|
2683
2683
|
name: "recipient",
|
|
2684
|
-
type: "address"
|
|
2684
|
+
type: "address",
|
|
2685
2685
|
},
|
|
2686
2686
|
{
|
|
2687
2687
|
internalType: "uint256",
|
|
2688
2688
|
name: "numOfInitialValidators",
|
|
2689
|
-
type: "uint256"
|
|
2689
|
+
type: "uint256",
|
|
2690
2690
|
},
|
|
2691
2691
|
{
|
|
2692
2692
|
internalType: "uint256",
|
|
2693
2693
|
name: "txSlot",
|
|
2694
|
-
type: "uint256"
|
|
2694
|
+
type: "uint256",
|
|
2695
2695
|
},
|
|
2696
2696
|
{
|
|
2697
2697
|
internalType: "uint256",
|
|
2698
2698
|
name: "createdTimestamp",
|
|
2699
|
-
type: "uint256"
|
|
2699
|
+
type: "uint256",
|
|
2700
2700
|
},
|
|
2701
2701
|
{
|
|
2702
2702
|
internalType: "uint256",
|
|
2703
2703
|
name: "lastVoteTimestamp",
|
|
2704
|
-
type: "uint256"
|
|
2704
|
+
type: "uint256",
|
|
2705
2705
|
},
|
|
2706
2706
|
{
|
|
2707
2707
|
internalType: "bytes32",
|
|
2708
2708
|
name: "randomSeed",
|
|
2709
|
-
type: "bytes32"
|
|
2709
|
+
type: "bytes32",
|
|
2710
2710
|
},
|
|
2711
2711
|
{
|
|
2712
2712
|
internalType: "enum ITransactions.ResultType",
|
|
2713
2713
|
name: "result",
|
|
2714
|
-
type: "uint8"
|
|
2714
|
+
type: "uint8",
|
|
2715
2715
|
},
|
|
2716
2716
|
{
|
|
2717
2717
|
internalType: "bytes",
|
|
2718
2718
|
name: "txData",
|
|
2719
|
-
type: "bytes"
|
|
2719
|
+
type: "bytes",
|
|
2720
2720
|
},
|
|
2721
2721
|
{
|
|
2722
2722
|
internalType: "bytes",
|
|
2723
2723
|
name: "txReceipt",
|
|
2724
|
-
type: "bytes"
|
|
2724
|
+
type: "bytes",
|
|
2725
2725
|
},
|
|
2726
2726
|
{
|
|
2727
2727
|
components: [
|
|
2728
2728
|
{
|
|
2729
2729
|
internalType: "enum IMessages.MessageType",
|
|
2730
2730
|
name: "messageType",
|
|
2731
|
-
type: "uint8"
|
|
2731
|
+
type: "uint8",
|
|
2732
2732
|
},
|
|
2733
2733
|
{
|
|
2734
2734
|
internalType: "address",
|
|
2735
2735
|
name: "recipient",
|
|
2736
|
-
type: "address"
|
|
2736
|
+
type: "address",
|
|
2737
2737
|
},
|
|
2738
2738
|
{
|
|
2739
2739
|
internalType: "uint256",
|
|
2740
2740
|
name: "value",
|
|
2741
|
-
type: "uint256"
|
|
2741
|
+
type: "uint256",
|
|
2742
2742
|
},
|
|
2743
2743
|
{
|
|
2744
2744
|
internalType: "bytes",
|
|
2745
2745
|
name: "data",
|
|
2746
|
-
type: "bytes"
|
|
2746
|
+
type: "bytes",
|
|
2747
2747
|
},
|
|
2748
2748
|
{
|
|
2749
2749
|
internalType: "bool",
|
|
2750
2750
|
name: "onAcceptance",
|
|
2751
|
-
type: "bool"
|
|
2752
|
-
}
|
|
2751
|
+
type: "bool",
|
|
2752
|
+
},
|
|
2753
2753
|
],
|
|
2754
2754
|
internalType: "struct IMessages.SubmittedMessage[]",
|
|
2755
2755
|
name: "messages",
|
|
2756
|
-
type: "tuple[]"
|
|
2756
|
+
type: "tuple[]",
|
|
2757
2757
|
},
|
|
2758
2758
|
{
|
|
2759
2759
|
internalType: "enum IQueues.QueueType",
|
|
2760
2760
|
name: "queueType",
|
|
2761
|
-
type: "uint8"
|
|
2761
|
+
type: "uint8",
|
|
2762
2762
|
},
|
|
2763
2763
|
{
|
|
2764
2764
|
internalType: "uint256",
|
|
2765
2765
|
name: "queuePosition",
|
|
2766
|
-
type: "uint256"
|
|
2766
|
+
type: "uint256",
|
|
2767
2767
|
},
|
|
2768
2768
|
{
|
|
2769
2769
|
internalType: "address",
|
|
2770
2770
|
name: "activator",
|
|
2771
|
-
type: "address"
|
|
2771
|
+
type: "address",
|
|
2772
2772
|
},
|
|
2773
2773
|
{
|
|
2774
2774
|
internalType: "address",
|
|
2775
2775
|
name: "lastLeader",
|
|
2776
|
-
type: "address"
|
|
2776
|
+
type: "address",
|
|
2777
2777
|
},
|
|
2778
2778
|
{
|
|
2779
2779
|
internalType: "enum ITransactions.TransactionStatus",
|
|
2780
2780
|
name: "status",
|
|
2781
|
-
type: "uint8"
|
|
2781
|
+
type: "uint8",
|
|
2782
2782
|
},
|
|
2783
2783
|
{
|
|
2784
2784
|
internalType: "bytes32",
|
|
2785
2785
|
name: "txId",
|
|
2786
|
-
type: "bytes32"
|
|
2786
|
+
type: "bytes32",
|
|
2787
2787
|
},
|
|
2788
2788
|
{
|
|
2789
2789
|
components: [
|
|
2790
2790
|
{
|
|
2791
2791
|
internalType: "uint256",
|
|
2792
2792
|
name: "activationBlock",
|
|
2793
|
-
type: "uint256"
|
|
2793
|
+
type: "uint256",
|
|
2794
2794
|
},
|
|
2795
2795
|
{
|
|
2796
2796
|
internalType: "uint256",
|
|
2797
2797
|
name: "processingBlock",
|
|
2798
|
-
type: "uint256"
|
|
2798
|
+
type: "uint256",
|
|
2799
2799
|
},
|
|
2800
2800
|
{
|
|
2801
2801
|
internalType: "uint256",
|
|
2802
2802
|
name: "proposalBlock",
|
|
2803
|
-
type: "uint256"
|
|
2804
|
-
}
|
|
2803
|
+
type: "uint256",
|
|
2804
|
+
},
|
|
2805
2805
|
],
|
|
2806
2806
|
internalType: "struct ITransactions.ReadStateBlockRange",
|
|
2807
2807
|
name: "readStateBlockRange",
|
|
2808
|
-
type: "tuple"
|
|
2808
|
+
type: "tuple",
|
|
2809
2809
|
},
|
|
2810
2810
|
{
|
|
2811
2811
|
internalType: "uint256",
|
|
2812
2812
|
name: "numOfRounds",
|
|
2813
|
-
type: "uint256"
|
|
2813
|
+
type: "uint256",
|
|
2814
2814
|
},
|
|
2815
2815
|
{
|
|
2816
2816
|
components: [
|
|
2817
2817
|
{
|
|
2818
2818
|
internalType: "uint256",
|
|
2819
2819
|
name: "round",
|
|
2820
|
-
type: "uint256"
|
|
2820
|
+
type: "uint256",
|
|
2821
2821
|
},
|
|
2822
2822
|
{
|
|
2823
2823
|
internalType: "uint256",
|
|
2824
2824
|
name: "leaderIndex",
|
|
2825
|
-
type: "uint256"
|
|
2825
|
+
type: "uint256",
|
|
2826
2826
|
},
|
|
2827
2827
|
{
|
|
2828
2828
|
internalType: "uint256",
|
|
2829
2829
|
name: "votesCommitted",
|
|
2830
|
-
type: "uint256"
|
|
2830
|
+
type: "uint256",
|
|
2831
2831
|
},
|
|
2832
2832
|
{
|
|
2833
2833
|
internalType: "uint256",
|
|
2834
2834
|
name: "votesRevealed",
|
|
2835
|
-
type: "uint256"
|
|
2835
|
+
type: "uint256",
|
|
2836
2836
|
},
|
|
2837
2837
|
{
|
|
2838
2838
|
internalType: "uint256",
|
|
2839
2839
|
name: "appealBond",
|
|
2840
|
-
type: "uint256"
|
|
2840
|
+
type: "uint256",
|
|
2841
2841
|
},
|
|
2842
2842
|
{
|
|
2843
2843
|
internalType: "uint256",
|
|
2844
2844
|
name: "rotationsLeft",
|
|
2845
|
-
type: "uint256"
|
|
2845
|
+
type: "uint256",
|
|
2846
2846
|
},
|
|
2847
2847
|
{
|
|
2848
2848
|
internalType: "enum ITransactions.ResultType",
|
|
2849
2849
|
name: "result",
|
|
2850
|
-
type: "uint8"
|
|
2850
|
+
type: "uint8",
|
|
2851
2851
|
},
|
|
2852
2852
|
{
|
|
2853
2853
|
internalType: "address[]",
|
|
2854
2854
|
name: "roundValidators",
|
|
2855
|
-
type: "address[]"
|
|
2855
|
+
type: "address[]",
|
|
2856
2856
|
},
|
|
2857
2857
|
{
|
|
2858
2858
|
internalType: "bytes32[]",
|
|
2859
2859
|
name: "validatorVotesHash",
|
|
2860
|
-
type: "bytes32[]"
|
|
2860
|
+
type: "bytes32[]",
|
|
2861
2861
|
},
|
|
2862
2862
|
{
|
|
2863
2863
|
internalType: "enum ITransactions.VoteType[]",
|
|
2864
2864
|
name: "validatorVotes",
|
|
2865
|
-
type: "uint8[]"
|
|
2866
|
-
}
|
|
2865
|
+
type: "uint8[]",
|
|
2866
|
+
},
|
|
2867
2867
|
],
|
|
2868
2868
|
internalType: "struct ITransactions.RoundData",
|
|
2869
2869
|
name: "lastRound",
|
|
2870
|
-
type: "tuple"
|
|
2871
|
-
}
|
|
2870
|
+
type: "tuple",
|
|
2871
|
+
},
|
|
2872
2872
|
],
|
|
2873
2873
|
internalType: "struct ConsensusData.TransactionData",
|
|
2874
2874
|
name: "txData",
|
|
2875
|
-
type: "tuple"
|
|
2876
|
-
}
|
|
2875
|
+
type: "tuple",
|
|
2876
|
+
},
|
|
2877
2877
|
],
|
|
2878
2878
|
stateMutability: "view",
|
|
2879
|
-
type: "function"
|
|
2879
|
+
type: "function",
|
|
2880
2880
|
},
|
|
2881
2881
|
{
|
|
2882
2882
|
inputs: [
|
|
2883
2883
|
{
|
|
2884
2884
|
internalType: "address",
|
|
2885
2885
|
name: "recipient",
|
|
2886
|
-
type: "address"
|
|
2887
|
-
}
|
|
2886
|
+
type: "address",
|
|
2887
|
+
},
|
|
2888
2888
|
],
|
|
2889
2889
|
name: "getLatestUndeterminedTxCount",
|
|
2890
2890
|
outputs: [
|
|
2891
2891
|
{
|
|
2892
2892
|
internalType: "uint256",
|
|
2893
2893
|
name: "",
|
|
2894
|
-
type: "uint256"
|
|
2895
|
-
}
|
|
2894
|
+
type: "uint256",
|
|
2895
|
+
},
|
|
2896
2896
|
],
|
|
2897
2897
|
stateMutability: "view",
|
|
2898
|
-
type: "function"
|
|
2898
|
+
type: "function",
|
|
2899
2899
|
},
|
|
2900
2900
|
{
|
|
2901
2901
|
inputs: [
|
|
2902
2902
|
{
|
|
2903
2903
|
internalType: "bytes32",
|
|
2904
2904
|
name: "_tx_id",
|
|
2905
|
-
type: "bytes32"
|
|
2906
|
-
}
|
|
2905
|
+
type: "bytes32",
|
|
2906
|
+
},
|
|
2907
2907
|
],
|
|
2908
2908
|
name: "getMessagesForTransaction",
|
|
2909
2909
|
outputs: [
|
|
@@ -2912,98 +2912,98 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
2912
2912
|
{
|
|
2913
2913
|
internalType: "enum IMessages.MessageType",
|
|
2914
2914
|
name: "messageType",
|
|
2915
|
-
type: "uint8"
|
|
2915
|
+
type: "uint8",
|
|
2916
2916
|
},
|
|
2917
2917
|
{
|
|
2918
2918
|
internalType: "address",
|
|
2919
2919
|
name: "recipient",
|
|
2920
|
-
type: "address"
|
|
2920
|
+
type: "address",
|
|
2921
2921
|
},
|
|
2922
2922
|
{
|
|
2923
2923
|
internalType: "uint256",
|
|
2924
2924
|
name: "value",
|
|
2925
|
-
type: "uint256"
|
|
2925
|
+
type: "uint256",
|
|
2926
2926
|
},
|
|
2927
2927
|
{
|
|
2928
2928
|
internalType: "bytes",
|
|
2929
2929
|
name: "data",
|
|
2930
|
-
type: "bytes"
|
|
2930
|
+
type: "bytes",
|
|
2931
2931
|
},
|
|
2932
2932
|
{
|
|
2933
2933
|
internalType: "bool",
|
|
2934
2934
|
name: "onAcceptance",
|
|
2935
|
-
type: "bool"
|
|
2936
|
-
}
|
|
2935
|
+
type: "bool",
|
|
2936
|
+
},
|
|
2937
2937
|
],
|
|
2938
2938
|
internalType: "struct IMessages.SubmittedMessage[]",
|
|
2939
2939
|
name: "",
|
|
2940
|
-
type: "tuple[]"
|
|
2940
|
+
type: "tuple[]",
|
|
2941
2941
|
},
|
|
2942
2942
|
{
|
|
2943
2943
|
internalType: "address",
|
|
2944
2944
|
name: "ghostAddress",
|
|
2945
|
-
type: "address"
|
|
2945
|
+
type: "address",
|
|
2946
2946
|
},
|
|
2947
2947
|
{
|
|
2948
2948
|
internalType: "uint256",
|
|
2949
2949
|
name: "numOfMessagesIssuedOnAcceptance",
|
|
2950
|
-
type: "uint256"
|
|
2950
|
+
type: "uint256",
|
|
2951
2951
|
},
|
|
2952
2952
|
{
|
|
2953
2953
|
internalType: "uint256",
|
|
2954
2954
|
name: "numOfMessagesIssuedOnFinalization",
|
|
2955
|
-
type: "uint256"
|
|
2956
|
-
}
|
|
2955
|
+
type: "uint256",
|
|
2956
|
+
},
|
|
2957
2957
|
],
|
|
2958
2958
|
stateMutability: "view",
|
|
2959
|
-
type: "function"
|
|
2959
|
+
type: "function",
|
|
2960
2960
|
},
|
|
2961
2961
|
{
|
|
2962
2962
|
inputs: [
|
|
2963
2963
|
{
|
|
2964
2964
|
internalType: "bytes32",
|
|
2965
2965
|
name: "_tx_id",
|
|
2966
|
-
type: "bytes32"
|
|
2967
|
-
}
|
|
2966
|
+
type: "bytes32",
|
|
2967
|
+
},
|
|
2968
2968
|
],
|
|
2969
2969
|
name: "getReadStateBlockRangeForTransaction",
|
|
2970
2970
|
outputs: [
|
|
2971
2971
|
{
|
|
2972
2972
|
internalType: "uint256",
|
|
2973
2973
|
name: "activationBlock",
|
|
2974
|
-
type: "uint256"
|
|
2974
|
+
type: "uint256",
|
|
2975
2975
|
},
|
|
2976
2976
|
{
|
|
2977
2977
|
internalType: "uint256",
|
|
2978
2978
|
name: "processingBlock",
|
|
2979
|
-
type: "uint256"
|
|
2979
|
+
type: "uint256",
|
|
2980
2980
|
},
|
|
2981
2981
|
{
|
|
2982
2982
|
internalType: "uint256",
|
|
2983
2983
|
name: "proposalBlock",
|
|
2984
|
-
type: "uint256"
|
|
2985
|
-
}
|
|
2984
|
+
type: "uint256",
|
|
2985
|
+
},
|
|
2986
2986
|
],
|
|
2987
2987
|
stateMutability: "view",
|
|
2988
|
-
type: "function"
|
|
2988
|
+
type: "function",
|
|
2989
2989
|
},
|
|
2990
2990
|
{
|
|
2991
2991
|
inputs: [
|
|
2992
2992
|
{
|
|
2993
2993
|
internalType: "address",
|
|
2994
2994
|
name: "recipient",
|
|
2995
|
-
type: "address"
|
|
2995
|
+
type: "address",
|
|
2996
2996
|
},
|
|
2997
2997
|
{
|
|
2998
2998
|
internalType: "uint256",
|
|
2999
2999
|
name: "startIndex",
|
|
3000
|
-
type: "uint256"
|
|
3000
|
+
type: "uint256",
|
|
3001
3001
|
},
|
|
3002
3002
|
{
|
|
3003
3003
|
internalType: "uint256",
|
|
3004
3004
|
name: "endIndex",
|
|
3005
|
-
type: "uint256"
|
|
3006
|
-
}
|
|
3005
|
+
type: "uint256",
|
|
3006
|
+
},
|
|
3007
3007
|
],
|
|
3008
3008
|
name: "getRecipientQueues",
|
|
3009
3009
|
outputs: [
|
|
@@ -3014,104 +3014,104 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
3014
3014
|
{
|
|
3015
3015
|
internalType: "uint256",
|
|
3016
3016
|
name: "head",
|
|
3017
|
-
type: "uint256"
|
|
3017
|
+
type: "uint256",
|
|
3018
3018
|
},
|
|
3019
3019
|
{
|
|
3020
3020
|
internalType: "uint256",
|
|
3021
3021
|
name: "tail",
|
|
3022
|
-
type: "uint256"
|
|
3022
|
+
type: "uint256",
|
|
3023
3023
|
},
|
|
3024
3024
|
{
|
|
3025
3025
|
internalType: "bytes32[]",
|
|
3026
3026
|
name: "txIds",
|
|
3027
|
-
type: "bytes32[]"
|
|
3028
|
-
}
|
|
3027
|
+
type: "bytes32[]",
|
|
3028
|
+
},
|
|
3029
3029
|
],
|
|
3030
3030
|
internalType: "struct IQueues.QueueInfoView",
|
|
3031
3031
|
name: "pending",
|
|
3032
|
-
type: "tuple"
|
|
3032
|
+
type: "tuple",
|
|
3033
3033
|
},
|
|
3034
3034
|
{
|
|
3035
3035
|
components: [
|
|
3036
3036
|
{
|
|
3037
3037
|
internalType: "uint256",
|
|
3038
3038
|
name: "head",
|
|
3039
|
-
type: "uint256"
|
|
3039
|
+
type: "uint256",
|
|
3040
3040
|
},
|
|
3041
3041
|
{
|
|
3042
3042
|
internalType: "uint256",
|
|
3043
3043
|
name: "tail",
|
|
3044
|
-
type: "uint256"
|
|
3044
|
+
type: "uint256",
|
|
3045
3045
|
},
|
|
3046
3046
|
{
|
|
3047
3047
|
internalType: "bytes32[]",
|
|
3048
3048
|
name: "txIds",
|
|
3049
|
-
type: "bytes32[]"
|
|
3050
|
-
}
|
|
3049
|
+
type: "bytes32[]",
|
|
3050
|
+
},
|
|
3051
3051
|
],
|
|
3052
3052
|
internalType: "struct IQueues.QueueInfoView",
|
|
3053
3053
|
name: "accepted",
|
|
3054
|
-
type: "tuple"
|
|
3054
|
+
type: "tuple",
|
|
3055
3055
|
},
|
|
3056
3056
|
{
|
|
3057
3057
|
components: [
|
|
3058
3058
|
{
|
|
3059
3059
|
internalType: "uint256",
|
|
3060
3060
|
name: "head",
|
|
3061
|
-
type: "uint256"
|
|
3061
|
+
type: "uint256",
|
|
3062
3062
|
},
|
|
3063
3063
|
{
|
|
3064
3064
|
internalType: "uint256",
|
|
3065
3065
|
name: "tail",
|
|
3066
|
-
type: "uint256"
|
|
3066
|
+
type: "uint256",
|
|
3067
3067
|
},
|
|
3068
3068
|
{
|
|
3069
3069
|
internalType: "bytes32[]",
|
|
3070
3070
|
name: "txIds",
|
|
3071
|
-
type: "bytes32[]"
|
|
3072
|
-
}
|
|
3071
|
+
type: "bytes32[]",
|
|
3072
|
+
},
|
|
3073
3073
|
],
|
|
3074
3074
|
internalType: "struct IQueues.QueueInfoView",
|
|
3075
3075
|
name: "undetermined",
|
|
3076
|
-
type: "tuple"
|
|
3076
|
+
type: "tuple",
|
|
3077
3077
|
},
|
|
3078
3078
|
{
|
|
3079
3079
|
internalType: "uint256",
|
|
3080
3080
|
name: "finalizedCount",
|
|
3081
|
-
type: "uint256"
|
|
3081
|
+
type: "uint256",
|
|
3082
3082
|
},
|
|
3083
3083
|
{
|
|
3084
3084
|
internalType: "uint256",
|
|
3085
3085
|
name: "issuedTxCount",
|
|
3086
|
-
type: "uint256"
|
|
3087
|
-
}
|
|
3086
|
+
type: "uint256",
|
|
3087
|
+
},
|
|
3088
3088
|
],
|
|
3089
3089
|
internalType: "struct IQueues.RecipientQueuesView",
|
|
3090
3090
|
name: "",
|
|
3091
|
-
type: "tuple"
|
|
3092
|
-
}
|
|
3091
|
+
type: "tuple",
|
|
3092
|
+
},
|
|
3093
3093
|
],
|
|
3094
3094
|
stateMutability: "view",
|
|
3095
|
-
type: "function"
|
|
3095
|
+
type: "function",
|
|
3096
3096
|
},
|
|
3097
3097
|
{
|
|
3098
3098
|
inputs: [
|
|
3099
3099
|
{
|
|
3100
3100
|
internalType: "bytes32",
|
|
3101
3101
|
name: "role",
|
|
3102
|
-
type: "bytes32"
|
|
3103
|
-
}
|
|
3102
|
+
type: "bytes32",
|
|
3103
|
+
},
|
|
3104
3104
|
],
|
|
3105
3105
|
name: "getRoleAdmin",
|
|
3106
3106
|
outputs: [
|
|
3107
3107
|
{
|
|
3108
3108
|
internalType: "bytes32",
|
|
3109
3109
|
name: "",
|
|
3110
|
-
type: "bytes32"
|
|
3111
|
-
}
|
|
3110
|
+
type: "bytes32",
|
|
3111
|
+
},
|
|
3112
3112
|
],
|
|
3113
3113
|
stateMutability: "view",
|
|
3114
|
-
type: "function"
|
|
3114
|
+
type: "function",
|
|
3115
3115
|
},
|
|
3116
3116
|
{
|
|
3117
3117
|
inputs: [],
|
|
@@ -3120,19 +3120,19 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
3120
3120
|
{
|
|
3121
3121
|
internalType: "uint256",
|
|
3122
3122
|
name: "",
|
|
3123
|
-
type: "uint256"
|
|
3124
|
-
}
|
|
3123
|
+
type: "uint256",
|
|
3124
|
+
},
|
|
3125
3125
|
],
|
|
3126
3126
|
stateMutability: "view",
|
|
3127
|
-
type: "function"
|
|
3127
|
+
type: "function",
|
|
3128
3128
|
},
|
|
3129
3129
|
{
|
|
3130
3130
|
inputs: [
|
|
3131
3131
|
{
|
|
3132
3132
|
internalType: "bytes32",
|
|
3133
3133
|
name: "_tx_id",
|
|
3134
|
-
type: "bytes32"
|
|
3135
|
-
}
|
|
3134
|
+
type: "bytes32",
|
|
3135
|
+
},
|
|
3136
3136
|
],
|
|
3137
3137
|
name: "getTransactionAllData",
|
|
3138
3138
|
outputs: [
|
|
@@ -3141,267 +3141,267 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
3141
3141
|
{
|
|
3142
3142
|
internalType: "bytes32",
|
|
3143
3143
|
name: "id",
|
|
3144
|
-
type: "bytes32"
|
|
3144
|
+
type: "bytes32",
|
|
3145
3145
|
},
|
|
3146
3146
|
{
|
|
3147
3147
|
internalType: "address",
|
|
3148
3148
|
name: "sender",
|
|
3149
|
-
type: "address"
|
|
3149
|
+
type: "address",
|
|
3150
3150
|
},
|
|
3151
3151
|
{
|
|
3152
3152
|
internalType: "address",
|
|
3153
3153
|
name: "recipient",
|
|
3154
|
-
type: "address"
|
|
3154
|
+
type: "address",
|
|
3155
3155
|
},
|
|
3156
3156
|
{
|
|
3157
3157
|
internalType: "uint256",
|
|
3158
3158
|
name: "numOfInitialValidators",
|
|
3159
|
-
type: "uint256"
|
|
3159
|
+
type: "uint256",
|
|
3160
3160
|
},
|
|
3161
3161
|
{
|
|
3162
3162
|
internalType: "uint256",
|
|
3163
3163
|
name: "txSlot",
|
|
3164
|
-
type: "uint256"
|
|
3164
|
+
type: "uint256",
|
|
3165
3165
|
},
|
|
3166
3166
|
{
|
|
3167
3167
|
internalType: "address",
|
|
3168
3168
|
name: "activator",
|
|
3169
|
-
type: "address"
|
|
3169
|
+
type: "address",
|
|
3170
3170
|
},
|
|
3171
3171
|
{
|
|
3172
3172
|
internalType: "enum ITransactions.TransactionStatus",
|
|
3173
3173
|
name: "status",
|
|
3174
|
-
type: "uint8"
|
|
3174
|
+
type: "uint8",
|
|
3175
3175
|
},
|
|
3176
3176
|
{
|
|
3177
3177
|
internalType: "enum ITransactions.TransactionStatus",
|
|
3178
3178
|
name: "previousStatus",
|
|
3179
|
-
type: "uint8"
|
|
3179
|
+
type: "uint8",
|
|
3180
3180
|
},
|
|
3181
3181
|
{
|
|
3182
3182
|
components: [
|
|
3183
3183
|
{
|
|
3184
3184
|
internalType: "uint256",
|
|
3185
3185
|
name: "created",
|
|
3186
|
-
type: "uint256"
|
|
3186
|
+
type: "uint256",
|
|
3187
3187
|
},
|
|
3188
3188
|
{
|
|
3189
3189
|
internalType: "uint256",
|
|
3190
3190
|
name: "pending",
|
|
3191
|
-
type: "uint256"
|
|
3191
|
+
type: "uint256",
|
|
3192
3192
|
},
|
|
3193
3193
|
{
|
|
3194
3194
|
internalType: "uint256",
|
|
3195
3195
|
name: "activated",
|
|
3196
|
-
type: "uint256"
|
|
3196
|
+
type: "uint256",
|
|
3197
3197
|
},
|
|
3198
3198
|
{
|
|
3199
3199
|
internalType: "uint256",
|
|
3200
3200
|
name: "proposed",
|
|
3201
|
-
type: "uint256"
|
|
3201
|
+
type: "uint256",
|
|
3202
3202
|
},
|
|
3203
3203
|
{
|
|
3204
3204
|
internalType: "uint256",
|
|
3205
3205
|
name: "committed",
|
|
3206
|
-
type: "uint256"
|
|
3206
|
+
type: "uint256",
|
|
3207
3207
|
},
|
|
3208
3208
|
{
|
|
3209
3209
|
internalType: "uint256",
|
|
3210
3210
|
name: "lastVote",
|
|
3211
|
-
type: "uint256"
|
|
3211
|
+
type: "uint256",
|
|
3212
3212
|
},
|
|
3213
3213
|
{
|
|
3214
3214
|
internalType: "uint256",
|
|
3215
3215
|
name: "appealSubmitted",
|
|
3216
|
-
type: "uint256"
|
|
3217
|
-
}
|
|
3216
|
+
type: "uint256",
|
|
3217
|
+
},
|
|
3218
3218
|
],
|
|
3219
3219
|
internalType: "struct ITransactions.Timestamps",
|
|
3220
3220
|
name: "timestamps",
|
|
3221
|
-
type: "tuple"
|
|
3221
|
+
type: "tuple",
|
|
3222
3222
|
},
|
|
3223
3223
|
{
|
|
3224
3224
|
internalType: "bytes32",
|
|
3225
3225
|
name: "randomSeed",
|
|
3226
|
-
type: "bytes32"
|
|
3226
|
+
type: "bytes32",
|
|
3227
3227
|
},
|
|
3228
3228
|
{
|
|
3229
3229
|
internalType: "bool",
|
|
3230
3230
|
name: "onAcceptanceMessages",
|
|
3231
|
-
type: "bool"
|
|
3231
|
+
type: "bool",
|
|
3232
3232
|
},
|
|
3233
3233
|
{
|
|
3234
3234
|
internalType: "enum ITransactions.ResultType",
|
|
3235
3235
|
name: "result",
|
|
3236
|
-
type: "uint8"
|
|
3236
|
+
type: "uint8",
|
|
3237
3237
|
},
|
|
3238
3238
|
{
|
|
3239
3239
|
components: [
|
|
3240
3240
|
{
|
|
3241
3241
|
internalType: "uint256",
|
|
3242
3242
|
name: "activationBlock",
|
|
3243
|
-
type: "uint256"
|
|
3243
|
+
type: "uint256",
|
|
3244
3244
|
},
|
|
3245
3245
|
{
|
|
3246
3246
|
internalType: "uint256",
|
|
3247
3247
|
name: "processingBlock",
|
|
3248
|
-
type: "uint256"
|
|
3248
|
+
type: "uint256",
|
|
3249
3249
|
},
|
|
3250
3250
|
{
|
|
3251
3251
|
internalType: "uint256",
|
|
3252
3252
|
name: "proposalBlock",
|
|
3253
|
-
type: "uint256"
|
|
3254
|
-
}
|
|
3253
|
+
type: "uint256",
|
|
3254
|
+
},
|
|
3255
3255
|
],
|
|
3256
3256
|
internalType: "struct ITransactions.ReadStateBlockRange",
|
|
3257
3257
|
name: "readStateBlockRange",
|
|
3258
|
-
type: "tuple"
|
|
3258
|
+
type: "tuple",
|
|
3259
3259
|
},
|
|
3260
3260
|
{
|
|
3261
3261
|
internalType: "bytes",
|
|
3262
3262
|
name: "txData",
|
|
3263
|
-
type: "bytes"
|
|
3263
|
+
type: "bytes",
|
|
3264
3264
|
},
|
|
3265
3265
|
{
|
|
3266
3266
|
internalType: "bytes",
|
|
3267
3267
|
name: "txReceipt",
|
|
3268
|
-
type: "bytes"
|
|
3268
|
+
type: "bytes",
|
|
3269
3269
|
},
|
|
3270
3270
|
{
|
|
3271
3271
|
components: [
|
|
3272
3272
|
{
|
|
3273
3273
|
internalType: "enum IMessages.MessageType",
|
|
3274
3274
|
name: "messageType",
|
|
3275
|
-
type: "uint8"
|
|
3275
|
+
type: "uint8",
|
|
3276
3276
|
},
|
|
3277
3277
|
{
|
|
3278
3278
|
internalType: "address",
|
|
3279
3279
|
name: "recipient",
|
|
3280
|
-
type: "address"
|
|
3280
|
+
type: "address",
|
|
3281
3281
|
},
|
|
3282
3282
|
{
|
|
3283
3283
|
internalType: "uint256",
|
|
3284
3284
|
name: "value",
|
|
3285
|
-
type: "uint256"
|
|
3285
|
+
type: "uint256",
|
|
3286
3286
|
},
|
|
3287
3287
|
{
|
|
3288
3288
|
internalType: "bytes",
|
|
3289
3289
|
name: "data",
|
|
3290
|
-
type: "bytes"
|
|
3290
|
+
type: "bytes",
|
|
3291
3291
|
},
|
|
3292
3292
|
{
|
|
3293
3293
|
internalType: "bool",
|
|
3294
3294
|
name: "onAcceptance",
|
|
3295
|
-
type: "bool"
|
|
3296
|
-
}
|
|
3295
|
+
type: "bool",
|
|
3296
|
+
},
|
|
3297
3297
|
],
|
|
3298
3298
|
internalType: "struct IMessages.SubmittedMessage[]",
|
|
3299
3299
|
name: "messages",
|
|
3300
|
-
type: "tuple[]"
|
|
3300
|
+
type: "tuple[]",
|
|
3301
3301
|
},
|
|
3302
3302
|
{
|
|
3303
3303
|
internalType: "address[]",
|
|
3304
3304
|
name: "consumedValidators",
|
|
3305
|
-
type: "address[]"
|
|
3305
|
+
type: "address[]",
|
|
3306
3306
|
},
|
|
3307
3307
|
{
|
|
3308
3308
|
components: [
|
|
3309
3309
|
{
|
|
3310
3310
|
internalType: "uint256",
|
|
3311
3311
|
name: "round",
|
|
3312
|
-
type: "uint256"
|
|
3312
|
+
type: "uint256",
|
|
3313
3313
|
},
|
|
3314
3314
|
{
|
|
3315
3315
|
internalType: "uint256",
|
|
3316
3316
|
name: "leaderIndex",
|
|
3317
|
-
type: "uint256"
|
|
3317
|
+
type: "uint256",
|
|
3318
3318
|
},
|
|
3319
3319
|
{
|
|
3320
3320
|
internalType: "uint256",
|
|
3321
3321
|
name: "votesCommitted",
|
|
3322
|
-
type: "uint256"
|
|
3322
|
+
type: "uint256",
|
|
3323
3323
|
},
|
|
3324
3324
|
{
|
|
3325
3325
|
internalType: "uint256",
|
|
3326
3326
|
name: "votesRevealed",
|
|
3327
|
-
type: "uint256"
|
|
3327
|
+
type: "uint256",
|
|
3328
3328
|
},
|
|
3329
3329
|
{
|
|
3330
3330
|
internalType: "uint256",
|
|
3331
3331
|
name: "appealBond",
|
|
3332
|
-
type: "uint256"
|
|
3332
|
+
type: "uint256",
|
|
3333
3333
|
},
|
|
3334
3334
|
{
|
|
3335
3335
|
internalType: "uint256",
|
|
3336
3336
|
name: "rotationsLeft",
|
|
3337
|
-
type: "uint256"
|
|
3337
|
+
type: "uint256",
|
|
3338
3338
|
},
|
|
3339
3339
|
{
|
|
3340
3340
|
internalType: "enum ITransactions.ResultType",
|
|
3341
3341
|
name: "result",
|
|
3342
|
-
type: "uint8"
|
|
3342
|
+
type: "uint8",
|
|
3343
3343
|
},
|
|
3344
3344
|
{
|
|
3345
3345
|
internalType: "address[]",
|
|
3346
3346
|
name: "roundValidators",
|
|
3347
|
-
type: "address[]"
|
|
3347
|
+
type: "address[]",
|
|
3348
3348
|
},
|
|
3349
3349
|
{
|
|
3350
3350
|
internalType: "bytes32[]",
|
|
3351
3351
|
name: "validatorVotesHash",
|
|
3352
|
-
type: "bytes32[]"
|
|
3352
|
+
type: "bytes32[]",
|
|
3353
3353
|
},
|
|
3354
3354
|
{
|
|
3355
3355
|
internalType: "enum ITransactions.VoteType[]",
|
|
3356
3356
|
name: "validatorVotes",
|
|
3357
|
-
type: "uint8[]"
|
|
3358
|
-
}
|
|
3357
|
+
type: "uint8[]",
|
|
3358
|
+
},
|
|
3359
3359
|
],
|
|
3360
3360
|
internalType: "struct ITransactions.RoundData[]",
|
|
3361
3361
|
name: "roundData",
|
|
3362
|
-
type: "tuple[]"
|
|
3362
|
+
type: "tuple[]",
|
|
3363
3363
|
},
|
|
3364
3364
|
{
|
|
3365
3365
|
internalType: "uint256",
|
|
3366
3366
|
name: "numOfMessagesIssuedOnAcceptance",
|
|
3367
|
-
type: "uint256"
|
|
3367
|
+
type: "uint256",
|
|
3368
3368
|
},
|
|
3369
3369
|
{
|
|
3370
3370
|
internalType: "uint256",
|
|
3371
3371
|
name: "numOfMessagesIssuedOnFinalization",
|
|
3372
|
-
type: "uint256"
|
|
3372
|
+
type: "uint256",
|
|
3373
3373
|
},
|
|
3374
3374
|
{
|
|
3375
3375
|
internalType: "address",
|
|
3376
3376
|
name: "txOrigin",
|
|
3377
|
-
type: "address"
|
|
3377
|
+
type: "address",
|
|
3378
3378
|
},
|
|
3379
3379
|
{
|
|
3380
3380
|
internalType: "uint256",
|
|
3381
3381
|
name: "initialRotations",
|
|
3382
|
-
type: "uint256"
|
|
3383
|
-
}
|
|
3382
|
+
type: "uint256",
|
|
3383
|
+
},
|
|
3384
3384
|
],
|
|
3385
3385
|
internalType: "struct ITransactions.Transaction",
|
|
3386
3386
|
name: "transaction",
|
|
3387
|
-
type: "tuple"
|
|
3388
|
-
}
|
|
3387
|
+
type: "tuple",
|
|
3388
|
+
},
|
|
3389
3389
|
],
|
|
3390
3390
|
stateMutability: "view",
|
|
3391
|
-
type: "function"
|
|
3391
|
+
type: "function",
|
|
3392
3392
|
},
|
|
3393
3393
|
{
|
|
3394
3394
|
inputs: [
|
|
3395
3395
|
{
|
|
3396
3396
|
internalType: "bytes32",
|
|
3397
3397
|
name: "_tx_id",
|
|
3398
|
-
type: "bytes32"
|
|
3398
|
+
type: "bytes32",
|
|
3399
3399
|
},
|
|
3400
3400
|
{
|
|
3401
3401
|
internalType: "uint256",
|
|
3402
3402
|
name: "_timestamp",
|
|
3403
|
-
type: "uint256"
|
|
3404
|
-
}
|
|
3403
|
+
type: "uint256",
|
|
3404
|
+
},
|
|
3405
3405
|
],
|
|
3406
3406
|
name: "getTransactionData",
|
|
3407
3407
|
outputs: [
|
|
@@ -3410,401 +3410,401 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
3410
3410
|
{
|
|
3411
3411
|
internalType: "uint256",
|
|
3412
3412
|
name: "currentTimestamp",
|
|
3413
|
-
type: "uint256"
|
|
3413
|
+
type: "uint256",
|
|
3414
3414
|
},
|
|
3415
3415
|
{
|
|
3416
3416
|
internalType: "address",
|
|
3417
3417
|
name: "sender",
|
|
3418
|
-
type: "address"
|
|
3418
|
+
type: "address",
|
|
3419
3419
|
},
|
|
3420
3420
|
{
|
|
3421
3421
|
internalType: "address",
|
|
3422
3422
|
name: "recipient",
|
|
3423
|
-
type: "address"
|
|
3423
|
+
type: "address",
|
|
3424
3424
|
},
|
|
3425
3425
|
{
|
|
3426
3426
|
internalType: "uint256",
|
|
3427
3427
|
name: "numOfInitialValidators",
|
|
3428
|
-
type: "uint256"
|
|
3428
|
+
type: "uint256",
|
|
3429
3429
|
},
|
|
3430
3430
|
{
|
|
3431
3431
|
internalType: "uint256",
|
|
3432
3432
|
name: "txSlot",
|
|
3433
|
-
type: "uint256"
|
|
3433
|
+
type: "uint256",
|
|
3434
3434
|
},
|
|
3435
3435
|
{
|
|
3436
3436
|
internalType: "uint256",
|
|
3437
3437
|
name: "createdTimestamp",
|
|
3438
|
-
type: "uint256"
|
|
3438
|
+
type: "uint256",
|
|
3439
3439
|
},
|
|
3440
3440
|
{
|
|
3441
3441
|
internalType: "uint256",
|
|
3442
3442
|
name: "lastVoteTimestamp",
|
|
3443
|
-
type: "uint256"
|
|
3443
|
+
type: "uint256",
|
|
3444
3444
|
},
|
|
3445
3445
|
{
|
|
3446
3446
|
internalType: "bytes32",
|
|
3447
3447
|
name: "randomSeed",
|
|
3448
|
-
type: "bytes32"
|
|
3448
|
+
type: "bytes32",
|
|
3449
3449
|
},
|
|
3450
3450
|
{
|
|
3451
3451
|
internalType: "enum ITransactions.ResultType",
|
|
3452
3452
|
name: "result",
|
|
3453
|
-
type: "uint8"
|
|
3453
|
+
type: "uint8",
|
|
3454
3454
|
},
|
|
3455
3455
|
{
|
|
3456
3456
|
internalType: "bytes",
|
|
3457
3457
|
name: "txData",
|
|
3458
|
-
type: "bytes"
|
|
3458
|
+
type: "bytes",
|
|
3459
3459
|
},
|
|
3460
3460
|
{
|
|
3461
3461
|
internalType: "bytes",
|
|
3462
3462
|
name: "txReceipt",
|
|
3463
|
-
type: "bytes"
|
|
3463
|
+
type: "bytes",
|
|
3464
3464
|
},
|
|
3465
3465
|
{
|
|
3466
3466
|
components: [
|
|
3467
3467
|
{
|
|
3468
3468
|
internalType: "enum IMessages.MessageType",
|
|
3469
3469
|
name: "messageType",
|
|
3470
|
-
type: "uint8"
|
|
3470
|
+
type: "uint8",
|
|
3471
3471
|
},
|
|
3472
3472
|
{
|
|
3473
3473
|
internalType: "address",
|
|
3474
3474
|
name: "recipient",
|
|
3475
|
-
type: "address"
|
|
3475
|
+
type: "address",
|
|
3476
3476
|
},
|
|
3477
3477
|
{
|
|
3478
3478
|
internalType: "uint256",
|
|
3479
3479
|
name: "value",
|
|
3480
|
-
type: "uint256"
|
|
3480
|
+
type: "uint256",
|
|
3481
3481
|
},
|
|
3482
3482
|
{
|
|
3483
3483
|
internalType: "bytes",
|
|
3484
3484
|
name: "data",
|
|
3485
|
-
type: "bytes"
|
|
3485
|
+
type: "bytes",
|
|
3486
3486
|
},
|
|
3487
3487
|
{
|
|
3488
3488
|
internalType: "bool",
|
|
3489
3489
|
name: "onAcceptance",
|
|
3490
|
-
type: "bool"
|
|
3491
|
-
}
|
|
3490
|
+
type: "bool",
|
|
3491
|
+
},
|
|
3492
3492
|
],
|
|
3493
3493
|
internalType: "struct IMessages.SubmittedMessage[]",
|
|
3494
3494
|
name: "messages",
|
|
3495
|
-
type: "tuple[]"
|
|
3495
|
+
type: "tuple[]",
|
|
3496
3496
|
},
|
|
3497
3497
|
{
|
|
3498
3498
|
internalType: "enum IQueues.QueueType",
|
|
3499
3499
|
name: "queueType",
|
|
3500
|
-
type: "uint8"
|
|
3500
|
+
type: "uint8",
|
|
3501
3501
|
},
|
|
3502
3502
|
{
|
|
3503
3503
|
internalType: "uint256",
|
|
3504
3504
|
name: "queuePosition",
|
|
3505
|
-
type: "uint256"
|
|
3505
|
+
type: "uint256",
|
|
3506
3506
|
},
|
|
3507
3507
|
{
|
|
3508
3508
|
internalType: "address",
|
|
3509
3509
|
name: "activator",
|
|
3510
|
-
type: "address"
|
|
3510
|
+
type: "address",
|
|
3511
3511
|
},
|
|
3512
3512
|
{
|
|
3513
3513
|
internalType: "address",
|
|
3514
3514
|
name: "lastLeader",
|
|
3515
|
-
type: "address"
|
|
3515
|
+
type: "address",
|
|
3516
3516
|
},
|
|
3517
3517
|
{
|
|
3518
3518
|
internalType: "enum ITransactions.TransactionStatus",
|
|
3519
3519
|
name: "status",
|
|
3520
|
-
type: "uint8"
|
|
3520
|
+
type: "uint8",
|
|
3521
3521
|
},
|
|
3522
3522
|
{
|
|
3523
3523
|
internalType: "bytes32",
|
|
3524
3524
|
name: "txId",
|
|
3525
|
-
type: "bytes32"
|
|
3525
|
+
type: "bytes32",
|
|
3526
3526
|
},
|
|
3527
3527
|
{
|
|
3528
3528
|
components: [
|
|
3529
3529
|
{
|
|
3530
3530
|
internalType: "uint256",
|
|
3531
3531
|
name: "activationBlock",
|
|
3532
|
-
type: "uint256"
|
|
3532
|
+
type: "uint256",
|
|
3533
3533
|
},
|
|
3534
3534
|
{
|
|
3535
3535
|
internalType: "uint256",
|
|
3536
3536
|
name: "processingBlock",
|
|
3537
|
-
type: "uint256"
|
|
3537
|
+
type: "uint256",
|
|
3538
3538
|
},
|
|
3539
3539
|
{
|
|
3540
3540
|
internalType: "uint256",
|
|
3541
3541
|
name: "proposalBlock",
|
|
3542
|
-
type: "uint256"
|
|
3543
|
-
}
|
|
3542
|
+
type: "uint256",
|
|
3543
|
+
},
|
|
3544
3544
|
],
|
|
3545
3545
|
internalType: "struct ITransactions.ReadStateBlockRange",
|
|
3546
3546
|
name: "readStateBlockRange",
|
|
3547
|
-
type: "tuple"
|
|
3547
|
+
type: "tuple",
|
|
3548
3548
|
},
|
|
3549
3549
|
{
|
|
3550
3550
|
internalType: "uint256",
|
|
3551
3551
|
name: "numOfRounds",
|
|
3552
|
-
type: "uint256"
|
|
3552
|
+
type: "uint256",
|
|
3553
3553
|
},
|
|
3554
3554
|
{
|
|
3555
3555
|
components: [
|
|
3556
3556
|
{
|
|
3557
3557
|
internalType: "uint256",
|
|
3558
3558
|
name: "round",
|
|
3559
|
-
type: "uint256"
|
|
3559
|
+
type: "uint256",
|
|
3560
3560
|
},
|
|
3561
3561
|
{
|
|
3562
3562
|
internalType: "uint256",
|
|
3563
3563
|
name: "leaderIndex",
|
|
3564
|
-
type: "uint256"
|
|
3564
|
+
type: "uint256",
|
|
3565
3565
|
},
|
|
3566
3566
|
{
|
|
3567
3567
|
internalType: "uint256",
|
|
3568
3568
|
name: "votesCommitted",
|
|
3569
|
-
type: "uint256"
|
|
3569
|
+
type: "uint256",
|
|
3570
3570
|
},
|
|
3571
3571
|
{
|
|
3572
3572
|
internalType: "uint256",
|
|
3573
3573
|
name: "votesRevealed",
|
|
3574
|
-
type: "uint256"
|
|
3574
|
+
type: "uint256",
|
|
3575
3575
|
},
|
|
3576
3576
|
{
|
|
3577
3577
|
internalType: "uint256",
|
|
3578
3578
|
name: "appealBond",
|
|
3579
|
-
type: "uint256"
|
|
3579
|
+
type: "uint256",
|
|
3580
3580
|
},
|
|
3581
3581
|
{
|
|
3582
3582
|
internalType: "uint256",
|
|
3583
3583
|
name: "rotationsLeft",
|
|
3584
|
-
type: "uint256"
|
|
3584
|
+
type: "uint256",
|
|
3585
3585
|
},
|
|
3586
3586
|
{
|
|
3587
3587
|
internalType: "enum ITransactions.ResultType",
|
|
3588
3588
|
name: "result",
|
|
3589
|
-
type: "uint8"
|
|
3589
|
+
type: "uint8",
|
|
3590
3590
|
},
|
|
3591
3591
|
{
|
|
3592
3592
|
internalType: "address[]",
|
|
3593
3593
|
name: "roundValidators",
|
|
3594
|
-
type: "address[]"
|
|
3594
|
+
type: "address[]",
|
|
3595
3595
|
},
|
|
3596
3596
|
{
|
|
3597
3597
|
internalType: "bytes32[]",
|
|
3598
3598
|
name: "validatorVotesHash",
|
|
3599
|
-
type: "bytes32[]"
|
|
3599
|
+
type: "bytes32[]",
|
|
3600
3600
|
},
|
|
3601
3601
|
{
|
|
3602
3602
|
internalType: "enum ITransactions.VoteType[]",
|
|
3603
3603
|
name: "validatorVotes",
|
|
3604
|
-
type: "uint8[]"
|
|
3605
|
-
}
|
|
3604
|
+
type: "uint8[]",
|
|
3605
|
+
},
|
|
3606
3606
|
],
|
|
3607
3607
|
internalType: "struct ITransactions.RoundData",
|
|
3608
3608
|
name: "lastRound",
|
|
3609
|
-
type: "tuple"
|
|
3610
|
-
}
|
|
3609
|
+
type: "tuple",
|
|
3610
|
+
},
|
|
3611
3611
|
],
|
|
3612
3612
|
internalType: "struct ConsensusData.TransactionData",
|
|
3613
3613
|
name: "",
|
|
3614
|
-
type: "tuple"
|
|
3615
|
-
}
|
|
3614
|
+
type: "tuple",
|
|
3615
|
+
},
|
|
3616
3616
|
],
|
|
3617
3617
|
stateMutability: "view",
|
|
3618
|
-
type: "function"
|
|
3618
|
+
type: "function",
|
|
3619
3619
|
},
|
|
3620
3620
|
{
|
|
3621
3621
|
inputs: [
|
|
3622
3622
|
{
|
|
3623
3623
|
internalType: "uint256",
|
|
3624
3624
|
name: "startIndex",
|
|
3625
|
-
type: "uint256"
|
|
3625
|
+
type: "uint256",
|
|
3626
3626
|
},
|
|
3627
3627
|
{
|
|
3628
3628
|
internalType: "uint256",
|
|
3629
3629
|
name: "endIndex",
|
|
3630
|
-
type: "uint256"
|
|
3631
|
-
}
|
|
3630
|
+
type: "uint256",
|
|
3631
|
+
},
|
|
3632
3632
|
],
|
|
3633
3633
|
name: "getTransactionIndexToTxId",
|
|
3634
3634
|
outputs: [
|
|
3635
3635
|
{
|
|
3636
3636
|
internalType: "bytes32[]",
|
|
3637
3637
|
name: "",
|
|
3638
|
-
type: "bytes32[]"
|
|
3639
|
-
}
|
|
3638
|
+
type: "bytes32[]",
|
|
3639
|
+
},
|
|
3640
3640
|
],
|
|
3641
3641
|
stateMutability: "view",
|
|
3642
|
-
type: "function"
|
|
3642
|
+
type: "function",
|
|
3643
3643
|
},
|
|
3644
3644
|
{
|
|
3645
3645
|
inputs: [
|
|
3646
3646
|
{
|
|
3647
3647
|
internalType: "bytes32",
|
|
3648
3648
|
name: "_tx_id",
|
|
3649
|
-
type: "bytes32"
|
|
3649
|
+
type: "bytes32",
|
|
3650
3650
|
},
|
|
3651
3651
|
{
|
|
3652
3652
|
internalType: "uint256",
|
|
3653
3653
|
name: "_timestamp",
|
|
3654
|
-
type: "uint256"
|
|
3655
|
-
}
|
|
3654
|
+
type: "uint256",
|
|
3655
|
+
},
|
|
3656
3656
|
],
|
|
3657
3657
|
name: "getTransactionStatus",
|
|
3658
3658
|
outputs: [
|
|
3659
3659
|
{
|
|
3660
3660
|
internalType: "enum ITransactions.TransactionStatus",
|
|
3661
3661
|
name: "",
|
|
3662
|
-
type: "uint8"
|
|
3663
|
-
}
|
|
3662
|
+
type: "uint8",
|
|
3663
|
+
},
|
|
3664
3664
|
],
|
|
3665
3665
|
stateMutability: "view",
|
|
3666
|
-
type: "function"
|
|
3666
|
+
type: "function",
|
|
3667
3667
|
},
|
|
3668
3668
|
{
|
|
3669
3669
|
inputs: [
|
|
3670
3670
|
{
|
|
3671
3671
|
internalType: "bytes32",
|
|
3672
3672
|
name: "_tx_id",
|
|
3673
|
-
type: "bytes32"
|
|
3674
|
-
}
|
|
3673
|
+
type: "bytes32",
|
|
3674
|
+
},
|
|
3675
3675
|
],
|
|
3676
3676
|
name: "getValidatorsForLastAppeal",
|
|
3677
3677
|
outputs: [
|
|
3678
3678
|
{
|
|
3679
3679
|
internalType: "address[]",
|
|
3680
3680
|
name: "",
|
|
3681
|
-
type: "address[]"
|
|
3682
|
-
}
|
|
3681
|
+
type: "address[]",
|
|
3682
|
+
},
|
|
3683
3683
|
],
|
|
3684
3684
|
stateMutability: "view",
|
|
3685
|
-
type: "function"
|
|
3685
|
+
type: "function",
|
|
3686
3686
|
},
|
|
3687
3687
|
{
|
|
3688
3688
|
inputs: [
|
|
3689
3689
|
{
|
|
3690
3690
|
internalType: "bytes32",
|
|
3691
3691
|
name: "_tx_id",
|
|
3692
|
-
type: "bytes32"
|
|
3693
|
-
}
|
|
3692
|
+
type: "bytes32",
|
|
3693
|
+
},
|
|
3694
3694
|
],
|
|
3695
3695
|
name: "getValidatorsForLastRound",
|
|
3696
3696
|
outputs: [
|
|
3697
3697
|
{
|
|
3698
3698
|
internalType: "address[]",
|
|
3699
3699
|
name: "",
|
|
3700
|
-
type: "address[]"
|
|
3701
|
-
}
|
|
3700
|
+
type: "address[]",
|
|
3701
|
+
},
|
|
3702
3702
|
],
|
|
3703
3703
|
stateMutability: "view",
|
|
3704
|
-
type: "function"
|
|
3704
|
+
type: "function",
|
|
3705
3705
|
},
|
|
3706
3706
|
{
|
|
3707
3707
|
inputs: [
|
|
3708
3708
|
{
|
|
3709
3709
|
internalType: "bytes32",
|
|
3710
3710
|
name: "role",
|
|
3711
|
-
type: "bytes32"
|
|
3711
|
+
type: "bytes32",
|
|
3712
3712
|
},
|
|
3713
3713
|
{
|
|
3714
3714
|
internalType: "address",
|
|
3715
3715
|
name: "account",
|
|
3716
|
-
type: "address"
|
|
3717
|
-
}
|
|
3716
|
+
type: "address",
|
|
3717
|
+
},
|
|
3718
3718
|
],
|
|
3719
3719
|
name: "grantRole",
|
|
3720
3720
|
outputs: [],
|
|
3721
3721
|
stateMutability: "nonpayable",
|
|
3722
|
-
type: "function"
|
|
3722
|
+
type: "function",
|
|
3723
3723
|
},
|
|
3724
3724
|
{
|
|
3725
3725
|
inputs: [
|
|
3726
3726
|
{
|
|
3727
3727
|
internalType: "bytes32",
|
|
3728
3728
|
name: "role",
|
|
3729
|
-
type: "bytes32"
|
|
3729
|
+
type: "bytes32",
|
|
3730
3730
|
},
|
|
3731
3731
|
{
|
|
3732
3732
|
internalType: "address",
|
|
3733
3733
|
name: "account",
|
|
3734
|
-
type: "address"
|
|
3735
|
-
}
|
|
3734
|
+
type: "address",
|
|
3735
|
+
},
|
|
3736
3736
|
],
|
|
3737
3737
|
name: "hasRole",
|
|
3738
3738
|
outputs: [
|
|
3739
3739
|
{
|
|
3740
3740
|
internalType: "bool",
|
|
3741
3741
|
name: "",
|
|
3742
|
-
type: "bool"
|
|
3743
|
-
}
|
|
3742
|
+
type: "bool",
|
|
3743
|
+
},
|
|
3744
3744
|
],
|
|
3745
3745
|
stateMutability: "view",
|
|
3746
|
-
type: "function"
|
|
3746
|
+
type: "function",
|
|
3747
3747
|
},
|
|
3748
3748
|
{
|
|
3749
3749
|
inputs: [
|
|
3750
3750
|
{
|
|
3751
3751
|
internalType: "bytes32",
|
|
3752
3752
|
name: "_tx_id",
|
|
3753
|
-
type: "bytes32"
|
|
3754
|
-
}
|
|
3753
|
+
type: "bytes32",
|
|
3754
|
+
},
|
|
3755
3755
|
],
|
|
3756
3756
|
name: "hasTransactionOnAcceptanceMessages",
|
|
3757
3757
|
outputs: [
|
|
3758
3758
|
{
|
|
3759
3759
|
internalType: "bool",
|
|
3760
3760
|
name: "",
|
|
3761
|
-
type: "bool"
|
|
3762
|
-
}
|
|
3761
|
+
type: "bool",
|
|
3762
|
+
},
|
|
3763
3763
|
],
|
|
3764
3764
|
stateMutability: "view",
|
|
3765
|
-
type: "function"
|
|
3765
|
+
type: "function",
|
|
3766
3766
|
},
|
|
3767
3767
|
{
|
|
3768
3768
|
inputs: [
|
|
3769
3769
|
{
|
|
3770
3770
|
internalType: "bytes32",
|
|
3771
3771
|
name: "_tx_id",
|
|
3772
|
-
type: "bytes32"
|
|
3773
|
-
}
|
|
3772
|
+
type: "bytes32",
|
|
3773
|
+
},
|
|
3774
3774
|
],
|
|
3775
3775
|
name: "hasTransactionOnFinalizationMessages",
|
|
3776
3776
|
outputs: [
|
|
3777
3777
|
{
|
|
3778
3778
|
internalType: "bool",
|
|
3779
3779
|
name: "",
|
|
3780
|
-
type: "bool"
|
|
3781
|
-
}
|
|
3780
|
+
type: "bool",
|
|
3781
|
+
},
|
|
3782
3782
|
],
|
|
3783
3783
|
stateMutability: "view",
|
|
3784
|
-
type: "function"
|
|
3784
|
+
type: "function",
|
|
3785
3785
|
},
|
|
3786
3786
|
{
|
|
3787
3787
|
inputs: [
|
|
3788
3788
|
{
|
|
3789
3789
|
internalType: "address",
|
|
3790
3790
|
name: "_consensusMain",
|
|
3791
|
-
type: "address"
|
|
3791
|
+
type: "address",
|
|
3792
3792
|
},
|
|
3793
3793
|
{
|
|
3794
3794
|
internalType: "address",
|
|
3795
3795
|
name: "_transactions",
|
|
3796
|
-
type: "address"
|
|
3796
|
+
type: "address",
|
|
3797
3797
|
},
|
|
3798
3798
|
{
|
|
3799
3799
|
internalType: "address",
|
|
3800
3800
|
name: "_queues",
|
|
3801
|
-
type: "address"
|
|
3802
|
-
}
|
|
3801
|
+
type: "address",
|
|
3802
|
+
},
|
|
3803
3803
|
],
|
|
3804
3804
|
name: "initialize",
|
|
3805
3805
|
outputs: [],
|
|
3806
3806
|
stateMutability: "nonpayable",
|
|
3807
|
-
type: "function"
|
|
3807
|
+
type: "function",
|
|
3808
3808
|
},
|
|
3809
3809
|
{
|
|
3810
3810
|
inputs: [],
|
|
@@ -3813,11 +3813,11 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
3813
3813
|
{
|
|
3814
3814
|
internalType: "address",
|
|
3815
3815
|
name: "",
|
|
3816
|
-
type: "address"
|
|
3817
|
-
}
|
|
3816
|
+
type: "address",
|
|
3817
|
+
},
|
|
3818
3818
|
],
|
|
3819
3819
|
stateMutability: "view",
|
|
3820
|
-
type: "function"
|
|
3820
|
+
type: "function",
|
|
3821
3821
|
},
|
|
3822
3822
|
{
|
|
3823
3823
|
inputs: [],
|
|
@@ -3826,11 +3826,11 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
3826
3826
|
{
|
|
3827
3827
|
internalType: "address",
|
|
3828
3828
|
name: "",
|
|
3829
|
-
type: "address"
|
|
3830
|
-
}
|
|
3829
|
+
type: "address",
|
|
3830
|
+
},
|
|
3831
3831
|
],
|
|
3832
3832
|
stateMutability: "view",
|
|
3833
|
-
type: "function"
|
|
3833
|
+
type: "function",
|
|
3834
3834
|
},
|
|
3835
3835
|
{
|
|
3836
3836
|
inputs: [],
|
|
@@ -3839,112 +3839,112 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
3839
3839
|
{
|
|
3840
3840
|
internalType: "contract IQueues",
|
|
3841
3841
|
name: "",
|
|
3842
|
-
type: "address"
|
|
3843
|
-
}
|
|
3842
|
+
type: "address",
|
|
3843
|
+
},
|
|
3844
3844
|
],
|
|
3845
3845
|
stateMutability: "view",
|
|
3846
|
-
type: "function"
|
|
3846
|
+
type: "function",
|
|
3847
3847
|
},
|
|
3848
3848
|
{
|
|
3849
3849
|
inputs: [],
|
|
3850
3850
|
name: "renounceOwnership",
|
|
3851
3851
|
outputs: [],
|
|
3852
3852
|
stateMutability: "nonpayable",
|
|
3853
|
-
type: "function"
|
|
3853
|
+
type: "function",
|
|
3854
3854
|
},
|
|
3855
3855
|
{
|
|
3856
3856
|
inputs: [
|
|
3857
3857
|
{
|
|
3858
3858
|
internalType: "bytes32",
|
|
3859
3859
|
name: "role",
|
|
3860
|
-
type: "bytes32"
|
|
3860
|
+
type: "bytes32",
|
|
3861
3861
|
},
|
|
3862
3862
|
{
|
|
3863
3863
|
internalType: "address",
|
|
3864
3864
|
name: "callerConfirmation",
|
|
3865
|
-
type: "address"
|
|
3866
|
-
}
|
|
3865
|
+
type: "address",
|
|
3866
|
+
},
|
|
3867
3867
|
],
|
|
3868
3868
|
name: "renounceRole",
|
|
3869
3869
|
outputs: [],
|
|
3870
3870
|
stateMutability: "nonpayable",
|
|
3871
|
-
type: "function"
|
|
3871
|
+
type: "function",
|
|
3872
3872
|
},
|
|
3873
3873
|
{
|
|
3874
3874
|
inputs: [
|
|
3875
3875
|
{
|
|
3876
3876
|
internalType: "bytes32",
|
|
3877
3877
|
name: "role",
|
|
3878
|
-
type: "bytes32"
|
|
3878
|
+
type: "bytes32",
|
|
3879
3879
|
},
|
|
3880
3880
|
{
|
|
3881
3881
|
internalType: "address",
|
|
3882
3882
|
name: "account",
|
|
3883
|
-
type: "address"
|
|
3884
|
-
}
|
|
3883
|
+
type: "address",
|
|
3884
|
+
},
|
|
3885
3885
|
],
|
|
3886
3886
|
name: "revokeRole",
|
|
3887
3887
|
outputs: [],
|
|
3888
3888
|
stateMutability: "nonpayable",
|
|
3889
|
-
type: "function"
|
|
3889
|
+
type: "function",
|
|
3890
3890
|
},
|
|
3891
3891
|
{
|
|
3892
3892
|
inputs: [
|
|
3893
3893
|
{
|
|
3894
3894
|
internalType: "address",
|
|
3895
3895
|
name: "_consensusMain",
|
|
3896
|
-
type: "address"
|
|
3897
|
-
}
|
|
3896
|
+
type: "address",
|
|
3897
|
+
},
|
|
3898
3898
|
],
|
|
3899
3899
|
name: "setConsensusMain",
|
|
3900
3900
|
outputs: [],
|
|
3901
3901
|
stateMutability: "nonpayable",
|
|
3902
|
-
type: "function"
|
|
3902
|
+
type: "function",
|
|
3903
3903
|
},
|
|
3904
3904
|
{
|
|
3905
3905
|
inputs: [
|
|
3906
3906
|
{
|
|
3907
3907
|
internalType: "address",
|
|
3908
3908
|
name: "_queues",
|
|
3909
|
-
type: "address"
|
|
3910
|
-
}
|
|
3909
|
+
type: "address",
|
|
3910
|
+
},
|
|
3911
3911
|
],
|
|
3912
3912
|
name: "setQueues",
|
|
3913
3913
|
outputs: [],
|
|
3914
3914
|
stateMutability: "nonpayable",
|
|
3915
|
-
type: "function"
|
|
3915
|
+
type: "function",
|
|
3916
3916
|
},
|
|
3917
3917
|
{
|
|
3918
3918
|
inputs: [
|
|
3919
3919
|
{
|
|
3920
3920
|
internalType: "address",
|
|
3921
3921
|
name: "_transactions",
|
|
3922
|
-
type: "address"
|
|
3923
|
-
}
|
|
3922
|
+
type: "address",
|
|
3923
|
+
},
|
|
3924
3924
|
],
|
|
3925
3925
|
name: "setTransactions",
|
|
3926
3926
|
outputs: [],
|
|
3927
3927
|
stateMutability: "nonpayable",
|
|
3928
|
-
type: "function"
|
|
3928
|
+
type: "function",
|
|
3929
3929
|
},
|
|
3930
3930
|
{
|
|
3931
3931
|
inputs: [
|
|
3932
3932
|
{
|
|
3933
3933
|
internalType: "bytes4",
|
|
3934
3934
|
name: "interfaceId",
|
|
3935
|
-
type: "bytes4"
|
|
3936
|
-
}
|
|
3935
|
+
type: "bytes4",
|
|
3936
|
+
},
|
|
3937
3937
|
],
|
|
3938
3938
|
name: "supportsInterface",
|
|
3939
3939
|
outputs: [
|
|
3940
3940
|
{
|
|
3941
3941
|
internalType: "bool",
|
|
3942
3942
|
name: "",
|
|
3943
|
-
type: "bool"
|
|
3944
|
-
}
|
|
3943
|
+
type: "bool",
|
|
3944
|
+
},
|
|
3945
3945
|
],
|
|
3946
3946
|
stateMutability: "view",
|
|
3947
|
-
type: "function"
|
|
3947
|
+
type: "function",
|
|
3948
3948
|
},
|
|
3949
3949
|
{
|
|
3950
3950
|
inputs: [],
|
|
@@ -3953,31 +3953,32 @@ const CONSENSUS_DATA_CONTRACT = {
|
|
|
3953
3953
|
{
|
|
3954
3954
|
internalType: "contract ITransactions",
|
|
3955
3955
|
name: "",
|
|
3956
|
-
type: "address"
|
|
3957
|
-
}
|
|
3956
|
+
type: "address",
|
|
3957
|
+
},
|
|
3958
3958
|
],
|
|
3959
3959
|
stateMutability: "view",
|
|
3960
|
-
type: "function"
|
|
3960
|
+
type: "function",
|
|
3961
3961
|
},
|
|
3962
3962
|
{
|
|
3963
3963
|
inputs: [
|
|
3964
3964
|
{
|
|
3965
3965
|
internalType: "address",
|
|
3966
3966
|
name: "newOwner",
|
|
3967
|
-
type: "address"
|
|
3968
|
-
}
|
|
3967
|
+
type: "address",
|
|
3968
|
+
},
|
|
3969
3969
|
],
|
|
3970
3970
|
name: "transferOwnership",
|
|
3971
3971
|
outputs: [],
|
|
3972
3972
|
stateMutability: "nonpayable",
|
|
3973
|
-
type: "function"
|
|
3974
|
-
}
|
|
3973
|
+
type: "function",
|
|
3974
|
+
},
|
|
3975
3975
|
],
|
|
3976
3976
|
bytecode: "",
|
|
3977
3977
|
};
|
|
3978
3978
|
|
|
3979
3979
|
export const testnetAsimov: GenLayerChain = defineChain({
|
|
3980
3980
|
id: 0x107d,
|
|
3981
|
+
isStudio: false,
|
|
3981
3982
|
name: "Genlayer Asimov Testnet",
|
|
3982
3983
|
rpcUrls: {
|
|
3983
3984
|
default: {
|