Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func DisabledValidatorKey(address string) []byte
- func ErrPoolIsFull() error
- func KeyPrefix(p string) []byte
- func LastValidatorPowerKey(owner sdk.ValAddress) []byte
- func MustMarshalValidator(cdc codec.BinaryCodec, validator *Validator) []byte
- func NewErrDisabledValidatorAlreadyExists(name interface{}) error
- func NewErrDisabledValidatorDoesNotExist(name interface{}) error
- func NewErrProposedDisableValidatorAlreadyExists(name interface{}) error
- func NewErrProposedDisableValidatorDoesNotExist(name interface{}) error
- func ProposedDisableValidatorKey(address 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 RejectedNodeKey(owner sdk.ValAddress) []byte
- func ValidatorByConsAddrKey(addr sdk.ConsAddress) []byte
- func ValidatorKey(owner sdk.ValAddress) []byte
- type DclauthKeeper
- type Description
- func (*Description) Descriptor() ([]byte, []int)
- func (this *Description) Equal(that interface{}) bool
- func (m *Description) GetDetails() string
- func (m *Description) GetIdentity() string
- func (m *Description) GetMoniker() string
- func (m *Description) GetWebsite() string
- func (m *Description) Marshal() (dAtA []byte, err error)
- func (m *Description) MarshalTo(dAtA []byte) (int, error)
- func (m *Description) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Description) ProtoMessage()
- func (m *Description) Reset()
- func (m *Description) Size() (n int)
- func (d Description) String() string
- func (m *Description) Unmarshal(dAtA []byte) error
- func (d Description) Validate() error
- func (m *Description) XXX_DiscardUnknown()
- func (m *Description) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Description) XXX_Merge(src proto.Message)
- func (m *Description) XXX_Size() int
- func (m *Description) XXX_Unmarshal(b []byte) error
- type DisabledValidator
- func (*DisabledValidator) Descriptor() ([]byte, []int)
- func (m *DisabledValidator) GetAddress() string
- func (m *DisabledValidator) GetApprovals() []*Grant
- func (m *DisabledValidator) GetCreator() string
- func (m *DisabledValidator) GetDisabledByNodeAdmin() bool
- func (m *DisabledValidator) GetRejects() []*Grant
- func (m *DisabledValidator) Marshal() (dAtA []byte, err error)
- func (m *DisabledValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *DisabledValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DisabledValidator) ProtoMessage()
- func (m *DisabledValidator) Reset()
- func (m *DisabledValidator) Size() (n int)
- func (m *DisabledValidator) String() string
- func (m *DisabledValidator) Unmarshal(dAtA []byte) error
- func (m *DisabledValidator) XXX_DiscardUnknown()
- func (m *DisabledValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DisabledValidator) XXX_Merge(src proto.Message)
- func (m *DisabledValidator) XXX_Size() int
- func (m *DisabledValidator) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetDisabledValidatorList() []DisabledValidator
- func (m *GenesisState) GetLastValidatorPowerList() []LastValidatorPower
- func (m *GenesisState) GetProposedDisableValidatorList() []ProposedDisableValidator
- func (m *GenesisState) GetRejectedValidatorList() []RejectedDisableValidator
- 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 (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 Grant
- func (*Grant) Descriptor() ([]byte, []int)
- func (m *Grant) GetAddress() string
- func (m *Grant) GetInfo() string
- func (m *Grant) GetTime() int64
- func (m *Grant) Marshal() (dAtA []byte, err error)
- func (m *Grant) MarshalTo(dAtA []byte) (int, error)
- func (m *Grant) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Grant) ProtoMessage()
- func (m *Grant) Reset()
- func (m *Grant) Size() (n int)
- func (m *Grant) String() string
- func (m *Grant) Unmarshal(dAtA []byte) error
- func (m *Grant) XXX_DiscardUnknown()
- func (m *Grant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Grant) XXX_Merge(src proto.Message)
- func (m *Grant) XXX_Size() int
- func (m *Grant) XXX_Unmarshal(b []byte) error
- type LastValidatorPower
- func (*LastValidatorPower) Descriptor() ([]byte, []int)
- func (vp LastValidatorPower) GetOwner() sdk.ValAddress
- func (vp LastValidatorPower) GetPower() int32
- func (m *LastValidatorPower) Marshal() (dAtA []byte, err error)
- func (m *LastValidatorPower) MarshalTo(dAtA []byte) (int, error)
- func (m *LastValidatorPower) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LastValidatorPower) ProtoMessage()
- func (m *LastValidatorPower) Reset()
- func (m *LastValidatorPower) Size() (n int)
- func (vp LastValidatorPower) String() string
- func (m *LastValidatorPower) Unmarshal(dAtA []byte) error
- func (m *LastValidatorPower) XXX_DiscardUnknown()
- func (m *LastValidatorPower) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LastValidatorPower) XXX_Merge(src proto.Message)
- func (m *LastValidatorPower) XXX_Size() int
- func (m *LastValidatorPower) XXX_Unmarshal(b []byte) error
- type MsgApproveDisableValidator
- func (*MsgApproveDisableValidator) Descriptor() ([]byte, []int)
- func (m *MsgApproveDisableValidator) GetAddress() string
- func (m *MsgApproveDisableValidator) GetCreator() string
- func (m *MsgApproveDisableValidator) GetInfo() string
- func (msg *MsgApproveDisableValidator) GetSignBytes() []byte
- func (msg *MsgApproveDisableValidator) GetSigners() []sdk.AccAddress
- func (m *MsgApproveDisableValidator) GetTime() int64
- func (m *MsgApproveDisableValidator) Marshal() (dAtA []byte, err error)
- func (m *MsgApproveDisableValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgApproveDisableValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgApproveDisableValidator) ProtoMessage()
- func (m *MsgApproveDisableValidator) Reset()
- func (msg *MsgApproveDisableValidator) Route() string
- func (m *MsgApproveDisableValidator) Size() (n int)
- func (m *MsgApproveDisableValidator) String() string
- func (msg *MsgApproveDisableValidator) Type() string
- func (m *MsgApproveDisableValidator) Unmarshal(dAtA []byte) error
- func (msg *MsgApproveDisableValidator) ValidateBasic() error
- func (m *MsgApproveDisableValidator) XXX_DiscardUnknown()
- func (m *MsgApproveDisableValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgApproveDisableValidator) XXX_Merge(src proto.Message)
- func (m *MsgApproveDisableValidator) XXX_Size() int
- func (m *MsgApproveDisableValidator) XXX_Unmarshal(b []byte) error
- type MsgApproveDisableValidatorResponse
- func (*MsgApproveDisableValidatorResponse) Descriptor() ([]byte, []int)
- func (m *MsgApproveDisableValidatorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgApproveDisableValidatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgApproveDisableValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgApproveDisableValidatorResponse) ProtoMessage()
- func (m *MsgApproveDisableValidatorResponse) Reset()
- func (m *MsgApproveDisableValidatorResponse) Size() (n int)
- func (m *MsgApproveDisableValidatorResponse) String() string
- func (m *MsgApproveDisableValidatorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgApproveDisableValidatorResponse) XXX_DiscardUnknown()
- func (m *MsgApproveDisableValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgApproveDisableValidatorResponse) XXX_Merge(src proto.Message)
- func (m *MsgApproveDisableValidatorResponse) XXX_Size() int
- func (m *MsgApproveDisableValidatorResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateValidator
- func (*MsgCreateValidator) Descriptor() ([]byte, []int)
- func (msg *MsgCreateValidator) GetSignBytes() []byte
- func (msg *MsgCreateValidator) GetSigners() []sdk.AccAddress
- func (m *MsgCreateValidator) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateValidator) ProtoMessage()
- func (m *MsgCreateValidator) Reset()
- func (msg *MsgCreateValidator) Route() string
- func (m *MsgCreateValidator) Size() (n int)
- func (m *MsgCreateValidator) String() string
- func (msg *MsgCreateValidator) Type() string
- func (m *MsgCreateValidator) Unmarshal(dAtA []byte) error
- func (msg MsgCreateValidator) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (msg *MsgCreateValidator) ValidateBasic() error
- func (m *MsgCreateValidator) XXX_DiscardUnknown()
- func (m *MsgCreateValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateValidator) XXX_Merge(src proto.Message)
- func (m *MsgCreateValidator) XXX_Size() int
- func (m *MsgCreateValidator) XXX_Unmarshal(b []byte) error
- type MsgCreateValidatorResponse
- func (*MsgCreateValidatorResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateValidatorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateValidatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateValidatorResponse) ProtoMessage()
- func (m *MsgCreateValidatorResponse) Reset()
- func (m *MsgCreateValidatorResponse) Size() (n int)
- func (m *MsgCreateValidatorResponse) String() string
- func (m *MsgCreateValidatorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateValidatorResponse) XXX_DiscardUnknown()
- func (m *MsgCreateValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateValidatorResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateValidatorResponse) XXX_Size() int
- func (m *MsgCreateValidatorResponse) XXX_Unmarshal(b []byte) error
- type MsgDisableValidator
- func (*MsgDisableValidator) Descriptor() ([]byte, []int)
- func (m *MsgDisableValidator) GetCreator() string
- func (msg *MsgDisableValidator) GetSignBytes() []byte
- func (msg *MsgDisableValidator) GetSigners() []sdk.AccAddress
- func (m *MsgDisableValidator) Marshal() (dAtA []byte, err error)
- func (m *MsgDisableValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDisableValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDisableValidator) ProtoMessage()
- func (m *MsgDisableValidator) Reset()
- func (msg *MsgDisableValidator) Route() string
- func (m *MsgDisableValidator) Size() (n int)
- func (m *MsgDisableValidator) String() string
- func (msg *MsgDisableValidator) Type() string
- func (m *MsgDisableValidator) Unmarshal(dAtA []byte) error
- func (msg *MsgDisableValidator) ValidateBasic() error
- func (m *MsgDisableValidator) XXX_DiscardUnknown()
- func (m *MsgDisableValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDisableValidator) XXX_Merge(src proto.Message)
- func (m *MsgDisableValidator) XXX_Size() int
- func (m *MsgDisableValidator) XXX_Unmarshal(b []byte) error
- type MsgDisableValidatorResponse
- func (*MsgDisableValidatorResponse) Descriptor() ([]byte, []int)
- func (m *MsgDisableValidatorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDisableValidatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDisableValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDisableValidatorResponse) ProtoMessage()
- func (m *MsgDisableValidatorResponse) Reset()
- func (m *MsgDisableValidatorResponse) Size() (n int)
- func (m *MsgDisableValidatorResponse) String() string
- func (m *MsgDisableValidatorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDisableValidatorResponse) XXX_DiscardUnknown()
- func (m *MsgDisableValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDisableValidatorResponse) XXX_Merge(src proto.Message)
- func (m *MsgDisableValidatorResponse) XXX_Size() int
- func (m *MsgDisableValidatorResponse) XXX_Unmarshal(b []byte) error
- type MsgEnableValidator
- func (*MsgEnableValidator) Descriptor() ([]byte, []int)
- func (m *MsgEnableValidator) GetCreator() string
- func (msg *MsgEnableValidator) GetSignBytes() []byte
- func (msg *MsgEnableValidator) GetSigners() []sdk.AccAddress
- func (m *MsgEnableValidator) Marshal() (dAtA []byte, err error)
- func (m *MsgEnableValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEnableValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEnableValidator) ProtoMessage()
- func (m *MsgEnableValidator) Reset()
- func (msg *MsgEnableValidator) Route() string
- func (m *MsgEnableValidator) Size() (n int)
- func (m *MsgEnableValidator) String() string
- func (msg *MsgEnableValidator) Type() string
- func (m *MsgEnableValidator) Unmarshal(dAtA []byte) error
- func (msg *MsgEnableValidator) ValidateBasic() error
- func (m *MsgEnableValidator) XXX_DiscardUnknown()
- func (m *MsgEnableValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEnableValidator) XXX_Merge(src proto.Message)
- func (m *MsgEnableValidator) XXX_Size() int
- func (m *MsgEnableValidator) XXX_Unmarshal(b []byte) error
- type MsgEnableValidatorResponse
- func (*MsgEnableValidatorResponse) Descriptor() ([]byte, []int)
- func (m *MsgEnableValidatorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgEnableValidatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEnableValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEnableValidatorResponse) ProtoMessage()
- func (m *MsgEnableValidatorResponse) Reset()
- func (m *MsgEnableValidatorResponse) Size() (n int)
- func (m *MsgEnableValidatorResponse) String() string
- func (m *MsgEnableValidatorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgEnableValidatorResponse) XXX_DiscardUnknown()
- func (m *MsgEnableValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEnableValidatorResponse) XXX_Merge(src proto.Message)
- func (m *MsgEnableValidatorResponse) XXX_Size() int
- func (m *MsgEnableValidatorResponse) XXX_Unmarshal(b []byte) error
- type MsgProposeDisableValidator
- func (*MsgProposeDisableValidator) Descriptor() ([]byte, []int)
- func (m *MsgProposeDisableValidator) GetAddress() string
- func (m *MsgProposeDisableValidator) GetCreator() string
- func (m *MsgProposeDisableValidator) GetInfo() string
- func (msg *MsgProposeDisableValidator) GetSignBytes() []byte
- func (msg *MsgProposeDisableValidator) GetSigners() []sdk.AccAddress
- func (m *MsgProposeDisableValidator) GetTime() int64
- func (m *MsgProposeDisableValidator) Marshal() (dAtA []byte, err error)
- func (m *MsgProposeDisableValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgProposeDisableValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgProposeDisableValidator) ProtoMessage()
- func (m *MsgProposeDisableValidator) Reset()
- func (msg *MsgProposeDisableValidator) Route() string
- func (m *MsgProposeDisableValidator) Size() (n int)
- func (m *MsgProposeDisableValidator) String() string
- func (msg *MsgProposeDisableValidator) Type() string
- func (m *MsgProposeDisableValidator) Unmarshal(dAtA []byte) error
- func (msg *MsgProposeDisableValidator) ValidateBasic() error
- func (m *MsgProposeDisableValidator) XXX_DiscardUnknown()
- func (m *MsgProposeDisableValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgProposeDisableValidator) XXX_Merge(src proto.Message)
- func (m *MsgProposeDisableValidator) XXX_Size() int
- func (m *MsgProposeDisableValidator) XXX_Unmarshal(b []byte) error
- type MsgProposeDisableValidatorResponse
- func (*MsgProposeDisableValidatorResponse) Descriptor() ([]byte, []int)
- func (m *MsgProposeDisableValidatorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgProposeDisableValidatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgProposeDisableValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgProposeDisableValidatorResponse) ProtoMessage()
- func (m *MsgProposeDisableValidatorResponse) Reset()
- func (m *MsgProposeDisableValidatorResponse) Size() (n int)
- func (m *MsgProposeDisableValidatorResponse) String() string
- func (m *MsgProposeDisableValidatorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgProposeDisableValidatorResponse) XXX_DiscardUnknown()
- func (m *MsgProposeDisableValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgProposeDisableValidatorResponse) XXX_Merge(src proto.Message)
- func (m *MsgProposeDisableValidatorResponse) XXX_Size() int
- func (m *MsgProposeDisableValidatorResponse) XXX_Unmarshal(b []byte) error
- type MsgRejectDisableValidator
- func (*MsgRejectDisableValidator) Descriptor() ([]byte, []int)
- func (m *MsgRejectDisableValidator) GetAddress() string
- func (m *MsgRejectDisableValidator) GetCreator() string
- func (m *MsgRejectDisableValidator) GetInfo() string
- func (msg *MsgRejectDisableValidator) GetSignBytes() []byte
- func (msg *MsgRejectDisableValidator) GetSigners() []sdk.AccAddress
- func (m *MsgRejectDisableValidator) GetTime() int64
- func (m *MsgRejectDisableValidator) Marshal() (dAtA []byte, err error)
- func (m *MsgRejectDisableValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRejectDisableValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRejectDisableValidator) ProtoMessage()
- func (m *MsgRejectDisableValidator) Reset()
- func (msg *MsgRejectDisableValidator) Route() string
- func (m *MsgRejectDisableValidator) Size() (n int)
- func (m *MsgRejectDisableValidator) String() string
- func (msg *MsgRejectDisableValidator) Type() string
- func (m *MsgRejectDisableValidator) Unmarshal(dAtA []byte) error
- func (msg *MsgRejectDisableValidator) ValidateBasic() error
- func (m *MsgRejectDisableValidator) XXX_DiscardUnknown()
- func (m *MsgRejectDisableValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRejectDisableValidator) XXX_Merge(src proto.Message)
- func (m *MsgRejectDisableValidator) XXX_Size() int
- func (m *MsgRejectDisableValidator) XXX_Unmarshal(b []byte) error
- type MsgRejectDisableValidatorResponse
- func (*MsgRejectDisableValidatorResponse) Descriptor() ([]byte, []int)
- func (m *MsgRejectDisableValidatorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRejectDisableValidatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRejectDisableValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRejectDisableValidatorResponse) ProtoMessage()
- func (m *MsgRejectDisableValidatorResponse) Reset()
- func (m *MsgRejectDisableValidatorResponse) Size() (n int)
- func (m *MsgRejectDisableValidatorResponse) String() string
- func (m *MsgRejectDisableValidatorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRejectDisableValidatorResponse) XXX_DiscardUnknown()
- func (m *MsgRejectDisableValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRejectDisableValidatorResponse) XXX_Merge(src proto.Message)
- func (m *MsgRejectDisableValidatorResponse) XXX_Size() int
- func (m *MsgRejectDisableValidatorResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type ProposedDisableValidator
- func (*ProposedDisableValidator) Descriptor() ([]byte, []int)
- func (m *ProposedDisableValidator) GetAddress() string
- func (m *ProposedDisableValidator) GetApprovals() []*Grant
- func (m *ProposedDisableValidator) GetCreator() string
- func (m *ProposedDisableValidator) GetRejects() []*Grant
- func (disabledValidator ProposedDisableValidator) HasApprovalFrom(address sdk.AccAddress) bool
- func (disabledValidator ProposedDisableValidator) HasRejectDisableFrom(address sdk.AccAddress) bool
- func (m *ProposedDisableValidator) Marshal() (dAtA []byte, err error)
- func (m *ProposedDisableValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *ProposedDisableValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProposedDisableValidator) ProtoMessage()
- func (m *ProposedDisableValidator) Reset()
- func (m *ProposedDisableValidator) Size() (n int)
- func (m *ProposedDisableValidator) String() string
- func (m *ProposedDisableValidator) Unmarshal(dAtA []byte) error
- func (m *ProposedDisableValidator) XXX_DiscardUnknown()
- func (m *ProposedDisableValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposedDisableValidator) XXX_Merge(src proto.Message)
- func (m *ProposedDisableValidator) XXX_Size() int
- func (m *ProposedDisableValidator) XXX_Unmarshal(b []byte) error
- type QueryAllDisabledValidatorRequest
- func (*QueryAllDisabledValidatorRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllDisabledValidatorRequest) GetPagination() *query.PageRequest
- func (m *QueryAllDisabledValidatorRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllDisabledValidatorRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllDisabledValidatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllDisabledValidatorRequest) ProtoMessage()
- func (m *QueryAllDisabledValidatorRequest) Reset()
- func (m *QueryAllDisabledValidatorRequest) Size() (n int)
- func (m *QueryAllDisabledValidatorRequest) String() string
- func (m *QueryAllDisabledValidatorRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllDisabledValidatorRequest) XXX_DiscardUnknown()
- func (m *QueryAllDisabledValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllDisabledValidatorRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllDisabledValidatorRequest) XXX_Size() int
- func (m *QueryAllDisabledValidatorRequest) XXX_Unmarshal(b []byte) error
- type QueryAllDisabledValidatorResponse
- func (*QueryAllDisabledValidatorResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllDisabledValidatorResponse) GetDisabledValidator() []DisabledValidator
- func (m *QueryAllDisabledValidatorResponse) GetPagination() *query.PageResponse
- func (m *QueryAllDisabledValidatorResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllDisabledValidatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllDisabledValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllDisabledValidatorResponse) ProtoMessage()
- func (m *QueryAllDisabledValidatorResponse) Reset()
- func (m *QueryAllDisabledValidatorResponse) Size() (n int)
- func (m *QueryAllDisabledValidatorResponse) String() string
- func (m *QueryAllDisabledValidatorResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllDisabledValidatorResponse) XXX_DiscardUnknown()
- func (m *QueryAllDisabledValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllDisabledValidatorResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllDisabledValidatorResponse) XXX_Size() int
- func (m *QueryAllDisabledValidatorResponse) XXX_Unmarshal(b []byte) error
- type QueryAllLastValidatorPowerRequest
- func (*QueryAllLastValidatorPowerRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllLastValidatorPowerRequest) GetPagination() *query.PageRequest
- func (m *QueryAllLastValidatorPowerRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllLastValidatorPowerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllLastValidatorPowerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllLastValidatorPowerRequest) ProtoMessage()
- func (m *QueryAllLastValidatorPowerRequest) Reset()
- func (m *QueryAllLastValidatorPowerRequest) Size() (n int)
- func (m *QueryAllLastValidatorPowerRequest) String() string
- func (m *QueryAllLastValidatorPowerRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllLastValidatorPowerRequest) XXX_DiscardUnknown()
- func (m *QueryAllLastValidatorPowerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllLastValidatorPowerRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllLastValidatorPowerRequest) XXX_Size() int
- func (m *QueryAllLastValidatorPowerRequest) XXX_Unmarshal(b []byte) error
- type QueryAllLastValidatorPowerResponse
- func (*QueryAllLastValidatorPowerResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllLastValidatorPowerResponse) GetLastValidatorPower() []LastValidatorPower
- func (m *QueryAllLastValidatorPowerResponse) GetPagination() *query.PageResponse
- func (m *QueryAllLastValidatorPowerResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllLastValidatorPowerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllLastValidatorPowerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllLastValidatorPowerResponse) ProtoMessage()
- func (m *QueryAllLastValidatorPowerResponse) Reset()
- func (m *QueryAllLastValidatorPowerResponse) Size() (n int)
- func (m *QueryAllLastValidatorPowerResponse) String() string
- func (m *QueryAllLastValidatorPowerResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllLastValidatorPowerResponse) XXX_DiscardUnknown()
- func (m *QueryAllLastValidatorPowerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllLastValidatorPowerResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllLastValidatorPowerResponse) XXX_Size() int
- func (m *QueryAllLastValidatorPowerResponse) XXX_Unmarshal(b []byte) error
- type QueryAllProposedDisableValidatorRequest
- func (*QueryAllProposedDisableValidatorRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllProposedDisableValidatorRequest) GetPagination() *query.PageRequest
- func (m *QueryAllProposedDisableValidatorRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllProposedDisableValidatorRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllProposedDisableValidatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllProposedDisableValidatorRequest) ProtoMessage()
- func (m *QueryAllProposedDisableValidatorRequest) Reset()
- func (m *QueryAllProposedDisableValidatorRequest) Size() (n int)
- func (m *QueryAllProposedDisableValidatorRequest) String() string
- func (m *QueryAllProposedDisableValidatorRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllProposedDisableValidatorRequest) XXX_DiscardUnknown()
- func (m *QueryAllProposedDisableValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllProposedDisableValidatorRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllProposedDisableValidatorRequest) XXX_Size() int
- func (m *QueryAllProposedDisableValidatorRequest) XXX_Unmarshal(b []byte) error
- type QueryAllProposedDisableValidatorResponse
- func (*QueryAllProposedDisableValidatorResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllProposedDisableValidatorResponse) GetPagination() *query.PageResponse
- func (m *QueryAllProposedDisableValidatorResponse) GetProposedDisableValidator() []ProposedDisableValidator
- func (m *QueryAllProposedDisableValidatorResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllProposedDisableValidatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllProposedDisableValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllProposedDisableValidatorResponse) ProtoMessage()
- func (m *QueryAllProposedDisableValidatorResponse) Reset()
- func (m *QueryAllProposedDisableValidatorResponse) Size() (n int)
- func (m *QueryAllProposedDisableValidatorResponse) String() string
- func (m *QueryAllProposedDisableValidatorResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllProposedDisableValidatorResponse) XXX_DiscardUnknown()
- func (m *QueryAllProposedDisableValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllProposedDisableValidatorResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllProposedDisableValidatorResponse) XXX_Size() int
- func (m *QueryAllProposedDisableValidatorResponse) XXX_Unmarshal(b []byte) error
- type QueryAllRejectedDisableValidatorRequest
- func (*QueryAllRejectedDisableValidatorRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllRejectedDisableValidatorRequest) GetPagination() *query.PageRequest
- func (m *QueryAllRejectedDisableValidatorRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllRejectedDisableValidatorRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllRejectedDisableValidatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllRejectedDisableValidatorRequest) ProtoMessage()
- func (m *QueryAllRejectedDisableValidatorRequest) Reset()
- func (m *QueryAllRejectedDisableValidatorRequest) Size() (n int)
- func (m *QueryAllRejectedDisableValidatorRequest) String() string
- func (m *QueryAllRejectedDisableValidatorRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllRejectedDisableValidatorRequest) XXX_DiscardUnknown()
- func (m *QueryAllRejectedDisableValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllRejectedDisableValidatorRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllRejectedDisableValidatorRequest) XXX_Size() int
- func (m *QueryAllRejectedDisableValidatorRequest) XXX_Unmarshal(b []byte) error
- type QueryAllRejectedDisableValidatorResponse
- func (*QueryAllRejectedDisableValidatorResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllRejectedDisableValidatorResponse) GetPagination() *query.PageResponse
- func (m *QueryAllRejectedDisableValidatorResponse) GetRejectedValidator() []RejectedDisableValidator
- func (m *QueryAllRejectedDisableValidatorResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllRejectedDisableValidatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllRejectedDisableValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllRejectedDisableValidatorResponse) ProtoMessage()
- func (m *QueryAllRejectedDisableValidatorResponse) Reset()
- func (m *QueryAllRejectedDisableValidatorResponse) Size() (n int)
- func (m *QueryAllRejectedDisableValidatorResponse) String() string
- func (m *QueryAllRejectedDisableValidatorResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllRejectedDisableValidatorResponse) XXX_DiscardUnknown()
- func (m *QueryAllRejectedDisableValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllRejectedDisableValidatorResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllRejectedDisableValidatorResponse) XXX_Size() int
- func (m *QueryAllRejectedDisableValidatorResponse) 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 QueryGetDisabledValidatorRequest
- func (*QueryGetDisabledValidatorRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetDisabledValidatorRequest) GetAddress() string
- func (m *QueryGetDisabledValidatorRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetDisabledValidatorRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetDisabledValidatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetDisabledValidatorRequest) ProtoMessage()
- func (m *QueryGetDisabledValidatorRequest) Reset()
- func (m *QueryGetDisabledValidatorRequest) Size() (n int)
- func (m *QueryGetDisabledValidatorRequest) String() string
- func (m *QueryGetDisabledValidatorRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetDisabledValidatorRequest) XXX_DiscardUnknown()
- func (m *QueryGetDisabledValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetDisabledValidatorRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetDisabledValidatorRequest) XXX_Size() int
- func (m *QueryGetDisabledValidatorRequest) XXX_Unmarshal(b []byte) error
- type QueryGetDisabledValidatorResponse
- func (*QueryGetDisabledValidatorResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetDisabledValidatorResponse) GetDisabledValidator() DisabledValidator
- func (m *QueryGetDisabledValidatorResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetDisabledValidatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetDisabledValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetDisabledValidatorResponse) ProtoMessage()
- func (m *QueryGetDisabledValidatorResponse) Reset()
- func (m *QueryGetDisabledValidatorResponse) Size() (n int)
- func (m *QueryGetDisabledValidatorResponse) String() string
- func (m *QueryGetDisabledValidatorResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetDisabledValidatorResponse) XXX_DiscardUnknown()
- func (m *QueryGetDisabledValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetDisabledValidatorResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetDisabledValidatorResponse) XXX_Size() int
- func (m *QueryGetDisabledValidatorResponse) XXX_Unmarshal(b []byte) error
- type QueryGetLastValidatorPowerRequest
- func (*QueryGetLastValidatorPowerRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetLastValidatorPowerRequest) GetOwner() string
- func (m *QueryGetLastValidatorPowerRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLastValidatorPowerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLastValidatorPowerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLastValidatorPowerRequest) ProtoMessage()
- func (m *QueryGetLastValidatorPowerRequest) Reset()
- func (m *QueryGetLastValidatorPowerRequest) Size() (n int)
- func (m *QueryGetLastValidatorPowerRequest) String() string
- func (m *QueryGetLastValidatorPowerRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetLastValidatorPowerRequest) XXX_DiscardUnknown()
- func (m *QueryGetLastValidatorPowerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLastValidatorPowerRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetLastValidatorPowerRequest) XXX_Size() int
- func (m *QueryGetLastValidatorPowerRequest) XXX_Unmarshal(b []byte) error
- type QueryGetLastValidatorPowerResponse
- func (*QueryGetLastValidatorPowerResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetLastValidatorPowerResponse) GetLastValidatorPower() LastValidatorPower
- func (m *QueryGetLastValidatorPowerResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLastValidatorPowerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLastValidatorPowerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLastValidatorPowerResponse) ProtoMessage()
- func (m *QueryGetLastValidatorPowerResponse) Reset()
- func (m *QueryGetLastValidatorPowerResponse) Size() (n int)
- func (m *QueryGetLastValidatorPowerResponse) String() string
- func (m *QueryGetLastValidatorPowerResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetLastValidatorPowerResponse) XXX_DiscardUnknown()
- func (m *QueryGetLastValidatorPowerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLastValidatorPowerResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetLastValidatorPowerResponse) XXX_Size() int
- func (m *QueryGetLastValidatorPowerResponse) XXX_Unmarshal(b []byte) error
- type QueryGetProposedDisableValidatorRequest
- func (*QueryGetProposedDisableValidatorRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetProposedDisableValidatorRequest) GetAddress() string
- func (m *QueryGetProposedDisableValidatorRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetProposedDisableValidatorRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetProposedDisableValidatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetProposedDisableValidatorRequest) ProtoMessage()
- func (m *QueryGetProposedDisableValidatorRequest) Reset()
- func (m *QueryGetProposedDisableValidatorRequest) Size() (n int)
- func (m *QueryGetProposedDisableValidatorRequest) String() string
- func (m *QueryGetProposedDisableValidatorRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetProposedDisableValidatorRequest) XXX_DiscardUnknown()
- func (m *QueryGetProposedDisableValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetProposedDisableValidatorRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetProposedDisableValidatorRequest) XXX_Size() int
- func (m *QueryGetProposedDisableValidatorRequest) XXX_Unmarshal(b []byte) error
- type QueryGetProposedDisableValidatorResponse
- func (*QueryGetProposedDisableValidatorResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetProposedDisableValidatorResponse) GetProposedDisableValidator() ProposedDisableValidator
- func (m *QueryGetProposedDisableValidatorResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetProposedDisableValidatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetProposedDisableValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetProposedDisableValidatorResponse) ProtoMessage()
- func (m *QueryGetProposedDisableValidatorResponse) Reset()
- func (m *QueryGetProposedDisableValidatorResponse) Size() (n int)
- func (m *QueryGetProposedDisableValidatorResponse) String() string
- func (m *QueryGetProposedDisableValidatorResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetProposedDisableValidatorResponse) XXX_DiscardUnknown()
- func (m *QueryGetProposedDisableValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetProposedDisableValidatorResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetProposedDisableValidatorResponse) XXX_Size() int
- func (m *QueryGetProposedDisableValidatorResponse) XXX_Unmarshal(b []byte) error
- type QueryGetRejectedDisableValidatorRequest
- func (*QueryGetRejectedDisableValidatorRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetRejectedDisableValidatorRequest) GetOwner() string
- func (m *QueryGetRejectedDisableValidatorRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetRejectedDisableValidatorRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetRejectedDisableValidatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetRejectedDisableValidatorRequest) ProtoMessage()
- func (m *QueryGetRejectedDisableValidatorRequest) Reset()
- func (m *QueryGetRejectedDisableValidatorRequest) Size() (n int)
- func (m *QueryGetRejectedDisableValidatorRequest) String() string
- func (m *QueryGetRejectedDisableValidatorRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetRejectedDisableValidatorRequest) XXX_DiscardUnknown()
- func (m *QueryGetRejectedDisableValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetRejectedDisableValidatorRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetRejectedDisableValidatorRequest) XXX_Size() int
- func (m *QueryGetRejectedDisableValidatorRequest) XXX_Unmarshal(b []byte) error
- type QueryGetRejectedDisableValidatorResponse
- func (*QueryGetRejectedDisableValidatorResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetRejectedDisableValidatorResponse) GetRejectedValidator() RejectedDisableValidator
- func (m *QueryGetRejectedDisableValidatorResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetRejectedDisableValidatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetRejectedDisableValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetRejectedDisableValidatorResponse) ProtoMessage()
- func (m *QueryGetRejectedDisableValidatorResponse) Reset()
- func (m *QueryGetRejectedDisableValidatorResponse) Size() (n int)
- func (m *QueryGetRejectedDisableValidatorResponse) String() string
- func (m *QueryGetRejectedDisableValidatorResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetRejectedDisableValidatorResponse) XXX_DiscardUnknown()
- func (m *QueryGetRejectedDisableValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetRejectedDisableValidatorResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetRejectedDisableValidatorResponse) XXX_Size() int
- func (m *QueryGetRejectedDisableValidatorResponse) XXX_Unmarshal(b []byte) error
- type QueryGetValidatorRequest
- func (*QueryGetValidatorRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetValidatorRequest) GetOwner() 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 RejectedDisableValidator
- func (*RejectedDisableValidator) Descriptor() ([]byte, []int)
- func (m *RejectedDisableValidator) GetAddress() sdk.ValAddress
- func (m *RejectedDisableValidator) GetApprovals() []*Grant
- func (m *RejectedDisableValidator) GetCreator() string
- func (m *RejectedDisableValidator) GetRejects() []*Grant
- func (m *RejectedDisableValidator) Marshal() (dAtA []byte, err error)
- func (m *RejectedDisableValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *RejectedDisableValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RejectedDisableValidator) ProtoMessage()
- func (m *RejectedDisableValidator) Reset()
- func (m *RejectedDisableValidator) Size() (n int)
- func (m *RejectedDisableValidator) String() string
- func (m *RejectedDisableValidator) Unmarshal(dAtA []byte) error
- func (m *RejectedDisableValidator) XXX_DiscardUnknown()
- func (m *RejectedDisableValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RejectedDisableValidator) XXX_Merge(src proto.Message)
- func (m *RejectedDisableValidator) XXX_Size() int
- func (m *RejectedDisableValidator) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) ApproveDisableValidator(ctx context.Context, req *MsgApproveDisableValidator) (*MsgApproveDisableValidatorResponse, error)
- func (*UnimplementedMsgServer) CreateValidator(ctx context.Context, req *MsgCreateValidator) (*MsgCreateValidatorResponse, error)
- func (*UnimplementedMsgServer) DisableValidator(ctx context.Context, req *MsgDisableValidator) (*MsgDisableValidatorResponse, error)
- func (*UnimplementedMsgServer) EnableValidator(ctx context.Context, req *MsgEnableValidator) (*MsgEnableValidatorResponse, error)
- func (*UnimplementedMsgServer) ProposeDisableValidator(ctx context.Context, req *MsgProposeDisableValidator) (*MsgProposeDisableValidatorResponse, error)
- func (*UnimplementedMsgServer) RejectDisableValidator(ctx context.Context, req *MsgRejectDisableValidator) (*MsgRejectDisableValidatorResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) DisabledValidator(ctx context.Context, req *QueryGetDisabledValidatorRequest) (*QueryGetDisabledValidatorResponse, error)
- func (*UnimplementedQueryServer) DisabledValidatorAll(ctx context.Context, req *QueryAllDisabledValidatorRequest) (*QueryAllDisabledValidatorResponse, error)
- func (*UnimplementedQueryServer) LastValidatorPower(ctx context.Context, req *QueryGetLastValidatorPowerRequest) (*QueryGetLastValidatorPowerResponse, error)
- func (*UnimplementedQueryServer) LastValidatorPowerAll(ctx context.Context, req *QueryAllLastValidatorPowerRequest) (*QueryAllLastValidatorPowerResponse, error)
- func (*UnimplementedQueryServer) ProposedDisableValidator(ctx context.Context, req *QueryGetProposedDisableValidatorRequest) (*QueryGetProposedDisableValidatorResponse, error)
- func (*UnimplementedQueryServer) ProposedDisableValidatorAll(ctx context.Context, req *QueryAllProposedDisableValidatorRequest) (*QueryAllProposedDisableValidatorResponse, error)
- func (*UnimplementedQueryServer) RejectedDisableValidator(ctx context.Context, req *QueryGetRejectedDisableValidatorRequest) (*QueryGetRejectedDisableValidatorResponse, error)
- func (*UnimplementedQueryServer) RejectedDisableValidatorAll(ctx context.Context, req *QueryAllRejectedDisableValidatorRequest) (*QueryAllRejectedDisableValidatorResponse, error)
- func (*UnimplementedQueryServer) Validator(ctx context.Context, req *QueryGetValidatorRequest) (*QueryGetValidatorResponse, error)
- func (*UnimplementedQueryServer) ValidatorAll(ctx context.Context, req *QueryAllValidatorRequest) (*QueryAllValidatorResponse, error)
- type Validator
- func (v Validator) ABCIValidatorUpdate() abci.ValidatorUpdate
- func (v Validator) ABCIValidatorUpdateZero() abci.ValidatorUpdate
- func (*Validator) Descriptor() ([]byte, []int)
- func (v Validator) GetConsAddr() (sdk.ConsAddress, error)
- func (v Validator) GetConsAddress() (sdk.ConsAddress, error)
- func (v Validator) GetConsPubKey() (cryptotypes.PubKey, error)
- func (v Validator) GetMoniker() string
- func (v Validator) GetOwner() sdk.ValAddress
- func (v Validator) GetPower() int32
- func (v Validator) IsJailed() bool
- 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 (v Validator) String() string
- func (v Validator) TmConsPublicKey() (tmprotocrypto.PublicKey, error)
- func (m *Validator) Unmarshal(dAtA []byte) error
- func (v Validator) UnpackInterfaces(unpacker codectypes.AnyUnpacker) 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
Constants ¶
const ( // Default power every validator created with. Power int32 = 10 // Zero power is used to demote validator. ZeroPower int32 = 0 // Maximum number of nodes. MaxNodes = 100 // Maximum time to accept double-sign evidence. MaxEvidenceAge = 60 * 2 * time.Second // Size (number of blocks) of the sliding window used to track validator liveness. SignedBlocksWindow int64 = 100 // Minimal number of blocks must have been signed per window. MinSignedPerWindow int64 = 50 )
const ( EventTypeCreateValidator = "create_validator" AttributeKeyValidator = "validator" AttributeValueCategory = ModuleName )
validator module event types.
const ( // ValidatorKeyPrefix is the prefix to retrieve all Validator. ValidatorKeyPrefix = "Validator/value/" // ValidatorByConsAddrKeyPrefix is the prefix to retrieve all Validator by consensus address. ValidatorByConsAddrKeyPrefix = "ValidatorByConsAddr/value/" )
const ( // ModuleName defines the module name. ModuleName = "validator" // 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_validator" )
const ( MaxNameLength = 70 MaxIdentityLength = 3000 MaxWebsiteLength = 140 MaxDetailsLength = 280 )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index.
const (
// DisabledValidatorKeyPrefix is the prefix to retrieve all DisabledValidator.
DisabledValidatorKeyPrefix = "DisabledValidator/value/"
)
const (
// LastValidatorPowerKeyPrefix is the prefix to retrieve all LastValidatorPower.
LastValidatorPowerKeyPrefix = "LastValidatorPower/value/"
)
const (
// ProposedDisableValidatorKeyPrefix is the prefix to retrieve all ProposedDisableValidator.
ProposedDisableValidatorKeyPrefix = "ProposedDisableValidator/value/"
)
const (
// RejectedNodeKeyPrefix is the prefix to retrieve all RejectedNode.
RejectedNodeKeyPrefix = "RejectedNode/value/"
)
const TypeMsgApproveDisableValidator = "approve_disable_validator"
const TypeMsgDisableValidator = "disable_validator"
const TypeMsgEnableValidator = "enable_validator"
const TypeMsgProposeDisableValidator = "propose_disable_validator"
const TypeMsgRejectDisableValidator = "reject_disable_validator"
Variables ¶
var ( ErrInvalidLengthDescription = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDescription = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDescription = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthDisabledValidator = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDisabledValidator = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDisabledValidator = fmt.Errorf("proto: unexpected end of group") )
var ( PoolIsFull = sdkerrors.Register(ModuleName, 601, "maximum number of active nodes reached") ErrProposedDisableValidatorAlreadyExists = sdkerrors.Register(ModuleName, 602, "disable validator proposal already exists") ErrProposedDisableValidatorDoesNotExist = sdkerrors.Register(ModuleName, 603, "disable validator proposal does not exist") ErrDisabledValidatorAlreadytExists = sdkerrors.Register(ModuleName, 604, "disabled validator already exist") ErrDisabledValidatorDoesNotExist = sdkerrors.Register(ModuleName, 605, "disabled validator does not exist") )
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 ( ErrInvalidLengthGrant = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGrant = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGrant = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthLastValidatorPower = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLastValidatorPower = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupLastValidatorPower = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthProposedDisableValidator = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProposedDisableValidator = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProposedDisableValidator = 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 ( ErrInvalidLengthRejectedValidator = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRejectedValidator = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupRejectedValidator = fmt.Errorf("proto: unexpected end of group") )
var ( DisableValidatorPercent = 2.0 / 3.0 VoteForDisableValidatorRole = dclauthtypes.Trustee EnableDisableValidatorRole = dclauthtypes.NodeAdmin )
TODO: 1. Move it to separate module 2. Make it configurable 3. Save into store.
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 DisabledValidatorKey ¶ added in v0.10.0
DisabledValidatorKey returns the store key to retrieve a DisabledValidator from the index fields.
func ErrPoolIsFull ¶
func ErrPoolIsFull() error
func LastValidatorPowerKey ¶
func LastValidatorPowerKey( owner sdk.ValAddress, ) []byte
LastValidatorPowerKey returns the store key to retrieve a LastValidatorPower from the index fields.
func MustMarshalValidator ¶
func MustMarshalValidator(cdc codec.BinaryCodec, validator *Validator) []byte
return the redelegation.
func NewErrDisabledValidatorAlreadyExists ¶ added in v0.10.0
func NewErrDisabledValidatorAlreadyExists(name interface{}) error
func NewErrDisabledValidatorDoesNotExist ¶ added in v0.10.0
func NewErrDisabledValidatorDoesNotExist(name interface{}) error
func NewErrProposedDisableValidatorAlreadyExists ¶ added in v0.10.0
func NewErrProposedDisableValidatorAlreadyExists(name interface{}) error
func NewErrProposedDisableValidatorDoesNotExist ¶ added in v0.10.0
func NewErrProposedDisableValidatorDoesNotExist(name interface{}) error
func ProposedDisableValidatorKey ¶ added in v0.10.0
ProposedDisableValidatorKey returns the store key to retrieve a ProposedDisableValidator 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 RejectedNodeKey ¶ added in v0.11.0
func RejectedNodeKey( owner sdk.ValAddress, ) []byte
RejectedNodeKey returns the store key to retrieve a RejectedNode from the index fields.
func ValidatorByConsAddrKey ¶
func ValidatorByConsAddrKey( addr sdk.ConsAddress, ) []byte
func ValidatorKey ¶
func ValidatorKey( owner sdk.ValAddress, ) []byte
ValidatorKey returns the store key to retrieve a Validator from the index fields.
Types ¶
type DclauthKeeper ¶
type DclauthKeeper interface { // Methods imported from dclauth should be defined here HasRole(ctx sdk.Context, addr sdk.AccAddress, roleToCheck dclauthtypes.AccountRole) bool CountAccountsWithRole(ctx sdk.Context, roleToCount dclauthtypes.AccountRole) int GetAccountO(ctx sdk.Context, address sdk.AccAddress) (val dclauthtypes.Account, found bool) SetRevokedAccount(ctx sdk.Context, revokedAccount dclauthtypes.RevokedAccount) RemoveAccount(ctx sdk.Context, address sdk.AccAddress) AddAccountToRevokedAccount( ctx sdk.Context, accAddr sdk.AccAddress, approvals []*dclauthtypes.Grant, reason dclauthtypes.RevokedAccount_Reason, ) (*dclauthtypes.RevokedAccount, error) }
type Description ¶
type Description struct { // a human-readable name for the validator. Moniker string `protobuf:"bytes,1,opt,name=moniker,proto3" json:"moniker,omitempty"` // optional identity signature. Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // optional website link. Website string `protobuf:"bytes,3,opt,name=website,proto3" json:"website,omitempty"` // optional details. Details string `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"` }
func NewDescription ¶
func NewDescription(moniker string, identity, website, details string) Description
NewDescription returns a new Description with the provided values.
func (*Description) Descriptor ¶
func (*Description) Descriptor() ([]byte, []int)
func (*Description) Equal ¶
func (this *Description) Equal(that interface{}) bool
func (*Description) GetDetails ¶
func (m *Description) GetDetails() string
func (*Description) GetIdentity ¶
func (m *Description) GetIdentity() string
func (*Description) GetMoniker ¶
func (m *Description) GetMoniker() string
func (*Description) GetWebsite ¶
func (m *Description) GetWebsite() string
func (*Description) Marshal ¶
func (m *Description) Marshal() (dAtA []byte, err error)
func (*Description) MarshalToSizedBuffer ¶
func (m *Description) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Description) ProtoMessage ¶
func (*Description) ProtoMessage()
func (*Description) Reset ¶
func (m *Description) Reset()
func (*Description) Size ¶
func (m *Description) Size() (n int)
func (Description) String ¶
func (d Description) String() string
func (*Description) Unmarshal ¶
func (m *Description) Unmarshal(dAtA []byte) error
func (Description) Validate ¶
func (d Description) Validate() error
Ensure the length of a validator's description.
func (*Description) XXX_DiscardUnknown ¶
func (m *Description) XXX_DiscardUnknown()
func (*Description) XXX_Marshal ¶
func (m *Description) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Description) XXX_Merge ¶
func (m *Description) XXX_Merge(src proto.Message)
func (*Description) XXX_Size ¶
func (m *Description) XXX_Size() int
func (*Description) XXX_Unmarshal ¶
func (m *Description) XXX_Unmarshal(b []byte) error
type DisabledValidator ¶ added in v0.10.0
type DisabledValidator struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` Approvals []*Grant `protobuf:"bytes,3,rep,name=approvals,proto3" json:"approvals,omitempty"` DisabledByNodeAdmin bool `protobuf:"varint,4,opt,name=disabledByNodeAdmin,proto3" json:"disabledByNodeAdmin,omitempty"` Rejects []*Grant `protobuf:"bytes,5,rep,name=rejects,proto3" json:"rejects,omitempty"` }
func (*DisabledValidator) Descriptor ¶ added in v0.10.0
func (*DisabledValidator) Descriptor() ([]byte, []int)
func (*DisabledValidator) GetAddress ¶ added in v0.10.0
func (m *DisabledValidator) GetAddress() string
func (*DisabledValidator) GetApprovals ¶ added in v0.10.0
func (m *DisabledValidator) GetApprovals() []*Grant
func (*DisabledValidator) GetCreator ¶ added in v0.10.0
func (m *DisabledValidator) GetCreator() string
func (*DisabledValidator) GetDisabledByNodeAdmin ¶ added in v0.10.0
func (m *DisabledValidator) GetDisabledByNodeAdmin() bool
func (*DisabledValidator) GetRejects ¶ added in v0.11.0
func (m *DisabledValidator) GetRejects() []*Grant
func (*DisabledValidator) Marshal ¶ added in v0.10.0
func (m *DisabledValidator) Marshal() (dAtA []byte, err error)
func (*DisabledValidator) MarshalTo ¶ added in v0.10.0
func (m *DisabledValidator) MarshalTo(dAtA []byte) (int, error)
func (*DisabledValidator) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *DisabledValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DisabledValidator) ProtoMessage ¶ added in v0.10.0
func (*DisabledValidator) ProtoMessage()
func (*DisabledValidator) Reset ¶ added in v0.10.0
func (m *DisabledValidator) Reset()
func (*DisabledValidator) Size ¶ added in v0.10.0
func (m *DisabledValidator) Size() (n int)
func (*DisabledValidator) String ¶ added in v0.10.0
func (m *DisabledValidator) String() string
func (*DisabledValidator) Unmarshal ¶ added in v0.10.0
func (m *DisabledValidator) Unmarshal(dAtA []byte) error
func (*DisabledValidator) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *DisabledValidator) XXX_DiscardUnknown()
func (*DisabledValidator) XXX_Marshal ¶ added in v0.10.0
func (m *DisabledValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DisabledValidator) XXX_Merge ¶ added in v0.10.0
func (m *DisabledValidator) XXX_Merge(src proto.Message)
func (*DisabledValidator) XXX_Size ¶ added in v0.10.0
func (m *DisabledValidator) XXX_Size() int
func (*DisabledValidator) XXX_Unmarshal ¶ added in v0.10.0
func (m *DisabledValidator) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { ValidatorList []Validator `protobuf:"bytes,1,rep,name=validatorList,proto3" json:"validatorList"` LastValidatorPowerList []LastValidatorPower `protobuf:"bytes,2,rep,name=lastValidatorPowerList,proto3" json:"lastValidatorPowerList"` ProposedDisableValidatorList []ProposedDisableValidator `protobuf:"bytes,3,rep,name=proposedDisableValidatorList,proto3" json:"proposedDisableValidatorList"` DisabledValidatorList []DisabledValidator `protobuf:"bytes,4,rep,name=disabledValidatorList,proto3" json:"disabledValidatorList"` RejectedValidatorList []RejectedDisableValidator `protobuf:"bytes,5,rep,name=rejectedValidatorList,proto3" json:"rejectedValidatorList"` }
GenesisState defines the validator module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state.
func GetGenesisStateFromAppState ¶
func GetGenesisStateFromAppState(cdc codec.JSONCodec, appState map[string]json.RawMessage) *GenesisState
GetGenesisStateFromAppState returns x/staking GenesisState given raw application genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetDisabledValidatorList ¶ added in v0.10.0
func (m *GenesisState) GetDisabledValidatorList() []DisabledValidator
func (*GenesisState) GetLastValidatorPowerList ¶
func (m *GenesisState) GetLastValidatorPowerList() []LastValidatorPower
func (*GenesisState) GetProposedDisableValidatorList ¶ added in v0.10.0
func (m *GenesisState) GetProposedDisableValidatorList() []ProposedDisableValidator
func (*GenesisState) GetRejectedValidatorList ¶ added in v0.11.0
func (m *GenesisState) GetRejectedValidatorList() []RejectedDisableValidator
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) 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 Grant ¶ added in v0.10.0
type Grant struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Time int64 `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"` Info string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` }
func (*Grant) Descriptor ¶ added in v0.10.0
func (*Grant) GetAddress ¶ added in v0.10.0
func (*Grant) MarshalToSizedBuffer ¶ added in v0.10.0
func (*Grant) ProtoMessage ¶ added in v0.10.0
func (*Grant) ProtoMessage()
func (*Grant) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *Grant) XXX_DiscardUnknown()
func (*Grant) XXX_Marshal ¶ added in v0.10.0
func (*Grant) XXX_Unmarshal ¶ added in v0.10.0
type LastValidatorPower ¶
type LastValidatorPower struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Power int32 `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty"` }
func NewLastValidatorPower ¶
func NewLastValidatorPower(owner sdk.ValAddress) LastValidatorPower
func (*LastValidatorPower) Descriptor ¶
func (*LastValidatorPower) Descriptor() ([]byte, []int)
func (LastValidatorPower) GetOwner ¶
func (vp LastValidatorPower) GetOwner() sdk.ValAddress
func (LastValidatorPower) GetPower ¶
func (vp LastValidatorPower) GetPower() int32
func (*LastValidatorPower) Marshal ¶
func (m *LastValidatorPower) Marshal() (dAtA []byte, err error)
func (*LastValidatorPower) MarshalTo ¶
func (m *LastValidatorPower) MarshalTo(dAtA []byte) (int, error)
func (*LastValidatorPower) MarshalToSizedBuffer ¶
func (m *LastValidatorPower) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LastValidatorPower) ProtoMessage ¶
func (*LastValidatorPower) ProtoMessage()
func (*LastValidatorPower) Reset ¶
func (m *LastValidatorPower) Reset()
func (*LastValidatorPower) Size ¶
func (m *LastValidatorPower) Size() (n int)
func (LastValidatorPower) String ¶
func (vp LastValidatorPower) String() string
func (*LastValidatorPower) Unmarshal ¶
func (m *LastValidatorPower) Unmarshal(dAtA []byte) error
func (*LastValidatorPower) XXX_DiscardUnknown ¶
func (m *LastValidatorPower) XXX_DiscardUnknown()
func (*LastValidatorPower) XXX_Marshal ¶
func (m *LastValidatorPower) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LastValidatorPower) XXX_Merge ¶
func (m *LastValidatorPower) XXX_Merge(src proto.Message)
func (*LastValidatorPower) XXX_Size ¶
func (m *LastValidatorPower) XXX_Size() int
func (*LastValidatorPower) XXX_Unmarshal ¶
func (m *LastValidatorPower) XXX_Unmarshal(b []byte) error
type MsgApproveDisableValidator ¶ added in v0.10.0
type MsgApproveDisableValidator struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty" validate:"required"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty" validate:"required"` Info string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty" validate:"max=4096"` Time int64 `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"` }
func NewMsgApproveDisableValidator ¶ added in v0.10.0
func NewMsgApproveDisableValidator(creator sdk.AccAddress, address sdk.ValAddress, info string) *MsgApproveDisableValidator
func (*MsgApproveDisableValidator) Descriptor ¶ added in v0.10.0
func (*MsgApproveDisableValidator) Descriptor() ([]byte, []int)
func (*MsgApproveDisableValidator) GetAddress ¶ added in v0.10.0
func (m *MsgApproveDisableValidator) GetAddress() string
func (*MsgApproveDisableValidator) GetCreator ¶ added in v0.10.0
func (m *MsgApproveDisableValidator) GetCreator() string
func (*MsgApproveDisableValidator) GetInfo ¶ added in v0.10.0
func (m *MsgApproveDisableValidator) GetInfo() string
func (*MsgApproveDisableValidator) GetSignBytes ¶ added in v0.10.0
func (msg *MsgApproveDisableValidator) GetSignBytes() []byte
func (*MsgApproveDisableValidator) GetSigners ¶ added in v0.10.0
func (msg *MsgApproveDisableValidator) GetSigners() []sdk.AccAddress
func (*MsgApproveDisableValidator) GetTime ¶ added in v0.10.0
func (m *MsgApproveDisableValidator) GetTime() int64
func (*MsgApproveDisableValidator) Marshal ¶ added in v0.10.0
func (m *MsgApproveDisableValidator) Marshal() (dAtA []byte, err error)
func (*MsgApproveDisableValidator) MarshalTo ¶ added in v0.10.0
func (m *MsgApproveDisableValidator) MarshalTo(dAtA []byte) (int, error)
func (*MsgApproveDisableValidator) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *MsgApproveDisableValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgApproveDisableValidator) ProtoMessage ¶ added in v0.10.0
func (*MsgApproveDisableValidator) ProtoMessage()
func (*MsgApproveDisableValidator) Reset ¶ added in v0.10.0
func (m *MsgApproveDisableValidator) Reset()
func (*MsgApproveDisableValidator) Route ¶ added in v0.10.0
func (msg *MsgApproveDisableValidator) Route() string
func (*MsgApproveDisableValidator) Size ¶ added in v0.10.0
func (m *MsgApproveDisableValidator) Size() (n int)
func (*MsgApproveDisableValidator) String ¶ added in v0.10.0
func (m *MsgApproveDisableValidator) String() string
func (*MsgApproveDisableValidator) Type ¶ added in v0.10.0
func (msg *MsgApproveDisableValidator) Type() string
func (*MsgApproveDisableValidator) Unmarshal ¶ added in v0.10.0
func (m *MsgApproveDisableValidator) Unmarshal(dAtA []byte) error
func (*MsgApproveDisableValidator) ValidateBasic ¶ added in v0.10.0
func (msg *MsgApproveDisableValidator) ValidateBasic() error
func (*MsgApproveDisableValidator) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *MsgApproveDisableValidator) XXX_DiscardUnknown()
func (*MsgApproveDisableValidator) XXX_Marshal ¶ added in v0.10.0
func (m *MsgApproveDisableValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgApproveDisableValidator) XXX_Merge ¶ added in v0.10.0
func (m *MsgApproveDisableValidator) XXX_Merge(src proto.Message)
func (*MsgApproveDisableValidator) XXX_Size ¶ added in v0.10.0
func (m *MsgApproveDisableValidator) XXX_Size() int
func (*MsgApproveDisableValidator) XXX_Unmarshal ¶ added in v0.10.0
func (m *MsgApproveDisableValidator) XXX_Unmarshal(b []byte) error
type MsgApproveDisableValidatorResponse ¶ added in v0.10.0
type MsgApproveDisableValidatorResponse struct { }
func (*MsgApproveDisableValidatorResponse) Descriptor ¶ added in v0.10.0
func (*MsgApproveDisableValidatorResponse) Descriptor() ([]byte, []int)
func (*MsgApproveDisableValidatorResponse) Marshal ¶ added in v0.10.0
func (m *MsgApproveDisableValidatorResponse) Marshal() (dAtA []byte, err error)
func (*MsgApproveDisableValidatorResponse) MarshalTo ¶ added in v0.10.0
func (m *MsgApproveDisableValidatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgApproveDisableValidatorResponse) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *MsgApproveDisableValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgApproveDisableValidatorResponse) ProtoMessage ¶ added in v0.10.0
func (*MsgApproveDisableValidatorResponse) ProtoMessage()
func (*MsgApproveDisableValidatorResponse) Reset ¶ added in v0.10.0
func (m *MsgApproveDisableValidatorResponse) Reset()
func (*MsgApproveDisableValidatorResponse) Size ¶ added in v0.10.0
func (m *MsgApproveDisableValidatorResponse) Size() (n int)
func (*MsgApproveDisableValidatorResponse) String ¶ added in v0.10.0
func (m *MsgApproveDisableValidatorResponse) String() string
func (*MsgApproveDisableValidatorResponse) Unmarshal ¶ added in v0.10.0
func (m *MsgApproveDisableValidatorResponse) Unmarshal(dAtA []byte) error
func (*MsgApproveDisableValidatorResponse) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *MsgApproveDisableValidatorResponse) XXX_DiscardUnknown()
func (*MsgApproveDisableValidatorResponse) XXX_Marshal ¶ added in v0.10.0
func (m *MsgApproveDisableValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgApproveDisableValidatorResponse) XXX_Merge ¶ added in v0.10.0
func (m *MsgApproveDisableValidatorResponse) XXX_Merge(src proto.Message)
func (*MsgApproveDisableValidatorResponse) XXX_Size ¶ added in v0.10.0
func (m *MsgApproveDisableValidatorResponse) XXX_Size() int
func (*MsgApproveDisableValidatorResponse) XXX_Unmarshal ¶ added in v0.10.0
func (m *MsgApproveDisableValidatorResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { CreateValidator(ctx context.Context, in *MsgCreateValidator, opts ...grpc.CallOption) (*MsgCreateValidatorResponse, error) ProposeDisableValidator(ctx context.Context, in *MsgProposeDisableValidator, opts ...grpc.CallOption) (*MsgProposeDisableValidatorResponse, error) ApproveDisableValidator(ctx context.Context, in *MsgApproveDisableValidator, opts ...grpc.CallOption) (*MsgApproveDisableValidatorResponse, error) DisableValidator(ctx context.Context, in *MsgDisableValidator, opts ...grpc.CallOption) (*MsgDisableValidatorResponse, error) EnableValidator(ctx context.Context, in *MsgEnableValidator, opts ...grpc.CallOption) (*MsgEnableValidatorResponse, error) RejectDisableValidator(ctx context.Context, in *MsgRejectDisableValidator, opts ...grpc.CallOption) (*MsgRejectDisableValidatorResponse, 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 MsgCreateValidator ¶
type MsgCreateValidator struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" validate:"required"` PubKey *types.Any `protobuf:"bytes,2,opt,name=pubKey,proto3" json:"pubKey,omitempty" validate:"required"` Description Description `protobuf:"bytes,3,opt,name=description,proto3" json:"description"` }
func NewMsgCreateValidator ¶
func NewMsgCreateValidator( signer sdk.ValAddress, pubKey cryptotypes.PubKey, description *Description, ) (*MsgCreateValidator, error)
func (*MsgCreateValidator) Descriptor ¶
func (*MsgCreateValidator) Descriptor() ([]byte, []int)
func (*MsgCreateValidator) GetSignBytes ¶
func (msg *MsgCreateValidator) GetSignBytes() []byte
func (*MsgCreateValidator) GetSigners ¶
func (msg *MsgCreateValidator) GetSigners() []sdk.AccAddress
func (*MsgCreateValidator) Marshal ¶
func (m *MsgCreateValidator) Marshal() (dAtA []byte, err error)
func (*MsgCreateValidator) MarshalTo ¶
func (m *MsgCreateValidator) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateValidator) MarshalToSizedBuffer ¶
func (m *MsgCreateValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateValidator) ProtoMessage ¶
func (*MsgCreateValidator) ProtoMessage()
func (*MsgCreateValidator) Reset ¶
func (m *MsgCreateValidator) Reset()
func (*MsgCreateValidator) Route ¶
func (msg *MsgCreateValidator) Route() string
func (*MsgCreateValidator) Size ¶
func (m *MsgCreateValidator) Size() (n int)
func (*MsgCreateValidator) String ¶
func (m *MsgCreateValidator) String() string
func (*MsgCreateValidator) Type ¶
func (msg *MsgCreateValidator) Type() string
func (*MsgCreateValidator) Unmarshal ¶
func (m *MsgCreateValidator) Unmarshal(dAtA []byte) error
func (MsgCreateValidator) UnpackInterfaces ¶
func (msg MsgCreateValidator) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces.
func (*MsgCreateValidator) ValidateBasic ¶
func (msg *MsgCreateValidator) ValidateBasic() error
func (*MsgCreateValidator) XXX_DiscardUnknown ¶
func (m *MsgCreateValidator) XXX_DiscardUnknown()
func (*MsgCreateValidator) XXX_Marshal ¶
func (m *MsgCreateValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateValidator) XXX_Merge ¶
func (m *MsgCreateValidator) XXX_Merge(src proto.Message)
func (*MsgCreateValidator) XXX_Size ¶
func (m *MsgCreateValidator) XXX_Size() int
func (*MsgCreateValidator) XXX_Unmarshal ¶
func (m *MsgCreateValidator) XXX_Unmarshal(b []byte) error
type MsgCreateValidatorResponse ¶
type MsgCreateValidatorResponse struct { }
func (*MsgCreateValidatorResponse) Descriptor ¶
func (*MsgCreateValidatorResponse) Descriptor() ([]byte, []int)
func (*MsgCreateValidatorResponse) Marshal ¶
func (m *MsgCreateValidatorResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateValidatorResponse) MarshalTo ¶
func (m *MsgCreateValidatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateValidatorResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateValidatorResponse) ProtoMessage ¶
func (*MsgCreateValidatorResponse) ProtoMessage()
func (*MsgCreateValidatorResponse) Reset ¶
func (m *MsgCreateValidatorResponse) Reset()
func (*MsgCreateValidatorResponse) Size ¶
func (m *MsgCreateValidatorResponse) Size() (n int)
func (*MsgCreateValidatorResponse) String ¶
func (m *MsgCreateValidatorResponse) String() string
func (*MsgCreateValidatorResponse) Unmarshal ¶
func (m *MsgCreateValidatorResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateValidatorResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateValidatorResponse) XXX_DiscardUnknown()
func (*MsgCreateValidatorResponse) XXX_Marshal ¶
func (m *MsgCreateValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateValidatorResponse) XXX_Merge ¶
func (m *MsgCreateValidatorResponse) XXX_Merge(src proto.Message)
func (*MsgCreateValidatorResponse) XXX_Size ¶
func (m *MsgCreateValidatorResponse) XXX_Size() int
func (*MsgCreateValidatorResponse) XXX_Unmarshal ¶
func (m *MsgCreateValidatorResponse) XXX_Unmarshal(b []byte) error
type MsgDisableValidator ¶ added in v0.10.0
type MsgDisableValidator struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty" validate:"required"`
}
func NewMsgDisableValidator ¶ added in v0.10.0
func NewMsgDisableValidator(creator sdk.ValAddress) *MsgDisableValidator
func (*MsgDisableValidator) Descriptor ¶ added in v0.10.0
func (*MsgDisableValidator) Descriptor() ([]byte, []int)
func (*MsgDisableValidator) GetCreator ¶ added in v0.10.0
func (m *MsgDisableValidator) GetCreator() string
func (*MsgDisableValidator) GetSignBytes ¶ added in v0.10.0
func (msg *MsgDisableValidator) GetSignBytes() []byte
func (*MsgDisableValidator) GetSigners ¶ added in v0.10.0
func (msg *MsgDisableValidator) GetSigners() []sdk.AccAddress
func (*MsgDisableValidator) Marshal ¶ added in v0.10.0
func (m *MsgDisableValidator) Marshal() (dAtA []byte, err error)
func (*MsgDisableValidator) MarshalTo ¶ added in v0.10.0
func (m *MsgDisableValidator) MarshalTo(dAtA []byte) (int, error)
func (*MsgDisableValidator) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *MsgDisableValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDisableValidator) ProtoMessage ¶ added in v0.10.0
func (*MsgDisableValidator) ProtoMessage()
func (*MsgDisableValidator) Reset ¶ added in v0.10.0
func (m *MsgDisableValidator) Reset()
func (*MsgDisableValidator) Route ¶ added in v0.10.0
func (msg *MsgDisableValidator) Route() string
func (*MsgDisableValidator) Size ¶ added in v0.10.0
func (m *MsgDisableValidator) Size() (n int)
func (*MsgDisableValidator) String ¶ added in v0.10.0
func (m *MsgDisableValidator) String() string
func (*MsgDisableValidator) Type ¶ added in v0.10.0
func (msg *MsgDisableValidator) Type() string
func (*MsgDisableValidator) Unmarshal ¶ added in v0.10.0
func (m *MsgDisableValidator) Unmarshal(dAtA []byte) error
func (*MsgDisableValidator) ValidateBasic ¶ added in v0.10.0
func (msg *MsgDisableValidator) ValidateBasic() error
func (*MsgDisableValidator) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *MsgDisableValidator) XXX_DiscardUnknown()
func (*MsgDisableValidator) XXX_Marshal ¶ added in v0.10.0
func (m *MsgDisableValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDisableValidator) XXX_Merge ¶ added in v0.10.0
func (m *MsgDisableValidator) XXX_Merge(src proto.Message)
func (*MsgDisableValidator) XXX_Size ¶ added in v0.10.0
func (m *MsgDisableValidator) XXX_Size() int
func (*MsgDisableValidator) XXX_Unmarshal ¶ added in v0.10.0
func (m *MsgDisableValidator) XXX_Unmarshal(b []byte) error
type MsgDisableValidatorResponse ¶ added in v0.10.0
type MsgDisableValidatorResponse struct { }
func (*MsgDisableValidatorResponse) Descriptor ¶ added in v0.10.0
func (*MsgDisableValidatorResponse) Descriptor() ([]byte, []int)
func (*MsgDisableValidatorResponse) Marshal ¶ added in v0.10.0
func (m *MsgDisableValidatorResponse) Marshal() (dAtA []byte, err error)
func (*MsgDisableValidatorResponse) MarshalTo ¶ added in v0.10.0
func (m *MsgDisableValidatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDisableValidatorResponse) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *MsgDisableValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDisableValidatorResponse) ProtoMessage ¶ added in v0.10.0
func (*MsgDisableValidatorResponse) ProtoMessage()
func (*MsgDisableValidatorResponse) Reset ¶ added in v0.10.0
func (m *MsgDisableValidatorResponse) Reset()
func (*MsgDisableValidatorResponse) Size ¶ added in v0.10.0
func (m *MsgDisableValidatorResponse) Size() (n int)
func (*MsgDisableValidatorResponse) String ¶ added in v0.10.0
func (m *MsgDisableValidatorResponse) String() string
func (*MsgDisableValidatorResponse) Unmarshal ¶ added in v0.10.0
func (m *MsgDisableValidatorResponse) Unmarshal(dAtA []byte) error
func (*MsgDisableValidatorResponse) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *MsgDisableValidatorResponse) XXX_DiscardUnknown()
func (*MsgDisableValidatorResponse) XXX_Marshal ¶ added in v0.10.0
func (m *MsgDisableValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDisableValidatorResponse) XXX_Merge ¶ added in v0.10.0
func (m *MsgDisableValidatorResponse) XXX_Merge(src proto.Message)
func (*MsgDisableValidatorResponse) XXX_Size ¶ added in v0.10.0
func (m *MsgDisableValidatorResponse) XXX_Size() int
func (*MsgDisableValidatorResponse) XXX_Unmarshal ¶ added in v0.10.0
func (m *MsgDisableValidatorResponse) XXX_Unmarshal(b []byte) error
type MsgEnableValidator ¶ added in v0.10.0
type MsgEnableValidator struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty" validate:"required"`
}
func NewMsgEnableValidator ¶ added in v0.10.0
func NewMsgEnableValidator(creator sdk.ValAddress) *MsgEnableValidator
func (*MsgEnableValidator) Descriptor ¶ added in v0.10.0
func (*MsgEnableValidator) Descriptor() ([]byte, []int)
func (*MsgEnableValidator) GetCreator ¶ added in v0.10.0
func (m *MsgEnableValidator) GetCreator() string
func (*MsgEnableValidator) GetSignBytes ¶ added in v0.10.0
func (msg *MsgEnableValidator) GetSignBytes() []byte
func (*MsgEnableValidator) GetSigners ¶ added in v0.10.0
func (msg *MsgEnableValidator) GetSigners() []sdk.AccAddress
func (*MsgEnableValidator) Marshal ¶ added in v0.10.0
func (m *MsgEnableValidator) Marshal() (dAtA []byte, err error)
func (*MsgEnableValidator) MarshalTo ¶ added in v0.10.0
func (m *MsgEnableValidator) MarshalTo(dAtA []byte) (int, error)
func (*MsgEnableValidator) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *MsgEnableValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEnableValidator) ProtoMessage ¶ added in v0.10.0
func (*MsgEnableValidator) ProtoMessage()
func (*MsgEnableValidator) Reset ¶ added in v0.10.0
func (m *MsgEnableValidator) Reset()
func (*MsgEnableValidator) Route ¶ added in v0.10.0
func (msg *MsgEnableValidator) Route() string
func (*MsgEnableValidator) Size ¶ added in v0.10.0
func (m *MsgEnableValidator) Size() (n int)
func (*MsgEnableValidator) String ¶ added in v0.10.0
func (m *MsgEnableValidator) String() string
func (*MsgEnableValidator) Type ¶ added in v0.10.0
func (msg *MsgEnableValidator) Type() string
func (*MsgEnableValidator) Unmarshal ¶ added in v0.10.0
func (m *MsgEnableValidator) Unmarshal(dAtA []byte) error
func (*MsgEnableValidator) ValidateBasic ¶ added in v0.10.0
func (msg *MsgEnableValidator) ValidateBasic() error
func (*MsgEnableValidator) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *MsgEnableValidator) XXX_DiscardUnknown()
func (*MsgEnableValidator) XXX_Marshal ¶ added in v0.10.0
func (m *MsgEnableValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEnableValidator) XXX_Merge ¶ added in v0.10.0
func (m *MsgEnableValidator) XXX_Merge(src proto.Message)
func (*MsgEnableValidator) XXX_Size ¶ added in v0.10.0
func (m *MsgEnableValidator) XXX_Size() int
func (*MsgEnableValidator) XXX_Unmarshal ¶ added in v0.10.0
func (m *MsgEnableValidator) XXX_Unmarshal(b []byte) error
type MsgEnableValidatorResponse ¶ added in v0.10.0
type MsgEnableValidatorResponse struct { }
func (*MsgEnableValidatorResponse) Descriptor ¶ added in v0.10.0
func (*MsgEnableValidatorResponse) Descriptor() ([]byte, []int)
func (*MsgEnableValidatorResponse) Marshal ¶ added in v0.10.0
func (m *MsgEnableValidatorResponse) Marshal() (dAtA []byte, err error)
func (*MsgEnableValidatorResponse) MarshalTo ¶ added in v0.10.0
func (m *MsgEnableValidatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgEnableValidatorResponse) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *MsgEnableValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEnableValidatorResponse) ProtoMessage ¶ added in v0.10.0
func (*MsgEnableValidatorResponse) ProtoMessage()
func (*MsgEnableValidatorResponse) Reset ¶ added in v0.10.0
func (m *MsgEnableValidatorResponse) Reset()
func (*MsgEnableValidatorResponse) Size ¶ added in v0.10.0
func (m *MsgEnableValidatorResponse) Size() (n int)
func (*MsgEnableValidatorResponse) String ¶ added in v0.10.0
func (m *MsgEnableValidatorResponse) String() string
func (*MsgEnableValidatorResponse) Unmarshal ¶ added in v0.10.0
func (m *MsgEnableValidatorResponse) Unmarshal(dAtA []byte) error
func (*MsgEnableValidatorResponse) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *MsgEnableValidatorResponse) XXX_DiscardUnknown()
func (*MsgEnableValidatorResponse) XXX_Marshal ¶ added in v0.10.0
func (m *MsgEnableValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEnableValidatorResponse) XXX_Merge ¶ added in v0.10.0
func (m *MsgEnableValidatorResponse) XXX_Merge(src proto.Message)
func (*MsgEnableValidatorResponse) XXX_Size ¶ added in v0.10.0
func (m *MsgEnableValidatorResponse) XXX_Size() int
func (*MsgEnableValidatorResponse) XXX_Unmarshal ¶ added in v0.10.0
func (m *MsgEnableValidatorResponse) XXX_Unmarshal(b []byte) error
type MsgProposeDisableValidator ¶ added in v0.10.0
type MsgProposeDisableValidator struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty" validate:"required"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty" validate:"required"` Info string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty" validate:"max=4096"` Time int64 `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"` }
func NewMsgProposeDisableValidator ¶ added in v0.10.0
func NewMsgProposeDisableValidator(creator sdk.AccAddress, address sdk.ValAddress, info string) *MsgProposeDisableValidator
func (*MsgProposeDisableValidator) Descriptor ¶ added in v0.10.0
func (*MsgProposeDisableValidator) Descriptor() ([]byte, []int)
func (*MsgProposeDisableValidator) GetAddress ¶ added in v0.10.0
func (m *MsgProposeDisableValidator) GetAddress() string
func (*MsgProposeDisableValidator) GetCreator ¶ added in v0.10.0
func (m *MsgProposeDisableValidator) GetCreator() string
func (*MsgProposeDisableValidator) GetInfo ¶ added in v0.10.0
func (m *MsgProposeDisableValidator) GetInfo() string
func (*MsgProposeDisableValidator) GetSignBytes ¶ added in v0.10.0
func (msg *MsgProposeDisableValidator) GetSignBytes() []byte
func (*MsgProposeDisableValidator) GetSigners ¶ added in v0.10.0
func (msg *MsgProposeDisableValidator) GetSigners() []sdk.AccAddress
func (*MsgProposeDisableValidator) GetTime ¶ added in v0.10.0
func (m *MsgProposeDisableValidator) GetTime() int64
func (*MsgProposeDisableValidator) Marshal ¶ added in v0.10.0
func (m *MsgProposeDisableValidator) Marshal() (dAtA []byte, err error)
func (*MsgProposeDisableValidator) MarshalTo ¶ added in v0.10.0
func (m *MsgProposeDisableValidator) MarshalTo(dAtA []byte) (int, error)
func (*MsgProposeDisableValidator) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *MsgProposeDisableValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgProposeDisableValidator) ProtoMessage ¶ added in v0.10.0
func (*MsgProposeDisableValidator) ProtoMessage()
func (*MsgProposeDisableValidator) Reset ¶ added in v0.10.0
func (m *MsgProposeDisableValidator) Reset()
func (*MsgProposeDisableValidator) Route ¶ added in v0.10.0
func (msg *MsgProposeDisableValidator) Route() string
func (*MsgProposeDisableValidator) Size ¶ added in v0.10.0
func (m *MsgProposeDisableValidator) Size() (n int)
func (*MsgProposeDisableValidator) String ¶ added in v0.10.0
func (m *MsgProposeDisableValidator) String() string
func (*MsgProposeDisableValidator) Type ¶ added in v0.10.0
func (msg *MsgProposeDisableValidator) Type() string
func (*MsgProposeDisableValidator) Unmarshal ¶ added in v0.10.0
func (m *MsgProposeDisableValidator) Unmarshal(dAtA []byte) error
func (*MsgProposeDisableValidator) ValidateBasic ¶ added in v0.10.0
func (msg *MsgProposeDisableValidator) ValidateBasic() error
func (*MsgProposeDisableValidator) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *MsgProposeDisableValidator) XXX_DiscardUnknown()
func (*MsgProposeDisableValidator) XXX_Marshal ¶ added in v0.10.0
func (m *MsgProposeDisableValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgProposeDisableValidator) XXX_Merge ¶ added in v0.10.0
func (m *MsgProposeDisableValidator) XXX_Merge(src proto.Message)
func (*MsgProposeDisableValidator) XXX_Size ¶ added in v0.10.0
func (m *MsgProposeDisableValidator) XXX_Size() int
func (*MsgProposeDisableValidator) XXX_Unmarshal ¶ added in v0.10.0
func (m *MsgProposeDisableValidator) XXX_Unmarshal(b []byte) error
type MsgProposeDisableValidatorResponse ¶ added in v0.10.0
type MsgProposeDisableValidatorResponse struct { }
func (*MsgProposeDisableValidatorResponse) Descriptor ¶ added in v0.10.0
func (*MsgProposeDisableValidatorResponse) Descriptor() ([]byte, []int)
func (*MsgProposeDisableValidatorResponse) Marshal ¶ added in v0.10.0
func (m *MsgProposeDisableValidatorResponse) Marshal() (dAtA []byte, err error)
func (*MsgProposeDisableValidatorResponse) MarshalTo ¶ added in v0.10.0
func (m *MsgProposeDisableValidatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgProposeDisableValidatorResponse) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *MsgProposeDisableValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgProposeDisableValidatorResponse) ProtoMessage ¶ added in v0.10.0
func (*MsgProposeDisableValidatorResponse) ProtoMessage()
func (*MsgProposeDisableValidatorResponse) Reset ¶ added in v0.10.0
func (m *MsgProposeDisableValidatorResponse) Reset()
func (*MsgProposeDisableValidatorResponse) Size ¶ added in v0.10.0
func (m *MsgProposeDisableValidatorResponse) Size() (n int)
func (*MsgProposeDisableValidatorResponse) String ¶ added in v0.10.0
func (m *MsgProposeDisableValidatorResponse) String() string
func (*MsgProposeDisableValidatorResponse) Unmarshal ¶ added in v0.10.0
func (m *MsgProposeDisableValidatorResponse) Unmarshal(dAtA []byte) error
func (*MsgProposeDisableValidatorResponse) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *MsgProposeDisableValidatorResponse) XXX_DiscardUnknown()
func (*MsgProposeDisableValidatorResponse) XXX_Marshal ¶ added in v0.10.0
func (m *MsgProposeDisableValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgProposeDisableValidatorResponse) XXX_Merge ¶ added in v0.10.0
func (m *MsgProposeDisableValidatorResponse) XXX_Merge(src proto.Message)
func (*MsgProposeDisableValidatorResponse) XXX_Size ¶ added in v0.10.0
func (m *MsgProposeDisableValidatorResponse) XXX_Size() int
func (*MsgProposeDisableValidatorResponse) XXX_Unmarshal ¶ added in v0.10.0
func (m *MsgProposeDisableValidatorResponse) XXX_Unmarshal(b []byte) error
type MsgRejectDisableValidator ¶ added in v0.11.0
type MsgRejectDisableValidator struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Info string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` Time int64 `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"` }
func NewMsgRejectDisableValidator ¶ added in v0.11.0
func NewMsgRejectDisableValidator(creator sdk.AccAddress, address sdk.ValAddress, info string) *MsgRejectDisableValidator
func (*MsgRejectDisableValidator) Descriptor ¶ added in v0.11.0
func (*MsgRejectDisableValidator) Descriptor() ([]byte, []int)
func (*MsgRejectDisableValidator) GetAddress ¶ added in v0.11.0
func (m *MsgRejectDisableValidator) GetAddress() string
func (*MsgRejectDisableValidator) GetCreator ¶ added in v0.11.0
func (m *MsgRejectDisableValidator) GetCreator() string
func (*MsgRejectDisableValidator) GetInfo ¶ added in v0.11.0
func (m *MsgRejectDisableValidator) GetInfo() string
func (*MsgRejectDisableValidator) GetSignBytes ¶ added in v0.11.0
func (msg *MsgRejectDisableValidator) GetSignBytes() []byte
func (*MsgRejectDisableValidator) GetSigners ¶ added in v0.11.0
func (msg *MsgRejectDisableValidator) GetSigners() []sdk.AccAddress
func (*MsgRejectDisableValidator) GetTime ¶ added in v0.11.0
func (m *MsgRejectDisableValidator) GetTime() int64
func (*MsgRejectDisableValidator) Marshal ¶ added in v0.11.0
func (m *MsgRejectDisableValidator) Marshal() (dAtA []byte, err error)
func (*MsgRejectDisableValidator) MarshalTo ¶ added in v0.11.0
func (m *MsgRejectDisableValidator) MarshalTo(dAtA []byte) (int, error)
func (*MsgRejectDisableValidator) MarshalToSizedBuffer ¶ added in v0.11.0
func (m *MsgRejectDisableValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRejectDisableValidator) ProtoMessage ¶ added in v0.11.0
func (*MsgRejectDisableValidator) ProtoMessage()
func (*MsgRejectDisableValidator) Reset ¶ added in v0.11.0
func (m *MsgRejectDisableValidator) Reset()
func (*MsgRejectDisableValidator) Route ¶ added in v0.11.0
func (msg *MsgRejectDisableValidator) Route() string
func (*MsgRejectDisableValidator) Size ¶ added in v0.11.0
func (m *MsgRejectDisableValidator) Size() (n int)
func (*MsgRejectDisableValidator) String ¶ added in v0.11.0
func (m *MsgRejectDisableValidator) String() string
func (*MsgRejectDisableValidator) Type ¶ added in v0.11.0
func (msg *MsgRejectDisableValidator) Type() string
func (*MsgRejectDisableValidator) Unmarshal ¶ added in v0.11.0
func (m *MsgRejectDisableValidator) Unmarshal(dAtA []byte) error
func (*MsgRejectDisableValidator) ValidateBasic ¶ added in v0.11.0
func (msg *MsgRejectDisableValidator) ValidateBasic() error
func (*MsgRejectDisableValidator) XXX_DiscardUnknown ¶ added in v0.11.0
func (m *MsgRejectDisableValidator) XXX_DiscardUnknown()
func (*MsgRejectDisableValidator) XXX_Marshal ¶ added in v0.11.0
func (m *MsgRejectDisableValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRejectDisableValidator) XXX_Merge ¶ added in v0.11.0
func (m *MsgRejectDisableValidator) XXX_Merge(src proto.Message)
func (*MsgRejectDisableValidator) XXX_Size ¶ added in v0.11.0
func (m *MsgRejectDisableValidator) XXX_Size() int
func (*MsgRejectDisableValidator) XXX_Unmarshal ¶ added in v0.11.0
func (m *MsgRejectDisableValidator) XXX_Unmarshal(b []byte) error
type MsgRejectDisableValidatorResponse ¶ added in v0.11.0
type MsgRejectDisableValidatorResponse struct { }
func (*MsgRejectDisableValidatorResponse) Descriptor ¶ added in v0.11.0
func (*MsgRejectDisableValidatorResponse) Descriptor() ([]byte, []int)
func (*MsgRejectDisableValidatorResponse) Marshal ¶ added in v0.11.0
func (m *MsgRejectDisableValidatorResponse) Marshal() (dAtA []byte, err error)
func (*MsgRejectDisableValidatorResponse) MarshalTo ¶ added in v0.11.0
func (m *MsgRejectDisableValidatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRejectDisableValidatorResponse) MarshalToSizedBuffer ¶ added in v0.11.0
func (m *MsgRejectDisableValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRejectDisableValidatorResponse) ProtoMessage ¶ added in v0.11.0
func (*MsgRejectDisableValidatorResponse) ProtoMessage()
func (*MsgRejectDisableValidatorResponse) Reset ¶ added in v0.11.0
func (m *MsgRejectDisableValidatorResponse) Reset()
func (*MsgRejectDisableValidatorResponse) Size ¶ added in v0.11.0
func (m *MsgRejectDisableValidatorResponse) Size() (n int)
func (*MsgRejectDisableValidatorResponse) String ¶ added in v0.11.0
func (m *MsgRejectDisableValidatorResponse) String() string
func (*MsgRejectDisableValidatorResponse) Unmarshal ¶ added in v0.11.0
func (m *MsgRejectDisableValidatorResponse) Unmarshal(dAtA []byte) error
func (*MsgRejectDisableValidatorResponse) XXX_DiscardUnknown ¶ added in v0.11.0
func (m *MsgRejectDisableValidatorResponse) XXX_DiscardUnknown()
func (*MsgRejectDisableValidatorResponse) XXX_Marshal ¶ added in v0.11.0
func (m *MsgRejectDisableValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRejectDisableValidatorResponse) XXX_Merge ¶ added in v0.11.0
func (m *MsgRejectDisableValidatorResponse) XXX_Merge(src proto.Message)
func (*MsgRejectDisableValidatorResponse) XXX_Size ¶ added in v0.11.0
func (m *MsgRejectDisableValidatorResponse) XXX_Size() int
func (*MsgRejectDisableValidatorResponse) XXX_Unmarshal ¶ added in v0.11.0
func (m *MsgRejectDisableValidatorResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CreateValidator(context.Context, *MsgCreateValidator) (*MsgCreateValidatorResponse, error) ProposeDisableValidator(context.Context, *MsgProposeDisableValidator) (*MsgProposeDisableValidatorResponse, error) ApproveDisableValidator(context.Context, *MsgApproveDisableValidator) (*MsgApproveDisableValidatorResponse, error) DisableValidator(context.Context, *MsgDisableValidator) (*MsgDisableValidatorResponse, error) EnableValidator(context.Context, *MsgEnableValidator) (*MsgEnableValidatorResponse, error) RejectDisableValidator(context.Context, *MsgRejectDisableValidator) (*MsgRejectDisableValidatorResponse, error) }
MsgServer is the server API for Msg service.
type ProposedDisableValidator ¶ added in v0.10.0
type ProposedDisableValidator struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` Approvals []*Grant `protobuf:"bytes,3,rep,name=approvals,proto3" json:"approvals,omitempty"` Rejects []*Grant `protobuf:"bytes,4,rep,name=rejects,proto3" json:"rejects,omitempty"` }
func (*ProposedDisableValidator) Descriptor ¶ added in v0.10.0
func (*ProposedDisableValidator) Descriptor() ([]byte, []int)
func (*ProposedDisableValidator) GetAddress ¶ added in v0.10.0
func (m *ProposedDisableValidator) GetAddress() string
func (*ProposedDisableValidator) GetApprovals ¶ added in v0.10.0
func (m *ProposedDisableValidator) GetApprovals() []*Grant
func (*ProposedDisableValidator) GetCreator ¶ added in v0.10.0
func (m *ProposedDisableValidator) GetCreator() string
func (*ProposedDisableValidator) GetRejects ¶ added in v0.11.0
func (m *ProposedDisableValidator) GetRejects() []*Grant
func (ProposedDisableValidator) HasApprovalFrom ¶ added in v0.10.0
func (disabledValidator ProposedDisableValidator) HasApprovalFrom(address sdk.AccAddress) bool
func (ProposedDisableValidator) HasRejectDisableFrom ¶ added in v0.11.0
func (disabledValidator ProposedDisableValidator) HasRejectDisableFrom(address sdk.AccAddress) bool
func (*ProposedDisableValidator) Marshal ¶ added in v0.10.0
func (m *ProposedDisableValidator) Marshal() (dAtA []byte, err error)
func (*ProposedDisableValidator) MarshalTo ¶ added in v0.10.0
func (m *ProposedDisableValidator) MarshalTo(dAtA []byte) (int, error)
func (*ProposedDisableValidator) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *ProposedDisableValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProposedDisableValidator) ProtoMessage ¶ added in v0.10.0
func (*ProposedDisableValidator) ProtoMessage()
func (*ProposedDisableValidator) Reset ¶ added in v0.10.0
func (m *ProposedDisableValidator) Reset()
func (*ProposedDisableValidator) Size ¶ added in v0.10.0
func (m *ProposedDisableValidator) Size() (n int)
func (*ProposedDisableValidator) String ¶ added in v0.10.0
func (m *ProposedDisableValidator) String() string
func (*ProposedDisableValidator) Unmarshal ¶ added in v0.10.0
func (m *ProposedDisableValidator) Unmarshal(dAtA []byte) error
func (*ProposedDisableValidator) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *ProposedDisableValidator) XXX_DiscardUnknown()
func (*ProposedDisableValidator) XXX_Marshal ¶ added in v0.10.0
func (m *ProposedDisableValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposedDisableValidator) XXX_Merge ¶ added in v0.10.0
func (m *ProposedDisableValidator) XXX_Merge(src proto.Message)
func (*ProposedDisableValidator) XXX_Size ¶ added in v0.10.0
func (m *ProposedDisableValidator) XXX_Size() int
func (*ProposedDisableValidator) XXX_Unmarshal ¶ added in v0.10.0
func (m *ProposedDisableValidator) XXX_Unmarshal(b []byte) error
type QueryAllDisabledValidatorRequest ¶ added in v0.10.0
type QueryAllDisabledValidatorRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllDisabledValidatorRequest) Descriptor ¶ added in v0.10.0
func (*QueryAllDisabledValidatorRequest) Descriptor() ([]byte, []int)
func (*QueryAllDisabledValidatorRequest) GetPagination ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorRequest) GetPagination() *query.PageRequest
func (*QueryAllDisabledValidatorRequest) Marshal ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllDisabledValidatorRequest) MarshalTo ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllDisabledValidatorRequest) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllDisabledValidatorRequest) ProtoMessage ¶ added in v0.10.0
func (*QueryAllDisabledValidatorRequest) ProtoMessage()
func (*QueryAllDisabledValidatorRequest) Reset ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorRequest) Reset()
func (*QueryAllDisabledValidatorRequest) Size ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorRequest) Size() (n int)
func (*QueryAllDisabledValidatorRequest) String ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorRequest) String() string
func (*QueryAllDisabledValidatorRequest) Unmarshal ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorRequest) Unmarshal(dAtA []byte) error
func (*QueryAllDisabledValidatorRequest) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorRequest) XXX_DiscardUnknown()
func (*QueryAllDisabledValidatorRequest) XXX_Marshal ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllDisabledValidatorRequest) XXX_Merge ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorRequest) XXX_Merge(src proto.Message)
func (*QueryAllDisabledValidatorRequest) XXX_Size ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorRequest) XXX_Size() int
func (*QueryAllDisabledValidatorRequest) XXX_Unmarshal ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorRequest) XXX_Unmarshal(b []byte) error
type QueryAllDisabledValidatorResponse ¶ added in v0.10.0
type QueryAllDisabledValidatorResponse struct { DisabledValidator []DisabledValidator `protobuf:"bytes,1,rep,name=disabledValidator,proto3" json:"disabledValidator"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllDisabledValidatorResponse) Descriptor ¶ added in v0.10.0
func (*QueryAllDisabledValidatorResponse) Descriptor() ([]byte, []int)
func (*QueryAllDisabledValidatorResponse) GetDisabledValidator ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorResponse) GetDisabledValidator() []DisabledValidator
func (*QueryAllDisabledValidatorResponse) GetPagination ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorResponse) GetPagination() *query.PageResponse
func (*QueryAllDisabledValidatorResponse) Marshal ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllDisabledValidatorResponse) MarshalTo ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllDisabledValidatorResponse) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllDisabledValidatorResponse) ProtoMessage ¶ added in v0.10.0
func (*QueryAllDisabledValidatorResponse) ProtoMessage()
func (*QueryAllDisabledValidatorResponse) Reset ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorResponse) Reset()
func (*QueryAllDisabledValidatorResponse) Size ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorResponse) Size() (n int)
func (*QueryAllDisabledValidatorResponse) String ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorResponse) String() string
func (*QueryAllDisabledValidatorResponse) Unmarshal ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorResponse) Unmarshal(dAtA []byte) error
func (*QueryAllDisabledValidatorResponse) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorResponse) XXX_DiscardUnknown()
func (*QueryAllDisabledValidatorResponse) XXX_Marshal ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllDisabledValidatorResponse) XXX_Merge ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorResponse) XXX_Merge(src proto.Message)
func (*QueryAllDisabledValidatorResponse) XXX_Size ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorResponse) XXX_Size() int
func (*QueryAllDisabledValidatorResponse) XXX_Unmarshal ¶ added in v0.10.0
func (m *QueryAllDisabledValidatorResponse) XXX_Unmarshal(b []byte) error
type QueryAllLastValidatorPowerRequest ¶
type QueryAllLastValidatorPowerRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllLastValidatorPowerRequest) Descriptor ¶
func (*QueryAllLastValidatorPowerRequest) Descriptor() ([]byte, []int)
func (*QueryAllLastValidatorPowerRequest) GetPagination ¶
func (m *QueryAllLastValidatorPowerRequest) GetPagination() *query.PageRequest
func (*QueryAllLastValidatorPowerRequest) Marshal ¶
func (m *QueryAllLastValidatorPowerRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllLastValidatorPowerRequest) MarshalTo ¶
func (m *QueryAllLastValidatorPowerRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllLastValidatorPowerRequest) MarshalToSizedBuffer ¶
func (m *QueryAllLastValidatorPowerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllLastValidatorPowerRequest) ProtoMessage ¶
func (*QueryAllLastValidatorPowerRequest) ProtoMessage()
func (*QueryAllLastValidatorPowerRequest) Reset ¶
func (m *QueryAllLastValidatorPowerRequest) Reset()
func (*QueryAllLastValidatorPowerRequest) Size ¶
func (m *QueryAllLastValidatorPowerRequest) Size() (n int)
func (*QueryAllLastValidatorPowerRequest) String ¶
func (m *QueryAllLastValidatorPowerRequest) String() string
func (*QueryAllLastValidatorPowerRequest) Unmarshal ¶
func (m *QueryAllLastValidatorPowerRequest) Unmarshal(dAtA []byte) error
func (*QueryAllLastValidatorPowerRequest) XXX_DiscardUnknown ¶
func (m *QueryAllLastValidatorPowerRequest) XXX_DiscardUnknown()
func (*QueryAllLastValidatorPowerRequest) XXX_Marshal ¶
func (m *QueryAllLastValidatorPowerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllLastValidatorPowerRequest) XXX_Merge ¶
func (m *QueryAllLastValidatorPowerRequest) XXX_Merge(src proto.Message)
func (*QueryAllLastValidatorPowerRequest) XXX_Size ¶
func (m *QueryAllLastValidatorPowerRequest) XXX_Size() int
func (*QueryAllLastValidatorPowerRequest) XXX_Unmarshal ¶
func (m *QueryAllLastValidatorPowerRequest) XXX_Unmarshal(b []byte) error
type QueryAllLastValidatorPowerResponse ¶
type QueryAllLastValidatorPowerResponse struct { LastValidatorPower []LastValidatorPower `protobuf:"bytes,1,rep,name=lastValidatorPower,proto3" json:"lastValidatorPower"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllLastValidatorPowerResponse) Descriptor ¶
func (*QueryAllLastValidatorPowerResponse) Descriptor() ([]byte, []int)
func (*QueryAllLastValidatorPowerResponse) GetLastValidatorPower ¶
func (m *QueryAllLastValidatorPowerResponse) GetLastValidatorPower() []LastValidatorPower
func (*QueryAllLastValidatorPowerResponse) GetPagination ¶
func (m *QueryAllLastValidatorPowerResponse) GetPagination() *query.PageResponse
func (*QueryAllLastValidatorPowerResponse) Marshal ¶
func (m *QueryAllLastValidatorPowerResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllLastValidatorPowerResponse) MarshalTo ¶
func (m *QueryAllLastValidatorPowerResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllLastValidatorPowerResponse) MarshalToSizedBuffer ¶
func (m *QueryAllLastValidatorPowerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllLastValidatorPowerResponse) ProtoMessage ¶
func (*QueryAllLastValidatorPowerResponse) ProtoMessage()
func (*QueryAllLastValidatorPowerResponse) Reset ¶
func (m *QueryAllLastValidatorPowerResponse) Reset()
func (*QueryAllLastValidatorPowerResponse) Size ¶
func (m *QueryAllLastValidatorPowerResponse) Size() (n int)
func (*QueryAllLastValidatorPowerResponse) String ¶
func (m *QueryAllLastValidatorPowerResponse) String() string
func (*QueryAllLastValidatorPowerResponse) Unmarshal ¶
func (m *QueryAllLastValidatorPowerResponse) Unmarshal(dAtA []byte) error
func (*QueryAllLastValidatorPowerResponse) XXX_DiscardUnknown ¶
func (m *QueryAllLastValidatorPowerResponse) XXX_DiscardUnknown()
func (*QueryAllLastValidatorPowerResponse) XXX_Marshal ¶
func (m *QueryAllLastValidatorPowerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllLastValidatorPowerResponse) XXX_Merge ¶
func (m *QueryAllLastValidatorPowerResponse) XXX_Merge(src proto.Message)
func (*QueryAllLastValidatorPowerResponse) XXX_Size ¶
func (m *QueryAllLastValidatorPowerResponse) XXX_Size() int
func (*QueryAllLastValidatorPowerResponse) XXX_Unmarshal ¶
func (m *QueryAllLastValidatorPowerResponse) XXX_Unmarshal(b []byte) error
type QueryAllProposedDisableValidatorRequest ¶ added in v0.10.0
type QueryAllProposedDisableValidatorRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllProposedDisableValidatorRequest) Descriptor ¶ added in v0.10.0
func (*QueryAllProposedDisableValidatorRequest) Descriptor() ([]byte, []int)
func (*QueryAllProposedDisableValidatorRequest) GetPagination ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorRequest) GetPagination() *query.PageRequest
func (*QueryAllProposedDisableValidatorRequest) Marshal ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllProposedDisableValidatorRequest) MarshalTo ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllProposedDisableValidatorRequest) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllProposedDisableValidatorRequest) ProtoMessage ¶ added in v0.10.0
func (*QueryAllProposedDisableValidatorRequest) ProtoMessage()
func (*QueryAllProposedDisableValidatorRequest) Reset ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorRequest) Reset()
func (*QueryAllProposedDisableValidatorRequest) Size ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorRequest) Size() (n int)
func (*QueryAllProposedDisableValidatorRequest) String ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorRequest) String() string
func (*QueryAllProposedDisableValidatorRequest) Unmarshal ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorRequest) Unmarshal(dAtA []byte) error
func (*QueryAllProposedDisableValidatorRequest) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorRequest) XXX_DiscardUnknown()
func (*QueryAllProposedDisableValidatorRequest) XXX_Marshal ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllProposedDisableValidatorRequest) XXX_Merge ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorRequest) XXX_Merge(src proto.Message)
func (*QueryAllProposedDisableValidatorRequest) XXX_Size ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorRequest) XXX_Size() int
func (*QueryAllProposedDisableValidatorRequest) XXX_Unmarshal ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorRequest) XXX_Unmarshal(b []byte) error
type QueryAllProposedDisableValidatorResponse ¶ added in v0.10.0
type QueryAllProposedDisableValidatorResponse struct { ProposedDisableValidator []ProposedDisableValidator `protobuf:"bytes,1,rep,name=proposedDisableValidator,proto3" json:"proposedDisableValidator"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllProposedDisableValidatorResponse) Descriptor ¶ added in v0.10.0
func (*QueryAllProposedDisableValidatorResponse) Descriptor() ([]byte, []int)
func (*QueryAllProposedDisableValidatorResponse) GetPagination ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorResponse) GetPagination() *query.PageResponse
func (*QueryAllProposedDisableValidatorResponse) GetProposedDisableValidator ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorResponse) GetProposedDisableValidator() []ProposedDisableValidator
func (*QueryAllProposedDisableValidatorResponse) Marshal ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllProposedDisableValidatorResponse) MarshalTo ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllProposedDisableValidatorResponse) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllProposedDisableValidatorResponse) ProtoMessage ¶ added in v0.10.0
func (*QueryAllProposedDisableValidatorResponse) ProtoMessage()
func (*QueryAllProposedDisableValidatorResponse) Reset ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorResponse) Reset()
func (*QueryAllProposedDisableValidatorResponse) Size ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorResponse) Size() (n int)
func (*QueryAllProposedDisableValidatorResponse) String ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorResponse) String() string
func (*QueryAllProposedDisableValidatorResponse) Unmarshal ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorResponse) Unmarshal(dAtA []byte) error
func (*QueryAllProposedDisableValidatorResponse) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorResponse) XXX_DiscardUnknown()
func (*QueryAllProposedDisableValidatorResponse) XXX_Marshal ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllProposedDisableValidatorResponse) XXX_Merge ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorResponse) XXX_Merge(src proto.Message)
func (*QueryAllProposedDisableValidatorResponse) XXX_Size ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorResponse) XXX_Size() int
func (*QueryAllProposedDisableValidatorResponse) XXX_Unmarshal ¶ added in v0.10.0
func (m *QueryAllProposedDisableValidatorResponse) XXX_Unmarshal(b []byte) error
type QueryAllRejectedDisableValidatorRequest ¶ added in v0.11.0
type QueryAllRejectedDisableValidatorRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllRejectedDisableValidatorRequest) Descriptor ¶ added in v0.11.0
func (*QueryAllRejectedDisableValidatorRequest) Descriptor() ([]byte, []int)
func (*QueryAllRejectedDisableValidatorRequest) GetPagination ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorRequest) GetPagination() *query.PageRequest
func (*QueryAllRejectedDisableValidatorRequest) Marshal ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllRejectedDisableValidatorRequest) MarshalTo ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllRejectedDisableValidatorRequest) MarshalToSizedBuffer ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllRejectedDisableValidatorRequest) ProtoMessage ¶ added in v0.11.0
func (*QueryAllRejectedDisableValidatorRequest) ProtoMessage()
func (*QueryAllRejectedDisableValidatorRequest) Reset ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorRequest) Reset()
func (*QueryAllRejectedDisableValidatorRequest) Size ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorRequest) Size() (n int)
func (*QueryAllRejectedDisableValidatorRequest) String ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorRequest) String() string
func (*QueryAllRejectedDisableValidatorRequest) Unmarshal ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorRequest) Unmarshal(dAtA []byte) error
func (*QueryAllRejectedDisableValidatorRequest) XXX_DiscardUnknown ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorRequest) XXX_DiscardUnknown()
func (*QueryAllRejectedDisableValidatorRequest) XXX_Marshal ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllRejectedDisableValidatorRequest) XXX_Merge ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorRequest) XXX_Merge(src proto.Message)
func (*QueryAllRejectedDisableValidatorRequest) XXX_Size ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorRequest) XXX_Size() int
func (*QueryAllRejectedDisableValidatorRequest) XXX_Unmarshal ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorRequest) XXX_Unmarshal(b []byte) error
type QueryAllRejectedDisableValidatorResponse ¶ added in v0.11.0
type QueryAllRejectedDisableValidatorResponse struct { RejectedValidator []RejectedDisableValidator `protobuf:"bytes,1,rep,name=rejectedValidator,proto3" json:"rejectedValidator"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllRejectedDisableValidatorResponse) Descriptor ¶ added in v0.11.0
func (*QueryAllRejectedDisableValidatorResponse) Descriptor() ([]byte, []int)
func (*QueryAllRejectedDisableValidatorResponse) GetPagination ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorResponse) GetPagination() *query.PageResponse
func (*QueryAllRejectedDisableValidatorResponse) GetRejectedValidator ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorResponse) GetRejectedValidator() []RejectedDisableValidator
func (*QueryAllRejectedDisableValidatorResponse) Marshal ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllRejectedDisableValidatorResponse) MarshalTo ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllRejectedDisableValidatorResponse) MarshalToSizedBuffer ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllRejectedDisableValidatorResponse) ProtoMessage ¶ added in v0.11.0
func (*QueryAllRejectedDisableValidatorResponse) ProtoMessage()
func (*QueryAllRejectedDisableValidatorResponse) Reset ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorResponse) Reset()
func (*QueryAllRejectedDisableValidatorResponse) Size ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorResponse) Size() (n int)
func (*QueryAllRejectedDisableValidatorResponse) String ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorResponse) String() string
func (*QueryAllRejectedDisableValidatorResponse) Unmarshal ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorResponse) Unmarshal(dAtA []byte) error
func (*QueryAllRejectedDisableValidatorResponse) XXX_DiscardUnknown ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorResponse) XXX_DiscardUnknown()
func (*QueryAllRejectedDisableValidatorResponse) XXX_Marshal ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllRejectedDisableValidatorResponse) XXX_Merge ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorResponse) XXX_Merge(src proto.Message)
func (*QueryAllRejectedDisableValidatorResponse) XXX_Size ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorResponse) XXX_Size() int
func (*QueryAllRejectedDisableValidatorResponse) XXX_Unmarshal ¶ added in v0.11.0
func (m *QueryAllRejectedDisableValidatorResponse) 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 { // 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 lastValidatorPower by index. LastValidatorPower(ctx context.Context, in *QueryGetLastValidatorPowerRequest, opts ...grpc.CallOption) (*QueryGetLastValidatorPowerResponse, error) // Queries a list of lastValidatorPower items. LastValidatorPowerAll(ctx context.Context, in *QueryAllLastValidatorPowerRequest, opts ...grpc.CallOption) (*QueryAllLastValidatorPowerResponse, error) // Queries a ProposedDisableValidator by index. ProposedDisableValidator(ctx context.Context, in *QueryGetProposedDisableValidatorRequest, opts ...grpc.CallOption) (*QueryGetProposedDisableValidatorResponse, error) // Queries a list of ProposedDisableValidator items. ProposedDisableValidatorAll(ctx context.Context, in *QueryAllProposedDisableValidatorRequest, opts ...grpc.CallOption) (*QueryAllProposedDisableValidatorResponse, error) // Queries a DisabledValidator by index. DisabledValidator(ctx context.Context, in *QueryGetDisabledValidatorRequest, opts ...grpc.CallOption) (*QueryGetDisabledValidatorResponse, error) // Queries a list of DisabledValidator items. DisabledValidatorAll(ctx context.Context, in *QueryAllDisabledValidatorRequest, opts ...grpc.CallOption) (*QueryAllDisabledValidatorResponse, error) // Queries a RejectedNode by index. RejectedDisableValidator(ctx context.Context, in *QueryGetRejectedDisableValidatorRequest, opts ...grpc.CallOption) (*QueryGetRejectedDisableValidatorResponse, error) // Queries a list of RejectedNode items. RejectedDisableValidatorAll(ctx context.Context, in *QueryAllRejectedDisableValidatorRequest, opts ...grpc.CallOption) (*QueryAllRejectedDisableValidatorResponse, 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 QueryGetDisabledValidatorRequest ¶ added in v0.10.0
type QueryGetDisabledValidatorRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
func (*QueryGetDisabledValidatorRequest) Descriptor ¶ added in v0.10.0
func (*QueryGetDisabledValidatorRequest) Descriptor() ([]byte, []int)
func (*QueryGetDisabledValidatorRequest) GetAddress ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorRequest) GetAddress() string
func (*QueryGetDisabledValidatorRequest) Marshal ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetDisabledValidatorRequest) MarshalTo ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetDisabledValidatorRequest) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetDisabledValidatorRequest) ProtoMessage ¶ added in v0.10.0
func (*QueryGetDisabledValidatorRequest) ProtoMessage()
func (*QueryGetDisabledValidatorRequest) Reset ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorRequest) Reset()
func (*QueryGetDisabledValidatorRequest) Size ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorRequest) Size() (n int)
func (*QueryGetDisabledValidatorRequest) String ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorRequest) String() string
func (*QueryGetDisabledValidatorRequest) Unmarshal ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorRequest) Unmarshal(dAtA []byte) error
func (*QueryGetDisabledValidatorRequest) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorRequest) XXX_DiscardUnknown()
func (*QueryGetDisabledValidatorRequest) XXX_Marshal ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetDisabledValidatorRequest) XXX_Merge ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorRequest) XXX_Merge(src proto.Message)
func (*QueryGetDisabledValidatorRequest) XXX_Size ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorRequest) XXX_Size() int
func (*QueryGetDisabledValidatorRequest) XXX_Unmarshal ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorRequest) XXX_Unmarshal(b []byte) error
type QueryGetDisabledValidatorResponse ¶ added in v0.10.0
type QueryGetDisabledValidatorResponse struct {
DisabledValidator DisabledValidator `protobuf:"bytes,1,opt,name=disabledValidator,proto3" json:"disabledValidator"`
}
func (*QueryGetDisabledValidatorResponse) Descriptor ¶ added in v0.10.0
func (*QueryGetDisabledValidatorResponse) Descriptor() ([]byte, []int)
func (*QueryGetDisabledValidatorResponse) GetDisabledValidator ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorResponse) GetDisabledValidator() DisabledValidator
func (*QueryGetDisabledValidatorResponse) Marshal ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetDisabledValidatorResponse) MarshalTo ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetDisabledValidatorResponse) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetDisabledValidatorResponse) ProtoMessage ¶ added in v0.10.0
func (*QueryGetDisabledValidatorResponse) ProtoMessage()
func (*QueryGetDisabledValidatorResponse) Reset ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorResponse) Reset()
func (*QueryGetDisabledValidatorResponse) Size ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorResponse) Size() (n int)
func (*QueryGetDisabledValidatorResponse) String ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorResponse) String() string
func (*QueryGetDisabledValidatorResponse) Unmarshal ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorResponse) Unmarshal(dAtA []byte) error
func (*QueryGetDisabledValidatorResponse) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorResponse) XXX_DiscardUnknown()
func (*QueryGetDisabledValidatorResponse) XXX_Marshal ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetDisabledValidatorResponse) XXX_Merge ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorResponse) XXX_Merge(src proto.Message)
func (*QueryGetDisabledValidatorResponse) XXX_Size ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorResponse) XXX_Size() int
func (*QueryGetDisabledValidatorResponse) XXX_Unmarshal ¶ added in v0.10.0
func (m *QueryGetDisabledValidatorResponse) XXX_Unmarshal(b []byte) error
type QueryGetLastValidatorPowerRequest ¶
type QueryGetLastValidatorPowerRequest struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
}
func (*QueryGetLastValidatorPowerRequest) Descriptor ¶
func (*QueryGetLastValidatorPowerRequest) Descriptor() ([]byte, []int)
func (*QueryGetLastValidatorPowerRequest) GetOwner ¶
func (m *QueryGetLastValidatorPowerRequest) GetOwner() string
func (*QueryGetLastValidatorPowerRequest) Marshal ¶
func (m *QueryGetLastValidatorPowerRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetLastValidatorPowerRequest) MarshalTo ¶
func (m *QueryGetLastValidatorPowerRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLastValidatorPowerRequest) MarshalToSizedBuffer ¶
func (m *QueryGetLastValidatorPowerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLastValidatorPowerRequest) ProtoMessage ¶
func (*QueryGetLastValidatorPowerRequest) ProtoMessage()
func (*QueryGetLastValidatorPowerRequest) Reset ¶
func (m *QueryGetLastValidatorPowerRequest) Reset()
func (*QueryGetLastValidatorPowerRequest) Size ¶
func (m *QueryGetLastValidatorPowerRequest) Size() (n int)
func (*QueryGetLastValidatorPowerRequest) String ¶
func (m *QueryGetLastValidatorPowerRequest) String() string
func (*QueryGetLastValidatorPowerRequest) Unmarshal ¶
func (m *QueryGetLastValidatorPowerRequest) Unmarshal(dAtA []byte) error
func (*QueryGetLastValidatorPowerRequest) XXX_DiscardUnknown ¶
func (m *QueryGetLastValidatorPowerRequest) XXX_DiscardUnknown()
func (*QueryGetLastValidatorPowerRequest) XXX_Marshal ¶
func (m *QueryGetLastValidatorPowerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLastValidatorPowerRequest) XXX_Merge ¶
func (m *QueryGetLastValidatorPowerRequest) XXX_Merge(src proto.Message)
func (*QueryGetLastValidatorPowerRequest) XXX_Size ¶
func (m *QueryGetLastValidatorPowerRequest) XXX_Size() int
func (*QueryGetLastValidatorPowerRequest) XXX_Unmarshal ¶
func (m *QueryGetLastValidatorPowerRequest) XXX_Unmarshal(b []byte) error
type QueryGetLastValidatorPowerResponse ¶
type QueryGetLastValidatorPowerResponse struct {
LastValidatorPower LastValidatorPower `protobuf:"bytes,1,opt,name=lastValidatorPower,proto3" json:"lastValidatorPower"`
}
func (*QueryGetLastValidatorPowerResponse) Descriptor ¶
func (*QueryGetLastValidatorPowerResponse) Descriptor() ([]byte, []int)
func (*QueryGetLastValidatorPowerResponse) GetLastValidatorPower ¶
func (m *QueryGetLastValidatorPowerResponse) GetLastValidatorPower() LastValidatorPower
func (*QueryGetLastValidatorPowerResponse) Marshal ¶
func (m *QueryGetLastValidatorPowerResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetLastValidatorPowerResponse) MarshalTo ¶
func (m *QueryGetLastValidatorPowerResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLastValidatorPowerResponse) MarshalToSizedBuffer ¶
func (m *QueryGetLastValidatorPowerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLastValidatorPowerResponse) ProtoMessage ¶
func (*QueryGetLastValidatorPowerResponse) ProtoMessage()
func (*QueryGetLastValidatorPowerResponse) Reset ¶
func (m *QueryGetLastValidatorPowerResponse) Reset()
func (*QueryGetLastValidatorPowerResponse) Size ¶
func (m *QueryGetLastValidatorPowerResponse) Size() (n int)
func (*QueryGetLastValidatorPowerResponse) String ¶
func (m *QueryGetLastValidatorPowerResponse) String() string
func (*QueryGetLastValidatorPowerResponse) Unmarshal ¶
func (m *QueryGetLastValidatorPowerResponse) Unmarshal(dAtA []byte) error
func (*QueryGetLastValidatorPowerResponse) XXX_DiscardUnknown ¶
func (m *QueryGetLastValidatorPowerResponse) XXX_DiscardUnknown()
func (*QueryGetLastValidatorPowerResponse) XXX_Marshal ¶
func (m *QueryGetLastValidatorPowerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLastValidatorPowerResponse) XXX_Merge ¶
func (m *QueryGetLastValidatorPowerResponse) XXX_Merge(src proto.Message)
func (*QueryGetLastValidatorPowerResponse) XXX_Size ¶
func (m *QueryGetLastValidatorPowerResponse) XXX_Size() int
func (*QueryGetLastValidatorPowerResponse) XXX_Unmarshal ¶
func (m *QueryGetLastValidatorPowerResponse) XXX_Unmarshal(b []byte) error
type QueryGetProposedDisableValidatorRequest ¶ added in v0.10.0
type QueryGetProposedDisableValidatorRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
func (*QueryGetProposedDisableValidatorRequest) Descriptor ¶ added in v0.10.0
func (*QueryGetProposedDisableValidatorRequest) Descriptor() ([]byte, []int)
func (*QueryGetProposedDisableValidatorRequest) GetAddress ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorRequest) GetAddress() string
func (*QueryGetProposedDisableValidatorRequest) Marshal ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetProposedDisableValidatorRequest) MarshalTo ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetProposedDisableValidatorRequest) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetProposedDisableValidatorRequest) ProtoMessage ¶ added in v0.10.0
func (*QueryGetProposedDisableValidatorRequest) ProtoMessage()
func (*QueryGetProposedDisableValidatorRequest) Reset ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorRequest) Reset()
func (*QueryGetProposedDisableValidatorRequest) Size ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorRequest) Size() (n int)
func (*QueryGetProposedDisableValidatorRequest) String ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorRequest) String() string
func (*QueryGetProposedDisableValidatorRequest) Unmarshal ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorRequest) Unmarshal(dAtA []byte) error
func (*QueryGetProposedDisableValidatorRequest) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorRequest) XXX_DiscardUnknown()
func (*QueryGetProposedDisableValidatorRequest) XXX_Marshal ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetProposedDisableValidatorRequest) XXX_Merge ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorRequest) XXX_Merge(src proto.Message)
func (*QueryGetProposedDisableValidatorRequest) XXX_Size ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorRequest) XXX_Size() int
func (*QueryGetProposedDisableValidatorRequest) XXX_Unmarshal ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorRequest) XXX_Unmarshal(b []byte) error
type QueryGetProposedDisableValidatorResponse ¶ added in v0.10.0
type QueryGetProposedDisableValidatorResponse struct {
ProposedDisableValidator ProposedDisableValidator `protobuf:"bytes,1,opt,name=proposedDisableValidator,proto3" json:"proposedDisableValidator"`
}
func (*QueryGetProposedDisableValidatorResponse) Descriptor ¶ added in v0.10.0
func (*QueryGetProposedDisableValidatorResponse) Descriptor() ([]byte, []int)
func (*QueryGetProposedDisableValidatorResponse) GetProposedDisableValidator ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorResponse) GetProposedDisableValidator() ProposedDisableValidator
func (*QueryGetProposedDisableValidatorResponse) Marshal ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetProposedDisableValidatorResponse) MarshalTo ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetProposedDisableValidatorResponse) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetProposedDisableValidatorResponse) ProtoMessage ¶ added in v0.10.0
func (*QueryGetProposedDisableValidatorResponse) ProtoMessage()
func (*QueryGetProposedDisableValidatorResponse) Reset ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorResponse) Reset()
func (*QueryGetProposedDisableValidatorResponse) Size ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorResponse) Size() (n int)
func (*QueryGetProposedDisableValidatorResponse) String ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorResponse) String() string
func (*QueryGetProposedDisableValidatorResponse) Unmarshal ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorResponse) Unmarshal(dAtA []byte) error
func (*QueryGetProposedDisableValidatorResponse) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorResponse) XXX_DiscardUnknown()
func (*QueryGetProposedDisableValidatorResponse) XXX_Marshal ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetProposedDisableValidatorResponse) XXX_Merge ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorResponse) XXX_Merge(src proto.Message)
func (*QueryGetProposedDisableValidatorResponse) XXX_Size ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorResponse) XXX_Size() int
func (*QueryGetProposedDisableValidatorResponse) XXX_Unmarshal ¶ added in v0.10.0
func (m *QueryGetProposedDisableValidatorResponse) XXX_Unmarshal(b []byte) error
type QueryGetRejectedDisableValidatorRequest ¶ added in v0.11.0
type QueryGetRejectedDisableValidatorRequest struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
}
func (*QueryGetRejectedDisableValidatorRequest) Descriptor ¶ added in v0.11.0
func (*QueryGetRejectedDisableValidatorRequest) Descriptor() ([]byte, []int)
func (*QueryGetRejectedDisableValidatorRequest) GetOwner ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorRequest) GetOwner() string
func (*QueryGetRejectedDisableValidatorRequest) Marshal ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetRejectedDisableValidatorRequest) MarshalTo ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetRejectedDisableValidatorRequest) MarshalToSizedBuffer ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetRejectedDisableValidatorRequest) ProtoMessage ¶ added in v0.11.0
func (*QueryGetRejectedDisableValidatorRequest) ProtoMessage()
func (*QueryGetRejectedDisableValidatorRequest) Reset ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorRequest) Reset()
func (*QueryGetRejectedDisableValidatorRequest) Size ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorRequest) Size() (n int)
func (*QueryGetRejectedDisableValidatorRequest) String ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorRequest) String() string
func (*QueryGetRejectedDisableValidatorRequest) Unmarshal ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorRequest) Unmarshal(dAtA []byte) error
func (*QueryGetRejectedDisableValidatorRequest) XXX_DiscardUnknown ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorRequest) XXX_DiscardUnknown()
func (*QueryGetRejectedDisableValidatorRequest) XXX_Marshal ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetRejectedDisableValidatorRequest) XXX_Merge ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorRequest) XXX_Merge(src proto.Message)
func (*QueryGetRejectedDisableValidatorRequest) XXX_Size ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorRequest) XXX_Size() int
func (*QueryGetRejectedDisableValidatorRequest) XXX_Unmarshal ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorRequest) XXX_Unmarshal(b []byte) error
type QueryGetRejectedDisableValidatorResponse ¶ added in v0.11.0
type QueryGetRejectedDisableValidatorResponse struct {
RejectedValidator RejectedDisableValidator `protobuf:"bytes,1,opt,name=rejectedValidator,proto3" json:"rejectedValidator"`
}
func (*QueryGetRejectedDisableValidatorResponse) Descriptor ¶ added in v0.11.0
func (*QueryGetRejectedDisableValidatorResponse) Descriptor() ([]byte, []int)
func (*QueryGetRejectedDisableValidatorResponse) GetRejectedValidator ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorResponse) GetRejectedValidator() RejectedDisableValidator
func (*QueryGetRejectedDisableValidatorResponse) Marshal ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetRejectedDisableValidatorResponse) MarshalTo ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetRejectedDisableValidatorResponse) MarshalToSizedBuffer ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetRejectedDisableValidatorResponse) ProtoMessage ¶ added in v0.11.0
func (*QueryGetRejectedDisableValidatorResponse) ProtoMessage()
func (*QueryGetRejectedDisableValidatorResponse) Reset ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorResponse) Reset()
func (*QueryGetRejectedDisableValidatorResponse) Size ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorResponse) Size() (n int)
func (*QueryGetRejectedDisableValidatorResponse) String ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorResponse) String() string
func (*QueryGetRejectedDisableValidatorResponse) Unmarshal ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorResponse) Unmarshal(dAtA []byte) error
func (*QueryGetRejectedDisableValidatorResponse) XXX_DiscardUnknown ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorResponse) XXX_DiscardUnknown()
func (*QueryGetRejectedDisableValidatorResponse) XXX_Marshal ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetRejectedDisableValidatorResponse) XXX_Merge ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorResponse) XXX_Merge(src proto.Message)
func (*QueryGetRejectedDisableValidatorResponse) XXX_Size ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorResponse) XXX_Size() int
func (*QueryGetRejectedDisableValidatorResponse) XXX_Unmarshal ¶ added in v0.11.0
func (m *QueryGetRejectedDisableValidatorResponse) XXX_Unmarshal(b []byte) error
type QueryGetValidatorRequest ¶
type QueryGetValidatorRequest struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
}
func (*QueryGetValidatorRequest) Descriptor ¶
func (*QueryGetValidatorRequest) Descriptor() ([]byte, []int)
func (*QueryGetValidatorRequest) GetOwner ¶
func (m *QueryGetValidatorRequest) GetOwner() 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 { // 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 lastValidatorPower by index. LastValidatorPower(context.Context, *QueryGetLastValidatorPowerRequest) (*QueryGetLastValidatorPowerResponse, error) // Queries a list of lastValidatorPower items. LastValidatorPowerAll(context.Context, *QueryAllLastValidatorPowerRequest) (*QueryAllLastValidatorPowerResponse, error) // Queries a ProposedDisableValidator by index. ProposedDisableValidator(context.Context, *QueryGetProposedDisableValidatorRequest) (*QueryGetProposedDisableValidatorResponse, error) // Queries a list of ProposedDisableValidator items. ProposedDisableValidatorAll(context.Context, *QueryAllProposedDisableValidatorRequest) (*QueryAllProposedDisableValidatorResponse, error) // Queries a DisabledValidator by index. DisabledValidator(context.Context, *QueryGetDisabledValidatorRequest) (*QueryGetDisabledValidatorResponse, error) // Queries a list of DisabledValidator items. DisabledValidatorAll(context.Context, *QueryAllDisabledValidatorRequest) (*QueryAllDisabledValidatorResponse, error) // Queries a RejectedNode by index. RejectedDisableValidator(context.Context, *QueryGetRejectedDisableValidatorRequest) (*QueryGetRejectedDisableValidatorResponse, error) // Queries a list of RejectedNode items. RejectedDisableValidatorAll(context.Context, *QueryAllRejectedDisableValidatorRequest) (*QueryAllRejectedDisableValidatorResponse, error) }
QueryServer is the server API for Query service.
type RejectedDisableValidator ¶ added in v0.11.0
type RejectedDisableValidator struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` Approvals []*Grant `protobuf:"bytes,3,rep,name=approvals,proto3" json:"approvals,omitempty"` Rejects []*Grant `protobuf:"bytes,4,rep,name=rejects,proto3" json:"rejects,omitempty"` }
func (*RejectedDisableValidator) Descriptor ¶ added in v0.11.0
func (*RejectedDisableValidator) Descriptor() ([]byte, []int)
func (*RejectedDisableValidator) GetAddress ¶ added in v0.11.0
func (m *RejectedDisableValidator) GetAddress() sdk.ValAddress
func (*RejectedDisableValidator) GetApprovals ¶ added in v0.11.0
func (m *RejectedDisableValidator) GetApprovals() []*Grant
func (*RejectedDisableValidator) GetCreator ¶ added in v0.11.0
func (m *RejectedDisableValidator) GetCreator() string
func (*RejectedDisableValidator) GetRejects ¶ added in v0.11.0
func (m *RejectedDisableValidator) GetRejects() []*Grant
func (*RejectedDisableValidator) Marshal ¶ added in v0.11.0
func (m *RejectedDisableValidator) Marshal() (dAtA []byte, err error)
func (*RejectedDisableValidator) MarshalTo ¶ added in v0.11.0
func (m *RejectedDisableValidator) MarshalTo(dAtA []byte) (int, error)
func (*RejectedDisableValidator) MarshalToSizedBuffer ¶ added in v0.11.0
func (m *RejectedDisableValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RejectedDisableValidator) ProtoMessage ¶ added in v0.11.0
func (*RejectedDisableValidator) ProtoMessage()
func (*RejectedDisableValidator) Reset ¶ added in v0.11.0
func (m *RejectedDisableValidator) Reset()
func (*RejectedDisableValidator) Size ¶ added in v0.11.0
func (m *RejectedDisableValidator) Size() (n int)
func (*RejectedDisableValidator) String ¶ added in v0.11.0
func (m *RejectedDisableValidator) String() string
func (*RejectedDisableValidator) Unmarshal ¶ added in v0.11.0
func (m *RejectedDisableValidator) Unmarshal(dAtA []byte) error
func (*RejectedDisableValidator) XXX_DiscardUnknown ¶ added in v0.11.0
func (m *RejectedDisableValidator) XXX_DiscardUnknown()
func (*RejectedDisableValidator) XXX_Marshal ¶ added in v0.11.0
func (m *RejectedDisableValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RejectedDisableValidator) XXX_Merge ¶ added in v0.11.0
func (m *RejectedDisableValidator) XXX_Merge(src proto.Message)
func (*RejectedDisableValidator) XXX_Size ¶ added in v0.11.0
func (m *RejectedDisableValidator) XXX_Size() int
func (*RejectedDisableValidator) XXX_Unmarshal ¶ added in v0.11.0
func (m *RejectedDisableValidator) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) ApproveDisableValidator ¶ added in v0.10.0
func (*UnimplementedMsgServer) ApproveDisableValidator(ctx context.Context, req *MsgApproveDisableValidator) (*MsgApproveDisableValidatorResponse, error)
func (*UnimplementedMsgServer) CreateValidator ¶
func (*UnimplementedMsgServer) CreateValidator(ctx context.Context, req *MsgCreateValidator) (*MsgCreateValidatorResponse, error)
func (*UnimplementedMsgServer) DisableValidator ¶ added in v0.10.0
func (*UnimplementedMsgServer) DisableValidator(ctx context.Context, req *MsgDisableValidator) (*MsgDisableValidatorResponse, error)
func (*UnimplementedMsgServer) EnableValidator ¶ added in v0.10.0
func (*UnimplementedMsgServer) EnableValidator(ctx context.Context, req *MsgEnableValidator) (*MsgEnableValidatorResponse, error)
func (*UnimplementedMsgServer) ProposeDisableValidator ¶ added in v0.10.0
func (*UnimplementedMsgServer) ProposeDisableValidator(ctx context.Context, req *MsgProposeDisableValidator) (*MsgProposeDisableValidatorResponse, error)
func (*UnimplementedMsgServer) RejectDisableValidator ¶ added in v0.11.0
func (*UnimplementedMsgServer) RejectDisableValidator(ctx context.Context, req *MsgRejectDisableValidator) (*MsgRejectDisableValidatorResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) DisabledValidator ¶ added in v0.10.0
func (*UnimplementedQueryServer) DisabledValidator(ctx context.Context, req *QueryGetDisabledValidatorRequest) (*QueryGetDisabledValidatorResponse, error)
func (*UnimplementedQueryServer) DisabledValidatorAll ¶ added in v0.10.0
func (*UnimplementedQueryServer) DisabledValidatorAll(ctx context.Context, req *QueryAllDisabledValidatorRequest) (*QueryAllDisabledValidatorResponse, error)
func (*UnimplementedQueryServer) LastValidatorPower ¶
func (*UnimplementedQueryServer) LastValidatorPower(ctx context.Context, req *QueryGetLastValidatorPowerRequest) (*QueryGetLastValidatorPowerResponse, error)
func (*UnimplementedQueryServer) LastValidatorPowerAll ¶
func (*UnimplementedQueryServer) LastValidatorPowerAll(ctx context.Context, req *QueryAllLastValidatorPowerRequest) (*QueryAllLastValidatorPowerResponse, error)
func (*UnimplementedQueryServer) ProposedDisableValidator ¶ added in v0.10.0
func (*UnimplementedQueryServer) ProposedDisableValidator(ctx context.Context, req *QueryGetProposedDisableValidatorRequest) (*QueryGetProposedDisableValidatorResponse, error)
func (*UnimplementedQueryServer) ProposedDisableValidatorAll ¶ added in v0.10.0
func (*UnimplementedQueryServer) ProposedDisableValidatorAll(ctx context.Context, req *QueryAllProposedDisableValidatorRequest) (*QueryAllProposedDisableValidatorResponse, error)
func (*UnimplementedQueryServer) RejectedDisableValidator ¶ added in v0.11.0
func (*UnimplementedQueryServer) RejectedDisableValidator(ctx context.Context, req *QueryGetRejectedDisableValidatorRequest) (*QueryGetRejectedDisableValidatorResponse, error)
func (*UnimplementedQueryServer) RejectedDisableValidatorAll ¶ added in v0.11.0
func (*UnimplementedQueryServer) RejectedDisableValidatorAll(ctx context.Context, req *QueryAllRejectedDisableValidatorRequest) (*QueryAllRejectedDisableValidatorResponse, 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 { // the account address of validator owner Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // description of the validator Description *Description `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // the consensus public key of the tendermint validator PubKey *types.Any `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"` // validator consensus power Power int32 `protobuf:"varint,4,opt,name=power,proto3" json:"power,omitempty"` // has the validator been removed from validator set Jailed bool `protobuf:"varint,5,opt,name=jailed,proto3" json:"jailed,omitempty"` // the reason of validator jailing JailedReason string `protobuf:"bytes,6,opt,name=jailedReason,proto3" json:"jailedReason,omitempty"` }
func MustUnmarshalValidator ¶
func MustUnmarshalValidator(cdc codec.BinaryCodec, value []byte) Validator
unmarshal a redelegation from a store value.
func NewValidator ¶
func NewValidator(owner sdk.ValAddress, pubKey cryptotypes.PubKey, description Description) (Validator, error)
func UnmarshalValidator ¶
func UnmarshalValidator(cdc codec.BinaryCodec, value []byte) (v Validator, err error)
unmarshal a redelegation from a store value.
func (Validator) ABCIValidatorUpdate ¶
func (v Validator) ABCIValidatorUpdate() abci.ValidatorUpdate
ABCI ValidatorUpdate message to add new validator to validator set.
func (Validator) ABCIValidatorUpdateZero ¶
func (v Validator) ABCIValidatorUpdateZero() abci.ValidatorUpdate
ABCI ValidatorUpdate message to remove validator from validator set.
func (*Validator) Descriptor ¶
func (Validator) GetConsAddr ¶
func (v Validator) GetConsAddr() (sdk.ConsAddress, error)
GetConsAddr extracts Consensus key address.
func (Validator) GetConsAddress ¶
func (v Validator) GetConsAddress() (sdk.ConsAddress, error)
func (Validator) GetConsPubKey ¶
func (v Validator) GetConsPubKey() (cryptotypes.PubKey, error)
func (Validator) GetMoniker ¶
func (Validator) GetOwner ¶
func (v Validator) GetOwner() sdk.ValAddress
func (*Validator) MarshalToSizedBuffer ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (Validator) TmConsPublicKey ¶
func (v Validator) TmConsPublicKey() (tmprotocrypto.PublicKey, error)
TmConsPublicKey casts Validator.Pubkey to tmprotocrypto.PubKey.
func (Validator) UnpackInterfaces ¶
func (v Validator) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces.
func (*Validator) XXX_DiscardUnknown ¶
func (m *Validator) XXX_DiscardUnknown()
func (*Validator) XXX_Marshal ¶
func (*Validator) XXX_Unmarshal ¶
Source Files ¶
- codec.go
- constants.go
- description.pb.go
- disabled_validator.pb.go
- errors.go
- events.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- grant.pb.go
- key_disabled_validator.go
- key_last_validator_power.go
- key_proposed_disable_validator.go
- key_rejected_node.go
- key_validator.go
- keys.go
- last_validator_power.pb.go
- message_approve_disable_validator.go
- message_create_validator.go
- message_disable_validator.go
- message_enable_validator.go
- message_propose_disable_validator.go
- message_reject_disable_node.go
- proposed_disable_validator.go
- proposed_disable_validator.pb.go
- query.pb.go
- query.pb.gw.go
- rejected_validator.pb.go
- rules.go
- tx.pb.go
- types.go
- validator.go
- validator.pb.go