1 Star 0 Fork 0

ProjectOpenSea/seaport

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ZoneDocumentation.md 1.44 KB
一键复制 编辑 原始数据 按行查看 历史
Joshua Schmidt 提交于 2023-10-06 12:02 . Add rdme front matter to docs
title category slug parentDocSlug order hidden
Seaport Zones
6520398b749af50013f52ff4
seaport-zones
seaport-overview
2
false

Zone Documentation

The zone of the order is an optional secondary account attached to the order with two additional privileges:

  1. The zone may cancel orders where it is named as the zone by calling cancel. (Note that offerers can also cancel their own orders, either individually or for all orders signed with their current counter at once by calling incrementCounter).
  2. "Restricted" orders (as specified by the order type) must be approved as indicated by a call to a validateOrder when the caller is not the zone.

An example zone contract implementation can be found at /contracts/zones/PausableZone.sol.

The PausableZone contract can be used by its controller to cancel orders, execute fulfillment on restricted order, and pause all orders which use it as a zone.

Ideas

New zones can be permissionlessly deployed and utilized to extend the feature set of the core Seaport marketplace. Examples include:

  • Helping to prevent sales of compromised items
  • Pausing orders in case of an emergency without invalidating approvals
  • Limiting the number of NFTs from a particular collection that can be sold in a given amount of time
  • Enforcing a particular floor or ceiling price for certain items
  • Making arbitrary calls to outside data sources
  • Tracking additional incentives for completing valid orders
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ProjectOpenSea/seaport.git
git@gitee.com:ProjectOpenSea/seaport.git
ProjectOpenSea
seaport
seaport
main

搜索帮助

Cb406eda 1850385 E526c682 1850385