@bloxchain/contracts 1.0.0-alpha.6 → 1.0.0

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