2022-11-10 11:58:39 +00:00
|
|
|
package types
|
|
|
|
|
|
|
|
import (
|
2022-11-15 13:02:11 +00:00
|
|
|
"github.com/filecoin-project/go-state-types/abi"
|
2022-11-10 11:58:39 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type Event struct {
|
|
|
|
// The ID of the actor that emitted this event.
|
2022-11-15 13:02:11 +00:00
|
|
|
Emitter abi.ActorID
|
2022-11-10 11:58:39 +00:00
|
|
|
|
|
|
|
// Key values making up this event.
|
|
|
|
Entries []EventEntry
|
|
|
|
}
|
|
|
|
|
|
|
|
type EventEntry struct {
|
|
|
|
// A bitmap conveying metadata or hints about this entry.
|
|
|
|
Flags uint8
|
|
|
|
|
|
|
|
// The key of this event entry
|
2022-11-16 09:30:35 +00:00
|
|
|
Key string
|
2022-11-10 11:58:39 +00:00
|
|
|
|
|
|
|
// Any DAG-CBOR encodeable type.
|
|
|
|
Value []byte
|
|
|
|
}
|