@flarenetwork/flare-periphery-contract-artifacts 0.1.5 → 0.1.6

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.
Files changed (72) hide show
  1. package/coston/StateConnector/configs/AddressValidity.json +326 -0
  2. package/coston/StateConnector/configs/BalanceDecreasingTransaction.json +379 -0
  3. package/coston/StateConnector/configs/ConfirmedBlockHeightExists.json +363 -0
  4. package/coston/StateConnector/configs/EVMTransaction.json +600 -0
  5. package/coston/StateConnector/configs/Payment.json +512 -0
  6. package/coston/StateConnector/configs/ReferencedPaymentNonexistence.json +431 -0
  7. package/coston/StateConnector/configs/TypeTemplate.json +555 -0
  8. package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.d.ts +68 -0
  9. package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.d.ts.map +1 -0
  10. package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.js +164 -0
  11. package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.js.map +1 -0
  12. package/dist/coston/StateConnector/libs/ts/AttestationResponse.d.ts +33 -0
  13. package/dist/coston/StateConnector/libs/ts/AttestationResponse.d.ts.map +1 -0
  14. package/dist/coston/StateConnector/libs/ts/AttestationResponse.js +30 -0
  15. package/dist/coston/StateConnector/libs/ts/AttestationResponse.js.map +1 -0
  16. package/dist/coston/StateConnector/libs/ts/MerkleTree.d.ts +103 -0
  17. package/dist/coston/StateConnector/libs/ts/MerkleTree.d.ts.map +1 -0
  18. package/dist/coston/StateConnector/libs/ts/MerkleTree.js +212 -0
  19. package/dist/coston/StateConnector/libs/ts/MerkleTree.js.map +1 -0
  20. package/dist/coston/StateConnector/libs/ts/config-types.d.ts +143 -0
  21. package/dist/coston/StateConnector/libs/ts/config-types.d.ts.map +1 -0
  22. package/dist/coston/StateConnector/libs/ts/config-types.js +3 -0
  23. package/dist/coston/StateConnector/libs/ts/config-types.js.map +1 -0
  24. package/dist/coston/StateConnector/libs/ts/interfaces.d.ts +32 -0
  25. package/dist/coston/StateConnector/libs/ts/interfaces.d.ts.map +1 -0
  26. package/dist/coston/StateConnector/libs/ts/interfaces.js +3 -0
  27. package/dist/coston/StateConnector/libs/ts/interfaces.js.map +1 -0
  28. package/dist/coston/StateConnector/libs/ts/random.d.ts +9 -0
  29. package/dist/coston/StateConnector/libs/ts/random.d.ts.map +1 -0
  30. package/dist/coston/StateConnector/libs/ts/random.js +70 -0
  31. package/dist/coston/StateConnector/libs/ts/random.js.map +1 -0
  32. package/dist/coston/StateConnector/libs/ts/utils.d.ts +73 -0
  33. package/dist/coston/StateConnector/libs/ts/utils.d.ts.map +1 -0
  34. package/dist/coston/StateConnector/libs/ts/utils.js +282 -0
  35. package/dist/coston/StateConnector/libs/ts/utils.js.map +1 -0
  36. package/dist/coston/StateConnector/typescript/AddressValidity.d.ts +95 -0
  37. package/dist/coston/StateConnector/typescript/AddressValidity.d.ts.map +1 -0
  38. package/dist/coston/StateConnector/typescript/AddressValidity.js +9 -0
  39. package/dist/coston/StateConnector/typescript/AddressValidity.js.map +1 -0
  40. package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.d.ts +107 -0
  41. package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.d.ts.map +1 -0
  42. package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.js +9 -0
  43. package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.js.map +1 -0
  44. package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.d.ts +103 -0
  45. package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.d.ts.map +1 -0
  46. package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.js +9 -0
  47. package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.js.map +1 -0
  48. package/dist/coston/StateConnector/typescript/EVMTransaction.d.ts +160 -0
  49. package/dist/coston/StateConnector/typescript/EVMTransaction.d.ts.map +1 -0
  50. package/dist/coston/StateConnector/typescript/EVMTransaction.js +9 -0
  51. package/dist/coston/StateConnector/typescript/EVMTransaction.js.map +1 -0
  52. package/dist/coston/StateConnector/typescript/Payment.d.ts +139 -0
  53. package/dist/coston/StateConnector/typescript/Payment.d.ts.map +1 -0
  54. package/dist/coston/StateConnector/typescript/Payment.js +9 -0
  55. package/dist/coston/StateConnector/typescript/Payment.js.map +1 -0
  56. package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.d.ts +115 -0
  57. package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.d.ts.map +1 -0
  58. package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.js +9 -0
  59. package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.js.map +1 -0
  60. package/dist/coston/StateConnector/typescript/TypeTemplate.d.ts +146 -0
  61. package/dist/coston/StateConnector/typescript/TypeTemplate.d.ts.map +1 -0
  62. package/dist/coston/StateConnector/typescript/TypeTemplate.js +9 -0
  63. package/dist/coston/StateConnector/typescript/TypeTemplate.js.map +1 -0
  64. package/dist/coston/StateConnector/typescript/data-sources/data-sources.d.ts +29 -0
  65. package/dist/coston/StateConnector/typescript/data-sources/data-sources.d.ts.map +1 -0
  66. package/dist/coston/StateConnector/typescript/data-sources/data-sources.js +33 -0
  67. package/dist/coston/StateConnector/typescript/data-sources/data-sources.js.map +1 -0
  68. package/dist/coston/StateConnector/typescript/index.d.ts +9 -0
  69. package/dist/coston/StateConnector/typescript/index.d.ts.map +1 -0
  70. package/dist/coston/StateConnector/typescript/index.js +25 -0
  71. package/dist/coston/StateConnector/typescript/index.js.map +1 -0
  72. package/package.json +1 -1
