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

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 (129) hide show
  1. package/README.md +376 -376
  2. package/abi/AccountBlox.abi.json +609 -2479
  3. package/abi/BareBlox.abi.json +94 -0
  4. package/abi/BaseStateMachine.abi.json +85 -45
  5. package/abi/CopyBlox.abi.json +1593 -0
  6. package/abi/EngineBlox.abi.json +73 -90
  7. package/abi/GuardController.abi.json +252 -806
  8. package/abi/GuardControllerDefinitions.abi.json +411 -0
  9. package/abi/IDefinition.abi.json +5 -0
  10. package/abi/RoleBlox.abi.json +375 -1590
  11. package/abi/RuntimeRBAC.abi.json +155 -218
  12. package/abi/RuntimeRBACDefinitions.abi.json +179 -0
  13. package/abi/SecureBlox.abi.json +436 -1511
  14. package/abi/SecureOwnable.abi.json +524 -1621
  15. package/abi/SecureOwnableDefinitions.abi.json +5 -0
  16. package/abi/SimpleRWA20.abi.json +478 -1756
  17. package/abi/SimpleRWA20Definitions.abi.json +5 -0
  18. package/abi/SimpleVault.abi.json +648 -2214
  19. package/abi/SimpleVaultDefinitions.abi.json +5 -0
  20. package/dist/abi/AccountBlox.abi.json +3929 -0
  21. package/dist/abi/BareBlox.abi.json +1378 -0
  22. package/dist/abi/BaseStateMachine.abi.json +1213 -1173
  23. package/dist/abi/CopyBlox.abi.json +1593 -0
  24. package/dist/abi/EngineBlox.abi.json +855 -0
  25. package/dist/abi/GuardController.abi.json +2222 -2776
  26. package/dist/abi/GuardControllerDefinitions.abi.json +411 -0
  27. package/dist/abi/IDefinition.abi.json +113 -108
  28. package/dist/abi/RoleBlox.abi.json +2994 -0
  29. package/dist/abi/RuntimeRBAC.abi.json +1540 -1603
  30. package/dist/abi/RuntimeRBACDefinitions.abi.json +381 -0
  31. package/dist/abi/SecureBlox.abi.json +2753 -0
  32. package/dist/abi/SecureOwnable.abi.json +2585 -3682
  33. package/dist/abi/SecureOwnableDefinitions.abi.json +416 -0
  34. package/dist/abi/SimpleRWA20.abi.json +4010 -0
  35. package/dist/abi/SimpleRWA20Definitions.abi.json +196 -0
  36. package/dist/abi/SimpleVault.abi.json +3385 -0
  37. package/dist/abi/SimpleVaultDefinitions.abi.json +274 -0
  38. package/dist/abi.d.ts +11 -0
  39. package/dist/abi.d.ts.map +1 -0
  40. package/dist/abi.js +10 -0
  41. package/dist/abi.js.map +1 -0
  42. package/dist/contracts/{BaseStateMachine.d.ts → core/BaseStateMachine.d.ts} +20 -6
  43. package/dist/contracts/core/BaseStateMachine.d.ts.map +1 -0
  44. package/dist/contracts/{BaseStateMachine.js → core/BaseStateMachine.js} +88 -38
  45. package/dist/contracts/core/BaseStateMachine.js.map +1 -0
  46. package/dist/contracts/{GuardController.d.ts → core/GuardController.d.ts} +22 -15
  47. package/dist/contracts/core/GuardController.d.ts.map +1 -0
  48. package/dist/contracts/{GuardController.js → core/GuardController.js} +19 -21
  49. package/dist/contracts/core/GuardController.js.map +1 -0
  50. package/dist/contracts/core/RuntimeRBAC.d.ts +27 -0
  51. package/dist/contracts/core/RuntimeRBAC.d.ts.map +1 -0
  52. package/dist/contracts/core/RuntimeRBAC.js +33 -0
  53. package/dist/contracts/core/RuntimeRBAC.js.map +1 -0
  54. package/dist/contracts/{SecureOwnable.d.ts → core/SecureOwnable.d.ts} +5 -15
  55. package/dist/contracts/core/SecureOwnable.d.ts.map +1 -0
  56. package/dist/contracts/{SecureOwnable.js → core/SecureOwnable.js} +4 -23
  57. package/dist/contracts/core/SecureOwnable.js.map +1 -0
  58. package/dist/index.d.ts +8 -7
  59. package/dist/index.d.ts.map +1 -1
  60. package/dist/index.js +6 -6
  61. package/dist/index.js.map +1 -1
  62. package/dist/interfaces/base.index.d.ts +10 -2
  63. package/dist/interfaces/base.index.d.ts.map +1 -1
  64. package/dist/interfaces/base.state.machine.index.d.ts +3 -2
  65. package/dist/interfaces/base.state.machine.index.d.ts.map +1 -1
  66. package/dist/interfaces/core.access.index.d.ts +2 -16
  67. package/dist/interfaces/core.access.index.d.ts.map +1 -1
  68. package/dist/interfaces/core.execution.index.d.ts +8 -11
  69. package/dist/interfaces/core.execution.index.d.ts.map +1 -1
  70. package/dist/interfaces/core.security.index.d.ts +1 -4
  71. package/dist/interfaces/core.security.index.d.ts.map +1 -1
  72. package/dist/lib/Definition.d.ts.map +1 -1
  73. package/dist/lib/Definition.js +1 -0
  74. package/dist/lib/Definition.js.map +1 -1
  75. package/dist/lib/EngineBlox.d.ts +16 -49
  76. package/dist/lib/EngineBlox.d.ts.map +1 -1
  77. package/dist/lib/EngineBlox.js +20 -108
  78. package/dist/lib/EngineBlox.js.map +1 -1
  79. package/dist/lib/definitions/GuardControllerDefinitions.d.ts +34 -7
  80. package/dist/lib/definitions/GuardControllerDefinitions.d.ts.map +1 -1
  81. package/dist/lib/definitions/GuardControllerDefinitions.js +62 -10
  82. package/dist/lib/definitions/GuardControllerDefinitions.js.map +1 -1
  83. package/dist/lib/definitions/RuntimeRBACDefinitions.d.ts +48 -7
  84. package/dist/lib/definitions/RuntimeRBACDefinitions.d.ts.map +1 -1
  85. package/dist/lib/definitions/RuntimeRBACDefinitions.js +73 -10
  86. package/dist/lib/definitions/RuntimeRBACDefinitions.js.map +1 -1
  87. package/dist/lib/definitions/SecureOwnableDefinitions.d.ts +12 -7
  88. package/dist/lib/definitions/SecureOwnableDefinitions.d.ts.map +1 -1
  89. package/dist/lib/definitions/SecureOwnableDefinitions.js +25 -9
  90. package/dist/lib/definitions/SecureOwnableDefinitions.js.map +1 -1
  91. package/dist/lib/definitions/index.d.ts +6 -4
  92. package/dist/lib/definitions/index.d.ts.map +1 -1
  93. package/dist/lib/definitions/index.js +5 -4
  94. package/dist/lib/definitions/index.js.map +1 -1
  95. package/dist/types/base.state.machine.index.d.ts +0 -2
  96. package/dist/types/base.state.machine.index.d.ts.map +1 -1
  97. package/dist/types/base.state.machine.index.js +1 -3
  98. package/dist/types/base.state.machine.index.js.map +1 -1
  99. package/dist/types/core.execution.index.d.ts +1 -0
  100. package/dist/types/core.execution.index.d.ts.map +1 -1
  101. package/dist/types/core.execution.index.js +1 -0
  102. package/dist/types/core.execution.index.js.map +1 -1
  103. package/dist/types/core.security.index.d.ts.map +1 -1
  104. package/dist/types/core.security.index.js +2 -2
  105. package/dist/types/core.security.index.js.map +1 -1
  106. package/dist/types/definition.index.d.ts +2 -0
  107. package/dist/types/definition.index.d.ts.map +1 -1
  108. package/dist/types/definition.index.js.map +1 -1
  109. package/dist/utils/contract-errors.d.ts +125 -6
  110. package/dist/utils/contract-errors.d.ts.map +1 -1
  111. package/dist/utils/contract-errors.js +375 -107
  112. package/dist/utils/contract-errors.js.map +1 -1
  113. package/dist/utils/interface-ids.js +8 -8
  114. package/dist/utils/interface-ids.js.map +1 -1
  115. package/dist/utils/metaTx/metaTransaction.d.ts +103 -7
  116. package/dist/utils/metaTx/metaTransaction.d.ts.map +1 -1
  117. package/dist/utils/metaTx/metaTransaction.js +136 -25
  118. package/dist/utils/metaTx/metaTransaction.js.map +1 -1
  119. package/package.json +10 -6
  120. package/dist/contracts/BaseStateMachine.d.ts.map +0 -1
  121. package/dist/contracts/BaseStateMachine.js.map +0 -1
  122. package/dist/contracts/GuardController.d.ts.map +0 -1
  123. package/dist/contracts/GuardController.js.map +0 -1
  124. package/dist/contracts/RuntimeRBAC.d.ts +0 -54
  125. package/dist/contracts/RuntimeRBAC.d.ts.map +0 -1
  126. package/dist/contracts/RuntimeRBAC.js +0 -58
  127. package/dist/contracts/RuntimeRBAC.js.map +0 -1
  128. package/dist/contracts/SecureOwnable.d.ts.map +0 -1
  129. package/dist/contracts/SecureOwnable.js.map +0 -1
