Blockwell

NeuroChain Clausius

ERC20

This contract is an ERC20 token.

Name NeuroChain Clausius
Symbol NCC
Decimals 18
Total Supply 657,440,000 NCC

About link

NeuroChain (NCC) is a cryptocurrency token and operates on the Ethereum platform. NeuroChain has a current supply of 657,440,000 with 436,476,163.127 in circulation. The last known price of NeuroChain is $0.000912 USD and is up 3.95% over the last 24 hours. It is currently trading on 4 active market(s) with $31,347.49 traded over the last 24 hours. More information can be found at https://www.neurochaintech.io/.

Stats

Public Functions 16
Event Types 5
Code Size 11,033 bytes

Library Use

Uses SafeMath for uint.

Approval Event

Parameters help
tokenOwner
address help
spender
address help
tokens
uint help

FreezeStatusChanged Event

Parameters help
toStatus
bool help
timestamp
uint help

NeuroChainAddressSet Event

Parameters help
ethAddress
address help
neurochainAddress
string help
timestamp
uint help
isForcedChange
bool help

OwnershipTransferred Event

Parameters help
_from
address help
_to
address help

Transfer Event

Parameters help
from
address help
to
address help
tokens
uint help

Functions Expand All Collapse All

totalSupply keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help constant
Source Code
  function totalSupply() public constant returns (uint) {
    return _totalSupply;
  }

balanceOf keyboard_arrow_up

Parameters help

Name Type
tokenOwner
address help

Properties

Visibility help public
Mutability help constant
Source Code
  function balanceOf(
    address tokenOwner
  )
  public constant returns (uint balance)
  {
    return balances[tokenOwner];
  }

allowance keyboard_arrow_up

Parameters help

Name Type
tokenOwner
address help
spender
address help

Properties

Visibility help public
Mutability help constant
Source Code
  function allowance(
    address tokenOwner,
    address spender
  )
  public constant returns (uint remaining)
  {
    return allowed[tokenOwner][spender];
  }

transfer keyboard_arrow_up

Parameters help

Name Type
to
address help
tokens
uint help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
  function transfer(
    address to,
    uint tokens
  )
  public tokenTradingMustBeLive(msg.sender) returns (bool success)
  {
    balances[msg.sender] = balances[msg.sender].sub(tokens);
    balances[to] = balances[to].add(tokens);
    Transfer(msg.sender, to, tokens);
    return true;
  }

approve keyboard_arrow_up

Parameters help

Name Type
spender
address help
tokens
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
  function approve(
    address spender,
    uint tokens
  )
  public returns (bool success)
  {
    allowed[msg.sender][spender] = tokens;
    Approval(msg.sender, spender, tokens);
    return true;
  }

transferFrom keyboard_arrow_up

Parameters help

Name Type
from
address help
to
address help
tokens
uint help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
  function transferFrom(
    address from,
    address to,
    uint tokens
  )
  public tokenTradingMustBeLive(from) returns (bool success)
  {
    balances[from] = balances[from].sub(tokens);
    allowed[from][msg.sender] = allowed[from][msg.sender].sub(tokens);
    balances[to] = balances[to].add(tokens);
    Transfer(from, to, tokens);
    return true;
  }

transferOwnership keyboard_arrow_up

Parameters help

Name Type
_newOwner
address help

Properties

Visibility help public
Mutability help transaction
Source Code
    function transferOwnership(address _newOwner) public onlyOwner {
        newOwner = _newOwner;
    }

acceptOwnership keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
    function acceptOwnership() public {
        require(msg.sender == newOwner);
        OwnershipTransferred(owner, newOwner);
        owner = newOwner;
        newOwner = address(0);
    }

distributeSupply keyboard_arrow_up

Parameters help

Name Type
to
address help
tokens
uint help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
  function distributeSupply(
    address to,
    uint tokens
  )
  public onlyOwner returns (bool success)
  {
    uint tokenAmount = tokens.mul(10**uint(decimals));
    require(_circulatingSupply.add(tokenAmount) <= _totalSupply);
    _circulatingSupply = _circulatingSupply.add(tokenAmount);
    balances[to] = tokenAmount;
    return true;
  }

allowFreezeBypass keyboard_arrow_up

Parameters help

Name Type
sender
address help

Properties

Visibility help public
Mutability help transaction
Source Code
  function allowFreezeBypass(
    address sender
  )
  public onlyOwner returns (bool success)
  {
    freezeBypassing[sender] = true;
    return true;
  }

setTradingStatus keyboard_arrow_up

Parameters help

Name Type
isLive
bool help

Properties

Visibility help public
Mutability help transaction
Source Code
  function setTradingStatus(
    bool isLive
  )
  public onlyOwner
  {
    tradingLive = isLive;
    FreezeStatusChanged(tradingLive, block.timestamp);
  }

setIcoContractAddress keyboard_arrow_up

Parameters help

Name Type
contractAddress
address help

Properties

Visibility help public
Mutability help transaction
Source Code
  function setIcoContractAddress(
    address contractAddress
  )
  public onlyOwner
  {
    freezeBypassing[contractAddress] = true;
    icoContractAddress = contractAddress;
  }

setNeuroChainAddress keyboard_arrow_up

Parameters help

Name Type
neurochainAddress
string help

Properties

Visibility help public
Mutability help transaction
Source Code
  function setNeuroChainAddress(
    string neurochainAddress
  )
  public
  {
    neuroChainAddresses[msg.sender] = neurochainAddress;
    NeuroChainAddressSet(
      msg.sender,
      neurochainAddress,
      block.timestamp,
      false
    );
  }

forceNeuroChainAddress keyboard_arrow_up

Parameters help

Name Type
ethAddress
address help
neurochainAddress
string help

Properties

Visibility help public
Mutability help transaction
Source Code
  function forceNeuroChainAddress(
    address ethAddress,
    string neurochainAddress
  )
  public onlyIcoContract
  {
    neuroChainAddresses[ethAddress] = neurochainAddress;
    NeuroChainAddressSet(
      ethAddress,
      neurochainAddress,
      block.timestamp,
      true
    );
  }

approveAndCall keyboard_arrow_up

Parameters help

Name Type
spender
address help
tokens
uint help
data
bytes help

Properties

Visibility help public
Mutability help transaction
Source Code
  function approveAndCall(
    address spender,
    uint tokens,
    bytes data
  )
  public returns (bool success)
  {
    allowed[msg.sender][spender] = tokens;
    Approval(msg.sender, spender, tokens);
    ApproveAndCallFallBack(spender).receiveApproval(msg.sender, tokens, this, data);
    return true;
  }

transferAnyERC20Token keyboard_arrow_up

Parameters help

Name Type
tokenAddress
address help
tokens
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
  function transferAnyERC20Token(
    address tokenAddress,
    uint tokens
  )
  public onlyOwner returns (bool success)
  {
    return ERC20Interface(tokenAddress).transfer(owner, tokens);
  }