{"hook":"0x2Ab65CB22064f84CB832bE2efFD00d218bE6e0cC","block":93000537,"bits":8396,"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":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":18919,"selectors":["0x01099984","0x16eebd1e","0x1d8ef3ef","0x3b14a781","0x575e24b4","0x578fd68b","0x715018a6","0x76e3b12e","0x79ba5097","0x7b103999","0x8080da69","0x85ec9bd9","0x891ebbac","0x8cebd942","0x8da5cb5b","0x91dd7346","0xa1306fe0","0xb47b2fb1","0xb738d2cc","0xccdd1429","0xcfd6d5e9","0xd63b8a78","0xdc4c90d3","0xdc98354e","0xe30c3978","0xeca9ad5d","0xedd6d1f6","0xef635c0e","0xf2fde38b","0xf4c094c8","0xff94e4f3"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":30,"addresses":["0xffFf000000000000000000000000000000000000","0xfFfd8963EFd1fC6A506488495d951d5263988d25"]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":"0xd51778f6238560d8442a3D868C7a2bDED13626F9","functions":[{"selector":"0x01099984","name":"harvest((address,address,uint24,int24,address))"},{"selector":"0x16eebd1e","name":"launcher()"},{"selector":"0x1d8ef3ef","name":"currentFeeBps(bytes32)"},{"selector":"0x3b14a781","name":"claimPartnerFees(bytes32,address,address)"},{"selector":"0x575e24b4","name":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)"},{"selector":"0x578fd68b","name":"harvestSlippageBps()"},{"selector":"0x715018a6","name":"renounceOwnership()"},{"selector":"0x76e3b12e","name":"flywheel(bytes32)"},{"selector":"0x79ba5097","name":"acceptOwnership()"},{"selector":"0x7b103999","name":"registry()"},{"selector":"0x8080da69","name":"flywheelRegistered(bytes32)"},{"selector":"0x85ec9bd9","name":"setCreator(bytes32,address)"},{"selector":"0x891ebbac","name":"minHarvestWeth()"},{"selector":"0x8cebd942","name":"poolInfo(bytes32)"},{"selector":"0x8da5cb5b","name":"owner()"},{"selector":"0x91dd7346","name":"unlockCallback(bytes)"},{"selector":"0xa1306fe0","name":"registerFlywheel((address,address,uint24,int24,address),(uint16,uint16,uint16,uint16,uint16))"},{"selector":"0xb47b2fb1","name":"afterSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),int256,bytes)"},{"selector":"0xb738d2cc","name":"claimProtocolFees(bytes32,address)"},{"selector":"0xccdd1429","name":"flywheelPendingWeth(bytes32)"},{"selector":"0xcfd6d5e9","name":"keeperRewardBps()"},{"selector":"0xd63b8a78","name":"setHarvestParams(uint16,uint128,uint16)"},{"selector":"0xdc4c90d3","name":"poolManager()"},{"selector":"0xdc98354e","name":"beforeInitialize(address,(address,address,uint24,int24,address),uint160)"},{"selector":"0xe30c3978","name":"pendingOwner()"},{"selector":"0xeca9ad5d","name":"feeBalances(bytes32,address)"},{"selector":"0xedd6d1f6","name":"claimCreatorFees(bytes32,address,address)"},{"selector":"0xef635c0e","name":"register((address,address,uint24,int24,address),(address,address,address,uint16,uint40,uint160,(uint8,uint16,uint8,uint16,uint32,uint32,uint16,uint16,uint16,uint256,uint256)))"},{"selector":"0xf2fde38b","name":"transferOwnership(address)"},{"selector":"0xf4c094c8","name":"setLauncher(address)"},{"selector":"0xff94e4f3","name":"creatorOf(bytes32)"}],"history":{"pools":17,"firstTime":1784014294,"lastTime":1784020059},"pools":[{"id":"0x02089beb376e47181bae9a0feae4d56faf646cf95cbbae13fe65b8ad4860ec9a","key":{"currency0":"0x07d4931d7eDf56DDa2E7C75595b19B665Cd64663","currency1":"0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73","fee":0,"tickSpacing":60,"hooks":"0x2Ab65CB22064f84CB832bE2efFD00d218bE6e0cC"},"symbols":["HOWIE","WETH"],"state":{"sqrtP":"4338726425872509163379817","tick":-196260,"protocolFee":0,"lpFee":0,"liquidity":"113002736106936186383095"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"1617585034366981089822","paid":"1617585034366981089822","got":"4753989541500","expected":"4851009736224","feePpm":0,"takePpm":20000},{"zeroForOne":false,"ok":true,"amountIn":"3094152014788867","paid":"3094152014788867","got":"1010623991078233888683157","expected":"1031238663151956786882288","feePpm":0,"takePpm":19991}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-6697490595524851430148","-18290184686290"],"removed":["6697490595524851430147","18290184686289"]}},{"id":"0x1d242520a21ff8ce92df275544f93617846dfc141fb7506b66969091b62e440c","key":{"currency0":"0x0a23e8A5810eE9F4c1D3CD72d785e7DB8bDe4663","currency1":"0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73","fee":0,"tickSpacing":60,"hooks":"0x2Ab65CB22064f84CB832bE2efFD00d218bE6e0cC"},"symbols":["ROBIN","WETH"],"state":{"sqrtP":"250253808951010495893493","tick":-253320,"protocolFee":0,"lpFee":0,"liquidity":"47180277199454356844135"},"swaps":[{"zeroForOne":true,"ok":false,"why":"thin","reason":"no liquidity below the price"},{"zeroForOne":false,"ok":true,"amountIn":"74512923825553","paid":"74512923825553","got":"7390088715063803786942843","expected":"7464698770794105244981033","feePpm":0,"takePpm":9996}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-48484821932839531770095","-440416249691"],"removed":["48484821932839531770094","440416249690"]}}],"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% 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 0xd51778f6238560d8442a3D868C7a2bDED13626F9. Owner-style functions: claimPartnerFees, setCreator, claimProtocolFees, setHarvestParams, claimCreatorFees, transferOwnership."},{"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":"17 pools over 97 days."}],"score":75,"verdict":"caution"}