|
148 | 148 | "stateMutability": "pure", |
149 | 149 | "type": "function" |
150 | 150 | }, |
| 151 | + { |
| 152 | + "inputs": [ |
| 153 | + { |
| 154 | + "internalType": "string", |
| 155 | + "name": "roleName", |
| 156 | + "type": "string" |
| 157 | + }, |
| 158 | + { |
| 159 | + "internalType": "uint256", |
| 160 | + "name": "maxWallets", |
| 161 | + "type": "uint256" |
| 162 | + } |
| 163 | + ], |
| 164 | + "name": "encodeCreateRole", |
| 165 | + "outputs": [ |
| 166 | + { |
| 167 | + "internalType": "bytes", |
| 168 | + "name": "", |
| 169 | + "type": "bytes" |
| 170 | + } |
| 171 | + ], |
| 172 | + "stateMutability": "pure", |
| 173 | + "type": "function" |
| 174 | + }, |
| 175 | + { |
| 176 | + "inputs": [ |
| 177 | + { |
| 178 | + "internalType": "bytes32", |
| 179 | + "name": "roleHash", |
| 180 | + "type": "bytes32" |
| 181 | + } |
| 182 | + ], |
| 183 | + "name": "encodeRemoveRole", |
| 184 | + "outputs": [ |
| 185 | + { |
| 186 | + "internalType": "bytes", |
| 187 | + "name": "", |
| 188 | + "type": "bytes" |
| 189 | + } |
| 190 | + ], |
| 191 | + "stateMutability": "pure", |
| 192 | + "type": "function" |
| 193 | + }, |
| 194 | + { |
| 195 | + "inputs": [ |
| 196 | + { |
| 197 | + "internalType": "bytes32", |
| 198 | + "name": "roleHash", |
| 199 | + "type": "bytes32" |
| 200 | + }, |
| 201 | + { |
| 202 | + "internalType": "address", |
| 203 | + "name": "wallet", |
| 204 | + "type": "address" |
| 205 | + } |
| 206 | + ], |
| 207 | + "name": "encodeAddWallet", |
| 208 | + "outputs": [ |
| 209 | + { |
| 210 | + "internalType": "bytes", |
| 211 | + "name": "", |
| 212 | + "type": "bytes" |
| 213 | + } |
| 214 | + ], |
| 215 | + "stateMutability": "pure", |
| 216 | + "type": "function" |
| 217 | + }, |
| 218 | + { |
| 219 | + "inputs": [ |
| 220 | + { |
| 221 | + "internalType": "bytes32", |
| 222 | + "name": "roleHash", |
| 223 | + "type": "bytes32" |
| 224 | + }, |
| 225 | + { |
| 226 | + "internalType": "address", |
| 227 | + "name": "wallet", |
| 228 | + "type": "address" |
| 229 | + } |
| 230 | + ], |
| 231 | + "name": "encodeRevokeWallet", |
| 232 | + "outputs": [ |
| 233 | + { |
| 234 | + "internalType": "bytes", |
| 235 | + "name": "", |
| 236 | + "type": "bytes" |
| 237 | + } |
| 238 | + ], |
| 239 | + "stateMutability": "pure", |
| 240 | + "type": "function" |
| 241 | + }, |
| 242 | + { |
| 243 | + "inputs": [ |
| 244 | + { |
| 245 | + "internalType": "bytes32", |
| 246 | + "name": "roleHash", |
| 247 | + "type": "bytes32" |
| 248 | + }, |
| 249 | + { |
| 250 | + "components": [ |
| 251 | + { |
| 252 | + "internalType": "bytes4", |
| 253 | + "name": "functionSelector", |
| 254 | + "type": "bytes4" |
| 255 | + }, |
| 256 | + { |
| 257 | + "internalType": "uint16", |
| 258 | + "name": "grantedActionsBitmap", |
| 259 | + "type": "uint16" |
| 260 | + }, |
| 261 | + { |
| 262 | + "internalType": "bytes4[]", |
| 263 | + "name": "handlerForSelectors", |
| 264 | + "type": "bytes4[]" |
| 265 | + } |
| 266 | + ], |
| 267 | + "internalType": "struct EngineBlox.FunctionPermission", |
| 268 | + "name": "functionPermission", |
| 269 | + "type": "tuple" |
| 270 | + } |
| 271 | + ], |
| 272 | + "name": "encodeAddFunctionToRole", |
| 273 | + "outputs": [ |
| 274 | + { |
| 275 | + "internalType": "bytes", |
| 276 | + "name": "", |
| 277 | + "type": "bytes" |
| 278 | + } |
| 279 | + ], |
| 280 | + "stateMutability": "pure", |
| 281 | + "type": "function" |
| 282 | + }, |
| 283 | + { |
| 284 | + "inputs": [ |
| 285 | + { |
| 286 | + "internalType": "bytes32", |
| 287 | + "name": "roleHash", |
| 288 | + "type": "bytes32" |
| 289 | + }, |
| 290 | + { |
| 291 | + "internalType": "bytes4", |
| 292 | + "name": "functionSelector", |
| 293 | + "type": "bytes4" |
| 294 | + } |
| 295 | + ], |
| 296 | + "name": "encodeRemoveFunctionFromRole", |
| 297 | + "outputs": [ |
| 298 | + { |
| 299 | + "internalType": "bytes", |
| 300 | + "name": "", |
| 301 | + "type": "bytes" |
| 302 | + } |
| 303 | + ], |
| 304 | + "stateMutability": "pure", |
| 305 | + "type": "function" |
| 306 | + }, |
151 | 307 | { |
152 | 308 | "inputs": [ |
153 | 309 | { |
|
0 commit comments