ETH Price: $2,420.00 (+0.09%)

Contract

0x8312FaA4B10A9557C9c1A219d63b856EfC2B8d8E
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer208995652024-10-05 13:14:2312 hrs ago1728134063IN
0x8312FaA4...EfC2B8d8E
2.3941 ETH0.000240957.53417772
Transfer208855642024-10-03 14:24:112 days ago1727965451IN
0x8312FaA4...EfC2B8d8E
0.0629 ETH0.000419713.12301891
Transfer208727902024-10-01 19:39:354 days ago1727811575IN
0x8312FaA4...EfC2B8d8E
0.09926642 ETH0.0005916218.49854233
Transfer208261582024-09-25 7:33:2310 days ago1727249603IN
0x8312FaA4...EfC2B8d8E
6.11 ETH0.0004809315.03755779
Transfer208129072024-09-23 11:13:2312 days ago1727090003IN
0x8312FaA4...EfC2B8d8E
4.935 ETH0.0005427421.18192379
Transfer207691482024-09-17 8:30:4718 days ago1726561847IN
0x8312FaA4...EfC2B8d8E
23.57 ETH0.000094652.95956747
Transfer207411372024-09-13 10:36:1122 days ago1726223771IN
0x8312FaA4...EfC2B8d8E
3.234885 ETH0.000081632.55245966
Transfer207278712024-09-11 14:09:1124 days ago1726063751IN
0x8312FaA4...EfC2B8d8E
0.01 ETH0.000190875.96834993
Transfer207151562024-09-09 19:30:5926 days ago1725910259IN
0x8312FaA4...EfC2B8d8E
13 ETH0.000226167.07147895
Transfer206901742024-09-06 7:51:2329 days ago1725609083IN
0x8312FaA4...EfC2B8d8E
0.75 ETH0.000261038.16192177
Transfer206897692024-09-06 6:29:5929 days ago1725604199IN
0x8312FaA4...EfC2B8d8E
0.75 ETH0.000099923.82014934
Transfer206498602024-08-31 16:51:3535 days ago1725123095IN
0x8312FaA4...EfC2B8d8E
1 ETH0.000048161.50591875
Transfer206110612024-08-26 6:45:2340 days ago1724654723IN
0x8312FaA4...EfC2B8d8E
1.17766 ETH0.000031981
Transfer205823672024-08-22 6:30:2344 days ago1724308223IN
0x8312FaA4...EfC2B8d8E
1.2 ETH0.000041811.30758146
Transfer203429882024-07-19 20:32:2378 days ago1721421143IN
0x8312FaA4...EfC2B8d8E
1.5 ETH0.000148784.6522603
Transfer201345032024-06-20 17:43:35107 days ago1718905415IN
0x8312FaA4...EfC2B8d8E
0.0265 ETH0.000299689.37038799
Transfer201212942024-06-18 21:22:23109 days ago1718745743IN
0x8312FaA4...EfC2B8d8E
0.01 ETH0.0003926312.27684286
Transfer199615642024-05-27 13:40:23131 days ago1716817223IN
0x8312FaA4...EfC2B8d8E
0.05 ETH0.0005163416.14495081
Transfer199492172024-05-25 20:16:11133 days ago1716668171IN
0x8312FaA4...EfC2B8d8E
1 ETH0.000128334.01275479
Transfer198845532024-05-16 19:14:11142 days ago1715886851IN
0x8312FaA4...EfC2B8d8E
7 ETH0.000165895.18723266
Transfer198718002024-05-15 0:29:35144 days ago1715732975IN
0x8312FaA4...EfC2B8d8E
0.7 ETH0.000110663.46031015
Transfer198581832024-05-13 2:42:23145 days ago1715568143IN
0x8312FaA4...EfC2B8d8E
0.2 ETH0.000178975.59608024
Transfer197749582024-05-01 11:23:47157 days ago1714562627IN
0x8312FaA4...EfC2B8d8E
0.05 ETH0.000263598.24202454
Transfer197499982024-04-27 23:39:11161 days ago1714261151IN
0x8312FaA4...EfC2B8d8E
4.39 ETH0.000195916.12564751
Transfer197249032024-04-24 11:20:47164 days ago1713957647IN
0x8312FaA4...EfC2B8d8E
3.13 ETH0.000428113.3858286
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
208995652024-10-05 13:14:2312 hrs ago1728134063
0x8312FaA4...EfC2B8d8E
2.3941 ETH
208855642024-10-03 14:24:112 days ago1727965451
0x8312FaA4...EfC2B8d8E
0.0629 ETH
208727902024-10-01 19:39:354 days ago1727811575
0x8312FaA4...EfC2B8d8E
0.09926642 ETH
208261582024-09-25 7:33:2310 days ago1727249603
0x8312FaA4...EfC2B8d8E
6.11 ETH
207691482024-09-17 8:30:4718 days ago1726561847
0x8312FaA4...EfC2B8d8E
23.57 ETH
207411372024-09-13 10:36:1122 days ago1726223771
0x8312FaA4...EfC2B8d8E
3.234885 ETH
207278712024-09-11 14:09:1124 days ago1726063751
0x8312FaA4...EfC2B8d8E
0.01 ETH
207151562024-09-09 19:30:5926 days ago1725910259
0x8312FaA4...EfC2B8d8E
13 ETH
206901742024-09-06 7:51:2329 days ago1725609083
0x8312FaA4...EfC2B8d8E
0.75 ETH
206498602024-08-31 16:51:3535 days ago1725123095
0x8312FaA4...EfC2B8d8E
1 ETH
206110612024-08-26 6:45:2340 days ago1724654723
0x8312FaA4...EfC2B8d8E
1.17766 ETH
205823672024-08-22 6:30:2344 days ago1724308223
0x8312FaA4...EfC2B8d8E
1.2 ETH
203429882024-07-19 20:32:2378 days ago1721421143
0x8312FaA4...EfC2B8d8E
1.5 ETH
201345032024-06-20 17:43:35107 days ago1718905415
0x8312FaA4...EfC2B8d8E
0.0265 ETH
201212942024-06-18 21:22:23109 days ago1718745743
0x8312FaA4...EfC2B8d8E
0.01 ETH
199615642024-05-27 13:40:23131 days ago1716817223
0x8312FaA4...EfC2B8d8E
0.05 ETH
199492172024-05-25 20:16:11133 days ago1716668171
0x8312FaA4...EfC2B8d8E
1 ETH
198845532024-05-16 19:14:11142 days ago1715886851
0x8312FaA4...EfC2B8d8E
7 ETH
198718002024-05-15 0:29:35144 days ago1715732975
0x8312FaA4...EfC2B8d8E
0.7 ETH
198581832024-05-13 2:42:23145 days ago1715568143
0x8312FaA4...EfC2B8d8E
0.2 ETH
197749582024-05-01 11:23:47157 days ago1714562627
0x8312FaA4...EfC2B8d8E
0.05 ETH
197499982024-04-27 23:39:11161 days ago1714261151
0x8312FaA4...EfC2B8d8E
4.39 ETH
197249032024-04-24 11:20:47164 days ago1713957647
0x8312FaA4...EfC2B8d8E
3.13 ETH
196997422024-04-20 22:55:47168 days ago1713653747
0x8312FaA4...EfC2B8d8E
0.5 ETH
196498952024-04-13 23:25:23175 days ago1713050723
0x8312FaA4...EfC2B8d8E
1.8 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.