{"hook":"0xb84E86ACEd568eCC97249282B8541c525CaD68CC","block":93429206,"bits":10444,"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":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":8859,"selectors":["0x21d0ee70","0x259982e5","0x575e24b4","0x6c2bbe7e","0x6fe7e6eb","0x8da5cb5b","0x9189592d","0x9def75a6","0x9f063efc","0xa270a737","0xab221a76","0xb47b2fb1","0xb6a8b0fa","0xc091b21a","0xc1152831","0xc42069ec","0xc4e833ce","0xd73792a9","0xd7460cfc","0xdc4c90d3","0xdc98354e","0xe1b4af69","0xe2337899","0xe30c3978","0xeb1e3a34","0xebbc4965","0xf4d5e603","0xf80fe04b","0xfa02716d"],"delegatecall":false,"selfdestruct":false,"create":true,"calls":8,"addresses":["0x6A9c607597678762E109B6db9D05284e7b3bF7ab"]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":"0x575689F17ff53E418080D0E0d5F336ee9899C453","functions":[{"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":"0x575e24b4","name":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)"},{"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":"0x8da5cb5b","name":"owner()"},{"selector":"0x9189592d","name":"isSwapExempt(address)"},{"selector":"0x9def75a6","name":"POST_SELL_FINALIZE_GAS_RESERVE()"},{"selector":"0x9f063efc","name":"afterAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)"},{"selector":"0xa270a737","name":"venue()"},{"selector":"0xab221a76","name":"settler()"},{"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":"0xc091b21a","name":"POST_SELL_CALL_OVERHEAD_GAS_RESERVE()"},{"selector":"0xc1152831","name":"AUTO_REFLOW_GAS_LIMIT()"},{"selector":"0xc42069ec","name":"setPendingOwner(address)"},{"selector":"0xc4e833ce","name":"getHookPermissions()"},{"selector":"0xd73792a9","name":"FEE_DENOMINATOR()"},{"selector":"0xd7460cfc","name":"POST_SELL_HOOK_DATA()"},{"selector":"0xdc4c90d3","name":"poolManager()"},{"selector":"0xdc98354e","name":"beforeInitialize(address,(address,address,uint24,int24,address),uint160)"},{"selector":"0xe1b4af69","name":"afterDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)"},{"selector":"0xe2337899","name":"setCoordinates(address,address)"},{"selector":"0xe30c3978","name":"pendingOwner()"},{"selector":"0xeb1e3a34","name":"setSwapExempt(address,bool)"},{"selector":"0xebbc4965","name":"acceptOwner()"},{"selector":"0xf4d5e603","name":"poolTaxInfo(bytes32)"},{"selector":"0xf80fe04b","name":"SETTLEMENT_GAS_LIMIT()"},{"selector":"0xfa02716d","name":"registerPool((address,address,uint24,int24,address),address)"}],"history":{"pools":3,"firstTime":1790067235,"lastTime":1790071613},"pools":[{"id":"0x0ee940e79673cbc871a48605d25125d69a75377a09582c80d103e13f9e24e44f","key":{"currency0":"0xd0601CE157Db5bdC3162BbaC2a2C8aF5320D9EEC","currency1":"0xE2d84c0a2c8c021e99B3965e1993Bd64C24FfFc2","fee":3000,"tickSpacing":60,"hooks":"0xb84E86ACEd568eCC97249282B8541c525CaD68CC"},"symbols":["NVDA","NNN"],"state":{"sqrtP":"7215727534985969468725095360156571","tick":228400,"protocolFee":0,"lpFee":3000,"liquidity":"10953355704988311936913"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"60133523727420","paid":"60133523727420","got":"492077845901873807043594","expected":"497045852642448651278996","feePpm":3000,"takePpm":9996},{"zeroForOne":false,"ok":true,"amountIn":"246331655384544684112644","paid":"246331655384544684112644","got":"29305058237366","expected":"29601068926632","feePpm":3000,"takePpm":10000}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-366941880988","-3142794818052884792115"],"removed":["366941880987","3142794818052884792114"]}},{"id":"0x4303bc7eedde677d003b349de5c8d0af39f6d7c003a8a65dae8dc0fcd0bf9240","key":{"currency0":"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168","currency1":"0xf1A5535A686461EEe3E8EF7495f1b24C653Efe90","fee":3000,"tickSpacing":60,"hooks":"0xb84E86ACEd568eCC97249282B8541c525CaD68CC"},"symbols":["USDG","BBB"],"state":{"sqrtP":"471062465557461108683298974354419605550","tick":450141,"protocolFee":0,"lpFee":3000,"liquidity":"157244912248416711"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"6945","paid":"6945","got":"223213743786462009079805","expected":"244704078303775633273694","feePpm":3000,"takePpm":87822},{"zeroForOne":false,"ok":true,"amountIn":"456196459070840942544402","paid":"456196459070840942544402","got":"11729","expected":"12859","feePpm":3000,"takePpm":87877}],"roundTrip":{"ok":true,"lossPpm":11905,"added":["-84","-2858187856405156895438"],"removed":["83","2858187856405156895437"]}}],"openCallbacks":[],"checks":[{"id":"01","title":"Permissions that touch your money","status":"caution","detail":"The address enables 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 8.79% of each swap on top of the pool fee."},{"id":"03","title":"LPs can get out","status":"caution","detail":"Taking liquidity straight back out lost 1.19%."},{"id":"04","title":"The fee is the fee","status":"pass","detail":"A fixed fee of 0.30%, written in the pool key."},{"id":"05","title":"No one holds the switch","status":"caution","detail":"Owned by 0x575689F17ff53E418080D0E0d5F336ee9899C453. Owner-style functions: settler, setPendingOwner, setCoordinates, setSwapExempt, SETTLEMENT_GAS_LIMIT."},{"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 28 days."}],"score":68,"verdict":"caution"}