@bloxchain/contracts 1.0.0-alpha.6 → 1.0.0

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