stakev1alpha1

package
v2.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthStake        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowStake          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupStake = fmt.Errorf("proto: unexpected end of group")
)
View Source
var BondingState_BondingStateEnum_name = map[int32]string{
	0: "BONDING_STATE_ENUM_UNSPECIFIED",
	1: "BONDING_STATE_ENUM_BONDED",
	2: "BONDING_STATE_ENUM_UNBONDING",
	3: "BONDING_STATE_ENUM_UNBONDED",
}
View Source
var BondingState_BondingStateEnum_value = map[string]int32{
	"BONDING_STATE_ENUM_UNSPECIFIED": 0,
	"BONDING_STATE_ENUM_BONDED":      1,
	"BONDING_STATE_ENUM_UNBONDING":   2,
	"BONDING_STATE_ENUM_UNBONDED":    3,
}
View Source
var ValidatorState_ValidatorStateEnum_name = map[int32]string{
	0: "VALIDATOR_STATE_ENUM_UNSPECIFIED",
	1: "VALIDATOR_STATE_ENUM_INACTIVE",
	2: "VALIDATOR_STATE_ENUM_ACTIVE",
	3: "VALIDATOR_STATE_ENUM_JAILED",
	4: "VALIDATOR_STATE_ENUM_TOMBSTONED",
	5: "VALIDATOR_STATE_ENUM_DISABLED",
}
View Source
var ValidatorState_ValidatorStateEnum_value = map[string]int32{
	"VALIDATOR_STATE_ENUM_UNSPECIFIED": 0,
	"VALIDATOR_STATE_ENUM_INACTIVE":    1,
	"VALIDATOR_STATE_ENUM_ACTIVE":      2,
	"VALIDATOR_STATE_ENUM_JAILED":      3,
	"VALIDATOR_STATE_ENUM_TOMBSTONED":  4,
	"VALIDATOR_STATE_ENUM_DISABLED":    5,
}

Functions

func RegisterQueryServiceServer

func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer)

Types

type BaseRateData

type BaseRateData struct {
	EpochIndex       uint64 `protobuf:"varint,1,opt,name=epoch_index,json=epochIndex,proto3" json:"epoch_index,omitempty"`
	BaseRewardRate   uint64 `protobuf:"varint,2,opt,name=base_reward_rate,json=baseRewardRate,proto3" json:"base_reward_rate,omitempty"`
	BaseExchangeRate uint64 `protobuf:"varint,3,opt,name=base_exchange_rate,json=baseExchangeRate,proto3" json:"base_exchange_rate,omitempty"`
}

Describes the base reward and exchange rates in some epoch.

func (*BaseRateData) Descriptor

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

func (*BaseRateData) GetBaseExchangeRate

func (m *BaseRateData) GetBaseExchangeRate() uint64

func (*BaseRateData) GetBaseRewardRate

func (m *BaseRateData) GetBaseRewardRate() uint64

func (*BaseRateData) GetEpochIndex

func (m *BaseRateData) GetEpochIndex() uint64

func (*BaseRateData) Marshal

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

func (*BaseRateData) MarshalTo

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

func (*BaseRateData) MarshalToSizedBuffer

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

func (*BaseRateData) ProtoMessage

func (*BaseRateData) ProtoMessage()

func (*BaseRateData) Reset

func (m *BaseRateData) Reset()

func (*BaseRateData) Size

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

func (*BaseRateData) String

func (m *BaseRateData) String() string

func (*BaseRateData) Unmarshal

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

func (*BaseRateData) XXX_DiscardUnknown

func (m *BaseRateData) XXX_DiscardUnknown()

func (*BaseRateData) XXX_Marshal

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

func (*BaseRateData) XXX_Merge

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

func (*BaseRateData) XXX_Size

func (m *BaseRateData) XXX_Size() int

func (*BaseRateData) XXX_Unmarshal

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

type BondingState

type BondingState struct {
	State          BondingState_BondingStateEnum `` /* 138-byte string literal not displayed */
	UnbondingEpoch uint64                        `protobuf:"varint,2,opt,name=unbonding_epoch,json=unbondingEpoch,proto3" json:"unbonding_epoch,omitempty"`
}

Describes the unbonding state of a validator's stake pool.

func (*BondingState) Descriptor

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

func (*BondingState) GetState

func (*BondingState) GetUnbondingEpoch

func (m *BondingState) GetUnbondingEpoch() uint64

func (*BondingState) Marshal

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

func (*BondingState) MarshalTo

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

func (*BondingState) MarshalToSizedBuffer

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

func (*BondingState) ProtoMessage

func (*BondingState) ProtoMessage()

func (*BondingState) Reset

func (m *BondingState) Reset()

func (*BondingState) Size

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

func (*BondingState) String

func (m *BondingState) String() string

func (*BondingState) Unmarshal

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

func (*BondingState) XXX_DiscardUnknown

func (m *BondingState) XXX_DiscardUnknown()

func (*BondingState) XXX_Marshal

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

func (*BondingState) XXX_Merge

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

func (*BondingState) XXX_Size

func (m *BondingState) XXX_Size() int

func (*BondingState) XXX_Unmarshal

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

type BondingState_BondingStateEnum

type BondingState_BondingStateEnum int32
const (
	BondingState_BONDING_STATE_ENUM_UNSPECIFIED BondingState_BondingStateEnum = 0
	BondingState_BONDING_STATE_ENUM_BONDED      BondingState_BondingStateEnum = 1
	BondingState_BONDING_STATE_ENUM_UNBONDING   BondingState_BondingStateEnum = 2
	BondingState_BONDING_STATE_ENUM_UNBONDED    BondingState_BondingStateEnum = 3
)

func (BondingState_BondingStateEnum) EnumDescriptor

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

func (BondingState_BondingStateEnum) String

type CurrentConsensusKeys

type CurrentConsensusKeys struct {
	ConsensusKeys []*v1alpha1.ConsensusKey `protobuf:"bytes,1,rep,name=consensus_keys,json=consensusKeys,proto3" json:"consensus_keys,omitempty"`
}

Tracks our view of Tendermint's view of the validator set, so we can keep it from getting confused.

func (*CurrentConsensusKeys) Descriptor

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

func (*CurrentConsensusKeys) GetConsensusKeys

func (m *CurrentConsensusKeys) GetConsensusKeys() []*v1alpha1.ConsensusKey

func (*CurrentConsensusKeys) Marshal

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

func (*CurrentConsensusKeys) MarshalTo

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

func (*CurrentConsensusKeys) MarshalToSizedBuffer

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

func (*CurrentConsensusKeys) ProtoMessage

func (*CurrentConsensusKeys) ProtoMessage()

func (*CurrentConsensusKeys) Reset

func (m *CurrentConsensusKeys) Reset()

func (*CurrentConsensusKeys) Size

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

func (*CurrentConsensusKeys) String

func (m *CurrentConsensusKeys) String() string

func (*CurrentConsensusKeys) Unmarshal

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

func (*CurrentConsensusKeys) XXX_DiscardUnknown

func (m *CurrentConsensusKeys) XXX_DiscardUnknown()

func (*CurrentConsensusKeys) XXX_Marshal

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

func (*CurrentConsensusKeys) XXX_Merge

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

func (*CurrentConsensusKeys) XXX_Size

func (m *CurrentConsensusKeys) XXX_Size() int

func (*CurrentConsensusKeys) XXX_Unmarshal

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

type CurrentValidatorRateRequest

