referrerpolicy=no-referrer-when-downgrade

Type Alias pallet_bridge_relayers::pallet::RelayerRewards

source ·
pub type RelayerRewards<T: Config<I>, I: 'static = ()> = StorageDoubleMap<_GeneratedPrefixForStorageRelayerRewards<T, I>, <RelayerRewardsKeyProvider<<T as Config>::AccountId, <T as Config<I>>::Reward, <T as Config<I>>::LaneId> as StorageDoubleMapKeyProvider>::Hasher1, <RelayerRewardsKeyProvider<<T as Config>::AccountId, <T as Config<I>>::Reward, <T as Config<I>>::LaneId> as StorageDoubleMapKeyProvider>::Key1, <RelayerRewardsKeyProvider<<T as Config>::AccountId, <T as Config<I>>::Reward, <T as Config<I>>::LaneId> as StorageDoubleMapKeyProvider>::Hasher2, <RelayerRewardsKeyProvider<<T as Config>::AccountId, <T as Config<I>>::Reward, <T as Config<I>>::LaneId> as StorageDoubleMapKeyProvider>::Key2, <RelayerRewardsKeyProvider<<T as Config>::AccountId, <T as Config<I>>::Reward, <T as Config<I>>::LaneId> as StorageDoubleMapKeyProvider>::Value, OptionQuery>;
Expand description

Map of the relayer => accumulated reward.

Storage type is [StorageDoubleMap] with key1 type < RelayerRewardsKeyProviderOf < T, I > as StorageDoubleMapKeyProvider > :: Key1, key2 type < RelayerRewardsKeyProviderOf < T, I > as StorageDoubleMapKeyProvider > :: Key2 and value type < RelayerRewardsKeyProviderOf < T, I > as StorageDoubleMapKeyProvider > :: Value.

Aliased Type§

struct RelayerRewards<T: Config<I>, I: 'static = ()>(/* private fields */);