[][src]Crate srml_treasury

Treasury Module

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.

Overview

The Treasury Module itself provides the pot to store funds, and a means for stakeholders to propose, approve, and deny expendatures. 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.

Terminology

Implementations

The treasury module provides an implementation for the following trait:

Interface

Dispatchable Functions

GenesisConfig

The Treasury module depends on the GenesisConfig.

Structs

Module
Proposal

A spending proposal.

Enums

Call
RawEvent

Events for this module.

Traits

Trait

Type Definitions

Event

RawEvent specialized for the configuration Trait