{"hook":"0x5Df831cbb133191E06a9088AEb98b0C5Fa1beacC","block":92981246,"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":23119,"selectors":["0xf2fde38b","0xfa227e92","0xff798040","0xe30c3978","0xed8ef7a3","0xd7e9ec04","0xdc98354e","0xdd1b9c4a","0xc4e833ce","0xcb850eb6","0x91dd7346","0xb47b2fb1","0xb4ba9e11","0x8da5cb5b","0x8f15ae9b","0x715018a6","0x79ba5097","0x7da3dafe","0x81fbf4e6","0x64482ac4","0x65d7b483","0x6ef61607","0x5e4807f2","0x62308e85","0x5315769b","0x53b0b154","0x575e24b4","0x488a1cf7","0x4ce1c4a2","0x28079e4a","0x46ca626b","0x4836a796","0x21d0ee70","0x259982e5","0x05ca6842","0x19692f89","0x1b7fd565","0x1e83409a"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":4,"addresses":["0xfFfD8963eFD1FC6A506488495D951d5263988d26","0xFFFD8963efd1FC6a506488495d951D5163961682"]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":"0x2F8decA0ceEe010da1bEFB8EAebCf9caBc96145e","functions":[{"selector":"0xf2fde38b","name":"transferOwnership(address)"},{"selector":"0xfa227e92","name":"recordContribution(bytes32,uint256)"},{"selector":"0xff798040","name":"planOf(bytes32)"},{"selector":"0xe30c3978","name":"pendingOwner()"},{"selector":"0xed8ef7a3","name":"setCreatorFeeRecipient(bytes32,address)"},{"selector":"0xd7e9ec04","name":"totalOwed(address)"},{"selector":"0xdc98354e","name":"beforeInitialize(address,(address,address,uint24,int24,address),uint160)"},{"selector":"0xdd1b9c4a","name":"POOL_FEE()"},{"selector":"0xc4e833ce","name":"getHookPermissions()"},{"selector":"0xcb850eb6","name":"planFor(address,address,uint256,uint256,uint256)"},{"selector":"0x91dd7346","name":"unlockCallback(bytes)"},{"selector":"0xb47b2fb1","name":"afterSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),int256,bytes)"},{"selector":"0xb4ba9e11","name":"claimFor(address,address)"},{"selector":"0x8da5cb5b","name":"owner()"},{"selector":"0x8f15ae9b","name":"poolKeyFor(address,address)"},{"selector":"0x715018a6","name":"renounceOwnership()"},{"selector":"0x79ba5097","name":"acceptOwnership()"},{"selector":"0x7da3dafe","name":"snipeTaxBps(bytes32)"},{"selector":"0x81fbf4e6","name":"allowedLaunchpad(address)"},{"selector":"0x64482ac4","name":"stateOf(bytes32)"},{"selector":"0x65d7b483","name":"poolIdOfToken(address)"},{"selector":"0x6ef61607","name":"configOf(bytes32)"},{"selector":"0x5e4807f2","name":"BURN_SINK()"},{"selector":"0x62308e85","name":"POOL_MANAGER()"},{"selector":"0x5315769b","name":"graduationReady(bytes32)"},{"selector":"0x53b0b154","name":"snipeExempt(bytes32,address)"},{"selector":"0x575e24b4","name":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)"},{"selector":"0x488a1cf7","name":"register((address,address,address,address,address,uint256,uint256,uint256,uint96,uint96,uint96,uint96,uint64,address[]))"},{"selector":"0x4ce1c4a2","name":"graduationQuote(bytes32)"},{"selector":"0x28079e4a","name":"owed(address,address)"},{"selector":"0x46ca626b","name":"TICK_SPACING()"},{"selector":"0x4836a796","name":"setLaunchpad(address,bool)"},{"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":"0x05ca6842","name":"realQuote(bytes32)"},{"selector":"0x19692f89","name":"graduate(bytes32)"},{"selector":"0x1b7fd565","name":"treasury(bytes32)"},{"selector":"0x1e83409a","name":"claim(address)"}],"history":{"pools":28,"firstTime":1790328568,"lastTime":1790534933},"pools":[{"id":"0xe30a0994f93945bb969c2b370f64d0577d9ee0a0a8831c7d2ae44c5aa723a7ef","key":{"currency0":"0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73","currency1":"0x32Afe62e8b5AfA777D863Ba1EC1D3253b89F745B","fee":0,"tickSpacing":200,"hooks":"0x5Df831cbb133191E06a9088AEb98b0C5Fa1beacC"},"symbols":["WETH","NIPPLES"],"state":{"sqrtP":"3773899389914002164507026901311043","tick":215436,"protocolFee":0,"lpFee":0,"liquidity":"13022919854992049966232"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"124919976188852","paid":"124919976188852","got":"280473703648461125747636","expected":"283305477485583697792319","feePpm":0,"takePpm":9996},{"zeroForOne":false,"ok":true,"amountIn":"310162369894700772576300","paid":"310162369894700772576300","got":"135265094300930","expected":"136631408384777","feePpm":0,"takePpm":10000}],"roundTrip":{"ok":false,"stage":"add","reason":"NotLocker"}},{"id":"0x5a43c1015bbd4df3e9140464b918d1fe47966368b94cca5ec839ebad91a244a4","key":{"currency0":"0x81e8b103Cd67E8849A5419cb09726e490c66e44e","currency1":"0xC9a981FEE1F9DEc688bb123ccDeCc63D0deBFC4e","fee":0,"tickSpacing":200,"hooks":"0x5Df831cbb133191E06a9088AEb98b0C5Fa1beacC"},"symbols":["RUSH","GLD"],"state":{"sqrtP":"5643839351900080914717490","tick":-191000,"protocolFee":0,"lpFee":0,"liquidity":"74779712648123336805417"},"swaps":[{"zeroForOne":true,"ok":false,"why":"blocked","reason":"CurveRangeExceeded"},{"zeroForOne":false,"ok":true,"amountIn":"2663476417815907","paid":"2663476417815907","got":"508885280634247577782317","expected":"524616135226567279757668","feePpm":0,"takePpm":29986}],"roundTrip":{"ok":false,"stage":"add","reason":"NotLocker"}}],"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 (CurveRangeExceeded). 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 0x2F8decA0ceEe010da1bEFB8EAebCf9caBc96145e. Owner-style functions: transferOwnership, setCreatorFeeRecipient, claimFor, BURN_SINK, setLaunchpad, claim."},{"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":"28 pools over 24 days."}],"score":56,"verdict":"danger"}