@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,1651 +1,1650 @@
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": "uint256",
22
- "name": "currentSize",
23
- "type": "uint256"
24
- },
25
- {
26
- "internalType": "uint256",
27
- "name": "maxSize",
28
- "type": "uint256"
29
- }
30
- ],
31
- "name": "BatchSizeExceeded",
32
- "type": "error"
33
- },
34
- {
35
- "inputs": [
36
- {
37
- "internalType": "bytes32",
38
- "name": "resourceId",
39
- "type": "bytes32"
40
- }
41
- ],
42
- "name": "CannotModifyProtected",
43
- "type": "error"
44
- },
45
- {
46
- "inputs": [],
47
- "name": "InvalidInitialization",
48
- "type": "error"
49
- },
50
- {
51
- "inputs": [
52
- {
53
- "internalType": "uint256",
54
- "name": "from",
55
- "type": "uint256"
56
- },
57
- {
58
- "internalType": "uint256",
59
- "name": "to",
60
- "type": "uint256"
61
- }
62
- ],
63
- "name": "InvalidRange",
64
- "type": "error"
65
- },
66
- {
67
- "inputs": [
68
- {
69
- "internalType": "address",
70
- "name": "caller",
71
- "type": "address"
72
- }
73
- ],
74
- "name": "NoPermission",
75
- "type": "error"
76
- },
77
- {
78
- "inputs": [],
79
- "name": "NotInitializing",
80
- "type": "error"
81
- },
82
- {
83
- "inputs": [],
84
- "name": "NotSupported",
85
- "type": "error"
86
- },
87
- {
88
- "inputs": [
89
- {
90
- "internalType": "address",
91
- "name": "caller",
92
- "type": "address"
93
- },
94
- {
95
- "internalType": "address",
96
- "name": "contractAddress",
97
- "type": "address"
98
- }
99
- ],
100
- "name": "OnlyCallableByContract",
101
- "type": "error"
102
- },
103
- {
104
- "inputs": [
105
- {
106
- "internalType": "uint256",
107
- "name": "rangeSize",
108
- "type": "uint256"
109
- },
110
- {
111
- "internalType": "uint256",
112
- "name": "maxRangeSize",
113
- "type": "uint256"
114
- }
115
- ],
116
- "name": "RangeSizeExceeded",
117
- "type": "error"
118
- },
119
- {
120
- "inputs": [],
121
- "name": "ReentrancyGuardReentrantCall",
122
- "type": "error"
123
- },
124
- {
125
- "inputs": [
126
- {
127
- "internalType": "bytes32",
128
- "name": "resourceId",
129
- "type": "bytes32"
130
- }
131
- ],
132
- "name": "ResourceNotFound",
133
- "type": "error"
134
- },
135
- {
136
- "anonymous": false,
137
- "inputs": [
138
- {
139
- "indexed": true,
140
- "internalType": "bytes4",
141
- "name": "functionSelector",
142
- "type": "bytes4"
143
- },
144
- {
145
- "indexed": false,
146
- "internalType": "bytes",
147
- "name": "data",
148
- "type": "bytes"
149
- }
150
- ],
151
- "name": "ComponentEvent",
152
- "type": "event"
153
- },
154
- {
155
- "anonymous": false,
156
- "inputs": [
157
- {
158
- "indexed": false,
159
- "internalType": "uint64",
160
- "name": "version",
161
- "type": "uint64"
162
- }
163
- ],
164
- "name": "Initialized",
165
- "type": "event"
166
- },
167
- {
168
- "inputs": [
169
- {
170
- "internalType": "address",
171
7
  "name": "handlerContract",
172
- "type": "address"
8
+ "type": "address",
9
+ "internalType": "address"
173
10
  },
174
11
  {
175
- "internalType": "bytes4",
176
12
  "name": "handlerSelector",
177
- "type": "bytes4"
13
+ "type": "bytes4",
14
+ "internalType": "bytes4"
178
15
  },
179
16
  {
180
- "internalType": "enum EngineBlox.TxAction",
181
17
  "name": "action",
182
- "type": "uint8"
18
+ "type": "uint8",
19
+ "internalType": "enum EngineBlox.TxAction"
183
20
  },
184
21
  {
185
- "internalType": "uint256",
186
22
  "name": "deadline",
187
- "type": "uint256"
23
+ "type": "uint256",
24
+ "internalType": "uint256"
188
25
  },
189
26
  {
190
- "internalType": "uint256",
191
27
  "name": "maxGasPrice",
192
- "type": "uint256"
28
+ "type": "uint256",
29
+ "internalType": "uint256"
193
30
  },
194
31
  {
195
- "internalType": "address",
196
32
  "name": "signer",
197
- "type": "address"
33
+ "type": "address",
34
+ "internalType": "address"
198
35
  }
199
36
  ],
200
- "name": "createMetaTxParams",
201
37
  "outputs": [
202
38
  {
39
+ "name": "",
40
+ "type": "tuple",
41
+ "internalType": "struct EngineBlox.MetaTxParams",
203
42
  "components": [
204
43
  {
205
- "internalType": "uint256",
206
44
  "name": "chainId",
207
- "type": "uint256"
45
+ "type": "uint256",
46
+ "internalType": "uint256"
208
47
  },
209
48
  {
210
- "internalType": "uint256",
211
49
  "name": "nonce",
212
- "type": "uint256"
50
+ "type": "uint256",
51
+ "internalType": "uint256"
213
52
  },
214
53
  {
215
- "internalType": "address",
216
54
  "name": "handlerContract",
217
- "type": "address"
55
+ "type": "address",
56
+ "internalType": "address"
218
57
  },
219
58
  {
220
- "internalType": "bytes4",
221
59
  "name": "handlerSelector",
222
- "type": "bytes4"
60
+ "type": "bytes4",
61
+ "internalType": "bytes4"
223
62
  },
224
63
  {
225
- "internalType": "enum EngineBlox.TxAction",
226
64
  "name": "action",
227
- "type": "uint8"
65
+ "type": "uint8",
66
+ "internalType": "enum EngineBlox.TxAction"
228
67
  },
229
68
  {
230
- "internalType": "uint256",
231
69
  "name": "deadline",
232
- "type": "uint256"
70
+ "type": "uint256",
71
+ "internalType": "uint256"
233
72
  },
234
73
  {
235
- "internalType": "uint256",
236
74
  "name": "maxGasPrice",
237
- "type": "uint256"
75
+ "type": "uint256",
76
+ "internalType": "uint256"
238
77
  },
239
78
  {
240
- "internalType": "address",
241
79
  "name": "signer",
242
- "type": "address"
80
+ "type": "address",
81
+ "internalType": "address"
243
82
  }
244
- ],
245
- "internalType": "struct EngineBlox.MetaTxParams",
246
- "name": "",
247
- "type": "tuple"
83
+ ]
248
84
  }
249
85
  ],
250
- "stateMutability": "view",
251
- "type": "function"
86
+ "stateMutability": "view"
252
87
  },
253
88
  {
89
+ "type": "function",
90
+ "name": "executeRoleConfigBatch",
254
91
  "inputs": [
255
92
  {
256
- "internalType": "bytes4",
257
- "name": "functionSelector",
258
- "type": "bytes4"
259
- }
260
- ],
261
- "name": "functionSchemaExists",
262
- "outputs": [
263
- {
264
- "internalType": "bool",
265
- "name": "",
266
- "type": "bool"
93
+ "name": "actions",
94
+ "type": "tuple[]",
95
+ "internalType": "struct IRuntimeRBAC.RoleConfigAction[]",
96
+ "components": [
97
+ {
98
+ "name": "actionType",
99
+ "type": "uint8",
100
+ "internalType": "enum IRuntimeRBAC.RoleConfigActionType"
101
+ },
102
+ {
103
+ "name": "data",
104
+ "type": "bytes",
105
+ "internalType": "bytes"
106
+ }
107
+ ]
267
108
  }
268
109
  ],
269
- "stateMutability": "view",
270
- "type": "function"
110
+ "outputs": [],
111
+ "stateMutability": "nonpayable"
271
112
  },
272
113
  {
114
+ "type": "function",
115
+ "name": "generateUnsignedMetaTransactionForExisting",
273
116
  "inputs": [
274
117
  {
275
- "internalType": "uint256",
276
118
  "name": "txId",
277
- "type": "uint256"
119
+ "type": "uint256",
120
+ "internalType": "uint256"
278
121
  },
279
122
  {
123
+ "name": "metaTxParams",
124
+ "type": "tuple",
125
+ "internalType": "struct EngineBlox.MetaTxParams",
280
126
  "components": [
281
127
  {
282
- "internalType": "uint256",
283
128
  "name": "chainId",
284
- "type": "uint256"
129
+ "type": "uint256",
130
+ "internalType": "uint256"
285
131
  },
286
132
  {
287
- "internalType": "uint256",
288
133
  "name": "nonce",
289
- "type": "uint256"
134
+ "type": "uint256",
135
+ "internalType": "uint256"
290
136
  },
291
137
  {
292
- "internalType": "address",
293
138
  "name": "handlerContract",
294
- "type": "address"
139
+ "type": "address",
140
+ "internalType": "address"
295
141
  },
296
142
  {
297
- "internalType": "bytes4",
298
143
  "name": "handlerSelector",
299
- "type": "bytes4"
144
+ "type": "bytes4",
145
+ "internalType": "bytes4"
300
146
  },
301
147
  {
302
- "internalType": "enum EngineBlox.TxAction",
303
148
  "name": "action",
304
- "type": "uint8"
149
+ "type": "uint8",
150
+ "internalType": "enum EngineBlox.TxAction"
305
151
  },
306
152
  {
307
- "internalType": "uint256",
308
153
  "name": "deadline",
309
- "type": "uint256"
154
+ "type": "uint256",
155
+ "internalType": "uint256"
310
156
  },
311
157
  {
312
- "internalType": "uint256",
313
158
  "name": "maxGasPrice",
314
- "type": "uint256"
159
+ "type": "uint256",
160
+ "internalType": "uint256"
315
161
  },
316
162
  {
317
- "internalType": "address",
318
163
  "name": "signer",
319
- "type": "address"
164
+ "type": "address",
165
+ "internalType": "address"
320
166
  }
321
- ],
322
- "internalType": "struct EngineBlox.MetaTxParams",
323
- "name": "metaTxParams",
324
- "type": "tuple"
167
+ ]
325
168
  }
326
169
  ],
327
- "name": "generateUnsignedMetaTransactionForExisting",
328
170
  "outputs": [
329
171
  {
172
+ "name": "",
173
+ "type": "tuple",
174
+ "internalType": "struct EngineBlox.MetaTransaction",
330
175
  "components": [
331
176
  {
177
+ "name": "txRecord",
178
+ "type": "tuple",
179
+ "internalType": "struct EngineBlox.TxRecord",
332
180
  "components": [
333
181
  {
334
- "internalType": "uint256",
335
182
  "name": "txId",
336
- "type": "uint256"
183
+ "type": "uint256",
184
+ "internalType": "uint256"
337
185
  },
338
186
  {
339
- "internalType": "uint256",
340
187
  "name": "releaseTime",
341
- "type": "uint256"
188
+ "type": "uint256",
189
+ "internalType": "uint256"
342
190
  },
343
191
  {
344
- "internalType": "enum EngineBlox.TxStatus",
345
192
  "name": "status",
346
- "type": "uint8"
193
+ "type": "uint8",
194
+ "internalType": "enum EngineBlox.TxStatus"
347
195
  },
348
196
  {
197
+ "name": "params",
198
+ "type": "tuple",
199
+ "internalType": "struct EngineBlox.TxParams",
349
200
  "components": [
350
201
  {
351
- "internalType": "address",
352
202
  "name": "requester",
353
- "type": "address"
203
+ "type": "address",
204
+ "internalType": "address"
354
205
  },
355
206
  {
356
- "internalType": "address",
357
207
  "name": "target",
358
- "type": "address"
208
+ "type": "address",
209
+ "internalType": "address"
359
210
  },
360
211
  {
361
- "internalType": "uint256",
362
212
  "name": "value",
363
- "type": "uint256"
213
+ "type": "uint256",
214
+ "internalType": "uint256"
364
215
  },
365
216
  {
366
- "internalType": "uint256",
367
217
  "name": "gasLimit",
368
- "type": "uint256"
218
+ "type": "uint256",
219
+ "internalType": "uint256"
369
220
  },
370
221
  {
371
- "internalType": "bytes32",
372
222
  "name": "operationType",
373
- "type": "bytes32"
223
+ "type": "bytes32",
224
+ "internalType": "bytes32"
374
225
  },
375
226
  {
376
- "internalType": "bytes4",
377
227
  "name": "executionSelector",
378
- "type": "bytes4"
228
+ "type": "bytes4",
229
+ "internalType": "bytes4"
379
230
  },
380
231
  {
381
- "internalType": "bytes",
382
232
  "name": "executionParams",
383
- "type": "bytes"
233
+ "type": "bytes",
234
+ "internalType": "bytes"
384
235
  }
385
- ],
386
- "internalType": "struct EngineBlox.TxParams",
387
- "name": "params",
388
- "type": "tuple"
236
+ ]
389
237
  },
390
238
  {
391
- "internalType": "bytes32",
392
239
  "name": "message",
393
- "type": "bytes32"
240
+ "type": "bytes32",
241
+ "internalType": "bytes32"
394
242
  },
395
243
  {
396
- "internalType": "bytes",
397
- "name": "result",
398
- "type": "bytes"
244
+ "name": "resultHash",
245
+ "type": "bytes32",
246
+ "internalType": "bytes32"
399
247
  },
400
248
  {
249
+ "name": "payment",
250
+ "type": "tuple",
251
+ "internalType": "struct EngineBlox.PaymentDetails",
401
252
  "components": [
402
253
  {
403
- "internalType": "address",
404
254
  "name": "recipient",
405
- "type": "address"
255
+ "type": "address",
256
+ "internalType": "address"
406
257
  },
407
258
  {
408
- "internalType": "uint256",
409
259
  "name": "nativeTokenAmount",
410
- "type": "uint256"
260
+ "type": "uint256",
261
+ "internalType": "uint256"
411
262
  },
412
263
  {
413
- "internalType": "address",
414
264
  "name": "erc20TokenAddress",
415
- "type": "address"
265
+ "type": "address",
266
+ "internalType": "address"
416
267
  },
417
268
  {
418
- "internalType": "uint256",
419
269
  "name": "erc20TokenAmount",
420
- "type": "uint256"
270
+ "type": "uint256",
271
+ "internalType": "uint256"
421
272
  }
422
- ],
423
- "internalType": "struct EngineBlox.PaymentDetails",
424
- "name": "payment",
425
- "type": "tuple"
273
+ ]
426
274
  }
427
- ],
428
- "internalType": "struct EngineBlox.TxRecord",
429
- "name": "txRecord",
430
- "type": "tuple"
275
+ ]
431
276
  },
432
277
  {
278
+ "name": "params",
279
+ "type": "tuple",
280
+ "internalType": "struct EngineBlox.MetaTxParams",
433
281
  "components": [
434
282
  {
435
- "internalType": "uint256",
436
283
  "name": "chainId",
437
- "type": "uint256"
284
+ "type": "uint256",
285
+ "internalType": "uint256"
438
286
  },
439
287
  {
440
- "internalType": "uint256",
441
288
  "name": "nonce",
442
- "type": "uint256"
289
+ "type": "uint256",
290
+ "internalType": "uint256"
443
291
  },
444
292
  {
445
- "internalType": "address",
446
293
  "name": "handlerContract",
447
- "type": "address"
294
+ "type": "address",
295
+ "internalType": "address"
448
296
  },
449
297
  {
450
- "internalType": "bytes4",
451
298
  "name": "handlerSelector",
452
- "type": "bytes4"
299
+ "type": "bytes4",
300
+ "internalType": "bytes4"
453
301
  },
454
302
  {
455
- "internalType": "enum EngineBlox.TxAction",
456
303
  "name": "action",
457
- "type": "uint8"
304
+ "type": "uint8",
305
+ "internalType": "enum EngineBlox.TxAction"
458
306
  },
459
307
  {
460
- "internalType": "uint256",
461
308
  "name": "deadline",
462
- "type": "uint256"
309
+ "type": "uint256",
310
+ "internalType": "uint256"
463
311
  },
464
312
  {
465
- "internalType": "uint256",
466
313
  "name": "maxGasPrice",
467
- "type": "uint256"
314
+ "type": "uint256",
315
+ "internalType": "uint256"
468
316
  },
469
317
  {
470
- "internalType": "address",
471
318
  "name": "signer",
472
- "type": "address"
319
+ "type": "address",
320
+ "internalType": "address"
473
321
  }
474
- ],
475
- "internalType": "struct EngineBlox.MetaTxParams",
476
- "name": "params",
477
- "type": "tuple"
322
+ ]
478
323
  },
479
324
  {
480
- "internalType": "bytes32",
481
325
  "name": "message",
482
- "type": "bytes32"
326
+ "type": "bytes32",
327
+ "internalType": "bytes32"
483
328
  },
484
329
  {
485
- "internalType": "bytes",
486
330
  "name": "signature",
487
- "type": "bytes"
331
+ "type": "bytes",
332
+ "internalType": "bytes"
488
333
  },
489
334
  {
490
- "internalType": "bytes",
491
335
  "name": "data",
492
- "type": "bytes"
336
+ "type": "bytes",
337
+ "internalType": "bytes"
493
338
  }
494
- ],
495
- "internalType": "struct EngineBlox.MetaTransaction",
496
- "name": "",
497
- "type": "tuple"
339
+ ]
498
340
  }
499
341
  ],
500
- "stateMutability": "view",
501
- "type": "function"
342
+ "stateMutability": "view"
502
343
  },
