What is peaqFundamentals
Grants & FundingGlossary
OverviewCollator & Delegator Rewards
The Treasury Pallet provides a place to store network treasury funds and a way to propose, approve, and deny expenses.
approveProposal(proposalId)- Approve a proposal. Once approved, the proposal will be allocated to the beneficiary and the original deposit will be returned.
proposeSpend(value, beneficiary)- Propose spending. A deposit proportional to the value is reserved and slashed if the proposal is rejected. The deposit is returned once the proposal is approved.
rejectProposal(proposalId)- Reject a proposed spend. The original deposit will be slashed.
removeApproval(proposalId)- Force a previously approved proposal to be removed from the approval queue. The original deposit won't be returned.
spend(amount, beneficiary)- Propose and approve a spend of treasury funds.