{"address":"0x57a90a0bc27718d88a2ff3674799e008e3d4e0cc","chain":"robinhood","chainName":"Robinhood Chain","chains":["robinhood"],"name":"MidasGoldHook","listed":true,"description":"ERC-20/ERC-20 pool hook that collects a fixed fee always denominated in currency0. For zeroForOne swaps the fee is deducted from the input in beforeSwap; for oneForZero swaps it is deducted from the currency0 output in afterSwap. Only exact-input swaps are supported. The fee rate and recipient are immutable at deployment, and the hook only permits the fixed token pair set at construction.","deployer":"0x7689f33dac018e92A33EF6F49CC51D150544f393","creationTx":null,"codeBytes":5200,"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":1,"swaps24":0,"swaps7":1,"volume24Usd":0,"volume7Usd":0,"firstSeenBlock":34892274,"firstSeen":1786574245,"ageDays":74.69680555555556,"poolList":[{"id":"0x045820c2ae3633232e671cac95944516b83f4d9bdae695bb61c48b50bd1fc858","t0":{"a":"0xc700c81925d1d1c10f996fa7c0dee83a54c4bb8d","s":"PAXG","d":18,"usd":null},"t1":{"a":"0xd40cc7c09869ba402d5ca322839bb150a36827f0","s":"GOLD","d":18,"usd":null},"fee":1425,"ts":60,"b":34892274,"t":1786574245,"s7":1,"s24":0,"v7":0,"u":1}],"daily":{"s":[0,0,1,0,0,0,0],"v":[0,0,0,0,0,0,0]},"days":7,"probe":{"pool":"0x045820c2ae3633232e671cac95944516b83f4d9bdae695bb61c48b50bd1fc858","t":1793051227,"dir":[{"zf1":true,"inRaw":"455148035310","outRaw":"117441195209163668102","expRaw":"117609960470185941293","takeBps":14,"gas":123867,"reverted":false},{"zf1":false,"inRaw":"117777793826634196561","outRaw":"453847255640","expRaw":"454499449359","takeBps":14,"gas":123413,"reverted":false}],"lpFee":1425,"takeBps":14,"reverted":false,"gas":123867,"pair":"PAXG / GOLD"},"snapshot":{"block":98513114,"ts":1793028049}}