Blockwell

QuarkChain Token

ERC20

This contract is an ERC20 token.

Name QuarkChain Token
Symbol QKC
Decimals 18
Total Supply 10,000,000,000 QKC

About link description

QuarkChain (QKC) is a cryptocurrency and operates on the Ethereum platform. QuarkChain has a current supply of 10,000,000,000 with 6,399,906,497 in circulation. The last known price of QuarkChain is 0.01511471 USD and is down -4.67 over the last 24 hours. It is currently trading on 26 active market(s) with $7,691,584.78 traded over the last 24 hours. More information can be found at https://quarkchain.io/.

Stats

Public Functions 15
Event Types 6
Code Size 12,425 bytes

Library Use

Uses SafeMath for uint256.

Events (6) keyboard_arrow_up

Approval Event

Parameters help
owner
address help
spender
address help
value
uint256 help

OwnershipRenounced Event

Parameters help
previousOwner
address help

OwnershipTransferred Event

Parameters help
previousOwner
address help
newOwner
address help

Pause Event

Parameters help

Transfer Event

Parameters help
from
address help
to
address help
value
uint256 help

Unpause Event

Parameters help

INITIAL_SUPPLY Constant

uint help
1e28

transferable Variable

bool help

privateSaleWallet Variable

address help

crowdsaleAddress Variable

address help

name Variable

string help

symbol Variable

string help

decimals Variable

uint8 help

paused Variable

bool help

owner Variable

address help

allowed Variable

mapping(address => mapping(address => uint256)) help
Internal Variable

balances Variable

mapping(address => uint256) help
Internal Variable

totalSupply_ Variable

uint256 help
Internal Variable

Functions Expand All Collapse All

transferOwnership keyboard_arrow_up

Parameters help

Name Type
newOwner
address help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function transferOwnership(address newOwner) public onlyOwner {
  require(newOwner != address(0));
  emit OwnershipTransferred(owner, newOwner);
  owner = newOwner;
}

renounceOwnership keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function renounceOwnership() public onlyOwner {
  emit OwnershipRenounced(owner);
  owner = address(0);
}

pause keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function pause() public onlyOwner whenNotPaused {
  paused = true;
  emit Pause();
}

unpause keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function unpause() public onlyOwner whenPaused {
  paused = false;
  emit Unpause();
}

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view
Source Code
function totalSupply() public view returns (uint256) {
  return totalSupply_;
}

Parameters help

Name Type
_owner
address help

Properties

Visibility help public
Mutability help view
Source Code
function balanceOf(address _owner) public view returns (uint256) {
  return balances[_owner];
}

Parameters help

Name Type
_to
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyWhenTransferEnabled checks for the following:
Source Code
function transfer(address _to, uint256 _value)
  public
  validDestination(_to)
  onlyWhenTransferEnabled
  returns (bool)
{
  return super.transfer(_to, _value);
}

Parameters help

Name Type
_owner
address help
_spender
address help

Properties

Visibility help public
Mutability help view
Source Code
function allowance(address _owner, address _spender)
  public
  view
  returns (uint256)
{
  return allowed[_owner][_spender];
}

Parameters help

Name Type
_from
address help
_to
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyWhenTransferEnabled checks for the following:
Source Code
function transferFrom(
  address _from,
  address _to,
  uint256 _value
) public validDestination(_to) onlyWhenTransferEnabled returns (bool) {
  return super.transferFrom(_from, _to, _value);
}

Parameters help

Name Type
_spender
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
function approve(address _spender, uint256 _value)
  public
  whenNotPaused
  returns (bool)
{
  return super.approve(_spender, _value);
}

increaseApproval keyboard_arrow_up

Parameters help

Name Type
_spender
address help
_addedValue
uint help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
function increaseApproval(address _spender, uint256 _addedValue)
  public
  whenNotPaused
  returns (bool success)
{
  return super.increaseApproval(_spender, _addedValue);
}

decreaseApproval keyboard_arrow_up

Parameters help

Name Type
_spender
address help
_subtractedValue
uint help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
function decreaseApproval(address _spender, uint256 _subtractedValue)
  public
  whenNotPaused
  returns (bool success)
{
  return super.decreaseApproval(_spender, _subtractedValue);
}

enableTransfer keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function enableTransfer() external onlyOwner {
  transferable = true;
}

setCrowdsaleAddress keyboard_arrow_up

Parameters help

Name Type
_crowdsaleAddress
address help

Properties

Visibility help public
Mutability help transaction
Source Code
function setCrowdsaleAddress(address _crowdsaleAddress) external onlyOwner {
  // Can only set one time.
  require(crowdsaleAddress == 0x0);
  require(_crowdsaleAddress != 0x0);
  crowdsaleAddress = _crowdsaleAddress;
  balances[crowdsaleAddress] = INITIAL_SUPPLY;
}

setPrivateSaleAddress keyboard_arrow_up

Parameters help

Name Type
_privateSaleWallet
address help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function setPrivateSaleAddress(address _privateSaleWallet) external onlyOwner {
  // Can only set one time.
  require(privateSaleWallet == 0x0);
  privateSaleWallet = _privateSaleWallet;
}

Internal Functions Expand All Collapse All

Internal functions are parts of the contract that can't be used directly, but instead are used by the public functions listed above.