@bloxchain/sdk 1.0.0-alpha.2 → 1.0.0-alpha.21

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