types

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: Apache-2.0 Imports: 26 Imported by: 6

Documentation

Index

Constants

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

	// 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_valset"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const (
	JailReasonPigeonInactive = "validator's pigeon has been inactive"
)
View Source
const TypeMsgAddExternalChainInfoForValidator = "add_external_chain_info_for_validator"
View Source
const TypeMsgKeepAlive = "keep_alive"

Variables

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSnapshot        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSnapshot          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSnapshot = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)

x/valset module sentinel errors

View Source
var ValidatorState_name = map[int32]string{
	0: "NONE",
	1: "ACTIVE",
	2: "JAILED",
}
View Source
var ValidatorState_value = map[string]int32{
	"NONE":   0,
	"ACTIVE": 1,
	"JAILED": 2,
}

Functions

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

BankKeeper defines the expected interface needed to retrieve account balances.

type ExternalChainInfo

type ExternalChainInfo struct {
	ChainType        string `protobuf:"bytes,1,opt,name=chainType,proto3" json:"chainType,omitempty"`
	ChainReferenceID string `protobuf:"bytes,2,opt,name=chainReferenceID,proto3" json:"chainReferenceID,omitempty"`
	Address          string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	Pubkey           []byte `protobuf:"bytes,4,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	Balance          string `protobuf:"bytes,5,opt,name=balance,proto3" json:"balance,omitempty"`
}

func (*ExternalChainInfo) Descriptor

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

func (*ExternalChainInfo) GetAddress

func (m *ExternalChainInfo) GetAddress() string

func (*ExternalChainInfo) GetBalance added in v0.6.0

func (m *ExternalChainInfo) GetBalance() string

func (*ExternalChainInfo) GetChainReferenceID

func (m *ExternalChainInfo) GetChainReferenceID() string

func (*ExternalChainInfo) GetChainType

func (m *ExternalChainInfo) GetChainType() string

func (*ExternalChainInfo) GetPubkey

func (m *ExternalChainInfo) GetPubkey() []byte

func (*ExternalChainInfo) Marshal

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

func (*ExternalChainInfo) MarshalTo

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

func (*ExternalChainInfo) MarshalToSizedBuffer

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

func (*ExternalChainInfo) ProtoMessage

func (*ExternalChainInfo) ProtoMessage()

func (*ExternalChainInfo) Reset

func (m *ExternalChainInfo) Reset()

func (*ExternalChainInfo) Size

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

func (*ExternalChainInfo) String

func (m *ExternalChainInfo) String() string

func (*ExternalChainInfo) Unmarshal

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

func (*ExternalChainInfo) XXX_DiscardUnknown

func (m *ExternalChainInfo) XXX_DiscardUnknown()

func (*ExternalChainInfo) XXX_Marshal

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

func (*ExternalChainInfo) XXX_Merge

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

func (*ExternalChainInfo) XXX_Size

func (m *ExternalChainInfo) XXX_Size() int

func (*ExternalChainInfo) XXX_Unmarshal

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

type GenesisState

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

GenesisState defines the valset module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) 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 MsgAddExternalChainInfoForValidator

type MsgAddExternalChainInfoForValidator struct {
	Creator    string               `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ChainInfos []*ExternalChainInfo `protobuf:"bytes,2,rep,name=chainInfos,proto3" json:"chainInfos,omitempty"`
}

func (*MsgAddExternalChainInfoForValidator) Descriptor

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

func (*MsgAddExternalChainInfoForValidator) GetChainInfos

func (*MsgAddExternalChainInfoForValidator) GetCreator

func (*MsgAddExternalChainInfoForValidator) GetSignBytes

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

func (*MsgAddExternalChainInfoForValidator) GetSigners

func (*MsgAddExternalChainInfoForValidator) Marshal

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

func (*MsgAddExternalChainInfoForValidator) MarshalTo

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

func (*MsgAddExternalChainInfoForValidator) MarshalToSizedBuffer

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

func (*MsgAddExternalChainInfoForValidator) ProtoMessage

func (*MsgAddExternalChainInfoForValidator) ProtoMessage()

func (*MsgAddExternalChainInfoForValidator) Reset

func (*MsgAddExternalChainInfoForValidator) Route

func (*MsgAddExternalChainInfoForValidator) Size

func (*MsgAddExternalChainInfoForValidator) String

func (*MsgAddExternalChainInfoForValidator) Type

func (*MsgAddExternalChainInfoForValidator) Unmarshal

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

func (*MsgAddExternalChainInfoForValidator) ValidateBasic

func (msg *MsgAddExternalChainInfoForValidator) ValidateBasic() error

func (*MsgAddExternalChainInfoForValidator) XXX_DiscardUnknown

func (m *MsgAddExternalChainInfoForValidator) XXX_DiscardUnknown()

func (*MsgAddExternalChainInfoForValidator) XXX_Marshal

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

func (*MsgAddExternalChainInfoForValidator) XXX_Merge

func (*MsgAddExternalChainInfoForValidator) XXX_Size

func (*MsgAddExternalChainInfoForValidator) XXX_Unmarshal

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

type MsgAddExternalChainInfoForValidatorResponse

type MsgAddExternalChainInfoForValidatorResponse struct {
}

func (*MsgAddExternalChainInfoForValidatorResponse) Descriptor

func (*MsgAddExternalChainInfoForValidatorResponse) Marshal

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

func (*MsgAddExternalChainInfoForValidatorResponse) MarshalTo

func (*MsgAddExternalChainInfoForValidatorResponse) MarshalToSizedBuffer

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

func (*MsgAddExternalChainInfoForValidatorResponse) ProtoMessage

func (*MsgAddExternalChainInfoForValidatorResponse) Reset

func (*MsgAddExternalChainInfoForValidatorResponse) Size

func (*MsgAddExternalChainInfoForValidatorResponse) String

func (*MsgAddExternalChainInfoForValidatorResponse) Unmarshal

func (*MsgAddExternalChainInfoForValidatorResponse) XXX_DiscardUnknown

func (m *MsgAddExternalChainInfoForValidatorResponse) XXX_DiscardUnknown()

func (*MsgAddExternalChainInfoForValidatorResponse) XXX_Marshal

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

func (*MsgAddExternalChainInfoForValidatorResponse) XXX_Merge

func (*MsgAddExternalChainInfoForValidatorResponse) XXX_Size

func (*MsgAddExternalChainInfoForValidatorResponse) XXX_Unmarshal

type MsgClient

type MsgClient interface {
	AddExternalChainInfoForValidator(ctx context.Context, in *MsgAddExternalChainInfoForValidator, opts ...grpc.CallOption) (*MsgAddExternalChainInfoForValidatorResponse, error)
	KeepAlive(ctx context.Context, in *MsgKeepAlive, opts ...grpc.CallOption) (*MsgKeepAliveResponse, error)
}

MsgClient is the client API for Msg service.

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

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgKeepAlive added in v0.6.0

type MsgKeepAlive struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
}

func NewMsgKeepAlive added in v0.6.0

func NewMsgKeepAlive(creator string) *MsgKeepAlive

func (*MsgKeepAlive) Descriptor added in v0.6.0

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

func (*MsgKeepAlive) GetCreator added in v0.6.0

func (m *MsgKeepAlive) GetCreator() string

func (*MsgKeepAlive) GetSignBytes added in v0.6.0

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

func (*MsgKeepAlive) GetSigners added in v0.6.0

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

func (*MsgKeepAlive) Marshal added in v0.6.0

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

func (*MsgKeepAlive) MarshalTo added in v0.6.0

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

func (*MsgKeepAlive) MarshalToSizedBuffer added in v0.6.0

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

func (*MsgKeepAlive) ProtoMessage added in v0.6.0

func (*MsgKeepAlive) ProtoMessage()

func (*MsgKeepAlive) Reset added in v0.6.0

func (m *MsgKeepAlive) Reset()

func (*MsgKeepAlive) Route added in v0.6.0

func (msg *MsgKeepAlive) Route() string

func (*MsgKeepAlive) Size added in v0.6.0

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

func (*MsgKeepAlive) String added in v0.6.0

func (m *MsgKeepAlive) String() string

func (*MsgKeepAlive) Type added in v0.6.0

