gamedaoco / gamedao-beta

https://beta.gamedao.co
Apache License 2.0
9 stars 1 forks source link

List campaigns of an organization #243

Closed 5-mark closed 2 years ago

5-mark commented 2 years ago

As frontend developer I want to access a list of campaigns which belong to a certain organisation so I can display them in a select box.

Acceptance Criteria

  1. API which exposes all campaigns of an organisation is provided

Additional Information

List shall be used in proposal form to vote on campaigns.

2075 commented 2 years ago

should be provided in version 1.33.0: https://github.com/playzero/subzero/commit/6126fdc72cb208ef8f944051ec46aa4ab50ba0eb

2075 commented 2 years ago
  1. create organisation
  2. create campaign
  3. query chain state gameDaoCrowdfunding.campaignsByBody( Body Hash) resolves Vec< Campaign Hash >

requires new campaigns, as the old ones are not migrated.

5-mark commented 2 years ago

@PAkhidue you can now start implementing #244, can you please check before if you can retrieve with the provided state query campaigns and then close this ticket if successful?

5-mark commented 2 years ago

works 👍🏼 image