types

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2021 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name
	ModuleName = "profile"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey is the message route for slashing
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_profile"
)
View Source
const (
	CoordinatorKey      = "Coordinator-value-"
	CoordinatorCountKey = "Coordinator-count-"
)
View Source
const (
	// CoordinatorByAddressKeyPrefix is the prefix to retrieve all CoordinatorByAddress
	CoordinatorByAddressKeyPrefix = "CoordinatorByAddress/value/"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const (
	// ValidatorKeyPrefix is the prefix to retrieve all Validator
	ValidatorKeyPrefix = "Validator/value/"
)

Variables

View Source
var (
	ErrInvalidLengthCoordinator        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCoordinator          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCoordinator = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrCoordAlreadyExist    = sdkerrors.Register(ModuleName, 1, "coordinator address already exist")
	ErrCoordAddressNotFound = sdkerrors.Register(ModuleName, 2, "coordinator address not found")
	ErrCoordInvalid         = sdkerrors.Register(ModuleName, 3, "invalid coordinator")
	ErrEmptyDescription     = sdkerrors.Register(ModuleName, 4, "you must provide at least one description parameter")
	ErrValidatorNotFound    = sdkerrors.Register(ModuleName, 5, "validator address not found")
)

x/profile module sentinel errors

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 (
	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 (
	ErrInvalidLengthValidator        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowValidator          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupValidator = fmt.Errorf("proto: unexpected end of group")
)

Functions

func CoordinatorByAddressKey

func CoordinatorByAddressKey(address string) []byte

CoordinatorByAddressKey returns the store key to retrieve a CoordinatorByAddress from the index fields

func KeyPrefix

func KeyPrefix(p string) []byte

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

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)

func ValidatorKey

func ValidatorKey(address string) []byte

ValidatorKey returns the store key to retrieve a Validator from the index fields

Types

type Coordinator

type Coordinator struct {
	CoordinatorId uint64                  `protobuf:"varint,1,opt,name=coordinatorId,proto3" json:"coordinatorId,omitempty"`
	Address       string                  `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Description   *CoordinatorDescription `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
}

func (*Coordinator) Descriptor

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

func (*Coordinator) GetAddress

func (m *Coordinator) GetAddress() string

func (*Coordinator) GetCoordinatorId

func (m *Coordinator) GetCoordinatorId() uint64

func (*Coordinator) GetDescription

func (m *Coordinator) GetDescription() *CoordinatorDescription

func (*Coordinator) Marshal

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

func (*Coordinator) MarshalTo

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

func (*Coordinator) MarshalToSizedBuffer

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

func (*Coordinator) ProtoMessage

func (*Coordinator) ProtoMessage()

func (*Coordinator) Reset

func (m *Coordinator) Reset()

func (*Coordinator) Size

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

func (*Coordinator) String

func (m *Coordinator) String() string

func (*Coordinator) Unmarshal

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

func (*Coordinator) XXX_DiscardUnknown

func (m *Coordinator) XXX_DiscardUnknown()

func (*Coordinator) XXX_Marshal

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

func (*Coordinator) XXX_Merge

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

func (*Coordinator) XXX_Size

func (m *Coordinator) XXX_Size() int

func (*Coordinator) XXX_Unmarshal

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

type CoordinatorByAddress

type CoordinatorByAddress struct {
	Address       string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	CoordinatorId uint64 `protobuf:"varint,2,opt,name=coordinatorId,proto3" json:"coordinatorId,omitempty"`
}

func (*CoordinatorByAddress) Descriptor

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

func (*CoordinatorByAddress) GetAddress

func (m *CoordinatorByAddress) GetAddress() string

func (*CoordinatorByAddress) GetCoordinatorId

func (m *CoordinatorByAddress) GetCoordinatorId() uint64

func (*CoordinatorByAddress) Marshal

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

func (*CoordinatorByAddress) MarshalTo

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

func (*CoordinatorByAddress) MarshalToSizedBuffer

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

func (*CoordinatorByAddress) ProtoMessage

func (*CoordinatorByAddress) ProtoMessage()

func (*CoordinatorByAddress) Reset

func (m *CoordinatorByAddress) Reset()

func (*CoordinatorByAddress) Size

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

func (*CoordinatorByAddress) String

func (m *CoordinatorByAddress) String() string

func (*CoordinatorByAddress) Unmarshal

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

func (*CoordinatorByAddress) XXX_DiscardUnknown

func (m *CoordinatorByAddress) XXX_DiscardUnknown()

func (*CoordinatorByAddress) XXX_Marshal

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

func (*CoordinatorByAddress) XXX_Merge

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

func (*CoordinatorByAddress) XXX_Size

func (m *CoordinatorByAddress) XXX_Size() int

func (*CoordinatorByAddress) XXX_Unmarshal

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

type CoordinatorDescription

type CoordinatorDescription struct {
	Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	Website  string `protobuf:"bytes,2,opt,name=website,proto3" json:"website,omitempty"`
	Details  string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
}

func (*CoordinatorDescription) Descriptor

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

func (*CoordinatorDescription) GetDetails

func (m *CoordinatorDescription) GetDetails() string

func (*CoordinatorDescription) GetIdentity

func (m *CoordinatorDescription) GetIdentity() string

func (*CoordinatorDescription) GetWebsite

func (m *CoordinatorDescription) GetWebsite() string

func (*CoordinatorDescription) Marshal

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

func (*CoordinatorDescription) MarshalTo

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

func (*CoordinatorDescription) MarshalToSizedBuffer

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

func (*CoordinatorDescription) ProtoMessage

func (*CoordinatorDescription) ProtoMessage()

func (*CoordinatorDescription) Reset

func (m *CoordinatorDescription) Reset()

func (*CoordinatorDescription) Size

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

func (*CoordinatorDescription) String

func (m *CoordinatorDescription) String() string

func (*CoordinatorDescription) Unmarshal

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

func (*CoordinatorDescription) XXX_DiscardUnknown

func (m *CoordinatorDescription) XXX_DiscardUnknown()

func (*CoordinatorDescription) XXX_Marshal

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

func (*CoordinatorDescription) XXX_Merge

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

func (*CoordinatorDescription) XXX_Size

func (m *CoordinatorDescription) XXX_Size() int

func (*CoordinatorDescription) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	// this line is used by starport scaffolding # genesis/proto/state
	ValidatorList            []Validator            `protobuf:"bytes,4,rep,name=validatorList,proto3" json:"validatorList"`
	CoordinatorByAddressList []CoordinatorByAddress `protobuf:"bytes,3,rep,name=coordinatorByAddressList,proto3" json:"coordinatorByAddressList"`
	CoordinatorList          []Coordinator          `protobuf:"bytes,1,rep,name=coordinatorList,proto3" json:"coordinatorList"`
	CoordinatorCount         uint64                 `protobuf:"varint,2,opt,name=coordinatorCount,proto3" json:"coordinatorCount,omitempty"`
}

