0

This question already has an answer here:

What does view mean in this example? I have never seen this keyword before.

function symbol() view returns (string symbol)

marked as duplicate by Eli Drion, Roman Frolov, Richard Horrocks, Achala Dissanayake, mirg Apr 5 '18 at 15:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2

view keyword means that function will not modify state of contract, i.e. not modify variables, not emit events etc.

Not the answer you're looking for? Browse other questions tagged or ask your own question.