pub fn set_threshold<T: Config>(amount: BalanceOf<T>)
Expand description
The extrinsic allows setting a new threshold
§Flow
- Ensure the origin is the root account.
- Ensure the new threshold amount is different from the current threshold.
- Emit a
Event::ThresholdReset
event. - Set the new threshold amount.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::set_threshold
.