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

Give apps more information about the organization #272

Open
sohkai opened this Issue Apr 2, 2019 · 3 comments

Comments

Projects
None yet
3 participants
@sohkai
Copy link
Member

sohkai commented Apr 2, 2019

We could create an API that returns some useful information about the organization an app is installed on, including:

  • Its initial creator
  • Which template it was created from (if any)
    • If this app was created by the template (rough check using the initializationBlock)

This would allow apps like the Token Manager to respond better in multisig organizations, so it can show more useful UI relevant to how it should be used.

@0xGabi

This comment has been minimized.

Copy link
Member

0xGabi commented Apr 2, 2019

Make sense to include the initialization parameters of the app (or/and current parameters)?

@2color

This comment has been minimized.

Copy link
Contributor

2color commented Apr 3, 2019

Can you elaborate on how we'd know which template it was created with.
For example the a1.aragonid.eth DAO has the following address: 0x635193983512c621E6a3E15ee1dbF36f0C0Db8E0. How do we know which template was used for iut?

@sohkai

This comment has been minimized.

Copy link
Member Author

sohkai commented Apr 3, 2019

Make sense to include the initialization parameters of the app (or/and current parameters)?

The parameters to initialize() would be really difficult to get, since they're not saved as state.

How do we know which template was used for iut?

Will have to do a bit of digging to see if there's a reliable way of getting this with just events, but there are a couple ways to get this info (worst one being to add some state in the templates).

But this brings up a good point, in that this would likely only work with a short-listed set of templates that we check against.

@sohkai sohkai changed the title Give orgs more information about the organization Give apps more information about the organization Apr 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.