{"hook":"0x8CBaD330Cfb8D324B81f3cB6Ca9f7B6F6d12b0C0","block":94338523,"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":9273,"selectors":["0xe1b4af69","0xe30c3978","0xec2a7610","0xf2fde38b","0xf5fe091c","0xf90f2758","0xcaa93ee8","0xcb28cbc5","0xcd891623","0xd43012c0","0xdc4c90d3","0xdc98354e","0xbd8e62d6","0xc079901c","0xc4e833ce","0xc889264c","0xc9978161","0xc9eb012c","0x980e567d","0x9f063efc","0xa67d13d5","0xb1ccf526","0xb47b2fb1","0xb6a8b0fa","0x6fe7e6eb","0x715018a6","0x79ba5097","0x8b85902b","0x8da5cb5b","0x965d340c","0x4411a244","0x4b7478b9","0x536dac9b","0x575e24b4","0x6c2bbe7e","0x6ef25c3a","0x23c10d13","0x259982e5","0x2f50a572","0x30f38cfb","0x32cb7944","0x342b6215","0x09093976","0x0ba0e2de","0x1bbb6248","0x1f9f2f45","0x21d0ee70"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":0,"addresses":[]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":"0xF01c29725D8E8Dd09C0936Ca26c5C75d7CE77CD2","functions":[{"selector":"0xe1b4af69","name":"afterDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)"},{"selector":"0xe30c3978","name":"pendingOwner()"},{"selector":"0xec2a7610","name":"scheduleOf(bytes32)"},{"selector":"0xf2fde38b","name":"transferOwnership(address)"},{"selector":"0xf5fe091c","name":"EARLY_BUY_CAP()"},{"selector":"0xf90f2758","name":"earlyBuyChargedTo(address,address)"},{"selector":"0xcaa93ee8","name":"currentFee(bytes32)"},{"selector":"0xcb28cbc5","name":"prepareLaunch(uint24)"},{"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":"0xbd8e62d6","name":"ARB_SYS()"},{"selector":"0xc079901c","name":"MAX_DECAY_BLOCKS()"},{"selector":"0xc4e833ce","name":"getHookPermissions()"},{"selector":"0xc889264c","name":"earlyBought(bytes32,address)"},{"selector":"0xc9978161","name":"earlyWindowEndsAt(bytes32)"},{"selector":"0xc9eb012c","name":"EARLY_CAP_BPS()"},{"selector":"0x980e567d","name":"setAuthenticatedRouter(address,bool)"},{"selector":"0x9f063efc","name":"afterAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)"},{"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":"0xb6a8b0fa","name":"beforeDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)"},{"selector":"0x6fe7e6eb","name":"afterInitialize(address,(address,address,uint24,int24,address),uint160,int24)"},{"selector":"0x715018a6","name":"renounceOwnership()"},{"selector":"0x79ba5097","name":"acceptOwnership()"},{"selector":"0x8b85902b","name":"l2BlockNumber()"},{"selector":"0x8da5cb5b","name":"owner()"},{"selector":"0x965d340c","name":"openingBuyUsed(bytes32)"},{"selector":"0x4411a244","name":"EARLY_WINDOW()"},{"selector":"0x4b7478b9","name":"openingBuyOf(bytes32)"},{"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":"0x23c10d13","name":"earlyBuyRemaining(bytes32,address,address,address)"},{"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":"0x32cb7944","name":"MIN_PERMANENT_FEE()"},{"selector":"0x342b6215","name":"launchedAtTime(bytes32)"},{"selector":"0x09093976","name":"setFeeParams(uint24,uint24,uint32)"},{"selector":"0x0ba0e2de","name":"ORIGINAL_SUPPLY()"},{"selector":"0x1bbb6248","name":"decayBlocks()"},{"selector":"0x1f9f2f45","name":"MAX_PERMANENT_FEE()"},{"selector":"0x21d0ee70","name":"beforeRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)"}],"history":{"pools":3,"firstTime":1789417455,"lastTime":1789562690},"pools":[{"id":"0xf228e5090999d51a69c9b45e737368465eb303038b98144c85a36a74a05fd479","key":{"currency0":"0xcf81b7ea8beCA821F1A755A423F3fd2b79Fc8888","currency1":"0xF58CD3377229f61fd859A281dB66173324a32701","fee":8388608,"tickSpacing":8,"hooks":"0x8CBaD330Cfb8D324B81f3cB6Ca9f7B6F6d12b0C0"},"symbols":["BRAVO","bGOOGLAMDAAPL"],"state":{"sqrtP":"250629531896936523696692708","tick":-115128,"protocolFee":0,"lpFee":0,"liquidity":"3147507616206136047276500"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"243165001895128366284","paid":"243165001895128366284","got":"2384692349211896","expected":"2433359528118271","feePpm":0,"takePpm":20000},{"zeroForOne":false,"ok":true,"amountIn":"993394263166635099","paid":"993394263166635099","got":"97274709777705518304303","expected":"99259709891957486980121","feePpm":0,"takePpm":19999}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-2978982968843463219019","-29426263770406739"],"removed":["2978982968843463219018","29426263770406738"]}},{"id":"0x4aeb2cc7cc9e00e5298c0d1e0c70c19bcbb8389e7a2f78248049326ed127e4e3","key":{"currency0":"0xBEbEFf7157A79F83ae9d7a67eceE7B88796A46C7","currency1":"0xF9ceFF3D4E6E628279528dC91e23d0E0e0b115e4","fee":8388608,"tickSpacing":8,"hooks":"0x8CBaD330Cfb8D324B81f3cB6Ca9f7B6F6d12b0C0"},"symbols":["CHIPS","bSPYGOOGL"],"state":{"sqrtP":"250634290070762982057369904","tick":-115128,"protocolFee":0,"lpFee":0,"liquidity":"3147507616206136047276500"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"4965469147548786416644","paid":"4965469147548786416644","got":"47703610298101148","expected":"49691250807632510","feePpm":0,"takePpm":40000},{"zeroForOne":false,"ok":true,"amountIn":"946137114058469123","paid":"946137114058469123","got":"90753605585352930173948","expected":"94534646534168105782921","feePpm":0,"takePpm":39997}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-2977094047185201755798","-29445166630050006"],"removed":["2977094047185201755797","29445166630050005"]}}],"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":"caution","detail":"It takes 4% of each swap 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":"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 0xF01c29725D8E8Dd09C0936Ca26c5C75d7CE77CD2. Owner-style functions: transferOwnership, setAuthenticatedRouter, 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":"3 pools over 36 days."}],"score":78,"verdict":"caution"}