@bloxchain/contracts 1.0.0-alpha → 1.0.0-alpha.10

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 (55) hide show
  1. package/README.md +55 -18
  2. package/abi/{ControlBlox.abi.json → AccountBlox.abi.json} +699 -2974
  3. package/abi/BareBlox.abi.json +127 -90
  4. package/abi/BaseStateMachine.abi.json +127 -90
  5. package/abi/EngineBlox.abi.json +11 -31
  6. package/abi/GuardController.abi.json +217 -895
  7. package/abi/GuardControllerDefinitions.abi.json +380 -0
  8. package/abi/IDefinition.abi.json +19 -0
  9. package/abi/RoleBlox.abi.json +818 -2404
  10. package/abi/RuntimeRBAC.abi.json +122 -328
  11. package/abi/RuntimeRBACDefinitions.abi.json +243 -0
  12. package/abi/SecureBlox.abi.json +620 -1952
  13. package/abi/SecureOwnable.abi.json +469 -1801
  14. package/abi/SecureOwnableDefinitions.abi.json +57 -0
  15. package/abi/SimpleRWA20.abi.json +486 -1999
  16. package/abi/SimpleRWA20Definitions.abi.json +19 -0
  17. package/abi/SimpleVault.abi.json +884 -2685
  18. package/abi/SimpleVaultDefinitions.abi.json +19 -0
  19. package/components/README.md +8 -0
  20. package/core/access/RuntimeRBAC.sol +184 -0
  21. package/core/access/interface/IRuntimeRBAC.sol +55 -0
  22. package/{contracts/core → core}/access/lib/definitions/RuntimeRBACDefinitions.sol +121 -1
  23. package/{contracts/core → core}/base/BaseStateMachine.sol +187 -54
  24. package/{contracts/core → core}/base/interface/IBaseStateMachine.sol +7 -0
  25. package/{contracts/core → core}/execution/GuardController.sol +89 -155
  26. package/{contracts/core → core}/execution/interface/IGuardController.sol +52 -12
  27. package/{contracts/core → core}/execution/lib/definitions/GuardControllerDefinitions.sol +91 -2
  28. package/{contracts/core → core}/lib/EngineBlox.sol +167 -64
  29. package/{contracts → core/lib}/interfaces/IDefinition.sol +15 -6
  30. package/{contracts → core/lib}/interfaces/IEventForwarder.sol +1 -1
  31. package/{contracts → core/lib}/utils/SharedValidation.sol +490 -486
  32. package/core/pattern/Account.sol +75 -0
  33. package/core/research/BloxchainWallet.sol +133 -0
  34. package/core/research/FactoryBlox/FactoryBlox.sol +344 -0
  35. package/core/research/FactoryBlox/FactoryBloxDefinitions.sol +144 -0
  36. package/core/research/erc1155-blox/ERC1155Blox.sol +170 -0
  37. package/core/research/erc1155-blox/lib/definitions/ERC1155BloxDefinitions.sol +203 -0
  38. package/core/research/erc20-blox/ERC20Blox.sol +135 -0
  39. package/core/research/erc20-blox/lib/definitions/ERC20BloxDefinitions.sol +185 -0
  40. package/core/research/erc721-blox/ERC721Blox.sol +131 -0
  41. package/core/research/erc721-blox/lib/definitions/ERC721BloxDefinitions.sol +172 -0
  42. package/core/research/lending-blox/.gitkeep +1 -0
  43. package/core/research/p2p-blox/P2PBlox.sol +266 -0
  44. package/core/research/p2p-blox/README.md +85 -0
  45. package/core/research/p2p-blox/lib/definitions/P2PBloxDefinitions.sol +19 -0
  46. package/{contracts/core → core}/security/SecureOwnable.sol +390 -419
  47. package/{contracts/core → core}/security/interface/ISecureOwnable.sol +27 -40
  48. package/{contracts/core → core}/security/lib/definitions/SecureOwnableDefinitions.sol +786 -757
  49. package/package.json +49 -47
  50. package/standards/README.md +12 -0
  51. package/standards/behavior/ICopyable.sol +36 -0
  52. package/standards/hooks/IOnActionHook.sol +21 -0
  53. package/contracts/core/access/RuntimeRBAC.sol +0 -344
  54. package/contracts/core/access/interface/IRuntimeRBAC.sol +0 -108
  55. package/contracts/interfaces/IOnActionHook.sol +0 -79
@@ -53,17 +53,6 @@
53
53
  "name": "InternalFunctionNotAccessible",
54
54
  "type": "error"
55
55
  },
56
- {
57
- "inputs": [
58
- {
59
- "internalType": "address",
60
- "name": "provided",
61
- "type": "address"
62
- }
63
- ],
64
- "name": "InvalidAddress",
65
- "type": "error"
66
- },
67
56
  {
68
57
  "inputs": [],
69
58
  "name": "InvalidInitialization",
@@ -85,33 +74,6 @@
85
74
  "name": "InvalidRange",
86
75
  "type": "error"
87
76
  },
