{"address":"0xc9bf0785535b94616b6d74762bc1551a2c95eacc","chain":"robinhood","chainName":"Robinhood Chain","chains":["robinhood"],"name":"Scale Hook","listed":true,"description":"Upgradeable ERC1967 proxy hook for the Scale protocol that acts as a virtual concentrated liquidity provider, computing and settling token amounts via beforeSwap and afterSwap balance deltas based on registered LP positions stored on-chain.","deployer":null,"creationTx":null,"codeBytes":141,"implementation":"0x5a5de55c2b403711bec4a6d05e0d6d55906d88f1","verified":true,"audit":null,"upgradeable":true,"swapAccess":"none","dynamicFee":false,"customData":false,"flags":["beforeInitialize","beforeAddLiquidity","beforeRemoveLiquidity","beforeSwap","afterSwap","beforeSwapReturnsDelta","afterSwapReturnsDelta"],"flagBits":10956,"lines":[{"key":"upgradeable","level":"red","text":"Its code can be replaced","detail":"The hook is a proxy (EIP-1967). Whoever controls it can swap in new code, so what it does today is not a promise for tomorrow."},{"key":"afterSwapReturnsDelta","level":"red","text":"Can take a fee from your output","detail":"After the pool fills your swap, the hook can keep part of what you were about to receive."},{"key":"beforeSwapReturnsDelta","level":"red","text":"Can change the price you get","detail":"Before your swap runs, the hook can take or add tokens, so the amount you get is set by its code as well as the pool."},{"key":"beforeSwap","level":"amber","text":"Runs code before your swap and can block it","detail":"The hook is called before every swap. It can revert, which makes your swap fail."},{"key":"afterSwap","level":"amber","text":"Runs code after your swap and can block it","detail":"The hook is called after every swap. It can revert, which undoes your swap."},{"key":"beforeRemoveLiquidity","level":"amber","text":"Can block LPs from withdrawing","detail":"Called before each withdrawal. It can revert, which stops liquidity providers from leaving."},{"key":"beforeAddLiquidity","level":"grey","text":"Can block people from adding liquidity","detail":"Called before each deposit into the pool."},{"key":"beforeInitialize","level":"grey","text":"Runs code when a pool is created","detail":"Called once, when someone creates a pool with this hook."}],"score":55,"scoreItems":[{"label":"Can change swap amounts","points":-25},{"label":"Upgradeable","points":-20}],"pools":1,"activePools":0,"swaps24":0,"swaps7":0,"volume24Usd":0,"volume7Usd":0,"firstSeenBlock":17660801,"firstSeen":1784847148,"ageDays":94.68635416666666,"poolList":[{"id":"0x5c0cc980e1b0962fa82b7b5cb213fd049dccea5de2c6373566f18c726cef8ad2","t0":{"a":"0x0000000000000000000000000000000000000000","s":"ETH","d":18,"usd":2331.971314},"t1":{"a":"0x50d3c963514a196d19588abe5129e2bf318f765d","s":"?","d":18,"usd":null},"fee":0,"ts":200,"b":17660801,"t":1784847148,"s7":0,"s24":0,"v7":0,"u":0}],"daily":null,"days":7,"probe":{"pool":"0x5c0cc980e1b0962fa82b7b5cb213fd049dccea5de2c6373566f18c726cef8ad2","t":1793630450,"dir":[{"zf1":true,"inRaw":"13562426566030","outRaw":"9995587425118210747510","expRaw":"9995687380992461915144","takeBps":0,"gas":56285,"reverted":false},{"zf1":false,"inRaw":"9995687380992734008076","outRaw":"13562290943120","expRaw":"13562426566030","takeBps":0,"gas":56173,"reverted":false}],"lpFee":0,"takeBps":0,"reverted":false,"gas":56285,"pair":"ETH / ?"},"snapshot":{"block":98513114,"ts":1793028049}}