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

Integrated budget constraints #1487

Closed
bedeho opened this issue Sep 29, 2020 · 0 comments
Closed

Integrated budget constraints #1487

bedeho opened this issue Sep 29, 2020 · 0 comments

Comments

@bedeho
Copy link
Member

bedeho commented Sep 29, 2020

Background

Funds are minted and spent for lots of different purposes that needs to be constrained

a. funding proposals
b. council member rewards
c. worker rewards
d. working group discretionary spending
e. channel rewards (WIP)

Currently, there the spending constraints around these are not integrated.

Proposal

There is one single top level budget. This budget is updated whenever

  1. council member rewards are paid: budfgt reduced
  2. working group budgets are changed: budget is reduced if group budget is increaed, otherwise it is increased
  3. funding proposals are paid out: budfgt reduced

This budget is increased by a given amount X (storage parameter) every certain blocks Y (hard coded constant) blocks.
Whenever actions 1-3 are attempted, they will fail if it requires more resources than the budget. If a working group budget is reduced, then the budget is actually increased.

The value X can be changed with a proposal, but only within certain hard coded bounds. Notice that when spending occurs within working groups (c,d above), that does nothing, because that is out of a separate budget.

We could also have a cutoff where budget cannot increase beyond a certain level L, but that is not important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants