HausDAO / daohaus-supergraph

MIT License
6 stars 22 forks source link

Adding rageQuittedAt #54

Open daviddavo opened 3 years ago

daviddavo commented 3 years ago

Adding the date where a user has done the rageQuit to the subgraph.

This way, it would be possible to query recently ragequitted users the same way we can query recently created users

I think it should just be possible to do a simple member.rageQuitAt = event.block.timestamp inside handleRageQuit

skuhlmann commented 2 years ago

@daviddavo

Sorry for the delay here! We have a field called createdAt that has that date. Does that help?

mapping: rageQuit.createdAt = event.block.timestamp.toString();