Function pallet_inv4::pallet::dispatchables::create_core

source ·
pub fn create_core<T: Config>(
    metadata: BoundedVec<u8, T::MaxMetadata>,
    minimum_support: Perbill,
    required_approval: Perbill,
    creation_fee_asset: FeeAsset,
)
Expand description

Create a new core

  • metadata: Arbitrary byte vec to be attached to the core info
  • minimum_support: Minimum amount of positive votes out of total token supply required to approve a proposal
  • required_approval: Minimum amount of positive votes out of current positive + negative votes required to approve a proposal
  • creation_fee_asset: Token to be used to pay the core creation fee

§Warning: Doc-Only

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