Skip to content

Commit

Permalink
chore: update example storage diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
naddison36 committed Aug 2, 2022
1 parent e24d9ab commit d3b6fd8
Show file tree
Hide file tree
Showing 5 changed files with 160 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ UML class diagram of Open Zeppelin's ERC20 token contracts generated from [versi
See more contract diagrams [here](./examples/README.md).

Storage layout diagram of USDC's [verified source code](https://etherscan.io/address/0xa2327a938febf5fec13bacfb16ae10ecbc4cbdcf#code) on Etherscan.
![USDC](./examples/storage/usdcData.png)
![USDC](./examples/storage/usdcData.svg)

See more contract storage diagram examples [here](./examples/storage/README.md).

Expand Down
2 changes: 1 addition & 1 deletion examples/storage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ The `-u ---url` option is used to tell which Ethereum node to get the storage va
sol2uml storage 0xa2327a938febf5fec13bacfb16ae10ecbc4cbdcf -d -s 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 -u https://your-url
```

![USDC](./usdcData.png)
![USDC](./usdcData.svg)

## Contract Inheritance

Expand Down
Binary file modified examples/storage/StakedTokenBPTData.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed examples/storage/usdcData.png
Binary file not shown.
158 changes: 158 additions & 0 deletions examples/storage/usdcData.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d3b6fd8

Please sign in to comment.