Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API to link between transaction path steps #195

Open
sohkai opened this issue Aug 7, 2020 · 0 comments
Open

API to link between transaction path steps #195

sohkai opened this issue Aug 7, 2020 · 0 comments

Comments

@sohkai
Copy link
Contributor

sohkai commented Aug 7, 2020

I think this is non-trivial for Connect, because it requires app-level information (and even then it may be difficult due to the lack of explicit information in events or other details).

Ideally, if you had an organization requiring a multi-step transaction path to execute an action, for example:

  1. Approval (smaller group)
  2. Delay (time constraint to notify potential voters)
  3. Voting (large group)

It would be ideal if a user could establish a link between an action going through the different steps, for example:

  • Approval#4 created Delay#5
  • Delay#5 created Vote#2
  • Vote#2 can be traced all the way back to Approval#4 (and any other intermediate steps as necessary)

This would be useful for building UI that explains the path an action took, for example, to show all the steps taken (and to be taken) in one "proposal" detail view.

(If an action was at the middle Delay step, it would only be able to tell users that a potential vote may be created; see larger description)


The only way I know how to do this now is by inspecting the transaction that created a particular action (e.g. Vote#2). You can eventually follow the logs to know that a particular Dispute#5 created the vote, but this is both slow and requires a lot of additional context. It would be much, much better if we could find a way to do this through a subgraph or another approach.

@0xGabi 0xGabi added this to To do in Roadmap to v1.0.0 Aug 18, 2020
@0xGabi 0xGabi removed this from To do in Roadmap to v1.0.0 Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant