v1

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCoreApiServiceHandler

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

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

func RegisterCoreApiServiceHandlerClient

func RegisterCoreApiServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CoreApiServiceClient) error

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

func RegisterCoreApiServiceHandlerFromEndpoint

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

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

func RegisterCoreApiServiceServer

func RegisterCoreApiServiceServer(s *grpc.Server, 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Account) Descriptor

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

func (*Account) GetAsset

func (m *Account) GetAsset() string

func (*Account) GetBalance

func (m *Account) GetBalance() string

func (*Account) GetMarket

func (m *Account) GetMarket() string

func (*Account) GetParty

func (m *Account) GetParty() string

func (*Account) GetType

func (m *Account) GetType() string

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) Reset

func (m *Account) Reset()

func (*Account) String

func (m *Account) String() string

func (*Account) Validate

func (this *Account) Validate() error

func (*Account) XXX_DiscardUnknown

func (m *Account) XXX_DiscardUnknown()

func (*Account) XXX_Marshal

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

func (*Account) XXX_Merge

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

func (*Account) XXX_Size

func (m *Account) XXX_Size() int

func (*Account) XXX_Unmarshal

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

type CoreApiServiceClient

CoreApiServiceClient is the client API for CoreApiService service.

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

func NewCoreApiServiceClient

func NewCoreApiServiceClient(cc *grpc.ClientConn) CoreApiServiceClient

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListAccountsRequest) Descriptor

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

func (*ListAccountsRequest) GetMarket

func (m *ListAccountsRequest) GetMarket() string

func (*ListAccountsRequest) GetParty

func (m *ListAccountsRequest) GetParty() string

func (*ListAccountsRequest) ProtoMessage

func (*ListAccountsRequest) ProtoMessage()

func (*ListAccountsRequest) Reset

func (m *ListAccountsRequest) Reset()

func (*ListAccountsRequest) String

func (m *ListAccountsRequest) String() string

func (*ListAccountsRequest) Validate

func (this *ListAccountsRequest) Validate() error

func (*ListAccountsRequest) XXX_DiscardUnknown

func (m *ListAccountsRequest) XXX_DiscardUnknown()

func (*ListAccountsRequest) XXX_Marshal

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

func (*ListAccountsRequest) XXX_Merge

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

func (*ListAccountsRequest) XXX_Size

func (m *ListAccountsRequest) XXX_Size() int

func (*ListAccountsRequest) XXX_Unmarshal

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

type ListAccountsResponse

type ListAccountsResponse struct {
	Accounts             []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ListAccountsResponse) Descriptor

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

func (*ListAccountsResponse) GetAccounts

func (m *ListAccountsResponse) GetAccounts() []*Account

func (*ListAccountsResponse) ProtoMessage

func (*ListAccountsResponse) ProtoMessage()

func (*ListAccountsResponse) Reset

func (m *ListAccountsResponse) Reset()

func (*ListAccountsResponse) String

func (m *ListAccountsResponse) String() string

func (*ListAccountsResponse) Validate

func (this *ListAccountsResponse) Validate() error

func (*ListAccountsResponse) XXX_DiscardUnknown

func (m *ListAccountsResponse) XXX_DiscardUnknown()

func (*ListAccountsResponse) XXX_Marshal

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

func (*ListAccountsResponse) XXX_Merge

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

func (*ListAccountsResponse) XXX_Size

func (m *ListAccountsResponse) XXX_Size() int

func (*ListAccountsResponse) XXX_Unmarshal

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

type ListAssetsRequest

