ETH Price: $2,921.60 (+2.90%)

Contract

0xda0D08A0BbafFCaBb4538Ab08D2069f3449df250

Overview

ETH Balance

Linea Mainnet LogoLinea Mainnet LogoLinea Mainnet Logo0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Transfer Ownersh...28581102024-03-13 0:39:22684 days ago1710290362IN
0xda0D08A0...3449df250
0 ETH0.000046831.63536402

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
271720042025-12-28 21:17:3629 days ago1766956656
0xda0D08A0...3449df250
0 ETH
271719952025-12-28 21:17:1229 days ago1766956632
0xda0D08A0...3449df250
0 ETH
239147542025-09-28 18:31:17120 days ago1759084277
0xda0D08A0...3449df250
0 ETH
239147522025-09-28 18:31:11120 days ago1759084271
0xda0D08A0...3449df250
0 ETH
238211402025-09-26 10:02:31122 days ago1758880951
0xda0D08A0...3449df250
0 ETH
238211282025-09-26 10:02:07122 days ago1758880927
0xda0D08A0...3449df250
0 ETH
238204862025-09-26 9:40:37122 days ago1758879637
0xda0D08A0...3449df250
0 ETH
238204832025-09-26 9:40:31122 days ago1758879631
0xda0D08A0...3449df250
0 ETH
232155112025-09-12 3:57:55136 days ago1757649475
0xda0D08A0...3449df250
0 ETH
232154992025-09-12 3:57:31136 days ago1757649451
0xda0D08A0...3449df250
0 ETH
211067012025-07-21 10:43:52189 days ago1753094632
0xda0D08A0...3449df250
0 ETH
211066932025-07-21 10:43:36189 days ago1753094616
0xda0D08A0...3449df250
0 ETH
207359462025-07-10 8:51:48200 days ago1752137508
0xda0D08A0...3449df250
0 ETH
207359392025-07-10 8:51:34200 days ago1752137494
0xda0D08A0...3449df250
0 ETH
204888992025-07-01 13:35:58209 days ago1751376958
0xda0D08A0...3449df250
0 ETH
204888922025-07-01 13:35:44209 days ago1751376944
0xda0D08A0...3449df250
0 ETH
204551152025-06-30 10:22:37210 days ago1751278957
0xda0D08A0...3449df250
0 ETH
204551112025-06-30 10:22:27210 days ago1751278947
0xda0D08A0...3449df250
0 ETH
193469422025-05-25 15:56:47246 days ago1748188607
0xda0D08A0...3449df250
0 ETH
193469382025-05-25 15:56:34246 days ago1748188594
0xda0D08A0...3449df250
0 ETH
192372452025-05-22 6:55:20249 days ago1747896920
0xda0D08A0...3449df250
0 ETH
192372382025-05-22 6:55:06249 days ago1747896906
0xda0D08A0...3449df250
0 ETH
190994142025-05-18 0:17:58254 days ago1747527478
0xda0D08A0...3449df250
0 ETH
190994122025-05-18 0:17:54254 days ago1747527474
0xda0D08A0...3449df250
0 ETH
190714542025-05-17 1:35:02254 days ago1747445702
0xda0D08A0...3449df250
0 ETH
View All Internal Transactions
Cross-Chain Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xe1Ab87B3...d1A7aab06
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
OptimisticBlockUpdater

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.14;

import "@openzeppelin/contracts/access/Ownable.sol";
import "contracts/interface/IMixtureBlockUpdater.sol";

