Structs§
- Global
Params Data - Update the global parameters configuration, like, max and min name lengths, and other validations. All values are set within default storage values.
- Proposal
- A network proposal created by the community. Core part of the DAO.
- Unrewarded
Proposal
Enums§
- Proposal
Data - The proposal type and data.
- Proposal
Status
Functions§
- add_
dao_ treasury_ transfer_ proposal - Create a treasury transfer proposal with metadata.
- add_
emission_ proposal - Creates a new emissions proposal. Only valid if
recycling_percentage + treasury_percentage <= u128::MAX
. - add_
global_ custom_ proposal - Create global custom proposal with metadata.
- add_
global_ params_ proposal - Create global update parameters proposal with metadata.
- get_
reward_ allocation - Calculates the total balance to be rewarded for a proposal.
- tick_
proposal_ rewards - Processes the proposal reward queue and distributes rewards for all voters.
- tick_
proposals - Every 100 blocks, iterates through all pending proposals and executes the ones eligible.