Skip to content

Commit

Permalink
docs: polish getter natspec
Browse files Browse the repository at this point in the history
  • Loading branch information
andreivladbrg committed Jan 7, 2025
1 parent d9cb622 commit 93141f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/interfaces/ISablierMerkleFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ interface ISablierMerkleFactory is IAdminable {

/// @notice Retrieves the custom fee struct for the provided campaign creator.
/// @dev The fee is denominated in the native token of the chain, e.g., ETH for Ethereum Mainnet.
/// @param campaignCreator The address of the user.
/// @param campaignCreator The address of the campaign creator.
function getCustomFee(address campaignCreator) external view returns (MerkleFactory.CustomFee memory);

/// @notice Retrieves the fee for the provided campaign creator, using the default fee if no custom fee is set.
/// @dev The fee is denominated in the native token of the chain, e.g., ETH for Ethereum Mainnet.
/// @param campaignCreator The address of the user.
/// @param campaignCreator The address of the campaign creator.
function getFee(address campaignCreator) external view returns (uint256);

/// @notice Returns a bool indicating whether the sum of percentages in `tranches` equals 100%, i.e., 1e18.
/// @notice Verifies if the sum of percentages in `tranches` equals 100%, i.e., 1e18.
/// @param tranches The tranches with their respective unlock percentages.
/// @return result True if the sum of percentages equals 100%, otherwise false.
function isPercentagesSum100(MerkleLT.TrancheWithPercentage[] calldata tranches)
Expand Down

0 comments on commit 93141f6

Please sign in to comment.