project screenshot
project screenshot
project screenshot
project screenshot
project screenshot
project screenshot

On-Chain Review

Reviewing deployed contracts? Tough! Even tougher in a multi-chain world. Based on our Operational Security experience at MakerDAO, we bring you On-Chain Review: a code viewer that visualizes deployed contracts across chains with trusted attestations from colleagues and auditors.

On-Chain Review

Created At

Superhack

Winner of

trophy

๐Ÿš€ Optimism โ€” ๐Ÿฅ‡ Best Superchain Dev Tools & Infra

trophy

๐ŸŸก Base โ€” ๐Ÿฅ‡ Best Consumer Product

trophy

๐ŸŠ Mode โ€” Prize Pool

trophy

๐Ÿฅ‡ EAS โ€” Best Use

trophy

๐Ÿ† Superhack 2023 Finalist

Project Description

We use multiple blockexporer APIs to fetch relevant contract data from multiple OP-Stack (and Ethereum) blockchains.

Then we parse the source code for hardcoded addresses, used libraries and external calls which are then fetched from the blockchain state.

We overlay the code with links to other contracts to simplify navigation between connected parts of e.g. a protocol.

With on-chain attestestation you can see whether trusted users already reviweed the particular contract. You can connect your wallet and leave a review attestion for other users.

How it's Made

  1. On-chain review attestations: We use Ethereum Attestation Service to store list of reviewed contracts for each user and to make this information public For added security, we don't only attest the โ€œaddressโ€ of a contract but a combination of the โ€œaddressโ€ and the โ€œhashโ€ of the source code.

  2. abstract syntax tree โ€“ we use AST to parse source code and find addresses mentioned directly in the code

background image mobile

Join the mailing list

Get the latest news and updates