v2

package
v12.0.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 33 Imported by: 1

Documentation

Overview

Package v2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAllocation        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAllocation          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAllocation = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsg        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsg          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsg = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPayout        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPayout          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPayout = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuerier        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuerier          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuerier = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSubscription        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSubscription          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSubscription = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	DefaultStatusChangeDelay = 2 * time.Minute
)
View Source
var (
	KeyStatusChangeDelay = []byte("StatusChangeDelay")
)
View Source
var MsgService_serviceDesc = _MsgService_serviceDesc
View Source
var QueryService_serviceDesc = _QueryService_serviceDesc
View Source
var SubscriptionType_name = map[int32]string{
	0: "TYPE_UNSPECIFIED",
	1: "TYPE_NODE",
	2: "TYPE_PLAN",
}
View Source
var SubscriptionType_value = map[string]int32{
	"TYPE_UNSPECIFIED": 0,
	"TYPE_NODE":        1,
	"TYPE_PLAN":        2,
}

Functions

func ParamsKeyTable

func ParamsKeyTable() params.KeyTable

func RegisterInterfaces

func RegisterInterfaces(registry codectypes.InterfaceRegistry)

func RegisterMsgServiceServer

func RegisterMsgServiceServer(s grpc1.Server, srv MsgServiceServer)

func RegisterQueryServiceHandler

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

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

func RegisterQueryServiceHandlerClient

func RegisterQueryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryServiceClient) error

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

func RegisterQueryServiceHandlerFromEndpoint

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

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

func RegisterQueryServiceHandlerServer

func RegisterQueryServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServiceServer) error

RegisterQueryServiceHandlerServer registers the http handlers for service QueryService to "mux". UnaryRPC :call QueryServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryServiceHandlerFromEndpoint instead.

func RegisterQueryServiceServer

func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer)

Types

type Allocation

type Allocation struct {
	ID            uint64                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Address       string                `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	GrantedBytes  cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=granted_bytes,json=grantedBytes,proto3,customtype=cosmossdk.io/math.Int" json:"granted_bytes"`
	UtilisedBytes cosmossdk_io_math.Int `protobuf:"bytes,4,opt,name=utilised_bytes,json=utilisedBytes,proto3,customtype=cosmossdk.io/math.Int" json:"utilised_bytes"`
}

func (*Allocation) Descriptor

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

func (*Allocation) GetAddress

func (m *Allocation) GetAddress() sdk.AccAddress

func (*Allocation) Marshal

func (m *Allocation) Marshal() (dAtA []byte, err error)

func (*Allocation) MarshalTo

func (m *Allocation) MarshalTo(dAtA []byte) (int, error)

func (*Allocation) MarshalToSizedBuffer

func (m *Allocation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Allocation) ProtoMessage

func (*Allocation) ProtoMessage()

func (*Allocation) Reset

func (m *Allocation) Reset()

func (*Allocation) Size

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

func (*Allocation) String

func (m *Allocation) String() string

func (*Allocation) Unmarshal

func (m *Allocation) Unmarshal(dAtA []byte) error

func (*Allocation) Validate

func (m *Allocation) Validate() error

func (*Allocation) XXX_DiscardUnknown

func (m *Allocation) XXX_DiscardUnknown()

func (*Allocation) XXX_Marshal

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

func (*Allocation) XXX_Merge

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

func (*Allocation) XXX_Size

func (m *Allocation) XXX_Size() int

func (*Allocation) XXX_Unmarshal

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

type Allocations

type Allocations []Allocation

type BaseSubscription

type BaseSubscription struct {
	ID         uint64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Address    string    `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	InactiveAt time.Time `protobuf:"bytes,3,opt,name=inactive_at,json=inactiveAt,proto3,stdtime" json:"inactive_at"`
	Status     v1.Status `protobuf:"varint,4,opt,name=status,proto3,enum=sentinel.types.v1.Status" json:"status,omitempty"`
	StatusAt   time.Time `protobuf:"bytes,5,opt,name=status_at,json=statusAt,proto3,stdtime" json:"status_at"`
}

func (*BaseSubscription) Descriptor

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

func (*BaseSubscription) GetAddress

func (s *BaseSubscription) GetAddress() sdk.AccAddress

func (*BaseSubscription) GetID

func (s *BaseSubscription) GetID() uint64

func (*BaseSubscription) GetInactiveAt

func (s *BaseSubscription) GetInactiveAt() time.Time

func (*BaseSubscription) GetStatus

func (s *BaseSubscription) GetStatus() v1base.Status

func (*BaseSubscription) GetStatusAt

func (s *BaseSubscription) GetStatusAt() time.Time

func (*BaseSubscription) Marshal

func (m *BaseSubscription) Marshal() (dAtA []byte, err error)

func (*BaseSubscription) MarshalTo

func (m *BaseSubscription) MarshalTo(dAtA []byte) (int, error)

func (*BaseSubscription) MarshalToSizedBuffer

func (m *BaseSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BaseSubscription) ProtoMessage

func (*BaseSubscription) ProtoMessage()

func (*BaseSubscription) Reset

func (m *BaseSubscription) Reset()

func (*BaseSubscription) SetInactiveAt

func (s *BaseSubscription) SetInactiveAt(v time.Time)

func (*BaseSubscription) SetStatus

func (s *BaseSubscription) SetStatus(v v1base.Status)

func (*BaseSubscription) SetStatusAt

func (s *BaseSubscription) SetStatusAt(v time.Time)

func (*BaseSubscription) Size

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

func (*BaseSubscription) String

func (m *BaseSubscription) String() string

func (*BaseSubscription) Unmarshal

func (m *BaseSubscription) Unmarshal(dAtA []byte) error

func (*BaseSubscription) Validate

func (s *BaseSubscription) Validate() error

func (*BaseSubscription) XXX_DiscardUnknown

func (m *BaseSubscription) XXX_DiscardUnknown()

func (*BaseSubscription) XXX_Marshal

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

func (*BaseSubscription) XXX_Merge

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

func (*BaseSubscription) XXX_Size

func (m *BaseSubscription) XXX_Size() int

func (*BaseSubscription) XXX_Unmarshal

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

type EventAllocate

type EventAllocate struct {
	Address       string                `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" yaml:"address"`
	GrantedBytes  cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=granted_bytes,json=grantedBytes,proto3,customtype=cosmossdk.io/math.Int" json:"granted_bytes"`
	UtilisedBytes cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=utilised_bytes,json=utilisedBytes,proto3,customtype=cosmossdk.io/math.Int" json:"utilised_bytes"`
	ID            uint64                `protobuf:"varint,4,opt,name=id,proto3" json:"id,omitempty" yaml:"id"`
}

func (*EventAllocate) Descriptor

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

func (*EventAllocate) Marshal

func (m *EventAllocate) Marshal() (dAtA []byte, err error)

func (*EventAllocate) MarshalTo

func (m *EventAllocate) MarshalTo(dAtA []byte) (int, error)

func (*EventAllocate) MarshalToSizedBuffer

func (m *EventAllocate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventAllocate) ProtoMessage

func (*EventAllocate) ProtoMessage()

func (*EventAllocate) Reset

func (m *EventAllocate) Reset()

func (*EventAllocate) Size

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

func (*EventAllocate) String

func (m *EventAllocate) String() string

func (*EventAllocate) Unmarshal

func (m *EventAllocate) Unmarshal(dAtA []byte) error

func (*EventAllocate) XXX_DiscardUnknown

func (m *EventAllocate) XXX_DiscardUnknown()

func (*EventAllocate) XXX_Marshal

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

func (*EventAllocate) XXX_Merge

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

func (*EventAllocate) XXX_Size

func (m *EventAllocate) XXX_Size() int

func (*EventAllocate) XXX_Unmarshal

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

type EventCreatePayout

type EventCreatePayout struct {
	Address     string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" yaml:"address"`
	NodeAddress string `protobuf:"bytes,2,opt,name=node_address,json=nodeAddress,proto3" json:"node_address,omitempty" yaml:"node_address"`
	ID          uint64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty" yaml:"id"`
}

func (*EventCreatePayout) Descriptor

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

func (*EventCreatePayout) Marshal

func (m *EventCreatePayout) Marshal() (dAtA []byte, err error)

func (*EventCreatePayout) MarshalTo

func (m *EventCreatePayout) MarshalTo(dAtA []byte) (int, error)

func (*EventCreatePayout) MarshalToSizedBuffer

func (m *EventCreatePayout) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventCreatePayout) ProtoMessage

func (*EventCreatePayout) ProtoMessage()

func (*EventCreatePayout) Reset

func (m *EventCreatePayout) Reset()

func (*EventCreatePayout) Size

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

func (*EventCreatePayout) String

func (m *EventCreatePayout) String() string

func (*EventCreatePayout) Unmarshal

func (m *EventCreatePayout) Unmarshal(dAtA []byte) error

