ContractsLockerManager

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

FunctionReturns
isManager(_manager)true if _manager is currently approved

Public surface

FunctionCallerDescription
setManager(_manager, _approved)OwnerToggle manager approval

Errors

ErrorCause
ManagerIsZeroAddress_manager == address(0)
StateAlreadySetNo-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

EntityNotes
LockerManager { manager, approved, updatedAt }One row per manager