referrerpolicy=no-referrer-when-downgrade

PotAccountProvider

Trait PotAccountProvider 

Source
pub trait PotAccountProvider<AccountId> {
    // Required method
    fn pot_account(pot: RewardPot) -> AccountId;
}
Expand description

Trait for generating reward pot account IDs.

Required Methods§

Source

fn pot_account(pot: RewardPot) -> AccountId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<AccountId> PotAccountProvider<AccountId> for SequentialTest
where AccountId: From<u64>,

Available on crate feature std only.
Source§

impl<AccountId, S> PotAccountProvider<AccountId> for Seed<S>
where AccountId: FullCodec, S: Get<PalletId>,