{"hook":"0xeCce432Af4D085F894a4bCdD75a67209D29CaaCC","block":93172551,"bits":10956,"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":true},{"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":24452,"selectors":["0x03fd2a45","0x0f6313e6","0x12b869fe","0x13560cac","0x1428f21b","0x1b86bf5a","0x1e83409a","0x21d0ee70","0x259982e5","0x28ff1d4c","0x2a2dae0a","0x2cdc1c74","0x327ecd52","0x3502a716","0x3e179ec1","0x41861c11","0x45c877b0","0x46904840","0x46ca626b","0x49c657db","0x4d1d1061","0x5311312f","0x5313be2c","0x53a66025","0x55d1cb60","0x5615a5a8","0x575e24b4","0x5884e804","0x678fd289","0x687e2c17","0x6930e471","0x6ad6d45b","0x6c2bbe7e","0x6d947e4b","0x6ee85cfc","0x6fe7e6eb","0x715018a6","0x733b4dc2","0x7d0f7a88","0x7d39b7c9","0x7e7ad171","0x8da5cb5b","0x91dd7346","0x9f063efc","0xa2048d99","0xa8cafc6a","0xaf40667c","0xb47b2fb1","0xb553f964","0xb6a8b0fa","0xc4d66de8","0xc4e833ce","0xc6260251","0xc64f5351","0xc65b6e4f","0xc7cf56bf","0xcab1ef67","0xcf3cf573","0xd4570c1c","0xd6ae6e44","0xdba842bc","0xdc4c90d3","0xdc98354e","0xdcf844a7","0xe1b4af69","0xe3654f5b","0xe552f5ba","0xec528293","0xf2fde38b","0xfb3e6f29"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":23,"addresses":["0xfFfd8963EFd1fC6A506488495d951d5263988d25"]},"proxy":{"implementation":"0x0436919E62e517a45061cD570323043CF72c114d","admin":"0x56220A67b4D803500A42D6BD6b3F8E93c830Be38","beacon":null,"clone":false},"owner":"0xf64c46888fe5B2f623BB82CB5822ee6c28EAF21d","functions":[{"selector":"0x03fd2a45","name":"DEAD()"},{"selector":"0x0f6313e6","name":"launchedAt(address)"},{"selector":"0x12b869fe","name":null},{"selector":"0x13560cac","name":"allCoins(uint256)"},{"selector":"0x1428f21b","name":"royaltiesOf(address)"},{"selector":"0x1b86bf5a","name":"MAX_COIN_FEE_BPS()"},{"selector":"0x1e83409a","name":"claim(address)"},{"selector":"0x21d0ee70","name":"beforeRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)"},{"selector":"0x259982e5","name":"beforeAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)"},{"selector":"0x28ff1d4c","name":"MAX_LAUNCH_FEE()"},{"selector":"0x2a2dae0a","name":"tokenDeployer()"},{"selector":"0x2cdc1c74","name":"lister()"},{"selector":"0x327ecd52","name":null},{"selector":"0x3502a716","name":"MAX_ELEMENTS()"},{"selector":"0x3e179ec1","name":null},{"selector":"0x41861c11","name":null},{"selector":"0x45c877b0","name":null},{"selector":"0x46904840","name":"feeRecipient()"},{"selector":"0x46ca626b","name":"TICK_SPACING()"},{"selector":"0x49c657db","name":"ROYALTY_BPS()"},{"selector":"0x4d1d1061","name":"quoteCount()"},{"selector":"0x5311312f","name":"quotes(address)"},{"selector":"0x5313be2c","name":"setLaunchFee(uint256)"},{"selector":"0x53a66025","name":"sqrtPriceX96(address)"},{"selector":"0x55d1cb60","name":"poolKey(address)"},{"selector":"0x5615a5a8","name":null},{"selector":"0x575e24b4","name":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)"},{"selector":"0x5884e804","name":"sweepProtocolFees(address)"},{"selector":"0x678fd289","name":"coinCount()"},{"selector":"0x687e2c17","name":"trustedRouter(address)"},{"selector":"0x6930e471","name":"onTokenTransfer(address,address,uint256,uint256)"},{"selector":"0x6ad6d45b","name":"setLister(address)"},{"selector":"0x6c2bbe7e","name":"afterRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)"},{"selector":"0x6d947e4b","name":"MAX_PROTOCOL_FEE_BPS()"},{"selector":"0x6ee85cfc","name":"allQuotes(uint256)"},{"selector":"0x6fe7e6eb","name":"afterInitialize(address,(address,address,uint24,int24,address),uint160,int24)"},{"selector":"0x715018a6","name":"renounceOwnership()"},{"selector":"0x733b4dc2","name":null},{"selector":"0x7d0f7a88","name":"coins(address)"},{"selector":"0x7d39b7c9","name":null},{"selector":"0x7e7ad171","name":null},{"selector":"0x8da5cb5b","name":"owner()"},{"selector":"0x91dd7346","name":"unlockCallback(bytes)"},{"selector":"0x9f063efc","name":"afterAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)"},{"selector":"0xa2048d99","name":null},{"selector":"0xa8cafc6a","name":"graduatedAt(address)"},{"selector":"0xaf40667c","name":null},{"selector":"0xb47b2fb1","name":"afterSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),int256,bytes)"},{"selector":"0xb553f964","name":null},{"selector":"0xb6a8b0fa","name":"beforeDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)"},{"selector":"0xc4d66de8","name":"initialize(address)"},{"selector":"0xc4e833ce","name":"getHookPermissions()"},{"selector":"0xc6260251","name":"fusion()"},{"selector":"0xc64f5351","name":"setTrustedRouter(address,bool)"},{"selector":"0xc65b6e4f","name":null},{"selector":"0xc7cf56bf","name":null},{"selector":"0xcab1ef67","name":"quoteOf(address)"},{"selector":"0xcf3cf573","name":"launchFee()"},{"selector":"0xd4570c1c","name":"claimable(address,address)"},{"selector":"0xd6ae6e44","name":"claimCreatorFees(address)"},{"selector":"0xdba842bc","name":null},{"selector":"0xdc4c90d3","name":"poolManager()"},{"selector":"0xdc98354e","name":"beforeInitialize(address,(address,address,uint24,int24,address),uint160)"},{"selector":"0xdcf844a7","name":"protocolFees(address)"},{"selector":"0xe1b4af69","name":"afterDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)"},{"selector":"0xe3654f5b","name":null},{"selector":"0xe552f5ba","name":null},{"selector":"0xec528293","name":null},{"selector":"0xf2fde38b","name":"transferOwnership(address)"},{"selector":"0xfb3e6f29","name":"buyback(address)"}],"history":{"pools":7,"firstTime":1791198702,"lastTime":1792420214},"pools":[{"id":"0x0c80a8a08fe0bd5dcdd2d8c7fa2d0cb043bed9ce3ce565203158fa054d7ac368","key":{"currency0":"0x0000000000000000000000000000000000000000","currency1":"0xA0018f3cc90043beA703F69BB3735013a3F170F5","fee":0,"tickSpacing":200,"hooks":"0xeCce432Af4D085F894a4bCdD75a67209D29CaaCC"},"symbols":["ETH","KRYPTOCAT"],"state":{"sqrtP":"1575517645193042276738961213911460","tick":197965,"protocolFee":0,"lpFee":0,"liquidity":"50199523015373176184873"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"1262193406635323","paid":"1262193406635323","got":"487411470369896078325386","expected":"498880110480247294721821","feePpm":0,"takePpm":22989},{"zeroForOne":false,"ok":true,"amountIn":"435224731983552045250593","paid":"435224731983552045250593","got":"1074809386904493","expected":"1100111962031210","feePpm":0,"takePpm":23000}],"roundTrip":{"ok":false,"stage":"add","reason":"PoolIsClosed"}},{"id":"0x1b8f1631f8b123b13ff2f2e19bc174a2c647872be67201414998a8c01647f26b","key":{"currency0":"0xa98A8912E768C58c4516663e9448305B318c7c84","currency1":"0xB32Ea31E5Ce86398C79CaeBf98986546D1D8Ed2c","fee":0,"tickSpacing":200,"hooks":"0xeCce432Af4D085F894a4bCdD75a67209D29CaaCC"},"symbols":["HUNDRED","TKRYP"],"state":{"sqrtP":"2515582309681695196964350041","tick":-69000,"protocolFee":0,"lpFee":0,"liquidity":"31751112607575451567030977"},"swaps":[{"zeroForOne":true,"ok":false,"why":"thin","reason":"no liquidity below the price"},{"zeroForOne":false,"ok":false,"why":"blocked","reason":"UntrustedRouter"}],"roundTrip":{"ok":false,"stage":"add","reason":"PoolIsClosed"}}],"openCallbacks":[],"checks":[{"id":"01","title":"Permissions that touch your money","status":"caution","detail":"The address enables before remove liquidity, 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":"fail","detail":"One direction works and the other is refused (UntrustedRouter). You may be able to buy and not sell."},{"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 0xf64c46888fe5B2f623BB82CB5822ee6c28EAF21d. Owner-style functions: claim, setLaunchFee, sweepProtocolFees, setLister, setTrustedRouter, claimable."},{"id":"06","title":"The code cannot change","status":"fail","detail":"It is a proxy. The code that runs lives at 0x0436919E62e517a45061cD570323043CF72c114d, and 0x56220A67b4D803500A42D6BD6b3F8E93c830Be38 can replace it."},{"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":"7 pools over 14 days."}],"score":38,"verdict":"danger"}