Registry
Position Manager
High riskThe read
- Fixed code, no upgrade path
- !Can set its own price for your swap
- !Can take a fee on each swap
- Can’t block LP withdrawals
Permissions · 0x25dc · 8 of 14
beforeInitialize1<<13
afterInitialize1<<12
beforeAddLiquidity1<<11
afterAddLiquidity1<<10
beforeRemoveLiquidity1<<9
afterRemoveLiquidity1<<8
beforeSwap1<<7
afterSwap1<<6
beforeDonate1<<5
afterDonate1<<4
beforeSwapReturnDelta1<<3
afterSwapReturnDelta1<<2
afterAddLiquidityReturnDelta1<<1
afterRemoveLiquidityReturnDelta1<<0
What each permission allows
- warningbeforeSwapReturnDeltaCan replace the pool’s pricing: your output may not follow the curve at all.
- warningafterSwapReturnDeltaCan take a cut of every swap, or pay a rebate, on top of the LP fee.
- infobeforeSwapRuns before every swap: can revert it, or set the fee on dynamic-fee pools.
- infoafterSwapRuns after every swap: oracles, points, limit orders, rebalancing.
- infoinitializeRuns when a pool is created with it, and can restrict which pools may.
- infodonateRuns when someone donates to in-range LPs.
5,350Pools
7dSince its last pool
23.0KBBytecode
FixedNo proxy