 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentDB ¶ added in v0.5.1
func RegisterAminoEvents ¶
func RegisterAminoEvents(codec *amino.Codec)
Types ¶
type EventsDB ¶
type EventsDB struct {
	// contains filtered or unexported fields
}
    func GetCurrent ¶
func GetCurrent() *EventsDB
func NewEventsDB ¶
func (*EventsDB) FlushEvents ¶ added in v0.3.4
func (*EventsDB) LoadEvents ¶ added in v0.5.0
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 ¶ added in v0.8.0
type UnbondEvent struct {
	Address         types.Address
	Amount          []byte
	Coin            types.CoinSymbol
	ValidatorPubKey types.Pubkey
}
    func (UnbondEvent) MarshalJSON ¶ added in v0.8.0
func (e UnbondEvent) MarshalJSON() ([]byte, error)
 Click to show internal directories. 
   Click to hide internal directories.