func (msg *MsgKeepAlive) Type() string

func (*MsgKeepAlive) Unmarshal added in v0.6.0

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

func (*MsgKeepAlive) ValidateBasic added in v0.6.0

func (msg *MsgKeepAlive) ValidateBasic() error

func (*MsgKeepAlive) XXX_DiscardUnknown added in v0.6.0

func (m *MsgKeepAlive) XXX_DiscardUnknown()

func (*MsgKeepAlive) XXX_Marshal added in v0.6.0

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

func (*MsgKeepAlive) XXX_Merge added in v0.6.0

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

func (*MsgKeepAlive) XXX_Size added in v0.6.0

func (m *MsgKeepAlive) XXX_Size() int

func (*MsgKeepAlive) XXX_Unmarshal added in v0.6.0

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

type MsgKeepAliveResponse added in v0.6.0

type MsgKeepAliveResponse struct {
}

func (*MsgKeepAliveResponse) Descriptor added in v0.6.0

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

func (*MsgKeepAliveResponse) Marshal added in v0.6.0

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

func (*MsgKeepAliveResponse) MarshalTo added in v0.6.0

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

func (*MsgKeepAliveResponse) MarshalToSizedBuffer added in v0.6.0

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

func (*MsgKeepAliveResponse) ProtoMessage added in v0.6.0

func (*MsgKeepAliveResponse) ProtoMessage()

func (*MsgKeepAliveResponse) Reset added in v0.6.0

func (m *MsgKeepAliveResponse) Reset()

func (*MsgKeepAliveResponse) Size added in v0.6.0

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

func (*MsgKeepAliveResponse) String added in v0.6.0

func (m *MsgKeepAliveResponse) String() string

func (*MsgKeepAliveResponse) Unmarshal added in v0.6.0

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

func (*MsgKeepAliveResponse) XXX_DiscardUnknown added in v0.6.0

func (m *MsgKeepAliveResponse) XXX_DiscardUnknown()

func (*MsgKeepAliveResponse) XXX_Marshal added in v0.6.0

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

func (*MsgKeepAliveResponse) XXX_Merge added in v0.6.0

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

func (*MsgKeepAliveResponse) XXX_Size added in v0.6.0

func (m *MsgKeepAliveResponse) XXX_Size() int

func (*MsgKeepAliveResponse) XXX_Unmarshal added in v0.6.0

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

type MsgServer

MsgServer is the server API for Msg service.

type OnSnapshotBuiltListener

type OnSnapshotBuiltListener interface {
	OnSnapshotBuilt(sdk.Context, *Snapshot)
}

type Params

