{"hook":"0x13E699ADB08ec99114549514b2793b624bDFA0CC","block":93145972,"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":18949,"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":7,"firstTime":1784028477,"lastTime":1784066644},"pools":[{"id":"0x4a0fc835dd7ebe3ecf7c979da52bd0f18a841261f79cc70f5f013ac2f492e8d1","key":{"currency0":"0x08AFf7942C6Bc58F11Bdd397112A855107034663","currency1":"0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73","fee":0,"tickSpacing":60,"hooks":"0x13E699ADB08ec99114549514b2793b624bDFA0CC"},"symbols":["SQYEEZ","WETH"],"state":{"sqrtP":"4338712821394260318376766","tick":-196260,"protocolFee":0,"lpFee":0,"liquidity":"62588872277563748190588"},"swaps":[{"zeroForOne":true,"ok":false,"why":"thin","reason":"no liquidity below the price"},{"zeroForOne":false,"ok":true,"amountIn":"1713753885042976","paid":"1713753885042976","got":"565465458838167211392063","expected":"571174376690737308983394","feePpm":0,"takePpm":9996}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-3709900264803937618965","-10129317441768"],"removed":["3709900264803937618964","10129317441767"]}},{"id":"0x44489b1af263841c071f3d54f552361dbb774b74314cd7e5545901083caf54b3","key":{"currency0":"0x05A9A50Dda88CDddFecda86e8D47F5e09c614663","currency1":"0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73","fee":0,"tickSpacing":60,"hooks":"0x13E699ADB08ec99114549514b2793b624bDFA0CC"},"symbols":["ROBINSQUEEZ","WETH"],"state":{"sqrtP":"4338712821394260318376765","tick":-196260,"protocolFee":0,"lpFee":0,"liquidity":"62588872277563748190588"},"swaps":[{"zeroForOne":true,"ok":false,"why":"thin","reason":"no liquidity below the price"},{"zeroForOne":false,"ok":true,"amountIn":"1713753885042976","paid":"1713753885042976","got":"565465458838167211392063","expected":"571174376690737308983395","feePpm":0,"takePpm":9996}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-3709900264803937618965","-10129317441768"],"removed":["3709900264803937618964","10129317441767"]}}],"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":"pass","detail":"It takes 1.00% 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":"7 pools over 97 days."}],"score":88,"verdict":"caution"}