ETH Price: $2,226.02 (-5.50%)
 

Overview

ETH Balance

0.019301937921845134 ETH

Eth Value

$42.97 (@ $2,226.02/ETH)

Token Holdings

More Info

Private Name Tags

Multichain Info

Transaction Hash
Method
Block
From
To
Deposit To238391302025-11-20 8:41:4775 days ago1763628107IN
0xcd97405F...16A45d412
0.002 ETH0.000007580.16623712
Deposit To233667362025-09-15 6:38:11141 days ago1757918291IN
0xcd97405F...16A45d412
0.002 ETH0.000062461.36934549
Deposit To231812802025-08-20 9:05:23167 days ago1755680723IN
0xcd97405F...16A45d412
0.002 ETH0.000104142.28293668
Deposit To224592392025-05-11 9:35:23268 days ago1746956123IN
0xcd97405F...16A45d412
0.002 ETH0.000117482.57523544
Deposit To218596992025-02-16 14:57:11352 days ago1739717831IN
0xcd97405F...16A45d412
0.002 ETH0.000042620.93425126
Deposit To208334862024-09-26 8:07:11495 days ago1727338031IN
0xcd97405F...16A45d412
0.005 ETH0.0007094615.55567708
Withdraw208191482024-09-24 8:05:59497 days ago1727165159IN
0xcd97405F...16A45d412
0 ETH0.0014069543.41776943
Deposit To207154272024-09-09 20:25:35511 days ago1725913535IN
0xcd97405F...16A45d412
0.002 ETH0.000252555.53596462
Deposit To206917692024-09-06 13:11:59515 days ago1725628319IN
0xcd97405F...16A45d412
0.002 ETH0.0009580120.99984048
Deposit To206820982024-09-05 4:48:23516 days ago1725511703IN
0xcd97405F...16A45d412
0.001 ETH0.000098462.15847993
Deposit To206289922024-08-28 18:51:23523 days ago1724871083IN
0xcd97405F...16A45d412
0.002 ETH0.000118612.6
Deposit To206065192024-08-25 15:32:23527 days ago1724599943IN
0xcd97405F...16A45d412
0.002 ETH0.000060371.32334606
Deposit To205982172024-08-24 11:39:59528 days ago1724499599IN
0xcd97405F...16A45d412
0.002 ETH0.000038480.84364705
Deposit To205722732024-08-20 20:39:23531 days ago1724186363IN
0xcd97405F...16A45d412
0.02 ETH0.000041350.90649984
Deposit To205562782024-08-18 15:01:47534 days ago1723993307IN
0xcd97405F...16A45d412
0.0022 ETH0.000070911.55441872
Deposit To205534512024-08-18 5:33:59534 days ago1723959239IN
0xcd97405F...16A45d412
0.002 ETH0.000063531.39276775
Deposit To205268662024-08-14 12:27:23538 days ago1723638443IN
0xcd97405F...16A45d412
0.002 ETH0.000098532.15983017
Deposit To204700992024-08-06 14:22:47546 days ago1722954167IN
0xcd97405F...16A45d412
0.03 ETH0.000907719.89713949
Deposit To204451422024-08-03 2:50:47549 days ago1722653447IN
0xcd97405F...16A45d412
0.003 ETH0.000060461.32539754
Deposit To204082692024-07-28 23:14:11554 days ago1722208451IN
0xcd97405F...16A45d412
0.00014 ETH0.000047541.04212327
Deposit To203944912024-07-27 1:06:23556 days ago1722042383IN
0xcd97405F...16A45d412
0.002 ETH0.000094542.07236135
Deposit To203777542024-07-24 17:00:23559 days ago1721840423IN
0xcd97405F...16A45d412
0.0005 ETH0.000361657.92748901
Deposit To203708472024-07-23 17:52:35559 days ago1721757155IN
0xcd97405F...16A45d412
0.002 ETH0.000232665.10149046
Deposit To203571882024-07-21 20:05:35561 days ago1721592335IN
0xcd97405F...16A45d412
0.002 ETH0.0009284920.35820879
Deposit To203397522024-07-19 9:42:47564 days ago1721382167IN
0xcd97405F...16A45d412
0.002 ETH0.000252225.52875458
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer208191482024-09-24 8:05:59497 days ago1727165159
0xcd97405F...16A45d412
8.09 ETH
0x60806040184182842023-10-24 6:18:11833 days ago1698128291  Contract Creation0 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TokenReceiver

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
Yes with 200 runs

Other Settings:
london EvmVersion
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity 0.8.14;

import { Owned } from "solmate/src/auth/Owned.sol";

/**
 * @title TokenReceiver
 * @author CyberConnect
 * @notice A contract that receive native token and record the amount.
 * The deposit only record the cumulative amount and withdraw won't affect
 * the deposit value.
 */
contract TokenReceiver is Owned {
    /*//////////////////////////////////////////////////////////////
                                STATES
    //////////////////////////////////////////////////////////////*/

    mapping(address => uint256) public deposits;

    /*//////////////////////////////////////////////////////////////
                                 EVENT
    //////////////////////////////////////////////////////////////*/

    event Deposit(address from, address to, uint256 amount);
    event Withdraw(address to, uint256 amount);

    /*//////////////////////////////////////////////////////////////
                                 CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(address owner) Owned(owner) {}

    /*//////////////////////////////////////////////////////////////
                                 EXTERNAL
    //////////////////////////////////////////////////////////////*/

    function depositTo(address to) external payable {
        deposits[to] += msg.value;
        emit Deposit(msg.sender, to, msg.value);
    }

    function withdraw(address to, uint256 amount) external onlyOwner {
        payable(to).transfer(amount);
        emit Withdraw(to, amount);
    }
}

// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

/// @notice Simple single owner authorization mixin.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/auth/Owned.sol)
abstract contract Owned {
    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event OwnershipTransferred(address indexed user, address indexed newOwner);

    /*//////////////////////////////////////////////////////////////
                            OWNERSHIP STORAGE
    //////////////////////////////////////////////////////////////*/

    address public owner;

    modifier onlyOwner() virtual {
        require(msg.sender == owner, "UNAUTHORIZED");

        _;
    }

    /*//////////////////////////////////////////////////////////////
                               CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(address _owner) {
        owner = _owner;

        emit OwnershipTransferred(address(0), _owner);
    }

    /*//////////////////////////////////////////////////////////////
                             OWNERSHIP LOGIC
    //////////////////////////////////////////////////////////////*/

    function transferOwnership(address newOwner) public virtual onlyOwner {
        owner = newOwner;

        emit OwnershipTransferred(msg.sender, newOwner);
    }
}

Settings
{
  "remappings": [
    "@openzeppelin/=lib/kernel/lib/openzeppelin-contracts/",
    "account-abstraction/=lib/account-abstraction/contracts/",
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "kernel/=lib/kernel/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "solady/=lib/kernel/lib/solady/",
    "solmate/=lib/solmate/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"depositTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"deposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060405161047338038061047383398101604081905261002f9161007e565b600080546001600160a01b0319166001600160a01b03831690811782556040518392907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350506100ae565b60006020828403121561009057600080fd5b81516001600160a01b03811681146100a757600080fd5b9392505050565b6103b6806100bd6000396000f3fe60806040526004361061004a5760003560e01c80638da5cb5b1461004f578063b760faf91461008c578063f2fde38b146100a1578063f3fef3a3146100c1578063fc7e286d146100e1575b600080fd5b34801561005b57600080fd5b5060005461006f906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61009f61009a36600461030e565b61011c565b005b3480156100ad57600080fd5b5061009f6100bc36600461030e565b610193565b3480156100cd57600080fd5b5061009f6100dc366004610330565b61022c565b3480156100ed57600080fd5b5061010e6100fc36600461030e565b60016020526000908152604090205481565b604051908152602001610083565b6001600160a01b0381166000908152600160205260408120805434929061014490849061035a565b9091555050604080513381526001600160a01b0383166020820152348183015290517f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f629181900360600190a150565b6000546001600160a01b031633146101e15760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b6000546001600160a01b031633146102755760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016101d8565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156102ab573d6000803e3d6000fd5b50604080516001600160a01b0384168152602081018390527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364910160405180910390a15050565b80356001600160a01b038116811461030957600080fd5b919050565b60006020828403121561032057600080fd5b610329826102f2565b9392505050565b6000806040838503121561034357600080fd5b61034c836102f2565b946020939093013593505050565b6000821982111561037b57634e487b7160e01b600052601160045260246000fd5b50019056fea264697066735822122086b8f781cafea27501f18896fa9b56c41d5a15806e818834b53faadeb91d93ae64736f6c634300080e00330000000000000000000000007884f7f04f994da14302a16cf15e597e31eebecf

Deployed Bytecode

0x60806040526004361061004a5760003560e01c80638da5cb5b1461004f578063b760faf91461008c578063f2fde38b146100a1578063f3fef3a3146100c1578063fc7e286d146100e1575b600080fd5b34801561005b57600080fd5b5060005461006f906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61009f61009a36600461030e565b61011c565b005b3480156100ad57600080fd5b5061009f6100bc36600461030e565b610193565b3480156100cd57600080fd5b5061009f6100dc366004610330565b61022c565b3480156100ed57600080fd5b5061010e6100fc36600461030e565b60016020526000908152604090205481565b604051908152602001610083565b6001600160a01b0381166000908152600160205260408120805434929061014490849061035a565b9091555050604080513381526001600160a01b0383166020820152348183015290517f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f629181900360600190a150565b6000546001600160a01b031633146101e15760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b6000546001600160a01b031633146102755760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016101d8565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156102ab573d6000803e3d6000fd5b50604080516001600160a01b0384168152602081018390527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364910160405180910390a15050565b80356001600160a01b038116811461030957600080fd5b919050565b60006020828403121561032057600080fd5b610329826102f2565b9392505050565b6000806040838503121561034357600080fd5b61034c836102f2565b946020939093013593505050565b6000821982111561037b57634e487b7160e01b600052601160045260246000fd5b50019056fea264697066735822122086b8f781cafea27501f18896fa9b56c41d5a15806e818834b53faadeb91d93ae64736f6c634300080e0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000007884f7f04f994da14302a16cf15e597e31eebecf

-----Decoded View---------------
Arg [0] : owner (address): 0x7884f7F04F994da14302a16Cf15E597e31eebECf

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007884f7f04f994da14302a16cf15e597e31eebecf


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