Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleCommunityPoolSpendProposal ¶
func HandleCommunityPoolSpendProposal(ctx sdk.Context, k Keeper, p *types.CommunityPoolSpendProposal) error
HandleCommunityPoolSpendProposal is a handler for executing a passed community spend proposal
Types ¶
type Keeper ¶
type Keeper struct { distkeeper.Keeper // contains filtered or unexported fields }
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, key storetypes.StoreKey, paramSpace paramtypes.Subspace, ak disttypes.AccountKeeper, bk disttypes.BankKeeper, sk types.StakingKeeper, seqk types.SequencerKeeper, feeCollectorName string, blockedAddrs map[string]bool, ) Keeper
NewKeeper creates a new distribution Keeper instance
func (Keeper) AllocateTokens ¶
func (k Keeper) AllocateTokens(ctx sdk.Context, blockProposer sdk.ConsAddress)
AllocateTokens handles distribution of the collected fees
func (Keeper) AllocateTokensToSequencer ¶
func (k Keeper) AllocateTokensToSequencer(ctx sdk.Context, val stakingtypes.ValidatorI, tokens sdk.Coins) error
Click to show internal directories.
Click to hide internal directories.