contract OptimisticBlockUpdater is IMixtureBlockUpdater, Ownable {

    address public blockRouter;

    IMixtureBlockUpdater public oldBlockUpdater;

    // blockHash=>receiptsRoot =>BlockConfirmation
    mapping(bytes32 => mapping(bytes32 => uint256)) public blockInfos;

    modifier onlyBlockRouter() {
        require(msg.sender == blockRouter, "caller is not the block router");
        _;
    }

    constructor(address _blockRouter) {
        blockRouter = _blockRouter;
    }

    function importBlock(uint256 blockNumber, bytes32 _blockHash, bytes32 _receiptsRoot, uint256 _blockConfirmation) external onlyBlockRouter {
        (bool exist,uint256 blockConfirmation) = _checkBlock(_blockHash, _receiptsRoot);
        require(_blockConfirmation > 0, "invalid blockConfirmation");
        if (exist && _blockConfirmation <= blockConfirmation) {
            return;
        }
        blockInfos[_blockHash][_receiptsRoot] = _blockConfirmation;
        emit ImportBlock(blockNumber, _blockHash, _receiptsRoot);
    }


    function checkBlock(bytes32 _blockHash, bytes32 _receiptHash) external view returns (bool) {
        (bool exist,) = _checkBlock(_blockHash, _receiptHash);
        return exist;
    }

    function checkBlockConfirmation(bytes32 _blockHash, bytes32 _receiptHash) external view returns (bool, uint256) {
        return _checkBlock(_blockHash, _receiptHash);
    }

    function _checkBlock(bytes32 _blockHash, bytes32 _receiptHash) internal view returns (bool, uint256) {
        uint256 blockConfirmation = blockInfos[_blockHash][_receiptHash];
        if (blockConfirmation > 0) {
            return (true, blockConfirmation);
        }
        if (address(oldBlockUpdater) != address(0)) {
            return oldBlockUpdater.checkBlockConfirmation(_blockHash, _receiptHash);
        }
        return (false, 0);
    }

    //----------------------------------------------------------------------------------
    // onlyOwner
    function setBlockRouter(address _blockRouter) external onlyOwner {
        require(_blockRouter != address(0), "Zero address");
        blockRouter = _blockRouter;
    }

    function setOldBlockUpdater(address _oldBlockUpdater) external onlyOwner {
        oldBlockUpdater = IMixtureBlockUpdater(_oldBlockUpdater);
    }

}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IMixtureBlockUpdater {
    event ImportBlock(uint256 identifier, bytes32 blockHash, bytes32 receiptHash);

    function importBlock(uint256 blockNumber,bytes32 _blockHash,bytes32 _receiptsRoot,uint256 blockConfirmation) external;

    function checkBlock(bytes32 _blockHash, bytes32 _receiptsRoot) external view returns (bool);

    function checkBlockConfirmation(bytes32 _blockHash, bytes32 _receiptsRoot) external view returns (bool, uint256);
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_blockRouter","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"identifier","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"blockHash","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"receiptHash","type":"bytes32"}],"name":"ImportBlock","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"blockInfos","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blockRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_blockHash","type":"bytes32"},{"internalType":"bytes32","name":"_receiptHash","type":"bytes32"}],"name":"checkBlock","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_blockHash","type":"bytes32"},{"internalType":"bytes32","name":"_receiptHash","type":"bytes32"}],"name":"checkBlockConfirmation","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"internalType":"bytes32","name":"_blockHash","type":"bytes32"},{"internalType":"bytes32","name":"_receiptsRoot","type":"bytes32"},{"internalType":"uint256","name":"_blockConfirmation","type":"uint256"}],"name":"importBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"oldBlockUpdater","outputs":[{"internalType":"contract IMixtureBlockUpdater","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_blockRouter","type":"address"}],"name":"setBlockRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_oldBlockUpdater","type":"address"}],"name":"setOldBlockUpdater","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