func (*EventCreatePayout) XXX_DiscardUnknown

func (m *EventCreatePayout) XXX_DiscardUnknown()

func (*EventCreatePayout) XXX_Marshal

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

func (*EventCreatePayout) XXX_Merge

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

func (*EventCreatePayout) XXX_Size

func (m *EventCreatePayout) XXX_Size() int

func (*EventCreatePayout) XXX_Unmarshal

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

type EventPayForPayout

type EventPayForPayout struct {
	Address       string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" yaml:"address"`
	NodeAddress   string `protobuf:"bytes,2,opt,name=node_address,json=nodeAddress,proto3" json:"node_address,omitempty" yaml:"node_address"`
	Payment       string `protobuf:"bytes,3,opt,name=payment,proto3" json:"payment,omitempty" yaml:"payment"`
	StakingReward string `protobuf:"bytes,4,opt,name=staking_reward,json=stakingReward,proto3" json:"staking_reward,omitempty" yaml:"staking_reward"`
	ID            uint64 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty" yaml:"id"`
}

func (*EventPayForPayout) Descriptor

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

func (*EventPayForPayout) Marshal

func (m *EventPayForPayout) Marshal() (dAtA []byte, err error)

func (*EventPayForPayout) MarshalTo

func (m *EventPayForPayout) MarshalTo(dAtA []byte) (int, error)

func (*EventPayForPayout) MarshalToSizedBuffer

func (m *EventPayForPayout) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventPayForPayout) ProtoMessage

func (*EventPayForPayout) ProtoMessage()

func (*EventPayForPayout) Reset

func (m *EventPayForPayout) Reset()

func (*EventPayForPayout) Size

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

func (*EventPayForPayout) String

func (m *EventPayForPayout) String() string

func (*EventPayForPayout) Unmarshal

func (m *EventPayForPayout) Unmarshal(dAtA []byte) error

func (*EventPayForPayout) XXX_DiscardUnknown

func (m *EventPayForPayout) XXX_DiscardUnknown()

func (*EventPayForPayout) XXX_Marshal

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

func (*EventPayForPayout) XXX_Merge

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

func (*EventPayForPayout) XXX_Size

func (m *EventPayForPayout) XXX_Size() int

func (*EventPayForPayout) XXX_Unmarshal

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

type EventPayForPlan

type EventPayForPlan struct {
	Address         string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" yaml:"address"`
	Payment         string `protobuf:"bytes,2,opt,name=payment,proto3" json:"payment,omitempty" yaml:"payment"`
	ProviderAddress string `` /* 130-byte string literal not displayed */
	StakingReward   string `protobuf:"bytes,4,opt,name=staking_reward,json=stakingReward,proto3" json:"staking_reward,omitempty" yaml:"staking_reward"`
	ID              uint64 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty" yaml:"id"`
}

func (*EventPayForPlan) Descriptor

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

func (*EventPayForPlan) Marshal

func (m *EventPayForPlan) Marshal() (dAtA []byte, err error)

func (*EventPayForPlan) MarshalTo

func (m *EventPayForPlan) MarshalTo(dAtA []byte) (int, error)

func (*EventPayForPlan) MarshalToSizedBuffer

func (m *EventPayForPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventPayForPlan) ProtoMessage

func (*EventPayForPlan) ProtoMessage()

func (*EventPayForPlan) Reset

func (m *EventPayForPlan) Reset()

func (*EventPayForPlan) Size

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

func (*EventPayForPlan) String

func (m *EventPayForPlan) String() string

func (*EventPayForPlan) Unmarshal

func (m *EventPayForPlan) Unmarshal(dAtA []byte) error

func (*EventPayForPlan) XXX_DiscardUnknown

func (m *EventPayForPlan) XXX_DiscardUnknown()

func (*EventPayForPlan) XXX_Marshal

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

func (*EventPayForPlan) XXX_Merge

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

func (*EventPayForPlan) XXX_Size

func (m *EventPayForPlan) XXX_Size() int

func (*EventPayForPlan) XXX_Unmarshal

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

type EventPayForSession

type EventPayForSession struct {
	Address        string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" yaml:"address"`
	NodeAddress    string `protobuf:"bytes,2,opt,name=node_address,json=nodeAddress,proto3" json:"node_address,omitempty" yaml:"node_address"`
	Payment        string `protobuf:"bytes,3,opt,name=payment,proto3" json:"payment,omitempty" yaml:"payment"`
	StakingReward  string `protobuf:"bytes,4,opt,name=staking_reward,json=stakingReward,proto3" json:"staking_reward,omitempty" yaml:"staking_reward"`
	SessionID      uint64 `protobuf:"varint,5,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty" yaml:"session_id"`
	SubscriptionID uint64 `` /* 127-byte string literal not displayed */
}

func (*EventPayForSession) Descriptor

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

func (*EventPayForSession) Marshal

func (m *EventPayForSession) Marshal() (dAtA []byte, err error)

func (*EventPayForSession) MarshalTo

func (m *EventPayForSession) MarshalTo(dAtA []byte) (int, error)

func (*EventPayForSession) MarshalToSizedBuffer

func (m *EventPayForSession) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventPayForSession) ProtoMessage

func (*EventPayForSession) ProtoMessage()

func (*EventPayForSession) Reset

func (m *EventPayForSession) Reset()

func (*EventPayForSession) Size

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

func (*EventPayForSession) String

func (m *EventPayForSession) String() string

func (*EventPayForSession) Unmarshal

func (m *EventPayForSession) Unmarshal(dAtA []byte) error

func (*EventPayForSession) XXX_DiscardUnknown

func (m *EventPayForSession) XXX_DiscardUnknown()

func (*EventPayForSession) XXX_Marshal

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

func (*EventPayForSession) XXX_Merge

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

func (*EventPayForSession) XXX_Size

func (m *EventPayForSession) XXX_Size() int

func (*EventPayForSession) XXX_Unmarshal

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

type EventRefund

type EventRefund struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" yaml:"address"`
	Amount  string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty" yaml:"amount"`
	ID      uint64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty" yaml:"id"`
}

func (*EventRefund) Descriptor

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

func (*EventRefund) Marshal

func (m *EventRefund) Marshal() (dAtA []byte, err error)

func (*EventRefund) MarshalTo

func (m *EventRefund) MarshalTo(dAtA []byte) (int, error)

func (*EventRefund) MarshalToSizedBuffer

func (m *EventRefund) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventRefund) ProtoMessage

func (*EventRefund) ProtoMessage()

func (*EventRefund) Reset

func (m *EventRefund) Reset()

func (*EventRefund) Size

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

func (*EventRefund) String

func (m *EventRefund) String() string

func (*EventRefund) Unmarshal

func (m *EventRefund) Unmarshal(dAtA []byte) error

func (*EventRefund) XXX_DiscardUnknown

func (m *EventRefund) XXX_DiscardUnknown()

func (*EventRefund) XXX_Marshal

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

func (*EventRefund) XXX_Merge

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

func (*EventRefund) XXX_Size

func (m *EventRefund) XXX_Size() int

func (*EventRefund) XXX_Unmarshal

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

type EventUpdateStatus

type EventUpdateStatus struct {
	Status  v1.Status `protobuf:"varint,1,opt,name=status,proto3,enum=sentinel.types.v1.Status" json:"status,omitempty" yaml:"status"`
	Address string    `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty" yaml:"address"`
	ID      uint64    `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty" yaml:"id"`
	PlanID  uint64    `protobuf:"varint,4,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty" yaml:"plan_id"`
}

func (*EventUpdateStatus) Descriptor

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

func (*EventUpdateStatus) Marshal

func (m *EventUpdateStatus) Marshal() (dAtA []byte, err error)

func (*EventUpdateStatus) MarshalTo

func (m *EventUpdateStatus) MarshalTo(dAtA []byte) (int, error)

func (*EventUpdateStatus) MarshalToSizedBuffer

func (m *EventUpdateStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventUpdateStatus) ProtoMessage

func (*EventUpdateStatus) ProtoMessage()

func (*EventUpdateStatus) Reset

func (m *EventUpdateStatus) Reset()

func (*EventUpdateStatus) Size

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

func (*EventUpdateStatus) String

func (m *EventUpdateStatus) String() string

func (*EventUpdateStatus) Unmarshal

func (m *EventUpdateStatus) Unmarshal(dAtA []byte) error

func (*EventUpdateStatus) XXX_DiscardUnknown

func (m *EventUpdateStatus) XXX_DiscardUnknown()

func (*EventUpdateStatus) XXX_Marshal

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

func (*EventUpdateStatus) XXX_Merge

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

func (*EventUpdateStatus) XXX_Size

func (m *EventUpdateStatus) XXX_Size() int

