NEW

Developer Passes are now available for Chainlink SmartCon. Get yours today.

LinkToken API reference

LinkToken

This contract implements the ChainLink Token (LINK) using the ERC677 standard.

Inherits from the ERC677 token contract and initializes with a fixed total supply and standard token details.

constructor

constructor() public

Constructor to initialize the LinkToken contract with a fixed total supply, name, and symbol.

Calls the ERC677 constructor with the name and symbol, and then mints the total supply to the contract deployer.

_onCreate

function _onCreate() internal virtual

Hook that is called when this contract is created.

Useful to override constructor behaviour in child contracts (e.g., LINK bridge tokens). The default implementation mints 10**27 tokens to the contract deployer.

Stay updated on the latest Chainlink news