0x608060405234801561001057600080fd5b506040516107bb3803806107bb83398101604081905261002f916100ad565b6100383361005d565b600180546001600160a01b0319166001600160a01b03929092169190911790556100dd565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100bf57600080fd5b81516001600160a01b03811681146100d657600080fd5b9392505050565b6106cf806100ec6000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80638da5cb5b116100715780638da5cb5b1461015e578063a4f2b42f1461016f578063be67876514610182578063cfd78d2314610195578063dc3588ea146101a8578063f2fde38b146101cb57600080fd5b806302952ab6146100ae5780631bf4864e146100ec578063254252af146101015780635ea4ed381461012b578063715018a614610156575b600080fd5b6100d96100bc3660046105e2565b600360209081526000928352604080842090915290825290205481565b6040519081526020015b60405180910390f35b6100ff6100fa366004610604565b6101de565b005b61011461010f3660046105e2565b610208565b6040805192151583526020830191909152016100e3565b60015461013e906001600160a01b031681565b6040516001600160a01b0390911681526020016100e3565b6100ff610221565b6000546001600160a01b031661013e565b60025461013e906001600160a01b031681565b6100ff610190366004610634565b610235565b6100ff6101a3366004610604565b610372565b6101bb6101b63660046105e2565b6103e1565b60405190151581526020016100e3565b6100ff6101d9366004610604565b6103f7565b6101e6610470565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60008061021584846104ca565b915091505b9250929050565b610229610470565b6102336000610592565b565b6001546001600160a01b031633146102945760405162461bcd60e51b815260206004820152601e60248201527f63616c6c6572206973206e6f742074686520626c6f636b20726f75746572000060448201526064015b60405180910390fd5b6000806102a185856104ca565b91509150600083116102f55760405162461bcd60e51b815260206004820152601960248201527f696e76616c696420626c6f636b436f6e6669726d6174696f6e00000000000000604482015260640161028b565b8180156103025750808311155b1561030e57505061036c565b600085815260036020908152604080832087845282529182902085905581518881529081018790529081018590527fa3fa2e60f4d1c7f6bd60da77a4be0625773dfb6b22c54fe77e725d03e49cdf2e9060600160405180910390a150505b50505050565b61037a610470565b6001600160a01b0381166103bf5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f206164647265737360a01b604482015260640161028b565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000806103ee84846104ca565b50949350505050565b6103ff610470565b6001600160a01b0381166104645760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161028b565b61046d81610592565b50565b6000546001600160a01b031633146102335760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161028b565b6000828152600360209081526040808320848452909152812054819080156104f75760019250905061021a565b6002546001600160a01b0316156105855760025460405163254252af60e01b815260048101879052602481018690526001600160a01b039091169063254252af906044016040805180830381865afa158015610557573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057b9190610666565b925092505061021a565b5060009485945092505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080604083850312156105f557600080fd5b50508035926020909101359150565b60006020828403121561061657600080fd5b81356001600160a01b038116811461062d57600080fd5b9392505050565b6000806000806080858703121561064a57600080fd5b5050823594602084013594506040840135936060013592509050565b6000806040838503121561067957600080fd5b8251801515811461068957600080fd5b602093909301519294929350505056fea26469706673582212202ca1a30d2f5a282848446db2a6818cd893246b56c50306fc20a3fb47d5429bb264736f6c634300080e00330000000000000000000000005833ce34eade14673bae79dbcfd0c4c55b0bf953

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80638da5cb5b116100715780638da5cb5b1461015e578063a4f2b42f1461016f578063be67876514610182578063cfd78d2314610195578063dc3588ea146101a8578063f2fde38b146101cb57600080fd5b806302952ab6146100ae5780631bf4864e146100ec578063254252af146101015780635ea4ed381461012b578063715018a614610156575b600080fd5b6100d96100bc3660046105e2565b600360209081526000928352604080842090915290825290205481565b6040519081526020015b60405180910390f35b6100ff6100fa366004610604565b6101de565b005b61011461010f3660046105e2565b610208565b6040805192151583526020830191909152016100e3565b60015461013e906001600160a01b031681565b6040516001600160a01b0390911681526020016100e3565b6100ff610221565b6000546001600160a01b031661013e565b60025461013e906001600160a01b031681565b6100ff610190366004610634565b610235565b6100ff6101a3366004610604565b610372565b6101bb6101b63660046105e2565b6103e1565b60405190151581526020016100e3565b6100ff6101d9366004610604565b6103f7565b6101e6610470565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60008061021584846104ca565b915091505b9250929050565b610229610470565b6102336000610592565b565b6001546001600160a01b031633146102945760405162461bcd60e51b815260206004820152601e60248201527f63616c6c6572206973206e6f742074686520626c6f636b20726f75746572000060448201526064015b60405180910390fd5b6000806102a185856104ca565b91509150600083116102f55760405162461bcd60e51b815260206004820152601960248201527f696e76616c696420626c6f636b436f6e6669726d6174696f6e00000000000000604482015260640161028b565b8180156103025750808311155b1561030e57505061036c565b600085815260036020908152604080832087845282529182902085905581518881529081018790529081018590527fa3fa2e60f4d1c7f6bd60da77a4be0625773dfb6b22c54fe77e725d03e49cdf2e9060600160405180910390a150505b50505050565b61037a610470565b6001600160a01b0381166103bf5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f206164647265737360a01b604482015260640161028b565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000806103ee84846104ca565b50949350505050565b6103ff610470565b6001600160a01b0381166104645760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161028b565b61046d81610592565b50565b6000546001600160a01b031633146102335760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161028b565b6000828152600360209081526040808320848452909152812054819080156104f75760019250905061021a565b6002546001600160a01b0316156105855760025460405163254252af60e01b815260048101879052602481018690526001600160a01b039091169063254252af906044016040805180830381865afa158015610557573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057b9190610666565b925092505061021a565b5060009485945092505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080604083850312156105f557600080fd5b50508035926020909101359150565b60006020828403121561061657600080fd5b81356001600160a01b038116811461062d57600080fd5b9392505050565b6000806000806080858703121561064a57600080fd5b5050823594602084013594506040840135936060013592509050565b6000806040838503121561067957600080fd5b8251801515811461068957600080fd5b602093909301519294929350505056fea26469706673582212202ca1a30d2f5a282848446db2a6818cd893246b56c50306fc20a3fb47d5429bb264736f6c634300080e0033

Block Transaction Gas Used Reward
view all blocks sequenced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.