@bloxchain/sdk 1.0.0-alpha.20 → 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 (63) hide show
  1. package/README.md +17 -16
  2. package/abi/AccountBlox.abi.json +1886 -1837
  3. package/abi/BaseStateMachine.abi.json +780 -775
  4. package/abi/CopyBlox.abi.json +825 -809
  5. package/abi/EngineBlox.abi.json +545 -538
  6. package/abi/GuardController.abi.json +1590 -1585
  7. package/abi/GuardControllerDefinitions.abi.json +231 -226
  8. package/abi/IDefinition.abi.json +54 -49
  9. package/abi/RoleBlox.abi.json +2993 -2993
  10. package/abi/RuntimeRBAC.abi.json +832 -827
  11. package/abi/RuntimeRBACDefinitions.abi.json +212 -207
  12. package/abi/SecureBlox.abi.json +2752 -2752
  13. package/abi/SecureOwnable.abi.json +1359 -1321
  14. package/abi/SecureOwnableDefinitions.abi.json +171 -166
  15. package/dist/abi/AccountBlox.abi.json +1886 -1837
  16. package/dist/abi/BaseStateMachine.abi.json +780 -775
  17. package/dist/abi/CopyBlox.abi.json +825 -809
  18. package/dist/abi/EngineBlox.abi.json +545 -538
  19. package/dist/abi/GuardController.abi.json +1590 -1585
  20. package/dist/abi/GuardControllerDefinitions.abi.json +231 -226
  21. package/dist/abi/IDefinition.abi.json +54 -49
  22. package/dist/abi/RoleBlox.abi.json +2993 -2993
  23. package/dist/abi/RuntimeRBAC.abi.json +832 -827
  24. package/dist/abi/RuntimeRBACDefinitions.abi.json +212 -207
  25. package/dist/abi/SecureBlox.abi.json +2752 -2752
  26. package/dist/abi/SecureOwnable.abi.json +1359 -1321
  27. package/dist/abi/SecureOwnableDefinitions.abi.json +171 -166
  28. package/dist/contracts/core/SecureOwnable.d.ts +1 -1
  29. package/dist/contracts/core/SecureOwnable.d.ts.map +1 -1
  30. package/dist/contracts/core/SecureOwnable.js +2 -2
  31. package/dist/contracts/core/SecureOwnable.js.map +1 -1
  32. package/dist/interfaces/core.security.index.d.ts +1 -1
  33. package/dist/interfaces/core.security.index.d.ts.map +1 -1
  34. package/dist/interfaces/lib.index.d.ts +1 -1
  35. package/dist/interfaces/lib.index.d.ts.map +1 -1
  36. package/dist/lib/Definition.d.ts.map +1 -1
  37. package/dist/lib/Definition.js +1 -0
  38. package/dist/lib/Definition.js.map +1 -1
  39. package/dist/lib/EngineBlox.d.ts +4 -5
  40. package/dist/lib/EngineBlox.d.ts.map +1 -1
  41. package/dist/lib/EngineBlox.js +9 -5
  42. package/dist/lib/EngineBlox.js.map +1 -1
  43. package/dist/types/core.security.index.js +2 -2
  44. package/dist/types/definition.index.d.ts +5 -0
  45. package/dist/types/definition.index.d.ts.map +1 -1
  46. package/dist/types/definition.index.js.map +1 -1
  47. package/dist/types/lib.index.d.ts +0 -1
  48. package/dist/types/lib.index.d.ts.map +1 -1
  49. package/dist/types/lib.index.js +1 -2
  50. package/dist/types/lib.index.js.map +1 -1
  51. package/dist/utils/contract-errors.d.ts +1 -8
  52. package/dist/utils/contract-errors.d.ts.map +1 -1
  53. package/dist/utils/contract-errors.js +0 -5
  54. package/dist/utils/contract-errors.js.map +1 -1
  55. package/dist/utils/interface-ids.js +1 -1
  56. package/dist/utils/validations.d.ts.map +1 -1
  57. package/dist/utils/validations.js +10 -11
  58. package/dist/utils/validations.js.map +1 -1
  59. package/package.json +2 -2
  60. package/abi/SimpleRWA20.abi.json +0 -4010
  61. package/abi/SimpleRWA20Definitions.abi.json +0 -196
  62. package/abi/SimpleVault.abi.json +0 -3385
  63. package/abi/SimpleVaultDefinitions.abi.json +0 -274