@@ -0,0 +1,600 @@
1
+ {
2
+ "name": "EVMTransaction",
3
+ "fullComment": " @custom:name EVMTransaction\n @custom:id 0x06\n @custom:supported ETH, FLR, SGB, testETH, testFLR, testSGB\n @author Flare\n @notice A relay of a transaction from an EVM chain.\n This type is only relevant for EVM-compatible chains.\n @custom:verification If a transaction with the `transactionId` is in a block on the main branch with at least `requiredConfirmations`, the specified data is relayed.\n If an indicated event does not exist, the request is rejected.\n @custom:lut `timestamp`",
4
+ "description": "A relay of a transaction from an EVM chain.\n This type is only relevant for EVM-compatible chains.",
5
+ "supported": [
6
+ "ETH",
7
+ "FLR",
8
+ "SGB",
9
+ "testETH",
10
+ "testFLR",
11
+ "testSGB"
12
+ ],
13
+ "verification": "If a transaction with the `transactionId` is in a block on the main branch with at least `requiredConfirmations`, the specified data is relayed.\n If an indicated event does not exist, the request is rejected.\n ",
14
+ "lut": "`timestamp`",
15
+ "proof": {
16
+ "name": "Proof",
17
+ "description": "Toplevel proof",
18
+ "above": "",
19
+ "below": "",
20
+ "fullComment": " @notice Toplevel proof\n @param merkleProof Merkle proof corresponding to the attestation response.\n @param data Attestation response.",
21
+ "params": [
22
+ {
23
+ "name": "merkleProof",
24
+ "type": "bytes32[]",
25
+ "typeSimple": "bytes32[]",
26
+ "comment": "Merkle proof corresponding to the attestation response."
27
+ },
28
+ {
29
+ "name": "data",
30
+ "type": "struct EVMTransaction.Response",
31
+ "typeSimple": "Response",
32
+ "comment": "Attestation response."
33
+ }
34
+ ]
35
+ },
36
+ "request": {
37
+ "name": "Request",
38
+ "description": "Toplevel request",
39
+ "above": "",
40
+ "below": "",
41
+ "fullComment": " @notice Toplevel request\n @param attestationType ID of the attestation type.\n @param sourceId ID of the data source.\n @param messageIntegrityCode `MessageIntegrityCode` that is derived from the expected response.\n @param requestBody Data defining the request. Type (struct) and interpretation is determined by the `attestationType`.",
42
+ "params": [
43
+ {
44
+ "name": "attestationType",
45
+ "type": "bytes32",
46
+ "typeSimple": "bytes32",
47
+ "comment": "ID of the attestation type."
48
+ },
49
+ {
50
+ "name": "sourceId",
51
+ "type": "bytes32",
52
+ "typeSimple": "bytes32",
53
+ "comment": "ID of the data source."
54
+ },
55
+ {
56
+ "name": "messageIntegrityCode",
57
+ "type": "bytes32",
58
+ "typeSimple": "bytes32",
59
+ "comment": "`MessageIntegrityCode` that is derived from the expected response."
60
+ },
61
+ {
62
+ "name": "requestBody",
63
+ "type": "struct EVMTransaction.RequestBody",
64
+ "typeSimple": "RequestBody",
65
+ "comment": "Data defining the request. Type (struct) and interpretation is determined by the `attestationType`."
66
+ }
67
+ ]
68
+ },
69
+ "response": {
70
+ "name": "Response",
71
+ "description": "Toplevel response",
72
+ "above": "",
73
+ "below": "",
74
+ "fullComment": " @notice Toplevel response\n @param attestationType Extracted from the request.\n @param sourceId Extracted from the request.\n @param votingRound The ID of the State Connector round in which the request was considered.\n @param lowestUsedTimestamp The lowest timestamp used to generate the response.\n @param requestBody Extracted from the request.\n @param responseBody Data defining the response. The verification rules for the construction of the response body and the type are defined per specific `attestationType`.",
75
+ "params": [
76
+ {
77
+ "name": "attestationType",
78
+ "type": "bytes32",
79
+ "typeSimple": "bytes32",
80
+ "comment": "Extracted from the request."
81
+ },
82
+ {
83
+ "name": "sourceId",
84
+ "type": "bytes32",
85
+ "typeSimple": "bytes32",
86
+ "comment": "Extracted from the request."
87
+ },
88
+ {
89
+ "name": "votingRound",
90
+ "type": "uint64",
91
+ "typeSimple": "uint64",
92
+ "comment": "The ID of the State Connector round in which the request was considered."
93
+ },
94
+ {
95
+ "name": "lowestUsedTimestamp",
96
+ "type": "uint64",
97
+ "typeSimple": "uint64",
98
+ "comment": "The lowest timestamp used to generate the response."
99
+ },
100
+ {
101
+ "name": "requestBody",
102
+ "type": "struct EVMTransaction.RequestBody",
103
+ "typeSimple": "RequestBody",
104
+ "comment": "Extracted from the request."
105
+ },
106
+ {
107
+ "name": "responseBody",
108
+ "type": "struct EVMTransaction.ResponseBody",
109
+ "typeSimple": "ResponseBody",
110
+ "comment": "Data defining the response. The verification rules for the construction of the response body and the type are defined per specific `attestationType`."
111
+ }
112
+ ]
113
+ },
114
+ "requestBody": {
115
+ "name": "RequestBody",
116
+ "description": "Request body for EVM transaction attestation type",
117
+ "above": "",
118
+ "below": "Note that events (logs) are indexed in block not in each transaction. The contract that uses the attestation should specify the order of event logs as needed and the requestor should sort `logIndices`\n with respect to the set specifications. If possible, the contact should only require one `logIndex`.",
119
+ "fullComment": " @notice Request body for EVM transaction attestation type\n @custom:below Note that events (logs) are indexed in block not in each transaction. The contract that uses the attestation should specify the order of event logs as needed and the requestor should sort `logIndices`\n with respect to the set specifications. If possible, the contact should only require one `logIndex`.\n @param transactionHash Hash of the transaction(transactionHash).\n @param requiredConfirmations The height at which a block is considered confirmed by the requestor.\n @param provideInput If true, \"input\" field is included in the response.\n @param listEvents If true, events indicated by `logIndices` are included in the response. Otherwise, no events are included in the response.\n @param logIndices If `listEvents` is `false`, this should be an empty list, otherwise, the request is rejected. If `listEvents` is `true`, this is the list of indices (logIndex) of the events to be relayed (sorted by the requestor). The array should contain at most 50 indices. If empty, it indicates all events in order capped by 50.",
120
+ "params": [
121
+ {
122
+ "name": "transactionHash",
123
+ "type": "bytes32",
124
+ "typeSimple": "bytes32",
125
+ "comment": "Hash of the transaction(transactionHash)."
126
+ },
127
+ {
128
+ "name": "requiredConfirmations",
129
+ "type": "uint16",
130
+ "typeSimple": "uint16",
131
+ "comment": "The height at which a block is considered confirmed by the requestor."
132
+ },
133
+ {
134
+ "name": "provideInput",
135
+ "type": "bool",
136
+ "typeSimple": "bool",
137
+ "comment": "If true, \"input\" field is included in the response."
138
+ },
139
+ {
140
+ "name": "listEvents",
141
+ "type": "bool",
142
+ "typeSimple": "bool",
143
+ "comment": "If true, events indicated by `logIndices` are included in the response. Otherwise, no events are included in the response."
144
+ },
145
+ {
146
+ "name": "logIndices",
147
+ "type": "uint32[]",
148
+ "typeSimple": "uint32[]",
149
+ "comment": "If `listEvents` is `false`, this should be an empty list, otherwise, the request is rejected. If `listEvents` is `true`, this is the list of indices (logIndex) of the events to be relayed (sorted by the requestor). The array should contain at most 50 indices. If empty, it indicates all events in order capped by 50."
150
+ }
151
+ ]
152
+ },
153
+ "responseBody": {
154
+ "name": "ResponseBody",
155
+ "description": "Response body for EVM transaction attestation type",
156
+ "above": "",
157
+ "below": "The fields are in line with [transaction](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gettransactionbyhash) provided by EVM node.",
158
+ "fullComment": " @notice Response body for EVM transaction attestation type\n @custom:below The fields are in line with [transaction](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gettransactionbyhash) provided by EVM node.\n @param blockNumber Number of the block in which the transaction is included.\n @param timestamp Timestamp of the block in which the transaction is included.\n @param sourceAddress The address (from) that signed the transaction.\n @param isDeployment Indicate whether it is a contract creation transaction.\n @param receivingAddress The address (to) of the receiver of the initial transaction. Zero address if `isDeployment` is `true`.\n @param value The value transferred by the initial transaction in wei.\n @param input If `provideInput`, this is the data send along with the initial transaction. Otherwise it is the default value `0x00`.\n @param status Status of the transaction 1 - success, 0 - failure.\n @param events If `listEvents` is `true`, an array of the requested events. Sorted by the logIndex in the same order as `logIndices`. Otherwise, an empty array.",
159
+ "params": [
160
+ {
161
+ "name": "blockNumber",
162
+ "type": "uint64",
163
+ "typeSimple": "uint64",
164
+ "comment": "Number of the block in which the transaction is included."
165
+ },
166
+ {
167
+ "name": "timestamp",
168
+ "type": "uint64",
169
+ "typeSimple": "uint64",
170
+ "comment": "Timestamp of the block in which the transaction is included."
171
+ },
172
+ {
173
+ "name": "sourceAddress",
174
+ "type": "address",
175
+ "typeSimple": "address",
176
+ "comment": "The address (from) that signed the transaction."
177
+ },
178
+ {
179
+ "name": "isDeployment",
180
+ "type": "bool",
181
+ "typeSimple": "bool",
182
+ "comment": "Indicate whether it is a contract creation transaction."
183
+ },
184
+ {
185
+ "name": "receivingAddress",
186
+ "type": "address",
187
+ "typeSimple": "address",
188
+ "comment": "The address (to) of the receiver of the initial transaction. Zero address if `isDeployment` is `true`."
189
+ },
190
+ {
191
+ "name": "value",
192
+ "type": "uint256",
193
+ "typeSimple": "uint256",
194
+ "comment": "The value transferred by the initial transaction in wei."
195
+ },
196
+ {
197
+ "name": "input",
198
+ "type": "bytes",
199
+ "typeSimple": "bytes",
200
+ "comment": "If `provideInput`, this is the data send along with the initial transaction. Otherwise it is the default value `0x00`."
201
+ },
202
+ {
203
+ "name": "status",
204
+ "type": "uint8",
205
+ "typeSimple": "uint8",
206
+ "comment": "Status of the transaction 1 - success, 0 - failure."
207
+ },
208
+ {
209
+ "name": "events",
210
+ "type": "struct EVMTransaction.Event[]",
211
+ "typeSimple": "Event[]",
212
+ "comment": "If `listEvents` is `true`, an array of the requested events. Sorted by the logIndex in the same order as `logIndices`. Otherwise, an empty array."
213
+ }
214
+ ]
215
+ },
216
+ "requestStructs": [],
217
+ "responseStructs": [
218
+ {
219
+ "name": "Event",
220
+ "description": "Event log record",
221
+ "above": "An `Event` is a struct with the following fields:",
222
+ "below": "The fields are in line with [EVM event logs](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getfilterchanges).",
223
+ "fullComment": " @notice Event log record\n @custom:above An `Event` is a struct with the following fields:\n @custom:below The fields are in line with [EVM event logs](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getfilterchanges).\n @param logIndex The consecutive number of the event in block.\n @param emitterAddress The address of the contract that emitted the event.\n @param topics An array of up to four 32-byte strings of indexed log arguments.\n @param data Concatenated 32-byte strings of non-indexed log arguments. At least 32 bytes long.\n @param removed It is `true` if the log was removed due to a chain reorganization and `false` if it is a valid log.",
224
+ "params": [
225
+ {
226
+ "name": "logIndex",
227
+ "type": "uint32",
228
+ "typeSimple": "uint32",
229
+ "comment": "The consecutive number of the event in block."
230
+ },
231
+ {
232
+ "name": "emitterAddress",
233
+ "type": "address",
234
+ "typeSimple": "address",
235
+ "comment": "The address of the contract that emitted the event."
236
+ },
237
+ {
238
+ "name": "topics",
239
+ "type": "bytes32[]",
240
+ "typeSimple": "bytes32[]",
241
+ "comment": "An array of up to four 32-byte strings of indexed log arguments."
242
+ },
243
+ {
244
+ "name": "data",
245
+ "type": "bytes",
246
+ "typeSimple": "bytes",
247
+ "comment": "Concatenated 32-byte strings of non-indexed log arguments. At least 32 bytes long."
248
+ },
249
+ {
250
+ "name": "removed",
251
+ "type": "bool",
252
+ "typeSimple": "bool",
253
+ "comment": "It is `true` if the log was removed due to a chain reorganization and `false` if it is a valid log."
254
+ }
255
+ ]
256
+ }
257
+ ],
258
+ "requestAbi": {
259
+ "components": [
260
+ {
261
+ "internalType": "bytes32",
262
+ "name": "attestationType",
263
+ "type": "bytes32"
264
+ },
265
+ {
266
+ "internalType": "bytes32",
267
+ "name": "sourceId",
268
+ "type": "bytes32"
269
+ },
270
+ {
271
+ "internalType": "bytes32",
272
+ "name": "messageIntegrityCode",
273
+ "type": "bytes32"
274
+ },
275
+ {
276
+ "components": [
277
+ {
278
+ "internalType": "bytes32",
279
+ "name": "transactionHash",
280
+ "type": "bytes32"
281
+ },
282
+ {
283
+ "internalType": "uint16",
284
+ "name": "requiredConfirmations",
285
+ "type": "uint16"
286
+ },
287
+ {
288
+ "internalType": "bool",
289
+ "name": "provideInput",
290
+ "type": "bool"
291
+ },
292
+ {
293
+ "internalType": "bool",
294
+ "name": "listEvents",
295
+ "type": "bool"
296
+ },
297
+ {
298
+ "internalType": "uint32[]",
299
+ "name": "logIndices",
300
+ "type": "uint32[]"
301
+ }
302
+ ],
303
+ "internalType": "struct EVMTransaction.RequestBody",
304
+ "name": "requestBody",
305
+ "type": "tuple"
306
+ }
307
+ ],
308
+ "internalType": "struct EVMTransaction.Request",
309
+ "name": "_request",
310
+ "type": "tuple"
311
+ },
312
+ "responseAbi": {
313
+ "components": [
314
+ {
315
+ "internalType": "bytes32",
316
+ "name": "attestationType",
317
+ "type": "bytes32"
318
+ },
319
+ {
320
+ "internalType": "bytes32",
321
+ "name": "sourceId",
322
+ "type": "bytes32"
323
+ },
324
+ {
325
+ "internalType": "uint64",
326
+ "name": "votingRound",
327
+ "type": "uint64"
328
+ },
329
+ {
330
+ "internalType": "uint64",
331
+ "name": "lowestUsedTimestamp",
332
+ "type": "uint64"
333
+ },
334
+ {
335
+ "components": [
336
+ {
337
+ "internalType": "bytes32",
338
+ "name": "transactionHash",
339
+ "type": "bytes32"
340
+ },
341
+ {
342
+ "internalType": "uint16",
343
+ "name": "requiredConfirmations",
344
+ "type": "uint16"
345
+ },
346
+ {
347
+ "internalType": "bool",
348
+ "name": "provideInput",
349
+ "type": "bool"
350
+ },
351
+ {
352
+ "internalType": "bool",
353
+ "name": "listEvents",
354
+ "type": "bool"
355
+ },
356
+ {
357
+ "internalType": "uint32[]",
358
+ "name": "logIndices",
359
+ "type": "uint32[]"
360
+ }
361
+ ],
362
+ "internalType": "struct EVMTransaction.RequestBody",
363
+ "name": "requestBody",
364
+ "type": "tuple"
365
+ },
366
+ {
367
+ "components": [
368
+ {
369
+ "internalType": "uint64",
370
+ "name": "blockNumber",
371
+ "type": "uint64"
372
+ },
373
+ {
374
+ "internalType": "uint64",
375
+ "name": "timestamp",
376
+ "type": "uint64"
377
+ },
378
+ {
379
+ "internalType": "address",
380
+ "name": "sourceAddress",
381
+ "type": "address"
382
+ },
383
+ {
384
+ "internalType": "bool",
385
+ "name": "isDeployment",
386
+ "type": "bool"
387
+ },
388
+ {
389
+ "internalType": "address",
390
+ "name": "receivingAddress",
391
+ "type": "address"
392
+ },
393
+ {
394
+ "internalType": "uint256",
395
+ "name": "value",
396
+ "type": "uint256"
397
+ },
398
+ {
399
+ "internalType": "bytes",
400
+ "name": "input",
401
+ "type": "bytes"
402
+ },
403
+ {
404
+ "internalType": "uint8",
405
+ "name": "status",
406
+ "type": "uint8"
407
+ },
408
+ {
409
+ "components": [
410
+ {
411
+ "internalType": "uint32",
412
+ "name": "logIndex",
413
+ "type": "uint32"
414
+ },
415
+ {
416
+ "internalType": "address",
417
+ "name": "emitterAddress",
418
+ "type": "address"
419
+ },
420
+ {
421
+ "internalType": "bytes32[]",
422
+ "name": "topics",
423
+ "type": "bytes32[]"
424
+ },
425
+ {
426
+ "internalType": "bytes",
427
+ "name": "data",
428
+ "type": "bytes"
429
+ },
430
+ {
431
+ "internalType": "bool",
432
+ "name": "removed",
433
+ "type": "bool"
434
+ }
435
+ ],
436
+ "internalType": "struct EVMTransaction.Event[]",
437
+ "name": "events",
438
+ "type": "tuple[]"
439
+ }
440
+ ],
441
+ "internalType": "struct EVMTransaction.ResponseBody",
442
+ "name": "responseBody",
443
+ "type": "tuple"
444
+ }
445
+ ],
446
+ "internalType": "struct EVMTransaction.Response",
447
+ "name": "_response",
448
+ "type": "tuple"
449
+ },
450
+ "proofAbi": {
451
+ "components": [
452
+ {
453
+ "internalType": "bytes32[]",
454
+ "name": "merkleProof",
455
+ "type": "bytes32[]"
456
+ },
457
+ {
458
+ "components": [
459
+ {
460
+ "internalType": "bytes32",
461
+ "name": "attestationType",
462
+ "type": "bytes32"
463
+ },
464
+ {
465
+ "internalType": "bytes32",
466
+ "name": "sourceId",
467
+ "type": "bytes32"
468
+ },
469
+ {
470
+ "internalType": "uint64",
471
+ "name": "votingRound",
472
+ "type": "uint64"
473
+ },
474
+ {
475
+ "internalType": "uint64",
476
+ "name": "lowestUsedTimestamp",
477
+ "type": "uint64"
478
+ },
479
+ {
480
+ "components": [
481
+ {
482
+ "internalType": "bytes32",
483
+ "name": "transactionHash",
484
+ "type": "bytes32"
485
+ },
486
+ {
487
+ "internalType": "uint16",
488
+ "name": "requiredConfirmations",
489
+ "type": "uint16"
490
+ },
491
+ {
492
+ "internalType": "bool",
493
+ "name": "provideInput",
494
+ "type": "bool"
495
+ },
496
+ {
497
+ "internalType": "bool",
498
+ "name": "listEvents",
499
+ "type": "bool"
500
+ },
501
+ {
502
+ "internalType": "uint32[]",
503
+ "name": "logIndices",
504
+ "type": "uint32[]"
505
+ }
506
+ ],
507
+ "internalType": "struct EVMTransaction.RequestBody",
508
+ "name": "requestBody",
509
+ "type": "tuple"
510
+ },
511
+ {
512
+ "components": [
513
+ {
514
+ "internalType": "uint64",
515
+ "name": "blockNumber",
516
+ "type": "uint64"
517
+ },
518
+ {
519
+ "internalType": "uint64",
520
+ "name": "timestamp",
521
+ "type": "uint64"
522
+ },
523
+ {
524
+ "internalType": "address",
525
+ "name": "sourceAddress",
526
+ "type": "address"
527
+ },
528
+ {
529
+ "internalType": "bool",
530
+ "name": "isDeployment",
531
+ "type": "bool"
532
+ },
533
+ {
534
+ "internalType": "address",
535
+ "name": "receivingAddress",
536
+ "type": "address"
537
+ },
538
+ {
539
+ "internalType": "uint256",
540
+ "name": "value",
541
+ "type": "uint256"
542
+ },
543
+ {
544
+ "internalType": "bytes",
545
+ "name": "input",
546
+ "type": "bytes"
547
+ },
548
+ {
549
+ "internalType": "uint8",
550
+ "name": "status",
551
+ "type": "uint8"
552
+ },
553
+ {
554
+ "components": [
555
+ {
556
+ "internalType": "uint32",
557
+ "name": "logIndex",
558
+ "type": "uint32"
559
+ },
560
+ {
561
+ "internalType": "address",
562
+ "name": "emitterAddress",
563
+ "type": "address"
564
+ },
565
+ {
566
+ "internalType": "bytes32[]",
567
+ "name": "topics",
568
+ "type": "bytes32[]"
569
+ },
570
+ {
571
+ "internalType": "bytes",
572
+ "name": "data",
573
+ "type": "bytes"
574
+ },
575
+ {
576
+ "internalType": "bool",
577
+ "name": "removed",
578
+ "type": "bool"
579
+ }
580
+ ],
581
+ "internalType": "struct EVMTransaction.Event[]",
582
+ "name": "events",
583
+ "type": "tuple[]"
584
+ }
585
+ ],
586
+ "internalType": "struct EVMTransaction.ResponseBody",
587
+ "name": "responseBody",
588
+ "type": "tuple"
589
+ }
590
+ ],
591
+ "internalType": "struct EVMTransaction.Response",
592
+ "name": "data",
593
+ "type": "tuple"
594
+ }
595
+ ],
596
+ "internalType": "struct EVMTransaction.Proof",
597
+ "name": "_proof",
598
+ "type": "tuple"
599
+ }
600
+ }