@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
@@ -18,12 +18,12 @@
18
18
  {
19
19
  "inputs": [
20
20
  {
21
- "internalType": "address",
22
- "name": "provided",
23
- "type": "address"
21
+ "internalType": "bytes32",
22
+ "name": "resourceId",
23
+ "type": "bytes32"
24
24
  }
25
25
  ],
26
- "name": "InvalidAddress",
26
+ "name": "CannotModifyProtected",
27
27
  "type": "error"
28
28
  },
29
29
  {
@@ -47,22 +47,6 @@
47
47
  "name": "InvalidRange",
48
48
  "type": "error"
49
49
  },
50
- {
51
- "inputs": [
52
- {
53
- "internalType": "uint256",
54
- "name": "newPeriod",
55
- "type": "uint256"
56
- },
57
- {
58
- "internalType": "uint256",
59
- "name": "currentPeriod",
60
- "type": "uint256"
61
- }
62
- ],
63
- "name": "NewTimelockSame",
64
- "type": "error"
65
- },
66
50
  {
67
51
  "inputs": [
68
52
  {
@@ -79,22 +63,6 @@
79
63
  "name": "NotInitializing",
80
64
  "type": "error"
81
65
  },
82
- {
83
- "inputs": [
84
- {
85
- "internalType": "address",
86
- "name": "newAddress",
87
- "type": "address"
88
- },
89
- {
90
- "internalType": "address",
91
- "name": "currentAddress",
92
- "type": "address"
93
- }
94
- ],
95
- "name": "NotNewAddress",
96
- "type": "error"
97
- },
98
66
  {
99
67
  "inputs": [
100
68
  {
@@ -111,6 +79,11 @@
111
79
  "name": "OnlyCallableByContract",
112
80
  "type": "error"
113
81
  },
82
+ {
83
+ "inputs": [],
84
+ "name": "PendingSecureRequest",
85
+ "type": "error"
86
+ },
114
87
  {
115
88
  "inputs": [
116
89
  {
@@ -140,7 +113,7 @@
140
113
  "type": "bytes32"
141
114
  }
142
115
  ],
143
- "name": "ResourceAlreadyExists",
116
+ "name": "ResourceNotFound",
144
117
  "type": "error"
145
118
  },
146
119
  {
@@ -196,66 +169,23 @@
196
169
  "name": "RestrictedRecovery",
197
170
  "type": "error"
198
171
  },
199
- {
200
- "inputs": [
201
- {
202
- "internalType": "uint256",
203
- "name": "provided",
204
- "type": "uint256"
205
- }
206
- ],
207
- "name": "TimeLockPeriodZero",
208
- "type": "error"
209
- },
210
- {
211
- "anonymous": false,
212
- "inputs": [
213
- {
214
- "indexed": false,
215
- "internalType": "uint256",
216
- "name": "txId",
217
- "type": "uint256"
218
- }
219
- ],
220
- "name": "BroadcasterUpdateCancelled",
221
- "type": "event"
222
- },
223
- {
224
- "anonymous": false,
225
- "inputs": [
226
- {
227
- "indexed": false,
228
- "internalType": "address",
229
- "name": "currentBroadcaster",
230
- "type": "address"
231
- },
232
- {
233
- "indexed": false,
234
- "internalType": "address",
235
- "name": "newBroadcaster",
236
- "type": "address"
237
- }
238
- ],
239
- "name": "BroadcasterUpdateRequest",
240
- "type": "event"
241
- },
242
172
  {
243
173
  "anonymous": false,
244
174
  "inputs": [
245
175
  {
246
- "indexed": false,
247
- "internalType": "address",
248
- "name": "oldBroadcaster",
249
- "type": "address"
176
+ "indexed": true,
177
+ "internalType": "bytes4",
178
+ "name": "functionSelector",
179
+ "type": "bytes4"
250
180
  },
251
181
  {
252
182
  "indexed": false,
253
- "internalType": "address",
254
- "name": "newBroadcaster",
255
- "type": "address"
183
+ "internalType": "bytes",
184
+ "name": "data",
185
+ "type": "bytes"
256
186
  }
257
187
  ],
258
- "name": "BroadcasterUpdated",
188
+ "name": "ComponentEvent",
259
189
  "type": "event"
260
190
  },
261
191
  {
@@ -272,304 +202,109 @@
272
202
  "type": "event"
273
203
  },
274
204
  {
275
- "anonymous": false,
276
- "inputs": [
277
- {
278
- "indexed": false,
279
- "internalType": "uint256",
280
- "name": "txId",
281
- "type": "uint256"
282
- }
283
- ],
284
- "name": "OwnershipTransferCancelled",
285
- "type": "event"
286
- },
287
- {
288
- "anonymous": false,
289
205
  "inputs": [
290
206
  {
291
- "indexed": false,
292
207
  "internalType": "address",
293
- "name": "currentOwner",
208
+ "name": "handlerContract",
294
209
  "type": "address"
295
210
  },
296
211
  {
297
- "indexed": false,
298
- "internalType": "address",
299
- "name": "newOwner",
300
- "type": "address"
301
- }
302
- ],
303
- "name": "OwnershipTransferRequest",
304
- "type": "event"
305
- },
306
- {
307
- "anonymous": false,
308
- "inputs": [
309
- {
310
- "indexed": false,
311
- "internalType": "address",
312
- "name": "oldOwner",
313
- "type": "address"
212
+ "internalType": "bytes4",
213
+ "name": "handlerSelector",
214
+ "type": "bytes4"
314
215
  },
315
216
  {
316
- "indexed": false,
317
- "internalType": "address",
318
- "name": "newOwner",
319
- "type": "address"
320
- }
321
- ],
322
- "name": "OwnershipTransferUpdated",
323
- "type": "event"
324
- },
325
- {
326
- "anonymous": false,
327
- "inputs": [
328
- {
329
- "indexed": false,
330
- "internalType": "address",
331
- "name": "oldRecovery",
332
- "type": "address"
217
+ "internalType": "enum EngineBlox.TxAction",
218
+ "name": "action",
219
+ "type": "uint8"
333
220
  },
334
221
  {
335
- "indexed": false,
336
- "internalType": "address",
337
- "name": "newRecovery",
338
- "type": "address"
339
- }
340
- ],
341
- "name": "RecoveryAddressUpdated",
342
- "type": "event"
343
- },
344
- {
345
- "anonymous": false,
346
- "inputs": [
347
- {
348
- "indexed": false,
349
222
  "internalType": "uint256",
350
- "name": "oldPeriod",
223
+ "name": "deadline",
351
224
  "type": "uint256"
352
225
  },
353
226
  {
354
- "indexed": false,
355
- "internalType": "uint256",
356
- "name": "newPeriod",
357
- "type": "uint256"
358
- }
359
- ],
360
- "name": "TimeLockPeriodUpdated",
361
- "type": "event"
362
- },
363
- {
364
- "anonymous": false,
365
- "inputs": [
366
- {
367
- "indexed": true,
368
227
  "internalType": "uint256",
369
- "name": "txId",
228
+ "name": "maxGasPrice",
370
229
  "type": "uint256"
371
230
  },
372
231
  {
373
- "indexed": true,
374
- "internalType": "bytes32",
375
- "name": "operationType",
376
- "type": "bytes32"
377
- },
378
- {
379
- "indexed": true,
380
232
  "internalType": "address",
381
- "name": "approver",
233
+ "name": "signer",
382
234
  "type": "address"
383
235
  }
384
236
  ],
385
- "name": "TransactionApproved",
386
- "type": "event"
237
+ "name": "createMetaTxParams",
238
+ "outputs": [
239
+ {
240
+ "components": [
241
+ {
242
+ "internalType": "uint256",
243
+ "name": "chainId",
244
+ "type": "uint256"
245
+ },
246
+ {
247
+ "internalType": "uint256",
248
+ "name": "nonce",
249
+ "type": "uint256"
250
+ },
251
+ {
252
+ "internalType": "address",
253
+ "name": "handlerContract",
254
+ "type": "address"
255
+ },
256
+ {
257
+ "internalType": "bytes4",
258
+ "name": "handlerSelector",
259
+ "type": "bytes4"
260
+ },
261
+ {
262
+ "internalType": "enum EngineBlox.TxAction",
263
+ "name": "action",
264
+ "type": "uint8"
265
+ },
266
+ {
267
+ "internalType": "uint256",
268
+ "name": "deadline",
269
+ "type": "uint256"
270
+ },
271
+ {
272
+ "internalType": "uint256",
273
+ "name": "maxGasPrice",
274
+ "type": "uint256"
275
+ },
276
+ {
277
+ "internalType": "address",
278
+ "name": "signer",
279
+ "type": "address"
280
+ }
281
+ ],
282
+ "internalType": "struct EngineBlox.MetaTxParams",
283
+ "name": "",
284
+ "type": "tuple"
285
+ }
286
+ ],
287
+ "stateMutability": "view",
288
+ "type": "function"
387
289
  },
388
290
  {
389
- "anonymous": false,
390
291
  "inputs": [
391
292
  {
392
- "indexed": true,
393
- "internalType": "uint256",
394
- "name": "txId",
395
- "type": "uint256"
396
- },
397
- {
398
- "indexed": true,
399
- "internalType": "bytes32",
400
- "name": "operationType",
401
- "type": "bytes32"
402
- },
293
+ "internalType": "bytes4",
294
+ "name": "functionSelector",
295
+ "type": "bytes4"
296
+ }
297
+ ],
298
+ "name": "functionSchemaExists",
299
+ "outputs": [
403
300
  {
404
- "indexed": true,
405
- "internalType": "address",
406
- "name": "canceller",
407
- "type": "address"
301
+ "internalType": "bool",
302
+ "name": "",
303
+ "type": "bool"
408
304
  }
409
305
  ],
410
- "name": "TransactionCancelled",
411
- "type": "event"
412
- },
413
- {
414
- "anonymous": false,
415
- "inputs": [
416
- {
417
- "indexed": true,
418
- "internalType": "uint256",
419
- "name": "txId",
420
- "type": "uint256"
421
- },
422
- {
423
- "indexed": true,
424
- "internalType": "bytes32",
425
- "name": "operationType",
426
- "type": "bytes32"
427
- },
428
- {
429
- "indexed": false,
430
- "internalType": "bool",
431
- "name": "success",
432
- "type": "bool"
433
- }
434
- ],
435
- "name": "TransactionExecuted",
436
- "type": "event"
437
- },
438
- {
439
- "anonymous": false,
440
- "inputs": [
441
- {
442
- "indexed": true,
443
- "internalType": "uint256",
444
- "name": "txId",
445
- "type": "uint256"
446
- },
447
- {
448
- "indexed": true,
449
- "internalType": "address",
450
- "name": "requester",
451
- "type": "address"
452
- },
453
- {
454
- "indexed": true,
455
- "internalType": "bytes32",
456
- "name": "operationType",
457
- "type": "bytes32"
458
- },
459
- {
460
- "indexed": false,
461
- "internalType": "uint256",
462
- "name": "releaseTime",
463
- "type": "uint256"
464
- }
465
- ],
466
- "name": "TransactionRequested",
467
- "type": "event"
468
- },
469
- {
470
- "inputs": [
471
- {
472
- "internalType": "address",
473
- "name": "handlerContract",
474
- "type": "address"
475
- },
476
- {
477
- "internalType": "bytes4",
478
- "name": "handlerSelector",
479
- "type": "bytes4"
480
- },
481
- {
482
- "internalType": "enum EngineBlox.TxAction",
483
- "name": "action",
484
- "type": "uint8"
485
- },
486
- {
487
- "internalType": "uint256",
488
- "name": "deadline",
489
- "type": "uint256"
490
- },
491
- {
492
- "internalType": "uint256",
493
- "name": "maxGasPrice",
494
- "type": "uint256"
495
- },
496
- {
497
- "internalType": "address",
498
- "name": "signer",
499
- "type": "address"
500
- }
501
- ],
502
- "name": "createMetaTxParams",
503
- "outputs": [
504
- {
505
- "components": [
506
- {
507
- "internalType": "uint256",
508
- "name": "chainId",
509
- "type": "uint256"
510
- },
511
- {
512
- "internalType": "uint256",
513
- "name": "nonce",
514
- "type": "uint256"
515
- },
516
- {
517
- "internalType": "address",
518
- "name": "handlerContract",
519
- "type": "address"
520
- },
521
- {
522
- "internalType": "bytes4",
523
- "name": "handlerSelector",
524
- "type": "bytes4"
525
- },
526
- {
527
- "internalType": "enum EngineBlox.TxAction",
528
- "name": "action",
529
- "type": "uint8"
530
- },
531
- {
532
- "internalType": "uint256",
533
- "name": "deadline",
534
- "type": "uint256"
535
- },
536
- {
537
- "internalType": "uint256",
538
- "name": "maxGasPrice",
539
- "type": "uint256"
540
- },
541
- {
542
- "internalType": "address",
543
- "name": "signer",
544
- "type": "address"
545
- }
546
- ],
547
- "internalType": "struct EngineBlox.MetaTxParams",
548
- "name": "",
549
- "type": "tuple"
550
- }
551
- ],
552
- "stateMutability": "view",
553
- "type": "function"
554
- },
555
- {
556
- "inputs": [
557
- {
558
- "internalType": "bytes4",
559
- "name": "functionSelector",
560
- "type": "bytes4"
561
- }
562
- ],
563
- "name": "functionSchemaExists",
564
- "outputs": [
565
- {
566
- "internalType": "bool",
567
- "name": "",
568
- "type": "bool"
569
- }
570
- ],
571
- "stateMutability": "view",
572
- "type": "function"
306
+ "stateMutability": "view",
307
+ "type": "function"
573
308
  },
574
309
  {
575
310
  "inputs": [
@@ -1112,6 +847,100 @@
1112
847
  "stateMutability": "view",
1113
848
  "type": "function"
1114
849
  },
850
+ {
851
+ "inputs": [
852
+ {
853
+ "internalType": "bytes4",
854
+ "name": "functionSelector",
855
+ "type": "bytes4"
856
+ }
857
+ ],
858
+ "name": "getFunctionSchema",
859
+ "outputs": [
860
+ {
861
+ "components": [
862
+ {
863
+ "internalType": "string",
864
+ "name": "functionSignature",
865
+ "type": "string"
866
+ },
867
+ {
868
+ "internalType": "bytes4",
869
+ "name": "functionSelector",
870
+ "type": "bytes4"
871
+ },
872
+ {
873
+ "internalType": "bytes32",
874
+ "name": "operationType",
875
+ "type": "bytes32"
876
+ },
877
+ {
878
+ "internalType": "string",
879
+ "name": "operationName",
880
+ "type": "string"
881
+ },
882
+ {
883
+ "internalType": "uint16",
884
+ "name": "supportedActionsBitmap",
885
+ "type": "uint16"
886
+ },
887
+ {
888
+ "internalType": "bool",
889
+ "name": "isProtected",
890
+ "type": "bool"
891
+ },
892
+ {
893
+ "internalType": "bytes4[]",
894
+ "name": "handlerForSelectors",
895
+ "type": "bytes4[]"
896
+ }
897
+ ],
898
+ "internalType": "struct EngineBlox.FunctionSchema",
899
+ "name": "",
900
+ "type": "tuple"
901
+ }
902
+ ],
903
+ "stateMutability": "view",
904
+ "type": "function"
905
+ },
906
+ {
907
+ "inputs": [
908
+ {
909
+ "internalType": "bytes4",
910
+ "name": "functionSelector",
911
+ "type": "bytes4"
912
+ }
913
+ ],
914
+ "name": "getFunctionWhitelistTargets",
915
+ "outputs": [
916
+ {
917
+ "internalType": "address[]",
918
+ "name": "",
919
+ "type": "address[]"
920
+ }
921
+ ],
922
+ "stateMutability": "view",
923
+ "type": "function"
924
+ },
925
+ {
926
+ "inputs": [
927
+ {
928
+ "internalType": "bytes4",
929
+ "name": "functionSelector",
930
+ "type": "bytes4"
931
+ }
932
+ ],
933
+ "name": "getHooks",
934
+ "outputs": [
935
+ {
936
+ "internalType": "address[]",
937
+ "name": "hooks",
938
+ "type": "address[]"
939
+ }
940
+ ],
941
+ "stateMutability": "view",
942
+ "type": "function"
943
+ },
1115
944
  {
1116
945
  "inputs": [],
1117
946
  "name": "getPendingTransactions",
@@ -1502,6 +1331,25 @@
1502
1331
  "stateMutability": "view",
1503
1332
  "type": "function"
1504
1333
  },
1334
+ {
1335
+ "inputs": [
1336
+ {
1337
+ "internalType": "bytes32",
1338
+ "name": "roleHash",
1339
+ "type": "bytes32"
1340
+ }
1341
+ ],
1342
+ "name": "getWalletsInRole",
1343
+ "outputs": [
1344
+ {
1345
+ "internalType": "address[]",
1346
+ "name": "",
1347
+ "type": "address[]"
1348
+ }
1349
+ ],
1350
+ "stateMutability": "view",
1351
+ "type": "function"
1352
+ },
1505
1353
  {
1506
1354
  "inputs": [
1507
1355
  {
@@ -1633,105 +1481,9 @@
1633
1481
  "name": "transferOwnershipRequest",
1634
1482
  "outputs": [
1635
1483
  {
1636
- "components": [
1637
- {
1638
- "internalType": "uint256",
1639
- "name": "txId",
1640
- "type": "uint256"
1641
- },
1642
- {
1643
- "internalType": "uint256",
1644
- "name": "releaseTime",
1645
- "type": "uint256"
1646
- },
1647
- {
1648
- "internalType": "enum EngineBlox.TxStatus",
1649
- "name": "status",
1650
- "type": "uint8"
1651
- },
1652
- {
1653
- "components": [
1654
- {
1655
- "internalType": "address",
1656
- "name": "requester",
1657
- "type": "address"
1658
- },
1659
- {
1660
- "internalType": "address",
1661
- "name": "target",
1662
- "type": "address"
1663
- },
1664
- {
1665
- "internalType": "uint256",
1666
- "name": "value",
1667
- "type": "uint256"
1668
- },
1669
- {
1670
- "internalType": "uint256",
1671
- "name": "gasLimit",
1672
- "type": "uint256"
1673
- },
1674
- {
1675
- "internalType": "bytes32",
1676
- "name": "operationType",
1677
- "type": "bytes32"
1678
- },
1679
- {
1680
- "internalType": "bytes4",
1681
- "name": "executionSelector",
1682
- "type": "bytes4"
1683
- },
1684
- {
1685
- "internalType": "bytes",
1686
- "name": "executionParams",
1687
- "type": "bytes"
1688
- }
1689
- ],
1690
- "internalType": "struct EngineBlox.TxParams",
1691
- "name": "params",
1692
- "type": "tuple"
1693
- },
1694
- {
1695
- "internalType": "bytes32",
1696
- "name": "message",
1697
- "type": "bytes32"
1698
- },
1699
- {
1700
- "internalType": "bytes",
1701
- "name": "result",
1702
- "type": "bytes"
1703
- },
1704
- {
1705
- "components": [
1706
- {
1707
- "internalType": "address",
1708
- "name": "recipient",
1709
- "type": "address"
1710
- },
1711
- {
1712
- "internalType": "uint256",
1713
- "name": "nativeTokenAmount",
1714
- "type": "uint256"
1715
- },
1716
- {
1717
- "internalType": "address",
1718
- "name": "erc20TokenAddress",
1719
- "type": "address"
1720
- },
1721
- {
1722
- "internalType": "uint256",
1723
- "name": "erc20TokenAmount",
1724
- "type": "uint256"
1725
- }
1726
- ],
1727
- "internalType": "struct EngineBlox.PaymentDetails",
1728
- "name": "payment",
1729
- "type": "tuple"
1730
- }
1731
- ],
1732
- "internalType": "struct EngineBlox.TxRecord",
1733
- "name": "",
1734
- "type": "tuple"
1484
+ "internalType": "uint256",
1485
+ "name": "txId",
1486
+ "type": "uint256"
1735
1487
  }
1736
1488
  ],
1737
1489
  "stateMutability": "nonpayable",
@@ -1748,105 +1500,9 @@
1748
1500
  "name": "transferOwnershipDelayedApproval",
1749
1501
  "outputs": [
1750
1502
  {
1751
- "components": [
1752
- {
1753
- "internalType": "uint256",
1754
- "name": "txId",
1755
- "type": "uint256"
1756
- },
1757
- {
1758
- "internalType": "uint256",
1759
- "name": "releaseTime",
1760
- "type": "uint256"
1761
- },
1762
- {
1763
- "internalType": "enum EngineBlox.TxStatus",
1764
- "name": "status",
1765
- "type": "uint8"
1766
- },
1767
- {
1768
- "components": [
1769
- {
1770
- "internalType": "address",
1771
- "name": "requester",
1772
- "type": "address"
1773
- },
1774
- {
1775
- "internalType": "address",
1776
- "name": "target",
1777
- "type": "address"
1778
- },
1779
- {
1780
- "internalType": "uint256",
1781
- "name": "value",
1782
- "type": "uint256"
1783
- },
1784
- {
1785
- "internalType": "uint256",
1786
- "name": "gasLimit",
1787
- "type": "uint256"
1788
- },
1789
- {
1790
- "internalType": "bytes32",
1791
- "name": "operationType",
1792
- "type": "bytes32"
1793
- },
1794
- {
1795
- "internalType": "bytes4",
1796
- "name": "executionSelector",
1797
- "type": "bytes4"
1798
- },
1799
- {
1800
- "internalType": "bytes",
1801
- "name": "executionParams",
1802
- "type": "bytes"
1803
- }
1804
- ],
1805
- "internalType": "struct EngineBlox.TxParams",
1806
- "name": "params",
1807
- "type": "tuple"
1808
- },
1809
- {
1810
- "internalType": "bytes32",
1811
- "name": "message",
1812
- "type": "bytes32"
1813
- },
1814
- {
1815
- "internalType": "bytes",
1816
- "name": "result",
1817
- "type": "bytes"
1818
- },
1819
- {
1820
- "components": [
1821
- {
1822
- "internalType": "address",
1823
- "name": "recipient",
1824
- "type": "address"
1825
- },
1826
- {
1827
- "internalType": "uint256",
1828
- "name": "nativeTokenAmount",
1829
- "type": "uint256"
1830
- },
1831
- {
1832
- "internalType": "address",
1833
- "name": "erc20TokenAddress",
1834
- "type": "address"
1835
- },
1836
- {
1837
- "internalType": "uint256",
1838
- "name": "erc20TokenAmount",
1839
- "type": "uint256"
1840
- }
1841
- ],
1842
- "internalType": "struct EngineBlox.PaymentDetails",
1843
- "name": "payment",
1844
- "type": "tuple"
1845
- }
1846
- ],
1847
- "internalType": "struct EngineBlox.TxRecord",
1503
+ "internalType": "uint256",
1848
1504
  "name": "",
1849
- "type": "tuple"
1505
+ "type": "uint256"
1850
1506
  }
1851
1507
  ],
1852
1508
  "stateMutability": "nonpayable",
@@ -2027,750 +1683,48 @@
2027
1683
  ],
2028
1684
  "name": "transferOwnershipApprovalWithMetaTx",
2029
1685
  "outputs": [
1686
+ {
1687
+ "internalType": "uint256",
1688
+ "name": "",
1689
+ "type": "uint256"
1690
+ }
1691
+ ],
1692
+ "stateMutability": "nonpayable",
1693
+ "type": "function"
1694
+ },
1695
+ {
1696
+ "inputs": [
1697
+ {
1698
+ "internalType": "uint256",
1699
+ "name": "txId",
1700
+ "type": "uint256"
1701
+ }
1702
+ ],
1703
+ "name": "transferOwnershipCancellation",
1704
+ "outputs": [
1705
+ {
1706
+ "internalType": "uint256",
1707
+ "name": "",
1708
+ "type": "uint256"
1709
+ }
1710
+ ],
1711
+ "stateMutability": "nonpayable",
1712
+ "type": "function"
1713
+ },
1714
+ {
1715
+ "inputs": [
2030
1716
  {
2031
1717
  "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
1718
  {
2048
1719
  "components": [
2049
- {
2050
- "internalType": "address",
2051
- "name": "requester",
2052
- "type": "address"
2053
- },
2054
- {
2055
- "internalType": "address",
2056
- "name": "target",
2057
- "type": "address"
2058
- },
2059
1720
  {
2060
1721
  "internalType": "uint256",
2061
- "name": "value",
1722
+ "name": "txId",
2062
1723
  "type": "uint256"
2063
1724
  },
2064
1725
  {
2065
1726
  "internalType": "uint256",
2066
- "name": "gasLimit",
2067
- "type": "uint256"
2068
- },
2069
- {
2070
- "internalType": "bytes32",
2071
- "name": "operationType",
2072
- "type": "bytes32"
2073
- },
2074
- {
2075
- "internalType": "bytes4",
2076
- "name": "executionSelector",
2077
- "type": "bytes4"
2078
- },
2079
- {
2080
- "internalType": "bytes",
2081
- "name": "executionParams",
2082
- "type": "bytes"
2083
- }
2084
- ],
2085
- "internalType": "struct EngineBlox.TxParams",
2086
- "name": "params",
2087
- "type": "tuple"
2088
- },
2089
- {
2090
- "internalType": "bytes32",
2091
- "name": "message",
2092
- "type": "bytes32"
2093
- },
2094
- {
2095
- "internalType": "bytes",
2096
- "name": "result",
2097
- "type": "bytes"
2098
- },
2099
- {
2100
- "components": [
2101
- {
2102
- "internalType": "address",
2103
- "name": "recipient",
2104
- "type": "address"
2105
- },
2106
- {
2107
- "internalType": "uint256",
2108
- "name": "nativeTokenAmount",
2109
- "type": "uint256"
2110
- },
2111
- {
2112
- "internalType": "address",
2113
- "name": "erc20TokenAddress",
2114
- "type": "address"
2115
- },
2116
- {
2117
- "internalType": "uint256",
2118
- "name": "erc20TokenAmount",
2119
- "type": "uint256"
2120
- }
2121
- ],
2122
- "internalType": "struct EngineBlox.PaymentDetails",
2123
- "name": "payment",
2124
- "type": "tuple"
2125
- }
2126
- ],
2127
- "internalType": "struct EngineBlox.TxRecord",
2128
- "name": "",
2129
- "type": "tuple"
2130
- }
2131
- ],
2132
- "stateMutability": "nonpayable",
2133
- "type": "function"
2134
- },
2135
- {
2136
- "inputs": [
2137
- {
2138
- "internalType": "uint256",
2139
- "name": "txId",
2140
- "type": "uint256"
2141
- }
2142
- ],
2143
- "name": "transferOwnershipCancellation",
2144
- "outputs": [
2145
- {
2146
- "components": [
2147
- {
2148
- "internalType": "uint256",
2149
- "name": "txId",
2150
- "type": "uint256"
2151
- },
2152
- {
2153
- "internalType": "uint256",
2154
- "name": "releaseTime",
2155
- "type": "uint256"
2156
- },
2157
- {
2158
- "internalType": "enum EngineBlox.TxStatus",
2159
- "name": "status",
2160
- "type": "uint8"
2161
- },
2162
- {
2163
- "components": [
2164
- {
2165
- "internalType": "address",
2166
- "name": "requester",
2167
- "type": "address"
2168
- },
2169
- {
2170
- "internalType": "address",
2171
- "name": "target",
2172
- "type": "address"
2173
- },
2174
- {
2175
- "internalType": "uint256",
2176
- "name": "value",
2177
- "type": "uint256"
2178
- },
2179
- {
2180
- "internalType": "uint256",
2181
- "name": "gasLimit",
2182
- "type": "uint256"
2183
- },
2184
- {
2185
- "internalType": "bytes32",
2186
- "name": "operationType",
2187
- "type": "bytes32"
2188
- },
2189
- {
2190
- "internalType": "bytes4",
2191
- "name": "executionSelector",
2192
- "type": "bytes4"
2193
- },
2194
- {
2195
- "internalType": "bytes",
2196
- "name": "executionParams",
2197
- "type": "bytes"
2198
- }
2199
- ],
2200
- "internalType": "struct EngineBlox.TxParams",
2201
- "name": "params",
2202
- "type": "tuple"
2203
- },
2204
- {
2205
- "internalType": "bytes32",
2206
- "name": "message",
2207
- "type": "bytes32"
2208
- },
2209
- {
2210
- "internalType": "bytes",
2211
- "name": "result",
2212
- "type": "bytes"
2213
- },
2214
- {
2215
- "components": [
2216
- {
2217
- "internalType": "address",
2218
- "name": "recipient",
2219
- "type": "address"
2220
- },
2221
- {
2222
- "internalType": "uint256",
2223
- "name": "nativeTokenAmount",
2224
- "type": "uint256"
2225
- },
2226
- {
2227
- "internalType": "address",
2228
- "name": "erc20TokenAddress",
2229
- "type": "address"
2230
- },
2231
- {
2232
- "internalType": "uint256",
2233
- "name": "erc20TokenAmount",
2234
- "type": "uint256"
2235
- }
2236
- ],
2237
- "internalType": "struct EngineBlox.PaymentDetails",
2238
- "name": "payment",
2239
- "type": "tuple"
2240
- }
2241
- ],
2242
- "internalType": "struct EngineBlox.TxRecord",
2243
- "name": "",
2244
- "type": "tuple"
2245
- }
2246
- ],
2247
- "stateMutability": "nonpayable",
2248
- "type": "function"
2249
- },
2250
- {
2251
- "inputs": [
2252
- {
2253
- "components": [
2254
- {
2255
- "components": [
2256
- {
2257
- "internalType": "uint256",
2258
- "name": "txId",
2259
- "type": "uint256"
2260
- },
2261
- {
2262
- "internalType": "uint256",
2263
- "name": "releaseTime",
2264
- "type": "uint256"
2265
- },
2266
- {
2267
- "internalType": "enum EngineBlox.TxStatus",
2268
- "name": "status",
2269
- "type": "uint8"
2270
- },
2271
- {
2272
- "components": [
2273
- {
2274
- "internalType": "address",
2275
- "name": "requester",
2276
- "type": "address"
2277
- },
2278
- {
2279
- "internalType": "address",
2280
- "name": "target",
2281
- "type": "address"
2282
- },
2283
- {
2284
- "internalType": "uint256",
2285
- "name": "value",
2286
- "type": "uint256"
2287
- },
2288
- {
2289
- "internalType": "uint256",
2290
- "name": "gasLimit",
2291
- "type": "uint256"
2292
- },
2293
- {
2294
- "internalType": "bytes32",
2295
- "name": "operationType",
2296
- "type": "bytes32"
2297
- },
2298
- {
2299
- "internalType": "bytes4",
2300
- "name": "executionSelector",
2301
- "type": "bytes4"
2302
- },
2303
- {
2304
- "internalType": "bytes",
2305
- "name": "executionParams",
2306
- "type": "bytes"
2307
- }
2308
- ],
2309
- "internalType": "struct EngineBlox.TxParams",
2310
- "name": "params",
2311
- "type": "tuple"
2312
- },
2313
- {
2314
- "internalType": "bytes32",
2315
- "name": "message",
2316
- "type": "bytes32"
2317
- },
2318
- {
2319
- "internalType": "bytes",
2320
- "name": "result",
2321
- "type": "bytes"
2322
- },
2323
- {
2324
- "components": [
2325
- {
2326
- "internalType": "address",
2327
- "name": "recipient",
2328
- "type": "address"
2329
- },
2330
- {
2331
- "internalType": "uint256",
2332
- "name": "nativeTokenAmount",
2333
- "type": "uint256"
2334
- },
2335
- {
2336
- "internalType": "address",
2337
- "name": "erc20TokenAddress",
2338
- "type": "address"
2339
- },
2340
- {
2341
- "internalType": "uint256",
2342
- "name": "erc20TokenAmount",
2343
- "type": "uint256"
2344
- }
2345
- ],
2346
- "internalType": "struct EngineBlox.PaymentDetails",
2347
- "name": "payment",
2348
- "type": "tuple"
2349
- }
2350
- ],
2351
- "internalType": "struct EngineBlox.TxRecord",
2352
- "name": "txRecord",
2353
- "type": "tuple"
2354
- },
2355
- {
2356
- "components": [
2357
- {
2358
- "internalType": "uint256",
2359
- "name": "chainId",
2360
- "type": "uint256"
2361
- },
2362
- {
2363
- "internalType": "uint256",
2364
- "name": "nonce",
2365
- "type": "uint256"
2366
- },
2367
- {
2368
- "internalType": "address",
2369
- "name": "handlerContract",
2370
- "type": "address"
2371
- },
2372
- {
2373
- "internalType": "bytes4",
2374
- "name": "handlerSelector",
2375
- "type": "bytes4"
2376
- },
2377
- {
2378
- "internalType": "enum EngineBlox.TxAction",
2379
- "name": "action",
2380
- "type": "uint8"
2381
- },
2382
- {
2383
- "internalType": "uint256",
2384
- "name": "deadline",
2385
- "type": "uint256"
2386
- },
2387
- {
2388
- "internalType": "uint256",
2389
- "name": "maxGasPrice",
2390
- "type": "uint256"
2391
- },
2392
- {
2393
- "internalType": "address",
2394
- "name": "signer",
2395
- "type": "address"
2396
- }
2397
- ],
2398
- "internalType": "struct EngineBlox.MetaTxParams",
2399
- "name": "params",
2400
- "type": "tuple"
2401
- },
2402
- {
2403
- "internalType": "bytes32",
2404
- "name": "message",
2405
- "type": "bytes32"
2406
- },
2407
- {
2408
- "internalType": "bytes",
2409
- "name": "signature",
2410
- "type": "bytes"
2411
- },
2412
- {
2413
- "internalType": "bytes",
2414
- "name": "data",
2415
- "type": "bytes"
2416
- }
2417
- ],
2418
- "internalType": "struct EngineBlox.MetaTransaction",
2419
- "name": "metaTx",
2420
- "type": "tuple"
2421
- }
2422
- ],
2423
- "name": "transferOwnershipCancellationWithMetaTx",
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"
2448
- },
2449
- {
2450
- "internalType": "address",
2451
- "name": "target",
2452
- "type": "address"
2453
- },
2454
- {
2455
- "internalType": "uint256",
2456
- "name": "value",
2457
- "type": "uint256"
2458
- },
2459
- {
2460
- "internalType": "uint256",
2461
- "name": "gasLimit",
2462
- "type": "uint256"
2463
- },
2464
- {
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"
2478
- }
2479
- ],
2480
- "internalType": "struct EngineBlox.TxParams",
2481
- "name": "params",
2482
- "type": "tuple"
2483
- },
2484
- {
2485
- "internalType": "bytes32",
2486
- "name": "message",
2487
- "type": "bytes32"
2488
- },
2489
- {
2490
- "internalType": "bytes",
2491
- "name": "result",
2492
- "type": "bytes"
2493
- },
2494
- {
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"
2520
- }
2521
- ],
2522
- "internalType": "struct EngineBlox.TxRecord",
2523
- "name": "",
2524
- "type": "tuple"
2525
- }
2526
- ],
2527
- "stateMutability": "nonpayable",
2528
- "type": "function"
2529
- },
2530
- {
2531
- "inputs": [
2532
- {
2533
- "internalType": "address",
2534
- "name": "newBroadcaster",
2535
- "type": "address"
2536
- }
2537
- ],
2538
- "name": "updateBroadcasterRequest",
2539
- "outputs": [
2540
- {
2541
- "components": [
2542
- {
2543
- "internalType": "uint256",
2544
- "name": "txId",
2545
- "type": "uint256"
2546
- },
2547
- {
2548
- "internalType": "uint256",
2549
- "name": "releaseTime",
2550
- "type": "uint256"
2551
- },
2552
- {
2553
- "internalType": "enum EngineBlox.TxStatus",
2554
- "name": "status",
2555
- "type": "uint8"
2556
- },
2557
- {
2558
- "components": [
2559
- {
2560
- "internalType": "address",
2561
- "name": "requester",
2562
- "type": "address"
2563
- },
2564
- {
2565
- "internalType": "address",
2566
- "name": "target",
2567
- "type": "address"
2568
- },
2569
- {
2570
- "internalType": "uint256",
2571
- "name": "value",
2572
- "type": "uint256"
2573
- },
2574
- {
2575
- "internalType": "uint256",
2576
- "name": "gasLimit",
2577
- "type": "uint256"
2578
- },
2579
- {
2580
- "internalType": "bytes32",
2581
- "name": "operationType",
2582
- "type": "bytes32"
2583
- },
2584
- {
2585
- "internalType": "bytes4",
2586
- "name": "executionSelector",
2587
- "type": "bytes4"
2588
- },
2589
- {
2590
- "internalType": "bytes",
2591
- "name": "executionParams",
2592
- "type": "bytes"
2593
- }
2594
- ],
2595
- "internalType": "struct EngineBlox.TxParams",
2596
- "name": "params",
2597
- "type": "tuple"
2598
- },
2599
- {
2600
- "internalType": "bytes32",
2601
- "name": "message",
2602
- "type": "bytes32"
2603
- },
2604
- {
2605
- "internalType": "bytes",
2606
- "name": "result",
2607
- "type": "bytes"
2608
- },
2609
- {
2610
- "components": [
2611
- {
2612
- "internalType": "address",
2613
- "name": "recipient",
2614
- "type": "address"
2615
- },
2616
- {
2617
- "internalType": "uint256",
2618
- "name": "nativeTokenAmount",
2619
- "type": "uint256"
2620
- },
2621
- {
2622
- "internalType": "address",
2623
- "name": "erc20TokenAddress",
2624
- "type": "address"
2625
- },
2626
- {
2627
- "internalType": "uint256",
2628
- "name": "erc20TokenAmount",
2629
- "type": "uint256"
2630
- }
2631
- ],
2632
- "internalType": "struct EngineBlox.PaymentDetails",
2633
- "name": "payment",
2634
- "type": "tuple"
2635
- }
2636
- ],
2637
- "internalType": "struct EngineBlox.TxRecord",
2638
- "name": "",
2639
- "type": "tuple"
2640
- }
2641
- ],
2642
- "stateMutability": "nonpayable",
2643
- "type": "function"
2644
- },
2645
- {
2646
- "inputs": [
2647
- {
2648
- "internalType": "uint256",
2649
- "name": "txId",
2650
- "type": "uint256"
2651
- }
2652
- ],
2653
- "name": "updateBroadcasterDelayedApproval",
2654
- "outputs": [
2655
- {
2656
- "components": [
2657
- {
2658
- "internalType": "uint256",
2659
- "name": "txId",
2660
- "type": "uint256"
2661
- },
2662
- {
2663
- "internalType": "uint256",
2664
- "name": "releaseTime",
2665
- "type": "uint256"
2666
- },
2667
- {
2668
- "internalType": "enum EngineBlox.TxStatus",
2669
- "name": "status",
2670
- "type": "uint8"
2671
- },
2672
- {
2673
- "components": [
2674
- {
2675
- "internalType": "address",
2676
- "name": "requester",
2677
- "type": "address"
2678
- },
2679
- {
2680
- "internalType": "address",
2681
- "name": "target",
2682
- "type": "address"
2683
- },
2684
- {
2685
- "internalType": "uint256",
2686
- "name": "value",
2687
- "type": "uint256"
2688
- },
2689
- {
2690
- "internalType": "uint256",
2691
- "name": "gasLimit",
2692
- "type": "uint256"
2693
- },
2694
- {
2695
- "internalType": "bytes32",
2696
- "name": "operationType",
2697
- "type": "bytes32"
2698
- },
2699
- {
2700
- "internalType": "bytes4",
2701
- "name": "executionSelector",
2702
- "type": "bytes4"
2703
- },
2704
- {
2705
- "internalType": "bytes",
2706
- "name": "executionParams",
2707
- "type": "bytes"
2708
- }
2709
- ],
2710
- "internalType": "struct EngineBlox.TxParams",
2711
- "name": "params",
2712
- "type": "tuple"
2713
- },
2714
- {
2715
- "internalType": "bytes32",
2716
- "name": "message",
2717
- "type": "bytes32"
2718
- },
2719
- {
2720
- "internalType": "bytes",
2721
- "name": "result",
2722
- "type": "bytes"
2723
- },
2724
- {
2725
- "components": [
2726
- {
2727
- "internalType": "address",
2728
- "name": "recipient",
2729
- "type": "address"
2730
- },
2731
- {
2732
- "internalType": "uint256",
2733
- "name": "nativeTokenAmount",
2734
- "type": "uint256"
2735
- },
2736
- {
2737
- "internalType": "address",
2738
- "name": "erc20TokenAddress",
2739
- "type": "address"
2740
- },
2741
- {
2742
- "internalType": "uint256",
2743
- "name": "erc20TokenAmount",
2744
- "type": "uint256"
2745
- }
2746
- ],
2747
- "internalType": "struct EngineBlox.PaymentDetails",
2748
- "name": "payment",
2749
- "type": "tuple"
2750
- }
2751
- ],
2752
- "internalType": "struct EngineBlox.TxRecord",
2753
- "name": "",
2754
- "type": "tuple"
2755
- }
2756
- ],
2757
- "stateMutability": "nonpayable",
2758
- "type": "function"
2759
- },
2760
- {
2761
- "inputs": [
2762
- {
2763
- "components": [
2764
- {
2765
- "components": [
2766
- {
2767
- "internalType": "uint256",
2768
- "name": "txId",
2769
- "type": "uint256"
2770
- },
2771
- {
2772
- "internalType": "uint256",
2773
- "name": "releaseTime",
1727
+ "name": "releaseTime",
2774
1728
  "type": "uint256"
2775
1729
  },
2776
1730
  {
@@ -2918,237 +1872,69 @@
2918
1872
  "internalType": "bytes",
2919
1873
  "name": "signature",
2920
1874
  "type": "bytes"
2921
- },
2922
- {
2923
- "internalType": "bytes",
2924
- "name": "data",
2925
- "type": "bytes"
2926
- }
2927
- ],
2928
- "internalType": "struct EngineBlox.MetaTransaction",
2929
- "name": "metaTx",
2930
- "type": "tuple"
2931
- }
2932
- ],
2933
- "name": "updateBroadcasterApprovalWithMetaTx",
2934
- "outputs": [
2935
- {
2936
- "components": [
2937
- {
2938
- "internalType": "uint256",
2939
- "name": "txId",
2940
- "type": "uint256"
2941
- },
2942
- {
2943
- "internalType": "uint256",
2944
- "name": "releaseTime",
2945
- "type": "uint256"
2946
- },
2947
- {
2948
- "internalType": "enum EngineBlox.TxStatus",
2949
- "name": "status",
2950
- "type": "uint8"
2951
- },
2952
- {
2953
- "components": [
2954
- {
2955
- "internalType": "address",
2956
- "name": "requester",
2957
- "type": "address"
2958
- },
2959
- {
2960
- "internalType": "address",
2961
- "name": "target",
2962
- "type": "address"
2963
- },
2964
- {
2965
- "internalType": "uint256",
2966
- "name": "value",
2967
- "type": "uint256"
2968
- },
2969
- {
2970
- "internalType": "uint256",
2971
- "name": "gasLimit",
2972
- "type": "uint256"
2973
- },
2974
- {
2975
- "internalType": "bytes32",
2976
- "name": "operationType",
2977
- "type": "bytes32"
2978
- },
2979
- {
2980
- "internalType": "bytes4",
2981
- "name": "executionSelector",
2982
- "type": "bytes4"
2983
- },
2984
- {
2985
- "internalType": "bytes",
2986
- "name": "executionParams",
2987
- "type": "bytes"
2988
- }
2989
- ],
2990
- "internalType": "struct EngineBlox.TxParams",
2991
- "name": "params",
2992
- "type": "tuple"
2993
- },
2994
- {
2995
- "internalType": "bytes32",
2996
- "name": "message",
2997
- "type": "bytes32"
2998
- },
2999
- {
3000
- "internalType": "bytes",
3001
- "name": "result",
3002
- "type": "bytes"
3003
- },
3004
- {
3005
- "components": [
3006
- {
3007
- "internalType": "address",
3008
- "name": "recipient",
3009
- "type": "address"
3010
- },
3011
- {
3012
- "internalType": "uint256",
3013
- "name": "nativeTokenAmount",
3014
- "type": "uint256"
3015
- },
3016
- {
3017
- "internalType": "address",
3018
- "name": "erc20TokenAddress",
3019
- "type": "address"
3020
- },
3021
- {
3022
- "internalType": "uint256",
3023
- "name": "erc20TokenAmount",
3024
- "type": "uint256"
3025
- }
3026
- ],
3027
- "internalType": "struct EngineBlox.PaymentDetails",
3028
- "name": "payment",
3029
- "type": "tuple"
3030
- }
3031
- ],
3032
- "internalType": "struct EngineBlox.TxRecord",
3033
- "name": "",
3034
- "type": "tuple"
3035
- }
3036
- ],
3037
- "stateMutability": "nonpayable",
3038
- "type": "function"
3039
- },
3040
- {
3041
- "inputs": [
3042
- {
3043
- "internalType": "uint256",
3044
- "name": "txId",
3045
- "type": "uint256"
3046
- }
3047
- ],
3048
- "name": "updateBroadcasterCancellation",
3049
- "outputs": [
3050
- {
3051
- "components": [
3052
- {
3053
- "internalType": "uint256",
3054
- "name": "txId",
3055
- "type": "uint256"
3056
- },
3057
- {
3058
- "internalType": "uint256",
3059
- "name": "releaseTime",
3060
- "type": "uint256"
3061
- },
3062
- {
3063
- "internalType": "enum EngineBlox.TxStatus",
3064
- "name": "status",
3065
- "type": "uint8"
3066
- },
3067
- {
3068
- "components": [
3069
- {
3070
- "internalType": "address",
3071
- "name": "requester",
3072
- "type": "address"
3073
- },
3074
- {
3075
- "internalType": "address",
3076
- "name": "target",
3077
- "type": "address"
3078
- },
3079
- {
3080
- "internalType": "uint256",
3081
- "name": "value",
3082
- "type": "uint256"
3083
- },
3084
- {
3085
- "internalType": "uint256",
3086
- "name": "gasLimit",
3087
- "type": "uint256"
3088
- },
3089
- {
3090
- "internalType": "bytes32",
3091
- "name": "operationType",
3092
- "type": "bytes32"
3093
- },
3094
- {
3095
- "internalType": "bytes4",
3096
- "name": "executionSelector",
3097
- "type": "bytes4"
3098
- },
3099
- {
3100
- "internalType": "bytes",
3101
- "name": "executionParams",
3102
- "type": "bytes"
3103
- }
3104
- ],
3105
- "internalType": "struct EngineBlox.TxParams",
3106
- "name": "params",
3107
- "type": "tuple"
3108
- },
3109
- {
3110
- "internalType": "bytes32",
3111
- "name": "message",
3112
- "type": "bytes32"
3113
- },
3114
- {
3115
- "internalType": "bytes",
3116
- "name": "result",
3117
- "type": "bytes"
3118
- },
3119
- {
3120
- "components": [
3121
- {
3122
- "internalType": "address",
3123
- "name": "recipient",
3124
- "type": "address"
3125
- },
3126
- {
3127
- "internalType": "uint256",
3128
- "name": "nativeTokenAmount",
3129
- "type": "uint256"
3130
- },
3131
- {
3132
- "internalType": "address",
3133
- "name": "erc20TokenAddress",
3134
- "type": "address"
3135
- },
3136
- {
3137
- "internalType": "uint256",
3138
- "name": "erc20TokenAmount",
3139
- "type": "uint256"
3140
- }
3141
- ],
3142
- "internalType": "struct EngineBlox.PaymentDetails",
3143
- "name": "payment",
3144
- "type": "tuple"
1875
+ },
1876
+ {
1877
+ "internalType": "bytes",
1878
+ "name": "data",
1879
+ "type": "bytes"
3145
1880
  }
3146
1881
  ],
3147
- "internalType": "struct EngineBlox.TxRecord",
3148
- "name": "",
1882
+ "internalType": "struct EngineBlox.MetaTransaction",
1883
+ "name": "metaTx",
3149
1884
  "type": "tuple"
3150
1885
  }
3151
1886
  ],
1887
+ "name": "transferOwnershipCancellationWithMetaTx",
1888
+ "outputs": [
1889
+ {
1890
+ "internalType": "uint256",
1891
+ "name": "",
1892
+ "type": "uint256"
1893
+ }
1894
+ ],
1895
+ "stateMutability": "nonpayable",
1896
+ "type": "function"
1897
+ },
1898
+ {
1899
+ "inputs": [
1900
+ {
1901
+ "internalType": "address",
1902
+ "name": "newBroadcaster",
1903
+ "type": "address"
1904
+ },
1905
+ {
1906
+ "internalType": "uint256",
1907
+ "name": "location",
1908
+ "type": "uint256"
1909
+ }
1910
+ ],
1911
+ "name": "updateBroadcasterRequest",
1912
+ "outputs": [
1913
+ {
1914
+ "internalType": "uint256",
1915
+ "name": "txId",
1916
+ "type": "uint256"
1917
+ }
1918
+ ],
1919
+ "stateMutability": "nonpayable",
1920
+ "type": "function"
1921
+ },
1922
+ {
1923
+ "inputs": [
1924
+ {
1925
+ "internalType": "uint256",
1926
+ "name": "txId",
1927
+ "type": "uint256"
1928
+ }
1929
+ ],
1930
+ "name": "updateBroadcasterDelayedApproval",
1931
+ "outputs": [
1932
+ {
1933
+ "internalType": "uint256",
1934
+ "name": "",
1935
+ "type": "uint256"
1936
+ }
1937
+ ],
3152
1938
  "stateMutability": "nonpayable",
3153
1939
  "type": "function"
3154
1940
  },
@@ -3325,130 +2111,218 @@
3325
2111
  "type": "tuple"
3326
2112
  }
3327
2113
  ],