type CurrentValidatorRateRequest struct {
	// The expected chain id (empty string if no expectation).
	ChainId     string                `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	IdentityKey *v1alpha1.IdentityKey `protobuf:"bytes,2,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"`
}

func (*CurrentValidatorRateRequest) Descriptor

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

func (*CurrentValidatorRateRequest) GetChainId

func (m *CurrentValidatorRateRequest) GetChainId() string

func (*CurrentValidatorRateRequest) GetIdentityKey

func (m *CurrentValidatorRateRequest) GetIdentityKey() *v1alpha1.IdentityKey

func (*CurrentValidatorRateRequest) Marshal

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

func (*CurrentValidatorRateRequest) MarshalTo

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

func (*CurrentValidatorRateRequest) MarshalToSizedBuffer

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

func (*CurrentValidatorRateRequest) ProtoMessage

func (*CurrentValidatorRateRequest) ProtoMessage()

func (*CurrentValidatorRateRequest) Reset

func (m *CurrentValidatorRateRequest) Reset()

func (*CurrentValidatorRateRequest) Size

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

func (*CurrentValidatorRateRequest) String

func (m *CurrentValidatorRateRequest) String() string

func (*CurrentValidatorRateRequest) Unmarshal

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

func (*CurrentValidatorRateRequest) XXX_DiscardUnknown

func (m *CurrentValidatorRateRequest) XXX_DiscardUnknown()

func (*CurrentValidatorRateRequest) XXX_Marshal

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

func (*CurrentValidatorRateRequest) XXX_Merge

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

func (*CurrentValidatorRateRequest) XXX_Size

func (m *CurrentValidatorRateRequest) XXX_Size() int

func (*CurrentValidatorRateRequest) XXX_Unmarshal

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

type CurrentValidatorRateResponse

type CurrentValidatorRateResponse struct {
	Data *RateData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (*CurrentValidatorRateResponse) Descriptor

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

func (*CurrentValidatorRateResponse) GetData

func (m *CurrentValidatorRateResponse) GetData() *RateData

func (*CurrentValidatorRateResponse) Marshal

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

func (*CurrentValidatorRateResponse) MarshalTo

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

func (*CurrentValidatorRateResponse) MarshalToSizedBuffer

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

func (*CurrentValidatorRateResponse) ProtoMessage

func (*CurrentValidatorRateResponse) ProtoMessage()

func (*CurrentValidatorRateResponse) Reset

func (m *CurrentValidatorRateResponse) Reset()

func (*CurrentValidatorRateResponse) Size

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

func (*CurrentValidatorRateResponse) String

func (*CurrentValidatorRateResponse) Unmarshal

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

func (*CurrentValidatorRateResponse) XXX_DiscardUnknown

func (m *CurrentValidatorRateResponse) XXX_DiscardUnknown()

func (*CurrentValidatorRateResponse) XXX_Marshal

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

func (*CurrentValidatorRateResponse) XXX_Merge

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

func (*CurrentValidatorRateResponse) XXX_Size

func (m *CurrentValidatorRateResponse) XXX_Size() int

func (*CurrentValidatorRateResponse) XXX_Unmarshal

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

type Delegate

type Delegate struct {
	// The identity key of the validator to delegate to.
	ValidatorIdentity *v1alpha1.IdentityKey `protobuf:"bytes,1,opt,name=validator_identity,json=validatorIdentity,proto3" json:"validator_identity,omitempty"`
	// The index of the epoch in which this delegation was performed.
	// The delegation takes effect in the next epoch.
	EpochIndex uint64 `protobuf:"varint,2,opt,name=epoch_index,json=epochIndex,proto3" json:"epoch_index,omitempty"`
	// The delegation amount, in units of unbonded stake.
	// TODO: use flow aggregation to hide this, replacing it with bytes amount_ciphertext;
	UnbondedAmount *v1alpha11.Amount `protobuf:"bytes,3,opt,name=unbonded_amount,json=unbondedAmount,proto3" json:"unbonded_amount,omitempty"`
	// The amount of delegation tokens produced by this action.
	//
	// This is implied by the validator's exchange rate in the specified epoch
	// (and should be checked in transaction validation!), but including it allows
	// stateless verification that the transaction is internally consistent.
	DelegationAmount *v1alpha11.Amount `protobuf:"bytes,4,opt,name=delegation_amount,json=delegationAmount,proto3" json:"delegation_amount,omitempty"`
}

A transaction action adding stake to a validator's delegation pool.

func (*Delegate) Descriptor

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

func (*Delegate) GetDelegationAmount

func (m *Delegate) GetDelegationAmount() *v1alpha11.Amount

func (*Delegate) GetEpochIndex

func (m *Delegate) GetEpochIndex() uint64

func (*Delegate) GetUnbondedAmount

func (m *Delegate) GetUnbondedAmount() *v1alpha11.Amount

func (*Delegate) GetValidatorIdentity

func (m *Delegate) GetValidatorIdentity() *v1alpha1.IdentityKey

func (*Delegate) Marshal

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

func (*Delegate) MarshalTo

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

func (*Delegate) MarshalToSizedBuffer

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

func (*Delegate) ProtoMessage

func (*Delegate) ProtoMessage()

func (*Delegate) Reset

func (m *Delegate) Reset()

func (*Delegate) Size

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

func (*Delegate) String

func (m *Delegate) String() string

func (*Delegate) Unmarshal

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

func (*Delegate) XXX_DiscardUnknown

func (m *Delegate) XXX_DiscardUnknown()

func (*Delegate) XXX_Marshal

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

func (*Delegate) XXX_Merge

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

func (*Delegate) XXX_Size

func (m *Delegate) XXX_Size() int

func (*Delegate) XXX_Unmarshal

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

type DelegationChanges

type DelegationChanges struct {
	Delegations   []*Delegate   `protobuf:"bytes,1,rep,name=delegations,proto3" json:"delegations,omitempty"`
	Undelegations []*Undelegate `protobuf:"bytes,2,rep,name=undelegations,proto3" json:"undelegations,omitempty"`
}

A list of pending delegations and undelegations.

func (*DelegationChanges) Descriptor

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

func (*DelegationChanges) GetDelegations

func (m *DelegationChanges) GetDelegations() []*Delegate

func (*DelegationChanges) GetUndelegations

func (m *DelegationChanges) GetUndelegations() []*Undelegate

func (*DelegationChanges) Marshal

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

func (*DelegationChanges) MarshalTo

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

func (*DelegationChanges) MarshalToSizedBuffer

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

func (*DelegationChanges) ProtoMessage

func (*DelegationChanges) ProtoMessage()

func (*DelegationChanges) Reset

func (m *DelegationChanges) Reset()

func (*DelegationChanges) Size

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

func (*DelegationChanges) String

func (m *DelegationChanges) String() string

func (*DelegationChanges) Unmarshal

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

func (*DelegationChanges) XXX_DiscardUnknown

func (m *DelegationChanges) XXX_DiscardUnknown()

func (*DelegationChanges) XXX_Marshal

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

func (*DelegationChanges) XXX_Merge

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

func (*DelegationChanges) XXX_Size

func (m *DelegationChanges) XXX_Size() int

func (*DelegationChanges) XXX_Unmarshal

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

type FundingStream

type FundingStream struct {
	// The recipient of the funding stream.
	//
	// Types that are valid to be assigned to Recipient:
	//
	//	*FundingStream_ToAddress_
	//	*FundingStream_ToCommunityPool_
	Recipient isFundingStream_Recipient `protobuf_oneof:"recipient"`
}

A portion of a validator's commission.

func (*FundingStream) Descriptor

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

func (*FundingStream) GetRecipient

func (m *FundingStream) GetRecipient() isFundingStream_Recipient

func (*FundingStream) GetToAddress

func (m *FundingStream) GetToAddress() *FundingStream_ToAddress

func (*FundingStream) GetToCommunityPool

func (m *FundingStream) GetToCommunityPool() *FundingStream_ToCommunityPool

func (*FundingStream) Marshal

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

func (*FundingStream) MarshalTo

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

func (*FundingStream) MarshalToSizedBuffer

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

func (*FundingStream) ProtoMessage

func (*FundingStream) ProtoMessage()

func (*FundingStream) Reset

func (m *FundingStream) Reset()

func (*FundingStream) Size

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

func (*FundingStream) String

func (m *FundingStream) String() string

func (*FundingStream) Unmarshal

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

func (*FundingStream) XXX_DiscardUnknown

func (m *FundingStream) XXX_DiscardUnknown()

func (*FundingStream) XXX_Marshal

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

func (*FundingStream) XXX_Merge

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

func (*FundingStream) XXX_OneofWrappers

func (*FundingStream) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*FundingStream) XXX_Size

func (m *FundingStream) XXX_Size() int

func (*FundingStream) XXX_Unmarshal

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

type FundingStream_ToAddress

type FundingStream_ToAddress struct {
	// The destination address for the funding stream.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// The portion of the staking reward for the entire delegation pool
	// allocated to this funding stream, specified in basis points.
	RateBps uint32 `protobuf:"varint,2,opt,name=rate_bps,json=rateBps,proto3" json:"rate_bps,omitempty"`
}

func (*FundingStream_ToAddress) Descriptor

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

func (*FundingStream_ToAddress) GetAddress

func (m *FundingStream_ToAddress) GetAddress() string

func (*FundingStream_ToAddress) GetRateBps

func (m *FundingStream_ToAddress) GetRateBps() uint32

func (*FundingStream_ToAddress) Marshal

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

func (*FundingStream_ToAddress) MarshalTo

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

func (*FundingStream_ToAddress) MarshalToSizedBuffer

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

func (*FundingStream_ToAddress) ProtoMessage

func (*FundingStream_ToAddress) ProtoMessage()

func (*FundingStream_ToAddress) Reset

func (m *FundingStream_ToAddress) Reset()

func (*FundingStream_ToAddress) Size

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

func (*FundingStream_ToAddress) String

func (m *FundingStream_ToAddress) String() string

func (*FundingStream_ToAddress) Unmarshal

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

func (*FundingStream_ToAddress) XXX_DiscardUnknown

func (m *FundingStream_ToAddress) XXX_DiscardUnknown()

func (*FundingStream_ToAddress) XXX_Marshal

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

func (*FundingStream_ToAddress) XXX_Merge

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

func (*FundingStream_ToAddress) XXX_Size

func (m *FundingStream_ToAddress) XXX_Size() int

func (*FundingStream_ToAddress) XXX_Unmarshal

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

type FundingStream_ToAddress_

type FundingStream_ToAddress_ struct {
	ToAddress *FundingStream_ToAddress `protobuf:"bytes,1,opt,name=to_address,json=toAddress,proto3,oneof" json:"to_address,omitempty"`
}

func (*FundingStream_ToAddress_) MarshalTo

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

func (*FundingStream_ToAddress_) MarshalToSizedBuffer

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

func (*FundingStream_ToAddress_) Size

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

type FundingStream_ToCommunityPool

type FundingStream_ToCommunityPool struct {
	// The portion of the staking reward for the entire delegation pool
	// allocated to this funding stream, specified in basis points.
	RateBps uint32 `protobuf:"varint,2,opt,name=rate_bps,json=rateBps,proto3" json:"rate_bps,omitempty"`
}

func (*FundingStream_ToCommunityPool) Descriptor

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

func (*FundingStream_ToCommunityPool) GetRateBps

func (m *FundingStream_ToCommunityPool) GetRateBps() uint32

func (*FundingStream_ToCommunityPool) Marshal

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

func (*FundingStream_ToCommunityPool) MarshalTo

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

func (*FundingStream_ToCommunityPool) MarshalToSizedBuffer

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

func (*FundingStream_ToCommunityPool) ProtoMessage

func (*FundingStream_ToCommunityPool) ProtoMessage()

func (*FundingStream_ToCommunityPool) Reset

func (m *FundingStream_ToCommunityPool) Reset()

func (*FundingStream_ToCommunityPool) Size

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

func (*FundingStream_ToCommunityPool) String

func (*FundingStream_ToCommunityPool) Unmarshal

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

func (*FundingStream_ToCommunityPool) XXX_DiscardUnknown

func (m *FundingStream_ToCommunityPool) XXX_DiscardUnknown()

func (*FundingStream_ToCommunityPool) XXX_Marshal

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

func (*FundingStream_ToCommunityPool) XXX_Merge

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

func (*FundingStream_ToCommunityPool) XXX_Size

func (m *FundingStream_ToCommunityPool) XXX_Size() int

func (*FundingStream_ToCommunityPool) XXX_Unmarshal

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

type FundingStream_ToCommunityPool_

type FundingStream_ToCommunityPool_ struct {
	ToCommunityPool *FundingStream_ToCommunityPool `protobuf:"bytes,2,opt,name=to_community_pool,json=toCommunityPool,proto3,oneof" json:"to_community_pool,omitempty"`
}

func (*FundingStream_ToCommunityPool_) MarshalTo

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

func (*FundingStream_ToCommunityPool_) MarshalToSizedBuffer

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

func (*FundingStream_ToCommunityPool_) Size

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

type GenesisContent

type GenesisContent struct {
	// The configuration parameters for the staking component present at genesis
	StakeParams *StakeParameters `protobuf:"bytes,1,opt,name=stake_params,json=stakeParams,proto3" json:"stake_params,omitempty"`
	// The list of validators present at genesis.
	Validators []*Validator `protobuf:"bytes,2,rep,name=validators,proto3" json:"validators,omitempty"`
}

Genesis data for the staking component.

func (*GenesisContent) Descriptor

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

func (*GenesisContent) GetStakeParams

func (m *GenesisContent) GetStakeParams() *StakeParameters

func (*GenesisContent) GetValidators

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

func (*GenesisContent) Marshal

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

func (*GenesisContent) MarshalTo

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

func (*GenesisContent) MarshalToSizedBuffer

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

func (*GenesisContent) ProtoMessage

func (*GenesisContent) ProtoMessage()

func (*GenesisContent) Reset

func (m *GenesisContent) Reset()

func (*GenesisContent) Size

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

func (*GenesisContent) String

func (m *GenesisContent) String() string

func (*GenesisContent) Unmarshal

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

func (*GenesisContent) XXX_DiscardUnknown

func (m *GenesisContent) XXX_DiscardUnknown()

func (*GenesisContent) XXX_Marshal

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

func (*GenesisContent) XXX_Merge

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

func (*GenesisContent) XXX_Size

func (m *GenesisContent) XXX_Size() int

func (*GenesisContent) XXX_Unmarshal

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

type Penalty

type Penalty struct {
	Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"`
}