GenesisState defines the profile module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetCoordinatorByAddressList

func (m *GenesisState) GetCoordinatorByAddressList() []CoordinatorByAddress

func (*GenesisState) GetCoordinatorCount

func (m *GenesisState) GetCoordinatorCount() uint64

func (*GenesisState) GetCoordinatorList

func (m *GenesisState) GetCoordinatorList() []Coordinator

func (*GenesisState) GetValidatorList

func (m *GenesisState) GetValidatorList() []Validator

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

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (GenesisState) ValidateCoordinators

func (gs GenesisState) ValidateCoordinators() error

func (GenesisState) ValidateValidators

func (gs GenesisState) ValidateValidators() 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 {
	// this line is used by starport scaffolding # proto/tx/rpc
	DeleteValidator(ctx context.Context, in *MsgDeleteValidator, opts ...grpc.CallOption) (*MsgDeleteValidatorResponse, error)
	UpdateValidatorDescription(ctx context.Context, in *MsgUpdateValidatorDescription, opts ...grpc.CallOption) (*MsgUpdateValidatorDescriptionResponse, error)
	CreateCoordinator(ctx context.Context, in *MsgCreateCoordinator, opts ...grpc.CallOption) (*MsgCreateCoordinatorResponse, error)
	DeleteCoordinator(ctx context.Context, in *MsgDeleteCoordinator, opts ...grpc.CallOption) (*MsgDeleteCoordinatorResponse, error)
	UpdateCoordinatorAddress(ctx context.Context, in *MsgUpdateCoordinatorAddress, opts ...grpc.CallOption) (*MsgUpdateCoordinatorAddressResponse, error)
	UpdateCoordinatorDescription(ctx context.Context, in *MsgUpdateCoordinatorDescription, opts ...grpc.CallOption) (*MsgUpdateCoordinatorDescriptionResponse, error)
}

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 MsgCreateCoordinator

type MsgCreateCoordinator struct {
	Address     string                  `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Description *CoordinatorDescription `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
}

func NewMsgCreateCoordinator

func NewMsgCreateCoordinator(address string, identity string, website string, details string) *MsgCreateCoordinator

func (*MsgCreateCoordinator) Descriptor

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

func (*MsgCreateCoordinator) GetAddress

func (m *MsgCreateCoordinator) GetAddress() string

func (*MsgCreateCoordinator) GetDescription

func (m *MsgCreateCoordinator) GetDescription() *CoordinatorDescription

func (*MsgCreateCoordinator) GetSignBytes

func (msg *MsgCreateCoordinator) GetSignBytes() []byte

func (*MsgCreateCoordinator) GetSigners

func (msg *MsgCreateCoordinator) GetSigners() []sdk.AccAddress

func (*MsgCreateCoordinator) Marshal

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

func (*MsgCreateCoordinator) MarshalTo

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

func (*MsgCreateCoordinator) MarshalToSizedBuffer

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

func (*MsgCreateCoordinator) ProtoMessage

func (*MsgCreateCoordinator) ProtoMessage()

func (*MsgCreateCoordinator) Reset

func (m *MsgCreateCoordinator) Reset()

func (*MsgCreateCoordinator) Route

func (msg *MsgCreateCoordinator) Route() string

func (*MsgCreateCoordinator) Size

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

func (*MsgCreateCoordinator) String

func (m *MsgCreateCoordinator) String() string

func (*MsgCreateCoordinator) Type

func (msg *MsgCreateCoordinator) Type() string

func (*MsgCreateCoordinator) Unmarshal

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

func (*MsgCreateCoordinator) ValidateBasic

func (msg *MsgCreateCoordinator) ValidateBasic() error

func (*MsgCreateCoordinator) XXX_DiscardUnknown

func (m *MsgCreateCoordinator) XXX_DiscardUnknown()

func (*MsgCreateCoordinator) XXX_Marshal

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

func (*MsgCreateCoordinator) XXX_Merge

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

func (*MsgCreateCoordinator) XXX_Size

func (m *MsgCreateCoordinator) XXX_Size() int

func (*MsgCreateCoordinator) XXX_Unmarshal

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

type MsgCreateCoordinatorResponse

type MsgCreateCoordinatorResponse struct {
	CoordinatorId uint64 `protobuf:"varint,1,opt,name=coordinatorId,proto3" json:"coordinatorId,omitempty"`
}

func (*MsgCreateCoordinatorResponse) Descriptor

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

func (*MsgCreateCoordinatorResponse) GetCoordinatorId

func (m *MsgCreateCoordinatorResponse) GetCoordinatorId() uint64

func (*MsgCreateCoordinatorResponse) Marshal

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

func (*MsgCreateCoordinatorResponse) MarshalTo

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

func (*MsgCreateCoordinatorResponse) MarshalToSizedBuffer

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

func (*MsgCreateCoordinatorResponse) ProtoMessage

func (*MsgCreateCoordinatorResponse) ProtoMessage()

func (*MsgCreateCoordinatorResponse) Reset

func (m *MsgCreateCoordinatorResponse) Reset()

func (*MsgCreateCoordinatorResponse) Size

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

func (*MsgCreateCoordinatorResponse) String

func (*MsgCreateCoordinatorResponse) Unmarshal

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

func (*MsgCreateCoordinatorResponse) XXX_DiscardUnknown

func (m *MsgCreateCoordinatorResponse) XXX_DiscardUnknown()

func (*MsgCreateCoordinatorResponse) XXX_Marshal

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

func (*MsgCreateCoordinatorResponse) XXX_Merge

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

func (*MsgCreateCoordinatorResponse) XXX_Size

func (m *MsgCreateCoordinatorResponse) XXX_Size() int

func (*MsgCreateCoordinatorResponse) XXX_Unmarshal

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

type MsgDeleteCoordinator

type MsgDeleteCoordinator struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func NewMsgDeleteCoordinator

func NewMsgDeleteCoordinator(address string) *MsgDeleteCoordinator

func (*MsgDeleteCoordinator) Descriptor

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

func (*MsgDeleteCoordinator) GetAddress

func (m *MsgDeleteCoordinator) GetAddress() string

func (*MsgDeleteCoordinator) GetSignBytes

func (msg *MsgDeleteCoordinator) GetSignBytes() []byte

func (*MsgDeleteCoordinator) GetSigners

func (msg *MsgDeleteCoordinator) GetSigners() []sdk.AccAddress

func (*MsgDeleteCoordinator) Marshal

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

func (*MsgDeleteCoordinator) MarshalTo

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

func (*MsgDeleteCoordinator) MarshalToSizedBuffer

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

func (*MsgDeleteCoordinator) ProtoMessage

