Releases: naddison36/sol2uml
Releases · naddison36/sol2uml
Release v2.5.20
Fixes
- incorrect linking to structs and enums on associated contracts or interfaces. This caused incorrect sizing of structs and enums in storage diagrams. eg
ImportedTypesInContract.ImportedContractLevelStruct importedTypesInContract;
- link to structs or enums on inherited contracts or interfaces. This includes structs and enums on contracts or interfaces multiple levels above in the inheritance structure.
Release v2.5.19
Fixed
- Storage diagrams of contracts that have chained imports. That is, import a contract from a file that then imports the contract from another file.
To test, run the following from the ./tests
folder
sol2uml storage -v -c Concrete ../src/contracts/chainedImports
Release v2.5.18
Fixes:
- storage diagrams when a struct or enum was used in an imported contract or library. #175
- class diagrams now linking to the correct struct or enum when the same name is used in different contracts or libraries
Release v2.5.17
- Added support for Scroll L2 network using Scrollscan
- Fixed undefined files when comparing contracts on Etherscan
- Updated dependencies
Release v2.5.16
- Better error handling when the url is not set
Release v2.5.15
- added storage options
-sn, --slotNames
and-st, --slotTypes
for displaying assembly accessed storage slots.
Options:
-sn, --slotNames <names> Comma-separated list of slot names when accessed by assembly. The names can be a string, which will be hashed to a slot, or a 32 bytes hexadecimal string with a 0x prefix.
-st, --slotTypes <types> Comma-separated list of types for the slots listed in the `slotNames` option. eg address,uint256,bool. If all types are the same, a single type can be used. eg address (default: ["bytes32"])
Example
sol2uml storage 0x2fdfbb2b905484f1445e23a97c97f65fe0e43dec \
--data --storage 0xc0f42f73b8f01849a2dd99753524d4ba14317eb3 \
--slotNames OUSD.governor,OUSD.pending.governor,OUSD.reentry.status,0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc \
--slotTypes address,address,bool,address \
--hideExpand drip
See more assembly-accessed slots here.
Release v2.5.14
- fixed the
-hv --hideValues
option on thestorage
command
Release v2.5.13
- Added BaseScan as a supported network
Release v2.5.12
- Better support compare of a verified flat file on Etherscan to a local file