Programmable pools through hooks
A modular hooks framework inspired by programmable AMM design and compatible with relevant Uniswap v4 concepts where technically feasible. It is in the research stage.
Status at a glance
Existing
The live router already routes through Uniswap V4 pools. No ESAPRIME-built hook modules are documented today.
Prototypes
None documented yet.
Planned modules
Eight proposed modules are listed below. Every one needs a security review before live use.
Hook capabilities
- Dynamic trading fees
- Automated liquidity adjustments
- Oracle-based price protection
- Time-weighted execution
- Volatility-sensitive execution rules
- Custom liquidity strategies
- Configurable pool access rules
- Protocol fee customization
- Security-oriented execution controls
Proposed module catalog
Dynamic Fee Hook
Adjusts the trading fee with market conditions such as volatility.
TWAMM Execution Hook
Spreads a large order across time to reduce instantaneous impact.
Oracle Protection Hook
Checks a price source and blocks or reprices swaps that deviate too far.
Liquidity Rebalancing Hook
Moves liquidity ranges by predefined rules.
Volatility Control Hook
Tightens or pauses execution when volatility passes a threshold.
Access Control Hook
Configurable rules for who can use a pool.
Strategy Automation Hook
Triggers approved strategy actions on schedule or on conditions.
Custom Fee Distribution Hook
Splits fees between configured recipients.
ESAPRIME Hook Studio
A developer interface to explore, configure, simulate and eventually deploy approved hook modules. It does not exist yet, and nothing on this page is an interactive simulator.
- Explore the catalog and each module's status and risk classification.
- Configure parameters, for example fee bounds or oracle tolerance.
- Simulate behaviour against historical conditions before anything is deployed.
- Deploy only modules that have passed review and are on the approved list.
Security requirements
- Independent review before any live deployment
- No hook can change who controls user funds
- Public parameters and a pause path for every live hook
- Registry of approved hooks with a security classification
