Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAminoEvents ¶
func RegisterAminoEvents(codec *amino.Codec)
Types ¶
type CoinLiquidationEvent ¶
type CoinLiquidationEvent struct {
Coin types.CoinSymbol
}
func (CoinLiquidationEvent) MarshalJSON ¶
func (e CoinLiquidationEvent) MarshalJSON() ([]byte, error)
type RewardEvent ¶
type RewardEvent struct { Role Role Address types.Address Amount []byte ValidatorPubKey types.Pubkey }
func (RewardEvent) MarshalJSON ¶
func (e RewardEvent) MarshalJSON() ([]byte, error)
type SlashEvent ¶
type SlashEvent struct { Address types.Address Amount []byte Coin types.CoinSymbol ValidatorPubKey types.Pubkey }
func (SlashEvent) MarshalJSON ¶
func (e SlashEvent) MarshalJSON() ([]byte, error)
type UnbondEvent ¶
type UnbondEvent struct { Address types.Address Amount []byte Coin types.CoinSymbol ValidatorPubKey types.Pubkey }
func (UnbondEvent) MarshalJSON ¶
func (e UnbondEvent) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.