BaseMiddleware
BaseMiddleware
Abstract base contract that combines core manager functionality for building middleware
Inherits from VaultManager, OperatorManager, AccessManager, and KeyManager to provide:
- Vault management and registration
- Operator management and registration
- Access management
- Key management
This contract serves as a foundation for building custom middleware by providing essential management capabilities that can be extended with additional functionality.
Methods
__BaseMiddleware_init
function __BaseMiddleware_init(
address network,
uint48 slashingWindow,
address vaultRegistry,
address operatorRegistry,
address operatorNetOptin,
address readHelper
) internal onlyInitializing
Initializes the BaseMiddleware contract with required dependencies and parameters
This internal initialization function sets up core storage and manager components
Parameters
Name | Type | Description |
---|---|---|
network | address | The address of the network contract |
slashingWindow | uint48 | The duration of the slashing window in blocks |
vaultRegistry | address | The address of the vault registry contract |
operatorRegistry | address | The address of the operator registry contract |
operatorNetOptin | address | The address of the operator network opt-in contract |
readHelper | address | The address of the read helper contract used for delegatecall |