Blockwell

KAN

ERC20

This contract is an ERC20 token.

Name KAN
Symbol KAN
Decimals 18
Total Supply 10,000,000,000 KAN

About link

BitKan (KAN) is a cryptocurrency and operates on the Ethereum platform. BitKan has a current supply of 10,000,000,000 with 8,982,145,697.509794 in circulation. The last known price of BitKan is 0.00220245 USD and is down -5.25 over the last 24 hours. It is currently trading on 19 active market(s) with $728,941.36 traded over the last 24 hours. More information can be found at https://bitkan.com/.

Stats

Public Functions 16
Event Types 8
Code Size 13,404 bytes

Events (8) keyboard_arrow_up

Approval Event

Parameters help
owner
address help
spender
address help
value
uint256 help

Fund Event

Parameters help
funder
address help
value
uint256 help

OwnershipTransferred Event

Parameters help
previousOwner
address help
newOwner
address help

Pause Event

Parameters help

ReleaseFund Event

Parameters help
funder
address help
value
uint256 help

ReleaseTeam Event

Parameters help
team
address help
value
uint256 help

Transfer Event

Parameters help
from
address help
to
address help
value
uint256 help

Unpause Event

Parameters help

name Variable

string help

symbol Variable

string help

decimals Variable

uint8 help

INITIAL_SUPPLY Variable

uint256 help

paused Variable

bool help

owner Variable

address help

freezedBalances Variable

mapping(address => uint256) help
Internal Variable

fundings Variable

mapping(address => uint256) help
Internal Variable

fundingBalance Variable

uint256 help
Internal Variable

launch Variable

address help
Internal Variable

teamBalance Variable

uint256 help
Internal Variable

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));
  OwnershipTransferred(owner, newOwner);
  owner = newOwner;
}

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;
  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;
  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 balance) {
  return balances[_owner];
}

Parameters help

Name Type
_to
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function transfer(address _to, uint256 _value) public returns (bool) {
  require(_value <= balances[msg.sender] - freezedBalances[msg.sender]);
  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

Requirements help

Source Code
function transferFrom(
  address _from,
  address _to,
  uint256 _value
) public returns (bool) {
  require(_value <= balances[_from] - freezedBalances[_from]);
  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);
}

releaseTeam keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function releaseTeam() public onlyOwner returns (bool) {
  require(teamBalance > 0);
  uint256 amount = INITIAL_SUPPLY.mul(4).div(100); // 20% * 20%
  teamBalance = teamBalance.sub(amount);
  balances[owner] = balances[owner].add(amount);
  ReleaseTeam(owner, amount);
  return true;
}

fund keyboard_arrow_up

Parameters help

Name Type
_funder
address help
_amount
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function fund(address _funder, uint256 _amount)
  public
  onlyOwner
  returns (bool)
{
  require(_funder != address(0));
  require(fundingBalance >= _amount);
  fundingBalance = fundingBalance.sub(_amount);
  balances[_funder] = balances[_funder].add(_amount);
  freezedBalances[_funder] = freezedBalances[_funder].add(_amount);
  fundings[_funder] = fundings[_funder].add(_amount);
  Fund(_funder, _amount);
  return true;
}

releaseFund keyboard_arrow_up

Parameters help

Name Type
_funder
address help

Properties

Visibility help public
Mutability help transaction
Source Code
function releaseFund(address _funder) public onlyOwner returns (bool) {
  require(freezedBalances[_funder] > 0);
  uint256 fundReleaseRate = freezedBalances[_funder] == fundings[_funder]
    ? 25
    : 15;
  uint256 released = fundings[_funder].mul(fundReleaseRate).div(100);
  freezedBalances[_funder] = released < freezedBalances[_funder]
    ? freezedBalances[_funder].sub(released)
    : 0;
  ReleaseFund(_funder, released);
  return true;
}

freezedBalanceOf keyboard_arrow_up

Parameters help

Name Type
_owner
address help

Properties

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

burn keyboard_arrow_up

Parameters help

Name Type
_value
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function burn(uint256 _value) public onlyOwner returns (bool) {
  balances[msg.sender] = balances[msg.sender].sub(_value);
  balances[address(0)] = balances[address(0)].add(_value);
  Transfer(msg.sender, address(0), _value);
  return true;
}

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.