ERC20
This contract is an ERC20 token.
Name
Humaniq
Symbol
HMQ
Decimals
8
Total Supply
207,143,695 HMQ
About
link
description
Humaniq (HMQ) is a cryptocurrency token and operates on the Ethereum platform. Humaniq has a current supply of 207,143,695.036 with 185,811,695.036 in circulation. The last known price of Humaniq is $0.006120 USD and is up 5.01% over the last 24 hours. It is currently trading on 12 active market(s) with $105,915.413 traded over the last 24 hours. More information can be found at https://humaniq.com/.
Stats
Public Functions
10
Event Types
3
Code Size
8,981 bytes
Events (3) keyboard_arrow_up
Functions
totalSupply keyboard_arrow_up
balanceOf keyboard_arrow_up
transfer keyboard_arrow_up
Source Code
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;
}
}
transferFrom keyboard_arrow_up
Source Code
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;
}
}
approve keyboard_arrow_up
Source Code
function approve(address _spender, uint256 _value) returns (bool success) {
allowed[msg.sender][_spender] = _value;
Approval(msg.sender, _spender, _value);
return true;
}
allowance keyboard_arrow_up
issueTokens keyboard_arrow_up
Modifiers help
onlyMinter checks for the following:
Requirements help
maxTotalSupply
must be greater than or equal to
the result of calling add with totalSupply, tokenCount
Source Code
function issueTokens(address _for, uint tokenCount)
external
payable
onlyMinter
returns (bool)
{
if (tokenCount == 0) {
return false;
}
if (add(totalSupply, tokenCount) > maxTotalSupply) {
throw;
}
totalSupply = add(totalSupply, tokenCount);
balances[_for] = add(balances[_for], tokenCount);
Issuance(_for, tokenCount);
return true;
}
changeMinter keyboard_arrow_up
Modifiers help
onlyFounder checks for the following:
Source Code
function changeMinter(address newAddress)
public
onlyFounder
returns (bool)
{
// Forbid previous emission contract to distribute tokens minted during ICO stage
delete allowed[allocationAddressICO][minter];
minter = newAddress;
// Allow emission contract to distribute tokens minted during ICO stage
allowed[allocationAddressICO][minter] = balanceOf(allocationAddressICO);
}
changeFounder keyboard_arrow_up
Modifiers help
onlyFounder checks for the following:
Source Code
function changeFounder(address newAddress)
public
onlyFounder
returns (bool)
{
founder = newAddress;
}
changeMultisig keyboard_arrow_up
Modifiers help
onlyFounder checks for the following:
Source Code
function changeMultisig(address newAddress)
public
onlyFounder
returns (bool)
{
multisig = newAddress;
}