@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,28 +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
172
  {
211
173
  "anonymous": false,
212
174
  "inputs": [
175
+ {
176
+ "indexed": true,
177
+ "internalType": "bytes4",
178
+ "name": "functionSelector",
179
+ "type": "bytes4"
180
+ },
213
181
  {
214
182
  "indexed": false,
215
- "internalType": "uint256",
216
- "name": "txId",
217
- "type": "uint256"
183
+ "internalType": "bytes",
184
+ "name": "data",
185
+ "type": "bytes"
218
186
  }
219
187
  ],
220
- "name": "BroadcasterUpdateCancelled",
188
+ "name": "ComponentEvent",
221
189
  "type": "event"
222
190
  },
223
191
  {
@@ -225,403 +193,175 @@
225
193
  "inputs": [
226
194
  {
227
195
  "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"
196
+ "internalType": "uint64",
197
+ "name": "version",
198
+ "type": "uint64"
237
199
  }
238
200
  ],
239
- "name": "BroadcasterUpdateRequest",
201
+ "name": "Initialized",
240
202
  "type": "event"
241
203
  },
242
204
  {
243
- "anonymous": false,
244
205
  "inputs": [
245
206
  {
246
- "indexed": false,
247
207
  "internalType": "address",
248
- "name": "oldBroadcaster",
208
+ "name": "handlerContract",
249
209
  "type": "address"
250
210
  },
251
211
  {
252
- "indexed": false,
212
+ "internalType": "bytes4",
213
+ "name": "handlerSelector",
214
+ "type": "bytes4"
215
+ },
216
+ {
217
+ "internalType": "enum EngineBlox.TxAction",
218
+ "name": "action",
219
+ "type": "uint8"
220
+ },
221
+ {
222
+ "internalType": "uint256",
223
+ "name": "deadline",
224
+ "type": "uint256"
225
+ },
226
+ {
227
+ "internalType": "uint256",
228
+ "name": "maxGasPrice",
229
+ "type": "uint256"
230
+ },
231
+ {
253
232
  "internalType": "address",
254
- "name": "newBroadcaster",
233
+ "name": "signer",
255
234
  "type": "address"
256
235
  }
257
236
  ],
258
- "name": "BroadcasterUpdated",
259
- "type": "event"
260
- },
261
- {
262
- "anonymous": false,
263
- "inputs": [
237
+ "name": "createMetaTxParams",
238
+ "outputs": [
264
239
  {
265
- "indexed": false,
266
- "internalType": "uint64",
267
- "name": "version",
268
- "type": "uint64"
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"
269
285
  }
270
286
  ],
271
- "name": "Initialized",
272
- "type": "event"
287
+ "stateMutability": "view",
288
+ "type": "function"
273
289
  },
274
290
  {
275
- "anonymous": false,
276
291
  "inputs": [
277
292
  {
278
- "indexed": false,
293
+ "internalType": "address",
294
+ "name": "newBroadcaster",
295
+ "type": "address"
296
+ },
297
+ {
279
298
  "internalType": "uint256",
280
- "name": "txId",
299
+ "name": "location",
281
300
  "type": "uint256"
282
301
  }
283
302
  ],
284
- "name": "OwnershipTransferCancelled",
285
- "type": "event"
303
+ "name": "executeBroadcasterUpdate",
304
+ "outputs": [],
305
+ "stateMutability": "nonpayable",
306
+ "type": "function"
286
307
  },
287
308
  {
288
- "anonymous": false,
289
309
  "inputs": [
290
310
  {
291
- "indexed": false,
292
- "internalType": "address",
293
- "name": "currentOwner",
294
- "type": "address"
295
- },
296
- {
297
- "indexed": false,
298
311
  "internalType": "address",
299
- "name": "newOwner",
312
+ "name": "newRecoveryAddress",
300
313
  "type": "address"
301
314
  }
302
315
  ],
303
- "name": "OwnershipTransferRequest",
304
- "type": "event"
316
+ "name": "executeRecoveryUpdate",
317
+ "outputs": [],
318
+ "stateMutability": "nonpayable",
319
+ "type": "function"
305
320
  },
306
321
  {
307
- "anonymous": false,
308
322
  "inputs": [
309
323
  {
310
- "indexed": false,
311
- "internalType": "address",
312
- "name": "oldOwner",
313
- "type": "address"
314
- },
315
- {
316
- "indexed": false,
317
- "internalType": "address",
318
- "name": "newOwner",
319
- "type": "address"
324
+ "internalType": "uint256",
325
+ "name": "newTimeLockPeriodSec",
326
+ "type": "uint256"
320
327
  }
321
328
  ],
322
- "name": "OwnershipTransferUpdated",
323
- "type": "event"
329
+ "name": "executeTimeLockUpdate",
330
+ "outputs": [],
331
+ "stateMutability": "nonpayable",
332
+ "type": "function"
324
333
  },
325
334
  {
326
- "anonymous": false,
327
335
  "inputs": [
328
336
  {
329
- "indexed": false,
330
- "internalType": "address",
331
- "name": "oldRecovery",
332
- "type": "address"
333
- },
334
- {
335
- "indexed": false,
336
337
  "internalType": "address",
337
- "name": "newRecovery",
338
+ "name": "newOwner",
338
339
  "type": "address"
339
340
  }
340
341
  ],
341
- "name": "RecoveryAddressUpdated",
342
- "type": "event"
342
+ "name": "executeTransferOwnership",
343
+ "outputs": [],
344
+ "stateMutability": "nonpayable",
345
+ "type": "function"
343
346
  },
344
347
  {
345
- "anonymous": false,
346
348
  "inputs": [
347
349
  {
348
- "indexed": false,
349
- "internalType": "uint256",
350
- "name": "oldPeriod",
351
- "type": "uint256"
352
- },
353
- {
354
- "indexed": false,
355
- "internalType": "uint256",
356
- "name": "newPeriod",
357
- "type": "uint256"
350
+ "internalType": "bytes4",
351
+ "name": "functionSelector",
352
+ "type": "bytes4"
358
353
  }
359
354
  ],
360
- "name": "TimeLockPeriodUpdated",
361
- "type": "event"
362
- },
363
- {
364
- "anonymous": false,
365
- "inputs": [
366
- {
367
- "indexed": true,
368
- "internalType": "uint256",
369
- "name": "txId",
370
- "type": "uint256"
371
- },
372
- {
373
- "indexed": true,
374
- "internalType": "bytes32",
375
- "name": "operationType",
376
- "type": "bytes32"
377
- },
355
+ "name": "functionSchemaExists",
356
+ "outputs": [
378
357
  {
379
- "indexed": true,
380
- "internalType": "address",
381
- "name": "approver",
382
- "type": "address"
358
+ "internalType": "bool",
359
+ "name": "",
360
+ "type": "bool"
383
361
  }
384
362
  ],
385
- "name": "TransactionApproved",
386
- "type": "event"
387
- },
388
- {
389
- "anonymous": false,
390
- "inputs": [
391
- {
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
- },
403
- {
404
- "indexed": true,
405
- "internalType": "address",
406
- "name": "canceller",
407
- "type": "address"
408
- }
409
- ],
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": "address",
559
- "name": "newBroadcaster",
560
- "type": "address"
561
- }
562
- ],
563
- "name": "executeBroadcasterUpdate",
564
- "outputs": [],
565
- "stateMutability": "nonpayable",
566
- "type": "function"
567
- },
568
- {
569
- "inputs": [
570
- {
571
- "internalType": "address",
572
- "name": "newRecoveryAddress",
573
- "type": "address"
574
- }
575
- ],
576
- "name": "executeRecoveryUpdate",
577
- "outputs": [],
578
- "stateMutability": "nonpayable",
579
- "type": "function"
580
- },
581
- {
582
- "inputs": [
583
- {
584
- "internalType": "uint256",
585
- "name": "newTimeLockPeriodSec",
586
- "type": "uint256"
587
- }
588
- ],
589
- "name": "executeTimeLockUpdate",
590
- "outputs": [],
591
- "stateMutability": "nonpayable",
592
- "type": "function"
593
- },
594
- {
595
- "inputs": [
596
- {
597
- "internalType": "address",
598
- "name": "newOwner",
599
- "type": "address"
600
- }
601
- ],
602
- "name": "executeTransferOwnership",
603
- "outputs": [],
604
- "stateMutability": "nonpayable",
605
- "type": "function"
606
- },
607
- {
608
- "inputs": [
609
- {
610
- "internalType": "bytes4",
611
- "name": "functionSelector",
612
- "type": "bytes4"
613
- }
614
- ],
615
- "name": "functionSchemaExists",
616
- "outputs": [
617
- {
618
- "internalType": "bool",
619
- "name": "",
620
- "type": "bool"
621
- }
622
- ],
623
- "stateMutability": "view",
624
- "type": "function"
363
+ "stateMutability": "view",
364
+ "type": "function"
625
365
  },
