{"hook":"0xD30a1d2f11FAe11cB75c0f45615f680F66c7C0C8","block":93270368,"bits":200,"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":false},{"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":true},{"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":true},{"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":true},{"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":3180,"selectors":["0x0885f732","0x3138f883","0x4702461e","0x4ceb168d","0x575e24b4","0x6fe7e6eb","0x8da10869","0x8e79acfd","0xb47b2fb1","0xc4e833ce","0xd7a41f92","0xdc98354e","0xdcef3193","0xea940ca0"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":1,"addresses":[]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":null,"functions":[{"selector":"0x0885f732","name":"poolConfig(bytes32)"},{"selector":"0x3138f883","name":null},{"selector":"0x4702461e","name":null},{"selector":"0x4ceb168d","name":"isExempt(bytes32,address)"},{"selector":"0x575e24b4","name":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)"},{"selector":"0x6fe7e6eb","name":"afterInitialize(address,(address,address,uint24,int24,address),uint160,int24)"},{"selector":"0x8da10869","name":"SNIPE_WINDOW_SECONDS()"},{"selector":"0x8e79acfd","name":"SNIPE_TAX_BPS()"},{"selector":"0xb47b2fb1","name":"afterSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),int256,bytes)"},{"selector":"0xc4e833ce","name":"getHookPermissions()"},{"selector":"0xd7a41f92","name":"currentSnipeTaxBps(bytes32,address)"},{"selector":"0xdc98354e","name":"beforeInitialize(address,(address,address,uint24,int24,address),uint160)"},{"selector":"0xdcef3193","name":"launchTimestamp(bytes32)"},{"selector":"0xea940ca0","name":"pendingTax(bytes32)"}],"history":{"pools":5,"firstTime":1788976333,"lastTime":1789048995},"pools":[{"id":"0x8c7e1bddadb23dcb4e1735e2966e8705e5d83477c0e2aa8a51a85952fb8433cf","key":{"currency0":"0x1ed2bcF6f72Efd9E19370019799A3faecE8C57D9","currency1":"0x25C288E6D899b9BC30160965aD9644c67e73bE0C","fee":5000,"tickSpacing":200,"hooks":"0xD30a1d2f11FAe11cB75c0f45615f680F66c7C0C8"},"symbols":["SNUF","F"],"state":{"sqrtP":"47964328443359278382028004","tick":-148200,"protocolFee":0,"lpFee":5000,"liquidity":"605394936866341190547564"},"swaps":[{"zeroForOne":true,"ok":false,"why":"thin","reason":"no liquidity below the price"},{"zeroForOne":false,"ok":true,"amountIn":"183251514791700617","paid":"183251514791700617","got":"497252616823130487425317","expected":"497252616823130487425317","feePpm":5000,"takePpm":0}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-3920863939497281336537","-1083126802051499"],"removed":["3920863939497281336536","1083126802051498"]}},{"id":"0x44a88be958cd52aec9056de4a259d97976dd1347246c73ab0ba5ebe72c2b9611","key":{"currency0":"0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73","currency1":"0x73d0d5F5832A38565cd20c80381b853e7E01A58e","fee":30000,"tickSpacing":200,"hooks":"0xD30a1d2f11FAe11cB75c0f45615f680F66c7C0C8"},"symbols":["WETH","PCHILD"],"state":{"sqrtP":"1761570959212924479078027230641203","tick":200197,"protocolFee":0,"lpFee":30000,"liquidity":"44970693614421769510836"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"1011297729287763","paid":"1011297729287763","got":"484709242704076010919349","expected":"484709242704076010919349","feePpm":30000,"takePpm":0},{"zeroForOne":false,"ok":true,"amountIn":"28697583854301212428885","paid":"28697583854301212428885","got":"56307190809987","expected":"56307190809987","feePpm":30000,"takePpm":0}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-5999909855175","-3909384905845319603686"],"removed":["5999909855174","3909384905845319603685"]}}],"openCallbacks":[],"checks":[{"id":"01","title":"Permissions that touch your money","status":"caution","detail":"The address enables before swap returns delta. The hook is allowed to take; the next two checks measure whether it does."},{"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":"A fixed fee, but a high one: 3%."},{"id":"05","title":"No one holds the switch","status":"pass","detail":"No owner and no admin functions found."},{"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":"5 pools over 40 days."}],"score":93,"verdict":"caution"}