@bloxchain/sdk 1.0.0-alpha.20 → 1.0.0-alpha.22

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 (71) hide show
  1. package/README.md +22 -22
  2. package/abi/AccountBlox.abi.json +1886 -1837
  3. package/abi/BaseStateMachine.abi.json +780 -775
  4. package/abi/CopyBlox.abi.json +825 -809
  5. package/abi/EngineBlox.abi.json +545 -538
  6. package/abi/GuardController.abi.json +1590 -1585
  7. package/abi/GuardControllerDefinitions.abi.json +231 -226
  8. package/abi/IDefinition.abi.json +54 -49
  9. package/abi/RoleBlox.abi.json +2993 -2993
  10. package/abi/RuntimeRBAC.abi.json +832 -827
  11. package/abi/RuntimeRBACDefinitions.abi.json +212 -207
  12. package/abi/SecureBlox.abi.json +2752 -2752
  13. package/abi/SecureOwnable.abi.json +1359 -1321
  14. package/abi/SecureOwnableDefinitions.abi.json +171 -166
  15. package/dist/abi/AccountBlox.abi.json +1886 -1837
  16. package/dist/abi/BaseStateMachine.abi.json +780 -775
  17. package/dist/abi/CopyBlox.abi.json +825 -809
  18. package/dist/abi/EngineBlox.abi.json +545 -538
  19. package/dist/abi/GuardController.abi.json +1590 -1585
  20. package/dist/abi/GuardControllerDefinitions.abi.json +231 -226
  21. package/dist/abi/IDefinition.abi.json +54 -49
  22. package/dist/abi/RoleBlox.abi.json +2993 -2993
  23. package/dist/abi/RuntimeRBAC.abi.json +832 -827
  24. package/dist/abi/RuntimeRBACDefinitions.abi.json +212 -207
  25. package/dist/abi/SecureBlox.abi.json +2752 -2752
  26. package/dist/abi/SecureOwnable.abi.json +1359 -1321
  27. package/dist/abi/SecureOwnableDefinitions.abi.json +171 -166
  28. package/dist/contracts/core/SecureOwnable.d.ts +1 -1
  29. package/dist/contracts/core/SecureOwnable.d.ts.map +1 -1
  30. package/dist/contracts/core/SecureOwnable.js +2 -2
  31. package/dist/contracts/core/SecureOwnable.js.map +1 -1
  32. package/dist/interfaces/core.security.index.d.ts +1 -1
  33. package/dist/interfaces/core.security.index.d.ts.map +1 -1
  34. package/dist/interfaces/lib.index.d.ts +1 -1
  35. package/dist/interfaces/lib.index.d.ts.map +1 -1
  36. package/dist/lib/Definition.d.ts.map +1 -1
  37. package/dist/lib/Definition.js +1 -0
  38. package/dist/lib/Definition.js.map +1 -1
  39. package/dist/lib/EngineBlox.d.ts +4 -5
  40. package/dist/lib/EngineBlox.d.ts.map +1 -1
  41. package/dist/lib/EngineBlox.js +9 -5
  42. package/dist/lib/EngineBlox.js.map +1 -1
  43. package/dist/types/core.execution.index.js +2 -2
  44. package/dist/types/core.execution.index.js.map +1 -1
  45. package/dist/types/core.security.index.d.ts.map +1 -1
  46. package/dist/types/core.security.index.js +8 -8
  47. package/dist/types/core.security.index.js.map +1 -1
  48. package/dist/types/definition.index.d.ts +5 -0
  49. package/dist/types/definition.index.d.ts.map +1 -1
  50. package/dist/types/definition.index.js.map +1 -1
  51. package/dist/types/lib.index.d.ts +0 -1
  52. package/dist/types/lib.index.d.ts.map +1 -1
  53. package/dist/types/lib.index.js +1 -2
  54. package/dist/types/lib.index.js.map +1 -1
  55. package/dist/types/meta-transaction.signatures.d.ts +10 -0
  56. package/dist/types/meta-transaction.signatures.d.ts.map +1 -0
  57. package/dist/types/meta-transaction.signatures.js +12 -0
  58. package/dist/types/meta-transaction.signatures.js.map +1 -0
  59. package/dist/utils/contract-errors.d.ts +1 -8
  60. package/dist/utils/contract-errors.d.ts.map +1 -1
  61. package/dist/utils/contract-errors.js +0 -5
  62. package/dist/utils/contract-errors.js.map +1 -1
  63. package/dist/utils/interface-ids.js +1 -1
  64. package/dist/utils/validations.d.ts.map +1 -1
  65. package/dist/utils/validations.js +10 -11
  66. package/dist/utils/validations.js.map +1 -1
  67. package/package.json +5 -5
  68. package/abi/SimpleRWA20.abi.json +0 -4010
  69. package/abi/SimpleRWA20Definitions.abi.json +0 -196
  70. package/abi/SimpleVault.abi.json +0 -3385
  71. package/abi/SimpleVaultDefinitions.abi.json +0 -274
