ETH Price: $1,791.28 (+10.04%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer Ownersh...49022342018-01-13 15:34:192656 days ago1515857659IN
0xda6d5A2e...a43A04461
0 ETH0.001527850

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer51700522018-02-28 7:13:562611 days ago1519802036
0xda6d5A2e...a43A04461
20,000 ETH
Transfer50146912018-02-02 2:02:562637 days ago1517536976
0xda6d5A2e...a43A04461
0.66718608 ETH
Transfer50146502018-02-02 1:50:452637 days ago1517536245
0xda6d5A2e...a43A04461
70 ETH
Transfer50146322018-02-02 1:46:282637 days ago1517535988
0xda6d5A2e...a43A04461
3,900 ETH
Transfer50146272018-02-02 1:45:392637 days ago1517535939
0xda6d5A2e...a43A04461
5 ETH
Transfer50146222018-02-02 1:44:202637 days ago1517535860
0xda6d5A2e...a43A04461
5 ETH
Transfer50146052018-02-02 1:42:082637 days ago1517535728
0xda6d5A2e...a43A04461
9.5 ETH
Transfer50145722018-02-02 1:33:242637 days ago1517535204
0xda6d5A2e...a43A04461
5 ETH
Transfer50145692018-02-02 1:31:442637 days ago1517535104
0xda6d5A2e...a43A04461
18 ETH
Transfer50145172018-02-02 1:17:492637 days ago1517534269
0xda6d5A2e...a43A04461
5 ETH
Transfer50144942018-02-02 1:10:392637 days ago1517533839
0xda6d5A2e...a43A04461
5 ETH
Transfer50144492018-02-02 1:00:382637 days ago1517533238
0xda6d5A2e...a43A04461
15 ETH
Transfer50144202018-02-02 0:52:482637 days ago1517532768
0xda6d5A2e...a43A04461
5 ETH
Transfer50143912018-02-02 0:45:462637 days ago1517532346
0xda6d5A2e...a43A04461
55.30936973 ETH
Transfer50143692018-02-02 0:40:192637 days ago1517532019
0xda6d5A2e...a43A04461
5.05 ETH
Transfer50142792018-02-02 0:17:452637 days ago1517530665
0xda6d5A2e...a43A04461
5 ETH
Transfer50142252018-02-02 0:05:042637 days ago1517529904
0xda6d5A2e...a43A04461
5 ETH
Transfer50142032018-02-02 0:00:552637 days ago1517529655
0xda6d5A2e...a43A04461
5 ETH
Transfer50141942018-02-01 23:58:282637 days ago1517529508
0xda6d5A2e...a43A04461
5 ETH
Transfer50141432018-02-01 23:45:402637 days ago1517528740
0xda6d5A2e...a43A04461
5 ETH
Transfer50141072018-02-01 23:37:122637 days ago1517528232
0xda6d5A2e...a43A04461
9.51 ETH
Transfer50140832018-02-01 23:32:002637 days ago1517527920
0xda6d5A2e...a43A04461
6 ETH
Transfer50140112018-02-01 23:15:562637 days ago1517526956
0xda6d5A2e...a43A04461
10 ETH
Transfer50139912018-02-01 23:11:342637 days ago1517526694
0xda6d5A2e...a43A04461
5 ETH
Transfer50138292018-02-01 22:29:162637 days ago1517524156
0xda6d5A2e...a43A04461
5.01894319 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PresaleVault

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-01-14
*/

pragma solidity ^0.4.18;


/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
  address public owner;


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


  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  function Ownable() public {
    owner = msg.sender;
  }


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


  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) public onlyOwner {
    require(newOwner != address(0));
    OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }

}







/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    if (a == 0) {
      return 0;
    }
    uint256 c = a * b;
    assert(c / a == b);
    return c;
  }

  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return c;
  }

  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}



/**
 * @title RefundVault
 * @dev This contract is used for storing funds while a crowdsale
 * is in progress. Supports refunding the money if crowdsale fails,
 * and forwarding it if crowdsale is successful.
 */
contract RefundVault is Ownable {
  using SafeMath for uint256;

  enum State { Active, Refunding, Closed }

  mapping (address => uint256) public deposited;
  address public wallet;
  State public state;

  event Closed();
  event RefundsEnabled();
  event Refunded(address indexed beneficiary, uint256 weiAmount);

  function RefundVault(address _wallet) public {
    require(_wallet != address(0));
    wallet = _wallet;
    state = State.Active;
  }

  function deposit(address investor) onlyOwner public payable {
    require(state == State.Active);
    deposited[investor] = deposited[investor].add(msg.value);
  }

  function close() onlyOwner public {
    require(state == State.Active);
    state = State.Closed;
    Closed();
    wallet.transfer(this.balance);
  }

  function enableRefunds() onlyOwner public {
    require(state == State.Active);
    state = State.Refunding;
    RefundsEnabled();
  }

  function refund(address investor) public {
    require(state == State.Refunding);
    uint256 depositedValue = deposited[investor];
    deposited[investor] = 0;
    investor.transfer(depositedValue);
    Refunded(investor, depositedValue);
  }
}


/**
 * @title PresaleVault
 * @dev This contract is used for storing funds while a crowdsale
 * is in progress. Supports refunding the money if crowdsale fails,
 * and forwarding it if crowdsale is successful.
 * PresaleVault.sol exists to handle deployed address.
 */
contract PresaleVault is RefundVault {
  bool public forPresale = true;
  function PresaleVault(address _wallet) RefundVault(_wallet) public {}
}

Contract Security Audit

Contract ABI

API
[{"constant":false,"inputs":[],"name":"close","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"enableRefunds","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"state","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"deposited","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"investor","type":"address"}],"name":"deposit","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"forPresale","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"investor","type":"address"}],"name":"refund","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_wallet","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[],"name":"Closed","type":"event"},{"anonymous":false,"inputs":[],"name":"RefundsEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"beneficiary","type":"address"},{"indexed":false,"name":"weiAmount","type":"uint256"}],"name":"Refunded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

60606040526002805460a860020a60ff0219167501000000000000000000000000000000000000000000179055341561003757600080fd5b60405160208061068a8339810160405280805160008054600160a060020a03191633600160a060020a03908116919091179091559092508291508116151561007e57600080fd5b60028054600160a060020a031916600160a060020a03929092169190911760a060020a60ff0219169055506105d2806100b86000396000f3006060604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166343d726d681146100a8578063521eb273146100bd5780638c52dc41146100ec5780638da5cb5b146100ff578063c19d93fb14610112578063cb13cddb14610149578063f2fde38b1461017a578063f340fa0114610199578063f7c8a091146101ad578063fa89401a146101d4575b600080fd5b34156100b357600080fd5b6100bb6101f3565b005b34156100c857600080fd5b6100d06102ce565b604051600160a060020a03909116815260200160405180910390f35b34156100f757600080fd5b6100bb6102dd565b341561010a57600080fd5b6100d061036e565b341561011d57600080fd5b61012561037d565b6040518082600281111561013557fe5b60ff16815260200191505060405180910390f35b341561015457600080fd5b610168600160a060020a036004351661038d565b60405190815260200160405180910390f35b341561018557600080fd5b6100bb600160a060020a036004351661039f565b6100bb600160a060020a036004351661043a565b34156101b857600080fd5b6101c06104be565b604051901515815260200160405180910390f35b34156101df57600080fd5b6100bb600160a060020a03600435166104e0565b60005433600160a060020a0390811691161461020e57600080fd5b60006002805460a060020a900460ff169081111561022857fe5b1461023257600080fd5b6002805474ff00000000000000000000000000000000000000001916740200000000000000000000000000000000000000001790557f1cdde67b72a90f19919ac732a437ac2f7a10fc128d28c2a6e525d89ce5cd9d3a60405160405180910390a1600254600160a060020a039081169030163180156108fc0290604051600060405180830381858888f1935050505015156102cc57600080fd5b565b600254600160a060020a031681565b60005433600160a060020a039081169116146102f857600080fd5b60006002805460a060020a900460ff169081111561031257fe5b1461031c57600080fd5b6002805474ff0000000000000000000000000000000000000000191660a060020a1790557f599d8e5a83cffb867d051598c4d70e805d59802d8081c1c7d6dffc5b6aca2b8960405160405180910390a1565b600054600160a060020a031681565b60025460a060020a900460ff1681565b60016020526000908152604090205481565b60005433600160a060020a039081169116146103ba57600080fd5b600160a060020a03811615156103cf57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a0390811691161461045557600080fd5b60006002805460a060020a900460ff169081111561046f57fe5b1461047957600080fd5b600160a060020a0381166000908152600160205260409020546104a2903463ffffffff61059016565b600160a060020a03909116600090815260016020526040902055565b6002547501000000000000000000000000000000000000000000900460ff1681565b600060016002805460a060020a900460ff16908111156104fc57fe5b1461050657600080fd5b50600160a060020a038116600081815260016020526040808220805492905590919082156108fc0290839051600060405180830381858888f19350505050151561054f57600080fd5b81600160a060020a03167fd7dee2702d63ad89917b6a4da9981c90c4d24f8c2bdfd64c604ecae57d8d06518260405190815260200160405180910390a25050565b60008282018381101561059f57fe5b93925050505600a165627a7a72305820e5a356e3603948240c9a67ef52224df281ef3cefa836364714d6416c1c6d1c4a0029000000000000000000000000328912b61c04a471eafc02cde0485384ea371384

