{"hook":"0xA6E48fb5a180D6A25EbC82B0CFeC4385c51DDAcC","block":92926065,"bits":6860,"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":true},{"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":8660,"selectors":["0x14229fd7","0x21d0ee70","0x23e0cf7a","0x259982e5","0x3589bf0d","0x3b01d64d","0x3b676235","0x3db608d6","0x48d67e1b","0x4ada218b","0x5339b03b","0x53c17d19","0x56e7f02b","0x575e24b4","0x57b9ab13","0x63b96780","0x6499b633","0x64df049e","0x6c2bbe7e","0x6f205fca","0x6fe7e6eb","0x80995627","0x819912a2","0x838b0824","0x84a08400","0x8a8c523c","0x92c75b4e","0x92d39a89","0x9ef833d4","0x9f063efc","0xb277c6a7","0xb47b2fb1","0xb4cf7029","0xb6a8b0fa","0xc3fe3e28","0xc4e833ce","0xd0001850","0xd1e48b3a","0xd38967f7","0xd967e14e","0xdc4c90d3","0xdc98354e","0xde329ee7","0xe1b4af69","0xe521cb92","0xe9ef2ce1","0xeb4eebc7","0xf851a440","0xfe378b92"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":2,"addresses":["0x08AF0C6cAcAc8e640c2c4E6deD8EaE8cA40Dac2F"]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":null,"functions":[{"selector":"0x14229fd7","name":"HALT_WINDOW_SELL_FEE_BPS()"},{"selector":"0x21d0ee70","name":"beforeRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)"},{"selector":"0x23e0cf7a","name":"decayBps()"},{"selector":"0x259982e5","name":"beforeAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)"},{"selector":"0x3589bf0d","name":"treasurySplitBps()"},{"selector":"0x3b01d64d","name":"OVERRIDE_FEE_FLAG()"},{"selector":"0x3b676235","name":"activateHaltWindow()"},{"selector":"0x3db608d6","name":"maxDynamicFeeBps()"},{"selector":"0x48d67e1b","name":"decayPeriod()"},{"selector":"0x4ada218b","name":"tradingEnabled()"},{"selector":"0x5339b03b","name":"FEE_CONTROL_DENOMINATOR()"},{"selector":"0x53c17d19","name":"activateCircuitBreaker((address,address,uint24,int24,address))"},{"selector":"0x56e7f02b","name":"maxTotalFeeBps()"},{"selector":"0x575e24b4","name":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)"},{"selector":"0x57b9ab13","name":"CIRCUIT_BREAKER_MAX_FEE_BPS()"},{"selector":"0x63b96780","name":"getVolatility((address,address,uint24,int24,address))"},{"selector":"0x6499b633","name":"getCurrentFee((address,address,uint24,int24,address))"},{"selector":"0x64df049e","name":"protocolFeeRecipient()"},{"selector":"0x6c2bbe7e","name":"afterRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)"},{"selector":"0x6f205fca","name":"volatility(bytes32)"},{"selector":"0x6fe7e6eb","name":"afterInitialize(address,(address,address,uint24,int24,address),uint160,int24)"},{"selector":"0x80995627","name":"setTreasurySplit(uint16)"},{"selector":"0x819912a2","name":"setGame(address)"},{"selector":"0x838b0824","name":"registerPoolIndex((address,address,uint24,int24,address),bytes2)"},{"selector":"0x84a08400","name":"poolIndex(bytes32)"},{"selector":"0x8a8c523c","name":"enableTrading()"},{"selector":"0x92c75b4e","name":"LP_FEE_OVERRIDE()"},{"selector":"0x92d39a89","name":"CIRCUIT_BREAKER_DURATION()"},{"selector":"0x9ef833d4","name":"setFees(uint16,uint16)"},{"selector":"0x9f063efc","name":"afterAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)"},{"selector":"0xb277c6a7","name":"setTreasuryRecipient(address)"},{"selector":"0xb47b2fb1","name":"afterSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),int256,bytes)"},{"selector":"0xb4cf7029","name":"circuitBreakerActivatedAt(bytes32)"},{"selector":"0xb6a8b0fa","name":"beforeDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)"},{"selector":"0xc3fe3e28","name":"game()"},{"selector":"0xc4e833ce","name":"getHookPermissions()"},{"selector":"0xd0001850","name":"haltWindowActive()"},{"selector":"0xd1e48b3a","name":"getCurrentSellFee((address,address,uint24,int24,address))"},{"selector":"0xd38967f7","name":"flatFeeBps()"},{"selector":"0xd967e14e","name":"feeControlNumerator()"},{"selector":"0xdc4c90d3","name":"poolManager()"},{"selector":"0xdc98354e","name":"beforeInitialize(address,(address,address,uint24,int24,address),uint160)"},{"selector":"0xde329ee7","name":"ABSOLUTE_MAX_FEE_BPS()"},{"selector":"0xe1b4af69","name":"afterDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)"},{"selector":"0xe521cb92","name":"setProtocolFeeRecipient(address)"},{"selector":"0xe9ef2ce1","name":"setDynamicFeeParams(uint16,uint256,uint32,uint16)"},{"selector":"0xeb4eebc7","name":"treasuryRecipient()"},{"selector":"0xf851a440","name":"admin()"},{"selector":"0xfe378b92","name":"deactivateHaltWindow()"}],"history":{"pools":117,"firstTime":1783958657,"lastTime":1783958876},"pools":[{"id":"0x493e9e8f20cabeb0eff74e356c74ab4ca966515e21d46db0c405ed2b08162657","key":{"currency0":"0x0000000000000000000000000000000000000000","currency1":"0xCB75D7974E15E74B0334f3d757cDC8EE15356C71","fee":8388608,"tickSpacing":60,"hooks":"0xA6E48fb5a180D6A25EbC82B0CFeC4385c51DDAcC"},"symbols":["ETH","ZSEASI"],"state":{"sqrtP":"786778683752263691988312220166188","tick":184076,"protocolFee":0,"lpFee":0,"liquidity":"0"},"swaps":[{"zeroForOne":true,"ok":false,"why":"thin","reason":"no liquidity at the current price"},{"zeroForOne":false,"ok":false,"why":"thin","reason":"no liquidity at the current price"}],"roundTrip":{"ok":false,"stage":"add","reason":"OnlyGame"}}],"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":"n/a","detail":"No pool with liquidity to swap through yet."},{"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 setTreasurySplit, setGame, setFees, setTreasuryRecipient, setProtocolFeeRecipient, setDynamicFeeParams."},{"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":"117 pools over 98 days."}],"score":75,"verdict":"caution"}