{"hook":"0xf8Bee8584a6eD7F4961657057022Aab95568d0Cc","block":93396048,"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":23465,"selectors":["0x07597c7d","0x0808634c","0x0b8c5565","0x0e99d055","0x18178358","0x1e97f91a","0x21d0ee70","0x22163b86","0x2234c28c","0x259982e5","0x2d97c997","0x302469bf","0x32e614fc","0x36d64d5c","0x388f6064","0x3a04272d","0x3a371e32","0x3e23d733","0x4061a5bf","0x41cd25bd","0x42df21de","0x48b277ee","0x48e09f37","0x4bde38c8","0x516ba238","0x52b2f01d","0x543f99a8","0x57150546","0x575e24b4","0x5862df0f","0x5b4ca96c","0x61a7b2df","0x61d027b3","0x62d00ac3","0x63860139","0x6c2bbe7e","0x6fd1af8d","0x6fe7e6eb","0x719ce73e","0x72cb6701","0x73962620","0x79ba5097","0x7b2124d2","0x7bffc393","0x7c7d079c","0x8525d15d","0x8b9f3d0e","0x8da5cb5b","0x90409f49","0x91dd7346","0x9838db30","0x9f063efc","0xa4b44372","0xad5c4648","0xae6f455c","0xaf6482b7","0xb36c40f3","0xb47b2fb1","0xb6a8b0fa","0xbb2a46d9","0xbe8b206e","0xbfa827ac","0xc4526ec5","0xc5be9457","0xc855d4cb","0xd0b0589d","0xd0b7830b","0xd0c93a7c","0xd74e2717","0xdb30f924","0xdc4c90d3","0xdc98354e","0xdd0bebe8","0xe0712aeb","0xe1b4af69","0xe1c33a45","0xe30c3978","0xe61f0e34","0xf2fde38b","0xf46d0676","0xf6d11945","0xf851a440","0xfa35a002"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":15,"addresses":["0xfFfD8963eFD1FC6A506488495D951d5263988d26","0xfFfd8963EFd1fC6A506488495d951d5263988d25"]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":"0x9eb2b58df71d545260D5DB857DA0Ab5b461E6559","functions":[{"selector":"0x07597c7d","name":null},{"selector":"0x0808634c","name":"cutoffSecondsFromMidnightUTC()"},{"selector":"0x0b8c5565","name":"uerc20Factory()"},{"selector":"0x0e99d055","name":null},{"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":"0x2234c28c","name":null},{"selector":"0x259982e5","name":"beforeAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)"},{"selector":"0x2d97c997","name":null},{"selector":"0x302469bf","name":"topupPrize()"},{"selector":"0x32e614fc","name":"startingMcapTick()"},{"selector":"0x36d64d5c","name":"dayId()"},{"selector":"0x388f6064","name":"memes(uint256)"},{"selector":"0x3a04272d","name":null},{"selector":"0x3a371e32","name":"netWethFlow(uint256)"},{"selector":"0x3e23d733","name":"MIN_CONFIG_DELAY()"},{"selector":"0x4061a5bf","name":"getTop3()"},{"selector":"0x41cd25bd","name":"executePrizeForEndedDay(uint256,uint256,uint256,uint256,uint256,bool)"},{"selector":"0x42df21de","name":"tokenToMeme(address)"},{"selector":"0x48b277ee","name":null},{"selector":"0x48e09f37","name":null},{"selector":"0x4bde38c8","name":"platform()"},{"selector":"0x516ba238","name":"poolToMeme(bytes32)"},{"selector":"0x52b2f01d","name":"memePrizeWinBlock(uint256)"},{"selector":"0x543f99a8","name":"scheduleTreasury(address)"},{"selector":"0x57150546","name":"endingMcapTick()"},{"selector":"0x575e24b4","name":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)"},{"selector":"0x5862df0f","name":null},{"selector":"0x5b4ca96c","name":null},{"selector":"0x61a7b2df","name":"canonicalPoolId(uint256)"},{"selector":"0x61d027b3","name":"treasury()"},{"selector":"0x62d00ac3","name":"platformSplit()"},{"selector":"0x63860139","name":"nextPrizePool()"},{"selector":"0x6c2bbe7e","name":"afterRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)"},{"selector":"0x6fd1af8d","name":null},{"selector":"0x6fe7e6eb","name":"afterInitialize(address,(address,address,uint24,int24,address),uint160,int24)"},{"selector":"0x719ce73e","name":"prizePool()"},{"selector":"0x72cb6701","name":"scheduleAdmin(address)"},{"selector":"0x73962620","name":"withdrawCreatorFees(uint256)"},{"selector":"0x79ba5097","name":"acceptOwnership()"},{"selector":"0x7b2124d2","name":"memeCount()"},{"selector":"0x7bffc393","name":null},{"selector":"0x7c7d079c","name":null},{"selector":"0x8525d15d","name":"totalWethLiabilities()"},{"selector":"0x8b9f3d0e","name":"executeAdmin()"},{"selector":"0x8da5cb5b","name":"owner()"},{"selector":"0x90409f49","name":"gameRoundDuration()"},{"selector":"0x91dd7346","name":"unlockCallback(bytes)"},{"selector":"0x9838db30","name":null},{"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":"0xae6f455c","name":null},{"selector":"0xaf6482b7","name":null},{"selector":"0xb36c40f3","name":null},{"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":"0xbb2a46d9","name":"executeTreasury()"},{"selector":"0xbe8b206e","name":"top3Memes(uint256)"},{"selector":"0xbfa827ac","name":null},{"selector":"0xc4526ec5","name":null},{"selector":"0xc5be9457","name":null},{"selector":"0xc855d4cb","name":null},{"selector":"0xd0b0589d","name":"inTop3(uint256)"},{"selector":"0xd0b7830b","name":"withdrawPlatformFees()"},{"selector":"0xd0c93a7c","name":"tickSpacing()"},{"selector":"0xd74e2717","name":"TierRequirementChanged(uint256,uint256)"},{"selector":"0xdb30f924","name":null},{"selector":"0xdc4c90d3","name":"poolManager()"},{"selector":"0xdc98354e","name":"beforeInitialize(address,(address,address,uint24,int24,address),uint160)"},{"selector":"0xdd0bebe8","name":"lastFlowDayId(uint256)"},{"selector":"0xe0712aeb","name":null},{"selector":"0xe1b4af69","name":"afterDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)"},{"selector":"0xe1c33a45","name":"MAX_CONFIG_DELAY()"},{"selector":"0xe30c3978","name":"pendingOwner()"},{"selector":"0xe61f0e34","name":"memePoolKey(uint256)"},{"selector":"0xf2fde38b","name":"transferOwnership(address)"},{"selector":"0xf46d0676","name":"configDelay()"},{"selector":"0xf6d11945","name":"totalCreatorFeesAccrued()"},{"selector":"0xf851a440","name":"admin()"},{"selector":"0xfa35a002","name":"memeCreatedBlock(uint256)"}],"history":{"pools":3,"firstTime":1784744882,"lastTime":1784748335},"pools":[{"id":"0x7efcaafacd8f9760b00fd3a1b3f173ed053cbb6abed43da230871479b2209bac","key":{"currency0":"0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73","currency1":"0xe8EF30f76A5e506c5973Ca44e34d0281F2C6eA6b","fee":0,"tickSpacing":100,"hooks":"0xf8Bee8584a6eD7F4961657057022Aab95568d0Cc"},"symbols":["WETH","SAMURAISUSHI"],"state":{"sqrtP":"11203523247270000874076168252681639","tick":237199,"protocolFee":0,"lpFee":0,"liquidity":"353939192173020097075391"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"1251479165024473","paid":"1251479165024473","got":"24762470296322782964565045","expected":"25012471258430833221843055","feePpm":0,"takePpm":9996},{"zeroForOne":false,"ok":false,"why":"thin","reason":"no liquidity above the price"}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-7396995475797","-172136279881950032212599"],"removed":["7396995475796","172136279881950032212598"]}},{"id":"0x0fa56f43a46f6bbb2fbf252524eb7250201746c0312a365271eb3cb68196b87a","key":{"currency0":"0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73","currency1":"0x19d83bFff5a5dD64E24016288B36072A0D46A1Ec","fee":0,"tickSpacing":100,"hooks":"0xf8Bee8584a6eD7F4961657057022Aab95568d0Cc"},"symbols":["WETH","LITTLEKITTY"],"state":{"sqrtP":"11203523247270000874076168252794835","tick":237199,"protocolFee":0,"lpFee":0,"liquidity":"353939192173020097075391"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"1251479165024473","paid":"1251479165024473","got":"24762470296322782964565045","expected":"25012471258430833221843055","feePpm":0,"takePpm":9996},{"zeroForOne":false,"ok":false,"why":"thin","reason":"no liquidity above the price"}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-7396995475797","-172136279881950032212599"],"removed":["7396995475796","172136279881950032212598"]}}],"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 0x9eb2b58df71d545260D5DB857DA0Ab5b461E6559. Owner-style functions: withdrawCreatorFees, withdrawPlatformFees, 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":"3 pools over 89 days."}],"score":88,"verdict":"caution"}