BuidlGuidl / batch11.buidlguidl.com

https://batch11buidlguidlcom.vercel.app
MIT License
4 stars 6 forks source link

7. List the members of the batch (read BatchRegistry contract) #4

Open phipsae opened 3 weeks ago

phipsae commented 3 weeks ago

Goal

Show the current members of your batch in the app.

melanke commented 1 day ago

Is this possible? allowList is a mapping, as far as I know it's impossible to iterate over it, right? Also, there is no event for when adding on this list.

phipsae commented 13 hours ago

Yes exactly, you cannot iterate over a mapping in solidity. What event does the contract have, might this help?

melanke commented 10 hours ago

We have the CheckedIn event, so it would be possible to list who made checkin. Do you think this is enough for this task?

Anyway, I will leave this issue for another builder :)