func (*EventUpdateStatus) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Subscriptions []GenesisSubscription `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions"`
	Params        Params                `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

func (*GenesisState) Descriptor

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

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type GenesisSubscription

type GenesisSubscription struct {
	Subscription *types.Any   `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"`
	Allocations  []Allocation `protobuf:"bytes,2,rep,name=allocations,proto3" json:"allocations"`
}

func (*GenesisSubscription) Descriptor

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

func (*GenesisSubscription) Marshal

func (m *GenesisSubscription) Marshal() (dAtA []byte, err error)

func (*GenesisSubscription) MarshalTo

func (m *GenesisSubscription) MarshalTo(dAtA []byte) (int, error)

func (*GenesisSubscription) MarshalToSizedBuffer

func (m *GenesisSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisSubscription) ProtoMessage

func (*GenesisSubscription) ProtoMessage()

func (*GenesisSubscription) Reset

func (m *GenesisSubscription) Reset()

func (*GenesisSubscription) Size

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

func (*GenesisSubscription) String

func (m *GenesisSubscription) String() string

func (*GenesisSubscription) Unmarshal

func (m *GenesisSubscription) Unmarshal(dAtA []byte) error

func (*GenesisSubscription) XXX_DiscardUnknown

func (m *GenesisSubscription) XXX_DiscardUnknown()

func (*GenesisSubscription) XXX_Marshal

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

func (*GenesisSubscription) XXX_Merge

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

func (*GenesisSubscription) XXX_Size

func (m *GenesisSubscription) XXX_Size() int

func (*GenesisSubscription) XXX_Unmarshal

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

type MsgAllocateRequest

type MsgAllocateRequest struct {
	From    string                `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	ID      uint64                `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Address string                `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	Bytes   cosmossdk_io_math.Int `protobuf:"bytes,4,opt,name=bytes,proto3,customtype=cosmossdk.io/math.Int" json:"bytes"`
}

func (*MsgAllocateRequest) Descriptor

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

func (*MsgAllocateRequest) GetSigners

func (m *MsgAllocateRequest) GetSigners() []sdk.AccAddress

func (*MsgAllocateRequest) Marshal

func (m *MsgAllocateRequest) Marshal() (dAtA []byte, err error)

func (*MsgAllocateRequest) MarshalTo

func (m *MsgAllocateRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgAllocateRequest) MarshalToSizedBuffer

func (m *MsgAllocateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAllocateRequest) ProtoMessage

func (*MsgAllocateRequest) ProtoMessage()

func (*MsgAllocateRequest) Reset

func (m *MsgAllocateRequest) Reset()

func (*MsgAllocateRequest) Size

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

func (*MsgAllocateRequest) String

func (m *MsgAllocateRequest) String() string

func (*MsgAllocateRequest) Unmarshal

func (m *MsgAllocateRequest) Unmarshal(dAtA []byte) error

func (*MsgAllocateRequest) ValidateBasic

func (m *MsgAllocateRequest) ValidateBasic() error

func (*MsgAllocateRequest) XXX_DiscardUnknown

func (m *MsgAllocateRequest) XXX_DiscardUnknown()

func (*MsgAllocateRequest) XXX_Marshal

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

func (*MsgAllocateRequest) XXX_Merge

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

func (*MsgAllocateRequest) XXX_Size

func (m *MsgAllocateRequest) XXX_Size() int

func (*MsgAllocateRequest) XXX_Unmarshal

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

type MsgAllocateResponse

type MsgAllocateResponse struct {
}

func (*MsgAllocateResponse) Descriptor

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

func (*MsgAllocateResponse) Marshal

func (m *MsgAllocateResponse) Marshal() (dAtA []byte, err error)

func (*MsgAllocateResponse) MarshalTo

func (m *MsgAllocateResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAllocateResponse) MarshalToSizedBuffer

func (m *MsgAllocateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAllocateResponse) ProtoMessage

func (*MsgAllocateResponse) ProtoMessage()

func (*MsgAllocateResponse) Reset

func (m *MsgAllocateResponse) Reset()

func (*MsgAllocateResponse) Size

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

func (*MsgAllocateResponse) String

func (m *MsgAllocateResponse) String() string

func (*MsgAllocateResponse) Unmarshal

func (m *MsgAllocateResponse) Unmarshal(dAtA []byte) error

func (*MsgAllocateResponse) XXX_DiscardUnknown

func (m *MsgAllocateResponse) XXX_DiscardUnknown()

func (*MsgAllocateResponse) XXX_Marshal

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

func (*MsgAllocateResponse) XXX_Merge

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

func (*MsgAllocateResponse) XXX_Size

func (m *MsgAllocateResponse) XXX_Size() int

func (*MsgAllocateResponse) XXX_Unmarshal

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

type MsgCancelRequest

type MsgCancelRequest struct {
	From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	ID   uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
}

func (*MsgCancelRequest) Descriptor

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

func (*MsgCancelRequest) GetSigners

func (m *MsgCancelRequest) GetSigners() []sdk.AccAddress

func (*MsgCancelRequest) Marshal

func (m *MsgCancelRequest) Marshal() (dAtA []byte, err error)

func (*MsgCancelRequest) MarshalTo

func (m *MsgCancelRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgCancelRequest) MarshalToSizedBuffer

func (m *MsgCancelRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCancelRequest) ProtoMessage

func (*MsgCancelRequest) ProtoMessage()

func (*MsgCancelRequest) Reset

func (m *MsgCancelRequest) Reset()

func (*MsgCancelRequest) Size

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

func (*MsgCancelRequest) String

func (m *MsgCancelRequest) String() string

func (*MsgCancelRequest) Unmarshal

func (m *MsgCancelRequest) Unmarshal(dAtA []byte) error

func (*MsgCancelRequest) ValidateBasic

func (m *MsgCancelRequest) ValidateBasic() error

func (*MsgCancelRequest) XXX_DiscardUnknown

func (m *MsgCancelRequest) XXX_DiscardUnknown()

func (*MsgCancelRequest) XXX_Marshal

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

func (*MsgCancelRequest) XXX_Merge

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

func (*MsgCancelRequest) XXX_Size

func (m *MsgCancelRequest) XXX_Size() int

func (*MsgCancelRequest) XXX_Unmarshal

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

type MsgCancelResponse

type MsgCancelResponse struct {
}

func (*MsgCancelResponse) Descriptor

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

func (*MsgCancelResponse) Marshal

func (m *MsgCancelResponse) Marshal() (dAtA []byte, err error)

func (*MsgCancelResponse) MarshalTo

func (m *MsgCancelResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCancelResponse) MarshalToSizedBuffer

func (m *MsgCancelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCancelResponse) ProtoMessage

func (*MsgCancelResponse) ProtoMessage()

func (*MsgCancelResponse) Reset

func (m *MsgCancelResponse) Reset()

func (*MsgCancelResponse) Size

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

func (*MsgCancelResponse) String

func (m *MsgCancelResponse) String() string

func (*MsgCancelResponse) Unmarshal

func (m *MsgCancelResponse) Unmarshal(dAtA []byte) error

func (*MsgCancelResponse) XXX_DiscardUnknown

func (m *MsgCancelResponse) XXX_DiscardUnknown()

func (*MsgCancelResponse) XXX_Marshal

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

func (*MsgCancelResponse) XXX_Merge

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

func (*MsgCancelResponse) XXX_Size

func (m *MsgCancelResponse) XXX_Size() int

func (*MsgCancelResponse) XXX_Unmarshal

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

type MsgServiceClient

type MsgServiceClient interface {
	MsgAllocate(ctx context.Context, in *MsgAllocateRequest, opts ...grpc.CallOption) (*MsgAllocateResponse, error)
	MsgCancel(ctx context.Context, in *MsgCancelRequest, opts ...grpc.CallOption) (*MsgCancelResponse, error)
}

MsgServiceClient is the client API for MsgService service.

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

func NewMsgServiceClient

func NewMsgServiceClient(cc grpc1.ClientConn) MsgServiceClient

type MsgServiceServer

type MsgServiceServer interface {
	MsgAllocate(context.Context, *MsgAllocateRequest) (*MsgAllocateResponse, error)
	MsgCancel(context.Context, *MsgCancelRequest) (*MsgCancelResponse, error)
}

MsgServiceServer is the server API for MsgService service.

type NodeSubscription

type NodeSubscription struct {
	*BaseSubscription `protobuf:"bytes,1,opt,name=base,proto3,embedded=base" json:"base,omitempty"`
	NodeAddress       string     `protobuf:"bytes,2,opt,name=node_address,json=nodeAddress,proto3" json:"node_address,omitempty"`
	Gigabytes         int64      `protobuf:"varint,3,opt,name=gigabytes,proto3" json:"gigabytes,omitempty"`
	Hours             int64      `protobuf:"varint,4,opt,name=hours,proto3" json:"hours,omitempty"`
	Deposit           types.Coin `protobuf:"bytes,5,opt,name=deposit,proto3" json:"deposit"`
}

func (*NodeSubscription) Descriptor

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

func (*NodeSubscription) GetNodeAddress

func (s *NodeSubscription) GetNodeAddress() base.NodeAddress

func (*NodeSubscription) Marshal

func (m *NodeSubscription) Marshal() (dAtA []byte, err error)

func (*NodeSubscription) MarshalTo

func (m *NodeSubscription) MarshalTo(dAtA []byte) (int, error)

func (*NodeSubscription) MarshalToSizedBuffer

func (m *NodeSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeSubscription) ProtoMessage

func (*NodeSubscription) ProtoMessage()

func (*NodeSubscription) Reset

func (m *NodeSubscription) Reset()

func (*NodeSubscription) Size

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

func (*NodeSubscription) String

func (m *NodeSubscription) String() string

func (*NodeSubscription) Type

func (*NodeSubscription) Unmarshal

func (m *NodeSubscription) Unmarshal(dAtA []byte) error

func (*NodeSubscription) Validate

func (s *NodeSubscription) Validate() error

func (*NodeSubscription) XXX_DiscardUnknown

func (m *NodeSubscription) XXX_DiscardUnknown()

func (*NodeSubscription) XXX_Marshal

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

func (*NodeSubscription) XXX_Merge

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

func (*NodeSubscription) XXX_Size

func (m *NodeSubscription) XXX_Size() int

func (*NodeSubscription) XXX_Unmarshal

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

type Params

type Params struct {
	StatusChangeDelay time.Duration `protobuf:"bytes,1,opt,name=status_change_delay,json=statusChangeDelay,proto3,stdduration" json:"status_change_delay"`
}

func DefaultParams

func DefaultParams() Params

func NewParams

func NewParams(statusChangeDelay time.Duration) Params

func (*Params) Descriptor

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

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (m *Params) ParamSetPairs() params.ParamSetPairs

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (*Params) Validate

func (m *Params) Validate() error

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type Payout

type Payout struct {
	ID          uint64     `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Address     string     `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	NodeAddress string     `protobuf:"bytes,3,opt,name=node_address,json=nodeAddress,proto3" json:"node_address,omitempty"`
	Hours       int64      `protobuf:"varint,4,opt,name=hours,proto3" json:"hours,omitempty"`
	Price       types.Coin `protobuf:"bytes,5,opt,name=price,proto3" json:"price"`
	NextAt      time.Time  `protobuf:"bytes,6,opt,name=next_at,json=nextAt,proto3,stdtime" json:"next_at"`
}

func (*Payout) Descriptor

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

func (*Payout) GetAddress

func (p *Payout) GetAddress() sdk.AccAddress

func (*Payout) GetNodeAddress

func (p *Payout) GetNodeAddress() base.NodeAddress

func (*Payout) Marshal

func (m *Payout) Marshal() (dAtA []byte, err error)

func (*Payout) MarshalTo

func (m *Payout) MarshalTo(dAtA []byte) (int, error)

func (*Payout) MarshalToSizedBuffer

func (m *Payout) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Payout) ProtoMessage

func (*Payout) ProtoMessage()

func (*Payout) Reset

func (m *Payout) Reset()

func (*Payout) Size

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

func (*Payout) String

func (m *Payout) String() string

func (*Payout) Unmarshal

func (m *Payout) Unmarshal(dAtA []byte) error

func (*Payout) Validate

func (p *Payout) Validate() error

func (*Payout) XXX_DiscardUnknown

func (m *Payout) XXX_DiscardUnknown()

func (*Payout) XXX_Marshal

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

func (*Payout) XXX_Merge

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

func (*Payout) XXX_Size

func (m *Payout) XXX_Size() int

func (*Payout) XXX_Unmarshal

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

type Payouts

type Payouts []Payout

type PlanSubscription

type PlanSubscription struct {
	*BaseSubscription `protobuf:"bytes,1,opt,name=base,proto3,embedded=base" json:"base,omitempty"`
	PlanID            uint64 `protobuf:"varint,2,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
	Denom             string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*PlanSubscription) Descriptor

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

