@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
@@ -42,17 +42,6 @@
42
42
  "name": "CannotModifyProtected",
43
43
  "type": "error"
44
44
  },
45
- {
46
- "inputs": [
47
- {
48
- "internalType": "address",
49
- "name": "provided",
50
- "type": "address"
51
- }
52
- ],
53
- "name": "InvalidAddress",
54
- "type": "error"
55
- },
56
45
  {
57
46
  "inputs": [],
58
47
  "name": "InvalidInitialization",
@@ -74,33 +63,6 @@
74
63
  "name": "InvalidRange",
75
64
  "type": "error"
76
65
  },
77
- {
78
- "inputs": [
79
- {
80
- "internalType": "uint256",
81
- "name": "provided",
82
- "type": "uint256"
83
- }
84
- ],
85
- "name": "MaxWalletsZero",
86
- "type": "error"
87
- },
88
- {
89
- "inputs": [
90
- {
91
- "internalType": "uint256",
92
- "name": "newPeriod",
93
- "type": "uint256"
94
- },
95
- {
96
- "internalType": "uint256",
97
- "name": "currentPeriod",
98
- "type": "uint256"
99
- }
100
- ],
101
- "name": "NewTimelockSame",
102
- "type": "error"
103
- },
104
66
  {
105
67
  "inputs": [
106
68
  {
@@ -117,22 +79,6 @@
117
79
  "name": "NotInitializing",
118
80
  "type": "error"
119
81
  },
120
- {
121
- "inputs": [
122
- {
123
- "internalType": "address",
124
- "name": "newAddress",
125
- "type": "address"
126
- },
127
- {
128
- "internalType": "address",
129
- "name": "currentAddress",
130
- "type": "address"
131
- }
132
- ],
133
- "name": "NotNewAddress",
134
- "type": "error"
135
- },
136
82
  {
137
83
  "inputs": [],
138
84
  "name": "NotSupported",
@@ -154,6 +100,11 @@
154
100
  "name": "OnlyCallableByContract",
155
101
  "type": "error"
156
102
  },
103
+ {
104
+ "inputs": [],
105
+ "name": "PendingSecureRequest",
106
+ "type": "error"
107
+ },
157
108
  {
158
109
  "inputs": [
159
110
  {
@@ -175,17 +126,6 @@
175
126
  "name": "ReentrancyGuardReentrantCall",
176
127
  "type": "error"
177
128
  },
178
- {
179
- "inputs": [
180
- {
181
- "internalType": "bytes32",
182
- "name": "resourceId",
183
- "type": "bytes32"
184
- }
185
- ],
186
- "name": "ResourceAlreadyExists",
187
- "type": "error"
188
- },
189
129
  {
190
130
  "inputs": [
191
131
  {
@@ -251,341 +191,231 @@
251
191
  "type": "error"
252
192
  },
253
193
  {
194
+ "anonymous": false,
254
195
  "inputs": [
255
196
  {
256
- "internalType": "uint256",
257
- "name": "provided",
258
- "type": "uint256"
197
+ "indexed": true,
198
+ "internalType": "bytes4",
199
+ "name": "functionSelector",
200
+ "type": "bytes4"
201
+ },
202
+ {
203
+ "indexed": false,
204
+ "internalType": "bytes",
205
+ "name": "data",
206
+ "type": "bytes"
259
207
  }
260
208
  ],
261
- "name": "TimeLockPeriodZero",
262
- "type": "error"
209
+ "name": "ComponentEvent",
210
+ "type": "event"
263
211
  },
264
212
  {
265
213
  "anonymous": false,
266
214
  "inputs": [
267
215
  {
268
216
  "indexed": false,
269
- "internalType": "uint256",
270
- "name": "txId",
271
- "type": "uint256"
217
+ "internalType": "uint64",
218
+ "name": "version",
219
+ "type": "uint64"
272
220
  }
273
221
  ],
274
- "name": "BroadcasterUpdateCancelled",
222
+ "name": "Initialized",
275
223
  "type": "event"
276
224
  },
277
225
  {
278
- "anonymous": false,
279
226
  "inputs": [
280
227
  {
281
- "indexed": false,
282
228
  "internalType": "address",
283
- "name": "currentBroadcaster",
229
+ "name": "handlerContract",
284
230
  "type": "address"
285
231
  },
286
232
  {
287
- "indexed": false,
233
+ "internalType": "bytes4",
234
+ "name": "handlerSelector",
235
+ "type": "bytes4"
236
+ },
237
+ {
238
+ "internalType": "enum EngineBlox.TxAction",
239
+ "name": "action",
240
+ "type": "uint8"
241
+ },
242
+ {
243
+ "internalType": "uint256",
244
+ "name": "deadline",
245
+ "type": "uint256"
246
+ },
247
+ {
248
+ "internalType": "uint256",
249
+ "name": "maxGasPrice",
250
+ "type": "uint256"
251
+ },
252
+ {
288
253
  "internalType": "address",
289
- "name": "newBroadcaster",
254
+ "name": "signer",
290
255
  "type": "address"
291
256
  }
292
257
  ],
293
- "name": "BroadcasterUpdateRequest",
294
- "type": "event"
258
+ "name": "createMetaTxParams",
259
+ "outputs": [
260
+ {
261
+ "components": [
262
+ {
263
+ "internalType": "uint256",
264
+ "name": "chainId",
265
+ "type": "uint256"
266
+ },
267
+ {
268
+ "internalType": "uint256",
269
+ "name": "nonce",
270
+ "type": "uint256"
271
+ },
272
+ {
273
+ "internalType": "address",
274
+ "name": "handlerContract",
275
+ "type": "address"
276
+ },
277
+ {
278
+ "internalType": "bytes4",
279
+ "name": "handlerSelector",
280
+ "type": "bytes4"
281
+ },
282
+ {
283
+ "internalType": "enum EngineBlox.TxAction",
284
+ "name": "action",
285
+ "type": "uint8"
286
+ },
287
+ {
288
+ "internalType": "uint256",
289
+ "name": "deadline",
290
+ "type": "uint256"
291
+ },
292
+ {
293
+ "internalType": "uint256",
294
+ "name": "maxGasPrice",
295
+ "type": "uint256"
296
+ },
297
+ {
298
+ "internalType": "address",
299
+ "name": "signer",
300
+ "type": "address"
301
+ }
302
+ ],
303
+ "internalType": "struct EngineBlox.MetaTxParams",
304
+ "name": "",
305
+ "type": "tuple"
306
+ }
307
+ ],
308
+ "stateMutability": "view",
309
+ "type": "function"
295
310
  },
296
311
  {
297
- "anonymous": false,
298
312
  "inputs": [
299
313
  {
300
- "indexed": false,
301
314
  "internalType": "address",
302
- "name": "oldBroadcaster",
315
+ "name": "newBroadcaster",
303
316
  "type": "address"
304
317
  },
305
318
  {
306
- "indexed": false,
319
+ "internalType": "uint256",
320
+ "name": "location",
321
+ "type": "uint256"
322
+ }
323
+ ],
324
+ "name": "executeBroadcasterUpdate",
325
+ "outputs": [],
326
+ "stateMutability": "nonpayable",
327
+ "type": "function"
328
+ },
329
+ {
330
+ "inputs": [
331
+ {
307
332
  "internalType": "address",
308
- "name": "newBroadcaster",
333
+ "name": "newRecoveryAddress",
309
334
  "type": "address"
310
335
  }
311
336
  ],
312
- "name": "BroadcasterUpdated",
313
- "type": "event"
337
+ "name": "executeRecoveryUpdate",
338
+ "outputs": [],
339
+ "stateMutability": "nonpayable",
340
+ "type": "function"
314
341
  },
315
342
  {
316
- "anonymous": false,
317
343
  "inputs": [
318
344
  {
319
- "indexed": false,
320
- "internalType": "uint64",
321
- "name": "version",
322
- "type": "uint64"
345
+ "components": [
346
+ {
347
+ "internalType": "enum IRuntimeRBAC.RoleConfigActionType",
348
+ "name": "actionType",
349
+ "type": "uint8"
350
+ },
351
+ {
352
+ "internalType": "bytes",
353
+ "name": "data",
354
+ "type": "bytes"
355
+ }
356
+ ],
357
+ "internalType": "struct IRuntimeRBAC.RoleConfigAction[]",
358
+ "name": "actions",
359
+ "type": "tuple[]"
323
360
  }
324
361
  ],
325
- "name": "Initialized",
326
- "type": "event"
362
+ "name": "executeRoleConfigBatch",
363
+ "outputs": [],
364
+ "stateMutability": "nonpayable",
365
+ "type": "function"
327
366
  },
328
367
  {
329
- "anonymous": false,
330
368
  "inputs": [
331
369
  {
332
- "indexed": false,
333
370
  "internalType": "uint256",
334
- "name": "txId",
371
+ "name": "newTimeLockPeriodSec",
335
372
  "type": "uint256"
336
373
  }
337
374
  ],
338
- "name": "OwnershipTransferCancelled",
339
- "type": "event"
375
+ "name": "executeTimeLockUpdate",
376
+ "outputs": [],
377
+ "stateMutability": "nonpayable",
378
+ "type": "function"
340
379
  },
341
380
  {
342
- "anonymous": false,
343
381
  "inputs": [
344
382
  {
345
- "indexed": false,
346
- "internalType": "address",
347
- "name": "currentOwner",
348
- "type": "address"
349
- },
350
- {
351
- "indexed": false,
352
383
  "internalType": "address",
353
384
  "name": "newOwner",
354
385
  "type": "address"
355
386
  }
356
387
  ],
357
- "name": "OwnershipTransferRequest",
358
- "type": "event"
388
+ "name": "executeTransferOwnership",
389
+ "outputs": [],
390
+ "stateMutability": "nonpayable",
391
+ "type": "function"
359
392
  },
360
393
  {
361
- "anonymous": false,
362
394
  "inputs": [
363
395
  {
364
- "indexed": false,
365
- "internalType": "address",
366
- "name": "oldOwner",
367
- "type": "address"
368
- },
396
+ "internalType": "bytes4",
397
+ "name": "functionSelector",
398
+ "type": "bytes4"
399
+ }
400
+ ],
401
+ "name": "functionSchemaExists",
402
+ "outputs": [
369
403
  {
370
- "indexed": false,
371
- "internalType": "address",
372
- "name": "newOwner",
373
- "type": "address"
404
+ "internalType": "bool",
405
+ "name": "",
406
+ "type": "bool"
374
407
  }
375
408
  ],
376
- "name": "OwnershipTransferUpdated",
377
- "type": "event"
409
+ "stateMutability": "view",
410
+ "type": "function"
378
411
  },
379
412
  {
380
- "anonymous": false,
381
413
  "inputs": [
382
414
  {
383
- "indexed": false,
384
- "internalType": "address",
385
- "name": "oldRecovery",
386
- "type": "address"
415
+ "internalType": "uint256",
416
+ "name": "txId",
417
+ "type": "uint256"
387
418
  },
388
- {
389
- "indexed": false,
390
- "internalType": "address",
391
- "name": "newRecovery",
392
- "type": "address"
393
- }
394
- ],
395
- "name": "RecoveryAddressUpdated",
396
- "type": "event"
397
- },
398
- {
399
- "anonymous": false,
400
- "inputs": [
401
- {
402
- "indexed": true,
403
- "internalType": "enum RuntimeRBAC.RoleConfigActionType",
404
- "name": "actionType",
405
- "type": "uint8"
406
- },
407
- {
408
- "indexed": true,
409
- "internalType": "bytes32",
410
- "name": "roleHash",
411
- "type": "bytes32"
412
- },
413
- {
414
- "indexed": true,
415
- "internalType": "bytes4",
416
- "name": "functionSelector",
417
- "type": "bytes4"
418
- },
419
- {
420
- "indexed": false,
421
- "internalType": "bytes",
422
- "name": "data",
423
- "type": "bytes"
424
- }
425
- ],
426
- "name": "RoleConfigApplied",
427
- "type": "event"
428
- },
429
- {
430
- "anonymous": false,
431
- "inputs": [
432
- {
433
- "indexed": false,
434
- "internalType": "uint256",
435
- "name": "oldPeriod",
436
- "type": "uint256"
437
- },
438
- {
439
- "indexed": false,
440
- "internalType": "uint256",
441
- "name": "newPeriod",
442
- "type": "uint256"
443
- }
444
- ],
445
- "name": "TimeLockPeriodUpdated",
446
- "type": "event"
447
- },
448
- {
449
- "anonymous": false,
450
- "inputs": [
451
- {
452
- "indexed": true,
453
- "internalType": "uint256",
454
- "name": "txId",
455
- "type": "uint256"
456
- },
457
- {
458
- "indexed": true,
459
- "internalType": "bytes32",
460
- "name": "operationType",
461
- "type": "bytes32"
462
- },
463
- {
464
- "indexed": true,
465
- "internalType": "address",
466
- "name": "approver",
467
- "type": "address"
468
- }
469
- ],
470
- "name": "TransactionApproved",
471
- "type": "event"
472
- },
473
- {
474
- "anonymous": false,
475
- "inputs": [
476
- {
477
- "indexed": true,
478
- "internalType": "uint256",
479
- "name": "txId",
480
- "type": "uint256"
481
- },
482
- {
483
- "indexed": true,
484
- "internalType": "bytes32",
485
- "name": "operationType",
486
- "type": "bytes32"
487
- },
488
- {
489
- "indexed": true,
490
- "internalType": "address",
491
- "name": "canceller",
492
- "type": "address"
493
- }
494
- ],
495
- "name": "TransactionCancelled",
496
- "type": "event"
497
- },
498
- {
499
- "anonymous": false,
500
- "inputs": [
501
- {
502
- "indexed": true,
503
- "internalType": "uint256",
504
- "name": "txId",
505
- "type": "uint256"
506
- },
507
- {
508
- "indexed": true,
509
- "internalType": "bytes32",
510
- "name": "operationType",
511
- "type": "bytes32"
512
- },
513
- {
514
- "indexed": false,
515
- "internalType": "bool",
516
- "name": "success",
517
- "type": "bool"
518
- }
519
- ],
520
- "name": "TransactionExecuted",
521
- "type": "event"
522
- },
523
- {
524
- "anonymous": false,
525
- "inputs": [
526
- {
527
- "indexed": true,
528
- "internalType": "uint256",
529
- "name": "txId",
530
- "type": "uint256"
531
- },
532
- {
533
- "indexed": true,
534
- "internalType": "address",
535
- "name": "requester",
536
- "type": "address"
537
- },
538
- {
539
- "indexed": true,
540
- "internalType": "bytes32",
541
- "name": "operationType",
542
- "type": "bytes32"
543
- },
544
- {
545
- "indexed": false,
546
- "internalType": "uint256",
547
- "name": "releaseTime",
548
- "type": "uint256"
549
- }
550
- ],
551
- "name": "TransactionRequested",
552
- "type": "event"
553
- },
554
- {
555
- "inputs": [
556
- {
557
- "internalType": "address",
558
- "name": "handlerContract",
559
- "type": "address"
560
- },
561
- {
562
- "internalType": "bytes4",
563
- "name": "handlerSelector",
564
- "type": "bytes4"
565
- },
566
- {
567
- "internalType": "enum EngineBlox.TxAction",
568
- "name": "action",
569
- "type": "uint8"
570
- },
571
- {
572
- "internalType": "uint256",
573
- "name": "deadline",
574
- "type": "uint256"
575
- },
576
- {
577
- "internalType": "uint256",
578
- "name": "maxGasPrice",
579
- "type": "uint256"
580
- },
581
- {
582
- "internalType": "address",
583
- "name": "signer",
584
- "type": "address"
585
- }
586
- ],
587
- "name": "createMetaTxParams",
588
- "outputs": [
589
419
  {
590
420
  "components": [
591
421
  {
@@ -630,166 +460,12 @@
630
460
  }
631
461
  ],
632
462
  "internalType": "struct EngineBlox.MetaTxParams",
633
- "name": "",
463
+ "name": "metaTxParams",
634
464
  "type": "tuple"
635
465
  }
636
466
  ],
637
- "stateMutability": "view",
638
- "type": "function"
639
- },
640
- {
641
- "inputs": [
642
- {
643
- "internalType": "address",
644
- "name": "newBroadcaster",
645
- "type": "address"
646
- }
647
- ],
648
- "name": "executeBroadcasterUpdate",
649
- "outputs": [],
650
- "stateMutability": "nonpayable",
651
- "type": "function"
652
- },
653
- {
654
- "inputs": [
655
- {
656
- "internalType": "address",
657
- "name": "newRecoveryAddress",
658
- "type": "address"
659
- }
660
- ],
661
- "name": "executeRecoveryUpdate",
662
- "outputs": [],
663
- "stateMutability": "nonpayable",
664
- "type": "function"
665
- },
666
- {
667
- "inputs": [
668
- {
669
- "components": [
670
- {
671
- "internalType": "enum RuntimeRBAC.RoleConfigActionType",
672
- "name": "actionType",
673
- "type": "uint8"
674
- },
675
- {
676
- "internalType": "bytes",
677
- "name": "data",
678
- "type": "bytes"
679
- }
680
- ],
681
- "internalType": "struct RuntimeRBAC.RoleConfigAction[]",
682
- "name": "actions",
683
- "type": "tuple[]"
684
- }
685
- ],
686
- "name": "executeRoleConfigBatch",
687
- "outputs": [],
688
- "stateMutability": "nonpayable",
689
- "type": "function"
690
- },
691
- {
692
- "inputs": [
693
- {
694
- "internalType": "uint256",
695
- "name": "newTimeLockPeriodSec",
696
- "type": "uint256"
697
- }
698
- ],
699
- "name": "executeTimeLockUpdate",
700
- "outputs": [],
701
- "stateMutability": "nonpayable",
702
- "type": "function"
703
- },
704
- {
705
- "inputs": [
706
- {
707
- "internalType": "address",
708
- "name": "newOwner",
709
- "type": "address"
710
- }
711
- ],
712
- "name": "executeTransferOwnership",
713
- "outputs": [],
714
- "stateMutability": "nonpayable",
715
- "type": "function"
716
- },
717
- {
718
- "inputs": [
719
- {
720
- "internalType": "bytes4",
721
- "name": "functionSelector",
722
- "type": "bytes4"
723
- }
724
- ],
725
- "name": "functionSchemaExists",
726
- "outputs": [
727
- {
728
- "internalType": "bool",
729
- "name": "",
730
- "type": "bool"
731
- }
732
- ],
733
- "stateMutability": "view",
734
- "type": "function"
735
- },
736
- {
737
- "inputs": [
738
- {
739
- "internalType": "uint256",
740
- "name": "txId",
741
- "type": "uint256"
742
- },
743
- {
744
- "components": [
745
- {
746
- "internalType": "uint256",
747
- "name": "chainId",
748
- "type": "uint256"
749
- },
750
- {
751
- "internalType": "uint256",
752
- "name": "nonce",
753
- "type": "uint256"
754
- },
755
- {
756
- "internalType": "address",
757
- "name": "handlerContract",
758
- "type": "address"
759
- },
760
- {
761
- "internalType": "bytes4",
762
- "name": "handlerSelector",
763
- "type": "bytes4"
764
- },
765
- {
766
- "internalType": "enum EngineBlox.TxAction",
767
- "name": "action",
768
- "type": "uint8"
769
- },
770
- {
771
- "internalType": "uint256",
772
- "name": "deadline",
773
- "type": "uint256"
774
- },
775
- {
776
- "internalType": "uint256",
777
- "name": "maxGasPrice",
778
- "type": "uint256"
779
- },
780
- {
781
- "internalType": "address",
782
- "name": "signer",
783
- "type": "address"
784
- }
785
- ],
786
- "internalType": "struct EngineBlox.MetaTxParams",
787
- "name": "metaTxParams",
788
- "type": "tuple"
789
- }
790
- ],
791
- "name": "generateUnsignedMetaTransactionForExisting",
792
- "outputs": [
467
+ "name": "generateUnsignedMetaTransactionForExisting",
468
+ "outputs": [
793
469
  {
794
470
  "components": [
795
471
  {
@@ -1285,34 +961,84 @@
1285
961
  "name": "getFunctionSchema",
1286
962
  "outputs": [
1287
963
  {
1288
- "internalType": "string",
1289
- "name": "functionSignature",
1290
- "type": "string"
1291
- },
964
+ "components": [
965
+ {
966
+ "internalType": "string",
967
+ "name": "functionSignature",
968
+ "type": "string"
969
+ },
970
+ {
971
+ "internalType": "bytes4",
972
+ "name": "functionSelector",
973
+ "type": "bytes4"
974
+ },
975
+ {
976
+ "internalType": "bytes32",
977
+ "name": "operationType",
978
+ "type": "bytes32"
979
+ },
980
+ {
981
+ "internalType": "string",
982
+ "name": "operationName",
983
+ "type": "string"
984
+ },
985
+ {
986
+ "internalType": "uint16",
987
+ "name": "supportedActionsBitmap",
988
+ "type": "uint16"
989
+ },
990
+ {
991
+ "internalType": "bool",
992
+ "name": "isProtected",
993
+ "type": "bool"
994
+ },
995
+ {
996
+ "internalType": "bytes4[]",
997
+ "name": "handlerForSelectors",
998
+ "type": "bytes4[]"
999
+ }
1000
+ ],
1001
+ "internalType": "struct EngineBlox.FunctionSchema",
1002
+ "name": "",
1003
+ "type": "tuple"
1004
+ }
1005
+ ],
1006
+ "stateMutability": "view",
1007
+ "type": "function"
1008
+ },
1009
+ {
1010
+ "inputs": [
1292
1011
  {
1293
1012
  "internalType": "bytes4",
1294
- "name": "functionSelectorReturn",
1013
+ "name": "functionSelector",
1295
1014
  "type": "bytes4"
1296
- },
1297
- {
1298
- "internalType": "bytes32",
1299
- "name": "operationType",
1300
- "type": "bytes32"
1301
- },
1015
+ }
1016
+ ],
1017
+ "name": "getFunctionWhitelistTargets",
1018
+ "outputs": [
1302
1019
  {
1303
- "internalType": "string",
1304
- "name": "operationName",
1305
- "type": "string"
1306
- },
1020
+ "internalType": "address[]",
1021
+ "name": "",
1022
+ "type": "address[]"
1023
+ }
1024
+ ],
1025
+ "stateMutability": "view",
1026
+ "type": "function"
1027
+ },
1028
+ {
1029
+ "inputs": [
1307
1030
  {
1308
- "internalType": "enum EngineBlox.TxAction[]",
1309
- "name": "supportedActions",
1310
- "type": "uint8[]"
1311
- },
1031
+ "internalType": "bytes4",
1032
+ "name": "functionSelector",
1033
+ "type": "bytes4"
1034
+ }
1035
+ ],
1036
+ "name": "getHooks",
1037
+ "outputs": [
1312
1038
  {
1313
- "internalType": "bool",
1314
- "name": "isProtected",
1315
- "type": "bool"
1039
+ "internalType": "address[]",
1040
+ "name": "hooks",
1041
+ "type": "address[]"
1316
1042
  }
1317
1043
  ],
1318
1044
  "stateMutability": "view",
@@ -1442,954 +1168,16 @@
1442
1168
  "type": "function"
1443
1169
  },
1444
1170
  {
1445
- "inputs": [],
1446
- "name": "getTimeLockPeriodSec",
1447
- "outputs": [
1448
- {
1449
- "internalType": "uint256",
1450
- "name": "",
1451
- "type": "uint256"
1452
- }
1453
- ],
1454
- "stateMutability": "view",
1455
- "type": "function"
1456
- },
1457
- {
1458
- "inputs": [
1459
- {
1460
- "internalType": "uint256",
1461
- "name": "txId",
1462
- "type": "uint256"
1463
- }
1464
- ],
1465
- "name": "getTransaction",
1466
- "outputs": [
1467
- {
1468
- "components": [
1469
- {
1470
- "internalType": "uint256",
1471
- "name": "txId",
1472
- "type": "uint256"
1473
- },
1474
- {
1475
- "internalType": "uint256",
1476
- "name": "releaseTime",
1477
- "type": "uint256"
1478
- },
1479
- {
1480
- "internalType": "enum EngineBlox.TxStatus",
1481
- "name": "status",
1482
- "type": "uint8"
1483
- },
1484
- {
1485
- "components": [
1486
- {
1487
- "internalType": "address",
1488
- "name": "requester",
1489
- "type": "address"
1490
- },
1491
- {
1492
- "internalType": "address",
1493
- "name": "target",
1494
- "type": "address"
1495
- },
1496
- {
1497
- "internalType": "uint256",
1498
- "name": "value",
1499
- "type": "uint256"
1500
- },
1501
- {
1502
- "internalType": "uint256",
1503
- "name": "gasLimit",
1504
- "type": "uint256"
1505
- },
1506
- {
1507
- "internalType": "bytes32",
1508
- "name": "operationType",
1509
- "type": "bytes32"
1510
- },
1511
- {
1512
- "internalType": "bytes4",
1513
- "name": "executionSelector",
1514
- "type": "bytes4"
1515
- },
1516
- {
1517
- "internalType": "bytes",
1518
- "name": "executionParams",
1519
- "type": "bytes"
1520
- }
1521
- ],
1522
- "internalType": "struct EngineBlox.TxParams",
1523
- "name": "params",
1524
- "type": "tuple"
1525
- },
1526
- {
1527
- "internalType": "bytes32",
1528
- "name": "message",
1529
- "type": "bytes32"
1530
- },
1531
- {
1532
- "internalType": "bytes",
1533
- "name": "result",
1534
- "type": "bytes"
1535
- },
1536
- {
1537
- "components": [
1538
- {
1539
- "internalType": "address",
1540
- "name": "recipient",
1541
- "type": "address"
1542
- },
1543
- {
1544
- "internalType": "uint256",
1545
- "name": "nativeTokenAmount",
1546
- "type": "uint256"
1547
- },
1548
- {
1549
- "internalType": "address",
1550
- "name": "erc20TokenAddress",
1551
- "type": "address"
1552
- },
1553
- {
1554
- "internalType": "uint256",
1555
- "name": "erc20TokenAmount",
1556
- "type": "uint256"
1557
- }
1558
- ],
1559
- "internalType": "struct EngineBlox.PaymentDetails",
1560
- "name": "payment",
1561
- "type": "tuple"
1562
- }
1563
- ],
1564
- "internalType": "struct EngineBlox.TxRecord",
1565
- "name": "",
1566
- "type": "tuple"
1567
- }
1568
- ],
1569
- "stateMutability": "view",
1570
- "type": "function"
1571
- },
1572
- {
1573
- "inputs": [
1574
- {
1575
- "internalType": "uint256",
1576
- "name": "fromTxId",
1577
- "type": "uint256"
1578
- },
1579
- {
1580
- "internalType": "uint256",
1581
- "name": "toTxId",
1582
- "type": "uint256"
1583
- }
1584
- ],
1585
- "name": "getTransactionHistory",
1586
- "outputs": [
1587
- {
1588
- "components": [
1589
- {
1590
- "internalType": "uint256",
1591
- "name": "txId",
1592
- "type": "uint256"
1593
- },
1594
- {
1595
- "internalType": "uint256",
1596
- "name": "releaseTime",
1597
- "type": "uint256"
1598
- },
1599
- {
1600
- "internalType": "enum EngineBlox.TxStatus",
1601
- "name": "status",
1602
- "type": "uint8"
1603
- },
1604
- {
1605
- "components": [
1606
- {
1607
- "internalType": "address",
1608
- "name": "requester",
1609
- "type": "address"
1610
- },
1611
- {
1612
- "internalType": "address",
1613
- "name": "target",
1614
- "type": "address"
1615
- },
1616
- {
1617
- "internalType": "uint256",
1618
- "name": "value",
1619
- "type": "uint256"
1620
- },
1621
- {
1622
- "internalType": "uint256",
1623
- "name": "gasLimit",
1624
- "type": "uint256"
1625
- },
1626
- {
1627
- "internalType": "bytes32",
1628
- "name": "operationType",
1629
- "type": "bytes32"
1630
- },
1631
- {
1632
- "internalType": "bytes4",
1633
- "name": "executionSelector",
1634
- "type": "bytes4"
1635
- },
1636
- {
1637
- "internalType": "bytes",
1638
- "name": "executionParams",
1639
- "type": "bytes"
1640
- }
1641
- ],
1642
- "internalType": "struct EngineBlox.TxParams",
1643
- "name": "params",
1644
- "type": "tuple"
1645
- },
1646
- {
1647
- "internalType": "bytes32",
1648
- "name": "message",
1649
- "type": "bytes32"
1650
- },
1651
- {
1652
- "internalType": "bytes",
1653
- "name": "result",
1654
- "type": "bytes"
1655
- },
1656
- {
1657
- "components": [
1658
- {
1659
- "internalType": "address",
1660
- "name": "recipient",
1661
- "type": "address"
1662
- },
1663
- {
1664
- "internalType": "uint256",
1665
- "name": "nativeTokenAmount",
1666
- "type": "uint256"
1667
- },
1668
- {
1669
- "internalType": "address",
1670
- "name": "erc20TokenAddress",
1671
- "type": "address"
1672
- },
1673
- {
1674
- "internalType": "uint256",
1675
- "name": "erc20TokenAmount",
1676
- "type": "uint256"
1677
- }
1678
- ],
1679
- "internalType": "struct EngineBlox.PaymentDetails",
1680
- "name": "payment",
1681
- "type": "tuple"
1682
- }
1683
- ],
1684
- "internalType": "struct EngineBlox.TxRecord[]",
1685
- "name": "",
1686
- "type": "tuple[]"
1687
- }
1688
- ],
1689
- "stateMutability": "view",
1690
- "type": "function"
1691
- },
1692
- {
1693
- "inputs": [
1694
- {
1695
- "internalType": "address",
1696
- "name": "wallet",
1697
- "type": "address"
1698
- }
1699
- ],
1700
- "name": "getWalletRoles",
1701
- "outputs": [
1702
- {
1703
- "internalType": "bytes32[]",
1704
- "name": "",
1705
- "type": "bytes32[]"
1706
- }
1707
- ],
1708
- "stateMutability": "view",
1709
- "type": "function"
1710
- },
1711
- {
1712
- "inputs": [
1713
- {
1714
- "internalType": "bytes32",
1715
- "name": "roleHash",
1716
- "type": "bytes32"
1717
- }
1718
- ],
1719
- "name": "getWalletsInRole",
1720
- "outputs": [
1721
- {
1722
- "internalType": "address[]",
1723
- "name": "",
1724
- "type": "address[]"
1725
- }
1726
- ],
1727
- "stateMutability": "view",
1728
- "type": "function"
1729
- },
1730
- {
1731
- "inputs": [
1732
- {
1733
- "internalType": "bytes32",
1734
- "name": "roleHash",
1735
- "type": "bytes32"
1736
- },
1737
- {
1738
- "internalType": "address",
1739
- "name": "wallet",
1740
- "type": "address"
1741
- }
1742
- ],
1743
- "name": "hasRole",
1744
- "outputs": [
1745
- {
1746
- "internalType": "bool",
1747
- "name": "",
1748
- "type": "bool"
1749
- }
1750
- ],
1751
- "stateMutability": "view",
1752
- "type": "function"
1753
- },
1754
- {
1755
- "inputs": [],
1756
- "name": "initialized",
1757
- "outputs": [
1758
- {
1759
- "internalType": "bool",
1760
- "name": "",
1761
- "type": "bool"
1762
- }
1763
- ],
1764
- "stateMutability": "view",
1765
- "type": "function"
1766
- },
1767
- {
1768
- "inputs": [
1769
- {
1770
- "internalType": "bytes4",
1771
- "name": "functionSelector",
1772
- "type": "bytes4"
1773
- },
1774
- {
1775
- "internalType": "enum EngineBlox.TxAction",
1776
- "name": "action",
1777
- "type": "uint8"
1778
- }
1779
- ],
1780
- "name": "isActionSupportedByFunction",
1781
- "outputs": [
1782
- {
1783
- "internalType": "bool",
1784
- "name": "",
1785
- "type": "bool"
1786
- }
1787
- ],
1788
- "stateMutability": "view",
1789
- "type": "function"
1790
- },
1791
- {
1792
- "inputs": [],
1793
- "name": "owner",
1794
- "outputs": [
1795
- {
1796
- "internalType": "address",
1797
- "name": "",
1798
- "type": "address"
1799
- }
1800
- ],
1801
- "stateMutability": "view",
1802
- "type": "function"
1803
- },
1804
- {
1805
- "inputs": [
1806
- {
1807
- "components": [
1808
- {
1809
- "internalType": "enum RuntimeRBAC.RoleConfigActionType",
1810
- "name": "actionType",
1811
- "type": "uint8"
1812
- },
1813
- {
1814
- "internalType": "bytes",
1815
- "name": "data",
1816
- "type": "bytes"
1817
- }
1818
- ],
1819
- "internalType": "struct RuntimeRBAC.RoleConfigAction[]",
1820
- "name": "actions",
1821
- "type": "tuple[]"
1822
- }
1823
- ],
1824
- "name": "roleConfigBatchExecutionParams",
1825
- "outputs": [
1826
- {
1827
- "internalType": "bytes",
1828
- "name": "",
1829
- "type": "bytes"
1830
- }
1831
- ],
1832
- "stateMutability": "pure",
1833
- "type": "function"
1834
- },
1835
- {
1836
- "inputs": [
1837
- {
1838
- "components": [
1839
- {
1840
- "components": [
1841
- {
1842
- "internalType": "uint256",
1843
- "name": "txId",
1844
- "type": "uint256"
1845
- },
1846
- {
1847
- "internalType": "uint256",
1848
- "name": "releaseTime",
1849
- "type": "uint256"
1850
- },
1851
- {
1852
- "internalType": "enum EngineBlox.TxStatus",
1853
- "name": "status",
1854
- "type": "uint8"
1855
- },
1856
- {
1857
- "components": [
1858
- {
1859
- "internalType": "address",
1860
- "name": "requester",
1861
- "type": "address"
1862
- },
1863
- {
1864
- "internalType": "address",
1865
- "name": "target",
1866
- "type": "address"
1867
- },
1868
- {
1869
- "internalType": "uint256",
1870
- "name": "value",
1871
- "type": "uint256"
1872
- },
1873
- {
1874
- "internalType": "uint256",
1875
- "name": "gasLimit",
1876
- "type": "uint256"
1877
- },
1878
- {
1879
- "internalType": "bytes32",
1880
- "name": "operationType",
1881
- "type": "bytes32"
1882
- },
1883
- {
1884
- "internalType": "bytes4",
1885
- "name": "executionSelector",
1886
- "type": "bytes4"
1887
- },
1888
- {
1889
- "internalType": "bytes",
1890
- "name": "executionParams",
1891
- "type": "bytes"
1892
- }
1893
- ],
1894
- "internalType": "struct EngineBlox.TxParams",
1895
- "name": "params",
1896
- "type": "tuple"
1897
- },
1898
- {
1899
- "internalType": "bytes32",
1900
- "name": "message",
1901
- "type": "bytes32"
1902
- },
1903
- {
1904
- "internalType": "bytes",
1905
- "name": "result",
1906
- "type": "bytes"
1907
- },
1908
- {
1909
- "components": [
1910
- {
1911
- "internalType": "address",
1912
- "name": "recipient",
1913
- "type": "address"
1914
- },
1915
- {
1916
- "internalType": "uint256",
1917
- "name": "nativeTokenAmount",
1918
- "type": "uint256"
1919
- },
1920
- {
1921
- "internalType": "address",
1922
- "name": "erc20TokenAddress",
1923
- "type": "address"
1924
- },
1925
- {
1926
- "internalType": "uint256",
1927
- "name": "erc20TokenAmount",
1928
- "type": "uint256"
1929
- }
1930
- ],
1931
- "internalType": "struct EngineBlox.PaymentDetails",
1932
- "name": "payment",
1933
- "type": "tuple"
1934
- }
1935
- ],
1936
- "internalType": "struct EngineBlox.TxRecord",
1937
- "name": "txRecord",
1938
- "type": "tuple"
1939
- },
1940
- {
1941
- "components": [
1942
- {
1943
- "internalType": "uint256",
1944
- "name": "chainId",
1945
- "type": "uint256"
1946
- },
1947
- {
1948
- "internalType": "uint256",
1949
- "name": "nonce",
1950
- "type": "uint256"
1951
- },
1952
- {
1953
- "internalType": "address",
1954
- "name": "handlerContract",
1955
- "type": "address"
1956
- },
1957
- {
1958
- "internalType": "bytes4",
1959
- "name": "handlerSelector",
1960
- "type": "bytes4"
1961
- },
1962
- {
1963
- "internalType": "enum EngineBlox.TxAction",
1964
- "name": "action",
1965
- "type": "uint8"
1966
- },
1967
- {
1968
- "internalType": "uint256",
1969
- "name": "deadline",
1970
- "type": "uint256"
1971
- },
1972
- {
1973
- "internalType": "uint256",
1974
- "name": "maxGasPrice",
1975
- "type": "uint256"
1976
- },
1977
- {
1978
- "internalType": "address",
1979
- "name": "signer",
1980
- "type": "address"
1981
- }
1982
- ],
1983
- "internalType": "struct EngineBlox.MetaTxParams",
1984
- "name": "params",
1985
- "type": "tuple"
1986
- },
1987
- {
1988
- "internalType": "bytes32",
1989
- "name": "message",
1990
- "type": "bytes32"
1991
- },
1992
- {
1993
- "internalType": "bytes",
1994
- "name": "signature",
1995
- "type": "bytes"
1996
- },
1997
- {
1998
- "internalType": "bytes",
1999
- "name": "data",
2000
- "type": "bytes"
2001
- }
2002
- ],
2003
- "internalType": "struct EngineBlox.MetaTransaction",
2004
- "name": "metaTx",
2005
- "type": "tuple"
2006
- }
2007
- ],
2008
- "name": "roleConfigBatchRequestAndApprove",
2009
- "outputs": [
2010
- {
2011
- "components": [
2012
- {
2013
- "internalType": "uint256",
2014
- "name": "txId",
2015
- "type": "uint256"
2016
- },
2017
- {
2018
- "internalType": "uint256",
2019
- "name": "releaseTime",
2020
- "type": "uint256"
2021
- },
2022
- {
2023
- "internalType": "enum EngineBlox.TxStatus",
2024
- "name": "status",
2025
- "type": "uint8"
2026
- },
2027
- {
2028
- "components": [
2029
- {
2030
- "internalType": "address",
2031
- "name": "requester",
2032
- "type": "address"
2033
- },
2034
- {
2035
- "internalType": "address",
2036
- "name": "target",
2037
- "type": "address"
2038
- },
2039
- {
2040
- "internalType": "uint256",
2041
- "name": "value",
2042
- "type": "uint256"
2043
- },
2044
- {
2045
- "internalType": "uint256",
2046
- "name": "gasLimit",
2047
- "type": "uint256"
2048
- },
2049
- {
2050
- "internalType": "bytes32",
2051
- "name": "operationType",
2052
- "type": "bytes32"
2053
- },
2054
- {
2055
- "internalType": "bytes4",
2056
- "name": "executionSelector",
2057
- "type": "bytes4"
2058
- },
2059
- {
2060
- "internalType": "bytes",
2061
- "name": "executionParams",
2062
- "type": "bytes"
2063
- }
2064
- ],
2065
- "internalType": "struct EngineBlox.TxParams",
2066
- "name": "params",
2067
- "type": "tuple"
2068
- },
2069
- {
2070
- "internalType": "bytes32",
2071
- "name": "message",
2072
- "type": "bytes32"
2073
- },
2074
- {
2075
- "internalType": "bytes",
2076
- "name": "result",
2077
- "type": "bytes"
2078
- },
2079
- {
2080
- "components": [
2081
- {
2082
- "internalType": "address",
2083
- "name": "recipient",
2084
- "type": "address"
2085
- },
2086
- {
2087
- "internalType": "uint256",
2088
- "name": "nativeTokenAmount",
2089
- "type": "uint256"
2090
- },
2091
- {
2092
- "internalType": "address",
2093
- "name": "erc20TokenAddress",
2094
- "type": "address"
2095
- },
2096
- {
2097
- "internalType": "uint256",
2098
- "name": "erc20TokenAmount",
2099
- "type": "uint256"
2100
- }
2101
- ],
2102
- "internalType": "struct EngineBlox.PaymentDetails",
2103
- "name": "payment",
2104
- "type": "tuple"
2105
- }
2106
- ],
2107
- "internalType": "struct EngineBlox.TxRecord",
2108
- "name": "",
2109
- "type": "tuple"
2110
- }
2111
- ],
2112
- "stateMutability": "nonpayable",
2113
- "type": "function"
2114
- },
2115
- {
2116
- "inputs": [
2117
- {
2118
- "components": [
2119
- {
2120
- "components": [
2121
- {
2122
- "internalType": "uint256",
2123
- "name": "txId",
2124
- "type": "uint256"
2125
- },
2126
- {
2127
- "internalType": "uint256",
2128
- "name": "releaseTime",
2129
- "type": "uint256"
2130
- },
2131
- {
2132
- "internalType": "enum EngineBlox.TxStatus",
2133
- "name": "status",
2134
- "type": "uint8"
2135
- },
2136
- {
2137
- "components": [
2138
- {
2139
- "internalType": "address",
2140
- "name": "requester",
2141
- "type": "address"
2142
- },
2143
- {
2144
- "internalType": "address",
2145
- "name": "target",
2146
- "type": "address"
2147
- },
2148
- {
2149
- "internalType": "uint256",
2150
- "name": "value",
2151
- "type": "uint256"
2152
- },
2153
- {
2154
- "internalType": "uint256",
2155
- "name": "gasLimit",
2156
- "type": "uint256"
2157
- },
2158
- {
2159
- "internalType": "bytes32",
2160
- "name": "operationType",
2161
- "type": "bytes32"
2162
- },
2163
- {
2164
- "internalType": "bytes4",
2165
- "name": "executionSelector",
2166
- "type": "bytes4"
2167
- },
2168
- {
2169
- "internalType": "bytes",
2170
- "name": "executionParams",
2171
- "type": "bytes"
2172
- }
2173
- ],
2174
- "internalType": "struct EngineBlox.TxParams",
2175
- "name": "params",
2176
- "type": "tuple"
2177
- },
2178
- {
2179
- "internalType": "bytes32",
2180
- "name": "message",
2181
- "type": "bytes32"
2182
- },
2183
- {
2184
- "internalType": "bytes",
2185
- "name": "result",
2186
- "type": "bytes"
2187
- },
2188
- {
2189
- "components": [
2190
- {
2191
- "internalType": "address",
2192
- "name": "recipient",
2193
- "type": "address"
2194
- },
2195
- {
2196
- "internalType": "uint256",
2197
- "name": "nativeTokenAmount",
2198
- "type": "uint256"
2199
- },
2200
- {
2201
- "internalType": "address",
2202
- "name": "erc20TokenAddress",
2203
- "type": "address"
2204
- },
2205
- {
2206
- "internalType": "uint256",
2207
- "name": "erc20TokenAmount",
2208
- "type": "uint256"
2209
- }
2210
- ],
2211
- "internalType": "struct EngineBlox.PaymentDetails",
2212
- "name": "payment",
2213
- "type": "tuple"
2214
- }
2215
- ],
2216
- "internalType": "struct EngineBlox.TxRecord",
2217
- "name": "txRecord",
2218
- "type": "tuple"
2219
- },
2220
- {
2221
- "components": [
2222
- {
2223
- "internalType": "uint256",
2224
- "name": "chainId",
2225
- "type": "uint256"
2226
- },
2227
- {
2228
- "internalType": "uint256",
2229
- "name": "nonce",
2230
- "type": "uint256"
2231
- },
2232
- {
2233
- "internalType": "address",
2234
- "name": "handlerContract",
2235
- "type": "address"
2236
- },
2237
- {
2238
- "internalType": "bytes4",
2239
- "name": "handlerSelector",
2240
- "type": "bytes4"
2241
- },
2242
- {
2243
- "internalType": "enum EngineBlox.TxAction",
2244
- "name": "action",
2245
- "type": "uint8"
2246
- },
2247
- {
2248
- "internalType": "uint256",
2249
- "name": "deadline",
2250
- "type": "uint256"
2251
- },
2252
- {
2253
- "internalType": "uint256",
2254
- "name": "maxGasPrice",
2255
- "type": "uint256"
2256
- },
2257
- {
2258
- "internalType": "address",
2259
- "name": "signer",
2260
- "type": "address"
2261
- }
2262
- ],
2263
- "internalType": "struct EngineBlox.MetaTxParams",
2264
- "name": "params",
2265
- "type": "tuple"
2266
- },
2267
- {
2268
- "internalType": "bytes32",
2269
- "name": "message",
2270
- "type": "bytes32"
2271
- },
2272
- {
2273
- "internalType": "bytes",
2274
- "name": "signature",
2275
- "type": "bytes"
2276
- },
2277
- {
2278
- "internalType": "bytes",
2279
- "name": "data",
2280
- "type": "bytes"
2281
- }
2282
- ],
2283
- "internalType": "struct EngineBlox.MetaTransaction",
2284
- "name": "metaTx",
2285
- "type": "tuple"
2286
- }
2287
- ],
2288
- "name": "transferOwnershipApprovalWithMetaTx",
2289
- "outputs": [
2290
- {
2291
- "components": [
2292
- {
2293
- "internalType": "uint256",
2294
- "name": "txId",
2295
- "type": "uint256"
2296
- },
2297
- {
2298
- "internalType": "uint256",
2299
- "name": "releaseTime",
2300
- "type": "uint256"
2301
- },
2302
- {
2303
- "internalType": "enum EngineBlox.TxStatus",
2304
- "name": "status",
2305
- "type": "uint8"
2306
- },
2307
- {
2308
- "components": [
2309
- {
2310
- "internalType": "address",
2311
- "name": "requester",
2312
- "type": "address"
2313
- },
2314
- {
2315
- "internalType": "address",
2316
- "name": "target",
2317
- "type": "address"
2318
- },
2319
- {
2320
- "internalType": "uint256",
2321
- "name": "value",
2322
- "type": "uint256"
2323
- },
2324
- {
2325
- "internalType": "uint256",
2326
- "name": "gasLimit",
2327
- "type": "uint256"
2328
- },
2329
- {
2330
- "internalType": "bytes32",
2331
- "name": "operationType",
2332
- "type": "bytes32"
2333
- },
2334
- {
2335
- "internalType": "bytes4",
2336
- "name": "executionSelector",
2337
- "type": "bytes4"
2338
- },
2339
- {
2340
- "internalType": "bytes",
2341
- "name": "executionParams",
2342
- "type": "bytes"
2343
- }
2344
- ],
2345
- "internalType": "struct EngineBlox.TxParams",
2346
- "name": "params",
2347
- "type": "tuple"
2348
- },
2349
- {
2350
- "internalType": "bytes32",
2351
- "name": "message",
2352
- "type": "bytes32"
2353
- },
2354
- {
2355
- "internalType": "bytes",
2356
- "name": "result",
2357
- "type": "bytes"
2358
- },
2359
- {
2360
- "components": [
2361
- {
2362
- "internalType": "address",
2363
- "name": "recipient",
2364
- "type": "address"
2365
- },
2366
- {
2367
- "internalType": "uint256",
2368
- "name": "nativeTokenAmount",
2369
- "type": "uint256"
2370
- },
2371
- {
2372
- "internalType": "address",
2373
- "name": "erc20TokenAddress",
2374
- "type": "address"
2375
- },
2376
- {
2377
- "internalType": "uint256",
2378
- "name": "erc20TokenAmount",
2379
- "type": "uint256"
2380
- }
2381
- ],
2382
- "internalType": "struct EngineBlox.PaymentDetails",
2383
- "name": "payment",
2384
- "type": "tuple"
2385
- }
2386
- ],
2387
- "internalType": "struct EngineBlox.TxRecord",
1171
+ "inputs": [],
1172
+ "name": "getTimeLockPeriodSec",
1173
+ "outputs": [
1174
+ {
1175
+ "internalType": "uint256",
2388
1176
  "name": "",
2389
- "type": "tuple"
1177
+ "type": "uint256"
2390
1178
  }
2391
1179
  ],
2392
- "stateMutability": "nonpayable",
1180
+ "stateMutability": "view",
2393
1181
  "type": "function"
2394
1182
  },
2395
1183
  {
@@ -2400,7 +1188,7 @@
2400
1188
  "type": "uint256"
2401
1189
  }
2402
1190
  ],
2403
- "name": "transferOwnershipCancellation",
1191
+ "name": "getTransaction",
2404
1192
  "outputs": [
2405
1193
  {
2406
1194
  "components": [
@@ -2504,183 +1292,23 @@
2504
1292
  "type": "tuple"
2505
1293
  }
2506
1294
  ],
2507
- "stateMutability": "nonpayable",
1295
+ "stateMutability": "view",
2508
1296
  "type": "function"
2509
1297
  },
2510
1298
  {
2511
1299
  "inputs": [
2512
1300
  {
2513
- "components": [
2514
- {
2515
- "components": [
2516
- {
2517
- "internalType": "uint256",
2518
- "name": "txId",
2519
- "type": "uint256"
2520
- },
2521
- {
2522
- "internalType": "uint256",
2523
- "name": "releaseTime",
2524
- "type": "uint256"
2525
- },
2526
- {
2527
- "internalType": "enum EngineBlox.TxStatus",
2528
- "name": "status",
2529
- "type": "uint8"
2530
- },
2531
- {
2532
- "components": [
2533
- {
2534
- "internalType": "address",
2535
- "name": "requester",
2536
- "type": "address"
2537
- },
2538
- {
2539
- "internalType": "address",
2540
- "name": "target",
2541
- "type": "address"
2542
- },
2543
- {
2544
- "internalType": "uint256",
2545
- "name": "value",
2546
- "type": "uint256"
2547
- },
2548
- {
2549
- "internalType": "uint256",
2550
- "name": "gasLimit",
2551
- "type": "uint256"
2552
- },
2553
- {
2554
- "internalType": "bytes32",
2555
- "name": "operationType",
2556
- "type": "bytes32"
2557
- },
2558
- {
2559
- "internalType": "bytes4",
2560
- "name": "executionSelector",
2561
- "type": "bytes4"
2562
- },
2563
- {
2564
- "internalType": "bytes",
2565
- "name": "executionParams",
2566
- "type": "bytes"
2567
- }
2568
- ],
2569
- "internalType": "struct EngineBlox.TxParams",
2570
- "name": "params",
2571
- "type": "tuple"
2572
- },
2573
- {
2574
- "internalType": "bytes32",
2575
- "name": "message",
2576
- "type": "bytes32"
2577
- },
2578
- {
2579
- "internalType": "bytes",
2580
- "name": "result",
2581
- "type": "bytes"
2582
- },
2583
- {
2584
- "components": [
2585
- {
2586
- "internalType": "address",
2587
- "name": "recipient",
2588
- "type": "address"
2589
- },
2590
- {
2591
- "internalType": "uint256",
2592
- "name": "nativeTokenAmount",
2593
- "type": "uint256"
2594
- },
2595
- {
2596
- "internalType": "address",
2597
- "name": "erc20TokenAddress",
2598
- "type": "address"
2599
- },
2600
- {
2601
- "internalType": "uint256",
2602
- "name": "erc20TokenAmount",
2603
- "type": "uint256"
2604
- }
2605
- ],
2606
- "internalType": "struct EngineBlox.PaymentDetails",
2607
- "name": "payment",
2608
- "type": "tuple"
2609
- }
2610
- ],
2611
- "internalType": "struct EngineBlox.TxRecord",
2612
- "name": "txRecord",
2613
- "type": "tuple"
2614
- },
2615
- {
2616
- "components": [
2617
- {
2618
- "internalType": "uint256",
2619
- "name": "chainId",
2620
- "type": "uint256"
2621
- },
2622
- {
2623
- "internalType": "uint256",
2624
- "name": "nonce",
2625
- "type": "uint256"
2626
- },
2627
- {
2628
- "internalType": "address",
2629
- "name": "handlerContract",
2630
- "type": "address"
2631
- },
2632
- {
2633
- "internalType": "bytes4",
2634
- "name": "handlerSelector",
2635
- "type": "bytes4"
2636
- },
2637
- {
2638
- "internalType": "enum EngineBlox.TxAction",
2639
- "name": "action",
2640
- "type": "uint8"
2641
- },
2642
- {
2643
- "internalType": "uint256",
2644
- "name": "deadline",
2645
- "type": "uint256"
2646
- },
2647
- {
2648
- "internalType": "uint256",
2649
- "name": "maxGasPrice",
2650
- "type": "uint256"
2651
- },
2652
- {
2653
- "internalType": "address",
2654
- "name": "signer",
2655
- "type": "address"
2656
- }
2657
- ],
2658
- "internalType": "struct EngineBlox.MetaTxParams",
2659
- "name": "params",
2660
- "type": "tuple"
2661
- },
2662
- {
2663
- "internalType": "bytes32",
2664
- "name": "message",
2665
- "type": "bytes32"
2666
- },
2667
- {
2668
- "internalType": "bytes",
2669
- "name": "signature",
2670
- "type": "bytes"
2671
- },
2672
- {
2673
- "internalType": "bytes",
2674
- "name": "data",
2675
- "type": "bytes"
2676
- }
2677
- ],
2678
- "internalType": "struct EngineBlox.MetaTransaction",
2679
- "name": "metaTx",
2680
- "type": "tuple"
1301
+ "internalType": "uint256",
1302
+ "name": "fromTxId",
1303
+ "type": "uint256"
1304
+ },
1305
+ {
1306
+ "internalType": "uint256",
1307
+ "name": "toTxId",
1308
+ "type": "uint256"
2681
1309
  }
2682
1310
  ],
2683
- "name": "transferOwnershipCancellationWithMetaTx",
1311
+ "name": "getTransactionHistory",
2684
1312
  "outputs": [
2685
1313
  {
2686
1314
  "components": [
@@ -2779,189 +1407,275 @@
2779
1407
  "type": "tuple"
2780
1408
  }
2781
1409
  ],
2782
- "internalType": "struct EngineBlox.TxRecord",
1410
+ "internalType": "struct EngineBlox.TxRecord[]",
1411
+ "name": "",
1412
+ "type": "tuple[]"
1413
+ }
1414
+ ],
1415
+ "stateMutability": "view",
1416
+ "type": "function"
1417
+ },
1418
+ {
1419
+ "inputs": [
1420
+ {
1421
+ "internalType": "address",
1422
+ "name": "wallet",
1423
+ "type": "address"
1424
+ }
1425
+ ],
1426
+ "name": "getWalletRoles",
1427
+ "outputs": [
1428
+ {
1429
+ "internalType": "bytes32[]",
1430
+ "name": "",
1431
+ "type": "bytes32[]"
1432
+ }
1433
+ ],
1434
+ "stateMutability": "view",
1435
+ "type": "function"
1436
+ },
1437
+ {
1438
+ "inputs": [
1439
+ {
1440
+ "internalType": "bytes32",
1441
+ "name": "roleHash",
1442
+ "type": "bytes32"
1443
+ }
1444
+ ],
1445
+ "name": "getWalletsInRole",
1446
+ "outputs": [
1447
+ {
1448
+ "internalType": "address[]",
1449
+ "name": "",
1450
+ "type": "address[]"
1451
+ }
1452
+ ],
1453
+ "stateMutability": "view",
1454
+ "type": "function"
1455
+ },
1456
+ {
1457
+ "inputs": [
1458
+ {
1459
+ "internalType": "bytes32",
1460
+ "name": "roleHash",
1461
+ "type": "bytes32"
1462
+ },
1463
+ {
1464
+ "internalType": "address",
1465
+ "name": "wallet",
1466
+ "type": "address"
1467
+ }
1468
+ ],
1469
+ "name": "hasRole",
1470
+ "outputs": [
1471
+ {
1472
+ "internalType": "bool",
1473
+ "name": "",
1474
+ "type": "bool"
1475
+ }
1476
+ ],
1477
+ "stateMutability": "view",
1478
+ "type": "function"
1479
+ },
1480
+ {
1481
+ "inputs": [],
1482
+ "name": "initialized",
1483
+ "outputs": [
1484
+ {
1485
+ "internalType": "bool",
2783
1486
  "name": "",
2784
- "type": "tuple"
1487
+ "type": "bool"
2785
1488
  }
2786
1489
  ],
2787
- "stateMutability": "nonpayable",
1490
+ "stateMutability": "view",
2788
1491
  "type": "function"
2789
1492
  },
2790
1493
  {
2791
1494
  "inputs": [
2792
1495
  {
2793
- "internalType": "uint256",
2794
- "name": "txId",
2795
- "type": "uint256"
1496
+ "internalType": "bytes4",
1497
+ "name": "functionSelector",
1498
+ "type": "bytes4"
1499
+ },
1500
+ {
1501
+ "internalType": "enum EngineBlox.TxAction",
1502
+ "name": "action",
1503
+ "type": "uint8"
2796
1504
  }
2797
1505
  ],
2798
- "name": "transferOwnershipDelayedApproval",
1506
+ "name": "isActionSupportedByFunction",
1507
+ "outputs": [
1508
+ {
1509
+ "internalType": "bool",
1510
+ "name": "",
1511
+ "type": "bool"
1512
+ }
1513
+ ],
1514
+ "stateMutability": "view",
1515
+ "type": "function"
1516
+ },
1517
+ {
1518
+ "inputs": [],
1519
+ "name": "owner",
2799
1520
  "outputs": [
1521
+ {
1522
+ "internalType": "address",
1523
+ "name": "",
1524
+ "type": "address"
1525
+ }
1526
+ ],
1527
+ "stateMutability": "view",
1528
+ "type": "function"
1529
+ },
1530
+ {
1531
+ "inputs": [
2800
1532
  {
2801
1533
  "components": [
2802
- {
2803
- "internalType": "uint256",
2804
- "name": "txId",
2805
- "type": "uint256"
2806
- },
2807
- {
2808
- "internalType": "uint256",
2809
- "name": "releaseTime",
2810
- "type": "uint256"
2811
- },
2812
- {
2813
- "internalType": "enum EngineBlox.TxStatus",
2814
- "name": "status",
2815
- "type": "uint8"
2816
- },
2817
1534
  {
2818
1535
  "components": [
2819
- {
2820
- "internalType": "address",
2821
- "name": "requester",
2822
- "type": "address"
2823
- },
2824
- {
2825
- "internalType": "address",
2826
- "name": "target",
2827
- "type": "address"
2828
- },
2829
1536
  {
2830
1537
  "internalType": "uint256",
2831
- "name": "value",
1538
+ "name": "txId",
2832
1539
  "type": "uint256"
2833
1540
  },
2834
1541
  {
2835
1542
  "internalType": "uint256",
2836
- "name": "gasLimit",
1543
+ "name": "releaseTime",
2837
1544
  "type": "uint256"
2838
1545
  },
2839
1546
  {
2840
- "internalType": "bytes32",
2841
- "name": "operationType",
2842
- "type": "bytes32"
1547
+ "internalType": "enum EngineBlox.TxStatus",
1548
+ "name": "status",
1549
+ "type": "uint8"
2843
1550
  },
2844
1551
  {
2845
- "internalType": "bytes4",
2846
- "name": "executionSelector",
2847
- "type": "bytes4"
1552
+ "components": [
1553
+ {
1554
+ "internalType": "address",
1555
+ "name": "requester",
1556
+ "type": "address"
1557
+ },
1558
+ {
1559
+ "internalType": "address",
1560
+ "name": "target",
1561
+ "type": "address"
1562
+ },
1563
+ {
1564
+ "internalType": "uint256",
1565
+ "name": "value",
1566
+ "type": "uint256"
1567
+ },
1568
+ {
1569
+ "internalType": "uint256",
1570
+ "name": "gasLimit",
1571
+ "type": "uint256"
1572
+ },
1573
+ {
1574
+ "internalType": "bytes32",
1575
+ "name": "operationType",
1576
+ "type": "bytes32"
1577
+ },
1578
+ {
1579
+ "internalType": "bytes4",
1580
+ "name": "executionSelector",
1581
+ "type": "bytes4"
1582
+ },
1583
+ {
1584
+ "internalType": "bytes",
1585
+ "name": "executionParams",
1586
+ "type": "bytes"
1587
+ }
1588
+ ],
1589
+ "internalType": "struct EngineBlox.TxParams",
1590
+ "name": "params",
1591
+ "type": "tuple"
1592
+ },
1593
+ {
1594
+ "internalType": "bytes32",
1595
+ "name": "message",
1596
+ "type": "bytes32"
2848
1597
  },
2849
1598
  {
2850
1599
  "internalType": "bytes",
2851
- "name": "executionParams",
1600
+ "name": "result",
2852
1601
  "type": "bytes"
1602
+ },
1603
+ {
1604
+ "components": [
1605
+ {
1606
+ "internalType": "address",
1607
+ "name": "recipient",
1608
+ "type": "address"
1609
+ },
1610
+ {
1611
+ "internalType": "uint256",
1612
+ "name": "nativeTokenAmount",
1613
+ "type": "uint256"
1614
+ },
1615
+ {
1616
+ "internalType": "address",
1617
+ "name": "erc20TokenAddress",
1618
+ "type": "address"
1619
+ },
1620
+ {
1621
+ "internalType": "uint256",
1622
+ "name": "erc20TokenAmount",
1623
+ "type": "uint256"
1624
+ }
1625
+ ],
1626
+ "internalType": "struct EngineBlox.PaymentDetails",
1627
+ "name": "payment",
1628
+ "type": "tuple"
2853
1629
  }
2854
1630
  ],
2855
- "internalType": "struct EngineBlox.TxParams",
2856
- "name": "params",
1631
+ "internalType": "struct EngineBlox.TxRecord",
1632
+ "name": "txRecord",
2857
1633
  "type": "tuple"
2858
1634
  },
2859
- {
2860
- "internalType": "bytes32",
2861
- "name": "message",
2862
- "type": "bytes32"
2863
- },
2864
- {
2865
- "internalType": "bytes",
2866
- "name": "result",
2867
- "type": "bytes"
2868
- },
2869
1635
  {
2870
1636
  "components": [
2871
- {
2872
- "internalType": "address",
2873
- "name": "recipient",
2874
- "type": "address"
2875
- },
2876
1637
  {
2877
1638
  "internalType": "uint256",
2878
- "name": "nativeTokenAmount",
1639
+ "name": "chainId",
2879
1640
  "type": "uint256"
2880
1641
  },
2881
- {
2882
- "internalType": "address",
2883
- "name": "erc20TokenAddress",
2884
- "type": "address"
2885
- },
2886
1642
  {
2887
1643
  "internalType": "uint256",
2888
- "name": "erc20TokenAmount",
1644
+ "name": "nonce",
2889
1645
  "type": "uint256"
2890
- }
2891
- ],
2892
- "internalType": "struct EngineBlox.PaymentDetails",
2893
- "name": "payment",
2894
- "type": "tuple"
2895
- }
2896
- ],
2897
- "internalType": "struct EngineBlox.TxRecord",
2898
- "name": "",
2899
- "type": "tuple"
2900
- }
2901
- ],
2902
- "stateMutability": "nonpayable",
2903
- "type": "function"
2904
- },
2905
- {
2906
- "inputs": [],
2907
- "name": "transferOwnershipRequest",
2908
- "outputs": [
2909
- {
2910
- "components": [
2911
- {
2912
- "internalType": "uint256",
2913
- "name": "txId",
2914
- "type": "uint256"
2915
- },
2916
- {
2917
- "internalType": "uint256",
2918
- "name": "releaseTime",
2919
- "type": "uint256"
2920
- },
2921
- {
2922
- "internalType": "enum EngineBlox.TxStatus",
2923
- "name": "status",
2924
- "type": "uint8"
2925
- },
2926
- {
2927
- "components": [
1646
+ },
2928
1647
  {
2929
1648
  "internalType": "address",
2930
- "name": "requester",
1649
+ "name": "handlerContract",
2931
1650
  "type": "address"
2932
1651
  },
2933
1652
  {
2934
- "internalType": "address",
2935
- "name": "target",
2936
- "type": "address"
1653
+ "internalType": "bytes4",
1654
+ "name": "handlerSelector",
1655
+ "type": "bytes4"
2937
1656
  },
2938
1657
  {
2939
- "internalType": "uint256",
2940
- "name": "value",
2941
- "type": "uint256"
1658
+ "internalType": "enum EngineBlox.TxAction",
1659
+ "name": "action",
1660
+ "type": "uint8"
2942
1661
  },
2943
1662
  {
2944
1663
  "internalType": "uint256",
2945
- "name": "gasLimit",
1664
+ "name": "deadline",
2946
1665
  "type": "uint256"
2947
1666
  },
2948
1667
  {
2949
- "internalType": "bytes32",
2950
- "name": "operationType",
2951
- "type": "bytes32"
2952
- },
2953
- {
2954
- "internalType": "bytes4",
2955
- "name": "executionSelector",
2956
- "type": "bytes4"
1668
+ "internalType": "uint256",
1669
+ "name": "maxGasPrice",
1670
+ "type": "uint256"
2957
1671
  },
2958
1672
  {
2959
- "internalType": "bytes",
2960
- "name": "executionParams",
2961
- "type": "bytes"
1673
+ "internalType": "address",
1674
+ "name": "signer",
1675
+ "type": "address"
2962
1676
  }
2963
1677
  ],
2964
- "internalType": "struct EngineBlox.TxParams",
1678
+ "internalType": "struct EngineBlox.MetaTxParams",
2965
1679
  "name": "params",
2966
1680
  "type": "tuple"
2967
1681
  },
@@ -2972,42 +1686,28 @@
2972
1686
  },
2973
1687
  {
2974
1688
  "internalType": "bytes",
2975
- "name": "result",
1689
+ "name": "signature",
2976
1690
  "type": "bytes"
2977
1691
  },
2978
1692
  {
2979
- "components": [
2980
- {
2981
- "internalType": "address",
2982
- "name": "recipient",
2983
- "type": "address"
2984
- },
2985
- {
2986
- "internalType": "uint256",
2987
- "name": "nativeTokenAmount",
2988
- "type": "uint256"
2989
- },
2990
- {
2991
- "internalType": "address",
2992
- "name": "erc20TokenAddress",
2993
- "type": "address"
2994
- },
2995
- {
2996
- "internalType": "uint256",
2997
- "name": "erc20TokenAmount",
2998
- "type": "uint256"
2999
- }
3000
- ],
3001
- "internalType": "struct EngineBlox.PaymentDetails",
3002
- "name": "payment",
3003
- "type": "tuple"
1693
+ "internalType": "bytes",
1694
+ "name": "data",
1695
+ "type": "bytes"
3004
1696
  }
3005
1697
  ],
3006
- "internalType": "struct EngineBlox.TxRecord",
3007
- "name": "",
1698
+ "internalType": "struct EngineBlox.MetaTransaction",
1699
+ "name": "metaTx",
3008
1700
  "type": "tuple"
3009
1701
  }
3010
1702
  ],
1703
+ "name": "roleConfigBatchRequestAndApprove",
1704
+ "outputs": [
1705
+ {
1706
+ "internalType": "uint256",
1707
+ "name": "",
1708
+ "type": "uint256"
1709
+ }
1710
+ ],
3011
1711
  "stateMutability": "nonpayable",
3012
1712
  "type": "function"
3013
1713
  },
@@ -3184,108 +1884,12 @@
3184
1884
  "type": "tuple"
3185
1885
  }
3186
1886
  ],
3187
- "name": "updateBroadcasterApprovalWithMetaTx",
1887
+ "name": "transferOwnershipApprovalWithMetaTx",
3188
1888
  "outputs": [
3189
1889
  {
3190
- "components": [
3191
- {
3192
- "internalType": "uint256",
3193
- "name": "txId",
3194
- "type": "uint256"
3195
- },
3196
- {
3197
- "internalType": "uint256",
3198
- "name": "releaseTime",
3199
- "type": "uint256"
3200
- },
3201
- {
3202
- "internalType": "enum EngineBlox.TxStatus",
3203
- "name": "status",
3204
- "type": "uint8"
3205
- },
3206
- {
3207
- "components": [
3208
- {
3209
- "internalType": "address",
3210
- "name": "requester",
3211
- "type": "address"
3212
- },
3213
- {
3214
- "internalType": "address",
3215
- "name": "target",
3216
- "type": "address"
3217
- },
3218
- {
3219
- "internalType": "uint256",
3220
- "name": "value",
3221
- "type": "uint256"
3222
- },
3223
- {
3224
- "internalType": "uint256",
3225
- "name": "gasLimit",
3226
- "type": "uint256"
3227
- },
3228
- {
3229
- "internalType": "bytes32",
3230
- "name": "operationType",
3231
- "type": "bytes32"
3232
- },
3233
- {
3234
- "internalType": "bytes4",
3235
- "name": "executionSelector",
3236
- "type": "bytes4"
3237
- },
3238
- {
3239
- "internalType": "bytes",
3240
- "name": "executionParams",
3241
- "type": "bytes"
3242
- }
3243
- ],
3244
- "internalType": "struct EngineBlox.TxParams",
3245
- "name": "params",
3246
- "type": "tuple"
3247
- },
3248
- {
3249
- "internalType": "bytes32",
3250
- "name": "message",
3251
- "type": "bytes32"
3252
- },
3253
- {
3254
- "internalType": "bytes",
3255
- "name": "result",
3256
- "type": "bytes"
3257
- },
3258
- {
3259
- "components": [
3260
- {
3261
- "internalType": "address",
3262
- "name": "recipient",
3263
- "type": "address"
3264
- },
3265
- {
3266
- "internalType": "uint256",
3267
- "name": "nativeTokenAmount",
3268
- "type": "uint256"
3269
- },
3270
- {
3271
- "internalType": "address",
3272
- "name": "erc20TokenAddress",
3273
- "type": "address"
3274
- },
3275
- {
3276
- "internalType": "uint256",
3277
- "name": "erc20TokenAmount",
3278
- "type": "uint256"
3279
- }
3280
- ],
3281
- "internalType": "struct EngineBlox.PaymentDetails",
3282
- "name": "payment",
3283
- "type": "tuple"
3284
- }
3285
- ],
3286
- "internalType": "struct EngineBlox.TxRecord",
1890
+ "internalType": "uint256",
3287
1891
  "name": "",
3288
- "type": "tuple"
1892
+ "type": "uint256"
3289
1893
  }
3290
1894
  ],
3291
1895
  "stateMutability": "nonpayable",
@@ -3299,108 +1903,12 @@
3299
1903
  "type": "uint256"
3300
1904
  }
3301
1905
  ],
