{"hook":"0xE753a351FB498051a09Dc130fcC29aEBc76525DC","block":93363444,"bits":9692,"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":true},{"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":true},{"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":true},{"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":24489,"selectors":["0xf04e283e","0xf2fde38b","0xfee81cf4","0xff3575e4","0xdddfecf5","0xdf81740e","0xe1b4af69","0xd897ba96","0xdb39edfd","0xdc4c90d3","0xdc98354e","0xcd141112","0xd3bff717","0xd510327d","0xba3e69b7","0xbe721505","0xc29c945b","0xc4e833ce","0xb3b42795","0xb47b2fb1","0xb6a8b0fa","0x9f063efc","0xa87277dd","0xad49d66e","0xb00eb9fe","0x8da5cb5b","0x8f2bdf75","0x91dd7346","0x7ba42efa","0x7dc0d1d0","0x84aa1da0","0x8c66d04f","0x715018a6","0x75d252a5","0x7907addf","0x575e24b4","0x67aa4d78","0x6c2bbe7e","0x6fe7e6eb","0x4ed0f0f5","0x54d1f13d","0x55d1cb60","0x320e0fad","0x3e38b378","0x4875cbb8","0x4b8775f2","0x25692962","0x259982e5","0x299d532e","0x15200ca1","0x1d0806ae","0x21d0ee70","0x2423028c","0x01a2cae8","0x09276ea4","0x0cd02239"],"delegatecall":true,"selfdestruct":false,"create":false,"calls":30,"addresses":["0xE7666Ce1f912655e467cf3e0972A7fc8efb49b66"]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":"0xB8A70b4d1547bf6193bd67A73F4F98ea9FD0A973","functions":[{"selector":"0xf04e283e","name":"completeOwnershipHandover(address)"},{"selector":"0xf2fde38b","name":"transferOwnership(address)"},{"selector":"0xfee81cf4","name":"ownershipHandoverExpiresAt(address)"},{"selector":"0xff3575e4","name":"getFlaunchingMarketCap(bytes)"},{"selector":"0xdddfecf5","name":"flayGovernance()"},{"selector":"0xdf81740e","name":"setInitialPrice(address)"},{"selector":"0xe1b4af69","name":"afterDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)"},{"selector":"0xd897ba96","name":"approveCreator(address,bool)"},{"selector":"0xdb39edfd","name":"flaunchWithLiquidity((address,address,uint24,bytes,bytes,address),(uint256,uint256,uint256,uint256))"},{"selector":"0xdc4c90d3","name":"poolManager()"},{"selector":"0xdc98354e","name":"beforeInitialize(address,(address,address,uint24,int24,address),uint160)"},{"selector":"0xcd141112","name":"internalSwapPool()"},{"selector":"0xd3bff717","name":"setFeeDistribution((uint24,uint24,uint24,bool))"},{"selector":"0xd510327d","name":"approvedMemecoinCreator(address)"},{"selector":"0xba3e69b7","name":"bidWall()"},{"selector":"0xbe721505","name":"setFlaunch(address)"},{"selector":"0xc29c945b","name":"MAX_PROTOCOL_ALLOCATION()"},{"selector":"0xc4e833ce","name":"getHookPermissions()"},{"selector":"0xb3b42795","name":"getPoolFeeDistribution(bytes32)"},{"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":"0x9f063efc","name":"afterAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)"},{"selector":"0xa87277dd","name":"setReferralEscrow(address)"},{"selector":"0xad49d66e","name":"closeBidWall((address,address,uint24,int24,address))"},{"selector":"0xb00eb9fe","name":"feeCalculator()"},{"selector":"0x8da5cb5b","name":"owner()"},{"selector":"0x8f2bdf75","name":"referralEscrow()"},{"selector":"0x91dd7346","name":"unlockCallback(bytes)"},{"selector":"0x7ba42efa","name":"setCreatorFeeAllocation(address,uint24)"},{"selector":"0x7dc0d1d0","name":"oracle()"},{"selector":"0x84aa1da0","name":"flaunchContract()"},{"selector":"0x8c66d04f","name":"setFeeCalculator(address)"},{"selector":"0x715018a6","name":"renounceOwnership()"},{"selector":"0x75d252a5","name":"actionManager()"},{"selector":"0x7907addf","name":"flaunchesAt(bytes32)"},{"selector":"0x575e24b4","name":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)"},{"selector":"0x67aa4d78","name":"flaunch((address,address,uint24,bytes,bytes,address))"},{"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":"0x4ed0f0f5","name":"setPoolFeeDistribution(bytes32,(uint24,uint24,uint24,bool))"},{"selector":"0x54d1f13d","name":"cancelOwnershipHandover()"},{"selector":"0x55d1cb60","name":"poolKey(address)"},{"selector":"0x320e0fad","name":"pairedTokenBidWallThreshold(bytes32)"},{"selector":"0x3e38b378","name":"pairedToken(bytes32)"},{"selector":"0x4875cbb8","name":"feeSplit(bytes32,uint256)"},{"selector":"0x4b8775f2","name":"pairedTokenRegistry()"},{"selector":"0x25692962","name":"requestOwnershipHandover()"},{"selector":"0x259982e5","name":"beforeAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)"},{"selector":"0x299d532e","name":"MIN_DISTRIBUTE_THRESHOLD()"},{"selector":"0x15200ca1","name":"pairedTokenFeeEscrow(bytes32)"},{"selector":"0x1d0806ae","name":"initialPrice()"},{"selector":"0x21d0ee70","name":"beforeRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)"},{"selector":"0x2423028c","name":"setProtocolFeeDistribution(uint24)"},{"selector":"0x01a2cae8","name":"feeExemptions()"},{"selector":"0x09276ea4","name":"notifier()"},{"selector":"0x0cd02239","name":"creatorFee(bytes32)"}],"history":{"pools":4,"firstTime":1789671814,"lastTime":1792165618},"pools":[{"id":"0x22422391737a4e445ecb9d2dc52a6414c0c0a306e255853ed717c55f9dc8951d","key":{"currency0":"0x0000000000000000000000000000000000000000","currency1":"0xd554926F044CFFBF6c4544B5Af3820c2A1ec3165","fee":0,"tickSpacing":60,"hooks":"0xE753a351FB498051a09Dc130fcC29aEBc76525DC"},"symbols":["ETH","GETREKT"],"state":{"sqrtP":"20701053561443604620668845149655259","tick":249479,"protocolFee":0,"lpFee":0,"liquidity":"363584273071055209748805"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"695764439935476","paid":"695764439935476","got":"47001988232355830146111572","expected":"47475644165902386368319611","feePpm":0,"takePpm":9977},{"zeroForOne":false,"ok":true,"amountIn":"309005974684818641654333","paid":"309005974684818641654333","got":"4480999835959","expected":"4526262460564","feePpm":0,"takePpm":10000}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-4114143794698","-308244916332841406140003"],"removed":["4114143794697","308244916332841406140002"]}},{"id":"0x534e58dd66bdfab8a214c0a776227b9196c7829d272f193ad26703c14a52e459","key":{"currency0":"0x00000000043C1117DAFA3A3D0C7148Eb48B30130","currency1":"0x9Ea64e149a20EE9dE2A90920251Eb9b2e8c5eB37","fee":0,"tickSpacing":60,"hooks":"0xE753a351FB498051a09Dc130fcC29aEBc76525DC"},"symbols":["flETH","CANARY"],"state":{"sqrtP":"41098466542285922334403507161162727","tick":263196,"protocolFee":0,"lpFee":0,"liquidity":"190050260138127815022251"},"swaps":[{"zeroForOne":true,"ok":true,"amountIn":"165695088383096","paid":"165695088383096","got":"44125048665856630985759243","expected":"44566172209142790268847771","feePpm":0,"takePpm":9899},{"zeroForOne":false,"ok":true,"amountIn":"29407159371297074920868567","paid":"29407159371297074920868567","got":"108159999153851","expected":"109252524397829","feePpm":0,"takePpm":10000}],"roundTrip":{"ok":true,"lossPpm":1,"added":["-1125111574173","-308627027931149333555999"],"removed":["1125111574172","308627027931149333555998"]}}],"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":"pass","detail":"It takes 1% 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":"pass","detail":"A fixed fee of 0%, written in the pool key."},{"id":"05","title":"No one holds the switch","status":"caution","detail":"Owned by 0xB8A70b4d1547bf6193bd67A73F4F98ea9FD0A973. Owner-style functions: transferOwnership, setInitialPrice, setFeeDistribution, setFlaunch, setReferralEscrow, setCreatorFeeAllocation."},{"id":"06","title":"The code cannot change","status":"caution","detail":"The bytecode contains DELEGATECALL."},{"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":"4 pools over 32 days."}],"score":80,"verdict":"caution"}