ETH Price: $2,683.54 (+2.49%)

Contract

0xdB49d2E1f56E30bE8CCD6a4Ad0cfeC3c6aF7ce79
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Change Owner42271442017-09-01 14:13:432721 days ago1504275223IN
0xdB49d2E1...c6aF7ce79
0 ETH0.0015459654
Buy Tokens42235932017-08-31 14:00:462722 days ago1504188046IN
0xdB49d2E1...c6aF7ce79
0 ETH0.0230141,000
Buy Tokens42235922017-08-31 14:00:252722 days ago1504188025IN
0xdB49d2E1...c6aF7ce79
0 ETH0.9485831,000
Change Owner42235192017-08-31 13:25:142722 days ago1504185914IN
0xdB49d2E1...c6aF7ce79
0 ETH0.0006886324
Transfer42235012017-08-31 13:19:122722 days ago1504185552IN
0xdB49d2E1...c6aF7ce79
10 ETH0.0010491824
Set ICO42234952017-08-31 13:15:372722 days ago1504185337IN
0xdB49d2E1...c6aF7ce79
0 ETH0.0010491624
Transfer42212582017-08-30 22:11:032723 days ago1504131063IN
0xdB49d2E1...c6aF7ce79
10 ETH0.01122
Transfer42212422017-08-30 22:03:552723 days ago1504130635IN
0xdB49d2E1...c6aF7ce79
10 ETH0.00315
Transfer42212332017-08-30 22:01:152723 days ago1504130475IN
0xdB49d2E1...c6aF7ce79
10 ETH0.00031515
Transfer42208862017-08-30 19:32:532723 days ago1504121573IN
0xdB49d2E1...c6aF7ce79
1 ETH0.017570
Transfer42200852017-08-30 14:12:002723 days ago1504102320IN
0xdB49d2E1...c6aF7ce79
173 ETH0.0018756521
Transfer42199932017-08-30 13:34:252723 days ago1504100065IN
0xdB49d2E1...c6aF7ce79
229 ETH0.0005876621
Transfer42191912017-08-30 7:52:502723 days ago1504079570IN
0xdB49d2E1...c6aF7ce79
30 ETH0.0018756521
Transfer42171882017-08-29 18:15:112724 days ago1504030511IN
0xdB49d2E1...c6aF7ce79
100 ETH0.0006156422.00000133
Transfer42171792017-08-29 18:08:572724 days ago1504030137IN
0xdB49d2E1...c6aF7ce79
200 ETH0.0018756521
Transfer42171542017-08-29 17:59:042724 days ago1504029544IN
0xdB49d2E1...c6aF7ce79
20 ETH0.0018756521
Transfer42171422017-08-29 17:53:442724 days ago1504029224IN
0xdB49d2E1...c6aF7ce79
55 ETH0.0018756521
Transfer42169992017-08-29 16:59:332724 days ago1504025973IN
0xdB49d2E1...c6aF7ce79
50 ETH0.0035726840
Transfer42169802017-08-29 16:52:532724 days ago1504025573IN
0xdB49d2E1...c6aF7ce79
50 ETH0.0026795130
Transfer42169542017-08-29 16:45:142724 days ago1504025114IN
0xdB49d2E1...c6aF7ce79
32.98 ETH0.0018756521
Transfer42169472017-08-29 16:41:192724 days ago1504024879IN
0xdB49d2E1...c6aF7ce79
300 ETH0.0018756521
Transfer42169292017-08-29 16:34:212724 days ago1504024461IN
0xdB49d2E1...c6aF7ce79
1,033 ETH0.0018756521
Transfer42157592017-08-29 8:37:312724 days ago1503995851IN
0xdB49d2E1...c6aF7ce79
1,350 ETH0.0021906521
Transfer42157182017-08-29 8:22:162724 days ago1503994936IN
0xdB49d2E1...c6aF7ce79
1,350 ETH0.0004220

