With a constant, view, pure modified function, respectively:
- constant: can only be read immutable state variables (variables is defined in the contract)
- view: can only be read immutable state variables, and constant as
- pure: can not read does not alter the state variables