Function pallet_parameters::pallet::dispatchables::set_parameter
source · pub fn set_parameter<T: Config>(key_value: T::RuntimeParameters)
Expand description
Set the value of a parameter.
The dispatch origin of this call must be AdminOrigin
for the given key
. Values be
deleted by setting them to None
.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::set_parameter
.