Contract 0xe795364a7c5ce37da56060b22e3f2ee95ab8088a

 

TxHash Block Age From To Value [TxFee]
0xb2582701e666b18fa3979ee3f1c9b0e1c40a6b6ac3e0f70f17cd205833ddae8772371094 days 13 hrs ago0x92ea6902c5023cc632e3fd84de7cca6b98fe853d IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000456393
0x4f73bc367a827d12e8030809968f730e6907f1678cfd996c399d8a705dc6f00872323165 days 16 hrs ago0xe5b4b98f8c33240fa116451c24cb42d478e85ad4 IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.00065199
0x5d00e356ec4dc3a144ec221573c2500e1362d8dcd42410f325eefc174257bcd3716782219 days 22 hrs ago0x50ea8714e03ae8817116f2b797adb9ca2f6831ac IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000195597
0x360b966653779ca53c94d65f2e62c547a4d213d870ad93a7dc8b726dc9a9057c716782219 days 22 hrs ago0x50ea8714e03ae8817116f2b797adb9ca2f6831ac IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000180384
0xaeb0863303fd072cd88ecb9f51b7c5c714b5acab387bc8d3ef4cbe16df04b762716468420 days 13 hrs ago0xbcf2ea50d658d3f853067511a2a9c9e2834de9bc IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000200796
0x80fbef217f0efe75369176d3a93161a11999f55cc02ee426e464655f637ee876716360720 days 18 hrs ago0xde4f187a39dbe4a4ef13172830588f4bad5a336f IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000074462
0x2270836826dff64985bd57105ef4ca963ecd0d02fddf15df69d96ddca0ac86ab714508824 days 13 hrs ago0xbcf2ea50d658d3f853067511a2a9c9e2834de9bc IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000325995
0x9556aba659036a094973e39c20fe500bd350696134f824b03edb7bfdd9d443f5714049525 days 12 hrs ago0xb8ac6d5df9696e00006645cda41030b9b91b9c98 IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000391194
0xacf74ccae4e6c2b3b1ddad595a3bb681d006763f4da3eb8a165fe50577976894713978225 days 15 hrs ago0xd36d32d9f3f85e37ede9a3c853fe1859f11a0929 IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.0007497885
0xffa28c0920966d10185821fd203fd4cbfc934103363849ef55ccfa5b85206f3a713361726 days 21 hrs ago0x77ae69ae834326e40ce73b41dbaca98025b83830 IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000195597
0x12e410de9c92216eac7c58f36e05d5603ae0c648a87e14877a3609c7f44124b4712460728 days 16 hrs ago0xe808a1251152318048ffdc31ebf303f9ce970c27 IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000260796
0xae86b2e13c5835704fd2a52dcbb51aceee55ee2390dea4bbb651416176eb37ed711945829 days 16 hrs ago0x84386804bb2b369afdc65e608e63114bbedb6f98 IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000130398
0x18804c0e55a0caff2f4ff3321070400624a2bebf8295e8b7ec4cdae123e8b3cb711770430 days 1 hr ago0x6ddaf48e1127507ca9da8a2b395c1966f4092a70 IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000260796
0x8adab3514ba36d679b6f366e4151a002ec653384395b5d96e2946418611f931d711457130 days 15 hrs ago0xf2418654dd2e239ecbcf00aa2bc18ad8af9bad52 IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000260796
0x088f8f169a1795eb9c7cdcce012cf54c40f3afa85376ad12b955e68795e68fb8711273531 days 22 mins ago0x78c462889e90e687aae1b2b1b2ff9cc0d871eaf8 IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000260796
0x788266bfa024a14c5fc52544b8e79f6ea46fb1b04510dafec755930f111ffff6711143931 days 6 hrs ago0xc1684452b9e03e97134a6fab92d708f10a8752ee IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.0001104378
0x643af8ce8964c1617be1fd9a86230e893084ed0794537cb0c41d5baab4a94962711121231 days 7 hrs ago0x922ce5ae7d93fdd21714394a6fe6375ebae76882 IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000195597
0x60eea58b2beb1b9f2ca3c67a8263e76153ca5c5083f2e6eb9ef6cc70b7905576710608432 days 8 hrs ago0x4db5a1f90f424cb0003b7c6732217a4cc02ab122 IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000260796
0xc6487d976ff1fd0ec4a110e64b52e1b0047fe506d8d8a493c7e01af6e79ba8c4710579932 days 9 hrs ago0xa6ba2e93ba45145cc470aad92cb908b68ed6332f IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000150597
0x20bba1d436f04b3746ad619a7eeb6300ad7af640989bd4acc3c384b2d20ebca3710527332 days 11 hrs ago0xaa2f706b40a17878423f996c596f592582aaa61b IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000130398
0x54bfe04e1a40321e677cc879b36751b1486ab0aada7b0180e221c12cfdbf94e8710453332 days 15 hrs ago0x22f7bbffd86cfea6cd7ad97fc8089343a1f52852 IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000195597
0x46e22966bcbe8bb5efb8d99578d6a82bbd3e4f9daf95d79ea85a3096f103aa98710449032 days 15 hrs ago0xb42a0ea478d33675240ca6fb1575d3987638eaf0 IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000195597
0x6d3ca2857426b49228a46a5d7d80f6fbda88d87a2c3fac46a28461d0366ce0cd710444332 days 15 hrs ago0x60de9293faee42508abecbc6b9c7d07d082383b5 IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000195597
0xb57829d31f579fc56e30d7e628d53146fb0879a47a414e82b696b67f286f8ff4710440732 days 15 hrs ago0x2b74be5ea5026333f11fe80436222bc8a16a3e67 IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.002673159
0x119def262d4065eaa7b68e647aa4ebb8c471d6519d9a43d0b0a4cd7a2b799bcb710438332 days 16 hrs ago0x82683f46c69e068f244d86103317b37ebbf93779 IN  0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0 Ether0.000325995
[ Download CSV Export 

Latest 25 Internal Transaction, Click here to view more Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
0x37f54ddf916be7839476d8404fccbde3ab0876f2ce449a82ddff5bc7b8bd2be4703299145 days 11 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.01 Ether
0x8f71ff4b371e58ea03f6cc4793b7d2d967b5268bf89f404fd02a1cceeee2e30e703008446 days 13 mins ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.01 Ether
0x804fd4636f4eb04aa4b5dfe34582213837d90d1b1baa97fc66149140f83082806676326105 days 3 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.002 Ether
0x999aa4ba339d8ccff6c2e0ede01b7610ddc9a401d2a3d6a83aa1600497607c556652252109 days 2 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.002 Ether
0x11fac1d286e4859192b65159151b3572e3480773b8b1921d16afc07cab8285a06652244109 days 2 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.002 Ether
0x5ea349d5e683a8a167201917f92e71122cc6ad8451776ca8af94cc923ff501ed6652174109 days 2 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.01 Ether
0xb2ee877b4d923023990e091c8e04a3aa8ce56df4b0b0f386fd40afdd1508c3a36652153109 days 2 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.002 Ether
0x9da23452d8baa11ad4484d72a08148c5c35dae4f104cd997b54704b99188b90c6545485126 days 13 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.001 Ether
0xa0472518688965ce07573bea23932b10ff95ceec299e0736ed4781f1d2139a026507781132 days 17 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.01 Ether
0xba72bbcc144679d75779f1bf09781f3e8618be0194c93b961212fe840149a7bd6495328134 days 18 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.02 Ether
0x78aa05450365f72ea434c047b09a91abfd3c375558ad14f3b132582d41348d856463308139 days 22 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.01 Ether
0xa90b54e16d3bb8648522059e5ec16b66bb63e28b314b0f064e37f826b4f1d7eb6454188141 days 10 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.002 Ether
0x317cfeba61a235c0afcaebb7a31c542cdbdffd01b3a8ea3049f473b55bf398ed6426844145 days 21 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.001 Ether
0x38ac3f516afcb9caa2a8d8d5f7aaf11cfdbff5902ac1df2fb987bacfc81c60116424110146 days 8 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.002 Ether
0x1e92a8658be67a7673b6c8c0df4d93d5309312d53489079db0a113cce2aaa9206421390146 days 18 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.005 Ether
0xd81e55a343c7cf79979e59d2115e9439cfbd1e233dc748962d4eaf31c936c2146418073147 days 7 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.001 Ether
0x5d44fd53e7ace7b90a3132753be5248c43c1ac106f9e7626b834d23f682b9f7a6418065147 days 7 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.005 Ether
0x82cabba253e866cffb6c32588442b601019e7206eac806edfa13b56c3c2ed9bb6417655147 days 9 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.001 Ether
0x08488638ce740a7cfd18ecc29a8100da3eeaa1ed205e1422beb6ac935a8335e46417627147 days 9 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.01 Ether
0x39f9ff6109a60f6d3c03220957275a048869edc08360b3ad317bb4b2299fb3da6409343148 days 18 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.001 Ether
0x21a7b3eeb3e4da86e063b2f28def674d91427525667cad40cc2cb79a0fb52d676397482150 days 16 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.001 Ether
0xb10a45551b6c384bd0e85d0bf2c910ad98a3814017d10693f309ab5496e18a226395832150 days 23 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.001 Ether
0x7d73005f619378274de3ab48ddf4dceb10cd2724981e02b173e717a825c3d8826395690150 days 23 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.002 Ether
0x20d71c458297f301d4c7c11ca02168baff7ee46156d39db151b4359b4cf16b0e6391862151 days 15 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.005 Ether
0x0ef5c0dae1e00b302d9c974cc7a501e4e8c0a7f5bb0b0614b24826fb841d09536391482151 days 16 hrs ago0xe795364a7c5ce37da56060b22e3f2ee95ab8088a0x79c4733b7cdb7e64bbf3cedee1fff56ec9e65ebe0.001 Ether
[ Download CSV Export 
Warning: The compiled contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) Solidity Compiler Bugs.

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


Contract Source Code
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
60806040526008805460a060020a60ff0219167401000000000000000000000000000000000000000017905534801561003757600080fd5b506729a2241af62c0000600281905560088054600160a060020a031916331790819055600160a060020a03166000908152600460205260408120919091556007556003805460ff191660011790556111f5806100946000396000f30060806040526004361061013d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610149578063095ea7b3146101d357806318160ddd1461020b57806323b872dd146102325780632ff2e9dc1461025c578063313ce567146102715780634042b66f1461029c57806348c54b9d146102b157806366188463146102c857806370a08231146102ec57806378f7aeee1461030d5780638da5cb5b1461032257806395d89b4114610353578063a6f9dae114610368578063a9059cbb14610389578063b66a0e5d146103ad578063bef97c87146103c2578063d73dd623146103d7578063dd62ed3e146103fb578063e36b0b3714610422578063e985e36714610437578063ec8ac4d81461044c578063f41e60c514610460578063fc38ce191461047a575b61014633610492565b50005b34801561015557600080fd5b5061015e6105c8565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610198578181015183820152602001610180565b50505050905090810190601f1680156101c55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101df57600080fd5b506101f7600160a060020a03600435166024356105ff565b604080519115158252519081900360200190f35b34801561021757600080fd5b50610220610665565b60408051918252519081900360200190f35b34801561023e57600080fd5b506101f7600160a060020a036004358116906024351660443561066b565b34801561026857600080fd5b506102206107f0565b34801561027d57600080fd5b506102866107fc565b6040805160ff9092168252519081900360200190f35b3480156102a857600080fd5b50610220610801565b3480156102bd57600080fd5b506102c6610807565b005b3480156102d457600080fd5b506101f7600160a060020a03600435166024356108b5565b3480156102f857600080fd5b50610220600160a060020a03600435166109a5565b34801561031957600080fd5b506102206109c0565b34801561032e57600080fd5b506103376109c6565b60408051600160a060020a039092168252519081900360200190f35b34801561035f57600080fd5b5061015e6109d5565b34801561037457600080fd5b506101f7600160a060020a0360043516610a0c565b34801561039557600080fd5b506101f7600160a060020a0360043516602435610aa7565b3480156103b957600080fd5b506102c6610b96565b3480156103ce57600080fd5b506101f7610be4565b3480156103e357600080fd5b506101f7600160a060020a0360043516602435610bed565b34801561040757600080fd5b50610220600160a060020a0360043581169060243516610c86565b34801561042e57600080fd5b506102c6610cc1565b34801561044357600080fd5b506101f7610cf8565b610220600160a060020a0360043516610492565b34801561046c57600080fd5b506102c66004351515610d19565b34801561048657600080fd5b50610220600435610d43565b6000808080600160a060020a03851615156104ac57600080fd5b60085474010000000000000000000000000000000000000000900460ff1615156001146104d857600080fd5b600854600160a060020a031692503491506104f282610d43565b905080151561050057600080fd5b600654610513908363ffffffff610dc416565b600655600754610529908263ffffffff610dc416565b6007556008546105459086908390600160a060020a0316610dda565b5060408051838152602081018390528151600160a060020a038816927fcd60aa75dea3072fbc07ae6d7d856b5dc5f4eee88854f5b4abf7b680ef8bc50f928290030190a2604051600160a060020a0384169083156108fc029084906000818181858888f193505050501580156105bf573d6000803e3d6000fd5b50949350505050565b60408051808201909152601181527f4e656f6e546f6b656e204e6574776f726b000000000000000000000000000000602082015281565b336000818152600560209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025481565b600060033660641461067957fe5b600160a060020a038416151561068e57600080fd5b600160a060020a0385166000908152600460205260409020548311156106b357600080fd5b600160a060020a03851660009081526005602090815260408083203384529091529020548311156106e357600080fd5b60035460ff1615156106f457600080fd5b600160a060020a03851660009081526004602052604090205461071d908463ffffffff610ec516565b600160a060020a038087166000908152600460205260408082209390935590861681522054610752908463ffffffff610dc416565b600160a060020a038086166000908152600460209081526040808320949094559188168152600582528281203382529091522054610796908463ffffffff610ec516565b600160a060020a03808716600081815260056020908152604080832033845282529182902094909455805187815290519288169391926000805160206111aa833981519152929181900390910190a3506001949350505050565b6729a2241af62c000081565b600881565b60065481565b600854600090600160a060020a0316331461082157600080fd5b600854604051600160a060020a0390911690303180156108fc02916000818181858888f1935050505015801561085b573d6000803e3d6000fd5b50610865306109a5565b60085490915061087e90600160a060020a031682610aa7565b50600854604080518381529051600160a060020a039092169130916000805160206111aa833981519152919081900360200190a350565b336000908152600560209081526040808320600160a060020a03861684529091528120548083111561090a57336000908152600560209081526040808320600160a060020a038816845290915281205561093f565b61091a818463ffffffff610ec516565b336000908152600560209081526040808320600160a060020a03891684529091529020555b336000818152600560209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a031660009081526004602052604090205490565b60075481565b600854600160a060020a031681565b60408051808201909152600481527f4e454f4e00000000000000000000000000000000000000000000000000000000602082015281565b600854600090600160a060020a03163314610a2657600080fd5b600160a060020a0382161515610a3b57600080fd5b600854604051600160a060020a038085169216907fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c90600090a35060088054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff199091161790556001919050565b6000600236604414610ab557fe5b600160a060020a0384161515610aca57600080fd5b33600090815260046020526040902054831115610ae657600080fd5b60035460ff161515610af757600080fd5b33600090815260046020526040902054610b17908463ffffffff610ec516565b3360009081526004602052604080822092909255600160a060020a03861681522054610b49908463ffffffff610dc416565b600160a060020a0385166000818152600460209081526040918290209390935580518681529051919233926000805160206111aa8339815191529281900390910190a35060019392505050565b600854600160a060020a03163314610bad57600080fd5b6008805474ff0000000000000000000000000000000000000000191674010000000000000000000000000000000000000000179055565b60035460ff1681565b336000908152600560209081526040808320600160a060020a0386168452909152812054610c21908363ffffffff610dc416565b336000818152600560209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6000600236604414610c9457fe5b5050600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b600854600160a060020a03163314610cd857600080fd5b6008805474ff000000000000000000000000000000000000000019169055565b60085474010000000000000000000000000000000000000000900460ff1681565b600854600160a060020a03163314610d3057600080fd5b6003805460ff1916911515919091179055565b600080610d4f83610ed7565b600854600160a060020a0316600090815260046020526040902054909150811115610dba57600754604080519182526020820183905280517f77fcbebee5e7fc6abb70669438e18dae65fc2057b32b694851724c2726a35b629281900390910190a160009150610dbe565b8091505b50919050565b600082820183811015610dd357fe5b9392505050565b6000600160a060020a0384161515610df157600080fd5b600160a060020a038216600090815260046020526040902054831115610e1657600080fd5b600160a060020a038416600090815260046020526040902054610e3f908463ffffffff610dc416565b600160a060020a038086166000908152600460205260408082209390935590841681522054610e74908463ffffffff610ec516565b600160a060020a0380841660008181526004602090815260409182902094909455805187815290519288169391926000805160206111aa833981519152929181900390910190a35060019392505050565b600082821115610ed157fe5b50900390565b600080821515610ee9575064746a5288005b8266038d7ea4c680001415610f01575065048c273950005b8266071afd498d00001415610f1957506509184e72a0005b82660aa87bee5380001415610f315750650da475abf0005b82660e35fa931a00001415610f4957506512309ce540005b826611c37937e080001415610f615750651b48eb57e0005b82661550f7dca700001415610f7957506520bde73640005b826618de76816d80001415610f915750652632e314a0005b82661c6bf5263400001415610fa95750652ba7def300005b82661ff973cafa80001415610fc1575065311cdad160005b82662386f26fc100001415610fd95750653faa252260005b8266470de4df8200001415610ff15750657f544a44c0005b82666a94d74f4300001415611009575065befe6f6720005b82668e1bc9bf0400001415611021575065fea8948980005b8266b1a2bc2ec50000141561103a575066013e52b9abe0005b8266d529ae9e8600001415611053575066017dfcdece40005b8266f8b0a10e470000141561106c57506601bda703f0a0005b8267011c37937e080000141561108657506601fd51291300005b8267013fbe85edc9000014156110a0575066023cfb4e3560005b8267016345785d8a000014156110ba57506602d79883d200005b826702c68af0bb14000014156110d457506605af3107a400005b82670429d069189e000014156110ee5750660886c98b7600005b8267058d15e17628000014156111085750660b5e620f4800005b826706f05b59d3b2000014156111225750660e35fa931a00005b82670853a0d2313c0000141561113c575066110d9316ec00005b826709b6e64a8ec60000141561115657506613e52b9abe00005b82670b1a2bc2ec500000141561117057506616bcc41e9000005b82670c7d713b49da0000141561118a5750661c110215b9c0005b82670de0b6b3a76400001415610dba57506621c0331d5dc000929150505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820d4e1ae207220bbb5bbb325afc91da98f1f25c1af299a2b15aa878b4bb506abb10029


   Swarm Source:
bzzr://d4e1ae207220bbb5bbb325afc91da98f1f25c1af299a2b15aa878b4bb506abb1
Block Age transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.