{"hook":"0xD623B79A6d49ED38C6b0183CaCa7612d41eb90cC","block":93362440,"bits":4300,"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":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":21378,"selectors":["0x0252b995","0x0b8c5565","0x0c0ef2b0","0x0e70dd8b","0x18178358","0x1e97f91a","0x21d0ee70","0x22163b86","0x259982e5","0x2743d786","0x2769c89a","0x302469bf","0x32e614fc","0x36d64d5c","0x388f6064","0x3a371e32","0x4061a5bf","0x41cd25bd","0x4290f3e8","0x42df21de","0x44ab0000","0x44d9bc5f","0x4bde38c8","0x4f51a6f0","0x516ba238","0x52b2f01d","0x52e54e0a","0x57150546","0x575e24b4","0x61a7b2df","0x61d027b3","0x6945c5ea","0x6c2bbe7e","0x6fe7e6eb","0x704b6c02","0x719ce73e","0x73962620","0x79ba5097","0x7b2124d2","0x8525d15d","0x8da5cb5b","0x91dd7346","0x9f063efc","0xa4b44372","0xad5c4648","0xaf354464","0xaf4eb44c","0xafe9fb90","0xb47b2fb1","0xb6a8b0fa","0xbe8b206e","0xd0b0589d","0xd0b7830b","0xd0c93a7c","0xd580f00a","0xdc4c90d3","0xdc98354e","0xdd0bebe8","0xe003ca38","0xe1b4af69","0xe1f0c376","0xe30c3978","0xe61f0e34","0xf085a610","0xf0f44260","0xf2fde38b","0xf6d11945","0xf851a440","0xfa35a002"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":18,"addresses":["0xfFfd8963EFd1fC6A506488495d951d5263988d25"]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":"0x9eb2b58df71d545260D5DB857DA0Ab5b461E6559","functions":[{"selector":"0x0252b995","name":"gameStartTime()"},{"selector":"0x0b8c5565","name":"uerc20Factory()"},{"selector":"0x0c0ef2b0","name":"isGameActive()"},{"selector":"0x0e70dd8b","name":"setCreateMemeFee(uint256)"},{"selector":"0x18178358","name":"poke()"},{"selector":"0x1e97f91a","name":"creatorFeesAccrued(uint256)"},{"selector":"0x21d0ee70","name":"beforeRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)"},{"selector":"0x22163b86","name":"platformFeesAccrued()"},{"selector":"0x259982e5","name":"beforeAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)"},{"selector":"0x2743d786","name":"setUERC20Factory(address)"},{"selector":"0x2769c89a","name":"setGameStartTime(uint256)"},{"selector":"0x302469bf","name":"topupPrize()"},{"selector":"0x32e614fc","name":"startingMcapTick()"},{"selector":"0x36d64d5c","name":"dayId()"},{"selector":"0x388f6064","name":"memes(uint256)"},{"selector":"0x3a371e32","name":"netWethFlow(uint256)"},{"selector":"0x4061a5bf","name":"getTop3()"},{"selector":"0x41cd25bd","name":"executePrizeForEndedDay(uint256,uint256,uint256,uint256,uint256,bool)"},{"selector":"0x4290f3e8","name":"continuousGame()"},{"selector":"0x42df21de","name":"tokenToMeme(address)"},{"selector":"0x44ab0000","name":"setGameSchedule(uint256,uint256)"},{"selector":"0x44d9bc5f","name":"gameEndTime()"},{"selector":"0x4bde38c8","name":"platform()"},{"selector":"0x4f51a6f0","name":"setEndingMcapTick(int24)"},{"selector":"0x516ba238","name":"poolToMeme(bytes32)"},{"selector":"0x52b2f01d","name":"memePrizeWinBlock(uint256)"},{"selector":"0x52e54e0a","name":"memeRaceToken()"},{"selector":"0x57150546","name":"endingMcapTick()"},{"selector":"0x575e24b4","name":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)"},{"selector":"0x61a7b2df","name":"canonicalPoolId(uint256)"},{"selector":"0x61d027b3","name":"treasury()"},{"selector":"0x6945c5ea","name":"setPlatform(address)"},{"selector":"0x6c2bbe7e","name":"afterRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)"},{"selector":"0x6fe7e6eb","name":"afterInitialize(address,(address,address,uint24,int24,address),uint160,int24)"},{"selector":"0x704b6c02","name":"setAdmin(address)"},{"selector":"0x719ce73e","name":"prizePool()"},{"selector":"0x73962620","name":"withdrawCreatorFees(uint256)"},{"selector":"0x79ba5097","name":"acceptOwnership()"},{"selector":"0x7b2124d2","name":"memeCount()"},{"selector":"0x8525d15d","name":"totalWethLiabilities()"},{"selector":"0x8da5cb5b","name":"owner()"},{"selector":"0x91dd7346","name":"unlockCallback(bytes)"},{"selector":"0x9f063efc","name":"afterAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)"},{"selector":"0xa4b44372","name":"createMeme(string,string,address,string,string,string)"},{"selector":"0xad5c4648","name":"WETH()"},{"selector":"0xaf354464","name":"setStartingMcapTick(int24)"},{"selector":"0xaf4eb44c","name":"setContinuousGame(bool)"},{"selector":"0xafe9fb90","name":"setGameDuration(uint256)"},{"selector":"0xb47b2fb1","name":"afterSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),int256,bytes)"},{"selector":"0xb6a8b0fa","name":"beforeDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)"},{"selector":"0xbe8b206e","name":"top3Memes(uint256)"},{"selector":"0xd0b0589d","name":"inTop3(uint256)"},{"selector":"0xd0b7830b","name":"withdrawPlatformFees()"},{"selector":"0xd0c93a7c","name":"tickSpacing()"},{"selector":"0xd580f00a","name":"memeRacePoolKey()"},{"selector":"0xdc4c90d3","name":"poolManager()"},{"selector":"0xdc98354e","name":"beforeInitialize(address,(address,address,uint24,int24,address),uint160)"},{"selector":"0xdd0bebe8","name":"lastFlowDayId(uint256)"},{"selector":"0xe003ca38","name":"setMemeRace(address,(address,address,uint24,int24,address))"},{"selector":"0xe1b4af69","name":"afterDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)"},{"selector":"0xe1f0c376","name":"gameDuration()"},{"selector":"0xe30c3978","name":"pendingOwner()"},{"selector":"0xe61f0e34","name":"memePoolKey(uint256)"},{"selector":"0xf085a610","name":"setTickSpacing(int24)"},{"selector":"0xf0f44260","name":"setTreasury(address)"},{"selector":"0xf2fde38b","name":"transferOwnership(address)"},{"selector":"0xf6d11945","name":"totalCreatorFeesAccrued()"},{"selector":"0xf851a440","name":"admin()"},{"selector":"0xfa35a002","name":"memeCreatedBlock(uint256)"}],"history":{"pools":4,"firstTime":1785431766,"lastTime":1785601788},"pools":[{"id":"0x5c8113d58b8413af19d13a66d0d281266f92a90a49d44b46d3c182bca9ac4e6e","key":{"currency0":"0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73","currency1":"0x8ca6403280b35e1899323B41A001AeFBda1404cc","fee":0,"tickSpacing":100,"hooks":"0xD623B79A6d49ED38C6b0183CaCa7612d41eb90cC"},"symbols":["WETH","HOOK"],"state":{"sqrtP":"1117778850245248592581638376781854","tick":191099,"protocolFee":0,"lpFee":0,"liquidity":"15755843925564563497434"},"swaps":[{"zeroForOne":true,"ok":false,"why":"blocked","reason":"GameNotActive"},{"zeroForOne":false,"ok":false,"why":"blocked","reason":"GameNotActive"}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-3300403960160","-764516206351536507456"],"removed":["3300403960159","764516206351536507455"]}},{"id":"0x47afcc261fcbc7c0d9ade261bbab33b8e469a50d5e2e30c85609514efc52e5fb","key":{"currency0":"0x0271863898DB1457B48b2d3b30a67e902f6B2A16","currency1":"0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73","fee":0,"tickSpacing":100,"hooks":"0xD623B79A6d49ED38C6b0183CaCa7612d41eb90cC"},"symbols":["POOLSTRADE","WETH"],"state":{"sqrtP":"5615691989528554961504177","tick":-191100,"protocolFee":0,"lpFee":0,"liquidity":"15755843925564563497431"},"swaps":[{"zeroForOne":true,"ok":false,"why":"blocked","reason":"GameNotActive"},{"zeroForOne":false,"ok":false,"why":"blocked","reason":"GameNotActive"}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-764516206351536507456","-3300403960160"],"removed":["764516206351536507455","3300403960159"]}}],"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: GameNotActive. 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":"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 0x9eb2b58df71d545260D5DB857DA0Ab5b461E6559. Owner-style functions: setCreateMemeFee, setUERC20Factory, setGameStartTime, setGameSchedule, setEndingMcapTick, setPlatform."},{"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":"4 pools over 81 days."}],"score":63,"verdict":"danger"}