This documentation outlines the contract specification of the platform. The contracts consist of three components:
NFTFairFactory- The factory contract to deploy vaults based on a given template. Proxied by
NFTFairTreasury- The central contract that collects sales revenues generated from vaults, and other protocol-related payment.
NFTFairVaultBase- The base Vault contract that implements essential features of a vault, can be extended with additional implementations that are tailored to a specific template.
Currently, the platform supports the two templates:
- Mystery Boxes
We plan to add more templates in the future.