Second consumer · StockLendingGuard.sol
Liquidating stock-token collateral through a split, a dividend adjustment or a halt can wipe out healthy positions: the price discontinuity is real, but the token's oraclePaused() flag is advisory only. This guard pauses liquidations while a finalized Novak risk event is true — the same event a market can settle on. It reads only the EventBus; no oracle integration, no custom glue.
Reading guard state…
// In your lending protocol on Robinhood Chain:
IStockLendingGuard guard = IStockLendingGuard(NOVAK_GUARD);
function liquidate(address borrower, address stockToken) external {
(bool allowed, bytes32 blockingEvent) = guard.canLiquidate(stockToken);
require(allowed, "liquidations paused: corporate action / halt");
// ... normal liquidation using the Chainlink price
}Risk rules are set by the guard's risk admin. Events come from the same catalog as markets and the calendar.