88
- {
89
- "inputs": [
90
- {
91
- "internalType": "uint256",
92
- "name": "provided",
93
- "type": "uint256"
94
- }
95
- ],
96
- "name": "MaxWalletsZero",
97
- "type": "error"
98
- },
99
- {
100
- "inputs": [
101
- {
102
- "internalType": "uint256",
103
- "name": "newPeriod",
104
- "type": "uint256"
105
- },
106
- {
107
- "internalType": "uint256",
108
- "name": "currentPeriod",
109
- "type": "uint256"
110
- }
111
- ],
112
- "name": "NewTimelockSame",
113
- "type": "error"
114
- },
115
77
  {
116
78
  "inputs": [
117
79
  {
@@ -128,22 +90,6 @@
128
90
  "name": "NotInitializing",
129
91
  "type": "error"
130
92
  },
131
- {
132
- "inputs": [
133
- {
134
- "internalType": "address",
135
- "name": "newAddress",
136
- "type": "address"
137
- },
138
- {
139
- "internalType": "address",
140
- "name": "currentAddress",
141
- "type": "address"
142
- }
143
- ],
144
- "name": "NotNewAddress",
145
- "type": "error"
146
- },
147
93
  {
148
94
  "inputs": [],
149
95
  "name": "NotSupported",
@@ -165,6 +111,11 @@
165
111
  "name": "OnlyCallableByContract",
166
112
  "type": "error"
167
113
  },
114
+ {
115
+ "inputs": [],
116
+ "name": "PendingSecureRequest",
117
+ "type": "error"
118
+ },
168
119
  {
169
120
  "inputs": [
170
121
  {
@@ -186,17 +137,6 @@
186
137
  "name": "ReentrancyGuardReentrantCall",
187
138
  "type": "error"
188
139
  },
189
- {
190
- "inputs": [
191
- {
192
- "internalType": "bytes32",
193
- "name": "resourceId",
194
- "type": "bytes32"
195
- }
196
- ],
197
- "name": "ResourceAlreadyExists",
198
- "type": "error"
199
- },
200
140
  {
201
141
  "inputs": [
202
142
  {
@@ -261,66 +201,23 @@
261
201
  "name": "RestrictedRecovery",
262
202
  "type": "error"
263
203
  },
264
- {
265
- "inputs": [
266
- {
267
- "internalType": "uint256",
268
- "name": "provided",
269
- "type": "uint256"
270
- }
271
- ],
272
- "name": "TimeLockPeriodZero",
273
- "type": "error"
274
- },
275
- {
276
- "anonymous": false,
277
- "inputs": [
278
- {
279
- "indexed": false,
280
- "internalType": "uint256",
281
- "name": "txId",
282
- "type": "uint256"
283
- }
284
- ],
285
- "name": "BroadcasterUpdateCancelled",
286
- "type": "event"
287
- },
288
- {
289
- "anonymous": false,
290
- "inputs": [
291
- {
292
- "indexed": false,
293
- "internalType": "address",
294
- "name": "currentBroadcaster",
295
- "type": "address"
296
- },
297
- {
298
- "indexed": false,
299
- "internalType": "address",
300
- "name": "newBroadcaster",
301
- "type": "address"
302
- }
303
- ],
304
- "name": "BroadcasterUpdateRequest",
305
- "type": "event"
306
- },
307
204
  {
308
205
  "anonymous": false,
309
206
  "inputs": [
310
207
  {
311
- "indexed": false,
312
- "internalType": "address",
313
- "name": "oldBroadcaster",
314
- "type": "address"
208
+ "indexed": true,
209
+ "internalType": "bytes4",
210
+ "name": "functionSelector",
211
+ "type": "bytes4"
315
212
  },
316
213
  {
317
214
  "indexed": false,
318
- "internalType": "address",
319
- "name": "newBroadcaster",
320
- "type": "address"
215
+ "internalType": "bytes",
216
+ "name": "data",
217
+ "type": "bytes"
321
218
  }
322
219
  ],
323
- "name": "BroadcasterUpdated",
220
+ "name": "ComponentEvent",
324
221
  "type": "event"
325
222
  },
326
223
  {
@@ -329,50 +226,19 @@
329
226
  {
330
227
  "indexed": true,
331
228
  "internalType": "address",
332
- "name": "from",
229
+ "name": "sender",
333
230
  "type": "address"
334
231
  },
335
232
  {
336
233
  "indexed": false,
337
234
  "internalType": "uint256",
338
- "name": "amount",
235
+ "name": "value",
339
236
  "type": "uint256"
340
237
  }
341
238
  ],
342
239
  "name": "EthReceived",
343
240
  "type": "event"
344
241
  },
345
- {
346
- "anonymous": false,
347
- "inputs": [
348
- {
349
- "indexed": true,
350
- "internalType": "enum GuardController.GuardConfigActionType",
351
- "name": "actionType",
352
- "type": "uint8"
353
- },
354
- {
355
- "indexed": true,
356
- "internalType": "bytes4",
357
- "name": "functionSelector",
358
- "type": "bytes4"
359
- },
360
- {
361
- "indexed": true,
362
- "internalType": "address",
363
- "name": "target",
364
- "type": "address"
365
- },
366
- {
367
- "indexed": false,
368
- "internalType": "bytes",
369
- "name": "data",
370
- "type": "bytes"
371
- }
372
- ],
373
- "name": "GuardConfigApplied",
374
- "type": "event"
375
- },
376
242
  {
377
243
  "anonymous": false,
378
244
  "inputs": [
@@ -387,349 +253,27 @@
387
253
  "type": "event"
388
254
  },
389
255
  {
390
- "anonymous": false,
256
+ "stateMutability": "payable",
257
+ "type": "fallback"
258
+ },
259
+ {
391
260
  "inputs": [
392
261
  {
393
- "indexed": false,
394
262
  "internalType": "uint256",
395
263
  "name": "txId",
396
264
  "type": "uint256"
397
265
  }
398
266
  ],
399
- "name": "OwnershipTransferCancelled",
400
- "type": "event"
401
- },
402
- {
403
- "anonymous": false,
404
- "inputs": [
405
- {
406
- "indexed": false,
407
- "internalType": "address",
408
- "name": "currentOwner",
409
- "type": "address"
410
- },
411
- {
412
- "indexed": false,
413
- "internalType": "address",
414
- "name": "newOwner",
415
- "type": "address"
416
- }
417
- ],
418
- "name": "OwnershipTransferRequest",
419
- "type": "event"
420
- },
421
- {
422
- "anonymous": false,
423
- "inputs": [
424
- {
425
- "indexed": false,
426
- "internalType": "address",
427
- "name": "oldOwner",
428
- "type": "address"
429
- },
430
- {
431
- "indexed": false,
432
- "internalType": "address",
433
- "name": "newOwner",
434
- "type": "address"
435
- }
436
- ],
437
- "name": "OwnershipTransferUpdated",
438
- "type": "event"
439
- },
440
- {
441
- "anonymous": false,
442
- "inputs": [
443
- {
444
- "indexed": false,
445
- "internalType": "address",
446
- "name": "oldRecovery",
447
- "type": "address"
448
- },
449
- {
450
- "indexed": false,
451
- "internalType": "address",
452
- "name": "newRecovery",
453
- "type": "address"
454
- }
455
- ],
456
- "name": "RecoveryAddressUpdated",
457
- "type": "event"
458
- },
459
- {
460
- "anonymous": false,
461
- "inputs": [
462
- {
463
- "indexed": true,
464
- "internalType": "enum RuntimeRBAC.RoleConfigActionType",
465
- "name": "actionType",
466
- "type": "uint8"
467
- },
468
- {
469
- "indexed": true,
470
- "internalType": "bytes32",
471
- "name": "roleHash",
472
- "type": "bytes32"
473
- },
474
- {
475
- "indexed": true,
476
- "internalType": "bytes4",
477
- "name": "functionSelector",
478
- "type": "bytes4"
479
- },
480
- {
481
- "indexed": false,
482
- "internalType": "bytes",
483
- "name": "data",
484
- "type": "bytes"
485
- }
486
- ],
487
- "name": "RoleConfigApplied",
488
- "type": "event"
489
- },
490
- {
491
- "anonymous": false,
492
- "inputs": [
493
- {
494
- "indexed": false,
495
- "internalType": "uint256",
496
- "name": "oldPeriod",
497
- "type": "uint256"
498
- },
267
+ "name": "approveTimeLockExecution",
268
+ "outputs": [
499
269
  {
500
- "indexed": false,
501
270
  "internalType": "uint256",
502
- "name": "newPeriod",
271
+ "name": "",
503
272
  "type": "uint256"
504
273
  }
505
274
  ],
506
- "name": "TimeLockPeriodUpdated",
507
- "type": "event"
508
- },
509
- {
510
- "anonymous": false,
511
- "inputs": [
512
- {
513
- "indexed": true,
514
- "internalType": "uint256",
515
- "name": "txId",
516
- "type": "uint256"
517
- },
518
- {
519
- "indexed": true,
520
- "internalType": "bytes32",
521
- "name": "operationType",
522
- "type": "bytes32"
523
- },
524
- {
525
- "indexed": true,
526
- "internalType": "address",
527
- "name": "approver",
528
- "type": "address"
529
- }
530
- ],
531
- "name": "TransactionApproved",
532
- "type": "event"
533
- },
534
- {
535
- "anonymous": false,
536
- "inputs": [
537
- {
538
- "indexed": true,
539
- "internalType": "uint256",
540
- "name": "txId",
541
- "type": "uint256"
542
- },
543
- {
544
- "indexed": true,
545
- "internalType": "bytes32",
546
- "name": "operationType",
547
- "type": "bytes32"
548
- },
549
- {
550
- "indexed": true,
551
- "internalType": "address",
552
- "name": "canceller",
553
- "type": "address"
554
- }
555
- ],
556
- "name": "TransactionCancelled",
557
- "type": "event"
558
- },
559
- {
560
- "anonymous": false,
561
- "inputs": [
562
- {
563
- "indexed": true,
564
- "internalType": "uint256",
565
- "name": "txId",
566
- "type": "uint256"
567
- },
568
- {
569
- "indexed": true,
570
- "internalType": "bytes32",
571
- "name": "operationType",
572
- "type": "bytes32"
573
- },
574
- {
575
- "indexed": false,
576
- "internalType": "bool",
577
- "name": "success",
578
- "type": "bool"
579
- }
580
- ],
581
- "name": "TransactionExecuted",
582
- "type": "event"
583
- },
584
- {
585
- "anonymous": false,
586
- "inputs": [
587
- {
588
- "indexed": true,
589
- "internalType": "uint256",
590
- "name": "txId",
591
- "type": "uint256"
592
- },
593
- {
594
- "indexed": true,
595
- "internalType": "address",
596
- "name": "requester",
597
- "type": "address"
598
- },
599
- {
600
- "indexed": true,
601
- "internalType": "bytes32",
602
- "name": "operationType",
603
- "type": "bytes32"
604
- },
605
- {
606
- "indexed": false,
607
- "internalType": "uint256",
608
- "name": "releaseTime",
609
- "type": "uint256"
610
- }
611
- ],
612
- "name": "TransactionRequested",
613
- "type": "event"
614
- },
615
- {
616
- "stateMutability": "payable",
617
- "type": "fallback"
618
- },
619
- {
620
- "inputs": [
621
- {
622
- "internalType": "uint256",
623
- "name": "txId",
624
- "type": "uint256"
625
- }
626
- ],
627
- "name": "approveTimeLockExecution",
628
- "outputs": [
629
- {
630
- "components": [
631
- {
632
- "internalType": "uint256",
633
- "name": "txId",
634
- "type": "uint256"
635
- },
636
- {
637
- "internalType": "uint256",
638
- "name": "releaseTime",
639
- "type": "uint256"
640
- },
641
- {
642
- "internalType": "enum EngineBlox.TxStatus",
643
- "name": "status",
644
- "type": "uint8"
645
- },
646
- {
647
- "components": [
648
- {
649
- "internalType": "address",
650
- "name": "requester",
651
- "type": "address"
652
- },
653
- {
654
- "internalType": "address",
655
- "name": "target",
656
- "type": "address"
657
- },
658
- {
659
- "internalType": "uint256",
660
- "name": "value",
661
- "type": "uint256"
662
- },
663
- {
664
- "internalType": "uint256",
665
- "name": "gasLimit",
666
- "type": "uint256"
667
- },
668
- {
669
- "internalType": "bytes32",
670
- "name": "operationType",
671
- "type": "bytes32"
672
- },
673
- {
674
- "internalType": "bytes4",
675
- "name": "executionSelector",
676
- "type": "bytes4"
677
- },
678
- {
679
- "internalType": "bytes",
680
- "name": "executionParams",
681
- "type": "bytes"
682
- }
683
- ],
684
- "internalType": "struct EngineBlox.TxParams",
685
- "name": "params",
686
- "type": "tuple"
687
- },
688
- {
689
- "internalType": "bytes32",
690
- "name": "message",
691
- "type": "bytes32"
692
- },
693
- {
694
- "internalType": "bytes",
695
- "name": "result",
696
- "type": "bytes"
697
- },
698
- {
699
- "components": [
700
- {
701
- "internalType": "address",
702
- "name": "recipient",
703
- "type": "address"
704
- },
705
- {
706
- "internalType": "uint256",
707
- "name": "nativeTokenAmount",
708
- "type": "uint256"
709
- },
710
- {
711
- "internalType": "address",
712
- "name": "erc20TokenAddress",
713
- "type": "address"
714
- },
715
- {
716
- "internalType": "uint256",
717
- "name": "erc20TokenAmount",
718
- "type": "uint256"
719
- }
720
- ],
721
- "internalType": "struct EngineBlox.PaymentDetails",
722
- "name": "payment",
723
- "type": "tuple"
724
- }
725
- ],
726
- "internalType": "struct EngineBlox.TxRecord",
727
- "name": "",
728
- "type": "tuple"
729
- }
730
- ],
731
- "stateMutability": "nonpayable",
732
- "type": "function"
275
+ "stateMutability": "nonpayable",
276
+ "type": "function"
733
277
  },
734
278
  {
735
279
  "inputs": [
@@ -906,236 +450,44 @@
906
450
  ],
907
451
  "name": "approveTimeLockExecutionWithMetaTx",
908
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
+ "internalType": "uint256",
466
+ "name": "txId",
467
+ "type": "uint256"
468
+ }
469
+ ],
470
+ "name": "cancelTimeLockExecution",
471
+ "outputs": [
472
+ {
473
+ "internalType": "uint256",
474
+ "name": "",
475
+ "type": "uint256"
476
+ }
477
+ ],
478
+ "stateMutability": "nonpayable",
479
+ "type": "function"
480
+ },
481
+ {
482
+ "inputs": [
909
483
  {
910
484
  "components": [
911
- {
912
- "internalType": "uint256",
913
- "name": "txId",
914
- "type": "uint256"
915
- },
916
- {
917
- "internalType": "uint256",
918
- "name": "releaseTime",
919
- "type": "uint256"
920
- },
921
- {
922
- "internalType": "enum EngineBlox.TxStatus",
923
- "name": "status",
924
- "type": "uint8"
925
- },
926
485
  {
927
486
  "components": [
928
487
  {
929
- "internalType": "address",
930
- "name": "requester",
931
- "type": "address"
932
- },
933
- {
934
- "internalType": "address",
935
- "name": "target",
936
- "type": "address"
937
- },
938
- {
939
- "internalType": "uint256",
940
- "name": "value",
941
- "type": "uint256"
942
- },
943
- {
944
- "internalType": "uint256",
945
- "name": "gasLimit",
946
- "type": "uint256"
947
- },
948
- {
949
- "internalType": "bytes32",
950
- "name": "operationType",
951
- "type": "bytes32"
952
- },
953
- {
954
- "internalType": "bytes4",
955
- "name": "executionSelector",
956
- "type": "bytes4"
957
- },
958
- {
959
- "internalType": "bytes",
960
- "name": "executionParams",
961
- "type": "bytes"
962
- }
963
- ],
964
- "internalType": "struct EngineBlox.TxParams",
965
- "name": "params",
966
- "type": "tuple"
967
- },
968
- {
969
- "internalType": "bytes32",
970
- "name": "message",
971
- "type": "bytes32"
972
- },
973
- {
974
- "internalType": "bytes",
975
- "name": "result",
976
- "type": "bytes"
977
- },
978
- {
979
- "components": [
980
- {
981
- "internalType": "address",
982
- "name": "recipient",
983
- "type": "address"
984
- },
985
- {
986
- "internalType": "uint256",
987
- "name": "nativeTokenAmount",
988
- "type": "uint256"
989
- },
990
- {
991
- "internalType": "address",
992
- "name": "erc20TokenAddress",
993
- "type": "address"
994
- },
995
- {
996
- "internalType": "uint256",
997
- "name": "erc20TokenAmount",
998
- "type": "uint256"
999
- }
1000
- ],
1001
- "internalType": "struct EngineBlox.PaymentDetails",
1002
- "name": "payment",
1003
- "type": "tuple"
1004
- }
1005
- ],
1006
- "internalType": "struct EngineBlox.TxRecord",
1007
- "name": "",
1008
- "type": "tuple"
1009
- }
1010
- ],
1011
- "stateMutability": "nonpayable",
1012
- "type": "function"
1013
- },
1014
- {
1015
- "inputs": [
1016
- {
1017
- "internalType": "uint256",
1018
- "name": "txId",
1019
- "type": "uint256"
1020
- }
1021
- ],
1022
- "name": "cancelTimeLockExecution",
1023
- "outputs": [
1024
- {
1025
- "components": [
1026
- {
1027
- "internalType": "uint256",
1028
- "name": "txId",
1029
- "type": "uint256"
1030
- },
1031
- {
1032
- "internalType": "uint256",
1033
- "name": "releaseTime",
1034
- "type": "uint256"
1035
- },
1036
- {
1037
- "internalType": "enum EngineBlox.TxStatus",
1038
- "name": "status",
1039
- "type": "uint8"
1040
- },
1041
- {
1042
- "components": [
1043
- {
1044
- "internalType": "address",
1045
- "name": "requester",
1046
- "type": "address"
1047
- },
1048
- {
1049
- "internalType": "address",
1050
- "name": "target",
1051
- "type": "address"
1052
- },
1053
- {
1054
- "internalType": "uint256",
1055
- "name": "value",
1056
- "type": "uint256"
1057
- },
1058
- {
1059
- "internalType": "uint256",
1060
- "name": "gasLimit",
1061
- "type": "uint256"
1062
- },
1063
- {
1064
- "internalType": "bytes32",
1065
- "name": "operationType",
1066
- "type": "bytes32"
1067
- },
1068
- {
1069
- "internalType": "bytes4",
1070
- "name": "executionSelector",
1071
- "type": "bytes4"
1072
- },
1073
- {
1074
- "internalType": "bytes",
1075
- "name": "executionParams",
1076
- "type": "bytes"
1077
- }
1078
- ],
1079
- "internalType": "struct EngineBlox.TxParams",
1080
- "name": "params",
1081
- "type": "tuple"
1082
- },
1083
- {
1084
- "internalType": "bytes32",
1085
- "name": "message",
1086
- "type": "bytes32"
1087
- },
1088
- {
1089
- "internalType": "bytes",
1090
- "name": "result",
1091
- "type": "bytes"
1092
- },
1093
- {
1094
- "components": [
1095
- {
1096
- "internalType": "address",
1097
- "name": "recipient",
1098
- "type": "address"
1099
- },
1100
- {
1101
- "internalType": "uint256",
1102
- "name": "nativeTokenAmount",
1103
- "type": "uint256"
1104
- },
1105
- {
1106
- "internalType": "address",
1107
- "name": "erc20TokenAddress",
1108
- "type": "address"
1109
- },
1110
- {
1111
- "internalType": "uint256",
1112
- "name": "erc20TokenAmount",
1113
- "type": "uint256"
1114
- }
1115
- ],
1116
- "internalType": "struct EngineBlox.PaymentDetails",
1117
- "name": "payment",
1118
- "type": "tuple"
1119
- }
1120
- ],
1121
- "internalType": "struct EngineBlox.TxRecord",
1122
- "name": "",
1123
- "type": "tuple"
1124
- }
1125
- ],
1126
- "stateMutability": "nonpayable",
1127
- "type": "function"
1128
- },
1129
- {
1130
- "inputs": [
1131
- {
1132
- "components": [
1133
- {
1134
- "components": [
1135
- {
1136
- "internalType": "uint256",
1137
- "name": "txId",
1138
- "type": "uint256"
488
+ "internalType": "uint256",
489
+ "name": "txId",
490
+ "type": "uint256"
1139
491
  },
1140
492
  {
1141
493
  "internalType": "uint256",
@@ -1300,157 +652,61 @@
1300
652
  }
1301
653
  ],
1302
654
  "name": "cancelTimeLockExecutionWithMetaTx",
655
+ "outputs": [
656
+ {
657
+ "internalType": "uint256",
658
+ "name": "",
659
+ "type": "uint256"
660
+ }
661
+ ],
662
+ "stateMutability": "nonpayable",
663
+ "type": "function"
664
+ },
665
+ {
666
+ "inputs": [
667
+ {
668
+ "internalType": "address",
669
+ "name": "handlerContract",
670
+ "type": "address"
671
+ },
672
+ {
673
+ "internalType": "bytes4",
674
+ "name": "handlerSelector",
675
+ "type": "bytes4"
676
+ },
677
+ {
678
+ "internalType": "enum EngineBlox.TxAction",
679
+ "name": "action",
680
+ "type": "uint8"
681
+ },
682
+ {
683
+ "internalType": "uint256",
684
+ "name": "deadline",
685
+ "type": "uint256"
686
+ },
687
+ {
688
+ "internalType": "uint256",
689
+ "name": "maxGasPrice",
690
+ "type": "uint256"
691
+ },
692
+ {
693
+ "internalType": "address",
694
+ "name": "signer",
695
+ "type": "address"
696
+ }
697
+ ],
698
+ "name": "createMetaTxParams",
1303
699
  "outputs": [
1304
700
  {
1305
701
  "components": [
1306
702
  {
1307
703
  "internalType": "uint256",
1308
- "name": "txId",
704
+ "name": "chainId",
1309
705
  "type": "uint256"
1310
706
  },
1311
707
  {
1312
708
  "internalType": "uint256",
1313
- "name": "releaseTime",
1314
- "type": "uint256"
1315
- },
1316
- {
1317
- "internalType": "enum EngineBlox.TxStatus",
1318
- "name": "status",
1319
- "type": "uint8"
1320
- },
1321
- {
1322
- "components": [
1323
- {
1324
- "internalType": "address",
1325
- "name": "requester",
1326
- "type": "address"
1327
- },
1328
- {
1329
- "internalType": "address",
1330
- "name": "target",
1331
- "type": "address"
1332
- },
1333
- {
1334
- "internalType": "uint256",
1335
- "name": "value",
1336
- "type": "uint256"
1337
- },
1338
- {
1339
- "internalType": "uint256",
1340
- "name": "gasLimit",
1341
- "type": "uint256"
1342
- },
1343
- {
1344
- "internalType": "bytes32",
1345
- "name": "operationType",
1346
- "type": "bytes32"
1347
- },
1348
- {
1349
- "internalType": "bytes4",
1350
- "name": "executionSelector",
1351
- "type": "bytes4"
1352
- },
1353
- {
1354
- "internalType": "bytes",
1355
- "name": "executionParams",
1356
- "type": "bytes"
1357
- }
1358
- ],
1359
- "internalType": "struct EngineBlox.TxParams",
1360
- "name": "params",
1361
- "type": "tuple"
1362
- },
1363
- {
1364
- "internalType": "bytes32",
1365
- "name": "message",
1366
- "type": "bytes32"
1367
- },
1368
- {
1369
- "internalType": "bytes",
1370
- "name": "result",
1371
- "type": "bytes"
1372
- },
1373
- {
1374
- "components": [
1375
- {
1376
- "internalType": "address",
1377
- "name": "recipient",
1378
- "type": "address"
1379
- },
1380
- {
1381
- "internalType": "uint256",
1382
- "name": "nativeTokenAmount",
1383
- "type": "uint256"
1384
- },
1385
- {
1386
- "internalType": "address",
1387
- "name": "erc20TokenAddress",
1388
- "type": "address"
1389
- },
1390
- {
1391
- "internalType": "uint256",
1392
- "name": "erc20TokenAmount",
1393
- "type": "uint256"
1394
- }
1395
- ],
1396
- "internalType": "struct EngineBlox.PaymentDetails",
1397
- "name": "payment",
1398
- "type": "tuple"
1399
- }
1400
- ],
1401
- "internalType": "struct EngineBlox.TxRecord",
1402
- "name": "",
1403
- "type": "tuple"
1404
- }
1405
- ],
1406
- "stateMutability": "nonpayable",
1407
- "type": "function"
1408
- },
1409
- {
1410
- "inputs": [
1411
- {
1412
- "internalType": "address",
1413
- "name": "handlerContract",
1414
- "type": "address"
1415
- },
1416
- {
1417
- "internalType": "bytes4",
1418
- "name": "handlerSelector",
1419
- "type": "bytes4"
1420
- },
1421
- {
1422
- "internalType": "enum EngineBlox.TxAction",
1423
- "name": "action",
1424
- "type": "uint8"
1425
- },
1426
- {
1427
- "internalType": "uint256",
1428
- "name": "deadline",
1429
- "type": "uint256"
1430
- },
1431
- {
1432
- "internalType": "uint256",
1433
- "name": "maxGasPrice",
1434
- "type": "uint256"
1435
- },
1436
- {
1437
- "internalType": "address",
1438
- "name": "signer",
1439
- "type": "address"
1440
- }
1441
- ],
1442
- "name": "createMetaTxParams",
1443
- "outputs": [
1444
- {
1445
- "components": [
1446
- {
1447
- "internalType": "uint256",
1448
- "name": "chainId",
1449
- "type": "uint256"
1450
- },
1451
- {
1452
- "internalType": "uint256",
1453
- "name": "nonce",
709
+ "name": "nonce",
1454
710
  "type": "uint256"
1455
711
  },
1456
712
  {
@@ -1498,6 +754,11 @@
1498
754
  "internalType": "address",
1499
755
  "name": "newBroadcaster",
1500
756
  "type": "address"
757
+ },
758
+ {
759
+ "internalType": "uint256",
760
+ "name": "location",
761
+ "type": "uint256"
1501
762
  }
1502
763
  ],
1503
764
  "name": "executeBroadcasterUpdate",
@@ -1510,7 +771,7 @@
1510
771
  {
1511
772
  "components": [
1512
773
  {
1513
- "internalType": "enum GuardController.GuardConfigActionType",
774
+ "internalType": "enum IGuardController.GuardConfigActionType",
1514
775
  "name": "actionType",
1515
776
  "type": "uint8"
1516
777
  },
@@ -1520,7 +781,7 @@
1520
781
  "type": "bytes"
1521
782
  }
1522
783
  ],
1523
- "internalType": "struct GuardController.GuardConfigAction[]",
784
+ "internalType": "struct IGuardController.GuardConfigAction[]",
1524
785
  "name": "actions",
1525
786
  "type": "tuple[]"
1526
787
  }
@@ -1548,7 +809,7 @@
1548
809
  {
1549
810
  "components": [
1550
811
  {
1551
- "internalType": "enum RuntimeRBAC.RoleConfigActionType",
812
+ "internalType": "enum IRuntimeRBAC.RoleConfigActionType",
1552
813
  "name": "actionType",
1553
814
  "type": "uint8"
1554
815
  },
@@ -1558,7 +819,7 @@
1558
819
  "type": "bytes"
1559
820
  }
1560
821
  ],
1561
- "internalType": "struct RuntimeRBAC.RoleConfigAction[]",
822
+ "internalType": "struct IRuntimeRBAC.RoleConfigAction[]",
1562
823
  "name": "actions",
1563
824
  "type": "tuple[]"
1564
825
  }
@@ -1625,132 +886,107 @@
1625
886
  "internalType": "bytes32",
1626
887
  "name": "operationType",
1627
888
  "type": "bytes32"
1628
- }
1629
- ],
1630
- "name": "executeWithTimeLock",
1631
- "outputs": [
889
+ },
1632
890
  {
1633
891
  "components": [
1634
892
  {
1635
- "internalType": "uint256",
1636
- "name": "txId",
1637
- "type": "uint256"
893
+ "internalType": "address",
894
+ "name": "recipient",
895
+ "type": "address"
1638
896
  },
1639
897
  {
1640
898
  "internalType": "uint256",
1641
- "name": "releaseTime",
899
+ "name": "nativeTokenAmount",
1642
900
  "type": "uint256"
1643
901
  },
1644
902
  {
1645
- "internalType": "enum EngineBlox.TxStatus",
1646
- "name": "status",
1647
- "type": "uint8"
1648
- },
1649
- {
1650
- "components": [
1651
- {
1652
- "internalType": "address",
1653
- "name": "requester",
1654
- "type": "address"
1655
- },
1656
- {
1657
- "internalType": "address",
1658
- "name": "target",
1659
- "type": "address"
1660
- },
1661
- {
1662
- "internalType": "uint256",
1663
- "name": "value",
1664
- "type": "uint256"
1665
- },
1666
- {
1667
- "internalType": "uint256",
1668
- "name": "gasLimit",
1669
- "type": "uint256"
1670
- },
1671
- {
1672
- "internalType": "bytes32",
1673
- "name": "operationType",
1674
- "type": "bytes32"
1675
- },
1676
- {
1677
- "internalType": "bytes4",
1678
- "name": "executionSelector",
1679
- "type": "bytes4"
1680
- },
1681
- {
1682
- "internalType": "bytes",
1683
- "name": "executionParams",
1684
- "type": "bytes"
1685
- }
1686
- ],
1687
- "internalType": "struct EngineBlox.TxParams",
1688
- "name": "params",
1689
- "type": "tuple"
1690
- },
1691
- {
1692
- "internalType": "bytes32",
1693
- "name": "message",
1694
- "type": "bytes32"
1695
- },
1696
- {
1697
- "internalType": "bytes",
1698
- "name": "result",
1699
- "type": "bytes"
903
+ "internalType": "address",
904
+ "name": "erc20TokenAddress",
905
+ "type": "address"
1700
906
  },
1701
907
  {
1702
- "components": [
1703
- {
1704
- "internalType": "address",
1705
- "name": "recipient",
1706
- "type": "address"
1707
- },
1708
- {
1709
- "internalType": "uint256",
1710
- "name": "nativeTokenAmount",
1711
- "type": "uint256"
1712
- },
1713
- {
1714
- "internalType": "address",
1715
- "name": "erc20TokenAddress",
1716
- "type": "address"
1717
- },
1718
- {
1719
- "internalType": "uint256",
1720
- "name": "erc20TokenAmount",
1721
- "type": "uint256"
1722
- }
1723
- ],
1724
- "internalType": "struct EngineBlox.PaymentDetails",
1725
- "name": "payment",
1726
- "type": "tuple"
908
+ "internalType": "uint256",
909
+ "name": "erc20TokenAmount",
910
+ "type": "uint256"
1727
911
  }
1728
912
  ],
1729
- "internalType": "struct EngineBlox.TxRecord",
1730
- "name": "",
913
+ "internalType": "struct EngineBlox.PaymentDetails",
914
+ "name": "paymentDetails",
1731
915
  "type": "tuple"
1732
916
  }
1733
917
  ],
1734
- "stateMutability": "nonpayable",
1735
- "type": "function"
1736
- },
1737
- {
1738
- "inputs": [
1739
- {
1740
- "internalType": "bytes4",
1741
- "name": "functionSelector",
1742
- "type": "bytes4"
1743
- }
1744
- ],
1745
- "name": "functionSchemaExists",
918
+ "name": "executeWithPayment",
1746
919
  "outputs": [
1747
920
  {
1748
- "internalType": "bool",
1749
- "name": "",
1750
- "type": "bool"
921
+ "internalType": "uint256",
922
+ "name": "txId",
923
+ "type": "uint256"
1751
924
  }
1752
925
  ],
1753
- "stateMutability": "view",
926
+ "stateMutability": "nonpayable",
927
+ "type": "function"
928
+ },
929
+ {
930
+ "inputs": [
931
+ {
932
+ "internalType": "address",
933
+ "name": "target",
934
+ "type": "address"
935
+ },
936
+ {
937
+ "internalType": "uint256",
938
+ "name": "value",
939
+ "type": "uint256"
940
+ },
941
+ {
942
+ "internalType": "bytes4",
943
+ "name": "functionSelector",
944
+ "type": "bytes4"
945
+ },
946
+ {
947
+ "internalType": "bytes",
948
+ "name": "params",
949
+ "type": "bytes"
950
+ },
951
+ {
952
+ "internalType": "uint256",
953
+ "name": "gasLimit",
954
+ "type": "uint256"
955
+ },
956
+ {
957
+ "internalType": "bytes32",
958
+ "name": "operationType",
959
+ "type": "bytes32"
960
+ }
961
+ ],
962
+ "name": "executeWithTimeLock",
963
+ "outputs": [
964
+ {
965
+ "internalType": "uint256",
966
+ "name": "txId",
967
+ "type": "uint256"
968
+ }
969
+ ],
970
+ "stateMutability": "nonpayable",
971
+ "type": "function"
972
+ },
973
+ {
974
+ "inputs": [
975
+ {
976
+ "internalType": "bytes4",
977
+ "name": "functionSelector",
978
+ "type": "bytes4"
979
+ }
980
+ ],
981
+ "name": "functionSchemaExists",
982
+ "outputs": [
983
+ {
984
+ "internalType": "bool",
985
+ "name": "",
986
+ "type": "bool"
987
+ }
988
+ ],
989
+ "stateMutability": "view",
1754
990
  "type": "function"
1755
991
  },
1756
992
  {
@@ -2281,6 +1517,19 @@
2281
1517
  "stateMutability": "view",
2282
1518
  "type": "function"
2283
1519
  },
1520
+ {
1521
+ "inputs": [],
1522
+ "name": "getBroadcasters",
1523
+ "outputs": [
1524
+ {
1525
+ "internalType": "address[]",
1526
+ "name": "",
1527
+ "type": "address[]"
1528
+ }
1529
+ ],
1530
+ "stateMutability": "view",
1531
+ "type": "function"
1532
+ },
2284
1533
  {
2285
1534
  "inputs": [
2286
1535
  {
@@ -2289,20 +1538,63 @@
2289
1538
  "type": "bytes4"
2290
1539
  }
2291
1540
  ],
2292
- "name": "getAllowedTargets",
1541
+ "name": "getFunctionSchema",
2293
1542
  "outputs": [
2294
1543
  {
2295
- "internalType": "address[]",
1544
+ "components": [
1545
+ {
1546
+ "internalType": "string",
1547
+ "name": "functionSignature",
1548
+ "type": "string"
1549
+ },
1550
+ {
1551
+ "internalType": "bytes4",
1552
+ "name": "functionSelector",
1553
+ "type": "bytes4"
1554
+ },
1555
+ {
1556
+ "internalType": "bytes32",
1557
+ "name": "operationType",
1558
+ "type": "bytes32"
1559
+ },
1560
+ {
1561
+ "internalType": "string",
1562
+ "name": "operationName",
1563
+ "type": "string"
1564
+ },
1565
+ {
1566
+ "internalType": "uint16",
1567
+ "name": "supportedActionsBitmap",
1568
+ "type": "uint16"
1569
+ },
1570
+ {
1571
+ "internalType": "bool",
1572
+ "name": "isProtected",
1573
+ "type": "bool"
1574
+ },
1575
+ {
1576
+ "internalType": "bytes4[]",
1577
+ "name": "handlerForSelectors",
1578
+ "type": "bytes4[]"
1579
+ }
1580
+ ],
1581
+ "internalType": "struct EngineBlox.FunctionSchema",
2296
1582
  "name": "",
2297
- "type": "address[]"
1583
+ "type": "tuple"
2298
1584
  }
2299
1585
  ],
2300
1586
  "stateMutability": "view",
2301
1587
  "type": "function"
2302
1588
  },
2303
1589
  {
2304
- "inputs": [],
2305
- "name": "getBroadcasters",
1590
+ "inputs": [
1591
+ {
1592
+ "internalType": "bytes4",
1593
+ "name": "functionSelector",
1594
+ "type": "bytes4"
1595
+ }
1596
+ ],
1597
+ "name": "getFunctionWhitelistTargets",
2306
1598
  "outputs": [
2307
1599
  {
2308
1600
  "internalType": "address[]",
@@ -2321,37 +1613,12 @@
2321
1613
  "type": "bytes4"
2322
1614
  }
2323
1615
  ],
2324
- "name": "getFunctionSchema",
1616
+ "name": "getHooks",
2325
1617
  "outputs": [
2326
1618
  {
2327
- "internalType": "string",
2328
- "name": "functionSignature",
2329
- "type": "string"
2330
- },
2331
- {
2332
- "internalType": "bytes4",
2333
- "name": "functionSelectorReturn",
2334
- "type": "bytes4"
2335
- },
2336
- {
2337
- "internalType": "bytes32",
2338
- "name": "operationType",
2339
- "type": "bytes32"
2340
- },
2341
- {
2342
- "internalType": "string",
2343
- "name": "operationName",
2344
- "type": "string"
2345
- },
2346
- {
2347
- "internalType": "enum EngineBlox.TxAction[]",
2348
- "name": "supportedActions",
2349
- "type": "uint8[]"
2350
- },
2351
- {
2352
- "internalType": "bool",
2353
- "name": "isProtected",
2354
- "type": "bool"
1619
+ "internalType": "address[]",
1620
+ "name": "hooks",
1621
+ "type": "address[]"
2355
1622
  }
2356
1623
  ],
2357
1624
  "stateMutability": "view",
@@ -2766,37 +2033,6 @@
2766
2033
  "stateMutability": "view",
2767
2034
  "type": "function"
2768
2035
  },
2769
- {
2770
- "inputs": [
2771
- {
2772
- "components": [
2773
- {
2774
- "internalType": "enum GuardController.GuardConfigActionType",
2775
- "name": "actionType",
2776
- "type": "uint8"
2777
- },
2778
- {
2779
- "internalType": "bytes",
2780
- "name": "data",
2781
- "type": "bytes"
2782
- }
2783
- ],
2784
- "internalType": "struct GuardController.GuardConfigAction[]",
2785
- "name": "actions",
2786
- "type": "tuple[]"
2787
- }
2788
- ],
2789
- "name": "guardConfigBatchExecutionParams",
2790
- "outputs": [
2791
- {
2792
- "internalType": "bytes",
2793
- "name": "",
2794
- "type": "bytes"
2795
- }
2796
- ],
2797
- "stateMutability": "pure",
2798
- "type": "function"
2799
- },
2800
2036
  {
2801
2037
  "inputs": [
2802
2038
  {
@@ -2972,183 +2208,271 @@
2972
2208
  ],
2973
2209
  "name": "guardConfigBatchRequestAndApprove",
2974
2210
  "outputs": [
2211
+ {
2212
+ "internalType": "uint256",
2213
+ "name": "",
2214
+ "type": "uint256"
2215
+ }
2216
+ ],
2217
+ "stateMutability": "nonpayable",
2218
+ "type": "function"
2219
+ },
2220
+ {
2221
+ "inputs": [
2222
+ {
2223
+ "internalType": "bytes32",
2224
+ "name": "roleHash",
2225
+ "type": "bytes32"
2226
+ },
2227
+ {
2228
+ "internalType": "address",
2229
+ "name": "wallet",
2230
+ "type": "address"
2231
+ }
2232
+ ],
2233
+ "name": "hasRole",
2234
+ "outputs": [
2235
+ {
2236
+ "internalType": "bool",
2237
+ "name": "",
2238
+ "type": "bool"
2239
+ }
2240
+ ],
2241
+ "stateMutability": "view",
2242
+ "type": "function"
2243
+ },
2244
+ {
2245
+ "inputs": [],
2246
+ "name": "initialized",
2247
+ "outputs": [
2248
+ {
2249
+ "internalType": "bool",
2250
+ "name": "",
2251
+ "type": "bool"
2252
+ }
2253
+ ],
2254
+ "stateMutability": "view",
2255
+ "type": "function"
2256
+ },
2257
+ {
2258
+ "inputs": [
2259
+ {
2260
+ "internalType": "bytes4",
2261
+ "name": "functionSelector",
2262
+ "type": "bytes4"
2263
+ },
2264
+ {
2265
+ "internalType": "enum EngineBlox.TxAction",
2266
+ "name": "action",
2267
+ "type": "uint8"
2268
+ }
2269
+ ],
2270
+ "name": "isActionSupportedByFunction",
2271
+ "outputs": [
2272
+ {
2273
+ "internalType": "bool",
2274
+ "name": "",
2275
+ "type": "bool"
2276
+ }
2277
+ ],
2278
+ "stateMutability": "view",
2279
+ "type": "function"
2280
+ },
2281
+ {
2282
+ "inputs": [],
2283
+ "name": "owner",
2284
+ "outputs": [
2285
+ {
2286
+ "internalType": "address",
2287
+ "name": "",
2288
+ "type": "address"
2289
+ }
2290
+ ],
2291
+ "stateMutability": "view",
2292
+ "type": "function"
2293
+ },
2294
+ {
2295
+ "inputs": [
2975
2296
  {
2976
2297
  "components": [
2977
- {
2978
- "internalType": "uint256",
2979
- "name": "txId",
2980
- "type": "uint256"
2981
- },
2982
- {
2983
- "internalType": "uint256",
2984
- "name": "releaseTime",
2985
- "type": "uint256"
2986
- },
2987
- {
2988
- "internalType": "enum EngineBlox.TxStatus",
2989
- "name": "status",
2990
- "type": "uint8"
2991
- },
2992
2298
  {
2993
2299
  "components": [
2994
- {
2995
- "internalType": "address",
2996
- "name": "requester",
2997
- "type": "address"
2998
- },
2999
- {
3000
- "internalType": "address",
3001
- "name": "target",
3002
- "type": "address"
3003
- },
3004
2300
  {
3005
2301
  "internalType": "uint256",
3006
- "name": "value",
2302
+ "name": "txId",
3007
2303
  "type": "uint256"
3008
2304
  },
3009
2305
  {
3010
2306
  "internalType": "uint256",
3011
- "name": "gasLimit",
2307
+ "name": "releaseTime",
3012
2308
  "type": "uint256"
3013
2309
  },
3014
2310
  {
3015
- "internalType": "bytes32",
3016
- "name": "operationType",
3017
- "type": "bytes32"
2311
+ "internalType": "enum EngineBlox.TxStatus",
2312
+ "name": "status",
2313
+ "type": "uint8"
3018
2314
  },
3019
2315
  {
3020
- "internalType": "bytes4",
3021
- "name": "executionSelector",
3022
- "type": "bytes4"
2316
+ "components": [
2317
+ {
2318
+ "internalType": "address",
2319
+ "name": "requester",
2320
+ "type": "address"
2321
+ },
2322
+ {
2323
+ "internalType": "address",
2324
+ "name": "target",
2325
+ "type": "address"
2326
+ },
2327
+ {
2328
+ "internalType": "uint256",
2329
+ "name": "value",
2330
+ "type": "uint256"
2331
+ },
2332
+ {
2333
+ "internalType": "uint256",
2334
+ "name": "gasLimit",
2335
+ "type": "uint256"
2336
+ },
2337
+ {
2338
+ "internalType": "bytes32",
2339
+ "name": "operationType",
2340
+ "type": "bytes32"
2341
+ },
2342
+ {
2343
+ "internalType": "bytes4",
2344
+ "name": "executionSelector",
2345
+ "type": "bytes4"
2346
+ },
2347
+ {
2348
+ "internalType": "bytes",
2349
+ "name": "executionParams",
2350
+ "type": "bytes"
2351
+ }
2352
+ ],
2353
+ "internalType": "struct EngineBlox.TxParams",
2354
+ "name": "params",
2355
+ "type": "tuple"
2356
+ },
2357
+ {
2358
+ "internalType": "bytes32",
2359
+ "name": "message",
2360
+ "type": "bytes32"
3023
2361
  },
3024
2362
  {
3025
2363
  "internalType": "bytes",
3026
- "name": "executionParams",
2364
+ "name": "result",
3027
2365
  "type": "bytes"
2366
+ },
2367
+ {
2368
+ "components": [
2369
+ {
2370
+ "internalType": "address",
2371
+ "name": "recipient",
2372
+ "type": "address"
2373
+ },
2374
+ {
2375
+ "internalType": "uint256",
2376
+ "name": "nativeTokenAmount",
2377
+ "type": "uint256"
2378
+ },
2379
+ {
2380
+ "internalType": "address",
2381
+ "name": "erc20TokenAddress",
2382
+ "type": "address"
2383
+ },
2384
+ {
2385
+ "internalType": "uint256",
2386
+ "name": "erc20TokenAmount",
2387
+ "type": "uint256"
2388
+ }
2389
+ ],
2390
+ "internalType": "struct EngineBlox.PaymentDetails",
2391
+ "name": "payment",
2392
+ "type": "tuple"
3028
2393
  }
3029
2394
  ],
3030
- "internalType": "struct EngineBlox.TxParams",
3031
- "name": "params",
2395
+ "internalType": "struct EngineBlox.TxRecord",
2396
+ "name": "txRecord",
3032
2397
  "type": "tuple"
3033
2398
  },
3034
- {
3035
- "internalType": "bytes32",
3036
- "name": "message",
3037
- "type": "bytes32"
3038
- },
3039
- {
3040
- "internalType": "bytes",
3041
- "name": "result",
3042
- "type": "bytes"
3043
- },
3044
2399
  {
3045
2400
  "components": [
3046
2401
  {
3047
- "internalType": "address",
3048
- "name": "recipient",
3049
- "type": "address"
2402
+ "internalType": "uint256",
2403
+ "name": "chainId",
2404
+ "type": "uint256"
3050
2405
  },
3051
2406
  {
3052
2407
  "internalType": "uint256",
3053
- "name": "nativeTokenAmount",
2408
+ "name": "nonce",
3054
2409
  "type": "uint256"
3055
2410
  },
3056
2411
  {
3057
2412
  "internalType": "address",
3058
- "name": "erc20TokenAddress",
2413
+ "name": "handlerContract",
3059
2414
  "type": "address"
3060
2415
  },
2416
+ {
2417
+ "internalType": "bytes4",
2418
+ "name": "handlerSelector",
2419
+ "type": "bytes4"
2420
+ },
2421
+ {
2422
+ "internalType": "enum EngineBlox.TxAction",
2423
+ "name": "action",
2424
+ "type": "uint8"
2425
+ },
3061
2426
  {
3062
2427
  "internalType": "uint256",
3063
- "name": "erc20TokenAmount",
2428
+ "name": "deadline",
3064
2429
  "type": "uint256"
2430
+ },
2431
+ {
2432
+ "internalType": "uint256",
2433
+ "name": "maxGasPrice",
2434
+ "type": "uint256"
2435
+ },
2436
+ {
2437
+ "internalType": "address",
2438
+ "name": "signer",
2439
+ "type": "address"
3065
2440
  }
3066
2441
  ],
3067
- "internalType": "struct EngineBlox.PaymentDetails",
3068
- "name": "payment",
2442
+ "internalType": "struct EngineBlox.MetaTxParams",
2443
+ "name": "params",
3069
2444
  "type": "tuple"
2445
+ },
2446
+ {
2447
+ "internalType": "bytes32",
2448
+ "name": "message",
2449
+ "type": "bytes32"
2450
+ },
2451
+ {
2452
+ "internalType": "bytes",
2453
+ "name": "signature",
2454
+ "type": "bytes"
2455
+ },
2456
+ {
2457
+ "internalType": "bytes",
2458
+ "name": "data",
2459
+ "type": "bytes"
3070
2460
  }
3071
2461
  ],
3072
- "internalType": "struct EngineBlox.TxRecord",
3073
- "name": "",
2462
+ "internalType": "struct EngineBlox.MetaTransaction",
2463
+ "name": "metaTx",
3074
2464
  "type": "tuple"
3075
2465
  }
3076
2466
  ],
3077
- "stateMutability": "nonpayable",
3078
- "type": "function"
3079
- },
3080
- {
3081
- "inputs": [
3082
- {
3083
- "internalType": "bytes32",
3084
- "name": "roleHash",
3085
- "type": "bytes32"
3086
- },
3087
- {
3088
- "internalType": "address",
3089
- "name": "wallet",
3090
- "type": "address"
3091
- }
3092
- ],
3093
- "name": "hasRole",
3094
- "outputs": [
3095
- {
3096
- "internalType": "bool",
3097
- "name": "",
3098
- "type": "bool"
3099
- }
3100
- ],
3101
- "stateMutability": "view",
3102
- "type": "function"
3103
- },
3104
- {
3105
- "inputs": [],
3106
- "name": "initialized",
3107
- "outputs": [
3108
- {
3109
- "internalType": "bool",
3110
- "name": "",
3111
- "type": "bool"
3112
- }
3113
- ],
3114
- "stateMutability": "view",
3115
- "type": "function"
3116
- },
3117
- {
3118
- "inputs": [
3119
- {
3120
- "internalType": "bytes4",
3121
- "name": "functionSelector",
3122
- "type": "bytes4"
3123
- },
3124
- {
3125
- "internalType": "enum EngineBlox.TxAction",
3126
- "name": "action",
3127
- "type": "uint8"
3128
- }
3129
- ],
3130
- "name": "isActionSupportedByFunction",
3131
- "outputs": [
3132
- {
3133
- "internalType": "bool",
3134
- "name": "",
3135
- "type": "bool"
3136
- }
3137
- ],
3138
- "stateMutability": "view",
3139
- "type": "function"
3140
- },
3141
- {
3142
- "inputs": [],
3143
- "name": "owner",
2467
+ "name": "requestAndApproveExecution",
3144
2468
  "outputs": [
3145
2469
  {
3146
- "internalType": "address",
2470
+ "internalType": "uint256",
3147
2471
  "name": "",
3148
- "type": "address"
2472
+ "type": "uint256"
3149
2473
  }
3150
2474
  ],
3151
- "stateMutability": "view",
2475
+ "stateMutability": "nonpayable",
3152
2476
  "type": "function"
3153
2477
  },
3154
2478
  {
@@ -3324,108 +2648,12 @@
3324
2648
  "type": "tuple"
3325
2649
  }
3326
2650
  ],
3327
- "name": "requestAndApproveExecution",
2651
+ "name": "roleConfigBatchRequestAndApprove",
3328
2652
  "outputs": [
3329
2653
  {
3330
- "components": [
3331
- {
3332
- "internalType": "uint256",
3333
- "name": "txId",
3334
- "type": "uint256"
3335
- },
3336
- {
3337
- "internalType": "uint256",
3338
- "name": "releaseTime",
3339
- "type": "uint256"
3340
- },
3341
- {
3342
- "internalType": "enum EngineBlox.TxStatus",
3343
- "name": "status",
3344
- "type": "uint8"
3345
- },
3346
- {
3347
- "components": [
3348
- {
3349
- "internalType": "address",
3350
- "name": "requester",
3351
- "type": "address"
3352
- },
3353
- {
3354
- "internalType": "address",
3355
- "name": "target",
3356
- "type": "address"
3357
- },
3358
- {
3359
- "internalType": "uint256",
3360
- "name": "value",
3361
- "type": "uint256"
3362
- },
3363
- {
3364
- "internalType": "uint256",
3365
- "name": "gasLimit",
3366
- "type": "uint256"
3367
- },
3368
- {
3369
- "internalType": "bytes32",
3370
- "name": "operationType",
3371
- "type": "bytes32"
3372
- },
3373
- {
3374
- "internalType": "bytes4",
3375
- "name": "executionSelector",
3376
- "type": "bytes4"
3377
- },
3378
- {
3379
- "internalType": "bytes",
3380
- "name": "executionParams",
3381
- "type": "bytes"
3382
- }
3383
- ],
3384
- "internalType": "struct EngineBlox.TxParams",
3385
- "name": "params",
3386
- "type": "tuple"
3387
- },
3388
- {
3389
- "internalType": "bytes32",
3390
- "name": "message",
3391
- "type": "bytes32"
3392
- },
3393
- {
3394
- "internalType": "bytes",
3395
- "name": "result",
3396
- "type": "bytes"
3397
- },
3398
- {
3399
- "components": [
3400
- {
3401
- "internalType": "address",
3402
- "name": "recipient",
3403
- "type": "address"
3404
- },
3405
- {
3406
- "internalType": "uint256",
3407
- "name": "nativeTokenAmount",
3408
- "type": "uint256"
3409
- },
3410
- {
3411
- "internalType": "address",
3412
- "name": "erc20TokenAddress",
3413
- "type": "address"
3414
- },
3415
- {
3416
- "internalType": "uint256",
3417
- "name": "erc20TokenAmount",
3418
- "type": "uint256"
3419
- }
3420
- ],
3421
- "internalType": "struct EngineBlox.PaymentDetails",
3422
- "name": "payment",
3423
- "type": "tuple"
3424
- }
3425
- ],
3426
- "internalType": "struct EngineBlox.TxRecord",
2654
+ "internalType": "uint256",
3427
2655
  "name": "",
3428
- "type": "tuple"
2656
+ "type": "uint256"
3429
2657
  }
3430
2658
  ],
3431
2659
  "stateMutability": "nonpayable",
@@ -3434,32 +2662,20 @@
3434
2662
  {
3435
2663
  "inputs": [
3436
2664
  {
3437
- "components": [
3438
- {
3439
- "internalType": "enum RuntimeRBAC.RoleConfigActionType",
3440
- "name": "actionType",
3441
- "type": "uint8"
3442
- },
3443
- {
3444
- "internalType": "bytes",
3445
- "name": "data",
3446
- "type": "bytes"
3447
- }
3448
- ],
3449
- "internalType": "struct RuntimeRBAC.RoleConfigAction[]",
3450
- "name": "actions",
3451
- "type": "tuple[]"
2665
+ "internalType": "bytes4",
2666
+ "name": "interfaceId",
2667
+ "type": "bytes4"
3452
2668
  }
3453
2669
  ],
3454
- "name": "roleConfigBatchExecutionParams",
2670
+ "name": "supportsInterface",
3455
2671
  "outputs": [
3456
2672
  {
3457
- "internalType": "bytes",
2673
+ "internalType": "bool",
3458
2674
  "name": "",
3459
- "type": "bytes"
2675
+ "type": "bool"
3460
2676
  }
3461
2677
  ],
3462
- "stateMutability": "pure",
2678
+ "stateMutability": "view",
3463
2679
  "type": "function"
3464
2680
  },
3465
2681
  {
@@ -3635,108 +2851,31 @@
3635
2851
  "type": "tuple"
3636
2852
  }
3637
2853
  ],
3638
- "name": "roleConfigBatchRequestAndApprove",
2854
+ "name": "transferOwnershipApprovalWithMetaTx",
3639
2855
  "outputs": [
3640
2856
  {
3641
- "components": [
3642
- {
3643
- "internalType": "uint256",
3644
- "name": "txId",
3645
- "type": "uint256"
3646
- },
3647
- {
3648
- "internalType": "uint256",
3649
- "name": "releaseTime",
3650
- "type": "uint256"
3651
- },
3652
- {
3653
- "internalType": "enum EngineBlox.TxStatus",
3654
- "name": "status",
3655
- "type": "uint8"
3656
- },
3657
- {
3658
- "components": [
3659
- {
3660
- "internalType": "address",
3661
- "name": "requester",
3662
- "type": "address"
3663
- },
3664
- {
3665
- "internalType": "address",
3666
- "name": "target",
3667
- "type": "address"
3668
- },
3669
- {
3670
- "internalType": "uint256",
3671
- "name": "value",
3672
- "type": "uint256"
3673
- },
3674
- {
3675
- "internalType": "uint256",
3676
- "name": "gasLimit",
3677
- "type": "uint256"
3678
- },
3679
- {
3680
- "internalType": "bytes32",
3681
- "name": "operationType",
3682
- "type": "bytes32"
3683
- },
3684
- {
3685
- "internalType": "bytes4",
3686
- "name": "executionSelector",
3687
- "type": "bytes4"
3688
- },
3689
- {
3690
- "internalType": "bytes",
3691
- "name": "executionParams",
3692
- "type": "bytes"
3693
- }
3694
- ],
3695
- "internalType": "struct EngineBlox.TxParams",
3696
- "name": "params",
3697
- "type": "tuple"
3698
- },
3699
- {
3700
- "internalType": "bytes32",
3701
- "name": "message",
3702
- "type": "bytes32"
3703
- },
3704
- {
3705
- "internalType": "bytes",
3706
- "name": "result",
3707
- "type": "bytes"
3708
- },
3709
- {
3710
- "components": [
3711
- {
3712
- "internalType": "address",
3713
- "name": "recipient",
3714
- "type": "address"
3715
- },
3716
- {
3717
- "internalType": "uint256",
3718
- "name": "nativeTokenAmount",
3719
- "type": "uint256"
3720
- },
3721
- {
3722
- "internalType": "address",
3723
- "name": "erc20TokenAddress",
3724
- "type": "address"
3725
- },
3726
- {
3727
- "internalType": "uint256",
3728
- "name": "erc20TokenAmount",
3729
- "type": "uint256"
3730
- }
3731
- ],
3732
- "internalType": "struct EngineBlox.PaymentDetails",
3733
- "name": "payment",
3734
- "type": "tuple"
3735
- }
3736
- ],
3737
- "internalType": "struct EngineBlox.TxRecord",
2857
+ "internalType": "uint256",
3738
2858
  "name": "",
3739
- "type": "tuple"
2859
+ "type": "uint256"
2860
+ }
2861
+ ],
2862
+ "stateMutability": "nonpayable",
2863
+ "type": "function"
2864
+ },
2865
+ {
2866
+ "inputs": [
2867
+ {
2868
+ "internalType": "uint256",
2869
+ "name": "txId",
2870
+ "type": "uint256"
2871
+ }
2872
+ ],
2873
+ "name": "transferOwnershipCancellation",
2874
+ "outputs": [
2875
+ {
2876
+ "internalType": "uint256",
2877
+ "name": "",
2878
+ "type": "uint256"
3740
2879
  }
3741
2880
  ],
3742
2881
  "stateMutability": "nonpayable",
@@ -3915,108 +3054,12 @@
3915
3054
  "type": "tuple"
3916
3055
  }
3917
3056
  ],
3918
- "name": "transferOwnershipApprovalWithMetaTx",
3057
+ "name": "transferOwnershipCancellationWithMetaTx",
3919
3058
  "outputs": [
3920
3059
  {
3921
- "components": [
3922
- {
3923
- "internalType": "uint256",
3924
- "name": "txId",
3925
- "type": "uint256"
3926
- },
3927
- {
3928
- "internalType": "uint256",
3929
- "name": "releaseTime",
3930
- "type": "uint256"
3931
- },
3932
- {
3933
- "internalType": "enum EngineBlox.TxStatus",
3934
- "name": "status",
3935
- "type": "uint8"
3936
- },
3937
- {
3938
- "components": [
3939
- {
3940
- "internalType": "address",
3941
- "name": "requester",
3942
- "type": "address"
3943
- },
3944
- {
3945
- "internalType": "address",
3946
- "name": "target",
3947
- "type": "address"
3948
- },
3949
- {
3950
- "internalType": "uint256",
3951
- "name": "value",
3952
- "type": "uint256"
3953
- },
3954
- {
3955
- "internalType": "uint256",
3956
- "name": "gasLimit",
3957
- "type": "uint256"
3958
- },
3959
- {
3960
- "internalType": "bytes32",
3961
- "name": "operationType",
3962
- "type": "bytes32"
3963
- },
3964
- {
3965
- "internalType": "bytes4",
3966
- "name": "executionSelector",
3967
- "type": "bytes4"
3968
- },
3969
- {
3970
- "internalType": "bytes",
3971
- "name": "executionParams",
3972
- "type": "bytes"
3973
- }
3974
- ],
3975
- "internalType": "struct EngineBlox.TxParams",
3976
- "name": "params",
3977
- "type": "tuple"
3978
- },
3979
- {
3980
- "internalType": "bytes32",
3981
- "name": "message",
3982
- "type": "bytes32"
3983
- },
3984
- {
3985
- "internalType": "bytes",
3986
- "name": "result",
3987
- "type": "bytes"
3988
- },
3989
- {
3990
- "components": [
3991
- {
3992
- "internalType": "address",
3993
- "name": "recipient",
3994
- "type": "address"
3995
- },
3996
- {
3997
- "internalType": "uint256",
3998
- "name": "nativeTokenAmount",
3999
- "type": "uint256"
4000
- },
4001
- {
4002
- "internalType": "address",
4003
- "name": "erc20TokenAddress",
4004
- "type": "address"
4005
- },
4006
- {
4007
- "internalType": "uint256",
4008
- "name": "erc20TokenAmount",
4009
- "type": "uint256"
4010
- }
4011
- ],
4012
- "internalType": "struct EngineBlox.PaymentDetails",
4013
- "name": "payment",
4014
- "type": "tuple"
4015
- }
4016
- ],
4017
- "internalType": "struct EngineBlox.TxRecord",
3060
+ "internalType": "uint256",
4018
3061
  "name": "",
4019
- "type": "tuple"
3062
+ "type": "uint256"
4020
3063
  }
4021
3064
  ],
4022
3065
  "stateMutability": "nonpayable",
@@ -4030,108 +3073,25 @@
4030
3073
  "type": "uint256"
4031
3074
  }
4032
3075
  ],
4033
- "name": "transferOwnershipCancellation",
3076
+ "name": "transferOwnershipDelayedApproval",
4034
3077
  "outputs": [
4035
3078
  {
4036
- "components": [
4037
- {
4038
- "internalType": "uint256",
4039
- "name": "txId",
4040
- "type": "uint256"
4041
- },
4042
- {
4043
- "internalType": "uint256",
4044
- "name": "releaseTime",
4045
- "type": "uint256"
4046
- },
4047
- {
4048
- "internalType": "enum EngineBlox.TxStatus",
4049
- "name": "status",
4050
- "type": "uint8"
4051
- },
4052
- {
4053
- "components": [
4054
- {
4055
- "internalType": "address",
4056
- "name": "requester",
4057
- "type": "address"
4058
- },
4059
- {
4060
- "internalType": "address",
4061
- "name": "target",
4062
- "type": "address"
4063
- },
4064
- {
4065
- "internalType": "uint256",
4066
- "name": "value",
4067
- "type": "uint256"
4068
- },
4069
- {
4070
- "internalType": "uint256",
4071
- "name": "gasLimit",
4072
- "type": "uint256"
4073
- },
4074
- {
4075
- "internalType": "bytes32",
4076
- "name": "operationType",
4077
- "type": "bytes32"
4078
- },
4079
- {
4080
- "internalType": "bytes4",
4081
- "name": "executionSelector",
4082
- "type": "bytes4"
4083
- },
4084
- {
4085
- "internalType": "bytes",
4086
- "name": "executionParams",
4087
- "type": "bytes"
4088
- }
4089
- ],
4090
- "internalType": "struct EngineBlox.TxParams",
4091
- "name": "params",
4092
- "type": "tuple"
4093
- },
4094
- {
4095
- "internalType": "bytes32",
4096
- "name": "message",
4097
- "type": "bytes32"
4098
- },
4099
- {
4100
- "internalType": "bytes",
4101
- "name": "result",
4102
- "type": "bytes"
4103
- },
4104
- {
4105
- "components": [
4106
- {
4107
- "internalType": "address",
4108
- "name": "recipient",
4109
- "type": "address"
4110
- },
4111
- {
4112
- "internalType": "uint256",
4113
- "name": "nativeTokenAmount",
4114
- "type": "uint256"
4115
- },
4116
- {
4117
- "internalType": "address",
4118
- "name": "erc20TokenAddress",
4119
- "type": "address"
4120
- },
4121
- {
4122
- "internalType": "uint256",
4123
- "name": "erc20TokenAmount",
4124
- "type": "uint256"
4125
- }
4126
- ],
4127
- "internalType": "struct EngineBlox.PaymentDetails",
4128
- "name": "payment",
4129
- "type": "tuple"
4130
- }
4131
- ],
4132
- "internalType": "struct EngineBlox.TxRecord",
3079
+ "internalType": "uint256",
4133
3080
  "name": "",
4134
- "type": "tuple"
3081
+ "type": "uint256"
3082
+ }
3083
+ ],
3084
+ "stateMutability": "nonpayable",
3085
+ "type": "function"
3086
+ },
3087
+ {
3088
+ "inputs": [],
3089
+ "name": "transferOwnershipRequest",
3090
+ "outputs": [
3091
+ {
3092
+ "internalType": "uint256",
3093
+ "name": "txId",
3094
+ "type": "uint256"
4135
3095
  }
4136
3096
  ],
4137
3097
  "stateMutability": "nonpayable",
@@ -4310,1193 +3270,185 @@
4310
3270
  "type": "tuple"
4311
3271
  }
