ETH Price: $3,039.73 (-3.70%)
 

Overview

ETH Balance

1.41 ETH

Eth Value

$4,286.02 (@ $3,039.73/ETH)

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer Ownersh...137079962021-11-29 10:16:231467 days ago1638180983IN
NFT Trader: Batch Vault
0 ETH0.00307904107.23897701
Send Vault Balan...137079552021-11-29 10:07:431467 days ago1638180463IN
NFT Trader: Batch Vault
0 ETH0.0029562594.60330196
Send Vault Balan...134296052021-10-16 14:38:541511 days ago1634395134IN
NFT Trader: Batch Vault
0 ETH0.003071798.29756775
Send Vault Balan...133603802021-10-05 17:29:071522 days ago1633454947IN
NFT Trader: Batch Vault
0 ETH0.00416212133.24330287
Send Vault Balan...133035192021-09-26 20:15:471531 days ago1632687347IN
NFT Trader: Batch Vault
0 ETH0.0026795885.78228142
Send Vault Balan...131142542021-08-28 13:52:041560 days ago1630158724IN
NFT Trader: Batch Vault
0 ETH0.0018032257.72712739
Send Vault Balan...129471582021-08-02 17:08:181586 days ago1627924098IN
NFT Trader: Batch Vault
0 ETH0.00415611133
Send Vault Balan...128769852021-07-22 15:20:351597 days ago1626967235IN
NFT Trader: Batch Vault
0 ETH0.0007187223.00000051
Send Vault Balan...128321482021-07-15 14:51:461604 days ago1626360706IN
NFT Trader: Batch Vault
0 ETH0.0016874454
Send Vault Balan...127953152021-07-09 20:29:181610 days ago1625862558IN
NFT Trader: Batch Vault
0 ETH0.0004687315
Send Vault Balan...126146912021-06-11 17:52:541638 days ago1623433974IN
NFT Trader: Batch Vault
0 ETH0.0009995832

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer187998562023-12-16 16:37:23720 days ago1702744643
NFT Trader: Batch Vault
0.01 ETH
Transfer187998542023-12-16 16:36:59720 days ago1702744619
NFT Trader: Batch Vault
0.01 ETH
Transfer187998522023-12-16 16:36:35720 days ago1702744595
NFT Trader: Batch Vault
0.01 ETH
Transfer187998502023-12-16 16:36:11720 days ago1702744571
NFT Trader: Batch Vault
0.01 ETH
Transfer187998482023-12-16 16:35:47720 days ago1702744547
NFT Trader: Batch Vault
0.01 ETH
Transfer187998462023-12-16 16:35:23720 days ago1702744523
NFT Trader: Batch Vault
0.01 ETH
Transfer187998332023-12-16 16:32:47720 days ago1702744367
NFT Trader: Batch Vault
0.01 ETH
Transfer187998312023-12-16 16:32:23720 days ago1702744343
NFT Trader: Batch Vault
0.01 ETH
Transfer187998072023-12-16 16:27:35720 days ago1702744055
NFT Trader: Batch Vault
0.01 ETH
Transfer187998052023-12-16 16:27:11720 days ago1702744031
NFT Trader: Batch Vault
0.01 ETH
Transfer187998032023-12-16 16:26:47720 days ago1702744007
NFT Trader: Batch Vault
0.01 ETH
Transfer187998012023-12-16 16:26:23720 days ago1702743983
NFT Trader: Batch Vault
0.01 ETH
Transfer187998002023-12-16 16:26:11720 days ago1702743971
NFT Trader: Batch Vault
0.01 ETH
Transfer187997982023-12-16 16:25:47720 days ago1702743947
NFT Trader: Batch Vault
0.01 ETH
Transfer187997952023-12-16 16:25:11720 days ago1702743911
NFT Trader: Batch Vault
0.01 ETH
Transfer187997932023-12-16 16:24:47720 days ago1702743887
NFT Trader: Batch Vault
0.01 ETH
Transfer187997862023-12-16 16:23:23720 days ago1702743803
NFT Trader: Batch Vault
0.01 ETH
Transfer187997612023-12-16 16:18:23720 days ago1702743503
NFT Trader: Batch Vault
0.01 ETH
Transfer187997612023-12-16 16:18:23720 days ago1702743503
NFT Trader: Batch Vault
0.01 ETH
Transfer187997612023-12-16 16:18:23720 days ago1702743503
NFT Trader: Batch Vault
0.01 ETH
Transfer187997592023-12-16 16:17:59720 days ago1702743479
NFT Trader: Batch Vault
0.01 ETH
Transfer187997512023-12-16 16:16:23720 days ago1702743383
NFT Trader: Batch Vault
0.01 ETH
Transfer187997412023-12-16 16:14:11720 days ago1702743251
NFT Trader: Batch Vault
0.01 ETH
Transfer187997392023-12-16 16:13:47720 days ago1702743227
NFT Trader: Batch Vault
0.01 ETH
Transfer187997372023-12-16 16:13:23720 days ago1702743203
NFT Trader: Batch Vault
0.01 ETH
View All Internal Transactions
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:
BatchVault

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2021-05-25
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.7.6;


