In week 4, I learned how to use the constant and immutable keywords to save gas on my transactions. In a situation where our variable is used in multiple lines like the constructor, we can use the immutable keyword on the variable function.

2m read timeFrom coinsbench.com
Post cover image
2 Comments

Sort: