Sponsored:   LH-CRYPTO - 200 instruments (BTC, EUR, GOLD, OIL, SHARES). Leverage up to 1:500. OPEN ACCOUNT
Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 1975 txns
Token Tracker: NeonToken Network (NEON)
Misc:
Address Watch: Add To Watch List
Contract Creator: 0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebeat txn 0x922ec797f515bc3f173fc2cd665266be2a561ed895c7c97f613dcef19f829dbe
 Latest 25 transactions from a total of 1975 transactions

TxHash Age From To Value [TxFee]
0x8bb0463b79209f10605f17baacb0471400ec85c181c2dc4d88b31c7437c4dabf17 hrs 21 mins ago0xff80229c09d1c1fe7bdbd1102214f53211e2f22f  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000195597
0x3c4f12feed7cf93e34e2dbebc53ec26b5c3dbf982c718587669ed214e73ac3492 days 18 hrs ago0xdba6bff1db363cc5f687d864d35210c96781a936  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000365169
0x375c0b9a340929cdf46429e67d9f94efbf7b44d4f3fd5e0f4eb71737eb414af64 days 4 hrs ago0x1cceaee0bef610a9460154cbc641a049208e386f  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000110835
0x559a51aab38796fe7b41acc9c44e0f84a989016c9d4505a1a2b0aade32b421ae6 days 15 hrs ago0x6ecd022dde74dff1e8d75937d685aeedbca47558  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000521592
0x804fd4636f4eb04aa4b5dfe34582213837d90d1b1baa97fc66149140f830828010 days 8 hrs ago0x05b395d40c97d84ea24ded3bb3c9a8dd13cb73c7  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0.002 Ether0.00029190994
0x999aa4ba339d8ccff6c2e0ede01b7610ddc9a401d2a3d6a83aa1600497607c5514 days 6 hrs ago0xf991a46a6053e7437c87424338a109357753719d  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0.002 Ether0.000512091
0x11fac1d286e4859192b65159151b3572e3480773b8b1921d16afc07cab8285a014 days 6 hrs ago0xf8ef39b9e3d5b836136b2e5bae4dfe3e446c9dcd  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0.002 Ether0.000512091
0x5ea349d5e683a8a167201917f92e71122cc6ad8451776ca8af94cc923ff501ed14 days 7 hrs ago0x8eadd5c5de68a9f1b3ba0d5862b2dd091e467288  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0.01 Ether0.000512091
0xb2ee877b4d923023990e091c8e04a3aa8ce56df4b0b0f386fd40afdd1508c3a314 days 7 hrs ago0x8eadd5c5de68a9f1b3ba0d5862b2dd091e467288  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0.002 Ether0.000512091
0x49c7bb57fff23dbe6ef9fa2267f72b7dacd8d30e11f9825bf73974418ddc668714 days 9 hrs ago0xbb4aae7ca4bd3659a1b6aa19a1c40ac2c217d81a  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000451791
0x1323369b6bbbd7598156351fa2e0d1113de473a1300a3e74a7aab081b199c8d114 days 9 hrs ago0xb58e7c69bc1da1f6486b926b4f1b3b60998f45bb  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000451791
0xec19dfae6c8f323880450a2bad3d0cd8f0251c08536b8ae64d7c1770f599470c14 days 10 hrs ago0x1cceaee0bef610a9460154cbc641a049208e386f  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000586791
0xb8f72085332f36e244f713c494583509a60dc73602221d3d8f1f4ef105b6186514 days 10 hrs ago0xe3c51d8b74aa64ee82f6878ca5d909be6b37e6bb  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000451791
0x4bfa4d772f905c62ba6dfa4ab6aad8a89b0f3018a5c275ebf46536af189a4e0014 days 10 hrs ago0xf991a46a6053e7437c87424338a109357753719d  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000451791
0xb5492da82bb576fd65af7e6e6bda97815ade6b986743dca9fec4688cc8f8418014 days 10 hrs ago0x7c373463907547427bf639ac4c89c3131a3e17d0  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000451791
0x5b2a030dd0dd202a6acbc554feebc20b7f5bd2c95c04f7dc2337defa8574abef14 days 10 hrs ago0xf8ef39b9e3d5b836136b2e5bae4dfe3e446c9dcd  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000451791
0x57966707d79a643d5ba9e5a747efd132358f9c8fa69d1a0b89479fd9a4a8538a14 days 10 hrs ago0x739b418e39bc4e52c0fd100f1ecf36641cad0469  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000451791
0xaaf6336b098585aa0cc2c7ef6c201d8bc9b46c3388361bfa4e810bd6d101d79e14 days 10 hrs ago0x722fe638b5bc6518a9a4624652568758aa8e48d2  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000451791
0xb4c22ad035101fa80b0e076706ada6c57ac27ecb5cecc1ec9614f73814cd186614 days 10 hrs ago0xc13a9b1ee6b526a886a8f6c3eda1c929482858eb  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000451791
0xbb39c4bfe60eed448ed7a744d9ea8a43e650e38b34897f2274e7654aece5e49414 days 10 hrs ago0x3ae391172185a14798b56a94fb140e3552f9d3c4  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000451791
0x040f1d9e0c8330519001c3fb804729d694456cb4fa82c7092f3b86d248c014bc14 days 10 hrs ago0x8eadd5c5de68a9f1b3ba0d5862b2dd091e467288  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000451791
0xc61aa9578e20dd0cebfc1a7577604b858cb6c1ae470cdaa9cbe1c0ad9134cdaa14 days 10 hrs ago0x722fe638b5bc6518a9a4624652568758aa8e48d2  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.0002268
0x6e8ff896d7e7ad51e1e2b3a0a5433075e9b11a212cea9991f70ca2e5397866ec14 days 10 hrs ago0xc13a9b1ee6b526a886a8f6c3eda1c929482858eb  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.0002268
0x15165c4e57b5cb95fd4a9bc230d54b3ac166a6c96f18d6fb117a70ae9f27175914 days 10 hrs ago0x3ae391172185a14798b56a94fb140e3552f9d3c4  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.0002268
0x9b4041393c18bba7f359e13bd780681a5fa4a3423929ea42ab87bc9f138eeb5d14 days 10 hrs ago0x8eadd5c5de68a9f1b3ba0d5862b2dd091e467288  IN   0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.0002268
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click here To View More View All
ParentTxHash Block Age From To Value
0x804fd4636f4eb04aa4b5dfe34582213837d90d1b1baa97fc66149140f8308280667632610 days 8 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.002 Ether
0x999aa4ba339d8ccff6c2e0ede01b7610ddc9a401d2a3d6a83aa1600497607c55665225214 days 6 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.002 Ether
0x11fac1d286e4859192b65159151b3572e3480773b8b1921d16afc07cab8285a0665224414 days 6 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.002 Ether
0x5ea349d5e683a8a167201917f92e71122cc6ad8451776ca8af94cc923ff501ed665217414 days 7 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.01 Ether
0xb2ee877b4d923023990e091c8e04a3aa8ce56df4b0b0f386fd40afdd1508c3a3665215314 days 7 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.002 Ether
0x9da23452d8baa11ad4484d72a08148c5c35dae4f104cd997b54704b99188b90c654548531 days 18 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.001 Ether
0xa0472518688965ce07573bea23932b10ff95ceec299e0736ed4781f1d2139a02650778137 days 22 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.01 Ether
0xba72bbcc144679d75779f1bf09781f3e8618be0194c93b961212fe840149a7bd649532839 days 22 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.02 Ether
0x78aa05450365f72ea434c047b09a91abfd3c375558ad14f3b132582d41348d85646330845 days 2 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.01 Ether
0xa90b54e16d3bb8648522059e5ec16b66bb63e28b314b0f064e37f826b4f1d7eb645418846 days 14 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.002 Ether
0x317cfeba61a235c0afcaebb7a31c542cdbdffd01b3a8ea3049f473b55bf398ed642684451 days 1 hr ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.001 Ether
0x38ac3f516afcb9caa2a8d8d5f7aaf11cfdbff5902ac1df2fb987bacfc81c6011642411051 days 12 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.002 Ether
0x1e92a8658be67a7673b6c8c0df4d93d5309312d53489079db0a113cce2aaa920642139051 days 23 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.005 Ether
0xd81e55a343c7cf79979e59d2115e9439cfbd1e233dc748962d4eaf31c936c214641807352 days 12 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.001 Ether
0x5d44fd53e7ace7b90a3132753be5248c43c1ac106f9e7626b834d23f682b9f7a641806552 days 12 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.005 Ether
0x82cabba253e866cffb6c32588442b601019e7206eac806edfa13b56c3c2ed9bb641765552 days 13 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.001 Ether
0x08488638ce740a7cfd18ecc29a8100da3eeaa1ed205e1422beb6ac935a8335e4641762752 days 13 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.01 Ether
0x39f9ff6109a60f6d3c03220957275a048869edc08360b3ad317bb4b2299fb3da640934353 days 22 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.001 Ether
0x21a7b3eeb3e4da86e063b2f28def674d91427525667cad40cc2cb79a0fb52d67639748255 days 21 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.001 Ether
0xb10a45551b6c384bd0e85d0bf2c910ad98a3814017d10693f309ab5496e18a22639583256 days 3 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.001 Ether
0x7d73005f619378274de3ab48ddf4dceb10cd2724981e02b173e717a825c3d882639569056 days 4 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.002 Ether
0x20d71c458297f301d4c7c11ca02168baff7ee46156d39db151b4359b4cf16b0e639186256 days 19 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.005 Ether
0x0ef5c0dae1e00b302d9c974cc7a501e4e8c0a7f5bb0b0614b24826fb841d0953639148256 days 20 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.001 Ether
0x6045009ca0c174f7b8cb624c6a7ab82ff889605052f8ef80c5848a9533a75736639121156 days 22 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.02 Ether
0x2dce1b391f2b76deb23e75df5a27def2835d8823fbf4fd08fb85c95d0093e695639066757 days 11 mins ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.001 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: NeonTokenNetwork
Compiler Text: v0.4.24+commit.e67f0147
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.18;

