@bloxchain/sdk 1.0.0-alpha.6 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +411 -376
  3. package/abi/AccountBlox.abi.json +1895 -1833
  4. package/abi/BaseStateMachine.abi.json +773 -822
  5. package/abi/CopyBlox.abi.json +1609 -0
  6. package/abi/EngineBlox.abi.json +562 -552
  7. package/abi/GuardController.abi.json +1597 -1609
  8. package/abi/GuardControllerDefinitions.abi.json +257 -120
  9. package/abi/IDefinition.abi.json +57 -47
  10. package/abi/RoleBlox.abi.json +2993 -2982
  11. package/abi/RuntimeRBAC.abi.json +841 -842
  12. package/abi/RuntimeRBACDefinitions.abi.json +265 -99
  13. package/abi/SecureBlox.abi.json +2752 -2752
  14. package/abi/SecureOwnable.abi.json +1365 -1349
  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 -1330
  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 +2325 -2337
  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 -1630
  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 +2735 -2719
  29. package/dist/abi/SecureOwnableDefinitions.abi.json +421 -0
  30. package/{abi → dist/abi}/SimpleRWA20.abi.json +52 -74
  31. package/{abi → dist/abi}/SimpleRWA20Definitions.abi.json +5 -0
  32. package/{abi → dist/abi}/SimpleVault.abi.json +54 -76
  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/core/BaseStateMachine.d.ts +7 -8
  39. package/dist/contracts/core/BaseStateMachine.d.ts.map +1 -1
  40. package/dist/contracts/core/BaseStateMachine.js +77 -42
  41. package/dist/contracts/core/BaseStateMachine.js.map +1 -1
  42. package/dist/contracts/core/GuardController.d.ts +21 -14
  43. package/dist/contracts/core/GuardController.d.ts.map +1 -1
  44. package/dist/contracts/core/GuardController.js +18 -20
  45. package/dist/contracts/core/GuardController.js.map +1 -1
  46. package/dist/contracts/core/RuntimeRBAC.d.ts +5 -18
  47. package/dist/contracts/core/RuntimeRBAC.d.ts.map +1 -1
  48. package/dist/contracts/core/RuntimeRBAC.js +4 -21
  49. package/dist/contracts/core/RuntimeRBAC.js.map +1 -1
  50. package/dist/contracts/core/SecureOwnable.d.ts +14 -16
  51. package/dist/contracts/core/SecureOwnable.d.ts.map +1 -1
  52. package/dist/contracts/core/SecureOwnable.js +21 -24
  53. package/dist/contracts/core/SecureOwnable.js.map +1 -1
  54. package/dist/index.d.ts +32 -29
  55. package/dist/index.d.ts.map +1 -1
  56. package/dist/index.js +28 -26
  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 +4 -6
  61. package/dist/interfaces/base.state.machine.index.d.ts.map +1 -1
  62. package/dist/interfaces/core.access.index.d.ts +4 -9
  63. package/dist/interfaces/core.access.index.d.ts.map +1 -1
  64. package/dist/interfaces/core.execution.index.d.ts +9 -12
  65. package/dist/interfaces/core.execution.index.d.ts.map +1 -1
  66. package/dist/interfaces/core.security.index.d.ts +4 -7
  67. package/dist/interfaces/core.security.index.d.ts.map +1 -1
  68. package/dist/interfaces/definition.index.d.ts +1 -1
  69. package/dist/interfaces/definition.index.d.ts.map +1 -1
  70. package/dist/interfaces/lib.index.d.ts +2 -2
  71. package/dist/interfaces/lib.index.d.ts.map +1 -1
  72. package/dist/lib/Definition.d.ts +2 -2
  73. package/dist/lib/Definition.d.ts.map +1 -1
  74. package/dist/lib/Definition.js +9 -2
  75. package/dist/lib/Definition.js.map +1 -1
  76. package/dist/lib/EngineBlox.d.ts +23 -48
  77. package/dist/lib/EngineBlox.d.ts.map +1 -1
  78. package/dist/lib/EngineBlox.js +61 -136
  79. package/dist/lib/EngineBlox.js.map +1 -1
  80. package/dist/lib/definitions/GuardControllerDefinitions.d.ts +30 -13
  81. package/dist/lib/definitions/GuardControllerDefinitions.d.ts.map +1 -1
  82. package/dist/lib/definitions/GuardControllerDefinitions.js +58 -27
  83. package/dist/lib/definitions/GuardControllerDefinitions.js.map +1 -1
  84. package/dist/lib/definitions/RuntimeRBACDefinitions.d.ts +44 -13
  85. package/dist/lib/definitions/RuntimeRBACDefinitions.d.ts.map +1 -1
  86. package/dist/lib/definitions/RuntimeRBACDefinitions.js +68 -32
  87. package/dist/lib/definitions/RuntimeRBACDefinitions.js.map +1 -1
  88. package/dist/lib/definitions/SecureOwnableDefinitions.d.ts +12 -7
  89. package/dist/lib/definitions/SecureOwnableDefinitions.d.ts.map +1 -1
  90. package/dist/lib/definitions/SecureOwnableDefinitions.js +25 -9
  91. package/dist/lib/definitions/SecureOwnableDefinitions.js.map +1 -1
  92. package/dist/lib/definitions/index.d.ts +7 -5
  93. package/dist/lib/definitions/index.d.ts.map +1 -1
  94. package/dist/lib/definitions/index.js +6 -5
  95. package/dist/lib/definitions/index.js.map +1 -1
  96. package/dist/types/base.state.machine.index.d.ts +4 -20
  97. package/dist/types/base.state.machine.index.d.ts.map +1 -1
  98. package/dist/types/base.state.machine.index.js +20 -40
  99. package/dist/types/base.state.machine.index.js.map +1 -1
  100. package/dist/types/core.access.index.d.ts +0 -16
  101. package/dist/types/core.access.index.d.ts.map +1 -1
  102. package/dist/types/core.access.index.js +2 -13
  103. package/dist/types/core.access.index.js.map +1 -1
  104. package/dist/types/core.execution.index.d.ts +9 -10
  105. package/dist/types/core.execution.index.d.ts.map +1 -1
  106. package/dist/types/core.execution.index.js +16 -13
  107. package/dist/types/core.execution.index.js.map +1 -1
  108. package/dist/types/core.security.index.d.ts +4 -6
  109. package/dist/types/core.security.index.d.ts.map +1 -1
  110. package/dist/types/core.security.index.js +23 -27
  111. package/dist/types/core.security.index.js.map +1 -1
  112. package/dist/types/definition.index.d.ts +8 -1
  113. package/dist/types/definition.index.d.ts.map +1 -1
  114. package/dist/types/definition.index.js.map +1 -1
  115. package/dist/types/lib.index.d.ts +7 -28
  116. package/dist/types/lib.index.d.ts.map +1 -1
  117. package/dist/types/lib.index.js +11 -34
  118. package/dist/types/lib.index.js.map +1 -1
  119. package/dist/types/meta-transaction.signatures.d.ts +10 -0
  120. package/dist/types/meta-transaction.signatures.d.ts.map +1 -0
  121. package/dist/types/meta-transaction.signatures.js +12 -0
  122. package/dist/types/meta-transaction.signatures.js.map +1 -0
  123. package/dist/types/meta-tx-signatures.d.ts +9 -0
  124. package/dist/types/meta-tx-signatures.d.ts.map +1 -0
  125. package/dist/types/meta-tx-signatures.js +11 -0
  126. package/dist/types/meta-tx-signatures.js.map +1 -0
  127. package/dist/utils/bitmap.d.ts +1 -1
  128. package/dist/utils/bitmap.d.ts.map +1 -1
  129. package/dist/utils/contract-errors.d.ts +125 -12
  130. package/dist/utils/contract-errors.d.ts.map +1 -1
  131. package/dist/utils/contract-errors.js +367 -104
  132. package/dist/utils/contract-errors.js.map +1 -1
  133. package/dist/utils/erc20/erc20Token.d.ts +1 -1
  134. package/dist/utils/erc20/erc20Token.d.ts.map +1 -1
  135. package/dist/utils/erc20/erc20Token.js +5 -1
  136. package/dist/utils/erc20/erc20Token.js.map +1 -1
  137. package/dist/utils/interface-ids.d.ts +5 -31
  138. package/dist/utils/interface-ids.d.ts.map +1 -1
  139. package/dist/utils/interface-ids.js +27 -88
  140. package/dist/utils/interface-ids.js.map +1 -1
  141. package/dist/utils/metaTx/metaTransaction.d.ts +110 -9
  142. package/dist/utils/metaTx/metaTransaction.d.ts.map +1 -1
  143. package/dist/utils/metaTx/metaTransaction.js +146 -26
  144. package/dist/utils/metaTx/metaTransaction.js.map +1 -1
  145. package/dist/utils/validations.d.ts +1 -1
  146. package/dist/utils/validations.d.ts.map +1 -1
  147. package/dist/utils/validations.js +12 -12
  148. package/dist/utils/validations.js.map +1 -1
  149. package/dist/utils/viem-error-handler.d.ts +1 -1
  150. package/dist/utils/viem-error-handler.d.ts.map +1 -1
  151. package/dist/utils/viem-error-handler.js +1 -1
  152. package/dist/utils/viem-error-handler.js.map +1 -1
  153. package/package.json +77 -71
  154. package/dist/contracts/BaseStateMachine.d.ts +0 -92
  155. package/dist/contracts/BaseStateMachine.d.ts.map +0 -1
  156. package/dist/contracts/BaseStateMachine.js +0 -263
  157. package/dist/contracts/BaseStateMachine.js.map +0 -1
  158. package/dist/contracts/GuardController.d.ts +0 -120
  159. package/dist/contracts/GuardController.d.ts.map +0 -1
  160. package/dist/contracts/GuardController.js +0 -150
  161. package/dist/contracts/GuardController.js.map +0 -1
  162. package/dist/contracts/RuntimeRBAC.d.ts +0 -40
  163. package/dist/contracts/RuntimeRBAC.d.ts.map +0 -1
  164. package/dist/contracts/RuntimeRBAC.js +0 -50
  165. package/dist/contracts/RuntimeRBAC.js.map +0 -1
  166. package/dist/contracts/SecureOwnable.d.ts +0 -41
  167. package/dist/contracts/SecureOwnable.d.ts.map +0 -1
  168. package/dist/contracts/SecureOwnable.js +0 -81
  169. package/dist/contracts/SecureOwnable.js.map +0 -1
