distribution

package
v0.28.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

nolint

Index

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
	ValidateGenesis              = types.ValidateGenesis
	DefaultGenesisState          = types.DefaultGenesisState
	DefaultGenesisWithValidators = types.DefaultGenesisWithValidators

	RegisterCodec = types.RegisterCodec

	NewMsgSetWithdrawAddress          = types.NewMsgSetWithdrawAddress
	NewMsgWithdrawDelegatorRewardsAll = types.NewMsgWithdrawDelegatorRewardsAll
	NewMsgWithdrawDelegatorReward     = types.NewMsgWithdrawDelegatorReward
	NewMsgWithdrawValidatorRewardsAll = types.NewMsgWithdrawValidatorRewardsAll

	NewDecCoins = types.NewDecCoins

	NewTotalAccum = types.NewTotalAccum
)
View Source
var (
	ErrNilDelegatorAddr = types.ErrNilDelegatorAddr
	ErrNilWithdrawAddr  = types.ErrNilWithdrawAddr
	ErrNilValidatorAddr = types.ErrNilValidatorAddr

	TagValidator = tags.Validator
	TagDelegator = tags.Delegator
)

Functions

func BeginBlocker added in v0.25.0

func BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock, k keeper.Keeper)

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. The GenesisState will contain the pool, and validator/delegator distribution info's

func InitGenesis added in v0.25.0

func InitGenesis(ctx sdk.Context, keeper Keeper, data types.GenesisState)

InitGenesis sets distribution information for genesis

func NewHandler added in v0.25.0

func NewHandler(k keeper.Keeper) sdk.Handler

Types

type BankKeeper added in v0.25.0

type BankKeeper = types.BankKeeper

type DecCoin added in v0.27.0

type DecCoin = types.DecCoin

type DecCoins added in v0.27.0

type DecCoins = types.DecCoins

type DelegationDistInfo added in v0.25.0

type DelegationDistInfo = types.DelegationDistInfo

type DelegatorWithdrawInfo added in v0.25.0

type DelegatorWithdrawInfo = types.DelegatorWithdrawInfo

type FeeCollectionKeeper added in v0.25.0

type FeeCollectionKeeper = types.FeeCollectionKeeper

type FeePool added in v0.25.0

type FeePool = types.FeePool

type GenesisState added in v0.25.0

type GenesisState = types.GenesisState

type Hooks added in v0.25.0

type Hooks = keeper.Hooks

type Keeper added in v0.25.0

type Keeper = keeper.Keeper

type MsgSetWithdrawAddress added in v0.25.0

type MsgSetWithdrawAddress = types.MsgSetWithdrawAddress

type MsgWithdrawDelegatorReward added in v0.25.0

type MsgWithdrawDelegatorReward = types.MsgWithdrawDelegatorReward

type MsgWithdrawDelegatorRewardsAll added in v0.25.0

type MsgWithdrawDelegatorRewardsAll = types.MsgWithdrawDelegatorRewardsAll

type MsgWithdrawValidatorRewardsAll added in v0.25.0

type MsgWithdrawValidatorRewardsAll = types.MsgWithdrawValidatorRewardsAll

type StakeKeeper added in v0.25.0

type StakeKeeper = types.StakeKeeper

expected keepers

type TotalAccum added in v0.25.0

type TotalAccum = types.TotalAccum

type ValidatorDistInfo added in v0.25.0

type ValidatorDistInfo = types.ValidatorDistInfo

Directories

Path Synopsis
cli
nolint
nolint
nolint
nolint
nolint
nolint

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL