ETH Price: $2,546.21 (+3.33%)

Contract

0x212e94ad02f37c2A8D15F6aF62280fDD817cC859
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer206286442024-08-28 17:41:4714 hrs ago1724866907IN
0x212e94ad...D817cC859
142.43746846 ETH0.00014114.41204674
Transfer206131242024-08-26 13:40:232 days ago1724679623IN
0x212e94ad...D817cC859
11 ETH0.000095943
Transfer205574712024-08-18 19:01:4710 days ago1724007707IN
0x212e94ad...D817cC859
1 ETH0.000069442.1712296
Transfer205433842024-08-16 19:49:1112 days ago1723837751IN
0x212e94ad...D817cC859
0.89745 ETH0.000053051.65898471
Transfer205304862024-08-15 0:35:3514 days ago1723682135IN
0x212e94ad...D817cC859
10 ETH0.000079122.47392803
Transfer204328352024-08-01 9:34:4727 days ago1722504887IN
0x212e94ad...D817cC859
0.05 ETH0.000192666.02431473
Transfer203863072024-07-25 21:40:3534 days ago1721943635IN
0x212e94ad...D817cC859
15 ETH0.000185925.81338378
Transfer203702922024-07-23 16:01:1136 days ago1721750471IN
0x212e94ad...D817cC859
1.0042 ETH0.000193656.0552763
Transfer201286752024-06-19 22:09:3570 days ago1718834975IN
0x212e94ad...D817cC859
0.01 ETH0.000295679.24495727
Transfer201150212024-06-18 0:16:2372 days ago1718669783IN
0x212e94ad...D817cC859
0.035 ETH0.000171015.347114
Transfer201010462024-06-16 1:24:1174 days ago1718501051IN
0x212e94ad...D817cC859
0.16290669 ETH0.000113463.54772916
Transfer200049982024-06-02 15:22:1187 days ago1717341731IN
0x212e94ad...D817cC859
1.259 ETH0.0005439517.00804551
Transfer199781802024-05-29 21:25:4791 days ago1717017947IN
0x212e94ad...D817cC859
2.46214892 ETH0.0003734911.6783226
Transfer198978462024-05-18 15:53:23102 days ago1716047603IN
0x212e94ad...D817cC859
0.2 ETH0.000109053.40998536
Transfer198395802024-05-10 12:17:23110 days ago1715343443IN
0x212e94ad...D817cC859
4.99 ETH0.000132984.15814778
Transfer196837622024-04-18 17:14:35132 days ago1713460475IN
0x212e94ad...D817cC859
0.18609349 ETH0.000458214.32684952
Transfer196713432024-04-16 23:34:23134 days ago1713310463IN
0x212e94ad...D817cC859
0.8270889 ETH0.000221486.92517471
Transfer196456302024-04-13 9:01:35137 days ago1712998895IN
0x212e94ad...D817cC859
0.04926433 ETH0.0004012212.54537744
Transfer195951602024-04-06 7:21:47145 days ago1712388107IN
0x212e94ad...D817cC859
1.2 ETH0.0004162713.01582546
Transfer195188552024-03-26 13:16:59155 days ago1711459019IN
0x212e94ad...D817cC859
10 ETH0.0012277538.38882271
Transfer194154732024-03-12 0:38:23170 days ago1710203903IN
0x212e94ad...D817cC859
0.105 ETH0.0016759952.40429373
Transfer193742802024-03-06 6:16:23176 days ago1709705783IN
0x212e94ad...D817cC859
10 ETH0.001859758.14861409
Transfer193618492024-03-04 12:38:35177 days ago1709555915IN
0x212e94ad...D817cC859
0.33 ETH0.002399975.03935202
Transfer192573462024-02-18 21:28:11192 days ago1708291691IN
0x212e94ad...D817cC859
0.2 ETH0.0005996818.75062559
Transfer192063492024-02-11 17:37:59199 days ago1707673079IN
0x212e94ad...D817cC859
0.5 ETH0.0008548226.72825207
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
206286442024-08-28 17:41:4714 hrs ago1724866907
0x212e94ad...D817cC859
142.43746846 ETH
206131242024-08-26 13:40:232 days ago1724679623
0x212e94ad...D817cC859
11 ETH
205574712024-08-18 19:01:4710 days ago1724007707
0x212e94ad...D817cC859
1 ETH
205433842024-08-16 19:49:1112 days ago1723837751
0x212e94ad...D817cC859
0.89745 ETH
205304862024-08-15 0:35:3514 days ago1723682135
0x212e94ad...D817cC859
10 ETH
204328352024-08-01 9:34:4727 days ago1722504887
0x212e94ad...D817cC859
0.05 ETH
203863072024-07-25 21:40:3534 days ago1721943635
0x212e94ad...D817cC859
15 ETH
203702922024-07-23 16:01:1136 days ago1721750471
0x212e94ad...D817cC859
1.0042 ETH
201286752024-06-19 22:09:3570 days ago1718834975
0x212e94ad...D817cC859
0.01 ETH
201150212024-06-18 0:16:2372 days ago1718669783
0x212e94ad...D817cC859
0.035 ETH
201010462024-06-16 1:24:1174 days ago1718501051
0x212e94ad...D817cC859
0.16290669 ETH
200049982024-06-02 15:22:1187 days ago1717341731
0x212e94ad...D817cC859
1.259 ETH
199781802024-05-29 21:25:4791 days ago1717017947
0x212e94ad...D817cC859
2.46214892 ETH
198978462024-05-18 15:53:23102 days ago1716047603
0x212e94ad...D817cC859
0.2 ETH
198395802024-05-10 12:17:23110 days ago1715343443
0x212e94ad...D817cC859
4.99 ETH
196837622024-04-18 17:14:35132 days ago1713460475
0x212e94ad...D817cC859
0.18609349 ETH
196713432024-04-16 23:34:23134 days ago1713310463
0x212e94ad...D817cC859
0.8270889 ETH
196456302024-04-13 9:01:35137 days ago1712998895
0x212e94ad...D817cC859
0.04926433 ETH
195951602024-04-06 7:21:47145 days ago1712388107
0x212e94ad...D817cC859
1.2 ETH
195188552024-03-26 13:16:59155 days ago1711459019
0x212e94ad...D817cC859
10 ETH
194154732024-03-12 0:38:23170 days ago1710203903
0x212e94ad...D817cC859
0.105 ETH
193742802024-03-06 6:16:23176 days ago1709705783
0x212e94ad...D817cC859
10 ETH
193618492024-03-04 12:38:35177 days ago1709555915
0x212e94ad...D817cC859
0.33 ETH
192573462024-02-18 21:28:11192 days ago1708291691
0x212e94ad...D817cC859
0.2 ETH
192063492024-02-11 17:37:59199 days ago1707673079
0x212e94ad...D817cC859
0.5 ETH
View All Internal Transactions
Loading...
Loading

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

