Skip to content

Commit

Permalink
Added phase 2 contracts to Sonic contract dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
naddison36 committed Jan 10, 2025
1 parent 07b1a51 commit 3dcdcc0
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 12 deletions.
Binary file modified contracts/docs/plantuml/sonicContracts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 23 additions & 12 deletions contracts/docs/plantuml/sonicContracts.puml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
@startuml

!$originColor = DeepSkyBlue
!$phase2 = Yellow
' !$originColor = WhiteSmoke
!$newColor = LightGreen
!$changedColor = Orange
!$thirdPartyColor = WhiteSmoke

' legend
' blue - Origin
' ' green - new
' ' orange - changed
' white - 3rd Party
' end legend
legend
blue - Origin
' green - new
' orange - changed
yellow - phase2
white - 3rd Party
end legend

title "Sonic Contract Dependencies"

Expand Down Expand Up @@ -49,10 +51,14 @@ object "Special Fee Contract" as sfc <<Sonic>><<Proxy>> {
asset: S
}

' object "AMOStrategy" as amoStrat <<Origin>><<Proxy>> #$originColor {
' asset: wS
' reward: ?
' }
object "AMOStrategy" as amoStrat <<Origin>><<Proxy>> #$phase2 {
asset: wS
reward: ?
}

object "OSonicHarvester" as harv <<Origin>><<Proxy>> #$phase2 {
rewards: ?
}

wos <. zap
zap ..> os
Expand All @@ -63,9 +69,14 @@ checker ..> vault
wos ..> os
os <.> vault
vault <.> drip
vault <..> stakeStrat
vault <...> stakeStrat
stakeStrat ..> sfc
' vault <...> amoStrat
vault <...> amoStrat

vault <.. harv
drip <.. harv

harv <..> amoStrat


@enduml

0 comments on commit 3dcdcc0

Please sign in to comment.