Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func DepositKey(addr sdk.AccAddress) []byte
- func RegisterInterfaces(_ types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(_ *codec.LegacyAmino)
- func RegisterQueryServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryServiceClient) error
- func RegisterQueryServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServiceServer) error
- func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer)
- func ValidateGenesis(state GenesisState) error
- type Deposit
- func (*Deposit) Descriptor() ([]byte, []int)
- func (m *Deposit) GetAddress() sdk.AccAddress
- func (m *Deposit) Marshal() (dAtA []byte, err error)
- func (m *Deposit) MarshalTo(dAtA []byte) (int, error)
- func (m *Deposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Deposit) ProtoMessage()
- func (m *Deposit) Reset()
- func (m *Deposit) Size() (n int)
- func (m *Deposit) String() string
- func (m *Deposit) Unmarshal(dAtA []byte) error
- func (m *Deposit) Validate() error
- func (m *Deposit) XXX_DiscardUnknown()
- func (m *Deposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Deposit) XXX_Merge(src proto.Message)
- func (m *Deposit) XXX_Size() int
- func (m *Deposit) XXX_Unmarshal(b []byte) error
- type Deposits
- type EventAdd
- func (*EventAdd) Descriptor() ([]byte, []int)
- func (m *EventAdd) Marshal() (dAtA []byte, err error)
- func (m *EventAdd) MarshalTo(dAtA []byte) (int, error)
- func (m *EventAdd) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventAdd) ProtoMessage()
- func (m *EventAdd) Reset()
- func (m *EventAdd) Size() (n int)
- func (m *EventAdd) String() string
- func (m *EventAdd) Unmarshal(dAtA []byte) error
- func (m *EventAdd) XXX_DiscardUnknown()
- func (m *EventAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventAdd) XXX_Merge(src proto.Message)
- func (m *EventAdd) XXX_Size() int
- func (m *EventAdd) XXX_Unmarshal(b []byte) error
- type EventSubtract
- func (*EventSubtract) Descriptor() ([]byte, []int)
- func (m *EventSubtract) Marshal() (dAtA []byte, err error)
- func (m *EventSubtract) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSubtract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSubtract) ProtoMessage()
- func (m *EventSubtract) Reset()
- func (m *EventSubtract) Size() (n int)
- func (m *EventSubtract) String() string
- func (m *EventSubtract) Unmarshal(dAtA []byte) error
- func (m *EventSubtract) XXX_DiscardUnknown()
- func (m *EventSubtract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSubtract) XXX_Merge(src proto.Message)
- func (m *EventSubtract) XXX_Size() int
- func (m *EventSubtract) XXX_Unmarshal(b []byte) error
- type GenesisState
- type QueryDepositRequest
- func (*QueryDepositRequest) Descriptor() ([]byte, []int)
- func (m *QueryDepositRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDepositRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDepositRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDepositRequest) ProtoMessage()
- func (m *QueryDepositRequest) Reset()
- func (m *QueryDepositRequest) Size() (n int)
- func (m *QueryDepositRequest) String() string
- func (m *QueryDepositRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDepositRequest) XXX_DiscardUnknown()
- func (m *QueryDepositRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDepositRequest) XXX_Merge(src proto.Message)
- func (m *QueryDepositRequest) XXX_Size() int
- func (m *QueryDepositRequest) XXX_Unmarshal(b []byte) error
- type QueryDepositResponse
- func (*QueryDepositResponse) Descriptor() ([]byte, []int)
- func (m *QueryDepositResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDepositResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDepositResponse) ProtoMessage()
- func (m *QueryDepositResponse) Reset()
- func (m *QueryDepositResponse) Size() (n int)
- func (m *QueryDepositResponse) String() string
- func (m *QueryDepositResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDepositResponse) XXX_DiscardUnknown()
- func (m *QueryDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDepositResponse) XXX_Merge(src proto.Message)
- func (m *QueryDepositResponse) XXX_Size() int
- func (m *QueryDepositResponse) XXX_Unmarshal(b []byte) error
- type QueryDepositsRequest
- func (*QueryDepositsRequest) Descriptor() ([]byte, []int)
- func (m *QueryDepositsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDepositsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDepositsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDepositsRequest) ProtoMessage()
- func (m *QueryDepositsRequest) Reset()
- func (m *QueryDepositsRequest) Size() (n int)
- func (m *QueryDepositsRequest) String() string
- func (m *QueryDepositsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDepositsRequest) XXX_DiscardUnknown()
- func (m *QueryDepositsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDepositsRequest) XXX_Merge(src proto.Message)
- func (m *QueryDepositsRequest) XXX_Size() int
- func (m *QueryDepositsRequest) XXX_Unmarshal(b []byte) error
- type QueryDepositsResponse
- func (*QueryDepositsResponse) Descriptor() ([]byte, []int)
- func (m *QueryDepositsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDepositsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDepositsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDepositsResponse) ProtoMessage()
- func (m *QueryDepositsResponse) Reset()
- func (m *QueryDepositsResponse) Size() (n int)
- func (m *QueryDepositsResponse) String() string
- func (m *QueryDepositsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDepositsResponse) XXX_DiscardUnknown()
- func (m *QueryDepositsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDepositsResponse) XXX_Merge(src proto.Message)
- func (m *QueryDepositsResponse) XXX_Size() int
- func (m *QueryDepositsResponse) XXX_Unmarshal(b []byte) error
- type QueryServiceClient
- type QueryServiceServer
- type UnimplementedQueryServiceServer
Constants ¶
const ( ModuleName = "deposit" QuerierRoute = ModuleName )
Variables ¶
var ( ErrInvalidLengthDeposit = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDeposit = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDeposit = fmt.Errorf("proto: unexpected end of group") )
var ( ErrorInsufficientDepositFunds = errors.Register(ModuleName, 201, "insufficient deposit funds") ErrorDepositDoesNotExist = errors.Register(ModuleName, 202, "deposit does not exist") )
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") )
var ( RouterKey = ModuleName StoreKey = ModuleName )
var ( ErrInvalidLengthQuerier = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuerier = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuerier = fmt.Errorf("proto: unexpected end of group") )
var (
DepositKeyPrefix = []byte{0x10}
)
var (
ErrorInvalidField = errors.Register(ModuleName, 101, "invalid field")
)
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
Functions ¶
func DepositKey ¶
func DepositKey(addr sdk.AccAddress) []byte
func RegisterInterfaces ¶ added in v0.6.0
func RegisterInterfaces(_ types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶ added in v0.6.0
func RegisterLegacyAminoCodec(_ *codec.LegacyAmino)
func RegisterQueryServiceHandler ¶ added in v0.6.0
func RegisterQueryServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterQueryServiceHandler registers the http handlers for service QueryService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryServiceHandlerClient ¶ added in v0.6.0
func RegisterQueryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryServiceClient) error
RegisterQueryServiceHandlerClient registers the http handlers for service QueryService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryServiceClient" to call the correct interceptors.
func RegisterQueryServiceHandlerFromEndpoint ¶ added in v0.6.0
func RegisterQueryServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryServiceHandlerFromEndpoint is same as RegisterQueryServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryServiceHandlerServer ¶ added in v0.6.0
func RegisterQueryServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServiceServer) error
RegisterQueryServiceHandlerServer registers the http handlers for service QueryService to "mux". UnaryRPC :call QueryServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryServiceHandlerFromEndpoint instead.
func RegisterQueryServiceServer ¶ added in v0.6.0
func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer)
func ValidateGenesis ¶ added in v0.6.0
func ValidateGenesis(state GenesisState) error
Types ¶
type Deposit ¶
type Deposit struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"` }
func (*Deposit) Descriptor ¶ added in v0.6.0
func (*Deposit) GetAddress ¶ added in v0.6.0
func (m *Deposit) GetAddress() sdk.AccAddress
func (*Deposit) MarshalToSizedBuffer ¶ added in v0.6.0
func (*Deposit) ProtoMessage ¶ added in v0.6.0
func (*Deposit) ProtoMessage()
func (*Deposit) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *Deposit) XXX_DiscardUnknown()
func (*Deposit) XXX_Marshal ¶ added in v0.6.0
func (*Deposit) XXX_Unmarshal ¶ added in v0.6.0
type EventAdd ¶ added in v0.8.0
type EventAdd struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" yaml:"address"` Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins" yaml:"coins"` }
func (*EventAdd) Descriptor ¶ added in v0.8.0
func (*EventAdd) MarshalToSizedBuffer ¶ added in v0.8.0
func (*EventAdd) ProtoMessage ¶ added in v0.8.0
func (*EventAdd) ProtoMessage()
func (*EventAdd) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *EventAdd) XXX_DiscardUnknown()
func (*EventAdd) XXX_Marshal ¶ added in v0.8.0
func (*EventAdd) XXX_Unmarshal ¶ added in v0.8.0
type EventSubtract ¶ added in v0.8.0
type EventSubtract struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" yaml:"address"` Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins" yaml:"coins"` }
func (*EventSubtract) Descriptor ¶ added in v0.8.0
func (*EventSubtract) Descriptor() ([]byte, []int)
func (*EventSubtract) Marshal ¶ added in v0.8.0
func (m *EventSubtract) Marshal() (dAtA []byte, err error)
func (*EventSubtract) MarshalTo ¶ added in v0.8.0
func (m *EventSubtract) MarshalTo(dAtA []byte) (int, error)
func (*EventSubtract) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *EventSubtract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventSubtract) ProtoMessage ¶ added in v0.8.0
func (*EventSubtract) ProtoMessage()
func (*EventSubtract) Reset ¶ added in v0.8.0
func (m *EventSubtract) Reset()
func (*EventSubtract) Size ¶ added in v0.8.0
func (m *EventSubtract) Size() (n int)
func (*EventSubtract) String ¶ added in v0.8.0
func (m *EventSubtract) String() string
func (*EventSubtract) Unmarshal ¶ added in v0.8.0
func (m *EventSubtract) Unmarshal(dAtA []byte) error
func (*EventSubtract) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *EventSubtract) XXX_DiscardUnknown()
func (*EventSubtract) XXX_Marshal ¶ added in v0.8.0
func (m *EventSubtract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventSubtract) XXX_Merge ¶ added in v0.8.0
func (m *EventSubtract) XXX_Merge(src proto.Message)
func (*EventSubtract) XXX_Size ¶ added in v0.8.0
func (m *EventSubtract) XXX_Size() int
func (*EventSubtract) XXX_Unmarshal ¶ added in v0.8.0
func (m *EventSubtract) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState Deposits
func DefaultGenesisState ¶
func DefaultGenesisState() GenesisState
func NewGenesisState ¶
func NewGenesisState(deposits Deposits) GenesisState
type QueryDepositRequest ¶ added in v0.6.0
type QueryDepositRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
func NewQueryDepositRequest ¶ added in v0.6.0
func NewQueryDepositRequest(address sdk.AccAddress) *QueryDepositRequest
func (*QueryDepositRequest) Descriptor ¶ added in v0.6.0
func (*QueryDepositRequest) Descriptor() ([]byte, []int)
func (*QueryDepositRequest) Marshal ¶ added in v0.6.0
func (m *QueryDepositRequest) Marshal() (dAtA []byte, err error)
func (*QueryDepositRequest) MarshalTo ¶ added in v0.6.0
func (m *QueryDepositRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDepositRequest) MarshalToSizedBuffer ¶ added in v0.6.0
func (m *QueryDepositRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDepositRequest) ProtoMessage ¶ added in v0.6.0
func (*QueryDepositRequest) ProtoMessage()
func (*QueryDepositRequest) Reset ¶ added in v0.6.0
func (m *QueryDepositRequest) Reset()
func (*QueryDepositRequest) Size ¶ added in v0.6.0
func (m *QueryDepositRequest) Size() (n int)
func (*QueryDepositRequest) String ¶ added in v0.6.0
func (m *QueryDepositRequest) String() string
func (*QueryDepositRequest) Unmarshal ¶ added in v0.6.0
func (m *QueryDepositRequest) Unmarshal(dAtA []byte) error
func (*QueryDepositRequest) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *QueryDepositRequest) XXX_DiscardUnknown()
func (*QueryDepositRequest) XXX_Marshal ¶ added in v0.6.0
func (m *QueryDepositRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDepositRequest) XXX_Merge ¶ added in v0.6.0
func (m *QueryDepositRequest) XXX_Merge(src proto.Message)
func (*QueryDepositRequest) XXX_Size ¶ added in v0.6.0
func (m *QueryDepositRequest) XXX_Size() int
func (*QueryDepositRequest) XXX_Unmarshal ¶ added in v0.6.0
func (m *QueryDepositRequest) XXX_Unmarshal(b []byte) error
type QueryDepositResponse ¶ added in v0.6.0
type QueryDepositResponse struct {
Deposit Deposit `protobuf:"bytes,1,opt,name=deposit,proto3" json:"deposit"`
}
func (*QueryDepositResponse) Descriptor ¶ added in v0.6.0
func (*QueryDepositResponse) Descriptor() ([]byte, []int)
func (*QueryDepositResponse) Marshal ¶ added in v0.6.0
func (m *QueryDepositResponse) Marshal() (dAtA []byte, err error)
func (*QueryDepositResponse) MarshalTo ¶ added in v0.6.0
func (m *QueryDepositResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDepositResponse) MarshalToSizedBuffer ¶ added in v0.6.0
func (m *QueryDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDepositResponse) ProtoMessage ¶ added in v0.6.0
func (*QueryDepositResponse) ProtoMessage()
func (*QueryDepositResponse) Reset ¶ added in v0.6.0
func (m *QueryDepositResponse) Reset()
func (*QueryDepositResponse) Size ¶ added in v0.6.0
func (m *QueryDepositResponse) Size() (n int)
func (*QueryDepositResponse) String ¶ added in v0.6.0
func (m *QueryDepositResponse) String() string
func (*QueryDepositResponse) Unmarshal ¶ added in v0.6.0
func (m *QueryDepositResponse) Unmarshal(dAtA []byte) error
func (*QueryDepositResponse) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *QueryDepositResponse) XXX_DiscardUnknown()
func (*QueryDepositResponse) XXX_Marshal ¶ added in v0.6.0
func (m *QueryDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDepositResponse) XXX_Merge ¶ added in v0.6.0
func (m *QueryDepositResponse) XXX_Merge(src proto.Message)
func (*QueryDepositResponse) XXX_Size ¶ added in v0.6.0
func (m *QueryDepositResponse) XXX_Size() int
func (*QueryDepositResponse) XXX_Unmarshal ¶ added in v0.6.0
func (m *QueryDepositResponse) XXX_Unmarshal(b []byte) error
type QueryDepositsRequest ¶ added in v0.6.0
type QueryDepositsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func NewQueryDepositsRequest ¶ added in v0.6.0
func NewQueryDepositsRequest(pagination *query.PageRequest) *QueryDepositsRequest
func (*QueryDepositsRequest) Descriptor ¶ added in v0.6.0
func (*QueryDepositsRequest) Descriptor() ([]byte, []int)
func (*QueryDepositsRequest) Marshal ¶ added in v0.6.0
func (m *QueryDepositsRequest) Marshal() (dAtA []byte, err error)
func (*QueryDepositsRequest) MarshalTo ¶ added in v0.6.0
func (m *QueryDepositsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDepositsRequest) MarshalToSizedBuffer ¶ added in v0.6.0
func (m *QueryDepositsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDepositsRequest) ProtoMessage ¶ added in v0.6.0
func (*QueryDepositsRequest) ProtoMessage()
func (*QueryDepositsRequest) Reset ¶ added in v0.6.0
func (m *QueryDepositsRequest) Reset()
func (*QueryDepositsRequest) Size ¶ added in v0.6.0
func (m *QueryDepositsRequest) Size() (n int)
func (*QueryDepositsRequest) String ¶ added in v0.6.0
func (m *QueryDepositsRequest) String() string
func (*QueryDepositsRequest) Unmarshal ¶ added in v0.6.0
func (m *QueryDepositsRequest) Unmarshal(dAtA []byte) error
func (*QueryDepositsRequest) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *QueryDepositsRequest) XXX_DiscardUnknown()
func (*QueryDepositsRequest) XXX_Marshal ¶ added in v0.6.0
func (m *QueryDepositsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDepositsRequest) XXX_Merge ¶ added in v0.6.0
func (m *QueryDepositsRequest) XXX_Merge(src proto.Message)
func (*QueryDepositsRequest) XXX_Size ¶ added in v0.6.0
func (m *QueryDepositsRequest) XXX_Size() int
func (*QueryDepositsRequest) XXX_Unmarshal ¶ added in v0.6.0
func (m *QueryDepositsRequest) XXX_Unmarshal(b []byte) error
type QueryDepositsResponse ¶ added in v0.6.0
type QueryDepositsResponse struct { Deposits []Deposit `protobuf:"bytes,1,rep,name=deposits,proto3" json:"deposits"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryDepositsResponse) Descriptor ¶ added in v0.6.0
func (*QueryDepositsResponse) Descriptor() ([]byte, []int)
func (*QueryDepositsResponse) Marshal ¶ added in v0.6.0
func (m *QueryDepositsResponse) Marshal() (dAtA []byte, err error)
func (*QueryDepositsResponse) MarshalTo ¶ added in v0.6.0
func (m *QueryDepositsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDepositsResponse) MarshalToSizedBuffer ¶ added in v0.6.0
func (m *QueryDepositsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDepositsResponse) ProtoMessage ¶ added in v0.6.0
func (*QueryDepositsResponse) ProtoMessage()
func (*QueryDepositsResponse) Reset ¶ added in v0.6.0
func (m *QueryDepositsResponse) Reset()
func (*QueryDepositsResponse) Size ¶ added in v0.6.0
func (m *QueryDepositsResponse) Size() (n int)
func (*QueryDepositsResponse) String ¶ added in v0.6.0
func (m *QueryDepositsResponse) String() string
func (*QueryDepositsResponse) Unmarshal ¶ added in v0.6.0
func (m *QueryDepositsResponse) Unmarshal(dAtA []byte) error
func (*QueryDepositsResponse) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *QueryDepositsResponse) XXX_DiscardUnknown()
func (*QueryDepositsResponse) XXX_Marshal ¶ added in v0.6.0
func (m *QueryDepositsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDepositsResponse) XXX_Merge ¶ added in v0.6.0
func (m *QueryDepositsResponse) XXX_Merge(src proto.Message)
func (*QueryDepositsResponse) XXX_Size ¶ added in v0.6.0
func (m *QueryDepositsResponse) XXX_Size() int
func (*QueryDepositsResponse) XXX_Unmarshal ¶ added in v0.6.0
func (m *QueryDepositsResponse) XXX_Unmarshal(b []byte) error
type QueryServiceClient ¶ added in v0.6.0
type QueryServiceClient interface { QueryDeposits(ctx context.Context, in *QueryDepositsRequest, opts ...grpc.CallOption) (*QueryDepositsResponse, error) QueryDeposit(ctx context.Context, in *QueryDepositRequest, opts ...grpc.CallOption) (*QueryDepositResponse, error) }
QueryServiceClient is the client API for QueryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryServiceClient ¶ added in v0.6.0
func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient
type QueryServiceServer ¶ added in v0.6.0
type QueryServiceServer interface { QueryDeposits(context.Context, *QueryDepositsRequest) (*QueryDepositsResponse, error) QueryDeposit(context.Context, *QueryDepositRequest) (*QueryDepositResponse, error) }
QueryServiceServer is the server API for QueryService service.
type UnimplementedQueryServiceServer ¶ added in v0.6.0
type UnimplementedQueryServiceServer struct { }
UnimplementedQueryServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServiceServer) QueryDeposit ¶ added in v0.6.0
func (*UnimplementedQueryServiceServer) QueryDeposit(ctx context.Context, req *QueryDepositRequest) (*QueryDepositResponse, error)
func (*UnimplementedQueryServiceServer) QueryDeposits ¶ added in v0.6.0
func (*UnimplementedQueryServiceServer) QueryDeposits(ctx context.Context, req *QueryDepositsRequest) (*QueryDepositsResponse, error)