TwentyTwoDecimalERC20
Git Source Inherits: ERC20 This is an example implementation to facilitate testing During deployment _tokenName and _tokenSymbol are set in constructorFunctions
constructor
Constructor sets params| Name | Type | Description |
|---|---|---|
_name | string | Name of the token |
_symbol | string | Symbol of the token |
mint
Function that mints new tokens. Allows for free and open minting of tokens.| Name | Type | Description |
|---|---|---|
to | address | recipient address |
amount | uint256 | number of tokens to mint |