Documentation ¶
Index ¶
- Variables
- type BaseRateData
- func (*BaseRateData) Descriptor() ([]byte, []int)deprecated
- func (x *BaseRateData) GetBaseExchangeRate() uint64
- func (x *BaseRateData) GetBaseRewardRate() uint64
- func (x *BaseRateData) GetEpochIndex() uint64
- func (*BaseRateData) ProtoMessage()
- func (x *BaseRateData) ProtoReflect() protoreflect.Message
- func (x *BaseRateData) Reset()
- func (x *BaseRateData) String() string
- type BondingState
- func (*BondingState) Descriptor() ([]byte, []int)deprecated
- func (x *BondingState) GetState() BondingState_BondingStateEnum
- func (x *BondingState) GetUnbondingEpoch() uint64
- func (*BondingState) ProtoMessage()
- func (x *BondingState) ProtoReflect() protoreflect.Message
- func (x *BondingState) Reset()
- func (x *BondingState) String() string
- type BondingState_BondingStateEnum
- func (BondingState_BondingStateEnum) Descriptor() protoreflect.EnumDescriptor
- func (x BondingState_BondingStateEnum) Enum() *BondingState_BondingStateEnum
- func (BondingState_BondingStateEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x BondingState_BondingStateEnum) Number() protoreflect.EnumNumber
- func (x BondingState_BondingStateEnum) String() string
- func (BondingState_BondingStateEnum) Type() protoreflect.EnumType
- type CurrentConsensusKeys
- func (*CurrentConsensusKeys) Descriptor() ([]byte, []int)deprecated
- func (x *CurrentConsensusKeys) GetConsensusKeys() []*v1alpha1.ConsensusKey
- func (*CurrentConsensusKeys) ProtoMessage()
- func (x *CurrentConsensusKeys) ProtoReflect() protoreflect.Message
- func (x *CurrentConsensusKeys) Reset()
- func (x *CurrentConsensusKeys) String() string
- type CurrentValidatorRateRequest
- func (*CurrentValidatorRateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CurrentValidatorRateRequest) GetChainId() string
- func (x *CurrentValidatorRateRequest) GetIdentityKey() *v1alpha1.IdentityKey
- func (*CurrentValidatorRateRequest) ProtoMessage()
- func (x *CurrentValidatorRateRequest) ProtoReflect() protoreflect.Message
- func (x *CurrentValidatorRateRequest) Reset()
- func (x *CurrentValidatorRateRequest) String() string
- type CurrentValidatorRateResponse
- func (*CurrentValidatorRateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CurrentValidatorRateResponse) GetData() *RateData
- func (*CurrentValidatorRateResponse) ProtoMessage()
- func (x *CurrentValidatorRateResponse) ProtoReflect() protoreflect.Message
- func (x *CurrentValidatorRateResponse) Reset()
- func (x *CurrentValidatorRateResponse) String() string
- type Delegate
- func (*Delegate) Descriptor() ([]byte, []int)deprecated
- func (x *Delegate) GetDelegationAmount() *v1alpha11.Amount
- func (x *Delegate) GetEpochIndex() uint64
- func (x *Delegate) GetUnbondedAmount() *v1alpha11.Amount
- func (x *Delegate) GetValidatorIdentity() *v1alpha1.IdentityKey
- func (*Delegate) ProtoMessage()
- func (x *Delegate) ProtoReflect() protoreflect.Message
- func (x *Delegate) Reset()
- func (x *Delegate) String() string
- type DelegationChanges
- func (*DelegationChanges) Descriptor() ([]byte, []int)deprecated
- func (x *DelegationChanges) GetDelegations() []*Delegate
- func (x *DelegationChanges) GetUndelegations() []*Undelegate
- func (*DelegationChanges) ProtoMessage()
- func (x *DelegationChanges) ProtoReflect() protoreflect.Message
- func (x *DelegationChanges) Reset()
- func (x *DelegationChanges) String() string
- type FundingStream
- func (*FundingStream) Descriptor() ([]byte, []int)deprecated
- func (m *FundingStream) GetRecipient() isFundingStream_Recipient
- func (x *FundingStream) GetToAddress() *FundingStream_ToAddress
- func (x *FundingStream) GetToDao() *FundingStream_ToDao
- func (*FundingStream) ProtoMessage()
- func (x *FundingStream) ProtoReflect() protoreflect.Message
- func (x *FundingStream) Reset()
- func (x *FundingStream) String() string
- type FundingStream_ToAddress
- func (*FundingStream_ToAddress) Descriptor() ([]byte, []int)deprecated
- func (x *FundingStream_ToAddress) GetAddress() string
- func (x *FundingStream_ToAddress) GetRateBps() uint32
- func (*FundingStream_ToAddress) ProtoMessage()
- func (x *FundingStream_ToAddress) ProtoReflect() protoreflect.Message
- func (x *FundingStream_ToAddress) Reset()
- func (x *FundingStream_ToAddress) String() string
- type FundingStream_ToAddress_
- type FundingStream_ToDao
- func (*FundingStream_ToDao) Descriptor() ([]byte, []int)deprecated
- func (x *FundingStream_ToDao) GetRateBps() uint32
- func (*FundingStream_ToDao) ProtoMessage()
- func (x *FundingStream_ToDao) ProtoReflect() protoreflect.Message
- func (x *FundingStream_ToDao) Reset()
- func (x *FundingStream_ToDao) String() string
- type FundingStream_ToDao_
- type GenesisContent
- func (*GenesisContent) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisContent) GetStakeParams() *StakeParameters
- func (x *GenesisContent) GetValidators() []*Validator
- func (*GenesisContent) ProtoMessage()
- func (x *GenesisContent) ProtoReflect() protoreflect.Message
- func (x *GenesisContent) Reset()
- func (x *GenesisContent) String() string
- type Penalty
- type RateData
- func (*RateData) Descriptor() ([]byte, []int)deprecated
- func (x *RateData) GetEpochIndex() uint64
- func (x *RateData) GetIdentityKey() *v1alpha1.IdentityKey
- func (x *RateData) GetValidatorExchangeRate() uint64
- func (x *RateData) GetValidatorRewardRate() uint64
- func (*RateData) ProtoMessage()
- func (x *RateData) ProtoReflect() protoreflect.Message
- func (x *RateData) Reset()
- func (x *RateData) String() string
- type StakeParameters
- func (*StakeParameters) Descriptor() ([]byte, []int)deprecated
- func (x *StakeParameters) GetActiveValidatorLimit() uint64
- func (x *StakeParameters) GetBaseRewardRate() uint64
- func (x *StakeParameters) GetMissedBlocksMaximum() uint64
- func (x *StakeParameters) GetSignedBlocksWindowLen() uint64
- func (x *StakeParameters) GetSlashingPenaltyDowntime() uint64
- func (x *StakeParameters) GetSlashingPenaltyMisbehavior() uint64
- func (x *StakeParameters) GetUnbondingEpochs() uint64
- func (*StakeParameters) ProtoMessage()
- func (x *StakeParameters) ProtoReflect() protoreflect.Message
- func (x *StakeParameters) Reset()
- func (x *StakeParameters) String() string
- type Undelegate
- func (*Undelegate) Descriptor() ([]byte, []int)deprecated
- func (x *Undelegate) GetDelegationAmount() *v1alpha11.Amount
- func (x *Undelegate) GetStartEpochIndex() uint64
- func (x *Undelegate) GetUnbondedAmount() *v1alpha11.Amount
- func (x *Undelegate) GetValidatorIdentity() *v1alpha1.IdentityKey
- func (*Undelegate) ProtoMessage()
- func (x *Undelegate) ProtoReflect() protoreflect.Message
- func (x *Undelegate) Reset()
- func (x *Undelegate) String() string
- type UndelegateClaim
- func (*UndelegateClaim) Descriptor() ([]byte, []int)deprecated
- func (x *UndelegateClaim) GetBody() *UndelegateClaimBody
- func (x *UndelegateClaim) GetProof() []byte
- func (*UndelegateClaim) ProtoMessage()
- func (x *UndelegateClaim) ProtoReflect() protoreflect.Message
- func (x *UndelegateClaim) Reset()
- func (x *UndelegateClaim) String() string
- type UndelegateClaimBody
- func (*UndelegateClaimBody) Descriptor() ([]byte, []int)deprecated
- func (x *UndelegateClaimBody) GetBalanceCommitment() *v1alpha12.BalanceCommitment
- func (x *UndelegateClaimBody) GetPenalty() *Penalty
- func (x *UndelegateClaimBody) GetStartEpochIndex() uint64
- func (x *UndelegateClaimBody) GetValidatorIdentity() *v1alpha1.IdentityKey
- func (*UndelegateClaimBody) ProtoMessage()
- func (x *UndelegateClaimBody) ProtoReflect() protoreflect.Message
- func (x *UndelegateClaimBody) Reset()
- func (x *UndelegateClaimBody) String() string
- type UndelegateClaimPlan
- func (*UndelegateClaimPlan) Descriptor() ([]byte, []int)deprecated
- func (x *UndelegateClaimPlan) GetBalanceBlinding() []byte
- func (x *UndelegateClaimPlan) GetPenalty() *Penalty
- func (x *UndelegateClaimPlan) GetProofBlindingR() []byte
- func (x *UndelegateClaimPlan) GetProofBlindingS() []byte
- func (x *UndelegateClaimPlan) GetStartEpochIndex() uint64
- func (x *UndelegateClaimPlan) GetUnbondingAmount() *v1alpha11.Amount
- func (x *UndelegateClaimPlan) GetValidatorIdentity() *v1alpha1.IdentityKey
- func (*UndelegateClaimPlan) ProtoMessage()
- func (x *UndelegateClaimPlan) ProtoReflect() protoreflect.Message
- func (x *UndelegateClaimPlan) Reset()
- func (x *UndelegateClaimPlan) String() string
- type Uptime
- func (*Uptime) Descriptor() ([]byte, []int)deprecated
- func (x *Uptime) GetAsOfBlockHeight() uint64
- func (x *Uptime) GetBitvec() []byte
- func (x *Uptime) GetWindowLen() uint32
- func (*Uptime) ProtoMessage()
- func (x *Uptime) ProtoReflect() protoreflect.Message
- func (x *Uptime) Reset()
- func (x *Uptime) String() string
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)deprecated
- func (x *Validator) GetConsensusKey() []byte
- func (x *Validator) GetDescription() string
- func (x *Validator) GetEnabled() bool
- func (x *Validator) GetFundingStreams() []*FundingStream
- func (x *Validator) GetGovernanceKey() *v1alpha1.GovernanceKey
- func (x *Validator) GetIdentityKey() *v1alpha1.IdentityKey
- func (x *Validator) GetName() string
- func (x *Validator) GetSequenceNumber() uint32
- func (x *Validator) GetWebsite() string
- func (*Validator) ProtoMessage()
- func (x *Validator) ProtoReflect() protoreflect.Message
- func (x *Validator) Reset()
- func (x *Validator) String() string
- type ValidatorDefinition
- func (*ValidatorDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorDefinition) GetAuthSig() []byte
- func (x *ValidatorDefinition) GetValidator() *Validator
- func (*ValidatorDefinition) ProtoMessage()
- func (x *ValidatorDefinition) ProtoReflect() protoreflect.Message
- func (x *ValidatorDefinition) Reset()
- func (x *ValidatorDefinition) String() string
- type ValidatorInfo
- func (*ValidatorInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorInfo) GetRateData() *RateData
- func (x *ValidatorInfo) GetStatus() *ValidatorStatus
- func (x *ValidatorInfo) GetValidator() *Validator
- func (*ValidatorInfo) ProtoMessage()
- func (x *ValidatorInfo) ProtoReflect() protoreflect.Message
- func (x *ValidatorInfo) Reset()
- func (x *ValidatorInfo) String() string
- type ValidatorInfoRequest
- func (*ValidatorInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorInfoRequest) GetChainId() string
- func (x *ValidatorInfoRequest) GetShowInactive() bool
- func (*ValidatorInfoRequest) ProtoMessage()
- func (x *ValidatorInfoRequest) ProtoReflect() protoreflect.Message
- func (x *ValidatorInfoRequest) Reset()
- func (x *ValidatorInfoRequest) String() string
- type ValidatorInfoResponse
- func (*ValidatorInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorInfoResponse) GetValidatorInfo() *ValidatorInfo
- func (*ValidatorInfoResponse) ProtoMessage()
- func (x *ValidatorInfoResponse) ProtoReflect() protoreflect.Message
- func (x *ValidatorInfoResponse) Reset()
- func (x *ValidatorInfoResponse) String() string
- type ValidatorList
- type ValidatorPenaltyRequest
- func (*ValidatorPenaltyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorPenaltyRequest) GetChainId() string
- func (x *ValidatorPenaltyRequest) GetEndEpochIndex() uint64
- func (x *ValidatorPenaltyRequest) GetIdentityKey() *v1alpha1.IdentityKey
- func (x *ValidatorPenaltyRequest) GetStartEpochIndex() uint64
- func (*ValidatorPenaltyRequest) ProtoMessage()
- func (x *ValidatorPenaltyRequest) ProtoReflect() protoreflect.Message
- func (x *ValidatorPenaltyRequest) Reset()
- func (x *ValidatorPenaltyRequest) String() string
- type ValidatorPenaltyResponse
- func (*ValidatorPenaltyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorPenaltyResponse) GetPenalty() *Penalty
- func (*ValidatorPenaltyResponse) ProtoMessage()
- func (x *ValidatorPenaltyResponse) ProtoReflect() protoreflect.Message
- func (x *ValidatorPenaltyResponse) Reset()
- func (x *ValidatorPenaltyResponse) String() string
- type ValidatorState
- func (*ValidatorState) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorState) GetState() ValidatorState_ValidatorStateEnum
- func (*ValidatorState) ProtoMessage()
- func (x *ValidatorState) ProtoReflect() protoreflect.Message
- func (x *ValidatorState) Reset()
- func (x *ValidatorState) String() string
- type ValidatorState_ValidatorStateEnum
- func (ValidatorState_ValidatorStateEnum) Descriptor() protoreflect.EnumDescriptor
- func (x ValidatorState_ValidatorStateEnum) Enum() *ValidatorState_ValidatorStateEnum
- func (ValidatorState_ValidatorStateEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x ValidatorState_ValidatorStateEnum) Number() protoreflect.EnumNumber
- func (x ValidatorState_ValidatorStateEnum) String() string
- func (ValidatorState_ValidatorStateEnum) Type() protoreflect.EnumType
- type ValidatorStatus
- func (*ValidatorStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorStatus) GetBondingState() *BondingState
- func (x *ValidatorStatus) GetIdentityKey() *v1alpha1.IdentityKey
- func (x *ValidatorStatus) GetState() *ValidatorState
- func (x *ValidatorStatus) GetVotingPower() uint64
- func (*ValidatorStatus) ProtoMessage()
- func (x *ValidatorStatus) ProtoReflect() protoreflect.Message
- func (x *ValidatorStatus) Reset()
- func (x *ValidatorStatus) String() string
- type ValidatorStatusRequest
- func (*ValidatorStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorStatusRequest) GetChainId() string
- func (x *ValidatorStatusRequest) GetIdentityKey() *v1alpha1.IdentityKey
- func (*ValidatorStatusRequest) ProtoMessage()
- func (x *ValidatorStatusRequest) ProtoReflect() protoreflect.Message
- func (x *ValidatorStatusRequest) Reset()
- func (x *ValidatorStatusRequest) String() string
- type ValidatorStatusResponse
- func (*ValidatorStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorStatusResponse) GetStatus() *ValidatorStatus
- func (*ValidatorStatusResponse) ProtoMessage()
- func (x *ValidatorStatusResponse) ProtoReflect() protoreflect.Message
- func (x *ValidatorStatusResponse) Reset()
- func (x *ValidatorStatusResponse) String() string
- type ZKUndelegateClaimProof
- func (*ZKUndelegateClaimProof) Descriptor() ([]byte, []int)deprecated
- func (x *ZKUndelegateClaimProof) GetInner() []byte
- func (*ZKUndelegateClaimProof) ProtoMessage()
- func (x *ZKUndelegateClaimProof) ProtoReflect() protoreflect.Message
- func (x *ZKUndelegateClaimProof) Reset()
- func (x *ZKUndelegateClaimProof) String() string
Constants ¶
This section is empty.
Variables ¶
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", } 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, } )
Enum value maps for BondingState_BondingStateEnum.
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", } 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, } )
Enum value maps for ValidatorState_ValidatorStateEnum.
var File_penumbra_core_component_stake_v1alpha1_stake_proto protoreflect.FileDescriptor
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"` // contains filtered or unexported fields }
Describes the base reward and exchange rates in some epoch.
func (*BaseRateData) Descriptor
deprecated
func (*BaseRateData) Descriptor() ([]byte, []int)
Deprecated: Use BaseRateData.ProtoReflect.Descriptor instead.
func (*BaseRateData) GetBaseExchangeRate ¶
func (x *BaseRateData) GetBaseExchangeRate() uint64
func (*BaseRateData) GetBaseRewardRate ¶
func (x *BaseRateData) GetBaseRewardRate() uint64
func (*BaseRateData) GetEpochIndex ¶
func (x *BaseRateData) GetEpochIndex() uint64
func (*BaseRateData) ProtoMessage ¶
func (*BaseRateData) ProtoMessage()
func (*BaseRateData) ProtoReflect ¶
func (x *BaseRateData) ProtoReflect() protoreflect.Message
func (*BaseRateData) Reset ¶
func (x *BaseRateData) Reset()
func (*BaseRateData) String ¶
func (x *BaseRateData) String() string
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"` // contains filtered or unexported fields }
Describes the unbonding state of a validator's stake pool.
func (*BondingState) Descriptor
deprecated
func (*BondingState) Descriptor() ([]byte, []int)
Deprecated: Use BondingState.ProtoReflect.Descriptor instead.
func (*BondingState) GetState ¶
func (x *BondingState) GetState() BondingState_BondingStateEnum
func (*BondingState) GetUnbondingEpoch ¶
func (x *BondingState) GetUnbondingEpoch() uint64
func (*BondingState) ProtoMessage ¶
func (*BondingState) ProtoMessage()
func (*BondingState) ProtoReflect ¶
func (x *BondingState) ProtoReflect() protoreflect.Message
func (*BondingState) Reset ¶
func (x *BondingState) Reset()
func (*BondingState) String ¶
func (x *BondingState) String() string
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) Descriptor ¶
func (BondingState_BondingStateEnum) Descriptor() protoreflect.EnumDescriptor
func (BondingState_BondingStateEnum) Enum ¶
func (x BondingState_BondingStateEnum) Enum() *BondingState_BondingStateEnum
func (BondingState_BondingStateEnum) EnumDescriptor
deprecated
func (BondingState_BondingStateEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use BondingState_BondingStateEnum.Descriptor instead.
func (BondingState_BondingStateEnum) Number ¶
func (x BondingState_BondingStateEnum) Number() protoreflect.EnumNumber
func (BondingState_BondingStateEnum) String ¶
func (x BondingState_BondingStateEnum) String() string
func (BondingState_BondingStateEnum) Type ¶
func (BondingState_BondingStateEnum) Type() protoreflect.EnumType
type CurrentConsensusKeys ¶
type CurrentConsensusKeys struct { ConsensusKeys []*v1alpha1.ConsensusKey `protobuf:"bytes,1,rep,name=consensus_keys,json=consensusKeys,proto3" json:"consensus_keys,omitempty"` // contains filtered or unexported fields }
Tracks our view of Tendermint's view of the validator set, so we can keep it from getting confused.
func (*CurrentConsensusKeys) Descriptor
deprecated
func (*CurrentConsensusKeys) Descriptor() ([]byte, []int)
Deprecated: Use CurrentConsensusKeys.ProtoReflect.Descriptor instead.
func (*CurrentConsensusKeys) GetConsensusKeys ¶
func (x *CurrentConsensusKeys) GetConsensusKeys() []*v1alpha1.ConsensusKey
func (*CurrentConsensusKeys) ProtoMessage ¶
func (*CurrentConsensusKeys) ProtoMessage()
func (*CurrentConsensusKeys) ProtoReflect ¶
func (x *CurrentConsensusKeys) ProtoReflect() protoreflect.Message
func (*CurrentConsensusKeys) Reset ¶
func (x *CurrentConsensusKeys) Reset()
func (*CurrentConsensusKeys) String ¶
func (x *CurrentConsensusKeys) String() string
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"` // contains filtered or unexported fields }
func (*CurrentValidatorRateRequest) Descriptor
deprecated
func (*CurrentValidatorRateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CurrentValidatorRateRequest.ProtoReflect.Descriptor instead.
func (*CurrentValidatorRateRequest) GetChainId ¶
func (x *CurrentValidatorRateRequest) GetChainId() string
func (*CurrentValidatorRateRequest) GetIdentityKey ¶
func (x *CurrentValidatorRateRequest) GetIdentityKey() *v1alpha1.IdentityKey
func (*CurrentValidatorRateRequest) ProtoMessage ¶
func (*CurrentValidatorRateRequest) ProtoMessage()
func (*CurrentValidatorRateRequest) ProtoReflect ¶
func (x *CurrentValidatorRateRequest) ProtoReflect() protoreflect.Message
func (*CurrentValidatorRateRequest) Reset ¶
func (x *CurrentValidatorRateRequest) Reset()
func (*CurrentValidatorRateRequest) String ¶
func (x *CurrentValidatorRateRequest) String() string
type CurrentValidatorRateResponse ¶
type CurrentValidatorRateResponse struct { Data *RateData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CurrentValidatorRateResponse) Descriptor
deprecated
func (*CurrentValidatorRateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CurrentValidatorRateResponse.ProtoReflect.Descriptor instead.
func (*CurrentValidatorRateResponse) GetData ¶
func (x *CurrentValidatorRateResponse) GetData() *RateData
func (*CurrentValidatorRateResponse) ProtoMessage ¶
func (*CurrentValidatorRateResponse) ProtoMessage()
func (*CurrentValidatorRateResponse) ProtoReflect ¶
func (x *CurrentValidatorRateResponse) ProtoReflect() protoreflect.Message
func (*CurrentValidatorRateResponse) Reset ¶
func (x *CurrentValidatorRateResponse) Reset()
func (*CurrentValidatorRateResponse) String ¶
func (x *CurrentValidatorRateResponse) String() string
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"` // contains filtered or unexported fields }
A transaction action adding stake to a validator's delegation pool.
func (*Delegate) Descriptor
deprecated
func (*Delegate) GetDelegationAmount ¶
func (*Delegate) GetEpochIndex ¶
func (*Delegate) GetUnbondedAmount ¶
func (*Delegate) GetValidatorIdentity ¶
func (x *Delegate) GetValidatorIdentity() *v1alpha1.IdentityKey
func (*Delegate) ProtoMessage ¶
func (*Delegate) ProtoMessage()
func (*Delegate) ProtoReflect ¶
func (x *Delegate) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
A list of pending delegations and undelegations.
func (*DelegationChanges) Descriptor
deprecated
func (*DelegationChanges) Descriptor() ([]byte, []int)
Deprecated: Use DelegationChanges.ProtoReflect.Descriptor instead.
func (*DelegationChanges) GetDelegations ¶
func (x *DelegationChanges) GetDelegations() []*Delegate
func (*DelegationChanges) GetUndelegations ¶
func (x *DelegationChanges) GetUndelegations() []*Undelegate
func (*DelegationChanges) ProtoMessage ¶
func (*DelegationChanges) ProtoMessage()
func (*DelegationChanges) ProtoReflect ¶
func (x *DelegationChanges) ProtoReflect() protoreflect.Message
func (*DelegationChanges) Reset ¶
func (x *DelegationChanges) Reset()
func (*DelegationChanges) String ¶
func (x *DelegationChanges) String() string
type FundingStream ¶
type FundingStream struct { // The recipient of the funding stream. // // Types that are assignable to Recipient: // // *FundingStream_ToAddress_ // *FundingStream_ToDao_ Recipient isFundingStream_Recipient `protobuf_oneof:"recipient"` // contains filtered or unexported fields }
A portion of a validator's commission.
func (*FundingStream) Descriptor
deprecated
func (*FundingStream) Descriptor() ([]byte, []int)
Deprecated: Use FundingStream.ProtoReflect.Descriptor instead.
func (*FundingStream) GetRecipient ¶
func (m *FundingStream) GetRecipient() isFundingStream_Recipient
func (*FundingStream) GetToAddress ¶
func (x *FundingStream) GetToAddress() *FundingStream_ToAddress
func (*FundingStream) GetToDao ¶
func (x *FundingStream) GetToDao() *FundingStream_ToDao
func (*FundingStream) ProtoMessage ¶
func (*FundingStream) ProtoMessage()
func (*FundingStream) ProtoReflect ¶
func (x *FundingStream) ProtoReflect() protoreflect.Message
func (*FundingStream) Reset ¶
func (x *FundingStream) Reset()
func (*FundingStream) String ¶
func (x *FundingStream) String() string
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"` // contains filtered or unexported fields }
func (*FundingStream_ToAddress) Descriptor
deprecated
func (*FundingStream_ToAddress) Descriptor() ([]byte, []int)
Deprecated: Use FundingStream_ToAddress.ProtoReflect.Descriptor instead.
func (*FundingStream_ToAddress) GetAddress ¶
func (x *FundingStream_ToAddress) GetAddress() string
func (*FundingStream_ToAddress) GetRateBps ¶
func (x *FundingStream_ToAddress) GetRateBps() uint32
func (*FundingStream_ToAddress) ProtoMessage ¶
func (*FundingStream_ToAddress) ProtoMessage()
func (*FundingStream_ToAddress) ProtoReflect ¶
func (x *FundingStream_ToAddress) ProtoReflect() protoreflect.Message
func (*FundingStream_ToAddress) Reset ¶
func (x *FundingStream_ToAddress) Reset()
func (*FundingStream_ToAddress) String ¶
func (x *FundingStream_ToAddress) String() string
type FundingStream_ToAddress_ ¶
type FundingStream_ToAddress_ struct {
ToAddress *FundingStream_ToAddress `protobuf:"bytes,1,opt,name=to_address,json=toAddress,proto3,oneof"`
}
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"` // contains filtered or unexported fields }
func (*FundingStream_ToDao) Descriptor
deprecated
func (*FundingStream_ToDao) Descriptor() ([]byte, []int)
Deprecated: Use FundingStream_ToDao.ProtoReflect.Descriptor instead.
func (*FundingStream_ToDao) GetRateBps ¶
func (x *FundingStream_ToDao) GetRateBps() uint32
func (*FundingStream_ToDao) ProtoMessage ¶
func (*FundingStream_ToDao) ProtoMessage()
func (*FundingStream_ToDao) ProtoReflect ¶
func (x *FundingStream_ToDao) ProtoReflect() protoreflect.Message
func (*FundingStream_ToDao) Reset ¶
func (x *FundingStream_ToDao) Reset()
func (*FundingStream_ToDao) String ¶
func (x *FundingStream_ToDao) String() string
type FundingStream_ToDao_ ¶
type FundingStream_ToDao_ struct {
ToDao *FundingStream_ToDao `protobuf:"bytes,2,opt,name=to_dao,json=toDao,proto3,oneof"`
}
type GenesisContent ¶ added in v0.62.0
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"` // contains filtered or unexported fields }
Genesis data for the staking component.
func (*GenesisContent) Descriptor
deprecated
added in
v0.62.0
func (*GenesisContent) Descriptor() ([]byte, []int)
Deprecated: Use GenesisContent.ProtoReflect.Descriptor instead.
func (*GenesisContent) GetStakeParams ¶ added in v0.62.0
func (x *GenesisContent) GetStakeParams() *StakeParameters
func (*GenesisContent) GetValidators ¶ added in v0.62.0
func (x *GenesisContent) GetValidators() []*Validator
func (*GenesisContent) ProtoMessage ¶ added in v0.62.0
func (*GenesisContent) ProtoMessage()
func (*GenesisContent) ProtoReflect ¶ added in v0.62.0
func (x *GenesisContent) ProtoReflect() protoreflect.Message
func (*GenesisContent) Reset ¶ added in v0.62.0
func (x *GenesisContent) Reset()
func (*GenesisContent) String ¶ added in v0.62.0
func (x *GenesisContent) String() string
type Penalty ¶
type Penalty struct { Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` // contains filtered or unexported fields }
Tracks slashing penalties applied to a validator in some epoch.
func (*Penalty) Descriptor
deprecated
func (*Penalty) ProtoMessage ¶
func (*Penalty) ProtoMessage()
func (*Penalty) ProtoReflect ¶
func (x *Penalty) ProtoReflect() protoreflect.Message
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 */ // contains filtered or unexported fields }
Describes the reward and exchange rates and voting power for a validator in some epoch.
func (*RateData) Descriptor
deprecated
func (*RateData) GetEpochIndex ¶
func (*RateData) GetIdentityKey ¶
func (x *RateData) GetIdentityKey() *v1alpha1.IdentityKey
func (*RateData) GetValidatorExchangeRate ¶
func (*RateData) GetValidatorRewardRate ¶
func (*RateData) ProtoMessage ¶
func (*RateData) ProtoMessage()
func (*RateData) ProtoReflect ¶
func (x *RateData) ProtoReflect() protoreflect.Message
type StakeParameters ¶ added in v0.62.0
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"` // contains filtered or unexported fields }
Staking configuration data.
func (*StakeParameters) Descriptor
deprecated
added in
v0.62.0
func (*StakeParameters) Descriptor() ([]byte, []int)
Deprecated: Use StakeParameters.ProtoReflect.Descriptor instead.
func (*StakeParameters) GetActiveValidatorLimit ¶ added in v0.62.0
func (x *StakeParameters) GetActiveValidatorLimit() uint64
func (*StakeParameters) GetBaseRewardRate ¶ added in v0.62.0
func (x *StakeParameters) GetBaseRewardRate() uint64
func (*StakeParameters) GetMissedBlocksMaximum ¶ added in v0.62.0
func (x *StakeParameters) GetMissedBlocksMaximum() uint64
func (*StakeParameters) GetSignedBlocksWindowLen ¶ added in v0.62.0
func (x *StakeParameters) GetSignedBlocksWindowLen() uint64
func (*StakeParameters) GetSlashingPenaltyDowntime ¶ added in v0.62.0
func (x *StakeParameters) GetSlashingPenaltyDowntime() uint64
func (*StakeParameters) GetSlashingPenaltyMisbehavior ¶ added in v0.62.0
func (x *StakeParameters) GetSlashingPenaltyMisbehavior() uint64
func (*StakeParameters) GetUnbondingEpochs ¶ added in v0.62.0
func (x *StakeParameters) GetUnbondingEpochs() uint64
func (*StakeParameters) ProtoMessage ¶ added in v0.62.0
func (*StakeParameters) ProtoMessage()
func (*StakeParameters) ProtoReflect ¶ added in v0.62.0
func (x *StakeParameters) ProtoReflect() protoreflect.Message
func (*StakeParameters) Reset ¶ added in v0.62.0
func (x *StakeParameters) Reset()
func (*StakeParameters) String ¶ added in v0.62.0
func (x *StakeParameters) String() string
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"` // contains filtered or unexported fields }
A transaction action withdrawing stake from a validator's delegation pool.
func (*Undelegate) Descriptor
deprecated
func (*Undelegate) Descriptor() ([]byte, []int)
Deprecated: Use Undelegate.ProtoReflect.Descriptor instead.
func (*Undelegate) GetDelegationAmount ¶
func (x *Undelegate) GetDelegationAmount() *v1alpha11.Amount
func (*Undelegate) GetStartEpochIndex ¶
func (x *Undelegate) GetStartEpochIndex() uint64
func (*Undelegate) GetUnbondedAmount ¶
func (x *Undelegate) GetUnbondedAmount() *v1alpha11.Amount
func (*Undelegate) GetValidatorIdentity ¶
func (x *Undelegate) GetValidatorIdentity() *v1alpha1.IdentityKey
func (*Undelegate) ProtoMessage ¶
func (*Undelegate) ProtoMessage()
func (*Undelegate) ProtoReflect ¶
func (x *Undelegate) ProtoReflect() protoreflect.Message
func (*Undelegate) Reset ¶
func (x *Undelegate) Reset()
func (*Undelegate) String ¶
func (x *Undelegate) String() string
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"` // contains filtered or unexported fields }
A transaction action finishing an undelegation, converting (slashable) "unbonding tokens" to (unslashable) staking tokens.
func (*UndelegateClaim) Descriptor
deprecated
func (*UndelegateClaim) Descriptor() ([]byte, []int)
Deprecated: Use UndelegateClaim.ProtoReflect.Descriptor instead.
func (*UndelegateClaim) GetBody ¶
func (x *UndelegateClaim) GetBody() *UndelegateClaimBody
func (*UndelegateClaim) GetProof ¶
func (x *UndelegateClaim) GetProof() []byte
func (*UndelegateClaim) ProtoMessage ¶
func (*UndelegateClaim) ProtoMessage()
func (*UndelegateClaim) ProtoReflect ¶
func (x *UndelegateClaim) ProtoReflect() protoreflect.Message
func (*UndelegateClaim) Reset ¶
func (x *UndelegateClaim) Reset()
func (*UndelegateClaim) String ¶
func (x *UndelegateClaim) String() string
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"` // contains filtered or unexported fields }
func (*UndelegateClaimBody) Descriptor
deprecated
func (*UndelegateClaimBody) Descriptor() ([]byte, []int)
Deprecated: Use UndelegateClaimBody.ProtoReflect.Descriptor instead.
func (*UndelegateClaimBody) GetBalanceCommitment ¶
func (x *UndelegateClaimBody) GetBalanceCommitment() *v1alpha12.BalanceCommitment
func (*UndelegateClaimBody) GetPenalty ¶
func (x *UndelegateClaimBody) GetPenalty() *Penalty
func (*UndelegateClaimBody) GetStartEpochIndex ¶
func (x *UndelegateClaimBody) GetStartEpochIndex() uint64
func (*UndelegateClaimBody) GetValidatorIdentity ¶
func (x *UndelegateClaimBody) GetValidatorIdentity() *v1alpha1.IdentityKey
func (*UndelegateClaimBody) ProtoMessage ¶
func (*UndelegateClaimBody) ProtoMessage()
func (*UndelegateClaimBody) ProtoReflect ¶
func (x *UndelegateClaimBody) ProtoReflect() protoreflect.Message
func (*UndelegateClaimBody) Reset ¶
func (x *UndelegateClaimBody) Reset()
func (*UndelegateClaimBody) String ¶
func (x *UndelegateClaimBody) String() string
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"` // contains filtered or unexported fields }
func (*UndelegateClaimPlan) Descriptor
deprecated
func (*UndelegateClaimPlan) Descriptor() ([]byte, []int)
Deprecated: Use UndelegateClaimPlan.ProtoReflect.Descriptor instead.
func (*UndelegateClaimPlan) GetBalanceBlinding ¶
func (x *UndelegateClaimPlan) GetBalanceBlinding() []byte
func (*UndelegateClaimPlan) GetPenalty ¶
func (x *UndelegateClaimPlan) GetPenalty() *Penalty
func (*UndelegateClaimPlan) GetProofBlindingR ¶
func (x *UndelegateClaimPlan) GetProofBlindingR() []byte
func (*UndelegateClaimPlan) GetProofBlindingS ¶
func (x *UndelegateClaimPlan) GetProofBlindingS() []byte
func (*UndelegateClaimPlan) GetStartEpochIndex ¶
func (x *UndelegateClaimPlan) GetStartEpochIndex() uint64
func (*UndelegateClaimPlan) GetUnbondingAmount ¶
func (x *UndelegateClaimPlan) GetUnbondingAmount() *v1alpha11.Amount
func (*UndelegateClaimPlan) GetValidatorIdentity ¶
func (x *UndelegateClaimPlan) GetValidatorIdentity() *v1alpha1.IdentityKey
func (*UndelegateClaimPlan) ProtoMessage ¶
func (*UndelegateClaimPlan) ProtoMessage()
func (*UndelegateClaimPlan) ProtoReflect ¶
func (x *UndelegateClaimPlan) ProtoReflect() protoreflect.Message
func (*UndelegateClaimPlan) Reset ¶
func (x *UndelegateClaimPlan) Reset()
func (*UndelegateClaimPlan) String ¶
func (x *UndelegateClaimPlan) String() string
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"` // contains filtered or unexported fields }
Track's a validator's uptime.
func (*Uptime) Descriptor
deprecated
func (*Uptime) GetAsOfBlockHeight ¶
func (*Uptime) GetWindowLen ¶
func (*Uptime) ProtoMessage ¶
func (*Uptime) ProtoMessage()
func (*Uptime) ProtoReflect ¶
func (x *Uptime) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
Describes a validator's configuration data.
func (*Validator) Descriptor
deprecated
func (*Validator) GetConsensusKey ¶
func (*Validator) GetDescription ¶
func (*Validator) GetEnabled ¶
func (*Validator) GetFundingStreams ¶
func (x *Validator) GetFundingStreams() []*FundingStream
func (*Validator) GetGovernanceKey ¶
func (x *Validator) GetGovernanceKey() *v1alpha1.GovernanceKey
func (*Validator) GetIdentityKey ¶
func (x *Validator) GetIdentityKey() *v1alpha1.IdentityKey
func (*Validator) GetSequenceNumber ¶
func (*Validator) GetWebsite ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) ProtoReflect ¶
func (x *Validator) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
A transaction action (re)defining a validator.
func (*ValidatorDefinition) Descriptor
deprecated
func (*ValidatorDefinition) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorDefinition.ProtoReflect.Descriptor instead.
func (*ValidatorDefinition) GetAuthSig ¶
func (x *ValidatorDefinition) GetAuthSig() []byte
func (*ValidatorDefinition) GetValidator ¶
func (x *ValidatorDefinition) GetValidator() *Validator
func (*ValidatorDefinition) ProtoMessage ¶
func (*ValidatorDefinition) ProtoMessage()
func (*ValidatorDefinition) ProtoReflect ¶
func (x *ValidatorDefinition) ProtoReflect() protoreflect.Message
func (*ValidatorDefinition) Reset ¶
func (x *ValidatorDefinition) Reset()
func (*ValidatorDefinition) String ¶
func (x *ValidatorDefinition) String() string
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"` // contains filtered or unexported fields }
Combines all validator info into a single packet.
func (*ValidatorInfo) Descriptor
deprecated
func (*ValidatorInfo) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorInfo.ProtoReflect.Descriptor instead.
func (*ValidatorInfo) GetRateData ¶
func (x *ValidatorInfo) GetRateData() *RateData
func (*ValidatorInfo) GetStatus ¶
func (x *ValidatorInfo) GetStatus() *ValidatorStatus
func (*ValidatorInfo) GetValidator ¶
func (x *ValidatorInfo) GetValidator() *Validator
func (*ValidatorInfo) ProtoMessage ¶
func (*ValidatorInfo) ProtoMessage()
func (*ValidatorInfo) ProtoReflect ¶
func (x *ValidatorInfo) ProtoReflect() protoreflect.Message
func (*ValidatorInfo) Reset ¶
func (x *ValidatorInfo) Reset()
func (*ValidatorInfo) String ¶
func (x *ValidatorInfo) String() string
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"` // contains filtered or unexported fields }
Requests information on the chain's validators.
func (*ValidatorInfoRequest) Descriptor
deprecated
func (*ValidatorInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorInfoRequest.ProtoReflect.Descriptor instead.
func (*ValidatorInfoRequest) GetChainId ¶
func (x *ValidatorInfoRequest) GetChainId() string
func (*ValidatorInfoRequest) GetShowInactive ¶
func (x *ValidatorInfoRequest) GetShowInactive() bool
func (*ValidatorInfoRequest) ProtoMessage ¶
func (*ValidatorInfoRequest) ProtoMessage()
func (*ValidatorInfoRequest) ProtoReflect ¶
func (x *ValidatorInfoRequest) ProtoReflect() protoreflect.Message
func (*ValidatorInfoRequest) Reset ¶
func (x *ValidatorInfoRequest) Reset()
func (*ValidatorInfoRequest) String ¶
func (x *ValidatorInfoRequest) String() string
type ValidatorInfoResponse ¶
type ValidatorInfoResponse struct { ValidatorInfo *ValidatorInfo `protobuf:"bytes,1,opt,name=validator_info,json=validatorInfo,proto3" json:"validator_info,omitempty"` // contains filtered or unexported fields }
func (*ValidatorInfoResponse) Descriptor
deprecated
func (*ValidatorInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorInfoResponse.ProtoReflect.Descriptor instead.
func (*ValidatorInfoResponse) GetValidatorInfo ¶
func (x *ValidatorInfoResponse) GetValidatorInfo() *ValidatorInfo
func (*ValidatorInfoResponse) ProtoMessage ¶
func (*ValidatorInfoResponse) ProtoMessage()
func (*ValidatorInfoResponse) ProtoReflect ¶
func (x *ValidatorInfoResponse) ProtoReflect() protoreflect.Message
func (*ValidatorInfoResponse) Reset ¶
func (x *ValidatorInfoResponse) Reset()
func (*ValidatorInfoResponse) String ¶
func (x *ValidatorInfoResponse) String() string
type ValidatorList ¶
type ValidatorList struct { ValidatorKeys []*v1alpha1.IdentityKey `protobuf:"bytes,1,rep,name=validator_keys,json=validatorKeys,proto3" json:"validator_keys,omitempty"` // contains filtered or unexported fields }
For storing the list of keys of known validators.
func (*ValidatorList) Descriptor
deprecated
func (*ValidatorList) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorList.ProtoReflect.Descriptor instead.
func (*ValidatorList) GetValidatorKeys ¶
func (x *ValidatorList) GetValidatorKeys() []*v1alpha1.IdentityKey
func (*ValidatorList) ProtoMessage ¶
func (*ValidatorList) ProtoMessage()
func (*ValidatorList) ProtoReflect ¶
func (x *ValidatorList) ProtoReflect() protoreflect.Message
func (*ValidatorList) Reset ¶
func (x *ValidatorList) Reset()
func (*ValidatorList) String ¶
func (x *ValidatorList) String() string
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"` // contains filtered or unexported fields }
Requests the compounded penalty for a validator over a range of epochs.
func (*ValidatorPenaltyRequest) Descriptor
deprecated
func (*ValidatorPenaltyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorPenaltyRequest.ProtoReflect.Descriptor instead.
func (*ValidatorPenaltyRequest) GetChainId ¶
func (x *ValidatorPenaltyRequest) GetChainId() string
func (*ValidatorPenaltyRequest) GetEndEpochIndex ¶
func (x *ValidatorPenaltyRequest) GetEndEpochIndex() uint64
func (*ValidatorPenaltyRequest) GetIdentityKey ¶
func (x *ValidatorPenaltyRequest) GetIdentityKey() *v1alpha1.IdentityKey
func (*ValidatorPenaltyRequest) GetStartEpochIndex ¶
func (x *ValidatorPenaltyRequest) GetStartEpochIndex() uint64
func (*ValidatorPenaltyRequest) ProtoMessage ¶
func (*ValidatorPenaltyRequest) ProtoMessage()
func (*ValidatorPenaltyRequest) ProtoReflect ¶
func (x *ValidatorPenaltyRequest) ProtoReflect() protoreflect.Message
func (*ValidatorPenaltyRequest) Reset ¶
func (x *ValidatorPenaltyRequest) Reset()
func (*ValidatorPenaltyRequest) String ¶
func (x *ValidatorPenaltyRequest) String() string
type ValidatorPenaltyResponse ¶
type ValidatorPenaltyResponse struct { Penalty *Penalty `protobuf:"bytes,1,opt,name=penalty,proto3" json:"penalty,omitempty"` // contains filtered or unexported fields }
func (*ValidatorPenaltyResponse) Descriptor
deprecated
func (*ValidatorPenaltyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorPenaltyResponse.ProtoReflect.Descriptor instead.
func (*ValidatorPenaltyResponse) GetPenalty ¶
func (x *ValidatorPenaltyResponse) GetPenalty() *Penalty
func (*ValidatorPenaltyResponse) ProtoMessage ¶
func (*ValidatorPenaltyResponse) ProtoMessage()
func (*ValidatorPenaltyResponse) ProtoReflect ¶
func (x *ValidatorPenaltyResponse) ProtoReflect() protoreflect.Message
func (*ValidatorPenaltyResponse) Reset ¶
func (x *ValidatorPenaltyResponse) Reset()
func (*ValidatorPenaltyResponse) String ¶
func (x *ValidatorPenaltyResponse) String() string
type ValidatorState ¶
type ValidatorState struct { State ValidatorState_ValidatorStateEnum `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
Describes the state of a validator
func (*ValidatorState) Descriptor
deprecated
func (*ValidatorState) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorState.ProtoReflect.Descriptor instead.
func (*ValidatorState) GetState ¶
func (x *ValidatorState) GetState() ValidatorState_ValidatorStateEnum
func (*ValidatorState) ProtoMessage ¶
func (*ValidatorState) ProtoMessage()
func (*ValidatorState) ProtoReflect ¶
func (x *ValidatorState) ProtoReflect() protoreflect.Message
func (*ValidatorState) Reset ¶
func (x *ValidatorState) Reset()
func (*ValidatorState) String ¶
func (x *ValidatorState) String() string
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) Descriptor ¶
func (ValidatorState_ValidatorStateEnum) Descriptor() protoreflect.EnumDescriptor
func (ValidatorState_ValidatorStateEnum) Enum ¶
func (x ValidatorState_ValidatorStateEnum) Enum() *ValidatorState_ValidatorStateEnum
func (ValidatorState_ValidatorStateEnum) EnumDescriptor
deprecated
func (ValidatorState_ValidatorStateEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ValidatorState_ValidatorStateEnum.Descriptor instead.
func (ValidatorState_ValidatorStateEnum) Number ¶
func (x ValidatorState_ValidatorStateEnum) Number() protoreflect.EnumNumber
func (ValidatorState_ValidatorStateEnum) String ¶
func (x ValidatorState_ValidatorStateEnum) String() string
func (ValidatorState_ValidatorStateEnum) Type ¶
func (ValidatorState_ValidatorStateEnum) Type() protoreflect.EnumType
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"` // contains filtered or unexported fields }
Describes the current state of a validator on-chain
func (*ValidatorStatus) Descriptor
deprecated
func (*ValidatorStatus) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorStatus.ProtoReflect.Descriptor instead.
func (*ValidatorStatus) GetBondingState ¶
func (x *ValidatorStatus) GetBondingState() *BondingState
func (*ValidatorStatus) GetIdentityKey ¶
func (x *ValidatorStatus) GetIdentityKey() *v1alpha1.IdentityKey
func (*ValidatorStatus) GetState ¶
func (x *ValidatorStatus) GetState() *ValidatorState
func (*ValidatorStatus) GetVotingPower ¶
func (x *ValidatorStatus) GetVotingPower() uint64
func (*ValidatorStatus) ProtoMessage ¶
func (*ValidatorStatus) ProtoMessage()
func (*ValidatorStatus) ProtoReflect ¶
func (x *ValidatorStatus) ProtoReflect() protoreflect.Message
func (*ValidatorStatus) Reset ¶
func (x *ValidatorStatus) Reset()
func (*ValidatorStatus) String ¶
func (x *ValidatorStatus) String() string
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"` // contains filtered or unexported fields }
func (*ValidatorStatusRequest) Descriptor
deprecated
func (*ValidatorStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorStatusRequest.ProtoReflect.Descriptor instead.
func (*ValidatorStatusRequest) GetChainId ¶
func (x *ValidatorStatusRequest) GetChainId() string
func (*ValidatorStatusRequest) GetIdentityKey ¶
func (x *ValidatorStatusRequest) GetIdentityKey() *v1alpha1.IdentityKey
func (*ValidatorStatusRequest) ProtoMessage ¶
func (*ValidatorStatusRequest) ProtoMessage()
func (*ValidatorStatusRequest) ProtoReflect ¶
func (x *ValidatorStatusRequest) ProtoReflect() protoreflect.Message
func (*ValidatorStatusRequest) Reset ¶
func (x *ValidatorStatusRequest) Reset()
func (*ValidatorStatusRequest) String ¶
func (x *ValidatorStatusRequest) String() string
type ValidatorStatusResponse ¶
type ValidatorStatusResponse struct { Status *ValidatorStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ValidatorStatusResponse) Descriptor
deprecated
func (*ValidatorStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorStatusResponse.ProtoReflect.Descriptor instead.
func (*ValidatorStatusResponse) GetStatus ¶
func (x *ValidatorStatusResponse) GetStatus() *ValidatorStatus
func (*ValidatorStatusResponse) ProtoMessage ¶
func (*ValidatorStatusResponse) ProtoMessage()
func (*ValidatorStatusResponse) ProtoReflect ¶
func (x *ValidatorStatusResponse) ProtoReflect() protoreflect.Message
func (*ValidatorStatusResponse) Reset ¶
func (x *ValidatorStatusResponse) Reset()
func (*ValidatorStatusResponse) String ¶
func (x *ValidatorStatusResponse) String() string
type ZKUndelegateClaimProof ¶
type ZKUndelegateClaimProof struct { Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` // contains filtered or unexported fields }
A Penumbra ZK undelegate claim proof.
func (*ZKUndelegateClaimProof) Descriptor
deprecated
func (*ZKUndelegateClaimProof) Descriptor() ([]byte, []int)
Deprecated: Use ZKUndelegateClaimProof.ProtoReflect.Descriptor instead.
func (*ZKUndelegateClaimProof) GetInner ¶
func (x *ZKUndelegateClaimProof) GetInner() []byte
func (*ZKUndelegateClaimProof) ProtoMessage ¶
func (*ZKUndelegateClaimProof) ProtoMessage()
func (*ZKUndelegateClaimProof) ProtoReflect ¶
func (x *ZKUndelegateClaimProof) ProtoReflect() protoreflect.Message
func (*ZKUndelegateClaimProof) Reset ¶
func (x *ZKUndelegateClaimProof) Reset()
func (*ZKUndelegateClaimProof) String ¶
func (x *ZKUndelegateClaimProof) String() string