503
344
  {
345
+ "type": "function",
346
+ "name": "generateUnsignedMetaTransactionForNew",
504
347
  "inputs": [
505
348
  {
506
- "internalType": "address",
507
349
  "name": "requester",
508
- "type": "address"
350
+ "type": "address",
351
+ "internalType": "address"
509
352
  },
510
353
  {
511
- "internalType": "address",
512
354
  "name": "target",
513
- "type": "address"
355
+ "type": "address",
356
+ "internalType": "address"
514
357
  },
515
358
  {
516
- "internalType": "uint256",
517
359
  "name": "value",
518
- "type": "uint256"
360
+ "type": "uint256",
361
+ "internalType": "uint256"
519
362
  },
520
363
  {
521
- "internalType": "uint256",
522
364
  "name": "gasLimit",
523
- "type": "uint256"
365
+ "type": "uint256",
366
+ "internalType": "uint256"
524
367
  },
525
368
  {
526
- "internalType": "bytes32",
527
369
  "name": "operationType",
528
- "type": "bytes32"
370
+ "type": "bytes32",
371
+ "internalType": "bytes32"
529
372
  },
530
373
  {
531
- "internalType": "bytes4",
532
374
  "name": "executionSelector",
533
- "type": "bytes4"
375
+ "type": "bytes4",
376
+ "internalType": "bytes4"
534
377
  },
535
378
  {
536
- "internalType": "bytes",
537
379
  "name": "executionParams",
538
- "type": "bytes"
380
+ "type": "bytes",
381
+ "internalType": "bytes"
539
382
  },
540
383
  {
384
+ "name": "metaTxParams",
385
+ "type": "tuple",
386
+ "internalType": "struct EngineBlox.MetaTxParams",
541
387
  "components": [
542
388
  {
543
- "internalType": "uint256",
544
389
  "name": "chainId",
545
- "type": "uint256"
390
+ "type": "uint256",
391
+ "internalType": "uint256"
546
392
  },
547
393
  {
548
- "internalType": "uint256",
549
394
  "name": "nonce",
550
- "type": "uint256"
395
+ "type": "uint256",
396
+ "internalType": "uint256"
551
397
  },
552
398
  {
553
- "internalType": "address",
554
399
  "name": "handlerContract",
555
- "type": "address"
400
+ "type": "address",
401
+ "internalType": "address"
556
402
  },
557
403
  {
558
- "internalType": "bytes4",
559
404
  "name": "handlerSelector",
560
- "type": "bytes4"
405
+ "type": "bytes4",
406
+ "internalType": "bytes4"
561
407
  },
562
408
  {
563
- "internalType": "enum EngineBlox.TxAction",
564
409
  "name": "action",
565
- "type": "uint8"
410
+ "type": "uint8",
411
+ "internalType": "enum EngineBlox.TxAction"
566
412
  },
567
413
  {
568
- "internalType": "uint256",
569
414
  "name": "deadline",
570
- "type": "uint256"
415
+ "type": "uint256",
416
+ "internalType": "uint256"
571
417
  },
572
418
  {
573
- "internalType": "uint256",
574
419
  "name": "maxGasPrice",
575
- "type": "uint256"
420
+ "type": "uint256",
421
+ "internalType": "uint256"
576
422
  },
577
423
  {
578
- "internalType": "address",
579
424
  "name": "signer",
580
- "type": "address"
425
+ "type": "address",
426
+ "internalType": "address"
581
427
  }
582
- ],
583
- "internalType": "struct EngineBlox.MetaTxParams",
584
- "name": "metaTxParams",
585
- "type": "tuple"
428
+ ]
586
429
  }
587
430
  ],
588
- "name": "generateUnsignedMetaTransactionForNew",
589
431
  "outputs": [
590
432
  {
433
+ "name": "",
434
+ "type": "tuple",
435
+ "internalType": "struct EngineBlox.MetaTransaction",
591
436
  "components": [
592
437
  {
438
+ "name": "txRecord",
439
+ "type": "tuple",
440
+ "internalType": "struct EngineBlox.TxRecord",
593
441
  "components": [
594
442
  {
595
- "internalType": "uint256",
596
443
  "name": "txId",
597
- "type": "uint256"
444
+ "type": "uint256",
445
+ "internalType": "uint256"
598
446
  },
599
447
  {
600
- "internalType": "uint256",
601
448
  "name": "releaseTime",
602
- "type": "uint256"
449
+ "type": "uint256",
450
+ "internalType": "uint256"
603
451
  },
604
452
  {
605
- "internalType": "enum EngineBlox.TxStatus",
606
453
  "name": "status",
607
- "type": "uint8"
454
+ "type": "uint8",
455
+ "internalType": "enum EngineBlox.TxStatus"
608
456
  },
609
457
  {
458
+ "name": "params",
459
+ "type": "tuple",
460
+ "internalType": "struct EngineBlox.TxParams",
610
461
  "components": [
611
462
  {
612
- "internalType": "address",
613
463
  "name": "requester",
614
- "type": "address"
464
+ "type": "address",
465
+ "internalType": "address"
615
466
  },
616
467
  {
617
- "internalType": "address",
618
468
  "name": "target",
619
- "type": "address"
469
+ "type": "address",
470
+ "internalType": "address"
620
471
  },
621
472
  {
622
- "internalType": "uint256",
623
473
  "name": "value",
624
- "type": "uint256"
474
+ "type": "uint256",
475
+ "internalType": "uint256"
625
476
  },
626
477
  {
627
- "internalType": "uint256",
628
478
  "name": "gasLimit",
629
- "type": "uint256"
479
+ "type": "uint256",
480
+ "internalType": "uint256"
630
481
  },
631
482
  {
632
- "internalType": "bytes32",
633
483
  "name": "operationType",
634
- "type": "bytes32"
484
+ "type": "bytes32",
485
+ "internalType": "bytes32"
635
486
  },
636
487
  {
637
- "internalType": "bytes4",
638
488
  "name": "executionSelector",
639
- "type": "bytes4"
489
+ "type": "bytes4",
490
+ "internalType": "bytes4"
640
491
  },
641
492
  {
642
- "internalType": "bytes",
643
493
  "name": "executionParams",
644
- "type": "bytes"
494
+ "type": "bytes",
495
+ "internalType": "bytes"
645
496
  }
646
- ],
647
- "internalType": "struct EngineBlox.TxParams",
648
- "name": "params",
649
- "type": "tuple"
497
+ ]
650
498
  },
651
499
  {
652
- "internalType": "bytes32",
653
500
  "name": "message",
654
- "type": "bytes32"
501
+ "type": "bytes32",
502
+ "internalType": "bytes32"
655
503
  },
656
504
  {
657
- "internalType": "bytes",
658
- "name": "result",
659
- "type": "bytes"
505
+ "name": "resultHash",
506
+ "type": "bytes32",
507
+ "internalType": "bytes32"
660
508
  },
661
509
  {
510
+ "name": "payment",
511
+ "type": "tuple",
512
+ "internalType": "struct EngineBlox.PaymentDetails",
662
513
  "components": [
663
514
  {
664
- "internalType": "address",
665
515
  "name": "recipient",
666
- "type": "address"
516
+ "type": "address",
517
+ "internalType": "address"
667
518
  },
668
519
  {
669
- "internalType": "uint256",
670
520
  "name": "nativeTokenAmount",
671
- "type": "uint256"
521
+ "type": "uint256",
522
+ "internalType": "uint256"
672
523
  },
673
524
  {
674
- "internalType": "address",
675
525
  "name": "erc20TokenAddress",
676
- "type": "address"
526
+ "type": "address",
527
+ "internalType": "address"
677
528
  },
678
529
  {
679
- "internalType": "uint256",
680
530
  "name": "erc20TokenAmount",
681
- "type": "uint256"
531
+ "type": "uint256",
532
+ "internalType": "uint256"
682
533
  }
683
- ],
684
- "internalType": "struct EngineBlox.PaymentDetails",
685
- "name": "payment",
686
- "type": "tuple"
534
+ ]
687
535
  }
688
- ],
689
- "internalType": "struct EngineBlox.TxRecord",
690
- "name": "txRecord",
691
- "type": "tuple"
536
+ ]
692
537
  },
693
538
  {
539
+ "name": "params",
540
+ "type": "tuple",
541
+ "internalType": "struct EngineBlox.MetaTxParams",
694
542
  "components": [
695
543
  {
696
- "internalType": "uint256",
697
544
  "name": "chainId",
698
- "type": "uint256"
545
+ "type": "uint256",
546
+ "internalType": "uint256"
699
547
  },
700
548
  {
701
- "internalType": "uint256",
702
549
  "name": "nonce",
703
- "type": "uint256"
550
+ "type": "uint256",
551
+ "internalType": "uint256"
704
552
  },
705
553
  {
706
- "internalType": "address",
707
554
  "name": "handlerContract",
708
- "type": "address"
555
+ "type": "address",
556
+ "internalType": "address"
709
557
  },
710
558
  {
711
- "internalType": "bytes4",
712
559
  "name": "handlerSelector",
713
- "type": "bytes4"
560
+ "type": "bytes4",
561
+ "internalType": "bytes4"
714
562
  },
715
563
  {
716
- "internalType": "enum EngineBlox.TxAction",
717
564
  "name": "action",
718
- "type": "uint8"
565
+ "type": "uint8",
566
+ "internalType": "enum EngineBlox.TxAction"
719
567
  },
720
568
  {
721
- "internalType": "uint256",
722
569
  "name": "deadline",
723
- "type": "uint256"
570
+ "type": "uint256",
571
+ "internalType": "uint256"
724
572
  },
725
573
  {
726
- "internalType": "uint256",
727
574
  "name": "maxGasPrice",
728
- "type": "uint256"
575
+ "type": "uint256",
576
+ "internalType": "uint256"
729
577
  },
730
578
  {
731
- "internalType": "address",
732
579
  "name": "signer",
733
- "type": "address"
580
+ "type": "address",
581
+ "internalType": "address"
734
582
  }
735
- ],
736
- "internalType": "struct EngineBlox.MetaTxParams",
737
- "name": "params",
738
- "type": "tuple"
583
+ ]
739
584
  },
