NFT gating function