Documentation ¶
Overview ¶
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/terra-project/core/x/distribution/internal/types/
nolint
Index ¶
- Constants
- Variables
- type AppModule
- func (am AppModule) BeginBlock(ctx sdk.Context, rbb abci.RequestBeginBlock)
- func (am AppModule) EndBlock(ctx sdk.Context, rbb abci.RequestEndBlock) []abci.ValidatorUpdate
- func (am AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage
- func (am AppModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate
- func (am AppModule) Name() string
- func (am AppModule) NewHandler() sdk.Handler
- func (am AppModule) NewQuerierHandler() sdk.Querier
- func (am AppModule) QuerierRoute() string
- func (am AppModule) RegisterInvariants(ir sdk.InvariantRegistry)
- func (am AppModule) Route() string
- type AppModuleBasic
- func (AppModuleBasic) DefaultGenesis() json.RawMessage
- func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
- func (AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command
- func (AppModuleBasic) Name() string
- func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)
- func (AppModuleBasic) RegisterRESTRoutes(cliCtx context.CLIContext, route *mux.Router)
- func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
- type CodeType
- type CommunityPoolSpendProposal
- type CosmosAppModule
- type CosmosAppModuleBasic
- type DelegationDelegatorReward
- type DelegatorStartingInfo
- type DelegatorStartingInfoRecord
- type DelegatorWithdrawInfo
- type FeePool
- type GenesisState
- type Hooks
- type Keeper
- type MsgSetWithdrawAddress
- type MsgWithdrawDelegatorReward
- type MsgWithdrawValidatorCommission
- type QueryDelegationRewardsParams
- type QueryDelegatorParams
- type QueryDelegatorTotalRewardsResponse
- type QueryDelegatorWithdrawAddrParams
- type QueryValidatorCommissionParams
- type QueryValidatorOutstandingRewardsParams
- type QueryValidatorSlashesParams
- type ValidatorAccumulatedCommission
- type ValidatorAccumulatedCommissionRecord
- type ValidatorCurrentRewards
- type ValidatorCurrentRewardsRecord
- type ValidatorHistoricalRewards
- type ValidatorHistoricalRewardsRecord
- type ValidatorOutstandingRewards
- type ValidatorOutstandingRewardsRecord
- type ValidatorSlashEvent
- type ValidatorSlashEventRecord
- type ValidatorSlashEvents
Constants ¶
const ( DefaultParamspace = distr.DefaultParamspace DefaultCodespace = distr.DefaultCodespace CodeInvalidInput = distr.CodeInvalidInput CodeNoDistributionInfo = distr.CodeNoDistributionInfo CodeNoValidatorCommission = distr.CodeNoValidatorCommission CodeSetWithdrawAddrDisabled = distr.CodeSetWithdrawAddrDisabled ModuleName = distr.ModuleName StoreKey = distr.StoreKey RouterKey = distr.RouterKey QuerierRoute = distr.QuerierRoute ProposalTypeCommunityPoolSpend = distr.ProposalTypeCommunityPoolSpend QueryParams = distr.QueryParams QueryValidatorOutstandingRewards = distr.QueryValidatorOutstandingRewards QueryValidatorCommission = distr.QueryValidatorCommission QueryValidatorSlashes = distr.QueryValidatorSlashes QueryDelegationRewards = distr.QueryDelegationRewards QueryDelegatorTotalRewards = distr.QueryDelegatorTotalRewards QueryDelegatorValidators = distr.QueryDelegatorValidators QueryWithdrawAddr = distr.QueryWithdrawAddr QueryCommunityPool = distr.QueryCommunityPool ParamCommunityTax = distr.ParamCommunityTax ParamBaseProposerReward = distr.ParamBaseProposerReward ParamBonusProposerReward = distr.ParamBonusProposerReward ParamWithdrawAddrEnabled = distr.ParamWithdrawAddrEnabled )
Variables ¶
var ( // functions aliases RegisterCodec = types.RegisterCodec // variable aliases ModuleCdc = types.ModuleCdc )
var ( // functions aliases RegisterInvariants = distr.RegisterInvariants AllInvariants = distr.AllInvariants NonNegativeOutstandingInvariant = distr.NonNegativeOutstandingInvariant CanWithdrawInvariant = distr.CanWithdrawInvariant ReferenceCountInvariant = distr.ReferenceCountInvariant ModuleAccountInvariant = distr.ModuleAccountInvariant NewKeeper = distr.NewKeeper GetValidatorOutstandingRewardsAddress = distr.GetValidatorOutstandingRewardsAddress GetDelegatorWithdrawInfoAddress = distr.GetDelegatorWithdrawInfoAddress GetDelegatorStartingInfoAddresses = distr.GetDelegatorStartingInfoAddresses GetValidatorHistoricalRewardsAddressPeriod = distr.GetValidatorHistoricalRewardsAddressPeriod GetValidatorCurrentRewardsAddress = distr.GetValidatorCurrentRewardsAddress GetValidatorAccumulatedCommissionAddress = distr.GetValidatorAccumulatedCommissionAddress GetValidatorSlashEventAddressHeight = distr.GetValidatorSlashEventAddressHeight GetValidatorOutstandingRewardsKey = distr.GetValidatorOutstandingRewardsKey GetDelegatorWithdrawAddrKey = distr.GetDelegatorWithdrawAddrKey GetDelegatorStartingInfoKey = distr.GetDelegatorStartingInfoKey GetValidatorHistoricalRewardsPrefix = distr.GetValidatorHistoricalRewardsPrefix GetValidatorHistoricalRewardsKey = distr.GetValidatorHistoricalRewardsKey GetValidatorCurrentRewardsKey = distr.GetValidatorCurrentRewardsKey GetValidatorAccumulatedCommissionKey = distr.GetValidatorAccumulatedCommissionKey GetValidatorSlashEventPrefix = distr.GetValidatorSlashEventPrefix GetValidatorSlashEventKey = distr.GetValidatorSlashEventKey GetValidatorSlashEventKeyPrefix = distr.GetValidatorSlashEventKeyPrefix ParamKeyTable = distr.ParamKeyTable HandleCommunityPoolSpendProposal = distr.HandleCommunityPoolSpendProposal NewQuerier = distr.NewQuerier MakeTestCodec = distr.MakeTestCodec CreateTestInputDefault = distr.CreateTestInputDefault CreateTestInputAdvanced = distr.CreateTestInputAdvanced NewDelegatorStartingInfo = distr.NewDelegatorStartingInfo ErrNilDelegatorAddr = distr.ErrNilDelegatorAddr ErrNilWithdrawAddr = distr.ErrNilWithdrawAddr ErrNilValidatorAddr = distr.ErrNilValidatorAddr ErrNoDelegationDistInfo = distr.ErrNoDelegationDistInfo ErrNoValidatorDistInfo = distr.ErrNoValidatorDistInfo ErrNoValidatorCommission = distr.ErrNoValidatorCommission ErrSetWithdrawAddrDisabled = distr.ErrSetWithdrawAddrDisabled ErrBadDistribution = distr.ErrBadDistribution ErrInvalidProposalAmount = distr.ErrInvalidProposalAmount ErrEmptyProposalRecipient = distr.ErrEmptyProposalRecipient InitialFeePool = distr.InitialFeePool NewMsgSetWithdrawAddress = distr.NewMsgSetWithdrawAddress NewMsgWithdrawDelegatorReward = distr.NewMsgWithdrawDelegatorReward NewMsgWithdrawValidatorCommission = distr.NewMsgWithdrawValidatorCommission NewCommunityPoolSpendProposal = distr.NewCommunityPoolSpendProposal NewQueryValidatorOutstandingRewardsParams = distr.NewQueryValidatorOutstandingRewardsParams NewQueryValidatorCommissionParams = distr.NewQueryValidatorCommissionParams NewQueryValidatorSlashesParams = distr.NewQueryValidatorSlashesParams NewQueryDelegationRewardsParams = distr.NewQueryDelegationRewardsParams NewQueryDelegatorParams = distr.NewQueryDelegatorParams NewQueryDelegatorWithdrawAddrParams = distr.NewQueryDelegatorWithdrawAddrParams NewQueryDelegatorTotalRewardsResponse = distr.NewQueryDelegatorTotalRewardsResponse NewDelegationDelegatorReward = distr.NewDelegationDelegatorReward NewValidatorHistoricalRewards = distr.NewValidatorHistoricalRewards NewValidatorCurrentRewards = distr.NewValidatorCurrentRewards InitialValidatorAccumulatedCommission = distr.InitialValidatorAccumulatedCommission NewValidatorSlashEvent = distr.NewValidatorSlashEvent NewCommunityPoolSpendProposalHandler = distr.NewCommunityPoolSpendProposalHandler NewCosmosAppModule = distr.NewAppModule // variable aliases FeePoolKey = distr.FeePoolKey ProposerKey = distr.ProposerKey ValidatorOutstandingRewardsPrefix = distr.ValidatorOutstandingRewardsPrefix DelegatorWithdrawAddrPrefix = distr.DelegatorWithdrawAddrPrefix DelegatorStartingInfoPrefix = distr.DelegatorStartingInfoPrefix ValidatorHistoricalRewardsPrefix = distr.ValidatorHistoricalRewardsPrefix ValidatorCurrentRewardsPrefix = distr.ValidatorCurrentRewardsPrefix ValidatorAccumulatedCommissionPrefix = distr.ValidatorAccumulatedCommissionPrefix ValidatorSlashEventPrefix = distr.ValidatorSlashEventPrefix ParamStoreKeyCommunityTax = distr.ParamStoreKeyCommunityTax ParamStoreKeyBaseProposerReward = distr.ParamStoreKeyBaseProposerReward ParamStoreKeyBonusProposerReward = distr.ParamStoreKeyBonusProposerReward ParamStoreKeyWithdrawAddrEnabled = distr.ParamStoreKeyWithdrawAddrEnabled TestAddrs = distr.TestAddrs EventTypeRewards = distr.EventTypeRewards EventTypeCommission = distr.EventTypeCommission AttributeValueCategory = distr.AttributeValueCategory AttributeKeyValidator = distr.AttributeKeyValidator CosmosModuleCdc = distr.ModuleCdc )
Functions ¶
This section is empty.
Types ¶
type AppModule ¶ added in v0.3.0
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
AppModule implements an application module for the distribution module.
func NewAppModule ¶ added in v0.3.0
func NewAppModule(keeper Keeper, supplyKeeper types.SupplyKeeper) AppModule
NewAppModule creates a new AppModule object
func (AppModule) BeginBlock ¶ added in v0.3.0
func (am AppModule) BeginBlock(ctx sdk.Context, rbb abci.RequestBeginBlock)
BeginBlock returns the begin blocker for the distribution module.
func (AppModule) EndBlock ¶ added in v0.3.0
func (am AppModule) EndBlock(ctx sdk.Context, rbb abci.RequestEndBlock) []abci.ValidatorUpdate
EndBlock returns the end blocker for the distribution module.
func (AppModule) ExportGenesis ¶ added in v0.3.0
func (am AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage
ExportGenesis returns the exported genesis state as raw bytes for the distribution module.
func (AppModule) InitGenesis ¶ added in v0.3.0
func (am AppModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate
InitGenesis performs genesis initialization for the distribution module.
func (AppModule) NewHandler ¶ added in v0.3.0
NewHandler returns an sdk.Handler for the distribution module.
func (AppModule) NewQuerierHandler ¶ added in v0.3.0
NewQuerierHandler returns the distribution module sdk.Querier.
func (AppModule) QuerierRoute ¶ added in v0.3.0
QuerierRoute returns the distribution module's querier route name.
func (AppModule) RegisterInvariants ¶ added in v0.3.0
func (am AppModule) RegisterInvariants(ir sdk.InvariantRegistry)
RegisterInvariants registers the distribution module invariants.
type AppModuleBasic ¶ added in v0.3.0
type AppModuleBasic struct{}
AppModuleBasic defines the basic application module used by the distribution module.
func (AppModuleBasic) DefaultGenesis ¶ added in v0.3.0
func (AppModuleBasic) DefaultGenesis() json.RawMessage
DefaultGenesis returns default genesis state as raw bytes for the distribution module.
func (AppModuleBasic) GetQueryCmd ¶ added in v0.3.0
func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
GetQueryCmd returns the root query command for the distribution module.
func (AppModuleBasic) GetTxCmd ¶ added in v0.3.0
func (AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command
GetTxCmd returns the root tx command for the distribution module.
func (AppModuleBasic) Name ¶ added in v0.3.0
func (AppModuleBasic) Name() string
Name returns the distribution module's name
func (AppModuleBasic) RegisterCodec ¶ added in v0.3.0
func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)
RegisterCodec registers the distribution module's types for the given codec.
func (AppModuleBasic) RegisterRESTRoutes ¶ added in v0.3.0
func (AppModuleBasic) RegisterRESTRoutes(cliCtx context.CLIContext, route *mux.Router)
RegisterRESTRoutes registers the REST routes for the distribution module.
func (AppModuleBasic) ValidateGenesis ¶ added in v0.3.0
func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
ValidateGenesis performs genesis state validation for the distribution module.
type CommunityPoolSpendProposal ¶ added in v0.3.0
type CommunityPoolSpendProposal = distr.CommunityPoolSpendProposal
type CosmosAppModule ¶ added in v0.3.0
type CosmosAppModuleBasic ¶ added in v0.3.0
type CosmosAppModuleBasic = distr.AppModuleBasic
type DelegationDelegatorReward ¶ added in v0.3.0
type DelegationDelegatorReward = distr.DelegationDelegatorReward
type DelegatorStartingInfo ¶ added in v0.3.0
type DelegatorStartingInfo = distr.DelegatorStartingInfo
type DelegatorStartingInfoRecord ¶ added in v0.3.0
type DelegatorStartingInfoRecord = distr.DelegatorStartingInfoRecord
type DelegatorWithdrawInfo ¶ added in v0.3.0
type DelegatorWithdrawInfo = distr.DelegatorWithdrawInfo
type GenesisState ¶ added in v0.3.0
type GenesisState = distr.GenesisState
type MsgSetWithdrawAddress ¶ added in v0.3.0
type MsgSetWithdrawAddress = distr.MsgSetWithdrawAddress
type MsgWithdrawDelegatorReward ¶ added in v0.3.0
type MsgWithdrawDelegatorReward = distr.MsgWithdrawDelegatorReward
type MsgWithdrawValidatorCommission ¶ added in v0.3.0
type MsgWithdrawValidatorCommission = distr.MsgWithdrawValidatorCommission
type QueryDelegationRewardsParams ¶ added in v0.3.0
type QueryDelegationRewardsParams = distr.QueryDelegationRewardsParams
type QueryDelegatorParams ¶ added in v0.3.0
type QueryDelegatorParams = distr.QueryDelegatorParams
type QueryDelegatorTotalRewardsResponse ¶ added in v0.3.0
type QueryDelegatorTotalRewardsResponse = distr.QueryDelegatorTotalRewardsResponse
type QueryDelegatorWithdrawAddrParams ¶ added in v0.3.0
type QueryDelegatorWithdrawAddrParams = distr.QueryDelegatorWithdrawAddrParams
type QueryValidatorCommissionParams ¶ added in v0.3.0
type QueryValidatorCommissionParams = distr.QueryValidatorCommissionParams
type QueryValidatorOutstandingRewardsParams ¶ added in v0.3.0
type QueryValidatorOutstandingRewardsParams = distr.QueryValidatorOutstandingRewardsParams
type QueryValidatorSlashesParams ¶ added in v0.3.0
type QueryValidatorSlashesParams = distr.QueryValidatorSlashesParams
type ValidatorAccumulatedCommission ¶ added in v0.3.0
type ValidatorAccumulatedCommission = distr.ValidatorAccumulatedCommission
type ValidatorAccumulatedCommissionRecord ¶ added in v0.3.0
type ValidatorAccumulatedCommissionRecord = distr.ValidatorAccumulatedCommissionRecord
type ValidatorCurrentRewards ¶ added in v0.3.0
type ValidatorCurrentRewards = distr.ValidatorCurrentRewards
type ValidatorCurrentRewardsRecord ¶ added in v0.3.0
type ValidatorCurrentRewardsRecord = distr.ValidatorCurrentRewardsRecord
type ValidatorHistoricalRewards ¶ added in v0.3.0
type ValidatorHistoricalRewards = distr.ValidatorHistoricalRewards
type ValidatorHistoricalRewardsRecord ¶ added in v0.3.0
type ValidatorHistoricalRewardsRecord = distr.ValidatorHistoricalRewardsRecord
type ValidatorOutstandingRewards ¶ added in v0.3.0
type ValidatorOutstandingRewards = distr.ValidatorOutstandingRewards
type ValidatorOutstandingRewardsRecord ¶ added in v0.3.0
type ValidatorOutstandingRewardsRecord = distr.ValidatorOutstandingRewardsRecord
type ValidatorSlashEvent ¶ added in v0.3.0
type ValidatorSlashEvent = distr.ValidatorSlashEvent
type ValidatorSlashEventRecord ¶ added in v0.3.0
type ValidatorSlashEventRecord = distr.ValidatorSlashEventRecord
type ValidatorSlashEvents ¶ added in v0.3.0
type ValidatorSlashEvents = distr.ValidatorSlashEvents