Module superchain_primitives::predeploys

source ·
Expand description

Contains all predeploy contract addresses.

Predeploys are smart contracts on the OP Stack that exist at predetermined addresses at the genesis state. They are similar to precompiles but run directly in the EVM instead of running native code outside of the EVM.

Predeploys are used instead of precompiles to make it easier for multiclient implementations and allow for more integration with hardhat/foundry network forking.

Predeploy addresses exist in the 1-byte namespace 0x42000000000000000000000000000000000000xx. Proxies are set at each possible predeploy address except for the GovernanceToken and the ProxyAdmin.

Constants§