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

The QuarkChain Network is a permissionless blockchain architecture that aims to meet global commercial standards. It aims to provide a secure, decentralized, and scalable blockchain solution to deliver 100,000+ on-chain TPS. The main features of the QuarkChain Network are: - Flexibility: QuarkChain is a public chain that can support multiple consensuses, multiple transaction models ( including virtual machines VMs), ledger, and token economics in one network. It can reportedly adapt to blockchain innovations by customizing consensus, transaction model (including VM), ledger, and token economics in each shard so that to satisfy different requirements of different industries/enterprises/DApps. The network supports two consensus algorithms, PoW and PoSW ( a combination of PoS+ PoW). More consensus algorithms (DPoS, PoS and etc) will be added into different shards in the future. It is EVM-compatible - every DApp deployed on Ethereum can be deployed in QuarkChain. The team plans to add more virtual machines (e.g. EOS VM) in different shards so that developers have more choices. - Scalability: QuarkChain aims to deliver 100,000+ on-chain TPS. Currently, 55000+ peak TPS has already been achieved in TPS competition held within the community - Decentralization: QuarkChain has a two-layered structure and encourages individual miners with different levels of capability to mine directly without joining mining pools. People can choose to mine either in the root chain or in the shard. - Great Usability: QuarkChain supports Native token which enables each shard to have its own tokeneconomics. It also supports scalable cross-shard transactions. Only one account is required to access entire resources in all shards, and smart wallets simplify the management.

Stats

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

Library Use

Uses SafeMath for uint256.

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

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() onlyOwner whenNotPaused public {
    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() onlyOwner whenPaused public {
    paused = false;
    emit Unpause();
  }

totalSupply keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

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

balanceOf keyboard_arrow_up

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];
  }

transfer keyboard_arrow_up

Parameters help

Name Type
_to
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

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

allowance keyboard_arrow_up

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];
  }

transferFrom keyboard_arrow_up

Parameters help

Name Type
_from
address help
_to
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

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

approve keyboard_arrow_up

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,
    uint _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,
    uint _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;
    }