Robinhood Chain hook

Scale Hook

ListedRobinhood ChainVerified sourceUpgradeable
0xc9bf0785535b94616b6d74762bc1551a2c95eaccBlockscout

Upgradeable ERC1967 proxy hook for the Scale protocol that acts as a virtual concentrated liquidity provider, computing and settling token amounts via beforeSwap and afterSwap balance deltas based on registered LP positions stored on-chain.

1Pools
0Swaps, 7 days
$0Volume, 7 days
102 days agoFirst pool

What it can do to your swap

  • Its code can be replacedThe 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.
  • Can take a fee from your outputAfter the pool fills your swap, the hook can keep part of what you were about to receive.
  • Can change the price you getBefore 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.
  • Runs code before your swap and can block itThe hook is called before every swap. It can revert, which makes your swap fail.
  • Runs code after your swap and can block itThe hook is called after every swap. It can revert, which undoes your swap.
  • Can block LPs from withdrawingCalled before each withdrawal. It can revert, which stops liquidity providers from leaving.
  • Can block people from adding liquidityCalled before each deposit into the pool.
  • Runs code when a pool is createdCalled once, when someone creates a pool with this hook.

Read from the hook address: flag bits beforeInitialize, beforeAddLiquidity, beforeRemoveLiquidity, beforeSwap, afterSwap, beforeSwapReturnsDelta, afterSwapReturnsDelta. Flags glossary.

Last test swap

A quote for a tiny exact-in swap each way through ETH / ? with Uniswap's V4 Quoter, compared with the pool's mid-price minus its 0.00% LP fee. It is an eth_call: nothing is signed or spent. Probed 7 days ago, every hour.

ETH to ?0.00% takenIn 0.0000135624 ETHOut 9,995.59 ?, expected 9,995.69Gas 56,285
? to ETH0.00% takenIn 9,995.69 ?Out 0.0000135623 ETH, expected 0.0000135624Gas 56,173

Pools

PairFeeSwaps 7dVolume 7dCreated
ETH / ?
0x5c0cc9…ef8ad2
0.00%0$095 days agoSwap