pub fn delegate<T: Config>(
    collator: T::AccountId,
    amount: BalanceOf<T>,
    use_balance_from: Option<BondKind>,
    candidate_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

Warning: Doc-Only

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