{"hook":"0x4A1Ac687B28F5e1A33160025a7A0889B07eE00CC","block":93148443,"bits":204,"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":true},{"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":5932,"selectors":["0xbfe10928","0xc45a0155","0xd2542513","0xdc4c90d3","0xaa1a1c3e","0xb47b2fb1","0xb5217bb4","0x5bb47808","0x8da5cb5b","0x91dd7346","0x9cfddc36","0x249d39e9","0x25d2a3f3","0x575e24b4"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":5,"addresses":[]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":"0x60f3554451e662AbB2f6021FC0f4765662731779","functions":[{"selector":"0xbfe10928","name":"distributor()"},{"selector":"0xc45a0155","name":null},{"selector":"0xd2542513","name":"sniped(bytes32,address)"},{"selector":"0xdc4c90d3","name":"poolManager()"},{"selector":"0xaa1a1c3e","name":"registerPool(bytes32,address,address,address,uint16,uint64,uint128)"},{"selector":"0xb47b2fb1","name":"afterSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),int256,bytes)"},{"selector":"0xb5217bb4","name":"pools(bytes32)"},{"selector":"0x5bb47808","name":"setFactory(address)"},{"selector":"0x8da5cb5b","name":"owner()"},{"selector":"0x91dd7346","name":"unlockCallback(bytes)"},{"selector":"0x9cfddc36","name":"flush(address,address)"},{"selector":"0x249d39e9","name":"BPS()"},{"selector":"0x25d2a3f3","name":"pendingFees(address)"},{"selector":"0x575e24b4","name":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)"}],"history":{"pools":9,"firstTime":1790072832,"lastTime":1790093547},"pools":[{"id":"0x3aee2373ba8dafc097981366397b9a1e0f41101a39f3b6dfe1fa22e7166905ea","key":{"currency0":"0x6E5Bb4e8B7d3D0f9d27d5B99A2e20264F72fA045","currency1":"0xd8Df5D4172FBcb4ea18BeCC7bdFd2f2747C20945","fee":0,"tickSpacing":60,"hooks":"0x4A1Ac687B28F5e1A33160025a7A0889B07eE00CC"},"symbols":["pFED","BRRR"],"state":{"sqrtP":"775196948806809052953415186879177","tick":183779,"protocolFee":0,"lpFee":0,"liquidity":"102203914290701379666076"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"5222820048170516","paid":"5222820048170516","got":"487262459550968909537129","expected":"499750124937531153154860","feePpm":0,"takePpm":24988},{"zeroForOne":false,"ok":false,"why":"thin","reason":"no liquidity above the price"}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-30870011540672","-3245984407744904187029"],"removed":["30870011540671","3245984407744904187028"]}},{"id":"0xf0ed22d126ebe808af87c8df1d390dedd680dfc309e295ba8bf834863ed79dae","key":{"currency0":"0x95D2E0b7f2f6125fDcA8DD78f27A534Be5c74B6a","currency1":"0xD3F2a9e26d094EE9419fb17f6838B776716bf6D0","fee":0,"tickSpacing":60,"hooks":"0x4A1Ac687B28F5e1A33160025a7A0889B07eE00CC"},"symbols":["TENDIES","pWALL"],"state":{"sqrtP":"7952985726246419454131359","tick":-184140,"protocolFee":0,"lpFee":0,"liquidity":"100380792307464582997874"},"swaps":[{"zeroForOne":true,"ok":false,"why":"thin","reason":"no liquidity below the price"},{"zeroForOne":false,"ok":true,"amountIn":"5038151732137170","paid":"5038151732137170","got":"487262459550968888726952","expected":"499750124937531194671463","feePpm":0,"takePpm":24988}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-3245984407744904186967","-29778510590119"],"removed":["3245984407744904186966","29778510590118"]}}],"openCallbacks":[],"checks":[{"id":"01","title":"Permissions that touch your money","status":"caution","detail":"The address enables before swap returns delta, after 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":"caution","detail":"It takes 2.50% of each swap on top of the pool fee."},{"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":"pass","detail":"A fixed fee of 0%, written in the pool key."},{"id":"05","title":"No one holds the switch","status":"caution","detail":"Owned by 0x60f3554451e662AbB2f6021FC0f4765662731779. Owner-style functions: setFactory."},{"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":"9 pools over 27 days."}],"score":75,"verdict":"caution"}