740
585
  {
741
- "internalType": "bytes32",
742
586
  "name": "message",
743
- "type": "bytes32"
587
+ "type": "bytes32",
588
+ "internalType": "bytes32"
744
589
  },
745
590
  {
746
- "internalType": "bytes",
747
591
  "name": "signature",
748
- "type": "bytes"
592
+ "type": "bytes",
593
+ "internalType": "bytes"
749
594
  },
750
595
  {
751
- "internalType": "bytes",
752
596
  "name": "data",
753
- "type": "bytes"
597
+ "type": "bytes",
598
+ "internalType": "bytes"
754
599
  }
755
- ],
756
- "internalType": "struct EngineBlox.MetaTransaction",
757
- "name": "",
758
- "type": "tuple"
600
+ ]
759
601
  }
760
602
  ],
761
- "stateMutability": "view",
762
- "type": "function"
603
+ "stateMutability": "view"
763
604
  },
764
605
  {
606
+ "type": "function",
607
+ "name": "getActiveRolePermissions",
765
608
  "inputs": [
766
609
  {
767
- "internalType": "bytes32",
768
610
  "name": "roleHash",
769
- "type": "bytes32"
611
+ "type": "bytes32",
612
+ "internalType": "bytes32"
770
613
  }
771
614
  ],
772
- "name": "getActiveRolePermissions",
773
615
  "outputs": [
774
616
  {
617
+ "name": "",
618
+ "type": "tuple[]",
619
+ "internalType": "struct EngineBlox.FunctionPermission[]",
775
620
  "components": [
776
621
  {
777
- "internalType": "bytes4",
778
622
  "name": "functionSelector",
779
- "type": "bytes4"
623
+ "type": "bytes4",
624
+ "internalType": "bytes4"
780
625
  },
781
626
  {
782
- "internalType": "uint16",
783
627
  "name": "grantedActionsBitmap",
784
- "type": "uint16"
628
+ "type": "uint16",
629
+ "internalType": "uint16"
785
630
  },
786
631
  {
787
- "internalType": "bytes4[]",
788
632
  "name": "handlerForSelectors",
789
- "type": "bytes4[]"
633
+ "type": "bytes4[]",
634
+ "internalType": "bytes4[]"
790
635
  }
791
- ],
792
- "internalType": "struct EngineBlox.FunctionPermission[]",
636
+ ]
637
+ }
638
+ ],
639
+ "stateMutability": "view"
640
+ },
641
+ {
642
+ "type": "function",
643
+ "name": "getAuthorizedWallets",
644
+ "inputs": [
645
+ {
646
+ "name": "roleHash",
647
+ "type": "bytes32",
648
+ "internalType": "bytes32"
649
+ }
650
+ ],
651
+ "outputs": [
652
+ {
793
653
  "name": "",
794
- "type": "tuple[]"
654
+ "type": "address[]",
655
+ "internalType": "address[]"
795
656
  }
796
657
  ],
797
- "stateMutability": "view",
798
- "type": "function"
658
+ "stateMutability": "view"
799
659
  },
800
660
  {
801
- "inputs": [],
661
+ "type": "function",
802
662
  "name": "getBroadcasters",
663
+ "inputs": [],
803
664
  "outputs": [
804
665
  {
805
- "internalType": "address[]",
806
666
  "name": "",
807
- "type": "address[]"
667
+ "type": "address[]",
668
+ "internalType": "address[]"
808
669
  }
809
670
  ],
810
- "stateMutability": "view",
811
- "type": "function"
671
+ "stateMutability": "view"
812
672
  },
813
673
  {
674
+ "type": "function",
675
+ "name": "getFunctionSchema",
814
676
  "inputs": [
815
677
  {
816
- "internalType": "bytes4",
817
678
  "name": "functionSelector",
818
- "type": "bytes4"
679
+ "type": "bytes4",
680
+ "internalType": "bytes4"
819
681
  }
820
682
  ],
821
- "name": "getFunctionSchema",
822
683
  "outputs": [
823
684
  {
685
+ "name": "",
686
+ "type": "tuple",
687
+ "internalType": "struct EngineBlox.FunctionSchema",
824
688
  "components": [
825
689
  {
826
- "internalType": "string",
827
690
  "name": "functionSignature",
828
- "type": "string"
691
+ "type": "string",
692
+ "internalType": "string"
829
693
  },
830
694
  {
831
- "internalType": "bytes4",
832
695
  "name": "functionSelector",
833
- "type": "bytes4"
696
+ "type": "bytes4",
697
+ "internalType": "bytes4"
834
698
  },
835
699
  {
836
- "internalType": "bytes32",
837
700
  "name": "operationType",
838
- "type": "bytes32"
701
+ "type": "bytes32",
702
+ "internalType": "bytes32"
839
703
  },
840
704
  {
841
- "internalType": "string",
842
705
  "name": "operationName",
843
- "type": "string"
706
+ "type": "string",
707
+ "internalType": "string"
844
708
  },
845
709
  {
846
- "internalType": "uint16",
847
710
  "name": "supportedActionsBitmap",
848
- "type": "uint16"
711
+ "type": "uint16",
712
+ "internalType": "uint16"
713
+ },
714
+ {
715
+ "name": "enforceHandlerRelations",
716
+ "type": "bool",
717
+ "internalType": "bool"
849
718
  },
850
719
  {
851
- "internalType": "bool",
852
720
  "name": "isProtected",
853
- "type": "bool"
721
+ "type": "bool",
722
+ "internalType": "bool"
723
+ },
724
+ {
725
+ "name": "isGrantRevocable",
726
+ "type": "bool",
727
+ "internalType": "bool"
854
728
  },
855
729
  {
856
- "internalType": "bytes4[]",
857
730
  "name": "handlerForSelectors",
858
- "type": "bytes4[]"
731
+ "type": "bytes4[]",
732
+ "internalType": "bytes4[]"
859
733
  }
860
- ],
861
- "internalType": "struct EngineBlox.FunctionSchema",
862
- "name": "",
863
- "type": "tuple"
734
+ ]
864
735
  }
865
736
  ],
866
- "stateMutability": "view",
867
- "type": "function"
737
+ "stateMutability": "view"
868
738
  },
869
739
  {
740
+ "type": "function",
741
+ "name": "getFunctionWhitelistTargets",
870
742
  "inputs": [
871
743
  {
872
- "internalType": "bytes4",
873
744
  "name": "functionSelector",
874
- "type": "bytes4"
745
+ "type": "bytes4",
746
+ "internalType": "bytes4"
875
747
  }
876
748
  ],
877
- "name": "getFunctionWhitelistTargets",
878
749
  "outputs": [
879
750
  {
880
- "internalType": "address[]",
881
751
  "name": "",
882
- "type": "address[]"
752
+ "type": "address[]",
753
+ "internalType": "address[]"
883
754
  }
884
755
  ],
885
- "stateMutability": "view",
886
- "type": "function"
756
+ "stateMutability": "view"
887
757
  },
888
758
  {
759
+ "type": "function",
760
+ "name": "getHooks",
889
761
  "inputs": [
890
762
  {
891
- "internalType": "bytes4",
892
763
  "name": "functionSelector",
893
- "type": "bytes4"
764
+ "type": "bytes4",
765
+ "internalType": "bytes4"
894
766
  }
895
767
  ],
896
- "name": "getHooks",
897
768
  "outputs": [
898
769
  {
899
- "internalType": "address[]",
900
770
  "name": "hooks",
901
- "type": "address[]"
771
+ "type": "address[]",
772
+ "internalType": "address[]"
902
773
  }
903
774
  ],
904
- "stateMutability": "view",
905
- "type": "function"
775
+ "stateMutability": "view"
906
776
  },
907
777
  {
908
- "inputs": [],
778
+ "type": "function",
909
779
  "name": "getPendingTransactions",
780
+ "inputs": [],
910
781
  "outputs": [
911
782
  {
912
- "internalType": "uint256[]",
913
783
  "name": "",
914
- "type": "uint256[]"
784
+ "type": "uint256[]",
785
+ "internalType": "uint256[]"
915
786
  }
916
787
  ],
917
- "stateMutability": "view",
918
- "type": "function"
788
+ "stateMutability": "view"
919
789
  },
920
790
  {
921
- "inputs": [],
791
+ "type": "function",
922
792
  "name": "getRecovery",
793
+ "inputs": [],
923
794
  "outputs": [
924
795
  {
925
- "internalType": "address",
926
796
  "name": "",
927
- "type": "address"
797
+ "type": "address",
798
+ "internalType": "address"
928
799
  }
929
800
  ],
930
- "stateMutability": "view",
931
- "type": "function"
801
+ "stateMutability": "view"
932
802
  },