Contract Name:
Deposit

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 800 runs

Other Settings:
paris EvmVersion, MIT license
File 1 of 2 : Deposit.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "IERC20Lite.sol";

/**
 * @title    Deposit contract
 * @notice   Creates a contract with a known address and withdraws tokens from it.
 *           After deployment, the Vault will call fetch() to withdraw tokens.
 * @dev      Any change in this contract, including comments, will affect the final
 *           bytecode and therefore will affect the create2 derived addresses.
 *           Do NOT modify unless the consequences of doing so are fully understood.
 */
contract Deposit {
    address payable private immutable vault;

    /**
     * @notice  Upon deployment it fetches the tokens (native or ERC20) to the Vault.
     * @param token  The address of the token to fetch
     */
    constructor(address token) {
        vault = payable(msg.sender);
        // Slightly cheaper to use msg.sender instead of Vault.
        if (token == 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) {
            // solhint-disable-next-line avoid-low-level-calls
            (bool success, ) = msg.sender.call{value: address(this).balance}("");
            require(success);
        } else {
            // IERC20Lite.transfer doesn't have a return bool to avoid reverts on non-standard ERC20s
            IERC20Lite(token).transfer(msg.sender, IERC20Lite(token).balanceOf(address(this)));
        }
    }

    /**
     * @notice  Allows the Vault to fetch ERC20 tokens from this contract.
     * @param token  The address of the token to fetch
     */
    function fetch(address token) external {
        require(msg.sender == vault);
        // IERC20Lite.transfer doesn't have a return bool to avoid reverts on non-standard ERC20s
        IERC20Lite(token).transfer(msg.sender, IERC20Lite(token).balanceOf(address(this)));
    }

    /// @notice Receives native tokens, emits an event and sends them to the Vault. Note that this
    // requires the sender to forward some more gas than for a simple transfer.
    receive() external payable {
        // solhint-disable-next-line avoid-low-level-calls
        (bool success, ) = vault.call{value: address(this).balance}("");
        require(success);
    }
}

File 2 of 2 : IERC20Lite.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title    ERC20 Lite Interface
 * @notice   The interface for functions ERC20Lite implements. This is intended to
 *           be used only in the Deposit contract.
 * @dev      Any change in this contract, including comments, will affect the final
 *           bytecode and therefore will affect the create2 derived addresses.
 *           Do NOT modify unless the consequences of doing so are fully understood.
 */
interface IERC20Lite {
    /// @dev Removed the return bool to avoid reverts on non-standard ERC20s.
    function transfer(address, uint256) external;

    function balanceOf(address) external view returns (uint256);
}

Settings
{
  "evmVersion": "paris",
  "optimizer": {
    "enabled": true,
    "runs": 800
  },
  "libraries": {
    "Deposit.sol": {}
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"fetch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

Deployed Bytecode

0x6080604052600436106100225760003560e01c8063f109a0be146100ae57600080fd5b366100a95760007f000000000000000000000000f5e10380213880111522dd0efd3dbb45b9f62bcc6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610094576040519150601f19603f3d011682016040523d82523d6000602084013e610099565b606091505b50509050806100a757600080fd5b005b600080fd5b3480156100ba57600080fd5b506100a76100c93660046101e9565b336001600160a01b037f000000000000000000000000f5e10380213880111522dd0efd3dbb45b9f62bcc16146100fe57600080fd5b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90339083906370a0823190602401602060405180830381865afa15801561014c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101709190610219565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156101ce57600080fd5b505af11580156101e2573d6000803e3d6000fd5b5050505050565b6000602082840312156101fb57600080fd5b81356001600160a01b038116811461021257600080fd5b9392505050565b60006020828403121561022b57600080fd5b505191905056fea26469706673582212207a3063a75755b8b3364bcf7137526722a9ac4adcc81866e63e0a9dfb44df3a3e64736f6c63430008140033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
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.