|
@ -9,12 +9,7 @@ import ( |
|
|
// Generic event data can be typed and registered with tendermint/go-wire
|
|
|
// Generic event data can be typed and registered with tendermint/go-wire
|
|
|
// via concrete implementation of this interface
|
|
|
// via concrete implementation of this interface
|
|
|
type EventData interface { |
|
|
type EventData interface { |
|
|
AssertIsEventData() |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
type EventResult struct { |
|
|
|
|
|
Event string `json:"event"` |
|
|
|
|
|
Data EventData `json:"data"` |
|
|
|
|
|
|
|
|
//AssertIsEventData()
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// reactors and other modules should export
|
|
|
// reactors and other modules should export
|
|
|