types

package
v1.3.0-dev1 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
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
)
View Source
const (
	EventTypeCreateValidator = "create_validator"

	AttributeKeyValidator  = "validator"
	AttributeValueCategory = ModuleName
)

validator module event types.

View Source
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/"
)
View Source
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"
)
View Source
const (
	MaxNameLength     = 70
	MaxIdentityLength = 3000
	MaxWebsiteLength  = 140
	MaxDetailsLength  = 280
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index.

View Source
const (
	// DisabledValidatorKeyPrefix is the prefix to retrieve all DisabledValidator.
	DisabledValidatorKeyPrefix = "DisabledValidator/value/"
)
View Source
const (
	// LastValidatorPowerKeyPrefix is the prefix to retrieve all LastValidatorPower.
	LastValidatorPowerKeyPrefix = "LastValidatorPower/value/"
)
View Source
const (
	// ProposedDisableValidatorKeyPrefix is the prefix to retrieve all ProposedDisableValidator.
	ProposedDisableValidatorKeyPrefix = "ProposedDisableValidator/value/"
)
View Source
const (
	// RejectedNodeKeyPrefix is the prefix to retrieve all RejectedNode.
	RejectedNodeKeyPrefix = "RejectedNode/value/"
)
View Source
const TypeMsgApproveDisableValidator = "approve_disable_validator"
View Source
const TypeMsgDisableValidator = "disable_validator"
View Source
const TypeMsgEnableValidator = "enable_validator"
View Source
const TypeMsgProposeDisableValidator = "propose_disable_validator"
View Source
const TypeMsgRejectDisableValidator = "reject_disable_validator"

Variables

View Source
var (
	ErrInvalidLengthDescription        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDescription          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDescription = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthDisabledValidator        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDisabledValidator          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDisabledValidator = fmt.Errorf("proto: unexpected end of group")
)
View Source
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")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGrant        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGrant          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGrant = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthLastValidatorPower        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLastValidatorPower          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLastValidatorPower = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthProposedDisableValidator        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProposedDisableValidator          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProposedDisableValidator = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRejectedValidator        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRejectedValidator          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRejectedValidator = fmt.Errorf("proto: unexpected end of group")
)
View Source
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.

View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthValidator        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowValidator          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupValidator = fmt.Errorf("proto: unexpected end of group")
)

Functions

func DisabledValidatorKey added in v0.10.0

func DisabledValidatorKey(
	address string,
) []byte

DisabledValidatorKey returns the store key to retrieve a DisabledValidator from the index fields.

func ErrPoolIsFull

func ErrPoolIsFull() error

func KeyPrefix

func KeyPrefix(p string) []byte

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

func ProposedDisableValidatorKey(
	address string,
) []byte

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 RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

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

func RegisterQueryHandlerClient

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

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

func RegisterQueryHandlerFromEndpoint

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

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

func RegisterQueryHandlerServer

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

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

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func 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) MarshalTo

func (m *Description) MarshalTo(dAtA []byte) (int, 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) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (gs GenesisState) Validate() error

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

func (*GenesisState) 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) Descriptor() ([]byte, []int)

func (*Grant) GetAddress added in v0.10.0

func (m *Grant) GetAddress() string

func (*Grant) GetInfo added in v0.10.0

func (m *Grant) GetInfo() string

func (*Grant) GetTime added in v0.10.0

func (m *Grant) GetTime() int64

func (*Grant) Marshal added in v0.10.0

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

func (*Grant) MarshalTo added in v0.10.0

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

func (*Grant) MarshalToSizedBuffer added in v0.10.0

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

func (*Grant) ProtoMessage added in v0.10.0

func (*Grant) ProtoMessage()

func (*Grant) Reset added in v0.10.0

func (m *Grant) Reset()

func (*Grant) Size added in v0.10.0

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

func (*Grant) String added in v0.10.0

func (m *Grant) String() string

func (*Grant) Unmarshal added in v0.10.0

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

func (*Grant) XXX_DiscardUnknown added in v0.10.0

func (m *Grant) XXX_DiscardUnknown()

func (*Grant) XXX_Marshal added in v0.10.0

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

func (*Grant) XXX_Merge added in v0.10.0

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

func (*Grant) XXX_Size added in v0.10.0

func (m *Grant) XXX_Size() int

func (*Grant) XXX_Unmarshal added in v0.10.0

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

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 (*MsgApproveDisableValidatorResponse) Size added in v0.10.0

func (*MsgApproveDisableValidatorResponse) String added in v0.10.0

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 (*MsgApproveDisableValidatorResponse) XXX_Size added in v0.10.0

func (*MsgApproveDisableValidatorResponse) XXX_Unmarshal added in v0.10.0

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

type MsgClient

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 (*MsgProposeDisableValidatorResponse) Size added in v0.10.0

func (*MsgProposeDisableValidatorResponse) String added in v0.10.0

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 (*MsgProposeDisableValidatorResponse) XXX_Size added in v0.10.0

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 (*MsgRejectDisableValidatorResponse) Size added in v0.11.0

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