func (*MsgDeleteCoordinator) ProtoMessage()

func (*MsgDeleteCoordinator) Reset

func (m *MsgDeleteCoordinator) Reset()

func (*MsgDeleteCoordinator) Route

func (msg *MsgDeleteCoordinator) Route() string

func (*MsgDeleteCoordinator) Size

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

func (*MsgDeleteCoordinator) String

func (m *MsgDeleteCoordinator) String() string

func (*MsgDeleteCoordinator) Type

func (msg *MsgDeleteCoordinator) Type() string

func (*MsgDeleteCoordinator) Unmarshal

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

func (*MsgDeleteCoordinator) ValidateBasic

func (msg *MsgDeleteCoordinator) ValidateBasic() error

func (*MsgDeleteCoordinator) XXX_DiscardUnknown

func (m *MsgDeleteCoordinator) XXX_DiscardUnknown()

func (*MsgDeleteCoordinator) XXX_Marshal

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

func (*MsgDeleteCoordinator) XXX_Merge

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

func (*MsgDeleteCoordinator) XXX_Size

func (m *MsgDeleteCoordinator) XXX_Size() int

func (*MsgDeleteCoordinator) XXX_Unmarshal

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

type MsgDeleteCoordinatorResponse

type MsgDeleteCoordinatorResponse struct {
	CoordinatorId uint64 `protobuf:"varint,1,opt,name=coordinatorId,proto3" json:"coordinatorId,omitempty"`
}

func (*MsgDeleteCoordinatorResponse) Descriptor

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

func (*MsgDeleteCoordinatorResponse) GetCoordinatorId

func (m *MsgDeleteCoordinatorResponse) GetCoordinatorId() uint64

func (*MsgDeleteCoordinatorResponse) Marshal

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

func (*MsgDeleteCoordinatorResponse) MarshalTo

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

func (*MsgDeleteCoordinatorResponse) MarshalToSizedBuffer

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

func (*MsgDeleteCoordinatorResponse) ProtoMessage

func (*MsgDeleteCoordinatorResponse) ProtoMessage()

func (*MsgDeleteCoordinatorResponse) Reset

func (m *MsgDeleteCoordinatorResponse) Reset()

func (*MsgDeleteCoordinatorResponse) Size

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

func (*MsgDeleteCoordinatorResponse) String

func (*MsgDeleteCoordinatorResponse) Unmarshal

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

func (*MsgDeleteCoordinatorResponse) XXX_DiscardUnknown

func (m *MsgDeleteCoordinatorResponse) XXX_DiscardUnknown()

func (*MsgDeleteCoordinatorResponse) XXX_Marshal

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

func (*MsgDeleteCoordinatorResponse) XXX_Merge

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

func (*MsgDeleteCoordinatorResponse) XXX_Size

func (m *MsgDeleteCoordinatorResponse) XXX_Size() int

func (*MsgDeleteCoordinatorResponse) XXX_Unmarshal

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

type MsgDeleteValidator

type MsgDeleteValidator struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

this line is used by starport scaffolding # proto/tx/message

func NewMsgDeleteValidator

func NewMsgDeleteValidator(address string) *MsgDeleteValidator

func (*MsgDeleteValidator) Descriptor

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

func (*MsgDeleteValidator) GetAddress

func (m *MsgDeleteValidator) GetAddress() string

func (*MsgDeleteValidator) GetSignBytes

func (msg *MsgDeleteValidator) GetSignBytes() []byte

func (*MsgDeleteValidator) GetSigners

func (msg *MsgDeleteValidator) GetSigners() []sdk.AccAddress

func (*MsgDeleteValidator) Marshal

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

func (*MsgDeleteValidator) MarshalTo

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

func (*MsgDeleteValidator) MarshalToSizedBuffer

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

func (*MsgDeleteValidator) ProtoMessage

func (*MsgDeleteValidator) ProtoMessage()

func (*MsgDeleteValidator) Reset

func (m *MsgDeleteValidator) Reset()

func (*MsgDeleteValidator) Route

func (msg *MsgDeleteValidator) Route() string

func (*MsgDeleteValidator) Size

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

func (*MsgDeleteValidator) String

func (m *MsgDeleteValidator) String() string

func (*MsgDeleteValidator) Type

func (msg *MsgDeleteValidator) Type() string

func (*MsgDeleteValidator) Unmarshal

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

func (*MsgDeleteValidator) ValidateBasic

func (msg *MsgDeleteValidator) ValidateBasic() error

func (*MsgDeleteValidator) XXX_DiscardUnknown

func (m *MsgDeleteValidator) XXX_DiscardUnknown()

func (*MsgDeleteValidator) XXX_Marshal

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

func (*MsgDeleteValidator) XXX_Merge

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

func (*MsgDeleteValidator) XXX_Size

func (m *MsgDeleteValidator) XXX_Size() int

func (*MsgDeleteValidator) XXX_Unmarshal

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

type MsgDeleteValidatorResponse

type MsgDeleteValidatorResponse struct {
}

func (*MsgDeleteValidatorResponse) Descriptor

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

func (*MsgDeleteValidatorResponse) Marshal

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

func (*MsgDeleteValidatorResponse) MarshalTo

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

func (*MsgDeleteValidatorResponse) MarshalToSizedBuffer

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

func (*MsgDeleteValidatorResponse) ProtoMessage

func (*MsgDeleteValidatorResponse) ProtoMessage()

func (*MsgDeleteValidatorResponse) Reset

func (m *MsgDeleteValidatorResponse) Reset()

func (*MsgDeleteValidatorResponse) Size

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

func (*MsgDeleteValidatorResponse) String

func (m *MsgDeleteValidatorResponse) String() string

func (*MsgDeleteValidatorResponse) Unmarshal

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

func (*MsgDeleteValidatorResponse) XXX_DiscardUnknown

func (m *MsgDeleteValidatorResponse) XXX_DiscardUnknown()

func (*MsgDeleteValidatorResponse) XXX_Marshal

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

func (*MsgDeleteValidatorResponse) XXX_Merge

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

func (*MsgDeleteValidatorResponse) XXX_Size

func (m *MsgDeleteValidatorResponse) XXX_Size() int

func (*MsgDeleteValidatorResponse) XXX_Unmarshal

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

type MsgServer

MsgServer is the server API for Msg service.

type MsgUpdateCoordinatorAddress

type MsgUpdateCoordinatorAddress struct {
	Address    string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	NewAddress string `protobuf:"bytes,2,opt,name=newAddress,proto3" json:"newAddress,omitempty"`
}

func NewMsgUpdateCoordinatorAddress

func NewMsgUpdateCoordinatorAddress(address string, newAddress string) *MsgUpdateCoordinatorAddress

func (*MsgUpdateCoordinatorAddress) Descriptor

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

