Documentation ¶
Overview ¶
nolint
Index ¶
- Constants
- Variables
- func BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock, k keeper.Keeper)
- func InitGenesis(ctx sdk.Context, keeper Keeper, data types.GenesisState)
- func NewHandler(k keeper.Keeper) sdk.Handler
- func WriteGenesis(ctx sdk.Context, keeper Keeper) types.GenesisState
- type DelegationDistInfo
- type DelegatorWithdrawInfo
- type FeePool
- type GenesisState
- type Hooks
- type Keeper
- type MsgSetWithdrawAddress
- type MsgWithdrawDelegatorReward
- type MsgWithdrawDelegatorRewardsAll
- type MsgWithdrawValidatorRewardsAll
- type TotalAccum
- type ValidatorDistInfo
Constants ¶
View Source
const ( DefaultCodespace = types.DefaultCodespace CodeInvalidInput = types.CodeInvalidInput )
Variables ¶
View Source
var ( NewKeeper = keeper.NewKeeper GetValidatorDistInfoKey = keeper.GetValidatorDistInfoKey GetDelegationDistInfoKey = keeper.GetDelegationDistInfoKey GetDelegationDistInfosKey = keeper.GetDelegationDistInfosKey GetDelegatorWithdrawAddrKey = keeper.GetDelegatorWithdrawAddrKey FeePoolKey = keeper.FeePoolKey ValidatorDistInfoKey = keeper.ValidatorDistInfoKey DelegationDistInfoKey = keeper.DelegationDistInfoKey DelegatorWithdrawInfoKey = keeper.DelegatorWithdrawInfoKey ProposerKey = keeper.ProposerKey DefaultParamspace = keeper.DefaultParamspace InitialFeePool = types.InitialFeePool NewGenesisState = types.NewGenesisState DefaultGenesisState = types.DefaultGenesisState DefaultGenesisWithValidators = types.DefaultGenesisWithValidators RegisterCodec = types.RegisterCodec NewMsgSetWithdrawAddress = types.NewMsgSetWithdrawAddress NewMsgWithdrawDelegatorRewardsAll = types.NewMsgWithdrawDelegatorRewardsAll NewMsgWithdrawDelegatorReward = types.NewMsgWithdrawDelegatorReward NewMsgWithdrawValidatorRewardsAll = types.NewMsgWithdrawValidatorRewardsAll )
View Source
var ( ErrNilDelegatorAddr = types.ErrNilDelegatorAddr ErrNilWithdrawAddr = types.ErrNilWithdrawAddr ErrNilValidatorAddr = types.ErrNilValidatorAddr )
View Source
var ( ActionModifyWithdrawAddress = tags.ActionModifyWithdrawAddress ActionWithdrawDelegatorRewardsAll = tags.ActionWithdrawDelegatorRewardsAll ActionWithdrawDelegatorReward = tags.ActionWithdrawDelegatorReward ActionWithdrawValidatorRewardsAll = tags.ActionWithdrawValidatorRewardsAll TagAction = tags.Action TagValidator = tags.Validator TagDelegator = tags.Delegator )
Functions ¶
func BeginBlocker ¶
set the proposer for determining distribution during endblock
func InitGenesis ¶
func InitGenesis(ctx sdk.Context, keeper Keeper, data types.GenesisState)
InitGenesis sets distribution information for genesis
func WriteGenesis ¶
func WriteGenesis(ctx sdk.Context, keeper Keeper) types.GenesisState
WriteGenesis returns a GenesisState for a given context and keeper. The GenesisState will contain the pool, and validator/delegator distribution info's
Types ¶
type DelegationDistInfo ¶
type DelegationDistInfo = types.DelegationDistInfo
type DelegatorWithdrawInfo ¶
type DelegatorWithdrawInfo = types.DelegatorWithdrawInfo
type GenesisState ¶
type GenesisState = types.GenesisState
type MsgSetWithdrawAddress ¶
type MsgSetWithdrawAddress = types.MsgSetWithdrawAddress
type MsgWithdrawDelegatorReward ¶
type MsgWithdrawDelegatorReward = types.MsgWithdrawDelegatorReward
type MsgWithdrawDelegatorRewardsAll ¶
type MsgWithdrawDelegatorRewardsAll = types.MsgWithdrawDelegatorRewardsAll
type MsgWithdrawValidatorRewardsAll ¶
type MsgWithdrawValidatorRewardsAll = types.MsgWithdrawValidatorRewardsAll
type TotalAccum ¶
type TotalAccum = types.TotalAccum
type ValidatorDistInfo ¶
type ValidatorDistInfo = types.ValidatorDistInfo
Click to show internal directories.
Click to hide internal directories.