Skip to content

Commit

Permalink
fix: fixed docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishabh Sharma committed Sep 7, 2023
1 parent 7b7ec59 commit 05fef1d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ contract RoyaltyManager is AccessControlUpgradeable, IRoyaltyManager {

/// @notice sets the trustedForwarder address to be used by the splitters
/// @dev can only be called by the admin
/// new splitters will be deployed with this setting; existing splitters will have to apply it
/// new splitters will read this value
/// @param _newForwarder is the new trusted forwarder address
function setTrustedForwarder(address _newForwarder) external onlyRole(DEFAULT_ADMIN_ROLE) {
_trustedForwarder = _newForwarder;
Expand Down Expand Up @@ -150,9 +150,9 @@ contract RoyaltyManager is AccessControlUpgradeable, IRoyaltyManager {
return TOTAL_BASIS_POINTS - commonSplit;
}

/// @notice returns the commonRecipient and EIP2981 royalty split
/// @notice returns the commonRecipient and EIP2981 royalty bps
/// @return commonRecipient address of common royalty recipient
/// @return royaltySplit
/// @return contract EIP2981 royalty bps
function getRoyaltyInfo() external view returns (address payable, uint16) {
return (commonRecipient, contractRoyalty[msg.sender]);
}
Expand Down

1 comment on commit 05fef1d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage for this commit

96.23%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
packages/asset/contracts
   Asset.sol94.53%89.58%96.43%98.08%103, 188, 293, 293–294, 65
   AssetCreate.sol94.51%83.33%100%100%130, 132, 165, 281, 68
   AssetReveal.sol94.35%86.21%96.55%98.89%143, 147, 181, 376, 416, 424, 441, 75, 98
   AuthSuperValidator.sol100%100%100%100%
   Catalyst.sol94.81%91.94%95.24%98.08%125, 127, 140, 152, 223, 80
packages/asset/contracts/interfaces
   IAsset.sol100%100%100%100%
   IAssetCreate.sol100%100%100%100%
   IAssetReveal.sol100%100%100%100%
   ICatalyst.sol100%100%100%100%
   ITokenUtils.sol100%100%100%100%
packages/asset/contracts/libraries
   TokenIdUtils.sol100%100%100%100%
packages/dependency-metatx/contracts
   ERC2771Handler.sol100%100%100%100%
   ERC2771HandlerAbstract.sol100%100%100%100%
   ERC2771HandlerUpgradeable.sol95.45%83.33%100%100%43
packages/dependency-metatx/contracts/test
   ERC2771HandlerTest.sol100%100%100%100%
   ERC2771HandlerUpgradeableTest.sol100%100%100%100%
   MockTrustedForwarder.sol0%0%0%0%15, 18–19, 19, 19–20
packages/dependency-operator-filter/contracts
   OperatorFiltererUpgradeable.sol82.35%85%71.43%83.33%17, 51–52, 61–62, 71, 87
   OperatorFilterSubscription.sol60%50%100%50%19–20
packages/dependency-operator-filter/contracts/interfaces
   IOperatorFilterRegistry.sol100%100%100%100%
packages/dependency-royalty-management/contracts
   MultiRoyaltyDistributor.sol84.13%66.67%88.89%91.67%137, 40, 40, 40, 40, 58–59, 90, 97
   RoyaltyDistributor.sol76.92%50%75%85.71%45, 51
   RoyaltyManager.sol96.10%87.50%100%100%41, 91, 97
   RoyaltySplitter.sol92%75%91.67%97.06%111, 151, 180, 208, 59, 66, 76
packages/dependency-royalty-management/contracts/interfaces
   IERC20Approve.sol100%100%100%100%
   IMultiRoyaltyDistributor.sol100%100%100%100%
   IMultiRoyaltyRecipients.sol100%100%100%100%
   IRoyaltyManager.sol100%100%100%100%
   IRoyaltyUGC.sol100%100%100%100%

Please sign in to comment.