Crates.io | noble-treasury |
lib.rs | noble-treasury |
version | 2.0.0 |
source | src |
created_at | 2021-04-04 04:55:00.143442 |
updated_at | 2021-04-04 04:55:00.143442 |
description | FABRIC noble to manage treasury |
homepage | https://core.tetcoin.org |
repository | https://github.com/tetcoin/tetcore |
max_upload_size | |
id | 378622 |
size | 41,642 |
The Treasury module provides a "pot" of funds that can be managed by stakeholders in the system and a structure for making spending proposals from this pot.
The Treasury Module itself provides the pot to store funds, and a means for stakeholders to propose, approve, and deny expenditures. The chain will need to provide a method (e.g.inflation, fees) for collecting funds.
By way of example, the Council could vote to fund the Treasury with a portion of the block reward and use the funds to pay developers.
General spending/proposal protocol:
propose_spend
- Make a spending proposal and stake the required deposit.reject_proposal
- Reject a proposal, slashing the deposit.approve_proposal
- Accept the proposal, returning the deposit.