626
366
  {
627
367
  "inputs": [
@@ -1165,36 +905,130 @@
1165
905
  "type": "function"
1166
906
  },
1167
907
  {
1168
- "inputs": [],
1169
- "name": "getPendingTransactions",
1170
- "outputs": [
908
+ "inputs": [
1171
909
  {
1172
- "internalType": "uint256[]",
1173
- "name": "",
1174
- "type": "uint256[]"
910
+ "internalType": "bytes4",
911
+ "name": "functionSelector",
912
+ "type": "bytes4"
1175
913
  }
1176
914
  ],
1177
- "stateMutability": "view",
1178
- "type": "function"
1179
- },
1180
- {
1181
- "inputs": [],
1182
- "name": "getRecovery",
915
+ "name": "getFunctionSchema",
1183
916
  "outputs": [
1184
917
  {
1185
- "internalType": "address",
1186
- "name": "",
1187
- "type": "address"
1188
- }
1189
- ],
1190
- "stateMutability": "view",
1191
- "type": "function"
1192
- },
1193
- {
1194
- "inputs": [
1195
- {
1196
- "internalType": "bytes32",
1197
- "name": "roleHash",
918
+ "components": [
919
+ {
920
+ "internalType": "string",
921
+ "name": "functionSignature",
922
+ "type": "string"
923
+ },
924
+ {
925
+ "internalType": "bytes4",
926
+ "name": "functionSelector",
927
+ "type": "bytes4"
928
+ },
929
+ {
930
+ "internalType": "bytes32",
931
+ "name": "operationType",
932
+ "type": "bytes32"
933
+ },
934
+ {
935
+ "internalType": "string",
936
+ "name": "operationName",
937
+ "type": "string"
938
+ },
939
+ {
940
+ "internalType": "uint16",
941
+ "name": "supportedActionsBitmap",
942
+ "type": "uint16"
943
+ },
944
+ {
945
+ "internalType": "bool",
946
+ "name": "isProtected",
947
+ "type": "bool"
948
+ },
949
+ {
950
+ "internalType": "bytes4[]",
951
+ "name": "handlerForSelectors",
952
+ "type": "bytes4[]"
953
+ }
954
+ ],
955
+ "internalType": "struct EngineBlox.FunctionSchema",
956
+ "name": "",
957
+ "type": "tuple"
958
+ }
959
+ ],
960
+ "stateMutability": "view",
961
+ "type": "function"
962
+ },
963
+ {
964
+ "inputs": [
965
+ {
966
+ "internalType": "bytes4",
967
+ "name": "functionSelector",
968
+ "type": "bytes4"
969
+ }
970
+ ],
971
+ "name": "getFunctionWhitelistTargets",
972
+ "outputs": [
973
+ {
974
+ "internalType": "address[]",
975
+ "name": "",
976
+ "type": "address[]"
977
+ }
978
+ ],
979
+ "stateMutability": "view",
980
+ "type": "function"
981
+ },
982
+ {
983
+ "inputs": [
984
+ {
985
+ "internalType": "bytes4",
986
+ "name": "functionSelector",
987
+ "type": "bytes4"
988
+ }
989
+ ],
990
+ "name": "getHooks",
991
+ "outputs": [
992
+ {
993
+ "internalType": "address[]",
994
+ "name": "hooks",
995
+ "type": "address[]"
996
+ }
997
+ ],
998
+ "stateMutability": "view",
999
+ "type": "function"
1000
+ },
1001
+ {
1002
+ "inputs": [],
1003
+ "name": "getPendingTransactions",
1004
+ "outputs": [
1005
+ {
1006
+ "internalType": "uint256[]",
1007
+ "name": "",
1008
+ "type": "uint256[]"
1009
+ }
1010
+ ],
1011
+ "stateMutability": "view",
1012
+ "type": "function"
1013
+ },
1014
+ {
1015
+ "inputs": [],
1016
+ "name": "getRecovery",
1017
+ "outputs": [
1018
+ {
1019
+ "internalType": "address",
1020
+ "name": "",
1021
+ "type": "address"
1022
+ }
1023
+ ],
1024
+ "stateMutability": "view",
1025
+ "type": "function"
1026
+ },
1027
+ {
1028
+ "inputs": [
1029
+ {
1030
+ "internalType": "bytes32",
1031
+ "name": "roleHash",
1198
1032
  "type": "bytes32"
1199
1033
  }
1200
1034
  ],
@@ -1554,6 +1388,25 @@
1554
1388
  "stateMutability": "view",
1555
1389
  "type": "function"
1556
1390
  },
1391
+ {
1392
+ "inputs": [
1393
+ {
1394
+ "internalType": "bytes32",
1395
+ "name": "roleHash",
1396
+ "type": "bytes32"
1397
+ }
1398
+ ],
1399
+ "name": "getWalletsInRole",
1400
+ "outputs": [
1401
+ {
1402
+ "internalType": "address[]",
1403
+ "name": "",
1404
+ "type": "address[]"
1405
+ }
1406
+ ],
1407
+ "stateMutability": "view",
1408
+ "type": "function"
1409
+ },
1557
1410
  {
1558
1411
  "inputs": [
1559
1412
  {
@@ -1823,105 +1676,9 @@
1823
1676
  "name": "transferOwnershipApprovalWithMetaTx",
1824
1677
  "outputs": [
1825
1678
  {
1826
- "components": [
1827
- {
1828
- "internalType": "uint256",
1829
- "name": "txId",
1830
- "type": "uint256"
1831
- },
1832
- {
1833
- "internalType": "uint256",
1834
- "name": "releaseTime",
1835
- "type": "uint256"
1836
- },
1837
- {
1838
- "internalType": "enum EngineBlox.TxStatus",
1839
- "name": "status",
1840
- "type": "uint8"
1841
- },
1842
- {
1843
- "components": [
1844
- {
1845
- "internalType": "address",
1846
- "name": "requester",
1847
- "type": "address"
1848
- },
1849
- {
1850
- "internalType": "address",
1851
- "name": "target",
1852
- "type": "address"
1853
- },
1854
- {
1855
- "internalType": "uint256",
1856
- "name": "value",
1857
- "type": "uint256"
1858
- },
1859
- {
1860
- "internalType": "uint256",
1861
- "name": "gasLimit",
1862
- "type": "uint256"
1863
- },
1864
- {
1865
- "internalType": "bytes32",
1866
- "name": "operationType",
1867
- "type": "bytes32"
1868
- },
1869
- {
1870
- "internalType": "bytes4",
1871
- "name": "executionSelector",
1872
- "type": "bytes4"
1873
- },
1874
- {
1875
- "internalType": "bytes",
1876
- "name": "executionParams",
1877
- "type": "bytes"
1878
- }
1879
- ],
1880
- "internalType": "struct EngineBlox.TxParams",
1881
- "name": "params",
1882
- "type": "tuple"
1883
- },
1884
- {
1885
- "internalType": "bytes32",
1886
- "name": "message",
1887
- "type": "bytes32"
1888
- },
1889
- {
1890
- "internalType": "bytes",
1891
- "name": "result",
1892
- "type": "bytes"
1893
- },
1894
- {
1895
- "components": [
1896
- {
1897
- "internalType": "address",
1898
- "name": "recipient",
1899
- "type": "address"
1900
- },
1901
- {
1902
- "internalType": "uint256",
1903
- "name": "nativeTokenAmount",
1904
- "type": "uint256"
1905
- },
1906
- {
1907
- "internalType": "address",
1908
- "name": "erc20TokenAddress",
1909
- "type": "address"
1910
- },
1911
- {
1912
- "internalType": "uint256",
1913
- "name": "erc20TokenAmount",
1914
- "type": "uint256"
1915
- }
1916
- ],
1917
- "internalType": "struct EngineBlox.PaymentDetails",
1918
- "name": "payment",
1919
- "type": "tuple"
1920
- }
1921
- ],
1922
- "internalType": "struct EngineBlox.TxRecord",
1679
+ "internalType": "uint256",
1923
1680
  "name": "",
1924
- "type": "tuple"
1681
+ "type": "uint256"
1925
1682
  }
1926
1683
  ],
1927
1684
  "stateMutability": "nonpayable",
@@ -1937,108 +1694,228 @@
1937
1694
  ],
1938
1695
  "name": "transferOwnershipCancellation",
1939
1696
  "outputs": [
1697
+ {
1698
+ "internalType": "uint256",
1699
+ "name": "",
1700
+ "type": "uint256"
1701
+ }
1702
+ ],
1703
+ "stateMutability": "nonpayable",
1704
+ "type": "function"
1705
+ },
1706
+ {
1707
+ "inputs": [
1940
1708
  {
1941
1709
  "components": [
1942
- {
1943
- "internalType": "uint256",
1944
- "name": "txId",
1945
- "type": "uint256"
1946
- },
1947
- {
1948
- "internalType": "uint256",
1949
- "name": "releaseTime",
1950
- "type": "uint256"
1951
- },
1952
- {
1953
- "internalType": "enum EngineBlox.TxStatus",
1954
- "name": "status",
1955
- "type": "uint8"
1956
- },
1957
1710
  {
1958
1711
  "components": [
1959
1712
  {
1960
- "internalType": "address",
1961
- "name": "requester",
1962
- "type": "address"
1963
- },
1964
- {
1965
- "internalType": "address",
1966
- "name": "target",
1967
- "type": "address"
1713
+ "internalType": "uint256",
1714
+ "name": "txId",
1715
+ "type": "uint256"
1968
1716
  },
1969
1717
  {
1970
1718
  "internalType": "uint256",
1971
- "name": "value",
1719
+ "name": "releaseTime",
1972
1720
  "type": "uint256"
1973
1721
  },
1974
1722
  {
1975
- "internalType": "uint256",
1976
- "name": "gasLimit",
1977
- "type": "uint256"
1723
+ "internalType": "enum EngineBlox.TxStatus",
1724
+ "name": "status",
1725
+ "type": "uint8"
1978
1726
  },
1979
1727
  {
1980
- "internalType": "bytes32",
1981
- "name": "operationType",
1982
- "type": "bytes32"
1728
+ "components": [
1729
+ {
1730
+ "internalType": "address",
1731
+ "name": "requester",
1732
+ "type": "address"
1733
+ },
1734
+ {
1735
+ "internalType": "address",
1736
+ "name": "target",
1737
+ "type": "address"
1738
+ },
1739
+ {
1740
+ "internalType": "uint256",
1741
+ "name": "value",
1742
+ "type": "uint256"
1743
+ },
1744
+ {
1745
+ "internalType": "uint256",
1746
+ "name": "gasLimit",
1747
+ "type": "uint256"
1748
+ },
1749
+ {
1750
+ "internalType": "bytes32",
1751
+ "name": "operationType",
1752
+ "type": "bytes32"
1753
+ },
1754
+ {
1755
+ "internalType": "bytes4",
1756
+ "name": "executionSelector",
1757
+ "type": "bytes4"
1758
+ },
1759
+ {
1760
+ "internalType": "bytes",
1761
+ "name": "executionParams",
1762
+ "type": "bytes"
1763
+ }
1764
+ ],
1765
+ "internalType": "struct EngineBlox.TxParams",
1766
+ "name": "params",
1767
+ "type": "tuple"
1983
1768
  },
1984
1769
  {
1985
- "internalType": "bytes4",
1986
- "name": "executionSelector",
1987
- "type": "bytes4"
1770
+ "internalType": "bytes32",
1771
+ "name": "message",
1772
+ "type": "bytes32"
1988
1773
  },
1989
1774
  {
1990
1775
  "internalType": "bytes",
1991
- "name": "executionParams",
1776
+ "name": "result",
1992
1777
  "type": "bytes"
1778
+ },
1779
+ {
1780
+ "components": [
1781
+ {
1782
+ "internalType": "address",
1783
+ "name": "recipient",
1784
+ "type": "address"
1785
+ },
1786
+ {
1787
+ "internalType": "uint256",
1788
+ "name": "nativeTokenAmount",
1789
+ "type": "uint256"
1790
+ },
1791
+ {
1792
+ "internalType": "address",
1793
+ "name": "erc20TokenAddress",
1794
+ "type": "address"
1795
+ },
1796
+ {
1797
+ "internalType": "uint256",
1798
+ "name": "erc20TokenAmount",
1799
+ "type": "uint256"
1800
+ }
1801
+ ],
1802
+ "internalType": "struct EngineBlox.PaymentDetails",
1803
+ "name": "payment",
1804
+ "type": "tuple"
1993
1805
  }
1994
1806
  ],
1995
- "internalType": "struct EngineBlox.TxParams",
1996
- "name": "params",
1807
+ "internalType": "struct EngineBlox.TxRecord",
1808
+ "name": "txRecord",
1997
1809
  "type": "tuple"
1998
1810
  },
1999
- {
2000
- "internalType": "bytes32",
2001
- "name": "message",
2002
- "type": "bytes32"
2003
- },
2004
- {
2005
- "internalType": "bytes",
2006
- "name": "result",
2007
- "type": "bytes"
2008
- },
2009
1811
  {
2010
1812
  "components": [
2011
1813
  {
2012
- "internalType": "address",
2013
- "name": "recipient",
2014
- "type": "address"
1814
+ "internalType": "uint256",
1815
+ "name": "chainId",
1816
+ "type": "uint256"
2015
1817
  },
2016
1818
  {
2017
1819
  "internalType": "uint256",
2018
- "name": "nativeTokenAmount",
1820
+ "name": "nonce",
2019
1821
  "type": "uint256"
2020
1822
  },
2021
1823
  {
2022
1824
  "internalType": "address",
2023
- "name": "erc20TokenAddress",
1825
+ "name": "handlerContract",
2024
1826
  "type": "address"
2025
1827
  },
1828
+ {
1829
+ "internalType": "bytes4",
1830
+ "name": "handlerSelector",
1831
+ "type": "bytes4"
1832
+ },
1833
+ {
1834
+ "internalType": "enum EngineBlox.TxAction",
1835
+ "name": "action",
1836
+ "type": "uint8"
1837
+ },
2026
1838
  {
2027
1839
  "internalType": "uint256",
2028
- "name": "erc20TokenAmount",
1840
+ "name": "deadline",
2029
1841
  "type": "uint256"
1842
+ },
1843
+ {
1844
+ "internalType": "uint256",
1845
+ "name": "maxGasPrice",
1846
+ "type": "uint256"
1847
+ },
1848
+ {
1849
+ "internalType": "address",
1850
+ "name": "signer",
1851
+ "type": "address"
2030
1852
  }
2031
1853
  ],
2032
- "internalType": "struct EngineBlox.PaymentDetails",
2033
- "name": "payment",
1854
+ "internalType": "struct EngineBlox.MetaTxParams",
1855
+ "name": "params",
2034
1856
  "type": "tuple"
1857
+ },
1858
+ {
1859
+ "internalType": "bytes32",
1860
+ "name": "message",
1861
+ "type": "bytes32"
1862
+ },
1863
+ {
1864
+ "internalType": "bytes",
1865
+ "name": "signature",
1866
+ "type": "bytes"
1867
+ },
1868
+ {
1869
+ "internalType": "bytes",
1870
+ "name": "data",
1871
+ "type": "bytes"
2035
1872
  }
2036
1873
  ],
2037
- "internalType": "struct EngineBlox.TxRecord",
2038
- "name": "",
1874
+ "internalType": "struct EngineBlox.MetaTransaction",
1875
+ "name": "metaTx",
2039
1876
  "type": "tuple"
2040
1877
  }
2041
1878
  ],
1879
+ "name": "transferOwnershipCancellationWithMetaTx",
1880
+ "outputs": [
1881
+ {
1882
+ "internalType": "uint256",
1883
+ "name": "",
1884
+ "type": "uint256"
1885
+ }
1886
+ ],
1887
+ "stateMutability": "nonpayable",
1888
+ "type": "function"
1889
+ },
1890
+ {
1891
+ "inputs": [
1892
+ {
1893
+ "internalType": "uint256",
1894
+ "name": "txId",
1895
+ "type": "uint256"
1896
+ }
1897
+ ],
1898
+ "name": "transferOwnershipDelayedApproval",
1899
+ "outputs": [
1900
+ {
1901
+ "internalType": "uint256",
1902
+ "name": "",
1903
+ "type": "uint256"
1904
+ }
1905
+ ],
1906
+ "stateMutability": "nonpayable",
1907
+ "type": "function"
1908
+ },
1909
+ {
1910
+ "inputs": [],
1911
+ "name": "transferOwnershipRequest",
1912
+ "outputs": [
1913
+ {
1914
+ "internalType": "uint256",
1915
+ "name": "txId",
1916
+ "type": "uint256"
1917
+ }
1918
+ ],
2042
1919
  "stateMutability": "nonpayable",
2043
1920
  "type": "function"
2044
1921
  },
@@ -2215,1193 +2092,185 @@
2215
2092
  "type": "tuple"
2216
2093
  }
2217
2094
  ],
2218
- "name": "transferOwnershipCancellationWithMetaTx",
2095
+ "name": "updateBroadcasterApprovalWithMetaTx",
2096
+ "outputs": [
2097
+ {
2098
+ "internalType": "uint256",
2099
+ "name": "",
2100
+ "type": "uint256"
2101
+ }
2102
+ ],
2103
+ "stateMutability": "nonpayable",
2104
+ "type": "function"
2105
+ },
2106
+ {
2107
+ "inputs": [
2108
+ {
2109
+ "internalType": "uint256",
2110
+ "name": "txId",
2111
+ "type": "uint256"
2112
+ }
2113
+ ],
2114
+ "name": "updateBroadcasterCancellation",
2219
2115
  "outputs": [
2116
+ {
2117
+ "internalType": "uint256",
2118
+ "name": "",
2119
+ "type": "uint256"
2120
+ }
2121
+ ],
2122
+ "stateMutability": "nonpayable",
2123
+ "type": "function"
2124
+ },
2125
+ {
2126
+ "inputs": [
2220
2127
  {
2221
2128
  "components": [
2222
- {
2223
- "internalType": "uint256",
2224
- "name": "txId",
2225
- "type": "uint256"
2226
- },
2227
- {
2228
- "internalType": "uint256",
2229
- "name": "releaseTime",
2230
- "type": "uint256"
2231
- },
2232
- {
2233
- "internalType": "enum EngineBlox.TxStatus",
2234
- "name": "status",
2235
- "type": "uint8"
2236
- },
2237
2129
  {
2238
2130
  "components": [
2239
- {
2240
- "internalType": "address",
2241
- "name": "requester",
2242
- "type": "address"
2243
- },
2244
- {
2245
- "internalType": "address",
2246
- "name": "target",
2247
- "type": "address"
2248
- },
2249
2131
  {
2250
2132
  "internalType": "uint256",
2251
- "name": "value",
2133
+ "name": "txId",
2252
2134
  "type": "uint256"
2253
2135
  },
2254
2136
  {
2255
2137
  "internalType": "uint256",
2256
- "name": "gasLimit",
2138
+ "name": "releaseTime",
2257
2139
  "type": "uint256"
2258
2140
  },
2259
2141
  {
2260
- "internalType": "bytes32",
2261
- "name": "operationType",
2262
- "type": "bytes32"
2263
- },
2264
- {
2265
- "internalType": "bytes4",
2266
- "name": "executionSelector",
2267
- "type": "bytes4"
2268
- },
2269
- {
2270
- "internalType": "bytes",
2271
- "name": "executionParams",
2272
- "type": "bytes"
2273
- }
2274
- ],
2275
- "internalType": "struct EngineBlox.TxParams",
2276
- "name": "params",
2277
- "type": "tuple"
2278
- },
2279
- {
2280
- "internalType": "bytes32",
2281
- "name": "message",
2282
- "type": "bytes32"
2283
- },
2284
- {
2285
- "internalType": "bytes",
2286
- "name": "result",
2287
- "type": "bytes"
2288
- },
2289
- {
2290
- "components": [
2291
- {
2292
- "internalType": "address",
2293
- "name": "recipient",
2294
- "type": "address"
2295
- },
2296
- {
2297
- "internalType": "uint256",
2298
- "name": "nativeTokenAmount",
2299
- "type": "uint256"
2300
- },
2301
- {
2302
- "internalType": "address",
2303
- "name": "erc20TokenAddress",
2304
- "type": "address"
2305
- },
2306
- {
2307
- "internalType": "uint256",
2308
- "name": "erc20TokenAmount",
2309
- "type": "uint256"
2310
- }
2311
- ],
2312
- "internalType": "struct EngineBlox.PaymentDetails",
2313
- "name": "payment",
2314
- "type": "tuple"
2315
- }
2316
- ],
2317
- "internalType": "struct EngineBlox.TxRecord",
2318
- "name": "",
2319
- "type": "tuple"
2320
- }
2321
- ],
2322
- "stateMutability": "nonpayable",
2323
- "type": "function"
2324
- },
2325
- {
2326
- "inputs": [
2327
- {
2328
- "internalType": "uint256",
2329
- "name": "txId",
2330
- "type": "uint256"
2331
- }
2332
- ],
2333
- "name": "transferOwnershipDelayedApproval",
2334
- "outputs": [
2335
- {
2336
- "components": [
2337
- {
2338
- "internalType": "uint256",
2339
- "name": "txId",
2340
- "type": "uint256"
2341
- },
2342
- {
2343
- "internalType": "uint256",
2344
- "name": "releaseTime",
2345
- "type": "uint256"
2346
- },
2347
- {
2348
- "internalType": "enum EngineBlox.TxStatus",
2349
- "name": "status",
2350
- "type": "uint8"
2351
- },
2352
- {
2353
- "components": [
2354
- {
2355
- "internalType": "address",
2356
- "name": "requester",
2357
- "type": "address"
2358
- },
2359
- {
2360
- "internalType": "address",
2361
- "name": "target",
2362
- "type": "address"
2363
- },
2364
- {
2365
- "internalType": "uint256",
2366
- "name": "value",
2367
- "type": "uint256"
2368
- },
2369
- {
2370
- "internalType": "uint256",
2371
- "name": "gasLimit",
2372
- "type": "uint256"
2373
- },
2374
- {
2375
- "internalType": "bytes32",
2376
- "name": "operationType",
2377
- "type": "bytes32"
2378
- },
2379
- {
2380
- "internalType": "bytes4",
2381
- "name": "executionSelector",
2382
- "type": "bytes4"
2383
- },
2384
- {
2385
- "internalType": "bytes",
2386
- "name": "executionParams",
2387
- "type": "bytes"
2388
- }
2389
- ],
2390
- "internalType": "struct EngineBlox.TxParams",
2391
- "name": "params",
2392
- "type": "tuple"
2393
- },
2394
- {
2395
- "internalType": "bytes32",
2396
- "name": "message",
2397
- "type": "bytes32"
2398
- },
2399
- {
2400
- "internalType": "bytes",
2401
- "name": "result",
2402
- "type": "bytes"
2403
- },
2404
- {
2405
- "components": [
2406
- {
2407
- "internalType": "address",
2408
- "name": "recipient",
2409
- "type": "address"
2410
- },
2411
- {
2412
- "internalType": "uint256",
2413
- "name": "nativeTokenAmount",
2414
- "type": "uint256"
2415
- },
2416
- {
2417
- "internalType": "address",
2418
- "name": "erc20TokenAddress",
2419
- "type": "address"
2420
- },
2421
- {
2422
- "internalType": "uint256",
2423
- "name": "erc20TokenAmount",
2424
- "type": "uint256"
2425
- }
2426
- ],
2427
- "internalType": "struct EngineBlox.PaymentDetails",
2428
- "name": "payment",
2429
- "type": "tuple"
2430
- }
2431
- ],
2432
- "internalType": "struct EngineBlox.TxRecord",
2433
- "name": "",
2434
- "type": "tuple"
2435
- }
2436
- ],
2437
- "stateMutability": "nonpayable",
2438
- "type": "function"
2439
- },
2440
- {
2441
- "inputs": [],
2442
- "name": "transferOwnershipRequest",
2443
- "outputs": [
2444
- {
2445
- "components": [
2446
- {
2447
- "internalType": "uint256",
2448
- "name": "txId",
2449
- "type": "uint256"
2450
- },
2451
- {
2452
- "internalType": "uint256",
2453
- "name": "releaseTime",
2454
- "type": "uint256"
2455
- },
2456
- {
2457
- "internalType": "enum EngineBlox.TxStatus",
2458
- "name": "status",
2459
- "type": "uint8"
2460
- },
2461
- {
2462
- "components": [
2463
- {
2464
- "internalType": "address",
2465
- "name": "requester",
2466
- "type": "address"
2467
- },
2468
- {
2469
- "internalType": "address",
2470
- "name": "target",
2471
- "type": "address"
2472
- },
2473
- {
2474
- "internalType": "uint256",
2475
- "name": "value",
2476
- "type": "uint256"
2477
- },
2478
- {
2479
- "internalType": "uint256",
2480
- "name": "gasLimit",
2481
- "type": "uint256"
2482
- },
2483
- {
2484
- "internalType": "bytes32",
2485
- "name": "operationType",
2486
- "type": "bytes32"
2487
- },
2488
- {
2489
- "internalType": "bytes4",
2490
- "name": "executionSelector",
2491
- "type": "bytes4"
2492
- },
2493
- {
2494
- "internalType": "bytes",
2495
- "name": "executionParams",
2496
- "type": "bytes"
2497
- }
2498
- ],
2499
- "internalType": "struct EngineBlox.TxParams",
2500
- "name": "params",
2501
- "type": "tuple"
2502
- },
2503
- {
2504
- "internalType": "bytes32",
2505
- "name": "message",
2506
- "type": "bytes32"
2507
- },
2508
- {
2509
- "internalType": "bytes",
2510
- "name": "result",
2511
- "type": "bytes"
2512
- },
2513
- {
2514
- "components": [
2515
- {
2516
- "internalType": "address",
2517
- "name": "recipient",
2518
- "type": "address"
2519
- },
2520
- {
2521
- "internalType": "uint256",
2522
- "name": "nativeTokenAmount",
2523
- "type": "uint256"
2524
- },
2525
- {
2526
- "internalType": "address",
2527
- "name": "erc20TokenAddress",
2528
- "type": "address"
2529
- },
2530
- {
2531
- "internalType": "uint256",
2532
- "name": "erc20TokenAmount",
2533
- "type": "uint256"
2534
- }
2535
- ],
2536
- "internalType": "struct EngineBlox.PaymentDetails",
2537
- "name": "payment",
2538
- "type": "tuple"
2539
- }
2540
- ],
2541
- "internalType": "struct EngineBlox.TxRecord",
2542
- "name": "",
2543
- "type": "tuple"
2544
- }
2545
- ],
2546
- "stateMutability": "nonpayable",
2547
- "type": "function"
2548
- },
2549
- {
2550
- "inputs": [
2551
- {
2552
- "components": [
2553
- {
2554
- "components": [
2555
- {
2556
- "internalType": "uint256",
2557
- "name": "txId",
2558
- "type": "uint256"
2559
- },
2560
- {
2561
- "internalType": "uint256",
2562
- "name": "releaseTime",
2563
- "type": "uint256"
2564
- },
2565
- {
2566
- "internalType": "enum EngineBlox.TxStatus",
2567
- "name": "status",
2568
- "type": "uint8"
2569
- },
2570
- {
2571
- "components": [
2572
- {
2573
- "internalType": "address",
2574
- "name": "requester",
2575
- "type": "address"
2576
- },
2577
- {
2578
- "internalType": "address",
2579
- "name": "target",
2580
- "type": "address"
2581
- },
2582
- {
2583
- "internalType": "uint256",
2584
- "name": "value",
2585
- "type": "uint256"
2586
- },
2587
- {
2588
- "internalType": "uint256",
2589
- "name": "gasLimit",
2590
- "type": "uint256"
2591
- },
2592
- {
2593
- "internalType": "bytes32",
2594
- "name": "operationType",
2595
- "type": "bytes32"
2596
- },
2597
- {
2598
- "internalType": "bytes4",
2599
- "name": "executionSelector",
2600
- "type": "bytes4"
2601
- },
2602
- {
2603
- "internalType": "bytes",
2604
- "name": "executionParams",
2605
- "type": "bytes"
2606
- }
2607
- ],
2608
- "internalType": "struct EngineBlox.TxParams",
2609
- "name": "params",
2610
- "type": "tuple"
2611
- },
2612
- {
2613
- "internalType": "bytes32",
2614
- "name": "message",
2615
- "type": "bytes32"
2616
- },
2617
- {
2618
- "internalType": "bytes",
2619
- "name": "result",
2620
- "type": "bytes"
2621
- },
2622
- {
2623
- "components": [
2624
- {
2625
- "internalType": "address",
2626
- "name": "recipient",
2627
- "type": "address"
2628
- },
2629
- {
2630
- "internalType": "uint256",
2631
- "name": "nativeTokenAmount",
2632
- "type": "uint256"
2633
- },
2634
- {
2635
- "internalType": "address",
2636
- "name": "erc20TokenAddress",
2637
- "type": "address"
2638
- },
2639
- {
2640
- "internalType": "uint256",
2641
- "name": "erc20TokenAmount",
2642
- "type": "uint256"
2643
- }
2644
- ],
2645
- "internalType": "struct EngineBlox.PaymentDetails",
2646
- "name": "payment",
2647
- "type": "tuple"
2648
- }
2649
- ],
2650
- "internalType": "struct EngineBlox.TxRecord",
2651
- "name": "txRecord",
2652
- "type": "tuple"
2653
- },
2654
- {
2655
- "components": [
2656
- {
2657
- "internalType": "uint256",
2658
- "name": "chainId",
2659
- "type": "uint256"
2660
- },
2661
- {
2662
- "internalType": "uint256",
2663
- "name": "nonce",
2664
- "type": "uint256"
2665
- },
2666
- {
2667
- "internalType": "address",
2668
- "name": "handlerContract",
2669
- "type": "address"
2670
- },
2671
- {
2672
- "internalType": "bytes4",
2673
- "name": "handlerSelector",
2674
- "type": "bytes4"
2675
- },
2676
- {
2677
- "internalType": "enum EngineBlox.TxAction",
2678
- "name": "action",
2679
- "type": "uint8"
2680
- },
2681
- {
2682
- "internalType": "uint256",
2683
- "name": "deadline",
2684
- "type": "uint256"
2685
- },
2686
- {
2687
- "internalType": "uint256",
2688
- "name": "maxGasPrice",
2689
- "type": "uint256"
2690
- },
2691
- {
2692
- "internalType": "address",
2693
- "name": "signer",
2694
- "type": "address"
2695
- }
2696
- ],
2697
- "internalType": "struct EngineBlox.MetaTxParams",
2698
- "name": "params",
2699
- "type": "tuple"
2700
- },
2701
- {
2702
- "internalType": "bytes32",
2703
- "name": "message",
2704
- "type": "bytes32"
2705
- },
2706
- {
2707
- "internalType": "bytes",
2708
- "name": "signature",
2709
- "type": "bytes"
2710
- },
2711
- {
2712
- "internalType": "bytes",
2713
- "name": "data",
2714
- "type": "bytes"
2715
- }
2716
- ],
2717
- "internalType": "struct EngineBlox.MetaTransaction",
2718
- "name": "metaTx",
2719
- "type": "tuple"
2720
- }
2721
- ],
2722
- "name": "updateBroadcasterApprovalWithMetaTx",
2723
- "outputs": [
2724
- {
2725
- "components": [
2726
- {
2727
- "internalType": "uint256",
2728
- "name": "txId",
2729
- "type": "uint256"
2730
- },
2731
- {
2732
- "internalType": "uint256",
2733
- "name": "releaseTime",
2734
- "type": "uint256"
2735
- },
2736
- {
2737
- "internalType": "enum EngineBlox.TxStatus",
2738
- "name": "status",
2739
- "type": "uint8"
2740
- },
2741
- {
2742
- "components": [
2743
- {
2744
- "internalType": "address",
2745
- "name": "requester",
2746
- "type": "address"
2747
- },
2748
- {
2749
- "internalType": "address",
2750
- "name": "target",
2751
- "type": "address"
2752
- },
2753
- {
2754
- "internalType": "uint256",
2755
- "name": "value",
2756
- "type": "uint256"
2757
- },
2758
- {
2759
- "internalType": "uint256",
2760
- "name": "gasLimit",
2761
- "type": "uint256"
2762
- },
2763
- {
2764
- "internalType": "bytes32",
2765
- "name": "operationType",
2766
- "type": "bytes32"
2767
- },
2768
- {
2769
- "internalType": "bytes4",
2770
- "name": "executionSelector",
2771
- "type": "bytes4"
2772
- },
2773
- {
2774
- "internalType": "bytes",
2775
- "name": "executionParams",
2776
- "type": "bytes"
2777
- }
2778
- ],
2779
- "internalType": "struct EngineBlox.TxParams",
2780
- "name": "params",
2781
- "type": "tuple"
2782
- },
2783
- {
2784
- "internalType": "bytes32",
2785
- "name": "message",
2786
- "type": "bytes32"
2787
- },
2788
- {
2789
- "internalType": "bytes",
2790
- "name": "result",
2791
- "type": "bytes"
2792
- },
2793
- {
2794
- "components": [
2795
- {
2796
- "internalType": "address",
2797
- "name": "recipient",
2798
- "type": "address"
2799
- },
2800
- {
2801
- "internalType": "uint256",
2802
- "name": "nativeTokenAmount",
2803
- "type": "uint256"
2804
- },
2805
- {
2806
- "internalType": "address",
2807
- "name": "erc20TokenAddress",
2808
- "type": "address"
2809
- },
2810
- {
2811
- "internalType": "uint256",
2812
- "name": "erc20TokenAmount",
2813
- "type": "uint256"
2814
- }
2815
- ],
2816
- "internalType": "struct EngineBlox.PaymentDetails",
2817
- "name": "payment",
2818
- "type": "tuple"
2819
- }
2820
- ],
2821
- "internalType": "struct EngineBlox.TxRecord",
2822
- "name": "",
2823
- "type": "tuple"
2824
- }
2825
- ],
2826
- "stateMutability": "nonpayable",
2827
- "type": "function"
2828
- },
2829
- {
2830
- "inputs": [
2831
- {
2832
- "internalType": "uint256",
2833
- "name": "txId",
2834
- "type": "uint256"
2835
- }
2836
- ],
2837
- "name": "updateBroadcasterCancellation",
2838
- "outputs": [
2839
- {
2840
- "components": [
2841
- {
2842
- "internalType": "uint256",
2843
- "name": "txId",
2844
- "type": "uint256"
2845
- },
2846
- {
2847
- "internalType": "uint256",
2848
- "name": "releaseTime",
2849
- "type": "uint256"
2850
- },
2851
- {
2852
- "internalType": "enum EngineBlox.TxStatus",
2853
- "name": "status",
2854
- "type": "uint8"
2855
- },
2856
- {
2857
- "components": [
2858
- {
2859
- "internalType": "address",
2860
- "name": "requester",
2861
- "type": "address"
2862
- },
2863
- {
2864
- "internalType": "address",
2865
- "name": "target",
2866
- "type": "address"
2867
- },
2868
- {
2869
- "internalType": "uint256",
2870
- "name": "value",
2871
- "type": "uint256"
2872
- },
2873
- {
2874
- "internalType": "uint256",
2875
- "name": "gasLimit",
2876
- "type": "uint256"
2877
- },
2878
- {
2879
- "internalType": "bytes32",
2880
- "name": "operationType",
2881
- "type": "bytes32"
2882
- },
2883
- {
2884
- "internalType": "bytes4",
2885
- "name": "executionSelector",
2886
- "type": "bytes4"
2887
- },
2888
- {
2889
- "internalType": "bytes",
2890
- "name": "executionParams",
2891
- "type": "bytes"
2892
- }
2893
- ],
2894
- "internalType": "struct EngineBlox.TxParams",
2895
- "name": "params",
2896
- "type": "tuple"
2897
- },
2898
- {
2899
- "internalType": "bytes32",
2900
- "name": "message",
2901
- "type": "bytes32"
2902
- },
2903
- {
2904
- "internalType": "bytes",
2905
- "name": "result",
2906
- "type": "bytes"
2907
- },
2908
- {
2909
- "components": [
2910
- {
2911
- "internalType": "address",
2912
- "name": "recipient",
2913
- "type": "address"
2914
- },
2915
- {
2916
- "internalType": "uint256",
2917
- "name": "nativeTokenAmount",
2918
- "type": "uint256"
2919
- },
2920
- {
2921
- "internalType": "address",
2922
- "name": "erc20TokenAddress",
2923
- "type": "address"
2924
- },
2925
- {
2926
- "internalType": "uint256",
2927
- "name": "erc20TokenAmount",
2928
- "type": "uint256"
2929
- }
2930
- ],
2931
- "internalType": "struct EngineBlox.PaymentDetails",
2932
- "name": "payment",
2933
- "type": "tuple"
2934
- }
2935
- ],
2936
- "internalType": "struct EngineBlox.TxRecord",
2937
- "name": "",
2938
- "type": "tuple"
2939
- }
2940
- ],
2941
- "stateMutability": "nonpayable",
2942
- "type": "function"
2943
- },
2944
- {
2945
- "inputs": [
2946
- {
2947
- "components": [
2948
- {
2949
- "components": [
2950
- {
2951
- "internalType": "uint256",
2952
- "name": "txId",
2953
- "type": "uint256"
2954
- },
2955
- {
2956
- "internalType": "uint256",
2957
- "name": "releaseTime",
2958
- "type": "uint256"
2959
- },
2960
- {
2961
- "internalType": "enum EngineBlox.TxStatus",
2962
- "name": "status",
2963
- "type": "uint8"
2964
- },
2965
- {
2966
- "components": [
2967
- {
2968
- "internalType": "address",
2969
- "name": "requester",
2970
- "type": "address"
2971
- },
2972
- {
2973
- "internalType": "address",
2974
- "name": "target",
2975
- "type": "address"
2976
- },
2977
- {
2978
- "internalType": "uint256",
2979
- "name": "value",
2980
- "type": "uint256"
2981
- },
2982
- {
2983
- "internalType": "uint256",
2984
- "name": "gasLimit",
2985
- "type": "uint256"
2986
- },
2987
- {
2988
- "internalType": "bytes32",
2989
- "name": "operationType",
2990
- "type": "bytes32"
2991
- },
2992
- {
2993
- "internalType": "bytes4",
2994
- "name": "executionSelector",
2995
- "type": "bytes4"
2996
- },
2997
- {
2998
- "internalType": "bytes",
2999
- "name": "executionParams",
3000
- "type": "bytes"
3001
- }
3002
- ],
3003
- "internalType": "struct EngineBlox.TxParams",
3004
- "name": "params",
3005
- "type": "tuple"
3006
- },
3007
- {
3008
- "internalType": "bytes32",
3009
- "name": "message",
3010
- "type": "bytes32"
3011
- },
3012
- {
3013
- "internalType": "bytes",
3014
- "name": "result",
3015
- "type": "bytes"
3016
- },
3017
- {
3018
- "components": [
3019
- {
3020
- "internalType": "address",
3021
- "name": "recipient",
3022
- "type": "address"
3023
- },
3024
- {
3025
- "internalType": "uint256",
3026
- "name": "nativeTokenAmount",
3027
- "type": "uint256"
3028
- },
3029
- {
3030
- "internalType": "address",
3031
- "name": "erc20TokenAddress",
3032
- "type": "address"
3033
- },
3034
- {
3035
- "internalType": "uint256",
3036
- "name": "erc20TokenAmount",
3037
- "type": "uint256"
3038
- }
3039
- ],
3040
- "internalType": "struct EngineBlox.PaymentDetails",
3041
- "name": "payment",
3042
- "type": "tuple"
3043
- }
3044
- ],
3045
- "internalType": "struct EngineBlox.TxRecord",
3046
- "name": "txRecord",
3047
- "type": "tuple"
3048
- },
3049
- {
3050
- "components": [
3051
- {
3052
- "internalType": "uint256",
3053
- "name": "chainId",
3054
- "type": "uint256"
3055
- },
3056
- {
3057
- "internalType": "uint256",
3058
- "name": "nonce",
3059
- "type": "uint256"
3060
- },
3061
- {
3062
- "internalType": "address",
3063
- "name": "handlerContract",
3064
- "type": "address"
3065
- },
3066
- {
3067
- "internalType": "bytes4",
3068
- "name": "handlerSelector",
3069
- "type": "bytes4"
3070
- },
3071
- {
3072
- "internalType": "enum EngineBlox.TxAction",
3073
- "name": "action",
3074
- "type": "uint8"
3075
- },
3076
- {
3077
- "internalType": "uint256",
3078
- "name": "deadline",
3079
- "type": "uint256"
3080
- },
3081
- {
3082
- "internalType": "uint256",
3083
- "name": "maxGasPrice",
3084
- "type": "uint256"
3085
- },
3086
- {
3087
- "internalType": "address",
3088
- "name": "signer",
3089
- "type": "address"
3090
- }
3091
- ],
3092
- "internalType": "struct EngineBlox.MetaTxParams",
3093
- "name": "params",
3094
- "type": "tuple"
3095
- },
3096
- {
3097
- "internalType": "bytes32",
3098
- "name": "message",
3099
- "type": "bytes32"
3100
- },
3101
- {
3102
- "internalType": "bytes",
3103
- "name": "signature",
3104
- "type": "bytes"
3105
- },
3106
- {
3107
- "internalType": "bytes",
3108
- "name": "data",
3109
- "type": "bytes"
3110
- }
3111
- ],
3112
- "internalType": "struct EngineBlox.MetaTransaction",
3113
- "name": "metaTx",
3114
- "type": "tuple"
3115
- }
3116
- ],
3117
- "name": "updateBroadcasterCancellationWithMetaTx",
3118
- "outputs": [
3119
- {
3120
- "components": [
3121
- {
3122
- "internalType": "uint256",
3123
- "name": "txId",
3124
- "type": "uint256"
3125
- },
3126
- {
3127
- "internalType": "uint256",
3128
- "name": "releaseTime",
3129
- "type": "uint256"
3130
- },
3131
- {
3132
- "internalType": "enum EngineBlox.TxStatus",
3133
- "name": "status",
3134
- "type": "uint8"
3135
- },
3136
- {
3137
- "components": [
3138
- {
3139
- "internalType": "address",
3140
- "name": "requester",
3141
- "type": "address"
3142
- },
3143
- {
3144
- "internalType": "address",
3145
- "name": "target",
3146
- "type": "address"
3147
- },
3148
- {
3149
- "internalType": "uint256",
3150
- "name": "value",
3151
- "type": "uint256"
3152
- },
3153
- {
3154
- "internalType": "uint256",
3155
- "name": "gasLimit",
3156
- "type": "uint256"
3157
- },
3158
- {
3159
- "internalType": "bytes32",
3160
- "name": "operationType",
3161
- "type": "bytes32"
3162
- },
3163
- {
3164
- "internalType": "bytes4",
3165
- "name": "executionSelector",
3166
- "type": "bytes4"
3167
- },
3168
- {
3169
- "internalType": "bytes",
3170
- "name": "executionParams",
3171
- "type": "bytes"
3172
- }
3173
- ],
3174
- "internalType": "struct EngineBlox.TxParams",
3175
- "name": "params",
3176
- "type": "tuple"
3177
- },
3178
- {
3179
- "internalType": "bytes32",
3180
- "name": "message",
3181
- "type": "bytes32"
3182
- },
3183
- {
3184
- "internalType": "bytes",
3185
- "name": "result",
3186
- "type": "bytes"
3187
- },
3188
- {
3189
- "components": [
3190
- {
3191
- "internalType": "address",
3192
- "name": "recipient",
3193
- "type": "address"
3194
- },
3195
- {
3196
- "internalType": "uint256",
3197
- "name": "nativeTokenAmount",
3198
- "type": "uint256"
3199
- },
3200
- {
3201
- "internalType": "address",
3202
- "name": "erc20TokenAddress",
3203
- "type": "address"
3204
- },
3205
- {
3206
- "internalType": "uint256",
3207
- "name": "erc20TokenAmount",
3208
- "type": "uint256"
3209
- }
3210
- ],
3211
- "internalType": "struct EngineBlox.PaymentDetails",
3212
- "name": "payment",
3213
- "type": "tuple"
3214
- }
3215
- ],
3216
- "internalType": "struct EngineBlox.TxRecord",
3217
- "name": "",
3218
- "type": "tuple"
3219
- }
3220
- ],
3221
- "stateMutability": "nonpayable",
3222
- "type": "function"
3223
- },
3224
- {
3225
- "inputs": [
3226
- {
3227
- "internalType": "uint256",
3228
- "name": "txId",
3229
- "type": "uint256"
3230
- }
3231
- ],
3232
- "name": "updateBroadcasterDelayedApproval",
3233
- "outputs": [
3234
- {
3235
- "components": [
3236
- {
3237
- "internalType": "uint256",
3238
- "name": "txId",
3239
- "type": "uint256"
3240
- },
3241
- {
3242
- "internalType": "uint256",
3243
- "name": "releaseTime",
3244
- "type": "uint256"
3245
- },
3246
- {
3247
- "internalType": "enum EngineBlox.TxStatus",
3248
- "name": "status",
3249
- "type": "uint8"
3250
- },
3251
- {
3252
- "components": [
3253
- {
3254
- "internalType": "address",
3255
- "name": "requester",
3256
- "type": "address"
3257
- },
3258
- {
3259
- "internalType": "address",
3260
- "name": "target",
3261
- "type": "address"
3262
- },
3263
- {
3264
- "internalType": "uint256",
3265
- "name": "value",
3266
- "type": "uint256"
2142
+ "internalType": "enum EngineBlox.TxStatus",
2143
+ "name": "status",
2144
+ "type": "uint8"
3267
2145
  },
3268
2146
  {
3269
- "internalType": "uint256",
3270
- "name": "gasLimit",
3271
- "type": "uint256"
2147
+ "components": [
2148
+ {
2149
+ "internalType": "address",
2150
+ "name": "requester",
2151
+ "type": "address"
2152
+ },
2153
+ {
2154
+ "internalType": "address",
2155
+ "name": "target",
2156
+ "type": "address"
2157
+ },
2158
+ {
2159
+ "internalType": "uint256",
2160
+ "name": "value",
2161
+ "type": "uint256"
2162
+ },
2163
+ {
2164
+ "internalType": "uint256",
2165
+ "name": "gasLimit",
2166
+ "type": "uint256"
2167
+ },
2168
+ {
2169
+ "internalType": "bytes32",
2170
+ "name": "operationType",
2171
+ "type": "bytes32"
2172
+ },
2173
+ {
2174
+ "internalType": "bytes4",
2175
+ "name": "executionSelector",
2176
+ "type": "bytes4"
2177
+ },
2178
+ {
2179
+ "internalType": "bytes",
2180
+ "name": "executionParams",
2181
+ "type": "bytes"
2182
+ }
2183
+ ],
2184
+ "internalType": "struct EngineBlox.TxParams",
2185
+ "name": "params",
2186
+ "type": "tuple"
3272
2187
  },
3273
2188
  {
3274
2189
  "internalType": "bytes32",
3275
- "name": "operationType",
2190
+ "name": "message",
3276
2191
  "type": "bytes32"
3277
2192
  },
3278
- {
3279
- "internalType": "bytes4",
3280
- "name": "executionSelector",
3281
- "type": "bytes4"
3282
- },
3283
2193
  {
3284
2194
  "internalType": "bytes",
3285
- "name": "executionParams",
2195
+ "name": "result",
3286
2196
  "type": "bytes"
2197
+ },
2198
+ {
2199
+ "components": [
2200
+ {
2201
+ "internalType": "address",
2202
+ "name": "recipient",
2203
+ "type": "address"
2204
+ },
2205
+ {
2206
+ "internalType": "uint256",
2207
+ "name": "nativeTokenAmount",
2208
+ "type": "uint256"
2209
+ },
2210
+ {
2211
+ "internalType": "address",
2212
+ "name": "erc20TokenAddress",
2213
+ "type": "address"
2214
+ },
2215
+ {
2216
+ "internalType": "uint256",
2217
+ "name": "erc20TokenAmount",
2218
+ "type": "uint256"
2219
+ }
2220
+ ],
2221
+ "internalType": "struct EngineBlox.PaymentDetails",
2222
+ "name": "payment",
2223
+ "type": "tuple"
3287
2224
  }
3288
2225
  ],
3289
- "internalType": "struct EngineBlox.TxParams",
3290
- "name": "params",
2226
+ "internalType": "struct EngineBlox.TxRecord",
2227
+ "name": "txRecord",
3291
2228
  "type": "tuple"
3292
2229
  },
3293
- {
3294
- "internalType": "bytes32",
3295
- "name": "message",
3296
- "type": "bytes32"
3297
- },
3298
- {
3299
- "internalType": "bytes",
3300
- "name": "result",
3301
- "type": "bytes"
3302
- },
3303
2230
  {
3304
2231
  "components": [
3305
2232
  {
3306
- "internalType": "address",
3307
- "name": "recipient",
3308
- "type": "address"
2233
+ "internalType": "uint256",
2234
+ "name": "chainId",
2235
+ "type": "uint256"
3309
2236
  },
3310
2237
  {
3311
2238
  "internalType": "uint256",
3312
- "name": "nativeTokenAmount",
2239
+ "name": "nonce",
3313
2240
  "type": "uint256"
3314
2241
  },
3315
2242
  {
3316
2243
  "internalType": "address",
3317
- "name": "erc20TokenAddress",
2244
+ "name": "handlerContract",
3318
2245
  "type": "address"
3319
2246
  },
3320
2247
  {
3321
- "internalType": "uint256",
3322
- "name": "erc20TokenAmount",
3323
- "type": "uint256"
3324
- }
3325
- ],
3326
- "internalType": "struct EngineBlox.PaymentDetails",
3327
- "name": "payment",
3328
- "type": "tuple"
3329
- }
3330
- ],
3331
- "internalType": "struct EngineBlox.TxRecord",
3332
- "name": "",
3333
- "type": "tuple"
3334
- }
3335
- ],
3336
- "stateMutability": "nonpayable",
3337
- "type": "function"
3338
- },
3339
- {
3340
- "inputs": [
3341
- {
3342
- "internalType": "address",
3343
- "name": "newBroadcaster",
3344
- "type": "address"
3345
- }
3346
- ],
3347
- "name": "updateBroadcasterRequest",
3348
- "outputs": [
3349
- {
3350
- "components": [
3351
- {
3352
- "internalType": "uint256",
3353
- "name": "txId",
3354
- "type": "uint256"
3355
- },
3356
- {
3357
- "internalType": "uint256",
3358
- "name": "releaseTime",
3359
- "type": "uint256"
3360
- },
3361
- {
3362
- "internalType": "enum EngineBlox.TxStatus",
3363
- "name": "status",
3364
- "type": "uint8"
3365
- },
3366
- {
3367
- "components": [
3368
- {
3369
- "internalType": "address",
3370
- "name": "requester",
3371
- "type": "address"
2248
+ "internalType": "bytes4",
2249
+ "name": "handlerSelector",
2250
+ "type": "bytes4"
3372
2251
  },
3373
2252
  {
3374
- "internalType": "address",
3375
- "name": "target",
3376
- "type": "address"
2253
+ "internalType": "enum EngineBlox.TxAction",
2254
+ "name": "action",
2255
+ "type": "uint8"
3377
2256
  },
3378
2257
  {
3379
2258
  "internalType": "uint256",
3380
- "name": "value",
2259
+ "name": "deadline",
3381
2260
  "type": "uint256"
3382
2261
  },
3383
2262
  {
3384
2263
  "internalType": "uint256",
3385
- "name": "gasLimit",
2264
+ "name": "maxGasPrice",
3386
2265
  "type": "uint256"
3387
2266
  },
3388
2267
  {
3389
- "internalType": "bytes32",
3390
- "name": "operationType",
3391
- "type": "bytes32"
3392
- },
3393
- {
3394
- "internalType": "bytes4",
3395
- "name": "executionSelector",
3396
- "type": "bytes4"
3397
- },
3398
- {
3399
- "internalType": "bytes",
3400
- "name": "executionParams",
3401
- "type": "bytes"
2268
+ "internalType": "address",
2269
+ "name": "signer",
2270
+ "type": "address"
3402
2271
  }
3403
2272
  ],
3404
- "internalType": "struct EngineBlox.TxParams",
2273
+ "internalType": "struct EngineBlox.MetaTxParams",
3405
2274
  "name": "params",
3406
2275
  "type": "tuple"
3407
2276
  },
@@ -3412,40 +2281,45 @@
3412
2281
  },
3413
2282
  {
3414
2283
  "internalType": "bytes",
3415
- "name": "result",
2284
+ "name": "signature",
3416
2285
  "type": "bytes"
3417
2286
  },
3418
2287
  {
3419
- "components": [
3420
- {
3421
- "internalType": "address",
3422
- "name": "recipient",
3423
- "type": "address"
3424
- },
3425
- {
3426
- "internalType": "uint256",
3427
- "name": "nativeTokenAmount",
3428
- "type": "uint256"
3429
- },
3430
- {
3431
- "internalType": "address",
3432
- "name": "erc20TokenAddress",
3433
- "type": "address"
3434
- },
3435
- {
3436
- "internalType": "uint256",
3437
- "name": "erc20TokenAmount",
3438
- "type": "uint256"
3439
- }
3440
- ],
3441
- "internalType": "struct EngineBlox.PaymentDetails",
3442
- "name": "payment",
3443
- "type": "tuple"
2288
+ "internalType": "bytes",
2289
+ "name": "data",
2290
+ "type": "bytes"
3444
2291
  }
3445
2292
  ],
3446
- "internalType": "struct EngineBlox.TxRecord",
2293
+ "internalType": "struct EngineBlox.MetaTransaction",
2294
+ "name": "metaTx",
2295
+ "type": "tuple"
2296
+ }
2297
+ ],
2298
+ "name": "updateBroadcasterCancellationWithMetaTx",
2299
+ "outputs": [
2300
+ {
2301
+ "internalType": "uint256",
3447
2302
  "name": "",
3448
- "type": "tuple"
2303
+ "type": "uint256"
2304
+ }
2305
+ ],
2306
+ "stateMutability": "nonpayable",
2307
+ "type": "function"
2308
+ },
2309
+ {
2310
+ "inputs": [
2311
+ {
2312
+ "internalType": "uint256",
2313
+ "name": "txId",
2314
+ "type": "uint256"
2315
+ }
2316
+ ],
2317
+ "name": "updateBroadcasterDelayedApproval",
2318
+ "outputs": [
2319
+ {
2320
+ "internalType": "uint256",
2321
+ "name": "",
2322
+ "type": "uint256"
3449
2323
  }
3450
2324
  ],
3451
2325
  "stateMutability": "nonpayable",
@@ -3455,19 +2329,24 @@
3455
2329
  "inputs": [
3456
2330
  {
3457
2331
  "internalType": "address",
3458
- "name": "newRecoveryAddress",
2332
+ "name": "newBroadcaster",
3459
2333
  "type": "address"
2334
+ },
2335
+ {
2336
+ "internalType": "uint256",
2337
+ "name": "location",
2338
+ "type": "uint256"
3460
2339
  }
3461
2340
  ],
3462
- "name": "updateRecoveryExecutionParams",
2341
+ "name": "updateBroadcasterRequest",
3463
2342
  "outputs": [
3464
2343
  {
3465
- "internalType": "bytes",
3466
- "name": "",
3467
- "type": "bytes"
2344
+ "internalType": "uint256",
2345
+ "name": "txId",
2346
+ "type": "uint256"
3468
2347
  }
3469
2348
  ],
3470
- "stateMutability": "view",
2349
+ "stateMutability": "nonpayable",
3471
2350
  "type": "function"
3472
2351
  },
