@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
@@ -15,6 +15,17 @@
15
15
  "name": "ArrayLengthMismatch",
16
16
  "type": "error"
17
17
  },
18
+ {
19
+ "inputs": [
20
+ {
21
+ "internalType": "bytes32",
22
+ "name": "resourceId",
23
+ "type": "bytes32"
24
+ }
25
+ ],
26
+ "name": "CannotModifyProtected",
27
+ "type": "error"
28
+ },
18
29
  {
19
30
  "inputs": [
20
31
  {
@@ -58,22 +69,6 @@
58
69
  "name": "InvalidTimeLockPeriod",
59
70
  "type": "error"
60
71
  },
61
- {
62
- "inputs": [
63
- {
64
- "internalType": "uint256",
65
- "name": "newPeriod",
66
- "type": "uint256"
67
- },
68
- {
69
- "internalType": "uint256",
70
- "name": "currentPeriod",
71
- "type": "uint256"
72
- }
73
- ],
74
- "name": "NewTimelockSame",
75
- "type": "error"
76
- },
77
72
  {
78
73
  "inputs": [
79
74
  {
@@ -90,22 +85,6 @@
90
85
  "name": "NotInitializing",
91
86
  "type": "error"
92
87
  },
93
- {
94
- "inputs": [
95
- {
96
- "internalType": "address",
97
- "name": "newAddress",
98
- "type": "address"
99
- },
100
- {
101
- "internalType": "address",
102
- "name": "currentAddress",
103
- "type": "address"
104
- }
105
- ],
106
- "name": "NotNewAddress",
107
- "type": "error"
108
- },
109
88
  {
110
89
  "inputs": [],
111
90
  "name": "NotSupported",
@@ -127,6 +106,11 @@
127
106
  "name": "OnlyCallableByContract",
128
107
  "type": "error"
129
108
  },
109
+ {
110
+ "inputs": [],
111
+ "name": "PendingSecureRequest",
112
+ "type": "error"
113
+ },
130
114
  {
131
115
  "inputs": [
132
116
  {
@@ -156,7 +140,7 @@
156
140
  "type": "bytes32"
157
141
  }
158
142
  ],
159
- "name": "ResourceAlreadyExists",
143
+ "name": "ResourceNotFound",
160
144
  "type": "error"
161
145
  },
162
146
  {
@@ -223,66 +207,23 @@
223
207
  "name": "SafeERC20FailedOperation",
224
208
  "type": "error"
225
209
  },
226
- {
227
- "inputs": [
228
- {
229
- "internalType": "uint256",
230
- "name": "provided",
231
- "type": "uint256"
232
- }
233
- ],
234
- "name": "TimeLockPeriodZero",
235
- "type": "error"
236
- },
237
- {
238
- "anonymous": false,
239
- "inputs": [
240
- {
241
- "indexed": false,
242
- "internalType": "uint256",
243
- "name": "txId",
244
- "type": "uint256"
245
- }
246
- ],
247
- "name": "BroadcasterUpdateCancelled",
248
- "type": "event"
249
- },
250
- {
251
- "anonymous": false,
252
- "inputs": [
253
- {
254
- "indexed": false,
255
- "internalType": "address",
256
- "name": "currentBroadcaster",
257
- "type": "address"
258
- },
259
- {
260
- "indexed": false,
261
- "internalType": "address",
262
- "name": "newBroadcaster",
263
- "type": "address"
264
- }
265
- ],
266
- "name": "BroadcasterUpdateRequest",
267
- "type": "event"
268
- },
269
210
  {
270
211
  "anonymous": false,
271
212
  "inputs": [
272
213
  {
273
- "indexed": false,
274
- "internalType": "address",
275
- "name": "oldBroadcaster",
276
- "type": "address"
214
+ "indexed": true,
215
+ "internalType": "bytes4",
216
+ "name": "functionSelector",
217
+ "type": "bytes4"
277
218
  },
278
219
  {
279
220
  "indexed": false,
280
- "internalType": "address",
281
- "name": "newBroadcaster",
282
- "type": "address"
221
+ "internalType": "bytes",
222
+ "name": "data",
223
+ "type": "bytes"
283
224
  }
284
225
  ],
285
- "name": "BroadcasterUpdated",
226
+ "name": "ComponentEvent",
286
227
  "type": "event"
287
228
  },
288
229
  {
@@ -339,360 +280,170 @@
339
280
  {
340
281
  "anonymous": false,
341
282
  "inputs": [
283
+ {
284
+ "indexed": true,
285
+ "internalType": "address",
286
+ "name": "token",
287
+ "type": "address"
288
+ },
289
+ {
290
+ "indexed": true,
291
+ "internalType": "address",
292
+ "name": "to",
293
+ "type": "address"
294
+ },
342
295
  {
343
296
  "indexed": false,
344
297
  "internalType": "uint256",
345
- "name": "txId",
298
+ "name": "amount",
346
299
  "type": "uint256"
347
300
  }
348
301
  ],
349
- "name": "OwnershipTransferCancelled",
302
+ "name": "TokenWithdrawn",
350
303
  "type": "event"
351
304
  },
352
305
  {
353
- "anonymous": false,
354
306
  "inputs": [
355
307
  {
356
- "indexed": false,
357
308
  "internalType": "address",
358
- "name": "currentOwner",
309
+ "name": "handlerContract",
359
310
  "type": "address"
360
311
  },
361
312
  {
362
- "indexed": false,
313
+ "internalType": "bytes4",
314
+ "name": "handlerSelector",
315
+ "type": "bytes4"
316
+ },
317
+ {
318
+ "internalType": "enum EngineBlox.TxAction",
319
+ "name": "action",
320
+ "type": "uint8"
321
+ },
322
+ {
323
+ "internalType": "uint256",
324
+ "name": "deadline",
325
+ "type": "uint256"
326
+ },
327
+ {
328
+ "internalType": "uint256",
329
+ "name": "maxGasPrice",
330
+ "type": "uint256"
331
+ },
332
+ {
363
333
  "internalType": "address",
364
- "name": "newOwner",
334
+ "name": "signer",
365
335
  "type": "address"
366
336
  }
367
337
  ],
368
- "name": "OwnershipTransferRequest",
369
- "type": "event"
338
+ "name": "createMetaTxParams",
339
+ "outputs": [
340
+ {
341
+ "components": [
342
+ {
343
+ "internalType": "uint256",
344
+ "name": "chainId",
345
+ "type": "uint256"
346
+ },
347
+ {
348
+ "internalType": "uint256",
349
+ "name": "nonce",
350
+ "type": "uint256"
351
+ },
352
+ {
353
+ "internalType": "address",
354
+ "name": "handlerContract",
355
+ "type": "address"
356
+ },
357
+ {
358
+ "internalType": "bytes4",
359
+ "name": "handlerSelector",
360
+ "type": "bytes4"
361
+ },
362
+ {
363
+ "internalType": "enum EngineBlox.TxAction",
364
+ "name": "action",
365
+ "type": "uint8"
366
+ },
367
+ {
368
+ "internalType": "uint256",
369
+ "name": "deadline",
370
+ "type": "uint256"
371
+ },
372
+ {
373
+ "internalType": "uint256",
374
+ "name": "maxGasPrice",
375
+ "type": "uint256"
376
+ },
377
+ {
378
+ "internalType": "address",
379
+ "name": "signer",
380
+ "type": "address"
381
+ }
382
+ ],
383
+ "internalType": "struct EngineBlox.MetaTxParams",
384
+ "name": "",
385
+ "type": "tuple"
386
+ }
387
+ ],
388
+ "stateMutability": "view",
389
+ "type": "function"
370
390
  },
371
391
  {
372
- "anonymous": false,
373
392
  "inputs": [
374
393
  {
375
- "indexed": false,
376
394
  "internalType": "address",
377
- "name": "oldOwner",
395
+ "name": "newBroadcaster",
378
396
  "type": "address"
379
397
  },
380
398
  {
381
- "indexed": false,
382
- "internalType": "address",
383
- "name": "newOwner",
384
- "type": "address"
399
+ "internalType": "uint256",
400
+ "name": "location",
401
+ "type": "uint256"
385
402
  }
386
403
  ],
387
- "name": "OwnershipTransferUpdated",
388
- "type": "event"
404
+ "name": "executeBroadcasterUpdate",
405
+ "outputs": [],
406
+ "stateMutability": "nonpayable",
407
+ "type": "function"
389
408
  },
390
409
  {
391
- "anonymous": false,
392
410
  "inputs": [
393
411
  {
394
- "indexed": false,
395
- "internalType": "address",
396
- "name": "oldRecovery",
397
- "type": "address"
398
- },
399
- {
400
- "indexed": false,
401
412
  "internalType": "address",
402
- "name": "newRecovery",
413
+ "name": "newRecoveryAddress",
403
414
  "type": "address"
404
415
  }
405
416
  ],
406
- "name": "RecoveryAddressUpdated",
407
- "type": "event"
417
+ "name": "executeRecoveryUpdate",
418
+ "outputs": [],
419
+ "stateMutability": "nonpayable",
420
+ "type": "function"
408
421
  },
409
422
  {
410
- "anonymous": false,
411
423
  "inputs": [
412
424
  {
413
- "indexed": false,
414
- "internalType": "uint256",
415
- "name": "oldPeriod",
416
- "type": "uint256"
417
- },
418
- {
419
- "indexed": false,
420
425
  "internalType": "uint256",
421
- "name": "newPeriod",
426
+ "name": "newTimeLockPeriodSec",
422
427
  "type": "uint256"
423
428
  }
424
429
  ],
425
- "name": "TimeLockPeriodUpdated",
426
- "type": "event"
430
+ "name": "executeTimeLockUpdate",
431
+ "outputs": [],
432
+ "stateMutability": "nonpayable",
433
+ "type": "function"
427
434
  },
428
435
  {
429
- "anonymous": false,
430
436
  "inputs": [
431
437
  {
432
- "indexed": true,
433
- "internalType": "address",
434
- "name": "token",
435
- "type": "address"
436
- },
437
- {
438
- "indexed": true,
439
438
  "internalType": "address",
440
- "name": "to",
439
+ "name": "newOwner",
441
440
  "type": "address"
442
- },
443
- {
444
- "indexed": false,
445
- "internalType": "uint256",
446
- "name": "amount",
447
- "type": "uint256"
448
441
  }
449
442
  ],
450
- "name": "TokenWithdrawn",
451
- "type": "event"
452
- },
453
- {
454
- "anonymous": false,
455
- "inputs": [
456
- {
457
- "indexed": true,
458
- "internalType": "uint256",
459
- "name": "txId",
460
- "type": "uint256"
461
- },
462
- {
463
- "indexed": true,
464
- "internalType": "bytes32",
465
- "name": "operationType",
466
- "type": "bytes32"
467
- },
468
- {
469
- "indexed": true,
470
- "internalType": "address",
471
- "name": "approver",
472
- "type": "address"
473
- }
474
- ],
475
- "name": "TransactionApproved",
476
- "type": "event"
477
- },
478
- {
479
- "anonymous": false,
480
- "inputs": [
481
- {
482
- "indexed": true,
483
- "internalType": "uint256",
484
- "name": "txId",
485
- "type": "uint256"
486
- },
487
- {
488
- "indexed": true,
489
- "internalType": "bytes32",
490
- "name": "operationType",
491
- "type": "bytes32"
492
- },
493
- {
494
- "indexed": true,
495
- "internalType": "address",
496
- "name": "canceller",
497
- "type": "address"
498
- }
499
- ],
500
- "name": "TransactionCancelled",
501
- "type": "event"
502
- },
503
- {
504
- "anonymous": false,
505
- "inputs": [
506
- {
507
- "indexed": true,
508
- "internalType": "uint256",
509
- "name": "txId",
510
- "type": "uint256"
511
- },
512
- {
513
- "indexed": true,
514
- "internalType": "bytes32",
515
- "name": "operationType",
516
- "type": "bytes32"
517
- },
518
- {
519
- "indexed": false,
520
- "internalType": "bool",
521
- "name": "success",
522
- "type": "bool"
523
- }
524
- ],
525
- "name": "TransactionExecuted",
526
- "type": "event"
527
- },
528
- {
529
- "anonymous": false,
530
- "inputs": [
531
- {
532
- "indexed": true,
533
- "internalType": "uint256",
534
- "name": "txId",
535
- "type": "uint256"
536
- },
537
- {
538
- "indexed": true,
539
- "internalType": "address",
540
- "name": "requester",
541
- "type": "address"
542
- },
543
- {
544
- "indexed": true,
545
- "internalType": "bytes32",
546
- "name": "operationType",
547
- "type": "bytes32"
548
- },
549
- {
550
- "indexed": false,
551
- "internalType": "uint256",
552
- "name": "releaseTime",
553
- "type": "uint256"
554
- }
555
- ],
556
- "name": "TransactionRequested",
557
- "type": "event"
558
- },
559
- {
560
- "inputs": [
561
- {
562
- "internalType": "address",
563
- "name": "handlerContract",
564
- "type": "address"
565
- },
566
- {
567
- "internalType": "bytes4",
568
- "name": "handlerSelector",
569
- "type": "bytes4"
570
- },
571
- {
572
- "internalType": "enum EngineBlox.TxAction",
573
- "name": "action",
574
- "type": "uint8"
575
- },
576
- {
577
- "internalType": "uint256",
578
- "name": "deadline",
579
- "type": "uint256"
580
- },
581
- {
582
- "internalType": "uint256",
583
- "name": "maxGasPrice",
584
- "type": "uint256"
585
- },
586
- {
587
- "internalType": "address",
588
- "name": "signer",
589
- "type": "address"
590
- }
591
- ],
592
- "name": "createMetaTxParams",
593
- "outputs": [
594
- {
595
- "components": [
596
- {
597
- "internalType": "uint256",
598
- "name": "chainId",
599
- "type": "uint256"
600
- },
601
- {
602
- "internalType": "uint256",
603
- "name": "nonce",
604
- "type": "uint256"
605
- },
606
- {
607
- "internalType": "address",
608
- "name": "handlerContract",
609
- "type": "address"
610
- },
611
- {
612
- "internalType": "bytes4",
613
- "name": "handlerSelector",
614
- "type": "bytes4"
615
- },
616
- {
617
- "internalType": "enum EngineBlox.TxAction",
618
- "name": "action",
619
- "type": "uint8"
620
- },
621
- {
622
- "internalType": "uint256",
623
- "name": "deadline",
624
- "type": "uint256"
625
- },
626
- {
627
- "internalType": "uint256",
628
- "name": "maxGasPrice",
629
- "type": "uint256"
630
- },
631
- {
632
- "internalType": "address",
633
- "name": "signer",
634
- "type": "address"
635
- }
636
- ],
637
- "internalType": "struct EngineBlox.MetaTxParams",
638
- "name": "",
639
- "type": "tuple"
640
- }
641
- ],
642
- "stateMutability": "view",
643
- "type": "function"
644
- },
645
- {
646
- "inputs": [
647
- {
648
- "internalType": "address",
649
- "name": "newBroadcaster",
650
- "type": "address"
651
- }
652
- ],
653
- "name": "executeBroadcasterUpdate",
654
- "outputs": [],
655
- "stateMutability": "nonpayable",
656
- "type": "function"
657
- },
658
- {
659
- "inputs": [
660
- {
661
- "internalType": "address",
662
- "name": "newRecoveryAddress",
663
- "type": "address"
664
- }
665
- ],
666
- "name": "executeRecoveryUpdate",
667
- "outputs": [],
668
- "stateMutability": "nonpayable",
669
- "type": "function"
670
- },
671
- {
672
- "inputs": [
673
- {
674
- "internalType": "uint256",
675
- "name": "newTimeLockPeriodSec",
676
- "type": "uint256"
677
- }
678
- ],
679
- "name": "executeTimeLockUpdate",
680
- "outputs": [],
681
- "stateMutability": "nonpayable",
682
- "type": "function"
683
- },
684
- {
685
- "inputs": [
686
- {
687
- "internalType": "address",
688
- "name": "newOwner",
689
- "type": "address"
690
- }
691
- ],
692
- "name": "executeTransferOwnership",
693
- "outputs": [],
694
- "stateMutability": "nonpayable",
695
- "type": "function"
443
+ "name": "executeTransferOwnership",
444
+ "outputs": [],
445
+ "stateMutability": "nonpayable",
446
+ "type": "function"
696
447
  },
697
448
  {
698
449
  "inputs": [
@@ -1255,36 +1006,130 @@
1255
1006
  "type": "function"
1256
1007
  },
1257
1008
  {
1258
- "inputs": [],
1259
- "name": "getPendingTransactions",
1260
- "outputs": [
1009
+ "inputs": [
1261
1010
  {
1262
- "internalType": "uint256[]",
1263
- "name": "",
1264
- "type": "uint256[]"
1011
+ "internalType": "bytes4",
1012
+ "name": "functionSelector",
1013
+ "type": "bytes4"
1265
1014
  }
1266
1015
  ],
1267
- "stateMutability": "view",
1268
- "type": "function"
1269
- },
1270
- {
1271
- "inputs": [],
1272
- "name": "getRecovery",
1016
+ "name": "getFunctionSchema",
1273
1017
  "outputs": [
1274
1018
  {
1275
- "internalType": "address",
1276
- "name": "",
1277
- "type": "address"
1278
- }
1279
- ],
1280
- "stateMutability": "view",
1281
- "type": "function"
1282
- },
1283
- {
1284
- "inputs": [
1285
- {
1286
- "internalType": "bytes32",
1287
- "name": "roleHash",
1019
+ "components": [
1020
+ {
1021
+ "internalType": "string",
1022
+ "name": "functionSignature",
1023
+ "type": "string"
1024
+ },
1025
+ {
1026
+ "internalType": "bytes4",
1027
+ "name": "functionSelector",
1028
+ "type": "bytes4"
1029
+ },
1030
+ {
1031
+ "internalType": "bytes32",
1032
+ "name": "operationType",
1033
+ "type": "bytes32"
1034
+ },
1035
+ {
1036
+ "internalType": "string",
1037
+ "name": "operationName",
1038
+ "type": "string"
1039
+ },
1040
+ {
1041
+ "internalType": "uint16",
1042
+ "name": "supportedActionsBitmap",
1043
+ "type": "uint16"
1044
+ },
1045
+ {
1046
+ "internalType": "bool",
1047
+ "name": "isProtected",
1048
+ "type": "bool"
1049
+ },
1050
+ {
1051
+ "internalType": "bytes4[]",
1052
+ "name": "handlerForSelectors",
1053
+ "type": "bytes4[]"
1054
+ }
1055
+ ],
1056
+ "internalType": "struct EngineBlox.FunctionSchema",
1057
+ "name": "",
1058
+ "type": "tuple"
1059
+ }
1060
+ ],
1061
+ "stateMutability": "view",
1062
+ "type": "function"
1063
+ },
1064
+ {
1065
+ "inputs": [
1066
+ {
1067
+ "internalType": "bytes4",
1068
+ "name": "functionSelector",
1069
+ "type": "bytes4"
1070
+ }
1071
+ ],
1072
+ "name": "getFunctionWhitelistTargets",
1073
+ "outputs": [
1074
+ {
1075
+ "internalType": "address[]",
1076
+ "name": "",
1077
+ "type": "address[]"
1078
+ }
1079
+ ],
1080
+ "stateMutability": "view",
1081
+ "type": "function"
1082
+ },
1083
+ {
1084
+ "inputs": [
1085
+ {
1086
+ "internalType": "bytes4",
1087
+ "name": "functionSelector",
1088
+ "type": "bytes4"
1089
+ }
1090
+ ],
1091
+ "name": "getHooks",
1092
+ "outputs": [
1093
+ {
1094
+ "internalType": "address[]",
1095
+ "name": "hooks",
1096
+ "type": "address[]"
1097
+ }
1098
+ ],
1099
+ "stateMutability": "view",
1100
+ "type": "function"
1101
+ },
1102
+ {
1103
+ "inputs": [],
1104
+ "name": "getPendingTransactions",
1105
+ "outputs": [
1106
+ {
1107
+ "internalType": "uint256[]",
1108
+ "name": "",
1109
+ "type": "uint256[]"
1110
+ }
1111
+ ],
1112
+ "stateMutability": "view",
1113
+ "type": "function"
1114
+ },
1115
+ {
1116
+ "inputs": [],
1117
+ "name": "getRecovery",
1118
+ "outputs": [
1119
+ {
1120
+ "internalType": "address",
1121
+ "name": "",
1122
+ "type": "address"
1123
+ }
1124
+ ],
1125
+ "stateMutability": "view",
1126
+ "type": "function"
1127
+ },
1128
+ {
1129
+ "inputs": [
1130
+ {
1131
+ "internalType": "bytes32",
1132
+ "name": "roleHash",
1288
1133
  "type": "bytes32"
1289
1134
  }
1290
1135
  ],
@@ -1644,6 +1489,25 @@
1644
1489
  "stateMutability": "view",
1645
1490
  "type": "function"
1646
1491
  },
1492
+ {
1493
+ "inputs": [
1494
+ {
1495
+ "internalType": "bytes32",
1496
+ "name": "roleHash",
1497
+ "type": "bytes32"
1498
+ }
1499
+ ],
1500
+ "name": "getWalletsInRole",
1501
+ "outputs": [
1502
+ {
1503
+ "internalType": "address[]",
1504
+ "name": "",
1505
+ "type": "address[]"
1506
+ }
1507
+ ],
1508
+ "stateMutability": "view",
1509
+ "type": "function"
1510
+ },
1647
1511
  {
1648
1512
  "inputs": [
1649
1513
  {
@@ -1913,105 +1777,9 @@
1913
1777
  "name": "transferOwnershipApprovalWithMetaTx",
1914
1778
  "outputs": [
1915
1779
  {
1916
- "components": [
1917
- {
1918
- "internalType": "uint256",
1919
- "name": "txId",
1920
- "type": "uint256"
1921
- },
1922
- {
1923
- "internalType": "uint256",
1924
- "name": "releaseTime",
1925
- "type": "uint256"
1926
- },
1927
- {
1928
- "internalType": "enum EngineBlox.TxStatus",
1929
- "name": "status",
1930
- "type": "uint8"
1931
- },
1932
- {
1933
- "components": [
1934
- {
1935
- "internalType": "address",
1936
- "name": "requester",
1937
- "type": "address"
1938
- },
1939
- {
1940
- "internalType": "address",
1941
- "name": "target",
1942
- "type": "address"
1943
- },
1944
- {
1945
- "internalType": "uint256",
1946
- "name": "value",
1947
- "type": "uint256"
1948
- },
1949
- {
1950
- "internalType": "uint256",
1951
- "name": "gasLimit",
1952
- "type": "uint256"
1953
- },
1954
- {
1955
- "internalType": "bytes32",
1956
- "name": "operationType",
1957
- "type": "bytes32"
1958
- },
1959
- {
1960
- "internalType": "bytes4",
1961
- "name": "executionSelector",
1962
- "type": "bytes4"
1963
- },
1964
- {
1965
- "internalType": "bytes",
1966
- "name": "executionParams",
1967
- "type": "bytes"
1968
- }
1969
- ],
1970
- "internalType": "struct EngineBlox.TxParams",
1971
- "name": "params",
1972
- "type": "tuple"
1973
- },
1974
- {
1975
- "internalType": "bytes32",
1976
- "name": "message",
1977
- "type": "bytes32"
1978
- },
1979
- {
1980
- "internalType": "bytes",
1981
- "name": "result",
1982
- "type": "bytes"
1983
- },
1984
- {
1985
- "components": [
1986
- {
1987
- "internalType": "address",
1988
- "name": "recipient",
1989
- "type": "address"
1990
- },
1991
- {
1992
- "internalType": "uint256",
1993
- "name": "nativeTokenAmount",
1994
- "type": "uint256"
1995
- },
1996
- {
1997
- "internalType": "address",
1998
- "name": "erc20TokenAddress",
1999
- "type": "address"
2000
- },
2001
- {
2002
- "internalType": "uint256",
2003
- "name": "erc20TokenAmount",
2004
- "type": "uint256"
2005
- }
2006
- ],
2007
- "internalType": "struct EngineBlox.PaymentDetails",
2008
- "name": "payment",
2009
- "type": "tuple"
2010
- }
2011
- ],
2012
- "internalType": "struct EngineBlox.TxRecord",
1780
+ "internalType": "uint256",
2013
1781
  "name": "",
2014
- "type": "tuple"
1782
+ "type": "uint256"
2015
1783
  }
2016
1784
  ],
2017
1785
  "stateMutability": "nonpayable",
@@ -2027,108 +1795,228 @@
2027
1795
  ],
2028
1796
  "name": "transferOwnershipCancellation",
2029
1797
  "outputs": [
1798
+ {
1799
+ "internalType": "uint256",
1800
+ "name": "",
1801
+ "type": "uint256"
1802
+ }
1803
+ ],
1804
+ "stateMutability": "nonpayable",
1805
+ "type": "function"
1806
+ },
1807
+ {
1808
+ "inputs": [
2030
1809
  {
2031
1810
  "components": [
2032
- {
2033
- "internalType": "uint256",
2034
- "name": "txId",
2035
- "type": "uint256"
2036
- },
2037
- {
2038
- "internalType": "uint256",
2039
- "name": "releaseTime",
2040
- "type": "uint256"
2041
- },
2042
- {
2043
- "internalType": "enum EngineBlox.TxStatus",
2044
- "name": "status",
2045
- "type": "uint8"
2046
- },
2047
1811
  {
2048
1812
  "components": [
2049
1813
  {
2050
- "internalType": "address",
2051
- "name": "requester",
2052
- "type": "address"
2053
- },
2054
- {
2055
- "internalType": "address",
2056
- "name": "target",
2057
- "type": "address"
1814
+ "internalType": "uint256",
1815
+ "name": "txId",
1816
+ "type": "uint256"
2058
1817
  },
2059
1818
  {
2060
1819
  "internalType": "uint256",
2061
- "name": "value",
1820
+ "name": "releaseTime",
2062
1821
  "type": "uint256"
2063
1822
  },
2064
1823
  {
2065
- "internalType": "uint256",
2066
- "name": "gasLimit",
2067
- "type": "uint256"
1824
+ "internalType": "enum EngineBlox.TxStatus",
1825
+ "name": "status",
1826
+ "type": "uint8"
2068
1827
  },
2069
1828
  {
2070
- "internalType": "bytes32",
2071
- "name": "operationType",
2072
- "type": "bytes32"
1829
+ "components": [
1830
+ {
1831
+ "internalType": "address",
1832
+ "name": "requester",
1833
+ "type": "address"
1834
+ },
1835
+ {
1836
+ "internalType": "address",
1837
+ "name": "target",
1838
+ "type": "address"
1839
+ },
1840
+ {
1841
+ "internalType": "uint256",
1842
+ "name": "value",
1843
+ "type": "uint256"
1844
+ },
1845
+ {
1846
+ "internalType": "uint256",
1847
+ "name": "gasLimit",
1848
+ "type": "uint256"
1849
+ },
1850
+ {
1851
+ "internalType": "bytes32",
1852
+ "name": "operationType",
1853
+ "type": "bytes32"
1854
+ },
1855
+ {
1856
+ "internalType": "bytes4",
1857
+ "name": "executionSelector",
1858
+ "type": "bytes4"
1859
+ },
1860
+ {
1861
+ "internalType": "bytes",
1862
+ "name": "executionParams",
1863
+ "type": "bytes"
1864
+ }
1865
+ ],
1866
+ "internalType": "struct EngineBlox.TxParams",
1867
+ "name": "params",
1868
+ "type": "tuple"
2073
1869
  },
2074
1870
  {
2075
- "internalType": "bytes4",
2076
- "name": "executionSelector",
2077
- "type": "bytes4"
1871
+ "internalType": "bytes32",
1872
+ "name": "message",
1873
+ "type": "bytes32"
2078
1874
  },
2079
1875
  {
2080
1876
  "internalType": "bytes",
2081
- "name": "executionParams",
1877
+ "name": "result",
2082
1878
  "type": "bytes"
1879
+ },
1880
+ {
1881
+ "components": [
1882
+ {
1883
+ "internalType": "address",
1884
+ "name": "recipient",
1885
+ "type": "address"
1886
+ },
1887
+ {
1888
+ "internalType": "uint256",
1889
+ "name": "nativeTokenAmount",
1890
+ "type": "uint256"
1891
+ },
1892
+ {
1893
+ "internalType": "address",
1894
+ "name": "erc20TokenAddress",
1895
+ "type": "address"
1896
+ },
1897
+ {
1898
+ "internalType": "uint256",
1899
+ "name": "erc20TokenAmount",
1900
+ "type": "uint256"
1901
+ }
1902
+ ],
1903
+ "internalType": "struct EngineBlox.PaymentDetails",
1904
+ "name": "payment",
1905
+ "type": "tuple"
2083
1906
  }
2084
1907
  ],
2085
- "internalType": "struct EngineBlox.TxParams",
2086
- "name": "params",
1908
+ "internalType": "struct EngineBlox.TxRecord",
1909
+ "name": "txRecord",
2087
1910
  "type": "tuple"
2088
1911
  },
2089
- {
2090
- "internalType": "bytes32",
2091
- "name": "message",
2092
- "type": "bytes32"
2093
- },
2094
- {
2095
- "internalType": "bytes",
2096
- "name": "result",
2097
- "type": "bytes"
2098
- },
2099
1912
  {
2100
1913
  "components": [
2101
1914
  {
2102
- "internalType": "address",
2103
- "name": "recipient",
2104
- "type": "address"
1915
+ "internalType": "uint256",
1916
+ "name": "chainId",
1917
+ "type": "uint256"
2105
1918
  },
2106
1919
  {
2107
1920
  "internalType": "uint256",
2108
- "name": "nativeTokenAmount",
1921
+ "name": "nonce",
2109
1922
  "type": "uint256"
2110
1923
  },
2111
1924
  {
2112
1925
  "internalType": "address",
2113
- "name": "erc20TokenAddress",
1926
+ "name": "handlerContract",
2114
1927
  "type": "address"
2115
1928
  },
1929
+ {
1930
+ "internalType": "bytes4",
1931
+ "name": "handlerSelector",
1932
+ "type": "bytes4"
1933
+ },
1934
+ {
1935
+ "internalType": "enum EngineBlox.TxAction",
1936
+ "name": "action",
1937
+ "type": "uint8"
1938
+ },
2116
1939
  {
2117
1940
  "internalType": "uint256",
2118
- "name": "erc20TokenAmount",
1941
+ "name": "deadline",
2119
1942
  "type": "uint256"
1943
+ },
1944
+ {
1945
+ "internalType": "uint256",
1946
+ "name": "maxGasPrice",
1947
+ "type": "uint256"
1948
+ },
1949
+ {
1950
+ "internalType": "address",
1951
+ "name": "signer",
1952
+ "type": "address"
2120
1953
  }
2121
1954
  ],
2122
- "internalType": "struct EngineBlox.PaymentDetails",
2123
- "name": "payment",
1955
+ "internalType": "struct EngineBlox.MetaTxParams",
1956
+ "name": "params",
2124
1957
  "type": "tuple"
1958
+ },
1959
+ {
1960
+ "internalType": "bytes32",
1961
+ "name": "message",
1962
+ "type": "bytes32"
1963
+ },
1964
+ {
1965
+ "internalType": "bytes",
1966
+ "name": "signature",
1967
+ "type": "bytes"
1968
+ },
1969
+ {
1970
+ "internalType": "bytes",
1971
+ "name": "data",
1972
+ "type": "bytes"
2125
1973
  }
2126
1974
  ],
2127
- "internalType": "struct EngineBlox.TxRecord",
2128
- "name": "",
1975
+ "internalType": "struct EngineBlox.MetaTransaction",
1976
+ "name": "metaTx",
2129
1977
  "type": "tuple"
2130
1978
  }
2131
1979
  ],
1980
+ "name": "transferOwnershipCancellationWithMetaTx",
1981
+ "outputs": [
1982
+ {
1983
+ "internalType": "uint256",
1984
+ "name": "",
1985
+ "type": "uint256"
1986
+ }
1987
+ ],
1988
+ "stateMutability": "nonpayable",
1989
+ "type": "function"
1990
+ },
1991
+ {
1992
+ "inputs": [
1993
+ {
1994
+ "internalType": "uint256",
1995
+ "name": "txId",
1996
+ "type": "uint256"
1997
+ }
1998
+ ],
1999
+ "name": "transferOwnershipDelayedApproval",
2000
+ "outputs": [
2001
+ {
2002
+ "internalType": "uint256",
2003
+ "name": "",
2004
+ "type": "uint256"
2005
+ }
2006
+ ],
2007
+ "stateMutability": "nonpayable",
2008
+ "type": "function"
2009
+ },
2010
+ {
2011
+ "inputs": [],
2012
+ "name": "transferOwnershipRequest",
2013
+ "outputs": [
2014
+ {
2015
+ "internalType": "uint256",
2016
+ "name": "txId",
2017
+ "type": "uint256"
2018
+ }
2019
+ ],
2132
2020
  "stateMutability": "nonpayable",
2133
2021
  "type": "function"
2134
2022
  },
@@ -2305,179 +2193,185 @@
2305
2193
  "type": "tuple"
2306
2194
  }
2307
2195
  ],
2308
- "name": "transferOwnershipCancellationWithMetaTx",
2196
+ "name": "updateBroadcasterApprovalWithMetaTx",
2197
+ "outputs": [
2198
+ {
2199
+ "internalType": "uint256",
2200
+ "name": "",
2201
+ "type": "uint256"
2202
+ }
2203
+ ],
2204
+ "stateMutability": "nonpayable",
2205
+ "type": "function"
2206
+ },
2207
+ {
2208
+ "inputs": [
2209
+ {
2210
+ "internalType": "uint256",
2211
+ "name": "txId",
2212
+ "type": "uint256"
2213
+ }
2214
+ ],
2215
+ "name": "updateBroadcasterCancellation",
2309
2216
  "outputs": [
2217
+ {
2218
+ "internalType": "uint256",
2219
+ "name": "",
2220
+ "type": "uint256"
2221
+ }
2222
+ ],
2223
+ "stateMutability": "nonpayable",
2224
+ "type": "function"
2225
+ },
2226
+ {
2227
+ "inputs": [
2310
2228
  {
2311
2229
  "components": [
2312
- {
2313
- "internalType": "uint256",
2314
- "name": "txId",
2315
- "type": "uint256"
2316
- },
2317
- {
2318
- "internalType": "uint256",
2319
- "name": "releaseTime",
2320
- "type": "uint256"
2321
- },
2322
- {
2323
- "internalType": "enum EngineBlox.TxStatus",
2324
- "name": "status",
2325
- "type": "uint8"
2326
- },
2327
2230
  {
2328
2231
  "components": [
2329
- {
2330
- "internalType": "address",
2331
- "name": "requester",
2332
- "type": "address"
2333
- },
2334
- {
2335
- "internalType": "address",
2336
- "name": "target",
2337
- "type": "address"
2338
- },
2339
2232
  {
2340
2233
  "internalType": "uint256",
2341
- "name": "value",
2234
+ "name": "txId",
2342
2235
  "type": "uint256"
2343
2236
  },
2344
2237
  {
2345
2238
  "internalType": "uint256",
2346
- "name": "gasLimit",
2239
+ "name": "releaseTime",
2347
2240
  "type": "uint256"
2348
2241
  },
2349
2242
  {
2350
- "internalType": "bytes32",
2351
- "name": "operationType",
2352
- "type": "bytes32"
2243
+ "internalType": "enum EngineBlox.TxStatus",
2244
+ "name": "status",
2245
+ "type": "uint8"
2353
2246
  },
2354
2247
  {
2355
- "internalType": "bytes4",
2356
- "name": "executionSelector",
2357
- "type": "bytes4"
2248
+ "components": [
2249
+ {
2250
+ "internalType": "address",
2251
+ "name": "requester",
2252
+ "type": "address"
2253
+ },
2254
+ {
2255
+ "internalType": "address",
2256
+ "name": "target",
2257
+ "type": "address"
2258
+ },
2259
+ {
2260
+ "internalType": "uint256",
2261
+ "name": "value",
2262
+ "type": "uint256"
2263
+ },
2264
+ {
2265
+ "internalType": "uint256",
2266
+ "name": "gasLimit",
2267
+ "type": "uint256"
2268
+ },
2269
+ {
2270
+ "internalType": "bytes32",
2271
+ "name": "operationType",
2272
+ "type": "bytes32"
2273
+ },
2274
+ {
2275
+ "internalType": "bytes4",
2276
+ "name": "executionSelector",
2277
+ "type": "bytes4"
2278
+ },
2279
+ {
2280
+ "internalType": "bytes",
2281
+ "name": "executionParams",
2282
+ "type": "bytes"
2283
+ }
2284
+ ],
2285
+ "internalType": "struct EngineBlox.TxParams",
2286
+ "name": "params",
2287
+ "type": "tuple"
2288
+ },
2289
+ {
2290
+ "internalType": "bytes32",
2291
+ "name": "message",
2292
+ "type": "bytes32"
2358
2293
  },
2359
2294
  {
2360
2295
  "internalType": "bytes",
2361
- "name": "executionParams",
2296
+ "name": "result",
2362
2297
  "type": "bytes"
2298
+ },
2299
+ {
2300
+ "components": [
2301
+ {
2302
+ "internalType": "address",
2303
+ "name": "recipient",
2304
+ "type": "address"
2305
+ },
2306
+ {
2307
+ "internalType": "uint256",
2308
+ "name": "nativeTokenAmount",
2309
+ "type": "uint256"
2310
+ },
2311
+ {
2312
+ "internalType": "address",
2313
+ "name": "erc20TokenAddress",
2314
+ "type": "address"
2315
+ },
2316
+ {
2317
+ "internalType": "uint256",
2318
+ "name": "erc20TokenAmount",
2319
+ "type": "uint256"
2320
+ }
2321
+ ],
2322
+ "internalType": "struct EngineBlox.PaymentDetails",
2323
+ "name": "payment",
2324
+ "type": "tuple"
2363
2325
  }
2364
2326
  ],
2365
- "internalType": "struct EngineBlox.TxParams",
2366
- "name": "params",
2327
+ "internalType": "struct EngineBlox.TxRecord",
2328
+ "name": "txRecord",
2367
2329
  "type": "tuple"
2368
2330
  },
2369
- {
2370
- "internalType": "bytes32",
2371
- "name": "message",
2372
- "type": "bytes32"
2373
- },
2374
- {
2375
- "internalType": "bytes",
2376
- "name": "result",
2377
- "type": "bytes"
2378
- },
2379
2331
  {
2380
2332
  "components": [
2381
2333
  {
2382
- "internalType": "address",
2383
- "name": "recipient",
2384
- "type": "address"
2334
+ "internalType": "uint256",
2335
+ "name": "chainId",
2336
+ "type": "uint256"
2385
2337
  },
2386
2338
  {
2387
2339
  "internalType": "uint256",
2388
- "name": "nativeTokenAmount",
2340
+ "name": "nonce",
2389
2341
  "type": "uint256"
2390
2342
  },
2391
2343
  {
2392
2344
  "internalType": "address",
2393
- "name": "erc20TokenAddress",
2345
+ "name": "handlerContract",
2394
2346
  "type": "address"
2395
2347
  },
2396
2348
  {
2397
- "internalType": "uint256",
2398
- "name": "erc20TokenAmount",
2399
- "type": "uint256"
2400
- }
2401
- ],
2402
- "internalType": "struct EngineBlox.PaymentDetails",
2403
- "name": "payment",
2404
- "type": "tuple"
2405
- }
2406
- ],
2407
- "internalType": "struct EngineBlox.TxRecord",
2408
- "name": "",
2409
- "type": "tuple"
2410
- }
2411
- ],
2412
- "stateMutability": "nonpayable",
2413
- "type": "function"
2414
- },
2415
- {
2416
- "inputs": [
2417
- {
2418
- "internalType": "uint256",
2419
- "name": "txId",
2420
- "type": "uint256"
2421
- }
2422
- ],
2423
- "name": "transferOwnershipDelayedApproval",
2424
- "outputs": [
2425
- {
2426
- "components": [
2427
- {
2428
- "internalType": "uint256",
2429
- "name": "txId",
2430
- "type": "uint256"
2431
- },
2432
- {
2433
- "internalType": "uint256",
2434
- "name": "releaseTime",
2435
- "type": "uint256"
2436
- },
2437
- {
2438
- "internalType": "enum EngineBlox.TxStatus",
2439
- "name": "status",
2440
- "type": "uint8"
2441
- },
2442
- {
2443
- "components": [
2444
- {
2445
- "internalType": "address",
2446
- "name": "requester",
2447
- "type": "address"
2349
+ "internalType": "bytes4",
2350
+ "name": "handlerSelector",
2351
+ "type": "bytes4"
2448
2352
  },
2449
2353
  {
2450
- "internalType": "address",
2451
- "name": "target",
2452
- "type": "address"
2354
+ "internalType": "enum EngineBlox.TxAction",
2355
+ "name": "action",
2356
+ "type": "uint8"
2453
2357
  },
2454
2358
  {
2455
2359
  "internalType": "uint256",
2456
- "name": "value",
2360
+ "name": "deadline",
2457
2361
  "type": "uint256"
2458
2362
  },
2459
2363
  {
2460
2364
  "internalType": "uint256",
2461
- "name": "gasLimit",
2365
+ "name": "maxGasPrice",
2462
2366
  "type": "uint256"
2463
2367
  },
2464
2368
  {
2465
- "internalType": "bytes32",
2466
- "name": "operationType",
2467
- "type": "bytes32"
2468
- },
2469
- {
2470
- "internalType": "bytes4",
2471
- "name": "executionSelector",
2472
- "type": "bytes4"
2473
- },
2474
- {
2475
- "internalType": "bytes",
2476
- "name": "executionParams",
2477
- "type": "bytes"
2369
+ "internalType": "address",
2370
+ "name": "signer",
2371
+ "type": "address"
2478
2372
  }
2479
2373
  ],
2480
- "internalType": "struct EngineBlox.TxParams",
2374
+ "internalType": "struct EngineBlox.MetaTxParams",
2481
2375
  "name": "params",
2482
2376
  "type": "tuple"
2483
2377
  },
@@ -2488,151 +2382,255 @@
2488
2382
  },
2489
2383
  {
2490
2384
  "internalType": "bytes",
2491
- "name": "result",
2385
+ "name": "signature",
2492
2386
  "type": "bytes"
2493
2387
  },
2494
2388
  {
2495
- "components": [
2496
- {
2497
- "internalType": "address",
2498
- "name": "recipient",
2499
- "type": "address"
2500
- },
2501
- {
2502
- "internalType": "uint256",
2503
- "name": "nativeTokenAmount",
2504
- "type": "uint256"
2505
- },
2506
- {
2507
- "internalType": "address",
2508
- "name": "erc20TokenAddress",
2509
- "type": "address"
2510
- },
2511
- {
2512
- "internalType": "uint256",
2513
- "name": "erc20TokenAmount",
2514
- "type": "uint256"
2515
- }
2516
- ],
2517
- "internalType": "struct EngineBlox.PaymentDetails",
2518
- "name": "payment",
2519
- "type": "tuple"
2389
+ "internalType": "bytes",
2390
+ "name": "data",
2391
+ "type": "bytes"
2520
2392
  }
2521
2393
  ],
2522
- "internalType": "struct EngineBlox.TxRecord",
2523
- "name": "",
2394
+ "internalType": "struct EngineBlox.MetaTransaction",
2395
+ "name": "metaTx",
2524
2396
  "type": "tuple"
2525
2397
  }
2526
2398
  ],
2399
+ "name": "updateBroadcasterCancellationWithMetaTx",
2400
+ "outputs": [
2401
+ {
2402
+ "internalType": "uint256",
2403
+ "name": "",
2404
+ "type": "uint256"
2405
+ }
2406
+ ],
2527
2407
  "stateMutability": "nonpayable",
2528
2408
  "type": "function"
2529
2409
  },
2530
2410
  {
2531
- "inputs": [],
2532
- "name": "transferOwnershipRequest",
2411
+ "inputs": [
2412
+ {
2413
+ "internalType": "uint256",
2414
+ "name": "txId",
2415
+ "type": "uint256"
2416
+ }
2417
+ ],
2418
+ "name": "updateBroadcasterDelayedApproval",
2533
2419
  "outputs": [
2534
2420
  {
2535
- "components": [
2536
- {
2537
- "internalType": "uint256",
2538
- "name": "txId",
2539
- "type": "uint256"
2540
- },
2541
- {
2542
- "internalType": "uint256",
2543
- "name": "releaseTime",
2544
- "type": "uint256"
2545
- },
2546
- {
2547
- "internalType": "enum EngineBlox.TxStatus",
2548
- "name": "status",
2549
- "type": "uint8"
2550
- },
2551
- {
2421
+ "internalType": "uint256",
2422
+ "name": "",
2423
+ "type": "uint256"
2424
+ }
2425
+ ],
2426
+ "stateMutability": "nonpayable",
2427
+ "type": "function"
2428
+ },
2429
+ {
2430
+ "inputs": [
2431
+ {
2432
+ "internalType": "address",
2433
+ "name": "newBroadcaster",
2434
+ "type": "address"
2435
+ },
2436
+ {
2437
+ "internalType": "uint256",
2438
+ "name": "location",
2439
+ "type": "uint256"
2440
+ }
2441
+ ],
2442
+ "name": "updateBroadcasterRequest",
2443
+ "outputs": [
2444
+ {
2445
+ "internalType": "uint256",
2446
+ "name": "txId",
2447
+ "type": "uint256"
2448
+ }
2449
+ ],
2450
+ "stateMutability": "nonpayable",
2451
+ "type": "function"
2452
+ },
2453
+ {
2454
+ "inputs": [
2455
+ {
2456
+ "components": [
2457
+ {
2552
2458
  "components": [
2553
- {
2554
- "internalType": "address",
2555
- "name": "requester",
2556
- "type": "address"
2557
- },
2558
- {
2559
- "internalType": "address",
2560
- "name": "target",
2561
- "type": "address"
2562
- },
2563
2459
  {
2564
2460
  "internalType": "uint256",
2565
- "name": "value",
2461
+ "name": "txId",
2566
2462
  "type": "uint256"
2567
2463
  },
2568
2464
  {
2569
2465
  "internalType": "uint256",
2570
- "name": "gasLimit",
2466
+ "name": "releaseTime",
2571
2467
  "type": "uint256"
2572
2468
  },
2573
2469
  {
2574
- "internalType": "bytes32",
2575
- "name": "operationType",
2576
- "type": "bytes32"
2470
+ "internalType": "enum EngineBlox.TxStatus",
2471
+ "name": "status",
2472
+ "type": "uint8"
2577
2473
  },
2578
2474
  {
2579
- "internalType": "bytes4",
2580
- "name": "executionSelector",
2581
- "type": "bytes4"
2475
+ "components": [
2476
+ {
2477
+ "internalType": "address",
2478
+ "name": "requester",
2479
+ "type": "address"
2480
+ },
2481
+ {
2482
+ "internalType": "address",
2483
+ "name": "target",
2484
+ "type": "address"
2485
+ },
2486
+ {
2487
+ "internalType": "uint256",
2488
+ "name": "value",
2489
+ "type": "uint256"
2490
+ },
2491
+ {
2492
+ "internalType": "uint256",
2493
+ "name": "gasLimit",
2494
+ "type": "uint256"
2495
+ },
2496
+ {
2497
+ "internalType": "bytes32",
2498
+ "name": "operationType",
2499
+ "type": "bytes32"
2500
+ },
2501
+ {
2502
+ "internalType": "bytes4",
2503
+ "name": "executionSelector",
2504
+ "type": "bytes4"
2505
+ },
2506
+ {
2507
+ "internalType": "bytes",
2508
+ "name": "executionParams",
2509
+ "type": "bytes"
2510
+ }
2511
+ ],
2512
+ "internalType": "struct EngineBlox.TxParams",
2513
+ "name": "params",
2514
+ "type": "tuple"
2515
+ },
2516
+ {
2517
+ "internalType": "bytes32",
2518
+ "name": "message",
2519
+ "type": "bytes32"
2582
2520
  },
2583
2521
  {
2584
2522
  "internalType": "bytes",
2585
- "name": "executionParams",
2523
+ "name": "result",
2586
2524
  "type": "bytes"
2525
+ },
2526
+ {
2527
+ "components": [
2528
+ {
2529
+ "internalType": "address",
2530
+ "name": "recipient",
2531
+ "type": "address"
2532
+ },
2533
+ {
2534
+ "internalType": "uint256",
2535
+ "name": "nativeTokenAmount",
2536
+ "type": "uint256"
2537
+ },
2538
+ {
2539
+ "internalType": "address",
2540
+ "name": "erc20TokenAddress",
2541
+ "type": "address"
2542
+ },
2543
+ {
2544
+ "internalType": "uint256",
2545
+ "name": "erc20TokenAmount",
2546
+ "type": "uint256"
2547
+ }
2548
+ ],
2549
+ "internalType": "struct EngineBlox.PaymentDetails",
2550
+ "name": "payment",
2551
+ "type": "tuple"
2587
2552
  }
2588
2553
  ],
2589
- "internalType": "struct EngineBlox.TxParams",
2590
- "name": "params",
2554
+ "internalType": "struct EngineBlox.TxRecord",
2555
+ "name": "txRecord",
2591
2556
  "type": "tuple"
2592
2557
  },
2593
- {
2594
- "internalType": "bytes32",
2595
- "name": "message",
2596
- "type": "bytes32"
2597
- },
2598
- {
2599
- "internalType": "bytes",
2600
- "name": "result",
2601
- "type": "bytes"
2602
- },
2603
2558
  {
2604
2559
  "components": [
2605
2560
  {
2606
- "internalType": "address",
2607
- "name": "recipient",
2608
- "type": "address"
2561
+ "internalType": "uint256",
2562
+ "name": "chainId",
2563
+ "type": "uint256"
2609
2564
  },
2610
2565
  {
2611
2566
  "internalType": "uint256",
2612
- "name": "nativeTokenAmount",
2567
+ "name": "nonce",
2613
2568
  "type": "uint256"
2614
2569
  },
2615
2570
  {
2616
2571
  "internalType": "address",
2617
- "name": "erc20TokenAddress",
2572
+ "name": "handlerContract",
2618
2573
  "type": "address"
2619
2574
  },
2575
+ {
2576
+ "internalType": "bytes4",
2577
+ "name": "handlerSelector",
2578
+ "type": "bytes4"
2579
+ },
2580
+ {
2581
+ "internalType": "enum EngineBlox.TxAction",
2582
+ "name": "action",
2583
+ "type": "uint8"
2584
+ },
2620
2585
  {
2621
2586
  "internalType": "uint256",
2622
- "name": "erc20TokenAmount",
2587
+ "name": "deadline",
2588
+ "type": "uint256"
2589
+ },
2590
+ {
2591
+ "internalType": "uint256",
2592
+ "name": "maxGasPrice",
2623
2593
  "type": "uint256"
2594
+ },
2595
+ {
2596
+ "internalType": "address",
2597
+ "name": "signer",
2598
+ "type": "address"
2624
2599
  }
2625
2600
  ],
2626
- "internalType": "struct EngineBlox.PaymentDetails",
2627
- "name": "payment",
2601
+ "internalType": "struct EngineBlox.MetaTxParams",
2602
+ "name": "params",
2628
2603
  "type": "tuple"
2604
+ },
2605
+ {
2606
+ "internalType": "bytes32",
2607
+ "name": "message",
2608
+ "type": "bytes32"
2609
+ },
2610
+ {
2611
+ "internalType": "bytes",
2612
+ "name": "signature",
2613
+ "type": "bytes"
2614
+ },
2615
+ {
2616
+ "internalType": "bytes",
2617
+ "name": "data",
2618
+ "type": "bytes"
2629
2619
  }
2630
2620
  ],
2631
- "internalType": "struct EngineBlox.TxRecord",
2632
- "name": "",
2621
+ "internalType": "struct EngineBlox.MetaTransaction",
2622
+ "name": "metaTx",
2633
2623
  "type": "tuple"
2634
2624
  }
2635
2625
  ],
2626
+ "name": "updateRecoveryRequestAndApprove",
2627
+ "outputs": [
2628
+ {
2629
+ "internalType": "uint256",
2630
+ "name": "",
2631
+ "type": "uint256"
2632
+ }
2633
+ ],
2636
2634
  "stateMutability": "nonpayable",
2637
2635
  "type": "function"
2638
2636
  },
@@ -2809,1760 +2807,153 @@
2809
2807
  "type": "tuple"
2810
2808
  }
2811
2809
  ],
2812
- "name": "updateBroadcasterApprovalWithMetaTx",
2810
+ "name": "updateTimeLockRequestAndApprove",
2813
2811
  "outputs": [
2814
2812
  {
2815
- "components": [
2816
- {
2817
- "internalType": "uint256",
2818
- "name": "txId",
2819
- "type": "uint256"
2820
- },
2821
- {
2822
- "internalType": "uint256",
2823
- "name": "releaseTime",
2824
- "type": "uint256"
2825
- },
2826
- {
2827
- "internalType": "enum EngineBlox.TxStatus",
2828
- "name": "status",
2829
- "type": "uint8"
2830
- },
2831
- {
2832
- "components": [
2833
- {
2834
- "internalType": "address",
2835
- "name": "requester",
2836
- "type": "address"
2837
- },
2838
- {
2839
- "internalType": "address",
2840
- "name": "target",
2841
- "type": "address"
2842
- },
2843
- {
2844
- "internalType": "uint256",
2845
- "name": "value",
2846
- "type": "uint256"
2847
- },
2848
- {
2849
- "internalType": "uint256",
2850
- "name": "gasLimit",
2851
- "type": "uint256"
2852
- },
2853
- {
2854
- "internalType": "bytes32",
2855
- "name": "operationType",
2856
- "type": "bytes32"
2857
- },
2858
- {
2859
- "internalType": "bytes4",
2860
- "name": "executionSelector",
2861
- "type": "bytes4"
2862
- },
2863
- {
2864
- "internalType": "bytes",
2865
- "name": "executionParams",
2866
- "type": "bytes"
2867
- }
2868
- ],
2869
- "internalType": "struct EngineBlox.TxParams",
2870
- "name": "params",
2871
- "type": "tuple"
2872
- },
2873
- {
2874
- "internalType": "bytes32",
2875
- "name": "message",
2876
- "type": "bytes32"
2877
- },
2878
- {
2879
- "internalType": "bytes",
2880
- "name": "result",
2881
- "type": "bytes"
2882
- },
2883
- {
2884
- "components": [
2885
- {
2886
- "internalType": "address",
2887
- "name": "recipient",
2888
- "type": "address"
2889
- },
2890
- {
2891
- "internalType": "uint256",
2892
- "name": "nativeTokenAmount",
2893
- "type": "uint256"
2894
- },
2895
- {
2896
- "internalType": "address",
2897
- "name": "erc20TokenAddress",
2898
- "type": "address"
2899
- },
2900
- {
2901
- "internalType": "uint256",
2902
- "name": "erc20TokenAmount",
2903
- "type": "uint256"
2904
- }
2905
- ],
2906
- "internalType": "struct EngineBlox.PaymentDetails",
2907
- "name": "payment",
2908
- "type": "tuple"
2909
- }
2910
- ],
2911
- "internalType": "struct EngineBlox.TxRecord",
2912
- "name": "",
2913
- "type": "tuple"
2914
- }
2915
- ],
2916
- "stateMutability": "nonpayable",
2917
- "type": "function"
2918
- },
2919
- {
2920
- "inputs": [
2921
- {
2922
- "internalType": "uint256",
2923
- "name": "txId",
2924
- "type": "uint256"
2925
- }
2926
- ],
2927
- "name": "updateBroadcasterCancellation",
2928
- "outputs": [
2929
- {
2930
- "components": [
2931
- {
2932
- "internalType": "uint256",
2933
- "name": "txId",
2934
- "type": "uint256"
2935
- },
2936
- {
2937
- "internalType": "uint256",
2938
- "name": "releaseTime",
2939
- "type": "uint256"
2940
- },
2941
- {
2942
- "internalType": "enum EngineBlox.TxStatus",
2943
- "name": "status",
2944
- "type": "uint8"
2945
- },
2946
- {
2947
- "components": [
2948
- {
2949
- "internalType": "address",
2950
- "name": "requester",
2951
- "type": "address"
2952
- },
2953
- {
2954
- "internalType": "address",
2955
- "name": "target",
2956
- "type": "address"
2957
- },
2958
- {
2959
- "internalType": "uint256",
2960
- "name": "value",
2961
- "type": "uint256"
2962
- },
2963
- {
2964
- "internalType": "uint256",
2965
- "name": "gasLimit",
2966
- "type": "uint256"
2967
- },
2968
- {
2969
- "internalType": "bytes32",
2970
- "name": "operationType",
2971
- "type": "bytes32"
2972
- },
2973
- {
2974
- "internalType": "bytes4",
2975
- "name": "executionSelector",
2976
- "type": "bytes4"
2977
- },
2978
- {
2979
- "internalType": "bytes",
2980
- "name": "executionParams",
2981
- "type": "bytes"
2982
- }
2983
- ],
2984
- "internalType": "struct EngineBlox.TxParams",
2985
- "name": "params",
2986
- "type": "tuple"
2987
- },
2988
- {
2989
- "internalType": "bytes32",
2990
- "name": "message",
2991
- "type": "bytes32"
2992
- },
2993
- {
2994
- "internalType": "bytes",
2995
- "name": "result",
2996
- "type": "bytes"
2997
- },
2998
- {
2999
- "components": [
3000
- {
3001
- "internalType": "address",
3002
- "name": "recipient",
3003
- "type": "address"
3004
- },
3005
- {
3006
- "internalType": "uint256",
3007
- "name": "nativeTokenAmount",
3008
- "type": "uint256"
3009
- },
3010
- {
3011
- "internalType": "address",
3012
- "name": "erc20TokenAddress",
3013
- "type": "address"
3014
- },
3015
- {
3016
- "internalType": "uint256",
3017
- "name": "erc20TokenAmount",
3018
- "type": "uint256"
3019
- }
3020
- ],
3021
- "internalType": "struct EngineBlox.PaymentDetails",
3022
- "name": "payment",
3023
- "type": "tuple"
3024
- }
3025
- ],
3026
- "internalType": "struct EngineBlox.TxRecord",
3027
- "name": "",
3028
- "type": "tuple"
3029
- }
3030
- ],
3031
- "stateMutability": "nonpayable",
3032
- "type": "function"
3033
- },
3034
- {
3035
- "inputs": [
3036
- {
3037
- "components": [
3038
- {
3039
- "components": [
3040
- {
3041
- "internalType": "uint256",
3042
- "name": "txId",
3043
- "type": "uint256"
3044
- },
3045
- {
3046
- "internalType": "uint256",
3047
- "name": "releaseTime",
3048
- "type": "uint256"
3049
- },
3050
- {
3051
- "internalType": "enum EngineBlox.TxStatus",
3052
- "name": "status",
3053
- "type": "uint8"
3054
- },
3055
- {
3056
- "components": [
3057
- {
3058
- "internalType": "address",
3059
- "name": "requester",
3060
- "type": "address"
3061
- },
3062
- {
3063
- "internalType": "address",
3064
- "name": "target",
3065
- "type": "address"
3066
- },
3067
- {
3068
- "internalType": "uint256",
3069
- "name": "value",
3070
- "type": "uint256"
3071
- },
3072
- {
3073
- "internalType": "uint256",
3074
- "name": "gasLimit",
3075
- "type": "uint256"
3076
- },
3077
- {
3078
- "internalType": "bytes32",
3079
- "name": "operationType",
3080
- "type": "bytes32"
3081
- },
3082
- {
3083
- "internalType": "bytes4",
3084
- "name": "executionSelector",
3085
- "type": "bytes4"
3086
- },
3087
- {
3088
- "internalType": "bytes",
3089
- "name": "executionParams",
3090
- "type": "bytes"
3091
- }
3092
- ],
3093
- "internalType": "struct EngineBlox.TxParams",
3094
- "name": "params",
3095
- "type": "tuple"
3096
- },
3097
- {
3098
- "internalType": "bytes32",
3099
- "name": "message",
3100
- "type": "bytes32"
3101
- },
3102
- {
3103
- "internalType": "bytes",
3104
- "name": "result",
3105
- "type": "bytes"
3106
- },
3107
- {
3108
- "components": [
3109
- {
3110
- "internalType": "address",
3111
- "name": "recipient",
3112
- "type": "address"
3113
- },
3114
- {
3115
- "internalType": "uint256",
3116
- "name": "nativeTokenAmount",
3117
- "type": "uint256"
3118
- },
3119
- {
3120
- "internalType": "address",
3121
- "name": "erc20TokenAddress",
3122
- "type": "address"
3123
- },
3124
- {
3125
- "internalType": "uint256",
3126
- "name": "erc20TokenAmount",
3127
- "type": "uint256"
3128
- }
3129
- ],
3130
- "internalType": "struct EngineBlox.PaymentDetails",
3131
- "name": "payment",
3132
- "type": "tuple"
3133
- }
3134
- ],
3135
- "internalType": "struct EngineBlox.TxRecord",
3136
- "name": "txRecord",
3137
- "type": "tuple"
3138
- },
3139
- {
3140
- "components": [
3141
- {
3142
- "internalType": "uint256",
3143
- "name": "chainId",
3144
- "type": "uint256"
3145
- },
3146
- {
3147
- "internalType": "uint256",
3148
- "name": "nonce",
3149
- "type": "uint256"
3150
- },
3151
- {
3152
- "internalType": "address",
3153
- "name": "handlerContract",
3154
- "type": "address"
3155
- },
3156
- {
3157
- "internalType": "bytes4",
3158
- "name": "handlerSelector",
3159
- "type": "bytes4"
3160
- },
3161
- {
3162
- "internalType": "enum EngineBlox.TxAction",
3163
- "name": "action",
3164
- "type": "uint8"
3165
- },
3166
- {
3167
- "internalType": "uint256",
3168
- "name": "deadline",
3169
- "type": "uint256"
3170
- },
3171
- {
3172
- "internalType": "uint256",
3173
- "name": "maxGasPrice",
3174
- "type": "uint256"
3175
- },
3176
- {
3177
- "internalType": "address",
3178
- "name": "signer",
3179
- "type": "address"
3180
- }
3181
- ],
3182
- "internalType": "struct EngineBlox.MetaTxParams",
3183
- "name": "params",
3184
- "type": "tuple"
3185
- },
3186
- {
3187
- "internalType": "bytes32",
3188
- "name": "message",
3189
- "type": "bytes32"
3190
- },
3191
- {
3192
- "internalType": "bytes",
3193
- "name": "signature",
3194
- "type": "bytes"
3195
- },
3196
- {
3197
- "internalType": "bytes",
3198
- "name": "data",
3199
- "type": "bytes"
3200
- }
3201
- ],
3202
- "internalType": "struct EngineBlox.MetaTransaction",
3203
- "name": "metaTx",
3204
- "type": "tuple"
3205
- }
3206
- ],
3207
- "name": "updateBroadcasterCancellationWithMetaTx",
3208
- "outputs": [
3209
- {
3210
- "components": [
3211
- {
3212
- "internalType": "uint256",
3213
- "name": "txId",
3214
- "type": "uint256"
3215
- },
3216
- {
3217
- "internalType": "uint256",
3218
- "name": "releaseTime",
3219
- "type": "uint256"
3220
- },
3221
- {
3222
- "internalType": "enum EngineBlox.TxStatus",
3223
- "name": "status",
3224
- "type": "uint8"
3225
- },
3226
- {
3227
- "components": [
3228
- {
3229
- "internalType": "address",
3230
- "name": "requester",
3231
- "type": "address"
3232
- },
3233
- {
3234
- "internalType": "address",
3235
- "name": "target",
3236
- "type": "address"
3237
- },
3238
- {
3239
- "internalType": "uint256",
3240
- "name": "value",
3241
- "type": "uint256"
3242
- },
3243
- {
3244
- "internalType": "uint256",
3245
- "name": "gasLimit",
3246
- "type": "uint256"
3247
- },
3248
- {
3249
- "internalType": "bytes32",
3250
- "name": "operationType",
3251
- "type": "bytes32"
3252
- },
3253
- {
3254
- "internalType": "bytes4",
3255
- "name": "executionSelector",
3256
- "type": "bytes4"
3257
- },
3258
- {
3259
- "internalType": "bytes",
3260
- "name": "executionParams",
3261
- "type": "bytes"
3262
- }
3263
- ],
3264
- "internalType": "struct EngineBlox.TxParams",
3265
- "name": "params",
3266
- "type": "tuple"
3267
- },
3268
- {
3269
- "internalType": "bytes32",
3270
- "name": "message",
3271
- "type": "bytes32"
3272
- },
3273
- {
3274
- "internalType": "bytes",
3275
- "name": "result",
3276
- "type": "bytes"
3277
- },
3278
- {
3279
- "components": [
3280
- {
3281
- "internalType": "address",
3282
- "name": "recipient",
3283
- "type": "address"
3284
- },
3285
- {
3286
- "internalType": "uint256",
3287
- "name": "nativeTokenAmount",
3288
- "type": "uint256"
3289
- },
3290
- {
3291
- "internalType": "address",
3292
- "name": "erc20TokenAddress",
3293
- "type": "address"
3294
- },
3295
- {
3296
- "internalType": "uint256",
3297
- "name": "erc20TokenAmount",
3298
- "type": "uint256"
3299
- }
3300
- ],
3301
- "internalType": "struct EngineBlox.PaymentDetails",
3302
- "name": "payment",
3303
- "type": "tuple"
3304
- }
3305
- ],
3306
- "internalType": "struct EngineBlox.TxRecord",
3307
- "name": "",
3308
- "type": "tuple"
3309
- }
3310
- ],
3311
- "stateMutability": "nonpayable",
3312
- "type": "function"
3313
- },
3314
- {
3315
- "inputs": [
3316
- {
3317
- "internalType": "uint256",
3318
- "name": "txId",
3319
- "type": "uint256"
3320
- }
3321
- ],
3322
- "name": "updateBroadcasterDelayedApproval",
3323
- "outputs": [
3324
- {
3325
- "components": [
3326
- {
3327
- "internalType": "uint256",
3328
- "name": "txId",
3329
- "type": "uint256"
3330
- },
3331
- {
3332
- "internalType": "uint256",
3333
- "name": "releaseTime",
3334
- "type": "uint256"
3335
- },
3336
- {
3337
- "internalType": "enum EngineBlox.TxStatus",
3338
- "name": "status",
3339
- "type": "uint8"
3340
- },
3341
- {
3342
- "components": [
3343
- {
3344
- "internalType": "address",
3345
- "name": "requester",
3346
- "type": "address"
3347
- },
3348
- {
3349
- "internalType": "address",
3350
- "name": "target",
3351
- "type": "address"
3352
- },
3353
- {
3354
- "internalType": "uint256",
3355
- "name": "value",
3356
- "type": "uint256"
3357
- },
3358
- {
3359
- "internalType": "uint256",
3360
- "name": "gasLimit",
3361
- "type": "uint256"
3362
- },
3363
- {
3364
- "internalType": "bytes32",
3365
- "name": "operationType",
3366
- "type": "bytes32"
3367
- },
3368
- {
3369
- "internalType": "bytes4",
3370
- "name": "executionSelector",
3371
- "type": "bytes4"
3372
- },
3373
- {
3374
- "internalType": "bytes",
3375
- "name": "executionParams",
3376
- "type": "bytes"
3377
- }
3378
- ],
3379
- "internalType": "struct EngineBlox.TxParams",
3380
- "name": "params",
3381
- "type": "tuple"
3382
- },
3383
- {
3384
- "internalType": "bytes32",
3385
- "name": "message",
3386
- "type": "bytes32"
3387
- },
3388
- {
3389
- "internalType": "bytes",
3390
- "name": "result",
3391
- "type": "bytes"
3392
- },
3393
- {
3394
- "components": [
3395
- {
3396
- "internalType": "address",
3397
- "name": "recipient",
3398
- "type": "address"
3399
- },
3400
- {
3401
- "internalType": "uint256",
3402
- "name": "nativeTokenAmount",
3403
- "type": "uint256"
3404
- },
3405
- {
3406
- "internalType": "address",
3407
- "name": "erc20TokenAddress",
3408
- "type": "address"
3409
- },
3410
- {
3411
- "internalType": "uint256",
3412
- "name": "erc20TokenAmount",
3413
- "type": "uint256"
3414
- }
3415
- ],
3416
- "internalType": "struct EngineBlox.PaymentDetails",
3417
- "name": "payment",
3418
- "type": "tuple"
3419
- }
3420
- ],
3421
- "internalType": "struct EngineBlox.TxRecord",
3422
- "name": "",
3423
- "type": "tuple"
3424
- }
3425
- ],
3426
- "stateMutability": "nonpayable",
3427
- "type": "function"
3428
- },
3429
- {
3430
- "inputs": [
3431
- {
3432
- "internalType": "address",
3433
- "name": "newBroadcaster",
3434
- "type": "address"
3435
- }
3436
- ],
3437
- "name": "updateBroadcasterRequest",
3438
- "outputs": [
3439
- {
3440
- "components": [
3441
- {
3442
- "internalType": "uint256",
3443
- "name": "txId",
3444
- "type": "uint256"
3445
- },
3446
- {
3447
- "internalType": "uint256",
3448
- "name": "releaseTime",
3449
- "type": "uint256"
3450
- },
3451
- {
3452
- "internalType": "enum EngineBlox.TxStatus",
3453
- "name": "status",
3454
- "type": "uint8"
3455
- },
3456
- {
3457
- "components": [
3458
- {
3459
- "internalType": "address",
3460
- "name": "requester",
3461
- "type": "address"
3462
- },
3463
- {
3464
- "internalType": "address",
3465
- "name": "target",
3466
- "type": "address"
3467
- },
3468
- {
3469
- "internalType": "uint256",
3470
- "name": "value",
3471
- "type": "uint256"
3472
- },
3473
- {
3474
- "internalType": "uint256",
3475
- "name": "gasLimit",
3476
- "type": "uint256"
3477
- },
3478
- {
3479
- "internalType": "bytes32",
3480
- "name": "operationType",
3481
- "type": "bytes32"
3482
- },
3483
- {
3484
- "internalType": "bytes4",
3485
- "name": "executionSelector",
3486
- "type": "bytes4"
3487
- },
3488
- {
3489
- "internalType": "bytes",
3490
- "name": "executionParams",
3491
- "type": "bytes"
3492
- }
3493
- ],
3494
- "internalType": "struct EngineBlox.TxParams",
3495
- "name": "params",
3496
- "type": "tuple"
3497
- },
3498
- {
3499
- "internalType": "bytes32",
3500
- "name": "message",
3501
- "type": "bytes32"
3502
- },
3503
- {
3504
- "internalType": "bytes",
3505
- "name": "result",
3506
- "type": "bytes"
3507
- },
3508
- {
3509
- "components": [
3510
- {
3511
- "internalType": "address",
3512
- "name": "recipient",
3513
- "type": "address"
3514
- },
3515
- {
3516
- "internalType": "uint256",
3517
- "name": "nativeTokenAmount",
3518
- "type": "uint256"
3519
- },
3520
- {
3521
- "internalType": "address",
3522
- "name": "erc20TokenAddress",
3523
- "type": "address"
3524
- },
3525
- {
3526
- "internalType": "uint256",
3527
- "name": "erc20TokenAmount",
3528
- "type": "uint256"
3529
- }
3530
- ],
3531
- "internalType": "struct EngineBlox.PaymentDetails",
3532
- "name": "payment",
3533
- "type": "tuple"
3534
- }
3535
- ],
3536
- "internalType": "struct EngineBlox.TxRecord",
3537
- "name": "",
3538
- "type": "tuple"
3539
- }
3540
- ],
3541
- "stateMutability": "nonpayable",
3542
- "type": "function"
3543
- },
3544
- {
3545
- "inputs": [
3546
- {
3547
- "internalType": "address",
3548
- "name": "newRecoveryAddress",
3549
- "type": "address"
3550
- }
3551
- ],
3552
- "name": "updateRecoveryExecutionParams",
3553
- "outputs": [
3554
- {
3555
- "internalType": "bytes",
3556
- "name": "",
3557
- "type": "bytes"
3558
- }
3559
- ],
3560
- "stateMutability": "view",
3561
- "type": "function"
3562
- },
3563
- {
3564
- "inputs": [
3565
- {
3566
- "components": [
3567
- {
3568
- "components": [
3569
- {
3570
- "internalType": "uint256",
3571
- "name": "txId",
3572
- "type": "uint256"
3573
- },
3574
- {
3575
- "internalType": "uint256",
3576
- "name": "releaseTime",
3577
- "type": "uint256"
3578
- },
3579
- {
3580
- "internalType": "enum EngineBlox.TxStatus",
3581
- "name": "status",
3582
- "type": "uint8"
3583
- },
3584
- {
3585
- "components": [
3586
- {
3587
- "internalType": "address",
3588
- "name": "requester",
3589
- "type": "address"
3590
- },
3591
- {
3592
- "internalType": "address",
3593
- "name": "target",
3594
- "type": "address"
3595
- },
3596
- {
3597
- "internalType": "uint256",
3598
- "name": "value",
3599
- "type": "uint256"
3600
- },
3601
- {
3602
- "internalType": "uint256",
3603
- "name": "gasLimit",
3604
- "type": "uint256"
3605
- },
3606
- {
3607
- "internalType": "bytes32",
3608
- "name": "operationType",
3609
- "type": "bytes32"
3610
- },
3611
- {
3612
- "internalType": "bytes4",
3613
- "name": "executionSelector",
3614
- "type": "bytes4"
3615
- },
3616
- {
3617
- "internalType": "bytes",
3618
- "name": "executionParams",
3619
- "type": "bytes"
3620
- }
3621
- ],
3622
- "internalType": "struct EngineBlox.TxParams",
3623
- "name": "params",
3624
- "type": "tuple"
3625
- },
3626
- {
3627
- "internalType": "bytes32",
3628
- "name": "message",
3629
- "type": "bytes32"
3630
- },
3631
- {
3632
- "internalType": "bytes",
3633
- "name": "result",
3634
- "type": "bytes"
3635
- },
3636
- {
3637
- "components": [
3638
- {
3639
- "internalType": "address",
3640
- "name": "recipient",
3641
- "type": "address"
3642
- },
3643
- {
3644
- "internalType": "uint256",
3645
- "name": "nativeTokenAmount",
3646
- "type": "uint256"
3647
- },
3648
- {
3649
- "internalType": "address",
3650
- "name": "erc20TokenAddress",
3651
- "type": "address"
3652
- },
3653
- {
3654
- "internalType": "uint256",
3655
- "name": "erc20TokenAmount",
3656
- "type": "uint256"
3657
- }
3658
- ],
3659
- "internalType": "struct EngineBlox.PaymentDetails",
3660
- "name": "payment",
3661
- "type": "tuple"
3662
- }
3663
- ],
3664
- "internalType": "struct EngineBlox.TxRecord",
3665
- "name": "txRecord",
3666
- "type": "tuple"
3667
- },
3668
- {
3669
- "components": [
3670
- {
3671
- "internalType": "uint256",
3672
- "name": "chainId",
3673
- "type": "uint256"
3674
- },
3675
- {
3676
- "internalType": "uint256",
3677
- "name": "nonce",
3678
- "type": "uint256"
3679
- },
3680
- {
3681
- "internalType": "address",
3682
- "name": "handlerContract",
3683
- "type": "address"
3684
- },
3685
- {
3686
- "internalType": "bytes4",
3687
- "name": "handlerSelector",
3688
- "type": "bytes4"
3689
- },
3690
- {
3691
- "internalType": "enum EngineBlox.TxAction",
3692
- "name": "action",
3693
- "type": "uint8"
3694
- },
3695
- {
3696
- "internalType": "uint256",
3697
- "name": "deadline",
3698
- "type": "uint256"
3699
- },
3700
- {
3701
- "internalType": "uint256",
3702
- "name": "maxGasPrice",
3703
- "type": "uint256"
3704
- },
3705
- {
3706
- "internalType": "address",
3707
- "name": "signer",
3708
- "type": "address"
3709
- }
3710
- ],
3711
- "internalType": "struct EngineBlox.MetaTxParams",
3712
- "name": "params",
3713
- "type": "tuple"
3714
- },
3715
- {
3716
- "internalType": "bytes32",
3717
- "name": "message",
3718
- "type": "bytes32"
3719
- },
3720
- {
3721
- "internalType": "bytes",
3722
- "name": "signature",
3723
- "type": "bytes"
3724
- },
3725
- {
3726
- "internalType": "bytes",
3727
- "name": "data",
3728
- "type": "bytes"
3729
- }
3730
- ],
3731
- "internalType": "struct EngineBlox.MetaTransaction",
3732
- "name": "metaTx",
3733
- "type": "tuple"
3734
- }
3735
- ],
3736
- "name": "updateRecoveryRequestAndApprove",
3737
- "outputs": [
3738
- {
3739
- "components": [
3740
- {
3741
- "internalType": "uint256",
3742
- "name": "txId",
3743
- "type": "uint256"
3744
- },
3745
- {
3746
- "internalType": "uint256",
3747
- "name": "releaseTime",
3748
- "type": "uint256"
3749
- },
3750
- {
3751
- "internalType": "enum EngineBlox.TxStatus",
3752
- "name": "status",
3753
- "type": "uint8"
3754
- },
3755
- {
3756
- "components": [
3757
- {
3758
- "internalType": "address",
3759
- "name": "requester",
3760
- "type": "address"
3761
- },
3762
- {
3763
- "internalType": "address",
3764
- "name": "target",
3765
- "type": "address"
3766
- },
3767
- {
3768
- "internalType": "uint256",
3769
- "name": "value",
3770
- "type": "uint256"
3771
- },
3772
- {
3773
- "internalType": "uint256",
3774
- "name": "gasLimit",
3775
- "type": "uint256"
3776
- },
3777
- {
3778
- "internalType": "bytes32",
3779
- "name": "operationType",
3780
- "type": "bytes32"
3781
- },
3782
- {
3783
- "internalType": "bytes4",
3784
- "name": "executionSelector",
3785
- "type": "bytes4"
3786
- },
3787
- {
3788
- "internalType": "bytes",
3789
- "name": "executionParams",
3790
- "type": "bytes"
3791
- }
3792
- ],
3793
- "internalType": "struct EngineBlox.TxParams",
3794
- "name": "params",
3795
- "type": "tuple"
3796
- },
3797
- {
3798
- "internalType": "bytes32",
3799
- "name": "message",
3800
- "type": "bytes32"
3801
- },
3802
- {
3803
- "internalType": "bytes",
3804
- "name": "result",
3805
- "type": "bytes"
3806
- },
3807
- {
3808
- "components": [
3809
- {
3810
- "internalType": "address",
3811
- "name": "recipient",
3812
- "type": "address"
3813
- },
3814
- {
3815
- "internalType": "uint256",
3816
- "name": "nativeTokenAmount",
3817
- "type": "uint256"
3818
- },
3819
- {
3820
- "internalType": "address",
3821
- "name": "erc20TokenAddress",
3822
- "type": "address"
3823
- },
3824
- {
3825
- "internalType": "uint256",
3826
- "name": "erc20TokenAmount",
3827
- "type": "uint256"
3828
- }
3829
- ],
3830
- "internalType": "struct EngineBlox.PaymentDetails",
3831
- "name": "payment",
3832
- "type": "tuple"
3833
- }
3834
- ],
3835
- "internalType": "struct EngineBlox.TxRecord",
3836
- "name": "",
3837
- "type": "tuple"
3838
- }
3839
- ],
3840
- "stateMutability": "nonpayable",
3841
- "type": "function"
3842
- },
3843
- {
3844
- "inputs": [
3845
- {
3846
- "internalType": "uint256",
3847
- "name": "newTimeLockPeriodSec",
3848
- "type": "uint256"
3849
- }
3850
- ],
3851
- "name": "updateTimeLockExecutionParams",
3852
- "outputs": [
3853
- {
3854
- "internalType": "bytes",
3855
- "name": "",
3856
- "type": "bytes"
3857
- }
3858
- ],
3859
- "stateMutability": "view",
3860
- "type": "function"
3861
- },
3862
- {
3863
- "inputs": [
3864
- {
3865
- "components": [
3866
- {
3867
- "components": [
3868
- {
3869
- "internalType": "uint256",
3870
- "name": "txId",
3871
- "type": "uint256"
3872
- },
3873
- {
3874
- "internalType": "uint256",
3875
- "name": "releaseTime",
3876
- "type": "uint256"
3877
- },
3878
- {
3879
- "internalType": "enum EngineBlox.TxStatus",
3880
- "name": "status",
3881
- "type": "uint8"
3882
- },
3883
- {
3884
- "components": [
3885
- {
3886
- "internalType": "address",
3887
- "name": "requester",
3888
- "type": "address"
3889
- },
3890
- {
3891
- "internalType": "address",
3892
- "name": "target",
3893
- "type": "address"
3894
- },
3895
- {
3896
- "internalType": "uint256",
3897
- "name": "value",
3898
- "type": "uint256"
3899
- },
3900
- {
3901
- "internalType": "uint256",
3902
- "name": "gasLimit",
3903
- "type": "uint256"
3904
- },
3905
- {
3906
- "internalType": "bytes32",
3907
- "name": "operationType",
3908
- "type": "bytes32"
3909
- },
3910
- {
3911
- "internalType": "bytes4",
3912
- "name": "executionSelector",
3913
- "type": "bytes4"
3914
- },
3915
- {
3916
- "internalType": "bytes",
3917
- "name": "executionParams",
3918
- "type": "bytes"
3919
- }
3920
- ],
3921
- "internalType": "struct EngineBlox.TxParams",
3922
- "name": "params",
3923
- "type": "tuple"
3924
- },
3925
- {
3926
- "internalType": "bytes32",
3927
- "name": "message",
3928
- "type": "bytes32"
3929
- },
3930
- {
3931
- "internalType": "bytes",
3932
- "name": "result",
3933
- "type": "bytes"
3934
- },
3935
- {
3936
- "components": [
3937
- {
3938
- "internalType": "address",
3939
- "name": "recipient",
3940
- "type": "address"
3941
- },
3942
- {
3943
- "internalType": "uint256",
3944
- "name": "nativeTokenAmount",
3945
- "type": "uint256"
3946
- },
3947
- {
3948
- "internalType": "address",
3949
- "name": "erc20TokenAddress",
3950
- "type": "address"
3951
- },
3952
- {
3953
- "internalType": "uint256",
3954
- "name": "erc20TokenAmount",
3955
- "type": "uint256"
3956
- }
3957
- ],
3958
- "internalType": "struct EngineBlox.PaymentDetails",
3959
- "name": "payment",
3960
- "type": "tuple"
3961
- }
3962
- ],
3963
- "internalType": "struct EngineBlox.TxRecord",
3964
- "name": "txRecord",
3965
- "type": "tuple"
3966
- },
3967
- {
3968
- "components": [
3969
- {
3970
- "internalType": "uint256",
3971
- "name": "chainId",
3972
- "type": "uint256"
3973
- },
3974
- {
3975
- "internalType": "uint256",
3976
- "name": "nonce",
3977
- "type": "uint256"
3978
- },
3979
- {
3980
- "internalType": "address",
3981
- "name": "handlerContract",
3982
- "type": "address"
3983
- },
3984
- {
3985
- "internalType": "bytes4",
3986
- "name": "handlerSelector",
3987
- "type": "bytes4"
3988
- },
3989
- {
3990
- "internalType": "enum EngineBlox.TxAction",
3991
- "name": "action",
3992
- "type": "uint8"
3993
- },
3994
- {
3995
- "internalType": "uint256",
3996
- "name": "deadline",
3997
- "type": "uint256"
3998
- },
3999
- {
4000
- "internalType": "uint256",
4001
- "name": "maxGasPrice",
4002
- "type": "uint256"
4003
- },
4004
- {
4005
- "internalType": "address",
4006
- "name": "signer",
4007
- "type": "address"
4008
- }
4009
- ],
4010
- "internalType": "struct EngineBlox.MetaTxParams",
4011
- "name": "params",
4012
- "type": "tuple"
4013
- },
4014
- {
4015
- "internalType": "bytes32",
4016
- "name": "message",
4017
- "type": "bytes32"
4018
- },
4019
- {
4020
- "internalType": "bytes",
4021
- "name": "signature",
4022
- "type": "bytes"
4023
- },
4024
- {
4025
- "internalType": "bytes",
4026
- "name": "data",
4027
- "type": "bytes"
4028
- }
4029
- ],
4030
- "internalType": "struct EngineBlox.MetaTransaction",
4031
- "name": "metaTx",
4032
- "type": "tuple"
4033
- }
4034
- ],
4035
- "name": "updateTimeLockRequestAndApprove",
4036
- "outputs": [
4037
- {
4038
- "components": [
4039
- {
4040
- "internalType": "uint256",
4041
- "name": "txId",
4042
- "type": "uint256"
4043
- },
4044
- {
4045
- "internalType": "uint256",
4046
- "name": "releaseTime",
4047
- "type": "uint256"
4048
- },
4049
- {
4050
- "internalType": "enum EngineBlox.TxStatus",
4051
- "name": "status",
4052
- "type": "uint8"
4053
- },
4054
- {
4055
- "components": [
4056
- {
4057
- "internalType": "address",
4058
- "name": "requester",
4059
- "type": "address"
4060
- },
4061
- {
4062
- "internalType": "address",
4063
- "name": "target",
4064
- "type": "address"
4065
- },
4066
- {
4067
- "internalType": "uint256",
4068
- "name": "value",
4069
- "type": "uint256"
4070
- },
4071
- {
4072
- "internalType": "uint256",
4073
- "name": "gasLimit",
4074
- "type": "uint256"
4075
- },
4076
- {
4077
- "internalType": "bytes32",
4078
- "name": "operationType",
4079
- "type": "bytes32"
4080
- },
4081
- {
4082
- "internalType": "bytes4",
4083
- "name": "executionSelector",
4084
- "type": "bytes4"
4085
- },
4086
- {
4087
- "internalType": "bytes",
4088
- "name": "executionParams",
4089
- "type": "bytes"
4090
- }
4091
- ],
4092
- "internalType": "struct EngineBlox.TxParams",
4093
- "name": "params",
4094
- "type": "tuple"
4095
- },
4096
- {
4097
- "internalType": "bytes32",
4098
- "name": "message",
4099
- "type": "bytes32"
4100
- },
4101
- {
4102
- "internalType": "bytes",
4103
- "name": "result",
4104
- "type": "bytes"
4105
- },
4106
- {
4107
- "components": [
4108
- {
4109
- "internalType": "address",
4110
- "name": "recipient",
4111
- "type": "address"
4112
- },
4113
- {
4114
- "internalType": "uint256",
4115
- "name": "nativeTokenAmount",
4116
- "type": "uint256"
4117
- },
4118
- {
4119
- "internalType": "address",
4120
- "name": "erc20TokenAddress",
4121
- "type": "address"
4122
- },
4123
- {
4124
- "internalType": "uint256",
4125
- "name": "erc20TokenAmount",
4126
- "type": "uint256"
4127
- }
4128
- ],
4129
- "internalType": "struct EngineBlox.PaymentDetails",
4130
- "name": "payment",
4131
- "type": "tuple"
4132
- }
4133
- ],
4134
- "internalType": "struct EngineBlox.TxRecord",
4135
- "name": "",
4136
- "type": "tuple"
4137
- }
4138
- ],
4139
- "stateMutability": "nonpayable",
4140
- "type": "function"
4141
- },
4142
- {
4143
- "stateMutability": "payable",
4144
- "type": "receive"
4145
- },
4146
- {
4147
- "inputs": [
4148
- {
4149
- "internalType": "address",
4150
- "name": "initialOwner",
4151
- "type": "address"
4152
- },
4153
- {
4154
- "internalType": "address",
4155
- "name": "broadcaster",
4156
- "type": "address"
4157
- },
4158
- {
4159
- "internalType": "address",
4160
- "name": "recovery",
4161
- "type": "address"
4162
- },
4163
- {
4164
- "internalType": "uint256",
4165
- "name": "timeLockPeriodSec",
4166
- "type": "uint256"
4167
- },
4168
- {
4169
- "internalType": "address",
4170
- "name": "eventForwarder",
4171
- "type": "address"
4172
- }
4173
- ],
4174
- "name": "initialize",
4175
- "outputs": [],
4176
- "stateMutability": "nonpayable",
4177
- "type": "function"
4178
- },
4179
- {
4180
- "inputs": [],
4181
- "name": "getEthBalance",
4182
- "outputs": [
4183
- {
4184
- "internalType": "uint256",
4185
- "name": "",
4186
- "type": "uint256"
4187
- }
4188
- ],
4189
- "stateMutability": "view",
4190
- "type": "function"
4191
- },
4192
- {
4193
- "inputs": [
4194
- {
4195
- "internalType": "address",
4196
- "name": "token",
4197
- "type": "address"
4198
- }
4199
- ],
4200
- "name": "getTokenBalance",
4201
- "outputs": [
4202
- {
4203
- "internalType": "uint256",
4204
- "name": "",
4205
- "type": "uint256"
4206
- }
4207
- ],
4208
- "stateMutability": "view",
4209
- "type": "function"
4210
- },
4211
- {
4212
- "inputs": [
4213
- {
4214
- "internalType": "address",
4215
- "name": "to",
4216
- "type": "address"
4217
- },
4218
- {
4219
- "internalType": "uint256",
4220
- "name": "amount",
4221
- "type": "uint256"
4222
- }
4223
- ],
4224
- "name": "withdrawEthRequest",
4225
- "outputs": [
4226
- {
4227
- "components": [
4228
- {
4229
- "internalType": "uint256",
4230
- "name": "txId",
4231
- "type": "uint256"
4232
- },
4233
- {
4234
- "internalType": "uint256",
4235
- "name": "releaseTime",
4236
- "type": "uint256"
4237
- },
4238
- {
4239
- "internalType": "enum EngineBlox.TxStatus",
4240
- "name": "status",
4241
- "type": "uint8"
4242
- },
4243
- {
4244
- "components": [
4245
- {
4246
- "internalType": "address",
4247
- "name": "requester",
4248
- "type": "address"
4249
- },
4250
- {
4251
- "internalType": "address",
4252
- "name": "target",
4253
- "type": "address"
4254
- },
4255
- {
4256
- "internalType": "uint256",
4257
- "name": "value",
4258
- "type": "uint256"
4259
- },
4260
- {
4261
- "internalType": "uint256",
4262
- "name": "gasLimit",
4263
- "type": "uint256"
4264
- },
4265
- {
4266
- "internalType": "bytes32",
4267
- "name": "operationType",
4268
- "type": "bytes32"
4269
- },
4270
- {
4271
- "internalType": "bytes4",
4272
- "name": "executionSelector",
4273
- "type": "bytes4"
4274
- },
4275
- {
4276
- "internalType": "bytes",
4277
- "name": "executionParams",
4278
- "type": "bytes"
4279
- }
4280
- ],
4281
- "internalType": "struct EngineBlox.TxParams",
4282
- "name": "params",
4283
- "type": "tuple"
4284
- },
4285
- {
4286
- "internalType": "bytes32",
4287
- "name": "message",
4288
- "type": "bytes32"
4289
- },
4290
- {
4291
- "internalType": "bytes",
4292
- "name": "result",
4293
- "type": "bytes"
4294
- },
4295
- {
4296
- "components": [
4297
- {
4298
- "internalType": "address",
4299
- "name": "recipient",
4300
- "type": "address"
4301
- },
4302
- {
4303
- "internalType": "uint256",
4304
- "name": "nativeTokenAmount",
4305
- "type": "uint256"
4306
- },
4307
- {
4308
- "internalType": "address",
4309
- "name": "erc20TokenAddress",
4310
- "type": "address"
4311
- },
4312
- {
4313
- "internalType": "uint256",
4314
- "name": "erc20TokenAmount",
4315
- "type": "uint256"
4316
- }
4317
- ],
4318
- "internalType": "struct EngineBlox.PaymentDetails",
4319
- "name": "payment",
4320
- "type": "tuple"
4321
- }
4322
- ],
4323
- "internalType": "struct EngineBlox.TxRecord",
2813
+ "internalType": "uint256",
4324
2814
  "name": "",
4325
- "type": "tuple"
2815
+ "type": "uint256"
4326
2816
  }
4327
2817
  ],
4328
2818
  "stateMutability": "nonpayable",
4329
2819
  "type": "function"
4330
2820
  },
2821
+ {
2822
+ "stateMutability": "payable",
2823
+ "type": "receive"
2824
+ },
4331
2825
  {
4332
2826
  "inputs": [
4333
2827
  {
4334
2828
  "internalType": "address",
4335
- "name": "token",
2829
+ "name": "initialOwner",
4336
2830
  "type": "address"
4337
2831
  },
4338
2832
  {
4339
2833
  "internalType": "address",
4340
- "name": "to",
2834
+ "name": "broadcaster",
2835
+ "type": "address"
2836
+ },
2837
+ {
2838
+ "internalType": "address",
2839
+ "name": "recovery",
4341
2840
  "type": "address"
4342
2841
  },
4343
2842
  {
4344
2843
  "internalType": "uint256",
4345
- "name": "amount",
2844
+ "name": "timeLockPeriodSec",
4346
2845
  "type": "uint256"
2846
+ },
2847
+ {
2848
+ "internalType": "address",
2849
+ "name": "eventForwarder",
2850
+ "type": "address"
4347
2851
  }
4348
2852
  ],
4349
- "name": "withdrawTokenRequest",
2853
+ "name": "initialize",
2854
+ "outputs": [],
2855
+ "stateMutability": "nonpayable",
2856
+ "type": "function"
2857
+ },
2858
+ {
2859
+ "inputs": [],
2860
+ "name": "getEthBalance",
4350
2861
  "outputs": [
4351
2862
  {
4352
- "components": [
4353
- {
4354
- "internalType": "uint256",
4355
- "name": "txId",
4356
- "type": "uint256"
4357
- },
4358
- {
4359
- "internalType": "uint256",
4360
- "name": "releaseTime",
4361
- "type": "uint256"
4362
- },
4363
- {
4364
- "internalType": "enum EngineBlox.TxStatus",
4365
- "name": "status",
4366
- "type": "uint8"
4367
- },
4368
- {
4369
- "components": [
4370
- {
4371
- "internalType": "address",
4372
- "name": "requester",
4373
- "type": "address"
4374
- },
4375
- {
4376
- "internalType": "address",
4377
- "name": "target",
4378
- "type": "address"
4379
- },
4380
- {
4381
- "internalType": "uint256",
4382
- "name": "value",
4383
- "type": "uint256"
4384
- },
4385
- {
4386
- "internalType": "uint256",
4387
- "name": "gasLimit",
4388
- "type": "uint256"
4389
- },
4390
- {
4391
- "internalType": "bytes32",
4392
- "name": "operationType",
4393
- "type": "bytes32"
4394
- },
4395
- {
4396
- "internalType": "bytes4",
4397
- "name": "executionSelector",
4398
- "type": "bytes4"
4399
- },
4400
- {
4401
- "internalType": "bytes",
4402
- "name": "executionParams",
4403
- "type": "bytes"
4404
- }
4405
- ],
4406
- "internalType": "struct EngineBlox.TxParams",
4407
- "name": "params",
4408
- "type": "tuple"
4409
- },
4410
- {
4411
- "internalType": "bytes32",
4412
- "name": "message",
4413
- "type": "bytes32"
4414
- },
4415
- {
4416
- "internalType": "bytes",
4417
- "name": "result",
4418
- "type": "bytes"
4419
- },
4420
- {
4421
- "components": [
4422
- {
4423
- "internalType": "address",
4424
- "name": "recipient",
4425
- "type": "address"
4426
- },
4427
- {
4428
- "internalType": "uint256",
4429
- "name": "nativeTokenAmount",
4430
- "type": "uint256"
4431
- },
4432
- {
4433
- "internalType": "address",
4434
- "name": "erc20TokenAddress",
4435
- "type": "address"
4436
- },
4437
- {
4438
- "internalType": "uint256",
4439
- "name": "erc20TokenAmount",
4440
- "type": "uint256"
4441
- }
4442
- ],
4443
- "internalType": "struct EngineBlox.PaymentDetails",
4444
- "name": "payment",
4445
- "type": "tuple"
4446
- }
4447
- ],
4448
- "internalType": "struct EngineBlox.TxRecord",
2863
+ "internalType": "uint256",
4449
2864
  "name": "",
4450
- "type": "tuple"
2865
+ "type": "uint256"
4451
2866
  }
4452
2867
  ],
4453
- "stateMutability": "nonpayable",
2868
+ "stateMutability": "view",
4454
2869
  "type": "function"
4455
2870
  },
4456
2871
  {
4457
2872
  "inputs": [
2873
+ {
2874
+ "internalType": "address",
2875
+ "name": "token",
2876
+ "type": "address"
2877
+ }
2878
+ ],
2879
+ "name": "getTokenBalance",
2880
+ "outputs": [
4458
2881
  {
4459
2882
  "internalType": "uint256",
4460
- "name": "txId",
2883
+ "name": "",
4461
2884
  "type": "uint256"
4462
2885
  }
4463
2886
  ],
4464
- "name": "approveWithdrawalAfterDelay",
4465
- "outputs": [
2887
+ "stateMutability": "view",
2888
+ "type": "function"
2889
+ },
2890
+ {
2891
+ "inputs": [
4466
2892
  {
4467
- "components": [
4468
- {
4469
- "internalType": "uint256",
4470
- "name": "txId",
4471
- "type": "uint256"
4472
- },
4473
- {
4474
- "internalType": "uint256",
4475
- "name": "releaseTime",
4476
- "type": "uint256"
4477
- },
4478
- {
4479
- "internalType": "enum EngineBlox.TxStatus",
4480
- "name": "status",
4481
- "type": "uint8"
4482
- },
4483
- {
4484
- "components": [
4485
- {
4486
- "internalType": "address",
4487
- "name": "requester",
4488
- "type": "address"
4489
- },
4490
- {
4491
- "internalType": "address",
4492
- "name": "target",
4493
- "type": "address"
4494
- },
4495
- {
4496
- "internalType": "uint256",
4497
- "name": "value",
4498
- "type": "uint256"
4499
- },
4500
- {
4501
- "internalType": "uint256",
4502
- "name": "gasLimit",
4503
- "type": "uint256"
4504
- },
4505
- {
4506
- "internalType": "bytes32",
4507
- "name": "operationType",
4508
- "type": "bytes32"
4509
- },
4510
- {
4511
- "internalType": "bytes4",
4512
- "name": "executionSelector",
4513
- "type": "bytes4"
4514
- },
4515
- {
4516
- "internalType": "bytes",
4517
- "name": "executionParams",
4518
- "type": "bytes"
4519
- }
4520
- ],
4521
- "internalType": "struct EngineBlox.TxParams",
4522
- "name": "params",
4523
- "type": "tuple"
4524
- },
4525
- {
4526
- "internalType": "bytes32",
4527
- "name": "message",
4528
- "type": "bytes32"
4529
- },
4530
- {
4531
- "internalType": "bytes",
4532
- "name": "result",
4533
- "type": "bytes"
4534
- },
4535
- {
4536
- "components": [
4537
- {
4538
- "internalType": "address",
4539
- "name": "recipient",
4540
- "type": "address"
4541
- },
4542
- {
4543
- "internalType": "uint256",
4544
- "name": "nativeTokenAmount",
4545
- "type": "uint256"
4546
- },
4547
- {
4548
- "internalType": "address",
4549
- "name": "erc20TokenAddress",
4550
- "type": "address"
4551
- },
4552
- {
4553
- "internalType": "uint256",
4554
- "name": "erc20TokenAmount",
4555
- "type": "uint256"
4556
- }
4557
- ],
4558
- "internalType": "struct EngineBlox.PaymentDetails",
4559
- "name": "payment",
4560
- "type": "tuple"
4561
- }
4562
- ],
4563
- "internalType": "struct EngineBlox.TxRecord",
2893
+ "internalType": "address",
2894
+ "name": "to",
2895
+ "type": "address"
2896
+ },
2897
+ {
2898
+ "internalType": "uint256",
2899
+ "name": "amount",
2900
+ "type": "uint256"
2901
+ }
2902
+ ],
2903
+ "name": "withdrawEthRequest",
2904
+ "outputs": [
2905
+ {
2906
+ "internalType": "uint256",
2907
+ "name": "txId",
2908
+ "type": "uint256"
2909
+ }
2910
+ ],
2911
+ "stateMutability": "nonpayable",
2912
+ "type": "function"
2913
+ },
2914
+ {
2915
+ "inputs": [
2916
+ {
2917
+ "internalType": "address",
2918
+ "name": "token",
2919
+ "type": "address"
2920
+ },
2921
+ {
2922
+ "internalType": "address",
2923
+ "name": "to",
2924
+ "type": "address"
2925
+ },
2926
+ {
2927
+ "internalType": "uint256",
2928
+ "name": "amount",
2929
+ "type": "uint256"
2930
+ }
2931
+ ],
2932
+ "name": "withdrawTokenRequest",
2933
+ "outputs": [
2934
+ {
2935
+ "internalType": "uint256",
2936
+ "name": "txId",
2937
+ "type": "uint256"
2938
+ }
2939
+ ],
2940
+ "stateMutability": "nonpayable",
2941
+ "type": "function"
2942
+ },
2943
+ {
2944
+ "inputs": [
2945
+ {
2946
+ "internalType": "uint256",
2947
+ "name": "txId",
2948
+ "type": "uint256"
2949
+ }
2950
+ ],
2951
+ "name": "approveWithdrawalAfterDelay",
2952
+ "outputs": [
2953
+ {
2954
+ "internalType": "uint256",
4564
2955
  "name": "",
4565
- "type": "tuple"
2956
+ "type": "uint256"
4566
2957
  }
4567
2958
  ],
4568
2959
  "stateMutability": "nonpayable",
@@ -4744,105 +3135,9 @@
4744
3135
  "name": "approveWithdrawalWithMetaTx",
4745
3136
  "outputs": [
4746
3137
  {
4747
- "components": [
4748
- {
4749
- "internalType": "uint256",
4750
- "name": "txId",
4751
- "type": "uint256"
4752
- },
4753
- {
4754
- "internalType": "uint256",
4755
- "name": "releaseTime",
4756
- "type": "uint256"
4757
- },
4758
- {
4759
- "internalType": "enum EngineBlox.TxStatus",
4760
- "name": "status",
4761
- "type": "uint8"
4762
- },
4763
- {
4764
- "components": [
4765
- {
4766
- "internalType": "address",
4767
- "name": "requester",
4768
- "type": "address"
4769
- },
4770
- {
4771
- "internalType": "address",
4772
- "name": "target",
4773
- "type": "address"
4774
- },
4775
- {
4776
- "internalType": "uint256",
4777
- "name": "value",
4778
- "type": "uint256"
4779
- },
4780
- {
4781
- "internalType": "uint256",
4782
- "name": "gasLimit",
4783
- "type": "uint256"
4784
- },
4785
- {
4786
- "internalType": "bytes32",
4787
- "name": "operationType",
4788
- "type": "bytes32"
4789
- },
4790
- {
4791
- "internalType": "bytes4",
4792
- "name": "executionSelector",
4793
- "type": "bytes4"
4794
- },
4795
- {
4796
- "internalType": "bytes",
4797
- "name": "executionParams",
4798
- "type": "bytes"
4799
- }
4800
- ],
4801
- "internalType": "struct EngineBlox.TxParams",
4802
- "name": "params",
4803
- "type": "tuple"
4804
- },
4805
- {
4806
- "internalType": "bytes32",
4807
- "name": "message",
4808
- "type": "bytes32"
4809
- },
4810
- {
4811
- "internalType": "bytes",
4812
- "name": "result",
4813
- "type": "bytes"
4814
- },
4815
- {
4816
- "components": [
4817
- {
4818
- "internalType": "address",
4819
- "name": "recipient",
4820
- "type": "address"
4821
- },
4822
- {
4823
- "internalType": "uint256",
4824
- "name": "nativeTokenAmount",
4825
- "type": "uint256"
4826
- },
4827
- {
4828
- "internalType": "address",
4829
- "name": "erc20TokenAddress",
4830
- "type": "address"
4831
- },
4832
- {
4833
- "internalType": "uint256",
4834
- "name": "erc20TokenAmount",
4835
- "type": "uint256"
4836
- }
4837
- ],
4838
- "internalType": "struct EngineBlox.PaymentDetails",
4839
- "name": "payment",
4840
- "type": "tuple"
4841
- }
4842
- ],
4843
- "internalType": "struct EngineBlox.TxRecord",
3138
+ "internalType": "uint256",
4844
3139
  "name": "",
4845
- "type": "tuple"
3140
+ "type": "uint256"
4846
3141
  }
4847
3142
  ],
4848
3143
  "stateMutability": "nonpayable",
@@ -4859,105 +3154,9 @@
4859
3154
  "name": "cancelWithdrawal",
4860
3155
  "outputs": [
4861
3156
  {
4862
- "components": [
4863
- {
4864
- "internalType": "uint256",
4865
- "name": "txId",
4866
- "type": "uint256"
4867
- },
4868
- {
4869
- "internalType": "uint256",
4870
- "name": "releaseTime",
4871
- "type": "uint256"
4872
- },
4873
- {
4874
- "internalType": "enum EngineBlox.TxStatus",
4875
- "name": "status",
4876
- "type": "uint8"
4877
- },
4878
- {
4879
- "components": [
4880
- {
4881
- "internalType": "address",
4882
- "name": "requester",
4883
- "type": "address"
4884
- },
4885
- {
4886
- "internalType": "address",
4887
- "name": "target",
4888
- "type": "address"
4889
- },
4890
- {
4891
- "internalType": "uint256",
4892
- "name": "value",
4893
- "type": "uint256"
4894
- },
4895
- {
4896
- "internalType": "uint256",
4897
- "name": "gasLimit",
4898
- "type": "uint256"
4899
- },
4900
- {
4901
- "internalType": "bytes32",
4902
- "name": "operationType",
4903
- "type": "bytes32"
4904
- },
4905
- {
4906
- "internalType": "bytes4",
4907
- "name": "executionSelector",
4908
- "type": "bytes4"
4909
- },
4910
- {
4911
- "internalType": "bytes",
4912
- "name": "executionParams",
4913
- "type": "bytes"
4914
- }
4915
- ],
4916
- "internalType": "struct EngineBlox.TxParams",
4917
- "name": "params",
4918
- "type": "tuple"
4919
- },
4920
- {
4921
- "internalType": "bytes32",
4922
- "name": "message",
4923
- "type": "bytes32"
4924
- },
4925
- {
4926
- "internalType": "bytes",
4927
- "name": "result",
4928
- "type": "bytes"
4929
- },
4930
- {
4931
- "components": [
4932
- {
4933
- "internalType": "address",
4934
- "name": "recipient",
4935
- "type": "address"
4936
- },
4937
- {
4938
- "internalType": "uint256",
4939
- "name": "nativeTokenAmount",
4940
- "type": "uint256"
4941
- },
4942
- {
4943
- "internalType": "address",
4944
- "name": "erc20TokenAddress",
4945
- "type": "address"
4946
- },
4947
- {
4948
- "internalType": "uint256",
4949
- "name": "erc20TokenAmount",
4950
- "type": "uint256"
4951
- }
4952
- ],
4953
- "internalType": "struct EngineBlox.PaymentDetails",
4954
- "name": "payment",
4955
- "type": "tuple"
4956
- }
4957
- ],
4958
- "internalType": "struct EngineBlox.TxRecord",
3157
+ "internalType": "uint256",
4959
3158
  "name": "",
4960
- "type": "tuple"
3159
+ "type": "uint256"
4961
3160
  }
4962
3161
  ],
4963
3162
  "stateMutability": "nonpayable",