Open lgalabru opened 3 years ago
This is a great suggestion.
@nieldeckx this is about the print
statements I mentioned last week.. we should add a lot more of these, will be great for all sorts of things.
@lgalabru fixed in https://github.com/arkadiko-dao/arkadiko/pull/208
Context
Clarity events are probably under-documented, and yet they constitute a powerful mechanism for increasing observability of onchain protocols, while being cheap in terms of transaction cost.
Observability is a crucial requirement for engaging protocol participants. Events can be leveraged for building an ecosystem on top of the Arkadiko protocol. Some concrete examples:
Arkadiko is involving a lot of contracts, so emitting topic based events could be an approach scaling nicely with the current / future complexity.
Recommendation
Emit CRUD events for the different objects being manipulated in the different contracts (proposals, vaults, tokens, swaps, etc).