Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0.001803991114554107 ETH
Eth Value
$4.56 (@ $2,525.88/ETH)More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 84 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Deposit | 19332150 | 182 days ago | IN | 0.001 ETH | 0.00139357 | ||||
Withdraw | 18214847 | 339 days ago | IN | 0 ETH | 0.00071678 | ||||
Withdraw | 18212394 | 339 days ago | IN | 0 ETH | 0.0003899 | ||||
Withdraw | 18209212 | 340 days ago | IN | 0 ETH | 0.00042659 | ||||
Deposit | 18194540 | 342 days ago | IN | 0.001 ETH | 0.00016947 | ||||
Withdraw | 18191016 | 342 days ago | IN | 0 ETH | 0.00046672 | ||||
Deposit | 18144779 | 349 days ago | IN | 0.00001 ETH | 0.00021328 | ||||
Deposit | 18128239 | 351 days ago | IN | 0.09 ETH | 0.00046213 | ||||
Withdraw | 18120064 | 352 days ago | IN | 0 ETH | 0.00070985 | ||||
Deposit | 18116519 | 353 days ago | IN | 0.001 ETH | 0.00024075 | ||||
Withdraw | 18113887 | 353 days ago | IN | 0 ETH | 0.00163601 | ||||
Withdraw | 18113869 | 353 days ago | IN | 0 ETH | 0.00178079 | ||||
Deposit | 18107857 | 354 days ago | IN | 0.01 ETH | 0.00020128 | ||||
Deposit | 18104534 | 354 days ago | IN | 0.001 ETH | 0.00022385 | ||||
Deposit | 18101102 | 355 days ago | IN | 0.00001 ETH | 0.0002583 | ||||
Withdraw | 18090024 | 356 days ago | IN | 0 ETH | 0.00052623 | ||||
Withdraw | 18089830 | 356 days ago | IN | 0 ETH | 0.00045428 | ||||
Withdraw | 18087630 | 357 days ago | IN | 0 ETH | 0.00075019 | ||||
Withdraw | 18086350 | 357 days ago | IN | 0 ETH | 0.00124184 | ||||
Deposit | 18086065 | 357 days ago | IN | 1.27 ETH | 0.00057983 | ||||
Withdraw | 18080477 | 358 days ago | IN | 0 ETH | 0.00066035 | ||||
Deposit | 18080470 | 358 days ago | IN | 0.01 ETH | 0.00026147 | ||||
Withdraw | 18079872 | 358 days ago | IN | 0 ETH | 0.00063389 | ||||
Deposit | 18079867 | 358 days ago | IN | 0.005 ETH | 0.00043172 | ||||
Withdraw | 18079830 | 358 days ago | IN | 0 ETH | 0.00058848 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
18214847 | 339 days ago | 0.36038956 ETH | ||||
18212394 | 339 days ago | 0.12 ETH | ||||
18209212 | 340 days ago | 0.49965894 ETH | ||||
18191016 | 342 days ago | 0.1 ETH | ||||
18120064 | 352 days ago | 0.205047 ETH | ||||
18113887 | 353 days ago | 0.01 ETH | ||||
18113869 | 353 days ago | 0.001 ETH | ||||
18090024 | 356 days ago | 0.01951228 ETH | ||||
18089830 | 356 days ago | 0.00955437 ETH | ||||
18087630 | 357 days ago | 0.02927854 ETH | ||||
18086350 | 357 days ago | 0.01873889 ETH | ||||
18080477 | 358 days ago | 0.00951111 ETH | ||||
18079872 | 358 days ago | 0.005 ETH | ||||
18079830 | 358 days ago | 0.007 ETH | ||||
18076972 | 358 days ago | 0.00928882 ETH | ||||
18073760 | 359 days ago | 0.00861794 ETH | ||||
18073548 | 359 days ago | 0.02899447 ETH | ||||
18073493 | 359 days ago | 0.2990158 ETH | ||||
18073491 | 359 days ago | 0.49898489 ETH | ||||
18073488 | 359 days ago | 0.19904965 ETH | ||||
18073428 | 359 days ago | 0.09905365 ETH | ||||
18073397 | 359 days ago | 0.00917885 ETH | ||||
18073084 | 359 days ago | 0.04705822 ETH | ||||
18073047 | 359 days ago | 0.03879635 ETH | ||||
18072283 | 359 days ago | 0.03923015 ETH |
Loading...
Loading
Contract Name:
SharesWallet
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// 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); } }
// 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); } }
// 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; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
608060405234801561001057600080fd5b5061002d61002261003260201b60201c565b61003a60201b60201c565b6100fe565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6108e08061010d6000396000f3fe6080604052600436106100495760003560e01c8062f714ce1461004e578063715018a6146100775780638da5cb5b1461008e578063d0e30db0146100b9578063f2fde38b146100c3575b600080fd5b34801561005a57600080fd5b5061007560048036038101906100709190610542565b6100ec565b005b34801561008357600080fd5b5061008c610221565b005b34801561009a57600080fd5b506100a3610235565b6040516100b09190610591565b60405180910390f35b6100c161025e565b005b3480156100cf57600080fd5b506100ea60048036038101906100e591906105ac565b6102dc565b005b6100f461035f565b81471015610137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161012e90610636565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff168360405161015d90610687565b60006040518083038185875af1925050503d806000811461019a576040519150601f19603f3d011682016040523d82523d6000602084013e61019f565b606091505b50509050806101e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101da906106e8565b60405180910390fd5b7f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243643384604051610214929190610717565b60405180910390a1505050565b61022961035f565b61023360006103dd565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600034116102a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102989061078c565b60405180910390fd5b7fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c33346040516102d2929190610717565b60405180910390a1565b6102e461035f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610353576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034a9061081e565b60405180910390fd5b61035c816103dd565b50565b6103676104a1565b73ffffffffffffffffffffffffffffffffffffffff16610385610235565b73ffffffffffffffffffffffffffffffffffffffff16146103db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d29061088a565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600080fd5b6000819050919050565b6104c1816104ae565b81146104cc57600080fd5b50565b6000813590506104de816104b8565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061050f826104e4565b9050919050565b61051f81610504565b811461052a57600080fd5b50565b60008135905061053c81610516565b92915050565b60008060408385031215610559576105586104a9565b5b6000610567858286016104cf565b92505060206105788582860161052d565b9150509250929050565b61058b81610504565b82525050565b60006020820190506105a66000830184610582565b92915050565b6000602082840312156105c2576105c16104a9565b5b60006105d08482850161052d565b91505092915050565b600082825260208201905092915050565b7f696e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b60006106206014836105d9565b915061062b826105ea565b602082019050919050565b6000602082019050818103600083015261064f81610613565b9050919050565b600081905092915050565b50565b6000610671600083610656565b915061067c82610661565b600082019050919050565b600061069282610664565b9150819050919050565b7f7769746864726177206661696c64000000000000000000000000000000000000600082015250565b60006106d2600e836105d9565b91506106dd8261069c565b602082019050919050565b60006020820190508181036000830152610701816106c5565b9050919050565b610711816104ae565b82525050565b600060408201905061072c6000830185610582565b6107396020830184610708565b9392505050565b7f6e6f6e206f66206574682076616c7565206465706f7369746564000000000000600082015250565b6000610776601a836105d9565b915061078182610740565b602082019050919050565b600060208201905081810360008301526107a581610769565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006108086026836105d9565b9150610813826107ac565b604082019050919050565b60006020820190508181036000830152610837816107fb565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006108746020836105d9565b915061087f8261083e565b602082019050919050565b600060208201905081810360008301526108a381610867565b905091905056fea264697066735822122036fc9ad508c5312b6315c0280d63e0b37f7f5675caaf8f24c5040bcdf79e632564736f6c63430008120033
Deployed Bytecode
0x6080604052600436106100495760003560e01c8062f714ce1461004e578063715018a6146100775780638da5cb5b1461008e578063d0e30db0146100b9578063f2fde38b146100c3575b600080fd5b34801561005a57600080fd5b5061007560048036038101906100709190610542565b6100ec565b005b34801561008357600080fd5b5061008c610221565b005b34801561009a57600080fd5b506100a3610235565b6040516100b09190610591565b60405180910390f35b6100c161025e565b005b3480156100cf57600080fd5b506100ea60048036038101906100e591906105ac565b6102dc565b005b6100f461035f565b81471015610137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161012e90610636565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff168360405161015d90610687565b60006040518083038185875af1925050503d806000811461019a576040519150601f19603f3d011682016040523d82523d6000602084013e61019f565b606091505b50509050806101e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101da906106e8565b60405180910390fd5b7f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243643384604051610214929190610717565b60405180910390a1505050565b61022961035f565b61023360006103dd565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600034116102a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102989061078c565b60405180910390fd5b7fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c33346040516102d2929190610717565b60405180910390a1565b6102e461035f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610353576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034a9061081e565b60405180910390fd5b61035c816103dd565b50565b6103676104a1565b73ffffffffffffffffffffffffffffffffffffffff16610385610235565b73ffffffffffffffffffffffffffffffffffffffff16146103db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d29061088a565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600080fd5b6000819050919050565b6104c1816104ae565b81146104cc57600080fd5b50565b6000813590506104de816104b8565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061050f826104e4565b9050919050565b61051f81610504565b811461052a57600080fd5b50565b60008135905061053c81610516565b92915050565b60008060408385031215610559576105586104a9565b5b6000610567858286016104cf565b92505060206105788582860161052d565b9150509250929050565b61058b81610504565b82525050565b60006020820190506105a66000830184610582565b92915050565b6000602082840312156105c2576105c16104a9565b5b60006105d08482850161052d565b91505092915050565b600082825260208201905092915050565b7f696e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b60006106206014836105d9565b915061062b826105ea565b602082019050919050565b6000602082019050818103600083015261064f81610613565b9050919050565b600081905092915050565b50565b6000610671600083610656565b915061067c82610661565b600082019050919050565b600061069282610664565b9150819050919050565b7f7769746864726177206661696c64000000000000000000000000000000000000600082015250565b60006106d2600e836105d9565b91506106dd8261069c565b602082019050919050565b60006020820190508181036000830152610701816106c5565b9050919050565b610711816104ae565b82525050565b600060408201905061072c6000830185610582565b6107396020830184610708565b9392505050565b7f6e6f6e206f66206574682076616c7565206465706f7369746564000000000000600082015250565b6000610776601a836105d9565b915061078182610740565b602082019050919050565b600060208201905081810360008301526107a581610769565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006108086026836105d9565b9150610813826107ac565b604082019050919050565b60006020820190508181036000830152610837816107fb565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006108746020836105d9565b915061087f8261083e565b602082019050919050565b600060208201905081810360008301526108a381610867565b905091905056fea264697066735822122036fc9ad508c5312b6315c0280d63e0b37f7f5675caaf8f24c5040bcdf79e632564736f6c63430008120033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $2,525.88 | 0.00180399 | $4.56 |
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.