Skip to content

Commit

Permalink
chore(StakeManager): formatting as foundry changed its mind
Browse files Browse the repository at this point in the history
  • Loading branch information
0x-r4bbit committed Aug 27, 2024
1 parent b62ac52 commit f90a3ce
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions contracts/StakeManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,9 @@ contract StakeManager is Ownable {
/**
* leaves the staking pool and withdraws all funds;
*/
function unstake(uint256 _amount)
function unstake(
uint256 _amount
)
external
onlyVault
onlyAccountInitialized(msg.sender)
Expand Down Expand Up @@ -201,7 +203,9 @@ contract StakeManager is Ownable {
*
* @dev Reverts when resulting locked time is not in range of [MIN_LOCKUP_PERIOD, MAX_LOCKUP_PERIOD]
*/
function lock(uint256 _timeToIncrease)
function lock(
uint256 _timeToIncrease
)
external
onlyVault
onlyAccountInitialized(msg.sender)
Expand Down Expand Up @@ -312,7 +316,9 @@ contract StakeManager is Ownable {
* @notice Migrate account to new manager.
* @param _acceptMigration true if wants to migrate, false if wants to leave
*/
function migrateTo(bool _acceptMigration)
function migrateTo(
bool _acceptMigration
)
external
onlyVault
onlyAccountInitialized(msg.sender)
Expand Down

0 comments on commit f90a3ce

Please sign in to comment.