referrerpolicy=no-referrer-when-downgrade

Function pallet_bags_list::pallet::dispatchables::put_in_front_of

source ·
pub fn put_in_front_of<T: Config<I>, I: 'static>(
    lighter: <<T as Config>::Lookup as StaticLookup>::Source,
)
Expand description

Move the caller’s Id directly in front of lighter.

The dispatch origin for this call must be Signed and can only be called by the Id of the account going in front of lighter. Fee is payed by the origin under all circumstances.

Only works if:

  • both nodes are within the same bag,
  • and origin has a greater Score than lighter.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::put_in_front_of.