func (*MsgUpdateCoordinatorAddress) GetAddress

func (m *MsgUpdateCoordinatorAddress) GetAddress() string

func (*MsgUpdateCoordinatorAddress) GetNewAddress

func (m *MsgUpdateCoordinatorAddress) GetNewAddress() string

func (*MsgUpdateCoordinatorAddress) GetSignBytes

func (msg *MsgUpdateCoordinatorAddress) GetSignBytes() []byte

func (*MsgUpdateCoordinatorAddress) GetSigners

func (msg *MsgUpdateCoordinatorAddress) GetSigners() []sdk.AccAddress

func (*MsgUpdateCoordinatorAddress) Marshal

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

func (*MsgUpdateCoordinatorAddress) MarshalTo

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

func (*MsgUpdateCoordinatorAddress) MarshalToSizedBuffer

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

func (*MsgUpdateCoordinatorAddress) ProtoMessage

func (*MsgUpdateCoordinatorAddress) ProtoMessage()

func (*MsgUpdateCoordinatorAddress) Reset

func (m *MsgUpdateCoordinatorAddress) Reset()

func (*MsgUpdateCoordinatorAddress) Route

func (msg *MsgUpdateCoordinatorAddress) Route() string

func (*MsgUpdateCoordinatorAddress) Size

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

func (*MsgUpdateCoordinatorAddress) String

func (m *MsgUpdateCoordinatorAddress) String() string

func (*MsgUpdateCoordinatorAddress) Type

func (msg *MsgUpdateCoordinatorAddress) Type() string

func (*MsgUpdateCoordinatorAddress) Unmarshal

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

func (*MsgUpdateCoordinatorAddress) ValidateBasic

func (msg *MsgUpdateCoordinatorAddress) ValidateBasic() error

func (*MsgUpdateCoordinatorAddress) XXX_DiscardUnknown

func (m *MsgUpdateCoordinatorAddress) XXX_DiscardUnknown()

func (*MsgUpdateCoordinatorAddress) XXX_Marshal

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

func (*MsgUpdateCoordinatorAddress) XXX_Merge

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

func (*MsgUpdateCoordinatorAddress) XXX_Size

func (m *MsgUpdateCoordinatorAddress) XXX_Size() int

func (*MsgUpdateCoordinatorAddress) XXX_Unmarshal

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

type MsgUpdateCoordinatorAddressResponse

type MsgUpdateCoordinatorAddressResponse struct {
}

func (*MsgUpdateCoordinatorAddressResponse) Descriptor

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

func (*MsgUpdateCoordinatorAddressResponse) Marshal

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

func (*MsgUpdateCoordinatorAddressResponse) MarshalTo

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

func (*MsgUpdateCoordinatorAddressResponse) MarshalToSizedBuffer

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

func (*MsgUpdateCoordinatorAddressResponse) ProtoMessage

func (*MsgUpdateCoordinatorAddressResponse) ProtoMessage()

func (*MsgUpdateCoordinatorAddressResponse) Reset

func (*MsgUpdateCoordinatorAddressResponse) Size

func (*MsgUpdateCoordinatorAddressResponse) String

func (*MsgUpdateCoordinatorAddressResponse) Unmarshal

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

func (*MsgUpdateCoordinatorAddressResponse) XXX_DiscardUnknown

func (m *MsgUpdateCoordinatorAddressResponse) XXX_DiscardUnknown()

func (*MsgUpdateCoordinatorAddressResponse) XXX_Marshal

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

func (*MsgUpdateCoordinatorAddressResponse) XXX_Merge

func (*MsgUpdateCoordinatorAddressResponse) XXX_Size

func (*MsgUpdateCoordinatorAddressResponse) XXX_Unmarshal

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

type MsgUpdateCoordinatorDescription

type MsgUpdateCoordinatorDescription struct {
	Address     string                  `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Description *CoordinatorDescription `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
}

func NewMsgUpdateCoordinatorDescription

func NewMsgUpdateCoordinatorDescription(address string, identity, website, details string) *MsgUpdateCoordinatorDescription

func (*MsgUpdateCoordinatorDescription) Descriptor

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

func (*MsgUpdateCoordinatorDescription) GetAddress

func (m *MsgUpdateCoordinatorDescription) GetAddress() string

func (*MsgUpdateCoordinatorDescription) GetDescription

func (*MsgUpdateCoordinatorDescription) GetSignBytes

func (msg *MsgUpdateCoordinatorDescription) GetSignBytes() []byte

func (*MsgUpdateCoordinatorDescription) GetSigners

func (msg *MsgUpdateCoordinatorDescription) GetSigners() []sdk.AccAddress

func (*MsgUpdateCoordinatorDescription) Marshal

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

func (*MsgUpdateCoordinatorDescription) MarshalTo

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

func (*MsgUpdateCoordinatorDescription) MarshalToSizedBuffer

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

func (*MsgUpdateCoordinatorDescription) ProtoMessage

func (*MsgUpdateCoordinatorDescription) ProtoMessage()

func (*MsgUpdateCoordinatorDescription) Reset

func (*MsgUpdateCoordinatorDescription) Route

func (*MsgUpdateCoordinatorDescription) Size

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

func (*MsgUpdateCoordinatorDescription) String

func (*MsgUpdateCoordinatorDescription) Type

func (*MsgUpdateCoordinatorDescription) Unmarshal

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

func (*MsgUpdateCoordinatorDescription) ValidateBasic

func (msg *MsgUpdateCoordinatorDescription) ValidateBasic() error

func (*MsgUpdateCoordinatorDescription) XXX_DiscardUnknown

func (m *MsgUpdateCoordinatorDescription) XXX_DiscardUnknown()

func (*MsgUpdateCoordinatorDescription) XXX_Marshal

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

func (*MsgUpdateCoordinatorDescription) XXX_Merge

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

func (*MsgUpdateCoordinatorDescription) XXX_Size

func (m *MsgUpdateCoordinatorDescription) XXX_Size() int

func (*MsgUpdateCoordinatorDescription) XXX_Unmarshal

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

type MsgUpdateCoordinatorDescriptionResponse

type MsgUpdateCoordinatorDescriptionResponse struct {
}

func (*MsgUpdateCoordinatorDescriptionResponse) Descriptor

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

func (*MsgUpdateCoordinatorDescriptionResponse) Marshal

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

func (*MsgUpdateCoordinatorDescriptionResponse) MarshalTo

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

func (*MsgUpdateCoordinatorDescriptionResponse) MarshalToSizedBuffer

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

func (*MsgUpdateCoordinatorDescriptionResponse) ProtoMessage

func (*MsgUpdateCoordinatorDescriptionResponse) Reset

func (*MsgUpdateCoordinatorDescriptionResponse) Size

func (*MsgUpdateCoordinatorDescriptionResponse) String

