v1

package
v0.45.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2021 License: MIT Imports: 17 Imported by: 10

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var SubmitTransactionRequest_Type_name = map[int32]string{
	0: "TYPE_UNSPECIFIED",
	1: "TYPE_ASYNC",
	2: "TYPE_SYNC",
	3: "TYPE_COMMIT",
}
View Source
var SubmitTransactionRequest_Type_value = map[string]int32{
	"TYPE_UNSPECIFIED": 0,
	"TYPE_ASYNC":       1,
	"TYPE_SYNC":        2,
	"TYPE_COMMIT":      3,
}

Functions

func RegisterCoreServiceHandler

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

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

func RegisterCoreServiceHandlerClient

func RegisterCoreServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CoreServiceClient) error

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

func RegisterCoreServiceHandlerFromEndpoint

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

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

func RegisterCoreServiceServer

func RegisterCoreServiceServer(s *grpc.Server, srv CoreServiceServer)

func RegisterCoreStateServiceHandler

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

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

func RegisterCoreStateServiceHandlerClient

func RegisterCoreStateServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CoreStateServiceClient) error

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

func RegisterCoreStateServiceHandlerFromEndpoint

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

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

func RegisterCoreStateServiceServer

func RegisterCoreStateServiceServer(s *grpc.Server, srv CoreStateServiceServer)

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 CoreServiceClient

type CoreServiceClient interface {
	// Submit a signed transaction
	SubmitTransaction(ctx context.Context, in *SubmitTransactionRequest, opts ...grpc.CallOption) (*SubmitTransactionResponse, error)
	// Propagate a chain event
	PropagateChainEvent(ctx context.Context, in *PropagateChainEventRequest, opts ...grpc.CallOption) (*PropagateChainEventResponse, error)
	// Get Statistics on Vega
	Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error)
	// Get the height of the last tendermint block
	LastBlockHeight(ctx context.Context, in *LastBlockHeightRequest, opts ...grpc.CallOption) (*LastBlockHeightResponse, error)
	// Get Time
	GetVegaTime(ctx context.Context, in *GetVegaTimeRequest, opts ...grpc.CallOption) (*GetVegaTimeResponse, error)
	// Subscribe to a stream of events from the core
	ObserveEventBus(ctx context.Context, opts ...grpc.CallOption) (CoreService_ObserveEventBusClient, error)
}

CoreServiceClient is the client API for CoreService service.

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

func NewCoreServiceClient

func NewCoreServiceClient(cc *grpc.ClientConn) CoreServiceClient

type CoreServiceServer

type CoreServiceServer interface {
	// Submit a signed transaction
	SubmitTransaction(context.Context, *SubmitTransactionRequest) (*SubmitTransactionResponse, error)
	// Propagate a chain event
	PropagateChainEvent(context.Context, *PropagateChainEventRequest) (*PropagateChainEventResponse, error)
	// Get Statistics on Vega
	Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error)
	// Get the height of the last tendermint block
	LastBlockHeight(context.Context, *LastBlockHeightRequest) (*LastBlockHeightResponse, error)
	// Get Time
	GetVegaTime(context.Context, *GetVegaTimeRequest) (*GetVegaTimeResponse, error)
	// Subscribe to a stream of events from the core
	ObserveEventBus(CoreService_ObserveEventBusServer) error
}

CoreServiceServer is the server API for CoreService service.

type CoreService_ObserveEventBusClient

type CoreService_ObserveEventBusClient interface {
	Send(*ObserveEventBusRequest) error
	Recv() (*ObserveEventBusResponse, error)
	grpc.ClientStream
}

type CoreService_ObserveEventBusServer

type CoreService_ObserveEventBusServer interface {
	Send(*ObserveEventBusResponse) error
	Recv() (*ObserveEventBusRequest, error)
	grpc.ServerStream
}

type CoreStateServiceClient

CoreStateServiceClient is the client API for CoreStateService service.

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

