Function pallet_ocif_staking::pallet::dispatchables::register_core

source ·
pub fn register_core<T: Config>(
    name: BoundedVec<u8, T::MaxNameLength>,
    description: BoundedVec<u8, T::MaxDescriptionLength>,
    image: BoundedVec<u8, T::MaxImageUrlLength>,
)
Expand description

Used to register core for staking.

The origin has to be the core origin.

As part of this call, RegisterDeposit will be reserved from the core account.

  • name: Name of the core.
  • description: Description of the core.
  • image: Image URL of the core.

§Warning: Doc-Only

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