func (*MsgUpdateCoordinatorDescriptionResponse) Unmarshal

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

func (*MsgUpdateCoordinatorDescriptionResponse) XXX_DiscardUnknown

func (m *MsgUpdateCoordinatorDescriptionResponse) XXX_DiscardUnknown()

func (*MsgUpdateCoordinatorDescriptionResponse) XXX_Marshal

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

func (*MsgUpdateCoordinatorDescriptionResponse) XXX_Merge

func (*MsgUpdateCoordinatorDescriptionResponse) XXX_Size

func (*MsgUpdateCoordinatorDescriptionResponse) XXX_Unmarshal

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

type MsgUpdateValidatorDescription

type MsgUpdateValidatorDescription struct {
	Address     string                `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Description *ValidatorDescription `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
}

func NewMsgUpdateValidatorDescription

func NewMsgUpdateValidatorDescription(
	address string,
	identity string,
	moniker string,
	website string,
	securityContact string,
	details string,
) *MsgUpdateValidatorDescription

func (*MsgUpdateValidatorDescription) Descriptor

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

func (*MsgUpdateValidatorDescription) GetAddress

func (m *MsgUpdateValidatorDescription) GetAddress() string

func (*MsgUpdateValidatorDescription) GetDescription

func (*MsgUpdateValidatorDescription) GetSignBytes

func (msg *MsgUpdateValidatorDescription) GetSignBytes() []byte

func (*MsgUpdateValidatorDescription) GetSigners

func (msg *MsgUpdateValidatorDescription) GetSigners() []sdk.AccAddress

func (*MsgUpdateValidatorDescription) Marshal

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

func (*MsgUpdateValidatorDescription) MarshalTo

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

func (*MsgUpdateValidatorDescription) MarshalToSizedBuffer

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

func (*MsgUpdateValidatorDescription) ProtoMessage

func (*MsgUpdateValidatorDescription) ProtoMessage()

func (*MsgUpdateValidatorDescription) Reset

func (m *MsgUpdateValidatorDescription) Reset()

func (*MsgUpdateValidatorDescription) Route

func (*MsgUpdateValidatorDescription) Size

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

func (*MsgUpdateValidatorDescription) String

func (*MsgUpdateValidatorDescription) Type

func (*MsgUpdateValidatorDescription) Unmarshal

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

func (*MsgUpdateValidatorDescription) ValidateBasic

func (msg *MsgUpdateValidatorDescription) ValidateBasic() error

func (*MsgUpdateValidatorDescription) XXX_DiscardUnknown

func (m *MsgUpdateValidatorDescription) XXX_DiscardUnknown()

func (*MsgUpdateValidatorDescription) XXX_Marshal

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

func (*MsgUpdateValidatorDescription) XXX_Merge

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

func (*MsgUpdateValidatorDescription) XXX_Size

func (m *MsgUpdateValidatorDescription) XXX_Size() int

func (*MsgUpdateValidatorDescription) XXX_Unmarshal

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

type MsgUpdateValidatorDescriptionResponse

type MsgUpdateValidatorDescriptionResponse struct {
}

func (*MsgUpdateValidatorDescriptionResponse) Descriptor

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

func (*MsgUpdateValidatorDescriptionResponse) Marshal

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

func (*MsgUpdateValidatorDescriptionResponse) MarshalTo

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

func (*MsgUpdateValidatorDescriptionResponse) MarshalToSizedBuffer

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

func (*MsgUpdateValidatorDescriptionResponse) ProtoMessage

func (*MsgUpdateValidatorDescriptionResponse) ProtoMessage()

func (*MsgUpdateValidatorDescriptionResponse) Reset

func (*MsgUpdateValidatorDescriptionResponse) Size

func (*MsgUpdateValidatorDescriptionResponse) String

func (*MsgUpdateValidatorDescriptionResponse) Unmarshal

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

func (*MsgUpdateValidatorDescriptionResponse) XXX_DiscardUnknown

func (m *MsgUpdateValidatorDescriptionResponse) XXX_DiscardUnknown()

func (*MsgUpdateValidatorDescriptionResponse) XXX_Marshal

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

func (*MsgUpdateValidatorDescriptionResponse) XXX_Merge

func (*MsgUpdateValidatorDescriptionResponse) XXX_Size

func (*MsgUpdateValidatorDescriptionResponse) XXX_Unmarshal

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

type QueryAllCoordinatorByAddressRequest

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

func (*QueryAllCoordinatorByAddressRequest) Descriptor

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

func (*QueryAllCoordinatorByAddressRequest) GetPagination

func (*QueryAllCoordinatorByAddressRequest) Marshal

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

func (*QueryAllCoordinatorByAddressRequest) MarshalTo

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

func (*QueryAllCoordinatorByAddressRequest) MarshalToSizedBuffer

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

func (*QueryAllCoordinatorByAddressRequest) ProtoMessage

func (*QueryAllCoordinatorByAddressRequest) ProtoMessage()

func (*QueryAllCoordinatorByAddressRequest) Reset

func (*QueryAllCoordinatorByAddressRequest) Size

func (*QueryAllCoordinatorByAddressRequest) String

func (*QueryAllCoordinatorByAddressRequest) Unmarshal

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

func (*QueryAllCoordinatorByAddressRequest) XXX_DiscardUnknown

func (m *QueryAllCoordinatorByAddressRequest) XXX_DiscardUnknown()

func (*QueryAllCoordinatorByAddressRequest) XXX_Marshal

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

func (*QueryAllCoordinatorByAddressRequest) XXX_Merge

func (*QueryAllCoordinatorByAddressRequest) XXX_Size

func (*QueryAllCoordinatorByAddressRequest) XXX_Unmarshal

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

type QueryAllCoordinatorByAddressResponse

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

func (*QueryAllCoordinatorByAddressResponse) Descriptor

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

func (*QueryAllCoordinatorByAddressResponse) GetCoordinatorByAddress

func (m *QueryAllCoordinatorByAddressResponse) GetCoordinatorByAddress() []CoordinatorByAddress

func (*QueryAllCoordinatorByAddressResponse) GetPagination

func (*QueryAllCoordinatorByAddressResponse) Marshal

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

func (*QueryAllCoordinatorByAddressResponse) MarshalTo

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

func (*QueryAllCoordinatorByAddressResponse) MarshalToSizedBuffer

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

func (*QueryAllCoordinatorByAddressResponse) ProtoMessage

func (*QueryAllCoordinatorByAddressResponse) ProtoMessage()

func (*QueryAllCoordinatorByAddressResponse) Reset

func (*QueryAllCoordinatorByAddressResponse) Size

func (*QueryAllCoordinatorByAddressResponse) String

func (*QueryAllCoordinatorByAddressResponse) Unmarshal

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