func NewCoreStateServiceClient

func NewCoreStateServiceClient(cc *grpc.ClientConn) CoreStateServiceClient

type GetVegaTimeRequest

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

Request for the current time of the vega network

func (*GetVegaTimeRequest) Descriptor

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

func (*GetVegaTimeRequest) ProtoMessage

func (*GetVegaTimeRequest) ProtoMessage()

func (*GetVegaTimeRequest) Reset

func (m *GetVegaTimeRequest) Reset()

func (*GetVegaTimeRequest) String

func (m *GetVegaTimeRequest) String() string

func (*GetVegaTimeRequest) Validate

func (this *GetVegaTimeRequest) Validate() error

func (*GetVegaTimeRequest) XXX_DiscardUnknown

func (m *GetVegaTimeRequest) XXX_DiscardUnknown()

func (*GetVegaTimeRequest) XXX_Marshal

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

func (*GetVegaTimeRequest) XXX_Merge

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

func (*GetVegaTimeRequest) XXX_Size

func (m *GetVegaTimeRequest) XXX_Size() int

func (*GetVegaTimeRequest) XXX_Unmarshal

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

type GetVegaTimeResponse

type GetVegaTimeResponse struct {
	// Timestamp representation of current VegaTime as represented in
	// Nanoseconds since the epoch, for example `1580473859111222333` corresponds to `2020-01-31T12:30:59.111222333Z`
	Timestamp            int64    `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response for the current consensus coordinated time on the Vega network, referred to as "VegaTime"

func (*GetVegaTimeResponse) Descriptor

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

func (*GetVegaTimeResponse) GetTimestamp

func (m *GetVegaTimeResponse) GetTimestamp() int64

func (*GetVegaTimeResponse) ProtoMessage

func (*GetVegaTimeResponse) ProtoMessage()

func (*GetVegaTimeResponse) Reset

func (m *GetVegaTimeResponse) Reset()

func (*GetVegaTimeResponse) String

func (m *GetVegaTimeResponse) String() string

func (*GetVegaTimeResponse) Validate

func (this *GetVegaTimeResponse) Validate() error

func (*GetVegaTimeResponse) XXX_DiscardUnknown

func (m *GetVegaTimeResponse) XXX_DiscardUnknown()

func (*GetVegaTimeResponse) XXX_Marshal

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

func (*GetVegaTimeResponse) XXX_Merge

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

func (*GetVegaTimeResponse) XXX_Size

func (m *GetVegaTimeResponse) XXX_Size() int

func (*GetVegaTimeResponse) XXX_Unmarshal

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

type LastBlockHeightRequest

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

A request to get the height of the very last block processed by tendermint

func (*LastBlockHeightRequest) Descriptor

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

func (*LastBlockHeightRequest) ProtoMessage

func (*LastBlockHeightRequest) ProtoMessage()

func (*LastBlockHeightRequest) Reset

func (m *LastBlockHeightRequest) Reset()

func (*LastBlockHeightRequest) String

func (m *LastBlockHeightRequest) String() string

func (*LastBlockHeightRequest) Validate

func (this *LastBlockHeightRequest) Validate() error

func (*LastBlockHeightRequest) XXX_DiscardUnknown

func (m *LastBlockHeightRequest) XXX_DiscardUnknown()

func (*LastBlockHeightRequest) XXX_Marshal

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

func (*LastBlockHeightRequest) XXX_Merge

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

func (*LastBlockHeightRequest) XXX_Size

func (m *LastBlockHeightRequest) XXX_Size() int

func (*LastBlockHeightRequest) XXX_Unmarshal

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

type LastBlockHeightResponse

type LastBlockHeightResponse struct {
	Height               uint64   `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A response with the height of the last block processed by tendermint

func (*LastBlockHeightResponse) Descriptor

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

func (*LastBlockHeightResponse) GetHeight

func (m *LastBlockHeightResponse) GetHeight() uint64

func (*LastBlockHeightResponse) ProtoMessage

func (*LastBlockHeightResponse) ProtoMessage()

func (*LastBlockHeightResponse) Reset

func (m *LastBlockHeightResponse) Reset()

func (*LastBlockHeightResponse) String

func (m *LastBlockHeightResponse) String() string

func (*LastBlockHeightResponse) Validate

func (this *LastBlockHeightResponse) Validate() error

func (*LastBlockHeightResponse) XXX_DiscardUnknown

func (m *LastBlockHeightResponse) XXX_DiscardUnknown()

func (*LastBlockHeightResponse) XXX_Marshal

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

func (*LastBlockHeightResponse) XXX_Merge

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

func (*LastBlockHeightResponse) XXX_Size

func (m *LastBlockHeightResponse) XXX_Size() int

func (*LastBlockHeightResponse) XXX_Unmarshal

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

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 ObserveEventBusRequest

type ObserveEventBusRequest struct {
	// One or more types of event, required field
	Type []v11.BusEventType `protobuf:"varint,1,rep,packed,name=type,proto3,enum=vega.events.v1.BusEventType" json:"type,omitempty"`
	// Market identifier, optional field
	MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Party identifier, optional field
	PartyId string `protobuf:"bytes,3,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// Batch size, optional field -
	// If not specified, any events received will be sent immediately. If the client is not ready
	// for the next data-set, data may be dropped a number of times, and eventually the stream is closed.
	// if specified, the first batch will be sent when ready. To receive the next set of events, the client
	// must write an `ObserveEventBatch` message on the stream to flush the buffer.
	// If no message is received in 5 seconds, the stream is closed.
	// Default: 0, send any and all events when they are available.
	BatchSize            int64    `protobuf:"varint,4,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to subscribe to a stream of one or more event types from the Vega event bus

func (*ObserveEventBusRequest) Descriptor

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

func (*ObserveEventBusRequest) GetBatchSize

func (m *ObserveEventBusRequest) GetBatchSize() int64

func (*ObserveEventBusRequest) GetMarketId

func (m *ObserveEventBusRequest) GetMarketId() string

func (*ObserveEventBusRequest) GetPartyId

func (m *ObserveEventBusRequest) GetPartyId() string

func (*ObserveEventBusRequest) GetType

func (m *ObserveEventBusRequest) GetType() []v11.BusEventType

func (*ObserveEventBusRequest) ProtoMessage

func (*ObserveEventBusRequest) ProtoMessage()

func (*ObserveEventBusRequest) Reset

func (m *ObserveEventBusRequest) Reset()

func (*ObserveEventBusRequest) String

func (m *ObserveEventBusRequest) String() string

func (*ObserveEventBusRequest) Validate

func (this *ObserveEventBusRequest) Validate() error

func (*ObserveEventBusRequest) XXX_DiscardUnknown

func (m *ObserveEventBusRequest) XXX_DiscardUnknown()

func (*ObserveEventBusRequest) XXX_Marshal

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

func (*ObserveEventBusRequest) XXX_Merge

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

func (*ObserveEventBusRequest) XXX_Size

func (m *ObserveEventBusRequest) XXX_Size() int

func (*ObserveEventBusRequest) XXX_Unmarshal

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

type ObserveEventBusResponse

type ObserveEventBusResponse struct {
	// One or more events
	Events               []*v11.BusEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Response to a subscribed stream of events from the Vega event bus

func (*ObserveEventBusResponse) Descriptor

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

func (*ObserveEventBusResponse) GetEvents

func (m *ObserveEventBusResponse) GetEvents() []*v11.BusEvent

func (*ObserveEventBusResponse) ProtoMessage

func (*ObserveEventBusResponse) ProtoMessage()

func (*ObserveEventBusResponse) Reset

func (m *ObserveEventBusResponse) Reset()

func (*ObserveEventBusResponse) String

func (m *ObserveEventBusResponse) String() string

func (*ObserveEventBusResponse) Validate

func (this *ObserveEventBusResponse) Validate() error

func (*ObserveEventBusResponse) XXX_DiscardUnknown

func (m *ObserveEventBusResponse) XXX_DiscardUnknown()

func (*ObserveEventBusResponse) XXX_Marshal

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

func (*ObserveEventBusResponse) XXX_Merge

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

func (*ObserveEventBusResponse) XXX_Size

func (m *ObserveEventBusResponse) XXX_Size() int

func (*ObserveEventBusResponse) XXX_Unmarshal

func (m *ObserveEventBusResponse) 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

type PropagateChainEventRequest

type PropagateChainEventRequest struct {
	// Chain event
	Event []byte `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	// Public key
	PubKey string `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	// Signature
	Signature            []byte   `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request for a new event sent by the blockchain queue to be propagated on Vega

func (*PropagateChainEventRequest) Descriptor

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

func (*PropagateChainEventRequest) GetEvent

func (m *PropagateChainEventRequest) GetEvent() []byte

func (*PropagateChainEventRequest) GetPubKey

func (m *PropagateChainEventRequest) GetPubKey() string

func (*PropagateChainEventRequest) GetSignature

func (m *PropagateChainEventRequest) GetSignature() []byte

func (*PropagateChainEventRequest) ProtoMessage

func (*PropagateChainEventRequest) ProtoMessage()

func (*PropagateChainEventRequest) Reset

func (m *PropagateChainEventRequest) Reset()

func (*PropagateChainEventRequest) String

func (m *PropagateChainEventRequest) String() string

func (*PropagateChainEventRequest) Validate

func (this *PropagateChainEventRequest) Validate() error

func (*PropagateChainEventRequest) XXX_DiscardUnknown

func (m *PropagateChainEventRequest) XXX_DiscardUnknown()

func (*PropagateChainEventRequest) XXX_Marshal

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

func (*PropagateChainEventRequest) XXX_Merge

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

func (*PropagateChainEventRequest) XXX_Size

func (m *PropagateChainEventRequest) XXX_Size() int

func (*PropagateChainEventRequest) XXX_Unmarshal

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

type PropagateChainEventResponse

type PropagateChainEventResponse struct {
	// Success will be true if the event was accepted by the node,
	// **Important** - success does not mean that the event is confirmed by consensus
	Success              bool     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response for a new event sent by the blockchain queue to be propagated on Vega

func (*PropagateChainEventResponse) Descriptor

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

func (*PropagateChainEventResponse) GetSuccess

func (m *PropagateChainEventResponse) GetSuccess() bool

func (*PropagateChainEventResponse) ProtoMessage

func (*PropagateChainEventResponse) ProtoMessage()

func (*PropagateChainEventResponse) Reset

func (m *PropagateChainEventResponse) Reset()

func (*PropagateChainEventResponse) String

func (m *PropagateChainEventResponse) String() string

func (*PropagateChainEventResponse) Validate

func (this *PropagateChainEventResponse) Validate() error

func (*PropagateChainEventResponse) XXX_DiscardUnknown

func (m *PropagateChainEventResponse) XXX_DiscardUnknown()

func (*PropagateChainEventResponse) XXX_Marshal

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

func (*PropagateChainEventResponse) XXX_Merge

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

func (*PropagateChainEventResponse) XXX_Size

func (m *PropagateChainEventResponse) XXX_Size() int

func (*PropagateChainEventResponse) XXX_Unmarshal

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

type Statistics

type Statistics struct {
	// Current block height as reported by the Vega blockchain
	BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	// Current backlog length (number of transactions) that are waiting to be included in a block
	BacklogLength uint64 `protobuf:"varint,2,opt,name=backlog_length,json=backlogLength,proto3" json:"backlog_length,omitempty"`
	// Total number of connected peers to this node
	TotalPeers uint64 `protobuf:"varint,3,opt,name=total_peers,json=totalPeers,proto3" json:"total_peers,omitempty"`
	// Genesis block date and time formatted in ISO-8601 datetime format with nanosecond precision
	GenesisTime string `protobuf:"bytes,4,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"`
	// Current system date and time formatted in ISO-8601 datetime format with nanosecond precision
	CurrentTime string `protobuf:"bytes,5,opt,name=current_time,json=currentTime,proto3" json:"current_time,omitempty"`
	// Current Vega date and time formatted in ISO-8601 datetime format with nanosecond precision
	VegaTime string `protobuf:"bytes,6,opt,name=vega_time,json=vegaTime,proto3" json:"vega_time,omitempty"`
	// Status of the connection to the Vega blockchain
	// - See [`ChainStatus`](#vega.ChainStatus)
	Status vega.ChainStatus `protobuf:"varint,7,opt,name=status,proto3,enum=vega.ChainStatus" json:"status,omitempty"`
	// Transactions per block
	TxPerBlock uint64 `protobuf:"varint,8,opt,name=tx_per_block,json=txPerBlock,proto3" json:"tx_per_block,omitempty"`
	// Average transaction size in bytes
	AverageTxBytes uint64 `protobuf:"varint,9,opt,name=average_tx_bytes,json=averageTxBytes,proto3" json:"average_tx_bytes,omitempty"`
	// Average orders per block
	AverageOrdersPerBlock uint64 `` /* 130-byte string literal not displayed */
	// Trades emitted per second
	TradesPerSecond uint64 `protobuf:"varint,11,opt,name=trades_per_second,json=tradesPerSecond,proto3" json:"trades_per_second,omitempty"`
	// Orders processed per second
	OrdersPerSecond uint64 `protobuf:"varint,12,opt,name=orders_per_second,json=ordersPerSecond,proto3" json:"orders_per_second,omitempty"`
	// Total markets on this Vega network
	TotalMarkets uint64 `protobuf:"varint,13,opt,name=total_markets,json=totalMarkets,proto3" json:"total_markets,omitempty"`
	// Total number of order amendments since genesis (on all markets)
	TotalAmendOrder uint64 `protobuf:"varint,16,opt,name=total_amend_order,json=totalAmendOrder,proto3" json:"total_amend_order,omitempty"`
	// Total number of order cancellations since genesis (on all markets)
	TotalCancelOrder uint64 `protobuf:"varint,17,opt,name=total_cancel_order,json=totalCancelOrder,proto3" json:"total_cancel_order,omitempty"`
	// Total number of order submissions since genesis (on all markets)
	TotalCreateOrder uint64 `protobuf:"varint,18,opt,name=total_create_order,json=totalCreateOrder,proto3" json:"total_create_order,omitempty"`
	// Total number of orders processed since genesis (on all markets)
	TotalOrders uint64 `protobuf:"varint,19,opt,name=total_orders,json=totalOrders,proto3" json:"total_orders,omitempty"`
	// Total number of trades emitted since genesis (on all markets)
	TotalTrades uint64 `protobuf:"varint,20,opt,name=total_trades,json=totalTrades,proto3" json:"total_trades,omitempty"`
	// Current number of stream subscribers to order data
	OrderSubscriptions uint32 `protobuf:"varint,21,opt,name=order_subscriptions,json=orderSubscriptions,proto3" json:"order_subscriptions,omitempty"`
	// Current number of stream subscribers to trade data
	TradeSubscriptions uint32 `protobuf:"varint,22,opt,name=trade_subscriptions,json=tradeSubscriptions,proto3" json:"trade_subscriptions,omitempty"`
	// Current number of stream subscribers to candle-stick data
	CandleSubscriptions uint32 `protobuf:"varint,23,opt,name=candle_subscriptions,json=candleSubscriptions,proto3" json:"candle_subscriptions,omitempty"`
	// Current number of stream subscribers to market depth data
	MarketDepthSubscriptions uint32 `` /* 137-byte string literal not displayed */
	// Current number of stream subscribers to positions data
	PositionsSubscriptions uint32 `` /* 129-byte string literal not displayed */
	// Current number of stream subscribers to account data
	AccountSubscriptions uint32 `protobuf:"varint,26,opt,name=account_subscriptions,json=accountSubscriptions,proto3" json:"account_subscriptions,omitempty"`
	// Current number of stream subscribers to market data
	MarketDataSubscriptions uint32 `` /* 134-byte string literal not displayed */
	// The version hash of the Vega node software
	AppVersionHash string `protobuf:"bytes,28,opt,name=app_version_hash,json=appVersionHash,proto3" json:"app_version_hash,omitempty"`
	// The version of the Vega node software
	AppVersion string `protobuf:"bytes,29,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"`
	// The version of the underlying Vega blockchain
	ChainVersion string `protobuf:"bytes,30,opt,name=chain_version,json=chainVersion,proto3" json:"chain_version,omitempty"`
	// Current block duration, in nanoseconds
	BlockDuration uint64 `protobuf:"varint,31,opt,name=block_duration,json=blockDuration,proto3" json:"block_duration,omitempty"`
	// Total uptime for this node formatted in ISO-8601 datetime format with nanosecond precision
	Uptime string `protobuf:"bytes,32,opt,name=uptime,proto3" json:"uptime,omitempty"`
	// Unique identifier for the underlying Vega blockchain
	ChainId string `protobuf:"bytes,33,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// Current number of stream subscribers to market depth update data
	MarketDepthUpdatesSubscriptions uint32   `` /* 160-byte string literal not displayed */
	XXX_NoUnkeyedLiteral            struct{} `json:"-"`
	XXX_unrecognized                []byte   `json:"-"`
	XXX_sizecache                   int32    `json:"-"`
}

Vega domain specific statistics as reported by the node the caller is connected to

func (*Statistics) Descriptor

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

func (*Statistics) GetAccountSubscriptions

func (m *Statistics) GetAccountSubscriptions() uint32

func (*Statistics) GetAppVersion

func (m *Statistics) GetAppVersion() string

func (*Statistics) GetAppVersionHash

func (m *Statistics) GetAppVersionHash() string

func (*Statistics) GetAverageOrdersPerBlock

func (m *Statistics) GetAverageOrdersPerBlock() uint64

func (*Statistics) GetAverageTxBytes

func (m *Statistics) GetAverageTxBytes() uint64

func (*Statistics) GetBacklogLength

func (m *Statistics) GetBacklogLength() uint64

func (*Statistics) GetBlockDuration

func (m *Statistics) GetBlockDuration() uint64

func (*Statistics) GetBlockHeight

func (m *Statistics) GetBlockHeight() uint64

func (*Statistics) GetCandleSubscriptions

func (m *Statistics) GetCandleSubscriptions() uint32

func (*Statistics) GetChainId

func (m *Statistics) GetChainId() string

func (*Statistics) GetChainVersion

func (m *Statistics) GetChainVersion() string

func (*Statistics) GetCurrentTime

func (m *Statistics) GetCurrentTime() string

func (*Statistics) GetGenesisTime

func (m *Statistics) GetGenesisTime() string

func (*Statistics) GetMarketDataSubscriptions

func (m *Statistics) GetMarketDataSubscriptions() uint32

func (*Statistics) GetMarketDepthSubscriptions

func (m *Statistics) GetMarketDepthSubscriptions() uint32

func (*Statistics) GetMarketDepthUpdatesSubscriptions

func (m *Statistics) GetMarketDepthUpdatesSubscriptions() uint32

func (*Statistics) GetOrderSubscriptions

func (m *Statistics) GetOrderSubscriptions() uint32

func (*Statistics) GetOrdersPerSecond

func (m *Statistics) GetOrdersPerSecond() uint64

func (*Statistics) GetPositionsSubscriptions

func (m *Statistics) GetPositionsSubscriptions() uint32

func (*Statistics) GetStatus

func (m *Statistics) GetStatus() vega.ChainStatus

func (*Statistics) GetTotalAmendOrder

func (m *Statistics) GetTotalAmendOrder() uint64

func (*Statistics) GetTotalCancelOrder

func (m *Statistics) GetTotalCancelOrder() uint64

func (*Statistics) GetTotalCreateOrder

func (m *Statistics) GetTotalCreateOrder() uint64

func (*Statistics) GetTotalMarkets

func (m *Statistics) GetTotalMarkets() uint64

func (*Statistics) GetTotalOrders

func (m *Statistics) GetTotalOrders() uint64

func (*Statistics) GetTotalPeers

func (m *Statistics) GetTotalPeers() uint64

func (*Statistics) GetTotalTrades

func (m *Statistics) GetTotalTrades() uint64

func (*Statistics) GetTradeSubscriptions

func (m *Statistics) GetTradeSubscriptions() uint32

func (*Statistics) GetTradesPerSecond

func (m *Statistics) GetTradesPerSecond() uint64

func (*Statistics) GetTxPerBlock

func (m *Statistics) GetTxPerBlock() uint64

func (*Statistics) GetUptime

func (m *Statistics) GetUptime() string

func (*Statistics) GetVegaTime

func (m *Statistics) GetVegaTime() string

func (*Statistics) ProtoMessage

func (*Statistics) ProtoMessage()

func (*Statistics) Reset

func (m *Statistics) Reset()

func (*Statistics) String

func (m *Statistics) String() string

func (*Statistics) Validate

func (this *Statistics) Validate() error

func (*Statistics) XXX_DiscardUnknown

func (m *Statistics) XXX_DiscardUnknown()

func (*Statistics) XXX_Marshal

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

func (*Statistics) XXX_Merge

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

func (*Statistics) XXX_Size

func (m *Statistics) XXX_Size() int

func (*Statistics) XXX_Unmarshal

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

type StatisticsRequest

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

A a request for statistics about the Vega network

func (*StatisticsRequest) Descriptor

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

func (*StatisticsRequest) ProtoMessage

func (*StatisticsRequest) ProtoMessage()

func (*StatisticsRequest) Reset

func (m *StatisticsRequest) Reset()

func (*StatisticsRequest) String

func (m *StatisticsRequest) String() string

func (*StatisticsRequest) Validate

func (this *StatisticsRequest) Validate() error

func (*StatisticsRequest) XXX_DiscardUnknown

func (m *StatisticsRequest) XXX_DiscardUnknown()

func (*StatisticsRequest) XXX_Marshal

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

func (*StatisticsRequest) XXX_Merge

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

func (*StatisticsRequest) XXX_Size

func (m *StatisticsRequest) XXX_Size() int

func (*StatisticsRequest) XXX_Unmarshal

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

type StatisticsResponse

type StatisticsResponse struct {
	Statistics           *Statistics `protobuf:"bytes,1,opt,name=statistics,proto3" json:"statistics,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*StatisticsResponse) Descriptor

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

func (*StatisticsResponse) GetStatistics

func (m *StatisticsResponse) GetStatistics() *Statistics

func (*StatisticsResponse) ProtoMessage

func (*StatisticsResponse) ProtoMessage()

func (*StatisticsResponse) Reset

func (m *StatisticsResponse) Reset()

func (*StatisticsResponse) String

func (m *StatisticsResponse) String() string

func (*StatisticsResponse) Validate

func (this *StatisticsResponse) Validate() error

func (*StatisticsResponse) XXX_DiscardUnknown

func (m *StatisticsResponse) XXX_DiscardUnknown()

func (*StatisticsResponse) XXX_Marshal

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

func (*StatisticsResponse) XXX_Merge

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

func (*StatisticsResponse) XXX_Size

func (m *StatisticsResponse) XXX_Size() int

func (*StatisticsResponse) XXX_Unmarshal

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

type SubmitTransactionRequest

type SubmitTransactionRequest struct {
	// A bundle of signed payload and signature, to form a transaction that will be submitted to the Vega blockchain
	Tx *v1.Transaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	// Type of transaction request, for example ASYNC, meaning the transaction will be submitted and not block on a response
	Type                 SubmitTransactionRequest_Type `protobuf:"varint,2,opt,name=type,proto3,enum=vega.api.v1.SubmitTransactionRequest_Type" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

Request for submitting a transaction v2 on Vega

func (*SubmitTransactionRequest) Descriptor

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

func (*SubmitTransactionRequest) GetTx

func (*SubmitTransactionRequest) GetType

func (*SubmitTransactionRequest) ProtoMessage

func (*SubmitTransactionRequest) ProtoMessage()

func (*SubmitTransactionRequest) Reset

func (m *SubmitTransactionRequest) Reset()

func (*SubmitTransactionRequest) String

func (m *SubmitTransactionRequest) String() string

func (*SubmitTransactionRequest) Validate

func (this *SubmitTransactionRequest) Validate() error

func (*SubmitTransactionRequest) XXX_DiscardUnknown

func (m *SubmitTransactionRequest) XXX_DiscardUnknown()

func (*SubmitTransactionRequest) XXX_Marshal

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

func (*SubmitTransactionRequest) XXX_Merge

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

func (*SubmitTransactionRequest) XXX_Size

func (m *SubmitTransactionRequest) XXX_Size() int

func (*SubmitTransactionRequest) XXX_Unmarshal

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

type SubmitTransactionRequest_Type

type SubmitTransactionRequest_Type int32

Blockchain transaction type

const (
	SubmitTransactionRequest_TYPE_UNSPECIFIED SubmitTransactionRequest_Type = 0
	// The transaction will be submitted without waiting for response
	SubmitTransactionRequest_TYPE_ASYNC SubmitTransactionRequest_Type = 1
	// The transaction will be submitted, and blocking until the
	// tendermint mempool return a response
	SubmitTransactionRequest_TYPE_SYNC SubmitTransactionRequest_Type = 2
	// The transaction will submitted, and blocking until the tendermint
	// network will have committed it into a block
	SubmitTransactionRequest_TYPE_COMMIT SubmitTransactionRequest_Type = 3
)

func (SubmitTransactionRequest_Type) EnumDescriptor

func (SubmitTransactionRequest_Type) EnumDescriptor() ([]byte, []int)

func (SubmitTransactionRequest_Type) String

type SubmitTransactionResponse

type SubmitTransactionResponse struct {
	// Success will be true if the transaction was accepted by the node,
	// **Important** - success does not mean that the event is confirmed by consensus
	Success              bool     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response for submitting a transaction v2 on Vega

func (*SubmitTransactionResponse) Descriptor

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

func (*SubmitTransactionResponse) GetSuccess

func (m *SubmitTransactionResponse) GetSuccess() bool

func (*SubmitTransactionResponse) ProtoMessage

func (*SubmitTransactionResponse) ProtoMessage()

func (*SubmitTransactionResponse) Reset

func (m *SubmitTransactionResponse) Reset()

func (*SubmitTransactionResponse) String

func (m *SubmitTransactionResponse) String() string

func (*SubmitTransactionResponse) Validate

func (this *SubmitTransactionResponse) Validate() error

func (*SubmitTransactionResponse) XXX_DiscardUnknown

func (m *SubmitTransactionResponse) XXX_DiscardUnknown()

func (*SubmitTransactionResponse) XXX_Marshal

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

func (*SubmitTransactionResponse) XXX_Merge

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

func (*SubmitTransactionResponse) XXX_Size

func (m *SubmitTransactionResponse) XXX_Size() int

func (*SubmitTransactionResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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