{"hook":"0x9A02cC48Fc2288bbD8Bc9C4c5149e5cF32F9E080","block":93421751,"bits":8320,"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":false},{"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":false},{"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":3822,"selectors":["0x1be05289","0x1f2d8550","0x575e24b4","0xaaf2756b","0xc45a0155","0xcaa93ee8","0xd1e16bfa","0xdc4c90d3","0xdc98354e","0xef8bddfd","0xf434c914","0xf805bdbf","0xfdc39fa3"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":0,"addresses":[]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":null,"functions":[{"selector":"0x1be05289","name":"DURATION()"},{"selector":"0x1f2d8550","name":"launches(address)"},{"selector":"0x575e24b4","name":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)"},{"selector":"0xaaf2756b","name":null},{"selector":"0xc45a0155","name":null},{"selector":"0xcaa93ee8","name":"currentFee(bytes32)"},{"selector":"0xd1e16bfa","name":"schedules(bytes32)"},{"selector":"0xdc4c90d3","name":"poolManager()"},{"selector":"0xdc98354e","name":"beforeInitialize(address,(address,address,uint24,int24,address),uint160)"},{"selector":"0xef8bddfd","name":"START_FEE()"},{"selector":"0xf434c914","name":"PERMISSIONS()"},{"selector":"0xf805bdbf","name":null},{"selector":"0xfdc39fa3","name":"DYNAMIC_FEE()"}],"history":{"pools":3,"firstTime":1789363754,"lastTime":1790691469},"pools":[{"id":"0x370ba969b97d8090620b96a1015b45b736d7a02f856d74447259229e8f6bab74","key":{"currency0":"0x0000000000000000000000000000000000000000","currency1":"0xC8eF304587eBe0cf163Eb99AaCd5540e19a50E57","fee":8388608,"tickSpacing":200,"hooks":"0x9A02cC48Fc2288bbD8Bc9C4c5149e5cF32F9E080"},"symbols":["ETH","NOOS"],"state":{"sqrtP":"52550995923306062405140520157","tick":-8212,"protocolFee":0,"lpFee":0,"liquidity":"1506855343062569790"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"1135900261337407","paid":"1135900261337407","got":"494496481722280","expected":"499488899470197","feePpm":0,"takePpm":9996},{"zeroForOne":false,"ok":true,"amountIn":"142034214344448","paid":"142034214344448","got":"319568775043389","expected":"322796283811653","feePpm":0,"takePpm":9999}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-6839103839489","-3864228357822"],"removed":["6839103839488","3864228357821"]}},{"id":"0xc1c874a09194ff661696d9ad04808ce88373aa6a030da4bd814d2a4285bd49e8","key":{"currency0":"0x0000000000000000000000000000000000000000","currency1":"0x0C48D727e5ae9D1045dd1CeA449B20FbCDEF8655","fee":8388608,"tickSpacing":200,"hooks":"0x9A02cC48Fc2288bbD8Bc9C4c5149e5cF32F9E080"},"symbols":["ETH","SHARESTOCK"],"state":{"sqrtP":"52098964984233561320933537085","tick":-8385,"protocolFee":0,"lpFee":0,"liquidity":"1506855343062569790"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"454048704541494","paid":"454048704541494","got":"190409992377637","expected":"196297794582818","feePpm":0,"takePpm":29995},{"zeroForOne":false,"ok":true,"amountIn":"495440013141714","paid":"495440013141714","got":"1110844342255472","expected":"1145183183420112","feePpm":0,"takePpm":29986}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-8810206574373","-3004502202178"],"removed":["8810206574372","3004502202177"]}}],"openCallbacks":[],"checks":[{"id":"01","title":"Permissions that touch your money","status":"pass","detail":"None of the permissions that let a hook take from swaps or from LPs are switched on."},{"id":"02","title":"What it takes from a swap","status":"caution","detail":"It takes 3.00% of each swap on top of the pool fee."},{"id":"03","title":"LPs can get out","status":"pass","detail":"Liquidity added and removed in the same block came back whole."},{"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":"pass","detail":"No owner and no admin functions found."},{"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 36 days."}],"score":85,"verdict":"caution"}