Sushi Token Smart Contract

Address

Init function

function initToken(
      string memory _name,
      string memory _symbol,
      address _owner,
      uint256 _initialSupply
)
      public override

Parameter

Description

_name

Token name.

_symbol

Token symbol.

_owner

Contract owner.

_initialSupply

Amount of tokens minted on creation.

Initializes ERC20 token with name and symbol, gives admin privileges and mints token supply to callers address.

Last updated