Tracks slashing penalties applied to a validator in some epoch.

func (*Penalty) Descriptor

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

func (*Penalty) GetInner

func (m *Penalty) GetInner() []byte

func (*Penalty) Marshal

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

func (*Penalty) MarshalTo

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

func (*Penalty) MarshalToSizedBuffer

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

func (*Penalty) ProtoMessage

func (*Penalty) ProtoMessage()

func (*Penalty) Reset

func (m *Penalty) Reset()

func (*Penalty) Size

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

func (*Penalty) String

func (m *Penalty) String() string

func (*Penalty) Unmarshal

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

func (*Penalty) XXX_DiscardUnknown

func (m *Penalty) XXX_DiscardUnknown()

func (*Penalty) XXX_Marshal

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

func (*Penalty) XXX_Merge

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

func (*Penalty) XXX_Size

func (m *Penalty) XXX_Size() int

func (*Penalty) XXX_Unmarshal

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

type QueryServiceClient

type QueryServiceClient interface {
	// Queries the current validator set, with filtering.
	ValidatorInfo(ctx context.Context, in *ValidatorInfoRequest, opts ...grpc.CallOption) (QueryService_ValidatorInfoClient, error)
	ValidatorStatus(ctx context.Context, in *ValidatorStatusRequest, opts ...grpc.CallOption) (*ValidatorStatusResponse, error)
	ValidatorPenalty(ctx context.Context, in *ValidatorPenaltyRequest, opts ...grpc.CallOption) (*ValidatorPenaltyResponse, error)
	CurrentValidatorRate(ctx context.Context, in *CurrentValidatorRateRequest, opts ...grpc.CallOption) (*CurrentValidatorRateResponse, error)
}

QueryServiceClient is the client API for QueryService service.

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

func NewQueryServiceClient

func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient

type QueryServiceServer

type QueryServiceServer interface {
	// Queries the current validator set, with filtering.
	ValidatorInfo(*ValidatorInfoRequest, QueryService_ValidatorInfoServer) error
	ValidatorStatus(context.Context, *ValidatorStatusRequest) (*ValidatorStatusResponse, error)
	ValidatorPenalty(context.Context, *ValidatorPenaltyRequest) (*ValidatorPenaltyResponse, error)
	CurrentValidatorRate(context.Context, *CurrentValidatorRateRequest) (*CurrentValidatorRateResponse, error)
}

