{"hook":"0x32f685F7941744D1f93b34ECbCE34358472b60Cc","block":92947800,"bits":8396,"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":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":19697,"selectors":["0x06c29f11","0x082bebf1","0x0d4dbd1d","0x10be0341","0x1220ef1f","0x19379038","0x1d0ec52f","0x2bca33e9","0x31277ba0","0x32b1f5b9","0x404c5434","0x40fd6d98","0x4a774941","0x4bde38c8","0x4be27441","0x4e71d92d","0x4f28f630","0x52f9adb4","0x56f93f37","0x575e24b4","0x5cd37b3f","0x60c6be1b","0x61b4fc7f","0x6945c5ea","0x6ef61607","0x6fb9389a","0x704b6c02","0x715018a6","0x71a43408","0x79ba5097","0x8997235c","0x8da5cb5b","0x91b31f13","0x91dd7346","0x999699de","0xa04c294b","0xa262f5f8","0xa87d3374","0xae5084d7","0xb47b2fb1","0xb5c7d44a","0xb92be3fe","0xbde5a650","0xbf9b58cf","0xc4e833ce","0xcc718f76","0xcf7568b7","0xd48a4846","0xdab0d529","0xdc4c90d3","0xdc98354e","0xdd1b9c4a","0xdf18e047","0xe30c3978","0xe978bdd7","0xea40f8fe","0xebbd8172","0xef176059","0xf2fde38b","0xf3d507a3","0xf851a440","0xf8bc6db2","0xfa275e11","0xfd71aabe"],"delegatecall":false,"selfdestruct":false,"create":false,"calls":10,"addresses":["0xfFFFFfffFFFfFfFFffFFFfFfffFFfFfF00000000","0xfFFFfFfffFfFFfFFfffFffFFFffffFFF0000ffff"]},"proxy":{"implementation":null,"admin":null,"beacon":null,"clone":false},"owner":"0x7B2DaF7F696bB844C7786693062D6619D1858cC9","functions":[{"selector":"0x06c29f11","name":"referralSplitter()"},{"selector":"0x082bebf1","name":"tierDivisor()"},{"selector":"0x0d4dbd1d","name":"platformBpsOf(bytes32,bool)"},{"selector":"0x10be0341","name":"maxSideBps()"},{"selector":"0x1220ef1f","name":"accruedEth(bytes32)"},{"selector":"0x19379038","name":"setMaxSideBps(uint16)"},{"selector":"0x1d0ec52f","name":"MAX_SPLIT_RECIPIENTS()"},{"selector":"0x2bca33e9","name":"MAX_TRADING_DELAY()"},{"selector":"0x31277ba0","name":"adminSetAutoThreshold(bytes32,uint80)"},{"selector":"0x32b1f5b9","name":"setPoolPlatformBps(bytes32,uint16,bool)"},{"selector":"0x404c5434","name":"pushOwed(address)"},{"selector":"0x40fd6d98","name":"adminSetRewardsBps(bytes32,uint16)"},{"selector":"0x4a774941","name":"MAX_LAUNCH_TAX_BPS()"},{"selector":"0x4bde38c8","name":"platform()"},{"selector":"0x4be27441","name":"setLauncher(address,bool)"},{"selector":"0x4e71d92d","name":"claim()"},{"selector":"0x4f28f630","name":"tierBase()"},{"selector":"0x52f9adb4","name":"adminSetRates(bytes32,uint16,uint16)"},{"selector":"0x56f93f37","name":"configurePool((address,address,uint24,int24,address),(address,uint16,uint16,address[],uint16[],address,uint16,bool,uint80,uint16,uint16,uint16,uint8))"},{"selector":"0x575e24b4","name":"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)"},{"selector":"0x5cd37b3f","name":"MAX_LAUNCH_TAX_SECS()"},{"selector":"0x60c6be1b","name":"poolRefSink(bytes32)"},{"selector":"0x61b4fc7f","name":"addEdge(address,address,uint,uint)"},{"selector":"0x6945c5ea","name":"setPlatform(address)"},{"selector":"0x6ef61607","name":"configOf(bytes32)"},{"selector":"0x6fb9389a","name":"MAX_BUY_LOCK_SECS()"},{"selector":"0x704b6c02","name":"setAdmin(address)"},{"selector":"0x715018a6","name":"renounceOwnership()"},{"selector":"0x71a43408","name":"setAutoSend(bytes32,bool)"},{"selector":"0x79ba5097","name":"acceptOwnership()"},{"selector":"0x8997235c","name":"effectiveBps(bytes32,bool)"},{"selector":"0x8da5cb5b","name":"owner()"},{"selector":"0x91b31f13","name":"refToken(bytes32)"},{"selector":"0x91dd7346","name":"unlockCallback(bytes)"},{"selector":"0x999699de","name":"setMaxBuy((address,address,uint24,int24,address),uint16)"},{"selector":"0xa04c294b","name":"setAutoThreshold(bytes32,uint80)"},{"selector":"0xa262f5f8","name":"claimTo(address)"},{"selector":"0xa87d3374","name":"adminSetAutoSend(bytes32,bool)"},{"selector":"0xae5084d7","name":"setReferralSplitter(address)"},{"selector":"0xb47b2fb1","name":"afterSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),int256,bytes)"},{"selector":"0xb5c7d44a","name":"MAX_PLATFORM_BPS()"},{"selector":"0xb92be3fe","name":"splitsOf(bytes32)"},{"selector":"0xbde5a650","name":"accruedPlatformEth(bytes32)"},{"selector":"0xbf9b58cf","name":"adminSetCreatorSplit(bytes32,address[],uint16[])"},{"selector":"0xc4e833ce","name":"getHookPermissions()"},{"selector":"0xcc718f76","name":"config(bytes32)"},{"selector":"0xcf7568b7","name":"setRewardsBps(bytes32,uint16)"},{"selector":"0xd48a4846","name":"launcherCount()"},{"selector":"0xdab0d529","name":"autoDistribute(bytes32,uint256,uint256)"},{"selector":"0xdc4c90d3","name":"poolManager()"},{"selector":"0xdc98354e","name":"beforeInitialize(address,(address,address,uint24,int24,address),uint160)"},{"selector":"0xdd1b9c4a","name":"POOL_FEE()"},{"selector":"0xdf18e047","name":"owed(address)"},{"selector":"0xe30c3978","name":"pendingOwner()"},{"selector":"0xe978bdd7","name":"setTierParams(uint16,uint16)"},{"selector":"0xea40f8fe","name":"distribute(bytes32)"},{"selector":"0xebbd8172","name":"MAX_SIDE_BPS_LIMIT()"},{"selector":"0xef176059","name":"setRates(bytes32,uint16,uint16)"},{"selector":"0xf2fde38b","name":"transferOwnership(address)"},{"selector":"0xf3d507a3","name":"creatorPoolBpsOf(bytes32,bool)"},{"selector":"0xf851a440","name":"admin()"},{"selector":"0xf8bc6db2","name":"setTokenCreator(bytes32,address)"},{"selector":"0xfa275e11","name":"isLauncher(address)"},{"selector":"0xfd71aabe","name":"MIN_MAX_BUY_BPS()"}],"history":{"pools":46,"firstTime":1786150761,"lastTime":1789611797},"pools":[{"id":"0xa025160f9323a2f5cc5e05318ef66320f9b090dbc023bc541d6801c181885d63","key":{"currency0":"0x0000000000000000000000000000000000000000","currency1":"0xEF7c9e38e3AD69677dbc638C3f09851699CB0123","fee":3000,"tickSpacing":200,"hooks":"0x32f685F7941744D1f93b34ECbCE34358472b60Cc"},"symbols":["ETH","BRA"],"state":{"sqrtP":"2151813121295408910812139624586144","tick":204200,"protocolFee":0,"lpFee":3000,"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":true,"lossPpm":1,"added":["-1443634","-802650908028620"],"removed":["1443633","802650908028619"]}}],"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":"n/a","detail":"No pool with liquidity to swap through yet."},{"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.30%, written in the pool key."},{"id":"05","title":"No one holds the switch","status":"caution","detail":"Owned by 0x7B2DaF7F696bB844C7786693062D6619D1858cC9. Owner-style functions: setMaxSideBps, setPoolPlatformBps, setLauncher, claim, setPlatform, setAdmin."},{"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":"46 pools over 72 days."}],"score":83,"verdict":"caution"}