Blockwell

ChainLink Token

ERC20

This contract is an ERC20 token.

Name ChainLink Token
Symbol LINK
Decimals 18
Total Supply 1,000,000,000 LINK

About link description

Chainlink (LINK) is a cryptocurrency and operates on the Ethereum platform. Chainlink has a current supply of 1,000,000,000 with 440,009,553.9174637 in circulation. The last known price of Chainlink is 15.65693459 USD and is down -0.75 over the last 24 hours. It is currently trading on 482 active market(s) with $688,968,296.27 traded over the last 24 hours. More information can be found at https://chain.link/.

Stats

Public Functions 9
Event Types 3
Code Size 9,102 bytes

Events (3) keyboard_arrow_up

Approval Event

Parameters help
owner
address help
spender
address help
value
uint256 help

Transfer Event

Parameters help
from
address help
to
address help
value
uint256 help

Transfer Event

Parameters help
from
address help
to
address help
value
uint help
data
bytes help

totalSupply Constant

uint help
UNKNOWN VALUE

name Constant

string help
ChainLink Token

decimals Constant

uint8 help
18

symbol Constant

string help
LINK

totalSupply Variable

uint256 help

allowed Variable

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

balances Variable

mapping(address => uint256) help
Internal Variable

Parameters help

Name Type
_owner
address help

Properties

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

Parameters help

Name Type
_to
address help
_value
uint256 help

Properties

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

Parameters help

Name Type
_owner
address help
_spender
address help

Properties

Visibility help public
Mutability help constant
Source Code
function allowance(address _owner, address _spender)
  constant
  returns (uint256 remaining)
{
  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

Source Code
function transferFrom(
  address _from,
  address _to,
  uint256 _value
) public validRecipient(_to) 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
  validRecipient(_spender)
  returns (bool)
{
  return super.approve(_spender, _value);
}

Parameters help

Name Type
_to
address help
_value
uint help
_data
bytes help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
function transferAndCall(
  address _to,
  uint256 _value,
  bytes _data
) public validRecipient(_to) returns (bool success) {
  return super.transferAndCall(_to, _value, _data);
}

Parameters help

Name Type
_spender
address help
_addedValue
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
function increaseApproval(address _spender, uint256 _addedValue)
  returns (bool success)
{
  allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(
    _addedValue
  );
  Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
  return true;
}

Parameters help

Name Type
_spender
address help
_subtractedValue
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
function decreaseApproval(address _spender, uint256 _subtractedValue)
  returns (bool success)
{
  uint256 oldValue = allowed[msg.sender][_spender];
  if (_subtractedValue > oldValue) {
    allowed[msg.sender][_spender] = 0;
  } else {
    allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
  }
  Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
  return true;
}

Parameters help

Name Type
_to
address help
_value
uint help

Properties

Visibility help public
Mutability help transaction

Modifiers help

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

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.

internal ERC677Token.contractFallback keyboard_arrow_up

Parameters help

Name Type
_to
address help
_value
uint help
_data
bytes help

Properties

Visibility help private
Mutability help transaction
Source Code
function contractFallback(
  address _to,
  uint256 _value,
  bytes _data
) private {
  ERC677Receiver receiver = ERC677Receiver(_to);
  receiver.onTokenTransfer(msg.sender, _value, _data);
}

internal ERC677Token.isContract keyboard_arrow_up

Parameters help

Name Type
_addr
address help

Properties

Visibility help private
Mutability help transaction
Source Code
function isContract(address _addr) private returns (bool hasCode) {
  uint256 length;
  assembly {
    length := extcodesize(_addr)
  }
  return length > 0;
}