naddison36 / sol2uml

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

file level constants #86

Closed naddison36 closed 1 year ago

naddison36 commented 2 years ago

sol2uml doesn't currently look for constants declared in a file. ie outside a contract.

This is useful for class diagrams but is essential for storage diagrams if the constant is used to declare the size of a storage array.

There is a good example in issue https://github.com/naddison36/sol2uml/issues/85#issuecomment-1202765768

naddison36 commented 1 year ago

This was released in v2.1.2