Fees

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

/**
 * @title IFees
 * @dev Interface for managing fees across the marketplace.
 */
interface IFees {
    // Events for logging changes in fees
    event ServiceFeeUpdated(uint256 newFee);

    /**
     * @dev Sets the service fee amount.
     * @param fee The amount to be set as the new service fee.
     */
    function setServiceFee(uint256 fee) external;

    /**
     * @dev Retrieves the current service fee amount.
     * @return serviceFee The current service fee.
     */
    function getServiceFee() external view returns (uint256);
}

Last updated