{"hook":"0xfFDB07700af1545F89cB35b89f19f76F72D69000","block":93115233,"bits":4096,"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":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":false},{"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":1487,"selectors":["0x02669b52","0x4dbeb3e3","0x6fe7e6eb","0x755a97fc","0xda2076d9","0xdc4c90d3","0xf3703df4","0xf851a440"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":1,"addresses":[]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":null,"functions":[{"selector":"0x02669b52","name":"launchpad()"},{"selector":"0x4dbeb3e3","name":"MAX_FEE_PIPS()"},{"selector":"0x6fe7e6eb","name":"afterInitialize(address,(address,address,uint24,int24,address),uint160,int24)"},{"selector":"0x755a97fc","name":"bindLaunchpad(address)"},{"selector":"0xda2076d9","name":"setPoolFee((address,address,uint24,int24,address),uint24)"},{"selector":"0xdc4c90d3","name":"poolManager()"},{"selector":"0xf3703df4","name":"poolFee(bytes32)"},{"selector":"0xf851a440","name":"admin()"}],"history":{"pools":9,"firstTime":1788832029,"lastTime":1789194833},"pools":[{"id":"0x9919cefab3f645582e6871fe39de299ded086e72a9ce5c5b59a44c4220b6efa8","key":{"currency0":"0x5189DA0aC34E1a4210389a79ac9D4EAf38810B17","currency1":"0xe8d01bB448f9c432ff71D905B2c4B2712745AD08","fee":8388608,"tickSpacing":200,"hooks":"0xfFDB07700af1545F89cB35b89f19f76F72D69000"},"symbols":["FRIES","FRIES"],"state":{"sqrtP":"79650536983005461656984202","tick":-138056,"protocolFee":0,"lpFee":20000,"liquidity":"607777212341176209520298"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"302277131930117270427895","paid":"302277131930117270427895","got":"299251864525087270","expected":"299251864525087270","feePpm":20000,"takePpm":0},{"zeroForOne":false,"ok":true,"amountIn":"305508671366025064","paid":"305508671366025064","got":"296086506903132389380215","expected":"296086506903132389380215","feePpm":20000,"takePpm":0}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-1949705717222543314652","-2232091756588670"],"removed":["1949705717222543314651","2232091756588669"]}},{"id":"0xa1b4799788722dcb73b564efe672ea78c0ff342f1c5361b74214a2262e93e655","key":{"currency0":"0xa9f25C0e144B6E5E1537A43fC8fb79cB8f8e184A","currency1":"0xc15B8a83702729c92a61b0485867F0908f7fB9AA","fee":8388608,"tickSpacing":200,"hooks":"0xfFDB07700af1545F89cB35b89f19f76F72D69000"},"symbols":["RB","PUMP"],"state":{"sqrtP":"41239105312602910584692086596675","tick":125102,"protocolFee":0,"lpFee":20000,"liquidity":"680458822818492067811223"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"653645390580925419","paid":"653645390580925419","got":"173466185398821089827858","expected":"173466185398821089827858","feePpm":20000,"takePpm":0},{"zeroForOne":false,"ok":true,"amountIn":"177093044724149502529484","paid":"177093044724149502529484","got":"640258755978877261","expected":"640258755978877261","feePpm":20000,"takePpm":0}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-4480604855484544","-1222359974255020136411"],"removed":["4480604855484543","1222359974255020136410"]}}],"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":"pass","detail":"A swap through it pays the pool fee and nothing else."},{"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. It stands at 2% now and can change."},{"id":"05","title":"No one holds the switch","status":"caution","detail":"No owner() but it has setPoolFee."},{"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":"9 pools over 42 days."}],"score":90,"verdict":"caution"}