Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 25 from a total of 93 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Batch Deposit | 24587065 | 2 days ago | IN | 900 ETH | 0.00001621 | ||||
| Batch Deposit | 24569124 | 5 days ago | IN | 4 ETH | 0.00000418 | ||||
| Batch Deposit | 24535036 | 9 days ago | IN | 1,118 ETH | 0.00002039 | ||||
| Batch Deposit | 24535024 | 9 days ago | IN | 500 ETH | 0.0000205 | ||||
| Batch Deposit | 24518846 | 12 days ago | IN | 13 ETH | 0.0000049 | ||||
| Batch Deposit | 24497631 | 15 days ago | IN | 68 ETH | 0.00000504 | ||||
| Batch Deposit | 24490492 | 16 days ago | IN | 20 ETH | 0.00000201 | ||||
| Batch Deposit | 24490438 | 16 days ago | IN | 20 ETH | 0.00000246 | ||||
| Batch Deposit | 24427527 | 24 days ago | IN | 288.85 ETH | 0.00001505 | ||||
| Batch Deposit | 24396423 | 29 days ago | IN | 256.07 ETH | 0.00001402 | ||||
| Batch Deposit | 24377437 | 31 days ago | IN | 88 ETH | 0.00004594 | ||||
| Batch Deposit | 24377418 | 31 days ago | IN | 88 ETH | 0.00004753 | ||||
| Batch Deposit | 24327234 | 38 days ago | IN | 29.8837 ETH | 0.00001597 | ||||
| Batch Deposit | 24320202 | 39 days ago | IN | 32 ETH | 0.00001608 | ||||
| Batch Deposit | 24318066 | 40 days ago | IN | 900 ETH | 0.00000341 | ||||
| Batch Deposit | 24296374 | 43 days ago | IN | 890 ETH | 0.00000311 | ||||
| Batch Deposit | 24296364 | 43 days ago | IN | 1,350 ETH | 0.00000327 | ||||
| Batch Deposit | 24278089 | 45 days ago | IN | 1 ETH | 0.00000808 | ||||
| Batch Deposit | 24275847 | 45 days ago | IN | 2 ETH | 0.00000325 | ||||
| Batch Deposit | 24219036 | 53 days ago | IN | 32 ETH | 0.00000599 | ||||
| Batch Deposit | 24182869 | 58 days ago | IN | 2.5 ETH | 0.00000894 | ||||
| Batch Deposit | 24182829 | 58 days ago | IN | 248 ETH | 0.00001002 | ||||
| Batch Deposit | 24182772 | 58 days ago | IN | 249 ETH | 0.00001543 | ||||
| Batch Deposit | 24182105 | 59 days ago | IN | 4,200 ETH | 0.00008571 | ||||
| Batch Deposit | 23990218 | 85 days ago | IN | 1,026 ETH | 0.00003665 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Deposit | 24587065 | 2 days ago | 150 ETH | ||||
| Deposit | 24587065 | 2 days ago | 150 ETH | ||||
| Deposit | 24587065 | 2 days ago | 150 ETH | ||||
| Deposit | 24587065 | 2 days ago | 150 ETH | ||||
| Deposit | 24587065 | 2 days ago | 150 ETH | ||||
| Deposit | 24587065 | 2 days ago | 150 ETH | ||||
| Deposit | 24569124 | 5 days ago | 4 ETH | ||||
| Deposit | 24535036 | 9 days ago | 1,118 ETH | ||||
| Deposit | 24535024 | 9 days ago | 500 ETH | ||||
| Deposit | 24518846 | 12 days ago | 13 ETH | ||||
| Deposit | 24497631 | 15 days ago | 68 ETH | ||||
| Deposit | 24490492 | 16 days ago | 20 ETH | ||||
| Deposit | 24490438 | 16 days ago | 20 ETH | ||||
| Deposit | 24427527 | 24 days ago | 288.85 ETH | ||||
| Deposit | 24396423 | 29 days ago | 256.07 ETH | ||||
| Deposit | 24377437 | 31 days ago | 88 ETH | ||||
| Deposit | 24377418 | 31 days ago | 88 ETH | ||||
| Deposit | 24327234 | 38 days ago | 29.8837 ETH | ||||
| Deposit | 24320202 | 39 days ago | 32 ETH | ||||
| Deposit | 24318066 | 40 days ago | 900 ETH | ||||
| Deposit | 24296374 | 43 days ago | 890 ETH | ||||
| Deposit | 24296364 | 43 days ago | 1,350 ETH | ||||
| Deposit | 24278089 | 45 days ago | 1 ETH | ||||
| Deposit | 24275847 | 45 days ago | 2 ETH | ||||
| Deposit | 24219036 | 53 days ago | 32 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
BatchDeposit2
Compiler Version
v0.8.28+commit.7893614a
Optimization Enabled:
Yes with 1024 runs
Other Settings:
cancun EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0-or-later
// Contract: BatchDeposit2
// Repository: https://gitlab.com/Blockdaemon/open-source/eth2-batch-deposit-contract
pragma solidity 0.8.28;
import {IBatchDeposit2} from "./interfaces/IBatchDeposit2.sol";
import {IERC165} from "./interfaces/IERC165.sol";
contract BatchDeposit2 is IBatchDeposit2, IERC165 {
// 0xd0 == 0x30 + 0x20 + 0x60 + 0x20 (pubkey + credentials + signature + root)
uint256 public constant DEPOSIT_DATA_SIZE = 0xd0;
address public immutable DEPOSIT_CONTRACT;
error DeadlineExceeded();
error DepositFailed();
error ExcessiveBalance();
error FundingNotAccepted();
error InvalidLength();
error ZeroAddress();
constructor(address depositContract) {
require(depositContract != address(0), ZeroAddress());
DEPOSIT_CONTRACT = depositContract;
}
receive() external payable override {
revert FundingNotAccepted();
}
fallback() external payable override {
revert FundingNotAccepted();
}
function batchDeposit(uint256 deadline, uint256[] calldata values, bytes calldata argv) external payable override {
require(block.number <= deadline, DeadlineExceeded());
require(argv.length == values.length * DEPOSIT_DATA_SIZE, InvalidLength());
uint256 balanceBefore = address(this).balance;
address depositContract = DEPOSIT_CONTRACT;
assembly {
// copy selector
mstore(0x0080, 0x2289511800000000000000000000000000000000000000000000000000000000)
// copy pubkey offset
mstore(0x0084, 0x0000000000000000000000000000000000000000000000000000000000000080)
// copy withdrawal_credentials offset
mstore(0x00a4, 0x00000000000000000000000000000000000000000000000000000000000000e0)
// copy signature offset
mstore(0x00c4, 0x0000000000000000000000000000000000000000000000000000000000000120)
// copy pubkey length
mstore(0x0104, 0x0000000000000000000000000000000000000000000000000000000000000030)
// copy withdrawal_credentials length
mstore(0x0164, 0x0000000000000000000000000000000000000000000000000000000000000020)
// copy signature length
mstore(0x01a4, 0x0000000000000000000000000000000000000000000000000000000000000060)
let argvOffset := argv.offset
let valuesOffset := values.offset
for { let i := 0 } lt(i, values.length) { i := add(i, 1) } {
// copy pubkey
calldatacopy(0x0124, add(argvOffset, 0), 0x30)
// copy withdrawal credentials
calldatacopy(0x0184, add(argvOffset, 0x30), 0x20)
// copy signature
calldatacopy(0x01c4, add(argvOffset, 0x50), 0x60)
// copy deposit_data_root
calldatacopy(0x0e4, add(argvOffset, 0xb0), 0x20)
if iszero(call(gas(), depositContract, calldataload(valuesOffset), 0x80, 0x1a4, 0, 0)) {
// DepositFailed()
mstore(0x00, 0x79cacff100000000000000000000000000000000000000000000000000000000)
revert(0x00, 0x04)
}
// adjust offsets
argvOffset := add(argvOffset, 0xd0)
valuesOffset := add(valuesOffset, 0x20)
}
}
uint256 balanceAfter = address(this).balance;
require(balanceBefore == balanceAfter + msg.value, ExcessiveBalance());
}
function supportsInterface(bytes4 interfaceId) external pure override returns (bool) {
return interfaceId == type(IERC165).interfaceId || interfaceId == type(IBatchDeposit2).interfaceId;
}
}// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.28;
interface IBatchDeposit2 {
receive() external payable;
fallback() external payable;
function batchDeposit(uint256 deadline, uint256[] calldata values, bytes calldata args) external payable;
}// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.28;
interface IERC165 {
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}{
"remappings": [
"forge-std/=lib/forge-std/src/"
],
"optimizer": {
"enabled": true,
"runs": 1024
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "cancun",
"viaIR": true,
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"depositContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"DeadlineExceeded","type":"error"},{"inputs":[],"name":"DepositFailed","type":"error"},{"inputs":[],"name":"ExcessiveBalance","type":"error"},{"inputs":[],"name":"FundingNotAccepted","type":"error"},{"inputs":[],"name":"InvalidLength","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"DEPOSIT_CONTRACT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEPOSIT_DATA_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes","name":"argv","type":"bytes"}],"name":"batchDeposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
60a034608157601f61051438819003918201601f19168301916001600160401b03831184841017608557808492602094604052833981010312608157516001600160a01b0381168082036081571560725760805260405161047a908161009a82396080518181816101f1015261031e0152f35b63d92e233d60e01b5f5260045ffd5b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe60806040526004361015610018575b3661041c5761041c565b5f3560e01c806301ffc9a71461005757806349623e8f14610052578063584dc3a61461004d57636b96736b0361000e576101c5565b610143565b6100fa565b346100f65760203660031901126100f6576004357fffffffff0000000000000000000000000000000000000000000000000000000081168091036100f6577f01ffc9a70000000000000000000000000000000000000000000000000000000081149081156100cc575b50151560805260206080f35b7f584dc3a600000000000000000000000000000000000000000000000000000000915014816100c0565b5f80fd5b346100f6575f3660031901126100f657602060405160d08152f35b9181601f840112156100f65782359167ffffffffffffffff83116100f657602083818601950101116100f657565b60603660031901126100f65760243567ffffffffffffffff81116100f657366023820112156100f65780600401359067ffffffffffffffff82116100f6573660248360051b830101116100f6576044359067ffffffffffffffff82116100f6576101c3926101b76024933690600401610115565b939092016004356102f7565b005b346100f6575f3660031901126100f657602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b1561021c57565b7f559895a3000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b9060d082029180830460d0149015171561028757565b610244565b1561029357565b7f947d5a84000000000000000000000000000000000000000000000000000000005f5260045ffd5b9190820180921161028757565b156102cf57565b7f690de042000000000000000000000000000000000000000000000000000000005f5260045ffd5b9361030b61031a9293949695431115610215565b61031484610271565b1461028c565b47917f0000000000000000000000000000000000000000000000000000000000000000947f2289511800000000000000000000000000000000000000000000000000000000608052608060845260e060a45261012060c45260306101045260206101645260606101a452915f925b8284106103ac57505050506103aa9192506103a44734906102bb565b146102c8565b565b60308161012437602060308201610184376060605082016101c437602060b0820160e4375f806101a4608085358b5af1156103f457602060d060019201920193019290610388565b7f79cacff1000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f256ced2b000000000000000000000000000000000000000000000000000000005f5260045ffdfea2646970667358221220d22a408f9cdbac49ea712ddf000c044a081c63876555573d4bc2a4be216f214964736f6c634300081c003300000000000000000000000000000000219ab540356cbb839cbe05303d7705fa
Deployed Bytecode
0x60806040526004361015610018575b3661041c5761041c565b5f3560e01c806301ffc9a71461005757806349623e8f14610052578063584dc3a61461004d57636b96736b0361000e576101c5565b610143565b6100fa565b346100f65760203660031901126100f6576004357fffffffff0000000000000000000000000000000000000000000000000000000081168091036100f6577f01ffc9a70000000000000000000000000000000000000000000000000000000081149081156100cc575b50151560805260206080f35b7f584dc3a600000000000000000000000000000000000000000000000000000000915014816100c0565b5f80fd5b346100f6575f3660031901126100f657602060405160d08152f35b9181601f840112156100f65782359167ffffffffffffffff83116100f657602083818601950101116100f657565b60603660031901126100f65760243567ffffffffffffffff81116100f657366023820112156100f65780600401359067ffffffffffffffff82116100f6573660248360051b830101116100f6576044359067ffffffffffffffff82116100f6576101c3926101b76024933690600401610115565b939092016004356102f7565b005b346100f6575f3660031901126100f657602060405173ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000219ab540356cbb839cbe05303d7705fa168152f35b1561021c57565b7f559895a3000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b9060d082029180830460d0149015171561028757565b610244565b1561029357565b7f947d5a84000000000000000000000000000000000000000000000000000000005f5260045ffd5b9190820180921161028757565b156102cf57565b7f690de042000000000000000000000000000000000000000000000000000000005f5260045ffd5b9361030b61031a9293949695431115610215565b61031484610271565b1461028c565b47917f00000000000000000000000000000000219ab540356cbb839cbe05303d7705fa947f2289511800000000000000000000000000000000000000000000000000000000608052608060845260e060a45261012060c45260306101045260206101645260606101a452915f925b8284106103ac57505050506103aa9192506103a44734906102bb565b146102c8565b565b60308161012437602060308201610184376060605082016101c437602060b0820160e4375f806101a4608085358b5af1156103f457602060d060019201920193019290610388565b7f79cacff1000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f256ced2b000000000000000000000000000000000000000000000000000000005f5260045ffdfea2646970667358221220d22a408f9cdbac49ea712ddf000c044a081c63876555573d4bc2a4be216f214964736f6c634300081c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000219ab540356cbb839cbe05303d7705fa
-----Decoded View---------------
Arg [0] : depositContract (address): 0x00000000219ab540356cBB839Cbe05303d7705Fa
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000219ab540356cbb839cbe05303d7705fa
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.