#solidity
Read more stories on Hashnode
Articles with this tag
Introduction Yul is an intermediate language that can be used with Solidity or as a standalone language . It is particularly useful for writing...
Alright Let’s Continue from where we left , Previous One : Demystifying Memory in EVM (Part I) Memory Initialization When a contract is executed , the...
Let’s look at the architecture of the Memory in EVM. Scratch Space : Ephemeral space to write values ( used for instance by the sha3 opcode) Free...
Okay let’s first look at the code contract Demo { uint256 a = 0x1a01; // Slot 0 uint256 b = 0x2a01; // Slot 1 mapping(uint => uint) c; //...
When Storing Dynamic type data , We don’t explicitly store the data in the next immediate slot, instead we only store the address of the slot where...
Let’s first have a look at the Code contract Demo{ uint256 a 1234 // slot 0 uint8 b = 0x12; // slot 1 uint8[6] c = [1,2,3,4,5,6]; // line...