Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
ID uint64
Name string
Signature string
SignatureID []byte
MetadataID uint64
Anonymous bool `pg:"default:false"`
Metadata *Metadata `pg:",rel:has-one"`
// contains filtered or unexported fields
}
Event -
type IMetadata ¶
type IMetadata interface {
storage.Table[*Metadata]
GetByAddress(ctx context.Context, address string) (*Metadata, error)
GetByMethod(ctx context.Context, signature string, limit, offset uint64, order storage.SortOrder) ([]*Metadata, error)
GetByTopic(ctx context.Context, topic string, limit, offset uint64, order storage.SortOrder) ([]*Metadata, error)
}
IMetadata -
type Metadata ¶
type Metadata struct {
ID uint64
Contract string `pg:",unique:metadata_contract,notnull"`
Metadata []byte
JSONSchema []byte
// contains filtered or unexported fields
}
Metadata -
Click to show internal directories.
Click to hide internal directories.