Expand description
Functions§
- blacklist
- Permanently place a proposal into the blacklist. This prevents it from ever being proposed again.
- cancel_
proposal - Remove a proposal.
- cancel_
referendum - Remove a referendum.
- clear_
public_ proposals - Clears all public proposals.
- delegate
- Delegate the voting power (with some given conviction) of the sending account.
- emergency_
cancel - Schedule an emergency cancellation of a referendum. Cannot happen twice to the same referendum.
- external_
propose - Schedule a referendum to be tabled once it is legal to schedule an external referendum.
- external_
propose_ default - Schedule a negative-turnout-bias referendum to be tabled next once it is legal to schedule an external referendum.
- external_
propose_ majority - Schedule a majority-carries referendum to be tabled next once it is legal to schedule an external referendum.
- fast_
track - Schedule the currently externally-proposed majority-carries referendum to be tabled immediately. If there is no externally-proposed referendum currently, or if there is one but it is not a majority-carries referendum then it fails.
- propose
- Propose a sensitive action to be taken.
- remove_
other_ vote - Remove a vote for a referendum.
- remove_
vote - Remove a vote for a referendum.
- second
- Signals agreement with a particular proposal.
- set_
metadata - Set or clear a metadata of a proposal or a referendum.
- undelegate
- Undelegate the voting power of the sending account.
- unlock
- Unlock tokens that have an expired lock.
- veto_
external - Veto and blacklist the external proposal hash.
- vote
- Vote in a referendum. If
vote.is_aye()
, the vote is to enact the proposal; otherwise it is a vote to keep the status quo.