types

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName name used throughout module
	ModuleName = "validatorvesting"

	// StoreKey to be used when creating the KVStore
	StoreKey = ModuleName

	// QuerierRoute should be set to module name
	QuerierRoute = ModuleName

	// QueryPath shortened name for public API (cli and REST)
	QueryPath = "vesting"
)

Variables

View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterQueryHandler added in v0.26.0

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient added in v0.26.0

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint added in v0.26.0

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer added in v0.26.0

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer 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 RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer added in v0.26.0

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type BankKeeper

type BankKeeper interface {
	GetSupply(ctx sdk.Context, denom string) sdk.Coin
}

BankKeeper defines the expected bank keeper (noalias)

type QueryCirculatingSupplyHARDRequest added in v0.26.0

type QueryCirculatingSupplyHARDRequest struct {
}

QueryCirculatingSupplyHARDRequest is the request type for the Query/CirculatingSupplyHARD RPC method

func (*QueryCirculatingSupplyHARDRequest) Descriptor added in v0.26.0

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

func (*QueryCirculatingSupplyHARDRequest) Marshal added in v0.26.0

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

func (*QueryCirculatingSupplyHARDRequest) MarshalTo added in v0.26.0

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

func (*QueryCirculatingSupplyHARDRequest) MarshalToSizedBuffer added in v0.26.0

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

func (*QueryCirculatingSupplyHARDRequest) ProtoMessage added in v0.26.0

func (*QueryCirculatingSupplyHARDRequest) ProtoMessage()

func (*QueryCirculatingSupplyHARDRequest) Reset added in v0.26.0

func (*QueryCirculatingSupplyHARDRequest) Size added in v0.26.0

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

func (*QueryCirculatingSupplyHARDRequest) String added in v0.26.0

func (*QueryCirculatingSupplyHARDRequest) Unmarshal added in v0.26.0

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

func (*QueryCirculatingSupplyHARDRequest) XXX_DiscardUnknown added in v0.26.0

func (m *QueryCirculatingSupplyHARDRequest) XXX_DiscardUnknown()

func (*QueryCirculatingSupplyHARDRequest) XXX_Marshal added in v0.26.0

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

func (*QueryCirculatingSupplyHARDRequest) XXX_Merge added in v0.26.0

func (*QueryCirculatingSupplyHARDRequest) XXX_Size added in v0.26.0

func (m *QueryCirculatingSupplyHARDRequest) XXX_Size() int

func (*QueryCirculatingSupplyHARDRequest) XXX_Unmarshal added in v0.26.0

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

type QueryCirculatingSupplyHARDResponse added in v0.26.0

type QueryCirculatingSupplyHARDResponse struct {
	Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
}

QueryCirculatingSupplyHARDResponse is the response type for the Query/CirculatingSupplyHARD RPC method

func (*QueryCirculatingSupplyHARDResponse) Descriptor added in v0.26.0

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

func (*QueryCirculatingSupplyHARDResponse) Marshal added in v0.26.0

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

func (*QueryCirculatingSupplyHARDResponse) MarshalTo added in v0.26.0

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

func (*QueryCirculatingSupplyHARDResponse) MarshalToSizedBuffer added in v0.26.0

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

func (*QueryCirculatingSupplyHARDResponse) ProtoMessage added in v0.26.0

func (*QueryCirculatingSupplyHARDResponse) ProtoMessage()

func (*QueryCirculatingSupplyHARDResponse) Reset added in v0.26.0

func (*QueryCirculatingSupplyHARDResponse) Size added in v0.26.0

func (*QueryCirculatingSupplyHARDResponse) String added in v0.26.0

func (*QueryCirculatingSupplyHARDResponse) Unmarshal added in v0.26.0

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

func (*QueryCirculatingSupplyHARDResponse) XXX_DiscardUnknown added in v0.26.0

func (m *QueryCirculatingSupplyHARDResponse) XXX_DiscardUnknown()

func (*QueryCirculatingSupplyHARDResponse) XXX_Marshal added in v0.26.0

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

func (*QueryCirculatingSupplyHARDResponse) XXX_Merge added in v0.26.0

func (*QueryCirculatingSupplyHARDResponse) XXX_Size added in v0.26.0

func (*QueryCirculatingSupplyHARDResponse) XXX_Unmarshal added in v0.26.0

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

type QueryCirculatingSupplyRequest added in v0.26.0

type QueryCirculatingSupplyRequest struct {
}

QueryCirculatingSupplyRequest is the request type for the Query/CirculatingSupply RPC method

func (*QueryCirculatingSupplyRequest) Descriptor added in v0.26.0

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

func (*QueryCirculatingSupplyRequest) Marshal added in v0.26.0

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

func (*QueryCirculatingSupplyRequest) MarshalTo added in v0.26.0

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

func (*QueryCirculatingSupplyRequest) MarshalToSizedBuffer added in v0.26.0

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

func (*QueryCirculatingSupplyRequest) ProtoMessage added in v0.26.0

func (*QueryCirculatingSupplyRequest) ProtoMessage()

func (*QueryCirculatingSupplyRequest) Reset added in v0.26.0

func (m *QueryCirculatingSupplyRequest) Reset()

func (*QueryCirculatingSupplyRequest) Size added in v0.26.0

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

func (*QueryCirculatingSupplyRequest) String added in v0.26.0

func (*QueryCirculatingSupplyRequest) Unmarshal added in v0.26.0

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

func (*QueryCirculatingSupplyRequest) XXX_DiscardUnknown added in v0.26.0

func (m *QueryCirculatingSupplyRequest) XXX_DiscardUnknown()

func (*QueryCirculatingSupplyRequest) XXX_Marshal added in v0.26.0

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

func (*QueryCirculatingSupplyRequest) XXX_Merge added in v0.26.0

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

func (*QueryCirculatingSupplyRequest) XXX_Size added in v0.26.0

func (m *QueryCirculatingSupplyRequest) XXX_Size() int

func (*QueryCirculatingSupplyRequest) XXX_Unmarshal added in v0.26.0

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

type QueryCirculatingSupplyResponse added in v0.26.0

type QueryCirculatingSupplyResponse struct {
	Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
}

QueryCirculatingSupplyResponse is the response type for the Query/CirculatingSupply RPC method

func (*QueryCirculatingSupplyResponse) Descriptor added in v0.26.0

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

func (*QueryCirculatingSupplyResponse) Marshal added in v0.26.0

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

func (*QueryCirculatingSupplyResponse) MarshalTo added in v0.26.0

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

func (*QueryCirculatingSupplyResponse) MarshalToSizedBuffer added in v0.26.0

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

func (*QueryCirculatingSupplyResponse) ProtoMessage added in v0.26.0

func (*QueryCirculatingSupplyResponse) ProtoMessage()

func (*QueryCirculatingSupplyResponse) Reset added in v0.26.0

func (m *QueryCirculatingSupplyResponse) Reset()

func (*QueryCirculatingSupplyResponse) Size added in v0.26.0

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

func (*QueryCirculatingSupplyResponse) String added in v0.26.0

func (*QueryCirculatingSupplyResponse) Unmarshal added in v0.26.0

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

func (*QueryCirculatingSupplyResponse) XXX_DiscardUnknown added in v0.26.0

func (m *QueryCirculatingSupplyResponse) XXX_DiscardUnknown()

func (*QueryCirculatingSupplyResponse) XXX_Marshal added in v0.26.0

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

func (*QueryCirculatingSupplyResponse) XXX_Merge added in v0.26.0

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

func (*QueryCirculatingSupplyResponse) XXX_Size added in v0.26.0

func (m *QueryCirculatingSupplyResponse) XXX_Size() int

func (*QueryCirculatingSupplyResponse) XXX_Unmarshal added in v0.26.0

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

type QueryCirculatingSupplySWPRequest added in v0.26.0

type QueryCirculatingSupplySWPRequest struct {
}

QueryCirculatingSupplySWPRequest is the request type for the Query/CirculatingSupplySWP RPC method

func (*QueryCirculatingSupplySWPRequest) Descriptor added in v0.26.0

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

func (*QueryCirculatingSupplySWPRequest) Marshal added in v0.26.0

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

func (*QueryCirculatingSupplySWPRequest) MarshalTo added in v0.26.0

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

func (*QueryCirculatingSupplySWPRequest) MarshalToSizedBuffer added in v0.26.0

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

func (*QueryCirculatingSupplySWPRequest) ProtoMessage added in v0.26.0

func (*QueryCirculatingSupplySWPRequest) ProtoMessage()

func (*QueryCirculatingSupplySWPRequest) Reset added in v0.26.0

func (*QueryCirculatingSupplySWPRequest) Size added in v0.26.0

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

func (*QueryCirculatingSupplySWPRequest) String added in v0.26.0

func (*QueryCirculatingSupplySWPRequest) Unmarshal added in v0.26.0

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

func (*QueryCirculatingSupplySWPRequest) XXX_DiscardUnknown added in v0.26.0

func (m *QueryCirculatingSupplySWPRequest) XXX_DiscardUnknown()

func (*QueryCirculatingSupplySWPRequest) XXX_Marshal added in v0.26.0

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

func (*QueryCirculatingSupplySWPRequest) XXX_Merge added in v0.26.0

func (*QueryCirculatingSupplySWPRequest) XXX_Size added in v0.26.0

func (m *QueryCirculatingSupplySWPRequest) XXX_Size() int

func (*QueryCirculatingSupplySWPRequest) XXX_Unmarshal added in v0.26.0

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

type QueryCirculatingSupplySWPResponse added in v0.26.0

type QueryCirculatingSupplySWPResponse struct {
	Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
}

QueryCirculatingSupplySWPResponse is the response type for the Query/CirculatingSupplySWP RPC method

func (*QueryCirculatingSupplySWPResponse) Descriptor added in v0.26.0

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

func (*QueryCirculatingSupplySWPResponse) Marshal added in v0.26.0

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

func (*QueryCirculatingSupplySWPResponse) MarshalTo added in v0.26.0

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

func (*QueryCirculatingSupplySWPResponse) MarshalToSizedBuffer added in v0.26.0

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

func (*QueryCirculatingSupplySWPResponse) ProtoMessage added in v0.26.0

func (*QueryCirculatingSupplySWPResponse) ProtoMessage()

func (*QueryCirculatingSupplySWPResponse) Reset added in v0.26.0

func (*QueryCirculatingSupplySWPResponse) Size added in v0.26.0

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

func (*QueryCirculatingSupplySWPResponse) String added in v0.26.0

func (*QueryCirculatingSupplySWPResponse) Unmarshal added in v0.26.0

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

func (*QueryCirculatingSupplySWPResponse) XXX_DiscardUnknown added in v0.26.0

func (m *QueryCirculatingSupplySWPResponse) XXX_DiscardUnknown()

func (*QueryCirculatingSupplySWPResponse) XXX_Marshal added in v0.26.0

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

func (*QueryCirculatingSupplySWPResponse) XXX_Merge added in v0.26.0

func (*QueryCirculatingSupplySWPResponse) XXX_Size added in v0.26.0

func (m *QueryCirculatingSupplySWPResponse) XXX_Size() int

func (*QueryCirculatingSupplySWPResponse) XXX_Unmarshal added in v0.26.0

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

type QueryCirculatingSupplyUSDXRequest added in v0.26.0

type QueryCirculatingSupplyUSDXRequest struct {
}

QueryCirculatingSupplyUSDXRequest is the request type for the Query/CirculatingSupplyUSDX RPC method

func (*QueryCirculatingSupplyUSDXRequest) Descriptor added in v0.26.0

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

func (*QueryCirculatingSupplyUSDXRequest) Marshal added in v0.26.0

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

func (*QueryCirculatingSupplyUSDXRequest) MarshalTo added in v0.26.0

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

func (*QueryCirculatingSupplyUSDXRequest) MarshalToSizedBuffer added in v0.26.0

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

func (*QueryCirculatingSupplyUSDXRequest) ProtoMessage added in v0.26.0

func (*QueryCirculatingSupplyUSDXRequest) ProtoMessage()

func (*QueryCirculatingSupplyUSDXRequest) Reset added in v0.26.0

func (*QueryCirculatingSupplyUSDXRequest) Size added in v0.26.0

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

func (*QueryCirculatingSupplyUSDXRequest) String added in v0.26.0

func (*QueryCirculatingSupplyUSDXRequest) Unmarshal added in v0.26.0

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

func (*QueryCirculatingSupplyUSDXRequest) XXX_DiscardUnknown added in v0.26.0

func (m *QueryCirculatingSupplyUSDXRequest) XXX_DiscardUnknown()

func (*QueryCirculatingSupplyUSDXRequest) XXX_Marshal added in v0.26.0

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

