ETH Price: $2,525.88 (+0.13%)

Contract

0x2Bb084eFf1C6c1E188Bd17Da171522bd6C60153b
 

Overview

ETH Balance

0.001803991114554107 ETH

Eth Value

$4.56 (@ $2,525.88/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Deposit193321502024-02-29 9:02:35182 days ago1709197355IN
0x2Bb084eF...d6C60153b
0.001 ETH0.0013935760.99584065
Withdraw182148472023-09-25 19:20:47339 days ago1695669647IN
0x2Bb084eF...d6C60153b
0 ETH0.0007167821.57174582
Withdraw182123942023-09-25 11:06:23339 days ago1695639983IN
0x2Bb084eF...d6C60153b
0 ETH0.000389910.91307441
Withdraw182092122023-09-25 0:24:35340 days ago1695601475IN
0x2Bb084eF...d6C60153b
0 ETH0.0004265912.83369761
Deposit181945402023-09-22 23:05:59342 days ago1695423959IN
0x2Bb084eF...d6C60153b
0.001 ETH0.000169477.41768027
Withdraw181910162023-09-22 11:14:35342 days ago1695381275IN
0x2Bb084eF...d6C60153b
0 ETH0.000466727.68547447
Deposit181447792023-09-15 23:11:11349 days ago1694819471IN
0x2Bb084eF...d6C60153b
0.00001 ETH0.000213289.33540873
Deposit181282392023-09-13 15:21:11351 days ago1694618471IN
0x2Bb084eF...d6C60153b
0.09 ETH0.0004621320.2271898
Withdraw181200642023-09-12 11:50:47352 days ago1694519447IN
0x2Bb084eF...d6C60153b
0 ETH0.0007098511.68676453
Deposit181165192023-09-11 23:55:11353 days ago1694476511IN
0x2Bb084eF...d6C60153b
0.001 ETH0.0002407510.53768036
Withdraw181138872023-09-11 15:04:35353 days ago1694444675IN
0x2Bb084eF...d6C60153b
0 ETH0.0016360149.27160184
Withdraw181138692023-09-11 15:00:59353 days ago1694444459IN
0x2Bb084eF...d6C60153b
0 ETH0.0017807953.61263431
Deposit181078572023-09-10 18:47:11354 days ago1694371631IN
0x2Bb084eF...d6C60153b
0.01 ETH0.000201288.81018328
Deposit181045342023-09-10 7:38:47354 days ago1694331527IN
0x2Bb084eF...d6C60153b
0.001 ETH0.000223859.79795688
Deposit181011022023-09-09 20:05:23355 days ago1694289923IN
0x2Bb084eF...d6C60153b
0.00001 ETH0.000258311.3060164
Withdraw180900242023-09-08 6:50:47356 days ago1694155847IN
0x2Bb084eF...d6C60153b
0 ETH0.0005262314.72400463
Withdraw180898302023-09-08 6:10:59356 days ago1694153459IN
0x2Bb084eF...d6C60153b
0 ETH0.0004542812.71075608
Withdraw180876302023-09-07 22:48:23357 days ago1694126903IN
0x2Bb084eF...d6C60153b
0 ETH0.0007501920.99023094
Withdraw180863502023-09-07 18:31:11357 days ago1694111471IN
0x2Bb084eF...d6C60153b
0 ETH0.0012418434.74655296
Deposit180860652023-09-07 17:33:35357 days ago1694108015IN
0x2Bb084eF...d6C60153b
1.27 ETH0.0005798325.379172
Withdraw180804772023-09-06 22:47:59358 days ago1694040479IN
0x2Bb084eF...d6C60153b
0 ETH0.0006603518.47666108
Deposit180804702023-09-06 22:46:35358 days ago1694040395IN
0x2Bb084eF...d6C60153b
0.01 ETH0.0002614711.44474708
Withdraw180798722023-09-06 20:46:47358 days ago1694033207IN
0x2Bb084eF...d6C60153b
0 ETH0.0006338919.0841031
Deposit180798672023-09-06 20:45:47358 days ago1694033147IN
0x2Bb084eF...d6C60153b
0.005 ETH0.0004317218.89624898
Withdraw180798302023-09-06 20:38:23358 days ago1694032703IN
0x2Bb084eF...d6C60153b
0 ETH0.0005884817.71679022
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
182148472023-09-25 19:20:47339 days ago1695669647
0x2Bb084eF...d6C60153b
0.36038956 ETH
182123942023-09-25 11:06:23339 days ago1695639983
0x2Bb084eF...d6C60153b
0.12 ETH
182092122023-09-25 0:24:35340 days ago1695601475
0x2Bb084eF...d6C60153b
0.49965894 ETH
181910162023-09-22 11:14:35342 days ago1695381275
0x2Bb084eF...d6C60153b
0.1 ETH
181200642023-09-12 11:50:47352 days ago1694519447
0x2Bb084eF...d6C60153b
0.205047 ETH
181138872023-09-11 15:04:35353 days ago1694444675
0x2Bb084eF...d6C60153b
0.01 ETH
181138692023-09-11 15:00:59353 days ago1694444459
0x2Bb084eF...d6C60153b
0.001 ETH
180900242023-09-08 6:50:47356 days ago1694155847
0x2Bb084eF...d6C60153b
0.01951228 ETH
180898302023-09-08 6:10:59356 days ago1694153459
0x2Bb084eF...d6C60153b
0.00955437 ETH
180876302023-09-07 22:48:23357 days ago1694126903
0x2Bb084eF...d6C60153b
0.02927854 ETH
180863502023-09-07 18:31:11357 days ago1694111471
0x2Bb084eF...d6C60153b
0.01873889 ETH
180804772023-09-06 22:47:59358 days ago1694040479
0x2Bb084eF...d6C60153b
0.00951111 ETH
180798722023-09-06 20:46:47358 days ago1694033207
0x2Bb084eF...d6C60153b
0.005 ETH
180798302023-09-06 20:38:23358 days ago1694032703
0x2Bb084eF...d6C60153b
0.007 ETH
180769722023-09-06 11:00:35358 days ago1693998035
0x2Bb084eF...d6C60153b
0.00928882 ETH
180737602023-09-06 0:11:47359 days ago1693959107
0x2Bb084eF...d6C60153b
0.00861794 ETH
180735482023-09-05 23:29:23359 days ago1693956563
0x2Bb084eF...d6C60153b
0.02899447 ETH
180734932023-09-05 23:18:23359 days ago1693955903
0x2Bb084eF...d6C60153b
0.2990158 ETH
180734912023-09-05 23:17:59359 days ago1693955879
0x2Bb084eF...d6C60153b
0.49898489 ETH
180734882023-09-05 23:17:23359 days ago1693955843
0x2Bb084eF...d6C60153b
0.19904965 ETH
180734282023-09-05 23:05:23359 days ago1693955123
0x2Bb084eF...d6C60153b
0.09905365 ETH
180733972023-09-05 22:59:11359 days ago1693954751
0x2Bb084eF...d6C60153b
0.00917885 ETH
180730842023-09-05 21:54:59359 days ago1693950899
0x2Bb084eF...d6C60153b
0.04705822 ETH
180730472023-09-05 21:47:23359 days ago1693950443
0x2Bb084eF...d6C60153b
0.03879635 ETH
180722832023-09-05 19:13:11359 days ago1693941191
0x2Bb084eF...d6C60153b
0.03923015 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SharesWallet

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 3 : SharesWallet.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.7.0 <0.9.0;
import "@openzeppelin/contracts/access/Ownable.sol";

contract SharesWallet is Ownable {

    event Deposit(address user, uint amount);
    event Withdraw(address user, uint amount);

    constructor() {

    }

    function deposit() external payable {
        require(msg.value > 0, "non of eth value deposited");
        emit Deposit(msg.sender, msg.value);
    }

    function withdraw(uint amount, address toUser ) external onlyOwner {
        require(address(this).balance >= amount, "insufficient balance");
        (bool success, ) = payable(toUser).call{value: amount}("");
        require(success, "withdraw faild");
        emit Withdraw(msg.sender, amount);
    }
}

File 2 of 3 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 3 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"toUser","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061002d61002261003260201b60201c565b61003a60201b60201c565b6100fe565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6108e08061010d6000396000f3fe6080604052600436106100495760003560e01c8062f714ce1461004e578063715018a6146100775780638da5cb5b1461008e578063d0e30db0146100b9578063f2fde38b146100c3575b600080fd5b34801561005a57600080fd5b5061007560048036038101906100709190610542565b6100ec565b005b34801561008357600080fd5b5061008c610221565b005b34801561009a57600080fd5b506100a3610235565b6040516100b09190610591565b60405180910390f35b6100c161025e565b005b3480156100cf57600080fd5b506100ea60048036038101906100e591906105ac565b6102dc565b005b6100f461035f565b81471015610137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161012e90610636565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff168360405161015d90610687565b60006040518083038185875af1925050503d806000811461019a576040519150601f19603f3d011682016040523d82523d6000602084013e61019f565b606091505b50509050806101e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101da906106e8565b60405180910390fd5b7f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243643384604051610214929190610717565b60405180910390a1505050565b61022961035f565b61023360006103dd565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600034116102a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102989061078c565b60405180910390fd5b7fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c33346040516102d2929190610717565b60405180910390a1565b6102e461035f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610353576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034a9061081e565b60405180910390fd5b61035c816103dd565b50565b6103676104a1565b73ffffffffffffffffffffffffffffffffffffffff16610385610235565b73ffffffffffffffffffffffffffffffffffffffff16146103db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d29061088a565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600080fd5b6000819050919050565b6104c1816104ae565b81146104cc57600080fd5b50565b6000813590506104de816104b8565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061050f826104e4565b9050919050565b61051f81610504565b811461052a57600080fd5b50565b60008135905061053c81610516565b92915050565b60008060408385031215610559576105586104a9565b5b6000610567858286016104cf565b92505060206105788582860161052d565b9150509250929050565b61058b81610504565b82525050565b60006020820190506105a66000830184610582565b92915050565b6000602082840312156105c2576105c16104a9565b5b60006105d08482850161052d565b91505092915050565b600082825260208201905092915050565b7f696e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b60006106206014836105d9565b915061062b826105ea565b602082019050919050565b6000602082019050818103600083015261064f81610613565b9050919050565b600081905092915050565b50565b6000610671600083610656565b915061067c82610661565b600082019050919050565b600061069282610664565b9150819050919050565b7f7769746864726177206661696c64000000000000000000000000000000000000600082015250565b60006106d2600e836105d9565b91506106dd8261069c565b602082019050919050565b60006020820190508181036000830152610701816106c5565b9050919050565b610711816104ae565b82525050565b600060408201905061072c6000830185610582565b6107396020830184610708565b9392505050565b7f6e6f6e206f66206574682076616c7565206465706f7369746564000000000000600082015250565b6000610776601a836105d9565b915061078182610740565b602082019050919050565b600060208201905081810360008301526107a581610769565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006108086026836105d9565b9150610813826107ac565b604082019050919050565b60006020820190508181036000830152610837816107fb565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006108746020836105d9565b915061087f8261083e565b602082019050919050565b600060208201905081810360008301526108a381610867565b905091905056fea264697066735822122036fc9ad508c5312b6315c0280d63e0b37f7f5675caaf8f24c5040bcdf79e632564736f6c63430008120033

Deployed Bytecode

0x6080604052600436106100495760003560e01c8062f714ce1461004e578063715018a6146100775780638da5cb5b1461008e578063d0e30db0146100b9578063f2fde38b146100c3575b600080fd5b34801561005a57600080fd5b5061007560048036038101906100709190610542565b6100ec565b005b34801561008357600080fd5b5061008c610221565b005b34801561009a57600080fd5b506100a3610235565b6040516100b09190610591565b60405180910390f35b6100c161025e565b005b3480156100cf57600080fd5b506100ea60048036038101906100e591906105ac565b6102dc565b005b6100f461035f565b81471015610137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161012e90610636565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff168360405161015d90610687565b60006040518083038185875af1925050503d806000811461019a576040519150601f19603f3d011682016040523d82523d6000602084013e61019f565b606091505b50509050806101e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101da906106e8565b60405180910390fd5b7f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243643384604051610214929190610717565b60405180910390a1505050565b61022961035f565b61023360006103dd565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600034116102a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102989061078c565b60405180910390fd5b7fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c33346040516102d2929190610717565b60405180910390a1565b6102e461035f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610353576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034a9061081e565b60405180910390fd5b61035c816103dd565b50565b6103676104a1565b73ffffffffffffffffffffffffffffffffffffffff16610385610235565b73ffffffffffffffffffffffffffffffffffffffff16146103db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d29061088a565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600080fd5b6000819050919050565b6104c1816104ae565b81146104cc57600080fd5b50565b6000813590506104de816104b8565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061050f826104e4565b9050919050565b61051f81610504565b811461052a57600080fd5b50565b60008135905061053c81610516565b92915050565b60008060408385031215610559576105586104a9565b5b6000610567858286016104cf565b92505060206105788582860161052d565b9150509250929050565b61058b81610504565b82525050565b60006020820190506105a66000830184610582565b92915050565b6000602082840312156105c2576105c16104a9565b5b60006105d08482850161052d565b91505092915050565b600082825260208201905092915050565b7f696e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b60006106206014836105d9565b915061062b826105ea565b602082019050919050565b6000602082019050818103600083015261064f81610613565b9050919050565b600081905092915050565b50565b6000610671600083610656565b915061067c82610661565b600082019050919050565b600061069282610664565b9150819050919050565b7f7769746864726177206661696c64000000000000000000000000000000000000600082015250565b60006106d2600e836105d9565b91506106dd8261069c565b602082019050919050565b60006020820190508181036000830152610701816106c5565b9050919050565b610711816104ae565b82525050565b600060408201905061072c6000830185610582565b6107396020830184610708565b9392505050565b7f6e6f6e206f66206574682076616c7565206465706f7369746564000000000000600082015250565b6000610776601a836105d9565b915061078182610740565b602082019050919050565b600060208201905081810360008301526107a581610769565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006108086026836105d9565b9150610813826107ac565b604082019050919050565b60006020820190508181036000830152610837816107fb565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006108746020836105d9565b915061087f8261083e565b602082019050919050565b600060208201905081810360008301526108a381610867565b905091905056fea264697066735822122036fc9ad508c5312b6315c0280d63e0b37f7f5675caaf8f24c5040bcdf79e632564736f6c63430008120033

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.