Smart contract structure within the NFTR platform
NFTR consists of a total of 17 contracts -- 3 main contracts:
- 1.The NFTRegistry (main) contract
- 2.The RNM (Rename) token contract
- 3.The Golden Ticket contract
The RNM and Golden Ticket contracts rely on various supporting contracts that enable tokenomics and are shown above in the architecture diagram. Most of these contracts are a fork of the LooksRare tokenomics contracts with some modified functionality, as described throughout these docs. Tokenomics contracts will be deployed alongside the RNM launch (Stage 3), some months after the NFTRegistry contracts is live. These contracts are:
- 1.RNM Airdrop
- 2.Private Sale Fee Sharing
- 3.Treasury Vesting
- 4.Team Vesting
- 5.Hold Farming
- 6.GTK Spending
- 7.GTK Staking
- 8.Token Splitter
- 9.Token Distributor
- 10.Naming Rewards Distributor
- 11.Fee Sharing Setter
- 12.Fee Sharing System
- 13.Operator Controller for Rewards
- 14.Naming Credits
The front-end at nftr.name pulls state from the NFTRegistry contract, metadata of ERC721 compliant NFT Projects and CryptoPunks, to allow browsing of NFTs along with their corresponding names.
Main contract that stores state of NFT names and allows for naming and renaming NFTs. Users interact with this contract to name their NFT.
ERC20 contract that creates Nifter's native currency and governance/ownership coin.
ERC20 contract that employs a bonding curve to provide on-demand liquidity. This contract's tokens can be used to name NFTs with names from a special list in addition to the standard 0.05 ETH or 1,000 RNM that is paid as a naming fee.
RNM will be made available for free claim following a free naming for a variety of NFT ecosystem participants in order to spread awareness for the Nifter protocol.
Allows presale investors to purchase RNM in advance at a discount relative to the utility-strengthened floor price. This contract automatically stakes the presale investor groups' RNM and accrues claimable ETH that originates from naming fees.
Vests NFTR Treasury RNM via timelocks and automatically stakes RNM to accrue ETH naming fees.
Vests NFTR Team RNM via timelocks and automatically stakes RNM to accrue ETH naming fees.
Enables owners of Curated NFTs to name their NFT for free and initiate farming for RNM during the three months after their NFT's collection is curated.
Enables Golden Ticket owners to spend their GTK to get a portion of lifetime naming fees claimable by their wallets, in addition to RNM during the growth phase.
Enables Golden Ticket owners to stake their GTK to get a portion of naming fees claimable by their wallets.
Splits freshly minted RNM between the Private Sale, Treasury Vesting, and Team Vesting contracts, over a predetermined schedule.
Is in charge of minting RNM and distributing to the Token Splitter, Naming Rewards Distributor, Hold Farming, and GTK Spending contracts.
Gets updated daily with the previous day's naming activity and allows for pro-rata claiming of RNM according to a fixed schedule.
Receives WETH naming fees and distributes to RNM stakers.
Allows users to stake RNM and withdraw WETH naming fees according to each stake.
Updates and releases RNM rewards on a daily (manual) basis.
Allows users to buy naming credits in bulk to participate in RNM naming rewards more easily. These credits can be spent individually to name NFTs.