Documentation ¶
Index ¶
- Variables
- type BaseRateData
- func (*BaseRateData) Descriptor() ([]byte, []int)
- func (m *BaseRateData) GetBaseExchangeRate() uint64
- func (m *BaseRateData) GetBaseRewardRate() uint64
- func (m *BaseRateData) GetEpochIndex() uint64
- func (m *BaseRateData) Marshal() (dAtA []byte, err error)
- func (m *BaseRateData) MarshalTo(dAtA []byte) (int, error)
- func (m *BaseRateData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BaseRateData) ProtoMessage()
- func (m *BaseRateData) Reset()
- func (m *BaseRateData) Size() (n int)
- func (m *BaseRateData) String() string
- func (m *BaseRateData) Unmarshal(dAtA []byte) error
- func (m *BaseRateData) XXX_DiscardUnknown()
- func (m *BaseRateData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BaseRateData) XXX_Merge(src proto.Message)
- func (m *BaseRateData) XXX_Size() int
- func (m *BaseRateData) XXX_Unmarshal(b []byte) error
- type BondingState
- func (*BondingState) Descriptor() ([]byte, []int)
- func (m *BondingState) GetState() BondingState_BondingStateEnum
- func (m *BondingState) GetUnbondingEpoch() uint64
- func (m *BondingState) Marshal() (dAtA []byte, err error)
- func (m *BondingState) MarshalTo(dAtA []byte) (int, error)
- func (m *BondingState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BondingState) ProtoMessage()
- func (m *BondingState) Reset()
- func (m *BondingState) Size() (n int)
- func (m *BondingState) String() string
- func (m *BondingState) Unmarshal(dAtA []byte) error
- func (m *BondingState) XXX_DiscardUnknown()
- func (m *BondingState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondingState) XXX_Merge(src proto.Message)
- func (m *BondingState) XXX_Size() int
- func (m *BondingState) XXX_Unmarshal(b []byte) error
- type BondingState_BondingStateEnum
- type CurrentConsensusKeys
- func (*CurrentConsensusKeys) Descriptor() ([]byte, []int)
- func (m *CurrentConsensusKeys) GetConsensusKeys() []*v1alpha1.ConsensusKey
- func (m *CurrentConsensusKeys) Marshal() (dAtA []byte, err error)
- func (m *CurrentConsensusKeys) MarshalTo(dAtA []byte) (int, error)
- func (m *CurrentConsensusKeys) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CurrentConsensusKeys) ProtoMessage()
- func (m *CurrentConsensusKeys) Reset()
- func (m *CurrentConsensusKeys) Size() (n int)
- func (m *CurrentConsensusKeys) String() string
- func (m *CurrentConsensusKeys) Unmarshal(dAtA []byte) error
- func (m *CurrentConsensusKeys) XXX_DiscardUnknown()
- func (m *CurrentConsensusKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CurrentConsensusKeys) XXX_Merge(src proto.Message)
- func (m *CurrentConsensusKeys) XXX_Size() int
- func (m *CurrentConsensusKeys) XXX_Unmarshal(b []byte) error
- type Delegate
- func (*Delegate) Descriptor() ([]byte, []int)
- func (m *Delegate) GetDelegationAmount() *v1alpha1.Amount
- func (m *Delegate) GetEpochIndex() uint64
- func (m *Delegate) GetUnbondedAmount() *v1alpha1.Amount
- func (m *Delegate) GetValidatorIdentity() *v1alpha1.IdentityKey
- func (m *Delegate) Marshal() (dAtA []byte, err error)
- func (m *Delegate) MarshalTo(dAtA []byte) (int, error)
- func (m *Delegate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Delegate) ProtoMessage()
- func (m *Delegate) Reset()
- func (m *Delegate) Size() (n int)
- func (m *Delegate) String() string
- func (m *Delegate) Unmarshal(dAtA []byte) error
- func (m *Delegate) XXX_DiscardUnknown()
- func (m *Delegate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Delegate) XXX_Merge(src proto.Message)
- func (m *Delegate) XXX_Size() int
- func (m *Delegate) XXX_Unmarshal(b []byte) error
- type DelegationChanges
- func (*DelegationChanges) Descriptor() ([]byte, []int)
- func (m *DelegationChanges) GetDelegations() []*Delegate
- func (m *DelegationChanges) GetUndelegations() []*Undelegate
- func (m *DelegationChanges) Marshal() (dAtA []byte, err error)
- func (m *DelegationChanges) MarshalTo(dAtA []byte) (int, error)
- func (m *DelegationChanges) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DelegationChanges) ProtoMessage()
- func (m *DelegationChanges) Reset()
- func (m *DelegationChanges) Size() (n int)
- func (m *DelegationChanges) String() string
- func (m *DelegationChanges) Unmarshal(dAtA []byte) error
- func (m *DelegationChanges) XXX_DiscardUnknown()
- func (m *DelegationChanges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelegationChanges) XXX_Merge(src proto.Message)
- func (m *DelegationChanges) XXX_Size() int
- func (m *DelegationChanges) XXX_Unmarshal(b []byte) error
- type FundingStream
- func (*FundingStream) Descriptor() ([]byte, []int)
- func (m *FundingStream) GetRecipient() isFundingStream_Recipient
- func (m *FundingStream) GetToAddress() *FundingStream_ToAddress
- func (m *FundingStream) GetToDao() *FundingStream_ToDao
- func (m *FundingStream) Marshal() (dAtA []byte, err error)
- func (m *FundingStream) MarshalTo(dAtA []byte) (int, error)
- func (m *FundingStream) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FundingStream) ProtoMessage()
- func (m *FundingStream) Reset()
- func (m *FundingStream) Size() (n int)
- func (m *FundingStream) String() string
- func (m *FundingStream) Unmarshal(dAtA []byte) error
- func (m *FundingStream) XXX_DiscardUnknown()
- func (m *FundingStream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FundingStream) XXX_Merge(src proto.Message)
- func (*FundingStream) XXX_OneofWrappers() []interface{}
- func (m *FundingStream) XXX_Size() int
- func (m *FundingStream) XXX_Unmarshal(b []byte) error
- type FundingStream_ToAddress
- func (*FundingStream_ToAddress) Descriptor() ([]byte, []int)
- func (m *FundingStream_ToAddress) GetAddress() string
- func (m *FundingStream_ToAddress) GetRateBps() uint32
- func (m *FundingStream_ToAddress) Marshal() (dAtA []byte, err error)
- func (m *FundingStream_ToAddress) MarshalTo(dAtA []byte) (int, error)
- func (m *FundingStream_ToAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FundingStream_ToAddress) ProtoMessage()
- func (m *FundingStream_ToAddress) Reset()
- func (m *FundingStream_ToAddress) Size() (n int)
- func (m *FundingStream_ToAddress) String() string
- func (m *FundingStream_ToAddress) Unmarshal(dAtA []byte) error
- func (m *FundingStream_ToAddress) XXX_DiscardUnknown()
- func (m *FundingStream_ToAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FundingStream_ToAddress) XXX_Merge(src proto.Message)
- func (m *FundingStream_ToAddress) XXX_Size() int
- func (m *FundingStream_ToAddress) XXX_Unmarshal(b []byte) error
- type FundingStream_ToAddress_
- type FundingStream_ToDao
- func (*FundingStream_ToDao) Descriptor() ([]byte, []int)
- func (m *FundingStream_ToDao) GetRateBps() uint32
- func (m *FundingStream_ToDao) Marshal() (dAtA []byte, err error)
- func (m *FundingStream_ToDao) MarshalTo(dAtA []byte) (int, error)
- func (m *FundingStream_ToDao) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FundingStream_ToDao) ProtoMessage()
- func (m *FundingStream_ToDao) Reset()
- func (m *FundingStream_ToDao) Size() (n int)
- func (m *FundingStream_ToDao) String() string
- func (m *FundingStream_ToDao) Unmarshal(dAtA []byte) error
- func (m *FundingStream_ToDao) XXX_DiscardUnknown()
- func (m *FundingStream_ToDao) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FundingStream_ToDao) XXX_Merge(src proto.Message)
- func (m *FundingStream_ToDao) XXX_Size() int
- func (m *FundingStream_ToDao) XXX_Unmarshal(b []byte) error
- type FundingStream_ToDao_
- type Penalty
- func (*Penalty) Descriptor() ([]byte, []int)
- func (m *Penalty) GetInner() uint64
- func (m *Penalty) Marshal() (dAtA []byte, err error)
- func (m *Penalty) MarshalTo(dAtA []byte) (int, error)
- func (m *Penalty) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Penalty) ProtoMessage()
- func (m *Penalty) Reset()
- func (m *Penalty) Size() (n int)
- func (m *Penalty) String() string
- func (m *Penalty) Unmarshal(dAtA []byte) error
- func (m *Penalty) XXX_DiscardUnknown()
- func (m *Penalty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Penalty) XXX_Merge(src proto.Message)
- func (m *Penalty) XXX_Size() int
- func (m *Penalty) XXX_Unmarshal(b []byte) error
- type RateData
- func (*RateData) Descriptor() ([]byte, []int)
- func (m *RateData) GetEpochIndex() uint64
- func (m *RateData) GetIdentityKey() *v1alpha1.IdentityKey
- func (m *RateData) GetValidatorExchangeRate() uint64
- func (m *RateData) GetValidatorRewardRate() uint64
- func (m *RateData) Marshal() (dAtA []byte, err error)
- func (m *RateData) MarshalTo(dAtA []byte) (int, error)
- func (m *RateData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RateData) ProtoMessage()
- func (m *RateData) Reset()
- func (m *RateData) Size() (n int)
- func (m *RateData) String() string
- func (m *RateData) Unmarshal(dAtA []byte) error
- func (m *RateData) XXX_DiscardUnknown()
- func (m *RateData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RateData) XXX_Merge(src proto.Message)
- func (m *RateData) XXX_Size() int
- func (m *RateData) XXX_Unmarshal(b []byte) error
- type Undelegate
- func (*Undelegate) Descriptor() ([]byte, []int)
- func (m *Undelegate) GetDelegationAmount() *v1alpha1.Amount
- func (m *Undelegate) GetStartEpochIndex() uint64
- func (m *Undelegate) GetUnbondedAmount() *v1alpha1.Amount
- func (m *Undelegate) GetValidatorIdentity() *v1alpha1.IdentityKey
- func (m *Undelegate) Marshal() (dAtA []byte, err error)
- func (m *Undelegate) MarshalTo(dAtA []byte) (int, error)
- func (m *Undelegate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Undelegate) ProtoMessage()
- func (m *Undelegate) Reset()
- func (m *Undelegate) Size() (n int)
- func (m *Undelegate) String() string
- func (m *Undelegate) Unmarshal(dAtA []byte) error
- func (m *Undelegate) XXX_DiscardUnknown()
- func (m *Undelegate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Undelegate) XXX_Merge(src proto.Message)
- func (m *Undelegate) XXX_Size() int
- func (m *Undelegate) XXX_Unmarshal(b []byte) error
- type UndelegateClaim
- func (*UndelegateClaim) Descriptor() ([]byte, []int)
- func (m *UndelegateClaim) GetBody() *UndelegateClaimBody
- func (m *UndelegateClaim) GetProof() []byte
- func (m *UndelegateClaim) Marshal() (dAtA []byte, err error)
- func (m *UndelegateClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *UndelegateClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UndelegateClaim) ProtoMessage()
- func (m *UndelegateClaim) Reset()
- func (m *UndelegateClaim) Size() (n int)
- func (m *UndelegateClaim) String() string
- func (m *UndelegateClaim) Unmarshal(dAtA []byte) error
- func (m *UndelegateClaim) XXX_DiscardUnknown()
- func (m *UndelegateClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UndelegateClaim) XXX_Merge(src proto.Message)
- func (m *UndelegateClaim) XXX_Size() int
- func (m *UndelegateClaim) XXX_Unmarshal(b []byte) error
- type UndelegateClaimBody
- func (*UndelegateClaimBody) Descriptor() ([]byte, []int)
- func (m *UndelegateClaimBody) GetBalanceCommitment() *v1alpha1.BalanceCommitment
- func (m *UndelegateClaimBody) GetPenalty() *Penalty
- func (m *UndelegateClaimBody) GetStartEpochIndex() uint64
- func (m *UndelegateClaimBody) GetValidatorIdentity() *v1alpha1.IdentityKey
- func (m *UndelegateClaimBody) Marshal() (dAtA []byte, err error)
- func (m *UndelegateClaimBody) MarshalTo(dAtA []byte) (int, error)
- func (m *UndelegateClaimBody) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UndelegateClaimBody) ProtoMessage()
- func (m *UndelegateClaimBody) Reset()
- func (m *UndelegateClaimBody) Size() (n int)
- func (m *UndelegateClaimBody) String() string
- func (m *UndelegateClaimBody) Unmarshal(dAtA []byte) error
- func (m *UndelegateClaimBody) XXX_DiscardUnknown()
- func (m *UndelegateClaimBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UndelegateClaimBody) XXX_Merge(src proto.Message)
- func (m *UndelegateClaimBody) XXX_Size() int
- func (m *UndelegateClaimBody) XXX_Unmarshal(b []byte) error
- type UndelegateClaimPlan
- func (*UndelegateClaimPlan) Descriptor() ([]byte, []int)
- func (m *UndelegateClaimPlan) GetBalanceBlinding() []byte
- func (m *UndelegateClaimPlan) GetPenalty() *Penalty
- func (m *UndelegateClaimPlan) GetProofBlindingR() []byte
- func (m *UndelegateClaimPlan) GetProofBlindingS() []byte
- func (m *UndelegateClaimPlan) GetStartEpochIndex() uint64
- func (m *UndelegateClaimPlan) GetUnbondingAmount() *v1alpha1.Amount
- func (m *UndelegateClaimPlan) GetValidatorIdentity() *v1alpha1.IdentityKey
- func (m *UndelegateClaimPlan) Marshal() (dAtA []byte, err error)
- func (m *UndelegateClaimPlan) MarshalTo(dAtA []byte) (int, error)
- func (m *UndelegateClaimPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UndelegateClaimPlan) ProtoMessage()
- func (m *UndelegateClaimPlan) Reset()
- func (m *UndelegateClaimPlan) Size() (n int)
- func (m *UndelegateClaimPlan) String() string
- func (m *UndelegateClaimPlan) Unmarshal(dAtA []byte) error
- func (m *UndelegateClaimPlan) XXX_DiscardUnknown()
- func (m *UndelegateClaimPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UndelegateClaimPlan) XXX_Merge(src proto.Message)
- func (m *UndelegateClaimPlan) XXX_Size() int
- func (m *UndelegateClaimPlan) XXX_Unmarshal(b []byte) error
- type Uptime
- func (*Uptime) Descriptor() ([]byte, []int)
- func (m *Uptime) GetAsOfBlockHeight() uint64
- func (m *Uptime) GetBitvec() []byte
- func (m *Uptime) GetWindowLen() uint32
- func (m *Uptime) Marshal() (dAtA []byte, err error)
- func (m *Uptime) MarshalTo(dAtA []byte) (int, error)
- func (m *Uptime) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Uptime) ProtoMessage()
- func (m *Uptime) Reset()
- func (m *Uptime) Size() (n int)
- func (m *Uptime) String() string
- func (m *Uptime) Unmarshal(dAtA []byte) error
- func (m *Uptime) XXX_DiscardUnknown()
- func (m *Uptime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Uptime) XXX_Merge(src proto.Message)
- func (m *Uptime) XXX_Size() int
- func (m *Uptime) XXX_Unmarshal(b []byte) error
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)
- func (m *Validator) GetConsensusKey() []byte
- func (m *Validator) GetDescription() string
- func (m *Validator) GetEnabled() bool
- func (m *Validator) GetFundingStreams() []*FundingStream
- func (m *Validator) GetGovernanceKey() *v1alpha1.GovernanceKey
- func (m *Validator) GetIdentityKey() *v1alpha1.IdentityKey
- func (m *Validator) GetName() string
- func (m *Validator) GetSequenceNumber() uint32
- func (m *Validator) GetWebsite() string
- func (m *Validator) Marshal() (dAtA []byte, err error)
- func (m *Validator) MarshalTo(dAtA []byte) (int, error)
- func (m *Validator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Validator) ProtoMessage()
- func (m *Validator) Reset()
- func (m *Validator) Size() (n int)
- func (m *Validator) String() string
- func (m *Validator) Unmarshal(dAtA []byte) error
- func (m *Validator) XXX_DiscardUnknown()
- func (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Validator) XXX_Merge(src proto.Message)
- func (m *Validator) XXX_Size() int
- func (m *Validator) XXX_Unmarshal(b []byte) error
- type ValidatorDefinition
- func (*ValidatorDefinition) Descriptor() ([]byte, []int)
- func (m *ValidatorDefinition) GetAuthSig() []byte
- func (m *ValidatorDefinition) GetValidator() *Validator
- func (m *ValidatorDefinition) Marshal() (dAtA []byte, err error)
- func (m *ValidatorDefinition) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorDefinition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorDefinition) ProtoMessage()
- func (m *ValidatorDefinition) Reset()
- func (m *ValidatorDefinition) Size() (n int)
- func (m *ValidatorDefinition) String() string
- func (m *ValidatorDefinition) Unmarshal(dAtA []byte) error
- func (m *ValidatorDefinition) XXX_DiscardUnknown()
- func (m *ValidatorDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorDefinition) XXX_Merge(src proto.Message)
- func (m *ValidatorDefinition) XXX_Size() int
- func (m *ValidatorDefinition) XXX_Unmarshal(b []byte) error
- type ValidatorInfo
- func (*ValidatorInfo) Descriptor() ([]byte, []int)
- func (m *ValidatorInfo) GetRateData() *RateData
- func (m *ValidatorInfo) GetStatus() *ValidatorStatus
- func (m *ValidatorInfo) GetValidator() *Validator
- func (m *ValidatorInfo) Marshal() (dAtA []byte, err error)
- func (m *ValidatorInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorInfo) ProtoMessage()
- func (m *ValidatorInfo) Reset()
- func (m *ValidatorInfo) Size() (n int)
- func (m *ValidatorInfo) String() string
- func (m *ValidatorInfo) Unmarshal(dAtA []byte) error
- func (m *ValidatorInfo) XXX_DiscardUnknown()
- func (m *ValidatorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorInfo) XXX_Merge(src proto.Message)
- func (m *ValidatorInfo) XXX_Size() int
- func (m *ValidatorInfo) XXX_Unmarshal(b []byte) error
- type ValidatorList
- func (*ValidatorList) Descriptor() ([]byte, []int)
- func (m *ValidatorList) GetValidatorKeys() []*v1alpha1.IdentityKey
- func (m *ValidatorList) Marshal() (dAtA []byte, err error)
- func (m *ValidatorList) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorList) ProtoMessage()
- func (m *ValidatorList) Reset()
- func (m *ValidatorList) Size() (n int)
- func (m *ValidatorList) String() string
- func (m *ValidatorList) Unmarshal(dAtA []byte) error
- func (m *ValidatorList) XXX_DiscardUnknown()
- func (m *ValidatorList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorList) XXX_Merge(src proto.Message)
- func (m *ValidatorList) XXX_Size() int
- func (m *ValidatorList) XXX_Unmarshal(b []byte) error
- type ValidatorState
- func (*ValidatorState) Descriptor() ([]byte, []int)
- func (m *ValidatorState) GetState() ValidatorState_ValidatorStateEnum
- func (m *ValidatorState) Marshal() (dAtA []byte, err error)
- func (m *ValidatorState) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorState) ProtoMessage()
- func (m *ValidatorState) Reset()
- func (m *ValidatorState) Size() (n int)
- func (m *ValidatorState) String() string
- func (m *ValidatorState) Unmarshal(dAtA []byte) error
- func (m *ValidatorState) XXX_DiscardUnknown()
- func (m *ValidatorState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorState) XXX_Merge(src proto.Message)
- func (m *ValidatorState) XXX_Size() int
- func (m *ValidatorState) XXX_Unmarshal(b []byte) error
- type ValidatorState_ValidatorStateEnum
- type ValidatorStatus
- func (*ValidatorStatus) Descriptor() ([]byte, []int)
- func (m *ValidatorStatus) GetBondingState() *BondingState
- func (m *ValidatorStatus) GetIdentityKey() *v1alpha1.IdentityKey
- func (m *ValidatorStatus) GetState() *ValidatorState
- func (m *ValidatorStatus) GetVotingPower() uint64
- func (m *ValidatorStatus) Marshal() (dAtA []byte, err error)
- func (m *ValidatorStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorStatus) ProtoMessage()
- func (m *ValidatorStatus) Reset()
- func (m *ValidatorStatus) Size() (n int)
- func (m *ValidatorStatus) String() string
- func (m *ValidatorStatus) Unmarshal(dAtA []byte) error
- func (m *ValidatorStatus) XXX_DiscardUnknown()
- func (m *ValidatorStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorStatus) XXX_Merge(src proto.Message)
- func (m *ValidatorStatus) XXX_Size() int
- func (m *ValidatorStatus) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthStake = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowStake = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupStake = fmt.Errorf("proto: unexpected end of group") )
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",
}
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,
}
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",
}
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 ¶
This section is empty.
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) 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 `` /* 128-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 (m *BondingState) GetState() BondingState_BondingStateEnum
func (*BondingState) GetUnbondingEpoch ¶
func (m *BondingState) GetUnbondingEpoch() uint64
func (*BondingState) Marshal ¶
func (m *BondingState) Marshal() (dAtA []byte, err 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 ¶
func (x BondingState_BondingStateEnum) String() 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 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 *v1alpha1.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 *v1alpha1.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) GetDelegationAmount ¶
func (*Delegate) GetEpochIndex ¶
func (*Delegate) GetUnbondedAmount ¶
func (*Delegate) GetValidatorIdentity ¶
func (m *Delegate) GetValidatorIdentity() *v1alpha1.IdentityKey
func (*Delegate) MarshalToSizedBuffer ¶
func (*Delegate) ProtoMessage ¶
func (*Delegate) ProtoMessage()
func (*Delegate) XXX_DiscardUnknown ¶
func (m *Delegate) XXX_DiscardUnknown()
func (*Delegate) XXX_Marshal ¶
func (*Delegate) XXX_Unmarshal ¶
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_ToDao_ 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) GetToDao ¶
func (m *FundingStream) GetToDao() *FundingStream_ToDao
func (*FundingStream) Marshal ¶
func (m *FundingStream) Marshal() (dAtA []byte, err 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_ToDao ¶
type FundingStream_ToDao 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_ToDao) Descriptor ¶
func (*FundingStream_ToDao) Descriptor() ([]byte, []int)
func (*FundingStream_ToDao) GetRateBps ¶
func (m *FundingStream_ToDao) GetRateBps() uint32
func (*FundingStream_ToDao) Marshal ¶
func (m *FundingStream_ToDao) Marshal() (dAtA []byte, err error)
func (*FundingStream_ToDao) MarshalTo ¶
func (m *FundingStream_ToDao) MarshalTo(dAtA []byte) (int, error)
func (*FundingStream_ToDao) MarshalToSizedBuffer ¶
func (m *FundingStream_ToDao) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FundingStream_ToDao) ProtoMessage ¶
func (*FundingStream_ToDao) ProtoMessage()
func (*FundingStream_ToDao) Reset ¶
func (m *FundingStream_ToDao) Reset()
func (*FundingStream_ToDao) Size ¶
func (m *FundingStream_ToDao) Size() (n int)
func (*FundingStream_ToDao) String ¶
func (m *FundingStream_ToDao) String() string
func (*FundingStream_ToDao) Unmarshal ¶
func (m *FundingStream_ToDao) Unmarshal(dAtA []byte) error
func (*FundingStream_ToDao) XXX_DiscardUnknown ¶
func (m *FundingStream_ToDao) XXX_DiscardUnknown()
func (*FundingStream_ToDao) XXX_Marshal ¶
func (m *FundingStream_ToDao) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FundingStream_ToDao) XXX_Merge ¶
func (m *FundingStream_ToDao) XXX_Merge(src proto.Message)
func (*FundingStream_ToDao) XXX_Size ¶
func (m *FundingStream_ToDao) XXX_Size() int
func (*FundingStream_ToDao) XXX_Unmarshal ¶
func (m *FundingStream_ToDao) XXX_Unmarshal(b []byte) error
type FundingStream_ToDao_ ¶
type FundingStream_ToDao_ struct {
ToDao *FundingStream_ToDao `protobuf:"bytes,2,opt,name=to_dao,json=toDao,proto3,oneof" json:"to_dao,omitempty"`
}
func (*FundingStream_ToDao_) MarshalTo ¶
func (m *FundingStream_ToDao_) MarshalTo(dAtA []byte) (int, error)
func (*FundingStream_ToDao_) MarshalToSizedBuffer ¶
func (m *FundingStream_ToDao_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FundingStream_ToDao_) Size ¶
func (m *FundingStream_ToDao_) Size() (n int)
type Penalty ¶
type Penalty struct {
Inner uint64 `protobuf:"varint,1,opt,name=inner,proto3" json:"inner,omitempty"`
}
Tracks slashing penalties applied to a validator in some epoch.
func (*Penalty) Descriptor ¶
func (*Penalty) MarshalToSizedBuffer ¶
func (*Penalty) ProtoMessage ¶
func (*Penalty) ProtoMessage()
func (*Penalty) XXX_DiscardUnknown ¶
func (m *Penalty) XXX_DiscardUnknown()
func (*Penalty) XXX_Marshal ¶
func (*Penalty) XXX_Unmarshal ¶
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) GetEpochIndex ¶
func (*RateData) GetIdentityKey ¶
func (m *RateData) GetIdentityKey() *v1alpha1.IdentityKey
func (*RateData) GetValidatorExchangeRate ¶
func (*RateData) GetValidatorRewardRate ¶
func (*RateData) MarshalToSizedBuffer ¶
func (*RateData) ProtoMessage ¶
func (*RateData) ProtoMessage()
func (*RateData) XXX_DiscardUnknown ¶
func (m *RateData) XXX_DiscardUnknown()
func (*RateData) XXX_Marshal ¶
func (*RateData) XXX_Unmarshal ¶
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 *v1alpha1.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 *v1alpha1.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() *v1alpha1.Amount
func (*Undelegate) GetStartEpochIndex ¶
func (m *Undelegate) GetStartEpochIndex() uint64
func (*Undelegate) GetUnbondedAmount ¶
func (m *Undelegate) GetUnbondedAmount() *v1alpha1.Amount
func (*Undelegate) GetValidatorIdentity ¶
func (m *Undelegate) GetValidatorIdentity() *v1alpha1.IdentityKey
func (*Undelegate) Marshal ¶
func (m *Undelegate) Marshal() (dAtA []byte, err 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) 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 *v1alpha1.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() *v1alpha1.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 *v1alpha1.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() *v1alpha1.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 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) GetAsOfBlockHeight ¶
func (*Uptime) GetWindowLen ¶
func (*Uptime) MarshalToSizedBuffer ¶
func (*Uptime) ProtoMessage ¶
func (*Uptime) ProtoMessage()
func (*Uptime) XXX_DiscardUnknown ¶
func (m *Uptime) XXX_DiscardUnknown()
func (*Uptime) XXX_Marshal ¶
func (*Uptime) XXX_Unmarshal ¶
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) GetConsensusKey ¶
func (*Validator) GetDescription ¶
func (*Validator) GetEnabled ¶
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) GetSequenceNumber ¶
func (*Validator) GetWebsite ¶
func (*Validator) MarshalToSizedBuffer ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) XXX_DiscardUnknown ¶
func (m *Validator) XXX_DiscardUnknown()
func (*Validator) XXX_Marshal ¶
func (*Validator) XXX_Unmarshal ¶
type 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) 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 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) 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 ValidatorState ¶
type ValidatorState struct {
State ValidatorState_ValidatorStateEnum `` /* 132-byte string literal not displayed */
}
Describes the state of a validator
func (*ValidatorState) Descriptor ¶
func (*ValidatorState) Descriptor() ([]byte, []int)
func (*ValidatorState) GetState ¶
func (m *ValidatorState) GetState() ValidatorState_ValidatorStateEnum
func (*ValidatorState) Marshal ¶
func (m *ValidatorState) Marshal() (dAtA []byte, err 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 ¶
func (x ValidatorState_ValidatorStateEnum) String() 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) 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