{"address":"0x78f535390f5c3ac2ac67d11abb9f6e48043340cc","chain":"robinhood","chainName":"Robinhood Chain","chains":["robinhood"],"name":"LendsProtocolHook","listed":true,"description":"Charges an owner-configurable fee (up to 5%) on swaps in explicitly enabled pools, collecting it in the quote currency and distributing it proportionally to up to 10 weighted fee recipients via beforeSwap and afterSwap delta adjustments.","deployer":null,"creationTx":null,"codeBytes":6613,"implementation":null,"verified":true,"audit":null,"upgradeable":false,"swapAccess":"governance","dynamicFee":false,"customData":false,"flags":["beforeSwap","afterSwap","beforeSwapReturnsDelta","afterSwapReturnsDelta"],"flagBits":204,"lines":[{"key":"access","level":"red","text":"Can block swaps","detail":"Swaps are gated (governance): only some addresses, or only at some times, can trade through it."},{"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."}],"score":60,"scoreItems":[{"label":"Can change swap amounts","points":-25},{"label":"Swap access is gated","points":-15}],"pools":1,"activePools":1,"swaps24":0,"swaps7":2,"volume24Usd":0,"volume7Usd":14,"firstSeenBlock":15254774,"firstSeen":1784605979,"ageDays":97.47766203703704,"poolList":[{"id":"0xc9f435ebb0cc11f0213a0eb56c055711adcdb3e613606e609b1f5316af8cc583","t0":{"a":"0x0000000000000000000000000000000000000000","s":"ETH","d":18,"usd":2331.971314},"t1":{"a":"0x3931995eb86826bb47a08f587f00602884eed22a","s":"LENDS","d":18,"usd":null},"fee":10000,"ts":200,"b":15254774,"t":1784605979,"s7":2,"s24":0,"v7":14,"u":2}],"daily":{"s":[0,0,0,1,0,0,1],"v":[0,0,0,9,0,0,5]},"days":7,"probe":{"pool":"0xc9f435ebb0cc11f0213a0eb56c055711adcdb3e613606e609b1f5316af8cc583","t":1793050246,"dir":[{"zf1":true,"inRaw":"38094791343857","outRaw":"2673521178608130591158","expRaw":"2814259287447135497056","takeBps":500,"gas":109083,"reverted":false},{"zf1":false,"inRaw":"2842686148936500506910","outRaw":"35827796563711","expRaw":"37713843430417","takeBps":500,"gas":108764,"reverted":false}],"lpFee":10000,"takeBps":500,"reverted":false,"gas":109083,"pair":"ETH / LENDS"},"snapshot":{"block":98513114,"ts":1793028049}}