func (*QueryAllCoordinatorByAddressResponse) XXX_DiscardUnknown

func (m *QueryAllCoordinatorByAddressResponse) XXX_DiscardUnknown()

func (*QueryAllCoordinatorByAddressResponse) XXX_Marshal

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

func (*QueryAllCoordinatorByAddressResponse) XXX_Merge

func (*QueryAllCoordinatorByAddressResponse) XXX_Size

func (*QueryAllCoordinatorByAddressResponse) XXX_Unmarshal

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

type QueryAllCoordinatorRequest

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

func (*QueryAllCoordinatorRequest) Descriptor

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

func (*QueryAllCoordinatorRequest) GetPagination

func (m *QueryAllCoordinatorRequest) GetPagination() *query.PageRequest

func (*QueryAllCoordinatorRequest) Marshal

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

func (*QueryAllCoordinatorRequest) MarshalTo

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

func (*QueryAllCoordinatorRequest) MarshalToSizedBuffer

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

func (*QueryAllCoordinatorRequest) ProtoMessage

func (*QueryAllCoordinatorRequest) ProtoMessage()

func (*QueryAllCoordinatorRequest) Reset

func (m *QueryAllCoordinatorRequest) Reset()

func (*QueryAllCoordinatorRequest) Size

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

func (*QueryAllCoordinatorRequest) String

func (m *QueryAllCoordinatorRequest) String() string

func (*QueryAllCoordinatorRequest) Unmarshal

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

func (*QueryAllCoordinatorRequest) XXX_DiscardUnknown

func (m *QueryAllCoordinatorRequest) XXX_DiscardUnknown()

func (*QueryAllCoordinatorRequest) XXX_Marshal

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

func (*QueryAllCoordinatorRequest) XXX_Merge

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

func (*QueryAllCoordinatorRequest) XXX_Size

func (m *QueryAllCoordinatorRequest) XXX_Size() int

func (*QueryAllCoordinatorRequest) XXX_Unmarshal

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

type QueryAllCoordinatorResponse

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

func (*QueryAllCoordinatorResponse) Descriptor

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

func (*QueryAllCoordinatorResponse) GetCoordinator

func (m *QueryAllCoordinatorResponse) GetCoordinator() []Coordinator

func (*QueryAllCoordinatorResponse) GetPagination

func (m *QueryAllCoordinatorResponse) GetPagination() *query.PageResponse

func (*QueryAllCoordinatorResponse) Marshal

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

func (*QueryAllCoordinatorResponse) MarshalTo

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

func (*QueryAllCoordinatorResponse) MarshalToSizedBuffer

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

func (*QueryAllCoordinatorResponse) ProtoMessage

func (*QueryAllCoordinatorResponse) ProtoMessage()

func (*QueryAllCoordinatorResponse) Reset

func (m *QueryAllCoordinatorResponse) Reset()

func (*QueryAllCoordinatorResponse) Size

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

func (*QueryAllCoordinatorResponse) String

func (m *QueryAllCoordinatorResponse) String() string

func (*QueryAllCoordinatorResponse) Unmarshal

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

func (*QueryAllCoordinatorResponse) XXX_DiscardUnknown

func (m *QueryAllCoordinatorResponse) XXX_DiscardUnknown()

func (*QueryAllCoordinatorResponse) XXX_Marshal

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

func (*QueryAllCoordinatorResponse) XXX_Merge

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

func (*QueryAllCoordinatorResponse) XXX_Size

func (m *QueryAllCoordinatorResponse) XXX_Size() int

func (*QueryAllCoordinatorResponse) XXX_Unmarshal

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

type QueryAllValidatorRequest

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

func (*QueryAllValidatorRequest) Descriptor

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

func (*QueryAllValidatorRequest) GetPagination

func (m *QueryAllValidatorRequest) GetPagination() *query.PageRequest

func (*QueryAllValidatorRequest) Marshal

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

func (*QueryAllValidatorRequest) MarshalTo

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

func (*QueryAllValidatorRequest) MarshalToSizedBuffer

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

func (*QueryAllValidatorRequest) ProtoMessage

func (*QueryAllValidatorRequest) ProtoMessage()

func (*QueryAllValidatorRequest) Reset

func (m *QueryAllValidatorRequest) Reset()

func (*QueryAllValidatorRequest) Size

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

func (*QueryAllValidatorRequest) String

func (m *QueryAllValidatorRequest) String() string

func (*QueryAllValidatorRequest) Unmarshal

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

func (*QueryAllValidatorRequest) XXX_DiscardUnknown

func (m *QueryAllValidatorRequest) XXX_DiscardUnknown()

func (*QueryAllValidatorRequest) XXX_Marshal

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

func (*QueryAllValidatorRequest) XXX_Merge

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

func (*QueryAllValidatorRequest) XXX_Size

func (m *QueryAllValidatorRequest) XXX_Size() int

func (*QueryAllValidatorRequest) XXX_Unmarshal

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

type QueryAllValidatorResponse

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

func (*QueryAllValidatorResponse) Descriptor

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

func (*QueryAllValidatorResponse) GetPagination

func (m *QueryAllValidatorResponse) GetPagination() *query.PageResponse

func (*QueryAllValidatorResponse) GetValidator

func (m *QueryAllValidatorResponse) GetValidator() []Validator

func (*QueryAllValidatorResponse) Marshal

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

func (*QueryAllValidatorResponse) MarshalTo

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

func (*QueryAllValidatorResponse) MarshalToSizedBuffer

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

func (*QueryAllValidatorResponse) ProtoMessage

func (*QueryAllValidatorResponse) ProtoMessage()

func (*QueryAllValidatorResponse) Reset

func (m *QueryAllValidatorResponse) Reset()

func (*QueryAllValidatorResponse) Size

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

func (*QueryAllValidatorResponse) String

func (m *QueryAllValidatorResponse) String() string

func (*QueryAllValidatorResponse) Unmarshal

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

func (*QueryAllValidatorResponse) XXX_DiscardUnknown

func (m *QueryAllValidatorResponse) XXX_DiscardUnknown()

func (*QueryAllValidatorResponse) XXX_Marshal

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

func (*QueryAllValidatorResponse) XXX_Merge

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

func (*QueryAllValidatorResponse) XXX_Size

func (m *QueryAllValidatorResponse) XXX_Size() int

