Any keeper can liquidate restricted-RWA loans via Uniswap v4. The RWA never leaves the allowlist.

Restricted RWA tokens (ERC-3643 style) only move to wallets the issuer has allowlisted. On lending markets like Aave Horizon, seized RWA collateral can only go to the issuer's allowlisted holders. So liquidators must be KYC'd, pre-funded in stablecoins and able to hold the RWA. If that small group is slow or missing, lenders can be left with bad debt.
Bailiff splits the trigger from the receiver. Any keeper can call the LiquidationAdapter, even with 0 USDC. In one transaction it sells the seized RWA on a Uniswap v4 permissioned pool, repays the liquidated debt and pays the keeper a USDC bounty. The keeper never touches the RWA. If the sale cannot cover the debt, everything reverts.
Bailiff expands the keeper set without expanding the holder set.
The issuer keeps control. On the liquidation side it flags one sell-only contract, the adapter, next to the pool's own wrapper, and never the keeper. The token's controls (allowlist, freeze, pause, forced transfer) and the issuer's bounded NAV oracle still apply. Revoke the adapter and the same keeper call reverts in Uniswap's hook. Bailiff is an extra route next to KYC liquidators, not a replacement.
The buyer is the pool's allowlisted LP, a KYC market maker in the demo, whose USDC sits in the pool ahead of time. Aave's liquidationCall sends the collateral first and pulls the stablecoin from the caller at the end, with no callback in between. v4 flash accounting lets the adapter sell the RWA before it holds it, so the keeper fronts nothing.
Solidity 0.8.26 and Foundry on Uniswap v4-core and v4-periphery. No custom hook. The demo runs on an Anvil fork of Sepolia and the pinned tests on a Foundry fork, both at block 11782723, against Uniswap Labs' deployed PoolManager, PermissionsAdapterFactory and PermissionedHooks. My PermissionsAdapter comes from the real factory, and the adapter's constructor checks verifiedPermissionsAdapterOf.
Inside one PoolManager.unlock, LiquidationAdapter:
Notes:
Known gaps:
Tests: 59/59 pass (unit, fuzz, 6 invariants on a simulated venue, local PoolManager, fork tests on latest Sepolia). A 32-test acceptance suite pins block 11782723, its parent hash and the Labs codehashes: 13 pass, and 19 are red on purpose because they specify fixes not built yet, including a claimable borrower credit and the NAV floor. Main proof: test_anonDirectFails_adapterSucceeds and test_wrapperRevocationChangesSameCall. Demo console: SvelteKit + viem, local fork only, 225 passing bun tests. FEEDBACK.md has integrator notes for Uniswap.