@@ -1,279 +1,416 @@
1
1
  [
2
2
  {
3
- "inputs": [],
3
+ "type": "function",
4
4
  "name": "APPROVE_TIMELOCK_EXECUTION_META_SELECTOR",
5
+ "inputs": [],
5
6
  "outputs": [
6
7
  {
7
- "internalType": "bytes4",
8
8
  "name": "",
9
- "type": "bytes4"
9
+ "type": "bytes4",
10
+ "internalType": "bytes4"
10
11
  }
11
12
  ],
12
- "stateMutability": "view",
13
- "type": "function"
13
+ "stateMutability": "view"
14
14
  },
15
15
  {
16
- "inputs": [],
16
+ "type": "function",
17
17
  "name": "APPROVE_TIMELOCK_EXECUTION_SELECTOR",
18
+ "inputs": [],
18
19
  "outputs": [
19
20
  {
20
- "internalType": "bytes4",
21
21
  "name": "",
22
- "type": "bytes4"
22
+ "type": "bytes4",
23
+ "internalType": "bytes4"
23
24
  }
24
25
  ],
25
- "stateMutability": "view",
26
- "type": "function"
26
+ "stateMutability": "view"
27
27
  },
28
28
  {
29
- "inputs": [],
29
+ "type": "function",
30
30
  "name": "CANCEL_TIMELOCK_EXECUTION_META_SELECTOR",
31
+ "inputs": [],
31
32
  "outputs": [
32
33
  {
33
- "internalType": "bytes4",
34
34
  "name": "",
35
- "type": "bytes4"
35
+ "type": "bytes4",
36
+ "internalType": "bytes4"
36
37
  }
37
38
  ],
38
- "stateMutability": "view",
39
- "type": "function"
39
+ "stateMutability": "view"
40
40
  },
41
41
  {
42
- "inputs": [],
42
+ "type": "function",
43
43
  "name": "CANCEL_TIMELOCK_EXECUTION_SELECTOR",
44
+ "inputs": [],
44
45
  "outputs": [
45
46
  {
46
- "internalType": "bytes4",
47
47
  "name": "",
48
- "type": "bytes4"
48
+ "type": "bytes4",
49
+ "internalType": "bytes4"
49
50
  }
50
51
  ],
51
- "stateMutability": "view",
52
- "type": "function"
52
+ "stateMutability": "view"
53
53
  },
54
54
  {
55
+ "type": "function",
56
+ "name": "CONTROLLER_CONFIG_BATCH",
55
57
  "inputs": [],
58
+ "outputs": [
59
+ {
60
+ "name": "",
61
+ "type": "bytes32",
62
+ "internalType": "bytes32"
63
+ }
64
+ ],
65
+ "stateMutability": "view"
66
+ },
67
+ {
68
+ "type": "function",
56
69
  "name": "CONTROLLER_OPERATION",
70
+ "inputs": [],
57
71
  "outputs": [
58
72
  {
59
- "internalType": "bytes32",
60
73
  "name": "",
61
- "type": "bytes32"
74
+ "type": "bytes32",
75
+ "internalType": "bytes32"
62
76
  }
63
77
  ],
64
- "stateMutability": "view",
65
- "type": "function"
78
+ "stateMutability": "view"
66
79
  },
67
80
  {
81
+ "type": "function",
82
+ "name": "EXECUTE_WITH_PAYMENT_SELECTOR",
68
83
  "inputs": [],
69
- "name": "EXECUTE_WITH_TIMELOCK_SELECTOR",
70
84
  "outputs": [
71
85
  {
72
- "internalType": "bytes4",
73
86
  "name": "",
74
- "type": "bytes4"
87
+ "type": "bytes4",
88
+ "internalType": "bytes4"
75
89
  }
76
90
  ],
77
- "stateMutability": "view",
78
- "type": "function"
91
+ "stateMutability": "view"
79
92
  },
80
93
  {
94
+ "type": "function",
95
+ "name": "EXECUTE_WITH_TIMELOCK_SELECTOR",
81
96
  "inputs": [],
82
- "name": "GUARD_CONFIG_BATCH_EXECUTE_SELECTOR",
83
97
  "outputs": [
84
98
  {
85
- "internalType": "bytes4",
86
99
  "name": "",
87
- "type": "bytes4"
100
+ "type": "bytes4",
101
+ "internalType": "bytes4"
88
102
  }
89
103
  ],
90
- "stateMutability": "view",
91
- "type": "function"
104
+ "stateMutability": "view"
92
105
  },
93
106
  {
107
+ "type": "function",
108
+ "name": "GUARD_CONFIG_BATCH_EXECUTE_SELECTOR",
94
109
  "inputs": [],
95
- "name": "GUARD_CONFIG_BATCH_META_SELECTOR",
96
110
  "outputs": [
97
111
  {
98
- "internalType": "bytes4",
99
112
  "name": "",
100
- "type": "bytes4"
113
+ "type": "bytes4",
114
+ "internalType": "bytes4"
101
115
  }
102
116
  ],
103
- "stateMutability": "view",
104
- "type": "function"
117
+ "stateMutability": "view"
105
118
  },
106
119
  {
120
+ "type": "function",
121
+ "name": "GUARD_CONFIG_BATCH_META_SELECTOR",
107
122
  "inputs": [],
108
- "name": "REQUEST_AND_APPROVE_EXECUTION_SELECTOR",
109
123
  "outputs": [
110
124
  {
111
- "internalType": "bytes4",
112
125
  "name": "",
113
- "type": "bytes4"
126
+ "type": "bytes4",
127
+ "internalType": "bytes4"
114
128
  }
115
129
  ],
116
- "stateMutability": "view",
117
- "type": "function"
130
+ "stateMutability": "view"
118
131
  },
119
132
  {
133
+ "type": "function",
134
+ "name": "REQUEST_AND_APPROVE_EXECUTION_SELECTOR",
120
135
  "inputs": [],
136
+ "outputs": [
137
+ {
138
+ "name": "",
139
+ "type": "bytes4",
140
+ "internalType": "bytes4"
141
+ }
142
+ ],
143
+ "stateMutability": "view"
144
+ },
145
+ {
146
+ "type": "function",
147
+ "name": "encodeAddTargetToWhitelist",
148
+ "inputs": [
149
+ {
150
+ "name": "functionSelector",
151
+ "type": "bytes4",
152
+ "internalType": "bytes4"
153
+ },
154
+ {
155
+ "name": "target",
156
+ "type": "address",
157
+ "internalType": "address"
158
+ }
159
+ ],
160
+ "outputs": [
161
+ {
162
+ "name": "",
163
+ "type": "bytes",
164
+ "internalType": "bytes"
165
+ }
166
+ ],
167
+ "stateMutability": "pure"
168
+ },
169
+ {
170
+ "type": "function",
171
+ "name": "encodeRegisterFunction",
172
+ "inputs": [
173
+ {
174
+ "name": "functionSignature",
175
+ "type": "string",
176
+ "internalType": "string"
177
+ },
178
+ {
179
+ "name": "operationName",
180
+ "type": "string",
181
+ "internalType": "string"
182
+ },
183
+ {
184
+ "name": "supportedActions",
185
+ "type": "EngineBlox.TxAction[]",
186
+ "internalType": "enum EngineBlox.TxAction[]"
187
+ }
188
+ ],
189
+ "outputs": [
190
+ {
191
+ "name": "",
192
+ "type": "bytes",
193
+ "internalType": "bytes"
194
+ }
195
+ ],
196
+ "stateMutability": "pure"
197
+ },
198
+ {
199
+ "type": "function",
200
+ "name": "encodeRemoveTargetFromWhitelist",
201
+ "inputs": [
202
+ {
203
+ "name": "functionSelector",
204
+ "type": "bytes4",
205
+ "internalType": "bytes4"
206
+ },
207
+ {
208
+ "name": "target",
209
+ "type": "address",
210
+ "internalType": "address"
211
+ }
212
+ ],
213
+ "outputs": [
214
+ {
215
+ "name": "",
216
+ "type": "bytes",
217
+ "internalType": "bytes"
218
+ }
219
+ ],
220
+ "stateMutability": "pure"
221
+ },
222
+ {
223
+ "type": "function",
224
+ "name": "encodeUnregisterFunction",
225
+ "inputs": [
226
+ {
227
+ "name": "functionSelector",
228
+ "type": "bytes4",
229
+ "internalType": "bytes4"
230
+ },
231
+ {
232
+ "name": "safeRemoval",
233
+ "type": "bool",
234
+ "internalType": "bool"
235
+ }
236
+ ],
237
+ "outputs": [
238
+ {
239
+ "name": "",
240
+ "type": "bytes",
241
+ "internalType": "bytes"
242
+ }
243
+ ],
244
+ "stateMutability": "pure"
245
+ },
246
+ {
247
+ "type": "function",
121
248
  "name": "getFunctionSchemas",
249
+ "inputs": [],
122
250
  "outputs": [
123
251
  {
252
+ "name": "",
253
+ "type": "tuple[]",
254
+ "internalType": "struct EngineBlox.FunctionSchema[]",
124
255
  "components": [
125
256
  {
126
- "internalType": "string",
127
257
  "name": "functionSignature",
128
- "type": "string"
258
+ "type": "string",
259
+ "internalType": "string"
129
260
  },
130
261
  {
131
- "internalType": "bytes4",
132
262
  "name": "functionSelector",
133
- "type": "bytes4"
263
+ "type": "bytes4",
264
+ "internalType": "bytes4"
134
265
  },
135
266
  {
136
- "internalType": "bytes32",
137
267
  "name": "operationType",
138
- "type": "bytes32"
268
+ "type": "bytes32",
269
+ "internalType": "bytes32"
139
270
  },
140
271
  {
141
- "internalType": "string",
142
272
  "name": "operationName",
143
- "type": "string"
273
+ "type": "string",
274
+ "internalType": "string"
144
275
  },
145
276
  {
146
- "internalType": "uint16",
147
277
  "name": "supportedActionsBitmap",
148
- "type": "uint16"
278
+ "type": "uint16",
279
+ "internalType": "uint16"
280
+ },
281
+ {
282
+ "name": "enforceHandlerRelations",
283
+ "type": "bool",
284
+ "internalType": "bool"
149
285
  },
150
286
  {
151
- "internalType": "bool",
152
287
  "name": "isProtected",
153
- "type": "bool"
288
+ "type": "bool",
289
+ "internalType": "bool"
290
+ },
291
+ {
292
+ "name": "isGrantRevocable",
293
+ "type": "bool",
294
+ "internalType": "bool"
154
295
  },
155
296
  {
156
- "internalType": "bytes4[]",
157
297
  "name": "handlerForSelectors",
158
- "type": "bytes4[]"
298
+ "type": "bytes4[]",
299
+ "internalType": "bytes4[]"
159
300
  }
160
- ],
161
- "internalType": "struct EngineBlox.FunctionSchema[]",
162
- "name": "",
163
- "type": "tuple[]"
301
+ ]
164
302
  }
165
303
  ],
166
- "stateMutability": "pure",
167
- "type": "function"
304
+ "stateMutability": "pure"
168
305
  },
