Function pallet_bags_list::pallet::dispatchables::rebag
source · pub fn rebag<T: Config<I>, I: 'static>(
dislocated: <<T as Config>::Lookup as StaticLookup>::Source,
)
Expand description
Declare that some dislocated
account has, through rewards or penalties, sufficiently
changed its score that it should properly fall into a different bag than its current
one.
Anyone can call this function about any potentially dislocated account.
Will always update the stored score of dislocated
to the correct score, based on
ScoreProvider
.
If dislocated
does not exists, it returns an error.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::rebag
.