{"hook":"0x7E39dEc0cfE5F63e80663ad96986987670cf68EC","block":92978616,"bits":10476,"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":true},{"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":24236,"selectors":["0x0ae89127","0x1502f8d5","0x1f2d8550","0x1f7979a2","0x21c099c8","0x259982e5","0x2bebf6bf","0x2eafdf2e","0x481c6a75","0x575e24b4","0x61d027b3","0x791b98bc","0x8549d9be","0x91dd7346","0xa74cf320","0xae359add","0xb47b2fb1","0xb6a8b0fa","0xc45a0155","0xcb28da36","0xcf3cf573","0xd5a12496","0xd6ae6e44","0xdc98354e","0xe9c4776c","0xe9cbd822","0xf11f4461","0x1dcd6500"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":28,"addresses":["0xfFfd8963EFd1fC6A506488495d951d5263988d25","0xfFfD8963eFD1FC6A506488495D951d5263988d26","0xFFFD8963efd1FC6a506488495d951D5163961682"]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":null,"functions":[{"selector":"0x0ae89127","name":"tokenOfPool(bytes32)"},{"selector":"0x1502f8d5","name":"platformFeesClaimed()"},{"selector":"0x1f2d8550","name":"launches(address)"},{"selector":"0x1f7979a2","name":"MAX_METADATA_BYTES()"},{"selector":"0x21c099c8","name":"poolKeyFor(address)"},{"selector":"0x259982e5","name":"beforeAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)"},{"selector":"0x2bebf6bf","name":"claimPlatformFees()"},{"selector":"0x2eafdf2e","name":"graduationTarget(address)"},{"selector":"0x481c6a75","name":"manager()"},{"selector":"0x575e24b4","name":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)"},{"selector":"0x61d027b3","name":"treasury()"},{"selector":"0x791b98bc","name":"positionManager()"},{"selector":"0x8549d9be","name":"REQUIRED_FLAGS()"},{"selector":"0x91dd7346","name":"unlockCallback(bytes)"},{"selector":"0xa74cf320","name":"hxmax()"},{"selector":"0xae359add","name":"createMeme(bytes32,string,string,string,address,bool,(uint8,uint256,uint256,uint256,uint256))"},{"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":"0xc45a0155","name":null},{"selector":"0xcb28da36","name":"hxmaxIsCurrency0InFeePool()"},{"selector":"0xcf3cf573","name":"launchFee()"},{"selector":"0xd5a12496","name":"platformFeesUnclaimed()"},{"selector":"0xd6ae6e44","name":"claimCreatorFees(address)"},{"selector":"0xdc98354e","name":"beforeInitialize(address,(address,address,uint24,int24,address),uint160)"},{"selector":"0xe9c4776c","name":"previewCurve(bool)"},{"selector":"0xe9cbd822","name":"stablecoin()"},{"selector":"0xf11f4461","name":"feeHook()"},{"selector":"0x1dcd6500","name":null}],"history":{"pools":36,"firstTime":1791995622,"lastTime":1792227440},"pools":[{"id":"0x23dbfacc7d647bafd518c7aff383f0ff92b8ee6e26a5e3307262ba2718b86d39","key":{"currency0":"0x17c865a7902A5b9c8861EfCB654491d6D9770000","currency1":"0x71796aAD4CdFf942D3eE8Bb1227F779255f89DbC","fee":0,"tickSpacing":10,"hooks":"0x7E39dEc0cfE5F63e80663ad96986987670cf68EC"},"symbols":["Ronaldo","hXMAX"],"state":{"sqrtP":"50096713259924846776059862","tick":-147330,"protocolFee":0,"lpFee":0,"liquidity":"674432734477504484924339"},"swaps":[{"zeroForOne":true,"ok":false,"why":"blocked","reason":"OutsideCurve"},{"zeroForOne":false,"ok":true,"amountIn":"53316933561045519","paid":"53316933561045519","got":"132004065551433378337195","expected":"133337273266644607987461","feePpm":0,"takePpm":9999}],"roundTrip":{"ok":false,"stage":"add","reason":"CurveLiquidityLocked"}},{"id":"0xeeaeba8e376b459b4f9c98b1080eb72f724bfe52ac9436c466eee956147b941d","key":{"currency0":"0x1aE6C94CA1Ebd2c46Cf5866A36C66266E9060000","currency1":"0x71796aAD4CdFf942D3eE8Bb1227F779255f89DbC","fee":0,"tickSpacing":10,"hooks":"0x7E39dEc0cfE5F63e80663ad96986987670cf68EC"},"symbols":["BETA","hXMAX"],"state":{"sqrtP":"74862838328713941158594214","tick":-139296,"protocolFee":0,"lpFee":0,"liquidity":"670733720996667779669522"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"39451923838778982893626","paid":"39451923838778982893626","got":"34870056746782356","expected":"35222279542204400","feePpm":0,"takePpm":10000},{"zeroForOne":false,"ok":true,"amountIn":"44004019009242693","paid":"44004019009242693","got":"48789265156348808694498","expected":"49282051801680724831740","feePpm":0,"takePpm":10000}],"roundTrip":{"ok":false,"stage":"add","reason":"CurveLiquidityLocked"}}],"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":"fail","detail":"One direction works and the other is refused (OutsideCurve). 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":"No owner() but it has claimPlatformFees, claimCreatorFees."},{"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":"caution","detail":"36 pools, first seen 5 days ago."}],"score":53,"verdict":"danger"}