Open chrishol opened 3 years ago
I love the batched reveal idea, but it's not clear to me how you would go from a single random number (entropy) for a batch of tokens to a unique id within a larger range. Do you have an idea for how this would be accomplished?
entropy
https://github.com/Anish-Agnihotri/MultiRaffle/blob/a468d0029138ec0166e9e43697c4053c340d7e13/src/MultiRaffle.sol#L325-L326
I love the batched reveal idea, but it's not clear to me how you would go from a single random number (
entropy
) for a batch of tokens to a unique id within a larger range. Do you have an idea for how this would be accomplished?https://github.com/Anish-Agnihotri/MultiRaffle/blob/a468d0029138ec0166e9e43697c4053c340d7e13/src/MultiRaffle.sol#L325-L326