3473
2352
  {
@@ -3645,128 +2524,13 @@
3645
2524
  ],
3646
2525
  "name": "updateRecoveryRequestAndApprove",
3647
2526
  "outputs": [
3648
- {
3649
- "components": [
3650
- {
3651
- "internalType": "uint256",
3652
- "name": "txId",
3653
- "type": "uint256"
3654
- },
3655
- {
3656
- "internalType": "uint256",
3657
- "name": "releaseTime",
3658
- "type": "uint256"
3659
- },
3660
- {
3661
- "internalType": "enum EngineBlox.TxStatus",
3662
- "name": "status",
3663
- "type": "uint8"
3664
- },
3665
- {
3666
- "components": [
3667
- {
3668
- "internalType": "address",
3669
- "name": "requester",
3670
- "type": "address"
3671
- },
3672
- {
3673
- "internalType": "address",
3674
- "name": "target",
3675
- "type": "address"
3676
- },
3677
- {
3678
- "internalType": "uint256",
3679
- "name": "value",
3680
- "type": "uint256"
3681
- },
3682
- {
3683
- "internalType": "uint256",
3684
- "name": "gasLimit",
3685
- "type": "uint256"
3686
- },
3687
- {
3688
- "internalType": "bytes32",
3689
- "name": "operationType",
3690
- "type": "bytes32"
3691
- },
3692
- {
3693
- "internalType": "bytes4",
3694
- "name": "executionSelector",
3695
- "type": "bytes4"
3696
- },
3697
- {
3698
- "internalType": "bytes",
3699
- "name": "executionParams",
3700
- "type": "bytes"
3701
- }
3702
- ],
3703
- "internalType": "struct EngineBlox.TxParams",
3704
- "name": "params",
3705
- "type": "tuple"
3706
- },
3707
- {
3708
- "internalType": "bytes32",
3709
- "name": "message",
3710
- "type": "bytes32"
3711
- },
3712
- {
3713
- "internalType": "bytes",
3714
- "name": "result",
3715
- "type": "bytes"
3716
- },
3717
- {
3718
- "components": [
3719
- {
3720
- "internalType": "address",
3721
- "name": "recipient",
3722
- "type": "address"
3723
- },
3724
- {
3725
- "internalType": "uint256",
3726
- "name": "nativeTokenAmount",
3727
- "type": "uint256"
3728
- },
3729
- {
3730
- "internalType": "address",
3731
- "name": "erc20TokenAddress",
3732
- "type": "address"
3733
- },
3734
- {
3735
- "internalType": "uint256",
3736
- "name": "erc20TokenAmount",
3737
- "type": "uint256"
3738
- }
3739
- ],
3740
- "internalType": "struct EngineBlox.PaymentDetails",
3741
- "name": "payment",
3742
- "type": "tuple"
3743
- }
3744
- ],
3745
- "internalType": "struct EngineBlox.TxRecord",
3746
- "name": "",
3747
- "type": "tuple"
3748
- }
3749
- ],
3750
- "stateMutability": "nonpayable",
3751
- "type": "function"
3752
- },
3753
- {
3754
- "inputs": [
3755
2527
  {
3756
2528
  "internalType": "uint256",
3757
- "name": "newTimeLockPeriodSec",
3758
- "type": "uint256"
3759
- }
3760
- ],
3761
- "name": "updateTimeLockExecutionParams",
3762
- "outputs": [
3763
- {
3764
- "internalType": "bytes",
3765
2529
  "name": "",
3766
- "type": "bytes"
2530
+ "type": "uint256"
3767
2531
  }
3768
2532
  ],
3769
- "stateMutability": "view",
2533
+ "stateMutability": "nonpayable",
3770
2534
  "type": "function"
3771
2535
  },
