LockerManager
Contracts/src/contracts/LockerManager.sol
A small allowlist contract referenced from Locker.lockerManager(). An
“approved manager” is allowed to call privileged Locker entry-points such
as the unbackedDeposit mint path; revoking approval cuts off that
authority immediately. unbackedDeposit itself emits no event — it is not
indexed by the subgraph.
State views
| Function | Returns |
|---|---|
isManager(_manager) | true if _manager is currently approved |
Public surface
| Function | Caller | Description |
|---|---|---|
setManager(_manager, _approved) | Owner | Toggle manager approval |
Errors
| Error | Cause |
|---|---|
ManagerIsZeroAddress | _manager == address(0) |
StateAlreadySet | No-op state change |
Events
LockerManager.ManagerSet(_manager, _approved) is emitted on every
transition. The subgraph mirrors this in the LockerManager entity.
Inherited surface
Ownable.
Subgraph mapping
| Entity | Notes |
|---|---|
LockerManager { manager, approved, updatedAt } | One row per manager |