Skip to content

Commit

Permalink
Mark public functions that are only called externally as external
Browse files Browse the repository at this point in the history
  • Loading branch information
hexlivelive committed Jan 7, 2024
1 parent 6fb399f commit f5d5065
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -431,7 +431,7 @@ contract MintraDirectListings is IDirectListings, Multicall, ReentrancyGuard {
address _collectionAddress,
uint256 _royaltyInBasisPoints,
address receiver
) public nonReentrant {
) external nonReentrant {
require(_collectionAddress != address(0), "_collectionAddress is not set");
require(_royaltyInBasisPoints >= 0 && _royaltyInBasisPoints <= MAX_BPS, "Royalty not in range");
require(receiver != address(0), "receiver is not set");
Expand Down Expand Up @@ -654,7 +654,7 @@ contract MintraDirectListings is IDirectListings, Multicall, ReentrancyGuard {
* @dev Updates the market fee percentage to a new value
* @param _platformFeeBps New value for the market fee percentage
*/
function setPlatformFeeBps(uint256 _platformFeeBps) public onlyWizard {
function setPlatformFeeBps(uint256 _platformFeeBps) external onlyWizard {
require(_platformFeeBps <= 369, "Fee not in range");

platformFeeBps = _platformFeeBps;
Expand Down

0 comments on commit f5d5065

Please sign in to comment.