LINK

Ethereum ERC-20 Token

0x514910771af9ca656af840dff83e8264ecf986ca

Solidity v0.4.16+commit.d7661dd9

Fungible token following the ERC-20 standard.

🤖
Query this contract from your AI
Reference: link-eth 0x514910771af9ca656af840dff83e8264ecf986ca
Sample prompt: “Tell me the current state of link-eth”
No AI wired up yet? → mcp.smarts.md

Admin & Risk

Who can change the rules?

No admin risk controls detected from the verified ABI.

Overview

Read Functions
6
Write Functions
6
Events
2

Read Functions

Block #25,169,801 · just now
name() view → ChainLink Token

Returns the token's name.✨ AI

Returns

Name Type Description
string The token name as a string.✨ AI
totalSupply() view → 1,000,000,000 LINK

Returns the total number of LINK tokens in existence.✨ AI

Returns

Name Type Description
uint256 Total token supply as a uint256, expressed in the token's smallest indivisible units.✨ AI
decimals() view → 18

Returns the number of decimal places used to display token balances.✨ AI

Returns

Name Type Description
uint8 The token's decimals (number of decimal places) as a uint8.✨ AI
balanceOf(_owner: address) view

Returns the token balance of the specified address.✨ AI

dev: Gets the balance of the specified address.

Parameters

Name Type Description
_owner address The address to query the the balance of.

Returns

Name Type Description
balance uint256 An uint256 representing the amount owned by the passed address.
symbol() view → LINK

Returns the token's short symbol used to identify the token in user interfaces.✨ AI

Returns

Name Type Description
string The token symbol string (for example "LINK"), suitable for display in wallets and explorers.✨ AI
allowance(_owner: address, _spender: address) view

Returns the remaining number of tokens that _spender is allowed to transfer from _owner.✨ AI

dev: Function to check the amount of tokens that an owner allowed to a spender.

Parameters

Name Type Description
_owner address address The address which owns the funds.
_spender address address The address which will spend the funds.

Returns

Name Type Description
remaining uint256 A uint256 specifying the amount of tokens still available for the spender.

Write Functions

approve(_spender: address, _value: uint256) nonpayable

Approve a spender to transfer up to a specified number of tokens from your account.✨ AI

dev: Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.

Parameters

Name Type Description
_spender address The address which will spend the funds.
_value uint256 The amount of tokens to be spent.

Returns

Name Type Description
bool True if the approval was successful.✨ AI
transferFrom(_from: address, _to: address, _value: uint256) nonpayable

Transfer tokens from one address to another using the caller's approved allowance.✨ AI

dev: Transfer tokens from one address to another

Parameters

Name Type Description
_from address address The address which you want to send tokens from
_to address address The address which you want to transfer to
_value uint256 uint256 the amount of tokens to be transferred

Returns

Name Type Description
bool True if the transfer succeeded.✨ AI
transferAndCall(_to: address, _value: uint256, _data: bytes) nonpayable

Transfer LINK tokens to an address and invoke the recipient contract with the provided data.✨ AI

dev: transfer token to a contract address with additional data if the recipient is a contact.

Parameters

Name Type Description
_to address The address to transfer to.
_value uint256 The amount to be transferred.
_data bytes The extra data to be passed to the receiving contract.

Returns

Name Type Description
success bool success: True if the token transfer and subsequent call to the recipient succeeded.✨ AI
decreaseApproval(_spender: address, _subtractedValue: uint256) nonpayable

Decrease the caller's allowance for a spender by a specified value, preventing negative allowances.✨ AI

Parameters

Name Type Description
_spender address Spender address whose allowance will be decreased.✨ AI
_subtractedValue uint256 Amount to subtract from the spender's allowance.✨ AI

Returns

Name Type Description
success bool True if the allowance was decreased successfully.✨ AI
transfer(_to: address, _value: uint256) nonpayable

Transfer tokens from the caller to the specified recipient address.✨ AI

dev: transfer token for a specified address

Parameters

Name Type Description
_to address The address to transfer to.
_value uint256 The amount to be transferred.

Returns

Name Type Description
success bool True if the transfer succeeded, otherwise false.✨ AI
increaseApproval(_spender: address, _addedValue: uint256) nonpayable

Increase the caller's allowance for a spender by a specified amount.✨ AI

Parameters

Name Type Description
_spender address Address allowed to spend the caller's tokens.✨ AI
_addedValue uint256 Amount to add to the current allowance for the spender.✨ AI

Returns

Name Type Description
success bool success: True if the allowance was increased successfully.✨ AI

Events

Transfer(from: address, to: address, value: uint256, data: bytes)
Name Type Indexed Description
from address
to address
value uint256
data bytes
Approval(owner: address, spender: address, value: uint256)
Name Type Indexed Description
owner address
spender address
value uint256