uniswap-v4
1
总安装量
1
周安装量
#53076
全站排名
安装命令
npx skills add https://github.com/hairyf/blockchain-master --skill uniswap-v4
Agent 安装分布
amp
1
trae
1
opencode
1
cursor
1
codex
1
Skill 文档
Skill based on Uniswap v4 Core (Uniswap/v4-core), generated at 2026-02-09.
Uniswap v4 is an AMM with a singleton PoolManager: all pool state lives in one contract. Interactions go through unlock â unlockCallback, where callers perform swaps, liquidity changes, and donations, then settle balance deltas before the callback returns. Pools can attach hooks for lifecycle callbacks (initialize, add/remove liquidity, swap, donate).
Core References
| Topic | Description | Reference |
|---|---|---|
| Architecture | Singleton, unlock/callback flow, delta settlement | core-architecture |
| Unlock callback | IUnlockCallback, when to use unlock, security | core-unlock-callback |
| Pool actions | initialize, swap, modifyLiquidity, donate, take, settle, sync, mint, burn, clear | core-pool-actions |
| Types | PoolKey, PoolId, Currency, BalanceDelta, ModifyLiquidityParams, SwapParams | core-types |
Features
Hooks
| Topic | Description | Reference |
|---|---|---|
| Hooks | IHooks lifecycle, address-based flags, before/after callbacks | features-hooks |