types

package
v8.0.0-...-5ea88d2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

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 (
	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 (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthWhitelistedValidator        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowWhitelistedValidator          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupWhitelistedValidator = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

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

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

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

func RegisterQueryHandlerFromEndpoint

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

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

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer 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 RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type GenesisState

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

GenesisState defines the permissions module's genesis state.

func (*GenesisState) Descriptor

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

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

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 MsgClient

type MsgClient interface {
}

MsgClient is the client API for Msg service.

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

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgRegisterStandingMemberProposal

type MsgRegisterStandingMemberProposal struct {
	Title            string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description      string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ValidatorAddress string `protobuf:"bytes,3,opt,name=validatorAddress,proto3" json:"validatorAddress,omitempty"`
	AccountAddress   string `protobuf:"bytes,4,opt,name=accountAddress,proto3" json:"accountAddress,omitempty"`
	Moniker          string `protobuf:"bytes,5,opt,name=moniker,proto3" json:"moniker,omitempty"`
}

func (*MsgRegisterStandingMemberProposal) Descriptor

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

func (*MsgRegisterStandingMemberProposal) GetAccountAddress

func (m *MsgRegisterStandingMemberProposal) GetAccountAddress() string

func (*MsgRegisterStandingMemberProposal) GetDescription

func (m *MsgRegisterStandingMemberProposal) GetDescription() string

func (*MsgRegisterStandingMemberProposal) GetMoniker

func (m *MsgRegisterStandingMemberProposal) GetMoniker() string

func (*MsgRegisterStandingMemberProposal) GetTitle

func (*MsgRegisterStandingMemberProposal) GetValidatorAddress

func (m *MsgRegisterStandingMemberProposal) GetValidatorAddress() string

func (*MsgRegisterStandingMemberProposal) Marshal

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

func (*MsgRegisterStandingMemberProposal) MarshalTo

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

func (*MsgRegisterStandingMemberProposal) MarshalToSizedBuffer

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

func (*MsgRegisterStandingMemberProposal) ProtoMessage

func (*MsgRegisterStandingMemberProposal) ProtoMessage()

func (*MsgRegisterStandingMemberProposal) Reset

func (*MsgRegisterStandingMemberProposal) Size

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

func (*MsgRegisterStandingMemberProposal) String

func (*MsgRegisterStandingMemberProposal) Unmarshal

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

func (*MsgRegisterStandingMemberProposal) XXX_DiscardUnknown

func (m *MsgRegisterStandingMemberProposal) XXX_DiscardUnknown()

func (*MsgRegisterStandingMemberProposal) XXX_Marshal

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

func (*MsgRegisterStandingMemberProposal) XXX_Merge

func (*MsgRegisterStandingMemberProposal) XXX_Size

func (m *MsgRegisterStandingMemberProposal) XXX_Size() int

func (*MsgRegisterStandingMemberProposal) XXX_Unmarshal

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

type MsgRegisterStandingMemberProposalResponse

type MsgRegisterStandingMemberProposalResponse struct {
}

func (*MsgRegisterStandingMemberProposalResponse) Descriptor

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

func (*MsgRegisterStandingMemberProposalResponse) Marshal

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

func (*MsgRegisterStandingMemberProposalResponse) MarshalTo

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

func (*MsgRegisterStandingMemberProposalResponse) MarshalToSizedBuffer

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

func (*MsgRegisterStandingMemberProposalResponse) ProtoMessage

func (*MsgRegisterStandingMemberProposalResponse) Reset

func (*MsgRegisterStandingMemberProposalResponse) Size

func (*MsgRegisterStandingMemberProposalResponse) String

func (*MsgRegisterStandingMemberProposalResponse) Unmarshal

func (*MsgRegisterStandingMemberProposalResponse) XXX_DiscardUnknown

func (m *MsgRegisterStandingMemberProposalResponse) XXX_DiscardUnknown()

func (*MsgRegisterStandingMemberProposalResponse) XXX_Marshal

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

func (*MsgRegisterStandingMemberProposalResponse) XXX_Merge

func (*MsgRegisterStandingMemberProposalResponse) XXX_Size

func (*MsgRegisterStandingMemberProposalResponse) XXX_Unmarshal

type MsgRemoveStandingMemberProposal

type MsgRemoveStandingMemberProposal struct {
	Title            string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description      string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ValidatorAddress string `protobuf:"bytes,3,opt,name=validatorAddress,proto3" json:"validatorAddress,omitempty"`
}

func (*MsgRemoveStandingMemberProposal) Descriptor

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

func (*MsgRemoveStandingMemberProposal) GetDescription

func (m *MsgRemoveStandingMemberProposal) GetDescription() string

func (*MsgRemoveStandingMemberProposal) GetTitle

func (*MsgRemoveStandingMemberProposal) GetValidatorAddress

func (m *MsgRemoveStandingMemberProposal) GetValidatorAddress() string

func (*MsgRemoveStandingMemberProposal) Marshal

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

func (*MsgRemoveStandingMemberProposal) MarshalTo

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

func (*MsgRemoveStandingMemberProposal) MarshalToSizedBuffer

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

func (*MsgRemoveStandingMemberProposal) ProtoMessage

func (*MsgRemoveStandingMemberProposal) ProtoMessage()

func (*MsgRemoveStandingMemberProposal) Reset

func (*MsgRemoveStandingMemberProposal) Size

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

func (*MsgRemoveStandingMemberProposal) String

func (*MsgRemoveStandingMemberProposal) Unmarshal

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

func (*MsgRemoveStandingMemberProposal) XXX_DiscardUnknown

func (m *MsgRemoveStandingMemberProposal) XXX_DiscardUnknown()

func (*MsgRemoveStandingMemberProposal) XXX_Marshal

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

func (*MsgRemoveStandingMemberProposal) XXX_Merge

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

func (*MsgRemoveStandingMemberProposal) XXX_Size

func (m *MsgRemoveStandingMemberProposal) XXX_Size() int

func (*MsgRemoveStandingMemberProposal) XXX_Unmarshal

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

type MsgRemoveStandingMemberProposalResponse

type MsgRemoveStandingMemberProposalResponse struct {
}

func (*MsgRemoveStandingMemberProposalResponse) Descriptor

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

func (*MsgRemoveStandingMemberProposalResponse) Marshal

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

func (*MsgRemoveStandingMemberProposalResponse) MarshalTo

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

func (*MsgRemoveStandingMemberProposalResponse) MarshalToSizedBuffer

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

func (*MsgRemoveStandingMemberProposalResponse) ProtoMessage

func (*MsgRemoveStandingMemberProposalResponse) Reset

func (*MsgRemoveStandingMemberProposalResponse) Size

func (*MsgRemoveStandingMemberProposalResponse) String

func (*MsgRemoveStandingMemberProposalResponse) Unmarshal

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

func (*MsgRemoveStandingMemberProposalResponse) XXX_DiscardUnknown

func (m *MsgRemoveStandingMemberProposalResponse) XXX_DiscardUnknown()

func (*MsgRemoveStandingMemberProposalResponse) XXX_Marshal

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

func (*MsgRemoveStandingMemberProposalResponse) XXX_Merge

func (*MsgRemoveStandingMemberProposalResponse) XXX_Size

func (*MsgRemoveStandingMemberProposalResponse) XXX_Unmarshal

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

type MsgReplaceStandingMemberProposal

type MsgReplaceStandingMemberProposal struct {
	Title                       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description                 string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ExistingValidatorAddress    string `protobuf:"bytes,3,opt,name=existingValidatorAddress,proto3" json:"existingValidatorAddress,omitempty"`
	ReplacementValidatorAddress string `protobuf:"bytes,4,opt,name=replacementValidatorAddress,proto3" json:"replacementValidatorAddress,omitempty"`
	ReplacementAccountAddress   string `protobuf:"bytes,5,opt,name=replacementAccountAddress,proto3" json:"replacementAccountAddress,omitempty"`
	ReplacementMoniker          string `protobuf:"bytes,6,opt,name=replacementMoniker,proto3" json:"replacementMoniker,omitempty"`
}

func (*MsgReplaceStandingMemberProposal) Descriptor

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

func (*MsgReplaceStandingMemberProposal) GetDescription

func (m *MsgReplaceStandingMemberProposal) GetDescription() string

func (*MsgReplaceStandingMemberProposal) GetExistingValidatorAddress

func (m *MsgReplaceStandingMemberProposal) GetExistingValidatorAddress() string

func (*MsgReplaceStandingMemberProposal) GetReplacementAccountAddress

func (m *MsgReplaceStandingMemberProposal) GetReplacementAccountAddress() string

func (*MsgReplaceStandingMemberProposal) GetReplacementMoniker

func (m *MsgReplaceStandingMemberProposal) GetReplacementMoniker() string

func (*MsgReplaceStandingMemberProposal) GetReplacementValidatorAddress

func (m *MsgReplaceStandingMemberProposal) GetReplacementValidatorAddress() string

func (*MsgReplaceStandingMemberProposal) GetTitle

func (*MsgReplaceStandingMemberProposal) Marshal

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

func (*MsgReplaceStandingMemberProposal) MarshalTo

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

func (*MsgReplaceStandingMemberProposal) MarshalToSizedBuffer

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

func (*MsgReplaceStandingMemberProposal) ProtoMessage

func (*MsgReplaceStandingMemberProposal) ProtoMessage()

func (*MsgReplaceStandingMemberProposal) Reset

func (*MsgReplaceStandingMemberProposal) Size

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

func (*MsgReplaceStandingMemberProposal) String

func (*MsgReplaceStandingMemberProposal) Unmarshal

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

func (*MsgReplaceStandingMemberProposal) XXX_DiscardUnknown

func (m *MsgReplaceStandingMemberProposal) XXX_DiscardUnknown()

func (*MsgReplaceStandingMemberProposal) XXX_Marshal

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

func (*MsgReplaceStandingMemberProposal) XXX_Merge

func (*MsgReplaceStandingMemberProposal) XXX_Size

func (m *MsgReplaceStandingMemberProposal) XXX_Size() int

func (*MsgReplaceStandingMemberProposal) XXX_Unmarshal

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

type MsgReplaceStandingMemberProposalResponse

type MsgReplaceStandingMemberProposalResponse struct {
}

func (*MsgReplaceStandingMemberProposalResponse) Descriptor

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

func (*MsgReplaceStandingMemberProposalResponse) Marshal

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

func (*MsgReplaceStandingMemberProposalResponse) MarshalTo

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

func (*MsgReplaceStandingMemberProposalResponse) MarshalToSizedBuffer

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

func (*MsgReplaceStandingMemberProposalResponse) ProtoMessage

func (*MsgReplaceStandingMemberProposalResponse) Reset

func (*MsgReplaceStandingMemberProposalResponse) Size

func (*MsgReplaceStandingMemberProposalResponse) String

func (*MsgReplaceStandingMemberProposalResponse) Unmarshal

func (*MsgReplaceStandingMemberProposalResponse) XXX_DiscardUnknown

func (m *MsgReplaceStandingMemberProposalResponse) XXX_DiscardUnknown()

func (*MsgReplaceStandingMemberProposalResponse) XXX_Marshal

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

func (*MsgReplaceStandingMemberProposalResponse) XXX_Merge

func (*MsgReplaceStandingMemberProposalResponse) XXX_Size

func (*MsgReplaceStandingMemberProposalResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
}

MsgServer is the server API for Msg service.

type Params

type Params struct {
	PodcWhitelistEnabled           bool                                      `` /* 154-byte string literal not displayed */
	GovMinInitialDepositEnabled    bool                                      `` /* 188-byte string literal not displayed */
	GovMinInitialDepositPercentage github_com_reapchain_cosmos_sdk_types.Dec `` /* 200-byte string literal not displayed */
}

Params defines the parameters for the module.

func (*Params) Descriptor

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

func (*Params) GetGovMinInitialDepositEnabled

func (m *Params) GetGovMinInitialDepositEnabled() bool

func (*Params) GetPodcWhitelistEnabled

func (m *Params) GetPodcWhitelistEnabled() bool

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

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) 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 QueryAllWhitelistedValidatorsRequest

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

func (*QueryAllWhitelistedValidatorsRequest) Descriptor

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

func (*QueryAllWhitelistedValidatorsRequest) GetPagination

func (*QueryAllWhitelistedValidatorsRequest) Marshal

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

func (*QueryAllWhitelistedValidatorsRequest) MarshalTo

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

func (*QueryAllWhitelistedValidatorsRequest) MarshalToSizedBuffer

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

func (*QueryAllWhitelistedValidatorsRequest) ProtoMessage

func (*QueryAllWhitelistedValidatorsRequest) ProtoMessage()

func (*QueryAllWhitelistedValidatorsRequest) Reset

func (*QueryAllWhitelistedValidatorsRequest) Size

func (*QueryAllWhitelistedValidatorsRequest) String

func (*QueryAllWhitelistedValidatorsRequest) Unmarshal

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

func (*QueryAllWhitelistedValidatorsRequest) XXX_DiscardUnknown

func (m *QueryAllWhitelistedValidatorsRequest) XXX_DiscardUnknown()

func (*QueryAllWhitelistedValidatorsRequest) XXX_Marshal

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

func (*QueryAllWhitelistedValidatorsRequest) XXX_Merge

func (*QueryAllWhitelistedValidatorsRequest) XXX_Size

func (*QueryAllWhitelistedValidatorsRequest) XXX_Unmarshal

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

type QueryAllWhitelistedValidatorsResponse

type QueryAllWhitelistedValidatorsResponse struct {
	WhitelistedValidators []WhitelistedValidator `protobuf:"bytes,1,rep,name=WhitelistedValidators,proto3" json:"WhitelistedValidators"`
	Pagination            *query.PageResponse    `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllWhitelistedValidatorsResponse) Descriptor

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

func (*QueryAllWhitelistedValidatorsResponse) GetPagination

func (*QueryAllWhitelistedValidatorsResponse) GetWhitelistedValidators

func (m *QueryAllWhitelistedValidatorsResponse) GetWhitelistedValidators() []WhitelistedValidator

func (*QueryAllWhitelistedValidatorsResponse) Marshal

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

func (*QueryAllWhitelistedValidatorsResponse) MarshalTo

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

func (*QueryAllWhitelistedValidatorsResponse) MarshalToSizedBuffer

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

func (*QueryAllWhitelistedValidatorsResponse) ProtoMessage

func (*QueryAllWhitelistedValidatorsResponse) ProtoMessage()

func (*QueryAllWhitelistedValidatorsResponse) Reset

func (*QueryAllWhitelistedValidatorsResponse) Size

func (*QueryAllWhitelistedValidatorsResponse) String

func (*QueryAllWhitelistedValidatorsResponse) Unmarshal

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

func (*QueryAllWhitelistedValidatorsResponse) XXX_DiscardUnknown

func (m *QueryAllWhitelistedValidatorsResponse) XXX_DiscardUnknown()

func (*QueryAllWhitelistedValidatorsResponse) XXX_Marshal

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

func (*QueryAllWhitelistedValidatorsResponse) XXX_Merge

func (*QueryAllWhitelistedValidatorsResponse) XXX_Size

func (*QueryAllWhitelistedValidatorsResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a list of WhitelistedValidator items.
	GetAllWhiteListedValidators(ctx context.Context, in *QueryAllWhitelistedValidatorsRequest, opts ...grpc.CallOption) (*QueryAllWhitelistedValidatorsResponse, error)
}

QueryClient is the client API for Query service.

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

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is request type for the Query/Params RPC method.

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 holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

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 QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of WhitelistedValidator items.
	GetAllWhiteListedValidators(context.Context, *QueryAllWhitelistedValidatorsRequest) (*QueryAllWhitelistedValidatorsResponse, error)
}

QueryServer is the server API for Query service.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Params

type WhitelistedValidator

type WhitelistedValidator struct {
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validatorAddress,proto3" json:"validatorAddress,omitempty"`
	AccountAddress   string `protobuf:"bytes,2,opt,name=accountAddress,proto3" json:"accountAddress,omitempty"`
	Moniker          string `protobuf:"bytes,3,opt,name=moniker,proto3" json:"moniker,omitempty"`
}

func (*WhitelistedValidator) Descriptor

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

func (*WhitelistedValidator) GetAccountAddress

func (m *WhitelistedValidator) GetAccountAddress() string

func (*WhitelistedValidator) GetMoniker

func (m *WhitelistedValidator) GetMoniker() string

func (*WhitelistedValidator) GetValidatorAddress

func (m *WhitelistedValidator) GetValidatorAddress() string

func (*WhitelistedValidator) Marshal

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

func (*WhitelistedValidator) MarshalTo

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

func (*WhitelistedValidator) MarshalToSizedBuffer

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

func (*WhitelistedValidator) ProtoMessage

func (*WhitelistedValidator) ProtoMessage()

func (*WhitelistedValidator) Reset

func (m *WhitelistedValidator) Reset()

func (*WhitelistedValidator) Size

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

func (*WhitelistedValidator) String

func (m *WhitelistedValidator) String() string

func (*WhitelistedValidator) Unmarshal

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

func (*WhitelistedValidator) XXX_DiscardUnknown

func (m *WhitelistedValidator) XXX_DiscardUnknown()

func (*WhitelistedValidator) XXX_Marshal

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

func (*WhitelistedValidator) XXX_Merge

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

func (*WhitelistedValidator) XXX_Size

func (m *WhitelistedValidator) XXX_Size() int

func (*WhitelistedValidator) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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