func (*QueryAllValidatorResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// this line is used by starport scaffolding # 2
	// Queries a validator by index.
	Validator(ctx context.Context, in *QueryGetValidatorRequest, opts ...grpc.CallOption) (*QueryGetValidatorResponse, error)
	// Queries a list of validator items.
	ValidatorAll(ctx context.Context, in *QueryAllValidatorRequest, opts ...grpc.CallOption) (*QueryAllValidatorResponse, error)
	// Queries a coordinatorByAddress by index.
	CoordinatorByAddress(ctx context.Context, in *QueryGetCoordinatorByAddressRequest, opts ...grpc.CallOption) (*QueryGetCoordinatorByAddressResponse, error)
	// Queries a coordinator by id.
	Coordinator(ctx context.Context, in *QueryGetCoordinatorRequest, opts ...grpc.CallOption) (*QueryGetCoordinatorResponse, error)
	// Queries a list of coordinator items.
	CoordinatorAll(ctx context.Context, in *QueryAllCoordinatorRequest, opts ...grpc.CallOption) (*QueryAllCoordinatorResponse, 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 QueryGetCoordinatorByAddressRequest

type QueryGetCoordinatorByAddressRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryGetCoordinatorByAddressRequest) Descriptor

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

func (*QueryGetCoordinatorByAddressRequest) GetAddress

func (*QueryGetCoordinatorByAddressRequest) Marshal

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

func (*QueryGetCoordinatorByAddressRequest) MarshalTo

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

func (*QueryGetCoordinatorByAddressRequest) MarshalToSizedBuffer

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

func (*QueryGetCoordinatorByAddressRequest) ProtoMessage

func (*QueryGetCoordinatorByAddressRequest) ProtoMessage()

func (*QueryGetCoordinatorByAddressRequest) Reset

func (*QueryGetCoordinatorByAddressRequest) Size

func (*QueryGetCoordinatorByAddressRequest) String

func (*QueryGetCoordinatorByAddressRequest) Unmarshal

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

func (*QueryGetCoordinatorByAddressRequest) XXX_DiscardUnknown

func (m *QueryGetCoordinatorByAddressRequest) XXX_DiscardUnknown()

func (*QueryGetCoordinatorByAddressRequest) XXX_Marshal

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

func (*QueryGetCoordinatorByAddressRequest) XXX_Merge

func (*QueryGetCoordinatorByAddressRequest) XXX_Size

func (*QueryGetCoordinatorByAddressRequest) XXX_Unmarshal

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

type QueryGetCoordinatorByAddressResponse

type QueryGetCoordinatorByAddressResponse struct {
	CoordinatorByAddress CoordinatorByAddress `protobuf:"bytes,1,opt,name=coordinatorByAddress,proto3" json:"coordinatorByAddress"`
}

func (*QueryGetCoordinatorByAddressResponse) Descriptor

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

func (*QueryGetCoordinatorByAddressResponse) GetCoordinatorByAddress

func (m *QueryGetCoordinatorByAddressResponse) GetCoordinatorByAddress() CoordinatorByAddress

func (*QueryGetCoordinatorByAddressResponse) Marshal

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

func (*QueryGetCoordinatorByAddressResponse) MarshalTo

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

func (*QueryGetCoordinatorByAddressResponse) MarshalToSizedBuffer

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

func (*QueryGetCoordinatorByAddressResponse) ProtoMessage

func (*QueryGetCoordinatorByAddressResponse) ProtoMessage()

func (*QueryGetCoordinatorByAddressResponse) Reset

func (*QueryGetCoordinatorByAddressResponse) Size

func (*QueryGetCoordinatorByAddressResponse) String

func (*QueryGetCoordinatorByAddressResponse) Unmarshal

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

func (*QueryGetCoordinatorByAddressResponse) XXX_DiscardUnknown

func (m *QueryGetCoordinatorByAddressResponse) XXX_DiscardUnknown()

func (*QueryGetCoordinatorByAddressResponse) XXX_Marshal

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

func (*QueryGetCoordinatorByAddressResponse) XXX_Merge

func (*QueryGetCoordinatorByAddressResponse) XXX_Size

func (*QueryGetCoordinatorByAddressResponse) XXX_Unmarshal

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

type QueryGetCoordinatorRequest

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

func (*QueryGetCoordinatorRequest) Descriptor

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

func (*QueryGetCoordinatorRequest) GetId

func (*QueryGetCoordinatorRequest) Marshal

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

func (*QueryGetCoordinatorRequest) MarshalTo

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

func (*QueryGetCoordinatorRequest) MarshalToSizedBuffer

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

func (*QueryGetCoordinatorRequest) ProtoMessage

func (*QueryGetCoordinatorRequest) ProtoMessage()

func (*QueryGetCoordinatorRequest) Reset

func (m *QueryGetCoordinatorRequest) Reset()

func (*QueryGetCoordinatorRequest) Size

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

func (*QueryGetCoordinatorRequest) String

func (m *QueryGetCoordinatorRequest) String() string

func (*QueryGetCoordinatorRequest) Unmarshal

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

func (*QueryGetCoordinatorRequest) XXX_DiscardUnknown

func (m *QueryGetCoordinatorRequest) XXX_DiscardUnknown()

func (*QueryGetCoordinatorRequest) XXX_Marshal

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

func (*QueryGetCoordinatorRequest) XXX_Merge

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

func (*QueryGetCoordinatorRequest) XXX_Size

func (m *QueryGetCoordinatorRequest) XXX_Size() int

func (*QueryGetCoordinatorRequest) XXX_Unmarshal

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

type QueryGetCoordinatorResponse

type QueryGetCoordinatorResponse struct {
	Coordinator Coordinator `protobuf:"bytes,1,opt,name=Coordinator,proto3" json:"Coordinator"`
}

func (*QueryGetCoordinatorResponse) Descriptor

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

func (*QueryGetCoordinatorResponse) GetCoordinator

func (m *QueryGetCoordinatorResponse) GetCoordinator() Coordinator

func (*QueryGetCoordinatorResponse) Marshal

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

func (*QueryGetCoordinatorResponse) MarshalTo

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

func (*QueryGetCoordinatorResponse) MarshalToSizedBuffer

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

func (*QueryGetCoordinatorResponse) ProtoMessage

func (*QueryGetCoordinatorResponse) ProtoMessage()

func (*QueryGetCoordinatorResponse) Reset

func (m *QueryGetCoordinatorResponse) Reset()

func (*QueryGetCoordinatorResponse) Size

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

func (*QueryGetCoordinatorResponse) String

func (m *QueryGetCoordinatorResponse) String() string

func (*QueryGetCoordinatorResponse) Unmarshal

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

func (*QueryGetCoordinatorResponse) XXX_DiscardUnknown

func (m *QueryGetCoordinatorResponse) XXX_DiscardUnknown()

func (*QueryGetCoordinatorResponse) XXX_Marshal

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

func (*QueryGetCoordinatorResponse) XXX_Merge

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

func (*QueryGetCoordinatorResponse) XXX_Size

func (m *QueryGetCoordinatorResponse) XXX_Size() int

func (*QueryGetCoordinatorResponse) XXX_Unmarshal

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

type QueryGetValidatorRequest

type QueryGetValidatorRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryGetValidatorRequest) Descriptor

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