// ----------------------------------------------------------------------------
// 'NeonToken Network'
//
// NAME     : NeonToken Network
// Symbol   : NEON
// Total supply: 30,000,000,000
// Decimals    : 8
//
// Enjoy.
//
// (c) by NeonToken Network team. The MIT Licence.
// ----------------------------------------------------------------------------
library SafeMath {
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a * b;
        assert(a == 0 || 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;
    }

    function max64(uint64 a, uint64 b) internal pure returns (uint64) {
        return a >= b ? a : b;
    }

    function min64(uint64 a, uint64 b) internal pure returns (uint64) {
        return a < b ? a : b;
    }

    function max256(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    function min256(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }
}

contract ERC20Basic {
    uint256 public totalSupply;

    bool public transfersEnabled;

    function balanceOf(address who) public view returns (uint256);

    function transfer(address to, uint256 value) public returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);
}

contract ERC20 {
    uint256 public totalSupply;

    bool public transfersEnabled;

    function balanceOf(address _owner) public constant returns (uint256 balance);

    function transfer(address _to, uint256 _value) public returns (bool success);

    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success);

    function approve(address _spender, uint256 _value) public returns (bool success);

    function allowance(address _owner, address _spender) public constant returns (uint256 remaining);

    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}

contract BasicToken is ERC20Basic {
    using SafeMath for uint256;

    mapping(address => uint256) balances;

    /**
    * @dev protection against short address attack
    */
    modifier onlyPayloadSize(uint numwords) {
        assert(msg.data.length == numwords * 32 + 4);
        _;
    }


    /**
    * @dev transfer token for a specified address
    * @param _to The address to transfer to.
    * @param _value The amount to be transferred.
    */
    function transfer(address _to, uint256 _value) public onlyPayloadSize(2) returns (bool) {
        require(_to != address(0));
        require(_value <= balances[msg.sender]);
        require(transfersEnabled);

        // SafeMath.sub will throw if there is not enough balance.
        balances[msg.sender] = balances[msg.sender].sub(_value);
        balances[_to] = balances[_to].add(_value);
        Transfer(msg.sender, _to, _value);
        return true;
    }

    /**
    * @dev Gets the balance of the specified address.
    * @param _owner The address to query the the balance of.
    * @return An uint256 representing the amount owned by the passed address.
    */
    function balanceOf(address _owner) public constant returns (uint256 balance) {
        return balances[_owner];
    }

}

