Skip to content

rocket-pool/verify-1.3

Repository files navigation

Rocket Pool Contract v1.3.0 Verification

This repo allows third parties to easily verify that the contracts deployed for the v1.3.0 upgrade of Rocket Pool match the source code of the contracts in the v1.3.0 tag of the Rocket Pool smart contract repository.

How it works

  1. It clones the v1.3.0 tag from the official Rocket Pool GitHub repository at https://github.com/rocket-pool/rocketpool
  2. It compares the source for RocketUpgradeOneDotThree.sol against the verified source on Etherscan at the following addresses:
    1. Holesky: 0xa38f23783358e6Ce576441525bE0Ad6Dab5B0eF4
    2. Mainnet: 0x5dC69083B68CDb5c9ca492A0A5eC581e529fb73C
  3. It calls each of the view methods on the upgrade contract to retrieve the address of each of the new contracts
  4. It compares the verified source on Etherscan of each of these addresses to confirm they match the code in the git repo

How to run it

Copy .env.example to .env and fill out the appropriate values.

The verify.sh script performs the required setup and executes the verification script. Simply run:

./verify.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published