Skip to content

Commit ec004a3

Browse files
committed
chore: updated example README
1 parent 0b94b11 commit ec004a3

File tree

2 files changed

+74
-1
lines changed

2 files changed

+74
-1
lines changed

Diff for: examples/storage/README.md

+14-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ sol2uml storage 0x2fdfbb2b905484f1445e23a97c97f65fe0e43dec -v \
265265
-o examples/storage/origin-oeth-dripper.svg
266266
```
267267

268-
It no `--slotTypes` option is used with the `--slotNames` option, sol2uml will default all the assembly accessed types to bytes32.
268+
If no `--slotTypes` option is used with the `--slotNames` option, sol2uml will default all the assembly accessed types to bytes32.
269269

270270
![OETH Dripper Default Types](../../examples/storage/origin-oeth-dripper-default.svg)
271271

@@ -277,6 +277,19 @@ sol2uml storage 0x2fdfbb2b905484f1445e23a97c97f65fe0e43dec -v \
277277
-o examples/storage/origin-oeth-dripper-default.svg
278278
```
279279

280+
The slot values can be hidden with the `-hv, --hideVales` option.
281+
282+
![OETH Dripper Hiode Values](../../examples/storage/origin-oeth-dripper-hide-values.svg)
283+
284+
```
285+
sol2uml storage 0x2fdfbb2b905484f1445e23a97c97f65fe0e43dec -v \
286+
--data --storage 0xc0f42f73b8f01849a2dd99753524d4ba14317eb3 \
287+
--slotNames OUSD.governor,OUSD.pending.governor,OUSD.reentry.status,0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc \
288+
--hideExpand drip --hideValues \
289+
-o examples/storage/origin-oeth-dripper-hide-values.svg
290+
```
291+
292+
280293
## USDC
281294

282295
The USD Coin (USDC) token deployed to [0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48](https://etherscan.io/address/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48#code) on mainnet is a proxied contract.

Diff for: examples/storage/origin-oeth-dripper-hide-values.svg

+60
Loading

0 commit comments

Comments
 (0)