3772
2536
  {
@@ -3945,105 +2709,9 @@
3945
2709
  "name": "updateTimeLockRequestAndApprove",
3946
2710
  "outputs": [
3947
2711
  {
3948
- "components": [
3949
- {
3950
- "internalType": "uint256",
3951
- "name": "txId",
3952
- "type": "uint256"
3953
- },
3954
- {
3955
- "internalType": "uint256",
3956
- "name": "releaseTime",
3957
- "type": "uint256"
3958
- },
3959
- {
3960
- "internalType": "enum EngineBlox.TxStatus",
3961
- "name": "status",
3962
- "type": "uint8"
3963
- },
3964
- {
3965
- "components": [
3966
- {
3967
- "internalType": "address",
3968
- "name": "requester",
3969
- "type": "address"
3970
- },
3971
- {
3972
- "internalType": "address",
3973
- "name": "target",
3974
- "type": "address"
3975
- },
3976
- {
3977
- "internalType": "uint256",
3978
- "name": "value",
3979
- "type": "uint256"
3980
- },
3981
- {
3982
- "internalType": "uint256",
3983
- "name": "gasLimit",
3984
- "type": "uint256"
3985
- },
3986
- {
3987
- "internalType": "bytes32",
3988
- "name": "operationType",
3989
- "type": "bytes32"
3990
- },
3991
- {
3992
- "internalType": "bytes4",
3993
- "name": "executionSelector",
3994
- "type": "bytes4"
3995
- },
3996
- {
3997
- "internalType": "bytes",
3998
- "name": "executionParams",
3999
- "type": "bytes"
4000
- }
4001
- ],
4002
- "internalType": "struct EngineBlox.TxParams",
4003
- "name": "params",
4004
- "type": "tuple"
4005
- },
4006
- {
4007
- "internalType": "bytes32",
4008
- "name": "message",
4009
- "type": "bytes32"
4010
- },
4011
- {
4012
- "internalType": "bytes",
4013
- "name": "result",
4014
- "type": "bytes"
4015
- },
4016
- {
4017
- "components": [
4018
- {
4019
- "internalType": "address",
4020
- "name": "recipient",
4021
- "type": "address"
4022
- },
4023
- {
4024
- "internalType": "uint256",
4025
- "name": "nativeTokenAmount",
4026
- "type": "uint256"
4027
- },
4028
- {
4029
- "internalType": "address",
4030
- "name": "erc20TokenAddress",
4031
- "type": "address"
4032
- },
4033
- {
4034
- "internalType": "uint256",
4035
- "name": "erc20TokenAmount",
4036
- "type": "uint256"
4037
- }
4038
- ],
4039
- "internalType": "struct EngineBlox.PaymentDetails",
4040
- "name": "payment",
4041
- "type": "tuple"
4042
- }
4043
- ],
4044
- "internalType": "struct EngineBlox.TxRecord",
2712
+ "internalType": "uint256",
4045
2713
  "name": "",
4046
- "type": "tuple"
2714
+ "type": "uint256"
4047
2715
  }
4048
2716
  ],
4049
2717
  "stateMutability": "nonpayable",