pub fn withdraw_rewards<T: Config>(
    vault_id: VaultId<<T as Config>::AccountId, CurrencyId<T>>,
    index: Option<T::Nonce>
)
Expand description

Withdraw all rewards from the origin account in the vault_id staking pool.

Arguments

  • origin - signing account

Warning: Doc-Only

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