API Version: v0.2.8 Not using latest version (v0.3.1)

LinkToken v0.2.8 API Reference

LinkToken

LINK token implementation.

LinkToken

Functions

_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.

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.

Get the latest Chainlink content straight to your inbox.