Lens-Graph-Subgraph icon indicating copy to clipboard operation
Lens-Graph-Subgraph copied to clipboard

Add event handlers

Open naz3eh opened this issue 3 years ago • 4 comments

You can find the list of event handlers emitted by the lens contract here. As of now, only one event handler is done, all others have remained. Following is the list of event handlers that need to be added for a usable MVP.

  • [x] #14
  • [x] #15
  • [x] #16
  • [x] #17
  • [ ] #18
  • [ ] #19

Feel free to suggest an addition/deletion of any event handler. Steps to add an eventHandler:

  1. Define a function to handle any event in the src/lens-hub.ts file in our project as it is defined here. You can get the details about the event fields from the lens-docs. Also, you can use this tool called tenderly if you have an address of that particular transaction and this tool will provide you with all the information regarding the events emitted.
  2. Once the event handler is defined in the lens-hub.ts file, add that event handler in the subgraph.yml file as shown here

naz3eh avatar Sep 02 '22 06:09 naz3eh

Hey @Nazeeh21 I would like to pick up these tasks.

deepak-likes-code avatar Sep 10 '22 20:09 deepak-likes-code

Hey @Nazeeh21 I would like to pick these tasks up.

route-2 avatar Nov 01 '22 09:11 route-2

Hey @route-2 can you comment on #18, so that i can assign that issue to you

naz3eh avatar Nov 01 '22 10:11 naz3eh

Since these issues are soon fixed, we may want to consider closing this issue @Nazeeh21

https://github.com/Developer-DAO/Lens-Graph-Subgraph/issues/18 https://github.com/Developer-DAO/Lens-Graph-Subgraph/issues/19

andyrobert3 avatar Nov 14 '22 17:11 andyrobert3