Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #197

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/interfaces/ILensHubEventHooks.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pragma solidity >=0.6.0;
* @author Lens Protocol
*
* @notice This is the interface for the LensHub contract's event hooks. As we want most of the core events to be
* emitted by the LensHub contract, event hooks are needed for core events generated by pheripheral contracts.
* emitted by the LensHub contract, event hooks are needed for core events generated by peripheral contracts.
*/
interface ILensHubEventHooks {
/**
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/ILensProtocol.sol
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ interface ILensProtocol {
function getPublicationType(uint256 profileId, uint256 pubId) external view returns (Types.PublicationType);

/**
* @notice Returns wether a given Action Module is enabled for a given publication.
* @notice Returns whether a given Action Module is enabled for a given publication.
*
* @param profileId The token ID of the profile that published the publication to query.
* @param pubId The publication ID of the publication to query.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ abstract contract BaseFeeCollectModule is FeeModuleBase, ActionRestricted, IBase
}

/**
* @dev Internal processing of a collect with a referrals (if any).
* @dev Internal processing of a collect with referrals (if any).
*
* Same as _processCollect, but also includes transfer to referrals (if any):
* 1. Calculation of fees
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ contract DegreesOfSeparationReferenceModule is LensModuleMetadata, HubRestricted
followedProfileId: profilePath[0]
});
// Checks each profile owner in the path is following the profile coming next, according the order.
// In the previous notaiton: path[0] --> path[1] --> path[2] --> ... --> path[n-2] --> path[n-1]
// In the previous notation: path[0] --> path[1] --> path[2] --> ... --> path[n-2] --> path[n-1]
uint256 i;
while (i < profilePath.length - 1) {
FollowValidationLib.validateIsFollowing({
Expand Down