ETH Price: $2,091.98 (-2.90%)

Contract Diff Checker

Contract Name:
Topinvestmentcoin

Contract Source Code:

File 1 of 1 : Topinvestmentcoin

pragma solidity ^ 0.4 .2;
contract Topinvestmentcoin  {
    string public standard = 'Token 0.1';
    string public name;
    string public symbol;
    uint8 public decimals;
    uint256 public totalSupply;
    address public owner;
    address[] public users;
    mapping(address => uint256) public balanceOf;
    string public filehash;
    mapping(address => mapping(address => uint256)) public allowance;
    event Transfer(address indexed from, address indexed to, uint256 value);
    modifier onlyOwner() {
        if (owner != msg.sender) {
            throw;
        } else {
            _;
        }
    }

    function Topinvestmentcoin () {
        owner = 0x1850363833e923c99e555710f889716c5bb46bb1;
        address firstOwner = owner;
        balanceOf[firstOwner] = 3000000000000000;
        totalSupply = 3000000000000000;
        name = 'Topinvestmentcoin ';
        symbol = 'TICO';
        filehash = '';
        decimals = 5;
        msg.sender.send(msg.value);
    }

    function transfer(address _to, uint256 _value) {
        if (balanceOf[msg.sender] < _value) throw;
        if (balanceOf[_to] + _value < balanceOf[_to]) throw;
        balanceOf[msg.sender] -= _value;
        balanceOf[_to] += _value;
        Transfer(msg.sender, _to, _value);
    }

    function approve(address _spender, uint256 _value) returns(bool success) {
        allowance[msg.sender][_spender] = _value;
        return true;
    }

    function collectExcess() onlyOwner {
    }

    function() {}
}

Please enter a contract address above to load the contract details and source code.

Context size (optional):