func (*QueryGetValidatorRequest) GetAddress

func (m *QueryGetValidatorRequest) GetAddress() string

func (*QueryGetValidatorRequest) Marshal

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

func (*QueryGetValidatorRequest) MarshalTo

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

func (*QueryGetValidatorRequest) MarshalToSizedBuffer

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

func (*QueryGetValidatorRequest) ProtoMessage

func (*QueryGetValidatorRequest) ProtoMessage()

func (*QueryGetValidatorRequest) Reset

func (m *QueryGetValidatorRequest) Reset()

func (*QueryGetValidatorRequest) Size

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

func (*QueryGetValidatorRequest) String

func (m *QueryGetValidatorRequest) String() string

func (*QueryGetValidatorRequest) Unmarshal

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

func (*QueryGetValidatorRequest) XXX_DiscardUnknown

func (m *QueryGetValidatorRequest) XXX_DiscardUnknown()

func (*QueryGetValidatorRequest) XXX_Marshal

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

func (*QueryGetValidatorRequest) XXX_Merge

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

func (*QueryGetValidatorRequest) XXX_Size

func (m *QueryGetValidatorRequest) XXX_Size() int

func (*QueryGetValidatorRequest) XXX_Unmarshal

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

type QueryGetValidatorResponse

type QueryGetValidatorResponse struct {
	Validator Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator"`
}

func (*QueryGetValidatorResponse) Descriptor

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

func (*QueryGetValidatorResponse) GetValidator

func (m *QueryGetValidatorResponse) GetValidator() Validator

func (*QueryGetValidatorResponse) Marshal

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

func (*QueryGetValidatorResponse) MarshalTo

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

func (*QueryGetValidatorResponse) MarshalToSizedBuffer

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

func (*QueryGetValidatorResponse) ProtoMessage

func (*QueryGetValidatorResponse) ProtoMessage()

func (*QueryGetValidatorResponse) Reset

func (m *QueryGetValidatorResponse) Reset()

func (*QueryGetValidatorResponse) Size

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

func (*QueryGetValidatorResponse) String

func (m *QueryGetValidatorResponse) String() string

func (*QueryGetValidatorResponse) Unmarshal

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

func (*QueryGetValidatorResponse) XXX_DiscardUnknown

func (m *QueryGetValidatorResponse) XXX_DiscardUnknown()

func (*QueryGetValidatorResponse) XXX_Marshal

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

func (*QueryGetValidatorResponse) XXX_Merge

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

func (*QueryGetValidatorResponse) XXX_Size

func (m *QueryGetValidatorResponse) XXX_Size() int

func (*QueryGetValidatorResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// this line is used by starport scaffolding # 2
	// Queries a validator by index.
	Validator(context.Context, *QueryGetValidatorRequest) (*QueryGetValidatorResponse, error)
	// Queries a list of validator items.
	ValidatorAll(context.Context, *QueryAllValidatorRequest) (*QueryAllValidatorResponse, error)
	// Queries a coordinatorByAddress by index.
	CoordinatorByAddress(context.Context, *QueryGetCoordinatorByAddressRequest) (*QueryGetCoordinatorByAddressResponse, error)
	// Queries a coordinator by id.
	Coordinator(context.Context, *QueryGetCoordinatorRequest) (*QueryGetCoordinatorResponse, error)
	// Queries a list of coordinator items.
	CoordinatorAll(context.Context, *QueryAllCoordinatorRequest) (*QueryAllCoordinatorResponse, error)
}

QueryServer is the server API for Query service.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateCoordinator

func (*UnimplementedMsgServer) DeleteCoordinator

func (*UnimplementedMsgServer) DeleteValidator

func (*UnimplementedMsgServer) UpdateCoordinatorAddress

func (*UnimplementedMsgServer) UpdateValidatorDescription

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Coordinator

func (*UnimplementedQueryServer) CoordinatorAll

func (*UnimplementedQueryServer) Validator

func (*UnimplementedQueryServer) ValidatorAll

type Validator

type Validator struct {
	Address     string                `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Description *ValidatorDescription `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
}

func (*Validator) Descriptor

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

func (*Validator) GetAddress

func (m *Validator) GetAddress() string

func (*Validator) GetDescription

func (m *Validator) GetDescription() *ValidatorDescription

func (*Validator) Marshal

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

func (*Validator) MarshalTo

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

func (*Validator) MarshalToSizedBuffer

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

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) Reset

func (m *Validator) Reset()

func (*Validator) Size

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

func (*Validator) String

func (m *Validator) String() string

func (*Validator) Unmarshal

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

func (*Validator) XXX_DiscardUnknown

func (m *Validator) XXX_DiscardUnknown()

func (*Validator) XXX_Marshal

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

func (*Validator) XXX_Merge

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

func (*Validator) XXX_Size

func (m *Validator) XXX_Size() int

func (*Validator) XXX_Unmarshal

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

type ValidatorDescription

type ValidatorDescription struct {
	Identity        string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	Moniker         string `protobuf:"bytes,2,opt,name=moniker,proto3" json:"moniker,omitempty"`
	Website         string `protobuf:"bytes,3,opt,name=website,proto3" json:"website,omitempty"`
	SecurityContact string `protobuf:"bytes,4,opt,name=securityContact,proto3" json:"securityContact,omitempty"`
	Details         string `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"`
}

func (*ValidatorDescription) Descriptor

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

func (*ValidatorDescription) GetDetails

func (m *ValidatorDescription) GetDetails() string

func (*ValidatorDescription) GetIdentity

func (m *ValidatorDescription) GetIdentity() string

func (*ValidatorDescription) GetMoniker

func (m *ValidatorDescription) GetMoniker() string

func (*ValidatorDescription) GetSecurityContact

func (m *ValidatorDescription) GetSecurityContact() string

func (*ValidatorDescription) GetWebsite

func (m *ValidatorDescription) GetWebsite() string

func (*ValidatorDescription) Marshal

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

func (*ValidatorDescription) MarshalTo

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

func (*ValidatorDescription) MarshalToSizedBuffer

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

func (*ValidatorDescription) ProtoMessage

func (*ValidatorDescription) ProtoMessage()

func (*ValidatorDescription) Reset

func (m *ValidatorDescription) Reset()

func (*ValidatorDescription) Size

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

func (*ValidatorDescription) String

func (m *ValidatorDescription) String() string

func (*ValidatorDescription) Unmarshal

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

func (*ValidatorDescription) XXX_DiscardUnknown

func (m *ValidatorDescription) XXX_DiscardUnknown()

func (*ValidatorDescription) XXX_Marshal

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

func (*ValidatorDescription) XXX_Merge

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

func (*ValidatorDescription) XXX_Size

func (m *ValidatorDescription) XXX_Size() int

func (*ValidatorDescription) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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