@@ -1,274 +0,0 @@
1
- [
2
- {
3
- "inputs": [],
4
- "name": "APPROVE_WITHDRAWAL_DELAYED_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_WITHDRAWAL_META_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_WITHDRAWAL_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": "GENERIC_APPROVAL",
44
- "outputs": [
45
- {
46
- "internalType": "bytes32",
47
- "name": "",
48
- "type": "bytes32"
49
- }
50
- ],
51
- "stateMutability": "view",
52
- "type": "function"
53
- },
54
- {
55
- "inputs": [],
56
- "name": "GENERIC_CANCELLATION",
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": "GENERIC_META_APPROVAL",
70
- "outputs": [
71
- {
72
- "internalType": "bytes32",
73
- "name": "",
74
- "type": "bytes32"
75
- }
76
- ],
77
- "stateMutability": "view",
78
- "type": "function"
79
- },
80
- {
81
- "inputs": [],
82
- "name": "WITHDRAW_ETH",
83
- "outputs": [
84
- {
85
- "internalType": "bytes32",
86
- "name": "",
87
- "type": "bytes32"
88
- }
89
- ],
90
- "stateMutability": "view",
91
- "type": "function"
92
- },
93
- {
94
- "inputs": [],
95
- "name": "WITHDRAW_ETH_REQUEST_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": "WITHDRAW_ETH_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": "WITHDRAW_TOKEN",
122
- "outputs": [
123
- {
124
- "internalType": "bytes32",
125
- "name": "",
126
- "type": "bytes32"
127
- }
128
- ],
129
- "stateMutability": "view",
130
- "type": "function"
131
- },
132
- {
133
- "inputs": [],
134
- "name": "WITHDRAW_TOKEN_REQUEST_SELECTOR",
135
- "outputs": [
136
- {
137
- "internalType": "bytes4",
138
- "name": "",
139
- "type": "bytes4"
140
- }
141
- ],
142
- "stateMutability": "view",
143
- "type": "function"
144
- },
145
- {
146
- "inputs": [],
147
- "name": "WITHDRAW_TOKEN_SELECTOR",
148
- "outputs": [
149
- {
150
- "internalType": "bytes4",
151
- "name": "",
152
- "type": "bytes4"
153
- }
154
- ],
155
- "stateMutability": "view",
156
- "type": "function"
157
- },
158
- {
159
- "inputs": [],
160
- "name": "getFunctionSchemas",
161
- "outputs": [
162
- {
163
- "components": [
164
- {
165
- "internalType": "string",
166
- "name": "functionSignature",
167
- "type": "string"
168
- },
169
- {
170
- "internalType": "bytes4",
171
- "name": "functionSelector",
172
- "type": "bytes4"
173
- },
174
- {
175
- "internalType": "bytes32",
176
- "name": "operationType",
177
- "type": "bytes32"
178
- },
179
- {
180
- "internalType": "string",
181
- "name": "operationName",
182
- "type": "string"
183
- },
184
- {
185
- "internalType": "uint16",
186
- "name": "supportedActionsBitmap",
187
- "type": "uint16"
188
- },
189
- {
190
- "internalType": "bool",
191
- "name": "enforceHandlerRelations",
192
- "type": "bool"
193
- },
194
- {
195
- "internalType": "bool",
196
- "name": "isProtected",
197
- "type": "bool"
198
- },
199
- {
200
- "internalType": "bytes4[]",
201
- "name": "handlerForSelectors",
202
- "type": "bytes4[]"
203
- }
204
- ],
205
- "internalType": "struct EngineBlox.FunctionSchema[]",
206
- "name": "",
207
- "type": "tuple[]"
208
- }
209
- ],
210
- "stateMutability": "pure",
211
- "type": "function"
212
- },
213
- {
214
- "inputs": [],
215
- "name": "getRolePermissions",
216
- "outputs": [
217
- {
218
- "components": [
219
- {
220
- "internalType": "bytes32[]",
221
- "name": "roleHashes",
222
- "type": "bytes32[]"
223
- },
224
- {
225
- "components": [
226
- {
227
- "internalType": "bytes4",
228
- "name": "functionSelector",
229
- "type": "bytes4"
230
- },
231
- {
232
- "internalType": "uint16",
233
- "name": "grantedActionsBitmap",
234
- "type": "uint16"
235
- },
236
- {
237
- "internalType": "bytes4[]",
238
- "name": "handlerForSelectors",
239
- "type": "bytes4[]"
240
- }
241
- ],
242
- "internalType": "struct EngineBlox.FunctionPermission[]",
243
- "name": "functionPermissions",
244
- "type": "tuple[]"
245
- }
246
- ],
247
- "internalType": "struct IDefinition.RolePermission",
248
- "name": "",
249
- "type": "tuple"
250
- }
251
- ],
252
- "stateMutability": "pure",
253
- "type": "function"
254
- },
255
- {
256
- "inputs": [
257
- {
258
- "internalType": "bytes4",
259
- "name": "interfaceId",
260
- "type": "bytes4"
261
- }
262
- ],
263
- "name": "supportsInterface",
264
- "outputs": [
265
- {
266
- "internalType": "bool",
267
- "name": "",
268
- "type": "bool"
269
- }
270
- ],
271
- "stateMutability": "pure",
272
- "type": "function"
273
- }
274
- ]