{"address":"0x46e068c2393e189fbc86632f67210af253a42aa8","chain":"robinhood","chainName":"Robinhood Chain","chains":["robinhood"],"name":"MinimalDiamondCallBackProxy","listed":true,"description":"An ERC-2535 Diamond proxy hook built on the Crane framework that delegates calls to registered facets by function selector. The hook has beforeSwap with delta return capability, plus beforeInitialize, beforeAddLiquidity, beforeRemoveLiquidity, and beforeDonate flags; actual swap logic resides in unverified implementation facets.","deployer":null,"creationTx":null,"codeBytes":370,"implementation":null,"verified":true,"audit":null,"upgradeable":true,"swapAccess":"none","dynamicFee":true,"customData":false,"flags":["beforeInitialize","beforeAddLiquidity","beforeRemoveLiquidity","beforeSwap","beforeDonate","beforeSwapReturnsDelta"],"flagBits":10920,"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":"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":"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."},{"key":"beforeDonate","level":"grey","text":"Runs code before a donation to the pool","detail":"Donations are tips paid to the pool's LPs."},{"key":"dynamicFee","level":"amber","text":"Can charge a different fee on each swap","detail":"The pool's LP fee is dynamic: the hook sets it, swap by swap."}],"score":45,"scoreItems":[{"label":"Can change swap amounts","points":-25},{"label":"Upgradeable","points":-20},{"label":"Dynamic fee","points":-10}],"pools":3,"activePools":0,"swaps24":0,"swaps7":0,"volume24Usd":0,"volume7Usd":0,"firstSeenBlock":62143821,"firstSeen":1789321491,"ageDays":42.899976851851854,"poolList":[{"id":"0x601ec535702adb1193bd112bf7c8678382fa293d66b91136759472e490c5e859","t0":{"a":"0x4a5cfdc2b07016fcf917f4ed5a51c52111a0fcc7","s":"?","d":18,"usd":null},"t1":{"a":"0xee5576fa1bcaa380e591d01245f406f3f384eb01","s":"DTF","d":18,"usd":0.00016744712990716376},"fee":8388608,"ts":1,"b":62143866,"t":1789321495,"s7":0,"s24":0,"v7":0,"u":0},{"id":"0x1798a2762114fd2af7e9b17ea2ff07d94d60c693587dab05efa2449dc3e293ea","t0":{"a":"0x0bd7d308f8e1639fab988df18a8011f41eacad73","s":"WETH","d":18,"usd":2331.971314},"t1":{"a":"0xee5576fa1bcaa380e591d01245f406f3f384eb01","s":"DTF","d":18,"usd":0.00016744712990716376},"fee":8388608,"ts":1,"b":62143844,"t":1789321493,"s7":0,"s24":0,"v7":0,"u":0},{"id":"0x728c0ec4dc5ac11ca1c62af0ffa7fcea5c76003e711f57c97329b3e7c3342176","t0":{"a":"0x0bd7d308f8e1639fab988df18a8011f41eacad73","s":"WETH","d":18,"usd":2331.971314},"t1":{"a":"0x4a5cfdc2b07016fcf917f4ed5a51c52111a0fcc7","s":"?","d":18,"usd":null},"fee":8388608,"ts":1,"b":62143821,"t":1789321491,"s7":0,"s24":0,"v7":0,"u":0}],"daily":null,"days":7,"probe":null,"snapshot":{"block":98513114,"ts":1793028049}}