You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for sharing this @Anish-Agnihotri - really great ideas and helpful examples.
My question:
The design of the claimRaffle function seems to require the caller to know where their entry lies in the raffleEntries array. Is the idea that the results could be indexed once and then provided to customers via a frontend UI?
Ideally you'd have some way of quickly finding the indices by address, but storing that might get expensive quickly.
Thanks for sharing this @Anish-Agnihotri - really great ideas and helpful examples.
My question:
The design of the
claimRaffle
function seems to require the caller to know where their entry lies in theraffleEntries
array. Is the idea that the results could be indexed once and then provided to customers via a frontend UI?Ideally you'd have some way of quickly finding the indices by address, but storing that might get expensive quickly.
MultiRaffle/src/MultiRaffle.sol
Line 195 in a468d00
The text was updated successfully, but these errors were encountered: