Skip to content

Commit

Permalink
Add process for pausing the Native Staking Strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
naddison36 committed May 29, 2024
1 parent 003fcdb commit 9295fe7
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
Binary file added contracts/docs/plantuml/oethProcesses-pause.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 modified contracts/docs/plantuml/oethProcesses.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions contracts/docs/plantuml/oethProcesses.puml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ title "Origin ETH processes"
actor "Anyone" as sender
actor "Registrator\n(Relayer)" as reg <<Origin>>
actor "Admin\n(5/8 Safe)" as admin <<Origin>>
actor "Strategist\n(2/9 Safe)" as strategist <<Origin>>
actor "Governor\n(Timelock)" as gov <<Origin>>
actor "Treasury" as treasury <<Origin>>
participant "API" as api <<P2P>>
Expand Down Expand Up @@ -306,4 +307,24 @@ return

end group


group Strategist pauses Native Staking Strategy

strategist -> nativeStrat : pause()
activate nativeStrat
return

end group

group Strategist unpauses Native Staking Strategy

strategist -> nativeStrat : manuallyFixAccounting(0, 0, 0)
activate nativeStrat
note right : params _validatorsDelta, _consensusRewardsDelta\nand _ethToVaultAmount all set to zero
nativeStrat -> nativeStrat
note right : unpause
return

end group

@enduml

0 comments on commit 9295fe7

Please sign in to comment.