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

function symbol() view returns (string symbol)

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

| improve this answer | |

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