@bloxchain/sdk 1.0.0-alpha.2 → 1.0.0-alpha.21

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