Documentation ¶
Index ¶
Constants ¶
View Source
const ( EventTypeDistSequencerRewards = "sequencer_rewards" AttributeKeySequencer = "sequencer" )
Minting module event types.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SequencerKeeper ¶
type SequencerKeeper interface {
GetSequencerByConsAddr(ctx sdk.Context, consAddr sdk.ConsAddress) (stakingtypes.Validator, bool)
}
StakingKeeper expected staking keeper (noalias)
type StakingKeeper ¶
type StakingKeeper interface { GetLastTotalPower(ctx sdk.Context) math.Int // iterate through validators by operator address, execute func for each validator IterateValidators(sdk.Context, func(index int64, validator stakingtypes.ValidatorI) (stop bool)) // iterate through bonded validators by operator address, execute func for each validator IterateBondedValidatorsByPower(sdk.Context, func(index int64, validator stakingtypes.ValidatorI) (stop bool)) Validator(sdk.Context, sdk.ValAddress) stakingtypes.ValidatorI // get a particular validator by operator address ValidatorByConsAddr(sdk.Context, sdk.ConsAddress) stakingtypes.ValidatorI // get a particular validator by consensus address // Delegation allows for getting a particular delegation for a given validator // and delegator outside the scope of the staking module. Delegation(sdk.Context, sdk.AccAddress, sdk.ValAddress) stakingtypes.DelegationI IterateDelegations(ctx sdk.Context, delegator sdk.AccAddress, fn func(index int64, delegation stakingtypes.DelegationI) (stop bool)) GetAllSDKDelegations(ctx sdk.Context) []stakingtypes.Delegation }
StakingKeeper expected staking keeper (noalias)
Click to show internal directories.
Click to hide internal directories.