{"hook":"0x99540bEC5a174289eBa6Df0bBE475718c35b1080","block":93118112,"bits":4224,"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":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":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":5040,"selectors":["0xdaf51f80","0xdc4c90d3","0xdf0b6fd1","0xe7c67097","0xf26ef49d","0xfe226e47","0x80fa02f7","0x8ec52597","0xac4e4054","0xd2b57a29","0xd5ae331a","0x575e24b4","0x6fe7e6eb","0x737f751f","0x778c6f07","0x791b98bc","0x1a3b8171","0x365ceaa3","0x3b01d64d","0x4b178bd3","0x500b19e7"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":2,"addresses":[]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":null,"functions":[{"selector":"0xdaf51f80","name":"FEE_0_3_PERCENT()"},{"selector":"0xdc4c90d3","name":"poolManager()"},{"selector":"0xdf0b6fd1","name":"feeAt(uint40,uint256)"},{"selector":"0xe7c67097","name":"FEE_0_5_PERCENT()"},{"selector":"0xf26ef49d","name":"DYNAMIC_FEE_FLAG()"},{"selector":"0xfe226e47","name":"rwaGuard()"},{"selector":"0x80fa02f7","name":"ROBINHOOD_CHAIN_ID()"},{"selector":"0x8ec52597","name":"PRICE_POLICY_ID()"},{"selector":"0xac4e4054","name":"REQUIRED_HOOK_FLAGS()"},{"selector":"0xd2b57a29","name":"maximumOracleAge()"},{"selector":"0xd5ae331a","name":"rwaHookBindingHash()"},{"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":"0x737f751f","name":"ALL_HOOK_FLAGS_MASK()"},{"selector":"0x778c6f07","name":"FEE_1_PERCENT()"},{"selector":"0x791b98bc","name":"positionManager()"},{"selector":"0x1a3b8171","name":"poolIdOf((address,address,uint24,int24,address))"},{"selector":"0x365ceaa3","name":"poolFeeState(bytes32)"},{"selector":"0x3b01d64d","name":"OVERRIDE_FEE_FLAG()"},{"selector":"0x4b178bd3","name":"launchAuthority()"},{"selector":"0x500b19e7","name":"feeOracle()"}],"history":{"pools":9,"firstTime":1789384333,"lastTime":1789385730},"pools":[{"id":"0x4340b63877523b639caa61ae8371323749fc29a822b230f1c77c2a5d61dfc301","key":{"currency0":"0x25A4F9A1a00A8E994fd92091B44E65d141f51aaa","currency1":"0x385F4f8ae47651ce5F58F5265395a669f8281e18","fee":8388608,"tickSpacing":60,"hooks":"0x99540bEC5a174289eBa6Df0bBE475718c35b1080"},"symbols":["TV3C","MEME"],"state":{"sqrtP":"527072302322598974896756367","tick":-100260,"protocolFee":0,"lpFee":10000,"liquidity":"6669123801317845033536410"},"swaps":[{"zeroForOne":true,"ok":false,"why":"thin","reason":"no liquidity below the price"},{"zeroForOne":false,"ok":true,"amountIn":"22183465606703770470","paid":"22183465606703770470","got":"499490105216786907790656","expected":"495984888707667539382433","feePpm":10000,"takePpm":-7067}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-3254052818249930129230","-131117640082376353"],"removed":["3254052818249930129229","131117640082376352"]}},{"id":"0xbc6f4b3490048960ff5c5c997c5bad045c9d54851a945c32bb28a1627f7a69d5","key":{"currency0":"0x1b598a9dAd82182D2cba79C01B3E30fE41a14Aaa","currency1":"0x385F4f8ae47651ce5F58F5265395a669f8281e18","fee":8388608,"tickSpacing":60,"hooks":"0x99540bEC5a174289eBa6Df0bBE475718c35b1080"},"symbols":["TV3C","MEME"],"state":{"sqrtP":"528655814135440615623979193","tick":-100200,"protocolFee":0,"lpFee":10000,"liquidity":"6689160210505263176253758"},"swaps":[{"zeroForOne":true,"ok":false,"why":"thin","reason":"no liquidity below the price"},{"zeroForOne":false,"ok":true,"amountIn":"22316959807886380900","paid":"22316959807886380900","got":"499490105216786907793750","expected":"495984888707667539385737","feePpm":10000,"takePpm":-7067}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-3254052818249930129231","-131906671198346636"],"removed":["3254052818249930129230","131906671198346635"]}}],"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 before every swap. It stands at 1% now and can change."},{"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":"9 pools over 35 days."}],"score":98,"verdict":"caution"}