{"hook":"0x238484BEB11DE95BbAa29e8243ddFEBd72a41000","block":92926194,"bits":4096,"flags":[{"bit":13,"key":"beforeInitialize","label":"Before initialize","risk":0,"does":"Runs once, when a pool is created.","fn":"beforeInitialize(address,(address,address,uint24,int24,address),uint160)","on":false},{"bit":12,"key":"afterInitialize","label":"After initialize","risk":0,"does":"Runs once, right after a pool is created.","fn":"afterInitialize(address,(address,address,uint24,int24,address),uint160,int24)","on":true},{"bit":11,"key":"beforeAddLiquidity","label":"Before add liquidity","risk":1,"does":"Can refuse a deposit, or only let some addresses provide liquidity.","fn":"beforeAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)","on":false},{"bit":10,"key":"afterAddLiquidity","label":"After add liquidity","risk":0,"does":"Runs after each deposit.","fn":"afterAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)","on":false},{"bit":9,"key":"beforeRemoveLiquidity","label":"Before remove liquidity","risk":2,"does":"Can refuse a withdrawal. LPs may not get out.","fn":"beforeRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)","on":false},{"bit":8,"key":"afterRemoveLiquidity","label":"After remove liquidity","risk":0,"does":"Runs after each withdrawal.","fn":"afterRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)","on":false},{"bit":7,"key":"beforeSwap","label":"Before swap","risk":1,"does":"Runs before every swap. On a dynamic-fee pool it can set the fee each time.","fn":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)","on":false},{"bit":6,"key":"afterSwap","label":"After swap","risk":0,"does":"Runs after every swap.","fn":"afterSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),int256,bytes)","on":false},{"bit":5,"key":"beforeDonate","label":"Before donate","risk":0,"does":"Runs before a donation to LPs.","fn":"beforeDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)","on":false},{"bit":4,"key":"afterDonate","label":"After donate","risk":0,"does":"Runs after a donation to LPs.","fn":"afterDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)","on":false},{"bit":3,"key":"beforeSwapReturnDelta","label":"Before swap returns delta","risk":2,"does":"Can take part of what you put into a swap, or change how much is swapped.","fn":null,"on":false},{"bit":2,"key":"afterSwapReturnDelta","label":"After swap returns delta","risk":2,"does":"Can take part of what you get out of every swap.","fn":null,"on":false},{"bit":1,"key":"afterAddLiquidityReturnDelta","label":"After add returns delta","risk":2,"does":"Can charge LPs on the way in.","fn":null,"on":false},{"bit":0,"key":"afterRemoveLiquidityReturnDelta","label":"After remove returns delta","risk":2,"does":"Can take part of what LPs withdraw.","fn":null,"on":false}],"code":{"size":1487,"selectors":["0x02669b52","0x4dbeb3e3","0x6fe7e6eb","0x755a97fc","0xda2076d9","0xdc4c90d3","0xf3703df4","0xf851a440"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":1,"addresses":[]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":null,"functions":[{"selector":"0x02669b52","name":"launchpad()"},{"selector":"0x4dbeb3e3","name":"MAX_FEE_PIPS()"},{"selector":"0x6fe7e6eb","name":"afterInitialize(address,(address,address,uint24,int24,address),uint160,int24)"},{"selector":"0x755a97fc","name":"bindLaunchpad(address)"},{"selector":"0xda2076d9","name":"setPoolFee((address,address,uint24,int24,address),uint24)"},{"selector":"0xdc4c90d3","name":"poolManager()"},{"selector":"0xf3703df4","name":"poolFee(bytes32)"},{"selector":"0xf851a440","name":"admin()"}],"history":{"pools":578,"firstTime":1789004665,"lastTime":1790583703},"pools":[{"id":"0x8877d0094e135ab3bdf8646765b8c34b5a51f569dcfcb1261ecc07feac721f44","key":{"currency0":"0x34E8236C26bb4342E5BD50A3dB69A67E5DB30ed5","currency1":"0x808757816Fa2bAC2c6D29efb62FCD0BBd3cEDAd0","fee":8388608,"tickSpacing":200,"hooks":"0x238484BEB11DE95BbAa29e8243ddFEBd72a41000"},"symbols":["NECTB","H2O"],"state":{"sqrtP":"7321082674593961915789103","tick":-185796,"protocolFee":0,"lpFee":20000,"liquidity":"117613288220828762469475"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"65763685315897127427573","paid":"65763685315897127427573","got":"550277408366390","expected":"550277408366390","feePpm":20000,"takePpm":0},{"zeroForOne":false,"ok":true,"amountIn":"5434031153634983","paid":"5434031153634983","got":"623367265171872756228169","expected":"623367265171872756228169","feePpm":20000,"takePpm":0}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-4965207272105112501471","-32336327685478"],"removed":["4965207272105112501470","32336327685477"]}},{"id":"0x5f8b7d22359d5d73a837b01916e5c37c0bdd110f007630741cb1b523ca1e221e","key":{"currency0":"0x808757816Fa2bAC2c6D29efb62FCD0BBd3cEDAd0","currency1":"0x8B17166949C5FC2B261C4dC48Bf3b6255FbB7C06","fee":8388608,"tickSpacing":200,"hooks":"0x238484BEB11DE95BbAa29e8243ddFEBd72a41000"},"symbols":["H2O","NECTR"],"state":{"sqrtP":"857400746324422175410367789037610","tick":185795,"protocolFee":0,"lpFee":20000,"liquidity":"117613288220828762469500"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"5434031141763779","paid":"5434031141763779","got":"623367266533683107726437","expected":"623367266533683107726437","feePpm":20000,"takePpm":0},{"zeroForOne":false,"ok":true,"amountIn":"65762990174256658083816","paid":"65762990174256658083816","got":"550271589661445","expected":"550271589661445","feePpm":20000,"takePpm":0}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-32336325311238","-4965207550161776504180"],"removed":["32336325311237","4965207550161776504179"]}}],"openCallbacks":[],"checks":[{"id":"01","title":"Permissions that touch your money","status":"pass","detail":"None of the permissions that let a hook take from swaps or from LPs are switched on."},{"id":"02","title":"What it takes from a swap","status":"pass","detail":"A swap through it pays the pool fee and nothing else."},{"id":"03","title":"LPs can get out","status":"pass","detail":"Liquidity added and removed in the same block came back whole."},{"id":"04","title":"The fee is the fee","status":"caution","detail":"Its pools use a dynamic fee that the hook sets. It stands at 2% now and can change."},{"id":"05","title":"No one holds the switch","status":"caution","detail":"No owner() but it has setPoolFee."},{"id":"06","title":"The code cannot change","status":"pass","detail":"Not a proxy, no DELEGATECALL, no SELFDESTRUCT."},{"id":"07","title":"Only the PoolManager can call it","status":"pass","detail":"Each callback refused a call that did not come from the PoolManager."},{"id":"08","title":"Track record","status":"pass","detail":"578 pools over 39 days."}],"score":90,"verdict":"caution"}