933
803
  {
804
+ "type": "function",
805
+ "name": "getRole",
934
806
  "inputs": [
935
807
  {
936
- "internalType": "bytes32",
937
808
  "name": "roleHash",
938
- "type": "bytes32"
809
+ "type": "bytes32",
810
+ "internalType": "bytes32"
939
811
  }
940
812
  ],
941
- "name": "getRole",
942
813
  "outputs": [
943
814
  {
944
- "internalType": "string",
945
815
  "name": "roleName",
946
- "type": "string"
816
+ "type": "string",
817
+ "internalType": "string"
947
818
  },
948
819
  {
949
- "internalType": "bytes32",
950
- "name": "roleHashReturn",
951
- "type": "bytes32"
820
+ "name": "hash",
821
+ "type": "bytes32",
822
+ "internalType": "bytes32"
952
823
  },
953
824
  {
954
- "internalType": "uint256",
955
825
  "name": "maxWallets",
956
- "type": "uint256"
826
+ "type": "uint256",
827
+ "internalType": "uint256"
957
828
  },
958
829
  {
959
- "internalType": "uint256",
960
830
  "name": "walletCount",
961
- "type": "uint256"
831
+ "type": "uint256",
832
+ "internalType": "uint256"
962
833
  },
963
834
  {
964
- "internalType": "bool",
965
835
  "name": "isProtected",
966
- "type": "bool"
836
+ "type": "bool",
837
+ "internalType": "bool"
967
838
  }
968
839
  ],
969
- "stateMutability": "view",
970
- "type": "function"
840
+ "stateMutability": "view"
971
841
  },
972
842
  {
843
+ "type": "function",
844
+ "name": "getSignerNonce",
973
845
  "inputs": [
974
846
  {
975
- "internalType": "address",
976
847
  "name": "signer",
977
- "type": "address"
848
+ "type": "address",
849
+ "internalType": "address"
978
850
  }
979
851
  ],
980
- "name": "getSignerNonce",
981
852
  "outputs": [
982
853
  {
983
- "internalType": "uint256",
984
854
  "name": "",
985
- "type": "uint256"
855
+ "type": "uint256",
856
+ "internalType": "uint256"
986
857
  }
987
858
  ],
988
- "stateMutability": "view",
989
- "type": "function"
859
+ "stateMutability": "view"
990
860
  },
991
861
  {
992
- "inputs": [],
862
+ "type": "function",
993
863
  "name": "getSupportedFunctions",
864
+ "inputs": [],
994
865
  "outputs": [
995
866
  {
996
- "internalType": "bytes4[]",
997
867
  "name": "",
998
- "type": "bytes4[]"
868
+ "type": "bytes4[]",
869
+ "internalType": "bytes4[]"
999
870
  }
1000
871
  ],
1001
- "stateMutability": "view",
1002
- "type": "function"
872
+ "stateMutability": "view"
1003
873
  },
1004
874
  {
1005
- "inputs": [],
875
+ "type": "function",
1006
876
  "name": "getSupportedOperationTypes",
877
+ "inputs": [],
1007
878
  "outputs": [
1008
879
  {
1009
- "internalType": "bytes32[]",
1010
880
  "name": "",
1011
- "type": "bytes32[]"
881
+ "type": "bytes32[]",
882
+ "internalType": "bytes32[]"
1012
883
  }
1013
884
  ],
1014
- "stateMutability": "view",
1015
- "type": "function"
885
+ "stateMutability": "view"
1016
886
  },
1017
887
  {
1018
- "inputs": [],
888
+ "type": "function",
1019
889
  "name": "getSupportedRoles",
890
+ "inputs": [],
1020
891
  "outputs": [
1021
892
  {
1022
- "internalType": "bytes32[]",
1023
893
  "name": "",
1024
- "type": "bytes32[]"
894
+ "type": "bytes32[]",
895
+ "internalType": "bytes32[]"
1025
896
  }
1026
897
  ],
1027
- "stateMutability": "view",
1028
- "type": "function"
898
+ "stateMutability": "view"
1029
899
  },
1030
900
  {
1031
- "inputs": [],
901
+ "type": "function",
1032
902
  "name": "getTimeLockPeriodSec",
903
+ "inputs": [],
1033
904
  "outputs": [
1034
905
  {
1035
- "internalType": "uint256",
1036
906
  "name": "",
1037
- "type": "uint256"
907
+ "type": "uint256",
908
+ "internalType": "uint256"
1038
909
  }
1039
910
  ],
1040
- "stateMutability": "view",
1041
- "type": "function"
911
+ "stateMutability": "view"
1042
912
  },
1043
913
  {
914
+ "type": "function",
915
+ "name": "getTransaction",
1044
916
  "inputs": [
1045
917
  {
1046
- "internalType": "uint256",
1047
918
  "name": "txId",
1048
- "type": "uint256"
919
+ "type": "uint256",
920
+ "internalType": "uint256"
1049
921
  }
1050
922
  ],
1051
- "name": "getTransaction",
1052
923
  "outputs": [
1053
924
  {
925
+ "name": "",
926
+ "type": "tuple",
927
+ "internalType": "struct EngineBlox.TxRecord",
1054
928
  "components": [
1055
929
  {
1056
- "internalType": "uint256",
1057
930
  "name": "txId",
1058
- "type": "uint256"
931
+ "type": "uint256",
932
+ "internalType": "uint256"
1059
933
  },
1060
934
  {
1061
- "internalType": "uint256",
1062
935
  "name": "releaseTime",
1063
- "type": "uint256"
936
+ "type": "uint256",
937
+ "internalType": "uint256"
1064
938
  },
1065
939
  {
1066
- "internalType": "enum EngineBlox.TxStatus",
1067
940
  "name": "status",
1068
- "type": "uint8"
941
+ "type": "uint8",
942
+ "internalType": "enum EngineBlox.TxStatus"
1069
943
  },
1070
944
  {
945
+ "name": "params",
946
+ "type": "tuple",
947
+ "internalType": "struct EngineBlox.TxParams",
1071
948
  "components": [
1072
949
  {
1073
- "internalType": "address",
1074
950
  "name": "requester",
1075
- "type": "address"
951
+ "type": "address",
952
+ "internalType": "address"
1076
953
  },
1077
954
  {
1078
- "internalType": "address",
1079
955
  "name": "target",
1080
- "type": "address"
956
+ "type": "address",
957
+ "internalType": "address"
1081
958
  },
1082
959
  {
1083
- "internalType": "uint256",
1084
960
  "name": "value",
1085
- "type": "uint256"
961
+ "type": "uint256",
962
+ "internalType": "uint256"
1086
963
  },
1087
964
  {
1088
- "internalType": "uint256",
1089
965
  "name": "gasLimit",
1090
- "type": "uint256"
966
+ "type": "uint256",
967
+ "internalType": "uint256"
1091
968
  },
1092
969
  {
1093
- "internalType": "bytes32",
1094
970
  "name": "operationType",
1095
- "type": "bytes32"
971
+ "type": "bytes32",
972
+ "internalType": "bytes32"
1096
973
  },
1097
974
  {
1098
- "internalType": "bytes4",
1099
975
  "name": "executionSelector",
1100
- "type": "bytes4"
976
+ "type": "bytes4",
977
+ "internalType": "bytes4"
1101
978
  },
1102
979
  {
1103
- "internalType": "bytes",
1104
980
  "name": "executionParams",
1105
- "type": "bytes"
981
+ "type": "bytes",
982
+ "internalType": "bytes"
1106
983
  }
1107
- ],
1108
- "internalType": "struct EngineBlox.TxParams",
1109
- "name": "params",
1110
- "type": "tuple"
984
+ ]
1111
985
  },
1112
986
  {
1113
- "internalType": "bytes32",
1114
987
  "name": "message",
1115
- "type": "bytes32"
988
+ "type": "bytes32",
989
+ "internalType": "bytes32"
1116
990
  },
1117
991
  {
1118
- "internalType": "bytes",
1119
- "name": "result",
1120
- "type": "bytes"
992
+ "name": "resultHash",
993
+ "type": "bytes32",
994
+ "internalType": "bytes32"
1121
995
  },
1122
996
  {
997
+ "name": "payment",
998
+ "type": "tuple",
999
+ "internalType": "struct EngineBlox.PaymentDetails",
1123
1000
  "components": [
1124
1001
  {
1125
- "internalType": "address",
1126
1002
  "name": "recipient",
1127
- "type": "address"
1003
+ "type": "address",
1004
+ "internalType": "address"
1128
1005
  },
1129
1006
  {
1130
- "internalType": "uint256",
1131
1007
  "name": "nativeTokenAmount",
1132
- "type": "uint256"
1008
+ "type": "uint256",
1009
+ "internalType": "uint256"
1133
1010
  },
1134
1011
  {
1135
- "internalType": "address",
1136
1012
  "name": "erc20TokenAddress",
1137
- "type": "address"
1013
+ "type": "address",
1014
+ "internalType": "address"
1138
1015
  },
1139
1016
  {
1140
- "internalType": "uint256",
1141
1017
  "name": "erc20TokenAmount",
1142
- "type": "uint256"
1018
+ "type": "uint256",
1019
+ "internalType": "uint256"
1143
1020
  }
1144
- ],
1145
- "internalType": "struct EngineBlox.PaymentDetails",
1146
- "name": "payment",
1147
- "type": "tuple"
1021
+ ]
1148
1022
  }
1149
- ],
1150
- "internalType": "struct EngineBlox.TxRecord",
1151
- "name": "",
1152
- "type": "tuple"
1023
+ ]
1153
1024
  }
