@bloxchain/sdk 1.0.0-alpha → 1.0.0-alpha.10

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