QueryServiceServer is the server API for QueryService service.

type QueryService_ValidatorInfoClient

type QueryService_ValidatorInfoClient interface {
	Recv() (*ValidatorInfoResponse, error)
	grpc.ClientStream
}

type QueryService_ValidatorInfoServer

type QueryService_ValidatorInfoServer interface {
	Send(*ValidatorInfoResponse) error
	grpc.ServerStream
}

type RateData

type RateData struct {
	IdentityKey           *v1alpha1.IdentityKey `protobuf:"bytes,1,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"`
	EpochIndex            uint64                `protobuf:"varint,2,opt,name=epoch_index,json=epochIndex,proto3" json:"epoch_index,omitempty"`
	ValidatorRewardRate   uint64                `protobuf:"varint,4,opt,name=validator_reward_rate,json=validatorRewardRate,proto3" json:"validator_reward_rate,omitempty"`
	ValidatorExchangeRate uint64                `` /* 127-byte string literal not displayed */
}

Describes the reward and exchange rates and voting power for a validator in some epoch.

func (*RateData) Descriptor

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

func (*RateData) GetEpochIndex

func (m *RateData) GetEpochIndex() uint64

func (*RateData) GetIdentityKey

func (m *RateData) GetIdentityKey() *v1alpha1.IdentityKey

func (*RateData) GetValidatorExchangeRate

func (m *RateData) GetValidatorExchangeRate() uint64

func (*RateData) GetValidatorRewardRate

func (m *RateData) GetValidatorRewardRate() uint64

func (*RateData) Marshal

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

func (*RateData) MarshalTo

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

func (*RateData) MarshalToSizedBuffer

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

func (*RateData) ProtoMessage

func (*RateData) ProtoMessage()

func (*RateData) Reset

func (m *RateData) Reset()

func (*RateData) Size

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

func (*RateData) String

func (m *RateData) String() string

func (*RateData) Unmarshal

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

func (*RateData) XXX_DiscardUnknown

func (m *RateData) XXX_DiscardUnknown()

func (*RateData) XXX_Marshal

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

func (*RateData) XXX_Merge

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

func (*RateData) XXX_Size

func (m *RateData) XXX_Size() int

func (*RateData) XXX_Unmarshal

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

type StakeParameters

type StakeParameters struct {
	// The number of epochs an unbonding note for before being released.
	UnbondingEpochs uint64 `protobuf:"varint,1,opt,name=unbonding_epochs,json=unbondingEpochs,proto3" json:"unbonding_epochs,omitempty"`
	// The maximum number of validators in the consensus set.
	ActiveValidatorLimit uint64 `protobuf:"varint,2,opt,name=active_validator_limit,json=activeValidatorLimit,proto3" json:"active_validator_limit,omitempty"`
	// The base reward rate, expressed in basis points of basis points
	BaseRewardRate uint64 `protobuf:"varint,3,opt,name=base_reward_rate,json=baseRewardRate,proto3" json:"base_reward_rate,omitempty"`
	// The penalty for slashing due to misbehavior.
	SlashingPenaltyMisbehavior uint64 `` /* 142-byte string literal not displayed */
	// The penalty for slashing due to downtime.
	SlashingPenaltyDowntime uint64 `` /* 133-byte string literal not displayed */
	// The number of blocks in the window to check for downtime.
	SignedBlocksWindowLen uint64 `` /* 129-byte string literal not displayed */
	// The maximum number of blocks in the window each validator can miss signing without slashing.
	MissedBlocksMaximum uint64 `protobuf:"varint,7,opt,name=missed_blocks_maximum,json=missedBlocksMaximum,proto3" json:"missed_blocks_maximum,omitempty"`
}

Staking configuration data.

func (*StakeParameters) Descriptor

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

func (*StakeParameters) GetActiveValidatorLimit

func (m *StakeParameters) GetActiveValidatorLimit() uint64

func (*StakeParameters) GetBaseRewardRate

func (m *StakeParameters) GetBaseRewardRate() uint64

func (*StakeParameters) GetMissedBlocksMaximum

func (m *StakeParameters) GetMissedBlocksMaximum() uint64

func (*StakeParameters) GetSignedBlocksWindowLen

func (m *StakeParameters) GetSignedBlocksWindowLen() uint64

func (*StakeParameters) GetSlashingPenaltyDowntime

func (m *StakeParameters) GetSlashingPenaltyDowntime() uint64

func (*StakeParameters) GetSlashingPenaltyMisbehavior

func (m *StakeParameters) GetSlashingPenaltyMisbehavior() uint64

func (*StakeParameters) GetUnbondingEpochs

func (m *StakeParameters) GetUnbondingEpochs() uint64

func (*StakeParameters) Marshal

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

func (*StakeParameters) MarshalTo

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

func (*StakeParameters) MarshalToSizedBuffer

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

func (*StakeParameters) ProtoMessage

func (*StakeParameters) ProtoMessage()

func (*StakeParameters) Reset

func (m *StakeParameters) Reset()

func (*StakeParameters) Size

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

func (*StakeParameters) String

func (m *StakeParameters) String() string

func (*StakeParameters) Unmarshal

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

func (*StakeParameters) XXX_DiscardUnknown

func (m *StakeParameters) XXX_DiscardUnknown()

func (*StakeParameters) XXX_Marshal

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

func (*StakeParameters) XXX_Merge

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

func (*StakeParameters) XXX_Size

func (m *StakeParameters) XXX_Size() int

func (*StakeParameters) XXX_Unmarshal

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

type Undelegate

type Undelegate struct {
	// The identity key of the validator to undelegate from.
	ValidatorIdentity *v1alpha1.IdentityKey `protobuf:"bytes,1,opt,name=validator_identity,json=validatorIdentity,proto3" json:"validator_identity,omitempty"`
	// The index of the epoch in which this undelegation was performed.
	StartEpochIndex uint64 `protobuf:"varint,2,opt,name=start_epoch_index,json=startEpochIndex,proto3" json:"start_epoch_index,omitempty"`
	// The amount to undelegate, in units of unbonding tokens.
	UnbondedAmount *v1alpha11.Amount `protobuf:"bytes,3,opt,name=unbonded_amount,json=unbondedAmount,proto3" json:"unbonded_amount,omitempty"`
	// The amount of delegation tokens consumed by this action.
	//
	// This is implied by the validator's exchange rate in the specified epoch
	// (and should be checked in transaction validation!), but including it allows
	// stateless verification that the transaction is internally consistent.
	DelegationAmount *v1alpha11.Amount `protobuf:"bytes,4,opt,name=delegation_amount,json=delegationAmount,proto3" json:"delegation_amount,omitempty"`
}

A transaction action withdrawing stake from a validator's delegation pool.

func (*Undelegate) Descriptor

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

func (*Undelegate) GetDelegationAmount

func (m *Undelegate) GetDelegationAmount() *v1alpha11.Amount

func (*Undelegate) GetStartEpochIndex

func (m *Undelegate) GetStartEpochIndex() uint64

func (*Undelegate) GetUnbondedAmount

func (m *Undelegate) GetUnbondedAmount() *v1alpha11.Amount

func (*Undelegate) GetValidatorIdentity

func (m *Undelegate) GetValidatorIdentity() *v1alpha1.IdentityKey

func (*Undelegate) Marshal

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

func (*Undelegate) MarshalTo

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

func (*Undelegate) MarshalToSizedBuffer

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

func (*Undelegate) ProtoMessage

func (*Undelegate) ProtoMessage()

func (*Undelegate) Reset

func (m *Undelegate) Reset()

func (*Undelegate) Size

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

func (*Undelegate) String

func (m *Undelegate) String() string

func (*Undelegate) Unmarshal

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

func (*Undelegate) XXX_DiscardUnknown

func (m *Undelegate) XXX_DiscardUnknown()

func (*Undelegate) XXX_Marshal

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

func (*Undelegate) XXX_Merge

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

func (*Undelegate) XXX_Size

func (m *Undelegate) XXX_Size() int

func (*Undelegate) XXX_Unmarshal

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

type UndelegateClaim

type UndelegateClaim struct {
	Body  *UndelegateClaimBody `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	Proof []byte               `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
}

