{"hook":"0x5A7D914597476393794E100dDD8b70f8c3f570CC","block":93096123,"bits":12492,"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":true},{"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":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":6674,"selectors":["0xd5ee2251","0xdc4c90d3","0xdc811757","0xdc98354e","0xf2bb4237","0xf2fde38b","0x8da5cb5b","0x93e59dc1","0xaced1661","0xb47b2fb1","0xc98997ed","0xd1571e47","0x474b5318","0x4dd8afb6","0x50892468","0x575e24b4","0x6fe7e6eb","0x748747e6","0x02d05d3f","0x06ddadf3","0x071b407a","0x226f9a55","0x3f516018"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":6,"addresses":[]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":"0x7171E64E979265aeD6588577D1c6b60A701d7866","functions":[{"selector":"0xd5ee2251","name":"registerFloor((address,address,uint24,int24,address),uint8,address,bool)"},{"selector":"0xdc4c90d3","name":"poolManager()"},{"selector":"0xdc811757","name":"stockIsCurrency0(bytes32)"},{"selector":"0xdc98354e","name":"beforeInitialize(address,(address,address,uint24,int24,address),uint160)"},{"selector":"0xf2bb4237","name":"windowRemaining()"},{"selector":"0xf2fde38b","name":"transferOwnership(address)"},{"selector":"0x8da5cb5b","name":"owner()"},{"selector":"0x93e59dc1","name":"whitelist()"},{"selector":"0xaced1661","name":"keeper()"},{"selector":"0xb47b2fb1","name":"afterSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),int256,bytes)"},{"selector":"0xc98997ed","name":"sweepPots(address,address)"},{"selector":"0xd1571e47","name":"reflections()"},{"selector":"0x474b5318","name":"currentFeeBps(address)"},{"selector":"0x4dd8afb6","name":"burnPot(address)"},{"selector":"0x50892468","name":"lpPot(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":"0x748747e6","name":"setKeeper(address)"},{"selector":"0x02d05d3f","name":"creator()"},{"selector":"0x06ddadf3","name":"quotron()"},{"selector":"0x071b407a","name":"floorStock(uint256)"},{"selector":"0x226f9a55","name":"floorOf(bytes32)"},{"selector":"0x3f516018","name":"setCreator(address)"}],"history":{"pools":10,"firstTime":1786539551,"lastTime":1786539560},"pools":[{"id":"0xe50be25fb812b8b8f084227b47bcc89a7c51ca6209f980d0b798de5e222f944a","key":{"currency0":"0x40686524e56AfF0F1446958725dCF6e6dA5381E6","currency1":"0xec262a75e413fAfD0dF80480274532C79D42da09","fee":8388608,"tickSpacing":60,"hooks":"0x5A7D914597476393794E100dDD8b70f8c3f570CC"},"symbols":["QUOTRON","MSTR"],"state":{"sqrtP":"45596963479048145485720770393","tick":-11051,"protocolFee":0,"lpFee":0,"liquidity":"46985422793653015578"},"swaps":[{"zeroForOne":true,"ok":false,"why":"blocked","reason":"NotHook"},{"zeroForOne":false,"ok":false,"why":"blocked","reason":"NotHook"}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-245378194608576","-86417628092538"],"removed":["245378194608575","86417628092537"]}},{"id":"0xdd44fd5ed18ff64d18bb63715557db86e958f698357095fe389d0d2abff57be2","key":{"currency0":"0x05b37Fb53A299a1b874A619e1c4C404D52C36F4C","currency1":"0x40686524e56AfF0F1446958725dCF6e6dA5381E6","fee":8388608,"tickSpacing":60,"hooks":"0x5A7D914597476393794E100dDD8b70f8c3f570CC"},"symbols":["RDDT","QUOTRON"],"state":{"sqrtP":"173306340625183690760225501450","tick":15655,"protocolFee":0,"lpFee":0,"liquidity":"34187268176508003243"},"swaps":[{"zeroForOne":true,"ok":false,"why":"blocked","reason":"NotHook"},{"zeroForOne":false,"ok":false,"why":"blocked","reason":"NotHook"}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-46539895086678","-241064383400676"],"removed":["46539895086677","241064383400675"]}}],"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":"fail","detail":"Every swap through it was refused: NotHook. Only an approved router may get through."},{"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 before every swap. It stands at 0% now and can change."},{"id":"05","title":"No one holds the switch","status":"caution","detail":"Owned by 0x7171E64E979265aeD6588577D1c6b60A701d7866. Owner-style functions: transferOwnership, sweepPots, burnPot, setKeeper, setCreator."},{"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":"10 pools over 68 days."}],"score":60,"verdict":"danger"}