Contract 0x4200000000000000000000000000000000000000 4

 

Contract Overview

Balance:
0 Ether

EtherValue:
$0.00
Txn Hash Method
Index
From
To
Value
GENESIS_42000000000000000000000000000000000000000x6080604002021-01-14 15:51:40534 days 10 hrs agoGENESIS IN  Create: OVM_L2ToL1MessagePasser0 Ether00
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x2c55fd10e23a2fabcf322dd73f4630a5eb61b9110c4f42ffff0a359ee45a5af1137214162022-07-03 0:28:301 hr 41 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x312636824398ade4ef4fce070ebb2a807616d6590067db9e3041dfb65eae8025137204662022-07-03 0:14:341 hr 55 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x7b06271bca743670d2f7fdf9c772d4e6cbc2f061c8754341c6c93b7303d8f02d137194732022-07-02 23:32:142 hrs 37 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0xa0b10a4b8f644a02068c0571c64861ab3f723e2a27e0bc49f140cec965023eda137181132022-07-02 22:34:273 hrs 35 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0xa0b10a4b8f644a02068c0571c64861ab3f723e2a27e0bc49f140cec965023eda137181132022-07-02 22:34:273 hrs 35 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0xc463a59ac0dbc7ed82e15230bf09fcf9798fef0af66dbd34665324a36557ca21137147952022-07-02 20:47:325 hrs 22 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0xe1ae22da6119dc0dd8dac3e0c85d29eee90856ab8d564e914eda457e5df0ea8a137147542022-07-02 20:46:045 hrs 23 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x69c20b021b8e1c2f5f785e145615b5ed8a33ec8a2b52dfd5748a7801632e01ae137136962022-07-02 20:09:276 hrs ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0xb2a54f57aea582b4f6cfd24cf9f4a15b6d9dd9f5a5ea0c4b76c1398118653fef137119582022-07-02 19:22:026 hrs 47 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x709ed23bc2c38af5da9f1a35cd14de004a184d189b947289462e38e51b4999e2137091822022-07-02 18:17:407 hrs 52 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x13a5d43cd419e370fbc6366cb6cd224fc2dd8fe2ddd45e734bef307059bb2cda137076522022-07-02 17:26:398 hrs 43 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x5423baf0b91705b96b157c96d07b7e5f9a9e469468c2913866c18db5f883a3d8137073692022-07-02 17:16:478 hrs 52 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0xb5dcea17ebd40cf9276591cda7c9605265e8afc7730fc09c83bf6b9a04a25be6137049652022-07-02 16:23:119 hrs 46 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0xae646575eb8de168318bc04b709dd42b533caa12880dc93fbca62fea68a5df25137041062022-07-02 16:05:0410 hrs 4 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x5cf7bbbfa2b5c6efa2e84dfaa7efdb507f1af7523584a625c222a4bfdda1236c137019592022-07-02 15:19:0310 hrs 50 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x67a172dfd093e249316dc94acae400309593d8f90157dde79fdc3b45dc61780f137003282022-07-02 14:37:0911 hrs 32 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x34a182811626375fce23ee23c0f6ac58c1130a4f9c4b64695a38f8b347fd147a136999302022-07-02 14:28:0011 hrs 41 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x0df547fed859ddb81604b84de70d6516e54c2f9ed1a1918b0f619cf8f1317c55136998482022-07-02 14:26:0911 hrs 43 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x952c61a271fb97f1186ce80dd2f4424cd2e27bab1ea8589edacb8bffafb03190136996542022-07-02 14:21:2511 hrs 48 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x08217200b9de09948c628f0aebb7f2df863700a5566c9f2b2f67c7d8244b4e6c136989842022-07-02 14:07:4012 hrs 2 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x40314b91c5d37020dddad830790e064ce9a523d0d9630a62e2bd4426d077b519136979662022-07-02 13:35:3112 hrs 34 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x10bffc38ec2beb93a0bb60121b8c38ae0b2a51f6f98191ba0edd191b5aedb319136964262022-07-02 12:55:4813 hrs 13 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x6f1a9b512e399bf76c5924f9910a0e2edf6f1b2bd3c0099e22cf4bed8773a67a136943382022-07-02 12:15:5013 hrs 53 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x0b63e06ec9e4975ee46b7f5690da135cae97d1a32058aa479d881f33a9a9ddf0136928682022-07-02 11:52:3614 hrs 17 mins ago 0x42000000000000000000000000000000000000070x42000000000000000000000000000000000000000 Ether
0x8e06442095201f4d01f907226712d02fc6ee377297028d27cbdc08d703e66a48136927982022-07-02 11:49:3814 hrs 20 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.