There are differend ways to whitelist users. This repo demonstrates three different options.
The contracts and the tests both are named Imp[index][whitelistingMethod].[js/sol]
More implementations will be added with time.
1 - traditional mapping
2 - signatures
3 - merkle trees
- Ownership of NFTs
- Balance of token amount