Skip to content

Releases: naddison36/sol2uml

Release v2.5.20

27 Nov 04:23
cd68ac8
Compare
Choose a tag to compare

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

15 Nov 04:52
4714b60
Compare
Choose a tag to compare

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

13 Nov 04:04
bf9ce4e
Compare
Choose a tag to compare

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

05 Nov 06:56
4e2f598
Compare
Choose a tag to compare
  • Added support for Scroll L2 network using Scrollscan
  • Fixed undefined files when comparing contracts on Etherscan
  • Updated dependencies

Release v2.5.16

18 Sep 02:11
0b94b11
Compare
Choose a tag to compare
  • Better error handling when the url is not set

Release v2.5.15

17 Sep 23:26
22b15f1
Compare
Choose a tag to compare
  • 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

OETH Dripper

See more assembly-accessed slots here.

Release v2.5.14

07 Sep 06:35
95ee67a
Compare
Choose a tag to compare
  • fixed the -hv --hideValues option on the storage command

Release v2.5.13

18 Aug 13:33
57b9ea6
Compare
Choose a tag to compare

Release v2.5.12

18 Aug 13:13
49ad29d
Compare
Choose a tag to compare
  • Better support compare of a verified flat file on Etherscan to a local file

Release v2.5.11

18 Aug 02:29
49ad29d
Compare
Choose a tag to compare

Features

  • Compare a verified contract on Etherscan to local files

Screenshot 2023-08-17 at 10 08 53 pm

Screenshot 2023-08-17 at 10 12 11 pm