Documentation ¶
Overview ¶
nolint
Index ¶
- Constants
- Variables
- func BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock, k keeper.Keeper)
- func ExportGenesis(ctx sdk.Context, keeper Keeper) types.GenesisState
- func InitGenesis(ctx sdk.Context, keeper Keeper, data types.GenesisState)
- func NewHandler(k keeper.Keeper) sdk.Handler
- type BankKeeper
- type FeeCollectionKeeper
- type GenesisState
- type Hooks
- type Keeper
- type MsgSetWithdrawAddress
- type MsgWithdrawDelegatorReward
- type MsgWithdrawValidatorCommission
- type QueryDelegationRewardsParams
- type QueryValidatorCommissionParams
- type QueryValidatorSlashesParams
- type StakingKeeper
Constants ¶
View Source
const ( DefaultCodespace = types.DefaultCodespace CodeInvalidInput = types.CodeInvalidInput StoreKey = types.StoreKey TStoreKey = types.TStoreKey RouterKey = types.RouterKey QuerierRoute = types.QuerierRoute )
Variables ¶
View Source
var ( ErrNilDelegatorAddr = types.ErrNilDelegatorAddr ErrNilWithdrawAddr = types.ErrNilWithdrawAddr ErrNilValidatorAddr = types.ErrNilValidatorAddr TagValidator = tags.Validator TagDelegator = tags.Delegator NewMsgSetWithdrawAddress = types.NewMsgSetWithdrawAddress NewMsgWithdrawDelegatorReward = types.NewMsgWithdrawDelegatorReward NewMsgWithdrawValidatorCommission = types.NewMsgWithdrawValidatorCommission NewKeeper = keeper.NewKeeper NewQuerier = keeper.NewQuerier NewQueryValidatorCommissionParams = keeper.NewQueryValidatorCommissionParams NewQueryValidatorSlashesParams = keeper.NewQueryValidatorSlashesParams NewQueryDelegationRewardsParams = keeper.NewQueryDelegationRewardsParams DefaultParamspace = keeper.DefaultParamspace RegisterCodec = types.RegisterCodec DefaultGenesisState = types.DefaultGenesisState ValidateGenesis = types.ValidateGenesis InitialFeePool = types.InitialFeePool )
Functions ¶
func BeginBlocker ¶ added in v0.25.0
set the proposer for determining distribution during endblock
func ExportGenesis ¶ added in v0.26.0
func ExportGenesis(ctx sdk.Context, keeper Keeper) types.GenesisState
ExportGenesis returns a GenesisState for a given context and keeper.
func InitGenesis ¶ added in v0.25.0
func InitGenesis(ctx sdk.Context, keeper Keeper, data types.GenesisState)
InitGenesis sets distribution information for genesis
Types ¶
type BankKeeper ¶ added in v0.25.0
type BankKeeper = types.BankKeeper
type FeeCollectionKeeper ¶ added in v0.25.0
type FeeCollectionKeeper = types.FeeCollectionKeeper
type GenesisState ¶ added in v0.25.0
type GenesisState = types.GenesisState
type MsgSetWithdrawAddress ¶ added in v0.25.0
type MsgSetWithdrawAddress = types.MsgSetWithdrawAddress
type MsgWithdrawDelegatorReward ¶ added in v0.25.0
type MsgWithdrawDelegatorReward = types.MsgWithdrawDelegatorReward
type MsgWithdrawValidatorCommission ¶ added in v0.30.0
type MsgWithdrawValidatorCommission = types.MsgWithdrawValidatorCommission
type QueryDelegationRewardsParams ¶ added in v0.30.0
type QueryDelegationRewardsParams = keeper.QueryDelegationRewardsParams
type QueryValidatorCommissionParams ¶ added in v0.30.0
type QueryValidatorCommissionParams = keeper.QueryValidatorCommissionParams
querier param types
type QueryValidatorSlashesParams ¶ added in v0.30.0
type QueryValidatorSlashesParams = keeper.QueryValidatorSlashesParams
Click to show internal directories.
Click to hide internal directories.