community_poolv1

package
v9.0.0-...-e599657 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCommunityPool        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCommunityPool          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCommunityPool = fmt.Errorf("proto: unexpected end of group")
)

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 (*CommunityPoolAssetBalancesRequest) Size

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

func (*CommunityPoolAssetBalancesRequest) 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 (*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 (*CommunityPoolAssetBalancesResponse) Size

func (*CommunityPoolAssetBalancesResponse) 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 (*CommunityPoolAssetBalancesResponse) XXX_Size

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) MarshalTo

func (m *GenesisContent) MarshalTo(dAtA []byte) (int, 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.

Jump to

Keyboard shortcuts

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