| Crates.io | pezpallet-treasury |
| lib.rs | pezpallet-treasury |
| version | 27.0.0 |
| created_at | 2025-12-29 02:40:27.069004+00 |
| updated_at | 2025-12-29 02:40:27.069004+00 |
| description | FRAME pezpallet to manage treasury |
| homepage | https://pezkuwichain.io/ |
| repository | https://github.com/pezkuwichain/pezkuwi-sdk.git |
| max_upload_size | |
| id | 2009868 |
| size | 212,720 |
The Treasury pezpallet 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 Pezpallet 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:
spend_local - Propose and approve a spend of treasury funds, enables the
creation of spends using the native currency of the chain, utilizing the funds
stored in the potspend - Propose and approve a spend of treasury funds, allows spending any
asset kind managed by the treasuryremove_approval - Force a previously approved proposal to be removed from
the approval queuepayout - Claim a spendcheck_status - Check the status of the spend and remove it from the storage
if processedvoid_spend - Void previously approved spend