@bloxchain/sdk 1.0.0-alpha.20 → 1.0.0-alpha.22
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.
- package/README.md +22 -22
- package/abi/AccountBlox.abi.json +1886 -1837
- package/abi/BaseStateMachine.abi.json +780 -775
- package/abi/CopyBlox.abi.json +825 -809
- package/abi/EngineBlox.abi.json +545 -538
- package/abi/GuardController.abi.json +1590 -1585
- package/abi/GuardControllerDefinitions.abi.json +231 -226
- package/abi/IDefinition.abi.json +54 -49
- package/abi/RoleBlox.abi.json +2993 -2993
- package/abi/RuntimeRBAC.abi.json +832 -827
- package/abi/RuntimeRBACDefinitions.abi.json +212 -207
- package/abi/SecureBlox.abi.json +2752 -2752
- package/abi/SecureOwnable.abi.json +1359 -1321
- package/abi/SecureOwnableDefinitions.abi.json +171 -166
- package/dist/abi/AccountBlox.abi.json +1886 -1837
- package/dist/abi/BaseStateMachine.abi.json +780 -775
- package/dist/abi/CopyBlox.abi.json +825 -809
- package/dist/abi/EngineBlox.abi.json +545 -538
- package/dist/abi/GuardController.abi.json +1590 -1585
- package/dist/abi/GuardControllerDefinitions.abi.json +231 -226
- package/dist/abi/IDefinition.abi.json +54 -49
- package/dist/abi/RoleBlox.abi.json +2993 -2993
- package/dist/abi/RuntimeRBAC.abi.json +832 -827
- package/dist/abi/RuntimeRBACDefinitions.abi.json +212 -207
- package/dist/abi/SecureBlox.abi.json +2752 -2752
- package/dist/abi/SecureOwnable.abi.json +1359 -1321
- package/dist/abi/SecureOwnableDefinitions.abi.json +171 -166
- package/dist/contracts/core/SecureOwnable.d.ts +1 -1
- package/dist/contracts/core/SecureOwnable.d.ts.map +1 -1
- package/dist/contracts/core/SecureOwnable.js +2 -2
- package/dist/contracts/core/SecureOwnable.js.map +1 -1
- package/dist/interfaces/core.security.index.d.ts +1 -1
- package/dist/interfaces/core.security.index.d.ts.map +1 -1
- package/dist/interfaces/lib.index.d.ts +1 -1
- package/dist/interfaces/lib.index.d.ts.map +1 -1
- package/dist/lib/Definition.d.ts.map +1 -1
- package/dist/lib/Definition.js +1 -0
- package/dist/lib/Definition.js.map +1 -1
- package/dist/lib/EngineBlox.d.ts +4 -5
- package/dist/lib/EngineBlox.d.ts.map +1 -1
- package/dist/lib/EngineBlox.js +9 -5
- package/dist/lib/EngineBlox.js.map +1 -1
- package/dist/types/core.execution.index.js +2 -2
- package/dist/types/core.execution.index.js.map +1 -1
- package/dist/types/core.security.index.d.ts.map +1 -1
- package/dist/types/core.security.index.js +8 -8
- package/dist/types/core.security.index.js.map +1 -1
- package/dist/types/definition.index.d.ts +5 -0
- package/dist/types/definition.index.d.ts.map +1 -1
- package/dist/types/definition.index.js.map +1 -1
- package/dist/types/lib.index.d.ts +0 -1
- package/dist/types/lib.index.d.ts.map +1 -1
- package/dist/types/lib.index.js +1 -2
- package/dist/types/lib.index.js.map +1 -1
- package/dist/types/meta-transaction.signatures.d.ts +10 -0
- package/dist/types/meta-transaction.signatures.d.ts.map +1 -0
- package/dist/types/meta-transaction.signatures.js +12 -0
- package/dist/types/meta-transaction.signatures.js.map +1 -0
- package/dist/utils/contract-errors.d.ts +1 -8
- package/dist/utils/contract-errors.d.ts.map +1 -1
- package/dist/utils/contract-errors.js +0 -5
- package/dist/utils/contract-errors.js.map +1 -1
- package/dist/utils/interface-ids.js +1 -1
- package/dist/utils/validations.d.ts.map +1 -1
- package/dist/utils/validations.js +10 -11
- package/dist/utils/validations.js.map +1 -1
- package/package.json +5 -5
- package/abi/SimpleRWA20.abi.json +0 -4010
- package/abi/SimpleRWA20Definitions.abi.json +0 -196
- package/abi/SimpleVault.abi.json +0 -3385
- package/abi/SimpleVaultDefinitions.abi.json +0 -274
|
@@ -1,381 +1,386 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"
|
|
3
|
+
"type": "function",
|
|
4
4
|
"name": "ROLE_CONFIG_BATCH",
|
|
5
|
+
"inputs": [],
|
|
5
6
|
"outputs": [
|
|
6
7
|
{
|
|
7
|
-
"internalType": "bytes32",
|
|
8
8
|
"name": "",
|
|
9
|
-
"type": "bytes32"
|
|
9
|
+
"type": "bytes32",
|
|
10
|
+
"internalType": "bytes32"
|
|
10
11
|
}
|
|
11
12
|
],
|
|
12
|
-
"stateMutability": "view"
|
|
13
|
-
"type": "function"
|
|
13
|
+
"stateMutability": "view"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
|
-
"
|
|
16
|
+
"type": "function",
|
|
17
17
|
"name": "ROLE_CONFIG_BATCH_EXECUTE_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
|
-
"
|
|
29
|
+
"type": "function",
|
|
30
30
|
"name": "ROLE_CONFIG_BATCH_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
|
-
"
|
|
43
|
-
"name": "
|
|
44
|
-
"
|
|
42
|
+
"type": "function",
|
|
43
|
+
"name": "encodeAddFunctionToRole",
|
|
44
|
+
"inputs": [
|
|
45
45
|
{
|
|
46
|
+
"name": "roleHash",
|
|
47
|
+
"type": "bytes32",
|
|
48
|
+
"internalType": "bytes32"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "functionPermission",
|
|
52
|
+
"type": "tuple",
|
|
53
|
+
"internalType": "struct EngineBlox.FunctionPermission",
|
|
46
54
|
"components": [
|
|
47
55
|
{
|
|
48
|
-
"internalType": "string",
|
|
49
|
-
"name": "functionSignature",
|
|
50
|
-
"type": "string"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"internalType": "bytes4",
|
|
54
56
|
"name": "functionSelector",
|
|
55
|
-
"type": "bytes4"
|
|
57
|
+
"type": "bytes4",
|
|
58
|
+
"internalType": "bytes4"
|
|
56
59
|
},
|
|
57
60
|
{
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"internalType": "string",
|
|
64
|
-
"name": "operationName",
|
|
65
|
-
"type": "string"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"internalType": "uint16",
|
|
69
|
-
"name": "supportedActionsBitmap",
|
|
70
|
-
"type": "uint16"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"internalType": "bool",
|
|
74
|
-
"name": "enforceHandlerRelations",
|
|
75
|
-
"type": "bool"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"internalType": "bool",
|
|
79
|
-
"name": "isProtected",
|
|
80
|
-
"type": "bool"
|
|
61
|
+
"name": "grantedActionsBitmap",
|
|
62
|
+
"type": "uint16",
|
|
63
|
+
"internalType": "uint16"
|
|
81
64
|
},
|
|
82
65
|
{
|
|
83
|
-
"internalType": "bytes4[]",
|
|
84
66
|
"name": "handlerForSelectors",
|
|
85
|
-
"type": "bytes4[]"
|
|
67
|
+
"type": "bytes4[]",
|
|
68
|
+
"internalType": "bytes4[]"
|
|
86
69
|
}
|
|
87
|
-
]
|
|
88
|
-
"internalType": "struct EngineBlox.FunctionSchema[]",
|
|
89
|
-
"name": "",
|
|
90
|
-
"type": "tuple[]"
|
|
70
|
+
]
|
|
91
71
|
}
|
|
92
72
|
],
|
|
93
|
-
"stateMutability": "pure",
|
|
94
|
-
"type": "function"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"inputs": [],
|
|
98
|
-
"name": "getRolePermissions",
|
|
99
73
|
"outputs": [
|
|
100
74
|
{
|
|
101
|
-
"components": [
|
|
102
|
-
{
|
|
103
|
-
"internalType": "bytes32[]",
|
|
104
|
-
"name": "roleHashes",
|
|
105
|
-
"type": "bytes32[]"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"components": [
|
|
109
|
-
{
|
|
110
|
-
"internalType": "bytes4",
|
|
111
|
-
"name": "functionSelector",
|
|
112
|
-
"type": "bytes4"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"internalType": "uint16",
|
|
116
|
-
"name": "grantedActionsBitmap",
|
|
117
|
-
"type": "uint16"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"internalType": "bytes4[]",
|
|
121
|
-
"name": "handlerForSelectors",
|
|
122
|
-
"type": "bytes4[]"
|
|
123
|
-
}
|
|
124
|
-
],
|
|
125
|
-
"internalType": "struct EngineBlox.FunctionPermission[]",
|
|
126
|
-
"name": "functionPermissions",
|
|
127
|
-
"type": "tuple[]"
|
|
128
|
-
}
|
|
129
|
-
],
|
|
130
|
-
"internalType": "struct IDefinition.RolePermission",
|
|
131
75
|
"name": "",
|
|
132
|
-
"type": "
|
|
76
|
+
"type": "bytes",
|
|
77
|
+
"internalType": "bytes"
|
|
133
78
|
}
|
|
134
79
|
],
|
|
135
|
-
"stateMutability": "pure"
|
|
136
|
-
"type": "function"
|
|
80
|
+
"stateMutability": "pure"
|
|
137
81
|
},
|
|
138
82
|
{
|
|
139
|
-
"
|
|
140
|
-
"name": "
|
|
141
|
-
"
|
|
83
|
+
"type": "function",
|
|
84
|
+
"name": "encodeAddWallet",
|
|
85
|
+
"inputs": [
|
|
142
86
|
{
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
87
|
+
"name": "roleHash",
|
|
88
|
+
"type": "bytes32",
|
|
89
|
+
"internalType": "bytes32"
|
|
146
90
|
},
|
|
147
91
|
{
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"
|
|
92
|
+
"name": "wallet",
|
|
93
|
+
"type": "address",
|
|
94
|
+
"internalType": "address"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"outputs": [
|
|
98
|
+
{
|
|
99
|
+
"name": "",
|
|
100
|
+
"type": "bytes",
|
|
101
|
+
"internalType": "bytes"
|
|
151
102
|
}
|
|
152
103
|
],
|
|
153
|
-
"stateMutability": "pure"
|
|
154
|
-
"type": "function"
|
|
104
|
+
"stateMutability": "pure"
|
|
155
105
|
},
|
|
156
106
|
{
|
|
107
|
+
"type": "function",
|
|
108
|
+
"name": "encodeCreateRole",
|
|
157
109
|
"inputs": [
|
|
158
110
|
{
|
|
159
|
-
"internalType": "string",
|
|
160
111
|
"name": "roleName",
|
|
161
|
-
"type": "string"
|
|
112
|
+
"type": "string",
|
|
113
|
+
"internalType": "string"
|
|
162
114
|
},
|
|
163
115
|
{
|
|
164
|
-
"internalType": "uint256",
|
|
165
116
|
"name": "maxWallets",
|
|
166
|
-
"type": "uint256"
|
|
117
|
+
"type": "uint256",
|
|
118
|
+
"internalType": "uint256"
|
|
167
119
|
}
|
|
168
120
|
],
|
|
169
|
-
"name": "encodeCreateRole",
|
|
170
121
|
"outputs": [
|
|
171
122
|
{
|
|
172
|
-
"internalType": "bytes",
|
|
173
123
|
"name": "",
|
|
174
|
-
"type": "bytes"
|
|
124
|
+
"type": "bytes",
|
|
125
|
+
"internalType": "bytes"
|
|
175
126
|
}
|
|
176
127
|
],
|
|
177
|
-
"stateMutability": "pure"
|
|
178
|
-
"type": "function"
|
|
128
|
+
"stateMutability": "pure"
|
|
179
129
|
},
|
|
180
130
|
{
|
|
131
|
+
"type": "function",
|
|
132
|
+
"name": "encodeRemoveFunctionFromRole",
|
|
181
133
|
"inputs": [
|
|
182
134
|
{
|
|
183
|
-
"internalType": "bytes32",
|
|
184
135
|
"name": "roleHash",
|
|
185
|
-
"type": "bytes32"
|
|
136
|
+
"type": "bytes32",
|
|
137
|
+
"internalType": "bytes32"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "functionSelector",
|
|
141
|
+
"type": "bytes4",
|
|
142
|
+
"internalType": "bytes4"
|
|
186
143
|
}
|
|
187
144
|
],
|
|
188
|
-
"name": "encodeRemoveRole",
|
|
189
145
|
"outputs": [
|
|
190
146
|
{
|
|
191
|
-
"internalType": "bytes",
|
|
192
147
|
"name": "",
|
|
193
|
-
"type": "bytes"
|
|
148
|
+
"type": "bytes",
|
|
149
|
+
"internalType": "bytes"
|
|
194
150
|
}
|
|
195
151
|
],
|
|
196
|
-
"stateMutability": "pure"
|
|
197
|
-
"type": "function"
|
|
152
|
+
"stateMutability": "pure"
|
|
198
153
|
},
|
|
199
154
|
{
|
|
155
|
+
"type": "function",
|
|
156
|
+
"name": "encodeRemoveRole",
|
|
200
157
|
"inputs": [
|
|
201
158
|
{
|
|
202
|
-
"internalType": "bytes32",
|
|
203
159
|
"name": "roleHash",
|
|
204
|
-
"type": "bytes32"
|
|
205
|
-
|
|
206
|
-
{
|
|
207
|
-
"internalType": "address",
|
|
208
|
-
"name": "wallet",
|
|
209
|
-
"type": "address"
|
|
160
|
+
"type": "bytes32",
|
|
161
|
+
"internalType": "bytes32"
|
|
210
162
|
}
|
|
211
163
|
],
|
|
212
|
-
"name": "encodeAddWallet",
|
|
213
164
|
"outputs": [
|
|
214
165
|
{
|
|
215
|
-
"internalType": "bytes",
|
|
216
166
|
"name": "",
|
|
217
|
-
"type": "bytes"
|
|
167
|
+
"type": "bytes",
|
|
168
|
+
"internalType": "bytes"
|
|
218
169
|
}
|
|
219
170
|
],
|
|
220
|
-
"stateMutability": "pure"
|
|
221
|
-
"type": "function"
|
|
171
|
+
"stateMutability": "pure"
|
|
222
172
|
},
|
|
223
173
|
{
|
|
174
|
+
"type": "function",
|
|
175
|
+
"name": "encodeRevokeWallet",
|
|
224
176
|
"inputs": [
|
|
225
177
|
{
|
|
226
|
-
"internalType": "bytes32",
|
|
227
178
|
"name": "roleHash",
|
|
228
|
-
"type": "bytes32"
|
|
179
|
+
"type": "bytes32",
|
|
180
|
+
"internalType": "bytes32"
|
|
229
181
|
},
|
|
230
182
|
{
|
|
231
|
-
"internalType": "address",
|
|
232
183
|
"name": "wallet",
|
|
233
|
-
"type": "address"
|
|
184
|
+
"type": "address",
|
|
185
|
+
"internalType": "address"
|
|
234
186
|
}
|
|
235
187
|
],
|
|
236
|
-
"name": "encodeRevokeWallet",
|
|
237
188
|
"outputs": [
|
|
238
189
|
{
|
|
239
|
-
"internalType": "bytes",
|
|
240
190
|
"name": "",
|
|
241
|
-
"type": "bytes"
|
|
191
|
+
"type": "bytes",
|
|
192
|
+
"internalType": "bytes"
|
|
242
193
|
}
|
|
243
194
|
],
|
|
244
|
-
"stateMutability": "pure"
|
|
245
|
-
"type": "function"
|
|
195
|
+
"stateMutability": "pure"
|
|
246
196
|
},
|
|
247
197
|
{
|
|
248
|
-
"
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
"type": "bytes32"
|
|
253
|
-
},
|
|
198
|
+
"type": "function",
|
|
199
|
+
"name": "getFunctionSchemas",
|
|
200
|
+
"inputs": [],
|
|
201
|
+
"outputs": [
|
|
254
202
|
{
|
|
203
|
+
"name": "",
|
|
204
|
+
"type": "tuple[]",
|
|
205
|
+
"internalType": "struct EngineBlox.FunctionSchema[]",
|
|
255
206
|
"components": [
|
|
256
207
|
{
|
|
257
|
-
"
|
|
208
|
+
"name": "functionSignature",
|
|
209
|
+
"type": "string",
|
|
210
|
+
"internalType": "string"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
258
213
|
"name": "functionSelector",
|
|
259
|
-
"type": "bytes4"
|
|
214
|
+
"type": "bytes4",
|
|
215
|
+
"internalType": "bytes4"
|
|
260
216
|
},
|
|
261
217
|
{
|
|
262
|
-
"
|
|
263
|
-
"
|
|
264
|
-
"
|
|
218
|
+
"name": "operationType",
|
|
219
|
+
"type": "bytes32",
|
|
220
|
+
"internalType": "bytes32"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "operationName",
|
|
224
|
+
"type": "string",
|
|
225
|
+
"internalType": "string"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "supportedActionsBitmap",
|
|
229
|
+
"type": "uint16",
|
|
230
|
+
"internalType": "uint16"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "enforceHandlerRelations",
|
|
234
|
+
"type": "bool",
|
|
235
|
+
"internalType": "bool"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"name": "isProtected",
|
|
239
|
+
"type": "bool",
|
|
240
|
+
"internalType": "bool"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "isGrantRevocable",
|
|
244
|
+
"type": "bool",
|
|
245
|
+
"internalType": "bool"
|
|
265
246
|
},
|
|
266
247
|
{
|
|
267
|
-
"internalType": "bytes4[]",
|
|
268
248
|
"name": "handlerForSelectors",
|
|
269
|
-
"type": "bytes4[]"
|
|
249
|
+
"type": "bytes4[]",
|
|
250
|
+
"internalType": "bytes4[]"
|
|
270
251
|
}
|
|
271
|
-
]
|
|
272
|
-
"internalType": "struct EngineBlox.FunctionPermission",
|
|
273
|
-
"name": "functionPermission",
|
|
274
|
-
"type": "tuple"
|
|
275
|
-
}
|
|
276
|
-
],
|
|
277
|
-
"name": "encodeAddFunctionToRole",
|
|
278
|
-
"outputs": [
|
|
279
|
-
{
|
|
280
|
-
"internalType": "bytes",
|
|
281
|
-
"name": "",
|
|
282
|
-
"type": "bytes"
|
|
252
|
+
]
|
|
283
253
|
}
|
|
284
254
|
],
|
|
285
|
-
"stateMutability": "pure"
|
|
286
|
-
"type": "function"
|
|
255
|
+
"stateMutability": "pure"
|
|
287
256
|
},
|
|
288
257
|
{
|
|
289
|
-
"
|
|
258
|
+
"type": "function",
|
|
259
|
+
"name": "getRoleConfigActionSpecs",
|
|
260
|
+
"inputs": [],
|
|
261
|
+
"outputs": [
|
|
290
262
|
{
|
|
291
|
-
"
|
|
292
|
-
"
|
|
293
|
-
"
|
|
263
|
+
"name": "actionNames",
|
|
264
|
+
"type": "string[]",
|
|
265
|
+
"internalType": "string[]"
|
|
294
266
|
},
|
|
295
267
|
{
|
|
296
|
-
"
|
|
297
|
-
"
|
|
298
|
-
"
|
|
268
|
+
"name": "formats",
|
|
269
|
+
"type": "string[]",
|
|
270
|
+
"internalType": "string[]"
|
|
299
271
|
}
|
|
300
272
|
],
|
|
301
|
-
"
|
|
273
|
+
"stateMutability": "pure"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"type": "function",
|
|
277
|
+
"name": "getRolePermissions",
|
|
278
|
+
"inputs": [],
|
|
302
279
|
"outputs": [
|
|
303
280
|
{
|
|
304
|
-
"internalType": "bytes",
|
|
305
281
|
"name": "",
|
|
306
|
-
"type": "
|
|
282
|
+
"type": "tuple",
|
|
283
|
+
"internalType": "struct IDefinition.RolePermission",
|
|
284
|
+
"components": [
|
|
285
|
+
{
|
|
286
|
+
"name": "roleHashes",
|
|
287
|
+
"type": "bytes32[]",
|
|
288
|
+
"internalType": "bytes32[]"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"name": "functionPermissions",
|
|
292
|
+
"type": "tuple[]",
|
|
293
|
+
"internalType": "struct EngineBlox.FunctionPermission[]",
|
|
294
|
+
"components": [
|
|
295
|
+
{
|
|
296
|
+
"name": "functionSelector",
|
|
297
|
+
"type": "bytes4",
|
|
298
|
+
"internalType": "bytes4"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"name": "grantedActionsBitmap",
|
|
302
|
+
"type": "uint16",
|
|
303
|
+
"internalType": "uint16"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "handlerForSelectors",
|
|
307
|
+
"type": "bytes4[]",
|
|
308
|
+
"internalType": "bytes4[]"
|
|
309
|
+
}
|
|
310
|
+
]
|
|
311
|
+
}
|
|
312
|
+
]
|
|
307
313
|
}
|
|
308
314
|
],
|
|
309
|
-
"stateMutability": "pure"
|
|
310
|
-
"type": "function"
|
|
315
|
+
"stateMutability": "pure"
|
|
311
316
|
},
|
|
312
317
|
{
|
|
318
|
+
"type": "function",
|
|
319
|
+
"name": "roleConfigBatchExecutionParams",
|
|
313
320
|
"inputs": [
|
|
314
321
|
{
|
|
322
|
+
"name": "actions",
|
|
323
|
+
"type": "tuple[]",
|
|
324
|
+
"internalType": "struct IRuntimeRBAC.RoleConfigAction[]",
|
|
315
325
|
"components": [
|
|
316
326
|
{
|
|
317
|
-
"internalType": "enum IRuntimeRBAC.RoleConfigActionType",
|
|
318
327
|
"name": "actionType",
|
|
319
|
-
"type": "IRuntimeRBAC.RoleConfigActionType"
|
|
328
|
+
"type": "IRuntimeRBAC.RoleConfigActionType",
|
|
329
|
+
"internalType": "enum IRuntimeRBAC.RoleConfigActionType"
|
|
320
330
|
},
|
|
321
331
|
{
|
|
322
|
-
"internalType": "bytes",
|
|
323
332
|
"name": "data",
|
|
324
|
-
"type": "bytes"
|
|
333
|
+
"type": "bytes",
|
|
334
|
+
"internalType": "bytes"
|
|
325
335
|
}
|
|
326
|
-
]
|
|
327
|
-
"internalType": "struct IRuntimeRBAC.RoleConfigAction[]",
|
|
328
|
-
"name": "actions",
|
|
329
|
-
"type": "tuple[]"
|
|
336
|
+
]
|
|
330
337
|
}
|
|
331
338
|
],
|
|
332
|
-
"name": "roleConfigBatchExecutionParams",
|
|
333
339
|
"outputs": [
|
|
334
340
|
{
|
|
335
|
-
"internalType": "bytes",
|
|
336
341
|
"name": "",
|
|
337
|
-
"type": "bytes"
|
|
342
|
+
"type": "bytes",
|
|
343
|
+
"internalType": "bytes"
|
|
338
344
|
}
|
|
339
345
|
],
|
|
340
|
-
"stateMutability": "pure"
|
|
341
|
-
"type": "function"
|
|
346
|
+
"stateMutability": "pure"
|
|
342
347
|
},
|
|
343
348
|
{
|
|
349
|
+
"type": "function",
|
|
350
|
+
"name": "roleConfigBatchExecutionParams",
|
|
344
351
|
"inputs": [
|
|
345
352
|
{
|
|
346
|
-
"internalType": "bytes",
|
|
347
353
|
"name": "preEncoded",
|
|
348
|
-
"type": "bytes"
|
|
354
|
+
"type": "bytes",
|
|
355
|
+
"internalType": "bytes"
|
|
349
356
|
}
|
|
350
357
|
],
|
|
351
|
-
"name": "roleConfigBatchExecutionParams",
|
|
352
358
|
"outputs": [
|
|
353
359
|
{
|
|
354
|
-
"internalType": "bytes",
|
|
355
360
|
"name": "",
|
|
356
|
-
"type": "bytes"
|
|
361
|
+
"type": "bytes",
|
|
362
|
+
"internalType": "bytes"
|
|
357
363
|
}
|
|
358
364
|
],
|
|
359
|
-
"stateMutability": "pure"
|
|
360
|
-
"type": "function"
|
|
365
|
+
"stateMutability": "pure"
|
|
361
366
|
},
|
|
362
367
|
{
|
|
368
|
+
"type": "function",
|
|
369
|
+
"name": "supportsInterface",
|
|
363
370
|
"inputs": [
|
|
364
371
|
{
|
|
365
|
-
"internalType": "bytes4",
|
|
366
372
|
"name": "interfaceId",
|
|
367
|
-
"type": "bytes4"
|
|
373
|
+
"type": "bytes4",
|
|
374
|
+
"internalType": "bytes4"
|
|
368
375
|
}
|
|
369
376
|
],
|
|
370
|
-
"name": "supportsInterface",
|
|
371
377
|
"outputs": [
|
|
372
378
|
{
|
|
373
|
-
"internalType": "bool",
|
|
374
379
|
"name": "",
|
|
375
|
-
"type": "bool"
|
|
380
|
+
"type": "bool",
|
|
381
|
+
"internalType": "bool"
|
|
376
382
|
}
|
|
377
383
|
],
|
|
378
|
-
"stateMutability": "pure"
|
|
379
|
-
"type": "function"
|
|
384
|
+
"stateMutability": "pure"
|
|
380
385
|
}
|
|
381
386
|
]
|