hypha-dao / dao-contracts

Governance contracts for decentralized autonomous organizations
MIT License
10 stars 8 forks source link

Multi Tenancy Treasury Backend Story XL #177

Closed leonieherma1 closed 1 year ago

leonieherma1 commented 2 years ago

Frontend Story: https://github.com/hypha-dao/dho-web-client/issues/463

Summary: As a DHO user I would like to see the treasury of the DHO that I am a member of.

Problem: The whole treasury is using contracts and tables, standard EOSIO, not our document graph.

Proposed solution: I believe the easiest way to make it multi-tenant compatible, and to fit into the rest of the system would be to make the treasury run on the document graph too. Migrate the data from the tables and contracts into the documents structure.

The alternative to this would be to use the DHO name - which is an EOSIO name - as scope on the tables in the existing contracts, and separate out the data this way.

Subtasks:

Acceptance Criteria:

leonieherma1 commented 1 year ago

@Gerard097 can i close this issue?