Skip to content

Commit

Permalink
Update to diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
naddison36 committed May 3, 2024
1 parent ce11531 commit 146465b
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 7 deletions.
4 changes: 4 additions & 0 deletions contracts/contracts/strategies/NativeStaking/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@

## Fee Accumulator

### Hierarchy

![Fee Accumulator Hierarchy](../../../docs/FeeAccumulatorHierarchy.svg)

### Squashed

![Fee Accumulator Squashed](../../../docs/FeeAccumulatorSquashed.svg)
33 changes: 33 additions & 0 deletions contracts/docs/FeeAccumulatorHierarchy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion contracts/docs/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ sol2uml storage .. -c Generalized4626Strategy -o Generalized4626StrategyStorage.

sol2uml .. -v -hv -hf -he -hs -hl -hi -b NativeStakingSSVStrategy -o NativeStakingSSVStrategyHierarchy.svg
sol2uml .. -s -d 0 -b NativeStakingSSVStrategy -o NativeStakingSSVStrategySquashed.svg
sol2uml .. -s -d 0 -b FeeAccumulator -o FeeAccumulatorSquashed.svg
sol2uml storage .. -c NativeStakingSSVStrategy -o NativeStakingSSVStrategyStorage.svg --hideExpand __gap,______gap,_reserved
sol2uml .. -v -hv -hf -he -hs -hl -hi -b FeeAccumulator -o FeeAccumulatorHierarchy.svg
sol2uml .. -s -d 0 -b FeeAccumulator -o FeeAccumulatorSquashed.svg

sol2uml .. -v -hv -hf -he -hs -hl -hi -b MorphoAaveStrategy -o MorphoAaveStrategyHierarchy.svg
sol2uml .. -s -d 0 -b MorphoAaveStrategy -o MorphoAaveStrategySquashed.svg
Expand Down
Binary file modified contracts/docs/plantuml/oethContracts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions contracts/docs/plantuml/oethContracts.puml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
!$thirdPartyColor = WhiteSmoke

legend
blue - existing
blue - Origin
' green - new
' orange - changed
white - 3rd Party
Expand All @@ -23,8 +23,8 @@ object "OETHDripper" as drip <<Origin>><<Proxy>> #$originColor {
asset: WETH
}

object "OETHVaultValueChecker" as checker <<Origin>> #$originColor {
}
' object "OETHVaultValueChecker" as checker <<Origin>> #$originColor {
' }

object "WOETH" as woeth <<Origin>><<Proxy>> #$originColor {
asset: OETH
Expand Down Expand Up @@ -129,8 +129,8 @@ zap ..> oethv
' drip .....> weth
oethv <. drip

checker ..> oeth
checker ..> oethv
' checker ..> oeth
' checker ..> oethv

oethv <.. harv
drip <.. harv
Expand All @@ -156,7 +156,7 @@ nativeStrat ..> ssvNet
nativeStrat ..> bDep

cvxStrat ..> crvPool
' cvxStrat ..> cvxPool
cvxStrat ...> cvxPool
' cvxStrat ...> weth
' cvxStrat ...> cvx
' cvxStrat ...> crv
Expand Down

0 comments on commit 146465b

Please sign in to comment.