Latest 11 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
42235922017-08-31 14:00:252722 days ago1504188025
0xdB49d2E1...c6aF7ce79
173 ETH
42235922017-08-31 14:00:252722 days ago1504188025
0xdB49d2E1...c6aF7ce79
30 ETH
42235922017-08-31 14:00:252722 days ago1504188025
0xdB49d2E1...c6aF7ce79
200 ETH
42235922017-08-31 14:00:252722 days ago1504188025
0xdB49d2E1...c6aF7ce79
20 ETH
42235922017-08-31 14:00:252722 days ago1504188025
0xdB49d2E1...c6aF7ce79
55 ETH
42235922017-08-31 14:00:252722 days ago1504188025
0xdB49d2E1...c6aF7ce79
50 ETH
42235922017-08-31 14:00:252722 days ago1504188025
0xdB49d2E1...c6aF7ce79
50 ETH
42235922017-08-31 14:00:252722 days ago1504188025
0xdB49d2E1...c6aF7ce79
32.98 ETH
42235922017-08-31 14:00:252722 days ago1504188025
0xdB49d2E1...c6aF7ce79
300 ETH
42235922017-08-31 14:00:252722 days ago1504188025
0xdB49d2E1...c6aF7ce79
1,262 ETH
42235922017-08-31 14:00:252722 days ago1504188025
0xdB49d2E1...c6aF7ce79
1,450 ETH
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xe45F4E9C...2782682E8
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
Reservation2

Compiler Version
v0.4.15+commit.bbb8e64f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2017-08-28
*/

/**
 * This reservation contract accepts investments, which will be sent to the ICO contract as soon as it starts buy calling buyTokens().
 * Investors may withdraw their funds anytime if they change their mind as long as the tokens have not yet been purchased.
 * Author: Julia Altenried
 * Internal audit: Alex Bazhanau, Andrej Ruckij
 * Audit: Blockchain & Smart Contract Security Group
 **/

pragma solidity ^0.4.15;

contract ICO {
	function invest(address receiver) payable {}
}

contract SafeMath {

	function safeAdd(uint a, uint b) internal returns(uint) {
		uint c = a + b;
		assert(c >= a && c >= b);
		return c;
	}

	function safeMul(uint a, uint b) internal returns(uint) {
		uint c = a * b;
		assert(a == 0 || c / a == b);
		return c;
	}
}

contract owned {
  address public owner;
  modifier onlyOwner {
    require(msg.sender == owner);
    _;
  }

  function owned() {
    owner = msg.sender;
  }

  function changeOwner(address newOwner) onlyOwner {
    owner = newOwner;
  }
}

contract mortal is owned {
  function close() onlyOwner {
		require(address(this).balance == 0);
    selfdestruct(owner);
  }
}

contract Reservation2 is mortal, SafeMath {
	ICO public ico;
	address[] public investors;
	mapping(address => uint) public balanceOf;
	mapping(address => bool) invested;
	uint public weiCap;


	/** constructs an investment contract for an ICO contract **/
	function Reservation2(address _icoAddr, uint _etherCap) {
		ico = ICO(_icoAddr);
		weiCap = safeMul(_etherCap, 1 ether);
	}

	/** make an investment **/
	function() payable {
		require(msg.value > 0);

		require(weiCap == 0 || this.balance <= weiCap);

		if (!invested[msg.sender]) {
			investors.push(msg.sender);
			invested[msg.sender] = true;
		}
		balanceOf[msg.sender] = safeAdd(balanceOf[msg.sender], msg.value);
	}

	/** buys tokens in behalf of the investors by calling the ico contract
	 *   starting with the investor at index from and ending with investor at index to.
	 *   This function will be called as soon as the ICO starts and as often as necessary, until all investments were made. **/
	function buyTokens(uint _from, uint _to) onlyOwner {
		require(address(ico)!=0x0);//would fail anyway below, but to be sure
		uint amount;
		if (_to > investors.length)
			_to = investors.length;
		for (uint i = _from; i < _to; i++) {
			if (balanceOf[investors[i]] > 0) {
				amount = balanceOf[investors[i]];
				delete balanceOf[investors[i]];
				ico.invest.value(amount)(investors[i]);
			}
		}
	}

	/** In case an investor wants to retrieve his or her funds he or she can call this function.
	 *   (only possible before tokens are bought) **/
	function withdraw() {
		uint amount = balanceOf[msg.sender];
		require(amount > 0);
		
		balanceOf[msg.sender] = 0;
		msg.sender.transfer(amount);
	}

	/** returns the number of investors **/
	function getNumInvestors() constant returns(uint) {
		return investors.length;
	}
	
	function setICO(address _icoAddr) onlyOwner {
		ico = ICO(_icoAddr);
	}

}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"investors","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"close","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"ico","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"getNumInvestors","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"uint256"},{"name":"_to","type":"uint256"}],"name":"buyTokens","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"weiCap","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"changeOwner","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_icoAddr","type":"address"}],"name":"setICO","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"_icoAddr","type":"address"},{"name":"_etherCap","type":"uint256"}],"payable":false,"type":"constructor"},{"payable":true,"type":"fallback"}]

Deployed Bytecode

0x606060405236156100ac5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416633ccfd60b811461019d5780633feb5f2b146101b257806343d726d6146101e45780635d452201146101f957806370a082311461022857806372ea4b8c146102595780637975ce281461027e57806384fe5029146102995780638da5cb5b146102be578063a6f9dae1146102ed578063b6f50c291461030e575b5b600034116100ba57600080fd5b60055415806100d5575060055430600160a060020a03163111155b15156100e057600080fd5b600160a060020a03331660009081526004602052604090205460ff16151561015e576002805460018101610114838261070b565b916000526020600020900160005b8154600160a060020a033381166101009390930a838102910219909116179091556000908152600460205260409020805460ff19166001179055505b600160a060020a033316600090815260036020526040902054610181903461032f565b600160a060020a0333166000908152600360205260409020555b005b34156101a857600080fd5b61019b610357565b005b34156101bd57600080fd5b6101c86004356103c4565b604051600160a060020a03909116815260200160405180910390f35b34156101ef57600080fd5b61019b6103f6565b005b341561020457600080fd5b6101c8610437565b604051600160a060020a03909116815260200160405180910390f35b341561023357600080fd5b610247600160a060020a0360043516610446565b60405190815260200160405180910390f35b341561026457600080fd5b610247610458565b60405190815260200160405180910390f35b341561028957600080fd5b61019b60043560243561045f565b005b34156102a457600080fd5b610247610666565b60405190815260200160405180910390f35b34156102c957600080fd5b6101c861066c565b604051600160a060020a03909116815260200160405180910390f35b34156102f857600080fd5b61019b600160a060020a036004351661067b565b005b341561031957600080fd5b61019b600160a060020a03600435166106c3565b005b60008282018381108015906103445750828110155b151561034c57fe5b8091505b5092915050565b600160a060020a03331660009081526003602052604081205490811161037c57600080fd5b600160a060020a0333166000818152600360205260408082209190915582156108fc0290839051600060405180830381858888f1935050505015156103c057600080fd5b5b50565b60028054829081106103d257fe5b906000526020600020900160005b915054906101000a9004600160a060020a031681565b60005433600160a060020a0390811691161461041157600080fd5b600160a060020a033016311561042657600080fd5b600054600160a060020a0316ff5b5b565b600154600160a060020a031681565b60036020526000908152604090205481565b6002545b90565b60008054819033600160a060020a0390811691161461047d57600080fd5b600154600160a060020a0316151561049457600080fd5b6002548311156104a45760025492505b50825b8281101561065e576000600360006002848154811015156104c457fe5b906000526020600020900160005b9054906101000a9004600160a060020a0316600160a060020a0316600160a060020a03168152602001908152602001600020541115610655576003600060028381548110151561051e57fe5b906000526020600020900160005b9054906101000a9004600160a060020a0316600160a060020a0316600160a060020a031681526020019081526020016000205491506003600060028381548110151561057457fe5b906000526020600020900160005b9054600160a060020a036101009290920a90048116825260208201929092526040016000908120556001546002805491909216916303f9c79391859190859081106105c957fe5b906000526020600020900160005b9054906101000a9004600160a060020a03166040517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390911660048201526024016000604051808303818588803b151561063f57600080fd5b6125ee5a03f1151561065057600080fd5b505050505b5b6001016104a7565b5b5b50505050565b60055481565b600054600160a060020a031681565b60005433600160a060020a0390811691161461069657600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b60005433600160a060020a039081169116146106de57600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b81548183558181151161072f5760008381526020902061072f918101908301610735565b5b505050565b61045c91905b8082111561074f576000815560010161073b565b5090565b90565b6000828202831580610344575082848281151561076f57fe5b04145b151561034c57fe5b8091505b50929150505600a165627a7a723058206dc8ef5c3da7ae4ba6150d95fbdab3df4cdb73e8d136990cf789a5e0e89d75df0029

Swarm Source

bzzr://6dc8ef5c3da7ae4ba6150d95fbdab3df4cdb73e8d136990cf789a5e0e89d75df

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.