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