{"hook":"0x626d1AcE72a6D7dD15811bD081feb9E01C24C0c8","block":93467424,"bits":200,"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":false},{"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":3365,"selectors":["0x0885f732","0x3138f883","0x4702461e","0x4ceb168d","0x575e24b4","0x6fe7e6eb","0x8da10869","0x8e79acfd","0xb47b2fb1","0xc4e833ce","0xd7a41f92","0xdc98354e","0xdcef3193","0xea940ca0"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":1,"addresses":[]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":null,"functions":[{"selector":"0x0885f732","name":"poolConfig(bytes32)"},{"selector":"0x3138f883","name":null},{"selector":"0x4702461e","name":null},{"selector":"0x4ceb168d","name":"isExempt(bytes32,address)"},{"selector":"0x575e24b4","name":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)"},{"selector":"0x6fe7e6eb","name":"afterInitialize(address,(address,address,uint24,int24,address),uint160,int24)"},{"selector":"0x8da10869","name":"SNIPE_WINDOW_SECONDS()"},{"selector":"0x8e79acfd","name":"SNIPE_TAX_BPS()"},{"selector":"0xb47b2fb1","name":"afterSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),int256,bytes)"},{"selector":"0xc4e833ce","name":"getHookPermissions()"},{"selector":"0xd7a41f92","name":"currentSnipeTaxBps(bytes32,address)"},{"selector":"0xdc98354e","name":"beforeInitialize(address,(address,address,uint24,int24,address),uint160)"},{"selector":"0xdcef3193","name":"launchTimestamp(bytes32)"},{"selector":"0xea940ca0","name":"pendingTax(bytes32)"}],"history":{"pools":3,"firstTime":1788884092,"lastTime":1792086875},"pools":[{"id":"0xb5ba50ef403b4db9497dcb7111cf6c1c79a5724deba8aef1806d714c89260c23","key":{"currency0":"0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73","currency1":"0xb96a4102Da7b08c5dc4955Cb74B1F0A55F42DeF7","fee":50000,"tickSpacing":200,"hooks":"0x626d1AcE72a6D7dD15811bD081feb9E01C24C0c8"},"symbols":["WETH","RELL"],"state":{"sqrtP":"1761690438791201401772798844244259","tick":200199,"protocolFee":0,"lpFee":50000,"liquidity":"44970693614421769510836"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"1011229142081097","paid":"1011229142081097","got":"474752180758262190231577","expected":"474752180758262190231577","feePpm":50000,"takePpm":0},{"zeroForOne":false,"ok":true,"amountIn":"11743134396684303058060","paid":"11743134396684303058060","got":"22563307610557","expected":"22563307610557","feePpm":50000,"takePpm":0}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-5986192413842","-3916166685628366367435"],"removed":["5986192413841","3916166685628366367434"]}},{"id":"0x937b008f32b61925ce7e22044d7d065cc891e23c8065e41d61811f14d0d18a1a","key":{"currency0":"0x2906145D4D76b7091Ab3a2534FCd858Fc93104dE","currency1":"0xd0601CE157Db5bdC3162BbaC2a2C8aF5320D9EEC","fee":25000,"tickSpacing":200,"hooks":"0x626d1AcE72a6D7dD15811bD081feb9E01C24C0c8"},"symbols":["ELIZABAO","NVDA"],"state":{"sqrtP":"11828685695456986067970037","tick":-176200,"protocolFee":0,"lpFee":25000,"liquidity":"149299003284688505589634"},"swaps":[{"zeroForOne":true,"ok":false,"why":"thin","reason":"no liquidity below the price"},{"zeroForOne":false,"ok":true,"amountIn":"11145096190900714","paid":"11145096190900714","got":"487262459550968870127930","expected":"487262459550968870127930","feePpm":25000,"takePpm":0}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-3920863939497281336333","-65874229795744"],"removed":["3920863939497281336332","65874229795743"]}}],"openCallbacks":[],"checks":[{"id":"01","title":"Permissions that touch your money","status":"caution","detail":"The address enables before 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":"A swap through it pays the pool fee and nothing else."},{"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":"caution","detail":"A fixed fee, but a high one: 5%."},{"id":"05","title":"No one holds the switch","status":"pass","detail":"No owner and no admin functions found."},{"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":"3 pools over 41 days."}],"score":93,"verdict":"caution"}