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 infominimum_support
: Minimum amount of positive votes out of total token supply required to approve a proposalrequired_approval
: Minimum amount of positive votes out of current positive + negative votes required to approve a proposalcreation_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
.