Documentation
¶
Index ¶
- Variables
- type CallToFilter
- func (*CallToFilter) Descriptor() ([]byte, []int)deprecated
- func (x *CallToFilter) GetAddresses() [][]byte
- func (x *CallToFilter) GetSignatures() [][]byte
- func (*CallToFilter) ProtoMessage()
- func (x *CallToFilter) ProtoReflect() protoreflect.Message
- func (x *CallToFilter) Reset()
- func (x *CallToFilter) String() string
- type KeyToBitmap
- type LightBlock
- type LogAddressSignatureIndex
- func (*LogAddressSignatureIndex) Descriptor() ([]byte, []int)deprecated
- func (x *LogAddressSignatureIndex) GetAddresses() []*KeyToBitmap
- func (x *LogAddressSignatureIndex) GetEventSignatures() []*KeyToBitmap
- func (*LogAddressSignatureIndex) ProtoMessage()
- func (x *LogAddressSignatureIndex) ProtoReflect() protoreflect.Message
- func (x *LogAddressSignatureIndex) Reset()
- func (x *LogAddressSignatureIndex) String() string
- type LogFilter
- func (*LogFilter) Descriptor() ([]byte, []int)deprecated
- func (x *LogFilter) GetAddresses() [][]byte
- func (x *LogFilter) GetEventSignatures() [][]byte
- func (*LogFilter) ProtoMessage()
- func (x *LogFilter) ProtoReflect() protoreflect.Message
- func (x *LogFilter) Reset()
- func (x *LogFilter) String() string
- type MultiCallToFilter
- func (*MultiCallToFilter) Descriptor() ([]byte, []int)deprecated
- func (x *MultiCallToFilter) GetCallFilters() []*CallToFilter
- func (*MultiCallToFilter) ProtoMessage()
- func (x *MultiCallToFilter) ProtoReflect() protoreflect.Message
- func (x *MultiCallToFilter) Reset()
- func (x *MultiCallToFilter) String() string
- type MultiLogFilter
Constants ¶
This section is empty.
Variables ¶
var File_sf_ethereum_transform_v1_indexes_proto protoreflect.FileDescriptor
var File_sf_ethereum_transform_v1_transforms_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CallToFilter ¶
type CallToFilter struct {
Addresses [][]byte `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
Signatures [][]byte `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"`
// contains filtered or unexported fields
}
CallToFilter will match calls where *BOTH* * the contract address (TO) is one in the provided addresses -- OR addresses list is empty -- * the method signature (in 4-bytes format) is one of the provided signatures -- OR signatures is empty --
a CallToFilter with both empty addresses and signatures lists is invalid and will fail.
func (*CallToFilter) Descriptor
deprecated
func (*CallToFilter) Descriptor() ([]byte, []int)
Deprecated: Use CallToFilter.ProtoReflect.Descriptor instead.
func (*CallToFilter) GetAddresses ¶
func (x *CallToFilter) GetAddresses() [][]byte
func (*CallToFilter) GetSignatures ¶
func (x *CallToFilter) GetSignatures() [][]byte
func (*CallToFilter) ProtoMessage ¶
func (*CallToFilter) ProtoMessage()
func (*CallToFilter) ProtoReflect ¶
func (x *CallToFilter) ProtoReflect() protoreflect.Message
func (*CallToFilter) Reset ¶
func (x *CallToFilter) Reset()
func (*CallToFilter) String ¶
func (x *CallToFilter) String() string
type KeyToBitmap ¶
type KeyToBitmap struct {
Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Bitmap []byte `protobuf:"bytes,2,opt,name=bitmap,proto3" json:"bitmap,omitempty"`
// contains filtered or unexported fields
}
func (*KeyToBitmap) Descriptor
deprecated
func (*KeyToBitmap) Descriptor() ([]byte, []int)
Deprecated: Use KeyToBitmap.ProtoReflect.Descriptor instead.
func (*KeyToBitmap) GetBitmap ¶
func (x *KeyToBitmap) GetBitmap() []byte
func (*KeyToBitmap) GetKey ¶
func (x *KeyToBitmap) GetKey() []byte
func (*KeyToBitmap) ProtoMessage ¶
func (*KeyToBitmap) ProtoMessage()
func (*KeyToBitmap) ProtoReflect ¶
func (x *KeyToBitmap) ProtoReflect() protoreflect.Message
func (*KeyToBitmap) Reset ¶
func (x *KeyToBitmap) Reset()
func (*KeyToBitmap) String ¶
func (x *KeyToBitmap) String() string
type LightBlock ¶
type LightBlock struct {
// contains filtered or unexported fields
}
func (*LightBlock) Descriptor
deprecated
func (*LightBlock) Descriptor() ([]byte, []int)
Deprecated: Use LightBlock.ProtoReflect.Descriptor instead.
func (*LightBlock) ProtoMessage ¶
func (*LightBlock) ProtoMessage()
func (*LightBlock) ProtoReflect ¶
func (x *LightBlock) ProtoReflect() protoreflect.Message
func (*LightBlock) Reset ¶
func (x *LightBlock) Reset()
func (*LightBlock) String ¶
func (x *LightBlock) String() string
type LogAddressSignatureIndex ¶
type LogAddressSignatureIndex struct {
Addresses []*KeyToBitmap `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"`
EventSignatures []*KeyToBitmap `protobuf:"bytes,5,rep,name=event_signatures,json=eventSignatures,proto3" json:"event_signatures,omitempty"` // eventually combined addr+eventsig indexes ?
// contains filtered or unexported fields
}
func (*LogAddressSignatureIndex) Descriptor
deprecated
func (*LogAddressSignatureIndex) Descriptor() ([]byte, []int)
Deprecated: Use LogAddressSignatureIndex.ProtoReflect.Descriptor instead.
func (*LogAddressSignatureIndex) GetAddresses ¶
func (x *LogAddressSignatureIndex) GetAddresses() []*KeyToBitmap
func (*LogAddressSignatureIndex) GetEventSignatures ¶
func (x *LogAddressSignatureIndex) GetEventSignatures() []*KeyToBitmap
func (*LogAddressSignatureIndex) ProtoMessage ¶
func (*LogAddressSignatureIndex) ProtoMessage()
func (*LogAddressSignatureIndex) ProtoReflect ¶
func (x *LogAddressSignatureIndex) ProtoReflect() protoreflect.Message
func (*LogAddressSignatureIndex) Reset ¶
func (x *LogAddressSignatureIndex) Reset()
func (*LogAddressSignatureIndex) String ¶
func (x *LogAddressSignatureIndex) String() string
type LogFilter ¶
type LogFilter struct {
Addresses [][]byte `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
EventSignatures [][]byte `protobuf:"bytes,2,rep,name=event_signatures,json=eventSignatures,proto3" json:"event_signatures,omitempty"` // corresponds to the keccak of the event signature which is stores in topic.0
// contains filtered or unexported fields
}
LogFilter will match calls where *BOTH* * the contract address that emits the log is one in the provided addresses -- OR addresses list is empty -- * the event signature (topic.0) is one of the provided event_signatures -- OR event_signatures is empty --
a LogFilter with both empty addresses and event_signatures lists is invalid and will fail.
func (*LogFilter) Descriptor
deprecated
func (*LogFilter) GetAddresses ¶
func (*LogFilter) GetEventSignatures ¶
func (*LogFilter) ProtoMessage ¶
func (*LogFilter) ProtoMessage()
func (*LogFilter) ProtoReflect ¶
func (x *LogFilter) ProtoReflect() protoreflect.Message
type MultiCallToFilter ¶
type MultiCallToFilter struct {
CallFilters []*CallToFilter `protobuf:"bytes,1,rep,name=call_filters,json=callFilters,proto3" json:"call_filters,omitempty"`
// contains filtered or unexported fields
}
MultiCallToFilter concatenates the results of each CallToFilter (inclusive OR)
func (*MultiCallToFilter) Descriptor
deprecated
func (*MultiCallToFilter) Descriptor() ([]byte, []int)
Deprecated: Use MultiCallToFilter.ProtoReflect.Descriptor instead.
func (*MultiCallToFilter) GetCallFilters ¶
func (x *MultiCallToFilter) GetCallFilters() []*CallToFilter
func (*MultiCallToFilter) ProtoMessage ¶
func (*MultiCallToFilter) ProtoMessage()
func (*MultiCallToFilter) ProtoReflect ¶
func (x *MultiCallToFilter) ProtoReflect() protoreflect.Message
func (*MultiCallToFilter) Reset ¶
func (x *MultiCallToFilter) Reset()
func (*MultiCallToFilter) String ¶
func (x *MultiCallToFilter) String() string
type MultiLogFilter ¶
type MultiLogFilter struct {
LogFilters []*LogFilter `protobuf:"bytes,1,rep,name=log_filters,json=logFilters,proto3" json:"log_filters,omitempty"`
// contains filtered or unexported fields
}
MultiLogFilter concatenates the results of each LogFilter (inclusive OR)
func (*MultiLogFilter) Descriptor
deprecated
func (*MultiLogFilter) Descriptor() ([]byte, []int)
Deprecated: Use MultiLogFilter.ProtoReflect.Descriptor instead.
func (*MultiLogFilter) GetLogFilters ¶
func (x *MultiLogFilter) GetLogFilters() []*LogFilter
func (*MultiLogFilter) ProtoMessage ¶
func (*MultiLogFilter) ProtoMessage()
func (*MultiLogFilter) ProtoReflect ¶
func (x *MultiLogFilter) ProtoReflect() protoreflect.Message
func (*MultiLogFilter) Reset ¶
func (x *MultiLogFilter) Reset()
func (*MultiLogFilter) String ¶
func (x *MultiLogFilter) String() string