types

package
v0.3.0-rc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: LGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthEthereumSidecar        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEthereumSidecar          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEthereumSidecar = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterEthereumSidecarServer

func RegisterEthereumSidecarServer(s grpc1.Server, srv EthereumSidecarServer)

Types

type AssetsLockedEventsRequest

type AssetsLockedEventsRequest struct {
	// sequence_start is the start of the sequence range (inclusive). If null, unbounded on the lower side.
	SequenceStart cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=sequence_start,json=sequenceStart,proto3,customtype=cosmossdk.io/math.Int" json:"sequence_start"`
	// sequence_end is the end of the sequence range (exclusive). If null, unbounded on the upper side.
	SequenceEnd cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=sequence_end,json=sequenceEnd,proto3,customtype=cosmossdk.io/math.Int" json:"sequence_end"`
}

AssetsLockedEventsRequest is the request type for the GetAssetsLockedEvents query.

func (*AssetsLockedEventsRequest) Descriptor

func (*AssetsLockedEventsRequest) Descriptor() ([]byte, []int)

func (*AssetsLockedEventsRequest) Marshal

func (m *AssetsLockedEventsRequest) Marshal() (dAtA []byte, err error)

func (*AssetsLockedEventsRequest) MarshalTo

func (m *AssetsLockedEventsRequest) MarshalTo(dAtA []byte) (int, error)

func (*AssetsLockedEventsRequest) MarshalToSizedBuffer

func (m *AssetsLockedEventsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AssetsLockedEventsRequest) ProtoMessage

func (*AssetsLockedEventsRequest) ProtoMessage()

func (*AssetsLockedEventsRequest) Reset

func (m *AssetsLockedEventsRequest) Reset()

func (*AssetsLockedEventsRequest) Size

func (m *AssetsLockedEventsRequest) Size() (n int)

func (*AssetsLockedEventsRequest) String

func (m *AssetsLockedEventsRequest) String() string

func (*AssetsLockedEventsRequest) Unmarshal

func (m *AssetsLockedEventsRequest) Unmarshal(dAtA []byte) error

func (*AssetsLockedEventsRequest) XXX_DiscardUnknown

func (m *AssetsLockedEventsRequest) XXX_DiscardUnknown()

func (*AssetsLockedEventsRequest) XXX_Marshal

func (m *AssetsLockedEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AssetsLockedEventsRequest) XXX_Merge

func (m *AssetsLockedEventsRequest) XXX_Merge(src proto.Message)

func (*AssetsLockedEventsRequest) XXX_Size

func (m *AssetsLockedEventsRequest) XXX_Size() int

func (*AssetsLockedEventsRequest) XXX_Unmarshal

func (m *AssetsLockedEventsRequest) XXX_Unmarshal(b []byte) error

type AssetsLockedEventsResponse

type AssetsLockedEventsResponse struct {
	// events contains a list of AssetsLockedEvents.
	Events []*types.AssetsLockedEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
}

AssetsLockedEventsResponse is the response type for the GetAssetsLockedEvents query.

func (*AssetsLockedEventsResponse) Descriptor

func (*AssetsLockedEventsResponse) Descriptor() ([]byte, []int)

func (*AssetsLockedEventsResponse) GetEvents

func (*AssetsLockedEventsResponse) Marshal

func (m *AssetsLockedEventsResponse) Marshal() (dAtA []byte, err error)

func (*AssetsLockedEventsResponse) MarshalTo

func (m *AssetsLockedEventsResponse) MarshalTo(dAtA []byte) (int, error)

func (*AssetsLockedEventsResponse) MarshalToSizedBuffer

func (m *AssetsLockedEventsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AssetsLockedEventsResponse) ProtoMessage

func (*AssetsLockedEventsResponse) ProtoMessage()

func (*AssetsLockedEventsResponse) Reset

func (m *AssetsLockedEventsResponse) Reset()

func (*AssetsLockedEventsResponse) Size

func (m *AssetsLockedEventsResponse) Size() (n int)

func (*AssetsLockedEventsResponse) String

func (m *AssetsLockedEventsResponse) String() string

func (*AssetsLockedEventsResponse) Unmarshal

func (m *AssetsLockedEventsResponse) Unmarshal(dAtA []byte) error

func (*AssetsLockedEventsResponse) XXX_DiscardUnknown

func (m *AssetsLockedEventsResponse) XXX_DiscardUnknown()

func (*AssetsLockedEventsResponse) XXX_Marshal

func (m *AssetsLockedEventsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AssetsLockedEventsResponse) XXX_Merge

func (m *AssetsLockedEventsResponse) XXX_Merge(src proto.Message)

func (*AssetsLockedEventsResponse) XXX_Size

func (m *AssetsLockedEventsResponse) XXX_Size() int

func (*AssetsLockedEventsResponse) XXX_Unmarshal

func (m *AssetsLockedEventsResponse) XXX_Unmarshal(b []byte) error

type EthereumSidecarClient

type EthereumSidecarClient interface {
	// AssetsLockedEvents returns AssetsLockedEvents within a sequence range.
	AssetsLockedEvents(ctx context.Context, in *AssetsLockedEventsRequest, opts ...grpc.CallOption) (*AssetsLockedEventsResponse, error)
}

EthereumSidecarClient is the client API for EthereumSidecar service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewEthereumSidecarClient

func NewEthereumSidecarClient(cc grpc1.ClientConn) EthereumSidecarClient

type EthereumSidecarServer

type EthereumSidecarServer interface {
	// AssetsLockedEvents returns AssetsLockedEvents within a sequence range.
	AssetsLockedEvents(context.Context, *AssetsLockedEventsRequest) (*AssetsLockedEventsResponse, error)
}

EthereumSidecarServer is the server API for EthereumSidecar service.

type UnimplementedEthereumSidecarServer

type UnimplementedEthereumSidecarServer struct {
}

UnimplementedEthereumSidecarServer can be embedded to have forward compatible implementations.

func (*UnimplementedEthereumSidecarServer) AssetsLockedEvents

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL