{"hook":"0xe06cfAc2923C739C628095fBaF439FBAe5A260cc","block":93206248,"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":6,"firstTime":1784755883,"lastTime":1784755990},"pools":[{"id":"0x5c0fc66015aa457d1e6cf5aeae74f8a0d9f69f10bfb1c08719d7f78ae6a6f37e","key":{"currency0":"0x0A9a6b7E98DAaca1A40630EbF98e4C44b7258eDA","currency1":"0xd0601CE157Db5bdC3162BbaC2a2C8aF5320D9EEC","fee":0,"tickSpacing":60,"hooks":"0xe06cfAc2923C739C628095fBaF439FBAe5A260cc"},"symbols":["MEME","NVDA"],"state":{"sqrtP":"42413373565652299687324355","tick":-150660,"protocolFee":0,"lpFee":0,"liquidity":"181747324636586086188400"},"swaps":[{"zeroForOne":true,"ok":false,"why":"thin","reason":"no liquidity below the price"},{"zeroForOne":false,"ok":true,"amountIn":"48647582688678133","paid":"48647582688678133","got":"167971294456086168021926","expected":"169667126282153801406537","feePpm":0,"takePpm":9996}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-1102024429683932522288","-287536508088446"],"removed":["1102024429683932522287","287536508088445"]}},{"id":"0x0b408fa33edb5bfab1fad335264c54f0f06e0ba6319ff45d0e0e9e69b462f4f6","key":{"currency0":"0x0A9a6b7E98DAaca1A40630EbF98e4C44b7258eDA","currency1":"0xaF3D76f1834A1d425780943C99Ea8A608f8a93f9","fee":0,"tickSpacing":60,"hooks":"0xe06cfAc2923C739C628095fBaF439FBAe5A260cc"},"symbols":["MEME","AAPL"],"state":{"sqrtP":"36946489138467097783204423","tick":-153420,"protocolFee":0,"lpFee":0,"liquidity":"158273462269827361058387"},"swaps":[{"zeroForOne":true,"ok":false,"why":"thin","reason":"no liquidity below the price"},{"zeroForOne":false,"ok":true,"amountIn":"36903851920123356","paid":"36903851920123356","got":"167920913144011759225751","expected":"169616236322261134556666","feePpm":0,"takePpm":9996}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-1101693888463271474733","-218123987455495"],"removed":["1101693888463271474732","218123987455494"]}}],"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":"6 pools over 89 days."}],"score":88,"verdict":"caution"}