DEV Community

Cover image for ◼️35/100: Block-by-Block: Data location in Solidity
András Novoszáth
András Novoszáth

Posted on

◼️35/100: Block-by-Block: Data location in Solidity

One thing I learned about: Data location in Solidity.

  • EVM stack: value types (e.g. uint, bool, address) and opcode executions
  • Storage: reference types, not as function arguments/returns
  • Calldata: reference types excluding mappings, not as constructor parameters
  • Memory: reference types, excluding mappings
  • Transient: state variable value types

🔽🛠️Resources🔽

Top comments (0)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.