LINK

Ethereum ERC-20 Token

0x514910771af9ca656af840dff83e8264ecf986ca

Solidity v0.4.16+commit.d7661dd9

Fungible token following the ERC-20 standard.

🤖
透過你的 AI 查詢此合約
參考: link-eth 0x514910771af9ca656af840dff83e8264ecf986ca
範例提示詞: "Tell me the current state of link-eth"
還沒有接入 AI?→ mcp.smarts.md

管理與風險

誰能修改規則?

No admin risk controls detected from the verified ABI.

概覽

讀取函式
6
寫入函式
6
事件
2

讀取函式

Block #25,177,559 · 1s ago
name() view → ChainLink Token

Returns the token's name.✨ AI

回傳值

名稱 類型 描述
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

回傳值

名稱 類型 描述
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

回傳值

名稱 類型 描述
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

開發者: Gets the balance of the specified address.

參數

名稱 類型 描述
_owner address The address to query the the balance of.

回傳值

名稱 類型 描述
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

回傳值

名稱 類型 描述
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

開發者: Function to check the amount of tokens that an owner allowed to a spender.

參數

名稱 類型 描述
_owner address address The address which owns the funds.
_spender address address The address which will spend the funds.

回傳值

名稱 類型 描述
remaining uint256 A uint256 specifying the amount of tokens still available for the spender.

寫入函式

approve(_spender: address, _value: uint256) nonpayable

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

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

參數

名稱 類型 描述
_spender address The address which will spend the funds.
_value uint256 The amount of tokens to be spent.

回傳值

名稱 類型 描述
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

開發者: Transfer tokens from one address to another

參數

名稱 類型 描述
_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

回傳值

名稱 類型 描述
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

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

參數

名稱 類型 描述
_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.

回傳值

名稱 類型 描述
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

參數

名稱 類型 描述
_spender address Spender address whose allowance will be decreased.✨ AI
_subtractedValue uint256 Amount to subtract from the spender's allowance.✨ AI

回傳值

名稱 類型 描述
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

開發者: transfer token for a specified address

參數

名稱 類型 描述
_to address The address to transfer to.
_value uint256 The amount to be transferred.

回傳值

名稱 類型 描述
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

參數

名稱 類型 描述
_spender address Address allowed to spend the caller's tokens.✨ AI
_addedValue uint256 Amount to add to the current allowance for the spender.✨ AI

回傳值

名稱 類型 描述
success bool success: True if the allowance was increased successfully.✨ AI

事件

Transfer(from: address, to: address, value: uint256, data: bytes)
名稱 類型 已索引 描述
from address
to address
value uint256
data bytes
Approval(owner: address, spender: address, value: uint256)
名稱 類型 已索引 描述
owner address
spender address
value uint256