1154
1025
  ],
1155
- "stateMutability": "view",
1156
- "type": "function"
1026
+ "stateMutability": "view"
1157
1027
  },
1158
1028
  {
1029
+ "type": "function",
1030
+ "name": "getTransactionHistory",
1159
1031
  "inputs": [
1160
1032
  {
1161
- "internalType": "uint256",
1162
1033
  "name": "fromTxId",
1163
- "type": "uint256"
1034
+ "type": "uint256",
1035
+ "internalType": "uint256"
1164
1036
  },
1165
1037
  {
1166
- "internalType": "uint256",
1167
1038
  "name": "toTxId",
1168
- "type": "uint256"
1039
+ "type": "uint256",
1040
+ "internalType": "uint256"
1169
1041
  }
1170
1042
  ],
1171
- "name": "getTransactionHistory",
1172
1043
  "outputs": [
1173
1044
  {
1045
+ "name": "",
1046
+ "type": "tuple[]",
1047
+ "internalType": "struct EngineBlox.TxRecord[]",
1174
1048
  "components": [
1175
1049
  {
1176
- "internalType": "uint256",
1177
1050
  "name": "txId",
1178
- "type": "uint256"
1051
+ "type": "uint256",
1052
+ "internalType": "uint256"
1179
1053
  },
1180
1054
  {
1181
- "internalType": "uint256",
1182
1055
  "name": "releaseTime",
1183
- "type": "uint256"
1056
+ "type": "uint256",
1057
+ "internalType": "uint256"
1184
1058
  },
1185
1059
  {
1186
- "internalType": "enum EngineBlox.TxStatus",
1187
1060
  "name": "status",
1188
- "type": "uint8"
1061
+ "type": "uint8",
1062
+ "internalType": "enum EngineBlox.TxStatus"
1189
1063
  },
1190
1064
  {
1065
+ "name": "params",
1066
+ "type": "tuple",
1067
+ "internalType": "struct EngineBlox.TxParams",
1191
1068
  "components": [
1192
1069
  {
1193
- "internalType": "address",
1194
1070
  "name": "requester",
1195
- "type": "address"
1071
+ "type": "address",
1072
+ "internalType": "address"
1196
1073
  },
1197
1074
  {
1198
- "internalType": "address",
1199
1075
  "name": "target",
1200
- "type": "address"
1076
+ "type": "address",
1077
+ "internalType": "address"
1201
1078
  },
1202
1079
  {
1203
- "internalType": "uint256",
1204
1080
  "name": "value",
1205
- "type": "uint256"
1081
+ "type": "uint256",
1082
+ "internalType": "uint256"
1206
1083
  },
1207
1084
  {
1208
- "internalType": "uint256",
1209
1085
  "name": "gasLimit",
1210
- "type": "uint256"
1086
+ "type": "uint256",
1087
+ "internalType": "uint256"
1211
1088
  },
1212
1089
  {
1213
- "internalType": "bytes32",
1214
1090
  "name": "operationType",
1215
- "type": "bytes32"
1091
+ "type": "bytes32",
1092
+ "internalType": "bytes32"
1216
1093
  },
1217
1094
  {
1218
- "internalType": "bytes4",
1219
1095
  "name": "executionSelector",
1220
- "type": "bytes4"
1096
+ "type": "bytes4",
1097
+ "internalType": "bytes4"
1221
1098
  },
1222
1099
  {
1223
- "internalType": "bytes",
1224
1100
  "name": "executionParams",
1225
- "type": "bytes"
1101
+ "type": "bytes",
1102
+ "internalType": "bytes"
1226
1103
  }
1227
- ],
1228
- "internalType": "struct EngineBlox.TxParams",
1229
- "name": "params",
1230
- "type": "tuple"
1104
+ ]
1231
1105
  },
1232
1106
  {
1233
- "internalType": "bytes32",
1234
1107
  "name": "message",
1235
- "type": "bytes32"
1108
+ "type": "bytes32",
1109
+ "internalType": "bytes32"
1236
1110
  },
1237
1111
  {
1238
- "internalType": "bytes",
1239
- "name": "result",
1240
- "type": "bytes"
1112
+ "name": "resultHash",
1113
+ "type": "bytes32",
1114
+ "internalType": "bytes32"
1241
1115
  },
1242
1116
  {
1117
+ "name": "payment",
1118
+ "type": "tuple",
1119
+ "internalType": "struct EngineBlox.PaymentDetails",
1243
1120
  "components": [
1244
1121
  {
1245
- "internalType": "address",
1246
1122
  "name": "recipient",
1247
- "type": "address"
1123
+ "type": "address",
1124
+ "internalType": "address"
1248
1125
  },
1249
1126
  {
1250
- "internalType": "uint256",
1251
1127
  "name": "nativeTokenAmount",
1252
- "type": "uint256"
1128
+ "type": "uint256",
1129
+ "internalType": "uint256"
1253
1130
  },
1254
1131
  {
1255
- "internalType": "address",
1256
1132
  "name": "erc20TokenAddress",
1257
- "type": "address"
1133
+ "type": "address",
1134
+ "internalType": "address"
1258
1135
  },
1259
1136
  {
1260
- "internalType": "uint256",
1261
1137
  "name": "erc20TokenAmount",
1262
- "type": "uint256"
1138
+ "type": "uint256",
1139
+ "internalType": "uint256"
1263
1140
  }
1264
- ],
1265
- "internalType": "struct EngineBlox.PaymentDetails",
1266
- "name": "payment",
1267
- "type": "tuple"
1141
+ ]
1268
1142
  }
1269
- ],
1270
- "internalType": "struct EngineBlox.TxRecord[]",
1271
- "name": "",
1272
- "type": "tuple[]"
1143
+ ]
1273
1144
  }
1274
1145
  ],
1275
- "stateMutability": "view",
1276
- "type": "function"
1146
+ "stateMutability": "view"
1277
1147
  },
1278
1148
  {
1279
- "inputs": [
1280
- {
1281
- "internalType": "address",
1282
- "name": "wallet",
1283
- "type": "address"
1284
- }
1285
- ],
1149
+ "type": "function",
1286
1150
  "name": "getWalletRoles",
1287
- "outputs": [
1288
- {
1289
- "internalType": "bytes32[]",
1290
- "name": "",
1291
- "type": "bytes32[]"
1292
- }
1293
- ],
1294
- "stateMutability": "view",
1295
- "type": "function"
1296
- },
1297
- {
1298
1151
  "inputs": [
1299
1152
  {
1300
- "internalType": "bytes32",
1301
- "name": "roleHash",
1302
- "type": "bytes32"
1153
+ "name": "wallet",
1154
+ "type": "address",
1155
+ "internalType": "address"
1303
1156
  }
1304
1157
  ],
1305
- "name": "getWalletsInRole",
1306
1158
  "outputs": [
1307
1159
  {
1308
- "internalType": "address[]",
1309
1160
  "name": "",
1310
- "type": "address[]"
1161
+ "type": "bytes32[]",
1162
+ "internalType": "bytes32[]"
1311
1163
  }
1312
1164
  ],
1313
- "stateMutability": "view",
1314
- "type": "function"
1165
+ "stateMutability": "view"
1315
1166
  },
1316
1167
  {
1168
+ "type": "function",
1169
+ "name": "hasRole",
1317
1170
  "inputs": [
1318
1171
  {
1319
- "internalType": "bytes32",
1320
1172
  "name": "roleHash",
1321
- "type": "bytes32"
1173
+ "type": "bytes32",
1174
+ "internalType": "bytes32"
1322
1175
  },
1323
1176
  {
1324
- "internalType": "address",
1325
1177
  "name": "wallet",
1326
- "type": "address"
1178
+ "type": "address",
1179
+ "internalType": "address"
1327
1180
  }
1328
1181
  ],
1329
- "name": "hasRole",
1330
- "outputs": [
1331
- {
1332
- "internalType": "bool",
1333
- "name": "",
1334
- "type": "bool"
1335
- }
1336
- ],
1337
- "stateMutability": "view",
1338
- "type": "function"
1339
- },
1340
- {
1341
- "inputs": [],
1342
- "name": "initialized",
1343
1182
  "outputs": [
1344
1183
  {
1345
- "internalType": "bool",
1346
1184
  "name": "",
1347
- "type": "bool"
1185
+ "type": "bool",
1186
+ "internalType": "bool"
1348
1187
  }
1349
1188
  ],
1350
- "stateMutability": "view",
1351
- "type": "function"
1352
- },
1353
- {
1354
- "inputs": [
1355
- {
1356
- "internalType": "bytes4",
1357
- "name": "functionSelector",
1358
- "type": "bytes4"
1359
- },
1360
- {
1361
- "internalType": "enum EngineBlox.TxAction",
1362
- "name": "action",
1363
- "type": "uint8"
1364
- }
1365
- ],
1366
- "name": "isActionSupportedByFunction",
1367
- "outputs": [
1368
- {
1369
- "internalType": "bool",
1370
- "name": "",
1371
- "type": "bool"
1372
- }
1373
- ],
1374
- "stateMutability": "view",
1375
- "type": "function"
1376
- },
1377
- {
1378
- "inputs": [],
1379
- "name": "owner",
1380
- "outputs": [
1381
- {
1382
- "internalType": "address",
1383
- "name": "",
1384
- "type": "address"
1385
- }
1386
- ],
1387
- "stateMutability": "view",
1388
- "type": "function"
1189
+ "stateMutability": "view"
1389
1190
  },
