Documentation
¶
Index ¶
- Variables
- func RegisterCoreApiServiceServer(s grpc.ServiceRegistrar, srv CoreApiServiceServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAsset() string
- func (x *Account) GetBalance() string
- func (x *Account) GetMarket() string
- func (x *Account) GetParty() string
- func (x *Account) GetType() string
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- func (this *Account) Validate() error
- type CoreApiServiceClient
- type CoreApiServiceServer
- type ListAccountsRequest
- func (*ListAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountsRequest) GetMarket() string
- func (x *ListAccountsRequest) GetParty() string
- func (*ListAccountsRequest) ProtoMessage()
- func (x *ListAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAccountsRequest) Reset()
- func (x *ListAccountsRequest) String() string
- func (this *ListAccountsRequest) Validate() error
- type ListAccountsResponse
- func (*ListAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountsResponse) GetAccounts() []*Account
- func (*ListAccountsResponse) ProtoMessage()
- func (x *ListAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAccountsResponse) Reset()
- func (x *ListAccountsResponse) String() string
- func (this *ListAccountsResponse) Validate() error
- type ListAssetsRequest
- func (*ListAssetsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAssetsRequest) GetAsset() string
- func (*ListAssetsRequest) ProtoMessage()
- func (x *ListAssetsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAssetsRequest) Reset()
- func (x *ListAssetsRequest) String() string
- func (this *ListAssetsRequest) Validate() error
- type ListAssetsResponse
- func (*ListAssetsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAssetsResponse) GetAssets() []*vega.Asset
- func (*ListAssetsResponse) ProtoMessage()
- func (x *ListAssetsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAssetsResponse) Reset()
- func (x *ListAssetsResponse) String() string
- func (this *ListAssetsResponse) Validate() error
- type ListDelegationsRequest
- func (*ListDelegationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDelegationsRequest) GetEpochSeq() string
- func (x *ListDelegationsRequest) GetNode() string
- func (x *ListDelegationsRequest) GetParty() string
- func (*ListDelegationsRequest) ProtoMessage()
- func (x *ListDelegationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDelegationsRequest) Reset()
- func (x *ListDelegationsRequest) String() string
- func (this *ListDelegationsRequest) Validate() error
- type ListDelegationsResponse
- func (*ListDelegationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDelegationsResponse) GetDelegations() []*vega.Delegation
- func (*ListDelegationsResponse) ProtoMessage()
- func (x *ListDelegationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDelegationsResponse) Reset()
- func (x *ListDelegationsResponse) String() string
- func (this *ListDelegationsResponse) Validate() error
- type ListMarketsDataRequest
- func (*ListMarketsDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMarketsDataRequest) GetMarket() string
- func (*ListMarketsDataRequest) ProtoMessage()
- func (x *ListMarketsDataRequest) ProtoReflect() protoreflect.Message
- func (x *ListMarketsDataRequest) Reset()
- func (x *ListMarketsDataRequest) String() string
- func (this *ListMarketsDataRequest) Validate() error
- type ListMarketsDataResponse
- func (*ListMarketsDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMarketsDataResponse) GetMarketsData() []*vega.MarketData
- func (*ListMarketsDataResponse) ProtoMessage()
- func (x *ListMarketsDataResponse) ProtoReflect() protoreflect.Message
- func (x *ListMarketsDataResponse) Reset()
- func (x *ListMarketsDataResponse) String() string
- func (this *ListMarketsDataResponse) Validate() error
- type ListMarketsRequest
- func (*ListMarketsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMarketsRequest) GetMarket() string
- func (*ListMarketsRequest) ProtoMessage()
- func (x *ListMarketsRequest) ProtoReflect() protoreflect.Message
- func (x *ListMarketsRequest) Reset()
- func (x *ListMarketsRequest) String() string
- func (this *ListMarketsRequest) Validate() error
- type ListMarketsResponse
- func (*ListMarketsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMarketsResponse) GetMarkets() []*vega.Market
- func (*ListMarketsResponse) ProtoMessage()
- func (x *ListMarketsResponse) ProtoReflect() protoreflect.Message
- func (x *ListMarketsResponse) Reset()
- func (x *ListMarketsResponse) String() string
- func (this *ListMarketsResponse) Validate() error
- type ListNetworkParametersRequest
- func (*ListNetworkParametersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNetworkParametersRequest) GetNetworkParameterKey() string
- func (*ListNetworkParametersRequest) ProtoMessage()
- func (x *ListNetworkParametersRequest) ProtoReflect() protoreflect.Message
- func (x *ListNetworkParametersRequest) Reset()
- func (x *ListNetworkParametersRequest) String() string
- func (this *ListNetworkParametersRequest) Validate() error
- type ListNetworkParametersResponse
- func (*ListNetworkParametersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListNetworkParametersResponse) GetNetworkParameters() []*vega.NetworkParameter
- func (*ListNetworkParametersResponse) ProtoMessage()
- func (x *ListNetworkParametersResponse) ProtoReflect() protoreflect.Message
- func (x *ListNetworkParametersResponse) Reset()
- func (x *ListNetworkParametersResponse) String() string
- func (this *ListNetworkParametersResponse) Validate() error
- type ListPartiesRequest
- func (*ListPartiesRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListPartiesRequest) ProtoMessage()
- func (x *ListPartiesRequest) ProtoReflect() protoreflect.Message
- func (x *ListPartiesRequest) Reset()
- func (x *ListPartiesRequest) String() string
- func (this *ListPartiesRequest) Validate() error
- type ListPartiesResponse
- func (*ListPartiesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPartiesResponse) GetParties() []*vega.Party
- func (*ListPartiesResponse) ProtoMessage()
- func (x *ListPartiesResponse) ProtoReflect() protoreflect.Message
- func (x *ListPartiesResponse) Reset()
- func (x *ListPartiesResponse) String() string
- func (this *ListPartiesResponse) Validate() error
- type ListPartiesStakeRequest
- func (*ListPartiesStakeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPartiesStakeRequest) GetParty() string
- func (*ListPartiesStakeRequest) ProtoMessage()
- func (x *ListPartiesStakeRequest) ProtoReflect() protoreflect.Message
- func (x *ListPartiesStakeRequest) Reset()
- func (x *ListPartiesStakeRequest) String() string
- func (this *ListPartiesStakeRequest) Validate() error
- type ListPartiesStakeResponse
- func (*ListPartiesStakeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPartiesStakeResponse) GetPartiesStake() []*PartyStake
- func (*ListPartiesStakeResponse) ProtoMessage()
- func (x *ListPartiesStakeResponse) ProtoReflect() protoreflect.Message
- func (x *ListPartiesStakeResponse) Reset()
- func (x *ListPartiesStakeResponse) String() string
- func (this *ListPartiesStakeResponse) Validate() error
- type ListProposalsRequest
- func (*ListProposalsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProposalsRequest) GetProposal() string
- func (x *ListProposalsRequest) GetProposer() string
- func (*ListProposalsRequest) ProtoMessage()
- func (x *ListProposalsRequest) ProtoReflect() protoreflect.Message
- func (x *ListProposalsRequest) Reset()
- func (x *ListProposalsRequest) String() string
- func (this *ListProposalsRequest) Validate() error
- type ListProposalsResponse
- func (*ListProposalsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProposalsResponse) GetProposals() []*vega.Proposal
- func (*ListProposalsResponse) ProtoMessage()
- func (x *ListProposalsResponse) ProtoReflect() protoreflect.Message
- func (x *ListProposalsResponse) Reset()
- func (x *ListProposalsResponse) String() string
- func (this *ListProposalsResponse) Validate() error
- type ListValidatorsRequest
- func (*ListValidatorsRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListValidatorsRequest) ProtoMessage()
- func (x *ListValidatorsRequest) ProtoReflect() protoreflect.Message
- func (x *ListValidatorsRequest) Reset()
- func (x *ListValidatorsRequest) String() string
- func (this *ListValidatorsRequest) Validate() error
- type ListValidatorsResponse
- func (*ListValidatorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListValidatorsResponse) GetValidators() []*v1.ValidatorUpdate
- func (*ListValidatorsResponse) ProtoMessage()
- func (x *ListValidatorsResponse) ProtoReflect() protoreflect.Message
- func (x *ListValidatorsResponse) Reset()
- func (x *ListValidatorsResponse) String() string
- func (this *ListValidatorsResponse) Validate() error
- type ListVotesRequest
- func (*ListVotesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListVotesRequest) GetParty() string
- func (x *ListVotesRequest) GetProposal() string
- func (*ListVotesRequest) ProtoMessage()
- func (x *ListVotesRequest) ProtoReflect() protoreflect.Message
- func (x *ListVotesRequest) Reset()
- func (x *ListVotesRequest) String() string
- func (this *ListVotesRequest) Validate() error
- type ListVotesResponse
- func (*ListVotesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListVotesResponse) GetVotes() []*vega.Vote
- func (*ListVotesResponse) ProtoMessage()
- func (x *ListVotesResponse) ProtoReflect() protoreflect.Message
- func (x *ListVotesResponse) Reset()
- func (x *ListVotesResponse) String() string
- func (this *ListVotesResponse) Validate() error
- type PartyStake
- func (*PartyStake) Descriptor() ([]byte, []int)deprecated
- func (x *PartyStake) GetCurrentStakeAvailable() string
- func (x *PartyStake) GetParty() string
- func (x *PartyStake) GetStakeLinkings() []*v1.StakeLinking
- func (*PartyStake) ProtoMessage()
- func (x *PartyStake) ProtoReflect() protoreflect.Message
- func (x *PartyStake) Reset()
- func (x *PartyStake) String() string
- func (this *PartyStake) Validate() error
- type UnimplementedCoreApiServiceServer
- func (UnimplementedCoreApiServiceServer) ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error)
- func (UnimplementedCoreApiServiceServer) ListAssets(context.Context, *ListAssetsRequest) (*ListAssetsResponse, error)
- func (UnimplementedCoreApiServiceServer) ListDelegations(context.Context, *ListDelegationsRequest) (*ListDelegationsResponse, error)
- func (UnimplementedCoreApiServiceServer) ListMarkets(context.Context, *ListMarketsRequest) (*ListMarketsResponse, error)
- func (UnimplementedCoreApiServiceServer) ListMarketsData(context.Context, *ListMarketsDataRequest) (*ListMarketsDataResponse, error)
- func (UnimplementedCoreApiServiceServer) ListNetworkParameters(context.Context, *ListNetworkParametersRequest) (*ListNetworkParametersResponse, error)
- func (UnimplementedCoreApiServiceServer) ListParties(context.Context, *ListPartiesRequest) (*ListPartiesResponse, error)
- func (UnimplementedCoreApiServiceServer) ListPartiesStake(context.Context, *ListPartiesStakeRequest) (*ListPartiesStakeResponse, error)
- func (UnimplementedCoreApiServiceServer) ListProposals(context.Context, *ListProposalsRequest) (*ListProposalsResponse, error)
- func (UnimplementedCoreApiServiceServer) ListValidators(context.Context, *ListValidatorsRequest) (*ListValidatorsResponse, error)
- func (UnimplementedCoreApiServiceServer) ListVotes(context.Context, *ListVotesRequest) (*ListVotesResponse, error)
- type UnsafeCoreApiServiceServer
Constants ¶
This section is empty.
Variables ¶
var CoreApiService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "vega.coreapi.v1.CoreApiService", HandlerType: (*CoreApiServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListAccounts", Handler: _CoreApiService_ListAccounts_Handler, }, { MethodName: "ListAssets", Handler: _CoreApiService_ListAssets_Handler, }, { MethodName: "ListNetworkParameters", Handler: _CoreApiService_ListNetworkParameters_Handler, }, { MethodName: "ListParties", Handler: _CoreApiService_ListParties_Handler, }, { MethodName: "ListValidators", Handler: _CoreApiService_ListValidators_Handler, }, { MethodName: "ListMarkets", Handler: _CoreApiService_ListMarkets_Handler, }, { MethodName: "ListProposals", Handler: _CoreApiService_ListProposals_Handler, }, { MethodName: "ListMarketsData", Handler: _CoreApiService_ListMarketsData_Handler, }, { MethodName: "ListVotes", Handler: _CoreApiService_ListVotes_Handler, }, { MethodName: "ListPartiesStake", Handler: _CoreApiService_ListPartiesStake_Handler, }, { MethodName: "ListDelegations", Handler: _CoreApiService_ListDelegations_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "vega/coreapi/v1/coreapi.proto", }
CoreApiService_ServiceDesc is the grpc.ServiceDesc for CoreApiService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_vega_coreapi_v1_coreapi_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCoreApiServiceServer ¶
func RegisterCoreApiServiceServer(s grpc.ServiceRegistrar, srv CoreApiServiceServer)
Types ¶
type Account ¶
type Account struct { Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"` Market string `protobuf:"bytes,2,opt,name=market,proto3" json:"market,omitempty"` Balance string `protobuf:"bytes,3,opt,name=balance,proto3" json:"balance,omitempty"` Asset string `protobuf:"bytes,5,opt,name=asset,proto3" json:"asset,omitempty"` Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
func (*Account) GetBalance ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type CoreApiServiceClient ¶
type CoreApiServiceClient interface { ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*ListAccountsResponse, error) ListAssets(ctx context.Context, in *ListAssetsRequest, opts ...grpc.CallOption) (*ListAssetsResponse, error) ListNetworkParameters(ctx context.Context, in *ListNetworkParametersRequest, opts ...grpc.CallOption) (*ListNetworkParametersResponse, error) ListParties(ctx context.Context, in *ListPartiesRequest, opts ...grpc.CallOption) (*ListPartiesResponse, error) ListValidators(ctx context.Context, in *ListValidatorsRequest, opts ...grpc.CallOption) (*ListValidatorsResponse, error) ListMarkets(ctx context.Context, in *ListMarketsRequest, opts ...grpc.CallOption) (*ListMarketsResponse, error) ListProposals(ctx context.Context, in *ListProposalsRequest, opts ...grpc.CallOption) (*ListProposalsResponse, error) ListMarketsData(ctx context.Context, in *ListMarketsDataRequest, opts ...grpc.CallOption) (*ListMarketsDataResponse, error) ListVotes(ctx context.Context, in *ListVotesRequest, opts ...grpc.CallOption) (*ListVotesResponse, error) ListPartiesStake(ctx context.Context, in *ListPartiesStakeRequest, opts ...grpc.CallOption) (*ListPartiesStakeResponse, error) ListDelegations(ctx context.Context, in *ListDelegationsRequest, opts ...grpc.CallOption) (*ListDelegationsResponse, error) }
CoreApiServiceClient is the client API for CoreApiService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCoreApiServiceClient ¶
func NewCoreApiServiceClient(cc grpc.ClientConnInterface) CoreApiServiceClient
type CoreApiServiceServer ¶
type CoreApiServiceServer interface { ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error) ListAssets(context.Context, *ListAssetsRequest) (*ListAssetsResponse, error) ListNetworkParameters(context.Context, *ListNetworkParametersRequest) (*ListNetworkParametersResponse, error) ListParties(context.Context, *ListPartiesRequest) (*ListPartiesResponse, error) ListValidators(context.Context, *ListValidatorsRequest) (*ListValidatorsResponse, error) ListMarkets(context.Context, *ListMarketsRequest) (*ListMarketsResponse, error) ListProposals(context.Context, *ListProposalsRequest) (*ListProposalsResponse, error) ListMarketsData(context.Context, *ListMarketsDataRequest) (*ListMarketsDataResponse, error) ListVotes(context.Context, *ListVotesRequest) (*ListVotesResponse, error) ListPartiesStake(context.Context, *ListPartiesStakeRequest) (*ListPartiesStakeResponse, error) ListDelegations(context.Context, *ListDelegationsRequest) (*ListDelegationsResponse, error) // contains filtered or unexported methods }
CoreApiServiceServer is the server API for CoreApiService service. All implementations must embed UnimplementedCoreApiServiceServer for forward compatibility
type ListAccountsRequest ¶
type ListAccountsRequest struct { Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"` Market string `protobuf:"bytes,2,opt,name=market,proto3" json:"market,omitempty"` // contains filtered or unexported fields }
func (*ListAccountsRequest) Descriptor
deprecated
func (*ListAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountsRequest.ProtoReflect.Descriptor instead.
func (*ListAccountsRequest) GetMarket ¶
func (x *ListAccountsRequest) GetMarket() string
func (*ListAccountsRequest) GetParty ¶
func (x *ListAccountsRequest) GetParty() string
func (*ListAccountsRequest) ProtoMessage ¶
func (*ListAccountsRequest) ProtoMessage()
func (*ListAccountsRequest) ProtoReflect ¶
func (x *ListAccountsRequest) ProtoReflect() protoreflect.Message
func (*ListAccountsRequest) Reset ¶
func (x *ListAccountsRequest) Reset()
func (*ListAccountsRequest) String ¶
func (x *ListAccountsRequest) String() string
func (*ListAccountsRequest) Validate ¶
func (this *ListAccountsRequest) Validate() error
type ListAccountsResponse ¶
type ListAccountsResponse struct { Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` // contains filtered or unexported fields }
func (*ListAccountsResponse) Descriptor
deprecated
func (*ListAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountsResponse.ProtoReflect.Descriptor instead.
func (*ListAccountsResponse) GetAccounts ¶
func (x *ListAccountsResponse) GetAccounts() []*Account
func (*ListAccountsResponse) ProtoMessage ¶
func (*ListAccountsResponse) ProtoMessage()
func (*ListAccountsResponse) ProtoReflect ¶
func (x *ListAccountsResponse) ProtoReflect() protoreflect.Message
func (*ListAccountsResponse) Reset ¶
func (x *ListAccountsResponse) Reset()
func (*ListAccountsResponse) String ¶
func (x *ListAccountsResponse) String() string
func (*ListAccountsResponse) Validate ¶
func (this *ListAccountsResponse) Validate() error
type ListAssetsRequest ¶
type ListAssetsRequest struct { Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` // optional ID // contains filtered or unexported fields }
func (*ListAssetsRequest) Descriptor
deprecated
func (*ListAssetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAssetsRequest.ProtoReflect.Descriptor instead.
func (*ListAssetsRequest) GetAsset ¶
func (x *ListAssetsRequest) GetAsset() string
func (*ListAssetsRequest) ProtoMessage ¶
func (*ListAssetsRequest) ProtoMessage()
func (*ListAssetsRequest) ProtoReflect ¶
func (x *ListAssetsRequest) ProtoReflect() protoreflect.Message
func (*ListAssetsRequest) Reset ¶
func (x *ListAssetsRequest) Reset()
func (*ListAssetsRequest) String ¶
func (x *ListAssetsRequest) String() string
func (*ListAssetsRequest) Validate ¶
func (this *ListAssetsRequest) Validate() error
type ListAssetsResponse ¶
type ListAssetsResponse struct { Assets []*vega.Asset `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"` // contains filtered or unexported fields }
func (*ListAssetsResponse) Descriptor
deprecated
func (*ListAssetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAssetsResponse.ProtoReflect.Descriptor instead.
func (*ListAssetsResponse) GetAssets ¶
func (x *ListAssetsResponse) GetAssets() []*vega.Asset
func (*ListAssetsResponse) ProtoMessage ¶
func (*ListAssetsResponse) ProtoMessage()
func (*ListAssetsResponse) ProtoReflect ¶
func (x *ListAssetsResponse) ProtoReflect() protoreflect.Message
func (*ListAssetsResponse) Reset ¶
func (x *ListAssetsResponse) Reset()
func (*ListAssetsResponse) String ¶
func (x *ListAssetsResponse) String() string
func (*ListAssetsResponse) Validate ¶
func (this *ListAssetsResponse) Validate() error
type ListDelegationsRequest ¶
type ListDelegationsRequest struct { Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"` Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` EpochSeq string `protobuf:"bytes,3,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"` // contains filtered or unexported fields }
func (*ListDelegationsRequest) Descriptor
deprecated
func (*ListDelegationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDelegationsRequest.ProtoReflect.Descriptor instead.
func (*ListDelegationsRequest) GetEpochSeq ¶
func (x *ListDelegationsRequest) GetEpochSeq() string
func (*ListDelegationsRequest) GetNode ¶
func (x *ListDelegationsRequest) GetNode() string
func (*ListDelegationsRequest) GetParty ¶
func (x *ListDelegationsRequest) GetParty() string
func (*ListDelegationsRequest) ProtoMessage ¶
func (*ListDelegationsRequest) ProtoMessage()
func (*ListDelegationsRequest) ProtoReflect ¶
func (x *ListDelegationsRequest) ProtoReflect() protoreflect.Message
func (*ListDelegationsRequest) Reset ¶
func (x *ListDelegationsRequest) Reset()
func (*ListDelegationsRequest) String ¶
func (x *ListDelegationsRequest) String() string
func (*ListDelegationsRequest) Validate ¶
func (this *ListDelegationsRequest) Validate() error
type ListDelegationsResponse ¶
type ListDelegationsResponse struct { Delegations []*vega.Delegation `protobuf:"bytes,1,rep,name=delegations,proto3" json:"delegations,omitempty"` // contains filtered or unexported fields }
func (*ListDelegationsResponse) Descriptor
deprecated
func (*ListDelegationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDelegationsResponse.ProtoReflect.Descriptor instead.
func (*ListDelegationsResponse) GetDelegations ¶
func (x *ListDelegationsResponse) GetDelegations() []*vega.Delegation
func (*ListDelegationsResponse) ProtoMessage ¶
func (*ListDelegationsResponse) ProtoMessage()
func (*ListDelegationsResponse) ProtoReflect ¶
func (x *ListDelegationsResponse) ProtoReflect() protoreflect.Message
func (*ListDelegationsResponse) Reset ¶
func (x *ListDelegationsResponse) Reset()
func (*ListDelegationsResponse) String ¶
func (x *ListDelegationsResponse) String() string
func (*ListDelegationsResponse) Validate ¶
func (this *ListDelegationsResponse) Validate() error
type ListMarketsDataRequest ¶
type ListMarketsDataRequest struct { Market string `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"` // contains filtered or unexported fields }
func (*ListMarketsDataRequest) Descriptor
deprecated
func (*ListMarketsDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMarketsDataRequest.ProtoReflect.Descriptor instead.
func (*ListMarketsDataRequest) GetMarket ¶
func (x *ListMarketsDataRequest) GetMarket() string
func (*ListMarketsDataRequest) ProtoMessage ¶
func (*ListMarketsDataRequest) ProtoMessage()
func (*ListMarketsDataRequest) ProtoReflect ¶
func (x *ListMarketsDataRequest) ProtoReflect() protoreflect.Message
func (*ListMarketsDataRequest) Reset ¶
func (x *ListMarketsDataRequest) Reset()
func (*ListMarketsDataRequest) String ¶
func (x *ListMarketsDataRequest) String() string
func (*ListMarketsDataRequest) Validate ¶
func (this *ListMarketsDataRequest) Validate() error
type ListMarketsDataResponse ¶
type ListMarketsDataResponse struct { MarketsData []*vega.MarketData `protobuf:"bytes,1,rep,name=markets_data,json=marketsData,proto3" json:"markets_data,omitempty"` // contains filtered or unexported fields }
func (*ListMarketsDataResponse) Descriptor
deprecated
func (*ListMarketsDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMarketsDataResponse.ProtoReflect.Descriptor instead.
func (*ListMarketsDataResponse) GetMarketsData ¶
func (x *ListMarketsDataResponse) GetMarketsData() []*vega.MarketData
func (*ListMarketsDataResponse) ProtoMessage ¶
func (*ListMarketsDataResponse) ProtoMessage()
func (*ListMarketsDataResponse) ProtoReflect ¶
func (x *ListMarketsDataResponse) ProtoReflect() protoreflect.Message
func (*ListMarketsDataResponse) Reset ¶
func (x *ListMarketsDataResponse) Reset()
func (*ListMarketsDataResponse) String ¶
func (x *ListMarketsDataResponse) String() string
func (*ListMarketsDataResponse) Validate ¶
func (this *ListMarketsDataResponse) Validate() error
type ListMarketsRequest ¶
type ListMarketsRequest struct { Market string `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"` // contains filtered or unexported fields }
func (*ListMarketsRequest) Descriptor
deprecated
func (*ListMarketsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMarketsRequest.ProtoReflect.Descriptor instead.
func (*ListMarketsRequest) GetMarket ¶
func (x *ListMarketsRequest) GetMarket() string
func (*ListMarketsRequest) ProtoMessage ¶
func (*ListMarketsRequest) ProtoMessage()
func (*ListMarketsRequest) ProtoReflect ¶
func (x *ListMarketsRequest) ProtoReflect() protoreflect.Message
func (*ListMarketsRequest) Reset ¶
func (x *ListMarketsRequest) Reset()
func (*ListMarketsRequest) String ¶
func (x *ListMarketsRequest) String() string
func (*ListMarketsRequest) Validate ¶
func (this *ListMarketsRequest) Validate() error
type ListMarketsResponse ¶
type ListMarketsResponse struct { Markets []*vega.Market `protobuf:"bytes,1,rep,name=markets,proto3" json:"markets,omitempty"` // contains filtered or unexported fields }
func (*ListMarketsResponse) Descriptor
deprecated
func (*ListMarketsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMarketsResponse.ProtoReflect.Descriptor instead.
func (*ListMarketsResponse) GetMarkets ¶
func (x *ListMarketsResponse) GetMarkets() []*vega.Market
func (*ListMarketsResponse) ProtoMessage ¶
func (*ListMarketsResponse) ProtoMessage()
func (*ListMarketsResponse) ProtoReflect ¶
func (x *ListMarketsResponse) ProtoReflect() protoreflect.Message
func (*ListMarketsResponse) Reset ¶
func (x *ListMarketsResponse) Reset()
func (*ListMarketsResponse) String ¶
func (x *ListMarketsResponse) String() string
func (*ListMarketsResponse) Validate ¶
func (this *ListMarketsResponse) Validate() error
type ListNetworkParametersRequest ¶
type ListNetworkParametersRequest struct { NetworkParameterKey string `protobuf:"bytes,1,opt,name=network_parameter_key,json=networkParameterKey,proto3" json:"network_parameter_key,omitempty"` // optional parameter key // contains filtered or unexported fields }
func (*ListNetworkParametersRequest) Descriptor
deprecated
func (*ListNetworkParametersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNetworkParametersRequest.ProtoReflect.Descriptor instead.
func (*ListNetworkParametersRequest) GetNetworkParameterKey ¶
func (x *ListNetworkParametersRequest) GetNetworkParameterKey() string
func (*ListNetworkParametersRequest) ProtoMessage ¶
func (*ListNetworkParametersRequest) ProtoMessage()
func (*ListNetworkParametersRequest) ProtoReflect ¶
func (x *ListNetworkParametersRequest) ProtoReflect() protoreflect.Message
func (*ListNetworkParametersRequest) Reset ¶
func (x *ListNetworkParametersRequest) Reset()
func (*ListNetworkParametersRequest) String ¶
func (x *ListNetworkParametersRequest) String() string
func (*ListNetworkParametersRequest) Validate ¶
func (this *ListNetworkParametersRequest) Validate() error
type ListNetworkParametersResponse ¶
type ListNetworkParametersResponse struct { NetworkParameters []*vega.NetworkParameter `protobuf:"bytes,1,rep,name=network_parameters,json=networkParameters,proto3" json:"network_parameters,omitempty"` // contains filtered or unexported fields }
func (*ListNetworkParametersResponse) Descriptor
deprecated
func (*ListNetworkParametersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNetworkParametersResponse.ProtoReflect.Descriptor instead.
func (*ListNetworkParametersResponse) GetNetworkParameters ¶
func (x *ListNetworkParametersResponse) GetNetworkParameters() []*vega.NetworkParameter
func (*ListNetworkParametersResponse) ProtoMessage ¶
func (*ListNetworkParametersResponse) ProtoMessage()
func (*ListNetworkParametersResponse) ProtoReflect ¶
func (x *ListNetworkParametersResponse) ProtoReflect() protoreflect.Message
func (*ListNetworkParametersResponse) Reset ¶
func (x *ListNetworkParametersResponse) Reset()
func (*ListNetworkParametersResponse) String ¶
func (x *ListNetworkParametersResponse) String() string
func (*ListNetworkParametersResponse) Validate ¶
func (this *ListNetworkParametersResponse) Validate() error
type ListPartiesRequest ¶
type ListPartiesRequest struct {
// contains filtered or unexported fields
}
func (*ListPartiesRequest) Descriptor
deprecated
func (*ListPartiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPartiesRequest.ProtoReflect.Descriptor instead.
func (*ListPartiesRequest) ProtoMessage ¶
func (*ListPartiesRequest) ProtoMessage()
func (*ListPartiesRequest) ProtoReflect ¶
func (x *ListPartiesRequest) ProtoReflect() protoreflect.Message
func (*ListPartiesRequest) Reset ¶
func (x *ListPartiesRequest) Reset()
func (*ListPartiesRequest) String ¶
func (x *ListPartiesRequest) String() string
func (*ListPartiesRequest) Validate ¶
func (this *ListPartiesRequest) Validate() error
type ListPartiesResponse ¶
type ListPartiesResponse struct { Parties []*vega.Party `protobuf:"bytes,1,rep,name=parties,proto3" json:"parties,omitempty"` // contains filtered or unexported fields }
func (*ListPartiesResponse) Descriptor
deprecated
func (*ListPartiesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPartiesResponse.ProtoReflect.Descriptor instead.
func (*ListPartiesResponse) GetParties ¶
func (x *ListPartiesResponse) GetParties() []*vega.Party
func (*ListPartiesResponse) ProtoMessage ¶
func (*ListPartiesResponse) ProtoMessage()
func (*ListPartiesResponse) ProtoReflect ¶
func (x *ListPartiesResponse) ProtoReflect() protoreflect.Message
func (*ListPartiesResponse) Reset ¶
func (x *ListPartiesResponse) Reset()
func (*ListPartiesResponse) String ¶
func (x *ListPartiesResponse) String() string
func (*ListPartiesResponse) Validate ¶
func (this *ListPartiesResponse) Validate() error
type ListPartiesStakeRequest ¶
type ListPartiesStakeRequest struct { Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"` // contains filtered or unexported fields }
func (*ListPartiesStakeRequest) Descriptor
deprecated
func (*ListPartiesStakeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPartiesStakeRequest.ProtoReflect.Descriptor instead.
func (*ListPartiesStakeRequest) GetParty ¶
func (x *ListPartiesStakeRequest) GetParty() string
func (*ListPartiesStakeRequest) ProtoMessage ¶
func (*ListPartiesStakeRequest) ProtoMessage()
func (*ListPartiesStakeRequest) ProtoReflect ¶
func (x *ListPartiesStakeRequest) ProtoReflect() protoreflect.Message
func (*ListPartiesStakeRequest) Reset ¶
func (x *ListPartiesStakeRequest) Reset()
func (*ListPartiesStakeRequest) String ¶
func (x *ListPartiesStakeRequest) String() string
func (*ListPartiesStakeRequest) Validate ¶
func (this *ListPartiesStakeRequest) Validate() error
type ListPartiesStakeResponse ¶
type ListPartiesStakeResponse struct { PartiesStake []*PartyStake `protobuf:"bytes,1,rep,name=parties_stake,json=partiesStake,proto3" json:"parties_stake,omitempty"` // contains filtered or unexported fields }
func (*ListPartiesStakeResponse) Descriptor
deprecated
func (*ListPartiesStakeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPartiesStakeResponse.ProtoReflect.Descriptor instead.
func (*ListPartiesStakeResponse) GetPartiesStake ¶
func (x *ListPartiesStakeResponse) GetPartiesStake() []*PartyStake
func (*ListPartiesStakeResponse) ProtoMessage ¶
func (*ListPartiesStakeResponse) ProtoMessage()
func (*ListPartiesStakeResponse) ProtoReflect ¶
func (x *ListPartiesStakeResponse) ProtoReflect() protoreflect.Message
func (*ListPartiesStakeResponse) Reset ¶
func (x *ListPartiesStakeResponse) Reset()
func (*ListPartiesStakeResponse) String ¶
func (x *ListPartiesStakeResponse) String() string
func (*ListPartiesStakeResponse) Validate ¶
func (this *ListPartiesStakeResponse) Validate() error
type ListProposalsRequest ¶
type ListProposalsRequest struct { Proposal string `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` // optional ID Proposer string `protobuf:"bytes,2,opt,name=proposer,proto3" json:"proposer,omitempty"` // optional party // contains filtered or unexported fields }
func (*ListProposalsRequest) Descriptor
deprecated
func (*ListProposalsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProposalsRequest.ProtoReflect.Descriptor instead.
func (*ListProposalsRequest) GetProposal ¶
func (x *ListProposalsRequest) GetProposal() string
func (*ListProposalsRequest) GetProposer ¶
func (x *ListProposalsRequest) GetProposer() string
func (*ListProposalsRequest) ProtoMessage ¶
func (*ListProposalsRequest) ProtoMessage()
func (*ListProposalsRequest) ProtoReflect ¶
func (x *ListProposalsRequest) ProtoReflect() protoreflect.Message
func (*ListProposalsRequest) Reset ¶
func (x *ListProposalsRequest) Reset()
func (*ListProposalsRequest) String ¶
func (x *ListProposalsRequest) String() string
func (*ListProposalsRequest) Validate ¶
func (this *ListProposalsRequest) Validate() error
type ListProposalsResponse ¶
type ListProposalsResponse struct { Proposals []*vega.Proposal `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"` // contains filtered or unexported fields }
func (*ListProposalsResponse) Descriptor
deprecated
func (*ListProposalsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProposalsResponse.ProtoReflect.Descriptor instead.
func (*ListProposalsResponse) GetProposals ¶
func (x *ListProposalsResponse) GetProposals() []*vega.Proposal
func (*ListProposalsResponse) ProtoMessage ¶
func (*ListProposalsResponse) ProtoMessage()
func (*ListProposalsResponse) ProtoReflect ¶
func (x *ListProposalsResponse) ProtoReflect() protoreflect.Message
func (*ListProposalsResponse) Reset ¶
func (x *ListProposalsResponse) Reset()
func (*ListProposalsResponse) String ¶
func (x *ListProposalsResponse) String() string
func (*ListProposalsResponse) Validate ¶
func (this *ListProposalsResponse) Validate() error
type ListValidatorsRequest ¶
type ListValidatorsRequest struct {
// contains filtered or unexported fields
}
func (*ListValidatorsRequest) Descriptor
deprecated
func (*ListValidatorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListValidatorsRequest.ProtoReflect.Descriptor instead.
func (*ListValidatorsRequest) ProtoMessage ¶
func (*ListValidatorsRequest) ProtoMessage()
func (*ListValidatorsRequest) ProtoReflect ¶
func (x *ListValidatorsRequest) ProtoReflect() protoreflect.Message
func (*ListValidatorsRequest) Reset ¶
func (x *ListValidatorsRequest) Reset()
func (*ListValidatorsRequest) String ¶
func (x *ListValidatorsRequest) String() string
func (*ListValidatorsRequest) Validate ¶
func (this *ListValidatorsRequest) Validate() error
type ListValidatorsResponse ¶
type ListValidatorsResponse struct { Validators []*v1.ValidatorUpdate `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"` // contains filtered or unexported fields }
func (*ListValidatorsResponse) Descriptor
deprecated
func (*ListValidatorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListValidatorsResponse.ProtoReflect.Descriptor instead.
func (*ListValidatorsResponse) GetValidators ¶
func (x *ListValidatorsResponse) GetValidators() []*v1.ValidatorUpdate
func (*ListValidatorsResponse) ProtoMessage ¶
func (*ListValidatorsResponse) ProtoMessage()
func (*ListValidatorsResponse) ProtoReflect ¶
func (x *ListValidatorsResponse) ProtoReflect() protoreflect.Message
func (*ListValidatorsResponse) Reset ¶
func (x *ListValidatorsResponse) Reset()
func (*ListValidatorsResponse) String ¶
func (x *ListValidatorsResponse) String() string
func (*ListValidatorsResponse) Validate ¶
func (this *ListValidatorsResponse) Validate() error
type ListVotesRequest ¶
type ListVotesRequest struct { Proposal string `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` Party string `protobuf:"bytes,2,opt,name=party,proto3" json:"party,omitempty"` // contains filtered or unexported fields }
func (*ListVotesRequest) Descriptor
deprecated
func (*ListVotesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVotesRequest.ProtoReflect.Descriptor instead.
func (*ListVotesRequest) GetParty ¶
func (x *ListVotesRequest) GetParty() string
func (*ListVotesRequest) GetProposal ¶
func (x *ListVotesRequest) GetProposal() string
func (*ListVotesRequest) ProtoMessage ¶
func (*ListVotesRequest) ProtoMessage()
func (*ListVotesRequest) ProtoReflect ¶
func (x *ListVotesRequest) ProtoReflect() protoreflect.Message
func (*ListVotesRequest) Reset ¶
func (x *ListVotesRequest) Reset()
func (*ListVotesRequest) String ¶
func (x *ListVotesRequest) String() string
func (*ListVotesRequest) Validate ¶
func (this *ListVotesRequest) Validate() error
type ListVotesResponse ¶
type ListVotesResponse struct { Votes []*vega.Vote `protobuf:"bytes,1,rep,name=votes,proto3" json:"votes,omitempty"` // contains filtered or unexported fields }
func (*ListVotesResponse) Descriptor
deprecated
func (*ListVotesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVotesResponse.ProtoReflect.Descriptor instead.
func (*ListVotesResponse) GetVotes ¶
func (x *ListVotesResponse) GetVotes() []*vega.Vote
func (*ListVotesResponse) ProtoMessage ¶
func (*ListVotesResponse) ProtoMessage()
func (*ListVotesResponse) ProtoReflect ¶
func (x *ListVotesResponse) ProtoReflect() protoreflect.Message
func (*ListVotesResponse) Reset ¶
func (x *ListVotesResponse) Reset()
func (*ListVotesResponse) String ¶
func (x *ListVotesResponse) String() string
func (*ListVotesResponse) Validate ¶
func (this *ListVotesResponse) Validate() error
type PartyStake ¶
type PartyStake struct { Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"` CurrentStakeAvailable string `` /* 126-byte string literal not displayed */ StakeLinkings []*v1.StakeLinking `protobuf:"bytes,3,rep,name=stake_linkings,json=stakeLinkings,proto3" json:"stake_linkings,omitempty"` // contains filtered or unexported fields }
func (*PartyStake) Descriptor
deprecated
func (*PartyStake) Descriptor() ([]byte, []int)
Deprecated: Use PartyStake.ProtoReflect.Descriptor instead.
func (*PartyStake) GetCurrentStakeAvailable ¶
func (x *PartyStake) GetCurrentStakeAvailable() string
func (*PartyStake) GetParty ¶
func (x *PartyStake) GetParty() string
func (*PartyStake) GetStakeLinkings ¶
func (x *PartyStake) GetStakeLinkings() []*v1.StakeLinking
func (*PartyStake) ProtoMessage ¶
func (*PartyStake) ProtoMessage()
func (*PartyStake) ProtoReflect ¶
func (x *PartyStake) ProtoReflect() protoreflect.Message
func (*PartyStake) Reset ¶
func (x *PartyStake) Reset()
func (*PartyStake) String ¶
func (x *PartyStake) String() string
func (*PartyStake) Validate ¶
func (this *PartyStake) Validate() error
type UnimplementedCoreApiServiceServer ¶
type UnimplementedCoreApiServiceServer struct { }
UnimplementedCoreApiServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCoreApiServiceServer) ListAccounts ¶
func (UnimplementedCoreApiServiceServer) ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error)
func (UnimplementedCoreApiServiceServer) ListAssets ¶
func (UnimplementedCoreApiServiceServer) ListAssets(context.Context, *ListAssetsRequest) (*ListAssetsResponse, error)
func (UnimplementedCoreApiServiceServer) ListDelegations ¶
func (UnimplementedCoreApiServiceServer) ListDelegations(context.Context, *ListDelegationsRequest) (*ListDelegationsResponse, error)
func (UnimplementedCoreApiServiceServer) ListMarkets ¶
func (UnimplementedCoreApiServiceServer) ListMarkets(context.Context, *ListMarketsRequest) (*ListMarketsResponse, error)
func (UnimplementedCoreApiServiceServer) ListMarketsData ¶
func (UnimplementedCoreApiServiceServer) ListMarketsData(context.Context, *ListMarketsDataRequest) (*ListMarketsDataResponse, error)
func (UnimplementedCoreApiServiceServer) ListNetworkParameters ¶
func (UnimplementedCoreApiServiceServer) ListNetworkParameters(context.Context, *ListNetworkParametersRequest) (*ListNetworkParametersResponse, error)
func (UnimplementedCoreApiServiceServer) ListParties ¶
func (UnimplementedCoreApiServiceServer) ListParties(context.Context, *ListPartiesRequest) (*ListPartiesResponse, error)
func (UnimplementedCoreApiServiceServer) ListPartiesStake ¶
func (UnimplementedCoreApiServiceServer) ListPartiesStake(context.Context, *ListPartiesStakeRequest) (*ListPartiesStakeResponse, error)
func (UnimplementedCoreApiServiceServer) ListProposals ¶
func (UnimplementedCoreApiServiceServer) ListProposals(context.Context, *ListProposalsRequest) (*ListProposalsResponse, error)
func (UnimplementedCoreApiServiceServer) ListValidators ¶
func (UnimplementedCoreApiServiceServer) ListValidators(context.Context, *ListValidatorsRequest) (*ListValidatorsResponse, error)
func (UnimplementedCoreApiServiceServer) ListVotes ¶
func (UnimplementedCoreApiServiceServer) ListVotes(context.Context, *ListVotesRequest) (*ListVotesResponse, error)
type UnsafeCoreApiServiceServer ¶
type UnsafeCoreApiServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCoreApiServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CoreApiServiceServer will result in compilation errors.