naddison36 / sol2uml

Solidity contract visualisation tool
MIT License
1.13k stars 268 forks source link

Add empty bytes to the storage slots #78

Closed naddison36 closed 2 years ago

naddison36 commented 2 years ago

For storage diagrams, when a full 32-byte slot is not used, show the bytes in the slot that are not used. For example, an address is 20 bytes so will have 12 bytes unused in the slot if the next storage variable is greater than 12 bytes.

naddison36 commented 2 years ago

Done with https://github.com/naddison36/sol2uml/pull/82