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.
Events (6) keyboard_arrow_up
Functions
transferOwnership keyboard_arrow_up
renounceOwnership keyboard_arrow_up
pause keyboard_arrow_up
unpause keyboard_arrow_up
totalSupply keyboard_arrow_up
balanceOf keyboard_arrow_up
transfer keyboard_arrow_up
Modifiers help
validDestination checks for the following:
onlyWhenTransferEnabled checks for the following:
Source Code
function transfer(address _to, uint256 _value)
public
validDestination(_to)
onlyWhenTransferEnabled
returns (bool)
{
return super.transfer(_to, _value);
}
allowance keyboard_arrow_up
transferFrom keyboard_arrow_up
Modifiers help
validDestination checks for the following:
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);
}
approve keyboard_arrow_up
Source Code
function approve(
address _spender,
uint256 _value
)
public
whenNotPaused
returns (bool)
{
return super.approve(_spender, _value);
}
increaseApproval keyboard_arrow_up
Source Code
function increaseApproval(
address _spender,
uint _addedValue
)
public
whenNotPaused
returns (bool success)
{
return super.increaseApproval(_spender, _addedValue);
}
decreaseApproval keyboard_arrow_up
Source Code
function decreaseApproval(
address _spender,
uint _subtractedValue
)
public
whenNotPaused
returns (bool success)
{
return super.decreaseApproval(_spender, _subtractedValue);
}
enableTransfer keyboard_arrow_up
setCrowdsaleAddress keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Requirements help
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;
}