Skip to content

Commit a7ad11a

Browse files
committed
rearranged vault storage variable
1 parent 8560eb7 commit a7ad11a

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

spot-contracts/contracts/vaults/RolloverVault.sol

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,6 @@ contract RolloverVault is
7474
/// @dev The maximum number of deployed assets that can be held in this vault at any given time.
7575
uint256 public constant MAX_DEPLOYED_COUNT = 47;
7676

77-
//-------------------------------------------------------------------------
78-
// Storage
79-
80-
/// @notice Minimum amount of underlying assets that must be deployed, for a deploy operation to succeed.
81-
/// @dev The deployment transaction reverts, if the vaults does not have sufficient underlying tokens
82-
/// to cover the minimum deployment amount.
83-
uint256 public minDeploymentAmt;
84-
8577
//--------------------------------------------------------------------------
8678
// ASSETS
8779
//
@@ -99,7 +91,12 @@ contract RolloverVault is
9991
EnumerableSetUpgradeable.AddressSet private _deployed;
10092

10193
//-------------------------------------------------------------------------
102-
// Data
94+
// Storage
95+
96+
/// @notice Minimum amount of underlying assets that must be deployed, for a deploy operation to succeed.
97+
/// @dev The deployment transaction reverts, if the vaults does not have sufficient underlying tokens
98+
/// to cover the minimum deployment amount.
99+
uint256 public minDeploymentAmt;
103100

104101
/// @notice The perpetual token on which rollovers are performed.
105102
IPerpetualTranche public perp;

0 commit comments

Comments
 (0)