type Params struct {
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a list of ValidatorInfo items.
	ValidatorInfo(ctx context.Context, in *QueryValidatorInfoRequest, opts ...grpc.CallOption) (*QueryValidatorInfoResponse, error)
	// Queries a list of GetSnapshotByID items.
	GetSnapshotByID(ctx context.Context, in *QueryGetSnapshotByIDRequest, opts ...grpc.CallOption) (*QueryGetSnapshotByIDResponse, error)
	// Queries a list of GetValidatorAliveUntil items.
	GetValidatorAliveUntil(ctx context.Context, in *QueryGetValidatorAliveUntilRequest, opts ...grpc.CallOption) (*QueryGetValidatorAliveUntilResponse, error)
	// Queries a list of GetValidatorJailReason items.
	GetValidatorJailReason(ctx context.Context, in *QueryGetValidatorJailReasonRequest, opts ...grpc.CallOption) (*QueryGetValidatorJailReasonResponse, 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 QueryGetSnapshotByIDRequest

type QueryGetSnapshotByIDRequest struct {
	SnapshotId uint64 `protobuf:"varint,1,opt,name=snapshotId,proto3" json:"snapshotId,omitempty"`
}

func (*QueryGetSnapshotByIDRequest) Descriptor

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

func (*QueryGetSnapshotByIDRequest) GetSnapshotId

func (m *QueryGetSnapshotByIDRequest) GetSnapshotId() uint64

func (*QueryGetSnapshotByIDRequest) Marshal

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

func (*QueryGetSnapshotByIDRequest) MarshalTo

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

func (*QueryGetSnapshotByIDRequest) MarshalToSizedBuffer

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

func (*QueryGetSnapshotByIDRequest) ProtoMessage

func (*QueryGetSnapshotByIDRequest) ProtoMessage()

func (*QueryGetSnapshotByIDRequest) Reset

func (m *QueryGetSnapshotByIDRequest) Reset()

func (*QueryGetSnapshotByIDRequest) Size

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

func (*QueryGetSnapshotByIDRequest) String

func (m *QueryGetSnapshotByIDRequest) String() string

func (*QueryGetSnapshotByIDRequest) Unmarshal

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

func (*QueryGetSnapshotByIDRequest) XXX_DiscardUnknown

func (m *QueryGetSnapshotByIDRequest) XXX_DiscardUnknown()

func (*QueryGetSnapshotByIDRequest) XXX_Marshal

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

func (*QueryGetSnapshotByIDRequest) XXX_Merge

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

func (*QueryGetSnapshotByIDRequest) XXX_Size

func (m *QueryGetSnapshotByIDRequest) XXX_Size() int

func (*QueryGetSnapshotByIDRequest) XXX_Unmarshal

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

type QueryGetSnapshotByIDResponse

type QueryGetSnapshotByIDResponse struct {
	Snapshot *Snapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
}

func (*QueryGetSnapshotByIDResponse) Descriptor

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

func (*QueryGetSnapshotByIDResponse) GetSnapshot

func (m *QueryGetSnapshotByIDResponse) GetSnapshot() *Snapshot

func (*QueryGetSnapshotByIDResponse) Marshal

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

func (*QueryGetSnapshotByIDResponse) MarshalTo

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

func (*QueryGetSnapshotByIDResponse) MarshalToSizedBuffer

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

func (*QueryGetSnapshotByIDResponse) ProtoMessage

func (*QueryGetSnapshotByIDResponse) ProtoMessage()

func (*QueryGetSnapshotByIDResponse) Reset

func (m *QueryGetSnapshotByIDResponse) Reset()

func (*QueryGetSnapshotByIDResponse) Size

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

func (*QueryGetSnapshotByIDResponse) String

func (*QueryGetSnapshotByIDResponse) Unmarshal

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

func (*QueryGetSnapshotByIDResponse) XXX_DiscardUnknown

func (m *QueryGetSnapshotByIDResponse) XXX_DiscardUnknown()

func (*QueryGetSnapshotByIDResponse) XXX_Marshal

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

func (*QueryGetSnapshotByIDResponse) XXX_Merge

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

func (*QueryGetSnapshotByIDResponse) XXX_Size

func (m *QueryGetSnapshotByIDResponse) XXX_Size() int

func (*QueryGetSnapshotByIDResponse) XXX_Unmarshal

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

type QueryGetValidatorAliveUntilRequest added in v0.6.0

type QueryGetValidatorAliveUntilRequest struct {
	ValAddress github_com_cosmos_cosmos_sdk_types.ValAddress `` /* 128-byte string literal not displayed */
}

func (*QueryGetValidatorAliveUntilRequest) Descriptor added in v0.6.0

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

func (*QueryGetValidatorAliveUntilRequest) GetValAddress added in v0.6.0

func (*QueryGetValidatorAliveUntilRequest) Marshal added in v0.6.0

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

func (*QueryGetValidatorAliveUntilRequest) MarshalTo added in v0.6.0

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

func (*QueryGetValidatorAliveUntilRequest) MarshalToSizedBuffer added in v0.6.0

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

func (*QueryGetValidatorAliveUntilRequest) ProtoMessage added in v0.6.0

func (*QueryGetValidatorAliveUntilRequest) ProtoMessage()

func (*QueryGetValidatorAliveUntilRequest) Reset added in v0.6.0

func (*QueryGetValidatorAliveUntilRequest) Size added in v0.6.0

func (*QueryGetValidatorAliveUntilRequest) String added in v0.6.0

func (*QueryGetValidatorAliveUntilRequest) Unmarshal added in v0.6.0

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

func (*QueryGetValidatorAliveUntilRequest) XXX_DiscardUnknown added in v0.6.0

func (m *QueryGetValidatorAliveUntilRequest) XXX_DiscardUnknown()

func (*QueryGetValidatorAliveUntilRequest) XXX_Marshal added in v0.6.0

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

func (*QueryGetValidatorAliveUntilRequest) XXX_Merge added in v0.6.0

func (*QueryGetValidatorAliveUntilRequest) XXX_Size added in v0.6.0

func (*QueryGetValidatorAliveUntilRequest) XXX_Unmarshal added in v0.6.0

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

type QueryGetValidatorAliveUntilResponse added in v0.6.0

type QueryGetValidatorAliveUntilResponse struct {
	AliveUntil time.Time `protobuf:"bytes,1,opt,name=aliveUntil,proto3,stdtime" json:"aliveUntil"`
}

func (*QueryGetValidatorAliveUntilResponse) Descriptor added in v0.6.0

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

func (*QueryGetValidatorAliveUntilResponse) GetAliveUntil added in v0.6.0

func (m *QueryGetValidatorAliveUntilResponse) GetAliveUntil() time.Time

func (*QueryGetValidatorAliveUntilResponse) Marshal added in v0.6.0

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

func (*QueryGetValidatorAliveUntilResponse) MarshalTo added in v0.6.0

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

func (*QueryGetValidatorAliveUntilResponse) MarshalToSizedBuffer added in v0.6.0

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

func (*QueryGetValidatorAliveUntilResponse) ProtoMessage added in v0.6.0

func (*QueryGetValidatorAliveUntilResponse) ProtoMessage()

func (*QueryGetValidatorAliveUntilResponse) Reset added in v0.6.0

func (*QueryGetValidatorAliveUntilResponse) Size added in v0.6.0

func (*QueryGetValidatorAliveUntilResponse) String added in v0.6.0

func (*QueryGetValidatorAliveUntilResponse) Unmarshal added in v0.6.0

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

func (*QueryGetValidatorAliveUntilResponse) XXX_DiscardUnknown added in v0.6.0

func (m *QueryGetValidatorAliveUntilResponse) XXX_DiscardUnknown()

func (*QueryGetValidatorAliveUntilResponse) XXX_Marshal added in v0.6.0

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

func (*QueryGetValidatorAliveUntilResponse) XXX_Merge added in v0.6.0

func (*QueryGetValidatorAliveUntilResponse) XXX_Size added in v0.6.0

func (*QueryGetValidatorAliveUntilResponse) XXX_Unmarshal added in v0.6.0

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

type QueryGetValidatorJailReasonRequest added in v0.6.0

type QueryGetValidatorJailReasonRequest struct {
	ValAddress github_com_cosmos_cosmos_sdk_types.ValAddress `` /* 128-byte string literal not displayed */
}

func (*QueryGetValidatorJailReasonRequest) Descriptor added in v0.6.0

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

func (*QueryGetValidatorJailReasonRequest) GetValAddress added in v0.6.0

func (*QueryGetValidatorJailReasonRequest) Marshal added in v0.6.0

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

func (*QueryGetValidatorJailReasonRequest) MarshalTo added in v0.6.0

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

func (*QueryGetValidatorJailReasonRequest) MarshalToSizedBuffer added in v0.6.0

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

func (*QueryGetValidatorJailReasonRequest) ProtoMessage added in v0.6.0

func (*QueryGetValidatorJailReasonRequest) ProtoMessage()

func (*QueryGetValidatorJailReasonRequest) Reset added in v0.6.0

func (*QueryGetValidatorJailReasonRequest) Size added in v0.6.0

func (*QueryGetValidatorJailReasonRequest) String added in v0.6.0

func (*QueryGetValidatorJailReasonRequest) Unmarshal added in v0.6.0

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

func (*QueryGetValidatorJailReasonRequest) XXX_DiscardUnknown added in v0.6.0

func (m *QueryGetValidatorJailReasonRequest) XXX_DiscardUnknown()

func (*QueryGetValidatorJailReasonRequest) XXX_Marshal added in v0.6.0

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

func (*QueryGetValidatorJailReasonRequest) XXX_Merge added in v0.6.0

func (*QueryGetValidatorJailReasonRequest) XXX_Size added in v0.6.0

func (*QueryGetValidatorJailReasonRequest) XXX_Unmarshal added in v0.6.0

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

type QueryGetValidatorJailReasonResponse added in v0.6.0

type QueryGetValidatorJailReasonResponse struct {
	Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
}

func (*QueryGetValidatorJailReasonResponse) Descriptor added in v0.6.0

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

func (*QueryGetValidatorJailReasonResponse) GetReason added in v0.6.0

func (*QueryGetValidatorJailReasonResponse) Marshal added in v0.6.0

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

func (*QueryGetValidatorJailReasonResponse) MarshalTo added in v0.6.0

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

func (*QueryGetValidatorJailReasonResponse) MarshalToSizedBuffer added in v0.6.0

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

func (*QueryGetValidatorJailReasonResponse) ProtoMessage added in v0.6.0

func (*QueryGetValidatorJailReasonResponse) ProtoMessage()

func (*QueryGetValidatorJailReasonResponse) Reset added in v0.6.0

func (*QueryGetValidatorJailReasonResponse) Size added in v0.6.0

func (*QueryGetValidatorJailReasonResponse) String added in v0.6.0

func (*QueryGetValidatorJailReasonResponse) Unmarshal added in v0.6.0

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

func (*QueryGetValidatorJailReasonResponse) XXX_DiscardUnknown added in v0.6.0

func (m *QueryGetValidatorJailReasonResponse) XXX_DiscardUnknown()

func (*QueryGetValidatorJailReasonResponse) XXX_Marshal added in v0.6.0

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

func (*QueryGetValidatorJailReasonResponse) XXX_Merge added in v0.6.0

func (*QueryGetValidatorJailReasonResponse) XXX_Size added in v0.6.0

func (*QueryGetValidatorJailReasonResponse) XXX_Unmarshal added in v0.6.0

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

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

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

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

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

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

func (*QueryParamsResponse) MarshalTo

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

func (*QueryParamsResponse) MarshalToSizedBuffer

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

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

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

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of ValidatorInfo items.
	ValidatorInfo(context.Context, *QueryValidatorInfoRequest) (*QueryValidatorInfoResponse, error)
	// Queries a list of GetSnapshotByID items.
	GetSnapshotByID(context.Context, *QueryGetSnapshotByIDRequest) (*QueryGetSnapshotByIDResponse, error)
	// Queries a list of GetValidatorAliveUntil items.
	GetValidatorAliveUntil(context.Context, *QueryGetValidatorAliveUntilRequest) (*QueryGetValidatorAliveUntilResponse, error)
	// Queries a list of GetValidatorJailReason items.
	GetValidatorJailReason(context.Context, *QueryGetValidatorJailReasonRequest) (*QueryGetValidatorJailReasonResponse, error)
}

QueryServer is the server API for Query service.

type QueryValidatorInfoRequest

type QueryValidatorInfoRequest struct {
	ValAddr string `protobuf:"bytes,1,opt,name=valAddr,proto3" json:"valAddr,omitempty"`
}

func (*QueryValidatorInfoRequest) Descriptor

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

func (*QueryValidatorInfoRequest) GetValAddr

func (m *QueryValidatorInfoRequest) GetValAddr() string

func (*QueryValidatorInfoRequest) Marshal

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

func (*QueryValidatorInfoRequest) MarshalTo

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

func (*QueryValidatorInfoRequest) MarshalToSizedBuffer

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

func (*QueryValidatorInfoRequest) ProtoMessage

func (*QueryValidatorInfoRequest) ProtoMessage()

func (*QueryValidatorInfoRequest) Reset

func (m *QueryValidatorInfoRequest) Reset()

func (*QueryValidatorInfoRequest) Size

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

func (*QueryValidatorInfoRequest) String

func (m *QueryValidatorInfoRequest) String() string

func (*QueryValidatorInfoRequest) Unmarshal

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

func (*QueryValidatorInfoRequest) XXX_DiscardUnknown

func (m *QueryValidatorInfoRequest) XXX_DiscardUnknown()

func (*QueryValidatorInfoRequest) XXX_Marshal

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

func (*QueryValidatorInfoRequest) XXX_Merge

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

func (*QueryValidatorInfoRequest) XXX_Size

func (m *QueryValidatorInfoRequest) XXX_Size() int

func (*QueryValidatorInfoRequest) XXX_Unmarshal

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

type QueryValidatorInfoResponse

type QueryValidatorInfoResponse struct {
	ChainInfos []*ExternalChainInfo `protobuf:"bytes,1,rep,name=chainInfos,proto3" json:"chainInfos,omitempty"`
}

func (*QueryValidatorInfoResponse) Descriptor

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

func (*QueryValidatorInfoResponse) GetChainInfos

func (m *QueryValidatorInfoResponse) GetChainInfos() []*ExternalChainInfo

func (*QueryValidatorInfoResponse) Marshal

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

func (*QueryValidatorInfoResponse) MarshalTo

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

func (*QueryValidatorInfoResponse) MarshalToSizedBuffer

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

func (*QueryValidatorInfoResponse) ProtoMessage

func (*QueryValidatorInfoResponse) ProtoMessage()

func (*QueryValidatorInfoResponse) Reset

func (m *QueryValidatorInfoResponse) Reset()

func (*QueryValidatorInfoResponse) Size

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

func (*QueryValidatorInfoResponse) String

func (m *QueryValidatorInfoResponse) String() string

func (*QueryValidatorInfoResponse) Unmarshal

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

func (*QueryValidatorInfoResponse) XXX_DiscardUnknown

func (m *QueryValidatorInfoResponse) XXX_DiscardUnknown()

func (*QueryValidatorInfoResponse) XXX_Marshal

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

func (*QueryValidatorInfoResponse) XXX_Merge

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

func (*QueryValidatorInfoResponse) XXX_Size

func (m *QueryValidatorInfoResponse) XXX_Size() int

func (*QueryValidatorInfoResponse) XXX_Unmarshal

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

type Snapshot

type Snapshot struct {
	Id          uint64                                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Height      int64                                  `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Validators  []Validator                            `protobuf:"bytes,3,rep,name=validators,proto3" json:"validators"`
	TotalShares github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=totalShares,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"totalShares"`
	CreatedAt   time.Time                              `protobuf:"bytes,5,opt,name=createdAt,proto3,stdtime" json:"createdAt"`
}

func (*Snapshot) Descriptor

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

func (*Snapshot) GetCreatedAt

func (m *Snapshot) GetCreatedAt() time.Time

func (*Snapshot) GetHeight

func (m *Snapshot) GetHeight() int64

func (*Snapshot) GetId

func (m *Snapshot) GetId() uint64

func (*Snapshot) GetValidator

func (s *Snapshot) GetValidator(find sdk.ValAddress) (Validator, bool)

func (*Snapshot) GetValidators

func (m *Snapshot) GetValidators() []Validator

func (*Snapshot) Marshal

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

func (*Snapshot) MarshalTo

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

func (*Snapshot) MarshalToSizedBuffer

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

func (*Snapshot) ProtoMessage

func (*Snapshot) ProtoMessage()

func (*Snapshot) Reset

func (m *Snapshot) Reset()

func (*Snapshot) Size

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

func (*Snapshot) String

func (m *Snapshot) String() string

func (*Snapshot) Unmarshal

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

func (*Snapshot) XXX_DiscardUnknown

func (m *Snapshot) XXX_DiscardUnknown()

func (*Snapshot) XXX_Marshal

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

func (*Snapshot) XXX_Merge

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

func (*Snapshot) XXX_Size

func (m *Snapshot) XXX_Size() int

func (*Snapshot) XXX_Unmarshal

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

type StakingKeeper

type StakingKeeper interface {
	Validator(ctx sdk.Context, addr sdk.ValAddress) stakingtypes.ValidatorI
	IterateValidators(ctx sdk.Context, fn func(index int64, validator stakingtypes.ValidatorI) (stop bool))
	Jail(ctx sdk.Context, consAddr sdk.ConsAddress)
}

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) KeepAlive added in v0.6.0

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) GetSnapshotByID

