{"hook":"0xbD44BE48202E564d46C1Eae3CF734FB7C53200cc","block":93145893,"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":9656,"selectors":["0x0c5a61f8","0x0fc944e5","0x2211e578","0x27d093b3","0x2c9f47c1","0x34de4cd4","0x3d34106d","0x431a9caa","0x52bf1f6d","0x575e24b4","0x5869c412","0x605c2aa7","0x6797ae59","0x69fbdeb1","0x6aa94fc7","0x77b1264d","0x79ba5097","0x7fa5692b","0x803db96d","0x83ab9227","0x863c704d","0x8da5cb5b","0x8e324fb2","0x92fa7834","0x95e595de","0x9ee852dc","0xa0bf01cf","0xa376c3ed","0xa3f1f88a","0xa3f4bac7","0xac4e4054","0xad091230","0xaf8d60b5","0xb47b2fb1","0xbdec7248","0xd45adfb1","0xda98666d","0xdc4c90d3","0xe30c3978","0xef05198b","0xf2fde38b"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":3,"addresses":[]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":"0x79691dE72De921990C9349fE06af4c06579D82dd","functions":[{"selector":"0x0c5a61f8","name":"setProtocolTreasury(address)"},{"selector":"0x0fc944e5","name":null},{"selector":"0x2211e578","name":null},{"selector":"0x27d093b3","name":null},{"selector":"0x2c9f47c1","name":null},{"selector":"0x34de4cd4","name":null},{"selector":"0x3d34106d","name":"AFTER_SWAP_FLAG()"},{"selector":"0x431a9caa","name":"MAX_TOTAL_FEE_BPS()"},{"selector":"0x52bf1f6d","name":null},{"selector":"0x575e24b4","name":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)"},{"selector":"0x5869c412","name":null},{"selector":"0x605c2aa7","name":null},{"selector":"0x6797ae59","name":null},{"selector":"0x69fbdeb1","name":"AFTER_SWAP_RETURNS_DELTA_FLAG()"},{"selector":"0x6aa94fc7","name":"BEFORE_SWAP_RETURNS_DELTA_FLAG()"},{"selector":"0x77b1264d","name":null},{"selector":"0x79ba5097","name":"acceptOwnership()"},{"selector":"0x7fa5692b","name":"MODE_DIVIDEND()"},{"selector":"0x803db96d","name":"protocolTreasury()"},{"selector":"0x83ab9227","name":null},{"selector":"0x863c704d","name":"MODE_BASIC()"},{"selector":"0x8da5cb5b","name":"owner()"},{"selector":"0x8e324fb2","name":null},{"selector":"0x92fa7834","name":null},{"selector":"0x95e595de","name":"MIN_TOTAL_FEE_BPS()"},{"selector":"0x9ee852dc","name":"BASIC_CREATOR_FEE_SHARE_BPS()"},{"selector":"0xa0bf01cf","name":null},{"selector":"0xa376c3ed","name":null},{"selector":"0xa3f1f88a","name":"BASIC_HOLDER_DIVIDEND_SHARE_BPS()"},{"selector":"0xa3f4bac7","name":"ALL_HOOK_MASK()"},{"selector":"0xac4e4054","name":"REQUIRED_HOOK_FLAGS()"},{"selector":"0xad091230","name":"launches(bytes32)"},{"selector":"0xaf8d60b5","name":"claimCreatorFees(bytes32)"},{"selector":"0xb47b2fb1","name":"afterSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),int256,bytes)"},{"selector":"0xbdec7248","name":"pendingCreatorFees(bytes32)"},{"selector":"0xd45adfb1","name":"BEFORE_SWAP_FLAG()"},{"selector":"0xda98666d","name":null},{"selector":"0xdc4c90d3","name":"poolManager()"},{"selector":"0xe30c3978","name":"pendingOwner()"},{"selector":"0xef05198b","name":null},{"selector":"0xf2fde38b","name":"transferOwnership(address)"}],"history":{"pools":9,"firstTime":1786760037,"lastTime":1787021360},"pools":[{"id":"0x7e4e4f2587f0b3206ffab3bde5a72de269cbede3d32ad127cbb5fea5afb4b60d","key":{"currency0":"0x085C7B5857b5cE0a8c8FFeABF126Ca42d97a4FE2","currency1":"0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73","fee":0,"tickSpacing":60,"hooks":"0xbD44BE48202E564d46C1Eae3CF734FB7C53200cc"},"symbols":["T3","WETH"],"state":{"sqrtP":"4690662448272004998307527","tick":-194700,"protocolFee":0,"lpFee":0,"liquidity":"18308991849035168411478"},"swaps":[{"zeroForOne":true,"ok":false,"why":"thin","reason":"no liquidity below the price"},{"zeroForOne":false,"ok":true,"amountIn":"541987203833771","paid":"541987203833771","got":"153003057762028965644294","expected":"154547770837430746773061","feePpm":0,"takePpm":9996}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-1003820968434456209416","-3203470746251"],"removed":["1003820968434456209415","3203470746250"]}},{"id":"0x899ddccf743013bb64e088d033f07999156cf756d989df25f873d9af8d377f51","key":{"currency0":"0x00497d6dCd68b0dE684548d768211287B67549cc","currency1":"0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73","fee":0,"tickSpacing":60,"hooks":"0xbD44BE48202E564d46C1Eae3CF734FB7C53200cc"},"symbols":["T5","WETH"],"state":{"sqrtP":"468456988555810777393241","tick":-240780,"protocolFee":0,"lpFee":0,"liquidity":"1841524829957532825053"},"swaps":[{"zeroForOne":true,"ok":false,"why":"thin","reason":"no liquidity below the price"},{"zeroForOne":false,"ok":true,"amountIn":"5444245763224","paid":"5444245763224","got":"154091157262145274890342","expected":"155646855748876244089191","feePpm":0,"takePpm":9996}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-1010959761017673296872","-32178770854"],"removed":["1010959761017673296871","32178770853"]}}],"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":"pass","detail":"It takes 1.00% 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 0x79691dE72De921990C9349fE06af4c06579D82dd. Owner-style functions: setProtocolTreasury, claimCreatorFees, transferOwnership."},{"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":"9 pools over 66 days."}],"score":88,"verdict":"caution"}