25 lines
419 B
Go
25 lines
419 B
Go
package types
|
|
|
|
import (
|
|
"github.com/filecoin-project/go-address"
|
|
)
|
|
|
|
type Event struct {
|
|
// The ID of the actor that emitted this event.
|
|
Emitter address.Address
|
|
|
|
// 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
|
|
Key []byte
|
|
|
|
// Any DAG-CBOR encodeable type.
|
|
Value []byte
|
|
}
|