Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func CoordinatorByAddressKey(address string) []byte
- func KeyPrefix(p string) []byte
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func ValidatorKey(address string) []byte
- type Coordinator
- func (*Coordinator) Descriptor() ([]byte, []int)
- func (m *Coordinator) GetAddress() string
- func (m *Coordinator) GetCoordinatorId() uint64
- func (m *Coordinator) GetDescription() *CoordinatorDescription
- func (m *Coordinator) Marshal() (dAtA []byte, err error)
- func (m *Coordinator) MarshalTo(dAtA []byte) (int, error)
- func (m *Coordinator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Coordinator) ProtoMessage()
- func (m *Coordinator) Reset()
- func (m *Coordinator) Size() (n int)
- func (m *Coordinator) String() string
- func (m *Coordinator) Unmarshal(dAtA []byte) error
- func (m *Coordinator) XXX_DiscardUnknown()
- func (m *Coordinator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Coordinator) XXX_Merge(src proto.Message)
- func (m *Coordinator) XXX_Size() int
- func (m *Coordinator) XXX_Unmarshal(b []byte) error
- type CoordinatorByAddress
- func (*CoordinatorByAddress) Descriptor() ([]byte, []int)
- func (m *CoordinatorByAddress) GetAddress() string
- func (m *CoordinatorByAddress) GetCoordinatorId() uint64
- func (m *CoordinatorByAddress) Marshal() (dAtA []byte, err error)
- func (m *CoordinatorByAddress) MarshalTo(dAtA []byte) (int, error)
- func (m *CoordinatorByAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CoordinatorByAddress) ProtoMessage()
- func (m *CoordinatorByAddress) Reset()
- func (m *CoordinatorByAddress) Size() (n int)
- func (m *CoordinatorByAddress) String() string
- func (m *CoordinatorByAddress) Unmarshal(dAtA []byte) error
- func (m *CoordinatorByAddress) XXX_DiscardUnknown()
- func (m *CoordinatorByAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CoordinatorByAddress) XXX_Merge(src proto.Message)
- func (m *CoordinatorByAddress) XXX_Size() int
- func (m *CoordinatorByAddress) XXX_Unmarshal(b []byte) error
- type CoordinatorDescription
- func (*CoordinatorDescription) Descriptor() ([]byte, []int)
- func (m *CoordinatorDescription) GetDetails() string
- func (m *CoordinatorDescription) GetIdentity() string
- func (m *CoordinatorDescription) GetWebsite() string
- func (m *CoordinatorDescription) Marshal() (dAtA []byte, err error)
- func (m *CoordinatorDescription) MarshalTo(dAtA []byte) (int, error)
- func (m *CoordinatorDescription) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CoordinatorDescription) ProtoMessage()
- func (m *CoordinatorDescription) Reset()
- func (m *CoordinatorDescription) Size() (n int)
- func (m *CoordinatorDescription) String() string
- func (m *CoordinatorDescription) Unmarshal(dAtA []byte) error
- func (m *CoordinatorDescription) XXX_DiscardUnknown()
- func (m *CoordinatorDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CoordinatorDescription) XXX_Merge(src proto.Message)
- func (m *CoordinatorDescription) XXX_Size() int
- func (m *CoordinatorDescription) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetCoordinatorByAddressList() []CoordinatorByAddress
- func (m *GenesisState) GetCoordinatorCount() uint64
- func (m *GenesisState) GetCoordinatorList() []Coordinator
- func (m *GenesisState) GetValidatorList() []Validator
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (gs GenesisState) ValidateCoordinators() error
- func (gs GenesisState) ValidateValidators() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateCoordinator
- func (*MsgCreateCoordinator) Descriptor() ([]byte, []int)
- func (m *MsgCreateCoordinator) GetAddress() string
- func (m *MsgCreateCoordinator) GetDescription() *CoordinatorDescription
- func (msg *MsgCreateCoordinator) GetSignBytes() []byte
- func (msg *MsgCreateCoordinator) GetSigners() []sdk.AccAddress
- func (m *MsgCreateCoordinator) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateCoordinator) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateCoordinator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateCoordinator) ProtoMessage()
- func (m *MsgCreateCoordinator) Reset()
- func (msg *MsgCreateCoordinator) Route() string
- func (m *MsgCreateCoordinator) Size() (n int)
- func (m *MsgCreateCoordinator) String() string
- func (msg *MsgCreateCoordinator) Type() string
- func (m *MsgCreateCoordinator) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateCoordinator) ValidateBasic() error
- func (m *MsgCreateCoordinator) XXX_DiscardUnknown()
- func (m *MsgCreateCoordinator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateCoordinator) XXX_Merge(src proto.Message)
- func (m *MsgCreateCoordinator) XXX_Size() int
- func (m *MsgCreateCoordinator) XXX_Unmarshal(b []byte) error
- type MsgCreateCoordinatorResponse
- func (*MsgCreateCoordinatorResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateCoordinatorResponse) GetCoordinatorId() uint64
- func (m *MsgCreateCoordinatorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateCoordinatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateCoordinatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateCoordinatorResponse) ProtoMessage()
- func (m *MsgCreateCoordinatorResponse) Reset()
- func (m *MsgCreateCoordinatorResponse) Size() (n int)
- func (m *MsgCreateCoordinatorResponse) String() string
- func (m *MsgCreateCoordinatorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateCoordinatorResponse) XXX_DiscardUnknown()
- func (m *MsgCreateCoordinatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateCoordinatorResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateCoordinatorResponse) XXX_Size() int
- func (m *MsgCreateCoordinatorResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteCoordinator
- func (*MsgDeleteCoordinator) Descriptor() ([]byte, []int)
- func (m *MsgDeleteCoordinator) GetAddress() string
- func (msg *MsgDeleteCoordinator) GetSignBytes() []byte
- func (msg *MsgDeleteCoordinator) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteCoordinator) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteCoordinator) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteCoordinator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteCoordinator) ProtoMessage()
- func (m *MsgDeleteCoordinator) Reset()
- func (msg *MsgDeleteCoordinator) Route() string
- func (m *MsgDeleteCoordinator) Size() (n int)
- func (m *MsgDeleteCoordinator) String() string
- func (msg *MsgDeleteCoordinator) Type() string
- func (m *MsgDeleteCoordinator) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteCoordinator) ValidateBasic() error
- func (m *MsgDeleteCoordinator) XXX_DiscardUnknown()
- func (m *MsgDeleteCoordinator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteCoordinator) XXX_Merge(src proto.Message)
- func (m *MsgDeleteCoordinator) XXX_Size() int
- func (m *MsgDeleteCoordinator) XXX_Unmarshal(b []byte) error
- type MsgDeleteCoordinatorResponse
- func (*MsgDeleteCoordinatorResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteCoordinatorResponse) GetCoordinatorId() uint64
- func (m *MsgDeleteCoordinatorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteCoordinatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteCoordinatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteCoordinatorResponse) ProtoMessage()
- func (m *MsgDeleteCoordinatorResponse) Reset()
- func (m *MsgDeleteCoordinatorResponse) Size() (n int)
- func (m *MsgDeleteCoordinatorResponse) String() string
- func (m *MsgDeleteCoordinatorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteCoordinatorResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteCoordinatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteCoordinatorResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteCoordinatorResponse) XXX_Size() int
- func (m *MsgDeleteCoordinatorResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteValidator
- func (*MsgDeleteValidator) Descriptor() ([]byte, []int)
- func (m *MsgDeleteValidator) GetAddress() string
- func (msg *MsgDeleteValidator) GetSignBytes() []byte
- func (msg *MsgDeleteValidator) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteValidator) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteValidator) ProtoMessage()
- func (m *MsgDeleteValidator) Reset()
- func (msg *MsgDeleteValidator) Route() string
- func (m *MsgDeleteValidator) Size() (n int)
- func (m *MsgDeleteValidator) String() string
- func (msg *MsgDeleteValidator) Type() string
- func (m *MsgDeleteValidator) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteValidator) ValidateBasic() error
- func (m *MsgDeleteValidator) XXX_DiscardUnknown()
- func (m *MsgDeleteValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteValidator) XXX_Merge(src proto.Message)
- func (m *MsgDeleteValidator) XXX_Size() int
- func (m *MsgDeleteValidator) XXX_Unmarshal(b []byte) error
- type MsgDeleteValidatorResponse
- func (*MsgDeleteValidatorResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteValidatorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteValidatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteValidatorResponse) ProtoMessage()
- func (m *MsgDeleteValidatorResponse) Reset()
- func (m *MsgDeleteValidatorResponse) Size() (n int)
- func (m *MsgDeleteValidatorResponse) String() string
- func (m *MsgDeleteValidatorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteValidatorResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteValidatorResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteValidatorResponse) XXX_Size() int
- func (m *MsgDeleteValidatorResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateCoordinatorAddress
- func (*MsgUpdateCoordinatorAddress) Descriptor() ([]byte, []int)
- func (m *MsgUpdateCoordinatorAddress) GetAddress() string
- func (m *MsgUpdateCoordinatorAddress) GetNewAddress() string
- func (msg *MsgUpdateCoordinatorAddress) GetSignBytes() []byte
- func (msg *MsgUpdateCoordinatorAddress) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateCoordinatorAddress) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateCoordinatorAddress) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateCoordinatorAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateCoordinatorAddress) ProtoMessage()
- func (m *MsgUpdateCoordinatorAddress) Reset()
- func (msg *MsgUpdateCoordinatorAddress) Route() string
- func (m *MsgUpdateCoordinatorAddress) Size() (n int)
- func (m *MsgUpdateCoordinatorAddress) String() string
- func (msg *MsgUpdateCoordinatorAddress) Type() string
- func (m *MsgUpdateCoordinatorAddress) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateCoordinatorAddress) ValidateBasic() error
- func (m *MsgUpdateCoordinatorAddress) XXX_DiscardUnknown()
- func (m *MsgUpdateCoordinatorAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateCoordinatorAddress) XXX_Merge(src proto.Message)
- func (m *MsgUpdateCoordinatorAddress) XXX_Size() int
- func (m *MsgUpdateCoordinatorAddress) XXX_Unmarshal(b []byte) error
- type MsgUpdateCoordinatorAddressResponse
- func (*MsgUpdateCoordinatorAddressResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateCoordinatorAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateCoordinatorAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateCoordinatorAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateCoordinatorAddressResponse) ProtoMessage()
- func (m *MsgUpdateCoordinatorAddressResponse) Reset()
- func (m *MsgUpdateCoordinatorAddressResponse) Size() (n int)
- func (m *MsgUpdateCoordinatorAddressResponse) String() string
- func (m *MsgUpdateCoordinatorAddressResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateCoordinatorAddressResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateCoordinatorAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateCoordinatorAddressResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateCoordinatorAddressResponse) XXX_Size() int
- func (m *MsgUpdateCoordinatorAddressResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateCoordinatorDescription
- func (*MsgUpdateCoordinatorDescription) Descriptor() ([]byte, []int)
- func (m *MsgUpdateCoordinatorDescription) GetAddress() string
- func (m *MsgUpdateCoordinatorDescription) GetDescription() *CoordinatorDescription
- func (msg *MsgUpdateCoordinatorDescription) GetSignBytes() []byte
- func (msg *MsgUpdateCoordinatorDescription) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateCoordinatorDescription) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateCoordinatorDescription) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateCoordinatorDescription) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateCoordinatorDescription) ProtoMessage()
- func (m *MsgUpdateCoordinatorDescription) Reset()
- func (msg *MsgUpdateCoordinatorDescription) Route() string
- func (m *MsgUpdateCoordinatorDescription) Size() (n int)
- func (m *MsgUpdateCoordinatorDescription) String() string
- func (msg *MsgUpdateCoordinatorDescription) Type() string
- func (m *MsgUpdateCoordinatorDescription) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateCoordinatorDescription) ValidateBasic() error
- func (m *MsgUpdateCoordinatorDescription) XXX_DiscardUnknown()
- func (m *MsgUpdateCoordinatorDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateCoordinatorDescription) XXX_Merge(src proto.Message)
- func (m *MsgUpdateCoordinatorDescription) XXX_Size() int
- func (m *MsgUpdateCoordinatorDescription) XXX_Unmarshal(b []byte) error
- type MsgUpdateCoordinatorDescriptionResponse
- func (*MsgUpdateCoordinatorDescriptionResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateCoordinatorDescriptionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateCoordinatorDescriptionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateCoordinatorDescriptionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateCoordinatorDescriptionResponse) ProtoMessage()
- func (m *MsgUpdateCoordinatorDescriptionResponse) Reset()
- func (m *MsgUpdateCoordinatorDescriptionResponse) Size() (n int)
- func (m *MsgUpdateCoordinatorDescriptionResponse) String() string
- func (m *MsgUpdateCoordinatorDescriptionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateCoordinatorDescriptionResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateCoordinatorDescriptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateCoordinatorDescriptionResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateCoordinatorDescriptionResponse) XXX_Size() int
- func (m *MsgUpdateCoordinatorDescriptionResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateValidatorDescription
- func (*MsgUpdateValidatorDescription) Descriptor() ([]byte, []int)
- func (m *MsgUpdateValidatorDescription) GetAddress() string
- func (m *MsgUpdateValidatorDescription) GetDescription() *ValidatorDescription
- func (msg *MsgUpdateValidatorDescription) GetSignBytes() []byte
- func (msg *MsgUpdateValidatorDescription) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateValidatorDescription) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateValidatorDescription) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateValidatorDescription) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateValidatorDescription) ProtoMessage()
- func (m *MsgUpdateValidatorDescription) Reset()
- func (msg *MsgUpdateValidatorDescription) Route() string
- func (m *MsgUpdateValidatorDescription) Size() (n int)
- func (m *MsgUpdateValidatorDescription) String() string
- func (msg *MsgUpdateValidatorDescription) Type() string
- func (m *MsgUpdateValidatorDescription) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateValidatorDescription) ValidateBasic() error
- func (m *MsgUpdateValidatorDescription) XXX_DiscardUnknown()
- func (m *MsgUpdateValidatorDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateValidatorDescription) XXX_Merge(src proto.Message)
- func (m *MsgUpdateValidatorDescription) XXX_Size() int
- func (m *MsgUpdateValidatorDescription) XXX_Unmarshal(b []byte) error
- type MsgUpdateValidatorDescriptionResponse
- func (*MsgUpdateValidatorDescriptionResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateValidatorDescriptionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateValidatorDescriptionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateValidatorDescriptionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateValidatorDescriptionResponse) ProtoMessage()
- func (m *MsgUpdateValidatorDescriptionResponse) Reset()
- func (m *MsgUpdateValidatorDescriptionResponse) Size() (n int)
- func (m *MsgUpdateValidatorDescriptionResponse) String() string
- func (m *MsgUpdateValidatorDescriptionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateValidatorDescriptionResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateValidatorDescriptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateValidatorDescriptionResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateValidatorDescriptionResponse) XXX_Size() int
- func (m *MsgUpdateValidatorDescriptionResponse) XXX_Unmarshal(b []byte) error
- type QueryAllCoordinatorByAddressRequest
- func (*QueryAllCoordinatorByAddressRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllCoordinatorByAddressRequest) GetPagination() *query.PageRequest
- func (m *QueryAllCoordinatorByAddressRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllCoordinatorByAddressRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllCoordinatorByAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllCoordinatorByAddressRequest) ProtoMessage()
- func (m *QueryAllCoordinatorByAddressRequest) Reset()
- func (m *QueryAllCoordinatorByAddressRequest) Size() (n int)
- func (m *QueryAllCoordinatorByAddressRequest) String() string
- func (m *QueryAllCoordinatorByAddressRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllCoordinatorByAddressRequest) XXX_DiscardUnknown()
- func (m *QueryAllCoordinatorByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllCoordinatorByAddressRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllCoordinatorByAddressRequest) XXX_Size() int
- func (m *QueryAllCoordinatorByAddressRequest) XXX_Unmarshal(b []byte) error
- type QueryAllCoordinatorByAddressResponse
- func (*QueryAllCoordinatorByAddressResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllCoordinatorByAddressResponse) GetCoordinatorByAddress() []CoordinatorByAddress
- func (m *QueryAllCoordinatorByAddressResponse) GetPagination() *query.PageResponse
- func (m *QueryAllCoordinatorByAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllCoordinatorByAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllCoordinatorByAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllCoordinatorByAddressResponse) ProtoMessage()
- func (m *QueryAllCoordinatorByAddressResponse) Reset()
- func (m *QueryAllCoordinatorByAddressResponse) Size() (n int)
- func (m *QueryAllCoordinatorByAddressResponse) String() string
- func (m *QueryAllCoordinatorByAddressResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllCoordinatorByAddressResponse) XXX_DiscardUnknown()
- func (m *QueryAllCoordinatorByAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllCoordinatorByAddressResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllCoordinatorByAddressResponse) XXX_Size() int
- func (m *QueryAllCoordinatorByAddressResponse) XXX_Unmarshal(b []byte) error
- type QueryAllCoordinatorRequest
- func (*QueryAllCoordinatorRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllCoordinatorRequest) GetPagination() *query.PageRequest
- func (m *QueryAllCoordinatorRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllCoordinatorRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllCoordinatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllCoordinatorRequest) ProtoMessage()
- func (m *QueryAllCoordinatorRequest) Reset()
- func (m *QueryAllCoordinatorRequest) Size() (n int)
- func (m *QueryAllCoordinatorRequest) String() string
- func (m *QueryAllCoordinatorRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllCoordinatorRequest) XXX_DiscardUnknown()
- func (m *QueryAllCoordinatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllCoordinatorRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllCoordinatorRequest) XXX_Size() int
- func (m *QueryAllCoordinatorRequest) XXX_Unmarshal(b []byte) error
- type QueryAllCoordinatorResponse
- func (*QueryAllCoordinatorResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllCoordinatorResponse) GetCoordinator() []Coordinator
- func (m *QueryAllCoordinatorResponse) GetPagination() *query.PageResponse
- func (m *QueryAllCoordinatorResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllCoordinatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllCoordinatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllCoordinatorResponse) ProtoMessage()
- func (m *QueryAllCoordinatorResponse) Reset()
- func (m *QueryAllCoordinatorResponse) Size() (n int)
- func (m *QueryAllCoordinatorResponse) String() string
- func (m *QueryAllCoordinatorResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllCoordinatorResponse) XXX_DiscardUnknown()
- func (m *QueryAllCoordinatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllCoordinatorResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllCoordinatorResponse) XXX_Size() int
- func (m *QueryAllCoordinatorResponse) XXX_Unmarshal(b []byte) error
- type QueryAllValidatorRequest
- func (*QueryAllValidatorRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllValidatorRequest) GetPagination() *query.PageRequest
- func (m *QueryAllValidatorRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllValidatorRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllValidatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllValidatorRequest) ProtoMessage()
- func (m *QueryAllValidatorRequest) Reset()
- func (m *QueryAllValidatorRequest) Size() (n int)
- func (m *QueryAllValidatorRequest) String() string
- func (m *QueryAllValidatorRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllValidatorRequest) XXX_DiscardUnknown()
- func (m *QueryAllValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllValidatorRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllValidatorRequest) XXX_Size() int
- func (m *QueryAllValidatorRequest) XXX_Unmarshal(b []byte) error
- type QueryAllValidatorResponse
- func (*QueryAllValidatorResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllValidatorResponse) GetPagination() *query.PageResponse
- func (m *QueryAllValidatorResponse) GetValidator() []Validator
- func (m *QueryAllValidatorResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllValidatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllValidatorResponse) ProtoMessage()
- func (m *QueryAllValidatorResponse) Reset()
- func (m *QueryAllValidatorResponse) Size() (n int)
- func (m *QueryAllValidatorResponse) String() string
- func (m *QueryAllValidatorResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllValidatorResponse) XXX_DiscardUnknown()
- func (m *QueryAllValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllValidatorResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllValidatorResponse) XXX_Size() int
- func (m *QueryAllValidatorResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetCoordinatorByAddressRequest
- func (*QueryGetCoordinatorByAddressRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetCoordinatorByAddressRequest) GetAddress() string
- func (m *QueryGetCoordinatorByAddressRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetCoordinatorByAddressRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetCoordinatorByAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetCoordinatorByAddressRequest) ProtoMessage()
- func (m *QueryGetCoordinatorByAddressRequest) Reset()
- func (m *QueryGetCoordinatorByAddressRequest) Size() (n int)
- func (m *QueryGetCoordinatorByAddressRequest) String() string
- func (m *QueryGetCoordinatorByAddressRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetCoordinatorByAddressRequest) XXX_DiscardUnknown()
- func (m *QueryGetCoordinatorByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetCoordinatorByAddressRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetCoordinatorByAddressRequest) XXX_Size() int
- func (m *QueryGetCoordinatorByAddressRequest) XXX_Unmarshal(b []byte) error
- type QueryGetCoordinatorByAddressResponse
- func (*QueryGetCoordinatorByAddressResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetCoordinatorByAddressResponse) GetCoordinatorByAddress() CoordinatorByAddress
- func (m *QueryGetCoordinatorByAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetCoordinatorByAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetCoordinatorByAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetCoordinatorByAddressResponse) ProtoMessage()
- func (m *QueryGetCoordinatorByAddressResponse) Reset()
- func (m *QueryGetCoordinatorByAddressResponse) Size() (n int)
- func (m *QueryGetCoordinatorByAddressResponse) String() string
- func (m *QueryGetCoordinatorByAddressResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetCoordinatorByAddressResponse) XXX_DiscardUnknown()
- func (m *QueryGetCoordinatorByAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetCoordinatorByAddressResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetCoordinatorByAddressResponse) XXX_Size() int
- func (m *QueryGetCoordinatorByAddressResponse) XXX_Unmarshal(b []byte) error
- type QueryGetCoordinatorRequest
- func (*QueryGetCoordinatorRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetCoordinatorRequest) GetId() uint64
- func (m *QueryGetCoordinatorRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetCoordinatorRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetCoordinatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetCoordinatorRequest) ProtoMessage()
- func (m *QueryGetCoordinatorRequest) Reset()
- func (m *QueryGetCoordinatorRequest) Size() (n int)
- func (m *QueryGetCoordinatorRequest) String() string
- func (m *QueryGetCoordinatorRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetCoordinatorRequest) XXX_DiscardUnknown()
- func (m *QueryGetCoordinatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetCoordinatorRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetCoordinatorRequest) XXX_Size() int
- func (m *QueryGetCoordinatorRequest) XXX_Unmarshal(b []byte) error
- type QueryGetCoordinatorResponse
- func (*QueryGetCoordinatorResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetCoordinatorResponse) GetCoordinator() Coordinator
- func (m *QueryGetCoordinatorResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetCoordinatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetCoordinatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetCoordinatorResponse) ProtoMessage()
- func (m *QueryGetCoordinatorResponse) Reset()
- func (m *QueryGetCoordinatorResponse) Size() (n int)
- func (m *QueryGetCoordinatorResponse) String() string
- func (m *QueryGetCoordinatorResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetCoordinatorResponse) XXX_DiscardUnknown()
- func (m *QueryGetCoordinatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetCoordinatorResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetCoordinatorResponse) XXX_Size() int
- func (m *QueryGetCoordinatorResponse) XXX_Unmarshal(b []byte) error
- type QueryGetValidatorRequest
- func (*QueryGetValidatorRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetValidatorRequest) GetAddress() string
- func (m *QueryGetValidatorRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetValidatorRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetValidatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetValidatorRequest) ProtoMessage()
- func (m *QueryGetValidatorRequest) Reset()
- func (m *QueryGetValidatorRequest) Size() (n int)
- func (m *QueryGetValidatorRequest) String() string
- func (m *QueryGetValidatorRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetValidatorRequest) XXX_DiscardUnknown()
- func (m *QueryGetValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetValidatorRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetValidatorRequest) XXX_Size() int
- func (m *QueryGetValidatorRequest) XXX_Unmarshal(b []byte) error
- type QueryGetValidatorResponse
- func (*QueryGetValidatorResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetValidatorResponse) GetValidator() Validator
- func (m *QueryGetValidatorResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetValidatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetValidatorResponse) ProtoMessage()
- func (m *QueryGetValidatorResponse) Reset()
- func (m *QueryGetValidatorResponse) Size() (n int)
- func (m *QueryGetValidatorResponse) String() string
- func (m *QueryGetValidatorResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetValidatorResponse) XXX_DiscardUnknown()
- func (m *QueryGetValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetValidatorResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetValidatorResponse) XXX_Size() int
- func (m *QueryGetValidatorResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreateCoordinator(ctx context.Context, req *MsgCreateCoordinator) (*MsgCreateCoordinatorResponse, error)
- func (*UnimplementedMsgServer) DeleteCoordinator(ctx context.Context, req *MsgDeleteCoordinator) (*MsgDeleteCoordinatorResponse, error)
- func (*UnimplementedMsgServer) DeleteValidator(ctx context.Context, req *MsgDeleteValidator) (*MsgDeleteValidatorResponse, error)
- func (*UnimplementedMsgServer) UpdateCoordinatorAddress(ctx context.Context, req *MsgUpdateCoordinatorAddress) (*MsgUpdateCoordinatorAddressResponse, error)
- func (*UnimplementedMsgServer) UpdateCoordinatorDescription(ctx context.Context, req *MsgUpdateCoordinatorDescription) (*MsgUpdateCoordinatorDescriptionResponse, error)
- func (*UnimplementedMsgServer) UpdateValidatorDescription(ctx context.Context, req *MsgUpdateValidatorDescription) (*MsgUpdateValidatorDescriptionResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Coordinator(ctx context.Context, req *QueryGetCoordinatorRequest) (*QueryGetCoordinatorResponse, error)
- func (*UnimplementedQueryServer) CoordinatorAll(ctx context.Context, req *QueryAllCoordinatorRequest) (*QueryAllCoordinatorResponse, error)
- func (*UnimplementedQueryServer) CoordinatorByAddress(ctx context.Context, req *QueryGetCoordinatorByAddressRequest) (*QueryGetCoordinatorByAddressResponse, error)
- func (*UnimplementedQueryServer) Validator(ctx context.Context, req *QueryGetValidatorRequest) (*QueryGetValidatorResponse, error)
- func (*UnimplementedQueryServer) ValidatorAll(ctx context.Context, req *QueryAllValidatorRequest) (*QueryAllValidatorResponse, error)
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)
- func (m *Validator) GetAddress() string
- func (m *Validator) GetDescription() *ValidatorDescription
- func (m *Validator) Marshal() (dAtA []byte, err error)
- func (m *Validator) MarshalTo(dAtA []byte) (int, error)
- func (m *Validator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Validator) ProtoMessage()
- func (m *Validator) Reset()
- func (m *Validator) Size() (n int)
- func (m *Validator) String() string
- func (m *Validator) Unmarshal(dAtA []byte) error
- func (m *Validator) XXX_DiscardUnknown()
- func (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Validator) XXX_Merge(src proto.Message)
- func (m *Validator) XXX_Size() int
- func (m *Validator) XXX_Unmarshal(b []byte) error
- type ValidatorDescription
- func (*ValidatorDescription) Descriptor() ([]byte, []int)
- func (m *ValidatorDescription) GetDetails() string
- func (m *ValidatorDescription) GetIdentity() string
- func (m *ValidatorDescription) GetMoniker() string
- func (m *ValidatorDescription) GetSecurityContact() string
- func (m *ValidatorDescription) GetWebsite() string
- func (m *ValidatorDescription) Marshal() (dAtA []byte, err error)
- func (m *ValidatorDescription) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorDescription) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorDescription) ProtoMessage()
- func (m *ValidatorDescription) Reset()
- func (m *ValidatorDescription) Size() (n int)
- func (m *ValidatorDescription) String() string
- func (m *ValidatorDescription) Unmarshal(dAtA []byte) error
- func (m *ValidatorDescription) XXX_DiscardUnknown()
- func (m *ValidatorDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorDescription) XXX_Merge(src proto.Message)
- func (m *ValidatorDescription) XXX_Size() int
- func (m *ValidatorDescription) XXX_Unmarshal(b []byte) error
Constants ¶
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" )
const ( CoordinatorKey = "Coordinator-value-" CoordinatorCountKey = "Coordinator-count-" )
const (
// CoordinatorByAddressKeyPrefix is the prefix to retrieve all CoordinatorByAddress
CoordinatorByAddressKeyPrefix = "CoordinatorByAddress/value/"
)
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const (
// ValidatorKeyPrefix is the prefix to retrieve all Validator
ValidatorKeyPrefix = "Validator/value/"
)
Variables ¶
var ( ErrInvalidLengthCoordinator = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCoordinator = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCoordinator = fmt.Errorf("proto: unexpected end of group") )
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
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthValidator = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowValidator = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupValidator = fmt.Errorf("proto: unexpected end of group") )
var (
ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry())
)
Functions ¶
func CoordinatorByAddressKey ¶
CoordinatorByAddressKey returns the store key to retrieve a CoordinatorByAddress from the index fields
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
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 ¶
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) 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) 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 (m *MsgCreateCoordinatorResponse) String() 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 (m *MsgDeleteCoordinatorResponse) String() 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 ¶
type MsgServer interface { // this line is used by starport scaffolding # proto/tx/rpc DeleteValidator(context.Context, *MsgDeleteValidator) (*MsgDeleteValidatorResponse, error) UpdateValidatorDescription(context.Context, *MsgUpdateValidatorDescription) (*MsgUpdateValidatorDescriptionResponse, error) CreateCoordinator(context.Context, *MsgCreateCoordinator) (*MsgCreateCoordinatorResponse, error) DeleteCoordinator(context.Context, *MsgDeleteCoordinator) (*MsgDeleteCoordinatorResponse, error) UpdateCoordinatorAddress(context.Context, *MsgUpdateCoordinatorAddress) (*MsgUpdateCoordinatorAddressResponse, error) UpdateCoordinatorDescription(context.Context, *MsgUpdateCoordinatorDescription) (*MsgUpdateCoordinatorDescriptionResponse, error) }
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 (m *MsgUpdateCoordinatorAddressResponse) Reset()
func (*MsgUpdateCoordinatorAddressResponse) Size ¶
func (m *MsgUpdateCoordinatorAddressResponse) Size() (n int)
func (*MsgUpdateCoordinatorAddressResponse) String ¶
func (m *MsgUpdateCoordinatorAddressResponse) String() 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 (m *MsgUpdateCoordinatorAddressResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateCoordinatorAddressResponse) XXX_Size ¶
func (m *MsgUpdateCoordinatorAddressResponse) XXX_Size() int
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 (m *MsgUpdateCoordinatorDescription) GetDescription() *CoordinatorDescription
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 (m *MsgUpdateCoordinatorDescription) Reset()
func (*MsgUpdateCoordinatorDescription) Route ¶
func (msg *MsgUpdateCoordinatorDescription) Route() string
func (*MsgUpdateCoordinatorDescription) Size ¶
func (m *MsgUpdateCoordinatorDescription) Size() (n int)
func (*MsgUpdateCoordinatorDescription) String ¶
func (m *MsgUpdateCoordinatorDescription) String() string
func (*MsgUpdateCoordinatorDescription) Type ¶
func (msg *MsgUpdateCoordinatorDescription) Type() string
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) ProtoMessage()
func (*MsgUpdateCoordinatorDescriptionResponse) Reset ¶
func (m *MsgUpdateCoordinatorDescriptionResponse) Reset()
func (*MsgUpdateCoordinatorDescriptionResponse) Size ¶
func (m *MsgUpdateCoordinatorDescriptionResponse) Size() (n int)
func (*MsgUpdateCoordinatorDescriptionResponse) String ¶
func (m *MsgUpdateCoordinatorDescriptionResponse) String() 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 (m *MsgUpdateCoordinatorDescriptionResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateCoordinatorDescriptionResponse) XXX_Size ¶
func (m *MsgUpdateCoordinatorDescriptionResponse) XXX_Size() int
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 (*MsgUpdateValidatorDescription) Descriptor ¶
func (*MsgUpdateValidatorDescription) Descriptor() ([]byte, []int)
func (*MsgUpdateValidatorDescription) GetAddress ¶
func (m *MsgUpdateValidatorDescription) GetAddress() string
func (*MsgUpdateValidatorDescription) GetDescription ¶
func (m *MsgUpdateValidatorDescription) GetDescription() *ValidatorDescription
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 (msg *MsgUpdateValidatorDescription) Route() string
func (*MsgUpdateValidatorDescription) Size ¶
func (m *MsgUpdateValidatorDescription) Size() (n int)
func (*MsgUpdateValidatorDescription) String ¶
func (m *MsgUpdateValidatorDescription) String() string
func (*MsgUpdateValidatorDescription) Type ¶
func (msg *MsgUpdateValidatorDescription) Type() string
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 (m *MsgUpdateValidatorDescriptionResponse) Reset()
func (*MsgUpdateValidatorDescriptionResponse) Size ¶
func (m *MsgUpdateValidatorDescriptionResponse) Size() (n int)
func (*MsgUpdateValidatorDescriptionResponse) String ¶
func (m *MsgUpdateValidatorDescriptionResponse) String() 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 (m *MsgUpdateValidatorDescriptionResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateValidatorDescriptionResponse) XXX_Size ¶
func (m *MsgUpdateValidatorDescriptionResponse) XXX_Size() int
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 (m *QueryAllCoordinatorByAddressRequest) GetPagination() *query.PageRequest
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 (m *QueryAllCoordinatorByAddressRequest) Reset()
func (*QueryAllCoordinatorByAddressRequest) Size ¶
func (m *QueryAllCoordinatorByAddressRequest) Size() (n int)
func (*QueryAllCoordinatorByAddressRequest) String ¶
func (m *QueryAllCoordinatorByAddressRequest) String() 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 (m *QueryAllCoordinatorByAddressRequest) XXX_Merge(src proto.Message)
func (*QueryAllCoordinatorByAddressRequest) XXX_Size ¶
func (m *QueryAllCoordinatorByAddressRequest) XXX_Size() int
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 (m *QueryAllCoordinatorByAddressResponse) GetPagination() *query.PageResponse
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 (m *QueryAllCoordinatorByAddressResponse) Reset()
func (*QueryAllCoordinatorByAddressResponse) Size ¶
func (m *QueryAllCoordinatorByAddressResponse) Size() (n int)
func (*QueryAllCoordinatorByAddressResponse) String ¶
func (m *QueryAllCoordinatorByAddressResponse) String() 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 (m *QueryAllCoordinatorByAddressResponse) XXX_Merge(src proto.Message)
func (*QueryAllCoordinatorByAddressResponse) XXX_Size ¶
func (m *QueryAllCoordinatorByAddressResponse) XXX_Size() int
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 (m *QueryGetCoordinatorByAddressRequest) GetAddress() string
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 (m *QueryGetCoordinatorByAddressRequest) Reset()
func (*QueryGetCoordinatorByAddressRequest) Size ¶
func (m *QueryGetCoordinatorByAddressRequest) Size() (n int)
func (*QueryGetCoordinatorByAddressRequest) String ¶
func (m *QueryGetCoordinatorByAddressRequest) String() 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 (m *QueryGetCoordinatorByAddressRequest) XXX_Merge(src proto.Message)
func (*QueryGetCoordinatorByAddressRequest) XXX_Size ¶
func (m *QueryGetCoordinatorByAddressRequest) XXX_Size() int
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 (m *QueryGetCoordinatorByAddressResponse) Reset()
func (*QueryGetCoordinatorByAddressResponse) Size ¶
func (m *QueryGetCoordinatorByAddressResponse) Size() (n int)
func (*QueryGetCoordinatorByAddressResponse) String ¶
func (m *QueryGetCoordinatorByAddressResponse) String() 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 (m *QueryGetCoordinatorByAddressResponse) XXX_Merge(src proto.Message)
func (*QueryGetCoordinatorByAddressResponse) XXX_Size ¶
func (m *QueryGetCoordinatorByAddressResponse) XXX_Size() int
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 (m *QueryGetCoordinatorRequest) GetId() uint64
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) CreateCoordinator(ctx context.Context, req *MsgCreateCoordinator) (*MsgCreateCoordinatorResponse, error)
func (*UnimplementedMsgServer) DeleteCoordinator ¶
func (*UnimplementedMsgServer) DeleteCoordinator(ctx context.Context, req *MsgDeleteCoordinator) (*MsgDeleteCoordinatorResponse, error)
func (*UnimplementedMsgServer) DeleteValidator ¶
func (*UnimplementedMsgServer) DeleteValidator(ctx context.Context, req *MsgDeleteValidator) (*MsgDeleteValidatorResponse, error)
func (*UnimplementedMsgServer) UpdateCoordinatorAddress ¶
func (*UnimplementedMsgServer) UpdateCoordinatorAddress(ctx context.Context, req *MsgUpdateCoordinatorAddress) (*MsgUpdateCoordinatorAddressResponse, error)
func (*UnimplementedMsgServer) UpdateCoordinatorDescription ¶
func (*UnimplementedMsgServer) UpdateCoordinatorDescription(ctx context.Context, req *MsgUpdateCoordinatorDescription) (*MsgUpdateCoordinatorDescriptionResponse, error)
func (*UnimplementedMsgServer) UpdateValidatorDescription ¶
func (*UnimplementedMsgServer) UpdateValidatorDescription(ctx context.Context, req *MsgUpdateValidatorDescription) (*MsgUpdateValidatorDescriptionResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Coordinator ¶
func (*UnimplementedQueryServer) Coordinator(ctx context.Context, req *QueryGetCoordinatorRequest) (*QueryGetCoordinatorResponse, error)
func (*UnimplementedQueryServer) CoordinatorAll ¶
func (*UnimplementedQueryServer) CoordinatorAll(ctx context.Context, req *QueryAllCoordinatorRequest) (*QueryAllCoordinatorResponse, error)
func (*UnimplementedQueryServer) CoordinatorByAddress ¶
func (*UnimplementedQueryServer) CoordinatorByAddress(ctx context.Context, req *QueryGetCoordinatorByAddressRequest) (*QueryGetCoordinatorByAddressResponse, error)
func (*UnimplementedQueryServer) Validator ¶
func (*UnimplementedQueryServer) Validator(ctx context.Context, req *QueryGetValidatorRequest) (*QueryGetValidatorResponse, error)
func (*UnimplementedQueryServer) ValidatorAll ¶
func (*UnimplementedQueryServer) ValidatorAll(ctx context.Context, req *QueryAllValidatorRequest) (*QueryAllValidatorResponse, error)
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) GetAddress ¶
func (*Validator) GetDescription ¶
func (m *Validator) GetDescription() *ValidatorDescription
func (*Validator) MarshalToSizedBuffer ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) XXX_DiscardUnknown ¶
func (m *Validator) XXX_DiscardUnknown()
func (*Validator) XXX_Marshal ¶
func (*Validator) XXX_Unmarshal ¶
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
Source Files ¶
- codec.go
- coordinator.pb.go
- errors.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- key_coordinator_by_address.go
- key_validator.go
- keys.go
- message_create_coordinator.go
- message_delete_coordinator.go
- message_delete_validator.go
- message_update_coordinator_address.go
- message_update_coordinator_description.go
- message_update_validator_description.go
- query.pb.go
- query.pb.gw.go
- tx.pb.go
- types.go
- validator.pb.go