Content
@
0 reply
0 recast
2 reactions
0xhamed 🎩 🔵 🎠✪
@0xhamed
Solidity Data Locations - Storage, Memory and Calldata - storage: variable is a state variable (store on blockchain) - memory: variable is in memory and it exists while a function is being called - calldata: special data location that contains function arguments
17 replies
2 recasts
33 reactions
Nastaran
@shahla
Accessing calldata is more gas-efficient compared to storage operations. Since calldata is read-only and does not involve modifying the blockchain state, reading from calldata typically incurs lower gas costs 40 $DEGEN
0 reply
0 recast
1 reaction