A transaction action finishing an undelegation, converting (slashable) "unbonding tokens" to (unslashable) staking tokens.

func (*UndelegateClaim) Descriptor

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

func (*UndelegateClaim) GetBody

func (m *UndelegateClaim) GetBody() *UndelegateClaimBody

func (*UndelegateClaim) GetProof

func (m *UndelegateClaim) GetProof() []byte

func (*UndelegateClaim) Marshal

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

func (*UndelegateClaim) MarshalTo

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

func (*UndelegateClaim) MarshalToSizedBuffer

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

func (*UndelegateClaim) ProtoMessage

func (*UndelegateClaim) ProtoMessage()

func (*UndelegateClaim) Reset

func (m *UndelegateClaim) Reset()

func (*UndelegateClaim) Size

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

func (*UndelegateClaim) String

func (m *UndelegateClaim) String() string

func (*UndelegateClaim) Unmarshal

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

func (*UndelegateClaim) XXX_DiscardUnknown

func (m *UndelegateClaim) XXX_DiscardUnknown()

func (*UndelegateClaim) XXX_Marshal

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

func (*UndelegateClaim) XXX_Merge

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

func (*UndelegateClaim) XXX_Size

func (m *UndelegateClaim) XXX_Size() int

func (*UndelegateClaim) XXX_Unmarshal

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

type UndelegateClaimBody

type UndelegateClaimBody struct {
	// The identity key of the validator to finish undelegating from.
	ValidatorIdentity *v1alpha1.IdentityKey `protobuf:"bytes,1,opt,name=validator_identity,json=validatorIdentity,proto3" json:"validator_identity,omitempty"`
	// The epoch in which unbonding began, used to verify the penalty.
	StartEpochIndex uint64 `protobuf:"varint,2,opt,name=start_epoch_index,json=startEpochIndex,proto3" json:"start_epoch_index,omitempty"`
	// The penalty applied to undelegation, in bps^2 (10e-8).
	// In the happy path (no slashing), this is 0.
	Penalty *Penalty `protobuf:"bytes,3,opt,name=penalty,proto3" json:"penalty,omitempty"`
	// The action's contribution to the transaction's value balance.
	BalanceCommitment *v1alpha12.BalanceCommitment `protobuf:"bytes,4,opt,name=balance_commitment,json=balanceCommitment,proto3" json:"balance_commitment,omitempty"`
}

func (*UndelegateClaimBody) Descriptor

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

func (*UndelegateClaimBody) GetBalanceCommitment

func (m *UndelegateClaimBody) GetBalanceCommitment() *v1alpha12.BalanceCommitment

func (*UndelegateClaimBody) GetPenalty

func (m *UndelegateClaimBody) GetPenalty() *Penalty

func (*UndelegateClaimBody) GetStartEpochIndex

func (m *UndelegateClaimBody) GetStartEpochIndex() uint64

func (*UndelegateClaimBody) GetValidatorIdentity

func (m *UndelegateClaimBody) GetValidatorIdentity() *v1alpha1.IdentityKey

func (*UndelegateClaimBody) Marshal

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

func (*UndelegateClaimBody) MarshalTo

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

func (*UndelegateClaimBody) MarshalToSizedBuffer

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

func (*UndelegateClaimBody) ProtoMessage

func (*UndelegateClaimBody) ProtoMessage()

func (*UndelegateClaimBody) Reset

func (m *UndelegateClaimBody) Reset()

func (*UndelegateClaimBody) Size

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

func (*UndelegateClaimBody) String

func (m *UndelegateClaimBody) String() string

func (*UndelegateClaimBody) Unmarshal

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

func (*UndelegateClaimBody) XXX_DiscardUnknown

func (m *UndelegateClaimBody) XXX_DiscardUnknown()

func (*UndelegateClaimBody) XXX_Marshal

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

func (*UndelegateClaimBody) XXX_Merge

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

func (*UndelegateClaimBody) XXX_Size

func (m *UndelegateClaimBody) XXX_Size() int

func (*UndelegateClaimBody) XXX_Unmarshal

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

type UndelegateClaimPlan

type UndelegateClaimPlan struct {
	// The identity key of the validator to finish undelegating from.
	ValidatorIdentity *v1alpha1.IdentityKey `protobuf:"bytes,1,opt,name=validator_identity,json=validatorIdentity,proto3" json:"validator_identity,omitempty"`
	// The epoch in which unbonding began, used to verify the penalty.
	StartEpochIndex uint64 `protobuf:"varint,2,opt,name=start_epoch_index,json=startEpochIndex,proto3" json:"start_epoch_index,omitempty"`
	// The penalty applied to undelegation, in bps^2 (10e-8).
	// In the happy path (no slashing), this is 0.
	Penalty *Penalty `protobuf:"bytes,4,opt,name=penalty,proto3" json:"penalty,omitempty"`
	// The amount of unbonding tokens to claim.
	// This is a bare number because its denom is determined by the preceding data.
	UnbondingAmount *v1alpha11.Amount `protobuf:"bytes,5,opt,name=unbonding_amount,json=unbondingAmount,proto3" json:"unbonding_amount,omitempty"`
	// The blinding factor to use for the balance commitment.
	BalanceBlinding []byte `protobuf:"bytes,6,opt,name=balance_blinding,json=balanceBlinding,proto3" json:"balance_blinding,omitempty"`
	// The first blinding factor to use for the ZK undelegate claim proof.
	ProofBlindingR []byte `protobuf:"bytes,7,opt,name=proof_blinding_r,json=proofBlindingR,proto3" json:"proof_blinding_r,omitempty"`
	// The second blinding factor to use for the ZK undelegate claim proof.
	ProofBlindingS []byte `protobuf:"bytes,8,opt,name=proof_blinding_s,json=proofBlindingS,proto3" json:"proof_blinding_s,omitempty"`
}

func (*UndelegateClaimPlan) Descriptor

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

func (*UndelegateClaimPlan) GetBalanceBlinding

func (m *UndelegateClaimPlan) GetBalanceBlinding() []byte

func (*UndelegateClaimPlan) GetPenalty

func (m *UndelegateClaimPlan) GetPenalty() *Penalty

func (*UndelegateClaimPlan) GetProofBlindingR

func (m *UndelegateClaimPlan) GetProofBlindingR() []byte

func (*UndelegateClaimPlan) GetProofBlindingS

func (m *UndelegateClaimPlan) GetProofBlindingS() []byte

func (*UndelegateClaimPlan) GetStartEpochIndex

func (m *UndelegateClaimPlan) GetStartEpochIndex() uint64

func (*UndelegateClaimPlan) GetUnbondingAmount

func (m *UndelegateClaimPlan) GetUnbondingAmount() *v1alpha11.Amount

func (*UndelegateClaimPlan) GetValidatorIdentity

func (m *UndelegateClaimPlan) GetValidatorIdentity() *v1alpha1.IdentityKey

func (*UndelegateClaimPlan) Marshal

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

func (*UndelegateClaimPlan) MarshalTo

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

func (*UndelegateClaimPlan) MarshalToSizedBuffer

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

func (*UndelegateClaimPlan) ProtoMessage

func (*UndelegateClaimPlan) ProtoMessage()

func (*UndelegateClaimPlan) Reset

func (m *UndelegateClaimPlan) Reset()

func (*UndelegateClaimPlan) Size

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

func (*UndelegateClaimPlan) String

func (m *UndelegateClaimPlan) String() string

func (*UndelegateClaimPlan) Unmarshal

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

func (*UndelegateClaimPlan) XXX_DiscardUnknown

func (m *UndelegateClaimPlan) XXX_DiscardUnknown()

func (*UndelegateClaimPlan) XXX_Marshal

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

func (*UndelegateClaimPlan) XXX_Merge

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

func (*UndelegateClaimPlan) XXX_Size

func (m *UndelegateClaimPlan) XXX_Size() int

func (*UndelegateClaimPlan) XXX_Unmarshal

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

type UnimplementedQueryServiceServer

type UnimplementedQueryServiceServer struct {
}

UnimplementedQueryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServiceServer) CurrentValidatorRate