3302
- "name": "updateBroadcasterCancellation",
1906
+ "name": "transferOwnershipCancellation",
3303
1907
  "outputs": [
3304
1908
  {
3305
- "components": [
3306
- {
3307
- "internalType": "uint256",
3308
- "name": "txId",
3309
- "type": "uint256"
3310
- },
3311
- {
3312
- "internalType": "uint256",
3313
- "name": "releaseTime",
3314
- "type": "uint256"
3315
- },
3316
- {
3317
- "internalType": "enum EngineBlox.TxStatus",
3318
- "name": "status",
3319
- "type": "uint8"
3320
- },
3321
- {
3322
- "components": [
3323
- {
3324
- "internalType": "address",
3325
- "name": "requester",
3326
- "type": "address"
3327
- },
3328
- {
3329
- "internalType": "address",
3330
- "name": "target",
3331
- "type": "address"
3332
- },
3333
- {
3334
- "internalType": "uint256",
3335
- "name": "value",
3336
- "type": "uint256"
3337
- },
3338
- {
3339
- "internalType": "uint256",
3340
- "name": "gasLimit",
3341
- "type": "uint256"
3342
- },
3343
- {
3344
- "internalType": "bytes32",
3345
- "name": "operationType",
3346
- "type": "bytes32"
3347
- },
3348
- {
3349
- "internalType": "bytes4",
3350
- "name": "executionSelector",
3351
- "type": "bytes4"
3352
- },
3353
- {
3354
- "internalType": "bytes",
3355
- "name": "executionParams",
3356
- "type": "bytes"
3357
- }
3358
- ],
3359
- "internalType": "struct EngineBlox.TxParams",
3360
- "name": "params",
3361
- "type": "tuple"
3362
- },
3363
- {
3364
- "internalType": "bytes32",
3365
- "name": "message",
3366
- "type": "bytes32"
3367
- },
3368
- {
3369
- "internalType": "bytes",
3370
- "name": "result",
3371
- "type": "bytes"
3372
- },
3373
- {
3374
- "components": [
3375
- {
3376
- "internalType": "address",
3377
- "name": "recipient",
3378
- "type": "address"
3379
- },
3380
- {
3381
- "internalType": "uint256",
3382
- "name": "nativeTokenAmount",
3383
- "type": "uint256"
3384
- },
3385
- {
3386
- "internalType": "address",
3387
- "name": "erc20TokenAddress",
3388
- "type": "address"
3389
- },
3390
- {
3391
- "internalType": "uint256",
3392
- "name": "erc20TokenAmount",
3393
- "type": "uint256"
3394
- }
3395
- ],
3396
- "internalType": "struct EngineBlox.PaymentDetails",
3397
- "name": "payment",
3398
- "type": "tuple"
3399
- }
3400
- ],
3401
- "internalType": "struct EngineBlox.TxRecord",
1909
+ "internalType": "uint256",
3402
1910
  "name": "",
3403
- "type": "tuple"
1911
+ "type": "uint256"
3404
1912
  }
3405
1913
  ],