3328
- "name": "updateBroadcasterCancellationWithMetaTx",
2114
+ "name": "updateBroadcasterApprovalWithMetaTx",
2115
+ "outputs": [
2116
+ {
2117
+ "internalType": "uint256",
2118
+ "name": "",
2119
+ "type": "uint256"
2120
+ }
2121
+ ],
2122
+ "stateMutability": "nonpayable",
2123
+ "type": "function"
2124
+ },
2125
+ {
2126
+ "inputs": [
2127
+ {
2128
+ "internalType": "uint256",
2129
+ "name": "txId",
2130
+ "type": "uint256"
2131
+ }
2132
+ ],
2133
+ "name": "updateBroadcasterCancellation",
3329
2134
  "outputs": [
2135
+ {
2136
+ "internalType": "uint256",
2137
+ "name": "",
2138
+ "type": "uint256"
2139
+ }
2140
+ ],
2141
+ "stateMutability": "nonpayable",
2142
+ "type": "function"
2143
+ },
2144
+ {
2145
+ "inputs": [
3330
2146
  {
3331
2147
  "components": [
3332
- {
3333
- "internalType": "uint256",
3334
- "name": "txId",
3335
- "type": "uint256"
3336
- },
3337
- {
3338
- "internalType": "uint256",
3339
- "name": "releaseTime",
3340
- "type": "uint256"
3341
- },
3342
- {
3343
- "internalType": "enum EngineBlox.TxStatus",
3344
- "name": "status",
3345
- "type": "uint8"
3346
- },
3347
2148
  {
3348
2149
  "components": [
3349
- {
3350
- "internalType": "address",
3351
- "name": "requester",
3352
- "type": "address"
3353
- },
3354
- {
3355
- "internalType": "address",
3356
- "name": "target",
3357
- "type": "address"
3358
- },
3359
2150
  {
3360
2151
  "internalType": "uint256",
3361
- "name": "value",
2152
+ "name": "txId",
3362
2153
  "type": "uint256"
3363
2154
  },
3364
2155
  {
3365
2156
  "internalType": "uint256",
3366
- "name": "gasLimit",
2157
+ "name": "releaseTime",
3367
2158
  "type": "uint256"
3368
2159
  },
3369
2160
  {
3370
- "internalType": "bytes32",
3371
- "name": "operationType",
3372
- "type": "bytes32"
2161
+ "internalType": "enum EngineBlox.TxStatus",
2162
+ "name": "status",
2163
+ "type": "uint8"
3373
2164
  },
3374
2165
  {
3375
- "internalType": "bytes4",
3376
- "name": "executionSelector",
3377
- "type": "bytes4"
2166
+ "components": [
2167
+ {
2168
+ "internalType": "address",
2169
+ "name": "requester",
2170
+ "type": "address"
2171
+ },
2172
+ {
2173
+ "internalType": "address",
2174
+ "name": "target",
2175
+ "type": "address"
2176
+ },
2177
+ {
2178
+ "internalType": "uint256",
2179
+ "name": "value",
2180
+ "type": "uint256"
2181
+ },
2182
+ {
2183
+ "internalType": "uint256",
2184
+ "name": "gasLimit",
2185
+ "type": "uint256"
2186
+ },
2187
+ {
2188
+ "internalType": "bytes32",
2189
+ "name": "operationType",
2190
+ "type": "bytes32"
2191
+ },
2192
+ {
2193
+ "internalType": "bytes4",
2194
+ "name": "executionSelector",
2195
+ "type": "bytes4"
2196
+ },
2197
+ {
2198
+ "internalType": "bytes",
2199
+ "name": "executionParams",
2200
+ "type": "bytes"
2201
+ }
2202
+ ],
2203
+ "internalType": "struct EngineBlox.TxParams",
2204
+ "name": "params",
2205
+ "type": "tuple"
2206
+ },
2207
+ {
2208
+ "internalType": "bytes32",
2209
+ "name": "message",
2210
+ "type": "bytes32"
3378
2211
  },
3379
2212
  {
3380
2213
  "internalType": "bytes",
3381
- "name": "executionParams",
2214
+ "name": "result",
3382
2215
  "type": "bytes"
2216
+ },
2217
+ {
2218
+ "components": [
2219
+ {
2220
+ "internalType": "address",
2221
+ "name": "recipient",
2222
+ "type": "address"
2223
+ },
2224
+ {
2225
+ "internalType": "uint256",
2226
+ "name": "nativeTokenAmount",
2227
+ "type": "uint256"
2228
+ },
2229
+ {
2230
+ "internalType": "address",
2231
+ "name": "erc20TokenAddress",
2232
+ "type": "address"
2233
+ },
2234
+ {
2235
+ "internalType": "uint256",
2236
+ "name": "erc20TokenAmount",
2237
+ "type": "uint256"
2238
+ }
2239
+ ],
2240
+ "internalType": "struct EngineBlox.PaymentDetails",
2241
+ "name": "payment",
2242
+ "type": "tuple"
3383
2243
  }
3384
2244
  ],
3385
- "internalType": "struct EngineBlox.TxParams",
3386
- "name": "params",
2245
+ "internalType": "struct EngineBlox.TxRecord",
2246
+ "name": "txRecord",
3387
2247
  "type": "tuple"
3388
2248
  },
3389
- {
3390
- "internalType": "bytes32",
3391
- "name": "message",
3392
- "type": "bytes32"
3393
- },
3394
- {
3395
- "internalType": "bytes",
3396
- "name": "result",
3397
- "type": "bytes"
3398
- },
3399
2249
  {
3400
2250
  "components": [
3401
2251
  {
3402
- "internalType": "address",
3403
- "name": "recipient",
3404
- "type": "address"
2252
+ "internalType": "uint256",
2253
+ "name": "chainId",
2254
+ "type": "uint256"
3405
2255
  },
3406
2256
  {
3407
2257
  "internalType": "uint256",
3408
- "name": "nativeTokenAmount",
2258
+ "name": "nonce",
3409
2259
  "type": "uint256"
3410
2260
  },
3411
2261
  {
3412
2262
  "internalType": "address",
3413
- "name": "erc20TokenAddress",
2263
+ "name": "handlerContract",
3414
2264
  "type": "address"
3415
2265
  },
2266
+ {
2267
+ "internalType": "bytes4",
2268
+ "name": "handlerSelector",
2269
+ "type": "bytes4"
2270
+ },
2271
+ {
2272
+ "internalType": "enum EngineBlox.TxAction",
2273
+ "name": "action",
2274
+ "type": "uint8"
2275
+ },
3416
2276
  {
3417
2277
  "internalType": "uint256",
3418
- "name": "erc20TokenAmount",
2278
+ "name": "deadline",
2279
+ "type": "uint256"
2280
+ },
2281
+ {
2282
+ "internalType": "uint256",
2283
+ "name": "maxGasPrice",
3419
2284
  "type": "uint256"
2285
+ },
2286
+ {
2287
+ "internalType": "address",
2288
+ "name": "signer",
2289
+ "type": "address"
3420
2290
  }
3421
2291
  ],
3422
- "internalType": "struct EngineBlox.PaymentDetails",
3423
- "name": "payment",
2292
+ "internalType": "struct EngineBlox.MetaTxParams",
2293
+ "name": "params",
3424
2294
  "type": "tuple"
2295
+ },
2296
+ {
2297
+ "internalType": "bytes32",
2298
+ "name": "message",
2299
+ "type": "bytes32"
2300
+ },
2301
+ {
2302
+ "internalType": "bytes",
2303
+ "name": "signature",
2304
+ "type": "bytes"
2305
+ },
2306
+ {
2307
+ "internalType": "bytes",
2308
+ "name": "data",
2309
+ "type": "bytes"
3425
2310
  }
3426
2311
  ],
3427
- "internalType": "struct EngineBlox.TxRecord",
3428
- "name": "",
2312
+ "internalType": "struct EngineBlox.MetaTransaction",
2313
+ "name": "metaTx",
3429
2314
  "type": "tuple"
3430
2315
  }
3431
2316
  ],
3432
- "stateMutability": "nonpayable",
3433
- "type": "function"
3434
- },
3435
- {
3436
- "inputs": [
3437
- {
3438
- "internalType": "address",
3439
- "name": "newRecoveryAddress",
3440
- "type": "address"
3441
- }
3442
- ],
3443
- "name": "updateRecoveryExecutionParams",
2317
+ "name": "updateBroadcasterCancellationWithMetaTx",
3444
2318
  "outputs": [
3445
2319
  {
3446
- "internalType": "bytes",
2320
+ "internalType": "uint256",
3447
2321
  "name": "",
3448
- "type": "bytes"
2322
+ "type": "uint256"
3449
2323
  }
3450
2324
  ],
3451
- "stateMutability": "view",
2325
+ "stateMutability": "nonpayable",
3452
2326
  "type": "function"
3453
2327
  },
