Expand description

The module that hosts all the FRAME types needed to add this pallet to a runtime.

Re-exports

  • pub use __tt_error_token_1 as tt_error_token;
  • pub use __tt_default_parts_7 as tt_default_parts;

Structs

Enums

Traits

  • Configuration trait of this pallet.

Type Definitions

  • A record of who vetoed what. Maps proposal hash to a possible existent block number (until when it may not be resubmitted) and who vetoed it.
  • Record of all proposals that have been subject to emergency cancellation.
  • Those who have locked a deposit.
  • True if the last referendum tabled was submitted externally. False if it was a public proposal.
  • The lowest referendum index representing an unbaked referendum. Equal to ReferendumCount if there isn’t a unbaked referendum.
  • ModuleDeprecated
    Type alias to Pallet, to be used by construct_runtime.
  • The referendum to be tabled whenever it would be valid to table an external proposal. This happens when a referendum needs to be tabled and one of two conditions are met:
  • The number of (public) proposals that have been made so far.
  • The public proposals. Unsorted. The second item is the proposal.
  • The next free referendum index, aka the number of referenda started so far.
  • Information concerning any given referendum.
  • All votes for a particular voter. We store the balance for the number of votes that we have recorded. The second item is the total amount of delegations, that will be added.