1390
1191
  {
1192
+ "type": "function",
1193
+ "name": "initialize",
1391
1194
  "inputs": [
1392
1195
  {
1393
- "internalType": "address",
1394
1196
  "name": "initialOwner",
1395
- "type": "address"
1197
+ "type": "address",
1198
+ "internalType": "address"
1396
1199
  },
1397
1200
  {
1398
- "internalType": "address",
1399
1201
  "name": "broadcaster",
1400
- "type": "address"
1202
+ "type": "address",
1203
+ "internalType": "address"
1401
1204
  },
1402
1205
  {
1403
- "internalType": "address",
1404
1206
  "name": "recovery",
1405
- "type": "address"
1207
+ "type": "address",
1208
+ "internalType": "address"
1406
1209
  },
1407
1210
  {
1408
- "internalType": "uint256",
1409
1211
  "name": "timeLockPeriodSec",
1410
- "type": "uint256"
1212
+ "type": "uint256",
1213
+ "internalType": "uint256"
1411
1214
  },
1412
1215
  {
1413
- "internalType": "address",
1414
1216
  "name": "eventForwarder",
1415
- "type": "address"
1217
+ "type": "address",
1218
+ "internalType": "address"
1416
1219
  }
1417
1220
  ],
1418
- "name": "initialize",
1419
1221
  "outputs": [],
1420
- "stateMutability": "nonpayable",
1421
- "type": "function"
1222
+ "stateMutability": "nonpayable"
1422
1223
  },
1423
1224
  {
1424
- "inputs": [
1225
+ "type": "function",
1226
+ "name": "initialized",
1227
+ "inputs": [],
1228
+ "outputs": [
1425
1229
  {
1426
- "internalType": "bytes4",
1427
- "name": "interfaceId",
1428
- "type": "bytes4"
1230
+ "name": "",
1231
+ "type": "bool",
1232
+ "internalType": "bool"
1429
1233
  }
1430
1234
  ],
1431
- "name": "supportsInterface",
1235
+ "stateMutability": "view"
1236
+ },
1237
+ {
1238
+ "type": "function",
1239
+ "name": "owner",
1240
+ "inputs": [],
1432
1241
  "outputs": [
1433
1242
  {
1434
- "internalType": "bool",
1435
1243
  "name": "",
1436
- "type": "bool"
1244
+ "type": "address",
1245
+ "internalType": "address"
1437
1246
  }
1438
1247
  ],
1439
- "stateMutability": "view",
1440
- "type": "function"
1248
+ "stateMutability": "view"
1441
1249
  },
1442
1250
  {
1251
+ "type": "function",
1252
+ "name": "roleConfigBatchRequestAndApprove",
1443
1253
  "inputs": [
1444
1254
  {
1255
+ "name": "metaTx",
1256
+ "type": "tuple",
1257
+ "internalType": "struct EngineBlox.MetaTransaction",
1445
1258
  "components": [
1446
1259
  {
1260
+ "name": "txRecord",
1261
+ "type": "tuple",
1262
+ "internalType": "struct EngineBlox.TxRecord",
1447
1263
  "components": [
1448
1264
  {
1449
- "internalType": "uint256",
1450
1265
  "name": "txId",
1451
- "type": "uint256"
1266
+ "type": "uint256",
1267
+ "internalType": "uint256"
1452
1268
  },
1453
1269
  {
1454
- "internalType": "uint256",
1455
1270
  "name": "releaseTime",
1456
- "type": "uint256"
1271
+ "type": "uint256",
1272
+ "internalType": "uint256"
1457
1273
  },
1458
1274
  {
1459
- "internalType": "enum EngineBlox.TxStatus",
1460
1275
  "name": "status",
1461
- "type": "uint8"
1276
+ "type": "uint8",
1277
+ "internalType": "enum EngineBlox.TxStatus"
1462
1278
  },
1463
1279
  {
1280
+ "name": "params",
1281
+ "type": "tuple",
1282
+ "internalType": "struct EngineBlox.TxParams",
1464
1283
  "components": [
1465
1284
  {
1466
- "internalType": "address",
1467
1285
  "name": "requester",
1468
- "type": "address"
1286
+ "type": "address",
1287
+ "internalType": "address"
1469
1288
  },
1470
1289
  {
1471
- "internalType": "address",
1472
1290
  "name": "target",
1473
- "type": "address"
1291
+ "type": "address",
1292
+ "internalType": "address"
1474
1293
  },
1475
1294
  {
1476
- "internalType": "uint256",
1477
1295
  "name": "value",
1478
- "type": "uint256"
1296
+ "type": "uint256",
1297
+ "internalType": "uint256"
1479
1298
  },
1480
1299
  {
1481
- "internalType": "uint256",
1482
1300
  "name": "gasLimit",
1483
- "type": "uint256"
1301
+ "type": "uint256",
1302
+ "internalType": "uint256"
1484
1303
  },
1485
1304
  {
1486
- "internalType": "bytes32",
1487
1305
  "name": "operationType",
1488
- "type": "bytes32"
1306
+ "type": "bytes32",
1307
+ "internalType": "bytes32"
1489
1308
  },
1490
1309
  {
1491
- "internalType": "bytes4",
1492
1310
  "name": "executionSelector",
1493
- "type": "bytes4"
1311
+ "type": "bytes4",
1312
+ "internalType": "bytes4"
1494
1313
  },
1495
1314
  {
1496
- "internalType": "bytes",
1497
1315
  "name": "executionParams",
1498
- "type": "bytes"
1316
+ "type": "bytes",
1317
+ "internalType": "bytes"
1499
1318
  }
1500
- ],
1501
- "internalType": "struct EngineBlox.TxParams",
1502
- "name": "params",
1503
- "type": "tuple"
1319
+ ]
1504
1320
  },
1505
1321
  {
1506
- "internalType": "bytes32",
1507
1322
  "name": "message",
1508
- "type": "bytes32"
1323
+ "type": "bytes32",
1324
+ "internalType": "bytes32"
1509
1325
  },
1510
1326
  {
1511
- "internalType": "bytes",
1512
- "name": "result",
1513
- "type": "bytes"
1327
+ "name": "resultHash",
1328
+ "type": "bytes32",
1329
+ "internalType": "bytes32"
1514
1330
  },
1515
1331
  {
1332
+ "name": "payment",
1333
+ "type": "tuple",
1334
+ "internalType": "struct EngineBlox.PaymentDetails",
1516
1335
  "components": [
1517
1336
  {
1518
- "internalType": "address",
1519
1337
  "name": "recipient",
1520
- "type": "address"
1338
+ "type": "address",
1339
+ "internalType": "address"
1521
1340
  },
1522
1341
  {
1523
- "internalType": "uint256",
1524
1342
  "name": "nativeTokenAmount",
1525
- "type": "uint256"
1343
+ "type": "uint256",
1344
+ "internalType": "uint256"
1526
1345
  },
1527
1346
  {
1528
- "internalType": "address",
1529
1347
  "name": "erc20TokenAddress",
1530
- "type": "address"
1348
+ "type": "address",
1349
+ "internalType": "address"
1531
1350
  },
1532
1351
  {
1533
- "internalType": "uint256",
1534
1352
  "name": "erc20TokenAmount",
1535
- "type": "uint256"
1353
+ "type": "uint256",
1354
+ "internalType": "uint256"
1536
1355
  }
1537
- ],
1538
- "internalType": "struct EngineBlox.PaymentDetails",
1539
- "name": "payment",
1540
- "type": "tuple"
1356
+ ]
1541
1357
  }
1542
- ],
1543
- "internalType": "struct EngineBlox.TxRecord",
1544
- "name": "txRecord",
1545
- "type": "tuple"
1358
+ ]
1546
1359
  },
1547
1360
  {
1361
+ "name": "params",
1362
+ "type": "tuple",
1363
+ "internalType": "struct EngineBlox.MetaTxParams",
1548
1364
  "components": [
1549
1365
  {
1550
- "internalType": "uint256",
1551
1366
  "name": "chainId",
1552
- "type": "uint256"
1367
+ "type": "uint256",
1368
+ "internalType": "uint256"
1553
1369
  },
1554
1370
  {
1555
- "internalType": "uint256",
1556
1371
  "name": "nonce",
1557
- "type": "uint256"
1372
+ "type": "uint256",
1373
+ "internalType": "uint256"
1558
1374
  },
1559
1375
  {
1560
- "internalType": "address",
1561
1376
  "name": "handlerContract",
1562
- "type": "address"
1377
+ "type": "address",
1378
+ "internalType": "address"
1563
1379
  },
1564
1380
  {
1565
- "internalType": "bytes4",
1566
1381
  "name": "handlerSelector",
1567
- "type": "bytes4"
1382
+ "type": "bytes4",
1383
+ "internalType": "bytes4"
1568
1384
  },
1569
1385
  {
1570
- "internalType": "enum EngineBlox.TxAction",
1571
1386
  "name": "action",
1572
- "type": "uint8"
1387
+ "type": "uint8",
1388
+ "internalType": "enum EngineBlox.TxAction"
1573
1389
  },
1574
1390
  {
1575
- "internalType": "uint256",
1576
1391
  "name": "deadline",
1577
- "type": "uint256"
1392
+ "type": "uint256",
1393
+ "internalType": "uint256"
1578
1394
  },
1579
1395
  {
1580
- "internalType": "uint256",
1581
1396
  "name": "maxGasPrice",
1582
- "type": "uint256"
1397
+ "type": "uint256",
1398
+ "internalType": "uint256"
1583
1399
  },
1584
1400
  {
1585
- "internalType": "address",
1586
1401
  "name": "signer",
1587
- "type": "address"
1402
+ "type": "address",
1403
+ "internalType": "address"
1588
1404
  }
1589
- ],
1590
- "internalType": "struct EngineBlox.MetaTxParams",
1591
- "name": "params",
1592
- "type": "tuple"
1405
+ ]
1593
1406
  },
1594
1407
  {
1595
- "internalType": "bytes32",
1596
1408
  "name": "message",
1597
- "type": "bytes32"
1409
+ "type": "bytes32",
1410
+ "internalType": "bytes32"
1598
1411
  },
1599
1412
  {
1600
- "internalType": "bytes",
1601
1413
  "name": "signature",
1602
- "type": "bytes"
1414
+ "type": "bytes",
1415
+ "internalType": "bytes"
1603
1416
  },
1604
1417
  {
1605
- "internalType": "bytes",
1606
1418
  "name": "data",
1607
- "type": "bytes"
1419
+ "type": "bytes",
1420
+ "internalType": "bytes"
1608
1421
  }
1609
- ],
1610
- "internalType": "struct EngineBlox.MetaTransaction",
1611
- "name": "metaTx",
1612
- "type": "tuple"
1422
+ ]
1613
1423
  }