func (*UnimplementedQueryServer) GetValidatorAliveUntil added in v0.6.0

func (*UnimplementedQueryServer) GetValidatorJailReason added in v0.6.0

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) ValidatorInfo

type Validator

type Validator struct {
	ShareCount         github_com_cosmos_cosmos_sdk_types.Int        `protobuf:"bytes,1,opt,name=shareCount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"shareCount"`
	State              ValidatorState                                `protobuf:"varint,2,opt,name=state,proto3,enum=volumefi.paloma.valset.ValidatorState" json:"state,omitempty"`
	ExternalChainInfos []*ExternalChainInfo                          `protobuf:"bytes,3,rep,name=externalChainInfos,proto3" json:"externalChainInfos,omitempty"`
	Address            github_com_cosmos_cosmos_sdk_types.ValAddress `protobuf:"bytes,4,opt,name=address,proto3,casttype=github.com/cosmos/cosmos-sdk/types.ValAddress" json:"address,omitempty"`
}

func (*Validator) Descriptor

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

func (*Validator) GetAddress

func (*Validator) GetExternalChainInfos

func (m *Validator) GetExternalChainInfos() []*ExternalChainInfo

func (*Validator) GetState

func (m *Validator) GetState() ValidatorState

func (*Validator) Marshal

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

