JoinSEEDS / seeds-smart-contracts

Smart contracts for SEEDS - A Regenerative Civilization Building Game.
https://docs.google.com/document/d/1C4w9Ol8VGabCIcQDVPDrwcTRoJXBqhrb7VjslwQbUGU/edit#heading=h.6f4sxygso816
MIT License
20 stars 6 forks source link

Invite and Funding Campaigns #237

Open n13 opened 3 years ago

n13 commented 3 years ago

There will be two Campaign proposals sub types: Invite campaign and funding campaign

Both are voted on from the campaign votes, so no changes there, it's not really a new voting type.

Funding campaign - no different from existing campaign type

Invite campaign -

IanMendozaJaimes commented 3 years ago

Hello, I have a question:

n13 commented 3 years ago

Hello, I have a question:

  • The only additional parameter it should take is the max invite amount, right? But what would happen with the parameters described in #236: planted, reward owner and reward, should they be settings?

Yeah I think they need to be parameters also

julioholon commented 3 years ago

The bank for invite proposals, should be the Campaigns bank. Only campaign proposals have sub types (it has subtypes, because the voting tokens should be the same)

What if instead of subtypes, we have a "voting pool id" for each Type, so we can have two different Types that uses the same voting pool.

Ex: Campaign Type: Alliances Voting Pool ID: Alliances Funding bank: Alliances

Campaign Type: Funding Campaigns Voting Pool ID: Campaigns Funding bank: Campaigns

Campaign Type: Invite Campaigns Voting Pool ID: Campaigns Funding bank: Campaigns

Campaign Type: Referendums Voting Pool ID: Referendums Funding bank: Referendums

Campaign Type: Milestones Voting Pool ID: Campaigns Funding bank: Milestones

julioholon commented 3 years ago

Maybe add an index to walk accross only on eval proposal, with their own cpu time, so we can schedule processing each type on a different time.