Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

functions selling any item at a fix price #98

Merged
merged 8 commits into from
Sep 4, 2024
Merged
2 changes: 1 addition & 1 deletion marketplace/Sell_any_item_at_fixed_price.md
mubarak23 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Key Functionalities
Retrieves the current protocol fee stored in the contract.

Setting Buy-Back Price for an Item (set_buy_back_price_for_item):
mubarak23 marked this conversation as resolved.
Show resolved Hide resolved
Allows a buyer to set a buy-back price for an item from a specific collection. The buyer must be the caller, and the new price must be different from any existing price set by the buyer. If the conditions are met, the price is updated, and an event is emitted to notify that the price has been set.
Allows a buyer to set a buy-back price for any item from a specific collection.

Executing Buyer Bids (can_execute_buyer_bid):
Verifies whether a buyer's bid can be executed. The contract checks if the token was listed for sale by the seller and compares the bid price with the existing buy-back price to determine if the bid is valid and executable.
Expand Down