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

organization configurations for individual dapp setups #117

Open
2075 opened this issue Nov 26, 2022 · 0 comments
Open

organization configurations for individual dapp setups #117

2075 opened this issue Nov 26, 2022 · 0 comments
Assignees
Labels
Story User Story

Comments

@2075
Copy link
Member

2075 commented Nov 26, 2022

User Story

accounts want to use various gamedao protocols. to enable access, accounts need to stake GAME token and assign the amount of token to the protocol function. the functionality gets automatically enabled until the assigned stake is not assigned to the functionality anymore.

example:

  • account A stakes amount S to the the staking function and assigns amount Q to a protocol P
  • by assigning enough to overcome a threshold T the bitflag for the protocol is set
  • by unassigning and getting below threshold T the bitflag is unset
  • depending on the protocol function, a staking reward can be earned
  • staking rewards are paid continuously, e.g. 10% p.a. result in a to be determined amount of return per block, directly paid back into the staking channel or any other account designated by initiatin account id
bit protocol min staking return available
0 dao / co 100 5% x
1 paid members 1000 5%
2 governance 1000 5% x
3 fundraising / grant 0 5% x
3 fundraising / prepaid 1000 5%
3 fundraising / token 5000 5%
4 battlepass 1000 5% x
5 collectables 1000 5%

Acceptance Criteria

  • hash to bitmask in storage where hash is org id and bitmask can be something like u16:
    • 0000 0000 0000 0000 - all disabled
    • 0000 0000 0000 0001 - dao enabled
  • write bitmask
  • read bitmask
@2075 2075 added the Story User Story label Nov 26, 2022
@2075 2075 self-assigned this Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Story User Story
Projects
None yet
Development

No branches or pull requests

1 participant