Skip to content

Commit

Permalink
chore: lint again with foundry updated
Browse files Browse the repository at this point in the history
  • Loading branch information
3esmit committed Sep 11, 2024
1 parent ba02f07 commit e321f51
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions contracts/StakeManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,7 @@ 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 @@ -263,9 +261,7 @@ contract StakeManager is Ownable {
*
* @dev Reverts when resulting locked time is not in range of [MIN_LOCKUP_PERIOD, MAX_LOCKUP_PERIOD]
*/
function lock(
uint256 _secondsToIncreaseLock
)
function lock(uint256 _secondsToIncreaseLock)
external
onlyVault
onlyAccountInitialized(msg.sender)
Expand Down Expand Up @@ -391,9 +387,7 @@ 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 e321f51

Please sign in to comment.