func (*QueryCirculatingSupplyUSDXRequest) XXX_Merge added in v0.26.0

func (*QueryCirculatingSupplyUSDXRequest) XXX_Size added in v0.26.0

func (m *QueryCirculatingSupplyUSDXRequest) XXX_Size() int

func (*QueryCirculatingSupplyUSDXRequest) XXX_Unmarshal added in v0.26.0

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

type QueryCirculatingSupplyUSDXResponse added in v0.26.0

type QueryCirculatingSupplyUSDXResponse struct {
	Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
}

QueryCirculatingSupplyUSDXResponse is the response type for the Query/CirculatingSupplyUSDX RPC method

func (*QueryCirculatingSupplyUSDXResponse) Descriptor added in v0.26.0

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

func (*QueryCirculatingSupplyUSDXResponse) Marshal added in v0.26.0

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

func (*QueryCirculatingSupplyUSDXResponse) MarshalTo added in v0.26.0

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

func (*QueryCirculatingSupplyUSDXResponse) MarshalToSizedBuffer added in v0.26.0

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

func (*QueryCirculatingSupplyUSDXResponse) ProtoMessage added in v0.26.0

func (*QueryCirculatingSupplyUSDXResponse) ProtoMessage()

func (*QueryCirculatingSupplyUSDXResponse) Reset added in v0.26.0

func (*QueryCirculatingSupplyUSDXResponse) Size added in v0.26.0

func (*QueryCirculatingSupplyUSDXResponse) String added in v0.26.0

func (*QueryCirculatingSupplyUSDXResponse) Unmarshal added in v0.26.0

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

func (*QueryCirculatingSupplyUSDXResponse) XXX_DiscardUnknown added in v0.26.0

func (m *QueryCirculatingSupplyUSDXResponse) XXX_DiscardUnknown()

func (*QueryCirculatingSupplyUSDXResponse) XXX_Marshal added in v0.26.0

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

func (*QueryCirculatingSupplyUSDXResponse) XXX_Merge added in v0.26.0

func (*QueryCirculatingSupplyUSDXResponse) XXX_Size added in v0.26.0

func (*QueryCirculatingSupplyUSDXResponse) XXX_Unmarshal added in v0.26.0

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

type QueryClient added in v0.26.0

type QueryClient interface {
	// CirculatingSupply returns the total amount of kava tokens in circulation
	CirculatingSupply(ctx context.Context, in *QueryCirculatingSupplyRequest, opts ...grpc.CallOption) (*QueryCirculatingSupplyResponse, error)
	// TotalSupply returns the total amount of kava tokens
	TotalSupply(ctx context.Context, in *QueryTotalSupplyRequest, opts ...grpc.CallOption) (*QueryTotalSupplyResponse, error)
	// CirculatingSupplyHARD returns the total amount of hard tokens in circulation
	CirculatingSupplyHARD(ctx context.Context, in *QueryCirculatingSupplyHARDRequest, opts ...grpc.CallOption) (*QueryCirculatingSupplyHARDResponse, error)
	// CirculatingSupplyUSDX returns the total amount of usdx tokens in circulation
	CirculatingSupplyUSDX(ctx context.Context, in *QueryCirculatingSupplyUSDXRequest, opts ...grpc.CallOption) (*QueryCirculatingSupplyUSDXResponse, error)
	// CirculatingSupplySWP returns the total amount of swp tokens in circulation
	CirculatingSupplySWP(ctx context.Context, in *QueryCirculatingSupplySWPRequest, opts ...grpc.CallOption) (*QueryCirculatingSupplySWPResponse, error)
	// TotalSupplyHARD returns the total amount of hard tokens
	TotalSupplyHARD(ctx context.Context, in *QueryTotalSupplyHARDRequest, opts ...grpc.CallOption) (*QueryTotalSupplyHARDResponse, error)
	// TotalSupplyUSDX returns the total amount of usdx tokens
	TotalSupplyUSDX(ctx context.Context, in *QueryTotalSupplyUSDXRequest, opts ...grpc.CallOption) (*QueryTotalSupplyUSDXResponse, error)
}

QueryClient is the client API for Query service.

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

func NewQueryClient added in v0.26.0

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryServer added in v0.26.0

