{"hook":"0xd6c16a041bA47eB4AeB4fd8cCC2580446E8Ec0CC","block":93241453,"bits":204,"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":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":13209,"selectors":["0x02b1a5ce","0x06d6e63f","0x07c3d4af","0x08364f19","0x09ec9a09","0x0ebab9ce","0x215e9673","0x21d0ee70","0x258a76a9","0x259982e5","0x26c0d1c8","0x2c582f69","0x3267b05f","0x37864fad","0x4e71d92d","0x52e05328","0x552e5be6","0x56a643e8","0x575e24b4","0x577fd2dc","0x5ae8e8dc","0x678b2d62","0x680686b7","0x6a0f95dd","0x6c2bbe7e","0x6fe7e6eb","0x715018a6","0x71d5f4be","0x76d5b2d7","0x79ba5097","0x7ad53b36","0x7c4dd544","0x7d74e36d","0x84ac7614","0x899d433b","0x8da5cb5b","0x90930ddd","0x94967005","0x96b55f7d","0x9f063efc","0xa566e951","0xade80921","0xb3b057e8","0xb47b2fb1","0xb55f0dba","0xb6a8b0fa","0xbc366b04","0xbd10bc5f","0xc0baf4f6","0xc1f9af4e","0xc2119e95","0xc4e833ce","0xcff28a14","0xd55be8c6","0xdc4c90d3","0xdc98354e","0xde90e29b","0xdea5c2e0","0xdebe3c1d","0xe1b4af69","0xe30c3978","0xe32c25b8","0xe76f81ba","0xe9a4d24f","0xf11c44ad","0xf2fde38b","0xf53b6543","0xf8b48019","0xf9dcb253","0xfe3292a5"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":3,"addresses":[]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":"0x58100D7C01a1B2A764A78b60792Cd2D8af29C965","functions":[{"selector":"0x02b1a5ce","name":"SPLIT_DENOM()"},{"selector":"0x06d6e63f","name":"protocolWallet()"},{"selector":"0x07c3d4af","name":"MAX_TIERS()"},{"selector":"0x08364f19","name":"MAX_CUSTOM_FEE_BPS()"},{"selector":"0x09ec9a09","name":"setFeeTiers((uint256,uint24)[])"},{"selector":"0x0ebab9ce","name":"MIN_CREATOR_BPS()"},{"selector":"0x215e9673","name":"adminSetCustomFee(address,uint24)"},{"selector":"0x21d0ee70","name":"beforeRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)"},{"selector":"0x258a76a9","name":"setModuleGasLimit(uint64)"},{"selector":"0x259982e5","name":"beforeAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)"},{"selector":"0x26c0d1c8","name":"registerCreator(address,address)"},{"selector":"0x2c582f69","name":"adminSetPartnerForToken(address,address)"},{"selector":"0x3267b05f","name":"setHookModule(address)"},{"selector":"0x37864fad","name":"launchInfoOf(address)"},{"selector":"0x4e71d92d","name":"claim()"},{"selector":"0x52e05328","name":"creatorRecipientCount(address)"},{"selector":"0x552e5be6","name":"MAX_MODULE_BPS()"},{"selector":"0x56a643e8","name":"MIN_CUSTOM_FEE_BPS()"},{"selector":"0x575e24b4","name":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)"},{"selector":"0x577fd2dc","name":"customFeeBps(address)"},{"selector":"0x5ae8e8dc","name":"setCustomFeesEnabled(bool)"},{"selector":"0x678b2d62","name":"MAX_CREATOR_RECIPIENTS()"},{"selector":"0x680686b7","name":"ethOwed(address)"},{"selector":"0x6a0f95dd","name":"setCreatorRecipientsAtLaunch(address,(address,uint16)[])"},{"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":"0x715018a6","name":"renounceOwnership()"},{"selector":"0x71d5f4be","name":"setPartnerBps(address,uint16)"},{"selector":"0x76d5b2d7","name":"currentFeeBps((address,address,uint24,int24,address))"},{"selector":"0x79ba5097","name":"acceptOwnership()"},{"selector":"0x7ad53b36","name":"customFeesEnabled()"},{"selector":"0x7c4dd544","name":"adminSetCreatorRecipients(address,(address,uint16)[])"},{"selector":"0x7d74e36d","name":"MAX_MODULE_GAS()"},{"selector":"0x84ac7614","name":"setPartnerForTokenAtLaunch(address,address)"},{"selector":"0x899d433b","name":"previewCustomFeeBps(uint24,uint256)"},{"selector":"0x8da5cb5b","name":"owner()"},{"selector":"0x90930ddd","name":"setCustomFeeAtLaunch(address,uint24)"},{"selector":"0x94967005","name":"protocolBps()"},{"selector":"0x96b55f7d","name":"tierCount()"},{"selector":"0x9f063efc","name":"afterAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)"},{"selector":"0xa566e951","name":"hookModule()"},{"selector":"0xade80921","name":"MAX_PARTNER_BPS()"},{"selector":"0xb3b057e8","name":"setAntiSnipeEnabled(bool)"},{"selector":"0xb47b2fb1","name":"afterSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),int256,bytes)"},{"selector":"0xb55f0dba","name":"partnerBpsOf(address)"},{"selector":"0xb6a8b0fa","name":"beforeDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)"},{"selector":"0xbc366b04","name":null},{"selector":"0xbd10bc5f","name":"antiSnipeEnabled()"},{"selector":"0xc0baf4f6","name":null},{"selector":"0xc1f9af4e","name":"moduleGasLimit()"},{"selector":"0xc2119e95","name":"CUSTOM_FEE_RETAIN_BPS()"},{"selector":"0xc4e833ce","name":"getHookPermissions()"},{"selector":"0xcff28a14","name":"ANTI_SNIPE_MAX_BUY_BPS()"},{"selector":"0xd55be8c6","name":"MAX_FEE_BPS()"},{"selector":"0xdc4c90d3","name":"poolManager()"},{"selector":"0xdc98354e","name":"beforeInitialize(address,(address,address,uint24,int24,address),uint160)"},{"selector":"0xde90e29b","name":"creatorBps()"},{"selector":"0xdea5c2e0","name":"creatorOf(address)"},{"selector":"0xdebe3c1d","name":"ANTI_SNIPE_WINDOW()"},{"selector":"0xe1b4af69","name":"afterDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)"},{"selector":"0xe30c3978","name":"pendingOwner()"},{"selector":"0xe32c25b8","name":"partnerOf(address)"},{"selector":"0xe76f81ba","name":"effectivePartnerBpsFor(address)"},{"selector":"0xe9a4d24f","name":"getFeeTiers()"},{"selector":"0xf11c44ad","name":"CUSTOM_FEE_BAND_SIZE_WEI()"},{"selector":"0xf2fde38b","name":"transferOwnership(address)"},{"selector":"0xf53b6543","name":"CUSTOM_FEE_MAX_REDUCTIONS()"},{"selector":"0xf8b48019","name":"setSplit(uint16,uint16)"},{"selector":"0xf9dcb253","name":"getCreatorRecipients(address)"},{"selector":"0xfe3292a5","name":"currentMcapEth((address,address,uint24,int24,address))"}],"history":{"pools":5,"firstTime":1783969848,"lastTime":1791589535},"pools":[{"id":"0xf2c00a760ef2cc0a0b6ce3a9fd4379601e8f7901a6c1e3558bbe89c6cf51d002","key":{"currency0":"0x0000000000000000000000000000000000000000","currency1":"0xaF233759CaF399d0F387c2B180049Cd434ffc1BB","fee":0,"tickSpacing":200,"hooks":"0xd6c16a041bA47eB4AeB4fd8cCC2580446E8Ec0CC"},"symbols":["ETH","Koko"],"state":{"sqrtP":"2500031419217008302293562109665652","tick":207199,"protocolFee":0,"lpFee":0,"liquidity":"31690866724818211737594"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"502155516885095","paid":"502155516885095","got":"493506331248946433161023","expected":"499750124937531149616950","feePpm":0,"takePpm":12494},{"zeroForOne":false,"ok":false,"why":"thin","reason":"no liquidity above the price"}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-2968041490705","-3920863939497281335646"],"removed":["2968041490704","3920863939497281335645"]}},{"id":"0x3fca1f9d48cca19d42dd5d1968e331d4808c8cc93e936e19a908e99021d2a91a","key":{"currency0":"0x0000000000000000000000000000000000000000","currency1":"0xE8eadD2c6177e150a872C49B9a930130968bdfD8","fee":0,"tickSpacing":200,"hooks":"0xd6c16a041bA47eB4AeB4fd8cCC2580446E8Ec0CC"},"symbols":["ETH","STROID"],"state":{"sqrtP":"2500031419217008302293562110557842","tick":207199,"protocolFee":0,"lpFee":0,"liquidity":"31690866724818211737594"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"502155516885095","paid":"502155516885095","got":"493506331248946433161023","expected":"499750124937531149616950","feePpm":0,"takePpm":12494},{"zeroForOne":false,"ok":false,"why":"thin","reason":"no liquidity above the price"}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-2968041490705","-3920863939497281335646"],"removed":["2968041490704","3920863939497281335645"]}}],"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 1.25% 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":"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 0x58100D7C01a1B2A764A78b60792Cd2D8af29C965. Owner-style functions: setFeeTiers, setModuleGasLimit, setHookModule, claim, setCustomFeesEnabled, setCreatorRecipientsAtLaunch."},{"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":"5 pools over 98 days."}],"score":75,"verdict":"caution"}