3406
1914
  "stateMutability": "nonpayable",
@@ -3579,179 +2087,198 @@
3579
2087
  "type": "tuple"
3580
2088
  }
3581
2089
  ],
3582
- "name": "updateBroadcasterCancellationWithMetaTx",
2090
+ "name": "transferOwnershipCancellationWithMetaTx",
2091
+ "outputs": [
2092
+ {
2093
+ "internalType": "uint256",
2094
+ "name": "",
2095
+ "type": "uint256"
2096
+ }
2097
+ ],
2098
+ "stateMutability": "nonpayable",
2099
+ "type": "function"
2100
+ },
2101
+ {
2102
+ "inputs": [
2103
+ {
2104
+ "internalType": "uint256",
2105
+ "name": "txId",
2106
+ "type": "uint256"
2107
+ }
2108
+ ],
2109
+ "name": "transferOwnershipDelayedApproval",
2110
+ "outputs": [
2111
+ {
2112
+ "internalType": "uint256",
2113
+ "name": "",
2114
+ "type": "uint256"
2115
+ }
2116
+ ],
2117
+ "stateMutability": "nonpayable",
2118
+ "type": "function"
2119
+ },
2120
+ {
2121
+ "inputs": [],
2122
+ "name": "transferOwnershipRequest",
3583
2123
  "outputs": [
2124
+ {
2125
+ "internalType": "uint256",
2126
+ "name": "txId",
2127
+ "type": "uint256"
2128
+ }
2129
+ ],
2130
+ "stateMutability": "nonpayable",
2131
+ "type": "function"
2132
+ },
2133
+ {
2134
+ "inputs": [
3584
2135
  {
3585
2136
  "components": [
3586
- {
3587
- "internalType": "uint256",
3588
- "name": "txId",
3589
- "type": "uint256"
3590
- },
3591
- {
3592
- "internalType": "uint256",
3593
- "name": "releaseTime",
3594
- "type": "uint256"
3595
- },
3596
- {
3597
- "internalType": "enum EngineBlox.TxStatus",
3598
- "name": "status",
3599
- "type": "uint8"
3600
- },
3601
2137
  {
3602
2138
  "components": [
3603
- {
3604
- "internalType": "address",
3605
- "name": "requester",
3606
- "type": "address"
3607
- },
3608
- {
3609
- "internalType": "address",
3610
- "name": "target",
3611
- "type": "address"
3612
- },
3613
2139
  {
3614
2140
  "internalType": "uint256",
3615
- "name": "value",
2141
+ "name": "txId",
3616
2142
  "type": "uint256"
3617
2143
  },
3618
2144
  {
3619
2145
  "internalType": "uint256",
3620
- "name": "gasLimit",
2146
+ "name": "releaseTime",
3621
2147
  "type": "uint256"
3622
2148
  },
3623
2149
  {
3624
- "internalType": "bytes32",
3625
- "name": "operationType",
3626
- "type": "bytes32"
2150
+ "internalType": "enum EngineBlox.TxStatus",
2151
+ "name": "status",
2152
+ "type": "uint8"
3627
2153
  },
3628
2154
  {
3629
- "internalType": "bytes4",
3630
- "name": "executionSelector",
3631
- "type": "bytes4"
2155
+ "components": [
2156
+ {
2157
+ "internalType": "address",
2158
+ "name": "requester",
2159
+ "type": "address"
2160
+ },
2161
+ {
2162
+ "internalType": "address",
2163
+ "name": "target",
2164
+ "type": "address"
2165
+ },
2166
+ {
2167
+ "internalType": "uint256",
2168
+ "name": "value",
2169
+ "type": "uint256"
2170
+ },
2171
+ {
2172
+ "internalType": "uint256",
2173
+ "name": "gasLimit",
2174
+ "type": "uint256"
2175
+ },
2176
+ {
2177
+ "internalType": "bytes32",
2178
+ "name": "operationType",
2179
+ "type": "bytes32"
2180
+ },
2181
+ {
2182
+ "internalType": "bytes4",
2183
+ "name": "executionSelector",
2184
+ "type": "bytes4"
2185
+ },
2186
+ {
2187
+ "internalType": "bytes",
2188
+ "name": "executionParams",
2189
+ "type": "bytes"
2190
+ }
2191
+ ],
2192
+ "internalType": "struct EngineBlox.TxParams",
2193
+ "name": "params",
2194
+ "type": "tuple"
2195
+ },
2196
+ {
2197
+ "internalType": "bytes32",
2198
+ "name": "message",
2199
+ "type": "bytes32"
3632
2200
  },
3633
2201
  {
3634
2202
  "internalType": "bytes",
3635
- "name": "executionParams",
2203
+ "name": "result",
3636
2204
  "type": "bytes"
2205
+ },
2206
+ {
2207
+ "components": [
2208
+ {
2209
+ "internalType": "address",
2210
+ "name": "recipient",
2211
+ "type": "address"
2212
+ },
2213
+ {
2214
+ "internalType": "uint256",
2215
+ "name": "nativeTokenAmount",
2216
+ "type": "uint256"
2217
+ },
2218
+ {
2219
+ "internalType": "address",
2220
+ "name": "erc20TokenAddress",
2221
+ "type": "address"
2222
+ },
2223
+ {
2224
+ "internalType": "uint256",
2225
+ "name": "erc20TokenAmount",
2226
+ "type": "uint256"
2227
+ }
2228
+ ],
2229
+ "internalType": "struct EngineBlox.PaymentDetails",
2230
+ "name": "payment",
2231
+ "type": "tuple"
3637
2232
  }
3638
2233
  ],
3639
- "internalType": "struct EngineBlox.TxParams",
3640
- "name": "params",
2234
+ "internalType": "struct EngineBlox.TxRecord",
2235
+ "name": "txRecord",
3641
2236
  "type": "tuple"
3642
2237
  },
3643
- {
3644
- "internalType": "bytes32",
3645
- "name": "message",
3646
- "type": "bytes32"
3647
- },
3648
- {
3649
- "internalType": "bytes",
3650
- "name": "result",
3651
- "type": "bytes"
3652
- },
3653
2238
  {
3654
2239
  "components": [
3655
- {
3656
- "internalType": "address",
3657
- "name": "recipient",
3658
- "type": "address"
3659
- },
3660
2240
  {
3661
2241
  "internalType": "uint256",
3662
- "name": "nativeTokenAmount",
2242
+ "name": "chainId",
3663
2243
  "type": "uint256"
3664
2244
  },
3665
- {
3666
- "internalType": "address",
3667
- "name": "erc20TokenAddress",
3668
- "type": "address"
3669
- },
3670
2245
  {
3671
2246
  "internalType": "uint256",
3672
- "name": "erc20TokenAmount",
2247
+ "name": "nonce",
3673
2248
  "type": "uint256"
3674
- }
3675
- ],
3676
- "internalType": "struct EngineBlox.PaymentDetails",
3677
- "name": "payment",
3678
- "type": "tuple"
3679
- }
3680
- ],
3681
- "internalType": "struct EngineBlox.TxRecord",
3682
- "name": "",
3683
- "type": "tuple"
3684
- }
3685
- ],
3686
- "stateMutability": "nonpayable",
3687
- "type": "function"
3688
- },
3689
- {
3690
- "inputs": [
3691
- {
3692
- "internalType": "uint256",
3693
- "name": "txId",
3694
- "type": "uint256"
3695
- }
3696
- ],
3697
- "name": "updateBroadcasterDelayedApproval",
3698
- "outputs": [
3699
- {
3700
- "components": [
3701
- {
3702
- "internalType": "uint256",
3703
- "name": "txId",
3704
- "type": "uint256"
3705
- },
3706
- {
3707
- "internalType": "uint256",
3708
- "name": "releaseTime",
3709
- "type": "uint256"
3710
- },
3711
- {
3712
- "internalType": "enum EngineBlox.TxStatus",
3713
- "name": "status",
3714
- "type": "uint8"
3715
- },
3716
- {
3717
- "components": [
2249
+ },
3718
2250
  {
3719
2251
  "internalType": "address",
3720
- "name": "requester",
2252
+ "name": "handlerContract",
3721
2253
  "type": "address"
3722
2254
  },
3723
2255
  {
3724
- "internalType": "address",
3725
- "name": "target",
3726
- "type": "address"
2256
+ "internalType": "bytes4",
2257
+ "name": "handlerSelector",
2258
+ "type": "bytes4"
3727
2259
  },
3728
2260
  {
3729
- "internalType": "uint256",
3730
- "name": "value",
3731
- "type": "uint256"
2261
+ "internalType": "enum EngineBlox.TxAction",
2262
+ "name": "action",
2263
+ "type": "uint8"
3732
2264
  },
3733
2265
  {
3734
2266
  "internalType": "uint256",
3735
- "name": "gasLimit",
2267
+ "name": "deadline",
3736
2268
  "type": "uint256"
3737
2269
  },
3738
2270
  {
3739
- "internalType": "bytes32",
3740
- "name": "operationType",
3741
- "type": "bytes32"
3742
- },
3743
- {
3744
- "internalType": "bytes4",
3745
- "name": "executionSelector",
3746
- "type": "bytes4"
2271
+ "internalType": "uint256",
2272
+ "name": "maxGasPrice",
2273
+ "type": "uint256"
3747
2274
  },
3748
2275
  {
3749
- "internalType": "bytes",
3750
- "name": "executionParams",
3751
- "type": "bytes"
2276
+ "internalType": "address",
2277
+ "name": "signer",
2278
+ "type": "address"
3752
2279
  }
3753
2280
  ],
3754
- "internalType": "struct EngineBlox.TxParams",
2281
+ "internalType": "struct EngineBlox.MetaTxParams",
3755
2282
  "name": "params",
3756
2283
  "type": "tuple"
3757
2284
  },
@@ -3762,155 +2289,248 @@
3762
2289
  },
3763
2290
  {
3764
2291
  "internalType": "bytes",
3765
- "name": "result",
2292
+ "name": "signature",
3766
2293
  "type": "bytes"
3767
2294
  },
3768
2295
  {
3769
- "components": [
3770
- {
3771
- "internalType": "address",
3772
- "name": "recipient",
3773
- "type": "address"
3774
- },
3775
- {
3776
- "internalType": "uint256",
3777
- "name": "nativeTokenAmount",
3778
- "type": "uint256"
3779
- },
3780
- {
3781
- "internalType": "address",
3782
- "name": "erc20TokenAddress",
3783
- "type": "address"
3784
- },
3785
- {
3786
- "internalType": "uint256",
3787
- "name": "erc20TokenAmount",
3788
- "type": "uint256"
3789
- }
3790
- ],
3791
- "internalType": "struct EngineBlox.PaymentDetails",
3792
- "name": "payment",
3793
- "type": "tuple"
2296
+ "internalType": "bytes",
2297
+ "name": "data",
2298
+ "type": "bytes"
3794
2299
  }
3795
2300
  ],
3796
- "internalType": "struct EngineBlox.TxRecord",
3797
- "name": "",
2301
+ "internalType": "struct EngineBlox.MetaTransaction",
2302
+ "name": "metaTx",
3798
2303
  "type": "tuple"
3799
2304
  }
