Skip to content
Verified contractPartialCC0-1.0

BeaconRootsPredeploy

Address0x000f3df6d732807ef1319fb7b8bb8522d0beac02
Balance

0 ETH

 

Transactions

3

 

Compiler

solc 0.8.35

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.35+commit.47b9dedd
Language
yul
Optimization
No
License
CC0-1.0
Match
Partialcreation code: no, runtime code: yes
Verified on Sourcify
Created in block
19,036,164
Creation transaction
0xdf52c2d3bb…5d4ea1fde0

BeaconRootsPredeploy.yul

/// SPDX-License-Identifier: CC0-1.0
///
/// EIP-4788 beacon roots contract, Ethereum mainnet
/// 0x000F3df6D732807Ef1319fB7B8bB8522d0Beac02.
///
/// Workaround: Sourcify cannot verify geas sources
/// (https://github.com/argotorg/sourcify/issues/3066). This Yul object puts
/// the deployed bytes into verbatim_0i_0o, so it verifies the bytes, not the
/// source. The real source is geas: https://github.com/ethereum/sys-asm,
/// src/beacon_root/main.eas and ctor.eas (originally written in ETK, ported to
/// geas byte for byte). Rebuild: geas -a -no-nl src/beacon_root/main.eas
///
/// Compile with the optimizer off.
object "BeaconRootsPredeploy" {
    code {
        // ctor.eas: PUSH1 0x61, DUP1, PUSH1 0x09, PUSH0, CODECOPY, PUSH0, RETURN
        verbatim_0i_0o(hex"60618060095f395ff3")
    }
    object "runtime" {
        code {
            // main.eas
            verbatim_0i_0o(hex"3373fffffffffffffffffffffffffffffffffffffffe14604d57602036146024575f5ffd5b5f35801560495762001fff810690815414603c575f5ffd5b62001fff01545f5260205ff35b5f5ffd5b62001fff42064281555f359062001fff015500")
        }
    }
}
Compiler settingsShow
{
  "optimizer": {
    "enabled": false
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.