func (*Validator) MarshalTo

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

func (*Validator) MarshalToSizedBuffer

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

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) Reset

func (m *Validator) Reset()

func (*Validator) Size

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

func (*Validator) String

func (m *Validator) String() string

func (*Validator) Unmarshal

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

func (*Validator) XXX_DiscardUnknown

func (m *Validator) XXX_DiscardUnknown()

func (*Validator) XXX_Marshal

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

func (*Validator) XXX_Merge

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

func (*Validator) XXX_Size

func (m *Validator) XXX_Size() int

func (*Validator) XXX_Unmarshal

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

type ValidatorExternalAccounts

type ValidatorExternalAccounts struct {
	Address           github_com_cosmos_cosmos_sdk_types.ValAddress `protobuf:"bytes,1,opt,name=address,proto3,casttype=github.com/cosmos/cosmos-sdk/types.ValAddress" json:"address,omitempty"`
	ExternalChainInfo []*ExternalChainInfo                          `protobuf:"bytes,2,rep,name=ExternalChainInfo,proto3" json:"ExternalChainInfo,omitempty"`
}

func (*ValidatorExternalAccounts) Descriptor

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

func (*ValidatorExternalAccounts) GetAddress

func (*ValidatorExternalAccounts) GetExternalChainInfo

func (m *ValidatorExternalAccounts) GetExternalChainInfo() []*ExternalChainInfo

