Closed ckamm closed 5 months ago
It's a bit difficult to get all events in the current codegen, but this can easily be implemented with the new declare-program!
macro. Would that be sufficient, or do you need the function to be generated with the program codegen?
the new macro is probably sufficient imo
It would be helpful if anchor generated a function like:
That finds the matching discriminator and then parses the event.