Function pallet_inv4::pallet::dispatchables::set_parameters
source · pub fn set_parameters<T: Config>(
metadata: Option<BoundedVec<u8, T::MaxMetadata>>,
minimum_support: Option<Perbill>,
required_approval: Option<Perbill>,
frozen_tokens: Option<bool>,
)
Expand description
Change core parameters incl. voting thresholds and token freeze state (called by a core origin)
metadata
: Arbitrary byte vec to be attached to the core infominimum_support
: Minimum amount of positive votes out of total token supply required to approve a proposalrequired_approval
: Minimum amount of positive votes out of current positive + negative votes required to approve a proposalfrozen_tokens
: Wheter or not the core’s voting token should be transferable by the holders
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::set_parameters
.