func (*ValidatorExternalAccounts) Marshal

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

func (*ValidatorExternalAccounts) MarshalTo

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

func (*ValidatorExternalAccounts) MarshalToSizedBuffer

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

func (*ValidatorExternalAccounts) ProtoMessage

func (*ValidatorExternalAccounts) ProtoMessage()

func (*ValidatorExternalAccounts) Reset

func (m *ValidatorExternalAccounts) Reset()

func (*ValidatorExternalAccounts) Size

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

func (*ValidatorExternalAccounts) String

func (m *ValidatorExternalAccounts) String() string

func (*ValidatorExternalAccounts) Unmarshal

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

func (*ValidatorExternalAccounts) XXX_DiscardUnknown

func (m *ValidatorExternalAccounts) XXX_DiscardUnknown()

func (*ValidatorExternalAccounts) XXX_Marshal

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

func (*ValidatorExternalAccounts) XXX_Merge

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

func (*ValidatorExternalAccounts) XXX_Size

func (m *ValidatorExternalAccounts) XXX_Size() int

func (*ValidatorExternalAccounts) XXX_Unmarshal

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

type ValidatorState

type ValidatorState int32
const (
	ValidatorState_NONE   ValidatorState = 0
	ValidatorState_ACTIVE ValidatorState = 1
	ValidatorState_JAILED ValidatorState = 2
)

func (ValidatorState) EnumDescriptor

func (ValidatorState) EnumDescriptor() ([]byte, []int)

func (ValidatorState) String

func (x ValidatorState) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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