3454
2328
  {
@@ -3626,128 +2500,13 @@
3626
2500
  ],
3627
2501
  "name": "updateRecoveryRequestAndApprove",
3628
2502
  "outputs": [
3629
- {
3630
- "components": [
3631
- {
3632
- "internalType": "uint256",
3633
- "name": "txId",
3634
- "type": "uint256"
3635
- },
3636
- {
3637
- "internalType": "uint256",
3638
- "name": "releaseTime",
3639
- "type": "uint256"
3640
- },
3641
- {
3642
- "internalType": "enum EngineBlox.TxStatus",
3643
- "name": "status",
3644
- "type": "uint8"
3645
- },
3646
- {
3647
- "components": [
3648
- {
3649
- "internalType": "address",
3650
- "name": "requester",
3651
- "type": "address"
3652
- },
3653
- {
3654
- "internalType": "address",
3655
- "name": "target",
3656
- "type": "address"
3657
- },
3658
- {
3659
- "internalType": "uint256",
3660
- "name": "value",
3661
- "type": "uint256"
3662
- },
3663
- {
3664
- "internalType": "uint256",
3665
- "name": "gasLimit",
3666
- "type": "uint256"
3667
- },
3668
- {
3669
- "internalType": "bytes32",
3670
- "name": "operationType",
3671
- "type": "bytes32"
3672
- },
3673
- {
3674
- "internalType": "bytes4",
3675
- "name": "executionSelector",
3676
- "type": "bytes4"
3677
- },
3678
- {
3679
- "internalType": "bytes",
3680
- "name": "executionParams",
3681
- "type": "bytes"
3682
- }
3683
- ],
3684
- "internalType": "struct EngineBlox.TxParams",
3685
- "name": "params",
3686
- "type": "tuple"
3687
- },
3688
- {
3689
- "internalType": "bytes32",
3690
- "name": "message",
3691
- "type": "bytes32"
3692
- },
3693
- {
3694
- "internalType": "bytes",
3695
- "name": "result",
3696
- "type": "bytes"
3697
- },
3698
- {
3699
- "components": [
3700
- {
3701
- "internalType": "address",
3702
- "name": "recipient",
3703
- "type": "address"
3704
- },
3705
- {
3706
- "internalType": "uint256",
3707
- "name": "nativeTokenAmount",
3708
- "type": "uint256"
3709
- },
3710
- {
3711
- "internalType": "address",
3712
- "name": "erc20TokenAddress",
3713
- "type": "address"
3714
- },
3715
- {
3716
- "internalType": "uint256",
3717
- "name": "erc20TokenAmount",
3718
- "type": "uint256"
3719
- }
3720
- ],
3721
- "internalType": "struct EngineBlox.PaymentDetails",
3722
- "name": "payment",
3723
- "type": "tuple"
3724
- }
3725
- ],
3726
- "internalType": "struct EngineBlox.TxRecord",
3727
- "name": "",
3728
- "type": "tuple"
3729
- }
3730
- ],
3731
- "stateMutability": "nonpayable",
3732
- "type": "function"
3733
- },
3734
- {
3735
- "inputs": [
3736
2503
  {
3737
2504
  "internalType": "uint256",
3738
- "name": "newTimeLockPeriodSec",
3739
- "type": "uint256"
3740
- }
3741
- ],
3742
- "name": "updateTimeLockExecutionParams",
3743
- "outputs": [
3744
- {
3745
- "internalType": "bytes",
3746
2505
  "name": "",
3747
- "type": "bytes"
2506
+ "type": "uint256"
3748
2507
  }
3749
2508
  ],
3750
- "stateMutability": "view",
2509
+ "stateMutability": "nonpayable",
3751
2510
  "type": "function"
3752
2511
  },
