August 2019
Intermediate to advanced
486 pages
13h 52m
English
The symbol() function should return the token's symbol, for example, TKN. The symbol() function is defined in the contract as follows or using the public state variable:
function symbol() public view returns (string)
The function's visibility can be public or external. It must be a view function and should not be allowed to modify the state. The function must return a string type value.