4312
3272
  ],
4313
- "name": "transferOwnershipCancellationWithMetaTx",
3273
+ "name": "updateBroadcasterApprovalWithMetaTx",
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
+ "internalType": "uint256",
3288
+ "name": "txId",
3289
+ "type": "uint256"
3290
+ }
3291
+ ],
3292
+ "name": "updateBroadcasterCancellation",
4314
3293
  "outputs": [
3294
+ {
3295
+ "internalType": "uint256",
3296
+ "name": "",
3297
+ "type": "uint256"
3298
+ }
3299
+ ],
3300
+ "stateMutability": "nonpayable",
3301
+ "type": "function"
3302
+ },
3303
+ {
3304
+ "inputs": [
4315
3305
  {
4316
3306
  "components": [
4317
- {
4318
- "internalType": "uint256",
4319
- "name": "txId",
4320
- "type": "uint256"
4321
- },
4322
- {
4323
- "internalType": "uint256",
4324
- "name": "releaseTime",
4325
- "type": "uint256"
4326
- },
4327
- {
4328
- "internalType": "enum EngineBlox.TxStatus",
4329
- "name": "status",
4330
- "type": "uint8"
4331
- },
4332
3307
  {
4333
3308
  "components": [
4334
3309
  {
4335
- "internalType": "address",
4336
- "name": "requester",
4337
- "type": "address"
4338
- },
4339
- {
4340
- "internalType": "address",
4341
- "name": "target",
4342
- "type": "address"
4343
- },
4344
- {
4345
- "internalType": "uint256",
4346
- "name": "value",
4347
- "type": "uint256"
4348
- },
4349
- {
4350
- "internalType": "uint256",
4351
- "name": "gasLimit",
4352
- "type": "uint256"
4353
- },
4354
- {
4355
- "internalType": "bytes32",
4356
- "name": "operationType",
4357
- "type": "bytes32"
4358
- },
4359
- {
4360
- "internalType": "bytes4",
4361
- "name": "executionSelector",
4362
- "type": "bytes4"
4363
- },
4364
- {
4365
- "internalType": "bytes",
4366
- "name": "executionParams",
4367
- "type": "bytes"
4368
- }
4369
- ],
4370
- "internalType": "struct EngineBlox.TxParams",
4371
- "name": "params",
4372
- "type": "tuple"
4373
- },
4374
- {
4375
- "internalType": "bytes32",
4376
- "name": "message",
4377
- "type": "bytes32"
4378
- },
4379
- {
4380
- "internalType": "bytes",
4381
- "name": "result",
4382
- "type": "bytes"
4383
- },
4384
- {
4385
- "components": [
4386
- {
4387
- "internalType": "address",
4388
- "name": "recipient",
4389
- "type": "address"
4390
- },
4391
- {
4392
- "internalType": "uint256",
4393
- "name": "nativeTokenAmount",
4394
- "type": "uint256"
4395
- },
4396
- {
4397
- "internalType": "address",
4398
- "name": "erc20TokenAddress",
4399
- "type": "address"
4400
- },
4401
- {
4402
- "internalType": "uint256",
4403
- "name": "erc20TokenAmount",
4404
- "type": "uint256"
4405
- }
4406
- ],
4407
- "internalType": "struct EngineBlox.PaymentDetails",
4408
- "name": "payment",
4409
- "type": "tuple"
4410
- }
4411
- ],
4412
- "internalType": "struct EngineBlox.TxRecord",
4413
- "name": "",
4414
- "type": "tuple"
4415
- }
4416
- ],
4417
- "stateMutability": "nonpayable",
4418
- "type": "function"
4419
- },
4420
- {
4421
- "inputs": [
4422
- {
4423
- "internalType": "uint256",
4424
- "name": "txId",
4425
- "type": "uint256"
4426
- }
4427
- ],
4428
- "name": "transferOwnershipDelayedApproval",
4429
- "outputs": [
4430
- {
4431
- "components": [
4432
- {
4433
- "internalType": "uint256",
4434
- "name": "txId",
4435
- "type": "uint256"
4436
- },
4437
- {
4438
- "internalType": "uint256",
4439
- "name": "releaseTime",
4440
- "type": "uint256"
4441
- },
4442
- {
4443
- "internalType": "enum EngineBlox.TxStatus",
4444
- "name": "status",
4445
- "type": "uint8"
4446
- },
4447
- {
4448
- "components": [
4449
- {
4450
- "internalType": "address",
4451
- "name": "requester",
4452
- "type": "address"
4453
- },
4454
- {
4455
- "internalType": "address",
4456
- "name": "target",
4457
- "type": "address"
4458
- },
4459
- {
4460
- "internalType": "uint256",
4461
- "name": "value",
4462
- "type": "uint256"
4463
- },
4464
- {
4465
- "internalType": "uint256",
4466
- "name": "gasLimit",
4467
- "type": "uint256"
4468
- },
4469
- {
4470
- "internalType": "bytes32",
4471
- "name": "operationType",
4472
- "type": "bytes32"
4473
- },
4474
- {
4475
- "internalType": "bytes4",
4476
- "name": "executionSelector",
4477
- "type": "bytes4"
4478
- },
4479
- {
4480
- "internalType": "bytes",
4481
- "name": "executionParams",
4482
- "type": "bytes"
4483
- }
4484
- ],
4485
- "internalType": "struct EngineBlox.TxParams",
4486
- "name": "params",
4487
- "type": "tuple"
4488
- },
4489
- {
4490
- "internalType": "bytes32",
4491
- "name": "message",
4492
- "type": "bytes32"
4493
- },
4494
- {
4495
- "internalType": "bytes",
4496
- "name": "result",
4497
- "type": "bytes"
4498
- },
4499
- {
4500
- "components": [
4501
- {
4502
- "internalType": "address",
4503
- "name": "recipient",
4504
- "type": "address"
4505
- },
4506
- {
4507
- "internalType": "uint256",
4508
- "name": "nativeTokenAmount",
4509
- "type": "uint256"
4510
- },
4511
- {
4512
- "internalType": "address",
4513
- "name": "erc20TokenAddress",
4514
- "type": "address"
4515
- },
4516
- {
4517
- "internalType": "uint256",
4518
- "name": "erc20TokenAmount",
4519
- "type": "uint256"
4520
- }
4521
- ],
4522
- "internalType": "struct EngineBlox.PaymentDetails",
4523
- "name": "payment",
4524
- "type": "tuple"
4525
- }
4526
- ],
4527
- "internalType": "struct EngineBlox.TxRecord",
4528
- "name": "",
4529
- "type": "tuple"
4530
- }
4531
- ],
4532
- "stateMutability": "nonpayable",
4533
- "type": "function"
4534
- },
4535
- {
4536
- "inputs": [],
4537
- "name": "transferOwnershipRequest",
4538
- "outputs": [
4539
- {
4540
- "components": [
4541
- {
4542
- "internalType": "uint256",
4543
- "name": "txId",
4544
- "type": "uint256"
4545
- },
4546
- {
4547
- "internalType": "uint256",
4548
- "name": "releaseTime",
4549
- "type": "uint256"
4550
- },
4551
- {
4552
- "internalType": "enum EngineBlox.TxStatus",
4553
- "name": "status",
4554
- "type": "uint8"
4555
- },
4556
- {
4557
- "components": [
4558
- {
4559
- "internalType": "address",
4560
- "name": "requester",
4561
- "type": "address"
4562
- },
4563
- {
4564
- "internalType": "address",
4565
- "name": "target",
4566
- "type": "address"
4567
- },
4568
- {
4569
- "internalType": "uint256",
4570
- "name": "value",
4571
- "type": "uint256"
4572
- },
4573
- {
4574
- "internalType": "uint256",
4575
- "name": "gasLimit",
4576
- "type": "uint256"
4577
- },
4578
- {
4579
- "internalType": "bytes32",
4580
- "name": "operationType",
4581
- "type": "bytes32"
4582
- },
4583
- {
4584
- "internalType": "bytes4",
4585
- "name": "executionSelector",
4586
- "type": "bytes4"
4587
- },
4588
- {
4589
- "internalType": "bytes",
4590
- "name": "executionParams",
4591
- "type": "bytes"
4592
- }
4593
- ],
4594
- "internalType": "struct EngineBlox.TxParams",
4595
- "name": "params",
4596
- "type": "tuple"
4597
- },
4598
- {
4599
- "internalType": "bytes32",
4600
- "name": "message",
4601
- "type": "bytes32"
4602
- },
4603
- {
4604
- "internalType": "bytes",
4605
- "name": "result",
4606
- "type": "bytes"
4607
- },
4608
- {
4609
- "components": [
4610
- {
4611
- "internalType": "address",
4612
- "name": "recipient",
4613
- "type": "address"
4614
- },
4615
- {
4616
- "internalType": "uint256",
4617
- "name": "nativeTokenAmount",
4618
- "type": "uint256"
4619
- },
4620
- {
4621
- "internalType": "address",
4622
- "name": "erc20TokenAddress",
4623
- "type": "address"
4624
- },
4625
- {
4626
- "internalType": "uint256",
4627
- "name": "erc20TokenAmount",
4628
- "type": "uint256"
4629
- }
4630
- ],
4631
- "internalType": "struct EngineBlox.PaymentDetails",
4632
- "name": "payment",
4633
- "type": "tuple"
4634
- }
4635
- ],
4636
- "internalType": "struct EngineBlox.TxRecord",
4637
- "name": "",
4638
- "type": "tuple"
4639
- }
4640
- ],
4641
- "stateMutability": "nonpayable",
4642
- "type": "function"
4643
- },
4644
- {
4645
- "inputs": [
4646
- {
4647
- "components": [
4648
- {
4649
- "components": [
4650
- {
4651
- "internalType": "uint256",
4652
- "name": "txId",
4653
- "type": "uint256"
4654
- },
4655
- {
4656
- "internalType": "uint256",
4657
- "name": "releaseTime",
4658
- "type": "uint256"
4659
- },
4660
- {
4661
- "internalType": "enum EngineBlox.TxStatus",
4662
- "name": "status",
4663
- "type": "uint8"
4664
- },
4665
- {
4666
- "components": [
4667
- {
4668
- "internalType": "address",
4669
- "name": "requester",
4670
- "type": "address"
4671
- },
4672
- {
4673
- "internalType": "address",
4674
- "name": "target",
4675
- "type": "address"
4676
- },
4677
- {
4678
- "internalType": "uint256",
4679
- "name": "value",
4680
- "type": "uint256"
4681
- },
4682
- {
4683
- "internalType": "uint256",
4684
- "name": "gasLimit",
4685
- "type": "uint256"
4686
- },
4687
- {
4688
- "internalType": "bytes32",
4689
- "name": "operationType",
4690
- "type": "bytes32"
4691
- },
4692
- {
4693
- "internalType": "bytes4",
4694
- "name": "executionSelector",
4695
- "type": "bytes4"
4696
- },
4697
- {
4698
- "internalType": "bytes",
4699
- "name": "executionParams",
4700
- "type": "bytes"
4701
- }
4702
- ],
4703
- "internalType": "struct EngineBlox.TxParams",
4704
- "name": "params",
4705
- "type": "tuple"
4706
- },
4707
- {
4708
- "internalType": "bytes32",
4709
- "name": "message",
4710
- "type": "bytes32"
4711
- },
4712
- {
4713
- "internalType": "bytes",
4714
- "name": "result",
4715
- "type": "bytes"
4716
- },
4717
- {
4718
- "components": [
4719
- {
4720
- "internalType": "address",
4721
- "name": "recipient",
4722
- "type": "address"
4723
- },
4724
- {
4725
- "internalType": "uint256",
4726
- "name": "nativeTokenAmount",
4727
- "type": "uint256"
4728
- },
4729
- {
4730
- "internalType": "address",
4731
- "name": "erc20TokenAddress",
4732
- "type": "address"
4733
- },
4734
- {
4735
- "internalType": "uint256",
4736
- "name": "erc20TokenAmount",
4737
- "type": "uint256"
4738
- }
4739
- ],
4740
- "internalType": "struct EngineBlox.PaymentDetails",
4741
- "name": "payment",
4742
- "type": "tuple"
4743
- }
4744
- ],
4745
- "internalType": "struct EngineBlox.TxRecord",
4746
- "name": "txRecord",
4747
- "type": "tuple"
4748
- },
4749
- {
4750
- "components": [
4751
- {
4752
- "internalType": "uint256",
4753
- "name": "chainId",
4754
- "type": "uint256"
4755
- },
4756
- {
4757
- "internalType": "uint256",
4758
- "name": "nonce",
4759
- "type": "uint256"
4760
- },
4761
- {
4762
- "internalType": "address",
4763
- "name": "handlerContract",
4764
- "type": "address"
4765
- },
4766
- {
4767
- "internalType": "bytes4",
4768
- "name": "handlerSelector",
4769
- "type": "bytes4"
4770
- },
4771
- {
4772
- "internalType": "enum EngineBlox.TxAction",
4773
- "name": "action",
4774
- "type": "uint8"
4775
- },
4776
- {
4777
- "internalType": "uint256",
4778
- "name": "deadline",
4779
- "type": "uint256"
4780
- },
4781
- {
4782
- "internalType": "uint256",
4783
- "name": "maxGasPrice",
4784
- "type": "uint256"
4785
- },
4786
- {
4787
- "internalType": "address",
4788
- "name": "signer",
4789
- "type": "address"
4790
- }
4791
- ],
4792
- "internalType": "struct EngineBlox.MetaTxParams",
4793
- "name": "params",
4794
- "type": "tuple"
4795
- },
4796
- {
4797
- "internalType": "bytes32",
4798
- "name": "message",
4799
- "type": "bytes32"
4800
- },
4801
- {
4802
- "internalType": "bytes",
4803
- "name": "signature",
4804
- "type": "bytes"
4805
- },
4806
- {
4807
- "internalType": "bytes",
4808
- "name": "data",
4809
- "type": "bytes"
4810
- }
4811
- ],
4812
- "internalType": "struct EngineBlox.MetaTransaction",
4813
- "name": "metaTx",
4814
- "type": "tuple"
4815
- }
4816
- ],
4817
- "name": "updateBroadcasterApprovalWithMetaTx",
4818
- "outputs": [
4819
- {
4820
- "components": [
4821
- {
4822
- "internalType": "uint256",
4823
- "name": "txId",
4824
- "type": "uint256"
4825
- },
4826
- {
4827
- "internalType": "uint256",
4828
- "name": "releaseTime",
4829
- "type": "uint256"
4830
- },
4831
- {
4832
- "internalType": "enum EngineBlox.TxStatus",
4833
- "name": "status",
4834
- "type": "uint8"
4835
- },
4836
- {
4837
- "components": [
4838
- {
4839
- "internalType": "address",
4840
- "name": "requester",
4841
- "type": "address"
4842
- },
4843
- {
4844
- "internalType": "address",
4845
- "name": "target",
4846
- "type": "address"
4847
- },
4848
- {
4849
- "internalType": "uint256",
4850
- "name": "value",
4851
- "type": "uint256"
4852
- },
4853
- {
4854
- "internalType": "uint256",
4855
- "name": "gasLimit",
4856
- "type": "uint256"
4857
- },
4858
- {
4859
- "internalType": "bytes32",
4860
- "name": "operationType",
4861
- "type": "bytes32"
4862
- },
4863
- {
4864
- "internalType": "bytes4",
4865
- "name": "executionSelector",
4866
- "type": "bytes4"
4867
- },
4868
- {
4869
- "internalType": "bytes",
4870
- "name": "executionParams",
4871
- "type": "bytes"
4872
- }
4873
- ],
4874
- "internalType": "struct EngineBlox.TxParams",
4875
- "name": "params",
4876
- "type": "tuple"
4877
- },
4878
- {
4879
- "internalType": "bytes32",
4880
- "name": "message",
4881
- "type": "bytes32"
4882
- },
4883
- {
4884
- "internalType": "bytes",
4885
- "name": "result",
4886
- "type": "bytes"
4887
- },
4888
- {
4889
- "components": [
4890
- {
4891
- "internalType": "address",
4892
- "name": "recipient",
4893
- "type": "address"
4894
- },
4895
- {
4896
- "internalType": "uint256",
4897
- "name": "nativeTokenAmount",
4898
- "type": "uint256"
4899
- },
4900
- {
4901
- "internalType": "address",
4902
- "name": "erc20TokenAddress",
4903
- "type": "address"
4904
- },
4905
- {
4906
- "internalType": "uint256",
4907
- "name": "erc20TokenAmount",
4908
- "type": "uint256"
4909
- }
4910
- ],
4911
- "internalType": "struct EngineBlox.PaymentDetails",
4912
- "name": "payment",
4913
- "type": "tuple"
4914
- }
4915
- ],
4916
- "internalType": "struct EngineBlox.TxRecord",
4917
- "name": "",
4918
- "type": "tuple"
4919
- }
4920
- ],
4921
- "stateMutability": "nonpayable",
4922
- "type": "function"
4923
- },
4924
- {
4925
- "inputs": [
4926
- {
4927
- "internalType": "uint256",
4928
- "name": "txId",
4929
- "type": "uint256"
4930
- }
4931
- ],
4932
- "name": "updateBroadcasterCancellation",
4933
- "outputs": [
4934
- {
4935
- "components": [
4936
- {
4937
- "internalType": "uint256",
4938
- "name": "txId",
4939
- "type": "uint256"
4940
- },
4941
- {
4942
- "internalType": "uint256",
4943
- "name": "releaseTime",
4944
- "type": "uint256"
4945
- },
4946
- {
4947
- "internalType": "enum EngineBlox.TxStatus",
4948
- "name": "status",
4949
- "type": "uint8"
4950
- },
4951
- {
4952
- "components": [
4953
- {
4954
- "internalType": "address",
4955
- "name": "requester",
4956
- "type": "address"
4957
- },
4958
- {
4959
- "internalType": "address",
4960
- "name": "target",
4961
- "type": "address"
4962
- },
4963
- {
4964
- "internalType": "uint256",
4965
- "name": "value",
4966
- "type": "uint256"
4967
- },
4968
- {
4969
- "internalType": "uint256",
4970
- "name": "gasLimit",
4971
- "type": "uint256"
4972
- },
4973
- {
4974
- "internalType": "bytes32",
4975
- "name": "operationType",
4976
- "type": "bytes32"
4977
- },
4978
- {
4979
- "internalType": "bytes4",
4980
- "name": "executionSelector",
4981
- "type": "bytes4"
4982
- },
4983
- {
4984
- "internalType": "bytes",
4985
- "name": "executionParams",
4986
- "type": "bytes"
4987
- }
4988
- ],
4989
- "internalType": "struct EngineBlox.TxParams",
4990
- "name": "params",
4991
- "type": "tuple"
4992
- },
4993
- {
4994
- "internalType": "bytes32",
4995
- "name": "message",
4996
- "type": "bytes32"
4997
- },
4998
- {
4999
- "internalType": "bytes",
5000
- "name": "result",
5001
- "type": "bytes"
5002
- },
5003
- {
5004
- "components": [
5005
- {
5006
- "internalType": "address",
5007
- "name": "recipient",
5008
- "type": "address"
5009
- },
5010
- {
5011
- "internalType": "uint256",
5012
- "name": "nativeTokenAmount",
5013
- "type": "uint256"
5014
- },
5015
- {
5016
- "internalType": "address",
5017
- "name": "erc20TokenAddress",
5018
- "type": "address"
5019
- },
5020
- {
5021
- "internalType": "uint256",
5022
- "name": "erc20TokenAmount",
5023
- "type": "uint256"
5024
- }
5025
- ],
5026
- "internalType": "struct EngineBlox.PaymentDetails",
5027
- "name": "payment",
5028
- "type": "tuple"
5029
- }
5030
- ],
5031
- "internalType": "struct EngineBlox.TxRecord",
5032
- "name": "",
5033
- "type": "tuple"
5034
- }
5035
- ],
5036
- "stateMutability": "nonpayable",
5037
- "type": "function"
5038
- },
5039
- {
5040
- "inputs": [
5041
- {
5042
- "components": [
5043
- {
5044
- "components": [
5045
- {
5046
- "internalType": "uint256",
5047
- "name": "txId",
5048
- "type": "uint256"
5049
- },
5050
- {
5051
- "internalType": "uint256",
5052
- "name": "releaseTime",
5053
- "type": "uint256"
5054
- },
5055
- {
5056
- "internalType": "enum EngineBlox.TxStatus",
5057
- "name": "status",
5058
- "type": "uint8"
5059
- },
5060
- {
5061
- "components": [
5062
- {
5063
- "internalType": "address",
5064
- "name": "requester",
5065
- "type": "address"
5066
- },
5067
- {
5068
- "internalType": "address",
5069
- "name": "target",
5070
- "type": "address"
5071
- },
5072
- {
5073
- "internalType": "uint256",
5074
- "name": "value",
5075
- "type": "uint256"
5076
- },
5077
- {
5078
- "internalType": "uint256",
5079
- "name": "gasLimit",
5080
- "type": "uint256"
5081
- },
5082
- {
5083
- "internalType": "bytes32",
5084
- "name": "operationType",
5085
- "type": "bytes32"
5086
- },
5087
- {
5088
- "internalType": "bytes4",
5089
- "name": "executionSelector",
5090
- "type": "bytes4"
5091
- },
5092
- {
5093
- "internalType": "bytes",
5094
- "name": "executionParams",
5095
- "type": "bytes"
5096
- }
5097
- ],
5098
- "internalType": "struct EngineBlox.TxParams",
5099
- "name": "params",
5100
- "type": "tuple"
5101
- },
5102
- {
5103
- "internalType": "bytes32",
5104
- "name": "message",
5105
- "type": "bytes32"
5106
- },
5107
- {
5108
- "internalType": "bytes",
5109
- "name": "result",
5110
- "type": "bytes"
5111
- },
5112
- {
5113
- "components": [
5114
- {
5115
- "internalType": "address",
5116
- "name": "recipient",
5117
- "type": "address"
5118
- },
5119
- {
5120
- "internalType": "uint256",
5121
- "name": "nativeTokenAmount",
5122
- "type": "uint256"
5123
- },
5124
- {
5125
- "internalType": "address",
5126
- "name": "erc20TokenAddress",
5127
- "type": "address"
5128
- },
5129
- {
5130
- "internalType": "uint256",
5131
- "name": "erc20TokenAmount",
5132
- "type": "uint256"
5133
- }
5134
- ],
5135
- "internalType": "struct EngineBlox.PaymentDetails",
5136
- "name": "payment",
5137
- "type": "tuple"
5138
- }
5139
- ],
5140
- "internalType": "struct EngineBlox.TxRecord",
5141
- "name": "txRecord",
5142
- "type": "tuple"
5143
- },
5144
- {
5145
- "components": [
5146
- {
5147
- "internalType": "uint256",
5148
- "name": "chainId",
5149
- "type": "uint256"
5150
- },
5151
- {
5152
- "internalType": "uint256",
5153
- "name": "nonce",
5154
- "type": "uint256"
5155
- },
5156
- {
5157
- "internalType": "address",
5158
- "name": "handlerContract",
5159
- "type": "address"
5160
- },
5161
- {
5162
- "internalType": "bytes4",
5163
- "name": "handlerSelector",
5164
- "type": "bytes4"
5165
- },
5166
- {
5167
- "internalType": "enum EngineBlox.TxAction",
5168
- "name": "action",
5169
- "type": "uint8"
5170
- },
5171
- {
5172
- "internalType": "uint256",
5173
- "name": "deadline",
5174
- "type": "uint256"
5175
- },
5176
- {
5177
- "internalType": "uint256",
5178
- "name": "maxGasPrice",
5179
- "type": "uint256"
5180
- },
5181
- {
5182
- "internalType": "address",
5183
- "name": "signer",
5184
- "type": "address"
5185
- }
5186
- ],
5187
- "internalType": "struct EngineBlox.MetaTxParams",
5188
- "name": "params",
5189
- "type": "tuple"
5190
- },
5191
- {
5192
- "internalType": "bytes32",
5193
- "name": "message",
5194
- "type": "bytes32"
5195
- },
5196
- {
5197
- "internalType": "bytes",
5198
- "name": "signature",
5199
- "type": "bytes"
5200
- },
5201
- {
5202
- "internalType": "bytes",
5203
- "name": "data",
5204
- "type": "bytes"
5205
- }
5206
- ],
5207
- "internalType": "struct EngineBlox.MetaTransaction",
5208
- "name": "metaTx",
5209
- "type": "tuple"
5210
- }
5211
- ],
5212
- "name": "updateBroadcasterCancellationWithMetaTx",
5213
- "outputs": [
5214
- {
5215
- "components": [
5216
- {
5217
- "internalType": "uint256",
5218
- "name": "txId",
5219
- "type": "uint256"
5220
- },
5221
- {
5222
- "internalType": "uint256",
5223
- "name": "releaseTime",
5224
- "type": "uint256"
5225
- },
5226
- {
5227
- "internalType": "enum EngineBlox.TxStatus",
5228
- "name": "status",
5229
- "type": "uint8"
5230
- },
5231
- {
5232
- "components": [
5233
- {
5234
- "internalType": "address",
5235
- "name": "requester",
5236
- "type": "address"
5237
- },
5238
- {
5239
- "internalType": "address",
5240
- "name": "target",
5241
- "type": "address"
5242
- },
5243
- {
5244
- "internalType": "uint256",
5245
- "name": "value",
5246
- "type": "uint256"
5247
- },
5248
- {
5249
- "internalType": "uint256",
5250
- "name": "gasLimit",
5251
- "type": "uint256"
5252
- },
5253
- {
5254
- "internalType": "bytes32",
5255
- "name": "operationType",
5256
- "type": "bytes32"
5257
- },
5258
- {
5259
- "internalType": "bytes4",
5260
- "name": "executionSelector",
5261
- "type": "bytes4"
5262
- },
5263
- {
5264
- "internalType": "bytes",
5265
- "name": "executionParams",
5266
- "type": "bytes"
5267
- }
5268
- ],
5269
- "internalType": "struct EngineBlox.TxParams",
5270
- "name": "params",
5271
- "type": "tuple"
5272
- },
5273
- {
5274
- "internalType": "bytes32",
5275
- "name": "message",
5276
- "type": "bytes32"
5277
- },
5278
- {
5279
- "internalType": "bytes",
5280
- "name": "result",
5281
- "type": "bytes"
5282
- },
5283
- {
5284
- "components": [
5285
- {
5286
- "internalType": "address",
5287
- "name": "recipient",
5288
- "type": "address"
5289
- },
5290
- {
5291
- "internalType": "uint256",
5292
- "name": "nativeTokenAmount",
5293
- "type": "uint256"
5294
- },
5295
- {
5296
- "internalType": "address",
5297
- "name": "erc20TokenAddress",
5298
- "type": "address"
5299
- },
5300
- {
5301
- "internalType": "uint256",
5302
- "name": "erc20TokenAmount",
5303
- "type": "uint256"
5304
- }
5305
- ],
5306
- "internalType": "struct EngineBlox.PaymentDetails",
5307
- "name": "payment",
5308
- "type": "tuple"
5309
- }
5310
- ],
5311
- "internalType": "struct EngineBlox.TxRecord",
5312
- "name": "",
5313
- "type": "tuple"
5314
- }
5315
- ],
5316
- "stateMutability": "nonpayable",
5317
- "type": "function"
5318
- },
5319
- {
5320
- "inputs": [
5321
- {
5322
- "internalType": "uint256",
5323
- "name": "txId",
5324
- "type": "uint256"
5325
- }
5326
- ],
5327
- "name": "updateBroadcasterDelayedApproval",
5328
- "outputs": [
5329
- {
5330
- "components": [
5331
- {
5332
- "internalType": "uint256",
5333
- "name": "txId",
5334
- "type": "uint256"
5335
- },
5336
- {
5337
- "internalType": "uint256",
5338
- "name": "releaseTime",
5339
- "type": "uint256"
5340
- },
5341
- {
5342
- "internalType": "enum EngineBlox.TxStatus",
5343
- "name": "status",
5344
- "type": "uint8"
5345
- },
5346
- {
5347
- "components": [
5348
- {
5349
- "internalType": "address",
5350
- "name": "requester",
5351
- "type": "address"
5352
- },
5353
- {
5354
- "internalType": "address",
5355
- "name": "target",
5356
- "type": "address"
3310
+ "internalType": "uint256",
3311
+ "name": "txId",
3312
+ "type": "uint256"
5357
3313
  },
5358
3314
  {
5359
3315
  "internalType": "uint256",
5360
- "name": "value",
3316
+ "name": "releaseTime",
5361
3317
  "type": "uint256"
5362
3318
  },
5363
3319
  {
5364
- "internalType": "uint256",
5365
- "name": "gasLimit",
5366
- "type": "uint256"
3320
+ "internalType": "enum EngineBlox.TxStatus",
3321
+ "name": "status",
3322
+ "type": "uint8"
5367
3323
  },
5368
3324
  {
5369
- "internalType": "bytes32",
5370
- "name": "operationType",
5371
- "type": "bytes32"
3325
+ "components": [
3326
+ {
3327
+ "internalType": "address",
3328
+ "name": "requester",
3329
+ "type": "address"
3330
+ },
3331
+ {
3332
+ "internalType": "address",
3333
+ "name": "target",
3334
+ "type": "address"
3335
+ },
3336
+ {
3337
+ "internalType": "uint256",
3338
+ "name": "value",
3339
+ "type": "uint256"
3340
+ },
3341
+ {
3342
+ "internalType": "uint256",
3343
+ "name": "gasLimit",
3344
+ "type": "uint256"
3345
+ },
3346
+ {
3347
+ "internalType": "bytes32",
3348
+ "name": "operationType",
3349
+ "type": "bytes32"
3350
+ },
3351
+ {
3352
+ "internalType": "bytes4",
3353
+ "name": "executionSelector",
3354
+ "type": "bytes4"
3355
+ },
3356
+ {
3357
+ "internalType": "bytes",
3358
+ "name": "executionParams",
3359
+ "type": "bytes"
3360
+ }
3361
+ ],
3362
+ "internalType": "struct EngineBlox.TxParams",
3363
+ "name": "params",
3364
+ "type": "tuple"
5372
3365
  },
5373
3366
  {
5374
- "internalType": "bytes4",
5375
- "name": "executionSelector",
5376
- "type": "bytes4"
3367
+ "internalType": "bytes32",
3368
+ "name": "message",
3369
+ "type": "bytes32"
5377
3370
  },
5378
3371
  {
5379
3372
  "internalType": "bytes",
5380
- "name": "executionParams",
3373
+ "name": "result",
5381
3374
  "type": "bytes"
3375
+ },
3376
+ {
3377
+ "components": [
3378
+ {
3379
+ "internalType": "address",
3380
+ "name": "recipient",
3381
+ "type": "address"
3382
+ },
3383
+ {
3384
+ "internalType": "uint256",
3385
+ "name": "nativeTokenAmount",
3386
+ "type": "uint256"
3387
+ },
3388
+ {
3389
+ "internalType": "address",
3390
+ "name": "erc20TokenAddress",
3391
+ "type": "address"
3392
+ },
3393
+ {
3394
+ "internalType": "uint256",
3395
+ "name": "erc20TokenAmount",
3396
+ "type": "uint256"
3397
+ }
3398
+ ],
3399
+ "internalType": "struct EngineBlox.PaymentDetails",
3400
+ "name": "payment",
3401
+ "type": "tuple"
5382
3402
  }
5383
3403
  ],
5384
- "internalType": "struct EngineBlox.TxParams",
5385
- "name": "params",
3404
+ "internalType": "struct EngineBlox.TxRecord",
3405
+ "name": "txRecord",
5386
3406
  "type": "tuple"
5387
3407
  },
5388
- {
5389
- "internalType": "bytes32",
5390
- "name": "message",
5391
- "type": "bytes32"
5392
- },
5393
- {
5394
- "internalType": "bytes",
5395
- "name": "result",
5396
- "type": "bytes"
5397
- },
5398
3408
  {
5399
3409
  "components": [
5400
3410
  {
5401
- "internalType": "address",
5402
- "name": "recipient",
5403
- "type": "address"
3411
+ "internalType": "uint256",
3412
+ "name": "chainId",
3413
+ "type": "uint256"
5404
3414
  },
5405
3415
  {
5406
3416
  "internalType": "uint256",
5407
- "name": "nativeTokenAmount",
3417
+ "name": "nonce",
5408
3418
  "type": "uint256"
5409
3419
  },
5410
3420
  {
5411
3421
  "internalType": "address",
5412
- "name": "erc20TokenAddress",
3422
+ "name": "handlerContract",
5413
3423
  "type": "address"
5414
3424
  },
5415
3425
  {
5416
- "internalType": "uint256",
5417
- "name": "erc20TokenAmount",
5418
- "type": "uint256"
5419
- }
5420
- ],
5421
- "internalType": "struct EngineBlox.PaymentDetails",
5422
- "name": "payment",
5423
- "type": "tuple"
5424
- }
5425
- ],
5426
- "internalType": "struct EngineBlox.TxRecord",
5427
- "name": "",
5428
- "type": "tuple"
5429
- }
5430
- ],
5431
- "stateMutability": "nonpayable",
5432
- "type": "function"
5433
- },
5434
- {
5435
- "inputs": [
5436
- {
5437
- "internalType": "address",
5438
- "name": "newBroadcaster",
5439
- "type": "address"
5440
- }
5441
- ],
5442
- "name": "updateBroadcasterRequest",
5443
- "outputs": [
5444
- {
5445
- "components": [
5446
- {
5447
- "internalType": "uint256",
5448
- "name": "txId",
5449
- "type": "uint256"
5450
- },
5451
- {
5452
- "internalType": "uint256",
5453
- "name": "releaseTime",
5454
- "type": "uint256"
5455
- },
5456
- {
5457
- "internalType": "enum EngineBlox.TxStatus",
5458
- "name": "status",
5459
- "type": "uint8"
5460
- },
5461
- {
5462
- "components": [
5463
- {
5464
- "internalType": "address",
5465
- "name": "requester",
5466
- "type": "address"
3426
+ "internalType": "bytes4",
3427
+ "name": "handlerSelector",
3428
+ "type": "bytes4"
5467
3429
  },
5468
3430
  {
5469
- "internalType": "address",
5470
- "name": "target",
5471
- "type": "address"
3431
+ "internalType": "enum EngineBlox.TxAction",
3432
+ "name": "action",
3433
+ "type": "uint8"
5472
3434
  },
5473
3435
  {
5474
3436
  "internalType": "uint256",
5475
- "name": "value",
3437
+ "name": "deadline",
5476
3438
  "type": "uint256"
5477
3439
  },
5478
3440
  {
5479
3441
  "internalType": "uint256",
5480
- "name": "gasLimit",
3442
+ "name": "maxGasPrice",
5481
3443
  "type": "uint256"
5482
3444
  },
5483
3445
  {
5484
- "internalType": "bytes32",
5485
- "name": "operationType",
5486
- "type": "bytes32"
5487
- },
5488
- {
5489
- "internalType": "bytes4",
5490
- "name": "executionSelector",
5491
- "type": "bytes4"
5492
- },
5493
- {
5494
- "internalType": "bytes",
5495
- "name": "executionParams",
5496
- "type": "bytes"
3446
+ "internalType": "address",
3447
+ "name": "signer",
3448
+ "type": "address"
5497
3449
  }
5498
3450
  ],
5499
- "internalType": "struct EngineBlox.TxParams",
3451
+ "internalType": "struct EngineBlox.MetaTxParams",
5500
3452
  "name": "params",
5501
3453
  "type": "tuple"
5502
3454
  },
@@ -5507,42 +3459,47 @@
5507
3459
  },
5508
3460
  {
5509
3461
  "internalType": "bytes",
5510
- "name": "result",
3462
+ "name": "signature",
5511
3463
  "type": "bytes"
5512
3464
  },
5513
3465
  {
5514
- "components": [
5515
- {
5516
- "internalType": "address",
5517
- "name": "recipient",
5518
- "type": "address"
5519
- },
5520
- {
5521
- "internalType": "uint256",
5522
- "name": "nativeTokenAmount",
5523
- "type": "uint256"
5524
- },
5525
- {
5526
- "internalType": "address",
5527
- "name": "erc20TokenAddress",
5528
- "type": "address"
5529
- },
5530
- {
5531
- "internalType": "uint256",
5532
- "name": "erc20TokenAmount",
5533
- "type": "uint256"
5534
- }
5535
- ],
5536
- "internalType": "struct EngineBlox.PaymentDetails",
5537
- "name": "payment",
5538
- "type": "tuple"
3466
+ "internalType": "bytes",
3467
+ "name": "data",
3468
+ "type": "bytes"
5539
3469
  }
5540
3470
  ],
5541
- "internalType": "struct EngineBlox.TxRecord",
5542
- "name": "",
3471
+ "internalType": "struct EngineBlox.MetaTransaction",
3472
+ "name": "metaTx",
5543
3473
  "type": "tuple"
5544
3474
  }
5545
3475
  ],
