161 lines
10 KiB
Go
161 lines
10 KiB
Go
// nolint
|
|
// autogenerated code using github.com/rigelrozanski/multitool
|
|
// aliases generated for the following subdirectories:
|
|
// ALIASGEN: github.com/cosmos/cosmos-sdk/x/distribution/keeper
|
|
// ALIASGEN: github.com/cosmos/cosmos-sdk/x/distribution/tags
|
|
// ALIASGEN: github.com/cosmos/cosmos-sdk/x/distribution/types
|
|
package distribution
|
|
|
|
import (
|
|
"github.com/cosmos/cosmos-sdk/x/distribution/keeper"
|
|
"github.com/cosmos/cosmos-sdk/x/distribution/tags"
|
|
"github.com/cosmos/cosmos-sdk/x/distribution/types"
|
|
)
|
|
|
|
const (
|
|
DefaultParamspace = keeper.DefaultParamspace
|
|
QueryParams = keeper.QueryParams
|
|
QueryValidatorOutstandingRewards = keeper.QueryValidatorOutstandingRewards
|
|
QueryValidatorCommission = keeper.QueryValidatorCommission
|
|
QueryValidatorSlashes = keeper.QueryValidatorSlashes
|
|
QueryDelegationRewards = keeper.QueryDelegationRewards
|
|
QueryDelegatorTotalRewards = keeper.QueryDelegatorTotalRewards
|
|
QueryDelegatorValidators = keeper.QueryDelegatorValidators
|
|
QueryWithdrawAddr = keeper.QueryWithdrawAddr
|
|
QueryCommunityPool = keeper.QueryCommunityPool
|
|
ParamCommunityTax = keeper.ParamCommunityTax
|
|
ParamBaseProposerReward = keeper.ParamBaseProposerReward
|
|
ParamBonusProposerReward = keeper.ParamBonusProposerReward
|
|
ParamWithdrawAddrEnabled = keeper.ParamWithdrawAddrEnabled
|
|
DefaultCodespace = types.DefaultCodespace
|
|
CodeInvalidInput = types.CodeInvalidInput
|
|
CodeNoDistributionInfo = types.CodeNoDistributionInfo
|
|
CodeNoValidatorCommission = types.CodeNoValidatorCommission
|
|
CodeSetWithdrawAddrDisabled = types.CodeSetWithdrawAddrDisabled
|
|
ModuleName = types.ModuleName
|
|
StoreKey = types.StoreKey
|
|
TStoreKey = types.TStoreKey
|
|
RouterKey = types.RouterKey
|
|
QuerierRoute = types.QuerierRoute
|
|
)
|
|
|
|
var (
|
|
// functions aliases
|
|
RegisterInvariants = keeper.RegisterInvariants
|
|
AllInvariants = keeper.AllInvariants
|
|
NonNegativeOutstandingInvariant = keeper.NonNegativeOutstandingInvariant
|
|
CanWithdrawInvariant = keeper.CanWithdrawInvariant
|
|
ReferenceCountInvariant = keeper.ReferenceCountInvariant
|
|
NewKeeper = keeper.NewKeeper
|
|
GetValidatorOutstandingRewardsAddress = keeper.GetValidatorOutstandingRewardsAddress
|
|
GetDelegatorWithdrawInfoAddress = keeper.GetDelegatorWithdrawInfoAddress
|
|
GetDelegatorStartingInfoAddresses = keeper.GetDelegatorStartingInfoAddresses
|
|
GetValidatorHistoricalRewardsAddressPeriod = keeper.GetValidatorHistoricalRewardsAddressPeriod
|
|
GetValidatorCurrentRewardsAddress = keeper.GetValidatorCurrentRewardsAddress
|
|
GetValidatorAccumulatedCommissionAddress = keeper.GetValidatorAccumulatedCommissionAddress
|
|
GetValidatorSlashEventAddressHeight = keeper.GetValidatorSlashEventAddressHeight
|
|
GetValidatorOutstandingRewardsKey = keeper.GetValidatorOutstandingRewardsKey
|
|
GetDelegatorWithdrawAddrKey = keeper.GetDelegatorWithdrawAddrKey
|
|
GetDelegatorStartingInfoKey = keeper.GetDelegatorStartingInfoKey
|
|
GetValidatorHistoricalRewardsPrefix = keeper.GetValidatorHistoricalRewardsPrefix
|
|
GetValidatorHistoricalRewardsKey = keeper.GetValidatorHistoricalRewardsKey
|
|
GetValidatorCurrentRewardsKey = keeper.GetValidatorCurrentRewardsKey
|
|
GetValidatorAccumulatedCommissionKey = keeper.GetValidatorAccumulatedCommissionKey
|
|
GetValidatorSlashEventPrefix = keeper.GetValidatorSlashEventPrefix
|
|
GetValidatorSlashEventKey = keeper.GetValidatorSlashEventKey
|
|
ParamKeyTable = keeper.ParamKeyTable
|
|
NewQuerier = keeper.NewQuerier
|
|
NewQueryValidatorOutstandingRewardsParams = keeper.NewQueryValidatorOutstandingRewardsParams
|
|
NewQueryValidatorCommissionParams = keeper.NewQueryValidatorCommissionParams
|
|
NewQueryValidatorSlashesParams = keeper.NewQueryValidatorSlashesParams
|
|
NewQueryDelegationRewardsParams = keeper.NewQueryDelegationRewardsParams
|
|
NewQueryDelegatorParams = keeper.NewQueryDelegatorParams
|
|
NewQueryDelegatorWithdrawAddrParams = keeper.NewQueryDelegatorWithdrawAddrParams
|
|
MakeTestCodec = keeper.MakeTestCodec
|
|
CreateTestInputDefault = keeper.CreateTestInputDefault
|
|
CreateTestInputAdvanced = keeper.CreateTestInputAdvanced
|
|
RegisterCodec = types.RegisterCodec
|
|
NewDelegatorStartingInfo = types.NewDelegatorStartingInfo
|
|
ErrNilDelegatorAddr = types.ErrNilDelegatorAddr
|
|
ErrNilWithdrawAddr = types.ErrNilWithdrawAddr
|
|
ErrNilValidatorAddr = types.ErrNilValidatorAddr
|
|
ErrNoDelegationDistInfo = types.ErrNoDelegationDistInfo
|
|
ErrNoValidatorDistInfo = types.ErrNoValidatorDistInfo
|
|
ErrNoValidatorCommission = types.ErrNoValidatorCommission
|
|
ErrSetWithdrawAddrDisabled = types.ErrSetWithdrawAddrDisabled
|
|
ErrBadDistribution = types.ErrBadDistribution
|
|
InitialFeePool = types.InitialFeePool
|
|
NewGenesisState = types.NewGenesisState
|
|
DefaultGenesisState = types.DefaultGenesisState
|
|
ValidateGenesis = types.ValidateGenesis
|
|
NewMsgSetWithdrawAddress = types.NewMsgSetWithdrawAddress
|
|
NewMsgWithdrawDelegatorReward = types.NewMsgWithdrawDelegatorReward
|
|
NewMsgWithdrawValidatorCommission = types.NewMsgWithdrawValidatorCommission
|
|
NewQueryDelegatorTotalRewardsResponse = types.NewQueryDelegatorTotalRewardsResponse
|
|
NewDelegationDelegatorReward = types.NewDelegationDelegatorReward
|
|
NewValidatorHistoricalRewards = types.NewValidatorHistoricalRewards
|
|
NewValidatorCurrentRewards = types.NewValidatorCurrentRewards
|
|
InitialValidatorAccumulatedCommission = types.InitialValidatorAccumulatedCommission
|
|
NewValidatorSlashEvent = types.NewValidatorSlashEvent
|
|
|
|
// variable aliases
|
|
FeePoolKey = keeper.FeePoolKey
|
|
ProposerKey = keeper.ProposerKey
|
|
ValidatorOutstandingRewardsPrefix = keeper.ValidatorOutstandingRewardsPrefix
|
|
DelegatorWithdrawAddrPrefix = keeper.DelegatorWithdrawAddrPrefix
|
|
DelegatorStartingInfoPrefix = keeper.DelegatorStartingInfoPrefix
|
|
ValidatorHistoricalRewardsPrefix = keeper.ValidatorHistoricalRewardsPrefix
|
|
ValidatorCurrentRewardsPrefix = keeper.ValidatorCurrentRewardsPrefix
|
|
ValidatorAccumulatedCommissionPrefix = keeper.ValidatorAccumulatedCommissionPrefix
|
|
ValidatorSlashEventPrefix = keeper.ValidatorSlashEventPrefix
|
|
ParamStoreKeyCommunityTax = keeper.ParamStoreKeyCommunityTax
|
|
ParamStoreKeyBaseProposerReward = keeper.ParamStoreKeyBaseProposerReward
|
|
ParamStoreKeyBonusProposerReward = keeper.ParamStoreKeyBonusProposerReward
|
|
ParamStoreKeyWithdrawAddrEnabled = keeper.ParamStoreKeyWithdrawAddrEnabled
|
|
TestAddrs = keeper.TestAddrs
|
|
Rewards = tags.Rewards
|
|
Commission = tags.Commission
|
|
TxCategory = tags.TxCategory
|
|
Validator = tags.Validator
|
|
Category = tags.Category
|
|
Sender = tags.Sender
|
|
ModuleCdc = types.ModuleCdc
|
|
)
|
|
|
|
type (
|
|
Hooks = keeper.Hooks
|
|
Keeper = keeper.Keeper
|
|
QueryValidatorOutstandingRewardsParams = keeper.QueryValidatorOutstandingRewardsParams
|
|
QueryValidatorCommissionParams = keeper.QueryValidatorCommissionParams
|
|
QueryValidatorSlashesParams = keeper.QueryValidatorSlashesParams
|
|
QueryDelegationRewardsParams = keeper.QueryDelegationRewardsParams
|
|
QueryDelegatorParams = keeper.QueryDelegatorParams
|
|
QueryDelegatorWithdrawAddrParams = keeper.QueryDelegatorWithdrawAddrParams
|
|
DummyFeeCollectionKeeper = keeper.DummyFeeCollectionKeeper
|
|
DelegatorStartingInfo = types.DelegatorStartingInfo
|
|
CodeType = types.CodeType
|
|
StakingKeeper = types.StakingKeeper
|
|
BankKeeper = types.BankKeeper
|
|
FeeCollectionKeeper = types.FeeCollectionKeeper
|
|
FeePool = types.FeePool
|
|
DelegatorWithdrawInfo = types.DelegatorWithdrawInfo
|
|
ValidatorOutstandingRewardsRecord = types.ValidatorOutstandingRewardsRecord
|
|
ValidatorAccumulatedCommissionRecord = types.ValidatorAccumulatedCommissionRecord
|
|
ValidatorHistoricalRewardsRecord = types.ValidatorHistoricalRewardsRecord
|
|
ValidatorCurrentRewardsRecord = types.ValidatorCurrentRewardsRecord
|
|
DelegatorStartingInfoRecord = types.DelegatorStartingInfoRecord
|
|
ValidatorSlashEventRecord = types.ValidatorSlashEventRecord
|
|
GenesisState = types.GenesisState
|
|
MsgSetWithdrawAddress = types.MsgSetWithdrawAddress
|
|
MsgWithdrawDelegatorReward = types.MsgWithdrawDelegatorReward
|
|
MsgWithdrawValidatorCommission = types.MsgWithdrawValidatorCommission
|
|
QueryDelegatorTotalRewardsResponse = types.QueryDelegatorTotalRewardsResponse
|
|
DelegationDelegatorReward = types.DelegationDelegatorReward
|
|
ValidatorHistoricalRewards = types.ValidatorHistoricalRewards
|
|
ValidatorCurrentRewards = types.ValidatorCurrentRewards
|
|
ValidatorAccumulatedCommission = types.ValidatorAccumulatedCommission
|
|
ValidatorSlashEvent = types.ValidatorSlashEvent
|
|
ValidatorSlashEvents = types.ValidatorSlashEvents
|
|
ValidatorOutstandingRewards = types.ValidatorOutstandingRewards
|
|
)
|