Registry
Pons
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 · 0x2888 · 4 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.
- infobeforeAddLiquidityCan decide who adds liquidity, and where.
- infobeforeSwapRuns before every swap: can revert it, or set the fee on dynamic-fee pools.
- infoinitializeRuns when a pool is created with it, and can restrict which pools may.
2,689Pools
1mSince its last pool
12.0KBBytecode
FixedNo proxy