Documentation ¶
Index ¶
- Variables
- func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer)
- type CommunityPoolAssetBalancesRequest
- func (*CommunityPoolAssetBalancesRequest) Descriptor() ([]byte, []int)
- func (m *CommunityPoolAssetBalancesRequest) GetAssetIds() []*v1.AssetId
- func (m *CommunityPoolAssetBalancesRequest) Marshal() (dAtA []byte, err error)
- func (m *CommunityPoolAssetBalancesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CommunityPoolAssetBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CommunityPoolAssetBalancesRequest) ProtoMessage()
- func (m *CommunityPoolAssetBalancesRequest) Reset()
- func (m *CommunityPoolAssetBalancesRequest) Size() (n int)
- func (m *CommunityPoolAssetBalancesRequest) String() string
- func (m *CommunityPoolAssetBalancesRequest) Unmarshal(dAtA []byte) error
- func (m *CommunityPoolAssetBalancesRequest) XXX_DiscardUnknown()
- func (m *CommunityPoolAssetBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommunityPoolAssetBalancesRequest) XXX_Merge(src proto.Message)
- func (m *CommunityPoolAssetBalancesRequest) XXX_Size() int
- func (m *CommunityPoolAssetBalancesRequest) XXX_Unmarshal(b []byte) error
- type CommunityPoolAssetBalancesResponse
- func (*CommunityPoolAssetBalancesResponse) Descriptor() ([]byte, []int)
- func (m *CommunityPoolAssetBalancesResponse) GetBalance() *v1.Value
- func (m *CommunityPoolAssetBalancesResponse) Marshal() (dAtA []byte, err error)
- func (m *CommunityPoolAssetBalancesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CommunityPoolAssetBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CommunityPoolAssetBalancesResponse) ProtoMessage()
- func (m *CommunityPoolAssetBalancesResponse) Reset()
- func (m *CommunityPoolAssetBalancesResponse) Size() (n int)
- func (m *CommunityPoolAssetBalancesResponse) String() string
- func (m *CommunityPoolAssetBalancesResponse) Unmarshal(dAtA []byte) error
- func (m *CommunityPoolAssetBalancesResponse) XXX_DiscardUnknown()
- func (m *CommunityPoolAssetBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommunityPoolAssetBalancesResponse) XXX_Merge(src proto.Message)
- func (m *CommunityPoolAssetBalancesResponse) XXX_Size() int
- func (m *CommunityPoolAssetBalancesResponse) XXX_Unmarshal(b []byte) error
- type CommunityPoolParameters
- func (*CommunityPoolParameters) Descriptor() ([]byte, []int)
- func (m *CommunityPoolParameters) GetCommunityPoolSpendProposalsEnabled() bool
- func (m *CommunityPoolParameters) Marshal() (dAtA []byte, err error)
- func (m *CommunityPoolParameters) MarshalTo(dAtA []byte) (int, error)
- func (m *CommunityPoolParameters) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CommunityPoolParameters) ProtoMessage()
- func (m *CommunityPoolParameters) Reset()
- func (m *CommunityPoolParameters) Size() (n int)
- func (m *CommunityPoolParameters) String() string
- func (m *CommunityPoolParameters) Unmarshal(dAtA []byte) error
- func (m *CommunityPoolParameters) XXX_DiscardUnknown()
- func (m *CommunityPoolParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommunityPoolParameters) XXX_Merge(src proto.Message)
- func (m *CommunityPoolParameters) XXX_Size() int
- func (m *CommunityPoolParameters) XXX_Unmarshal(b []byte) error
- type GenesisContent
- func (*GenesisContent) Descriptor() ([]byte, []int)
- func (m *GenesisContent) GetCommunityPoolParams() *CommunityPoolParameters
- func (m *GenesisContent) Marshal() (dAtA []byte, err error)
- func (m *GenesisContent) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisContent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisContent) ProtoMessage()
- func (m *GenesisContent) Reset()
- func (m *GenesisContent) Size() (n int)
- func (m *GenesisContent) String() string
- func (m *GenesisContent) Unmarshal(dAtA []byte) error
- func (m *GenesisContent) XXX_DiscardUnknown()
- func (m *GenesisContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisContent) XXX_Merge(src proto.Message)
- func (m *GenesisContent) XXX_Size() int
- func (m *GenesisContent) XXX_Unmarshal(b []byte) error
- type QueryServiceClient
- type QueryServiceServer
- type QueryService_CommunityPoolAssetBalancesClient
- type QueryService_CommunityPoolAssetBalancesServer
- type UnimplementedQueryServiceServer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterQueryServiceServer ¶
func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer)
Types ¶
type CommunityPoolAssetBalancesRequest ¶
type CommunityPoolAssetBalancesRequest struct { // (Optional): The specific asset balances to retrieve, if excluded all will be returned. AssetIds []*v1.AssetId `protobuf:"bytes,2,rep,name=asset_ids,json=assetIds,proto3" json:"asset_ids,omitempty"` }
Requests the list of all asset balances associated with the Community Pool.
func (*CommunityPoolAssetBalancesRequest) Descriptor ¶
func (*CommunityPoolAssetBalancesRequest) Descriptor() ([]byte, []int)
func (*CommunityPoolAssetBalancesRequest) GetAssetIds ¶
func (m *CommunityPoolAssetBalancesRequest) GetAssetIds() []*v1.AssetId
func (*CommunityPoolAssetBalancesRequest) Marshal ¶
func (m *CommunityPoolAssetBalancesRequest) Marshal() (dAtA []byte, err error)
func (*CommunityPoolAssetBalancesRequest) MarshalTo ¶
func (m *CommunityPoolAssetBalancesRequest) MarshalTo(dAtA []byte) (int, error)
func (*CommunityPoolAssetBalancesRequest) MarshalToSizedBuffer ¶
func (m *CommunityPoolAssetBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CommunityPoolAssetBalancesRequest) ProtoMessage ¶
func (*CommunityPoolAssetBalancesRequest) ProtoMessage()
func (*CommunityPoolAssetBalancesRequest) Reset ¶
func (m *CommunityPoolAssetBalancesRequest) Reset()
func (*CommunityPoolAssetBalancesRequest) Size ¶
func (m *CommunityPoolAssetBalancesRequest) Size() (n int)
func (*CommunityPoolAssetBalancesRequest) String ¶
func (m *CommunityPoolAssetBalancesRequest) String() string
func (*CommunityPoolAssetBalancesRequest) Unmarshal ¶
func (m *CommunityPoolAssetBalancesRequest) Unmarshal(dAtA []byte) error
func (*CommunityPoolAssetBalancesRequest) XXX_DiscardUnknown ¶
func (m *CommunityPoolAssetBalancesRequest) XXX_DiscardUnknown()
func (*CommunityPoolAssetBalancesRequest) XXX_Marshal ¶
func (m *CommunityPoolAssetBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommunityPoolAssetBalancesRequest) XXX_Merge ¶
func (m *CommunityPoolAssetBalancesRequest) XXX_Merge(src proto.Message)
func (*CommunityPoolAssetBalancesRequest) XXX_Size ¶
func (m *CommunityPoolAssetBalancesRequest) XXX_Size() int
func (*CommunityPoolAssetBalancesRequest) XXX_Unmarshal ¶
func (m *CommunityPoolAssetBalancesRequest) XXX_Unmarshal(b []byte) error
type CommunityPoolAssetBalancesResponse ¶
type CommunityPoolAssetBalancesResponse struct { // The balance for a single asset. Balance *v1.Value `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` }
The Community Pool's balance of a single asset.
func (*CommunityPoolAssetBalancesResponse) Descriptor ¶
func (*CommunityPoolAssetBalancesResponse) Descriptor() ([]byte, []int)
func (*CommunityPoolAssetBalancesResponse) GetBalance ¶
func (m *CommunityPoolAssetBalancesResponse) GetBalance() *v1.Value
func (*CommunityPoolAssetBalancesResponse) Marshal ¶
func (m *CommunityPoolAssetBalancesResponse) Marshal() (dAtA []byte, err error)
func (*CommunityPoolAssetBalancesResponse) MarshalTo ¶
func (m *CommunityPoolAssetBalancesResponse) MarshalTo(dAtA []byte) (int, error)
func (*CommunityPoolAssetBalancesResponse) MarshalToSizedBuffer ¶
func (m *CommunityPoolAssetBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CommunityPoolAssetBalancesResponse) ProtoMessage ¶
func (*CommunityPoolAssetBalancesResponse) ProtoMessage()
func (*CommunityPoolAssetBalancesResponse) Reset ¶
func (m *CommunityPoolAssetBalancesResponse) Reset()
func (*CommunityPoolAssetBalancesResponse) Size ¶
func (m *CommunityPoolAssetBalancesResponse) Size() (n int)
func (*CommunityPoolAssetBalancesResponse) String ¶
func (m *CommunityPoolAssetBalancesResponse) String() string
func (*CommunityPoolAssetBalancesResponse) Unmarshal ¶
func (m *CommunityPoolAssetBalancesResponse) Unmarshal(dAtA []byte) error
func (*CommunityPoolAssetBalancesResponse) XXX_DiscardUnknown ¶
func (m *CommunityPoolAssetBalancesResponse) XXX_DiscardUnknown()
func (*CommunityPoolAssetBalancesResponse) XXX_Marshal ¶
func (m *CommunityPoolAssetBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommunityPoolAssetBalancesResponse) XXX_Merge ¶
func (m *CommunityPoolAssetBalancesResponse) XXX_Merge(src proto.Message)
func (*CommunityPoolAssetBalancesResponse) XXX_Size ¶
func (m *CommunityPoolAssetBalancesResponse) XXX_Size() int
func (*CommunityPoolAssetBalancesResponse) XXX_Unmarshal ¶
func (m *CommunityPoolAssetBalancesResponse) XXX_Unmarshal(b []byte) error
type CommunityPoolParameters ¶
type CommunityPoolParameters struct { // Whether Community Pool spend proposals are enabled. CommunityPoolSpendProposalsEnabled bool `` /* 170-byte string literal not displayed */ }
CommunityPool parameter data.
func (*CommunityPoolParameters) Descriptor ¶
func (*CommunityPoolParameters) Descriptor() ([]byte, []int)
func (*CommunityPoolParameters) GetCommunityPoolSpendProposalsEnabled ¶
func (m *CommunityPoolParameters) GetCommunityPoolSpendProposalsEnabled() bool
func (*CommunityPoolParameters) Marshal ¶
func (m *CommunityPoolParameters) Marshal() (dAtA []byte, err error)
func (*CommunityPoolParameters) MarshalTo ¶
func (m *CommunityPoolParameters) MarshalTo(dAtA []byte) (int, error)
func (*CommunityPoolParameters) MarshalToSizedBuffer ¶
func (m *CommunityPoolParameters) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CommunityPoolParameters) ProtoMessage ¶
func (*CommunityPoolParameters) ProtoMessage()
func (*CommunityPoolParameters) Reset ¶
func (m *CommunityPoolParameters) Reset()
func (*CommunityPoolParameters) Size ¶
func (m *CommunityPoolParameters) Size() (n int)
func (*CommunityPoolParameters) String ¶
func (m *CommunityPoolParameters) String() string
func (*CommunityPoolParameters) Unmarshal ¶
func (m *CommunityPoolParameters) Unmarshal(dAtA []byte) error
func (*CommunityPoolParameters) XXX_DiscardUnknown ¶
func (m *CommunityPoolParameters) XXX_DiscardUnknown()
func (*CommunityPoolParameters) XXX_Marshal ¶
func (m *CommunityPoolParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommunityPoolParameters) XXX_Merge ¶
func (m *CommunityPoolParameters) XXX_Merge(src proto.Message)
func (*CommunityPoolParameters) XXX_Size ¶
func (m *CommunityPoolParameters) XXX_Size() int
func (*CommunityPoolParameters) XXX_Unmarshal ¶
func (m *CommunityPoolParameters) XXX_Unmarshal(b []byte) error
type GenesisContent ¶
type GenesisContent struct { // CommunityPool parameters. CommunityPoolParams *CommunityPoolParameters `protobuf:"bytes,1,opt,name=community_pool_params,json=communityPoolParams,proto3" json:"community_pool_params,omitempty"` }
CommunityPool genesis state.
func (*GenesisContent) Descriptor ¶
func (*GenesisContent) Descriptor() ([]byte, []int)
func (*GenesisContent) GetCommunityPoolParams ¶
func (m *GenesisContent) GetCommunityPoolParams() *CommunityPoolParameters
func (*GenesisContent) Marshal ¶
func (m *GenesisContent) Marshal() (dAtA []byte, err error)
func (*GenesisContent) MarshalToSizedBuffer ¶
func (m *GenesisContent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisContent) ProtoMessage ¶
func (*GenesisContent) ProtoMessage()
func (*GenesisContent) Reset ¶
func (m *GenesisContent) Reset()
func (*GenesisContent) Size ¶
func (m *GenesisContent) Size() (n int)
func (*GenesisContent) String ¶
func (m *GenesisContent) String() string
func (*GenesisContent) Unmarshal ¶
func (m *GenesisContent) Unmarshal(dAtA []byte) error
func (*GenesisContent) XXX_DiscardUnknown ¶
func (m *GenesisContent) XXX_DiscardUnknown()
func (*GenesisContent) XXX_Marshal ¶
func (m *GenesisContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisContent) XXX_Merge ¶
func (m *GenesisContent) XXX_Merge(src proto.Message)
func (*GenesisContent) XXX_Size ¶
func (m *GenesisContent) XXX_Size() int
func (*GenesisContent) XXX_Unmarshal ¶
func (m *GenesisContent) XXX_Unmarshal(b []byte) error
type QueryServiceClient ¶
type QueryServiceClient interface {
CommunityPoolAssetBalances(ctx context.Context, in *CommunityPoolAssetBalancesRequest, opts ...grpc.CallOption) (QueryService_CommunityPoolAssetBalancesClient, 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 ¶
func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient
type QueryServiceServer ¶
type QueryServiceServer interface {
CommunityPoolAssetBalances(*CommunityPoolAssetBalancesRequest, QueryService_CommunityPoolAssetBalancesServer) error
}
QueryServiceServer is the server API for QueryService service.
type QueryService_CommunityPoolAssetBalancesClient ¶
type QueryService_CommunityPoolAssetBalancesClient interface { Recv() (*CommunityPoolAssetBalancesResponse, error) grpc.ClientStream }
type QueryService_CommunityPoolAssetBalancesServer ¶
type QueryService_CommunityPoolAssetBalancesServer interface { Send(*CommunityPoolAssetBalancesResponse) error grpc.ServerStream }
type UnimplementedQueryServiceServer ¶
type UnimplementedQueryServiceServer struct { }
UnimplementedQueryServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServiceServer) CommunityPoolAssetBalances ¶
func (*UnimplementedQueryServiceServer) CommunityPoolAssetBalances(req *CommunityPoolAssetBalancesRequest, srv QueryService_CommunityPoolAssetBalancesServer) error
Click to show internal directories.
Click to hide internal directories.