3753
2512
  {
@@ -3926,105 +2685,9 @@
3926
2685
  "name": "updateTimeLockRequestAndApprove",
3927
2686
  "outputs": [
3928
2687
  {
3929
- "components": [
3930
- {
3931
- "internalType": "uint256",
3932
- "name": "txId",
3933
- "type": "uint256"
3934
- },
3935
- {
3936
- "internalType": "uint256",
3937
- "name": "releaseTime",
3938
- "type": "uint256"
3939
- },
3940
- {
3941
- "internalType": "enum EngineBlox.TxStatus",
3942
- "name": "status",
3943
- "type": "uint8"
3944
- },
3945
- {
3946
- "components": [
3947
- {
3948
- "internalType": "address",
3949
- "name": "requester",
3950
- "type": "address"
3951
- },
3952
- {
3953
- "internalType": "address",
3954
- "name": "target",
3955
- "type": "address"
3956
- },
3957
- {
3958
- "internalType": "uint256",
3959
- "name": "value",
3960
- "type": "uint256"
3961
- },
3962
- {
3963
- "internalType": "uint256",
3964
- "name": "gasLimit",
3965
- "type": "uint256"
3966
- },
3967
- {
3968
- "internalType": "bytes32",
3969
- "name": "operationType",
3970
- "type": "bytes32"
3971
- },
3972
- {
3973
- "internalType": "bytes4",
3974
- "name": "executionSelector",
3975
- "type": "bytes4"
3976
- },
3977
- {
3978
- "internalType": "bytes",
3979
- "name": "executionParams",
3980
- "type": "bytes"
3981
- }
3982
- ],
3983
- "internalType": "struct EngineBlox.TxParams",
3984
- "name": "params",
3985
- "type": "tuple"
3986
- },
3987
- {
3988
- "internalType": "bytes32",
3989
- "name": "message",
3990
- "type": "bytes32"
3991
- },
3992
- {
3993
- "internalType": "bytes",
3994
- "name": "result",
3995
- "type": "bytes"
3996
- },
3997
- {
3998
- "components": [
3999
- {
4000
- "internalType": "address",
4001
- "name": "recipient",
4002
- "type": "address"
4003
- },
4004
- {
4005
- "internalType": "uint256",
4006
- "name": "nativeTokenAmount",
4007
- "type": "uint256"
4008
- },
4009
- {
4010
- "internalType": "address",
4011
- "name": "erc20TokenAddress",
4012
- "type": "address"
4013
- },
4014
- {
4015
- "internalType": "uint256",
4016
- "name": "erc20TokenAmount",
4017
- "type": "uint256"
4018
- }
4019
- ],
4020
- "internalType": "struct EngineBlox.PaymentDetails",
4021
- "name": "payment",
4022
- "type": "tuple"
4023
- }
4024
- ],
4025
- "internalType": "struct EngineBlox.TxRecord",
2688
+ "internalType": "uint256",
4026
2689
  "name": "",
4027
- "type": "tuple"
2690
+ "type": "uint256"
4028
2691
  }
4029
2692
  ],
4030
2693
  "stateMutability": "nonpayable",
@@ -4049,6 +2712,11 @@
4049
2712
  "internalType": "address",
4050
2713
  "name": "newBroadcaster",
4051
2714
  "type": "address"
2715
+ },
2716
+ {
2717
+ "internalType": "uint256",
2718
+ "name": "location",
2719
+ "type": "uint256"
4052
2720
  }
4053
2721
  ],
4054
2722
  "name": "executeBroadcasterUpdate",