type QueryServer interface {
	// CirculatingSupply returns the total amount of kava tokens in circulation
	CirculatingSupply(context.Context, *QueryCirculatingSupplyRequest) (*QueryCirculatingSupplyResponse, error)
	// TotalSupply returns the total amount of kava tokens
	TotalSupply(context.Context, *QueryTotalSupplyRequest) (*QueryTotalSupplyResponse, error)
	// CirculatingSupplyHARD returns the total amount of hard tokens in circulation
	CirculatingSupplyHARD(context.Context, *QueryCirculatingSupplyHARDRequest) (*QueryCirculatingSupplyHARDResponse, error)
	// CirculatingSupplyUSDX returns the total amount of usdx tokens in circulation
	CirculatingSupplyUSDX(context.Context, *QueryCirculatingSupplyUSDXRequest) (*QueryCirculatingSupplyUSDXResponse, error)
	// CirculatingSupplySWP returns the total amount of swp tokens in circulation
	CirculatingSupplySWP(context.Context, *QueryCirculatingSupplySWPRequest) (*QueryCirculatingSupplySWPResponse, error)
	// TotalSupplyHARD returns the total amount of hard tokens
	TotalSupplyHARD(context.Context, *QueryTotalSupplyHARDRequest) (*QueryTotalSupplyHARDResponse, error)
	// TotalSupplyUSDX returns the total amount of usdx tokens
	TotalSupplyUSDX(context.Context, *QueryTotalSupplyUSDXRequest) (*QueryTotalSupplyUSDXResponse, error)
}

QueryServer is the server API for Query service.

type QueryTotalSupplyHARDRequest added in v0.26.0

type QueryTotalSupplyHARDRequest struct {
}

QueryTotalSupplyHARDRequest is the request type for the Query/TotalSupplyHARD RPC method

func (*QueryTotalSupplyHARDRequest) Descriptor added in v0.26.0

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

func (*QueryTotalSupplyHARDRequest) Marshal added in v0.26.0

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

func (*QueryTotalSupplyHARDRequest) MarshalTo added in v0.26.0

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

func (*QueryTotalSupplyHARDRequest) MarshalToSizedBuffer added in v0.26.0

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

func (*QueryTotalSupplyHARDRequest) ProtoMessage added in v0.26.0

func (*QueryTotalSupplyHARDRequest) ProtoMessage()

func (*QueryTotalSupplyHARDRequest) Reset added in v0.26.0

func (m *QueryTotalSupplyHARDRequest) Reset()

func (*QueryTotalSupplyHARDRequest) Size added in v0.26.0

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

func (*QueryTotalSupplyHARDRequest) String added in v0.26.0

func (m *QueryTotalSupplyHARDRequest) String() string

func (*QueryTotalSupplyHARDRequest) Unmarshal added in v0.26.0

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

func (*QueryTotalSupplyHARDRequest) XXX_DiscardUnknown added in v0.26.0

func (m *QueryTotalSupplyHARDRequest) XXX_DiscardUnknown()

func (*QueryTotalSupplyHARDRequest) XXX_Marshal added in v0.26.0

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

func (*QueryTotalSupplyHARDRequest) XXX_Merge added in v0.26.0

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

func (*QueryTotalSupplyHARDRequest) XXX_Size added in v0.26.0

func (m *QueryTotalSupplyHARDRequest) XXX_Size() int

func (*QueryTotalSupplyHARDRequest) XXX_Unmarshal added in v0.26.0

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

type QueryTotalSupplyHARDResponse added in v0.26.0

type QueryTotalSupplyHARDResponse struct {
	Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
}

QueryTotalSupplyHARDResponse is the response type for the Query/TotalSupplyHARD RPC method

func (*QueryTotalSupplyHARDResponse) Descriptor added in v0.26.0

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

func (*QueryTotalSupplyHARDResponse) Marshal added in v0.26.0

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

func (*QueryTotalSupplyHARDResponse) MarshalTo added in v0.26.0

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

func (*QueryTotalSupplyHARDResponse) MarshalToSizedBuffer added in v0.26.0

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

func (*QueryTotalSupplyHARDResponse) ProtoMessage added in v0.26.0

func (*QueryTotalSupplyHARDResponse) ProtoMessage()

func (*QueryTotalSupplyHARDResponse) Reset added in v0.26.0

func (m *QueryTotalSupplyHARDResponse) Reset()

