{"hook":"0xD00d6d1D87040C687FdFa02d731929aa2cFeE888","block":92951814,"bits":10376,"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":false},{"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":23613,"selectors":["0x01ffc9a7","0x05c5226e","0x06bfcec6","0x117803e3","0x149d32ed","0x14a03426","0x210be102","0x249d39e9","0x259982e5","0x28c32069","0x2a8def35","0x387bd4da","0x3a055e48","0x3ca4b36b","0x406f2a4b","0x44d2e91b","0x46ca626b","0x48d8b0ba","0x553a7a7b","0x575e24b4","0x5a58fe4b","0x5f01059a","0x62308e85","0x6f28507c","0x78656822","0x7c9afb2b","0x7d12ce21","0x7f5a7c7b","0x82dc7a4d","0x863d8bba","0x9089ad0e","0x91dd7346","0x93a93d68","0x950a5ff1","0xa70b9f0c","0xa81507c5","0xb152f6cf","0xb9541c49","0xbf934fcc","0xc0d67a9f","0xd22db9c9","0xd55be8c6","0xd6fd7145","0xd8e81031","0xdc98354e","0xdd1b9c4a","0xdf0ec4dc","0xe85a70f0","0xe94a6a22","0xeb44fdd3","0xec979082","0xf94e1c2c"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":27,"addresses":["0xfFfD8963eFD1FC6A506488495D951d5263988d26"]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":null,"functions":[{"selector":"0x01ffc9a7","name":"supportsInterface(bytes4)"},{"selector":"0x05c5226e","name":"OPENING_VALUATION_NATIVE()"},{"selector":"0x06bfcec6","name":"implementationVersion()"},{"selector":"0x117803e3","name":"OWNER()"},{"selector":"0x149d32ed","name":"marketOpeningValuationNative(uint256)"},{"selector":"0x14a03426","name":"targetSqrtPriceX96(uint256)"},{"selector":"0x210be102","name":null},{"selector":"0x249d39e9","name":"BPS()"},{"selector":"0x259982e5","name":"beforeAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)"},{"selector":"0x28c32069","name":"getEffectiveLiquidity((address,address,uint24,int24,address))"},{"selector":"0x2a8def35","name":null},{"selector":"0x387bd4da","name":"marketForToken(address)"},{"selector":"0x3a055e48","name":null},{"selector":"0x3ca4b36b","name":"VIRTUAL_DEPTH_NATIVE()"},{"selector":"0x406f2a4b","name":"spotPriceNativePerCoinWad(uint256)"},{"selector":"0x44d2e91b","name":"latestMarketForSubject(bytes32)"},{"selector":"0x46ca626b","name":"TICK_SPACING()"},{"selector":"0x48d8b0ba","name":"getReserves((address,address,uint24,int24,address))"},{"selector":"0x553a7a7b","name":"accruedProtocolFeesNative()"},{"selector":"0x575e24b4","name":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)"},{"selector":"0x5a58fe4b","name":"TOKEN_FACTORY()"},{"selector":"0x5f01059a","name":null},{"selector":"0x62308e85","name":"POOL_MANAGER()"},{"selector":"0x6f28507c","name":"TOTAL_FEE_BPS()"},{"selector":"0x78656822","name":"totalNativeClaims()"},{"selector":"0x7c9afb2b","name":"getBonkPosition(uint256,address)"},{"selector":"0x7d12ce21","name":"quoteOpenBonk(uint256,uint256)"},{"selector":"0x7f5a7c7b","name":"hook()"},{"selector":"0x82dc7a4d","name":"spotValuationNative(uint256)"},{"selector":"0x863d8bba","name":null},{"selector":"0x9089ad0e","name":"ENTRY_FEE_BPS()"},{"selector":"0x91dd7346","name":"unlockCallback(bytes)"},{"selector":"0x93a93d68","name":"executableSettlementCapacityNative()"},{"selector":"0x950a5ff1","name":"unattributedNativeClaims()"},{"selector":"0xa70b9f0c","name":"EPOCH_DURATION()"},{"selector":"0xa81507c5","name":"settlementReserveNative()"},{"selector":"0xb152f6cf","name":"TOKEN_SUPPLY()"},{"selector":"0xb9541c49","name":null},{"selector":"0xbf934fcc","name":null},{"selector":"0xc0d67a9f","name":"marketLaunchBlock(uint256)"},{"selector":"0xd22db9c9","name":"marketForPool(bytes32)"},{"selector":"0xd55be8c6","name":"MAX_FEE_BPS()"},{"selector":"0xd6fd7145","name":null},{"selector":"0xd8e81031","name":"openBonk(uint256,uint256,uint40)"},{"selector":"0xdc98354e","name":"beforeInitialize(address,(address,address,uint24,int24,address),uint160)"},{"selector":"0xdd1b9c4a","name":"POOL_FEE()"},{"selector":"0xdf0ec4dc","name":null},{"selector":"0xe85a70f0","name":"DISPLAY_TICK_LOWER()"},{"selector":"0xe94a6a22","name":"DISPLAY_TICK_UPPER()"},{"selector":"0xeb44fdd3","name":"getMarket(uint256)"},{"selector":"0xec979082","name":"marketCount()"},{"selector":"0xf94e1c2c","name":null}],"history":{"pools":101,"firstTime":1787765012,"lastTime":1787871543},"pools":[{"id":"0x572e4f0086916fcb0c7239406c36a007d2ca25d14cd5f03e599e9bdb302b9ac2","key":{"currency0":"0x0000000000000000000000000000000000000000","currency1":"0xFbaD53a2E8fd97326F34ff4fB32b1A9fB6C32965","fee":0,"tickSpacing":60,"hooks":"0xD00d6d1D87040C687FdFa02d731929aa2cFeE888"},"symbols":["ETH","TYPEDARRAY"],"state":{"sqrtP":"47689749663488365434677349056512","tick":128009,"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":"Unauthorized"}}],"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":"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":"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 settlementReserveNative."},{"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":"101 pools over 54 days."}],"score":79,"verdict":"caution"}