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