Function democracy::pallet::dispatchables::propose
source · pub fn propose<T: Config>(
proposal: BoundedCallOf<T>,
value: <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance
)
Expand description
Propose a sensitive action to be taken.
The dispatch origin of this call must be Signed and the sender must have funds to cover the deposit.
proposal_hash
: The hash of the proposal preimage.value
: The amount of deposit (must be at leastMinimumDeposit
).
Emits Proposed
.
Weight: O(p)
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::propose
.