Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 3 txns
Token Tracker: Ho Chi Minh (MINH)
Misc:
Address Watch: Add To Watch List
Contract Creator: 0xcc82aa390d5467f53cb91aaa799a9a6bc898cc59at txn 0x6a309319f7abd0d7c9966a3be123c2deb144088ec193ea6b4debd4938751f332
 Latest 3 txns

TxHash Age From To Value [TxFee]
0xa452731e1a7bb75a7fa57a25a2dfe4f4f6cbb241f2d419fa11ecf023340752a439 days 17 hrs ago0xa92512a3a9391b4f1614ee53974c73715b7f0f82  IN   0x5bcb231f86da1f5c0daa38912469a0c5690619670 Ether0.00260975
0xd806b71ab4b49ff13e80f69b9a32b082912d98759ef214946bd2d328bd1de610295 days 5 hrs ago0xcc82aa390d5467f53cb91aaa799a9a6bc898cc59  IN   0x5bcb231f86da1f5c0daa38912469a0c5690619670 Ether0.001748165
0x6a309319f7abd0d7c9966a3be123c2deb144088ec193ea6b4debd4938751f332312 days 9 hrs ago0xcc82aa390d5467f53cb91aaa799a9a6bc898cc59  IN    Contract Creation0 Ether0.01688842
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: HoChiMinh
Compiler Text: v0.4.19+commit.c4cbbb05
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

// $Ho Chi Minh Token

pragma solidity ^0.4.4;


contract Token {

    function totalSupply() constant returns (uint256 supply) {}


    function balanceOf(address _owner) constant returns (uint256 balance) {}

    function transfer(address _to, uint256 _value) returns (bool success) {}

 
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {}

    function approve(address _spender, uint256 _value) returns (bool success) {}

   
    function allowance(address _owner, address _spender) 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 StandardToken is Token {

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

        if (balances[msg.sender] >= _value && balances[_to] + _value > balances[_to]) {
            balances[msg.sender] -= _value;
            balances[_to] += _value;
            Transfer(msg.sender, _to, _value);
            return true;
        } else {return false;}
    }

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

        if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && balances[_to] + _value > balances[_to]) {
            balances[_to] += _value;
            balances[_from] -= _value;
            allowed[_from][msg.sender] -= _value;
            Transfer(_from, _to, _value);
            return true;
        } else {return false;}
    }

    function balanceOf(address _owner) constant returns (uint256 balance) {
        return balances[_owner];
    }

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

    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {
      return allowed[_owner][_spender];
    }

    mapping (address => uint256) balances;
    mapping (address => mapping (address => uint256)) allowed;
    uint256 public totalSupply;
}

contract HoChiMinh is StandardToken { 


    string public name;                
    uint8 public decimals;           
    string public symbol;                
    string public version = "1.0"; 
    uint256 public unitsOneEthCanBuy;    
    uint256 public totalEthInWei;         
    address public fundsWallet;           

 
    function HoChiMinh() {
        balances[msg.sender] = 6500000000000000000000000;               
        totalSupply = 6500000000000000000000000;                        
        name = "Ho Chi Minh";                                              
        decimals = 18;                                               
        symbol = "MINH";                                            
                                            
        fundsWallet = msg.sender;                                   
                          
    }
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) {
        allowed[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);

        if (!_spender.call(bytes4(bytes32(sha3("receiveApproval(address,uint256,address,bytes)"))), msg.sender, _value, this, _extraData)) {throw;}
        return true;
    }
}

    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":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"fundsWallet","outputs":[{"name":"","type":"address"}],"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":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"unitsOneEthCanBuy","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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":"totalEthInWei","outputs":[{"name":"","type":"uint256"}],"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":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","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"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"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
