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
type CompactBalanceEncoder: EncodeWith<Balance, Self::Context>
type CompactBalanceEncoder: EncodeWith<Balance, Self::Context>
Encodes the <pallet_staking::Config>::Balance
depending on the context
type SourceEncoder: EncodeWith<Source, Self::Context>
type SourceEncoder: EncodeWith<Source, Self::Context>
Encodes the <pallet_staking::Config>::Source
depending on the context
type AccountIdEncoder: EncodeWith<AccountId, Self::Context>
type AccountIdEncoder: EncodeWith<AccountId, Self::Context>
Encodes the <pallet_staking::Config>::AccountId
depending on the
context