{"address":"0x0708df2ef6b86321d16f45acde62593113e3e0cc","chain":"robinhood","chainName":"Robinhood Chain","chains":["robinhood"],"name":"BangFeeHook","listed":true,"description":"A tax hook for an ETH/index-token pool that charges a fixed fee (up to 4%) on every swap by diverting ETH to a treasury address. ETH-specified swaps are taxed in beforeSwap via a BeforeSwapDelta; index-token-specified swaps are taxed in afterSwap via an AfterSwapDelta.","deployer":null,"creationTx":null,"codeBytes":3290,"implementation":null,"verified":true,"audit":null,"upgradeable":false,"swapAccess":"none","dynamicFee":false,"customData":false,"flags":["beforeInitialize","beforeSwap","afterSwap","beforeSwapReturnsDelta","afterSwapReturnsDelta"],"flagBits":8396,"lines":[{"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":"beforeInitialize","level":"grey","text":"Runs code when a pool is created","detail":"Called once, when someone creates a pool with this hook."}],"score":75,"scoreItems":[{"label":"Can change swap amounts","points":-25}],"pools":1,"activePools":0,"swaps24":0,"swaps7":0,"volume24Usd":0,"volume7Usd":0,"firstSeenBlock":12397375,"firstSeen":1784319196,"ageDays":100.79690972222222,"poolList":[{"id":"0xa457563d215dff1308470c47744960b5ccea3b854cb370fe8ca9d7dc9ebe836c","t0":{"a":"0x0000000000000000000000000000000000000000","s":"ETH","d":18,"usd":2331.971314},"t1":{"a":"0xff7c489ae75e57d28ececd9e9a1d626d8e5f6d53","s":"?","d":18,"usd":null},"fee":6630,"ts":60,"b":12397375,"t":1784319196,"s7":0,"s24":0,"v7":0,"u":0}],"daily":null,"days":7,"probe":{"pool":"0xa457563d215dff1308470c47744960b5ccea3b854cb370fe8ca9d7dc9ebe836c","t":1793572093,"dir":[{"zf1":true,"inRaw":"13846581177896","outRaw":"2373071648930153377514","expRaw":"2471973207684098462114","takeBps":400,"gas":63514,"reverted":false},{"zf1":false,"inRaw":"2488471775556101853359","outRaw":"13204456041794","expRaw":"13754778344686","takeBps":400,"gas":63171,"reverted":false}],"lpFee":6630,"takeBps":400,"reverted":false,"gas":63514,"pair":"ETH / ?"},"snapshot":{"block":98513114,"ts":1793028049}}