Agg hooks deployer#135
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
philipjames44
left a comment
There was a problem hiding this comment.
couple of small notes but overall looks good
Aggregator Hook Pool Discovery & Deployment Scripts
Summary
Adds a self-contained TypeScript toolset (
aggregator-hooks/) for discovering, deploying, and managing aggregator hook pools across multiple DEX protocols on Uniswap v4.What's new
Modular protocol architecture — each protocol is a self-contained
CreationModuleimplementing a shared interface (creation-modules/types.ts). Supported protocols:StableSwapStableSwapNGFluidDexT1FluidDexLitePancakeSwapV3SlipstreamUniswapV2UniswapV3Historical discovery (
historical/) — fetches all pools ever created by each protocol's factory using on-chain event logs, writing results to JSON.Polling (
polling/) — incrementally fetches new pools since the last run, appending to the registry JSON.Pool creation (
src/createPools.ts) — reads the registry JSON and deploys aggregator hooks for each pool viaSelfCreateHook.s.sol, with support for:--jobs)--verify)--start-at)CLI (
src/cli.ts) — shared argument parsing and env var loading for all scripts.ABIs (
abis/) — factory and resolver ABIs for all supported protocols.Submodule update
lib/v4-hooks-publicupdated tomainbranch (0ec65960) — previously pinned toOZ-fixes-slipstream-pancake.Tooling
singleQuote: true, Prettier defaults for everything else).npm run formatavailable inaggregator-hooks/.