NoKeyManager
NoKeyManager
A middleware extension that provides no key storage functionality
This contract implements the KeyManager interface but does not provide any key storage functionality.
Methods
operatorByKey
function operatorByKey(
bytes memory key
) public pure override returns (address)
Gets the operator address associated with a key
Parameters
Name | Type | Description |
---|---|---|
key | bytes memory | The key to lookup (unused) |
Returns
Name | Type | Description |
---|---|---|
address | The operator address (always reverts) |
operatorKey
function operatorKey(
address operator
) public pure override returns (bytes memory)
Gets an operator's active key
Parameters
Name | Type | Description |
---|---|---|
operator | address | The operator address to lookup (unused) |
Returns
Name | Type | Description |
---|---|---|
memory | bytes | The operator's key (always reverts) |
keyWasActiveAt
function keyWasActiveAt(uint48 timestamp, bytes memory key) public pure override returns (bool)
Checks if a key was active at a specific timestamp
Parameters
Name | Type | Description |
---|---|---|
timestamp | uint48 | The timestamp to check (unused) |
key | bytes memory | The key to check (unused) |
Returns
Name | Type | Description |
---|---|---|
bool | Whether key was active (always reverts) |
_updateKey
function _updateKey(address operator, bytes memory key) internal virtual override
Updates an operator's key
Parameters
Name | Type | Description |
---|---|---|
operator | address | The operator address (unused) |
key | bytes memory | The new key (unused) |