[−][src]Trait pallet_dapps_staking::Trait
Associated Types
type Currency: LockableCurrency<Self::AccountId, Moment = Self::BlockNumber>
The staking balance.
type ContractFinder: ContractFinder<Self::AccountId, StakingParameters>
type BondingDuration: Get<EraIndex>
Number of eras that staked funds must remain bonded for.
type RewardRemainder: OnUnbalanced<<Self::Currency as Currency<Self::AccountId>>::NegativeImbalance>
Tokens have been minted and are unused for validator-reward. Maybe, dapps-staking uses ().
type Reward: OnUnbalanced<<Self::Currency as Currency<Self::AccountId>>::PositiveImbalance>
Handler for the unbalanced increment when rewarding a staker. Maybe, dapps-staking uses ().
type Time: Time
Time used for computing era duration.
type ComputeRewardsForDapps: ComputeRewardsForDapps
type EraFinder: EraFinder<EraIndex, SessionIndex, MomentOf<Self>>
The information of era.
type ForDappsEraReward: ForDappsEraRewardFinder<BalanceOf<Self>>
The rewards for dapps operator.
type HistoryDepthFinder: HistoryDepthFinder
the history depth
type Event: From<Event<Self>> + Into<Self::Event>
The overarching event type.