3800
2305
  ],
2306
+ "name": "updateBroadcasterApprovalWithMetaTx",
2307
+ "outputs": [
2308
+ {
2309
+ "internalType": "uint256",
2310
+ "name": "",
2311
+ "type": "uint256"
2312
+ }
2313
+ ],
3801
2314
  "stateMutability": "nonpayable",
3802
2315
  "type": "function"
3803
2316
  },
3804
2317
  {
3805
2318
  "inputs": [
3806
2319
  {
3807
- "internalType": "address",
3808
- "name": "newBroadcaster",
3809
- "type": "address"
2320
+ "internalType": "uint256",
2321
+ "name": "txId",
2322
+ "type": "uint256"
3810
2323
  }
3811
2324
  ],
3812
- "name": "updateBroadcasterRequest",
2325
+ "name": "updateBroadcasterCancellation",
3813
2326
  "outputs": [
2327
+ {
2328
+ "internalType": "uint256",
2329
+ "name": "",
2330
+ "type": "uint256"
2331
+ }
2332
+ ],
2333
+ "stateMutability": "nonpayable",
2334
+ "type": "function"
2335
+ },
2336
+ {
2337
+ "inputs": [
3814
2338
  {
3815
2339
  "components": [
3816
- {
3817
- "internalType": "uint256",
3818
- "name": "txId",
3819
- "type": "uint256"
3820
- },
3821
- {
3822
- "internalType": "uint256",
3823
- "name": "releaseTime",
3824
- "type": "uint256"
3825
- },
3826
- {
3827
- "internalType": "enum EngineBlox.TxStatus",
3828
- "name": "status",
3829
- "type": "uint8"
3830
- },
3831
2340
  {
3832
2341
  "components": [
3833
- {
3834
- "internalType": "address",
3835
- "name": "requester",
3836
- "type": "address"
3837
- },
3838
- {
3839
- "internalType": "address",
3840
- "name": "target",
3841
- "type": "address"
3842
- },
3843
2342
  {
3844
2343
  "internalType": "uint256",
3845
- "name": "value",
2344
+ "name": "txId",
3846
2345
  "type": "uint256"
3847
2346
  },
3848
2347
  {
3849
2348
  "internalType": "uint256",
3850
- "name": "gasLimit",
2349
+ "name": "releaseTime",
3851
2350
  "type": "uint256"
3852
2351
  },
3853
2352
  {
3854
- "internalType": "bytes32",
3855
- "name": "operationType",
3856
- "type": "bytes32"
2353
+ "internalType": "enum EngineBlox.TxStatus",
2354
+ "name": "status",
2355
+ "type": "uint8"
3857
2356
  },
3858
2357
  {
3859
- "internalType": "bytes4",
3860
- "name": "executionSelector",
3861
- "type": "bytes4"
2358
+ "components": [
2359
+ {
2360
+ "internalType": "address",
2361
+ "name": "requester",
2362
+ "type": "address"
2363
+ },
2364
+ {
2365
+ "internalType": "address",
2366
+ "name": "target",
2367
+ "type": "address"
2368
+ },
2369
+ {
2370
+ "internalType": "uint256",
2371
+ "name": "value",
2372
+ "type": "uint256"
2373
+ },
2374
+ {
2375
+ "internalType": "uint256",
2376
+ "name": "gasLimit",
2377
+ "type": "uint256"
2378
+ },
2379
+ {
2380
+ "internalType": "bytes32",
2381
+ "name": "operationType",
2382
+ "type": "bytes32"
2383
+ },
2384
+ {
2385
+ "internalType": "bytes4",
2386
+ "name": "executionSelector",
2387
+ "type": "bytes4"
2388
+ },
2389
+ {
2390
+ "internalType": "bytes",
2391
+ "name": "executionParams",
2392
+ "type": "bytes"
2393
+ }
2394
+ ],
2395
+ "internalType": "struct EngineBlox.TxParams",
2396
+ "name": "params",
2397
+ "type": "tuple"
2398
+ },
2399
+ {
2400
+ "internalType": "bytes32",
2401
+ "name": "message",
2402
+ "type": "bytes32"
3862
2403
  },
3863
2404
  {
3864
2405
  "internalType": "bytes",
3865
- "name": "executionParams",
2406
+ "name": "result",
3866
2407
  "type": "bytes"
2408
+ },
2409
+ {
2410
+ "components": [
2411
+ {
2412
+ "internalType": "address",
2413
+ "name": "recipient",
2414
+ "type": "address"
2415
+ },
2416
+ {
2417
+ "internalType": "uint256",
2418
+ "name": "nativeTokenAmount",
2419
+ "type": "uint256"
2420
+ },
2421
+ {
2422
+ "internalType": "address",
2423
+ "name": "erc20TokenAddress",
2424
+ "type": "address"
2425
+ },
2426
+ {
2427
+ "internalType": "uint256",
2428
+ "name": "erc20TokenAmount",
2429
+ "type": "uint256"
2430
+ }
2431
+ ],
2432
+ "internalType": "struct EngineBlox.PaymentDetails",
2433
+ "name": "payment",
2434
+ "type": "tuple"
3867
2435
  }
3868
2436
  ],
3869
- "internalType": "struct EngineBlox.TxParams",
3870
- "name": "params",
2437
+ "internalType": "struct EngineBlox.TxRecord",
2438
+ "name": "txRecord",
3871
2439
  "type": "tuple"
3872
2440
  },
3873
- {
3874
- "internalType": "bytes32",
3875
- "name": "message",
3876
- "type": "bytes32"
3877
- },
3878
- {
3879
- "internalType": "bytes",
3880
- "name": "result",
3881
- "type": "bytes"
3882
- },
3883
2441
  {
3884
2442
  "components": [
3885
2443
  {
3886
- "internalType": "address",
3887
- "name": "recipient",
3888
- "type": "address"
2444
+ "internalType": "uint256",
2445
+ "name": "chainId",
2446
+ "type": "uint256"
3889
2447
  },
3890
2448
  {
3891
2449
  "internalType": "uint256",
3892
- "name": "nativeTokenAmount",
2450
+ "name": "nonce",
3893
2451
  "type": "uint256"
3894
2452
  },
3895
2453
  {
3896
2454
  "internalType": "address",
3897
- "name": "erc20TokenAddress",
2455
+ "name": "handlerContract",
3898
2456
  "type": "address"
3899
2457
  },
2458
+ {
2459
+ "internalType": "bytes4",
2460
+ "name": "handlerSelector",
2461
+ "type": "bytes4"
2462
+ },
2463
+ {
2464
+ "internalType": "enum EngineBlox.TxAction",
2465
+ "name": "action",
2466
+ "type": "uint8"
2467
+ },
3900
2468
  {
3901
2469
  "internalType": "uint256",
3902
- "name": "erc20TokenAmount",
2470
+ "name": "deadline",
2471
+ "type": "uint256"
2472
+ },
2473
+ {
2474
+ "internalType": "uint256",
2475
+ "name": "maxGasPrice",
3903
2476
  "type": "uint256"
2477
+ },
2478
+ {
2479
+ "internalType": "address",
2480
+ "name": "signer",
2481
+ "type": "address"
3904
2482
  }
3905
2483
  ],
3906
- "internalType": "struct EngineBlox.PaymentDetails",
3907
- "name": "payment",
2484
+ "internalType": "struct EngineBlox.MetaTxParams",
2485
+ "name": "params",
3908
2486
  "type": "tuple"
2487
+ },
2488
+ {
2489
+ "internalType": "bytes32",
2490
+ "name": "message",
2491
+ "type": "bytes32"
2492
+ },
2493
+ {
2494
+ "internalType": "bytes",
2495
+ "name": "signature",
2496
+ "type": "bytes"
2497
+ },
2498
+ {
2499
+ "internalType": "bytes",
2500
+ "name": "data",
2501
+ "type": "bytes"
3909
2502
  }
3910
2503
  ],
3911
- "internalType": "struct EngineBlox.TxRecord",
2504
+ "internalType": "struct EngineBlox.MetaTransaction",
2505
+ "name": "metaTx",
2506
+ "type": "tuple"
2507
+ }
2508
+ ],
2509
+ "name": "updateBroadcasterCancellationWithMetaTx",
2510
+ "outputs": [
2511
+ {
2512
+ "internalType": "uint256",
3912
2513
  "name": "",
3913
- "type": "tuple"
2514
+ "type": "uint256"
2515
+ }
2516
+ ],
2517
+ "stateMutability": "nonpayable",
2518
+ "type": "function"
2519
+ },
2520
+ {
2521
+ "inputs": [
2522
+ {
2523
+ "internalType": "uint256",
2524
+ "name": "txId",
2525
+ "type": "uint256"
2526
+ }
2527
+ ],
2528
+ "name": "updateBroadcasterDelayedApproval",
2529
+ "outputs": [
2530
+ {
2531
+ "internalType": "uint256",
2532
+ "name": "",
2533
+ "type": "uint256"
3914
2534
  }
3915
2535
  ],
3916
2536
  "stateMutability": "nonpayable",
@@ -3920,19 +2540,24 @@
3920
2540
  "inputs": [
3921
2541
  {
3922
2542
  "internalType": "address",
3923
- "name": "newRecoveryAddress",
2543
+ "name": "newBroadcaster",
3924
2544
  "type": "address"
2545
+ },
2546
+ {
2547
+ "internalType": "uint256",
2548
+ "name": "location",
2549
+ "type": "uint256"
3925
2550
  }
3926
2551
  ],
3927
- "name": "updateRecoveryExecutionParams",
2552
+ "name": "updateBroadcasterRequest",
3928
2553
  "outputs": [
3929
2554
  {
3930
- "internalType": "bytes",
3931
- "name": "",
3932
- "type": "bytes"
2555
+ "internalType": "uint256",
2556
+ "name": "txId",
2557
+ "type": "uint256"
3933
2558
  }
3934
2559
  ],
3935
- "stateMutability": "view",
2560
+ "stateMutability": "nonpayable",
3936
2561
  "type": "function"
3937
2562
  },
