ETH Price: $2,509.50 (-5.16%)

Token

HumanX (HMX)
 

Overview

Max Total Supply

2,100,000,000 HMX

Holders

8,365 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
47,700 HMX

Value
$0.00
0x432a294aba44c5eb843652648b28ff97e1ae9f5b
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
HumanX

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.23;

contract HumanXToken {

    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 HumanXToken {

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

        if (balances[msg.sender] >= _value && _value > 0) {
            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 && _value > 0) {
            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 HumanX is StandardToken {
    
    string public name;                   
    uint8 public decimals;              
    string public symbol;                 
    string public version = '1.0';
    uint256 public unitsBuy;     
    uint256 public totalEthInWei;        
    address public fundsWallet;         

    function HumanX() {
        balances[msg.sender] = 2100000000000000000000000000;     
        totalSupply = 2100000000000000000000000000;    
        name = "HumanX";                                 
        decimals = 18;                                           
        symbol = "HMX";                                             
        unitsBuy = 75000;                                      
        fundsWallet = msg.sender;                                  
    }

    function() public payable{
        totalEthInWei = totalEthInWei + msg.value;
        uint256 amount = msg.value * unitsBuy;
        require(balances[fundsWallet] >= amount);
        balances[fundsWallet] = balances[fundsWallet] - amount;
        balances[msg.sender] = balances[msg.sender] + amount;
        Transfer(fundsWallet, msg.sender, amount);
        fundsWallet.transfer(msg.value);                             
    }

    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;
    }
    function MultiTransfer(address[] addrs, uint256 amount) public {
    for (uint256 i = 0; i < addrs.length; i++) {
      transfer(addrs[i], amount);
    }
    
  }
  
}

Contract Security Audit

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":"_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":"addrs","type":"address[]"},{"name":"amount","type":"uint256"}],"name":"MultiTransfer","outputs":[],"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":"unitsBuy","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"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"}]

60c0604052600360808190527f312e30000000000000000000000000000000000000000000000000000000000060a090815261003e9160069190610123565b5034801561004b57600080fd5b5033600090815260208181526040918290206b06c9144c1c690d4cb400000090819055600255815180830190925260068083527f48756d616e580000000000000000000000000000000000000000000000000000929091019182526100b291600391610123565b506004805460ff191660121790556040805180820190915260038082527f484d580000000000000000000000000000000000000000000000000000000000602090920191825261010491600591610123565b50620124f860075560098054600160a060020a031916331790556101be565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061016457805160ff1916838001178555610191565b82800160010185558215610191579182015b82811115610191578251825591602001919060010190610176565b5061019d9291506101a1565b5090565b6101bb91905b8082111561019d57600081556001016101a7565b90565b610a32806101cd6000396000f3006080604052600436106100c15763ffffffff60e060020a60003504166306fdde0381146101a2578063095ea7b31461022c57806318160ddd146102645780632194f3a21461028b57806323b872dd146102bc578063313ce567146102e657806354fd4d501461031157806370a0823114610326578063933ba4131461034757806395d89b411461035c578063a9059cbb14610371578063b903a2a514610395578063cae9ca51146103ee578063ce69f42b14610457578063dd62ed3e1461046c575b6008805434908101909155600754600954600160a060020a03166000908152602081905260409020549102908111156100f957600080fd5b60098054600160a060020a0390811660009081526020818152604080832080548790039055338084529281902080548701905593548451868152945192949316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3600954604051600160a060020a03909116903480156108fc02916000818181858888f1935050505015801561019e573d6000803e3d6000fd5b5050005b3480156101ae57600080fd5b506101b7610493565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101f15781810151838201526020016101d9565b50505050905090810190601f16801561021e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561023857600080fd5b50610250600160a060020a0360043516602435610521565b604080519115158252519081900360200190f35b34801561027057600080fd5b50610279610588565b60408051918252519081900360200190f35b34801561029757600080fd5b506102a061058e565b60408051600160a060020a039092168252519081900360200190f35b3480156102c857600080fd5b50610250600160a060020a036004358116906024351660443561059d565b3480156102f257600080fd5b506102fb610688565b6040805160ff9092168252519081900360200190f35b34801561031d57600080fd5b506101b7610691565b34801561033257600080fd5b50610279600160a060020a03600435166106ec565b34801561035357600080fd5b50610279610707565b34801561036857600080fd5b506101b761070d565b34801561037d57600080fd5b50610250600160a060020a0360043516602435610768565b3480156103a157600080fd5b50604080516020600480358082013583810280860185019096528085526103ec9536959394602494938501929182918501908490808284375094975050933594506107ff9350505050565b005b3480156103fa57600080fd5b50604080516020600460443581810135601f8101849004840285018401909552848452610250948235600160a060020a031694602480359536959460649492019190819084018382808284375094975061083a9650505050505050565b34801561046357600080fd5b506102796109d5565b34801561047857600080fd5b50610279600160a060020a03600435811690602435166109db565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105195780601f106104ee57610100808354040283529160200191610519565b820191906000526020600020905b8154815290600101906020018083116104fc57829003601f168201915b505050505081565b336000818152600160209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60025481565b600954600160a060020a031681565b600160a060020a03831660009081526020819052604081205482118015906105e85750600160a060020a03841660009081526001602090815260408083203384529091529020548211155b80156105f45750600082115b1561067d57600160a060020a0380841660008181526020818152604080832080548801905593881680835284832080548890039055600182528483203384528252918490208054879003905583518681529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3506001610681565b5060005b9392505050565b60045460ff1681565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105195780601f106104ee57610100808354040283529160200191610519565b600160a060020a031660009081526020819052604090205490565b60085481565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105195780601f106104ee57610100808354040283529160200191610519565b3360009081526020819052604081205482118015906107875750600082115b156107f7573360008181526020818152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3506001610582565b506000610582565b60005b82518110156108355761082c838281518110151561081c57fe5b9060200190602002015183610768565b50600101610802565b505050565b336000818152600160209081526040808320600160a060020a038816808552908352818420879055815187815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a383600160a060020a031660405180807f72656365697665417070726f76616c28616464726573732c75696e743235362c81526020017f616464726573732c627974657329000000000000000000000000000000000000815250602e019050604051809103902060e060020a9004338530866040518563ffffffff1660e060020a0281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a03168152602001828051906020019080838360005b8381101561097a578181015183820152602001610962565b50505050905090810190601f1680156109a75780820380516001836020036101000a031916815260200191505b509450505050506000604051808303816000875af19250505015156109cb57600080fd5b5060019392505050565b60075481565b600160a060020a039182166000908152600160209081526040808320939094168252919091522054905600a165627a7a72305820c9ffda80e07adf11f081e3824ff385c58395e05ca3656610f689d4421da6755a0029

