{"hook":"0x26FDFdc2bB38eFF0bad6E368f904c293aE9768cC","block":92948330,"bits":10444,"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":true},{"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":21893,"selectors":["0x03fd2a45","0x1a7f9ddd","0x1f3ef23d","0x20319c6d","0x21a048a8","0x21d0ee70","0x23824336","0x259982e5","0x266a439b","0x2a6558de","0x2af9febb","0x2b68f2a5","0x301da5d8","0x3b75fa8a","0x3c5ff7b9","0x419c3267","0x41eec66f","0x4841c832","0x4c4bbb3a","0x53ed6018","0x56f349a0","0x575e24b4","0x5bb47808","0x6ba42aaa","0x6c2bbe7e","0x6fe7e6eb","0x73035002","0x7962c91a","0x7a63068b","0x7da3dafe","0x7da4346d","0x7e8c595a","0x81358498","0x817025b9","0x8c01dba9","0x8d2b64d3","0x8da5cb5b","0x8ebd2d29","0x904d97df","0x91dd7346","0x928a47d8","0x98871c91","0x988c8dcb","0x9913833c","0x9f063efc","0xa248d907","0xa400932f","0xa8cdfd1f","0xac7e1e92","0xb47b2fb1","0xb57f4d9c","0xb612761c","0xb6a8b0fa","0xbd66528a","0xbed6a16f","0xc3253dd2","0xc3f565e1","0xc45a0155","0xc4e833ce","0xc7c31fe2","0xcaab6e79","0xcbaa1a47","0xcc7d234a","0xd0280936","0xd1b9e853","0xd1ec4cf6","0xd29cbe66","0xd55be8c6","0xdc4c90d3","0xdc98354e","0xde1a65c9","0xe0496a37","0xe1b4af69","0xe1d8dec7","0xe4cf7b66","0xf2fde38b","0xf4608ce2","0xf47877fb","0xf48403ae","0xf4d43bdf"],"delegatecall":true,"selfdestruct":false,"create":false,"calls":5,"addresses":["0x58B6B173BAC22791b01cb6b9553beaA55a27629f","0x0D0DEDEd67440c4c2c840E0DedED840D2dCc8caf","0x647F860bBA05ecDBA3d495078016699E93513EbD","0x686F6f6B3A20726563697069656e74207A65726F","0x237945dc4E52F88a11E968e80554ea28bC4ca4F2","0x79d8582a52F383Ae132a0656949fF18fFE36D40D","0x1a1bdBdACe88185b1c9958591e481cd959591959","0x1a1BDBdaCE881B9Bdd081c9959dA5CdD195C9959"]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":"0x823e03bd37De307D6717c2927A879353BDE1C16b","functions":[{"selector":"0x03fd2a45","name":"DEAD()"},{"selector":"0x1a7f9ddd","name":"getPoolCfg(bytes32)"},{"selector":"0x1f3ef23d","name":"pendingReassign(address)"},{"selector":"0x20319c6d","name":"twapTick(bytes32,uint32)"},{"selector":"0x21a048a8","name":"MODE_STANDARD()"},{"selector":"0x21d0ee70","name":"beforeRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)"},{"selector":"0x23824336","name":"MODE_VESTED()"},{"selector":"0x259982e5","name":"beforeAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)"},{"selector":"0x266a439b","name":"actionFromSwap(bytes32)"},{"selector":"0x2a6558de","name":"platformPushThreshold()"},{"selector":"0x2af9febb","name":"platformRecipient()"},{"selector":"0x2b68f2a5","name":"PUSH_GAS()"},{"selector":"0x301da5d8","name":"PLATFORM_TRADE_BPS()"},{"selector":"0x3b75fa8a","name":"setPushGas(uint256,uint256,uint256)"},{"selector":"0x3c5ff7b9","name":"blockStartTick(bytes32)"},{"selector":"0x419c3267","name":"quoteActionThreshold(address)"},{"selector":"0x41eec66f","name":"maxActionBps()"},{"selector":"0x4841c832","name":"flush(bytes32)"},{"selector":"0x4c4bbb3a","name":"platformAccruedOf(address)"},{"selector":"0x53ed6018","name":"setPlatformPushThreshold(uint256)"},{"selector":"0x56f349a0","name":"actionThresholdDefault()"},{"selector":"0x575e24b4","name":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)"},{"selector":"0x5bb47808","name":"setFactory(address)"},{"selector":"0x6ba42aaa","name":"isKeeper(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":"0x73035002","name":"poolCountOf(address)"},{"selector":"0x7962c91a","name":"poolsOf(address)"},{"selector":"0x7a63068b","name":"holderPushGas()"},{"selector":"0x7da3dafe","name":"snipeTaxBps(bytes32)"},{"selector":"0x7da4346d","name":"v3Addresses()"},{"selector":"0x7e8c595a","name":"seed((address,address,uint24,int24,address),uint256)"},{"selector":"0x81358498","name":"MAX_POOLS()"},{"selector":"0x817025b9","name":"MODE_BURN()"},{"selector":"0x8c01dba9","name":"holderHeld(bytes32)"},{"selector":"0x8d2b64d3","name":"vetoReassign(address)"},{"selector":"0x8da5cb5b","name":"owner()"},{"selector":"0x8ebd2d29","name":"clearRoute(address)"},{"selector":"0x904d97df","name":"executeReassign(address)"},{"selector":"0x91dd7346","name":"unlockCallback(bytes)"},{"selector":"0x928a47d8","name":"proposeReassign(address,address,address)"},{"selector":"0x98871c91","name":"erc20PushGas()"},{"selector":"0x988c8dcb","name":"routeOf(address)"},{"selector":"0x9913833c","name":"REASSIGN_DELAY()"},{"selector":"0x9f063efc","name":"afterAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)"},{"selector":"0xa248d907","name":"clearLaunching()"},{"selector":"0xa400932f","name":"setRoute(address,(bytes,bytes,address,uint32,uint16))"},{"selector":"0xa8cdfd1f","name":"registerPool((address,address,uint24,int24,address),(address,address,address,uint8,uint16,uint16,uint16,uint256,int24,int24,uint16,uint16))"},{"selector":"0xac7e1e92","name":"poolKeys(bytes32)"},{"selector":"0xb47b2fb1","name":"afterSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),int256,bytes)"},{"selector":"0xb57f4d9c","name":"platformAccrued()"},{"selector":"0xb612761c","name":"setQuoteActionThreshold(address,uint256)"},{"selector":"0xb6a8b0fa","name":"beforeDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)"},{"selector":"0xbd66528a","name":"claim(bytes32)"},{"selector":"0xbed6a16f","name":"MAX_SNIPE_TAX_BPS()"},{"selector":"0xc3253dd2","name":"hasRoute(address)"},{"selector":"0xc3f565e1","name":"MODE_PORTFOLIO()"},{"selector":"0xc45a0155","name":null},{"selector":"0xc4e833ce","name":"getHookPermissions()"},{"selector":"0xc7c31fe2","name":"setMaxActionBps(uint16)"},{"selector":"0xcaab6e79","name":"MODE_AUTO_LP()"},{"selector":"0xcbaa1a47","name":"MIN_FEE_BPS()"},{"selector":"0xcc7d234a","name":"lowerFee(address,uint16)"},{"selector":"0xd0280936","name":"setPlatformRecipient(address)"},{"selector":"0xd1b9e853","name":"setKeeper(address,bool)"},{"selector":"0xd1ec4cf6","name":"seeded(bytes32)"},{"selector":"0xd29cbe66","name":"flushPlatform(address)"},{"selector":"0xd55be8c6","name":"MAX_FEE_BPS()"},{"selector":"0xdc4c90d3","name":"poolManager()"},{"selector":"0xdc98354e","name":"beforeInitialize(address,(address,address,uint24,int24,address),uint160)"},{"selector":"0xde1a65c9","name":"flushHolders(bytes32)"},{"selector":"0xe0496a37","name":"setActionThresholdDefault(uint256)"},{"selector":"0xe1b4af69","name":"afterDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)"},{"selector":"0xe1d8dec7","name":"poolKeyAt(address,uint256)"},{"selector":"0xe4cf7b66","name":"pathsOf(address)"},{"selector":"0xf2fde38b","name":"transferOwnership(address)"},{"selector":"0xf4608ce2","name":"creatorWantsEth(bytes32)"},{"selector":"0xf47877fb","name":"SNIPE_TAX_PLATFORM_BPS()"},{"selector":"0xf48403ae","name":"setLaunching(bytes32)"},{"selector":"0xf4d43bdf","name":"reassignToken(address,address,address)"}],"history":{"pools":37,"firstTime":1791833621,"lastTime":1792400269},"pools":[{"id":"0x2b8dff8448987f7485dca0b45cd7513ae928c5634350f1e67ada617eacac0341","key":{"currency0":"0x4a0E65A3EcceC6dBe60AE065F2e7bb85Fae35eEa","currency1":"0xB6FbD561570096Aa6b1F8a973799B47ca52d50DA","fee":0,"tickSpacing":200,"hooks":"0x26FDFdc2bB38eFF0bad6E368f904c293aE9768cC"},"symbols":["SPCX","SPACEX"],"state":{"sqrtP":"674602800587632902358543964254171","tick":180999,"protocolFee":0,"lpFee":0,"liquidity":"118241066064160901417834"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"6943361626894307","paid":"6943361626894307","got":"493083216813000186614633","expected":"503141110658179631165476","feePpm":0,"takePpm":19991},{"zeroForOne":false,"ok":false,"why":"thin","reason":"no liquidity above the price"}],"roundTrip":{"ok":false,"stage":"add","reason":"hook: liquidity locked"}},{"id":"0x2d247db88382fc6efa09019a1c8cd2751a8fc0192e8d7683ee7de91712b1f9ee","key":{"currency0":"0x4a0E65A3EcceC6dBe60AE065F2e7bb85Fae35eEa","currency1":"0x5E32DCeDb236A4720440acf6f2Cb3f2239A650DA","fee":0,"tickSpacing":200,"hooks":"0x26FDFdc2bB38eFF0bad6E368f904c293aE9768cC"},"symbols":["SPCX","LAIKA"],"state":{"sqrtP":"659005944944611634697103025688692","tick":180532,"protocolFee":0,"lpFee":0,"liquidity":"118241066064160901417834"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"7107691872778607","paid":"7107691872778607","got":"481683104412147623876711","expected":"491508459171750417170762","feePpm":0,"takePpm":19991},{"zeroForOne":false,"ok":true,"amountIn":"491754213401336361195661","paid":"491754213401336361195661","got":"6962057006819626","expected":"7104139802877169","feePpm":0,"takePpm":20000}],"roundTrip":{"ok":false,"stage":"add","reason":"hook: liquidity locked"}}],"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":"n/a","detail":"Closed to outside LPs: only the hook's own liquidity is in the pool."},{"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 0x823e03bd37De307D6717c2927A879353BDE1C16b. Owner-style functions: setPushGas, blockStartTick, setPlatformPushThreshold, setFactory, setRoute, setQuoteActionThreshold."},{"id":"06","title":"The code cannot change","status":"caution","detail":"The bytecode contains DELEGATECALL."},{"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":"37 pools over 7 days."}],"score":62,"verdict":"caution"}