Contract 0xd1aC373a6fCAB20476957B14a18178615594Debe

Contract Overview

Balance:
32 Ether
Txn Hash
Method
Block
From
To
Value
0x64370c8a425f0eecb482178e5011d07c14f542b59cc46c2afe0bb4eca15d74f20x6080604092450222021-09-06 11:53:32389 days 10 hrs ago0xada83afc0380a63f6b6d1bf6576c2da5fb954b6f IN  Create: DepositContractMock0 Ether0.000125661
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x6a63350c9df436a15ea18cd7388f77d2e6039cc361f110a366c12bb07db4802092452102021-09-06 12:40:32389 days 9 hrs ago 0xf4242f9d78db7218ad72ee3ae14469dbde8731ed 0xd1ac373a6fcab20476957b14a18178615594debe32 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DepositContractMock

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license
/**
 *Submitted for verification at Etherscan.io on 2021-09-06
*/

// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.4.24;



// Part: IDepositContract

/**
  * @title Deposit contract interface
  */
interface IDepositContract {
        /**
      * @notice Top-ups deposit of a validator on the ETH 2.0 side
      * @param pubkey Validator signing key
      * @param withdrawal_credentials Credentials that allows to withdraw funds
      * @param signature Signature of the request
      * @param deposit_data_root The deposits Merkle tree node, used as a checksum
      */
    function deposit(
            bytes /* 48 */ pubkey,
        bytes /* 32 */ withdrawal_credentials,
        bytes /* 96 */ signature,
        bytes32 deposit_data_root
    )
        external payable;
}

// File: DepositContractMock.sol

contract DepositContractMock is IDepositContract {
        event Deposit(
            bytes pubkey,
        bytes withdrawal_credentials,
        bytes signature,
        bytes32 deposit_data_root,
        uint256 value
    );

    function deposit(
            bytes /* 48 */ pubkey,
        bytes /* 32 */ withdrawal_credentials,
        bytes /* 96 */ signature,
        bytes32 deposit_data_root
    )
        external
        payable
    {
            emit Deposit(pubkey, withdrawal_credentials, signature, deposit_data_root, msg.value);
    }
}

Contract ABI

[{"constant":false,"inputs":[{"name":"pubkey","type":"bytes"},{"name":"withdrawal_credentials","type":"bytes"},{"name":"signature","type":"bytes"},{"name":"deposit_data_root","type":"bytes32"}],"name":"deposit","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"anonymous":false,"inputs":[{"indexed":false,"name":"pubkey","type":"bytes"},{"indexed":false,"name":"withdrawal_credentials","type":"bytes"},{"indexed":false,"name":"signature","type":"bytes"},{"indexed":false,"name":"deposit_data_root","type":"bytes32"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Deposit","type":"event"}]

608060405234801561001057600080fd5b50610150806100206000396000f3006080604052600436106100405763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663228951188114610045575b600080fd5b6100736024600480358281019290820135918135808301929082013591604435918201910135606435610075565b005b7f52899a5d865569c10275b353ac2a45f6a60dd9e080588be17465ed25d52d71da878787878787873460405180806020018060200180602001866000191660001916815260200185815260200184810384528c8c8281815260200192508082843790910185810384528a815260200190508a8a808284379091018581038352888152602001905088888082843760405192018290039d50909b505050505050505050505050a1505050505050505600a165627a7a7230582052703ef754bed0c7e508bc26f18aa90ba10217e93d5c0cdc7e47f702c860c1e40029

Deployed ByteCode Sourcemap

783:571:0:-;;;;;;;;;;;;;;;;;;;;;;;1024:327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1263:80;1271:6;;1279:22;;1303:9;;1314:17;1333:9;1263:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1263:80:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1263:80:0;;;;;;;;;;;;;;-1:-1:-1;1263:80:0;;-1:-1:-1;;;;;;;;;;;;1263:80:0;1024:327;;;;;;;:::o

Swarm Source

bzzr://52703ef754bed0c7e508bc26f18aa90ba10217e93d5c0cdc7e47f702c860c1e4
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading

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.