169
306
  {
307
+ "type": "function",
308
+ "name": "getGuardConfigActionSpecs",
170
309
  "inputs": [],
310
+ "outputs": [
311
+ {
312
+ "name": "actionNames",
313
+ "type": "string[]",
314
+ "internalType": "string[]"
315
+ },
316
+ {
317
+ "name": "formats",
318
+ "type": "string[]",
319
+ "internalType": "string[]"
320
+ }
321
+ ],
322
+ "stateMutability": "pure"
323
+ },
324
+ {
325
+ "type": "function",
171
326
  "name": "getRolePermissions",
327
+ "inputs": [],
172
328
  "outputs": [
173
329
  {
330
+ "name": "",
331
+ "type": "tuple",
332
+ "internalType": "struct IDefinition.RolePermission",
174
333
  "components": [
175
334
  {
176
- "internalType": "bytes32[]",
177
335
  "name": "roleHashes",
178
- "type": "bytes32[]"
336
+ "type": "bytes32[]",
337
+ "internalType": "bytes32[]"
179
338
  },
180
339
  {
340
+ "name": "functionPermissions",
341
+ "type": "tuple[]",
342
+ "internalType": "struct EngineBlox.FunctionPermission[]",
181
343
  "components": [
182
344
  {
183
- "internalType": "bytes4",
184
345
  "name": "functionSelector",
185
- "type": "bytes4"
346
+ "type": "bytes4",
347
+ "internalType": "bytes4"
186
348
  },
187
349
  {
188
- "internalType": "uint16",
189
350
  "name": "grantedActionsBitmap",
190
- "type": "uint16"
351
+ "type": "uint16",
352
+ "internalType": "uint16"
191
353
  },
192
354
  {
193
- "internalType": "bytes4[]",
194
355
  "name": "handlerForSelectors",
195
- "type": "bytes4[]"
356
+ "type": "bytes4[]",
357
+ "internalType": "bytes4[]"
196
358
  }
197
- ],
198
- "internalType": "struct EngineBlox.FunctionPermission[]",
199
- "name": "functionPermissions",
200
- "type": "tuple[]"
359
+ ]
201
360
  }
202
- ],
203
- "internalType": "struct IDefinition.RolePermission",
204
- "name": "",
205
- "type": "tuple"
361
+ ]
206
362
  }
