{"address":"0x09d3b3324bb6c15829fa11dd4f9bf981a445a0cc","chain":"robinhood","chainName":"Robinhood Chain","chains":["robinhood"],"name":"RaffleTaxHookEth","listed":true,"description":"Collects a fixed ETH tax (feeBps, capped at 5%) on every swap in native-ETH pools, redirecting the fee into the contract as a raffle prize pot. Taxes are taken via BeforeSwapDelta and AfterSwapDelta across all four swap shapes; the fee rate is immutable after deployment, and the operator can withdraw accrued ETH via collect().","deployer":null,"creationTx":null,"codeBytes":2538,"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":2,"activePools":0,"swaps24":0,"swaps7":0,"volume24Usd":0,"volume7Usd":0,"firstSeenBlock":8678448,"firstSeen":1783946841,"ageDays":105.10657407407408,"poolList":[{"id":"0x9e9ab83a58a657d5e2930459e1331fb2ad89ae384b0ea424de7b82b8a1a9404c","t0":{"a":"0x0000000000000000000000000000000000000000","s":"ETH","d":18,"usd":2331.971314},"t1":{"a":"0x5733507868f46d96907132f98431dceef67c69cc","s":"AGE","d":18,"usd":null},"fee":9000,"ts":90,"b":69116211,"t":1790025844,"s7":0,"s24":0,"v7":0,"u":0},{"id":"0x44bf0bb9b45628a35a7fb20f7b6ed265831f752e6a88d3da2534c3eccc6002c3","t0":{"a":"0x0000000000000000000000000000000000000000","s":"ETH","d":18,"usd":2331.971314},"t1":{"a":"0xa47722edac85c58f5dc1d9f65e76952c78d0e873","s":"?","d":18,"usd":null},"fee":0,"ts":200,"b":8678448,"t":1783946841,"s7":0,"s24":0,"v7":0,"u":0}],"daily":null,"days":7,"probe":null,"snapshot":{"block":98513114,"ts":1793028049}}