Skip to content

Commit 689f633

Browse files
committed
refacotor: reorder mappings
1 parent c8bb631 commit 689f633

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

v2/core/StakeSablierNFT.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ contract StakeSablierNFT is Adminable, ERC721Holder, ISablierLockupRecipient {
7474
/// - If you used Lockup Dynamic, you should use the LockupDynamic contract address.
7575
ISablierV2Lockup public sablierLockup;
7676

77-
/// @dev The owners of the streams mapped by stream IDs.
78-
mapping(uint256 streamId => address account) public stakedUsers;
79-
8077
/// @dev The staked stream IDs mapped by user addresses.
8178
mapping(address account => uint256 streamId) public stakedStreams;
8279

80+
/// @dev The owners of the streams mapped by stream IDs.
81+
mapping(uint256 streamId => address account) public stakedUsers;
82+
8383
/// @dev The timestamp when the staking ends.
8484
uint256 public stakingEndTime;
8585

0 commit comments

Comments
 (0)