Contract 0x4200000000000000000000000000000000000000 4

 

Contract Overview

Balance:
0 Ether

EtherValue:
$0.00
Txn Hash Method
Index
From
To
Value
GENESIS_42000000000000000000000000000000000000000x6080604002021-01-14 15:51:40536 days 9 hrs agoGENESIS IN  Create: OVM_L2ToL1MessagePasser0 Ether00
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xda1aedfdfe1c64a2dee419116864237ae324daf6cc530a7c5a98de3bcddc9339138571612022-07-05 1:10:0522 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x76dffe8a6df73b31d16fb15aadcfc62d6cd0420b37e5d859bd4f963362215e50138530532022-07-04 23:53:401 hr 39 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0xcafe82ca8128f71a0f76e443ea7fa54cd6ce0b4171ed21f306acafb6c20b2c66138510272022-07-04 23:17:512 hrs 15 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x362d80948586a10b6025799568d84c8bb8ddc3c42114bb1f38288a393c4ee94f138381472022-07-04 17:58:447 hrs 34 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0xf9da6e04d8ecc25bc2c5fc326bb635f03b01a982e781d87c18c2a1881ff70211138336522022-07-04 16:59:018 hrs 34 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x2df01961e211adae62d56816153c6616a35901b5e2754ece565f224c9088a0b2138325362022-07-04 16:36:048 hrs 56 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x4e02e89e491b34a63d261470ac2187dd00fe4b26faecec72d3d220edf277d08c138225072022-07-04 14:46:0710 hrs 46 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x644e43682491a94a8b914b775db96c4cd2f0d048602b09e1fe0dea5527245eae138210492022-07-04 14:09:2611 hrs 23 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x644e43682491a94a8b914b775db96c4cd2f0d048602b09e1fe0dea5527245eae138210492022-07-04 14:09:2611 hrs 23 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x8b32a64e8d54fe34478e6cea68c3ca9c33b6a63f353f4d184c4870672e494274138198852022-07-04 13:40:5511 hrs 52 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0xe9730f939dcc73bf13bb5816125a0640fc7b6ccb93a4a2c8f27be3c63d04bb0a138160302022-07-04 12:23:2713 hrs 9 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0xa0615ceed7328e77ff7926e0e53a679e858bbac17fbf697e81f01d52960c88c9138087912022-07-04 10:50:4514 hrs 42 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0xbfac156ec9250699f833e64ca3f2caf06337dee9340111dfd5e4c927279a1323138066502022-07-04 10:09:4015 hrs 23 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x7bed6f23006171c7fbd44aea3393a1643e2772341771c5ce0271b253c413a0f0138029332022-07-04 9:13:0416 hrs 19 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x6d0767a4612c31bed2c352b2047af34ba33e4b1b4c494e326a6fad3a136a42ec138027762022-07-04 9:09:3816 hrs 23 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x2350f4aa2414c2972a239fd074b8548f00b07280f1c8f6d7f32e2018e9b67729138018712022-07-04 8:51:2916 hrs 41 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x25d026c553e879b32bf7963f6771eb5328e5ad38f744cd5a7968fa955d480ece138004192022-07-04 8:16:4217 hrs 16 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x7068dd32a829e76c9bf3c43fb7887560b736ef65eb7da7fef74c8c24c52feb52137993002022-07-04 7:46:5317 hrs 46 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0xf6b0e8503e984e008636a03e0a4c72b69c6b7718c07d76041190392acbc2fa0f137991172022-07-04 7:42:0717 hrs 50 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0xaaa3ae8faeb339735608e7c2b5701ae87b36a1174115dd7938fe4d975ac1ee92137985232022-07-04 7:29:1718 hrs 3 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x0b05f5c4ae91b5ce34bcddfd97e8cde69d7b55a1aa40eaab6506b8ad826d7bc1137971712022-07-04 7:02:4318 hrs 30 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x58e800fc78f1cca7b111d90f76f15ff613c0a3b73fb45ea63c96ce20b6274e69137935992022-07-04 5:38:2019 hrs 54 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x7853549cc5036983de0a104c24a5417ce801f40f9d420ebea3972e448bfe28f9137921422022-07-04 4:55:0020 hrs 38 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0xb3e462318b9cd49d5bab075d01ef2fb7ebf06b63a7c90e5c9eaf616b6d3c66ee137902512022-07-04 3:53:0621 hrs 39 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x6261efd9f2c2905195dd9944fd62bb1cefb1674cb33a6d69c3f3b3e43880d570137886042022-07-04 3:04:0422 hrs 28 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Genesis Bytecode Match Only)

Contract Name:
OVM_L2ToL1MessagePasser

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion
File 1 of 2 : OVM_L2ToL1MessagePasser.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

/* Interface Imports */
import { iOVM_L2ToL1MessagePasser } from "./iOVM_L2ToL1MessagePasser.sol";

/**
 * @title OVM_L2ToL1MessagePasser
 * @dev The L2 to L1 Message Passer is a utility contract which facilitate an L1 proof of the
 * of a message on L2. The L1 Cross Domain Messenger performs this proof in its
 * _verifyStorageProof function, which verifies the existence of the transaction hash in this
 * contract's `sentMessages` mapping.
 */
contract OVM_L2ToL1MessagePasser is iOVM_L2ToL1MessagePasser {
    /**********************
     * Contract Variables *
     **********************/

    mapping(bytes32 => bool) public sentMessages;

    /********************
     * Public Functions *
     ********************/

    /**
     * Passes a message to L1.
     * @param _message Message to pass to L1.
     */
    function passMessageToL1(bytes memory _message) public {
        // Note: although this function is public, only messages sent from the
        // L2CrossDomainMessenger will be relayed by the L1CrossDomainMessenger.
        // This is enforced by a check in L1CrossDomainMessenger._verifyStorageProof().
        sentMessages[keccak256(abi.encodePacked(_message, msg.sender))] = true;
    }
}

File 2 of 2 : iOVM_L2ToL1MessagePasser.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

/**
 * @title iOVM_L2ToL1MessagePasser
 */
interface iOVM_L2ToL1MessagePasser {
    /**********
     * Events *
     **********/

    event L2ToL1Message(uint256 _nonce, address _sender, bytes _data);

    /********************
     * Public Functions *
     ********************/

    function passMessageToL1(bytes calldata _message) external;
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 10000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_nonce","type":"uint256"},{"indexed":false,"internalType":"address","name":"_sender","type":"address"},{"indexed":false,"internalType":"bytes","name":"_data","type":"bytes"}],"name":"L2ToL1Message","type":"event"},{"inputs":[{"internalType":"bytes","name":"_message","type":"bytes"}],"name":"passMessageToL1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"sentMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50600436106100365760003560e01c806382e3702d1461003b578063cafa81dc14610072575b600080fd5b61005e610049366004610112565b60006020819052908152604090205460ff1681565b604051901515815260200160405180910390f35b61008561008036600461015a565b610087565b005b6001600080833360405160200161009f929190610229565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001815291815281516020928301208352908201929092520160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001691151591909117905550565b60006020828403121561012457600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561016c57600080fd5b813567ffffffffffffffff8082111561018457600080fd5b818401915084601f83011261019857600080fd5b8135818111156101aa576101aa61012b565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156101f0576101f061012b565b8160405282815287602084870101111561020957600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000835160005b8181101561024a5760208187018101518583015201610230565b81811115610259576000828501525b5060609390931b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016919092019081526014019291505056fea26469706673582212200b48ded2e68f3541ccec6b89e65ba6788c333cfabcd8ebb2d833e41d3b8df28164736f6c63430008090033

Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.