@@ -0,0 +1,855 @@
1
+ [
2
+ {
3
+ "inputs": [],
4
+ "name": "AlreadyInitialized",
5
+ "type": "error"
6
+ },
7
+ {
8
+ "inputs": [
9
+ {
10
+ "internalType": "uint256",
11
+ "name": "releaseTime",
12
+ "type": "uint256"
13
+ },
14
+ {
15
+ "internalType": "uint256",
16
+ "name": "currentTime",
17
+ "type": "uint256"
18
+ }
19
+ ],
20
+ "name": "BeforeReleaseTime",
21
+ "type": "error"
22
+ },
23
+ {
24
+ "inputs": [
25
+ {
26
+ "internalType": "bytes32",
27
+ "name": "resourceId",
28
+ "type": "bytes32"
29
+ }
30
+ ],
31
+ "name": "CannotModifyProtected",
32
+ "type": "error"
33
+ },
34
+ {
35
+ "inputs": [
36
+ {
37
+ "internalType": "uint256",
38
+ "name": "providedChainId",
39
+ "type": "uint256"
40
+ },
41
+ {
42
+ "internalType": "uint256",
43
+ "name": "expectedChainId",
44
+ "type": "uint256"
45
+ }
46
+ ],
47
+ "name": "ChainIdMismatch",
48
+ "type": "error"
49
+ },
50
+ {
51
+ "inputs": [
52
+ {
53
+ "internalType": "bytes4",
54
+ "name": "functionSelector",
55
+ "type": "bytes4"
56
+ }
57
+ ],
58
+ "name": "ConflictingMetaTxPermissions",
59
+ "type": "error"
60
+ },
61
+ {
62
+ "inputs": [
63
+ {
64
+ "internalType": "uint256",
65
+ "name": "deadline",
66
+ "type": "uint256"
67
+ },
68
+ {
69
+ "internalType": "uint256",
70
+ "name": "currentTime",
71
+ "type": "uint256"
72
+ }
73
+ ],
74
+ "name": "DeadlineInPast",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [
79
+ {
80
+ "internalType": "address",
81
+ "name": "recoveredSigner",
82
+ "type": "address"
83
+ }
84
+ ],
85
+ "name": "ECDSAInvalidSignature",
86
+ "type": "error"
87
+ },
88
+ {
89
+ "inputs": [
90
+ {
91
+ "internalType": "bytes4",
92
+ "name": "providedSelector",
93
+ "type": "bytes4"
94
+ },
95
+ {
96
+ "internalType": "bytes4",
97
+ "name": "derivedSelector",
98
+ "type": "bytes4"
99
+ }
100
+ ],
101
+ "name": "FunctionSelectorMismatch",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [
106
+ {
107
+ "internalType": "uint256",
108
+ "name": "currentGasPrice",
109
+ "type": "uint256"
110
+ },
111
+ {
112
+ "internalType": "uint256",
113
+ "name": "maxGasPrice",
114
+ "type": "uint256"
115
+ }
116
+ ],
117
+ "name": "GasPriceExceedsMax",
118
+ "type": "error"
119
+ },
120
+ {
121
+ "inputs": [
122
+ {
123
+ "internalType": "bytes4",
124
+ "name": "schemaHandlerForSelector",
125
+ "type": "bytes4"
126
+ },
127
+ {
128
+ "internalType": "bytes4",
129
+ "name": "permissionHandlerForSelector",
130
+ "type": "bytes4"
131
+ }
132
+ ],
133
+ "name": "HandlerForSelectorMismatch",
134
+ "type": "error"
135
+ },
136
+ {
137
+ "inputs": [
138
+ {
139
+ "internalType": "uint256",
140
+ "name": "index",
141
+ "type": "uint256"
142
+ },
143
+ {
144
+ "internalType": "uint256",
145
+ "name": "arrayLength",
146
+ "type": "uint256"
147
+ }
148
+ ],
149
+ "name": "IndexOutOfBounds",
150
+ "type": "error"
151
+ },
152
+ {
153
+ "inputs": [
154
+ {
155
+ "internalType": "uint256",
156
+ "name": "currentBalance",
157
+ "type": "uint256"
158
+ },
159
+ {
160
+ "internalType": "uint256",
161
+ "name": "requiredAmount",
162
+ "type": "uint256"
163
+ }
164
+ ],
165
+ "name": "InsufficientBalance",
166
+ "type": "error"
167
+ },
168
+ {
169
+ "inputs": [
170
+ {
171
+ "internalType": "address",
172
+ "name": "provided",
173
+ "type": "address"
174
+ }
175
+ ],
176
+ "name": "InvalidAddress",
177
+ "type": "error"
178
+ },
179
+ {
180
+ "inputs": [
181
+ {
182
+ "internalType": "bytes4",
183
+ "name": "selector",
184
+ "type": "bytes4"
185
+ }
186
+ ],
187
+ "name": "InvalidHandlerSelector",
188
+ "type": "error"
189
+ },
190
+ {
191
+ "inputs": [
192
+ {
193
+ "internalType": "uint256",
194
+ "name": "providedNonce",
195
+ "type": "uint256"
196
+ },
197
+ {
198
+ "internalType": "uint256",
199
+ "name": "expectedNonce",
200
+ "type": "uint256"
201
+ }
202
+ ],
203
+ "name": "InvalidNonce",
204
+ "type": "error"
205
+ },
206
+ {
207
+ "inputs": [
208
+ {
209
+ "internalType": "bytes32",
210
+ "name": "s",
211
+ "type": "bytes32"
212
+ }
213
+ ],
214
+ "name": "InvalidSValue",
215
+ "type": "error"
216
+ },
217
+ {
218
+ "inputs": [
219
+ {
220
+ "internalType": "bytes",
221
+ "name": "signature",
222
+ "type": "bytes"
223
+ }
224
+ ],
225
+ "name": "InvalidSignature",
226
+ "type": "error"
227
+ },
228
+ {
229
+ "inputs": [
230
+ {
231
+ "internalType": "uint256",
232
+ "name": "providedLength",
233
+ "type": "uint256"
234
+ },
235
+ {
236
+ "internalType": "uint256",
237
+ "name": "expectedLength",
238
+ "type": "uint256"
239
+ }
240
+ ],
241
+ "name": "InvalidSignatureLength",
242
+ "type": "error"
243
+ },
244
+ {
245
+ "inputs": [
246
+ {
247
+ "internalType": "uint8",
248
+ "name": "v",
249
+ "type": "uint8"
250
+ }
251
+ ],
252
+ "name": "InvalidVValue",
253
+ "type": "error"
254
+ },
255
+ {
256
+ "inputs": [
257
+ {
258
+ "internalType": "address",
259
+ "name": "item",
260
+ "type": "address"
261
+ }
262
+ ],
263
+ "name": "ItemAlreadyExists",
264
+ "type": "error"
265
+ },
266
+ {
267
+ "inputs": [
268
+ {
269
+ "internalType": "address",
270
+ "name": "item",
271
+ "type": "address"
272
+ }
273
+ ],
274
+ "name": "ItemNotFound",
275
+ "type": "error"
276
+ },
277
+ {
278
+ "inputs": [
279
+ {
280
+ "internalType": "uint256",
281
+ "name": "currentCount",
282
+ "type": "uint256"
283
+ },
284
+ {
285
+ "internalType": "uint256",
286
+ "name": "maxFunctions",
287
+ "type": "uint256"
288
+ }
289
+ ],
290
+ "name": "MaxFunctionsExceeded",
291
+ "type": "error"
292
+ },
293
+ {
294
+ "inputs": [
295
+ {
296
+ "internalType": "uint256",
297
+ "name": "currentCount",
298
+ "type": "uint256"
299
+ },
300
+ {
301
+ "internalType": "uint256",
302
+ "name": "maxHooks",
303
+ "type": "uint256"
304
+ }
305
+ ],
306
+ "name": "MaxHooksExceeded",
307
+ "type": "error"
308
+ },
309
+ {
310
+ "inputs": [
311
+ {
312
+ "internalType": "uint256",
313
+ "name": "currentCount",
314
+ "type": "uint256"
315
+ },
316
+ {
317
+ "internalType": "uint256",
318
+ "name": "maxRoles",
319
+ "type": "uint256"
320
+ }
321
+ ],
322
+ "name": "MaxRolesExceeded",
323
+ "type": "error"
324
+ },
325
+ {
326
+ "inputs": [
327
+ {
328
+ "internalType": "uint256",
329
+ "name": "provided",
330
+ "type": "uint256"
331
+ }
332
+ ],
333
+ "name": "MaxWalletsZero",
334
+ "type": "error"
335
+ },
336
+ {
337
+ "inputs": [
338
+ {
339
+ "internalType": "uint256",
340
+ "name": "deadline",
341
+ "type": "uint256"
342
+ },
343
+ {
344
+ "internalType": "uint256",
345
+ "name": "currentTime",
346
+ "type": "uint256"
347
+ }
348
+ ],
349
+ "name": "MetaTxExpired",
350
+ "type": "error"
351
+ },
352
+ {
353
+ "inputs": [
354
+ {
355
+ "internalType": "address",
356
+ "name": "signedContract",
357
+ "type": "address"
358
+ },
359
+ {
360
+ "internalType": "address",
361
+ "name": "entryContract",
362
+ "type": "address"
363
+ }
364
+ ],
365
+ "name": "MetaTxHandlerContractMismatch",
366
+ "type": "error"
367
+ },
368
+ {
369
+ "inputs": [
370
+ {
371
+ "internalType": "uint256",
372
+ "name": "txId",
373
+ "type": "uint256"
374
+ }
375
+ ],
376
+ "name": "MetaTxPaymentMismatchStoredTx",
377
+ "type": "error"
378
+ },
379
+ {
380
+ "inputs": [
381
+ {
382
+ "internalType": "uint256",
383
+ "name": "txId",
384
+ "type": "uint256"
385
+ }
386
+ ],
387
+ "name": "MetaTxRecordMismatchStoredTx",
388
+ "type": "error"
389
+ },
390
+ {
391
+ "inputs": [
392
+ {
393
+ "internalType": "address",
394
+ "name": "caller",
395
+ "type": "address"
396
+ }
397
+ ],
398
+ "name": "NoPermission",
399
+ "type": "error"
400
+ },
401
+ {
402
+ "inputs": [
403
+ {
404
+ "internalType": "address",
405
+ "name": "newAddress",
406
+ "type": "address"
407
+ },
408
+ {
409
+ "internalType": "address",
410
+ "name": "currentAddress",
411
+ "type": "address"
412
+ }
413
+ ],
414
+ "name": "NotNewAddress",
415
+ "type": "error"
416
+ },
417
+ {
418
+ "inputs": [],
419
+ "name": "NotSupported",
420
+ "type": "error"
421
+ },
422
+ {
423
+ "inputs": [],
424
+ "name": "OperationFailed",
425
+ "type": "error"
426
+ },
427
+ {
428
+ "inputs": [
429
+ {
430
+ "internalType": "address",
431
+ "name": "recipient",
432
+ "type": "address"
433
+ },
434
+ {
435
+ "internalType": "uint256",
436
+ "name": "amount",
437
+ "type": "uint256"
438
+ },
439
+ {
440
+ "internalType": "bytes",
441
+ "name": "reason",
442
+ "type": "bytes"
443
+ }
444
+ ],
445
+ "name": "PaymentFailed",
446
+ "type": "error"
447
+ },
448
+ {
449
+ "inputs": [
450
+ {
451
+ "internalType": "bytes32",
452
+ "name": "resourceId",
453
+ "type": "bytes32"
454
+ }
455
+ ],
456
+ "name": "ResourceAlreadyExists",
457
+ "type": "error"
458
+ },
459
+ {
460
+ "inputs": [
461
+ {
462
+ "internalType": "bytes32",
463
+ "name": "resourceId",
464
+ "type": "bytes32"
465
+ }
466
+ ],
467
+ "name": "ResourceNotFound",
468
+ "type": "error"
469
+ },
470
+ {
471
+ "inputs": [
472
+ {
473
+ "internalType": "uint256",
474
+ "name": "currentCount",
475
+ "type": "uint256"
476
+ },
477
+ {
478
+ "internalType": "uint256",
479
+ "name": "maxWallets",
480
+ "type": "uint256"
481
+ }
482
+ ],
483
+ "name": "RoleWalletLimitReached",
484
+ "type": "error"
485
+ },
486
+ {
487
+ "inputs": [
488
+ {
489
+ "internalType": "address",
490
+ "name": "token",
491
+ "type": "address"
492
+ }
493
+ ],
494
+ "name": "SafeERC20FailedOperation",
495
+ "type": "error"
496
+ },
497
+ {
498
+ "inputs": [
499
+ {
500
+ "internalType": "address",
501
+ "name": "signer",
502
+ "type": "address"
503
+ }
504
+ ],
505
+ "name": "SignerNotAuthorized",
506
+ "type": "error"
507
+ },
508
+ {
509
+ "inputs": [
510
+ {
511
+ "internalType": "address",
512
+ "name": "target",
513
+ "type": "address"
514
+ },
515
+ {
516
+ "internalType": "bytes4",
517
+ "name": "functionSelector",
518
+ "type": "bytes4"
519
+ }
520
+ ],
521
+ "name": "TargetNotWhitelisted",
522
+ "type": "error"
523
+ },
524
+ {
525
+ "inputs": [
526
+ {
527
+ "internalType": "uint256",
528
+ "name": "provided",
529
+ "type": "uint256"
530
+ }
531
+ ],
532
+ "name": "TimeLockPeriodZero",
533
+ "type": "error"
534
+ },
535
+ {
536
+ "inputs": [
537
+ {
538
+ "internalType": "uint256",
539
+ "name": "expectedTxId",
540
+ "type": "uint256"
541
+ },
542
+ {
543
+ "internalType": "uint256",
544
+ "name": "providedTxId",
545
+ "type": "uint256"
546
+ }
547
+ ],
548
+ "name": "TransactionIdMismatch",
549
+ "type": "error"
550
+ },
551
+ {
552
+ "inputs": [
553
+ {
554
+ "internalType": "uint8",
555
+ "name": "expectedStatus",
556
+ "type": "uint8"
557
+ },
558
+ {
559
+ "internalType": "uint8",
560
+ "name": "currentStatus",
561
+ "type": "uint8"
562
+ }
563
+ ],
564
+ "name": "TransactionStatusMismatch",
565
+ "type": "error"
566
+ },
567
+ {
568
+ "inputs": [],
569
+ "name": "ZeroOperationTypeNotAllowed",
570
+ "type": "error"
571
+ },
572
+ {
573
+ "anonymous": false,
574
+ "inputs": [
575
+ {
576
+ "indexed": true,
577
+ "internalType": "uint256",
578
+ "name": "txId",
579
+ "type": "uint256"
580
+ },
581
+ {
582
+ "indexed": true,
583
+ "internalType": "bytes4",
584
+ "name": "functionHash",
585
+ "type": "bytes4"
586
+ },
587
+ {
588
+ "indexed": false,
589
+ "internalType": "enum EngineBlox.TxStatus",
590
+ "name": "status",
591
+ "type": "uint8"
592
+ },
593
+ {
594
+ "indexed": true,
595
+ "internalType": "address",
596
+ "name": "requester",
597
+ "type": "address"
598
+ },
599
+ {
600
+ "indexed": false,
601
+ "internalType": "address",
602
+ "name": "target",
603
+ "type": "address"
604
+ },
605
+ {
606
+ "indexed": false,
607
+ "internalType": "bytes32",
608
+ "name": "operationType",
609
+ "type": "bytes32"
610
+ }
611
+ ],
612
+ "name": "TransactionEvent",
613
+ "type": "event"
614
+ },
615
+ {
616
+ "inputs": [],
617
+ "name": "ATTACHED_PAYMENT_RECIPIENT_SELECTOR",
618
+ "outputs": [
619
+ {
620
+ "internalType": "bytes4",
621
+ "name": "",
622
+ "type": "bytes4"
623
+ }
624
+ ],
625
+ "stateMutability": "view",
626
+ "type": "function"
627
+ },
628
+ {
629
+ "inputs": [],
630
+ "name": "ERC20_TRANSFER_SELECTOR",
631
+ "outputs": [
632
+ {
633
+ "internalType": "bytes4",
634
+ "name": "",
635
+ "type": "bytes4"
636
+ }
637
+ ],
638
+ "stateMutability": "view",
639
+ "type": "function"
640
+ },
641
+ {
642
+ "inputs": [],
643
+ "name": "MAX_BATCH_SIZE",
644
+ "outputs": [
645
+ {
646
+ "internalType": "uint256",
647
+ "name": "",
648
+ "type": "uint256"
649
+ }
650
+ ],
651
+ "stateMutability": "view",
652
+ "type": "function"
653
+ },
654
+ {
655
+ "inputs": [],
656
+ "name": "MAX_FUNCTIONS",
657
+ "outputs": [
658
+ {
659
+ "internalType": "uint256",
660
+ "name": "",
661
+ "type": "uint256"
662
+ }
663
+ ],
664
+ "stateMutability": "view",
665
+ "type": "function"
666
+ },
667
+ {
668
+ "inputs": [],
669
+ "name": "MAX_HOOKS_PER_SELECTOR",
670
+ "outputs": [
671
+ {
672
+ "internalType": "uint256",
673
+ "name": "",
674
+ "type": "uint256"
675
+ }
676
+ ],
677
+ "stateMutability": "view",
678
+ "type": "function"
679
+ },
680
+ {
681
+ "inputs": [],
682
+ "name": "MAX_RESULT_PREVIEW_BYTES",
683
+ "outputs": [
684
+ {
685
+ "internalType": "uint256",
686
+ "name": "",
687
+ "type": "uint256"
688
+ }
689
+ ],
690
+ "stateMutability": "view",
691
+ "type": "function"
692
+ },
693
+ {
694
+ "inputs": [],
695
+ "name": "MAX_ROLES",
696
+ "outputs": [
697
+ {
698
+ "internalType": "uint256",
699
+ "name": "",
700
+ "type": "uint256"
701
+ }
702
+ ],
703
+ "stateMutability": "view",
704
+ "type": "function"
705
+ },
706
+ {
707
+ "inputs": [],
708
+ "name": "NATIVE_TRANSFER_SELECTOR",
709
+ "outputs": [
710
+ {
711
+ "internalType": "bytes4",
712
+ "name": "",
713
+ "type": "bytes4"
714
+ }
715
+ ],
716
+ "stateMutability": "view",
717
+ "type": "function"
718
+ },
719
+ {
720
+ "inputs": [],
721
+ "name": "PROTOCOL_NAME_HASH",
722
+ "outputs": [
723
+ {
724
+ "internalType": "bytes32",
725
+ "name": "",
726
+ "type": "bytes32"
727
+ }
728
+ ],
729
+ "stateMutability": "view",
730
+ "type": "function"
731
+ },
732
+ {
733
+ "inputs": [],
734
+ "name": "VERSION",
735
+ "outputs": [
736
+ {
737
+ "internalType": "string",
738
+ "name": "",
739
+ "type": "string"
740
+ }
741
+ ],
742
+ "stateMutability": "view",
743
+ "type": "function"
744
+ },
745
+ {
746
+ "inputs": [
747
+ {
748
+ "internalType": "bytes32",
749
+ "name": "messageHash",
750
+ "type": "bytes32"
751
+ },
752
+ {
753
+ "internalType": "bytes",
754
+ "name": "signature",
755
+ "type": "bytes"
756
+ }
757
+ ],
758
+ "name": "recoverSigner",
759
+ "outputs": [
760
+ {
761
+ "internalType": "address",
762
+ "name": "",
763
+ "type": "address"
764
+ }
765
+ ],
766
+ "stateMutability": "pure",
767
+ "type": "function"
768
+ },
769
+ {
770
+ "inputs": [
771
+ {
772
+ "internalType": "address",
773
+ "name": "handlerContract",
774
+ "type": "address"
775
+ },
776
+ {
777
+ "internalType": "bytes4",
778
+ "name": "handlerSelector",
779
+ "type": "bytes4"
780
+ },
781
+ {
782
+ "internalType": "enum EngineBlox.TxAction",
783
+ "name": "action",
784
+ "type": "EngineBlox.TxAction"
785
+ },
786
+ {
787
+ "internalType": "uint256",
788
+ "name": "deadline",
789
+ "type": "uint256"
790
+ },
791
+ {
792
+ "internalType": "uint256",
793
+ "name": "maxGasPrice",
794
+ "type": "uint256"
795
+ },
796
+ {
797
+ "internalType": "address",
798
+ "name": "signer",
799
+ "type": "address"
800
+ }
801
+ ],
802
+ "name": "createMetaTxParams",
803
+ "outputs": [
804
+ {
805
+ "components": [
806
+ {
807
+ "internalType": "uint256",
808
+ "name": "chainId",
809
+ "type": "uint256"
810
+ },
811
+ {
812
+ "internalType": "uint256",
813
+ "name": "nonce",
814
+ "type": "uint256"
815
+ },
816
+ {
817
+ "internalType": "address",
818
+ "name": "handlerContract",
819
+ "type": "address"
820
+ },
821
+ {
822
+ "internalType": "bytes4",
823
+ "name": "handlerSelector",
824
+ "type": "bytes4"
825
+ },
826
+ {
827
+ "internalType": "enum EngineBlox.TxAction",
828
+ "name": "action",
829
+ "type": "EngineBlox.TxAction"
830
+ },
831
+ {
832
+ "internalType": "uint256",
833
+ "name": "deadline",
834
+ "type": "uint256"
835
+ },
836
+ {
837
+ "internalType": "uint256",
838
+ "name": "maxGasPrice",
839
+ "type": "uint256"
840
+ },
841
+ {
842
+ "internalType": "address",
843
+ "name": "signer",
844
+ "type": "address"
845
+ }
846
+ ],
847
+ "internalType": "struct EngineBlox.MetaTxParams",
848
+ "name": "",
849
+ "type": "tuple"
850
+ }
851
+ ],
852
+ "stateMutability": "view",
853
+ "type": "function"
854
+ }
855
+ ]