@bloxchain/sdk 1.0.0-alpha.4 → 1.0.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/abi/AccountBlox.abi.json +1463 -3315
  2. package/abi/BareBlox.abi.json +19 -0
  3. package/abi/BaseStateMachine.abi.json +19 -0
  4. package/abi/EngineBlox.abi.json +11 -26
  5. package/abi/GuardController.abi.json +144 -737
  6. package/abi/GuardControllerDefinitions.abi.json +279 -0
  7. package/abi/RoleBlox.abi.json +392 -1632
  8. package/abi/RuntimeRBAC.abi.json +23 -111
  9. package/abi/RuntimeRBACDefinitions.abi.json +18 -0
  10. package/abi/SecureBlox.abi.json +275 -1408
  11. package/abi/SecureOwnable.abi.json +298 -1431
  12. package/abi/SimpleRWA20.abi.json +305 -1630
  13. package/abi/SimpleVault.abi.json +477 -2090
  14. package/dist/abi/BaseStateMachine.abi.json +19 -0
  15. package/dist/abi/GuardController.abi.json +144 -737
  16. package/dist/abi/RuntimeRBAC.abi.json +23 -111
  17. package/dist/abi/SecureOwnable.abi.json +298 -1431
  18. package/dist/contracts/core/BaseStateMachine.d.ts +98 -0
  19. package/dist/contracts/core/BaseStateMachine.d.ts.map +1 -0
  20. package/dist/contracts/core/BaseStateMachine.js +271 -0
  21. package/dist/contracts/core/BaseStateMachine.js.map +1 -0
  22. package/dist/contracts/core/GuardController.d.ts +120 -0
  23. package/dist/contracts/core/GuardController.d.ts.map +1 -0
  24. package/dist/contracts/core/GuardController.js +150 -0
  25. package/dist/contracts/core/GuardController.js.map +1 -0
  26. package/dist/contracts/core/RuntimeRBAC.d.ts +40 -0
  27. package/dist/contracts/core/RuntimeRBAC.d.ts.map +1 -0
  28. package/dist/contracts/core/RuntimeRBAC.js +50 -0
  29. package/dist/contracts/core/RuntimeRBAC.js.map +1 -0
  30. package/dist/contracts/core/SecureOwnable.d.ts +41 -0
  31. package/dist/contracts/core/SecureOwnable.d.ts.map +1 -0
  32. package/dist/contracts/core/SecureOwnable.js +81 -0
  33. package/dist/contracts/core/SecureOwnable.js.map +1 -0
  34. package/dist/index.d.ts +4 -4
  35. package/dist/index.d.ts.map +1 -1
  36. package/dist/index.js +4 -4
  37. package/dist/index.js.map +1 -1
  38. package/dist/lib/EngineBlox.d.ts +0 -9
  39. package/dist/lib/EngineBlox.d.ts.map +1 -1
  40. package/dist/lib/EngineBlox.js +0 -9
  41. package/dist/lib/EngineBlox.js.map +1 -1
  42. package/dist/lib/definitions/GuardControllerDefinitions.d.ts +10 -0
  43. package/dist/lib/definitions/GuardControllerDefinitions.d.ts.map +1 -1
  44. package/dist/lib/definitions/GuardControllerDefinitions.js +21 -0
  45. package/dist/lib/definitions/GuardControllerDefinitions.js.map +1 -1
  46. package/dist/lib/definitions/RuntimeRBACDefinitions.d.ts +10 -0
  47. package/dist/lib/definitions/RuntimeRBACDefinitions.d.ts.map +1 -1
  48. package/dist/lib/definitions/RuntimeRBACDefinitions.js +27 -0
  49. package/dist/lib/definitions/RuntimeRBACDefinitions.js.map +1 -1
  50. package/dist/types/base.state.machine.index.d.ts +0 -1
  51. package/dist/types/base.state.machine.index.d.ts.map +1 -1
  52. package/dist/types/base.state.machine.index.js +1 -2
  53. package/dist/types/base.state.machine.index.js.map +1 -1
  54. package/package.json +2 -2