// 
/*
 * @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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// 
/**
 * @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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// 
/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () internal {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

// 
contract BatchVault is Ownable, Pausable {
    event paymentReceived(address indexed _payer, uint256 _value);
   
    constructor(){}

    receive() external payable { 
        emit paymentReceived(msg.sender, msg.value);
    }

    // Ottengo il balance dello smart contract
    function getVaultBalance() public view onlyOwner whenNotPaused returns(uint256) {
        return address(this).balance;
    }

    // Sposto il balance dello smart contract
    function sendVaultBalance(uint256 _amount, address payable _receiver) public onlyOwner whenNotPaused {
        require(address(this).balance>= _amount, "Not enought WEI in the balance");
        _receiver.transfer(_amount);
    }

}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_payer","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"paymentReceived","type":"event"},{"inputs":[],"name":"getVaultBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address payable","name":"_receiver","type":"address"}],"name":"sendVaultBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b50600061001b610077565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805460ff60a01b1916905561007b565b3390565b6105e18061008a6000396000f3fe6080604052600436106100595760003560e01c80635c975abb1461009b578063715018a6146100c45780638da5cb5b146100db578063bfd7ffe71461010c578063ed12e8ef14610145578063f2fde38b1461016c57610096565b366100965760408051348152905133917f0de0271e0148b63e6b759917905b6ae5d995f6081392a30b9fa9e23bb4fb9871919081900360200190a2005b600080fd5b3480156100a757600080fd5b506100b061019f565b604080519115158252519081900360200190f35b3480156100d057600080fd5b506100d96101af565b005b3480156100e757600080fd5b506100f061025b565b604080516001600160a01b039092168252519081900360200190f35b34801561011857600080fd5b506100d96004803603604081101561012f57600080fd5b50803590602001356001600160a01b031661026a565b34801561015157600080fd5b5061015a6103a9565b60408051918252519081900360200190f35b34801561017857600080fd5b506100d96004803603602081101561018f57600080fd5b50356001600160a01b031661045f565b600054600160a01b900460ff1690565b6101b7610561565b6001600160a01b03166101c861025b565b6001600160a01b031614610211576040805162461bcd60e51b8152602060048201819052602482015260008051602061058c833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b610272610561565b6001600160a01b031661028361025b565b6001600160a01b0316146102cc576040805162461bcd60e51b8152602060048201819052602482015260008051602061058c833981519152604482015290519081900360640190fd5b6102d461019f565b15610319576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b8147101561036e576040805162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f756768742057454920696e207468652062616c616e63650000604482015290519081900360640190fd5b6040516001600160a01b0382169083156108fc029084906000818181858888f193505050501580156103a4573d6000803e3d6000fd5b505050565b60006103b3610561565b6001600160a01b03166103c461025b565b6001600160a01b03161461040d576040805162461bcd60e51b8152602060048201819052602482015260008051602061058c833981519152604482015290519081900360640190fd5b61041561019f565b1561045a576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b504790565b610467610561565b6001600160a01b031661047861025b565b6001600160a01b0316146104c1576040805162461bcd60e51b8152602060048201819052602482015260008051602061058c833981519152604482015290519081900360640190fd5b6001600160a01b0381166105065760405162461bcd60e51b81526004018080602001828103825260268152602001806105666026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b339056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212204c419ca9373c4277af2b035f6586e2191d22eb8501f9941eb4d5ce86f72300fd64736f6c63430007060033

Deployed Bytecode

0x6080604052600436106100595760003560e01c80635c975abb1461009b578063715018a6146100c45780638da5cb5b146100db578063bfd7ffe71461010c578063ed12e8ef14610145578063f2fde38b1461016c57610096565b366100965760408051348152905133917f0de0271e0148b63e6b759917905b6ae5d995f6081392a30b9fa9e23bb4fb9871919081900360200190a2005b600080fd5b3480156100a757600080fd5b506100b061019f565b604080519115158252519081900360200190f35b3480156100d057600080fd5b506100d96101af565b005b3480156100e757600080fd5b506100f061025b565b604080516001600160a01b039092168252519081900360200190f35b34801561011857600080fd5b506100d96004803603604081101561012f57600080fd5b50803590602001356001600160a01b031661026a565b34801561015157600080fd5b5061015a6103a9565b60408051918252519081900360200190f35b34801561017857600080fd5b506100d96004803603602081101561018f57600080fd5b50356001600160a01b031661045f565b600054600160a01b900460ff1690565b6101b7610561565b6001600160a01b03166101c861025b565b6001600160a01b031614610211576040805162461bcd60e51b8152602060048201819052602482015260008051602061058c833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b610272610561565b6001600160a01b031661028361025b565b6001600160a01b0316146102cc576040805162461bcd60e51b8152602060048201819052602482015260008051602061058c833981519152604482015290519081900360640190fd5b6102d461019f565b15610319576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b8147101561036e576040805162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f756768742057454920696e207468652062616c616e63650000604482015290519081900360640190fd5b6040516001600160a01b0382169083156108fc029084906000818181858888f193505050501580156103a4573d6000803e3d6000fd5b505050565b60006103b3610561565b6001600160a01b03166103c461025b565b6001600160a01b03161461040d576040805162461bcd60e51b8152602060048201819052602482015260008051602061058c833981519152604482015290519081900360640190fd5b61041561019f565b1561045a576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b504790565b610467610561565b6001600160a01b031661047861025b565b6001600160a01b0316146104c1576040805162461bcd60e51b8152602060048201819052602482015260008051602061058c833981519152604482015290519081900360640190fd5b6001600160a01b0381166105065760405162461bcd60e51b81526004018080602001828103825260268152602001806105666026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b339056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212204c419ca9373c4277af2b035f6586e2191d22eb8501f9941eb4d5ce86f72300fd64736f6c63430007060033

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