1614
1424
  ],
1615
- "name": "roleConfigBatchRequestAndApprove",
1616
1425
  "outputs": [
1617
1426
  {
1618
- "internalType": "uint256",
1619
1427
  "name": "",
1620
- "type": "uint256"
1428
+ "type": "uint256",
1429
+ "internalType": "uint256"
1621
1430
  }
1622
1431
  ],
1623
- "stateMutability": "nonpayable",
1624
- "type": "function"
1432
+ "stateMutability": "nonpayable"
1625
1433
  },
1626
1434
  {
1435
+ "type": "function",
1436
+ "name": "supportsInterface",
1627
1437
  "inputs": [
1628
1438
  {
1629
- "components": [
1630
- {
1631
- "internalType": "enum IRuntimeRBAC.RoleConfigActionType",
1632
- "name": "actionType",
1633
- "type": "uint8"
1634
- },
1635
- {
1636
- "internalType": "bytes",
1637
- "name": "data",
1638
- "type": "bytes"
1639
- }
1640
- ],
1641
- "internalType": "struct IRuntimeRBAC.RoleConfigAction[]",
1642
- "name": "actions",
1643
- "type": "tuple[]"
1439
+ "name": "interfaceId",
1440
+ "type": "bytes4",
1441
+ "internalType": "bytes4"
1644
1442
  }
1645
1443
  ],
1646
- "name": "executeRoleConfigBatch",
1647
- "outputs": [],
1648
- "stateMutability": "nonpayable",
1649
- "type": "function"
1444
+ "outputs": [
1445
+ {
1446
+ "name": "",
1447
+ "type": "bool",
1448
+ "internalType": "bool"
1449
+ }
1450
+ ],
1451
+ "stateMutability": "view"
1452
+ },
1453
+ {
1454
+ "type": "event",
1455
+ "name": "ComponentEvent",
1456
+ "inputs": [
1457
+ {
1458
+ "name": "functionSelector",
1459
+ "type": "bytes4",
1460
+ "indexed": true,
1461
+ "internalType": "bytes4"
1462
+ },
1463
+ {
1464
+ "name": "data",
1465
+ "type": "bytes",
1466
+ "indexed": false,
1467
+ "internalType": "bytes"
1468
+ }
1469
+ ],
1470
+ "anonymous": false
1471
+ },
1472
+ {
1473
+ "type": "event",
1474
+ "name": "Initialized",
1475
+ "inputs": [
1476
+ {
1477
+ "name": "version",
1478
+ "type": "uint64",
1479
+ "indexed": false,
1480
+ "internalType": "uint64"
1481
+ }
1482
+ ],
1483
+ "anonymous": false
1484
+ },
1485
+ {
1486
+ "type": "error",
1487
+ "name": "ArrayLengthMismatch",
1488
+ "inputs": [
1489
+ {
1490
+ "name": "array1Length",
1491
+ "type": "uint256",
1492
+ "internalType": "uint256"
1493
+ },
1494
+ {
1495
+ "name": "array2Length",
1496
+ "type": "uint256",
1497
+ "internalType": "uint256"
1498
+ }
1499
+ ]
1500
+ },
1501
+ {
1502
+ "type": "error",
1503
+ "name": "BatchSizeExceeded",
1504
+ "inputs": [
1505
+ {
1506
+ "name": "currentSize",
1507
+ "type": "uint256",
1508
+ "internalType": "uint256"
1509
+ },
1510
+ {
1511
+ "name": "maxSize",
1512
+ "type": "uint256",
1513
+ "internalType": "uint256"
1514
+ }
1515
+ ]
1516
+ },
1517
+ {
1518
+ "type": "error",
1519
+ "name": "CannotModifyProtected",
1520
+ "inputs": [
1521
+ {
1522
+ "name": "resourceId",
1523
+ "type": "bytes32",
1524
+ "internalType": "bytes32"
1525
+ }
1526
+ ]
1527
+ },
1528
+ {
1529
+ "type": "error",
1530
+ "name": "ContractFunctionMustBeProtected",
1531
+ "inputs": [
1532
+ {
1533
+ "name": "functionSelector",
1534
+ "type": "bytes4",
1535
+ "internalType": "bytes4"
1536
+ }
1537
+ ]
1538
+ },
1539
+ {
1540
+ "type": "error",
1541
+ "name": "InvalidInitialization",
1542
+ "inputs": []
1543
+ },
1544
+ {
1545
+ "type": "error",
1546
+ "name": "InvalidPayment",
1547
+ "inputs": []
1548
+ },
1549
+ {
1550
+ "type": "error",
1551
+ "name": "MetaTxHandlerContractMismatch",
1552
+ "inputs": [
1553
+ {
1554
+ "name": "signedContract",
1555
+ "type": "address",
1556
+ "internalType": "address"
1557
+ },
1558
+ {
1559
+ "name": "entryContract",
1560
+ "type": "address",
1561
+ "internalType": "address"
1562
+ }
1563
+ ]
1564
+ },
1565
+ {
1566
+ "type": "error",
1567
+ "name": "MetaTxHandlerSelectorMismatch",
1568
+ "inputs": [
1569
+ {
1570
+ "name": "signedSelector",
1571
+ "type": "bytes4",
1572
+ "internalType": "bytes4"
1573
+ },
1574
+ {
1575
+ "name": "entrySelector",
1576
+ "type": "bytes4",
1577
+ "internalType": "bytes4"
1578
+ }
1579
+ ]
1580
+ },
1581
+ {
1582
+ "type": "error",
1583
+ "name": "NoPermission",
1584
+ "inputs": [
1585
+ {
1586
+ "name": "caller",
1587
+ "type": "address",
1588
+ "internalType": "address"
1589
+ }
1590
+ ]
1591
+ },
1592
+ {
1593
+ "type": "error",
1594
+ "name": "NotInitializing",
1595
+ "inputs": []
1596
+ },
1597
+ {
1598
+ "type": "error",
1599
+ "name": "NotSupported",
1600
+ "inputs": []
1601
+ },
1602
+ {
1603
+ "type": "error",
1604
+ "name": "OnlyCallableByContract",
1605
+ "inputs": [
1606
+ {
1607
+ "name": "caller",
1608
+ "type": "address",
1609
+ "internalType": "address"
1610
+ },
1611
+ {
1612
+ "name": "contractAddress",
1613
+ "type": "address",
1614
+ "internalType": "address"
1615
+ }
1616
+ ]
1617
+ },
1618
+ {
1619
+ "type": "error",
1620
+ "name": "RangeSizeExceeded",
1621
+ "inputs": [
1622
+ {
1623
+ "name": "rangeSize",
1624
+ "type": "uint256",
1625
+ "internalType": "uint256"
1626
+ },
1627
+ {
1628
+ "name": "maxRangeSize",
1629
+ "type": "uint256",
1630
+ "internalType": "uint256"
1631
+ }
1632
+ ]
1633
+ },
1634
+ {
1635
+ "type": "error",
1636
+ "name": "ReentrancyGuardReentrantCall",
1637
+ "inputs": []
1638
+ },
1639
+ {
1640
+ "type": "error",
1641
+ "name": "ResourceNotFound",
1642
+ "inputs": [
1643
+ {
1644
+ "name": "resourceId",
1645
+ "type": "bytes32",
1646
+ "internalType": "bytes32"
1647
+ }
1648
+ ]
1650
1649
  }
1651
1650
  ]