3476
+ "name": "updateBroadcasterCancellationWithMetaTx",
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": "uint256",
3491
+ "name": "txId",
3492
+ "type": "uint256"
3493
+ }
3494
+ ],
3495
+ "name": "updateBroadcasterDelayedApproval",
3496
+ "outputs": [
3497
+ {
3498
+ "internalType": "uint256",
3499
+ "name": "",
3500
+ "type": "uint256"
3501
+ }
3502
+ ],
5546
3503
  "stateMutability": "nonpayable",
5547
3504
  "type": "function"
5548
3505
  },
@@ -5550,19 +3507,24 @@
5550
3507
  "inputs": [
5551
3508
  {
5552
3509
  "internalType": "address",
5553
- "name": "newRecoveryAddress",
3510
+ "name": "newBroadcaster",
5554
3511
  "type": "address"
3512
+ },
3513
+ {
3514
+ "internalType": "uint256",
3515
+ "name": "location",
3516
+ "type": "uint256"
5555
3517
  }
5556
3518
  ],
5557
- "name": "updateRecoveryExecutionParams",
3519
+ "name": "updateBroadcasterRequest",
5558
3520
  "outputs": [
5559
3521
  {
5560
- "internalType": "bytes",
5561
- "name": "",
5562
- "type": "bytes"
3522
+ "internalType": "uint256",
3523
+ "name": "txId",
3524
+ "type": "uint256"
5563
3525
  }
5564
3526
  ],
