Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func ErrEmptyStake ¶
func ErrEmptyValidator ¶
func ErrInvalidUnbond ¶
func NewHandler ¶
func NewHandler(sm StakingMapper, ck bank.CoinKeeper) sdk.Handler
Types ¶
type BondMsg ¶
type BondMsg struct { Address sdk.Address `json:"address"` Stake sdk.Coin `json:"coins"` PubKey crypto.PubKey `json:"pub_key"` }
func (BondMsg) GetSignBytes ¶
func (BondMsg) GetSigners ¶
func (BondMsg) ValidateBasic ¶
type StakingMapper ¶
type StakingMapper struct {
// contains filtered or unexported fields
}
func NewMapper ¶
func NewMapper(key sdk.StoreKey) StakingMapper
type UnbondMsg ¶
func NewUnbondMsg ¶
func (UnbondMsg) GetSignBytes ¶
func (UnbondMsg) GetSigners ¶
func (UnbondMsg) ValidateBasic ¶
Click to show internal directories.
Click to hide internal directories.