func (*UnimplementedQueryServiceServer) ValidatorInfo

func (*UnimplementedQueryServiceServer) ValidatorPenalty

func (*UnimplementedQueryServiceServer) ValidatorStatus

type Uptime

type Uptime struct {
	AsOfBlockHeight uint64 `protobuf:"varint,1,opt,name=as_of_block_height,json=asOfBlockHeight,proto3" json:"as_of_block_height,omitempty"`
	WindowLen       uint32 `protobuf:"varint,2,opt,name=window_len,json=windowLen,proto3" json:"window_len,omitempty"`
	Bitvec          []byte `protobuf:"bytes,3,opt,name=bitvec,proto3" json:"bitvec,omitempty"`
}

Track's a validator's uptime.

func (*Uptime) Descriptor

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

func (*Uptime) GetAsOfBlockHeight

func (m *Uptime) GetAsOfBlockHeight() uint64

func (*Uptime) GetBitvec

func (m *Uptime) GetBitvec() []byte

func (*Uptime) GetWindowLen

func (m *Uptime) GetWindowLen() uint32

func (*Uptime) Marshal

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

func (*Uptime) MarshalTo

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

func (*Uptime) MarshalToSizedBuffer

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

func (*Uptime) ProtoMessage

func (*Uptime) ProtoMessage()

func (*Uptime) Reset

func (m *Uptime) Reset()

func (*Uptime) Size

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

func (*Uptime) String

func (m *Uptime) String() string

func (*Uptime) Unmarshal

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

func (*Uptime) XXX_DiscardUnknown

func (m *Uptime) XXX_DiscardUnknown()

func (*Uptime) XXX_Marshal

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

func (*Uptime) XXX_Merge

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

func (*Uptime) XXX_Size

func (m *Uptime) XXX_Size() int

func (*Uptime) XXX_Unmarshal

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

type Validator

type Validator struct {
	// The validator's identity verification key.
	IdentityKey *v1alpha1.IdentityKey `protobuf:"bytes,1,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"`
	// The validator's consensus pubkey for use in Tendermint (Ed25519).
	ConsensusKey []byte `protobuf:"bytes,2,opt,name=consensus_key,json=consensusKey,proto3" json:"consensus_key,omitempty"`
	// The validator's (human-readable) name.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// The validator's website.
	Website string `protobuf:"bytes,4,opt,name=website,proto3" json:"website,omitempty"`
	// The validator's description.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Whether the validator is enabled or not.
	//
	// Disabled validators cannot be delegated to, and immediately begin unbonding.
	Enabled bool `protobuf:"varint,8,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// A list of funding streams describing the validator's commission.
	FundingStreams []*FundingStream `protobuf:"bytes,6,rep,name=funding_streams,json=fundingStreams,proto3" json:"funding_streams,omitempty"`
	// The sequence number determines which validator data takes priority, and
	// prevents replay attacks.  The chain only accepts new validator definitions
	// with increasing sequence numbers.
	SequenceNumber uint32 `protobuf:"varint,7,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"`
	// The validator's governance key.
	GovernanceKey *v1alpha1.GovernanceKey `protobuf:"bytes,9,opt,name=governance_key,json=governanceKey,proto3" json:"governance_key,omitempty"`
}

Describes a validator's configuration data.

func (*Validator) Descriptor

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

func (*Validator) GetConsensusKey

func (m *Validator) GetConsensusKey() []byte

func (*Validator) GetDescription

func (m *Validator) GetDescription() string

func (*Validator) GetEnabled

func (m *Validator) GetEnabled() bool

func (*Validator) GetFundingStreams

func (m *Validator) GetFundingStreams() []*FundingStream

func (*Validator) GetGovernanceKey

func (m *Validator) GetGovernanceKey() *v1alpha1.GovernanceKey

func (*Validator) GetIdentityKey

func (m *Validator) GetIdentityKey() *v1alpha1.IdentityKey

func (*Validator) GetName

func (m *Validator) GetName() string

func (*Validator) GetSequenceNumber

func (m *Validator) GetSequenceNumber() uint32

func (*Validator) GetWebsite

func (m *Validator) GetWebsite() string

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 ValidatorDefinition

type ValidatorDefinition struct {
	// The configuration data for the validator.
	Validator *Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator,omitempty"`
	// A signature by the validator's identity key over the validator data.
	AuthSig []byte `protobuf:"bytes,2,opt,name=auth_sig,json=authSig,proto3" json:"auth_sig,omitempty"`
}

A transaction action (re)defining a validator.

func (*ValidatorDefinition) Descriptor

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

func (*ValidatorDefinition) GetAuthSig

func (m *ValidatorDefinition) GetAuthSig() []byte

func (*ValidatorDefinition) GetValidator

func (m *ValidatorDefinition) GetValidator() *Validator

func (*ValidatorDefinition) Marshal

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

func (*ValidatorDefinition) MarshalTo

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

func (*ValidatorDefinition) MarshalToSizedBuffer

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

func (*ValidatorDefinition) ProtoMessage

func (*ValidatorDefinition) ProtoMessage()

func (*ValidatorDefinition) Reset

func (m *ValidatorDefinition) Reset()

func (*ValidatorDefinition) Size

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

func (*ValidatorDefinition) String

func (m *ValidatorDefinition) String() string

func (*ValidatorDefinition) Unmarshal

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

func (*ValidatorDefinition) XXX_DiscardUnknown

func (m *ValidatorDefinition) XXX_DiscardUnknown()

func (*ValidatorDefinition) XXX_Marshal

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

func (*ValidatorDefinition) XXX_Merge

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

func (*ValidatorDefinition) XXX_Size

func (m *ValidatorDefinition) XXX_Size() int

func (*ValidatorDefinition) XXX_Unmarshal

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

type ValidatorInfo

type ValidatorInfo struct {
	Validator *Validator       `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator,omitempty"`
	Status    *ValidatorStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	RateData  *RateData        `protobuf:"bytes,3,opt,name=rate_data,json=rateData,proto3" json:"rate_data,omitempty"`
}

Combines all validator info into a single packet.

func (*ValidatorInfo) Descriptor

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

func (*ValidatorInfo) GetRateData

func (m *ValidatorInfo) GetRateData() *RateData

func (*ValidatorInfo) GetStatus

func (m *ValidatorInfo) GetStatus() *ValidatorStatus

func (*ValidatorInfo) GetValidator

func (m *ValidatorInfo) GetValidator() *Validator

func (*ValidatorInfo) Marshal

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

func (*ValidatorInfo) MarshalTo

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

func (*ValidatorInfo) MarshalToSizedBuffer

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

func (*ValidatorInfo) ProtoMessage

func (*ValidatorInfo) ProtoMessage()

func (*ValidatorInfo) Reset

func (m *ValidatorInfo) Reset()

func (*ValidatorInfo) Size

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

func (*ValidatorInfo) String

func (m *ValidatorInfo) String() string

func (*ValidatorInfo) Unmarshal

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

func (*ValidatorInfo) XXX_DiscardUnknown

func (m *ValidatorInfo) XXX_DiscardUnknown()

func (*ValidatorInfo) XXX_Marshal

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

func (*ValidatorInfo) XXX_Merge

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

func (*ValidatorInfo) XXX_Size

func (m *ValidatorInfo) XXX_Size() int

func (*ValidatorInfo) XXX_Unmarshal

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

type ValidatorInfoRequest

type ValidatorInfoRequest struct {
	// The expected chain id (empty string if no expectation).
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// Whether or not to return inactive validators
	ShowInactive bool `protobuf:"varint,2,opt,name=show_inactive,json=showInactive,proto3" json:"show_inactive,omitempty"`
}

Requests information on the chain's validators.

func (*ValidatorInfoRequest) Descriptor

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

func (*ValidatorInfoRequest) GetChainId

func (m *ValidatorInfoRequest) GetChainId() string

func (*ValidatorInfoRequest) GetShowInactive

func (m *ValidatorInfoRequest) GetShowInactive() bool

func (*ValidatorInfoRequest) Marshal

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

func (*ValidatorInfoRequest) MarshalTo

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

func (*ValidatorInfoRequest) MarshalToSizedBuffer

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

func (*ValidatorInfoRequest) ProtoMessage

func (*ValidatorInfoRequest) ProtoMessage()

func (*ValidatorInfoRequest) Reset

func (m *ValidatorInfoRequest) Reset()

func (*ValidatorInfoRequest) Size

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

func (*ValidatorInfoRequest) String

func (m *ValidatorInfoRequest) String() string

func (*ValidatorInfoRequest) Unmarshal

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

func (*ValidatorInfoRequest) XXX_DiscardUnknown

func (m *ValidatorInfoRequest) XXX_DiscardUnknown()

func (*ValidatorInfoRequest) XXX_Marshal

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

func (*ValidatorInfoRequest) XXX_Merge

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

func (*ValidatorInfoRequest) XXX_Size

func (m *ValidatorInfoRequest) XXX_Size() int

func (*ValidatorInfoRequest) XXX_Unmarshal

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

type ValidatorInfoResponse

type ValidatorInfoResponse struct {
	ValidatorInfo *ValidatorInfo `protobuf:"bytes,1,opt,name=validator_info,json=validatorInfo,proto3" json:"validator_info,omitempty"`
}

func (*ValidatorInfoResponse) Descriptor

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

func (*ValidatorInfoResponse) GetValidatorInfo

func (m *ValidatorInfoResponse) GetValidatorInfo() *ValidatorInfo

func (*ValidatorInfoResponse) Marshal

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

func (*ValidatorInfoResponse) MarshalTo

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

func (*ValidatorInfoResponse) MarshalToSizedBuffer

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

func (*ValidatorInfoResponse) ProtoMessage

func (*ValidatorInfoResponse) ProtoMessage()

func (*ValidatorInfoResponse) Reset

func (m *ValidatorInfoResponse) Reset()

func (*ValidatorInfoResponse) Size

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

func (*ValidatorInfoResponse) String

func (m *ValidatorInfoResponse) String() string

func (*ValidatorInfoResponse) Unmarshal

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

func (*ValidatorInfoResponse) XXX_DiscardUnknown

func (m *ValidatorInfoResponse) XXX_DiscardUnknown()

func (*ValidatorInfoResponse) XXX_Marshal

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

func (*ValidatorInfoResponse) XXX_Merge

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

func (*ValidatorInfoResponse) XXX_Size

func (m *ValidatorInfoResponse) XXX_Size() int

func (*ValidatorInfoResponse) XXX_Unmarshal

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

type ValidatorList

type ValidatorList struct {
	ValidatorKeys []*v1alpha1.IdentityKey `protobuf:"bytes,1,rep,name=validator_keys,json=validatorKeys,proto3" json:"validator_keys,omitempty"`
}

For storing the list of keys of known validators.

func (*ValidatorList) Descriptor

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

func (*ValidatorList) GetValidatorKeys

func (m *ValidatorList) GetValidatorKeys() []*v1alpha1.IdentityKey

func (*ValidatorList) Marshal

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

func (*ValidatorList) MarshalTo

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

func (*ValidatorList) MarshalToSizedBuffer

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

func (*ValidatorList) ProtoMessage

func (*ValidatorList) ProtoMessage()

func (*ValidatorList) Reset

func (m *ValidatorList) Reset()

func (*ValidatorList) Size

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

func (*ValidatorList) String

func (m *ValidatorList) String() string

func (*ValidatorList) Unmarshal

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

func (*ValidatorList) XXX_DiscardUnknown

func (m *ValidatorList) XXX_DiscardUnknown()

func (*ValidatorList) XXX_Marshal

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

func (*ValidatorList) XXX_Merge

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

func (*ValidatorList) XXX_Size

func (m *ValidatorList) XXX_Size() int

func (*ValidatorList) XXX_Unmarshal

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

type ValidatorPenaltyRequest

type ValidatorPenaltyRequest struct {
	// The expected chain id (empty string if no expectation).
	ChainId         string                `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	IdentityKey     *v1alpha1.IdentityKey `protobuf:"bytes,2,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"`
	StartEpochIndex uint64                `protobuf:"varint,3,opt,name=start_epoch_index,json=startEpochIndex,proto3" json:"start_epoch_index,omitempty"`
	EndEpochIndex   uint64                `protobuf:"varint,4,opt,name=end_epoch_index,json=endEpochIndex,proto3" json:"end_epoch_index,omitempty"`
}

Requests the compounded penalty for a validator over a range of epochs.

func (*ValidatorPenaltyRequest) Descriptor

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

func (*ValidatorPenaltyRequest) GetChainId

func (m *ValidatorPenaltyRequest) GetChainId() string

func (*ValidatorPenaltyRequest) GetEndEpochIndex

func (m *ValidatorPenaltyRequest) GetEndEpochIndex() uint64

func (*ValidatorPenaltyRequest) GetIdentityKey

func (m *ValidatorPenaltyRequest) GetIdentityKey() *v1alpha1.IdentityKey

func (*ValidatorPenaltyRequest) GetStartEpochIndex

func (m *ValidatorPenaltyRequest) GetStartEpochIndex() uint64

func (*ValidatorPenaltyRequest) Marshal

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

func (*ValidatorPenaltyRequest) MarshalTo

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

func (*ValidatorPenaltyRequest) MarshalToSizedBuffer

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

func (*ValidatorPenaltyRequest) ProtoMessage

func (*ValidatorPenaltyRequest) ProtoMessage()

func (*ValidatorPenaltyRequest) Reset

func (m *ValidatorPenaltyRequest) Reset()

func (*ValidatorPenaltyRequest) Size

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

func (*ValidatorPenaltyRequest) String

func (m *ValidatorPenaltyRequest) String() string

func (*ValidatorPenaltyRequest) Unmarshal

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

func (*ValidatorPenaltyRequest) XXX_DiscardUnknown

func (m *ValidatorPenaltyRequest) XXX_DiscardUnknown()

func (*ValidatorPenaltyRequest) XXX_Marshal

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

func (*ValidatorPenaltyRequest) XXX_Merge

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

func (*ValidatorPenaltyRequest) XXX_Size

func (m *ValidatorPenaltyRequest) XXX_Size() int

func (*ValidatorPenaltyRequest) XXX_Unmarshal

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

type ValidatorPenaltyResponse

type ValidatorPenaltyResponse struct {
	Penalty *Penalty `protobuf:"bytes,1,opt,name=penalty,proto3" json:"penalty,omitempty"`
}

func (*ValidatorPenaltyResponse) Descriptor

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

func (*ValidatorPenaltyResponse) GetPenalty

func (m *ValidatorPenaltyResponse) GetPenalty() *Penalty

func (*ValidatorPenaltyResponse) Marshal

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

func (*ValidatorPenaltyResponse) MarshalTo

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

func (*ValidatorPenaltyResponse) MarshalToSizedBuffer

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

func (*ValidatorPenaltyResponse) ProtoMessage

func (*ValidatorPenaltyResponse) ProtoMessage()

func (*ValidatorPenaltyResponse) Reset

func (m *ValidatorPenaltyResponse) Reset()

func (*ValidatorPenaltyResponse) Size

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

func (*ValidatorPenaltyResponse) String

func (m *ValidatorPenaltyResponse) String() string

func (*ValidatorPenaltyResponse) Unmarshal

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

func (*ValidatorPenaltyResponse) XXX_DiscardUnknown

func (m *ValidatorPenaltyResponse) XXX_DiscardUnknown()

func (*ValidatorPenaltyResponse) XXX_Marshal

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

func (*ValidatorPenaltyResponse) XXX_Merge

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

func (*ValidatorPenaltyResponse) XXX_Size

func (m *ValidatorPenaltyResponse) XXX_Size() int

func (*ValidatorPenaltyResponse) XXX_Unmarshal

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

type ValidatorState

type ValidatorState struct {
	State ValidatorState_ValidatorStateEnum `` /* 142-byte string literal not displayed */
}

Describes the state of a validator

func (*ValidatorState) Descriptor

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

func (*ValidatorState) GetState

func (*ValidatorState) Marshal

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

func (*ValidatorState) MarshalTo

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

func (*ValidatorState) MarshalToSizedBuffer

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

func (*ValidatorState) ProtoMessage

func (*ValidatorState) ProtoMessage()

func (*ValidatorState) Reset

func (m *ValidatorState) Reset()

func (*ValidatorState) Size

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

func (*ValidatorState) String

func (m *ValidatorState) String() string

func (*ValidatorState) Unmarshal

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

func (*ValidatorState) XXX_DiscardUnknown

func (m *ValidatorState) XXX_DiscardUnknown()

func (*ValidatorState) XXX_Marshal

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

func (*ValidatorState) XXX_Merge

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

func (*ValidatorState) XXX_Size

func (m *ValidatorState) XXX_Size() int

func (*ValidatorState) XXX_Unmarshal

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

type ValidatorState_ValidatorStateEnum

type ValidatorState_ValidatorStateEnum int32
const (
	ValidatorState_VALIDATOR_STATE_ENUM_UNSPECIFIED ValidatorState_ValidatorStateEnum = 0
	ValidatorState_VALIDATOR_STATE_ENUM_INACTIVE    ValidatorState_ValidatorStateEnum = 1
	ValidatorState_VALIDATOR_STATE_ENUM_ACTIVE      ValidatorState_ValidatorStateEnum = 2
	ValidatorState_VALIDATOR_STATE_ENUM_JAILED      ValidatorState_ValidatorStateEnum = 3
	ValidatorState_VALIDATOR_STATE_ENUM_TOMBSTONED  ValidatorState_ValidatorStateEnum = 4
	ValidatorState_VALIDATOR_STATE_ENUM_DISABLED    ValidatorState_ValidatorStateEnum = 5
)

func (ValidatorState_ValidatorStateEnum) EnumDescriptor

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

func (ValidatorState_ValidatorStateEnum) String

type ValidatorStatus

type ValidatorStatus struct {
	IdentityKey  *v1alpha1.IdentityKey `protobuf:"bytes,1,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"`
	State        *ValidatorState       `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	VotingPower  uint64                `protobuf:"varint,3,opt,name=voting_power,json=votingPower,proto3" json:"voting_power,omitempty"`
	BondingState *BondingState         `protobuf:"bytes,4,opt,name=bonding_state,json=bondingState,proto3" json:"bonding_state,omitempty"`
}