@@ -0,0 +1,279 @@
1
+ [
2
+ {
3
+ "inputs": [],
4
+ "name": "APPROVE_TIMELOCK_EXECUTION_META_SELECTOR",
5
+ "outputs": [
6
+ {
7
+ "internalType": "bytes4",
8
+ "name": "",
9
+ "type": "bytes4"
10
+ }
11
+ ],
12
+ "stateMutability": "view",
13
+ "type": "function"
14
+ },
15
+ {
16
+ "inputs": [],
17
+ "name": "APPROVE_TIMELOCK_EXECUTION_SELECTOR",
18
+ "outputs": [
19
+ {
20
+ "internalType": "bytes4",
21
+ "name": "",
22
+ "type": "bytes4"
23
+ }
24
+ ],
25
+ "stateMutability": "view",
26
+ "type": "function"
27
+ },
28
+ {
29
+ "inputs": [],
30
+ "name": "CANCEL_TIMELOCK_EXECUTION_META_SELECTOR",
31
+ "outputs": [
32
+ {
33
+ "internalType": "bytes4",
34
+ "name": "",
35
+ "type": "bytes4"
36
+ }
37
+ ],
38
+ "stateMutability": "view",
39
+ "type": "function"
40
+ },
41
+ {
42
+ "inputs": [],
43
+ "name": "CANCEL_TIMELOCK_EXECUTION_SELECTOR",
44
+ "outputs": [
45
+ {
46
+ "internalType": "bytes4",
47
+ "name": "",
48
+ "type": "bytes4"
49
+ }
50
+ ],
51
+ "stateMutability": "view",
52
+ "type": "function"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "CONTROLLER_OPERATION",
57
+ "outputs": [
58
+ {
59
+ "internalType": "bytes32",
60
+ "name": "",
61
+ "type": "bytes32"
62
+ }
63
+ ],
64
+ "stateMutability": "view",
65
+ "type": "function"
66
+ },
67
+ {
68
+ "inputs": [],
69
+ "name": "EXECUTE_WITH_TIMELOCK_SELECTOR",
70
+ "outputs": [
71
+ {
72
+ "internalType": "bytes4",
73
+ "name": "",
74
+ "type": "bytes4"
75
+ }
76
+ ],
77
+ "stateMutability": "view",
78
+ "type": "function"
79
+ },
80
+ {
81
+ "inputs": [],
82
+ "name": "GUARD_CONFIG_BATCH_EXECUTE_SELECTOR",
83
+ "outputs": [
84
+ {
85
+ "internalType": "bytes4",
86
+ "name": "",
87
+ "type": "bytes4"
88
+ }
89
+ ],
90
+ "stateMutability": "view",
91
+ "type": "function"
92
+ },
93
+ {
94
+ "inputs": [],
95
+ "name": "GUARD_CONFIG_BATCH_META_SELECTOR",
96
+ "outputs": [
97
+ {
98
+ "internalType": "bytes4",
99
+ "name": "",
100
+ "type": "bytes4"
101
+ }
102
+ ],
103
+ "stateMutability": "view",
104
+ "type": "function"
105
+ },
106
+ {
107
+ "inputs": [],
108
+ "name": "REQUEST_AND_APPROVE_EXECUTION_SELECTOR",
109
+ "outputs": [
110
+ {
111
+ "internalType": "bytes4",
112
+ "name": "",
113
+ "type": "bytes4"
114
+ }
115
+ ],
116
+ "stateMutability": "view",
117
+ "type": "function"
118
+ },
119
+ {
120
+ "inputs": [],
121
+ "name": "getFunctionSchemas",
122
+ "outputs": [
123
+ {
124
+ "components": [
125
+ {
126
+ "internalType": "string",
127
+ "name": "functionSignature",
128
+ "type": "string"
129
+ },
130
+ {
131
+ "internalType": "bytes4",
132
+ "name": "functionSelector",
133
+ "type": "bytes4"
134
+ },
135
+ {
136
+ "internalType": "bytes32",
137
+ "name": "operationType",
138
+ "type": "bytes32"
139
+ },
140
+ {
141
+ "internalType": "string",
142
+ "name": "operationName",
143
+ "type": "string"
144
+ },
145
+ {
146
+ "internalType": "uint16",
147
+ "name": "supportedActionsBitmap",
148
+ "type": "uint16"
149
+ },
150
+ {
151
+ "internalType": "bool",
152
+ "name": "isProtected",
153
+ "type": "bool"
154
+ },
155
+ {
156
+ "internalType": "bytes4[]",
157
+ "name": "handlerForSelectors",
158
+ "type": "bytes4[]"
159
+ }
160
+ ],
161
+ "internalType": "struct EngineBlox.FunctionSchema[]",
162
+ "name": "",
163
+ "type": "tuple[]"
164
+ }
165
+ ],
166
+ "stateMutability": "pure",
167
+ "type": "function"
168
+ },
169
+ {
170
+ "inputs": [],
171
+ "name": "getRolePermissions",
172
+ "outputs": [
173
+ {
174
+ "components": [
175
+ {
176
+ "internalType": "bytes32[]",
177
+ "name": "roleHashes",
178
+ "type": "bytes32[]"
179
+ },
180
+ {
181
+ "components": [
182
+ {
183
+ "internalType": "bytes4",
184
+ "name": "functionSelector",
185
+ "type": "bytes4"
186
+ },
187
+ {
188
+ "internalType": "uint16",
189
+ "name": "grantedActionsBitmap",
190
+ "type": "uint16"
191
+ },
192
+ {
193
+ "internalType": "bytes4[]",
194
+ "name": "handlerForSelectors",
195
+ "type": "bytes4[]"
196
+ }
197
+ ],
198
+ "internalType": "struct EngineBlox.FunctionPermission[]",
199
+ "name": "functionPermissions",
200
+ "type": "tuple[]"
201
+ }
202
+ ],
203
+ "internalType": "struct IDefinition.RolePermission",
204
+ "name": "",
205
+ "type": "tuple"
206
+ }
207
+ ],
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"
228
+ },
229
+ {
230
+ "inputs": [
231
+ {
232
+ "components": [
233
+ {
234
+ "internalType": "enum IGuardController.GuardConfigActionType",
235
+ "name": "actionType",
236
+ "type": "IGuardController.GuardConfigActionType"
237
+ },
238
+ {
239
+ "internalType": "bytes",
240
+ "name": "data",
241
+ "type": "bytes"
242
+ }
243
+ ],
244
+ "internalType": "struct IGuardController.GuardConfigAction[]",
245
+ "name": "actions",
246
+ "type": "tuple[]"
247
+ }
248
+ ],
249
+ "name": "guardConfigBatchExecutionParams",
250
+ "outputs": [
251
+ {
252
+ "internalType": "bytes",
253
+ "name": "",
254
+ "type": "bytes"
255
+ }
256
+ ],
257
+ "stateMutability": "pure",
258
+ "type": "function"
259
+ },
260
+ {
261
+ "inputs": [
262
+ {
263
+ "internalType": "bytes4",
264
+ "name": "interfaceId",
265
+ "type": "bytes4"
266
+ }
267
+ ],
268
+ "name": "supportsInterface",
269
+ "outputs": [
270
+ {
271
+ "internalType": "bool",
272
+ "name": "",
273
+ "type": "bool"
274
+ }
275
+ ],
276
+ "stateMutability": "pure",
277
+ "type": "function"
278
+ }
279
+ ]