{"hook":"0x6Eb522ca8F79FB0B31B2337325F105820e3Ce8CC","block":92982901,"bits":10444,"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":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":9699,"selectors":["0x03afd56b","0x0e228ab1","0x140c5759","0x1a6e0669","0x1ab24561","0x1e83409a","0x23058f76","0x259982e5","0x342d0cce","0x46ca626b","0x4727b76e","0x54d212fc","0x575e24b4","0x61d027b3","0x68eb4512","0x7a9d1fa0","0x7b103999","0x7e686e01","0x91dd7346","0x95ceb1c3","0x9b083ec9","0xa4a6874a","0xa6a86130","0xac4e4054","0xb152f6cf","0xb47b2fb1","0xbeae30f5","0xc1e7af35","0xd8a6021c","0xdc4c90d3","0xdc98354e","0xdf0b3667","0xe1a45218","0xf82e9b9d"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":6,"addresses":["0x666561746865724C697175696469747947617465"]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":null,"functions":[{"selector":"0x03afd56b","name":"withdrawPending(address)"},{"selector":"0x0e228ab1","name":"treasuryOwed(address)"},{"selector":"0x140c5759","name":"feeTier(uint256)"},{"selector":"0x1a6e0669","name":null},{"selector":"0x1ab24561","name":null},{"selector":"0x1e83409a","name":"claim(address)"},{"selector":"0x23058f76","name":"NATIVE_PUSH_GAS()"},{"selector":"0x259982e5","name":"beforeAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)"},{"selector":"0x342d0cce","name":null},{"selector":"0x46ca626b","name":"TICK_SPACING()"},{"selector":"0x4727b76e","name":"PIPS_PER_BPS()"},{"selector":"0x54d212fc","name":null},{"selector":"0x575e24b4","name":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)"},{"selector":"0x61d027b3","name":"treasury()"},{"selector":"0x68eb4512","name":"creatorOwed(address)"},{"selector":"0x7a9d1fa0","name":null},{"selector":"0x7b103999","name":"registry()"},{"selector":"0x7e686e01","name":"claimMany(address[])"},{"selector":"0x91dd7346","name":"unlockCallback(bytes)"},{"selector":"0x95ceb1c3","name":"creatorOverride(address)"},{"selector":"0x9b083ec9","name":"graduated(address)"},{"selector":"0xa4a6874a","name":null},{"selector":"0xa6a86130","name":"usdToWei(uint256)"},{"selector":"0xac4e4054","name":"REQUIRED_HOOK_FLAGS()"},{"selector":"0xb152f6cf","name":"TOKEN_SUPPLY()"},{"selector":"0xb47b2fb1","name":"afterSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),int256,bytes)"},{"selector":"0xbeae30f5","name":"pendingEth(address)"},{"selector":"0xc1e7af35","name":"PROTOCOL_BPS()"},{"selector":"0xd8a6021c","name":"transferTreasury(address)"},{"selector":"0xdc4c90d3","name":"poolManager()"},{"selector":"0xdc98354e","name":"beforeInitialize(address,(address,address,uint24,int24,address),uint160)"},{"selector":"0xdf0b3667","name":"LP_BPS()"},{"selector":"0xe1a45218","name":"BPS_DENOMINATOR()"},{"selector":"0xf82e9b9d","name":"transferCreator(address,address)"}],"history":{"pools":36,"firstTime":1784212020,"lastTime":1784804572},"pools":[{"id":"0xe22edc3fa353e02b0b477f51a2e1de7b6d4bfb694952f2a05079758efc3079ce","key":{"currency0":"0x0000000000000000000000000000000000000000","currency1":"0xAE0eb32cDE09877CBAD0570C8BBf9c1dfD1fFea7","fee":8388608,"tickSpacing":60,"hooks":"0x6Eb522ca8F79FB0B31B2337325F105820e3Ce8CC"},"symbols":["ETH","RH69"],"state":{"sqrtP":"2000332230880149162305458090770187","tick":202739,"protocolFee":0,"lpFee":0,"liquidity":"42496528522726710900934"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"841590665818850","paid":"841590665818850","got":"529504692979262268616050","expected":"536202599312786738125329","feePpm":0,"takePpm":12492},{"zeroForOne":false,"ok":true,"amountIn":"312905627760103546884","paid":"312905627760103546884","got":"484737184347","expected":"490871875213","feePpm":0,"takePpm":12498}],"roundTrip":{"ok":false,"stage":"add","reason":"LiquidityLocked"}}],"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":"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":"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":"No owner() but it has withdrawPending, claim, claimMany, transferTreasury, transferCreator."},{"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":"36 pools over 95 days."}],"score":68,"verdict":"caution"}