Trait xcm_calls::staking::StakingCallEncoder[][src]

pub trait StakingCallEncoder<Source, Balance, AccountId>: PalletCallEncoder {
    type CompactBalanceEncoder: EncodeWith<Balance, Self::Context>;
    type SourceEncoder: EncodeWith<Source, Self::Context>;
    type AccountIdEncoder: EncodeWith<AccountId, Self::Context>;
}
Expand description

Provides encoder types to encode the associated types of the pallet_staking::Config trait depending on the configured Context.

Associated Types

Encodes the <pallet_staking::Config>::Balance depending on the context

Encodes the <pallet_staking::Config>::Source depending on the context

Encodes the <pallet_staking::Config>::AccountId depending on the context

Implementors