pub fn delegate_with_auto_compound<T: Config>(
candidate: T::AccountId,
amount: BalanceOf<T>,
auto_compound: Percent,
candidate_delegation_count: u32,
candidate_auto_compounding_delegation_count: u32,
delegation_count: u32
)
Expand description
If caller is not a delegator and not a collator, then join the set of delegators If caller is a delegator, then makes delegation to change their delegation state Sets the auto-compound config for the delegation
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::delegate_with_auto_compound
.