5565
- "stateMutability": "view",
3527
+ "stateMutability": "nonpayable",
5566
3528
  "type": "function"
5567
3529
  },
5568
3530
  {
@@ -5740,128 +3702,13 @@
5740
3702
  ],
5741
3703
  "name": "updateRecoveryRequestAndApprove",
5742
3704
  "outputs": [
5743
- {
5744
- "components": [
5745
- {
5746
- "internalType": "uint256",
5747
- "name": "txId",
5748
- "type": "uint256"
5749
- },
5750
- {
5751
- "internalType": "uint256",
5752
- "name": "releaseTime",
5753
- "type": "uint256"
5754
- },
5755
- {
5756
- "internalType": "enum EngineBlox.TxStatus",
5757
- "name": "status",
5758
- "type": "uint8"
5759
- },
5760
- {
5761
- "components": [
5762
- {
5763
- "internalType": "address",
5764
- "name": "requester",
5765
- "type": "address"
5766
- },
5767
- {
5768
- "internalType": "address",
5769
- "name": "target",
5770
- "type": "address"
5771
- },
5772
- {
5773
- "internalType": "uint256",
5774
- "name": "value",
5775
- "type": "uint256"
5776
- },
5777
- {
5778
- "internalType": "uint256",
5779
- "name": "gasLimit",
5780
- "type": "uint256"
5781
- },
5782
- {
5783
- "internalType": "bytes32",
5784
- "name": "operationType",
5785
- "type": "bytes32"
5786
- },
5787
- {
5788
- "internalType": "bytes4",
5789
- "name": "executionSelector",
5790
- "type": "bytes4"
5791
- },
5792
- {
5793
- "internalType": "bytes",
5794
- "name": "executionParams",
5795
- "type": "bytes"
5796
- }
5797
- ],
5798
- "internalType": "struct EngineBlox.TxParams",
5799
- "name": "params",
5800
- "type": "tuple"
5801
- },
5802
- {
5803
- "internalType": "bytes32",
5804
- "name": "message",
5805
- "type": "bytes32"
5806
- },
5807
- {
5808
- "internalType": "bytes",
5809
- "name": "result",
5810
- "type": "bytes"
5811
- },
5812
- {
5813
- "components": [
5814
- {
5815
- "internalType": "address",
5816
- "name": "recipient",
5817
- "type": "address"
5818
- },
5819
- {
5820
- "internalType": "uint256",
5821
- "name": "nativeTokenAmount",
5822
- "type": "uint256"
5823
- },
5824
- {
5825
- "internalType": "address",
5826
- "name": "erc20TokenAddress",
5827
- "type": "address"
5828
- },
5829
- {
5830
- "internalType": "uint256",
5831
- "name": "erc20TokenAmount",
5832
- "type": "uint256"
5833
- }
5834
- ],
5835
- "internalType": "struct EngineBlox.PaymentDetails",
5836
- "name": "payment",
5837
- "type": "tuple"
5838
- }
5839
- ],
5840
- "internalType": "struct EngineBlox.TxRecord",
5841
- "name": "",
5842
- "type": "tuple"
5843
- }
5844
- ],
5845
- "stateMutability": "nonpayable",
5846
- "type": "function"
5847
- },
5848
- {
5849
- "inputs": [
5850
3705
  {
5851
3706
  "internalType": "uint256",
5852
- "name": "newTimeLockPeriodSec",
5853
- "type": "uint256"
5854
- }
5855
- ],
5856
- "name": "updateTimeLockExecutionParams",
5857
- "outputs": [
5858
- {
5859
- "internalType": "bytes",
5860
3707
  "name": "",
5861
- "type": "bytes"
3708
+ "type": "uint256"
5862
3709
  }
5863
3710
  ],
5864
- "stateMutability": "view",
3711
+ "stateMutability": "nonpayable",
5865
3712
  "type": "function"
5866
3713
  },
5867
3714
  {
@@ -6040,105 +3887,9 @@
6040
3887
  "name": "updateTimeLockRequestAndApprove",
6041
3888
  "outputs": [
6042
3889
  {
6043
- "components": [
6044
- {
6045
- "internalType": "uint256",
6046
- "name": "txId",
6047
- "type": "uint256"
6048
- },
6049
- {
6050
- "internalType": "uint256",
6051
- "name": "releaseTime",
6052
- "type": "uint256"
6053
- },
6054
- {
6055
- "internalType": "enum EngineBlox.TxStatus",
6056
- "name": "status",
6057
- "type": "uint8"
6058
- },
6059
- {
6060
- "components": [
6061
- {
6062
- "internalType": "address",
6063
- "name": "requester",
6064
- "type": "address"
6065
- },
6066
- {
6067
- "internalType": "address",
6068
- "name": "target",
6069
- "type": "address"
6070
- },
6071
- {
6072
- "internalType": "uint256",
6073
- "name": "value",
6074
- "type": "uint256"
6075
- },
6076
- {
6077
- "internalType": "uint256",
6078
- "name": "gasLimit",
6079
- "type": "uint256"
6080
- },
6081
- {
6082
- "internalType": "bytes32",
6083
- "name": "operationType",
6084
- "type": "bytes32"
6085
- },
6086
- {
6087
- "internalType": "bytes4",
6088
- "name": "executionSelector",
6089
- "type": "bytes4"
6090
- },
6091
- {
6092
- "internalType": "bytes",
6093
- "name": "executionParams",
6094
- "type": "bytes"
6095
- }
6096
- ],
6097
- "internalType": "struct EngineBlox.TxParams",
6098
- "name": "params",
6099
- "type": "tuple"
6100
- },
6101
- {
6102
- "internalType": "bytes32",
6103
- "name": "message",
6104
- "type": "bytes32"
6105
- },
6106
- {
6107
- "internalType": "bytes",
6108
- "name": "result",
6109
- "type": "bytes"
6110
- },
6111
- {
6112
- "components": [
6113
- {
6114
- "internalType": "address",
6115
- "name": "recipient",
6116
- "type": "address"
6117
- },
6118
- {
6119
- "internalType": "uint256",
6120
- "name": "nativeTokenAmount",
6121
- "type": "uint256"
6122
- },
6123
- {
6124
- "internalType": "address",
6125
- "name": "erc20TokenAddress",
6126
- "type": "address"
6127
- },
6128
- {
6129
- "internalType": "uint256",
6130
- "name": "erc20TokenAmount",
6131
- "type": "uint256"
6132
- }
6133
- ],
6134
- "internalType": "struct EngineBlox.PaymentDetails",
6135
- "name": "payment",
6136
- "type": "tuple"
6137
- }
6138
- ],
6139
- "internalType": "struct EngineBlox.TxRecord",
3890
+ "internalType": "uint256",
6140
3891
  "name": "",
6141
- "type": "tuple"
3892
+ "type": "uint256"
6142
3893
  }
6143
3894
  ],
6144
3895
  "stateMutability": "nonpayable",
@@ -6180,31 +3931,5 @@
6180
3931
  "outputs": [],
6181
3932
  "stateMutability": "nonpayable",
6182
3933
  "type": "function"
6183
- },
6184
- {
6185
- "inputs": [
6186
- {
6187
- "internalType": "bytes4",
6188
- "name": "interfaceId",
6189
- "type": "bytes4"
6190
- }
6191
- ],
6192
- "name": "supportsInterface",
6193
- "outputs": [
6194
- {
6195
- "internalType": "bool",
6196
- "name": "",
6197
- "type": "bool"
6198
- }
6199
- ],
6200
- "stateMutability": "view",
6201
- "type": "function"
6202
- },
6203
- {
6204
- "inputs": [],
6205
- "name": "deposit",
6206
- "outputs": [],
6207
- "stateMutability": "payable",
6208
- "type": "function"
6209
3934
  }
6210
3935
  ]