207
363
  ],
208
- "stateMutability": "pure",
209
- "type": "function"
210
- },
211
- {
212
- "inputs": [],
213
- "name": "getGuardConfigActionSpecs",
214
- "outputs": [
215
- {
216
- "internalType": "string[]",
217
- "name": "actionNames",
218
- "type": "string[]"
219
- },
220
- {
221
- "internalType": "string[]",
222
- "name": "formats",
223
- "type": "string[]"
224
- }
225
- ],
226
- "stateMutability": "pure",
227
- "type": "function"
364
+ "stateMutability": "pure"
228
365
  },
229
366
  {
367
+ "type": "function",
368
+ "name": "guardConfigBatchExecutionParams",
230
369
  "inputs": [
231
370
  {
371
+ "name": "actions",
372
+ "type": "tuple[]",
373
+ "internalType": "struct IGuardController.GuardConfigAction[]",
232
374
  "components": [
233
375
  {
234
- "internalType": "enum IGuardController.GuardConfigActionType",
235
376
  "name": "actionType",
236
- "type": "IGuardController.GuardConfigActionType"
377
+ "type": "IGuardController.GuardConfigActionType",
378
+ "internalType": "enum IGuardController.GuardConfigActionType"
237
379
  },
238
380
  {
239
- "internalType": "bytes",
240
381
  "name": "data",
241
- "type": "bytes"
382
+ "type": "bytes",
383
+ "internalType": "bytes"
242
384
  }
243
- ],
244
- "internalType": "struct IGuardController.GuardConfigAction[]",
245
- "name": "actions",
246
- "type": "tuple[]"
385
+ ]
247
386
  }
248
387
  ],
249
- "name": "guardConfigBatchExecutionParams",
250
388
  "outputs": [
251
389
  {
252
- "internalType": "bytes",
253
390
  "name": "",
254
- "type": "bytes"
391
+ "type": "bytes",
392
+ "internalType": "bytes"
255
393
  }
256
394
  ],
257
- "stateMutability": "pure",
258
- "type": "function"
395
+ "stateMutability": "pure"
259
396
  },
260
397
  {
398
+ "type": "function",
399
+ "name": "supportsInterface",
261
400
  "inputs": [
262
401
  {
263
- "internalType": "bytes4",
264
402
  "name": "interfaceId",
265
- "type": "bytes4"
403
+ "type": "bytes4",
404
+ "internalType": "bytes4"
266
405
  }
267
406
  ],
268
- "name": "supportsInterface",
269
407
  "outputs": [
270
408
  {
271
- "internalType": "bool",
272
409
  "name": "",
273
- "type": "bool"
410
+ "type": "bool",
411
+ "internalType": "bool"
274
412
  }
275
413
  ],
276
- "stateMutability": "pure",
277
- "type": "function"
414
+ "stateMutability": "pure"
278
415
  }
279
416
  ]