This contract simulates a generic ERC20 token that is mintable and burnable.
Function constructor(string name_, string symbol_, uint8 decimals_)
{#GenericERC20-constructor-string-string-uint8-}
Deploy this contract with given name, symbol, and decimals
the caller of this constructor will become the owner of this contract
-
name_
: name of this token -
symbol_
: symbol of this token -
decimals_
: number of decimals this token will be based on
Mints given amount of tokens to recipient
only owner can call this mint function
-
recipient
: address of account to receive the tokens -
amount
: amount of tokens to mint