@@ -1,3385 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- {
5
- "internalType": "uint256",
6
- "name": "array1Length",
7
- "type": "uint256"
8
- },
9
- {
10
- "internalType": "uint256",
11
- "name": "array2Length",
12
- "type": "uint256"
13
- }
14
- ],
15
- "name": "ArrayLengthMismatch",
16
- "type": "error"
17
- },
18
- {
19
- "inputs": [
20
- {
21
- "internalType": "bytes4",
22
- "name": "functionSelector",
23
- "type": "bytes4"
24
- }
25
- ],
26
- "name": "ContractFunctionMustBeProtected",
27
- "type": "error"
28
- },
29
- {
30
- "inputs": [
31
- {
32
- "internalType": "address",
33
- "name": "provided",
34
- "type": "address"
35
- }
36
- ],
37
- "name": "InvalidAddress",
38
- "type": "error"
39
- },
40
- {
41
- "inputs": [],
42
- "name": "InvalidInitialization",
43
- "type": "error"
44
- },
45
- {
46
- "inputs": [
47
- {
48
- "internalType": "uint256",
49
- "name": "provided",
50
- "type": "uint256"
51
- }
52
- ],
53
- "name": "InvalidTimeLockPeriod",
54
- "type": "error"
55
- },
56
- {
57
- "inputs": [
58
- {
59
- "internalType": "address",
60
- "name": "signedContract",
61
- "type": "address"
62
- },
63
- {
64
- "internalType": "address",
65
- "name": "entryContract",
66
- "type": "address"
67
- }
68
- ],
69
- "name": "MetaTxHandlerContractMismatch",
70
- "type": "error"
71
- },
72
- {
73
- "inputs": [
74
- {
75
- "internalType": "bytes4",
76
- "name": "signedSelector",
77
- "type": "bytes4"
78
- },
79
- {
80
- "internalType": "bytes4",
81
- "name": "entrySelector",
82
- "type": "bytes4"
83
- }
84
- ],
85
- "name": "MetaTxHandlerSelectorMismatch",
86
- "type": "error"
87
- },
88
- {
89
- "inputs": [
90
- {
91
- "internalType": "address",
92
- "name": "caller",
93
- "type": "address"
94
- }
95
- ],
96
- "name": "NoPermission",
97
- "type": "error"
98
- },
99
- {
100
- "inputs": [],
101
- "name": "NotInitializing",
102
- "type": "error"
103
- },
104
- {
105
- "inputs": [],
106
- "name": "NotSupported",
107
- "type": "error"
108
- },
109
- {
110
- "inputs": [
111
- {
112
- "internalType": "address",
113
- "name": "caller",
114
- "type": "address"
115
- },
116
- {
117
- "internalType": "address",
118
- "name": "contractAddress",
119
- "type": "address"
120
- }
121
- ],
122
- "name": "OnlyCallableByContract",
123
- "type": "error"
124
- },
125
- {
126
- "inputs": [],
127
- "name": "PendingSecureRequest",
128
- "type": "error"
129
- },
130
- {
131
- "inputs": [
132
- {
133
- "internalType": "uint256",
134
- "name": "rangeSize",
135
- "type": "uint256"
136
- },
137
- {
138
- "internalType": "uint256",
139
- "name": "maxRangeSize",
140
- "type": "uint256"
141
- }
142
- ],
143
- "name": "RangeSizeExceeded",
144
- "type": "error"
145
- },
146
- {
147
- "inputs": [],
148
- "name": "ReentrancyGuardReentrantCall",
149
- "type": "error"
150
- },
151
- {
152
- "inputs": [
153
- {
154
- "internalType": "bytes32",
155
- "name": "resourceId",
156
- "type": "bytes32"
157
- }
158
- ],
159
- "name": "ResourceNotFound",
160
- "type": "error"
161
- },
162
- {
163
- "inputs": [
164
- {
165
- "internalType": "address",
166
- "name": "caller",
167
- "type": "address"
168
- },
169
- {
170
- "internalType": "address",
171
- "name": "owner",
172
- "type": "address"
173
- }
174
- ],
175
- "name": "RestrictedOwner",
176
- "type": "error"
177
- },
178
- {
179
- "inputs": [
180
- {
181
- "internalType": "address",
182
- "name": "caller",
183
- "type": "address"
184
- },
185
- {
186
- "internalType": "address",
187
- "name": "owner",
188
- "type": "address"
189
- },
190
- {
191
- "internalType": "address",
192
- "name": "recovery",
193
- "type": "address"
194
- }
195
- ],
196
- "name": "RestrictedOwnerRecovery",
197
- "type": "error"
198
- },
199
- {
200
- "inputs": [
201
- {
202
- "internalType": "address",
203
- "name": "caller",
204
- "type": "address"
205
- },
206
- {
207
- "internalType": "address",
208
- "name": "recovery",
209
- "type": "address"
210
- }
211
- ],
212
- "name": "RestrictedRecovery",
213
- "type": "error"
214
- },
215
- {
216
- "inputs": [
217
- {
218
- "internalType": "address",
219
- "name": "token",
220
- "type": "address"
221
- }
222
- ],
223
- "name": "SafeERC20FailedOperation",
224
- "type": "error"
225
- },
226
- {
227
- "anonymous": false,
228
- "inputs": [
229
- {
230
- "indexed": true,
231
- "internalType": "bytes4",
232
- "name": "functionSelector",
233
- "type": "bytes4"
234
- },
235
- {
236
- "indexed": false,
237
- "internalType": "bytes",
238
- "name": "data",
239
- "type": "bytes"
240
- }
241
- ],
242
- "name": "ComponentEvent",
243
- "type": "event"
244
- },
245
- {
246
- "anonymous": false,
247
- "inputs": [
248
- {
249
- "indexed": true,
250
- "internalType": "address",
251
- "name": "from",
252
- "type": "address"
253
- },
254
- {
255
- "indexed": false,
256
- "internalType": "uint256",
257
- "name": "amount",
258
- "type": "uint256"
259
- }
260
- ],
261
- "name": "EthReceived",
262
- "type": "event"
263
- },
264
- {
265
- "anonymous": false,
266
- "inputs": [
267
- {
268
- "indexed": true,
269
- "internalType": "address",
270
- "name": "to",
271
- "type": "address"
272
- },
273
- {
274
- "indexed": false,
275
- "internalType": "uint256",
276
- "name": "amount",
277
- "type": "uint256"
278
- }
279
- ],
280
- "name": "EthWithdrawn",
281
- "type": "event"
282
- },
283
- {
284
- "anonymous": false,
285
- "inputs": [
286
- {
287
- "indexed": false,
288
- "internalType": "uint64",
289
- "name": "version",
290
- "type": "uint64"
291
- }
292
- ],
293
- "name": "Initialized",
294
- "type": "event"
295
- },
296
- {
297
- "anonymous": false,
298
- "inputs": [
299
- {
300
- "indexed": true,
301
- "internalType": "address",
302
- "name": "token",
303
- "type": "address"
304
- },
305
- {
306
- "indexed": true,
307
- "internalType": "address",
308
- "name": "to",
309
- "type": "address"
310
- },
311
- {
312
- "indexed": false,
313
- "internalType": "uint256",
314
- "name": "amount",
315
- "type": "uint256"
316
- }
317
- ],
318
- "name": "TokenWithdrawn",
319
- "type": "event"
320
- },
321
- {
322
- "inputs": [
323
- {
324
- "internalType": "address",
325
- "name": "handlerContract",
326
- "type": "address"
327
- },
328
- {
329
- "internalType": "bytes4",
330
- "name": "handlerSelector",
331
- "type": "bytes4"
332
- },
333
- {
334
- "internalType": "enum EngineBlox.TxAction",
335
- "name": "action",
336
- "type": "uint8"
337
- },
338
- {
339
- "internalType": "uint256",
340
- "name": "deadline",
341
- "type": "uint256"
342
- },
343
- {
344
- "internalType": "uint256",
345
- "name": "maxGasPrice",
346
- "type": "uint256"
347
- },
348
- {
349
- "internalType": "address",
350
- "name": "signer",
351
- "type": "address"
352
- }
353
- ],
354
- "name": "createMetaTxParams",
355
- "outputs": [
356
- {
357
- "components": [
358
- {
359
- "internalType": "uint256",
360
- "name": "chainId",
361
- "type": "uint256"
362
- },
363
- {
364
- "internalType": "uint256",
365
- "name": "nonce",
366
- "type": "uint256"
367
- },
368
- {
369
- "internalType": "address",
370
- "name": "handlerContract",
371
- "type": "address"
372
- },
373
- {
374
- "internalType": "bytes4",
375
- "name": "handlerSelector",
376
- "type": "bytes4"
377
- },
378
- {
379
- "internalType": "enum EngineBlox.TxAction",
380
- "name": "action",
381
- "type": "uint8"
382
- },
383
- {
384
- "internalType": "uint256",
385
- "name": "deadline",
386
- "type": "uint256"
387
- },
388
- {
389
- "internalType": "uint256",
390
- "name": "maxGasPrice",
391
- "type": "uint256"
392
- },
393
- {
394
- "internalType": "address",
395
- "name": "signer",
396
- "type": "address"
397
- }
398
- ],
399
- "internalType": "struct EngineBlox.MetaTxParams",
400
- "name": "",
401
- "type": "tuple"
402
- }
403
- ],
404
- "stateMutability": "view",
405
- "type": "function"
406
- },
407
- {
408
- "inputs": [
409
- {
410
- "internalType": "address",
411
- "name": "newBroadcaster",
412
- "type": "address"
413
- },
414
- {
415
- "internalType": "uint256",
416
- "name": "location",
417
- "type": "uint256"
418
- }
419
- ],
420
- "name": "executeBroadcasterUpdate",
421
- "outputs": [],
422
- "stateMutability": "nonpayable",
423
- "type": "function"
424
- },
425
- {
426
- "inputs": [
427
- {
428
- "internalType": "address",
429
- "name": "newRecoveryAddress",
430
- "type": "address"
431
- }
432
- ],
433
- "name": "executeRecoveryUpdate",
434
- "outputs": [],
435
- "stateMutability": "nonpayable",
436
- "type": "function"
437
- },
438
- {
439
- "inputs": [
440
- {
441
- "internalType": "uint256",
442
- "name": "newTimeLockPeriodSec",
443
- "type": "uint256"
444
- }
445
- ],
446
- "name": "executeTimeLockUpdate",
447
- "outputs": [],
448
- "stateMutability": "nonpayable",
449
- "type": "function"
450
- },
451
- {
452
- "inputs": [
453
- {
454
- "internalType": "address",
455
- "name": "newOwner",
456
- "type": "address"
457
- }
458
- ],
459
- "name": "executeTransferOwnership",
460
- "outputs": [],
461
- "stateMutability": "nonpayable",
462
- "type": "function"
463
- },
464
- {
465
- "inputs": [
466
- {
467
- "internalType": "uint256",
468
- "name": "txId",
469
- "type": "uint256"
470
- },
471
- {
472
- "components": [
473
- {
474
- "internalType": "uint256",
475
- "name": "chainId",
476
- "type": "uint256"
477
- },
478
- {
479
- "internalType": "uint256",
480
- "name": "nonce",
481
- "type": "uint256"
482
- },
483
- {
484
- "internalType": "address",
485
- "name": "handlerContract",
486
- "type": "address"
487
- },
488
- {
489
- "internalType": "bytes4",
490
- "name": "handlerSelector",
491
- "type": "bytes4"
492
- },
493
- {
494
- "internalType": "enum EngineBlox.TxAction",
495
- "name": "action",
496
- "type": "uint8"
497
- },
498
- {
499
- "internalType": "uint256",
500
- "name": "deadline",
501
- "type": "uint256"
502
- },
503
- {
504
- "internalType": "uint256",
505
- "name": "maxGasPrice",
506
- "type": "uint256"
507
- },
508
- {
509
- "internalType": "address",
510
- "name": "signer",
511
- "type": "address"
512
- }
513
- ],
514
- "internalType": "struct EngineBlox.MetaTxParams",
515
- "name": "metaTxParams",
516
- "type": "tuple"
517
- }
518
- ],
519
- "name": "generateUnsignedMetaTransactionForExisting",
520
- "outputs": [
521
- {
522
- "components": [
523
- {
524
- "components": [
525
- {
526
- "internalType": "uint256",
527
- "name": "txId",
528
- "type": "uint256"
529
- },
530
- {
531
- "internalType": "uint256",
532
- "name": "releaseTime",
533
- "type": "uint256"
534
- },
535
- {
536
- "internalType": "enum EngineBlox.TxStatus",
537
- "name": "status",
538
- "type": "uint8"
539
- },
540
- {
541
- "components": [
542
- {
543
- "internalType": "address",
544
- "name": "requester",
545
- "type": "address"
546
- },
547
- {
548
- "internalType": "address",
549
- "name": "target",
550
- "type": "address"
551
- },
552
- {
553
- "internalType": "uint256",
554
- "name": "value",
555
- "type": "uint256"
556
- },
557
- {
558
- "internalType": "uint256",
559
- "name": "gasLimit",
560
- "type": "uint256"
561
- },
562
- {
563
- "internalType": "bytes32",
564
- "name": "operationType",
565
- "type": "bytes32"
566
- },
567
- {
568
- "internalType": "bytes4",
569
- "name": "executionSelector",
570
- "type": "bytes4"
571
- },
572
- {
573
- "internalType": "bytes",
574
- "name": "executionParams",
575
- "type": "bytes"
576
- }
577
- ],
578
- "internalType": "struct EngineBlox.TxParams",
579
- "name": "params",
580
- "type": "tuple"
581
- },
582
- {
583
- "internalType": "bytes32",
584
- "name": "message",
585
- "type": "bytes32"
586
- },
587
- {
588
- "internalType": "bytes",
589
- "name": "result",
590
- "type": "bytes"
591
- },
592
- {
593
- "components": [
594
- {
595
- "internalType": "address",
596
- "name": "recipient",
597
- "type": "address"
598
- },
599
- {
600
- "internalType": "uint256",
601
- "name": "nativeTokenAmount",
602
- "type": "uint256"
603
- },
604
- {
605
- "internalType": "address",
606
- "name": "erc20TokenAddress",
607
- "type": "address"
608
- },
609
- {
610
- "internalType": "uint256",
611
- "name": "erc20TokenAmount",
612
- "type": "uint256"
613
- }
614
- ],
615
- "internalType": "struct EngineBlox.PaymentDetails",
616
- "name": "payment",
617
- "type": "tuple"
618
- }
619
- ],
620
- "internalType": "struct EngineBlox.TxRecord",
621
- "name": "txRecord",
622
- "type": "tuple"
623
- },
624
- {
625
- "components": [
626
- {
627
- "internalType": "uint256",
628
- "name": "chainId",
629
- "type": "uint256"
630
- },
631
- {
632
- "internalType": "uint256",
633
- "name": "nonce",
634
- "type": "uint256"
635
- },
636
- {
637
- "internalType": "address",
638
- "name": "handlerContract",
639
- "type": "address"
640
- },
641
- {
642
- "internalType": "bytes4",
643
- "name": "handlerSelector",
644
- "type": "bytes4"
645
- },
646
- {
647
- "internalType": "enum EngineBlox.TxAction",
648
- "name": "action",
649
- "type": "uint8"
650
- },
651
- {
652
- "internalType": "uint256",
653
- "name": "deadline",
654
- "type": "uint256"
655
- },
656
- {
657
- "internalType": "uint256",
658
- "name": "maxGasPrice",
659
- "type": "uint256"
660
- },
661
- {
662
- "internalType": "address",
663
- "name": "signer",
664
- "type": "address"
665
- }
666
- ],
667
- "internalType": "struct EngineBlox.MetaTxParams",
668
- "name": "params",
669
- "type": "tuple"
670
- },
671
- {
672
- "internalType": "bytes32",
673
- "name": "message",
674
- "type": "bytes32"
675
- },
676
- {
677
- "internalType": "bytes",
678
- "name": "signature",
679
- "type": "bytes"
680
- },
681
- {
682
- "internalType": "bytes",
683
- "name": "data",
684
- "type": "bytes"
685
- }
686
- ],
687
- "internalType": "struct EngineBlox.MetaTransaction",
688
- "name": "",
689
- "type": "tuple"
690
- }
691
- ],
692
- "stateMutability": "view",
693
- "type": "function"
694
- },
695
- {
696
- "inputs": [
697
- {
698
- "internalType": "address",
699
- "name": "requester",
700
- "type": "address"
701
- },
702
- {
703
- "internalType": "address",
704
- "name": "target",
705
- "type": "address"
706
- },
707
- {
708
- "internalType": "uint256",
709
- "name": "value",
710
- "type": "uint256"
711
- },
712
- {
713
- "internalType": "uint256",
714
- "name": "gasLimit",
715
- "type": "uint256"
716
- },
717
- {
718
- "internalType": "bytes32",
719
- "name": "operationType",
720
- "type": "bytes32"
721
- },
722
- {
723
- "internalType": "bytes4",
724
- "name": "executionSelector",
725
- "type": "bytes4"
726
- },
727
- {
728
- "internalType": "bytes",
729
- "name": "executionParams",
730
- "type": "bytes"
731
- },
732
- {
733
- "components": [
734
- {
735
- "internalType": "uint256",
736
- "name": "chainId",
737
- "type": "uint256"
738
- },
739
- {
740
- "internalType": "uint256",
741
- "name": "nonce",
742
- "type": "uint256"
743
- },
744
- {
745
- "internalType": "address",
746
- "name": "handlerContract",
747
- "type": "address"
748
- },
749
- {
750
- "internalType": "bytes4",
751
- "name": "handlerSelector",
752
- "type": "bytes4"
753
- },
754
- {
755
- "internalType": "enum EngineBlox.TxAction",
756
- "name": "action",
757
- "type": "uint8"
758
- },
759
- {
760
- "internalType": "uint256",
761
- "name": "deadline",
762
- "type": "uint256"
763
- },
764
- {
765
- "internalType": "uint256",
766
- "name": "maxGasPrice",
767
- "type": "uint256"
768
- },
769
- {
770
- "internalType": "address",
771
- "name": "signer",
772
- "type": "address"
773
- }
774
- ],
775
- "internalType": "struct EngineBlox.MetaTxParams",
776
- "name": "metaTxParams",
777
- "type": "tuple"
778
- }
779
- ],
780
- "name": "generateUnsignedMetaTransactionForNew",
781
- "outputs": [
782
- {
783
- "components": [
784
- {
785
- "components": [
786
- {
787
- "internalType": "uint256",
788
- "name": "txId",
789
- "type": "uint256"
790
- },
791
- {
792
- "internalType": "uint256",
793
- "name": "releaseTime",
794
- "type": "uint256"
795
- },
796
- {
797
- "internalType": "enum EngineBlox.TxStatus",
798
- "name": "status",
799
- "type": "uint8"
800
- },
801
- {
802
- "components": [
803
- {
804
- "internalType": "address",
805
- "name": "requester",
806
- "type": "address"
807
- },
808
- {
809
- "internalType": "address",
810
- "name": "target",
811
- "type": "address"
812
- },
813
- {
814
- "internalType": "uint256",
815
- "name": "value",
816
- "type": "uint256"
817
- },
818
- {
819
- "internalType": "uint256",
820
- "name": "gasLimit",
821
- "type": "uint256"
822
- },
823
- {
824
- "internalType": "bytes32",
825
- "name": "operationType",
826
- "type": "bytes32"
827
- },
828
- {
829
- "internalType": "bytes4",
830
- "name": "executionSelector",
831
- "type": "bytes4"
832
- },
833
- {
834
- "internalType": "bytes",
835
- "name": "executionParams",
836
- "type": "bytes"
837
- }
838
- ],
839
- "internalType": "struct EngineBlox.TxParams",
840
- "name": "params",
841
- "type": "tuple"
842
- },
843
- {
844
- "internalType": "bytes32",
845
- "name": "message",
846
- "type": "bytes32"
847
- },
848
- {
849
- "internalType": "bytes",
850
- "name": "result",
851
- "type": "bytes"
852
- },
853
- {
854
- "components": [
855
- {
856
- "internalType": "address",
857
- "name": "recipient",
858
- "type": "address"
859
- },
860
- {
861
- "internalType": "uint256",
862
- "name": "nativeTokenAmount",
863
- "type": "uint256"
864
- },
865
- {
866
- "internalType": "address",
867
- "name": "erc20TokenAddress",
868
- "type": "address"
869
- },
870
- {
871
- "internalType": "uint256",
872
- "name": "erc20TokenAmount",
873
- "type": "uint256"
874
- }
875
- ],
876
- "internalType": "struct EngineBlox.PaymentDetails",
877
- "name": "payment",
878
- "type": "tuple"
879
- }
880
- ],
881
- "internalType": "struct EngineBlox.TxRecord",
882
- "name": "txRecord",
883
- "type": "tuple"
884
- },
885
- {
886
- "components": [
887
- {
888
- "internalType": "uint256",
889
- "name": "chainId",
890
- "type": "uint256"
891
- },
892
- {
893
- "internalType": "uint256",
894
- "name": "nonce",
895
- "type": "uint256"
896
- },
897
- {
898
- "internalType": "address",
899
- "name": "handlerContract",
900
- "type": "address"
901
- },
902
- {
903
- "internalType": "bytes4",
904
- "name": "handlerSelector",
905
- "type": "bytes4"
906
- },
907
- {
908
- "internalType": "enum EngineBlox.TxAction",
909
- "name": "action",
910
- "type": "uint8"
911
- },
912
- {
913
- "internalType": "uint256",
914
- "name": "deadline",
915
- "type": "uint256"
916
- },
917
- {
918
- "internalType": "uint256",
919
- "name": "maxGasPrice",
920
- "type": "uint256"
921
- },
922
- {
923
- "internalType": "address",
924
- "name": "signer",
925
- "type": "address"
926
- }
927
- ],
928
- "internalType": "struct EngineBlox.MetaTxParams",
929
- "name": "params",
930
- "type": "tuple"
931
- },
932
- {
933
- "internalType": "bytes32",
934
- "name": "message",
935
- "type": "bytes32"
936
- },
937
- {
938
- "internalType": "bytes",
939
- "name": "signature",
940
- "type": "bytes"
941
- },
942
- {
943
- "internalType": "bytes",
944
- "name": "data",
945
- "type": "bytes"
946
- }
947
- ],
948
- "internalType": "struct EngineBlox.MetaTransaction",
949
- "name": "",
950
- "type": "tuple"
951
- }
952
- ],
953
- "stateMutability": "view",
954
- "type": "function"
955
- },
956
- {
957
- "inputs": [
958
- {
959
- "internalType": "bytes32",
960
- "name": "roleHash",
961
- "type": "bytes32"
962
- }
963
- ],
964
- "name": "getActiveRolePermissions",
965
- "outputs": [
966
- {
967
- "components": [
968
- {
969
- "internalType": "bytes4",
970
- "name": "functionSelector",
971
- "type": "bytes4"
972
- },
973
- {
974
- "internalType": "uint16",
975
- "name": "grantedActionsBitmap",
976
- "type": "uint16"
977
- },
978
- {
979
- "internalType": "bytes4[]",
980
- "name": "handlerForSelectors",
981
- "type": "bytes4[]"
982
- }
983
- ],
984
- "internalType": "struct EngineBlox.FunctionPermission[]",
985
- "name": "",
986
- "type": "tuple[]"
987
- }
988
- ],
989
- "stateMutability": "view",
990
- "type": "function"
991
- },
992
- {
993
- "inputs": [
994
- {
995
- "internalType": "bytes32",
996
- "name": "roleHash",
997
- "type": "bytes32"
998
- }
999
- ],
1000
- "name": "getAuthorizedWallets",
1001
- "outputs": [
1002
- {
1003
- "internalType": "address[]",
1004
- "name": "",
1005
- "type": "address[]"
1006
- }
1007
- ],
1008
- "stateMutability": "view",
1009
- "type": "function"
1010
- },
1011
- {
1012
- "inputs": [],
1013
- "name": "getBroadcasters",
1014
- "outputs": [
1015
- {
1016
- "internalType": "address[]",
1017
- "name": "",
1018
- "type": "address[]"
1019
- }
1020
- ],
1021
- "stateMutability": "view",
1022
- "type": "function"
1023
- },
1024
- {
1025
- "inputs": [
1026
- {
1027
- "internalType": "bytes4",
1028
- "name": "functionSelector",
1029
- "type": "bytes4"
1030
- }
1031
- ],
1032
- "name": "getFunctionSchema",
1033
- "outputs": [
1034
- {
1035
- "components": [
1036
- {
1037
- "internalType": "string",
1038
- "name": "functionSignature",
1039
- "type": "string"
1040
- },
1041
- {
1042
- "internalType": "bytes4",
1043
- "name": "functionSelector",
1044
- "type": "bytes4"
1045
- },
1046
- {
1047
- "internalType": "bytes32",
1048
- "name": "operationType",
1049
- "type": "bytes32"
1050
- },
1051
- {
1052
- "internalType": "string",
1053
- "name": "operationName",
1054
- "type": "string"
1055
- },
1056
- {
1057
- "internalType": "uint16",
1058
- "name": "supportedActionsBitmap",
1059
- "type": "uint16"
1060
- },
1061
- {
1062
- "internalType": "bool",
1063
- "name": "enforceHandlerRelations",
1064
- "type": "bool"
1065
- },
1066
- {
1067
- "internalType": "bool",
1068
- "name": "isProtected",
1069
- "type": "bool"
1070
- },
1071
- {
1072
- "internalType": "bytes4[]",
1073
- "name": "handlerForSelectors",
1074
- "type": "bytes4[]"
1075
- }
1076
- ],
1077
- "internalType": "struct EngineBlox.FunctionSchema",
1078
- "name": "",
1079
- "type": "tuple"
1080
- }
1081
- ],
1082
- "stateMutability": "view",
1083
- "type": "function"
1084
- },
1085
- {
1086
- "inputs": [
1087
- {
1088
- "internalType": "bytes4",
1089
- "name": "functionSelector",
1090
- "type": "bytes4"
1091
- }
1092
- ],
1093
- "name": "getFunctionWhitelistTargets",
1094
- "outputs": [
1095
- {
1096
- "internalType": "address[]",
1097
- "name": "",
1098
- "type": "address[]"
1099
- }
1100
- ],
1101
- "stateMutability": "view",
1102
- "type": "function"
1103
- },
1104
- {
1105
- "inputs": [
1106
- {
1107
- "internalType": "bytes4",
1108
- "name": "functionSelector",
1109
- "type": "bytes4"
1110
- }
1111
- ],
1112
- "name": "getHooks",
1113
- "outputs": [
1114
- {
1115
- "internalType": "address[]",
1116
- "name": "hooks",
1117
- "type": "address[]"
1118
- }
1119
- ],
1120
- "stateMutability": "view",
1121
- "type": "function"
1122
- },
1123
- {
1124
- "inputs": [],
1125
- "name": "getPendingTransactions",
1126
- "outputs": [
1127
- {
1128
- "internalType": "uint256[]",
1129
- "name": "",
1130
- "type": "uint256[]"
1131
- }
1132
- ],
1133
- "stateMutability": "view",
1134
- "type": "function"
1135
- },
1136
- {
1137
- "inputs": [],
1138
- "name": "getRecovery",
1139
- "outputs": [
1140
- {
1141
- "internalType": "address",
1142
- "name": "",
1143
- "type": "address"
1144
- }
1145
- ],
1146
- "stateMutability": "view",
1147
- "type": "function"
1148
- },
1149
- {
1150
- "inputs": [
1151
- {
1152
- "internalType": "bytes32",
1153
- "name": "roleHash",
1154
- "type": "bytes32"
1155
- }
1156
- ],
1157
- "name": "getRole",
1158
- "outputs": [
1159
- {
1160
- "internalType": "string",
1161
- "name": "roleName",
1162
- "type": "string"
1163
- },
1164
- {
1165
- "internalType": "bytes32",
1166
- "name": "hash",
1167
- "type": "bytes32"
1168
- },
1169
- {
1170
- "internalType": "uint256",
1171
- "name": "maxWallets",
1172
- "type": "uint256"
1173
- },
1174
- {
1175
- "internalType": "uint256",
1176
- "name": "walletCount",
1177
- "type": "uint256"
1178
- },
1179
- {
1180
- "internalType": "bool",
1181
- "name": "isProtected",
1182
- "type": "bool"
1183
- }
1184
- ],
1185
- "stateMutability": "view",
1186
- "type": "function"
1187
- },
1188
- {
1189
- "inputs": [
1190
- {
1191
- "internalType": "address",
1192
- "name": "signer",
1193
- "type": "address"
1194
- }
1195
- ],
1196
- "name": "getSignerNonce",
1197
- "outputs": [
1198
- {
1199
- "internalType": "uint256",
1200
- "name": "",
1201
- "type": "uint256"
1202
- }
1203
- ],
1204
- "stateMutability": "view",
1205
- "type": "function"
1206
- },
1207
- {
1208
- "inputs": [],
1209
- "name": "getSupportedFunctions",
1210
- "outputs": [
1211
- {
1212
- "internalType": "bytes4[]",
1213
- "name": "",
1214
- "type": "bytes4[]"
1215
- }
1216
- ],
1217
- "stateMutability": "view",
1218
- "type": "function"
1219
- },
1220
- {
1221
- "inputs": [],
1222
- "name": "getSupportedOperationTypes",
1223
- "outputs": [
1224
- {
1225
- "internalType": "bytes32[]",
1226
- "name": "",
1227
- "type": "bytes32[]"
1228
- }
1229
- ],
1230
- "stateMutability": "view",
1231
- "type": "function"
1232
- },
1233
- {
1234
- "inputs": [],
1235
- "name": "getSupportedRoles",
1236
- "outputs": [
1237
- {
1238
- "internalType": "bytes32[]",
1239
- "name": "",
1240
- "type": "bytes32[]"
1241
- }
1242
- ],
1243
- "stateMutability": "view",
1244
- "type": "function"
1245
- },
1246
- {
1247
- "inputs": [],
1248
- "name": "getTimeLockPeriodSec",
1249
- "outputs": [
1250
- {
1251
- "internalType": "uint256",
1252
- "name": "",
1253
- "type": "uint256"
1254
- }
1255
- ],
1256
- "stateMutability": "view",
1257
- "type": "function"
1258
- },
1259
- {
1260
- "inputs": [
1261
- {
1262
- "internalType": "uint256",
1263
- "name": "txId",
1264
- "type": "uint256"
1265
- }
1266
- ],
1267
- "name": "getTransaction",
1268
- "outputs": [
1269
- {
1270
- "components": [
1271
- {
1272
- "internalType": "uint256",
1273
- "name": "txId",
1274
- "type": "uint256"
1275
- },
1276
- {
1277
- "internalType": "uint256",
1278
- "name": "releaseTime",
1279
- "type": "uint256"
1280
- },
1281
- {
1282
- "internalType": "enum EngineBlox.TxStatus",
1283
- "name": "status",
1284
- "type": "uint8"
1285
- },
1286
- {
1287
- "components": [
1288
- {
1289
- "internalType": "address",
1290
- "name": "requester",
1291
- "type": "address"
1292
- },
1293
- {
1294
- "internalType": "address",
1295
- "name": "target",
1296
- "type": "address"
1297
- },
1298
- {
1299
- "internalType": "uint256",
1300
- "name": "value",
1301
- "type": "uint256"
1302
- },
1303
- {
1304
- "internalType": "uint256",
1305
- "name": "gasLimit",
1306
- "type": "uint256"
1307
- },
1308
- {
1309
- "internalType": "bytes32",
1310
- "name": "operationType",
1311
- "type": "bytes32"
1312
- },
1313
- {
1314
- "internalType": "bytes4",
1315
- "name": "executionSelector",
1316
- "type": "bytes4"
1317
- },
1318
- {
1319
- "internalType": "bytes",
1320
- "name": "executionParams",
1321
- "type": "bytes"
1322
- }
1323
- ],
1324
- "internalType": "struct EngineBlox.TxParams",
1325
- "name": "params",
1326
- "type": "tuple"
1327
- },
1328
- {
1329
- "internalType": "bytes32",
1330
- "name": "message",
1331
- "type": "bytes32"
1332
- },
1333
- {
1334
- "internalType": "bytes",
1335
- "name": "result",
1336
- "type": "bytes"
1337
- },
1338
- {
1339
- "components": [
1340
- {
1341
- "internalType": "address",
1342
- "name": "recipient",
1343
- "type": "address"
1344
- },
1345
- {
1346
- "internalType": "uint256",
1347
- "name": "nativeTokenAmount",
1348
- "type": "uint256"
1349
- },
1350
- {
1351
- "internalType": "address",
1352
- "name": "erc20TokenAddress",
1353
- "type": "address"
1354
- },
1355
- {
1356
- "internalType": "uint256",
1357
- "name": "erc20TokenAmount",
1358
- "type": "uint256"
1359
- }
1360
- ],
1361
- "internalType": "struct EngineBlox.PaymentDetails",
1362
- "name": "payment",
1363
- "type": "tuple"
1364
- }
1365
- ],
1366
- "internalType": "struct EngineBlox.TxRecord",
1367
- "name": "",
1368
- "type": "tuple"
1369
- }
1370
- ],
1371
- "stateMutability": "view",
1372
- "type": "function"
1373
- },
1374
- {
1375
- "inputs": [
1376
- {
1377
- "internalType": "uint256",
1378
- "name": "fromTxId",
1379
- "type": "uint256"
1380
- },
1381
- {
1382
- "internalType": "uint256",
1383
- "name": "toTxId",
1384
- "type": "uint256"
1385
- }
1386
- ],
1387
- "name": "getTransactionHistory",
1388
- "outputs": [
1389
- {
1390
- "components": [
1391
- {
1392
- "internalType": "uint256",
1393
- "name": "txId",
1394
- "type": "uint256"
1395
- },
1396
- {
1397
- "internalType": "uint256",
1398
- "name": "releaseTime",
1399
- "type": "uint256"
1400
- },
1401
- {
1402
- "internalType": "enum EngineBlox.TxStatus",
1403
- "name": "status",
1404
- "type": "uint8"
1405
- },
1406
- {
1407
- "components": [
1408
- {
1409
- "internalType": "address",
1410
- "name": "requester",
1411
- "type": "address"
1412
- },
1413
- {
1414
- "internalType": "address",
1415
- "name": "target",
1416
- "type": "address"
1417
- },
1418
- {
1419
- "internalType": "uint256",
1420
- "name": "value",
1421
- "type": "uint256"
1422
- },
1423
- {
1424
- "internalType": "uint256",
1425
- "name": "gasLimit",
1426
- "type": "uint256"
1427
- },
1428
- {
1429
- "internalType": "bytes32",
1430
- "name": "operationType",
1431
- "type": "bytes32"
1432
- },
1433
- {
1434
- "internalType": "bytes4",
1435
- "name": "executionSelector",
1436
- "type": "bytes4"
1437
- },
1438
- {
1439
- "internalType": "bytes",
1440
- "name": "executionParams",
1441
- "type": "bytes"
1442
- }
1443
- ],
1444
- "internalType": "struct EngineBlox.TxParams",
1445
- "name": "params",
1446
- "type": "tuple"
1447
- },
1448
- {
1449
- "internalType": "bytes32",
1450
- "name": "message",
1451
- "type": "bytes32"
1452
- },
1453
- {
1454
- "internalType": "bytes",
1455
- "name": "result",
1456
- "type": "bytes"
1457
- },
1458
- {
1459
- "components": [
1460
- {
1461
- "internalType": "address",
1462
- "name": "recipient",
1463
- "type": "address"
1464
- },
1465
- {
1466
- "internalType": "uint256",
1467
- "name": "nativeTokenAmount",
1468
- "type": "uint256"
1469
- },
1470
- {
1471
- "internalType": "address",
1472
- "name": "erc20TokenAddress",
1473
- "type": "address"
1474
- },
1475
- {
1476
- "internalType": "uint256",
1477
- "name": "erc20TokenAmount",
1478
- "type": "uint256"
1479
- }
1480
- ],
1481
- "internalType": "struct EngineBlox.PaymentDetails",
1482
- "name": "payment",
1483
- "type": "tuple"
1484
- }
1485
- ],
1486
- "internalType": "struct EngineBlox.TxRecord[]",
1487
- "name": "",
1488
- "type": "tuple[]"
1489
- }
1490
- ],
1491
- "stateMutability": "view",
1492
- "type": "function"
1493
- },
1494
- {
1495
- "inputs": [
1496
- {
1497
- "internalType": "address",
1498
- "name": "wallet",
1499
- "type": "address"
1500
- }
1501
- ],
1502
- "name": "getWalletRoles",
1503
- "outputs": [
1504
- {
1505
- "internalType": "bytes32[]",
1506
- "name": "",
1507
- "type": "bytes32[]"
1508
- }
1509
- ],
1510
- "stateMutability": "view",
1511
- "type": "function"
1512
- },
1513
- {
1514
- "inputs": [
1515
- {
1516
- "internalType": "bytes32",
1517
- "name": "roleHash",
1518
- "type": "bytes32"
1519
- },
1520
- {
1521
- "internalType": "address",
1522
- "name": "wallet",
1523
- "type": "address"
1524
- }
1525
- ],
1526
- "name": "hasRole",
1527
- "outputs": [
1528
- {
1529
- "internalType": "bool",
1530
- "name": "",
1531
- "type": "bool"
1532
- }
1533
- ],
1534
- "stateMutability": "view",
1535
- "type": "function"
1536
- },
1537
- {
1538
- "inputs": [],
1539
- "name": "initialized",
1540
- "outputs": [
1541
- {
1542
- "internalType": "bool",
1543
- "name": "",
1544
- "type": "bool"
1545
- }
1546
- ],
1547
- "stateMutability": "view",
1548
- "type": "function"
1549
- },
1550
- {
1551
- "inputs": [],
1552
- "name": "owner",
1553
- "outputs": [
1554
- {
1555
- "internalType": "address",
1556
- "name": "",
1557
- "type": "address"
1558
- }
1559
- ],
1560
- "stateMutability": "view",
1561
- "type": "function"
1562
- },
1563
- {
1564
- "inputs": [
1565
- {
1566
- "internalType": "bytes4",
1567
- "name": "interfaceId",
1568
- "type": "bytes4"
1569
- }
1570
- ],
1571
- "name": "supportsInterface",
1572
- "outputs": [
1573
- {
1574
- "internalType": "bool",
1575
- "name": "",
1576
- "type": "bool"
1577
- }
1578
- ],
1579
- "stateMutability": "view",
1580
- "type": "function"
1581
- },
1582
- {
1583
- "inputs": [
1584
- {
1585
- "components": [
1586
- {
1587
- "components": [
1588
- {
1589
- "internalType": "uint256",
1590
- "name": "txId",
1591
- "type": "uint256"
1592
- },
1593
- {
1594
- "internalType": "uint256",
1595
- "name": "releaseTime",
1596
- "type": "uint256"
1597
- },
1598
- {
1599
- "internalType": "enum EngineBlox.TxStatus",
1600
- "name": "status",
1601
- "type": "uint8"
1602
- },
1603
- {
1604
- "components": [
1605
- {
1606
- "internalType": "address",
1607
- "name": "requester",
1608
- "type": "address"
1609
- },
1610
- {
1611
- "internalType": "address",
1612
- "name": "target",
1613
- "type": "address"
1614
- },
1615
- {
1616
- "internalType": "uint256",
1617
- "name": "value",
1618
- "type": "uint256"
1619
- },
1620
- {
1621
- "internalType": "uint256",
1622
- "name": "gasLimit",
1623
- "type": "uint256"
1624
- },
1625
- {
1626
- "internalType": "bytes32",
1627
- "name": "operationType",
1628
- "type": "bytes32"
1629
- },
1630
- {
1631
- "internalType": "bytes4",
1632
- "name": "executionSelector",
1633
- "type": "bytes4"
1634
- },
1635
- {
1636
- "internalType": "bytes",
1637
- "name": "executionParams",
1638
- "type": "bytes"
1639
- }
1640
- ],
1641
- "internalType": "struct EngineBlox.TxParams",
1642
- "name": "params",
1643
- "type": "tuple"
1644
- },
1645
- {
1646
- "internalType": "bytes32",
1647
- "name": "message",
1648
- "type": "bytes32"
1649
- },
1650
- {
1651
- "internalType": "bytes",
1652
- "name": "result",
1653
- "type": "bytes"
1654
- },
1655
- {
1656
- "components": [
1657
- {
1658
- "internalType": "address",
1659
- "name": "recipient",
1660
- "type": "address"
1661
- },
1662
- {
1663
- "internalType": "uint256",
1664
- "name": "nativeTokenAmount",
1665
- "type": "uint256"
1666
- },
1667
- {
1668
- "internalType": "address",
1669
- "name": "erc20TokenAddress",
1670
- "type": "address"
1671
- },
1672
- {
1673
- "internalType": "uint256",
1674
- "name": "erc20TokenAmount",
1675
- "type": "uint256"
1676
- }
1677
- ],
1678
- "internalType": "struct EngineBlox.PaymentDetails",
1679
- "name": "payment",
1680
- "type": "tuple"
1681
- }
1682
- ],
1683
- "internalType": "struct EngineBlox.TxRecord",
1684
- "name": "txRecord",
1685
- "type": "tuple"
1686
- },
1687
- {
1688
- "components": [
1689
- {
1690
- "internalType": "uint256",
1691
- "name": "chainId",
1692
- "type": "uint256"
1693
- },
1694
- {
1695
- "internalType": "uint256",
1696
- "name": "nonce",
1697
- "type": "uint256"
1698
- },
1699
- {
1700
- "internalType": "address",
1701
- "name": "handlerContract",
1702
- "type": "address"
1703
- },
1704
- {
1705
- "internalType": "bytes4",
1706
- "name": "handlerSelector",
1707
- "type": "bytes4"
1708
- },
1709
- {
1710
- "internalType": "enum EngineBlox.TxAction",
1711
- "name": "action",
1712
- "type": "uint8"
1713
- },
1714
- {
1715
- "internalType": "uint256",
1716
- "name": "deadline",
1717
- "type": "uint256"
1718
- },
1719
- {
1720
- "internalType": "uint256",
1721
- "name": "maxGasPrice",
1722
- "type": "uint256"
1723
- },
1724
- {
1725
- "internalType": "address",
1726
- "name": "signer",
1727
- "type": "address"
1728
- }
1729
- ],
1730
- "internalType": "struct EngineBlox.MetaTxParams",
1731
- "name": "params",
1732
- "type": "tuple"
1733
- },
1734
- {
1735
- "internalType": "bytes32",
1736
- "name": "message",
1737
- "type": "bytes32"
1738
- },
1739
- {
1740
- "internalType": "bytes",
1741
- "name": "signature",
1742
- "type": "bytes"
1743
- },
1744
- {
1745
- "internalType": "bytes",
1746
- "name": "data",
1747
- "type": "bytes"
1748
- }
1749
- ],
1750
- "internalType": "struct EngineBlox.MetaTransaction",
1751
- "name": "metaTx",
1752
- "type": "tuple"
1753
- }
1754
- ],
1755
- "name": "transferOwnershipApprovalWithMetaTx",
1756
- "outputs": [
1757
- {
1758
- "internalType": "uint256",
1759
- "name": "",
1760
- "type": "uint256"
1761
- }
1762
- ],
1763
- "stateMutability": "nonpayable",
1764
- "type": "function"
1765
- },
1766
- {
1767
- "inputs": [
1768
- {
1769
- "internalType": "uint256",
1770
- "name": "txId",
1771
- "type": "uint256"
1772
- }
1773
- ],
1774
- "name": "transferOwnershipCancellation",
1775
- "outputs": [
1776
- {
1777
- "internalType": "uint256",
1778
- "name": "",
1779
- "type": "uint256"
1780
- }
1781
- ],
1782
- "stateMutability": "nonpayable",
1783
- "type": "function"
1784
- },
1785
- {
1786
- "inputs": [
1787
- {
1788
- "components": [
1789
- {
1790
- "components": [
1791
- {
1792
- "internalType": "uint256",
1793
- "name": "txId",
1794
- "type": "uint256"
1795
- },
1796
- {
1797
- "internalType": "uint256",
1798
- "name": "releaseTime",
1799
- "type": "uint256"
1800
- },
1801
- {
1802
- "internalType": "enum EngineBlox.TxStatus",
1803
- "name": "status",
1804
- "type": "uint8"
1805
- },
1806
- {
1807
- "components": [
1808
- {
1809
- "internalType": "address",
1810
- "name": "requester",
1811
- "type": "address"
1812
- },
1813
- {
1814
- "internalType": "address",
1815
- "name": "target",
1816
- "type": "address"
1817
- },
1818
- {
1819
- "internalType": "uint256",
1820
- "name": "value",
1821
- "type": "uint256"
1822
- },
1823
- {
1824
- "internalType": "uint256",
1825
- "name": "gasLimit",
1826
- "type": "uint256"
1827
- },
1828
- {
1829
- "internalType": "bytes32",
1830
- "name": "operationType",
1831
- "type": "bytes32"
1832
- },
1833
- {
1834
- "internalType": "bytes4",
1835
- "name": "executionSelector",
1836
- "type": "bytes4"
1837
- },
1838
- {
1839
- "internalType": "bytes",
1840
- "name": "executionParams",
1841
- "type": "bytes"
1842
- }
1843
- ],
1844
- "internalType": "struct EngineBlox.TxParams",
1845
- "name": "params",
1846
- "type": "tuple"
1847
- },
1848
- {
1849
- "internalType": "bytes32",
1850
- "name": "message",
1851
- "type": "bytes32"
1852
- },
1853
- {
1854
- "internalType": "bytes",
1855
- "name": "result",
1856
- "type": "bytes"
1857
- },
1858
- {
1859
- "components": [
1860
- {
1861
- "internalType": "address",
1862
- "name": "recipient",
1863
- "type": "address"
1864
- },
1865
- {
1866
- "internalType": "uint256",
1867
- "name": "nativeTokenAmount",
1868
- "type": "uint256"
1869
- },
1870
- {
1871
- "internalType": "address",
1872
- "name": "erc20TokenAddress",
1873
- "type": "address"
1874
- },
1875
- {
1876
- "internalType": "uint256",
1877
- "name": "erc20TokenAmount",
1878
- "type": "uint256"
1879
- }
1880
- ],
1881
- "internalType": "struct EngineBlox.PaymentDetails",
1882
- "name": "payment",
1883
- "type": "tuple"
1884
- }
1885
- ],
1886
- "internalType": "struct EngineBlox.TxRecord",
1887
- "name": "txRecord",
1888
- "type": "tuple"
1889
- },
1890
- {
1891
- "components": [
1892
- {
1893
- "internalType": "uint256",
1894
- "name": "chainId",
1895
- "type": "uint256"
1896
- },
1897
- {
1898
- "internalType": "uint256",
1899
- "name": "nonce",
1900
- "type": "uint256"
1901
- },
1902
- {
1903
- "internalType": "address",
1904
- "name": "handlerContract",
1905
- "type": "address"
1906
- },
1907
- {
1908
- "internalType": "bytes4",
1909
- "name": "handlerSelector",
1910
- "type": "bytes4"
1911
- },
1912
- {
1913
- "internalType": "enum EngineBlox.TxAction",
1914
- "name": "action",
1915
- "type": "uint8"
1916
- },
1917
- {
1918
- "internalType": "uint256",
1919
- "name": "deadline",
1920
- "type": "uint256"
1921
- },
1922
- {
1923
- "internalType": "uint256",
1924
- "name": "maxGasPrice",
1925
- "type": "uint256"
1926
- },
1927
- {
1928
- "internalType": "address",
1929
- "name": "signer",
1930
- "type": "address"
1931
- }
1932
- ],
1933
- "internalType": "struct EngineBlox.MetaTxParams",
1934
- "name": "params",
1935
- "type": "tuple"
1936
- },
1937
- {
1938
- "internalType": "bytes32",
1939
- "name": "message",
1940
- "type": "bytes32"
1941
- },
1942
- {
1943
- "internalType": "bytes",
1944
- "name": "signature",
1945
- "type": "bytes"
1946
- },
1947
- {
1948
- "internalType": "bytes",
1949
- "name": "data",
1950
- "type": "bytes"
1951
- }
1952
- ],
1953
- "internalType": "struct EngineBlox.MetaTransaction",
1954
- "name": "metaTx",
1955
- "type": "tuple"
1956
- }
1957
- ],
1958
- "name": "transferOwnershipCancellationWithMetaTx",
1959
- "outputs": [
1960
- {
1961
- "internalType": "uint256",
1962
- "name": "",
1963
- "type": "uint256"
1964
- }
1965
- ],
1966
- "stateMutability": "nonpayable",
1967
- "type": "function"
1968
- },
1969
- {
1970
- "inputs": [
1971
- {
1972
- "internalType": "uint256",
1973
- "name": "txId",
1974
- "type": "uint256"
1975
- }
1976
- ],
1977
- "name": "transferOwnershipDelayedApproval",
1978
- "outputs": [
1979
- {
1980
- "internalType": "uint256",
1981
- "name": "",
1982
- "type": "uint256"
1983
- }
1984
- ],
1985
- "stateMutability": "nonpayable",
1986
- "type": "function"
1987
- },
1988
- {
1989
- "inputs": [],
1990
- "name": "transferOwnershipRequest",
1991
- "outputs": [
1992
- {
1993
- "internalType": "uint256",
1994
- "name": "txId",
1995
- "type": "uint256"
1996
- }
1997
- ],
1998
- "stateMutability": "nonpayable",
1999
- "type": "function"
2000
- },
2001
- {
2002
- "inputs": [
2003
- {
2004
- "components": [
2005
- {
2006
- "components": [
2007
- {
2008
- "internalType": "uint256",
2009
- "name": "txId",
2010
- "type": "uint256"
2011
- },
2012
- {
2013
- "internalType": "uint256",
2014
- "name": "releaseTime",
2015
- "type": "uint256"
2016
- },
2017
- {
2018
- "internalType": "enum EngineBlox.TxStatus",
2019
- "name": "status",
2020
- "type": "uint8"
2021
- },
2022
- {
2023
- "components": [
2024
- {
2025
- "internalType": "address",
2026
- "name": "requester",
2027
- "type": "address"
2028
- },
2029
- {
2030
- "internalType": "address",
2031
- "name": "target",
2032
- "type": "address"
2033
- },
2034
- {
2035
- "internalType": "uint256",
2036
- "name": "value",
2037
- "type": "uint256"
2038
- },
2039
- {
2040
- "internalType": "uint256",
2041
- "name": "gasLimit",
2042
- "type": "uint256"
2043
- },
2044
- {
2045
- "internalType": "bytes32",
2046
- "name": "operationType",
2047
- "type": "bytes32"
2048
- },
2049
- {
2050
- "internalType": "bytes4",
2051
- "name": "executionSelector",
2052
- "type": "bytes4"
2053
- },
2054
- {
2055
- "internalType": "bytes",
2056
- "name": "executionParams",
2057
- "type": "bytes"
2058
- }
2059
- ],
2060
- "internalType": "struct EngineBlox.TxParams",
2061
- "name": "params",
2062
- "type": "tuple"
2063
- },
2064
- {
2065
- "internalType": "bytes32",
2066
- "name": "message",
2067
- "type": "bytes32"
2068
- },
2069
- {
2070
- "internalType": "bytes",
2071
- "name": "result",
2072
- "type": "bytes"
2073
- },
2074
- {
2075
- "components": [
2076
- {
2077
- "internalType": "address",
2078
- "name": "recipient",
2079
- "type": "address"
2080
- },
2081
- {
2082
- "internalType": "uint256",
2083
- "name": "nativeTokenAmount",
2084
- "type": "uint256"
2085
- },
2086
- {
2087
- "internalType": "address",
2088
- "name": "erc20TokenAddress",
2089
- "type": "address"
2090
- },
2091
- {
2092
- "internalType": "uint256",
2093
- "name": "erc20TokenAmount",
2094
- "type": "uint256"
2095
- }
2096
- ],
2097
- "internalType": "struct EngineBlox.PaymentDetails",
2098
- "name": "payment",
2099
- "type": "tuple"
2100
- }
2101
- ],
2102
- "internalType": "struct EngineBlox.TxRecord",
2103
- "name": "txRecord",
2104
- "type": "tuple"
2105
- },
2106
- {
2107
- "components": [
2108
- {
2109
- "internalType": "uint256",
2110
- "name": "chainId",
2111
- "type": "uint256"
2112
- },
2113
- {
2114
- "internalType": "uint256",
2115
- "name": "nonce",
2116
- "type": "uint256"
2117
- },
2118
- {
2119
- "internalType": "address",
2120
- "name": "handlerContract",
2121
- "type": "address"
2122
- },
2123
- {
2124
- "internalType": "bytes4",
2125
- "name": "handlerSelector",
2126
- "type": "bytes4"
2127
- },
2128
- {
2129
- "internalType": "enum EngineBlox.TxAction",
2130
- "name": "action",
2131
- "type": "uint8"
2132
- },
2133
- {
2134
- "internalType": "uint256",
2135
- "name": "deadline",
2136
- "type": "uint256"
2137
- },
2138
- {
2139
- "internalType": "uint256",
2140
- "name": "maxGasPrice",
2141
- "type": "uint256"
2142
- },
2143
- {
2144
- "internalType": "address",
2145
- "name": "signer",
2146
- "type": "address"
2147
- }
2148
- ],
2149
- "internalType": "struct EngineBlox.MetaTxParams",
2150
- "name": "params",
2151
- "type": "tuple"
2152
- },
2153
- {
2154
- "internalType": "bytes32",
2155
- "name": "message",
2156
- "type": "bytes32"
2157
- },
2158
- {
2159
- "internalType": "bytes",
2160
- "name": "signature",
2161
- "type": "bytes"
2162
- },
2163
- {
2164
- "internalType": "bytes",
2165
- "name": "data",
2166
- "type": "bytes"
2167
- }
2168
- ],
2169
- "internalType": "struct EngineBlox.MetaTransaction",
2170
- "name": "metaTx",
2171
- "type": "tuple"
2172
- }
2173
- ],
2174
- "name": "updateBroadcasterApprovalWithMetaTx",
2175
- "outputs": [
2176
- {
2177
- "internalType": "uint256",
2178
- "name": "",
2179
- "type": "uint256"
2180
- }
2181
- ],
2182
- "stateMutability": "nonpayable",
2183
- "type": "function"
2184
- },
2185
- {
2186
- "inputs": [
2187
- {
2188
- "internalType": "uint256",
2189
- "name": "txId",
2190
- "type": "uint256"
2191
- }
2192
- ],
2193
- "name": "updateBroadcasterCancellation",
2194
- "outputs": [
2195
- {
2196
- "internalType": "uint256",
2197
- "name": "",
2198
- "type": "uint256"
2199
- }
2200
- ],
2201
- "stateMutability": "nonpayable",
2202
- "type": "function"
2203
- },
2204
- {
2205
- "inputs": [
2206
- {
2207
- "components": [
2208
- {
2209
- "components": [
2210
- {
2211
- "internalType": "uint256",
2212
- "name": "txId",
2213
- "type": "uint256"
2214
- },
2215
- {
2216
- "internalType": "uint256",
2217
- "name": "releaseTime",
2218
- "type": "uint256"
2219
- },
2220
- {
2221
- "internalType": "enum EngineBlox.TxStatus",
2222
- "name": "status",
2223
- "type": "uint8"
2224
- },
2225
- {
2226
- "components": [
2227
- {
2228
- "internalType": "address",
2229
- "name": "requester",
2230
- "type": "address"
2231
- },
2232
- {
2233
- "internalType": "address",
2234
- "name": "target",
2235
- "type": "address"
2236
- },
2237
- {
2238
- "internalType": "uint256",
2239
- "name": "value",
2240
- "type": "uint256"
2241
- },
2242
- {
2243
- "internalType": "uint256",
2244
- "name": "gasLimit",
2245
- "type": "uint256"
2246
- },
2247
- {
2248
- "internalType": "bytes32",
2249
- "name": "operationType",
2250
- "type": "bytes32"
2251
- },
2252
- {
2253
- "internalType": "bytes4",
2254
- "name": "executionSelector",
2255
- "type": "bytes4"
2256
- },
2257
- {
2258
- "internalType": "bytes",
2259
- "name": "executionParams",
2260
- "type": "bytes"
2261
- }
2262
- ],
2263
- "internalType": "struct EngineBlox.TxParams",
2264
- "name": "params",
2265
- "type": "tuple"
2266
- },
2267
- {
2268
- "internalType": "bytes32",
2269
- "name": "message",
2270
- "type": "bytes32"
2271
- },
2272
- {
2273
- "internalType": "bytes",
2274
- "name": "result",
2275
- "type": "bytes"
2276
- },
2277
- {
2278
- "components": [
2279
- {
2280
- "internalType": "address",
2281
- "name": "recipient",
2282
- "type": "address"
2283
- },
2284
- {
2285
- "internalType": "uint256",
2286
- "name": "nativeTokenAmount",
2287
- "type": "uint256"
2288
- },
2289
- {
2290
- "internalType": "address",
2291
- "name": "erc20TokenAddress",
2292
- "type": "address"
2293
- },
2294
- {
2295
- "internalType": "uint256",
2296
- "name": "erc20TokenAmount",
2297
- "type": "uint256"
2298
- }
2299
- ],
2300
- "internalType": "struct EngineBlox.PaymentDetails",
2301
- "name": "payment",
2302
- "type": "tuple"
2303
- }
2304
- ],
2305
- "internalType": "struct EngineBlox.TxRecord",
2306
- "name": "txRecord",
2307
- "type": "tuple"
2308
- },
2309
- {
2310
- "components": [
2311
- {
2312
- "internalType": "uint256",
2313
- "name": "chainId",
2314
- "type": "uint256"
2315
- },
2316
- {
2317
- "internalType": "uint256",
2318
- "name": "nonce",
2319
- "type": "uint256"
2320
- },
2321
- {
2322
- "internalType": "address",
2323
- "name": "handlerContract",
2324
- "type": "address"
2325
- },
2326
- {
2327
- "internalType": "bytes4",
2328
- "name": "handlerSelector",
2329
- "type": "bytes4"
2330
- },
2331
- {
2332
- "internalType": "enum EngineBlox.TxAction",
2333
- "name": "action",
2334
- "type": "uint8"
2335
- },
2336
- {
2337
- "internalType": "uint256",
2338
- "name": "deadline",
2339
- "type": "uint256"
2340
- },
2341
- {
2342
- "internalType": "uint256",
2343
- "name": "maxGasPrice",
2344
- "type": "uint256"
2345
- },
2346
- {
2347
- "internalType": "address",
2348
- "name": "signer",
2349
- "type": "address"
2350
- }
2351
- ],
2352
- "internalType": "struct EngineBlox.MetaTxParams",
2353
- "name": "params",
2354
- "type": "tuple"
2355
- },
2356
- {
2357
- "internalType": "bytes32",
2358
- "name": "message",
2359
- "type": "bytes32"
2360
- },
2361
- {
2362
- "internalType": "bytes",
2363
- "name": "signature",
2364
- "type": "bytes"
2365
- },
2366
- {
2367
- "internalType": "bytes",
2368
- "name": "data",
2369
- "type": "bytes"
2370
- }
2371
- ],
2372
- "internalType": "struct EngineBlox.MetaTransaction",
2373
- "name": "metaTx",
2374
- "type": "tuple"
2375
- }
2376
- ],
2377
- "name": "updateBroadcasterCancellationWithMetaTx",
2378
- "outputs": [
2379
- {
2380
- "internalType": "uint256",
2381
- "name": "",
2382
- "type": "uint256"
2383
- }
2384
- ],
2385
- "stateMutability": "nonpayable",
2386
- "type": "function"
2387
- },
2388
- {
2389
- "inputs": [
2390
- {
2391
- "internalType": "uint256",
2392
- "name": "txId",
2393
- "type": "uint256"
2394
- }
2395
- ],
2396
- "name": "updateBroadcasterDelayedApproval",
2397
- "outputs": [
2398
- {
2399
- "internalType": "uint256",
2400
- "name": "",
2401
- "type": "uint256"
2402
- }
2403
- ],
2404
- "stateMutability": "nonpayable",
2405
- "type": "function"
2406
- },
2407
- {
2408
- "inputs": [
2409
- {
2410
- "internalType": "address",
2411
- "name": "newBroadcaster",
2412
- "type": "address"
2413
- },
2414
- {
2415
- "internalType": "uint256",
2416
- "name": "location",
2417
- "type": "uint256"
2418
- }
2419
- ],
2420
- "name": "updateBroadcasterRequest",
2421
- "outputs": [
2422
- {
2423
- "internalType": "uint256",
2424
- "name": "txId",
2425
- "type": "uint256"
2426
- }
2427
- ],
2428
- "stateMutability": "nonpayable",
2429
- "type": "function"
2430
- },
2431
- {
2432
- "inputs": [
2433
- {
2434
- "components": [
2435
- {
2436
- "components": [
2437
- {
2438
- "internalType": "uint256",
2439
- "name": "txId",
2440
- "type": "uint256"
2441
- },
2442
- {
2443
- "internalType": "uint256",
2444
- "name": "releaseTime",
2445
- "type": "uint256"
2446
- },
2447
- {
2448
- "internalType": "enum EngineBlox.TxStatus",
2449
- "name": "status",
2450
- "type": "uint8"
2451
- },
2452
- {
2453
- "components": [
2454
- {
2455
- "internalType": "address",
2456
- "name": "requester",
2457
- "type": "address"
2458
- },
2459
- {
2460
- "internalType": "address",
2461
- "name": "target",
2462
- "type": "address"
2463
- },
2464
- {
2465
- "internalType": "uint256",
2466
- "name": "value",
2467
- "type": "uint256"
2468
- },
2469
- {
2470
- "internalType": "uint256",
2471
- "name": "gasLimit",
2472
- "type": "uint256"
2473
- },
2474
- {
2475
- "internalType": "bytes32",
2476
- "name": "operationType",
2477
- "type": "bytes32"
2478
- },
2479
- {
2480
- "internalType": "bytes4",
2481
- "name": "executionSelector",
2482
- "type": "bytes4"
2483
- },
2484
- {
2485
- "internalType": "bytes",
2486
- "name": "executionParams",
2487
- "type": "bytes"
2488
- }
2489
- ],
2490
- "internalType": "struct EngineBlox.TxParams",
2491
- "name": "params",
2492
- "type": "tuple"
2493
- },
2494
- {
2495
- "internalType": "bytes32",
2496
- "name": "message",
2497
- "type": "bytes32"
2498
- },
2499
- {
2500
- "internalType": "bytes",
2501
- "name": "result",
2502
- "type": "bytes"
2503
- },
2504
- {
2505
- "components": [
2506
- {
2507
- "internalType": "address",
2508
- "name": "recipient",
2509
- "type": "address"
2510
- },
2511
- {
2512
- "internalType": "uint256",
2513
- "name": "nativeTokenAmount",
2514
- "type": "uint256"
2515
- },
2516
- {
2517
- "internalType": "address",
2518
- "name": "erc20TokenAddress",
2519
- "type": "address"
2520
- },
2521
- {
2522
- "internalType": "uint256",
2523
- "name": "erc20TokenAmount",
2524
- "type": "uint256"
2525
- }
2526
- ],
2527
- "internalType": "struct EngineBlox.PaymentDetails",
2528
- "name": "payment",
2529
- "type": "tuple"
2530
- }
2531
- ],
2532
- "internalType": "struct EngineBlox.TxRecord",
2533
- "name": "txRecord",
2534
- "type": "tuple"
2535
- },
2536
- {
2537
- "components": [
2538
- {
2539
- "internalType": "uint256",
2540
- "name": "chainId",
2541
- "type": "uint256"
2542
- },
2543
- {
2544
- "internalType": "uint256",
2545
- "name": "nonce",
2546
- "type": "uint256"
2547
- },
2548
- {
2549
- "internalType": "address",
2550
- "name": "handlerContract",
2551
- "type": "address"
2552
- },
2553
- {
2554
- "internalType": "bytes4",
2555
- "name": "handlerSelector",
2556
- "type": "bytes4"
2557
- },
2558
- {
2559
- "internalType": "enum EngineBlox.TxAction",
2560
- "name": "action",
2561
- "type": "uint8"
2562
- },
2563
- {
2564
- "internalType": "uint256",
2565
- "name": "deadline",
2566
- "type": "uint256"
2567
- },
2568
- {
2569
- "internalType": "uint256",
2570
- "name": "maxGasPrice",
2571
- "type": "uint256"
2572
- },
2573
- {
2574
- "internalType": "address",
2575
- "name": "signer",
2576
- "type": "address"
2577
- }
2578
- ],
2579
- "internalType": "struct EngineBlox.MetaTxParams",
2580
- "name": "params",
2581
- "type": "tuple"
2582
- },
2583
- {
2584
- "internalType": "bytes32",
2585
- "name": "message",
2586
- "type": "bytes32"
2587
- },
2588
- {
2589
- "internalType": "bytes",
2590
- "name": "signature",
2591
- "type": "bytes"
2592
- },
2593
- {
2594
- "internalType": "bytes",
2595
- "name": "data",
2596
- "type": "bytes"
2597
- }
2598
- ],
2599
- "internalType": "struct EngineBlox.MetaTransaction",
2600
- "name": "metaTx",
2601
- "type": "tuple"
2602
- }
2603
- ],
2604
- "name": "updateRecoveryRequestAndApprove",
2605
- "outputs": [
2606
- {
2607
- "internalType": "uint256",
2608
- "name": "",
2609
- "type": "uint256"
2610
- }
2611
- ],
2612
- "stateMutability": "nonpayable",
2613
- "type": "function"
2614
- },
2615
- {
2616
- "inputs": [
2617
- {
2618
- "components": [
2619
- {
2620
- "components": [
2621
- {
2622
- "internalType": "uint256",
2623
- "name": "txId",
2624
- "type": "uint256"
2625
- },
2626
- {
2627
- "internalType": "uint256",
2628
- "name": "releaseTime",
2629
- "type": "uint256"
2630
- },
2631
- {
2632
- "internalType": "enum EngineBlox.TxStatus",
2633
- "name": "status",
2634
- "type": "uint8"
2635
- },
2636
- {
2637
- "components": [
2638
- {
2639
- "internalType": "address",
2640
- "name": "requester",
2641
- "type": "address"
2642
- },
2643
- {
2644
- "internalType": "address",
2645
- "name": "target",
2646
- "type": "address"
2647
- },
2648
- {
2649
- "internalType": "uint256",
2650
- "name": "value",
2651
- "type": "uint256"
2652
- },
2653
- {
2654
- "internalType": "uint256",
2655
- "name": "gasLimit",
2656
- "type": "uint256"
2657
- },
2658
- {
2659
- "internalType": "bytes32",
2660
- "name": "operationType",
2661
- "type": "bytes32"
2662
- },
2663
- {
2664
- "internalType": "bytes4",
2665
- "name": "executionSelector",
2666
- "type": "bytes4"
2667
- },
2668
- {
2669
- "internalType": "bytes",
2670
- "name": "executionParams",
2671
- "type": "bytes"
2672
- }
2673
- ],
2674
- "internalType": "struct EngineBlox.TxParams",
2675
- "name": "params",
2676
- "type": "tuple"
2677
- },
2678
- {
2679
- "internalType": "bytes32",
2680
- "name": "message",
2681
- "type": "bytes32"
2682
- },
2683
- {
2684
- "internalType": "bytes",
2685
- "name": "result",
2686
- "type": "bytes"
2687
- },
2688
- {
2689
- "components": [
2690
- {
2691
- "internalType": "address",
2692
- "name": "recipient",
2693
- "type": "address"
2694
- },
2695
- {
2696
- "internalType": "uint256",
2697
- "name": "nativeTokenAmount",
2698
- "type": "uint256"
2699
- },
2700
- {
2701
- "internalType": "address",
2702
- "name": "erc20TokenAddress",
2703
- "type": "address"
2704
- },
2705
- {
2706
- "internalType": "uint256",
2707
- "name": "erc20TokenAmount",
2708
- "type": "uint256"
2709
- }
2710
- ],
2711
- "internalType": "struct EngineBlox.PaymentDetails",
2712
- "name": "payment",
2713
- "type": "tuple"
2714
- }
2715
- ],
2716
- "internalType": "struct EngineBlox.TxRecord",
2717
- "name": "txRecord",
2718
- "type": "tuple"
2719
- },
2720
- {
2721
- "components": [
2722
- {
2723
- "internalType": "uint256",
2724
- "name": "chainId",
2725
- "type": "uint256"
2726
- },
2727
- {
2728
- "internalType": "uint256",
2729
- "name": "nonce",
2730
- "type": "uint256"
2731
- },
2732
- {
2733
- "internalType": "address",
2734
- "name": "handlerContract",
2735
- "type": "address"
2736
- },
2737
- {
2738
- "internalType": "bytes4",
2739
- "name": "handlerSelector",
2740
- "type": "bytes4"
2741
- },
2742
- {
2743
- "internalType": "enum EngineBlox.TxAction",
2744
- "name": "action",
2745
- "type": "uint8"
2746
- },
2747
- {
2748
- "internalType": "uint256",
2749
- "name": "deadline",
2750
- "type": "uint256"
2751
- },
2752
- {
2753
- "internalType": "uint256",
2754
- "name": "maxGasPrice",
2755
- "type": "uint256"
2756
- },
2757
- {
2758
- "internalType": "address",
2759
- "name": "signer",
2760
- "type": "address"
2761
- }
2762
- ],
2763
- "internalType": "struct EngineBlox.MetaTxParams",
2764
- "name": "params",
2765
- "type": "tuple"
2766
- },
2767
- {
2768
- "internalType": "bytes32",
2769
- "name": "message",
2770
- "type": "bytes32"
2771
- },
2772
- {
2773
- "internalType": "bytes",
2774
- "name": "signature",
2775
- "type": "bytes"
2776
- },
2777
- {
2778
- "internalType": "bytes",
2779
- "name": "data",
2780
- "type": "bytes"
2781
- }
2782
- ],
2783
- "internalType": "struct EngineBlox.MetaTransaction",
2784
- "name": "metaTx",
2785
- "type": "tuple"
2786
- }
2787
- ],
2788
- "name": "updateTimeLockRequestAndApprove",
2789
- "outputs": [
2790
- {
2791
- "internalType": "uint256",
2792
- "name": "",
2793
- "type": "uint256"
2794
- }
2795
- ],
2796
- "stateMutability": "nonpayable",
2797
- "type": "function"
2798
- },
2799
- {
2800
- "stateMutability": "payable",
2801
- "type": "receive"
2802
- },
2803
- {
2804
- "inputs": [
2805
- {
2806
- "internalType": "address",
2807
- "name": "initialOwner",
2808
- "type": "address"
2809
- },
2810
- {
2811
- "internalType": "address",
2812
- "name": "broadcaster",
2813
- "type": "address"
2814
- },
2815
- {
2816
- "internalType": "address",
2817
- "name": "recovery",
2818
- "type": "address"
2819
- },
2820
- {
2821
- "internalType": "uint256",
2822
- "name": "timeLockPeriodSec",
2823
- "type": "uint256"
2824
- },
2825
- {
2826
- "internalType": "address",
2827
- "name": "eventForwarder",
2828
- "type": "address"
2829
- }
2830
- ],
2831
- "name": "initialize",
2832
- "outputs": [],
2833
- "stateMutability": "nonpayable",
2834
- "type": "function"
2835
- },
2836
- {
2837
- "inputs": [],
2838
- "name": "getEthBalance",
2839
- "outputs": [
2840
- {
2841
- "internalType": "uint256",
2842
- "name": "",
2843
- "type": "uint256"
2844
- }
2845
- ],
2846
- "stateMutability": "view",
2847
- "type": "function"
2848
- },
2849
- {
2850
- "inputs": [
2851
- {
2852
- "internalType": "address",
2853
- "name": "token",
2854
- "type": "address"
2855
- }
2856
- ],
2857
- "name": "getTokenBalance",
2858
- "outputs": [
2859
- {
2860
- "internalType": "uint256",
2861
- "name": "",
2862
- "type": "uint256"
2863
- }
2864
- ],
2865
- "stateMutability": "view",
2866
- "type": "function"
2867
- },
2868
- {
2869
- "inputs": [
2870
- {
2871
- "internalType": "address",
2872
- "name": "to",
2873
- "type": "address"
2874
- },
2875
- {
2876
- "internalType": "uint256",
2877
- "name": "amount",
2878
- "type": "uint256"
2879
- }
2880
- ],
2881
- "name": "withdrawEthRequest",
2882
- "outputs": [
2883
- {
2884
- "internalType": "uint256",
2885
- "name": "txId",
2886
- "type": "uint256"
2887
- }
2888
- ],
2889
- "stateMutability": "nonpayable",
2890
- "type": "function"
2891
- },
2892
- {
2893
- "inputs": [
2894
- {
2895
- "internalType": "address",
2896
- "name": "token",
2897
- "type": "address"
2898
- },
2899
- {
2900
- "internalType": "address",
2901
- "name": "to",
2902
- "type": "address"
2903
- },
2904
- {
2905
- "internalType": "uint256",
2906
- "name": "amount",
2907
- "type": "uint256"
2908
- }
2909
- ],
2910
- "name": "withdrawTokenRequest",
2911
- "outputs": [
2912
- {
2913
- "internalType": "uint256",
2914
- "name": "txId",
2915
- "type": "uint256"
2916
- }
2917
- ],
2918
- "stateMutability": "nonpayable",
2919
- "type": "function"
2920
- },
2921
- {
2922
- "inputs": [
2923
- {
2924
- "internalType": "uint256",
2925
- "name": "txId",
2926
- "type": "uint256"
2927
- }
2928
- ],
2929
- "name": "approveWithdrawalAfterDelay",
2930
- "outputs": [
2931
- {
2932
- "internalType": "uint256",
2933
- "name": "",
2934
- "type": "uint256"
2935
- }
2936
- ],
2937
- "stateMutability": "nonpayable",
2938
- "type": "function"
2939
- },
2940
- {
2941
- "inputs": [
2942
- {
2943
- "components": [
2944
- {
2945
- "components": [
2946
- {
2947
- "internalType": "uint256",
2948
- "name": "txId",
2949
- "type": "uint256"
2950
- },
2951
- {
2952
- "internalType": "uint256",
2953
- "name": "releaseTime",
2954
- "type": "uint256"
2955
- },
2956
- {
2957
- "internalType": "enum EngineBlox.TxStatus",
2958
- "name": "status",
2959
- "type": "uint8"
2960
- },
2961
- {
2962
- "components": [
2963
- {
2964
- "internalType": "address",
2965
- "name": "requester",
2966
- "type": "address"
2967
- },
2968
- {
2969
- "internalType": "address",
2970
- "name": "target",
2971
- "type": "address"
2972
- },
2973
- {
2974
- "internalType": "uint256",
2975
- "name": "value",
2976
- "type": "uint256"
2977
- },
2978
- {
2979
- "internalType": "uint256",
2980
- "name": "gasLimit",
2981
- "type": "uint256"
2982
- },
2983
- {
2984
- "internalType": "bytes32",
2985
- "name": "operationType",
2986
- "type": "bytes32"
2987
- },
2988
- {
2989
- "internalType": "bytes4",
2990
- "name": "executionSelector",
2991
- "type": "bytes4"
2992
- },
2993
- {
2994
- "internalType": "bytes",
2995
- "name": "executionParams",
2996
- "type": "bytes"
2997
- }
2998
- ],
2999
- "internalType": "struct EngineBlox.TxParams",
3000
- "name": "params",
3001
- "type": "tuple"
3002
- },
3003
- {
3004
- "internalType": "bytes32",
3005
- "name": "message",
3006
- "type": "bytes32"
3007
- },
3008
- {
3009
- "internalType": "bytes",
3010
- "name": "result",
3011
- "type": "bytes"
3012
- },
3013
- {
3014
- "components": [
3015
- {
3016
- "internalType": "address",
3017
- "name": "recipient",
3018
- "type": "address"
3019
- },
3020
- {
3021
- "internalType": "uint256",
3022
- "name": "nativeTokenAmount",
3023
- "type": "uint256"
3024
- },
3025
- {
3026
- "internalType": "address",
3027
- "name": "erc20TokenAddress",
3028
- "type": "address"
3029
- },
3030
- {
3031
- "internalType": "uint256",
3032
- "name": "erc20TokenAmount",
3033
- "type": "uint256"
3034
- }
3035
- ],
3036
- "internalType": "struct EngineBlox.PaymentDetails",
3037
- "name": "payment",
3038
- "type": "tuple"
3039
- }
3040
- ],
3041
- "internalType": "struct EngineBlox.TxRecord",
3042
- "name": "txRecord",
3043
- "type": "tuple"
3044
- },
3045
- {
3046
- "components": [
3047
- {
3048
- "internalType": "uint256",
3049
- "name": "chainId",
3050
- "type": "uint256"
3051
- },
3052
- {
3053
- "internalType": "uint256",
3054
- "name": "nonce",
3055
- "type": "uint256"
3056
- },
3057
- {
3058
- "internalType": "address",
3059
- "name": "handlerContract",
3060
- "type": "address"
3061
- },
3062
- {
3063
- "internalType": "bytes4",
3064
- "name": "handlerSelector",
3065
- "type": "bytes4"
3066
- },
3067
- {
3068
- "internalType": "enum EngineBlox.TxAction",
3069
- "name": "action",
3070
- "type": "uint8"
3071
- },
3072
- {
3073
- "internalType": "uint256",
3074
- "name": "deadline",
3075
- "type": "uint256"
3076
- },
3077
- {
3078
- "internalType": "uint256",
3079
- "name": "maxGasPrice",
3080
- "type": "uint256"
3081
- },
3082
- {
3083
- "internalType": "address",
3084
- "name": "signer",
3085
- "type": "address"
3086
- }
3087
- ],
3088
- "internalType": "struct EngineBlox.MetaTxParams",
3089
- "name": "params",
3090
- "type": "tuple"
3091
- },
3092
- {
3093
- "internalType": "bytes32",
3094
- "name": "message",
3095
- "type": "bytes32"
3096
- },
3097
- {
3098
- "internalType": "bytes",
3099
- "name": "signature",
3100
- "type": "bytes"
3101
- },
3102
- {
3103
- "internalType": "bytes",
3104
- "name": "data",
3105
- "type": "bytes"
3106
- }
3107
- ],
3108
- "internalType": "struct EngineBlox.MetaTransaction",
3109
- "name": "metaTx",
3110
- "type": "tuple"
3111
- }
3112
- ],
3113
- "name": "approveWithdrawalWithMetaTx",
3114
- "outputs": [
3115
- {
3116
- "internalType": "uint256",
3117
- "name": "",
3118
- "type": "uint256"
3119
- }
3120
- ],
3121
- "stateMutability": "nonpayable",
3122
- "type": "function"
3123
- },
3124
- {
3125
- "inputs": [
3126
- {
3127
- "internalType": "uint256",
3128
- "name": "txId",
3129
- "type": "uint256"
3130
- }
3131
- ],
3132
- "name": "cancelWithdrawal",
3133
- "outputs": [
3134
- {
3135
- "internalType": "uint256",
3136
- "name": "",
3137
- "type": "uint256"
3138
- }
3139
- ],
3140
- "stateMutability": "nonpayable",
3141
- "type": "function"
3142
- },
3143
- {
3144
- "inputs": [
3145
- {
3146
- "internalType": "address payable",
3147
- "name": "to",
3148
- "type": "address"
3149
- },
3150
- {
3151
- "internalType": "uint256",
3152
- "name": "amount",
3153
- "type": "uint256"
3154
- }
3155
- ],
3156
- "name": "executeWithdrawEth",
3157
- "outputs": [],
3158
- "stateMutability": "nonpayable",
3159
- "type": "function"
3160
- },
3161
- {
3162
- "inputs": [
3163
- {
3164
- "internalType": "address",
3165
- "name": "token",
3166
- "type": "address"
3167
- },
3168
- {
3169
- "internalType": "address",
3170
- "name": "to",
3171
- "type": "address"
3172
- },
3173
- {
3174
- "internalType": "uint256",
3175
- "name": "amount",
3176
- "type": "uint256"
3177
- }
3178
- ],
3179
- "name": "executeWithdrawToken",
3180
- "outputs": [],
3181
- "stateMutability": "nonpayable",
3182
- "type": "function"
3183
- },
3184
- {
3185
- "inputs": [
3186
- {
3187
- "internalType": "uint256",
3188
- "name": "txId",
3189
- "type": "uint256"
3190
- },
3191
- {
3192
- "components": [
3193
- {
3194
- "internalType": "uint256",
3195
- "name": "deadline",
3196
- "type": "uint256"
3197
- },
3198
- {
3199
- "internalType": "uint256",
3200
- "name": "maxGasPrice",
3201
- "type": "uint256"
3202
- }
3203
- ],
3204
- "internalType": "struct SimpleVault.VaultMetaTxParams",
3205
- "name": "metaTxParams",
3206
- "type": "tuple"
3207
- }
3208
- ],
3209
- "name": "generateUnsignedWithdrawalMetaTxApproval",
3210
- "outputs": [
3211
- {
3212
- "components": [
3213
- {
3214
- "components": [
3215
- {
3216
- "internalType": "uint256",
3217
- "name": "txId",
3218
- "type": "uint256"
3219
- },
3220
- {
3221
- "internalType": "uint256",
3222
- "name": "releaseTime",
3223
- "type": "uint256"
3224
- },
3225
- {
3226
- "internalType": "enum EngineBlox.TxStatus",
3227
- "name": "status",
3228
- "type": "uint8"
3229
- },
3230
- {
3231
- "components": [
3232
- {
3233
- "internalType": "address",
3234
- "name": "requester",
3235
- "type": "address"
3236
- },
3237
- {
3238
- "internalType": "address",
3239
- "name": "target",
3240
- "type": "address"
3241
- },
3242
- {
3243
- "internalType": "uint256",
3244
- "name": "value",
3245
- "type": "uint256"
3246
- },
3247
- {
3248
- "internalType": "uint256",
3249
- "name": "gasLimit",
3250
- "type": "uint256"
3251
- },
3252
- {
3253
- "internalType": "bytes32",
3254
- "name": "operationType",
3255
- "type": "bytes32"
3256
- },
3257
- {
3258
- "internalType": "bytes4",
3259
- "name": "executionSelector",
3260
- "type": "bytes4"
3261
- },
3262
- {
3263
- "internalType": "bytes",
3264
- "name": "executionParams",
3265
- "type": "bytes"
3266
- }
3267
- ],
3268
- "internalType": "struct EngineBlox.TxParams",
3269
- "name": "params",
3270
- "type": "tuple"
3271
- },
3272
- {
3273
- "internalType": "bytes32",
3274
- "name": "message",
3275
- "type": "bytes32"
3276
- },
3277
- {
3278
- "internalType": "bytes",
3279
- "name": "result",
3280
- "type": "bytes"
3281
- },
3282
- {
3283
- "components": [
3284
- {
3285
- "internalType": "address",
3286
- "name": "recipient",
3287
- "type": "address"
3288
- },
3289
- {
3290
- "internalType": "uint256",
3291
- "name": "nativeTokenAmount",
3292
- "type": "uint256"
3293
- },
3294
- {
3295
- "internalType": "address",
3296
- "name": "erc20TokenAddress",
3297
- "type": "address"
3298
- },
3299
- {
3300
- "internalType": "uint256",
3301
- "name": "erc20TokenAmount",
3302
- "type": "uint256"
3303
- }
3304
- ],
3305
- "internalType": "struct EngineBlox.PaymentDetails",
3306
- "name": "payment",
3307
- "type": "tuple"
3308
- }
3309
- ],
3310
- "internalType": "struct EngineBlox.TxRecord",
3311
- "name": "txRecord",
3312
- "type": "tuple"
3313
- },
3314
- {
3315
- "components": [
3316
- {
3317
- "internalType": "uint256",
3318
- "name": "chainId",
3319
- "type": "uint256"
3320
- },
3321
- {
3322
- "internalType": "uint256",
3323
- "name": "nonce",
3324
- "type": "uint256"
3325
- },
3326
- {
3327
- "internalType": "address",
3328
- "name": "handlerContract",
3329
- "type": "address"
3330
- },
3331
- {
3332
- "internalType": "bytes4",
3333
- "name": "handlerSelector",
3334
- "type": "bytes4"
3335
- },
3336
- {
3337
- "internalType": "enum EngineBlox.TxAction",
3338
- "name": "action",
3339
- "type": "uint8"
3340
- },
3341
- {
3342
- "internalType": "uint256",
3343
- "name": "deadline",
3344
- "type": "uint256"
3345
- },
3346
- {
3347
- "internalType": "uint256",
3348
- "name": "maxGasPrice",
3349
- "type": "uint256"
3350
- },
3351
- {
3352
- "internalType": "address",
3353
- "name": "signer",
3354
- "type": "address"
3355
- }
3356
- ],
3357
- "internalType": "struct EngineBlox.MetaTxParams",
3358
- "name": "params",
3359
- "type": "tuple"
3360
- },
3361
- {
3362
- "internalType": "bytes32",
3363
- "name": "message",
3364
- "type": "bytes32"
3365
- },
3366
- {
3367
- "internalType": "bytes",
3368
- "name": "signature",
3369
- "type": "bytes"
3370
- },
3371
- {
3372
- "internalType": "bytes",
3373
- "name": "data",
3374
- "type": "bytes"
3375
- }
3376
- ],
3377
- "internalType": "struct EngineBlox.MetaTransaction",
3378
- "name": "",
3379
- "type": "tuple"
3380
- }
3381
- ],
3382
- "stateMutability": "view",
3383
- "type": "function"
3384
- }
3385
- ]