type ListAssetsRequest struct {
	Asset                string   `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListAssetsRequest) Descriptor

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

func (*ListAssetsRequest) GetAsset

func (m *ListAssetsRequest) GetAsset() string

func (*ListAssetsRequest) ProtoMessage

func (*ListAssetsRequest) ProtoMessage()

func (*ListAssetsRequest) Reset

func (m *ListAssetsRequest) Reset()

func (*ListAssetsRequest) String

func (m *ListAssetsRequest) String() string

func (*ListAssetsRequest) Validate

func (this *ListAssetsRequest) Validate() error

func (*ListAssetsRequest) XXX_DiscardUnknown

func (m *ListAssetsRequest) XXX_DiscardUnknown()

func (*ListAssetsRequest) XXX_Marshal

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

func (*ListAssetsRequest) XXX_Merge

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

func (*ListAssetsRequest) XXX_Size

func (m *ListAssetsRequest) XXX_Size() int

func (*ListAssetsRequest) XXX_Unmarshal

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

type ListAssetsResponse

type ListAssetsResponse struct {
	Assets               []*vega.Asset `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*ListAssetsResponse) Descriptor

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

func (*ListAssetsResponse) GetAssets

func (m *ListAssetsResponse) GetAssets() []*vega.Asset

func (*ListAssetsResponse) ProtoMessage

func (*ListAssetsResponse) ProtoMessage()

func (*ListAssetsResponse) Reset

func (m *ListAssetsResponse) Reset()

func (*ListAssetsResponse) String

func (m *ListAssetsResponse) String() string

func (*ListAssetsResponse) Validate

func (this *ListAssetsResponse) Validate() error

func (*ListAssetsResponse) XXX_DiscardUnknown

func (m *ListAssetsResponse) XXX_DiscardUnknown()

func (*ListAssetsResponse) XXX_Marshal

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

func (*ListAssetsResponse) XXX_Merge

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

func (*ListAssetsResponse) XXX_Size

func (m *ListAssetsResponse) XXX_Size() int

func (*ListAssetsResponse) XXX_Unmarshal

func (m *ListAssetsResponse) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListDelegationsRequest) Descriptor

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

func (*ListDelegationsRequest) GetEpochSeq

func (m *ListDelegationsRequest) GetEpochSeq() string

func (*ListDelegationsRequest) GetNode

func (m *ListDelegationsRequest) GetNode() string

func (*ListDelegationsRequest) GetParty

func (m *ListDelegationsRequest) GetParty() string

func (*ListDelegationsRequest) ProtoMessage

func (*ListDelegationsRequest) ProtoMessage()

func (*ListDelegationsRequest) Reset

func (m *ListDelegationsRequest) Reset()

func (*ListDelegationsRequest) String

func (m *ListDelegationsRequest) String() string

func (*ListDelegationsRequest) Validate

func (this *ListDelegationsRequest) Validate() error

func (*ListDelegationsRequest) XXX_DiscardUnknown

func (m *ListDelegationsRequest) XXX_DiscardUnknown()

func (*ListDelegationsRequest) XXX_Marshal

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

func (*ListDelegationsRequest) XXX_Merge

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

func (*ListDelegationsRequest) XXX_Size

func (m *ListDelegationsRequest) XXX_Size() int

func (*ListDelegationsRequest) XXX_Unmarshal

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

type ListDelegationsResponse

type ListDelegationsResponse struct {
	Delegations          []*vega.Delegation `protobuf:"bytes,1,rep,name=delegations,proto3" json:"delegations,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*ListDelegationsResponse) Descriptor

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

func (*ListDelegationsResponse) GetDelegations

func (m *ListDelegationsResponse) GetDelegations() []*vega.Delegation

func (*ListDelegationsResponse) ProtoMessage

func (*ListDelegationsResponse) ProtoMessage()

func (*ListDelegationsResponse) Reset

func (m *ListDelegationsResponse) Reset()

func (*ListDelegationsResponse) String

func (m *ListDelegationsResponse) String() string

func (*ListDelegationsResponse) Validate

func (this *ListDelegationsResponse) Validate() error

func (*ListDelegationsResponse) XXX_DiscardUnknown

func (m *ListDelegationsResponse) XXX_DiscardUnknown()

func (*ListDelegationsResponse) XXX_Marshal

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

func (*ListDelegationsResponse) XXX_Merge

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

func (*ListDelegationsResponse) XXX_Size

func (m *ListDelegationsResponse) XXX_Size() int

func (*ListDelegationsResponse) XXX_Unmarshal

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

type ListMarketsDataRequest

type ListMarketsDataRequest struct {
	Market               string   `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListMarketsDataRequest) Descriptor

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

