{"hook":"0xB6E3a7D356B497E9015871BfaFaB279fEcDa2ACc","block":93143766,"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":24271,"selectors":["0x05bbe18e","0x1129a2b7","0x130896b0","0x165acc85","0x1795d3e2","0x1e83409a","0x21d0ee70","0x249d39e9","0x259982e5","0x2af9febb","0x2ca54c9c","0x34f17e89","0x39d960ad","0x3a2c6777","0x3dfd66f8","0x3f2a5540","0x46ca626b","0x471a0ccc","0x4b5546d9","0x4bc28bc9","0x539aa77f","0x54803d4d","0x575e24b4","0x5bb9535b","0x63209b72","0x6493fd84","0x689b4a45","0x6c2bbe7e","0x6fe7e6eb","0x72c1e30b","0x7a4e4ecf","0x7b103999","0x7bf2745b","0x8125dd10","0x8b399a20","0x8ff279eb","0x91dd7346","0x9a799c30","0x9c8ef1f4","0x9f063efc","0xa0b2fa38","0xa1a4eb5a","0xa31e98cf","0xaa6df5e7","0xab461aae","0xac34ab35","0xaefa5d62","0xb47b2fb1","0xb6a8b0fa","0xbf4270c3","0xc45a0155","0xc4c39b7d","0xc4e833ce","0xc89ac083","0xd01057f3","0xd0280936","0xd1f5c33b","0xd4570c1c","0xd6614f84","0xdc4c90d3","0xdc98354e","0xdf21046e","0xe1b4af69","0xee5b4f08","0xfc472bb6"],"delegatecall":true,"selfdestruct":false,"create":false,"calls":24,"addresses":["0xDb1b86CbbDD0d8e792a49CE360cD9CFE8Fdf086b","0xFFFD8963efd1FC6a506488495d951D5163961682"]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":null,"functions":[{"selector":"0x05bbe18e","name":"LIQUIDITY_FEE_BPS_GRADUATED()"},{"selector":"0x1129a2b7","name":"launchStateOf(bytes32)"},{"selector":"0x130896b0","name":"setBuyerReward(uint256,uint256)"},{"selector":"0x165acc85","name":"qualifyingBuyCount(bytes32)"},{"selector":"0x1795d3e2","name":"buyerRewardEvery()"},{"selector":"0x1e83409a","name":"claim(address)"},{"selector":"0x21d0ee70","name":"beforeRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)"},{"selector":"0x249d39e9","name":"BPS()"},{"selector":"0x259982e5","name":"beforeAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)"},{"selector":"0x2af9febb","name":"platformRecipient()"},{"selector":"0x2ca54c9c","name":"TAIL_TICK_WIDTH()"},{"selector":"0x34f17e89","name":null},{"selector":"0x39d960ad","name":"snipeMaxBuyBps()"},{"selector":"0x3a2c6777","name":"rewardVault()"},{"selector":"0x3dfd66f8","name":"renounceRescue()"},{"selector":"0x3f2a5540","name":"rewardsDistributor()"},{"selector":"0x46ca626b","name":"TICK_SPACING()"},{"selector":"0x471a0ccc","name":"CREATOR_RWA_POOL_BPS()"},{"selector":"0x4b5546d9","name":"sweepRwa(address)"},{"selector":"0x4bc28bc9","name":null},{"selector":"0x539aa77f","name":"PLATFORM_FEE_BPS()"},{"selector":"0x54803d4d","name":"buyerRewardRound(bytes32)"},{"selector":"0x575e24b4","name":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)"},{"selector":"0x5bb9535b","name":null},{"selector":"0x63209b72","name":"boughtDuringSnipeWindow(bytes32,address)"},{"selector":"0x6493fd84","name":"pendingLiquidityFeeOf(bytes32)"},{"selector":"0x689b4a45","name":"BUYER_REWARD_CAP_BPS()"},{"selector":"0x6c2bbe7e","name":"afterRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)"},{"selector":"0x6fe7e6eb","name":"afterInitialize(address,(address,address,uint24,int24,address),uint160,int24)"},{"selector":"0x72c1e30b","name":"buyerRewardPot(bytes32)"},{"selector":"0x7a4e4ecf","name":"rescue(address,uint256)"},{"selector":"0x7b103999","name":"registry()"},{"selector":"0x7bf2745b","name":"snipeWindowSecs()"},{"selector":"0x8125dd10","name":"setRewardVault(address)"},{"selector":"0x8b399a20","name":"flushToDistributor(address)"},{"selector":"0x8ff279eb","name":null},{"selector":"0x91dd7346","name":"unlockCallback(bytes)"},{"selector":"0x9a799c30","name":"rescueRenounced()"},{"selector":"0x9c8ef1f4","name":"LIQUIDITY_FEE_BPS_CURVE()"},{"selector":"0x9f063efc","name":"afterAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)"},{"selector":"0xa0b2fa38","name":"surgeMaxBps()"},{"selector":"0xa1a4eb5a","name":null},{"selector":"0xa31e98cf","name":"minQualifyingBuy()"},{"selector":"0xaa6df5e7","name":null},{"selector":"0xab461aae","name":"MAX_SURCHARGE_BPS()"},{"selector":"0xac34ab35","name":"sweepBurn(address,uint256)"},{"selector":"0xaefa5d62","name":null},{"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":"0xbf4270c3","name":"sweepClaims(address,address[])"},{"selector":"0xc45a0155","name":null},{"selector":"0xc4c39b7d","name":null},{"selector":"0xc4e833ce","name":"getHookPermissions()"},{"selector":"0xc89ac083","name":"setSnipeGuard(uint256,uint256)"},{"selector":"0xd01057f3","name":"SNIPER_TAX_FLOOR_BPS()"},{"selector":"0xd0280936","name":"setPlatformRecipient(address)"},{"selector":"0xd1f5c33b","name":"setRewardsDistributor(address)"},{"selector":"0xd4570c1c","name":"claimable(address,address)"},{"selector":"0xd6614f84","name":"CREATOR_ONLY_BPS()"},{"selector":"0xdc4c90d3","name":"poolManager()"},{"selector":"0xdc98354e","name":"beforeInitialize(address,(address,address,uint24,int24,address),uint160)"},{"selector":"0xdf21046e","name":null},{"selector":"0xe1b4af69","name":"afterDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)"},{"selector":"0xee5b4f08","name":null},{"selector":"0xfc472bb6","name":null}],"history":{"pools":8,"firstTime":1786460360,"lastTime":1786550878},"pools":[{"id":"0x5bfc7cdcf87321e83aeb346d0399b81765590b580c7faeb552a41e107067d0ff","key":{"currency0":"0x0000000000000000000000000000000000000000","currency1":"0xB622382c79d2902F13D9246CdCAD6C2E24167967","fee":0,"tickSpacing":60,"hooks":"0xB6E3a7D356B497E9015871BfaFaB279fEcDa2ACc"},"symbols":["ETH","BURNB"],"state":{"sqrtP":"1404008530608310939519643363254386","tick":195659,"protocolFee":0,"lpFee":0,"liquidity":"60566069005356740559325"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"1708870798643759","paid":"1708870798643759","got":"527802000828419440894244","expected":"536379858254639296507995","feePpm":0,"takePpm":15993},{"zeroForOne":false,"ok":true,"amountIn":"205547205439957680244","paid":"205547205439957680244","got":"644059908955","expected":"654532427797","feePpm":0,"takePpm":16000}],"roundTrip":{"ok":false,"stage":"add","reason":"UnauthorizedLiquidity"}},{"id":"0xbed6ba1a18086bb4a57a22c39b3a64e30572d88b94ca1b3ff7d8e2548c6289b9","key":{"currency0":"0x0000000000000000000000000000000000000000","currency1":"0x79DF8B0D4Faa746e80F343d6D8C55ac1AaFe1d3a","fee":0,"tickSpacing":60,"hooks":"0xB6E3a7D356B497E9015871BfaFaB279fEcDa2ACc"},"symbols":["ETH","BURNX"],"state":{"sqrtP":"1404009178467964525211652330242909","tick":195659,"protocolFee":0,"lpFee":0,"liquidity":"60566069005356740559325"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"1708870010110137","paid":"1708870010110137","got":"526746639886352745647384","expected":"536380105759452720850268","feePpm":0,"takePpm":17961},{"zeroForOne":false,"ok":true,"amountIn":"81732922615359101442","paid":"81732922615359101442","got":"256101055120","expected":"260265299917","feePpm":0,"takePpm":16000}],"roundTrip":{"ok":false,"stage":"add","reason":"UnauthorizedLiquidity"}}],"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":"caution","detail":"It takes 1.80% 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":"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 setBuyerReward, claim, sweepRwa, rescue, setRewardVault, rescueRenounced."},{"id":"06","title":"The code cannot change","status":"caution","detail":"The bytecode contains DELEGATECALL."},{"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":"8 pools over 69 days."}],"score":62,"verdict":"caution"}