ETH Price: $3,270.36 (-4.25%)

Contract

0xc89D8D1f136900390b09b9C70a658A1Ad7B96369
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer216159612025-01-13 13:48:355 days ago1736776115IN
0xc89D8D1f...Ad7B96369
12 ETH0.0004225813.21313222
Transfer215753722025-01-07 21:46:3510 days ago1736286395IN
0xc89D8D1f...Ad7B96369
1.97610407 ETH0.0005692217.79843823
Transfer215151112024-12-30 11:52:2319 days ago1735559543IN
0xc89D8D1f...Ad7B96369
0.214 ETH0.000108153.3816513
Transfer214678432024-12-23 21:23:5925 days ago1734989039IN
0xc89D8D1f...Ad7B96369
1.17716343 ETH0.0007249222.66671485
Transfer213918432024-12-13 6:37:1136 days ago1734071831IN
0xc89D8D1f...Ad7B96369
2.72795447 ETH0.000401312.54769665
Transfer213671502024-12-09 19:51:2339 days ago1733773883IN
0xc89D8D1f...Ad7B96369
0.9 ETH0.0007845924.53231586
Transfer211904502024-11-15 3:36:3564 days ago1731641795IN
0xc89D8D1f...Ad7B96369
1.7 ETH0.00053616.75952878
Transfer211655772024-11-11 16:16:3568 days ago1731341795IN
0xc89D8D1f...Ad7B96369
8.69 ETH0.0011326735.41599157
Transfer211030302024-11-02 22:46:5976 days ago1730587619IN
0xc89D8D1f...Ad7B96369
0.7 ETH0.000098243.07190735
Transfer210906132024-11-01 5:09:4778 days ago1730437787IN
0xc89D8D1f...Ad7B96369
60 ETH0.000162875.09281573
Transfer209515772024-10-12 19:21:4797 days ago1728760907IN
0xc89D8D1f...Ad7B96369
20 ETH0.0003283410.26642848
Transfer208674812024-10-01 1:52:47109 days ago1727747567IN
0xc89D8D1f...Ad7B96369
0.5 ETH0.00020646.45371856
Transfer208026282024-09-22 0:47:47118 days ago1726966067IN
0xc89D8D1f...Ad7B96369
1.191 ETH0.000195556.11459686
Transfer207604312024-09-16 3:14:47124 days ago1726456487IN
0xc89D8D1f...Ad7B96369
8 ETH0.00005991.87318841
Transfer207310322024-09-12 0:44:23128 days ago1726101863IN
0xc89D8D1f...Ad7B96369
0.2 ETH0.000088572.76949864
Transfer206510682024-08-31 20:54:11139 days ago1725137651IN
0xc89D8D1f...Ad7B96369
0.5 ETH0.000034921.09206111
Transfer206348282024-08-29 14:27:11142 days ago1724941631IN
0xc89D8D1f...Ad7B96369
5.206 ETH0.000182765.71448623
Transfer205915342024-08-23 13:15:47148 days ago1724418947IN
0xc89D8D1f...Ad7B96369
4.2 ETH0.000048561.51858382
Transfer205372902024-08-15 23:25:35155 days ago1723764335IN
0xc89D8D1f...Ad7B96369
1 ETH0.000108633.39689406
Transfer205221632024-08-13 20:42:59157 days ago1723581779IN
0xc89D8D1f...Ad7B96369
1.742 ETH0.000074822.33944538
Transfer204779962024-08-07 16:49:35164 days ago1723049375IN
0xc89D8D1f...Ad7B96369
1.80431833 ETH0.0004699214.69351505
Transfer204368112024-08-01 22:54:11169 days ago1722552851IN
0xc89D8D1f...Ad7B96369
2.5 ETH0.0003348910.4714211
Transfer203798032024-07-24 23:52:47177 days ago1721865167IN
0xc89D8D1f...Ad7B96369
8.3385 ETH0.0001163.62713281
Transfer203631482024-07-22 16:05:11180 days ago1721664311IN
0xc89D8D1f...Ad7B96369
11.51 ETH0.0004383813.70737397
Transfer203186702024-07-16 11:07:59186 days ago1721128079IN
0xc89D8D1f...Ad7B96369
0.015 ETH0.000235217.35456386
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
216159612025-01-13 13:48:355 days ago1736776115
0xc89D8D1f...Ad7B96369
12 ETH
215753722025-01-07 21:46:3510 days ago1736286395
0xc89D8D1f...Ad7B96369
1.97610407 ETH
215151112024-12-30 11:52:2319 days ago1735559543
0xc89D8D1f...Ad7B96369
0.214 ETH
214678432024-12-23 21:23:5925 days ago1734989039
0xc89D8D1f...Ad7B96369
1.17716343 ETH
213918432024-12-13 6:37:1136 days ago1734071831
0xc89D8D1f...Ad7B96369
2.72795447 ETH
213671502024-12-09 19:51:2339 days ago1733773883
0xc89D8D1f...Ad7B96369
0.9 ETH
211904502024-11-15 3:36:3564 days ago1731641795
0xc89D8D1f...Ad7B96369
1.7 ETH
211655772024-11-11 16:16:3568 days ago1731341795
0xc89D8D1f...Ad7B96369
8.69 ETH
211030302024-11-02 22:46:5976 days ago1730587619
0xc89D8D1f...Ad7B96369
0.7 ETH
210906132024-11-01 5:09:4778 days ago1730437787
0xc89D8D1f...Ad7B96369
60 ETH
209515772024-10-12 19:21:4797 days ago1728760907
0xc89D8D1f...Ad7B96369
20 ETH
208674812024-10-01 1:52:47109 days ago1727747567
0xc89D8D1f...Ad7B96369
0.5 ETH
208026282024-09-22 0:47:47118 days ago1726966067
0xc89D8D1f...Ad7B96369
1.191 ETH
207604312024-09-16 3:14:47124 days ago1726456487
0xc89D8D1f...Ad7B96369
8 ETH
207310322024-09-12 0:44:23128 days ago1726101863
0xc89D8D1f...Ad7B96369
0.2 ETH
206510682024-08-31 20:54:11139 days ago1725137651
0xc89D8D1f...Ad7B96369
0.5 ETH
206348282024-08-29 14:27:11142 days ago1724941631
0xc89D8D1f...Ad7B96369
5.206 ETH
205915342024-08-23 13:15:47148 days ago1724418947
0xc89D8D1f...Ad7B96369
4.2 ETH
205372902024-08-15 23:25:35155 days ago1723764335
0xc89D8D1f...Ad7B96369
1 ETH
205221632024-08-13 20:42:59157 days ago1723581779
0xc89D8D1f...Ad7B96369
1.742 ETH
204779962024-08-07 16:49:35164 days ago1723049375
0xc89D8D1f...Ad7B96369
1.80431833 ETH
204368112024-08-01 22:54:11169 days ago1722552851
0xc89D8D1f...Ad7B96369
2.5 ETH
203798032024-07-24 23:52:47177 days ago1721865167
0xc89D8D1f...Ad7B96369
8.3385 ETH
203631482024-07-22 16:05:11180 days ago1721664311
0xc89D8D1f...Ad7B96369
11.51 ETH
203186702024-07-16 11:07:59186 days ago1721128079
0xc89D8D1f...Ad7B96369
0.015 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.