Deployed Bytecode

0x6060604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166343d726d681146100a8578063521eb273146100bd5780638c52dc41146100ec5780638da5cb5b146100ff578063c19d93fb14610112578063cb13cddb14610149578063f2fde38b1461017a578063f340fa0114610199578063f7c8a091146101ad578063fa89401a146101d4575b600080fd5b34156100b357600080fd5b6100bb6101f3565b005b34156100c857600080fd5b6100d06102ce565b604051600160a060020a03909116815260200160405180910390f35b34156100f757600080fd5b6100bb6102dd565b341561010a57600080fd5b6100d061036e565b341561011d57600080fd5b61012561037d565b6040518082600281111561013557fe5b60ff16815260200191505060405180910390f35b341561015457600080fd5b610168600160a060020a036004351661038d565b60405190815260200160405180910390f35b341561018557600080fd5b6100bb600160a060020a036004351661039f565b6100bb600160a060020a036004351661043a565b34156101b857600080fd5b6101c06104be565b604051901515815260200160405180910390f35b34156101df57600080fd5b6100bb600160a060020a03600435166104e0565b60005433600160a060020a0390811691161461020e57600080fd5b60006002805460a060020a900460ff169081111561022857fe5b1461023257600080fd5b6002805474ff00000000000000000000000000000000000000001916740200000000000000000000000000000000000000001790557f1cdde67b72a90f19919ac732a437ac2f7a10fc128d28c2a6e525d89ce5cd9d3a60405160405180910390a1600254600160a060020a039081169030163180156108fc0290604051600060405180830381858888f1935050505015156102cc57600080fd5b565b600254600160a060020a031681565b60005433600160a060020a039081169116146102f857600080fd5b60006002805460a060020a900460ff169081111561031257fe5b1461031c57600080fd5b6002805474ff0000000000000000000000000000000000000000191660a060020a1790557f599d8e5a83cffb867d051598c4d70e805d59802d8081c1c7d6dffc5b6aca2b8960405160405180910390a1565b600054600160a060020a031681565b60025460a060020a900460ff1681565b60016020526000908152604090205481565b60005433600160a060020a039081169116146103ba57600080fd5b600160a060020a03811615156103cf57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a0390811691161461045557600080fd5b60006002805460a060020a900460ff169081111561046f57fe5b1461047957600080fd5b600160a060020a0381166000908152600160205260409020546104a2903463ffffffff61059016565b600160a060020a03909116600090815260016020526040902055565b6002547501000000000000000000000000000000000000000000900460ff1681565b600060016002805460a060020a900460ff16908111156104fc57fe5b1461050657600080fd5b50600160a060020a038116600081815260016020526040808220805492905590919082156108fc0290839051600060405180830381858888f19350505050151561054f57600080fd5b81600160a060020a03167fd7dee2702d63ad89917b6a4da9981c90c4d24f8c2bdfd64c604ecae57d8d06518260405190815260200160405180910390a25050565b60008282018381101561059f57fe5b93925050505600a165627a7a72305820e5a356e3603948240c9a67ef52224df281ef3cefa836364714d6416c1c6d1c4a0029

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

000000000000000000000000328912b61c04a471eafc02cde0485384ea371384

-----Decoded View---------------
Arg [0] : _wallet (address): 0x328912b61c04A471EAFC02cde0485384ea371384

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000328912b61c04a471eafc02cde0485384ea371384


Swarm Source

bzzr://e5a356e3603948240c9a67ef52224df281ef3cefa836364714d6416c1c6d1c4a

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.