3938
2563
  {
@@ -4110,128 +2735,13 @@
4110
2735
  ],
4111
2736
  "name": "updateRecoveryRequestAndApprove",
4112
2737
  "outputs": [
4113
- {
4114
- "components": [
4115
- {
4116
- "internalType": "uint256",
4117
- "name": "txId",
4118
- "type": "uint256"
4119
- },
4120
- {
4121
- "internalType": "uint256",
4122
- "name": "releaseTime",
4123
- "type": "uint256"
4124
- },
4125
- {
4126
- "internalType": "enum EngineBlox.TxStatus",
4127
- "name": "status",
4128
- "type": "uint8"
4129
- },
4130
- {
4131
- "components": [
4132
- {
4133
- "internalType": "address",
4134
- "name": "requester",
4135
- "type": "address"
4136
- },
4137
- {
4138
- "internalType": "address",
4139
- "name": "target",
4140
- "type": "address"
4141
- },
4142
- {
4143
- "internalType": "uint256",
4144
- "name": "value",
4145
- "type": "uint256"
4146
- },
4147
- {
4148
- "internalType": "uint256",
4149
- "name": "gasLimit",
4150
- "type": "uint256"
4151
- },
4152
- {
4153
- "internalType": "bytes32",
4154
- "name": "operationType",
4155
- "type": "bytes32"
4156
- },
4157
- {
4158
- "internalType": "bytes4",
4159
- "name": "executionSelector",
4160
- "type": "bytes4"
4161
- },
4162
- {
4163
- "internalType": "bytes",
4164
- "name": "executionParams",
4165
- "type": "bytes"
4166
- }
4167
- ],
4168
- "internalType": "struct EngineBlox.TxParams",
4169
- "name": "params",
4170
- "type": "tuple"
4171
- },
4172
- {
4173
- "internalType": "bytes32",
4174
- "name": "message",
4175
- "type": "bytes32"
4176
- },
4177
- {
4178
- "internalType": "bytes",
4179
- "name": "result",
4180
- "type": "bytes"
4181
- },
4182
- {
4183
- "components": [
4184
- {
4185
- "internalType": "address",
4186
- "name": "recipient",
4187
- "type": "address"
4188
- },
4189
- {
4190
- "internalType": "uint256",
4191
- "name": "nativeTokenAmount",
4192
- "type": "uint256"
4193
- },
4194
- {
4195
- "internalType": "address",
4196
- "name": "erc20TokenAddress",
4197
- "type": "address"
4198
- },
4199
- {
4200
- "internalType": "uint256",
4201
- "name": "erc20TokenAmount",
4202
- "type": "uint256"
4203
- }
4204
- ],
4205
- "internalType": "struct EngineBlox.PaymentDetails",
4206
- "name": "payment",
4207
- "type": "tuple"
4208
- }
4209
- ],
4210
- "internalType": "struct EngineBlox.TxRecord",
4211
- "name": "",
4212
- "type": "tuple"
4213
- }
4214
- ],
4215
- "stateMutability": "nonpayable",
4216
- "type": "function"
4217
- },
4218
- {
4219
- "inputs": [
4220
2738
  {
4221
2739
  "internalType": "uint256",
4222
- "name": "newTimeLockPeriodSec",
4223
- "type": "uint256"
4224
- }
4225
- ],
4226
- "name": "updateTimeLockExecutionParams",
4227
- "outputs": [
4228
- {
4229
- "internalType": "bytes",
4230
2740
  "name": "",
4231
- "type": "bytes"
2741
+ "type": "uint256"
4232
2742
  }
4233
2743
  ],
4234
- "stateMutability": "view",
2744
+ "stateMutability": "nonpayable",
4235
2745
  "type": "function"
4236
2746
  },