Describes the current state of a validator on-chain

func (*ValidatorStatus) Descriptor

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

func (*ValidatorStatus) GetBondingState

func (m *ValidatorStatus) GetBondingState() *BondingState

func (*ValidatorStatus) GetIdentityKey

func (m *ValidatorStatus) GetIdentityKey() *v1alpha1.IdentityKey

func (*ValidatorStatus) GetState

func (m *ValidatorStatus) GetState() *ValidatorState

func (*ValidatorStatus) GetVotingPower

func (m *ValidatorStatus) GetVotingPower() uint64

func (*ValidatorStatus) Marshal

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

func (*ValidatorStatus) MarshalTo

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

func (*ValidatorStatus) MarshalToSizedBuffer

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

func (*ValidatorStatus) ProtoMessage

func (*ValidatorStatus) ProtoMessage()

func (*ValidatorStatus) Reset

func (m *ValidatorStatus) Reset()

func (*ValidatorStatus) Size

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

func (*ValidatorStatus) String

func (m *ValidatorStatus) String() string

func (*ValidatorStatus) Unmarshal

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

func (*ValidatorStatus) XXX_DiscardUnknown

func (m *ValidatorStatus) XXX_DiscardUnknown()

func (*ValidatorStatus) XXX_Marshal

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

func (*ValidatorStatus) XXX_Merge

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

func (*ValidatorStatus) XXX_Size

func (m *ValidatorStatus) XXX_Size() int

func (*ValidatorStatus) XXX_Unmarshal

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

type ValidatorStatusRequest

type ValidatorStatusRequest struct {
	// The expected chain id (empty string if no expectation).
	ChainId     string                `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	IdentityKey *v1alpha1.IdentityKey `protobuf:"bytes,2,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"`
}

func (*ValidatorStatusRequest) Descriptor

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

func (*ValidatorStatusRequest) GetChainId

func (m *ValidatorStatusRequest) GetChainId() string

func (*ValidatorStatusRequest) GetIdentityKey

func (m *ValidatorStatusRequest) GetIdentityKey() *v1alpha1.IdentityKey

func (*ValidatorStatusRequest) Marshal

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

func (*ValidatorStatusRequest) MarshalTo

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

func (*ValidatorStatusRequest) MarshalToSizedBuffer

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

func (*ValidatorStatusRequest) ProtoMessage

func (*ValidatorStatusRequest) ProtoMessage()

func (*ValidatorStatusRequest) Reset

func (m *ValidatorStatusRequest) Reset()

func (*ValidatorStatusRequest) Size

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

func (*ValidatorStatusRequest) String

func (m *ValidatorStatusRequest) String() string

func (*ValidatorStatusRequest) Unmarshal

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

func (*ValidatorStatusRequest) XXX_DiscardUnknown

func (m *ValidatorStatusRequest) XXX_DiscardUnknown()

func (*ValidatorStatusRequest) XXX_Marshal

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

func (*ValidatorStatusRequest) XXX_Merge

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

func (*ValidatorStatusRequest) XXX_Size

func (m *ValidatorStatusRequest) XXX_Size() int

func (*ValidatorStatusRequest) XXX_Unmarshal

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

type ValidatorStatusResponse

type ValidatorStatusResponse struct {
	Status *ValidatorStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
}

func (*ValidatorStatusResponse) Descriptor

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

func (*ValidatorStatusResponse) GetStatus

func (m *ValidatorStatusResponse) GetStatus() *ValidatorStatus

func (*ValidatorStatusResponse) Marshal

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

func (*ValidatorStatusResponse) MarshalTo

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

func (*ValidatorStatusResponse) MarshalToSizedBuffer

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

func (*ValidatorStatusResponse) ProtoMessage

func (*ValidatorStatusResponse) ProtoMessage()

func (*ValidatorStatusResponse) Reset

func (m *ValidatorStatusResponse) Reset()

func (*ValidatorStatusResponse) Size

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

func (*ValidatorStatusResponse) String

func (m *ValidatorStatusResponse) String() string

func (*ValidatorStatusResponse) Unmarshal

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

func (*ValidatorStatusResponse) XXX_DiscardUnknown

func (m *ValidatorStatusResponse) XXX_DiscardUnknown()

func (*ValidatorStatusResponse) XXX_Marshal

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

func (*ValidatorStatusResponse) XXX_Merge

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

func (*ValidatorStatusResponse) XXX_Size

func (m *ValidatorStatusResponse) XXX_Size() int

func (*ValidatorStatusResponse) XXX_Unmarshal

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

type ZKUndelegateClaimProof

type ZKUndelegateClaimProof struct {
	Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"`
}

A Penumbra ZK undelegate claim proof.

func (*ZKUndelegateClaimProof) Descriptor

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

func (*ZKUndelegateClaimProof) GetInner

func (m *ZKUndelegateClaimProof) GetInner() []byte

func (*ZKUndelegateClaimProof) Marshal

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

func (*ZKUndelegateClaimProof) MarshalTo

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

func (*ZKUndelegateClaimProof) MarshalToSizedBuffer

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

func (*ZKUndelegateClaimProof) ProtoMessage

func (*ZKUndelegateClaimProof) ProtoMessage()

func (*ZKUndelegateClaimProof) Reset

func (m *ZKUndelegateClaimProof) Reset()

func (*ZKUndelegateClaimProof) Size

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

func (*ZKUndelegateClaimProof) String

func (m *ZKUndelegateClaimProof) String() string

func (*ZKUndelegateClaimProof) Unmarshal

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

func (*ZKUndelegateClaimProof) XXX_DiscardUnknown

func (m *ZKUndelegateClaimProof) XXX_DiscardUnknown()

func (*ZKUndelegateClaimProof) XXX_Marshal

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

func (*ZKUndelegateClaimProof) XXX_Merge

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

func (*ZKUndelegateClaimProof) XXX_Size

func (m *ZKUndelegateClaimProof) XXX_Size() int

func (*ZKUndelegateClaimProof) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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