Deployed Bytecode

0x6080604052600436106100c15763ffffffff60e060020a60003504166306fdde0381146101a2578063095ea7b31461022c57806318160ddd146102645780632194f3a21461028b57806323b872dd146102bc578063313ce567146102e657806354fd4d501461031157806370a0823114610326578063933ba4131461034757806395d89b411461035c578063a9059cbb14610371578063b903a2a514610395578063cae9ca51146103ee578063ce69f42b14610457578063dd62ed3e1461046c575b6008805434908101909155600754600954600160a060020a03166000908152602081905260409020549102908111156100f957600080fd5b60098054600160a060020a0390811660009081526020818152604080832080548790039055338084529281902080548701905593548451868152945192949316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3600954604051600160a060020a03909116903480156108fc02916000818181858888f1935050505015801561019e573d6000803e3d6000fd5b5050005b3480156101ae57600080fd5b506101b7610493565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101f15781810151838201526020016101d9565b50505050905090810190601f16801561021e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561023857600080fd5b50610250600160a060020a0360043516602435610521565b604080519115158252519081900360200190f35b34801561027057600080fd5b50610279610588565b60408051918252519081900360200190f35b34801561029757600080fd5b506102a061058e565b60408051600160a060020a039092168252519081900360200190f35b3480156102c857600080fd5b50610250600160a060020a036004358116906024351660443561059d565b3480156102f257600080fd5b506102fb610688565b6040805160ff9092168252519081900360200190f35b34801561031d57600080fd5b506101b7610691565b34801561033257600080fd5b50610279600160a060020a03600435166106ec565b34801561035357600080fd5b50610279610707565b34801561036857600080fd5b506101b761070d565b34801561037d57600080fd5b50610250600160a060020a0360043516602435610768565b3480156103a157600080fd5b50604080516020600480358082013583810280860185019096528085526103ec9536959394602494938501929182918501908490808284375094975050933594506107ff9350505050565b005b3480156103fa57600080fd5b50604080516020600460443581810135601f8101849004840285018401909552848452610250948235600160a060020a031694602480359536959460649492019190819084018382808284375094975061083a9650505050505050565b34801561046357600080fd5b506102796109d5565b34801561047857600080fd5b50610279600160a060020a03600435811690602435166109db565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105195780601f106104ee57610100808354040283529160200191610519565b820191906000526020600020905b8154815290600101906020018083116104fc57829003601f168201915b505050505081565b336000818152600160209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60025481565b600954600160a060020a031681565b600160a060020a03831660009081526020819052604081205482118015906105e85750600160a060020a03841660009081526001602090815260408083203384529091529020548211155b80156105f45750600082115b1561067d57600160a060020a0380841660008181526020818152604080832080548801905593881680835284832080548890039055600182528483203384528252918490208054879003905583518681529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3506001610681565b5060005b9392505050565b60045460ff1681565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105195780601f106104ee57610100808354040283529160200191610519565b600160a060020a031660009081526020819052604090205490565b60085481565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105195780601f106104ee57610100808354040283529160200191610519565b3360009081526020819052604081205482118015906107875750600082115b156107f7573360008181526020818152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3506001610582565b506000610582565b60005b82518110156108355761082c838281518110151561081c57fe5b9060200190602002015183610768565b50600101610802565b505050565b336000818152600160209081526040808320600160a060020a038816808552908352818420879055815187815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a383600160a060020a031660405180807f72656365697665417070726f76616c28616464726573732c75696e743235362c81526020017f616464726573732c627974657329000000000000000000000000000000000000815250602e019050604051809103902060e060020a9004338530866040518563ffffffff1660e060020a0281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a03168152602001828051906020019080838360005b8381101561097a578181015183820152602001610962565b50505050905090810190601f1680156109a75780820380516001836020036101000a031916815260200191505b509450505050506000604051808303816000875af19250505015156109cb57600080fd5b5060019392505050565b60075481565b600160a060020a039182166000908152600160209081526040808320939094168252919091522054905600a165627a7a72305820c9ffda80e07adf11f081e3824ff385c58395e05ca3656610f689d4421da6755a0029

Swarm Source

bzzr://c9ffda80e07adf11f081e3824ff385c58395e05ca3656610f689d4421da6755a
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.