Skip to main content

GenericERC20FixedSupply

Git Source Inherits: ERC20Capped This is an example implementation to facilitate testing During deployment _tokenName and _tokenSymbol are set in constructor

Functions

constructor

The total supply of the token is minted to the deployer at construction time. Constructor sets params
constructor(string memory _name, string memory _symbol, uint256 _supply) ERC20(_name, _symbol) ERC20Capped(_supply);
Parameters
NameTypeDescription
_namestringName of the token
_symbolstringSymbol of the token
_supplyuint256The total supply of the token.