Skip to content

probe 0.3.0: hook checks

Choose a tag to compare

@probecli probecli released this 19 Nov 20:11
· 4 commits to main since this release

Hook checks: a free, signed safety check for any deployed Uniswap v4 hook on Robinhood Chain.

Added

  • probe check <hook> runs nine checks against the chain at one block: contract code (followed through proxies), valid permission flags, every enabled callback implemented, poolManager() returning the canonical PoolManager, callbacks reverting for any caller other than the PoolManager (live eth_call with a real pool's key), upgradeability, single-key ownership, SELFDESTRUCT and DELEGATECALL in the code, and a Sourcify source match. --block, --rpc and --json are supported; it exits 1 when a check fails.
  • probe check <hook> --publish asks the verifier to rerun the checks at the same block and sign the result, and tells you whether its run matched yours.
  • Verifier: POST /checks, GET /hooks, GET /hooks/<address> (report, signed EIP-191 message and signature) and GET /hooks/<address>/badge.svg.

Try it on the web at https://probecli.com/hooks, or:

git clone https://github.com/probecli/probe && cd probe/protocol && npm install
node bin/probe.mjs check 0x0af57f62982d03066ef917acad87f771c06528ec