func (*PlanSubscription) Marshal

func (m *PlanSubscription) Marshal() (dAtA []byte, err error)

func (*PlanSubscription) MarshalTo

func (m *PlanSubscription) MarshalTo(dAtA []byte) (int, error)

func (*PlanSubscription) MarshalToSizedBuffer

func (m *PlanSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PlanSubscription) ProtoMessage

func (*PlanSubscription) ProtoMessage()

func (*PlanSubscription) Reset

func (m *PlanSubscription) Reset()

func (*PlanSubscription) Size

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

func (*PlanSubscription) String

func (m *PlanSubscription) String() string

func (*PlanSubscription) Type

func (*PlanSubscription) Unmarshal

func (m *PlanSubscription) Unmarshal(dAtA []byte) error

func (*PlanSubscription) Validate

func (s *PlanSubscription) Validate() error

func (*PlanSubscription) XXX_DiscardUnknown

func (m *PlanSubscription) XXX_DiscardUnknown()

func (*PlanSubscription) XXX_Marshal

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

func (*PlanSubscription) XXX_Merge

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

func (*PlanSubscription) XXX_Size

func (m *PlanSubscription) XXX_Size() int

func (*PlanSubscription) XXX_Unmarshal

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

type QueryAllocationRequest

type QueryAllocationRequest struct {
	Id      uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

func NewQueryAllocationRequest

func NewQueryAllocationRequest(id uint64, addr sdk.AccAddress) *QueryAllocationRequest

func (*QueryAllocationRequest) Descriptor

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

func (*QueryAllocationRequest) Marshal

func (m *QueryAllocationRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllocationRequest) MarshalTo

func (m *QueryAllocationRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllocationRequest) MarshalToSizedBuffer

func (m *QueryAllocationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllocationRequest) ProtoMessage

func (*QueryAllocationRequest) ProtoMessage()

func (*QueryAllocationRequest) Reset

func (m *QueryAllocationRequest) Reset()

func (*QueryAllocationRequest) Size

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

func (*QueryAllocationRequest) String

func (m *QueryAllocationRequest) String() string

func (*QueryAllocationRequest) Unmarshal

func (m *QueryAllocationRequest) Unmarshal(dAtA []byte) error

func (*QueryAllocationRequest) XXX_DiscardUnknown

func (m *QueryAllocationRequest) XXX_DiscardUnknown()

func (*QueryAllocationRequest) XXX_Marshal

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

func (*QueryAllocationRequest) XXX_Merge

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

func (*QueryAllocationRequest) XXX_Size

func (m *QueryAllocationRequest) XXX_Size() int

func (*QueryAllocationRequest) XXX_Unmarshal

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

type QueryAllocationResponse

type QueryAllocationResponse struct {
	Allocation Allocation `protobuf:"bytes,1,opt,name=allocation,proto3" json:"allocation"`
}

func (*QueryAllocationResponse) Descriptor

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

func (*QueryAllocationResponse) Marshal

func (m *QueryAllocationResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllocationResponse) MarshalTo

func (m *QueryAllocationResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllocationResponse) MarshalToSizedBuffer

func (m *QueryAllocationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllocationResponse) ProtoMessage

func (*QueryAllocationResponse) ProtoMessage()

func (*QueryAllocationResponse) Reset

func (m *QueryAllocationResponse) Reset()

func (*QueryAllocationResponse) Size

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

func (*QueryAllocationResponse) String

func (m *QueryAllocationResponse) String() string

func (*QueryAllocationResponse) Unmarshal

func (m *QueryAllocationResponse) Unmarshal(dAtA []byte) error

func (*QueryAllocationResponse) XXX_DiscardUnknown

func (m *QueryAllocationResponse) XXX_DiscardUnknown()

func (*QueryAllocationResponse) XXX_Marshal

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

func (*QueryAllocationResponse) XXX_Merge

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

func (*QueryAllocationResponse) XXX_Size

func (m *QueryAllocationResponse) XXX_Size() int

func (*QueryAllocationResponse) XXX_Unmarshal

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

type QueryAllocationsRequest

type QueryAllocationsRequest struct {
	Id         uint64             `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func NewQueryAllocationsRequest

func NewQueryAllocationsRequest(id uint64, pagination *sdkquery.PageRequest) *QueryAllocationsRequest

func (*QueryAllocationsRequest) Descriptor

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

func (*QueryAllocationsRequest) Marshal

func (m *QueryAllocationsRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllocationsRequest) MarshalTo

func (m *QueryAllocationsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllocationsRequest) MarshalToSizedBuffer

func (m *QueryAllocationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllocationsRequest) ProtoMessage

func (*QueryAllocationsRequest) ProtoMessage()

func (*QueryAllocationsRequest) Reset

func (m *QueryAllocationsRequest) Reset()

func (*QueryAllocationsRequest) Size

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

func (*QueryAllocationsRequest) String

func (m *QueryAllocationsRequest) String() string

func (*QueryAllocationsRequest) Unmarshal

func (m *QueryAllocationsRequest) Unmarshal(dAtA []byte) error

func (*QueryAllocationsRequest) XXX_DiscardUnknown

func (m *QueryAllocationsRequest) XXX_DiscardUnknown()

func (*QueryAllocationsRequest) XXX_Marshal

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

func (*QueryAllocationsRequest) XXX_Merge

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

func (*QueryAllocationsRequest) XXX_Size

func (m *QueryAllocationsRequest) XXX_Size() int

func (*QueryAllocationsRequest) XXX_Unmarshal

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

type QueryAllocationsResponse

type QueryAllocationsResponse struct {
	Allocations []Allocation        `protobuf:"bytes,1,rep,name=allocations,proto3" json:"allocations"`
	Pagination  *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllocationsResponse) Descriptor

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

func (*QueryAllocationsResponse) Marshal

func (m *QueryAllocationsResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllocationsResponse) MarshalTo

func (m *QueryAllocationsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllocationsResponse) MarshalToSizedBuffer

func (m *QueryAllocationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllocationsResponse) ProtoMessage

func (*QueryAllocationsResponse) ProtoMessage()

func (*QueryAllocationsResponse) Reset

func (m *QueryAllocationsResponse) Reset()

func (*QueryAllocationsResponse) Size

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

func (*QueryAllocationsResponse) String

func (m *QueryAllocationsResponse) String() string

func (*QueryAllocationsResponse) Unmarshal

func (m *QueryAllocationsResponse) Unmarshal(dAtA []byte) error

func (*QueryAllocationsResponse) XXX_DiscardUnknown

func (m *QueryAllocationsResponse) XXX_DiscardUnknown()

func (*QueryAllocationsResponse) XXX_Marshal

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

func (*QueryAllocationsResponse) XXX_Merge

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

func (*QueryAllocationsResponse) XXX_Size

func (m *QueryAllocationsResponse) XXX_Size() int

func (*QueryAllocationsResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

func NewQueryParamsRequest

func NewQueryParamsRequest() *QueryParamsRequest

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

type QueryParamsResponse struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryPayoutRequest

type QueryPayoutRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func NewQueryPayoutRequest

func NewQueryPayoutRequest(id uint64) *QueryPayoutRequest

func (*QueryPayoutRequest) Descriptor

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

func (*QueryPayoutRequest) Marshal

func (m *QueryPayoutRequest) Marshal() (dAtA []byte, err error)

func (*QueryPayoutRequest) MarshalTo

func (m *QueryPayoutRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPayoutRequest) MarshalToSizedBuffer

func (m *QueryPayoutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPayoutRequest) ProtoMessage

func (*QueryPayoutRequest) ProtoMessage()

func (*QueryPayoutRequest) Reset

func (m *QueryPayoutRequest) Reset()

func (*QueryPayoutRequest) Size

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

func (*QueryPayoutRequest) String

func (m *QueryPayoutRequest) String() string

func (*QueryPayoutRequest) Unmarshal

func (m *QueryPayoutRequest) Unmarshal(dAtA []byte) error

func (*QueryPayoutRequest) XXX_DiscardUnknown

func (m *QueryPayoutRequest) XXX_DiscardUnknown()

func (*QueryPayoutRequest) XXX_Marshal

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

func (*QueryPayoutRequest) XXX_Merge

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

func (*QueryPayoutRequest) XXX_Size

func (m *QueryPayoutRequest) XXX_Size() int

func (*QueryPayoutRequest) XXX_Unmarshal

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

type QueryPayoutResponse

type QueryPayoutResponse struct {
	Payout Payout `protobuf:"bytes,1,opt,name=payout,proto3" json:"payout"`
}

func (*QueryPayoutResponse) Descriptor

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

func (*QueryPayoutResponse) Marshal

func (m *QueryPayoutResponse) Marshal() (dAtA []byte, err error)

func (*QueryPayoutResponse) MarshalTo

func (m *QueryPayoutResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPayoutResponse) MarshalToSizedBuffer

func (m *QueryPayoutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPayoutResponse) ProtoMessage

func (*QueryPayoutResponse) ProtoMessage()

func (*QueryPayoutResponse) Reset

func (m *QueryPayoutResponse) Reset()

func (*QueryPayoutResponse) Size

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

func (*QueryPayoutResponse) String

func (m *QueryPayoutResponse) String() string

func (*QueryPayoutResponse) Unmarshal

func (m *QueryPayoutResponse) Unmarshal(dAtA []byte) error

func (*QueryPayoutResponse) XXX_DiscardUnknown

func (m *QueryPayoutResponse) XXX_DiscardUnknown()

func (*QueryPayoutResponse) XXX_Marshal

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

func (*QueryPayoutResponse) XXX_Merge

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

func (*QueryPayoutResponse) XXX_Size

func (m *QueryPayoutResponse) XXX_Size() int

func (*QueryPayoutResponse) XXX_Unmarshal

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

type QueryPayoutsForAccountRequest

type QueryPayoutsForAccountRequest struct {
	Address    string             `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func NewQueryPayoutsForAccountRequest

func NewQueryPayoutsForAccountRequest(addr sdk.AccAddress, pagination *sdkquery.PageRequest) *QueryPayoutsForAccountRequest

func (*QueryPayoutsForAccountRequest) Descriptor

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

func (*QueryPayoutsForAccountRequest) Marshal

func (m *QueryPayoutsForAccountRequest) Marshal() (dAtA []byte, err error)

func (*QueryPayoutsForAccountRequest) MarshalTo

func (m *QueryPayoutsForAccountRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPayoutsForAccountRequest) MarshalToSizedBuffer

func (m *QueryPayoutsForAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPayoutsForAccountRequest) ProtoMessage

func (*QueryPayoutsForAccountRequest) ProtoMessage()

func (*QueryPayoutsForAccountRequest) Reset

func (m *QueryPayoutsForAccountRequest) Reset()

func (*QueryPayoutsForAccountRequest) Size

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

func (*QueryPayoutsForAccountRequest) String

func (*QueryPayoutsForAccountRequest) Unmarshal

func (m *QueryPayoutsForAccountRequest) Unmarshal(dAtA []byte) error

func (*QueryPayoutsForAccountRequest) XXX_DiscardUnknown

func (m *QueryPayoutsForAccountRequest) XXX_DiscardUnknown()

func (*QueryPayoutsForAccountRequest) XXX_Marshal

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

func (*QueryPayoutsForAccountRequest) XXX_Merge

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

func (*QueryPayoutsForAccountRequest) XXX_Size

func (m *QueryPayoutsForAccountRequest) XXX_Size() int

func (*QueryPayoutsForAccountRequest) XXX_Unmarshal

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

type QueryPayoutsForAccountResponse

type QueryPayoutsForAccountResponse struct {
	Payouts    []Payout            `protobuf:"bytes,1,rep,name=payouts,proto3" json:"payouts"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryPayoutsForAccountResponse) Descriptor

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

func (*QueryPayoutsForAccountResponse) Marshal

func (m *QueryPayoutsForAccountResponse) Marshal() (dAtA []byte, err error)

func (*QueryPayoutsForAccountResponse) MarshalTo

func (m *QueryPayoutsForAccountResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPayoutsForAccountResponse) MarshalToSizedBuffer

func (m *QueryPayoutsForAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPayoutsForAccountResponse) ProtoMessage

func (*QueryPayoutsForAccountResponse) ProtoMessage()

func (*QueryPayoutsForAccountResponse) Reset

func (m *QueryPayoutsForAccountResponse) Reset()

func (*QueryPayoutsForAccountResponse) Size

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

func (*QueryPayoutsForAccountResponse) String

func (*QueryPayoutsForAccountResponse) Unmarshal

func (m *QueryPayoutsForAccountResponse) Unmarshal(dAtA []byte) error

func (*QueryPayoutsForAccountResponse) XXX_DiscardUnknown

func (m *QueryPayoutsForAccountResponse) XXX_DiscardUnknown()

func (*QueryPayoutsForAccountResponse) XXX_Marshal

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

func (*QueryPayoutsForAccountResponse) XXX_Merge

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

func (*QueryPayoutsForAccountResponse) XXX_Size

func (m *QueryPayoutsForAccountResponse) XXX_Size() int

func (*QueryPayoutsForAccountResponse) XXX_Unmarshal

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

type QueryPayoutsForNodeRequest

type QueryPayoutsForNodeRequest struct {
	Address    string             `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func NewQueryPayoutsForNodeRequest

func NewQueryPayoutsForNodeRequest(addr base.NodeAddress, pagination *sdkquery.PageRequest) *QueryPayoutsForNodeRequest

func (*QueryPayoutsForNodeRequest) Descriptor

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

func (*QueryPayoutsForNodeRequest) Marshal

func (m *QueryPayoutsForNodeRequest) Marshal() (dAtA []byte, err error)

func (*QueryPayoutsForNodeRequest) MarshalTo

func (m *QueryPayoutsForNodeRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPayoutsForNodeRequest) MarshalToSizedBuffer

func (m *QueryPayoutsForNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPayoutsForNodeRequest) ProtoMessage

func (*QueryPayoutsForNodeRequest) ProtoMessage()

func (*QueryPayoutsForNodeRequest) Reset

func (m *QueryPayoutsForNodeRequest) Reset()

func (*QueryPayoutsForNodeRequest) Size

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

func (*QueryPayoutsForNodeRequest) String

func (m *QueryPayoutsForNodeRequest) String() string

func (*QueryPayoutsForNodeRequest) Unmarshal

func (m *QueryPayoutsForNodeRequest) Unmarshal(dAtA []byte) error

func (*QueryPayoutsForNodeRequest) XXX_DiscardUnknown

func (m *QueryPayoutsForNodeRequest) XXX_DiscardUnknown()

func (*QueryPayoutsForNodeRequest) XXX_Marshal

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

func (*QueryPayoutsForNodeRequest) XXX_Merge

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

func (*QueryPayoutsForNodeRequest) XXX_Size

func (m *QueryPayoutsForNodeRequest) XXX_Size() int

func (*QueryPayoutsForNodeRequest) XXX_Unmarshal

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

type QueryPayoutsForNodeResponse

type QueryPayoutsForNodeResponse struct {
	Payouts    []Payout            `protobuf:"bytes,1,rep,name=payouts,proto3" json:"payouts"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryPayoutsForNodeResponse) Descriptor

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

func (*QueryPayoutsForNodeResponse) Marshal

func (m *QueryPayoutsForNodeResponse) Marshal() (dAtA []byte, err error)

func (*QueryPayoutsForNodeResponse) MarshalTo

func (m *QueryPayoutsForNodeResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPayoutsForNodeResponse) MarshalToSizedBuffer

func (m *QueryPayoutsForNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPayoutsForNodeResponse) ProtoMessage

func (*QueryPayoutsForNodeResponse) ProtoMessage()

func (*QueryPayoutsForNodeResponse) Reset

func (m *QueryPayoutsForNodeResponse) Reset()

func (*QueryPayoutsForNodeResponse) Size

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

func (*QueryPayoutsForNodeResponse) String

func (m *QueryPayoutsForNodeResponse) String() string

func (*QueryPayoutsForNodeResponse) Unmarshal

func (m *QueryPayoutsForNodeResponse) Unmarshal(dAtA []byte) error

func (*QueryPayoutsForNodeResponse) XXX_DiscardUnknown

func (m *QueryPayoutsForNodeResponse) XXX_DiscardUnknown()

func (*QueryPayoutsForNodeResponse) XXX_Marshal

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

func (*QueryPayoutsForNodeResponse) XXX_Merge

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

func (*QueryPayoutsForNodeResponse) XXX_Size

func (m *QueryPayoutsForNodeResponse) XXX_Size() int

func (*QueryPayoutsForNodeResponse) XXX_Unmarshal

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

type QueryPayoutsRequest

type QueryPayoutsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func NewQueryPayoutsRequest

func NewQueryPayoutsRequest(pagination *sdkquery.PageRequest) *QueryPayoutsRequest

func (*QueryPayoutsRequest) Descriptor

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

func (*QueryPayoutsRequest) Marshal

func (m *QueryPayoutsRequest) Marshal() (dAtA []byte, err error)

func (*QueryPayoutsRequest) MarshalTo

func (m *QueryPayoutsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPayoutsRequest) MarshalToSizedBuffer

func (m *QueryPayoutsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPayoutsRequest) ProtoMessage

func (*QueryPayoutsRequest) ProtoMessage()

func (*QueryPayoutsRequest) Reset

func (m *QueryPayoutsRequest) Reset()

func (*QueryPayoutsRequest) Size

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

func (*QueryPayoutsRequest) String

func (m *QueryPayoutsRequest) String() string

func (*QueryPayoutsRequest) Unmarshal

func (m *QueryPayoutsRequest) Unmarshal(dAtA []byte) error

func (*QueryPayoutsRequest) XXX_DiscardUnknown

func (m *QueryPayoutsRequest) XXX_DiscardUnknown()

func (*QueryPayoutsRequest) XXX_Marshal

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

func (*QueryPayoutsRequest) XXX_Merge

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

func (*QueryPayoutsRequest) XXX_Size

func (m *QueryPayoutsRequest) XXX_Size() int

func (*QueryPayoutsRequest) XXX_Unmarshal

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

type QueryPayoutsResponse

type QueryPayoutsResponse struct {
	Payouts    []Payout            `protobuf:"bytes,1,rep,name=payouts,proto3" json:"payouts"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryPayoutsResponse) Descriptor

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

func (*QueryPayoutsResponse) Marshal

func (m *QueryPayoutsResponse) Marshal() (dAtA []byte, err error)

func (*QueryPayoutsResponse) MarshalTo

func (m *QueryPayoutsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPayoutsResponse) MarshalToSizedBuffer

func (m *QueryPayoutsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPayoutsResponse) ProtoMessage

func (*QueryPayoutsResponse) ProtoMessage()

func (*QueryPayoutsResponse) Reset

func (m *QueryPayoutsResponse) Reset()

func (*QueryPayoutsResponse) Size

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

func (*QueryPayoutsResponse) String

func (m *QueryPayoutsResponse) String() string

func (*QueryPayoutsResponse) Unmarshal

func (m *QueryPayoutsResponse) Unmarshal(dAtA []byte) error

func (*QueryPayoutsResponse) XXX_DiscardUnknown

func (m *QueryPayoutsResponse) XXX_DiscardUnknown()

func (*QueryPayoutsResponse) XXX_Marshal

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

func (*QueryPayoutsResponse) XXX_Merge

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

func (*QueryPayoutsResponse) XXX_Size

func (m *QueryPayoutsResponse) XXX_Size() int

func (*QueryPayoutsResponse) XXX_Unmarshal

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

type QueryServiceClient

type QueryServiceClient interface {
	QueryAllocation(ctx context.Context, in *QueryAllocationRequest, opts ...grpc.CallOption) (*QueryAllocationResponse, error)
	QueryAllocations(ctx context.Context, in *QueryAllocationsRequest, opts ...grpc.CallOption) (*QueryAllocationsResponse, error)
	QueryPayouts(ctx context.Context, in *QueryPayoutsRequest, opts ...grpc.CallOption) (*QueryPayoutsResponse, error)
	QueryPayoutsForAccount(ctx context.Context, in *QueryPayoutsForAccountRequest, opts ...grpc.CallOption) (*QueryPayoutsForAccountResponse, error)
	QueryPayoutsForNode(ctx context.Context, in *QueryPayoutsForNodeRequest, opts ...grpc.CallOption) (*QueryPayoutsForNodeResponse, error)
	QueryPayout(ctx context.Context, in *QueryPayoutRequest, opts ...grpc.CallOption) (*QueryPayoutResponse, error)
	QuerySubscriptions(ctx context.Context, in *QuerySubscriptionsRequest, opts ...grpc.CallOption) (*QuerySubscriptionsResponse, error)
	QuerySubscriptionsForAccount(ctx context.Context, in *QuerySubscriptionsForAccountRequest, opts ...grpc.CallOption) (*QuerySubscriptionsForAccountResponse, error)
	QuerySubscriptionsForNode(ctx context.Context, in *QuerySubscriptionsForNodeRequest, opts ...grpc.CallOption) (*QuerySubscriptionsForNodeResponse, error)
	QuerySubscriptionsForPlan(ctx context.Context, in *QuerySubscriptionsForPlanRequest, opts ...grpc.CallOption) (*QuerySubscriptionsForPlanResponse, error)
	QuerySubscription(ctx context.Context, in *QuerySubscriptionRequest, opts ...grpc.CallOption) (*QuerySubscriptionResponse, error)
	QueryParams(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
}

QueryServiceClient is the client API for QueryService service.

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

func NewQueryServiceClient

func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient

type QuerySubscriptionRequest

type QuerySubscriptionRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func NewQuerySubscriptionRequest

func NewQuerySubscriptionRequest(id uint64) *QuerySubscriptionRequest

func (*QuerySubscriptionRequest) Descriptor

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

func (*QuerySubscriptionRequest) Marshal

func (m *QuerySubscriptionRequest) Marshal() (dAtA []byte, err error)

func (*QuerySubscriptionRequest) MarshalTo

func (m *QuerySubscriptionRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubscriptionRequest) MarshalToSizedBuffer

func (m *QuerySubscriptionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubscriptionRequest) ProtoMessage

func (*QuerySubscriptionRequest) ProtoMessage()

func (*QuerySubscriptionRequest) Reset

func (m *QuerySubscriptionRequest) Reset()

func (*QuerySubscriptionRequest) Size

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

func (*QuerySubscriptionRequest) String

func (m *QuerySubscriptionRequest) String() string

func (*QuerySubscriptionRequest) Unmarshal

func (m *QuerySubscriptionRequest) Unmarshal(dAtA []byte) error

func (*QuerySubscriptionRequest) XXX_DiscardUnknown

func (m *QuerySubscriptionRequest) XXX_DiscardUnknown()

func (*QuerySubscriptionRequest) XXX_Marshal

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

func (*QuerySubscriptionRequest) XXX_Merge

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

func (*QuerySubscriptionRequest) XXX_Size

func (m *QuerySubscriptionRequest) XXX_Size() int

func (*QuerySubscriptionRequest) XXX_Unmarshal

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

type QuerySubscriptionResponse

type QuerySubscriptionResponse struct {
	Subscription *types.Any `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"`
}

func (*QuerySubscriptionResponse) Descriptor

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

func (*QuerySubscriptionResponse) Marshal

func (m *QuerySubscriptionResponse) Marshal() (dAtA []byte, err error)

func (*QuerySubscriptionResponse) MarshalTo

func (m *QuerySubscriptionResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubscriptionResponse) MarshalToSizedBuffer

func (m *QuerySubscriptionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubscriptionResponse) ProtoMessage

func (*QuerySubscriptionResponse) ProtoMessage()

func (*QuerySubscriptionResponse) Reset

func (m *QuerySubscriptionResponse) Reset()

func (*QuerySubscriptionResponse) Size

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

func (*QuerySubscriptionResponse) String

func (m *QuerySubscriptionResponse) String() string

func (*QuerySubscriptionResponse) Unmarshal

func (m *QuerySubscriptionResponse) Unmarshal(dAtA []byte) error

func (*QuerySubscriptionResponse) XXX_DiscardUnknown

func (m *QuerySubscriptionResponse) XXX_DiscardUnknown()

func (*QuerySubscriptionResponse) XXX_Marshal

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

func (*QuerySubscriptionResponse) XXX_Merge

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

func (*QuerySubscriptionResponse) XXX_Size

func (m *QuerySubscriptionResponse) XXX_Size() int

func (*QuerySubscriptionResponse) XXX_Unmarshal

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

type QuerySubscriptionsForAccountRequest

type QuerySubscriptionsForAccountRequest struct {
	Address    string             `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func NewQuerySubscriptionsForAccountRequest

func NewQuerySubscriptionsForAccountRequest(addr sdk.AccAddress, pagination *sdkquery.PageRequest) *QuerySubscriptionsForAccountRequest

func (*QuerySubscriptionsForAccountRequest) Descriptor

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

func (*QuerySubscriptionsForAccountRequest) Marshal

func (m *QuerySubscriptionsForAccountRequest) Marshal() (dAtA []byte, err error)

func (*QuerySubscriptionsForAccountRequest) MarshalTo

func (m *QuerySubscriptionsForAccountRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubscriptionsForAccountRequest) MarshalToSizedBuffer

func (m *QuerySubscriptionsForAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubscriptionsForAccountRequest) ProtoMessage

func (*QuerySubscriptionsForAccountRequest) ProtoMessage()

func (*QuerySubscriptionsForAccountRequest) Reset

func (*QuerySubscriptionsForAccountRequest) Size

func (*QuerySubscriptionsForAccountRequest) String

func (*QuerySubscriptionsForAccountRequest) Unmarshal

func (m *QuerySubscriptionsForAccountRequest) Unmarshal(dAtA []byte) error

func (*QuerySubscriptionsForAccountRequest) XXX_DiscardUnknown

func (m *QuerySubscriptionsForAccountRequest) XXX_DiscardUnknown()

func (*QuerySubscriptionsForAccountRequest) XXX_Marshal

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

func (*QuerySubscriptionsForAccountRequest) XXX_Merge

func (*QuerySubscriptionsForAccountRequest) XXX_Size

func (*QuerySubscriptionsForAccountRequest) XXX_Unmarshal

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

type QuerySubscriptionsForAccountResponse

type QuerySubscriptionsForAccountResponse struct {
	Subscriptions []*types.Any        `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"`
	Pagination    *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QuerySubscriptionsForAccountResponse) Descriptor

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

func (*QuerySubscriptionsForAccountResponse) Marshal

func (m *QuerySubscriptionsForAccountResponse) Marshal() (dAtA []byte, err error)

func (*QuerySubscriptionsForAccountResponse) MarshalTo

func (m *QuerySubscriptionsForAccountResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubscriptionsForAccountResponse) MarshalToSizedBuffer

func (m *QuerySubscriptionsForAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubscriptionsForAccountResponse) ProtoMessage

func (*QuerySubscriptionsForAccountResponse) ProtoMessage()

func (*QuerySubscriptionsForAccountResponse) Reset

func (*QuerySubscriptionsForAccountResponse) Size

func (*QuerySubscriptionsForAccountResponse) String

func (*QuerySubscriptionsForAccountResponse) Unmarshal

func (m *QuerySubscriptionsForAccountResponse) Unmarshal(dAtA []byte) error

func (*QuerySubscriptionsForAccountResponse) XXX_DiscardUnknown

func (m *QuerySubscriptionsForAccountResponse) XXX_DiscardUnknown()

func (*QuerySubscriptionsForAccountResponse) XXX_Marshal

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

func (*QuerySubscriptionsForAccountResponse) XXX_Merge

func (*QuerySubscriptionsForAccountResponse) XXX_Size

func (*QuerySubscriptionsForAccountResponse) XXX_Unmarshal

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

type QuerySubscriptionsForNodeRequest

type QuerySubscriptionsForNodeRequest struct {
	Address    string             `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func NewQuerySubscriptionsForNodeRequest

func NewQuerySubscriptionsForNodeRequest(addr base.NodeAddress, pagination *sdkquery.PageRequest) *QuerySubscriptionsForNodeRequest

func (*QuerySubscriptionsForNodeRequest) Descriptor

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

func (*QuerySubscriptionsForNodeRequest) Marshal

func (m *QuerySubscriptionsForNodeRequest) Marshal() (dAtA []byte, err error)

func (*QuerySubscriptionsForNodeRequest) MarshalTo

func (m *QuerySubscriptionsForNodeRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubscriptionsForNodeRequest) MarshalToSizedBuffer

func (m *QuerySubscriptionsForNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubscriptionsForNodeRequest) ProtoMessage

func (*QuerySubscriptionsForNodeRequest) ProtoMessage()

func (*QuerySubscriptionsForNodeRequest) Reset

func (*QuerySubscriptionsForNodeRequest) Size

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

func (*QuerySubscriptionsForNodeRequest) String

func (*QuerySubscriptionsForNodeRequest) Unmarshal

func (m *QuerySubscriptionsForNodeRequest) Unmarshal(dAtA []byte) error

func (*QuerySubscriptionsForNodeRequest) XXX_DiscardUnknown

func (m *QuerySubscriptionsForNodeRequest) XXX_DiscardUnknown()

func (*QuerySubscriptionsForNodeRequest) XXX_Marshal

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

func (*QuerySubscriptionsForNodeRequest) XXX_Merge

func (*QuerySubscriptionsForNodeRequest) XXX_Size

func (m *QuerySubscriptionsForNodeRequest) XXX_Size() int

func (*QuerySubscriptionsForNodeRequest) XXX_Unmarshal

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

type QuerySubscriptionsForNodeResponse

type QuerySubscriptionsForNodeResponse struct {
	Subscriptions []*types.Any        `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"`
	Pagination    *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QuerySubscriptionsForNodeResponse) Descriptor

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

func (*QuerySubscriptionsForNodeResponse) Marshal

func (m *QuerySubscriptionsForNodeResponse) Marshal() (dAtA []byte, err error)

func (*QuerySubscriptionsForNodeResponse) MarshalTo

func (m *QuerySubscriptionsForNodeResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubscriptionsForNodeResponse) MarshalToSizedBuffer

func (m *QuerySubscriptionsForNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubscriptionsForNodeResponse) ProtoMessage

func (*QuerySubscriptionsForNodeResponse) ProtoMessage()

func (*QuerySubscriptionsForNodeResponse) Reset

func (*QuerySubscriptionsForNodeResponse) Size

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

func (*QuerySubscriptionsForNodeResponse) String

func (*QuerySubscriptionsForNodeResponse) Unmarshal

func (m *QuerySubscriptionsForNodeResponse) Unmarshal(dAtA []byte) error

func (*QuerySubscriptionsForNodeResponse) XXX_DiscardUnknown

func (m *QuerySubscriptionsForNodeResponse) XXX_DiscardUnknown()

func (*QuerySubscriptionsForNodeResponse) XXX_Marshal

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

func (*QuerySubscriptionsForNodeResponse) XXX_Merge

func (*QuerySubscriptionsForNodeResponse) XXX_Size

func (m *QuerySubscriptionsForNodeResponse) XXX_Size() int

func (*QuerySubscriptionsForNodeResponse) XXX_Unmarshal

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

type QuerySubscriptionsForPlanRequest

type QuerySubscriptionsForPlanRequest struct {
	Id         uint64             `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func NewQuerySubscriptionsForPlanRequest

func NewQuerySubscriptionsForPlanRequest(id uint64, pagination *sdkquery.PageRequest) *QuerySubscriptionsForPlanRequest

func (*QuerySubscriptionsForPlanRequest) Descriptor

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

func (*QuerySubscriptionsForPlanRequest) Marshal

func (m *QuerySubscriptionsForPlanRequest) Marshal() (dAtA []byte, err error)

func (*QuerySubscriptionsForPlanRequest) MarshalTo

func (m *QuerySubscriptionsForPlanRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubscriptionsForPlanRequest) MarshalToSizedBuffer

func (m *QuerySubscriptionsForPlanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubscriptionsForPlanRequest) ProtoMessage

func (*QuerySubscriptionsForPlanRequest) ProtoMessage()

func (*QuerySubscriptionsForPlanRequest) Reset

func (*QuerySubscriptionsForPlanRequest) Size

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

func (*QuerySubscriptionsForPlanRequest) String

func (*QuerySubscriptionsForPlanRequest) Unmarshal

func (m *QuerySubscriptionsForPlanRequest) Unmarshal(dAtA []byte) error

func (*QuerySubscriptionsForPlanRequest) XXX_DiscardUnknown

func (m *QuerySubscriptionsForPlanRequest) XXX_DiscardUnknown()

func (*QuerySubscriptionsForPlanRequest) XXX_Marshal

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

func (*QuerySubscriptionsForPlanRequest) XXX_Merge

func (*QuerySubscriptionsForPlanRequest) XXX_Size

func (m *QuerySubscriptionsForPlanRequest) XXX_Size() int

func (*QuerySubscriptionsForPlanRequest) XXX_Unmarshal

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

type QuerySubscriptionsForPlanResponse

type QuerySubscriptionsForPlanResponse struct {
	Subscriptions []*types.Any        `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"`
	Pagination    *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QuerySubscriptionsForPlanResponse) Descriptor

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

func (*QuerySubscriptionsForPlanResponse) Marshal

func (m *QuerySubscriptionsForPlanResponse) Marshal() (dAtA []byte, err error)

func (*QuerySubscriptionsForPlanResponse) MarshalTo

func (m *QuerySubscriptionsForPlanResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubscriptionsForPlanResponse) MarshalToSizedBuffer

func (m *QuerySubscriptionsForPlanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubscriptionsForPlanResponse) ProtoMessage

func (*QuerySubscriptionsForPlanResponse) ProtoMessage()

func (*QuerySubscriptionsForPlanResponse) Reset

func (*QuerySubscriptionsForPlanResponse) Size

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

func (*QuerySubscriptionsForPlanResponse) String

func (*QuerySubscriptionsForPlanResponse) Unmarshal

func (m *QuerySubscriptionsForPlanResponse) Unmarshal(dAtA []byte) error

func (*QuerySubscriptionsForPlanResponse) XXX_DiscardUnknown

func (m *QuerySubscriptionsForPlanResponse) XXX_DiscardUnknown()

func (*QuerySubscriptionsForPlanResponse) XXX_Marshal

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

func (*QuerySubscriptionsForPlanResponse) XXX_Merge

func (*QuerySubscriptionsForPlanResponse) XXX_Size

func (m *QuerySubscriptionsForPlanResponse) XXX_Size() int

func (*QuerySubscriptionsForPlanResponse) XXX_Unmarshal

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

type QuerySubscriptionsRequest

type QuerySubscriptionsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func NewQuerySubscriptionsRequest

func NewQuerySubscriptionsRequest(pagination *sdkquery.PageRequest) *QuerySubscriptionsRequest

func (*QuerySubscriptionsRequest) Descriptor

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

func (*QuerySubscriptionsRequest) Marshal

func (m *QuerySubscriptionsRequest) Marshal() (dAtA []byte, err error)

func (*QuerySubscriptionsRequest) MarshalTo

func (m *QuerySubscriptionsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubscriptionsRequest) MarshalToSizedBuffer

func (m *QuerySubscriptionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubscriptionsRequest) ProtoMessage

func (*QuerySubscriptionsRequest) ProtoMessage()

func (*QuerySubscriptionsRequest) Reset

func (m *QuerySubscriptionsRequest) Reset()

func (*QuerySubscriptionsRequest) Size

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

func (*QuerySubscriptionsRequest) String

func (m *QuerySubscriptionsRequest) String() string

func (*QuerySubscriptionsRequest) Unmarshal

func (m *QuerySubscriptionsRequest) Unmarshal(dAtA []byte) error

func (*QuerySubscriptionsRequest) XXX_DiscardUnknown

func (m *QuerySubscriptionsRequest) XXX_DiscardUnknown()

func (*QuerySubscriptionsRequest) XXX_Marshal

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

func (*QuerySubscriptionsRequest) XXX_Merge

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

func (*QuerySubscriptionsRequest) XXX_Size

func (m *QuerySubscriptionsRequest) XXX_Size() int

func (*QuerySubscriptionsRequest) XXX_Unmarshal

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

type QuerySubscriptionsResponse

type QuerySubscriptionsResponse struct {
	Subscriptions []*types.Any        `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"`
	Pagination    *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QuerySubscriptionsResponse) Descriptor

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

func (*QuerySubscriptionsResponse) Marshal

func (m *QuerySubscriptionsResponse) Marshal() (dAtA []byte, err error)

func (*QuerySubscriptionsResponse) MarshalTo

func (m *QuerySubscriptionsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubscriptionsResponse) MarshalToSizedBuffer

func (m *QuerySubscriptionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubscriptionsResponse) ProtoMessage

func (*QuerySubscriptionsResponse) ProtoMessage()

func (*QuerySubscriptionsResponse) Reset

func (m *QuerySubscriptionsResponse) Reset()

func (*QuerySubscriptionsResponse) Size

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

func (*QuerySubscriptionsResponse) String

func (m *QuerySubscriptionsResponse) String() string

func (*QuerySubscriptionsResponse) Unmarshal

func (m *QuerySubscriptionsResponse) Unmarshal(dAtA []byte) error

func (*QuerySubscriptionsResponse) XXX_DiscardUnknown

func (m *QuerySubscriptionsResponse) XXX_DiscardUnknown()

func (*QuerySubscriptionsResponse) XXX_Marshal

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

func (*QuerySubscriptionsResponse) XXX_Merge

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

func (*QuerySubscriptionsResponse) XXX_Size

func (m *QuerySubscriptionsResponse) XXX_Size() int

func (*QuerySubscriptionsResponse) XXX_Unmarshal

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

type Subscription

type Subscription interface {
	proto.Message
	Type() SubscriptionType
	Validate() error
	GetID() uint64
	GetAddress() sdk.AccAddress
	GetInactiveAt() time.Time
	GetStatus() v1base.Status
	GetStatusAt() time.Time
	SetInactiveAt(v time.Time)
	SetStatus(v v1base.Status)
	SetStatusAt(v time.Time)
}

type SubscriptionType

type SubscriptionType int32
const (
	TypeUnspecified SubscriptionType = 0
	TypeNode        SubscriptionType = 1
	TypePlan        SubscriptionType = 2
)

func (SubscriptionType) EnumDescriptor

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

func (SubscriptionType) String

func (x SubscriptionType) String() string

type Subscriptions

type Subscriptions []Subscription

type UnimplementedMsgServiceServer

type UnimplementedMsgServiceServer struct {
}

UnimplementedMsgServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServiceServer) MsgAllocate

func (*UnimplementedMsgServiceServer) MsgCancel

type UnimplementedQueryServiceServer

type UnimplementedQueryServiceServer struct {
}

UnimplementedQueryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServiceServer) QueryAllocation

func (*UnimplementedQueryServiceServer) QueryAllocations

func (*UnimplementedQueryServiceServer) QueryParams

func (*UnimplementedQueryServiceServer) QueryPayout

func (*UnimplementedQueryServiceServer) QueryPayouts

func (*UnimplementedQueryServiceServer) QueryPayoutsForAccount

func (*UnimplementedQueryServiceServer) QueryPayoutsForNode

func (*UnimplementedQueryServiceServer) QuerySubscription

func (*UnimplementedQueryServiceServer) QuerySubscriptions

func (*UnimplementedQueryServiceServer) QuerySubscriptionsForAccount

func (*UnimplementedQueryServiceServer) QuerySubscriptionsForNode

func (*UnimplementedQueryServiceServer) QuerySubscriptionsForPlan

Jump to

Keyboard shortcuts

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