Skip to content

Commit

Permalink
style: update view types
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoAcosta committed Nov 3, 2024
1 parent 6288142 commit 28b94d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/points/MultipleFollowerSincePoints.sol
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ contract MultipleFollowerSincePoints is Points, IMultipleFollowerSincePoints {
function getMultipleFollowerSincePointsView(
address user
) external view returns (MultipleFollowerSincePointsView memory) {
return MultipleFollowerSincePointsView({ pointsView: getPointsView(user), stamps: _getPointsStampViews(user) });
return MultipleFollowerSincePointsView({ points: getPointsView(user), stamps: _getPointsStampViews(user) });
}

/// @inheritdoc IPoints
Expand Down
2 changes: 1 addition & 1 deletion src/points/interfaces/IMultipleFollowerSincePoints.sol
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ interface IMultipleFollowerSincePoints is IPoints, IPointsStampView {
/// @notice Struct combining PointsView and PointsStampView for a comprehensive view
/// @dev Provides a complete snapshot of the Points system and a user's stamps
struct MultipleFollowerSincePointsView {
PointsView pointsView; /// @dev General data about the Points system
PointsView points; /// @dev General data about the Points system
PointsStampView[] stamps; /// @dev Array of PointsStampView structs for each registered stamp
}

Expand Down

0 comments on commit 28b94d8

Please sign in to comment.