contract StandardToken is ERC20, BasicToken {

    mapping(address => mapping(address => uint256)) internal allowed;

    /**
     * @dev Transfer tokens from one address to another
     * @param _from address The address which you want to send tokens from
     * @param _to address The address which you want to transfer to
     * @param _value uint256 the amount of tokens to be transferred
     */
    function transferFrom(address _from, address _to, uint256 _value) public onlyPayloadSize(3) returns (bool) {
        require(_to != address(0));
        require(_value <= balances[_from]);
        require(_value <= allowed[_from][msg.sender]);
        require(transfersEnabled);

        balances[_from] = balances[_from].sub(_value);
        balances[_to] = balances[_to].add(_value);
        allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
        Transfer(_from, _to, _value);
        return true;
    }

    /**
     * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
     *
     * Beware that changing an allowance with this method brings the risk that someone may use both the old
     * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this
     * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     * @param _spender The address which will spend the funds.
     * @param _value The amount of tokens to be spent.
     */
    function approve(address _spender, uint256 _value) public returns (bool) {
        allowed[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);
        return true;
    }

    /**
     * @dev Function to check the amount of tokens that an owner allowed to a spender.
     * @param _owner address The address which owns the funds.
     * @param _spender address The address which will spend the funds.
     * @return A uint256 specifying the amount of tokens still available for the spender.
     */
    function allowance(address _owner, address _spender) public onlyPayloadSize(2) constant returns (uint256 remaining) {
        return allowed[_owner][_spender];
    }

    /**
     * approve should be called when allowed[_spender] == 0. To increment
     * allowed value is better to use this function to avoid 2 calls (and wait until
     * the first transaction is mined)
     * From MonolithDAO Token.sol
     */
    function increaseApproval(address _spender, uint _addedValue) public returns (bool success) {
        allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
        Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
        return true;
    }

    function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool success) {
        uint oldValue = allowed[msg.sender][_spender];
        if (_subtractedValue > oldValue) {
            allowed[msg.sender][_spender] = 0;
        } else {
            allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
        }
        Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
        return true;
    }

}

