LayerMarket Protocol
  • Welcome
  • Getting Started
    • Quick Links
    • How to use
    • Table of contents
    • Introduction
  • Key Features
    • Seller KYC Verification
    • Comprehensive Marketplace
    • Gasless Product Listings
    • Secure Payment & Escrow
    • Product Verification
    • Dispute Management
    • Search & Reviews
    • Activity Earnings
  • Contracts
    • Fees
    • Products
    • PurchaseEscrow
    • RatingsReviews
    • Treasury
    • Validators
    • Rewards
    • Addresses
  • Expansion Strategy
    • Overview
    • Digital Products
    • Physical Goods
    • Strategic Partnerships
    • Services
  • Utility Token Design
    • Overview
    • Locking
    • Governance
    • Fee Discounts
    • Fee Distribution
    • Exclusive Access
  • Conclusion
    • Overview
  • Support
    • Contact Us
Powered by GitBook
On this page
  1. Contracts

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);
}
PreviousActivity EarningsNextProducts

Last updated 1 year ago