func (*MsgRejectDisableValidatorResponse) String added in v0.11.0

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 (*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 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 (*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 (*QueryAllDisabledValidatorRequest) Size added in v0.10.0

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

func (*QueryAllDisabledValidatorRequest) String added in v0.10.0

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 (*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 (*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 (*QueryAllDisabledValidatorResponse) Size added in v0.10.0

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

func (*QueryAllDisabledValidatorResponse) String added in v0.10.0

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 (*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 (*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 (*QueryAllLastValidatorPowerRequest) Size

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

func (*QueryAllLastValidatorPowerRequest) 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 (*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 (*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 (*QueryAllLastValidatorPowerResponse) Size

func (*QueryAllLastValidatorPowerResponse) 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 (*QueryAllLastValidatorPowerResponse) XXX_Size

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 (*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) Reset added in v0.10.0

func (*QueryAllProposedDisableValidatorRequest) Size added in v0.10.0

func (*QueryAllProposedDisableValidatorRequest) String added in v0.10.0

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 (*QueryAllProposedDisableValidatorRequest) XXX_Size added in v0.10.0

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 (*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) Reset added in v0.10.0

func (*QueryAllProposedDisableValidatorResponse) Size added in v0.10.0

func (*QueryAllProposedDisableValidatorResponse) String added in v0.10.0

func (*QueryAllProposedDisableValidatorResponse) Unmarshal added in v0.10.0

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 (*QueryAllProposedDisableValidatorResponse) XXX_Size added in v0.10.0

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 (*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) Reset added in v0.11.0

func (*QueryAllRejectedDisableValidatorRequest) Size added in v0.11.0

func (*QueryAllRejectedDisableValidatorRequest) String added in v0.11.0

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 (*QueryAllRejectedDisableValidatorRequest) XXX_Size added in v0.11.0

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 (*QueryAllRejectedDisableValidatorResponse) GetRejectedValidator added in v0.11.0

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) Reset added in v0.11.0

func (*QueryAllRejectedDisableValidatorResponse) Size added in v0.11.0

func (*QueryAllRejectedDisableValidatorResponse) String added in v0.11.0

func (*QueryAllRejectedDisableValidatorResponse) Unmarshal added in v0.11.0

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 (*QueryAllRejectedDisableValidatorResponse) XXX_Size added in v0.11.0

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 (*QueryGetDisabledValidatorRequest) Size added in v0.10.0

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

func (*QueryGetDisabledValidatorRequest) String added in v0.10.0

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 (*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 (*QueryGetDisabledValidatorResponse) Size added in v0.10.0

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

func (*QueryGetDisabledValidatorResponse) String added in v0.10.0

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 (*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 (*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 (*QueryGetLastValidatorPowerRequest) Size

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

func (*QueryGetLastValidatorPowerRequest) 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 (*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 (*QueryGetLastValidatorPowerResponse) Size

func (*QueryGetLastValidatorPowerResponse) 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 (*QueryGetLastValidatorPowerResponse) XXX_Size

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 (*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) Reset added in v0.10.0

func (*QueryGetProposedDisableValidatorRequest) Size added in v0.10.0

func (*QueryGetProposedDisableValidatorRequest) String added in v0.10.0

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 (*QueryGetProposedDisableValidatorRequest) XXX_Size added in v0.10.0

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) Reset added in v0.10.0

func (*QueryGetProposedDisableValidatorResponse) Size added in v0.10.0

func (*QueryGetProposedDisableValidatorResponse) String added in v0.10.0

func (*QueryGetProposedDisableValidatorResponse) Unmarshal added in v0.10.0

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 (*QueryGetProposedDisableValidatorResponse) XXX_Size added in v0.10.0

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 (*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) Reset added in v0.11.0

func (*QueryGetRejectedDisableValidatorRequest) Size added in v0.11.0

func (*QueryGetRejectedDisableValidatorRequest) String added in v0.11.0

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 (*QueryGetRejectedDisableValidatorRequest) XXX_Size added in v0.11.0

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 (*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) Reset added in v0.11.0

func (*QueryGetRejectedDisableValidatorResponse) Size added in v0.11.0

func (*QueryGetRejectedDisableValidatorResponse) String added in v0.11.0

func (*QueryGetRejectedDisableValidatorResponse) Unmarshal added in v0.11.0

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 (*QueryGetRejectedDisableValidatorResponse) XXX_Size added in v0.11.0

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

func (*UnimplementedMsgServer) DisableValidator added in v0.10.0

func (*UnimplementedMsgServer) EnableValidator added in v0.10.0

func (*UnimplementedMsgServer) ProposeDisableValidator added in v0.10.0

func (*UnimplementedMsgServer) RejectDisableValidator added in v0.11.0

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) DisabledValidator added in v0.10.0

func (*UnimplementedQueryServer) DisabledValidatorAll added in v0.10.0

func (*UnimplementedQueryServer) ProposedDisableValidator added in v0.10.0

func (*UnimplementedQueryServer) ProposedDisableValidatorAll added in v0.10.0

func (*UnimplementedQueryServer) RejectedDisableValidator added in v0.11.0

func (*UnimplementedQueryServer) RejectedDisableValidatorAll added in v0.11.0

func (*UnimplementedQueryServer) Validator

func (*UnimplementedQueryServer) ValidatorAll

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) Descriptor() ([]byte, []int)

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 (v Validator) GetMoniker() string

func (Validator) GetOwner

func (v Validator) GetOwner() sdk.ValAddress

func (Validator) GetPower

func (v Validator) GetPower() int32

func (Validator) IsJailed

func (v Validator) IsJailed() bool

func (*Validator) Marshal

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

func (*Validator) MarshalTo

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

func (*Validator) MarshalToSizedBuffer

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

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) Reset

func (m *Validator) Reset()

func (*Validator) Size

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

func (Validator) String

func (v Validator) String() string

func (Validator) TmConsPublicKey

func (v Validator) TmConsPublicKey() (tmprotocrypto.PublicKey, error)

TmConsPublicKey casts Validator.Pubkey to tmprotocrypto.PubKey.

func (*Validator) Unmarshal

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

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 (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Validator) XXX_Merge

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

func (*Validator) XXX_Size

func (m *Validator) XXX_Size() int

func (*Validator) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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