contract NeonTokenNetwork is StandardToken {

    string public constant name = "NeonToken Network";
    string public constant symbol = "NEON";
    uint8 public constant decimals = 8;
    uint256 public constant INITIAL_SUPPLY = 30 * 10**9 * (10**uint256(decimals));
    uint256 public weiRaised;
    uint256 public tokenAllocated;
    address public owner;
    bool public saleToken = true;

    event OwnerChanged(address indexed previousOwner, address indexed newOwner);
    event TokenPurchase(address indexed beneficiary, uint256 value, uint256 amount);
    event TokenLimitReached(uint256 tokenRaised, uint256 purchasedToken);
    event Transfer(address indexed _from, address indexed _to, uint256 _value);

    function NeonTokenNetwork() public {
        totalSupply = INITIAL_SUPPLY;
        owner = msg.sender;
        //owner = msg.sender; // for testing
        balances[owner] = INITIAL_SUPPLY;
        tokenAllocated = 0;
        transfersEnabled = true;
    }

    // fallback function can be used to buy tokens
    function() payable public {
        buyTokens(msg.sender);
    }

    function buyTokens(address _investor) public payable returns (uint256){
        require(_investor != address(0));
        require(saleToken == true);
        address wallet = owner;
        uint256 weiAmount = msg.value;
        uint256 tokens = validPurchaseTokens(weiAmount);
        if (tokens == 0) {revert();}
        weiRaised = weiRaised.add(weiAmount);
        tokenAllocated = tokenAllocated.add(tokens);
        mint(_investor, tokens, owner);

        TokenPurchase(_investor, weiAmount, tokens);
        wallet.transfer(weiAmount);
        return tokens;
    }

    function validPurchaseTokens(uint256 _weiAmount) public returns (uint256) {
        uint256 addTokens = getTotalAmountOfTokens(_weiAmount);
        if (addTokens > balances[owner]) {
            TokenLimitReached(tokenAllocated, addTokens);
            return 0;
        }
        return addTokens;
    }

    /**
    * If the user sends 0 ether, he receives 5,000 
    * If he sends 0.001 ether, he receives 50,000 
    * If he sends 0.005 ether, he receives 250,000 +20%
    * If he sends 0.01 ether, he receives 500,000 +40%
    * If he sends 0.1 ether he receives 5,000,000 +60%
    * If he sends 1 ether, he receives 50,000,000 +90%
    */
    function getTotalAmountOfTokens(uint256 _weiAmount) internal pure returns (uint256) {
        uint256 amountOfTokens = 0;
        if(_weiAmount == 0){
            amountOfTokens = 5000 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.001 ether){
            amountOfTokens = 50 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.002 ether){
            amountOfTokens = 100 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.003 ether){
            amountOfTokens = 150 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.004 ether){
            amountOfTokens = 200 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.005 ether){
            amountOfTokens = 300000 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.006 ether){
            amountOfTokens = 360000 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.007 ether){
            amountOfTokens = 420000 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.008 ether){
            amountOfTokens = 480000 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.009 ether){
            amountOfTokens = 540000 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.01 ether){
            amountOfTokens = 700 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.02 ether){
            amountOfTokens = 1400 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.03 ether){
            amountOfTokens = 2100 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.04 ether){
            amountOfTokens = 2800 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.05 ether){
            amountOfTokens = 3500 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.06 ether){
            amountOfTokens = 4200 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.07 ether){
            amountOfTokens = 4900 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.08 ether){
            amountOfTokens = 5600 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.09 ether){
            amountOfTokens = 6300 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.1 ether){
            amountOfTokens = 8000 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.2 ether){
            amountOfTokens = 16000 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.3 ether){
            amountOfTokens = 24000 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.4 ether){
            amountOfTokens = 32000 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.5 ether){
            amountOfTokens = 40000 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.6 ether){
            amountOfTokens = 48000 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.7 ether){
            amountOfTokens = 56000 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.8 ether){
            amountOfTokens = 64000 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 0.9 ether){
            amountOfTokens = 79000 * 10**3 * (10**uint256(decimals));
        }
        if( _weiAmount == 1 ether){
            amountOfTokens = 95000 * 10**3 * (10**uint256(decimals));
        }
        return amountOfTokens;
    }


    function mint(address _to, uint256 _amount, address _owner) internal returns (bool) {
        require(_to != address(0));
        require(_amount <= balances[_owner]);

        balances[_to] = balances[_to].add(_amount);
        balances[_owner] = balances[_owner].sub(_amount);
        Transfer(_owner, _to, _amount);
        return true;
    }

    modifier onlyOwner() {
        require(msg.sender == owner);
        _;
    }

    function changeOwner(address _newOwner) onlyOwner public returns (bool){
        require(_newOwner != address(0));
        OwnerChanged(owner, _newOwner);
        owner = _newOwner;
        return true;
    }

    function startSale() public onlyOwner {
        saleToken = true;
    }

    function stopSale() public onlyOwner {
        saleToken = false;
    }

    function enableTransfers(bool _transfersEnabled) onlyOwner public {
        transfersEnabled = _transfersEnabled;
    }

    /**
     * Peterson's Law Protection
     * Claim tokens
     */
    function claimTokens() public onlyOwner {
        owner.transfer(this.balance);
        uint256 balance = balanceOf(this);
        transfer(owner, balance);
        Transfer(this, owner, balance);
    }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"INITIAL_SUPPLY","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"weiRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"claimTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenAllocated","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"changeOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"startSale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"transfersEnabled","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"stopSale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"saleToken","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_investor","type":"address"}],"name":"buyTokens","outputs":[{"name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_transfersEnabled","type":"bool"}],"name":"enableTransfers","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_weiAmount","type":"uint256"}],"name":"validPurchaseTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"beneficiary","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"TokenPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"tokenRaised","type":"uint256"},{"indexed":false,"name":"purchasedToken","type":"uint256"}],"name":"TokenLimitReached","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_spender","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Approval","type":"event"}]

  Contract Creation Code Switch To Opcodes View
