I’m trying to find a way to implement a “White List” of sorts in Plutus.
Something similar to what ETH EIP-1592 does where an account needs to be white listed in order to interact with the contract.
I can clearly see how I could implement a hard coded list of addresses in the contract itself, but if I wanted to have the contract check again a white list which is stored on chain. How would I go about that. Is there a Key Value store or some kind on chain that I could use for this?