{"hook":"0x56Fe8bB0Cc2A20A8F586EC67Eba5E6cc4c6D70c0","block":93002989,"bits":12480,"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":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":false},{"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":false},{"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":12973,"selectors":["0xf2fde38b","0xf3f688b1","0xf5fe091c","0xf90f2758","0xe1b4af69","0xe30c3978","0xe6df6242","0xec2a7610","0xcd891623","0xd43012c0","0xdc4c90d3","0xdc98354e","0xc9eb012c","0xcaa93ee8","0xcb28cbc5","0xc079901c","0xc4e833ce","0xc889264c","0xc9978161","0xb6a8b0fa","0xbccbe5e2","0xbd8e62d6","0xa1285ce4","0xa67d13d5","0xb1ccf526","0xb47b2fb1","0x965d340c","0x980e567d","0x9f063efc","0x8b4c5b4c","0x8b85902b","0x8da5cb5b","0x9649adb3","0x6fa0f585","0x6fe7e6eb","0x715018a6","0x79ba5097","0x536dac9b","0x575e24b4","0x6c2bbe7e","0x6ef25c3a","0x4411a244","0x4b7478b9","0x4fbada35","0x32cb7944","0x342b6215","0x39039980","0x3bb8a8d4","0x259982e5","0x2f50a572","0x30f38cfb","0x1bc1e92f","0x1f9f2f45","0x21d0ee70","0x23c10d13","0x09093976","0x0ba0e2de","0x1bbb6248"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":0,"addresses":[]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":"0xa79C7Bd36483cBc6457bb23a0048a005e0136320","functions":[{"selector":"0xf2fde38b","name":"transferOwnership(address)"},{"selector":"0xf3f688b1","name":"autoBuybackStatus(bytes32,address,address)"},{"selector":"0xf5fe091c","name":"EARLY_BUY_CAP()"},{"selector":"0xf90f2758","name":"earlyBuyChargedTo(address,address)"},{"selector":"0xe1b4af69","name":"afterDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)"},{"selector":"0xe30c3978","name":"pendingOwner()"},{"selector":"0xe6df6242","name":"buybackLocker()"},{"selector":"0xec2a7610","name":"scheduleOf(bytes32)"},{"selector":"0xcd891623","name":"snipeFee()"},{"selector":"0xd43012c0","name":"isAuthenticatedRouter(address)"},{"selector":"0xdc4c90d3","name":"poolManager()"},{"selector":"0xdc98354e","name":"beforeInitialize(address,(address,address,uint24,int24,address),uint160)"},{"selector":"0xc9eb012c","name":"EARLY_CAP_BPS()"},{"selector":"0xcaa93ee8","name":"currentFee(bytes32)"},{"selector":"0xcb28cbc5","name":"prepareLaunch(uint24)"},{"selector":"0xc079901c","name":"MAX_DECAY_BLOCKS()"},{"selector":"0xc4e833ce","name":"getHookPermissions()"},{"selector":"0xc889264c","name":"earlyBought(bytes32,address)"},{"selector":"0xc9978161","name":"earlyWindowEndsAt(bytes32)"},{"selector":"0xb6a8b0fa","name":"beforeDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)"},{"selector":"0xbccbe5e2","name":"AUTO_GAS_HEADROOM()"},{"selector":"0xbd8e62d6","name":"ARB_SYS()"},{"selector":"0xa1285ce4","name":"AUTO_GAS_MIN_BUDGET()"},{"selector":"0xa67d13d5","name":"prepareOpeningBuy(bytes32,address,uint128)"},{"selector":"0xb1ccf526","name":"initializedAtBlock(bytes32)"},{"selector":"0xb47b2fb1","name":"afterSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),int256,bytes)"},{"selector":"0x965d340c","name":"openingBuyUsed(bytes32)"},{"selector":"0x980e567d","name":"setAuthenticatedRouter(address,bool)"},{"selector":"0x9f063efc","name":"afterAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)"},{"selector":"0x8b4c5b4c","name":"buybackExecutor()"},{"selector":"0x8b85902b","name":"l2BlockNumber()"},{"selector":"0x8da5cb5b","name":"owner()"},{"selector":"0x9649adb3","name":"setBuybackExecutor(address)"},{"selector":"0x6fa0f585","name":"lastAutoAt(bytes32)"},{"selector":"0x6fe7e6eb","name":"afterInitialize(address,(address,address,uint24,int24,address),uint160,int24)"},{"selector":"0x715018a6","name":"renounceOwnership()"},{"selector":"0x79ba5097","name":"acceptOwnership()"},{"selector":"0x536dac9b","name":"launchFactory()"},{"selector":"0x575e24b4","name":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)"},{"selector":"0x6c2bbe7e","name":"afterRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)"},{"selector":"0x6ef25c3a","name":"baseFee()"},{"selector":"0x4411a244","name":"EARLY_WINDOW()"},{"selector":"0x4b7478b9","name":"openingBuyOf(bytes32)"},{"selector":"0x4fbada35","name":"AUTO_GAS_CAP()"},{"selector":"0x32cb7944","name":"MIN_PERMANENT_FEE()"},{"selector":"0x342b6215","name":"launchedAtTime(bytes32)"},{"selector":"0x39039980","name":"setAutoBuybackEnabled(bool)"},{"selector":"0x3bb8a8d4","name":"autoBuybackEnabled()"},{"selector":"0x259982e5","name":"beforeAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)"},{"selector":"0x2f50a572","name":"MAX_SNIPE_FEE()"},{"selector":"0x30f38cfb","name":"setLaunchFactory(address)"},{"selector":"0x1bc1e92f","name":"AUTO_GAS_FLOOR()"},{"selector":"0x1f9f2f45","name":"MAX_PERMANENT_FEE()"},{"selector":"0x21d0ee70","name":"beforeRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)"},{"selector":"0x23c10d13","name":"earlyBuyRemaining(bytes32,address,address,address)"},{"selector":"0x09093976","name":"setFeeParams(uint24,uint24,uint32)"},{"selector":"0x0ba0e2de","name":"ORIGINAL_SUPPLY()"},{"selector":"0x1bbb6248","name":"decayBlocks()"}],"history":{"pools":20,"firstTime":1789618948,"lastTime":1789955375},"pools":[{"id":"0x2f8f160bc6118a46b972ba25b664aaebc8f4abd4823a441a736e1f33ec8995c5","key":{"currency0":"0x684499Db9C7DE50245Defd5fC4b471492e0F8888","currency1":"0xdA96895B35fd96ec0c0D3c770E0D94892D57ae42","fee":8388608,"tickSpacing":8,"hooks":"0x56Fe8bB0Cc2A20A8F586EC67Eba5E6cc4c6D70c0"},"symbols":["DFGDF","LOT-Rasta"],"state":{"sqrtP":"250529060232794967902094762","tick":-115136,"protocolFee":0,"lpFee":0,"liquidity":"0"},"swaps":[{"zeroForOne":true,"ok":false,"why":"thin","reason":"no liquidity at the current price"},{"zeroForOne":false,"ok":false,"why":"thin","reason":"no liquidity at the current price"}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-9468673023738","-93450206"],"removed":["9468673023737","93450205"]}}],"openCallbacks":[],"checks":[{"id":"01","title":"Permissions that touch your money","status":"pass","detail":"None of the permissions that let a hook take from swaps or from LPs are switched on."},{"id":"02","title":"What it takes from a swap","status":"n/a","detail":"No pool with liquidity to swap through yet."},{"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":"caution","detail":"Its pools use a dynamic fee that the hook sets before every swap. It stands at 0% now and can change."},{"id":"05","title":"No one holds the switch","status":"caution","detail":"Owned by 0xa79C7Bd36483cBc6457bb23a0048a005e0136320. Owner-style functions: transferOwnership, setAuthenticatedRouter, setBuybackExecutor, setAutoBuybackEnabled, setLaunchFactory, setFeeParams."},{"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":"20 pools over 32 days."}],"score":87,"verdict":"caution"}