4237
2747
  {
@@ -4410,105 +2920,9 @@
4410
2920
  "name": "updateTimeLockRequestAndApprove",
4411
2921
  "outputs": [
4412
2922
  {
4413
- "components": [
4414
- {
4415
- "internalType": "uint256",
4416
- "name": "txId",
4417
- "type": "uint256"
4418
- },
4419
- {
4420
- "internalType": "uint256",
4421
- "name": "releaseTime",
4422
- "type": "uint256"
4423
- },
4424
- {
4425
- "internalType": "enum EngineBlox.TxStatus",
4426
- "name": "status",
4427
- "type": "uint8"
4428
- },
4429
- {
4430
- "components": [
4431
- {
4432
- "internalType": "address",
4433
- "name": "requester",
4434
- "type": "address"
4435
- },
4436
- {
4437
- "internalType": "address",
4438
- "name": "target",
4439
- "type": "address"
4440
- },
4441
- {
4442
- "internalType": "uint256",
4443
- "name": "value",
4444
- "type": "uint256"
4445
- },
4446
- {
4447
- "internalType": "uint256",
4448
- "name": "gasLimit",
4449
- "type": "uint256"
4450
- },
4451
- {
4452
- "internalType": "bytes32",
4453
- "name": "operationType",
4454
- "type": "bytes32"
4455
- },
4456
- {
4457
- "internalType": "bytes4",
4458
- "name": "executionSelector",
4459
- "type": "bytes4"
4460
- },
4461
- {
4462
- "internalType": "bytes",
4463
- "name": "executionParams",
4464
- "type": "bytes"
4465
- }
4466
- ],
4467
- "internalType": "struct EngineBlox.TxParams",
4468
- "name": "params",
4469
- "type": "tuple"
4470
- },
4471
- {
4472
- "internalType": "bytes32",
4473
- "name": "message",
4474
- "type": "bytes32"
4475
- },
4476
- {
4477
- "internalType": "bytes",
4478
- "name": "result",
4479
- "type": "bytes"
4480
- },
4481
- {
4482
- "components": [
4483
- {
4484
- "internalType": "address",
4485
- "name": "recipient",
4486
- "type": "address"
4487
- },
4488
- {
4489
- "internalType": "uint256",
4490
- "name": "nativeTokenAmount",
4491
- "type": "uint256"
4492
- },
4493
- {
4494
- "internalType": "address",
4495
- "name": "erc20TokenAddress",
4496
- "type": "address"
4497
- },
4498
- {
4499
- "internalType": "uint256",
4500
- "name": "erc20TokenAmount",
4501
- "type": "uint256"
4502
- }
4503
- ],
4504
- "internalType": "struct EngineBlox.PaymentDetails",
4505
- "name": "payment",
4506
- "type": "tuple"
4507
- }
4508
- ],
4509
- "internalType": "struct EngineBlox.TxRecord",
2923
+ "internalType": "uint256",
4510
2924
  "name": "",
4511
- "type": "tuple"
2925
+ "type": "uint256"
4512
2926
  }
4513
2927
  ],
4514
2928
  "stateMutability": "nonpayable",