606060405260408051908101604052600381527f312e3000000000000000000000000000000000000000000000000000000000006020820152600690805161004b92916020019061013f565b50341561005757600080fd5b600160a060020a033316600090815260208190526040908190206a05606db4c0340896800000908190556002558051908101604052600b81527f486f20436869204d696e68000000000000000000000000000000000000000000602082015260039080516100c992916020019061013f565b506004805460ff1916601217905560408051908101604052600481527f4d494e48000000000000000000000000000000000000000000000000000000006020820152600590805161011e92916020019061013f565b5060098054600160a060020a03191633600160a060020a03161790556101da565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061018057805160ff19168380011785556101ad565b828001600101855582156101ad579182015b828111156101ad578251825591602001919060010190610192565b506101b99291506101bd565b5090565b6101d791905b808211156101b957600081556001016101c3565b90565b61091f806101e96000396000f3006060604052600436106100b65763ffffffff60e060020a60003504166306fdde0381146100bb578063095ea7b31461014557806318160ddd1461017b5780632194f3a2146101a057806323b872dd146101cf578063313ce567146101f757806354fd4d501461022057806365f2bc2e1461023357806370a0823114610246578063933ba4131461026557806395d89b4114610278578063a9059cbb1461028b578063cae9ca51146102ad578063dd62ed3e14610312575b600080fd5b34156100c657600080fd5b6100ce610337565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561010a5780820151838201526020016100f2565b50505050905090810190601f1680156101375780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015057600080fd5b610167600160a060020a03600435166024356103d5565b604051901515815260200160405180910390f35b341561018657600080fd5b61018e610442565b60405190815260200160405180910390f35b34156101ab57600080fd5b6101b3610448565b604051600160a060020a03909116815260200160405180910390f35b34156101da57600080fd5b610167600160a060020a0360043581169060243516604435610457565b341561020257600080fd5b61020a610566565b60405160ff909116815260200160405180910390f35b341561022b57600080fd5b6100ce61056f565b341561023e57600080fd5b61018e6105da565b341561025157600080fd5b61018e600160a060020a03600435166105e0565b341561027057600080fd5b61018e6105fb565b341561028357600080fd5b6100ce610601565b341561029657600080fd5b610167600160a060020a036004351660243561066c565b34156102b857600080fd5b61016760048035600160a060020a03169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061072895505050505050565b341561031d57600080fd5b61018e600160a060020a03600435811690602435166108c8565b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103cd5780601f106103a2576101008083540402835291602001916103cd565b820191906000526020600020905b8154815290600101906020018083116103b057829003601f168201915b505050505081565b600160a060020a03338116600081815260016020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60025481565b600954600160a060020a031681565b600160a060020a0383166000908152602081905260408120548290108015906104a75750600160a060020a0380851660009081526001602090815260408083203390941683529290522054829010155b80156104cc5750600160a060020a038316600090815260208190526040902054828101115b1561055b57600160a060020a0380841660008181526020818152604080832080548801905588851680845281842080548990039055600183528184203390961684529490915290819020805486900390559091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600161055f565b5060005b9392505050565b60045460ff1681565b60068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103cd5780601f106103a2576101008083540402835291602001916103cd565b60075481565b600160a060020a031660009081526020819052604090205490565b60085481565b60058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103cd5780601f106103a2576101008083540402835291602001916103cd565b600160a060020a0333166000908152602081905260408120548290108015906106ae5750600160a060020a038316600090815260208190526040902054828101115b1561072057600160a060020a033381166000818152602081905260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600161043c565b50600061043c565b600160a060020a03338116600081815260016020908152604080832094881680845294909152808220869055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259086905190815260200160405180910390a383600160a060020a03166040517f72656365697665417070726f76616c28616464726573732c75696e743235362c81527f616464726573732c6279746573290000000000000000000000000000000000006020820152602e01604051809103902060e060020a9004338530866040518563ffffffff1660e060020a0281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a03168152602001828051906020019080838360005b83811015610869578082015183820152602001610851565b50505050905090810190601f1680156108965780820380516001836020036101000a031916815260200191505b5094505050505060006040518083038160008761646e5a03f19250505015156108be57600080fd5b5060019392505050565b600160a060020a039182166000908152600160209081526040808320939094168252919091522054905600a165627a7a72305820a2110b04a3bc6ffe1abfbe57aca1f24b4b3e4f1a1e31c1d4b26f2876d89651df0029

   Swarm Source:
bzzr://a2110b04a3bc6ffe1abfbe57aca1f24b4b3e4f1a1e31c1d4b26f2876d89651df

 

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.