func (*ListMarketsDataRequest) GetMarket

func (m *ListMarketsDataRequest) GetMarket() string

func (*ListMarketsDataRequest) ProtoMessage

func (*ListMarketsDataRequest) ProtoMessage()

func (*ListMarketsDataRequest) Reset

func (m *ListMarketsDataRequest) Reset()

func (*ListMarketsDataRequest) String

func (m *ListMarketsDataRequest) String() string

func (*ListMarketsDataRequest) Validate

func (this *ListMarketsDataRequest) Validate() error

func (*ListMarketsDataRequest) XXX_DiscardUnknown

func (m *ListMarketsDataRequest) XXX_DiscardUnknown()

func (*ListMarketsDataRequest) XXX_Marshal

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

func (*ListMarketsDataRequest) XXX_Merge

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

func (*ListMarketsDataRequest) XXX_Size

func (m *ListMarketsDataRequest) XXX_Size() int

func (*ListMarketsDataRequest) XXX_Unmarshal

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

type ListMarketsDataResponse

type ListMarketsDataResponse struct {
	MarketsData          []*vega.MarketData `protobuf:"bytes,1,rep,name=markets_data,json=marketsData,proto3" json:"markets_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*ListMarketsDataResponse) Descriptor

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

func (*ListMarketsDataResponse) GetMarketsData

func (m *ListMarketsDataResponse) GetMarketsData() []*vega.MarketData

func (*ListMarketsDataResponse) ProtoMessage

func (*ListMarketsDataResponse) ProtoMessage()

func (*ListMarketsDataResponse) Reset

func (m *ListMarketsDataResponse) Reset()

func (*ListMarketsDataResponse) String

func (m *ListMarketsDataResponse) String() string

func (*ListMarketsDataResponse) Validate

func (this *ListMarketsDataResponse) Validate() error

func (*ListMarketsDataResponse) XXX_DiscardUnknown

func (m *ListMarketsDataResponse) XXX_DiscardUnknown()

func (*ListMarketsDataResponse) XXX_Marshal

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

func (*ListMarketsDataResponse) XXX_Merge

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

func (*ListMarketsDataResponse) XXX_Size

func (m *ListMarketsDataResponse) XXX_Size() int

func (*ListMarketsDataResponse) XXX_Unmarshal

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

type ListMarketsRequest

type ListMarketsRequest struct {
	Market               string   `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListMarketsRequest) Descriptor

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

func (*ListMarketsRequest) GetMarket

func (m *ListMarketsRequest) GetMarket() string

func (*ListMarketsRequest) ProtoMessage

func (*ListMarketsRequest) ProtoMessage()

func (*ListMarketsRequest) Reset

func (m *ListMarketsRequest) Reset()

func (*ListMarketsRequest) String

func (m *ListMarketsRequest) String() string

func (*ListMarketsRequest) Validate

func (this *ListMarketsRequest) Validate() error

func (*ListMarketsRequest) XXX_DiscardUnknown

func (m *ListMarketsRequest) XXX_DiscardUnknown()

func (*ListMarketsRequest) XXX_Marshal

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

func (*ListMarketsRequest) XXX_Merge

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

func (*ListMarketsRequest) XXX_Size

func (m *ListMarketsRequest) XXX_Size() int

func (*ListMarketsRequest) XXX_Unmarshal

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

type ListMarketsResponse