func (*QueryTotalSupplyHARDResponse) Size added in v0.26.0

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

func (*QueryTotalSupplyHARDResponse) String added in v0.26.0

func (*QueryTotalSupplyHARDResponse) Unmarshal added in v0.26.0

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

func (*QueryTotalSupplyHARDResponse) XXX_DiscardUnknown added in v0.26.0

func (m *QueryTotalSupplyHARDResponse) XXX_DiscardUnknown()

func (*QueryTotalSupplyHARDResponse) XXX_Marshal added in v0.26.0

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

func (*QueryTotalSupplyHARDResponse) XXX_Merge added in v0.26.0

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

func (*QueryTotalSupplyHARDResponse) XXX_Size added in v0.26.0

func (m *QueryTotalSupplyHARDResponse) XXX_Size() int

func (*QueryTotalSupplyHARDResponse) XXX_Unmarshal added in v0.26.0

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

type QueryTotalSupplyRequest added in v0.26.0

type QueryTotalSupplyRequest struct {
}

QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC method

func (*QueryTotalSupplyRequest) Descriptor added in v0.26.0

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

func (*QueryTotalSupplyRequest) Marshal added in v0.26.0

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

func (*QueryTotalSupplyRequest) MarshalTo added in v0.26.0

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

func (*QueryTotalSupplyRequest) MarshalToSizedBuffer added in v0.26.0

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

func (*QueryTotalSupplyRequest) ProtoMessage added in v0.26.0

func (*QueryTotalSupplyRequest) ProtoMessage()

func (*QueryTotalSupplyRequest) Reset added in v0.26.0

func (m *QueryTotalSupplyRequest) Reset()

func (*QueryTotalSupplyRequest) Size added in v0.26.0

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

func (*QueryTotalSupplyRequest) String added in v0.26.0

func (m *QueryTotalSupplyRequest) String() string

func (*QueryTotalSupplyRequest) Unmarshal added in v0.26.0

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

func (*QueryTotalSupplyRequest) XXX_DiscardUnknown added in v0.26.0

func (m *QueryTotalSupplyRequest) XXX_DiscardUnknown()

func (*QueryTotalSupplyRequest) XXX_Marshal added in v0.26.0

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

func (*QueryTotalSupplyRequest) XXX_Merge added in v0.26.0

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

func (*QueryTotalSupplyRequest) XXX_Size added in v0.26.0

func (m *QueryTotalSupplyRequest) XXX_Size() int

func (*QueryTotalSupplyRequest) XXX_Unmarshal added in v0.26.0

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

type QueryTotalSupplyResponse added in v0.26.0

type QueryTotalSupplyResponse struct {
	Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
}

QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC method

func (*QueryTotalSupplyResponse) Descriptor added in v0.26.0

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

func (*QueryTotalSupplyResponse) Marshal added in v0.26.0

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

func (*QueryTotalSupplyResponse) MarshalTo added in v0.26.0

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

func (*QueryTotalSupplyResponse) MarshalToSizedBuffer added in v0.26.0

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

func (*QueryTotalSupplyResponse) ProtoMessage added in v0.26.0

func (*QueryTotalSupplyResponse) ProtoMessage()

func (*QueryTotalSupplyResponse) Reset added in v0.26.0

func (m *QueryTotalSupplyResponse) Reset()

func (*QueryTotalSupplyResponse) Size added in v0.26.0

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

func (*QueryTotalSupplyResponse) String added in v0.26.0

func (m *QueryTotalSupplyResponse) String() string

func (*QueryTotalSupplyResponse) Unmarshal added in v0.26.0

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

func (*QueryTotalSupplyResponse) XXX_DiscardUnknown added in v0.26.0

func (m *QueryTotalSupplyResponse) XXX_DiscardUnknown()

func (*QueryTotalSupplyResponse) XXX_Marshal added in v0.26.0

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

func (*QueryTotalSupplyResponse) XXX_Merge added in v0.26.0

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

func (*QueryTotalSupplyResponse) XXX_Size added in v0.26.0

func (m *QueryTotalSupplyResponse) XXX_Size() int

func (*QueryTotalSupplyResponse) XXX_Unmarshal added in v0.26.0

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

type QueryTotalSupplyUSDXRequest added in v0.26.0

type QueryTotalSupplyUSDXRequest struct {
}

