The Vault Owner must whitelist the Public Allocator contract for it to operate.
Overview
The Public Allocator is callable by anyone. It can move a vault’s idle or underused supply into the market where a borrower needs liquidity, at the time of the borrow. For you as a borrower, many small pools behave like one deep pool, with isolated risk preserved.Borrower flow
Example: you want to borrow 1,000 WETH from the wstETH/WETH market, but that market only has 200 WETH.- Borrow request: You (or your app) initiate the borrow. The system sees a 800 WETH shortfall.
- Allocator runs: The Public Allocator is called. It finds 800 WETH in other markets where the same vault has supply (e.g. idle or an underused rETH/WETH market).
- Reallocate: The Allocator runs
reallocate, moving 800 WETH into the wstETH/WETH market. - Borrow: The market now has 1,000 WETH; your borrow completes.
Curator controls: flow caps
Curators limit how much the Public Allocator can move:- maxIn: Max assets the Allocator can move into a market.
- maxOut: Max assets it can move out of a market.