type ListMarketsResponse struct {
	Markets              []*vega.Market `protobuf:"bytes,1,rep,name=markets,proto3" json:"markets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ListMarketsResponse) Descriptor

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

func (*ListMarketsResponse) GetMarkets

func (m *ListMarketsResponse) GetMarkets() []*vega.Market

func (*ListMarketsResponse) ProtoMessage

func (*ListMarketsResponse) ProtoMessage()

func (*ListMarketsResponse) Reset

func (m *ListMarketsResponse) Reset()

func (*ListMarketsResponse) String

func (m *ListMarketsResponse) String() string

func (*ListMarketsResponse) Validate

func (this *ListMarketsResponse) Validate() error

func (*ListMarketsResponse) XXX_DiscardUnknown

func (m *ListMarketsResponse) XXX_DiscardUnknown()

func (*ListMarketsResponse) XXX_Marshal

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

func (*ListMarketsResponse) XXX_Merge

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

func (*ListMarketsResponse) XXX_Size

func (m *ListMarketsResponse) XXX_Size() int

func (*ListMarketsResponse) XXX_Unmarshal

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

type ListNetworkParametersRequest

type ListNetworkParametersRequest struct {
	NetworkParameterKey  string   `protobuf:"bytes,1,opt,name=network_parameter_key,json=networkParameterKey,proto3" json:"network_parameter_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListNetworkParametersRequest) Descriptor

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

func (*ListNetworkParametersRequest) GetNetworkParameterKey

func (m *ListNetworkParametersRequest) GetNetworkParameterKey() string

func (*ListNetworkParametersRequest) ProtoMessage

func (*ListNetworkParametersRequest) ProtoMessage()

func (*ListNetworkParametersRequest) Reset

func (m *ListNetworkParametersRequest) Reset()

func (*ListNetworkParametersRequest) String

func (*ListNetworkParametersRequest) Validate

func (this *ListNetworkParametersRequest) Validate() error

func (*ListNetworkParametersRequest) XXX_DiscardUnknown

func (m *ListNetworkParametersRequest) XXX_DiscardUnknown()

func (*ListNetworkParametersRequest) XXX_Marshal

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

func (*ListNetworkParametersRequest) XXX_Merge

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

func (*ListNetworkParametersRequest) XXX_Size

func (m *ListNetworkParametersRequest) XXX_Size() int

func (*ListNetworkParametersRequest) XXX_Unmarshal

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

type ListNetworkParametersResponse

type ListNetworkParametersResponse struct {
	NetworkParameters    []*vega.NetworkParameter `protobuf:"bytes,1,rep,name=network_parameters,json=networkParameters,proto3" json:"network_parameters,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*ListNetworkParametersResponse) Descriptor

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

func (*ListNetworkParametersResponse) GetNetworkParameters

func (m *ListNetworkParametersResponse) GetNetworkParameters() []*vega.NetworkParameter

func (*ListNetworkParametersResponse) ProtoMessage

func (*ListNetworkParametersResponse) ProtoMessage()

func (*ListNetworkParametersResponse) Reset

func (m *ListNetworkParametersResponse) Reset()

func (*ListNetworkParametersResponse) String

func (*ListNetworkParametersResponse) Validate

func (this *ListNetworkParametersResponse) Validate() error

func (*ListNetworkParametersResponse) XXX_DiscardUnknown

func (m *ListNetworkParametersResponse) XXX_DiscardUnknown()

func (*ListNetworkParametersResponse) XXX_Marshal

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

func (*ListNetworkParametersResponse) XXX_Merge

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

func (*ListNetworkParametersResponse) XXX_Size

func (m *ListNetworkParametersResponse) XXX_Size() int

func (*ListNetworkParametersResponse) XXX_Unmarshal

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

type ListPartiesRequest

type ListPartiesRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListPartiesRequest) Descriptor

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

func (*ListPartiesRequest) ProtoMessage

func (*ListPartiesRequest) ProtoMessage()

func (*ListPartiesRequest) Reset

func (m *ListPartiesRequest) Reset()

func (*ListPartiesRequest) String

func (m *ListPartiesRequest) String() string

func (*ListPartiesRequest) Validate

func (this *ListPartiesRequest) Validate() error

func (*ListPartiesRequest) XXX_DiscardUnknown

func (m *ListPartiesRequest) XXX_DiscardUnknown()

func (*ListPartiesRequest) XXX_Marshal

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

func (*ListPartiesRequest) XXX_Merge

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

func (*ListPartiesRequest) XXX_Size

func (m *ListPartiesRequest) XXX_Size() int

func (*ListPartiesRequest) XXX_Unmarshal

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

type ListPartiesResponse

type ListPartiesResponse struct {
	Parties              []*vega.Party `protobuf:"bytes,1,rep,name=parties,proto3" json:"parties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*ListPartiesResponse) Descriptor

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

func (*ListPartiesResponse) GetParties

func (m *ListPartiesResponse) GetParties() []*vega.Party

func (*ListPartiesResponse) ProtoMessage

func (*ListPartiesResponse) ProtoMessage()

func (*ListPartiesResponse) Reset

func (m *ListPartiesResponse) Reset()

func (*ListPartiesResponse) String

func (m *ListPartiesResponse) String() string

func (*ListPartiesResponse) Validate

func (this *ListPartiesResponse) Validate() error

func (*ListPartiesResponse) XXX_DiscardUnknown

func (m *ListPartiesResponse) XXX_DiscardUnknown()

func (*ListPartiesResponse) XXX_Marshal

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

func (*ListPartiesResponse) XXX_Merge

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

func (*ListPartiesResponse) XXX_Size

func (m *ListPartiesResponse) XXX_Size() int

func (*ListPartiesResponse) XXX_Unmarshal

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

type ListPartiesStakeRequest

type ListPartiesStakeRequest struct {
	Party                string   `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListPartiesStakeRequest) Descriptor

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

func (*ListPartiesStakeRequest) GetParty

func (m *ListPartiesStakeRequest) GetParty() string

func (*ListPartiesStakeRequest) ProtoMessage

func (*ListPartiesStakeRequest) ProtoMessage()

func (*ListPartiesStakeRequest) Reset

func (m *ListPartiesStakeRequest) Reset()

func (*ListPartiesStakeRequest) String

func (m *ListPartiesStakeRequest) String() string

func (*ListPartiesStakeRequest) Validate

func (this *ListPartiesStakeRequest) Validate() error

func (*ListPartiesStakeRequest) XXX_DiscardUnknown

func (m *ListPartiesStakeRequest) XXX_DiscardUnknown()

func (*ListPartiesStakeRequest) XXX_Marshal

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

func (*ListPartiesStakeRequest) XXX_Merge

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

func (*ListPartiesStakeRequest) XXX_Size

func (m *ListPartiesStakeRequest) XXX_Size() int

func (*ListPartiesStakeRequest) XXX_Unmarshal

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

type ListPartiesStakeResponse

type ListPartiesStakeResponse struct {
	PartiesStake         []*PartyStake `protobuf:"bytes,1,rep,name=parties_stake,json=partiesStake,proto3" json:"parties_stake,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*ListPartiesStakeResponse) Descriptor

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

func (*ListPartiesStakeResponse) GetPartiesStake

func (m *ListPartiesStakeResponse) GetPartiesStake() []*PartyStake

func (*ListPartiesStakeResponse) ProtoMessage

func (*ListPartiesStakeResponse) ProtoMessage()

func (*ListPartiesStakeResponse) Reset

func (m *ListPartiesStakeResponse) Reset()

func (*ListPartiesStakeResponse) String

func (m *ListPartiesStakeResponse) String() string

func (*ListPartiesStakeResponse) Validate

func (this *ListPartiesStakeResponse) Validate() error

func (*ListPartiesStakeResponse) XXX_DiscardUnknown

func (m *ListPartiesStakeResponse) XXX_DiscardUnknown()

func (*ListPartiesStakeResponse) XXX_Marshal

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

func (*ListPartiesStakeResponse) XXX_Merge

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

func (*ListPartiesStakeResponse) XXX_Size

func (m *ListPartiesStakeResponse) XXX_Size() int

func (*ListPartiesStakeResponse) XXX_Unmarshal

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

type ListProposalsRequest

type ListProposalsRequest struct {
	Proposal             string   `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"`
	Proposer             string   `protobuf:"bytes,2,opt,name=proposer,proto3" json:"proposer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListProposalsRequest) Descriptor

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

func (*ListProposalsRequest) GetProposal

func (m *ListProposalsRequest) GetProposal() string

func (*ListProposalsRequest) GetProposer

func (m *ListProposalsRequest) GetProposer() string

func (*ListProposalsRequest) ProtoMessage

func (*ListProposalsRequest) ProtoMessage()

func (*ListProposalsRequest) Reset

func (m *ListProposalsRequest) Reset()

func (*ListProposalsRequest) String

func (m *ListProposalsRequest) String() string

func (*ListProposalsRequest) Validate

func (this *ListProposalsRequest) Validate() error

func (*ListProposalsRequest) XXX_DiscardUnknown

func (m *ListProposalsRequest) XXX_DiscardUnknown()

func (*ListProposalsRequest) XXX_Marshal

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

func (*ListProposalsRequest) XXX_Merge

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

func (*ListProposalsRequest) XXX_Size

func (m *ListProposalsRequest) XXX_Size() int

func (*ListProposalsRequest) XXX_Unmarshal

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

type ListProposalsResponse

type ListProposalsResponse struct {
	Proposals            []*vega.Proposal `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ListProposalsResponse) Descriptor

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

func (*ListProposalsResponse) GetProposals

func (m *ListProposalsResponse) GetProposals() []*vega.Proposal

func (*ListProposalsResponse) ProtoMessage

func (*ListProposalsResponse) ProtoMessage()

func (*ListProposalsResponse) Reset

func (m *ListProposalsResponse) Reset()

func (*ListProposalsResponse) String

func (m *ListProposalsResponse) String() string

func (*ListProposalsResponse) Validate

func (this *ListProposalsResponse) Validate() error

func (*ListProposalsResponse) XXX_DiscardUnknown

func (m *ListProposalsResponse) XXX_DiscardUnknown()

func (*ListProposalsResponse) XXX_Marshal

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

func (*ListProposalsResponse) XXX_Merge

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

func (*ListProposalsResponse) XXX_Size

func (m *ListProposalsResponse) XXX_Size() int

func (*ListProposalsResponse) XXX_Unmarshal

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

type ListValidatorsRequest

type ListValidatorsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListValidatorsRequest) Descriptor

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

func (*ListValidatorsRequest) ProtoMessage

func (*ListValidatorsRequest) ProtoMessage()

func (*ListValidatorsRequest) Reset

func (m *ListValidatorsRequest) Reset()

func (*ListValidatorsRequest) String

func (m *ListValidatorsRequest) String() string

func (*ListValidatorsRequest) Validate

func (this *ListValidatorsRequest) Validate() error

func (*ListValidatorsRequest) XXX_DiscardUnknown

func (m *ListValidatorsRequest) XXX_DiscardUnknown()

func (*ListValidatorsRequest) XXX_Marshal

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

func (*ListValidatorsRequest) XXX_Merge

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

func (*ListValidatorsRequest) XXX_Size

func (m *ListValidatorsRequest) XXX_Size() int

func (*ListValidatorsRequest) XXX_Unmarshal

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

type ListValidatorsResponse

type ListValidatorsResponse struct {
	Validators           []*v1.ValidatorUpdate `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ListValidatorsResponse) Descriptor

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

func (*ListValidatorsResponse) GetValidators

func (m *ListValidatorsResponse) GetValidators() []*v1.ValidatorUpdate

func (*ListValidatorsResponse) ProtoMessage

func (*ListValidatorsResponse) ProtoMessage()

func (*ListValidatorsResponse) Reset

func (m *ListValidatorsResponse) Reset()

func (*ListValidatorsResponse) String

func (m *ListValidatorsResponse) String() string

func (*ListValidatorsResponse) Validate

func (this *ListValidatorsResponse) Validate() error

func (*ListValidatorsResponse) XXX_DiscardUnknown

func (m *ListValidatorsResponse) XXX_DiscardUnknown()

func (*ListValidatorsResponse) XXX_Marshal

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

func (*ListValidatorsResponse) XXX_Merge

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

func (*ListValidatorsResponse) XXX_Size

func (m *ListValidatorsResponse) XXX_Size() int

func (*ListValidatorsResponse) XXX_Unmarshal

func (m *ListValidatorsResponse) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListVotesRequest) Descriptor

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

func (*ListVotesRequest) GetParty

func (m *ListVotesRequest) GetParty() string

func (*ListVotesRequest) GetProposal

func (m *ListVotesRequest) GetProposal() string

func (*ListVotesRequest) ProtoMessage

func (*ListVotesRequest) ProtoMessage()

func (*ListVotesRequest) Reset

func (m *ListVotesRequest) Reset()

func (*ListVotesRequest) String

func (m *ListVotesRequest) String() string

func (*ListVotesRequest) Validate

func (this *ListVotesRequest) Validate() error

func (*ListVotesRequest) XXX_DiscardUnknown

func (m *ListVotesRequest) XXX_DiscardUnknown()

func (*ListVotesRequest) XXX_Marshal

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

func (*ListVotesRequest) XXX_Merge

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

func (*ListVotesRequest) XXX_Size

func (m *ListVotesRequest) XXX_Size() int

func (*ListVotesRequest) XXX_Unmarshal

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

type ListVotesResponse

type ListVotesResponse struct {
	Votes                []*vega.Vote `protobuf:"bytes,1,rep,name=votes,proto3" json:"votes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ListVotesResponse) Descriptor

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

func (*ListVotesResponse) GetVotes

func (m *ListVotesResponse) GetVotes() []*vega.Vote

func (*ListVotesResponse) ProtoMessage

func (*ListVotesResponse) ProtoMessage()

func (*ListVotesResponse) Reset

func (m *ListVotesResponse) Reset()

func (*ListVotesResponse) String

func (m *ListVotesResponse) String() string

func (*ListVotesResponse) Validate

func (this *ListVotesResponse) Validate() error

func (*ListVotesResponse) XXX_DiscardUnknown

func (m *ListVotesResponse) XXX_DiscardUnknown()

func (*ListVotesResponse) XXX_Marshal

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

func (*ListVotesResponse) XXX_Merge

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

func (*ListVotesResponse) XXX_Size

func (m *ListVotesResponse) XXX_Size() int

func (*ListVotesResponse) XXX_Unmarshal

func (m *ListVotesResponse) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral  struct{}           `json:"-"`
	XXX_unrecognized      []byte             `json:"-"`
	XXX_sizecache         int32              `json:"-"`
}

func (*PartyStake) Descriptor

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

func (*PartyStake) GetCurrentStakeAvailable

func (m *PartyStake) GetCurrentStakeAvailable() string

func (*PartyStake) GetParty

func (m *PartyStake) GetParty() string

func (*PartyStake) GetStakeLinkings

func (m *PartyStake) GetStakeLinkings() []*v1.StakeLinking

func (*PartyStake) ProtoMessage

func (*PartyStake) ProtoMessage()

func (*PartyStake) Reset

func (m *PartyStake) Reset()

func (*PartyStake) String

func (m *PartyStake) String() string

func (*PartyStake) Validate

func (this *PartyStake) Validate() error

func (*PartyStake) XXX_DiscardUnknown

func (m *PartyStake) XXX_DiscardUnknown()

func (*PartyStake) XXX_Marshal

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

func (*PartyStake) XXX_Merge

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

func (*PartyStake) XXX_Size

func (m *PartyStake) XXX_Size() int

func (*PartyStake) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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