QueryTotalSupplyUSDXRequest is the request type for the Query/TotalSupplyUSDX RPC method

func (*QueryTotalSupplyUSDXRequest) Descriptor added in v0.26.0

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

func (*QueryTotalSupplyUSDXRequest) Marshal added in v0.26.0

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

func (*QueryTotalSupplyUSDXRequest) MarshalTo added in v0.26.0

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

func (*QueryTotalSupplyUSDXRequest) MarshalToSizedBuffer added in v0.26.0

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

func (*QueryTotalSupplyUSDXRequest) ProtoMessage added in v0.26.0

func (*QueryTotalSupplyUSDXRequest) ProtoMessage()

func (*QueryTotalSupplyUSDXRequest) Reset added in v0.26.0

func (m *QueryTotalSupplyUSDXRequest) Reset()

func (*QueryTotalSupplyUSDXRequest) Size added in v0.26.0

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

func (*QueryTotalSupplyUSDXRequest) String added in v0.26.0

func (m *QueryTotalSupplyUSDXRequest) String() string

func (*QueryTotalSupplyUSDXRequest) Unmarshal added in v0.26.0

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

func (*QueryTotalSupplyUSDXRequest) XXX_DiscardUnknown added in v0.26.0

func (m *QueryTotalSupplyUSDXRequest) XXX_DiscardUnknown()

func (*QueryTotalSupplyUSDXRequest) XXX_Marshal added in v0.26.0

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

func (*QueryTotalSupplyUSDXRequest) XXX_Merge added in v0.26.0

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

func (*QueryTotalSupplyUSDXRequest) XXX_Size added in v0.26.0

func (m *QueryTotalSupplyUSDXRequest) XXX_Size() int

func (*QueryTotalSupplyUSDXRequest) XXX_Unmarshal added in v0.26.0

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

type QueryTotalSupplyUSDXResponse added in v0.26.0

type QueryTotalSupplyUSDXResponse struct {
	Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
}

QueryTotalSupplyUSDXResponse is the response type for the Query/TotalSupplyUSDX RPC method

func (*QueryTotalSupplyUSDXResponse) Descriptor added in v0.26.0

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

func (*QueryTotalSupplyUSDXResponse) Marshal added in v0.26.0

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

func (*QueryTotalSupplyUSDXResponse) MarshalTo added in v0.26.0

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

func (*QueryTotalSupplyUSDXResponse) MarshalToSizedBuffer added in v0.26.0

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

func (*QueryTotalSupplyUSDXResponse) ProtoMessage added in v0.26.0

func (*QueryTotalSupplyUSDXResponse) ProtoMessage()

func (*QueryTotalSupplyUSDXResponse) Reset added in v0.26.0

func (m *QueryTotalSupplyUSDXResponse) Reset()

func (*QueryTotalSupplyUSDXResponse) Size added in v0.26.0

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

func (*QueryTotalSupplyUSDXResponse) String added in v0.26.0

func (*QueryTotalSupplyUSDXResponse) Unmarshal added in v0.26.0

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

func (*QueryTotalSupplyUSDXResponse) XXX_DiscardUnknown added in v0.26.0

func (m *QueryTotalSupplyUSDXResponse) XXX_DiscardUnknown()

func (*QueryTotalSupplyUSDXResponse) XXX_Marshal added in v0.26.0

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

func (*QueryTotalSupplyUSDXResponse) XXX_Merge added in v0.26.0

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

func (*QueryTotalSupplyUSDXResponse) XXX_Size added in v0.26.0

func (m *QueryTotalSupplyUSDXResponse) XXX_Size() int

func (*QueryTotalSupplyUSDXResponse) XXX_Unmarshal added in v0.26.0

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

type UnimplementedQueryServer added in v0.26.0

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) CirculatingSupply added in v0.26.0

func (*UnimplementedQueryServer) CirculatingSupplyHARD added in v0.26.0

func (*UnimplementedQueryServer) CirculatingSupplySWP added in v0.26.0

func (*UnimplementedQueryServer) CirculatingSupplyUSDX added in v0.26.0

func (*UnimplementedQueryServer) TotalSupply added in v0.26.0

func (*UnimplementedQueryServer) TotalSupplyHARD added in v0.26.0

func (*UnimplementedQueryServer) TotalSupplyUSDX added in v0.26.0

Jump to

Keyboard shortcuts

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