60806040526008805460a060020a60ff0219167401000000000000000000000000000000000000000017905534801561003757600080fd5b506729a2241af62c0000600281905560088054600160a060020a031916331790819055600160a060020a03166000908152600460205260408120919091556007556003805460ff191660011790556111f5806100946000396000f30060806040526004361061013d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610149578063095ea7b3146101d357806318160ddd1461020b57806323b872dd146102325780632ff2e9dc1461025c578063313ce567146102715780634042b66f1461029c57806348c54b9d146102b157806366188463146102c857806370a08231146102ec57806378f7aeee1461030d5780638da5cb5b1461032257806395d89b4114610353578063a6f9dae114610368578063a9059cbb14610389578063b66a0e5d146103ad578063bef97c87146103c2578063d73dd623146103d7578063dd62ed3e146103fb578063e36b0b3714610422578063e985e36714610437578063ec8ac4d81461044c578063f41e60c514610460578063fc38ce191461047a575b61014633610492565b50005b34801561015557600080fd5b5061015e6105c8565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610198578181015183820152602001610180565b50505050905090810190601f1680156101c55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101df57600080fd5b506101f7600160a060020a03600435166024356105ff565b604080519115158252519081900360200190f35b34801561021757600080fd5b50610220610665565b60408051918252519081900360200190f35b34801561023e57600080fd5b506101f7600160a060020a036004358116906024351660443561066b565b34801561026857600080fd5b506102206107f0565b34801561027d57600080fd5b506102866107fc565b6040805160ff9092168252519081900360200190f35b3480156102a857600080fd5b50610220610801565b3480156102bd57600080fd5b506102c6610807565b005b3480156102d457600080fd5b506101f7600160a060020a03600435166024356108b5565b3480156102f857600080fd5b50610220600160a060020a03600435166109a5565b34801561031957600080fd5b506102206109c0565b34801561032e57600080fd5b506103376109c6565b60408051600160a060020a039092168252519081900360200190f35b34801561035f57600080fd5b5061015e6109d5565b34801561037457600080fd5b506101f7600160a060020a0360043516610a0c565b34801561039557600080fd5b506101f7600160a060020a0360043516602435610aa7565b3480156103b957600080fd5b506102c6610b96565b3480156103ce57600080fd5b506101f7610be4565b3480156103e357600080fd5b506101f7600160a060020a0360043516602435610bed565b34801561040757600080fd5b50610220600160a060020a0360043581169060243516610c86565b34801561042e57600080fd5b506102c6610cc1565b34801561044357600080fd5b506101f7610cf8565b610220600160a060020a0360043516610492565b34801561046c57600080fd5b506102c66004351515610d19565b34801561048657600080fd5b50610220600435610d43565b6000808080600160a060020a03851615156104ac57600080fd5b60085474010000000000000000000000000000000000000000900460ff1615156001146104d857600080fd5b600854600160a060020a031692503491506104f282610d43565b905080151561050057600080fd5b600654610513908363ffffffff610dc416565b600655600754610529908263ffffffff610dc416565b6007556008546105459086908390600160a060020a0316610dda565b5060408051838152602081018390528151600160a060020a038816927fcd60aa75dea3072fbc07ae6d7d856b5dc5f4eee88854f5b4abf7b680ef8bc50f928290030190a2604051600160a060020a0384169083156108fc029084906000818181858888f193505050501580156105bf573d6000803e3d6000fd5b50949350505050565b60408051808201909152601181527f4e656f6e546f6b656e204e6574776f726b000000000000000000000000000000602082015281565b336000818152600560209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025481565b600060033660641461067957fe5b600160a060020a038416151561068e57600080fd5b600160a060020a0385166000908152600460205260409020548311156106b357600080fd5b600160a060020a03851660009081526005602090815260408083203384529091529020548311156106e357600080fd5b60035460ff1615156106f457600080fd5b600160a060020a03851660009081526004602052604090205461071d908463ffffffff610ec516565b600160a060020a038087166000908152600460205260408082209390935590861681522054610752908463ffffffff610dc416565b600160a060020a038086166000908152600460209081526040808320949094559188168152600582528281203382529091522054610796908463ffffffff610ec516565b600160a060020a03808716600081815260056020908152604080832033845282529182902094909455805187815290519288169391926000805160206111aa833981519152929181900390910190a3506001949350505050565b6729a2241af62c000081565b600881565b60065481565b600854600090600160a060020a0316331461082157600080fd5b600854604051600160a060020a0390911690303180156108fc02916000818181858888f1935050505015801561085b573d6000803e3d6000fd5b50610865306109a5565b60085490915061087e90600160a060020a031682610aa7565b50600854604080518381529051600160a060020a039092169130916000805160206111aa833981519152919081900360200190a350565b336000908152600560209081526040808320600160a060020a03861684529091528120548083111561090a57336000908152600560209081526040808320600160a060020a038816845290915281205561093f565b61091a818463ffffffff610ec516565b336000908152600560209081526040808320600160a060020a03891684529091529020555b336000818152600560209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a031660009081526004602052604090205490565b60075481565b600854600160a060020a031681565b60408051808201909152600481527f4e454f4e00000000000000000000000000000000000000000000000000000000602082015281565b600854600090600160a060020a03163314610a2657600080fd5b600160a060020a0382161515610a3b57600080fd5b600854604051600160a060020a038085169216907fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c90600090a35060088054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff199091161790556001919050565b6000600236604414610ab557fe5b600160a060020a0384161515610aca57600080fd5b33600090815260046020526040902054831115610ae657600080fd5b60035460ff161515610af757600080fd5b33600090815260046020526040902054610b17908463ffffffff610ec516565b3360009081526004602052604080822092909255600160a060020a03861681522054610b49908463ffffffff610dc416565b600160a060020a0385166000818152600460209081526040918290209390935580518681529051919233926000805160206111aa8339815191529281900390910190a35060019392505050565b600854600160a060020a03163314610bad57600080fd5b6008805474ff0000000000000000000000000000000000000000191674010000000000000000000000000000000000000000179055565b60035460ff1681565b336000908152600560209081526040808320600160a060020a0386168452909152812054610c21908363ffffffff610dc416565b336000818152600560209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6000600236604414610c9457fe5b5050600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b600854600160a060020a03163314610cd857600080fd5b6008805474ff000000000000000000000000000000000000000019169055565b60085474010000000000000000000000000000000000000000900460ff1681565b600854600160a060020a03163314610d3057600080fd5b6003805460ff1916911515919091179055565b600080610d4f83610ed7565b600854600160a060020a0316600090815260046020526040902054909150811115610dba57600754604080519182526020820183905280517f77fcbebee5e7fc6abb70669438e18dae65fc2057b32b694851724c2726a35b629281900390910190a160009150610dbe565b8091505b50919050565b600082820183811015610dd357fe5b9392505050565b6000600160a060020a0384161515610df157600080fd5b600160a060020a038216600090815260046020526040902054831115610e1657600080fd5b600160a060020a038416600090815260046020526040902054610e3f908463ffffffff610dc416565b600160a060020a038086166000908152600460205260408082209390935590841681522054610e74908463ffffffff610ec516565b600160a060020a0380841660008181526004602090815260409182902094909455805187815290519288169391926000805160206111aa833981519152929181900390910190a35060019392505050565b600082821115610ed157fe5b50900390565b600080821515610ee9575064746a5288005b8266038d7ea4c680001415610f01575065048c273950005b8266071afd498d00001415610f1957506509184e72a0005b82660aa87bee5380001415610f315750650da475abf0005b82660e35fa931a00001415610f4957506512309ce540005b826611c37937e080001415610f615750651b48eb57e0005b82661550f7dca700001415610f7957506520bde73640005b826618de76816d80001415610f915750652632e314a0005b82661c6bf5263400001415610fa95750652ba7def300005b82661ff973cafa80001415610fc1575065311cdad160005b82662386f26fc100001415610fd95750653faa252260005b8266470de4df8200001415610ff15750657f544a44c0005b82666a94d74f4300001415611009575065befe6f6720005b82668e1bc9bf0400001415611021575065fea8948980005b8266b1a2bc2ec50000141561103a575066013e52b9abe0005b8266d529ae9e8600001415611053575066017dfcdece40005b8266f8b0a10e470000141561106c57506601bda703f0a0005b8267011c37937e080000141561108657506601fd51291300005b8267013fbe85edc9000014156110a0575066023cfb4e3560005b8267016345785d8a000014156110ba57506602d79883d200005b826702c68af0bb14000014156110d457506605af3107a400005b82670429d069189e000014156110ee5750660886c98b7600005b8267058d15e17628000014156111085750660b5e620f4800005b826706f05b59d3b2000014156111225750660e35fa931a00005b82670853a0d2313c0000141561113c575066110d9316ec00005b826709b6e64a8ec60000141561115657506613e52b9abe00005b82670b1a2bc2ec500000141561117057506616bcc41e9000005b82670c7d713b49da0000141561118a5750661c110215b9c0005b82670de0b6b3a76400001415610dba57506621c0331d5dc000929150505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820d4e1ae207220bbb5bbb325afc91da98f1f25c1af299a2b15aa878b4bb506abb10029

   Swarm Source:
bzzr://d4e1ae207220bbb5bbb325afc91da98f1f25c1af299a2b15aa878b4bb506abb1

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.