Documentation ¶
Index ¶
- Variables
- type AllTalliedDelegatorVotesForProposalRequest
- func (*AllTalliedDelegatorVotesForProposalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AllTalliedDelegatorVotesForProposalRequest) GetChainId() string
- func (x *AllTalliedDelegatorVotesForProposalRequest) GetProposalId() uint64
- func (*AllTalliedDelegatorVotesForProposalRequest) ProtoMessage()
- func (x *AllTalliedDelegatorVotesForProposalRequest) ProtoReflect() protoreflect.Message
- func (x *AllTalliedDelegatorVotesForProposalRequest) Reset()
- func (x *AllTalliedDelegatorVotesForProposalRequest) String() string
- type AllTalliedDelegatorVotesForProposalResponse
- func (*AllTalliedDelegatorVotesForProposalResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AllTalliedDelegatorVotesForProposalResponse) GetIdentityKey() *v1alpha12.IdentityKey
- func (x *AllTalliedDelegatorVotesForProposalResponse) GetTally() *Tally
- func (*AllTalliedDelegatorVotesForProposalResponse) ProtoMessage()
- func (x *AllTalliedDelegatorVotesForProposalResponse) ProtoReflect() protoreflect.Message
- func (x *AllTalliedDelegatorVotesForProposalResponse) Reset()
- func (x *AllTalliedDelegatorVotesForProposalResponse) String() string
- type ChangedAppParameters
- func (*ChangedAppParameters) Descriptor() ([]byte, []int)deprecated
- func (x *ChangedAppParameters) GetChainParams() *v1alpha16.ChainParameters
- func (x *ChangedAppParameters) GetDaoParams() *v1alpha17.DaoParameters
- func (x *ChangedAppParameters) GetDistributionsParams() *v1alpha110.DistributionsParameters
- func (x *ChangedAppParameters) GetFeeParams() *v1alpha19.FeeParameters
- func (x *ChangedAppParameters) GetGovernanceParams() *GovernanceParameters
- func (x *ChangedAppParameters) GetIbcParams() *v1alpha18.IbcParameters
- func (x *ChangedAppParameters) GetStakeParams() *v1alpha15.StakeParameters
- func (*ChangedAppParameters) ProtoMessage()
- func (x *ChangedAppParameters) ProtoReflect() protoreflect.Message
- func (x *ChangedAppParameters) Reset()
- func (x *ChangedAppParameters) String() string
- type ChangedAppParametersSet
- func (*ChangedAppParametersSet) Descriptor() ([]byte, []int)deprecated
- func (x *ChangedAppParametersSet) GetNew() *ChangedAppParameters
- func (x *ChangedAppParametersSet) GetOld() *ChangedAppParameters
- func (*ChangedAppParametersSet) ProtoMessage()
- func (x *ChangedAppParametersSet) ProtoReflect() protoreflect.Message
- func (x *ChangedAppParametersSet) Reset()
- func (x *ChangedAppParametersSet) String() string
- type DaoDeposit
- type DaoOutput
- func (*DaoOutput) Descriptor() ([]byte, []int)deprecated
- func (x *DaoOutput) GetAddress() *v1alpha12.Address
- func (x *DaoOutput) GetValue() *v1alpha13.Value
- func (*DaoOutput) ProtoMessage()
- func (x *DaoOutput) ProtoReflect() protoreflect.Message
- func (x *DaoOutput) Reset()
- func (x *DaoOutput) String() string
- type DaoSpend
- type DelegatorVote
- func (*DelegatorVote) Descriptor() ([]byte, []int)deprecated
- func (x *DelegatorVote) GetAuthSig() *v1alpha11.SpendAuthSignature
- func (x *DelegatorVote) GetBody() *DelegatorVoteBody
- func (x *DelegatorVote) GetProof() *ZKDelegatorVoteProof
- func (*DelegatorVote) ProtoMessage()
- func (x *DelegatorVote) ProtoReflect() protoreflect.Message
- func (x *DelegatorVote) Reset()
- func (x *DelegatorVote) String() string
- type DelegatorVoteBody
- func (*DelegatorVoteBody) Descriptor() ([]byte, []int)deprecated
- func (x *DelegatorVoteBody) GetNullifier() []byte
- func (x *DelegatorVoteBody) GetProposal() uint64
- func (x *DelegatorVoteBody) GetRk() []byte
- func (x *DelegatorVoteBody) GetStartPosition() uint64
- func (x *DelegatorVoteBody) GetUnbondedAmount() *v1alpha1.Amount
- func (x *DelegatorVoteBody) GetValue() *v1alpha13.Value
- func (x *DelegatorVoteBody) GetVote() *Vote
- func (*DelegatorVoteBody) ProtoMessage()
- func (x *DelegatorVoteBody) ProtoReflect() protoreflect.Message
- func (x *DelegatorVoteBody) Reset()
- func (x *DelegatorVoteBody) String() string
- type DelegatorVotePlan
- func (*DelegatorVotePlan) Descriptor() ([]byte, []int)deprecated
- func (x *DelegatorVotePlan) GetProofBlindingR() []byte
- func (x *DelegatorVotePlan) GetProofBlindingS() []byte
- func (x *DelegatorVotePlan) GetProposal() uint64
- func (x *DelegatorVotePlan) GetRandomizer() []byte
- func (x *DelegatorVotePlan) GetStakedNote() *v1alpha14.Note
- func (x *DelegatorVotePlan) GetStakedNotePosition() uint64
- func (x *DelegatorVotePlan) GetStartPosition() uint64
- func (x *DelegatorVotePlan) GetUnbondedAmount() *v1alpha1.Amount
- func (x *DelegatorVotePlan) GetVote() *Vote
- func (*DelegatorVotePlan) ProtoMessage()
- func (x *DelegatorVotePlan) ProtoReflect() protoreflect.Message
- func (x *DelegatorVotePlan) Reset()
- func (x *DelegatorVotePlan) String() string
- type DelegatorVoteView
- func (*DelegatorVoteView) Descriptor() ([]byte, []int)deprecated
- func (m *DelegatorVoteView) GetDelegatorVote() isDelegatorVoteView_DelegatorVote
- func (x *DelegatorVoteView) GetOpaque() *DelegatorVoteView_Opaque
- func (x *DelegatorVoteView) GetVisible() *DelegatorVoteView_Visible
- func (*DelegatorVoteView) ProtoMessage()
- func (x *DelegatorVoteView) ProtoReflect() protoreflect.Message
- func (x *DelegatorVoteView) Reset()
- func (x *DelegatorVoteView) String() string
- type DelegatorVoteView_Opaque
- func (*DelegatorVoteView_Opaque) Descriptor() ([]byte, []int)deprecated
- func (x *DelegatorVoteView_Opaque) GetDelegatorVote() *DelegatorVote
- func (*DelegatorVoteView_Opaque) ProtoMessage()
- func (x *DelegatorVoteView_Opaque) ProtoReflect() protoreflect.Message
- func (x *DelegatorVoteView_Opaque) Reset()
- func (x *DelegatorVoteView_Opaque) String() string
- type DelegatorVoteView_Opaque_
- type DelegatorVoteView_Visible
- func (*DelegatorVoteView_Visible) Descriptor() ([]byte, []int)deprecated
- func (x *DelegatorVoteView_Visible) GetDelegatorVote() *DelegatorVote
- func (x *DelegatorVoteView_Visible) GetNote() *v1alpha14.NoteView
- func (*DelegatorVoteView_Visible) ProtoMessage()
- func (x *DelegatorVoteView_Visible) ProtoReflect() protoreflect.Message
- func (x *DelegatorVoteView_Visible) Reset()
- func (x *DelegatorVoteView_Visible) String() string
- type DelegatorVoteView_Visible_
- type GenesisContent
- func (*GenesisContent) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisContent) GetGovernanceParams() *GovernanceParameters
- func (*GenesisContent) ProtoMessage()
- func (x *GenesisContent) ProtoReflect() protoreflect.Message
- func (x *GenesisContent) Reset()
- func (x *GenesisContent) String() string
- type GovernanceParameters
- func (*GovernanceParameters) Descriptor() ([]byte, []int)deprecated
- func (x *GovernanceParameters) GetProposalDepositAmount() *v1alpha1.Amount
- func (x *GovernanceParameters) GetProposalPassThreshold() string
- func (x *GovernanceParameters) GetProposalSlashThreshold() string
- func (x *GovernanceParameters) GetProposalValidQuorum() string
- func (x *GovernanceParameters) GetProposalVotingBlocks() uint64
- func (*GovernanceParameters) ProtoMessage()
- func (x *GovernanceParameters) ProtoReflect() protoreflect.Message
- func (x *GovernanceParameters) Reset()
- func (x *GovernanceParameters) String() string
- type NextProposalIdRequest
- func (*NextProposalIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NextProposalIdRequest) GetChainId() string
- func (*NextProposalIdRequest) ProtoMessage()
- func (x *NextProposalIdRequest) ProtoReflect() protoreflect.Message
- func (x *NextProposalIdRequest) Reset()
- func (x *NextProposalIdRequest) String() string
- type NextProposalIdResponse
- func (*NextProposalIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NextProposalIdResponse) GetNextProposalId() uint64
- func (*NextProposalIdResponse) ProtoMessage()
- func (x *NextProposalIdResponse) ProtoReflect() protoreflect.Message
- func (x *NextProposalIdResponse) Reset()
- func (x *NextProposalIdResponse) String() string
- type Proposal
- func (*Proposal) Descriptor() ([]byte, []int)deprecated
- func (x *Proposal) GetDaoSpend() *Proposal_DaoSpend
- func (x *Proposal) GetDescription() string
- func (x *Proposal) GetEmergency() *Proposal_Emergency
- func (x *Proposal) GetId() uint64
- func (x *Proposal) GetParameterChange() *Proposal_ParameterChange
- func (x *Proposal) GetSignaling() *Proposal_Signaling
- func (x *Proposal) GetTitle() string
- func (x *Proposal) GetUpgradePlan() *Proposal_UpgradePlan
- func (*Proposal) ProtoMessage()
- func (x *Proposal) ProtoReflect() protoreflect.Message
- func (x *Proposal) Reset()
- func (x *Proposal) String() string
- type ProposalDataRequest
- func (*ProposalDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalDataRequest) GetChainId() string
- func (x *ProposalDataRequest) GetProposalId() uint64
- func (*ProposalDataRequest) ProtoMessage()
- func (x *ProposalDataRequest) ProtoReflect() protoreflect.Message
- func (x *ProposalDataRequest) Reset()
- func (x *ProposalDataRequest) String() string
- type ProposalDataResponse
- func (*ProposalDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalDataResponse) GetEndBlockHeight() uint64
- func (x *ProposalDataResponse) GetProposal() *Proposal
- func (x *ProposalDataResponse) GetProposalDepositAmount() *v1alpha1.Amount
- func (x *ProposalDataResponse) GetStartBlockHeight() uint64
- func (x *ProposalDataResponse) GetStartPosition() uint64
- func (x *ProposalDataResponse) GetState() *ProposalState
- func (*ProposalDataResponse) ProtoMessage()
- func (x *ProposalDataResponse) ProtoReflect() protoreflect.Message
- func (x *ProposalDataResponse) Reset()
- func (x *ProposalDataResponse) String() string
- type ProposalDepositClaim
- func (*ProposalDepositClaim) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalDepositClaim) GetDepositAmount() *v1alpha1.Amount
- func (x *ProposalDepositClaim) GetOutcome() *ProposalOutcome
- func (x *ProposalDepositClaim) GetProposal() uint64
- func (*ProposalDepositClaim) ProtoMessage()
- func (x *ProposalDepositClaim) ProtoReflect() protoreflect.Message
- func (x *ProposalDepositClaim) Reset()
- func (x *ProposalDepositClaim) String() string
- type ProposalInfoRequest
- func (*ProposalInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalInfoRequest) GetChainId() string
- func (x *ProposalInfoRequest) GetProposalId() uint64
- func (*ProposalInfoRequest) ProtoMessage()
- func (x *ProposalInfoRequest) ProtoReflect() protoreflect.Message
- func (x *ProposalInfoRequest) Reset()
- func (x *ProposalInfoRequest) String() string
- type ProposalInfoResponse
- func (*ProposalInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalInfoResponse) GetStartBlockHeight() uint64
- func (x *ProposalInfoResponse) GetStartPosition() uint64
- func (*ProposalInfoResponse) ProtoMessage()
- func (x *ProposalInfoResponse) ProtoReflect() protoreflect.Message
- func (x *ProposalInfoResponse) Reset()
- func (x *ProposalInfoResponse) String() string
- type ProposalListRequest
- func (*ProposalListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalListRequest) GetChainId() string
- func (x *ProposalListRequest) GetInactive() bool
- func (*ProposalListRequest) ProtoMessage()
- func (x *ProposalListRequest) ProtoReflect() protoreflect.Message
- func (x *ProposalListRequest) Reset()
- func (x *ProposalListRequest) String() string
- type ProposalListResponse
- func (*ProposalListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalListResponse) GetEndBlockHeight() uint64
- func (x *ProposalListResponse) GetProposal() *Proposal
- func (x *ProposalListResponse) GetStartBlockHeight() uint64
- func (x *ProposalListResponse) GetStartPosition() uint64
- func (x *ProposalListResponse) GetState() *ProposalState
- func (*ProposalListResponse) ProtoMessage()
- func (x *ProposalListResponse) ProtoReflect() protoreflect.Message
- func (x *ProposalListResponse) Reset()
- func (x *ProposalListResponse) String() string
- type ProposalOutcome
- func (*ProposalOutcome) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalOutcome) GetFailed() *ProposalOutcome_Failed
- func (m *ProposalOutcome) GetOutcome() isProposalOutcome_Outcome
- func (x *ProposalOutcome) GetPassed() *ProposalOutcome_Passed
- func (x *ProposalOutcome) GetSlashed() *ProposalOutcome_Slashed
- func (*ProposalOutcome) ProtoMessage()
- func (x *ProposalOutcome) ProtoReflect() protoreflect.Message
- func (x *ProposalOutcome) Reset()
- func (x *ProposalOutcome) String() string
- type ProposalOutcome_Failed
- func (*ProposalOutcome_Failed) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalOutcome_Failed) GetWithdrawn() *ProposalOutcome_Withdrawn
- func (*ProposalOutcome_Failed) ProtoMessage()
- func (x *ProposalOutcome_Failed) ProtoReflect() protoreflect.Message
- func (x *ProposalOutcome_Failed) Reset()
- func (x *ProposalOutcome_Failed) String() string
- type ProposalOutcome_Failed_
- type ProposalOutcome_Passed
- type ProposalOutcome_Passed_
- type ProposalOutcome_Slashed
- func (*ProposalOutcome_Slashed) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalOutcome_Slashed) GetWithdrawn() *ProposalOutcome_Withdrawn
- func (*ProposalOutcome_Slashed) ProtoMessage()
- func (x *ProposalOutcome_Slashed) ProtoReflect() protoreflect.Message
- func (x *ProposalOutcome_Slashed) Reset()
- func (x *ProposalOutcome_Slashed) String() string
- type ProposalOutcome_Slashed_
- type ProposalOutcome_Withdrawn
- func (*ProposalOutcome_Withdrawn) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalOutcome_Withdrawn) GetReason() string
- func (*ProposalOutcome_Withdrawn) ProtoMessage()
- func (x *ProposalOutcome_Withdrawn) ProtoReflect() protoreflect.Message
- func (x *ProposalOutcome_Withdrawn) Reset()
- func (x *ProposalOutcome_Withdrawn) String() string
- type ProposalRateDataRequest
- func (*ProposalRateDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalRateDataRequest) GetChainId() string
- func (x *ProposalRateDataRequest) GetProposalId() uint64
- func (*ProposalRateDataRequest) ProtoMessage()
- func (x *ProposalRateDataRequest) ProtoReflect() protoreflect.Message
- func (x *ProposalRateDataRequest) Reset()
- func (x *ProposalRateDataRequest) String() string
- type ProposalRateDataResponse
- func (*ProposalRateDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalRateDataResponse) GetRateData() *v1alpha15.RateData
- func (*ProposalRateDataResponse) ProtoMessage()
- func (x *ProposalRateDataResponse) ProtoReflect() protoreflect.Message
- func (x *ProposalRateDataResponse) Reset()
- func (x *ProposalRateDataResponse) String() string
- type ProposalState
- func (*ProposalState) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalState) GetClaimed() *ProposalState_Claimed
- func (x *ProposalState) GetFinished() *ProposalState_Finished
- func (m *ProposalState) GetState() isProposalState_State
- func (x *ProposalState) GetVoting() *ProposalState_Voting
- func (x *ProposalState) GetWithdrawn() *ProposalState_Withdrawn
- func (*ProposalState) ProtoMessage()
- func (x *ProposalState) ProtoReflect() protoreflect.Message
- func (x *ProposalState) Reset()
- func (x *ProposalState) String() string
- type ProposalState_Claimed
- func (*ProposalState_Claimed) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalState_Claimed) GetOutcome() *ProposalOutcome
- func (*ProposalState_Claimed) ProtoMessage()
- func (x *ProposalState_Claimed) ProtoReflect() protoreflect.Message
- func (x *ProposalState_Claimed) Reset()
- func (x *ProposalState_Claimed) String() string
- type ProposalState_Claimed_
- type ProposalState_Finished
- func (*ProposalState_Finished) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalState_Finished) GetOutcome() *ProposalOutcome
- func (*ProposalState_Finished) ProtoMessage()
- func (x *ProposalState_Finished) ProtoReflect() protoreflect.Message
- func (x *ProposalState_Finished) Reset()
- func (x *ProposalState_Finished) String() string
- type ProposalState_Finished_
- type ProposalState_Voting
- type ProposalState_Voting_
- type ProposalState_Withdrawn
- func (*ProposalState_Withdrawn) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalState_Withdrawn) GetReason() string
- func (*ProposalState_Withdrawn) ProtoMessage()
- func (x *ProposalState_Withdrawn) ProtoReflect() protoreflect.Message
- func (x *ProposalState_Withdrawn) Reset()
- func (x *ProposalState_Withdrawn) String() string
- type ProposalState_Withdrawn_
- type ProposalSubmit
- func (*ProposalSubmit) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalSubmit) GetDepositAmount() *v1alpha1.Amount
- func (x *ProposalSubmit) GetProposal() *Proposal
- func (*ProposalSubmit) ProtoMessage()
- func (x *ProposalSubmit) ProtoReflect() protoreflect.Message
- func (x *ProposalSubmit) Reset()
- func (x *ProposalSubmit) String() string
- type ProposalWithdraw
- func (*ProposalWithdraw) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalWithdraw) GetProposal() uint64
- func (x *ProposalWithdraw) GetReason() string
- func (*ProposalWithdraw) ProtoMessage()
- func (x *ProposalWithdraw) ProtoReflect() protoreflect.Message
- func (x *ProposalWithdraw) Reset()
- func (x *ProposalWithdraw) String() string
- type Proposal_DaoSpend
- func (*Proposal_DaoSpend) Descriptor() ([]byte, []int)deprecated
- func (x *Proposal_DaoSpend) GetTransactionPlan() *anypb.Any
- func (*Proposal_DaoSpend) ProtoMessage()
- func (x *Proposal_DaoSpend) ProtoReflect() protoreflect.Message
- func (x *Proposal_DaoSpend) Reset()
- func (x *Proposal_DaoSpend) String() string
- type Proposal_Emergency
- func (*Proposal_Emergency) Descriptor() ([]byte, []int)deprecated
- func (x *Proposal_Emergency) GetHaltChain() bool
- func (*Proposal_Emergency) ProtoMessage()
- func (x *Proposal_Emergency) ProtoReflect() protoreflect.Message
- func (x *Proposal_Emergency) Reset()
- func (x *Proposal_Emergency) String() string
- type Proposal_ParameterChange
- func (*Proposal_ParameterChange) Descriptor() ([]byte, []int)deprecated
- func (x *Proposal_ParameterChange) GetNewParameters() *ChangedAppParameters
- func (x *Proposal_ParameterChange) GetOldParameters() *ChangedAppParameters
- func (*Proposal_ParameterChange) ProtoMessage()
- func (x *Proposal_ParameterChange) ProtoReflect() protoreflect.Message
- func (x *Proposal_ParameterChange) Reset()
- func (x *Proposal_ParameterChange) String() string
- type Proposal_Signaling
- func (*Proposal_Signaling) Descriptor() ([]byte, []int)deprecated
- func (x *Proposal_Signaling) GetCommit() string
- func (*Proposal_Signaling) ProtoMessage()
- func (x *Proposal_Signaling) ProtoReflect() protoreflect.Message
- func (x *Proposal_Signaling) Reset()
- func (x *Proposal_Signaling) String() string
- type Proposal_UpgradePlan
- func (*Proposal_UpgradePlan) Descriptor() ([]byte, []int)deprecated
- func (x *Proposal_UpgradePlan) GetHeight() uint64
- func (*Proposal_UpgradePlan) ProtoMessage()
- func (x *Proposal_UpgradePlan) ProtoReflect() protoreflect.Message
- func (x *Proposal_UpgradePlan) Reset()
- func (x *Proposal_UpgradePlan) String() string
- type Tally
- type ValidatorVote
- func (*ValidatorVote) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorVote) GetAuthSig() *v1alpha11.SpendAuthSignature
- func (x *ValidatorVote) GetBody() *ValidatorVoteBody
- func (*ValidatorVote) ProtoMessage()
- func (x *ValidatorVote) ProtoReflect() protoreflect.Message
- func (x *ValidatorVote) Reset()
- func (x *ValidatorVote) String() string
- type ValidatorVoteBody
- func (*ValidatorVoteBody) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorVoteBody) GetGovernanceKey() *v1alpha12.GovernanceKey
- func (x *ValidatorVoteBody) GetIdentityKey() *v1alpha12.IdentityKey
- func (x *ValidatorVoteBody) GetProposal() uint64
- func (x *ValidatorVoteBody) GetReason() *ValidatorVoteReason
- func (x *ValidatorVoteBody) GetVote() *Vote
- func (*ValidatorVoteBody) ProtoMessage()
- func (x *ValidatorVoteBody) ProtoReflect() protoreflect.Message
- func (x *ValidatorVoteBody) Reset()
- func (x *ValidatorVoteBody) String() string
- type ValidatorVoteReason
- func (*ValidatorVoteReason) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorVoteReason) GetReason() string
- func (*ValidatorVoteReason) ProtoMessage()
- func (x *ValidatorVoteReason) ProtoReflect() protoreflect.Message
- func (x *ValidatorVoteReason) Reset()
- func (x *ValidatorVoteReason) String() string
- type ValidatorVotesRequest
- func (*ValidatorVotesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorVotesRequest) GetChainId() string
- func (x *ValidatorVotesRequest) GetProposalId() uint64
- func (*ValidatorVotesRequest) ProtoMessage()
- func (x *ValidatorVotesRequest) ProtoReflect() protoreflect.Message
- func (x *ValidatorVotesRequest) Reset()
- func (x *ValidatorVotesRequest) String() string
- type ValidatorVotesResponse
- func (*ValidatorVotesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorVotesResponse) GetIdentityKey() *v1alpha12.IdentityKey
- func (x *ValidatorVotesResponse) GetVote() *Vote
- func (*ValidatorVotesResponse) ProtoMessage()
- func (x *ValidatorVotesResponse) ProtoReflect() protoreflect.Message
- func (x *ValidatorVotesResponse) Reset()
- func (x *ValidatorVotesResponse) String() string
- type Vote
- type Vote_Vote
- type VotingPowerAtProposalStartRequest
- func (*VotingPowerAtProposalStartRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VotingPowerAtProposalStartRequest) GetChainId() string
- func (x *VotingPowerAtProposalStartRequest) GetIdentityKey() *v1alpha12.IdentityKey
- func (x *VotingPowerAtProposalStartRequest) GetProposalId() uint64
- func (*VotingPowerAtProposalStartRequest) ProtoMessage()
- func (x *VotingPowerAtProposalStartRequest) ProtoReflect() protoreflect.Message
- func (x *VotingPowerAtProposalStartRequest) Reset()
- func (x *VotingPowerAtProposalStartRequest) String() string
- type VotingPowerAtProposalStartResponse
- func (*VotingPowerAtProposalStartResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VotingPowerAtProposalStartResponse) GetVotingPower() uint64
- func (*VotingPowerAtProposalStartResponse) ProtoMessage()
- func (x *VotingPowerAtProposalStartResponse) ProtoReflect() protoreflect.Message
- func (x *VotingPowerAtProposalStartResponse) Reset()
- func (x *VotingPowerAtProposalStartResponse) String() string
- type ZKDelegatorVoteProof
- func (*ZKDelegatorVoteProof) Descriptor() ([]byte, []int)deprecated
- func (x *ZKDelegatorVoteProof) GetInner() []byte
- func (*ZKDelegatorVoteProof) ProtoMessage()
- func (x *ZKDelegatorVoteProof) ProtoReflect() protoreflect.Message
- func (x *ZKDelegatorVoteProof) Reset()
- func (x *ZKDelegatorVoteProof) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Vote_Vote_name = map[int32]string{ 0: "VOTE_UNSPECIFIED", 1: "VOTE_ABSTAIN", 2: "VOTE_YES", 3: "VOTE_NO", } Vote_Vote_value = map[string]int32{ "VOTE_UNSPECIFIED": 0, "VOTE_ABSTAIN": 1, "VOTE_YES": 2, "VOTE_NO": 3, } )
Enum value maps for Vote_Vote.
var File_penumbra_core_component_governance_v1alpha1_governance_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AllTalliedDelegatorVotesForProposalRequest ¶ added in v0.64.0
type AllTalliedDelegatorVotesForProposalRequest 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"` // The proposal id to request information on. ProposalId uint64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` // contains filtered or unexported fields }
func (*AllTalliedDelegatorVotesForProposalRequest) Descriptor
deprecated
added in
v0.64.0
func (*AllTalliedDelegatorVotesForProposalRequest) Descriptor() ([]byte, []int)
Deprecated: Use AllTalliedDelegatorVotesForProposalRequest.ProtoReflect.Descriptor instead.
func (*AllTalliedDelegatorVotesForProposalRequest) GetChainId ¶ added in v0.64.0
func (x *AllTalliedDelegatorVotesForProposalRequest) GetChainId() string
func (*AllTalliedDelegatorVotesForProposalRequest) GetProposalId ¶ added in v0.64.0
func (x *AllTalliedDelegatorVotesForProposalRequest) GetProposalId() uint64
func (*AllTalliedDelegatorVotesForProposalRequest) ProtoMessage ¶ added in v0.64.0
func (*AllTalliedDelegatorVotesForProposalRequest) ProtoMessage()
func (*AllTalliedDelegatorVotesForProposalRequest) ProtoReflect ¶ added in v0.64.0
func (x *AllTalliedDelegatorVotesForProposalRequest) ProtoReflect() protoreflect.Message
func (*AllTalliedDelegatorVotesForProposalRequest) Reset ¶ added in v0.64.0
func (x *AllTalliedDelegatorVotesForProposalRequest) Reset()
func (*AllTalliedDelegatorVotesForProposalRequest) String ¶ added in v0.64.0
func (x *AllTalliedDelegatorVotesForProposalRequest) String() string
type AllTalliedDelegatorVotesForProposalResponse ¶ added in v0.64.0
type AllTalliedDelegatorVotesForProposalResponse struct { // The tally of delegator votes for a given validator for the proposal. Tally *Tally `protobuf:"bytes,1,opt,name=tally,proto3" json:"tally,omitempty"` // The validator identity associated with the tally. IdentityKey *v1alpha12.IdentityKey `protobuf:"bytes,2,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"` // contains filtered or unexported fields }
func (*AllTalliedDelegatorVotesForProposalResponse) Descriptor
deprecated
added in
v0.64.0
func (*AllTalliedDelegatorVotesForProposalResponse) Descriptor() ([]byte, []int)
Deprecated: Use AllTalliedDelegatorVotesForProposalResponse.ProtoReflect.Descriptor instead.
func (*AllTalliedDelegatorVotesForProposalResponse) GetIdentityKey ¶ added in v0.64.0
func (x *AllTalliedDelegatorVotesForProposalResponse) GetIdentityKey() *v1alpha12.IdentityKey
func (*AllTalliedDelegatorVotesForProposalResponse) GetTally ¶ added in v0.64.0
func (x *AllTalliedDelegatorVotesForProposalResponse) GetTally() *Tally
func (*AllTalliedDelegatorVotesForProposalResponse) ProtoMessage ¶ added in v0.64.0
func (*AllTalliedDelegatorVotesForProposalResponse) ProtoMessage()
func (*AllTalliedDelegatorVotesForProposalResponse) ProtoReflect ¶ added in v0.64.0
func (x *AllTalliedDelegatorVotesForProposalResponse) ProtoReflect() protoreflect.Message
func (*AllTalliedDelegatorVotesForProposalResponse) Reset ¶ added in v0.64.0
func (x *AllTalliedDelegatorVotesForProposalResponse) Reset()
func (*AllTalliedDelegatorVotesForProposalResponse) String ¶ added in v0.64.0
func (x *AllTalliedDelegatorVotesForProposalResponse) String() string
type ChangedAppParameters ¶ added in v0.63.0
type ChangedAppParameters struct { // Chain module parameters. ChainParams *v1alpha16.ChainParameters `protobuf:"bytes,1,opt,name=chain_params,json=chainParams,proto3" json:"chain_params,omitempty"` // DAO module parameters. DaoParams *v1alpha17.DaoParameters `protobuf:"bytes,2,opt,name=dao_params,json=daoParams,proto3" json:"dao_params,omitempty"` // Governance module parameters. GovernanceParams *GovernanceParameters `protobuf:"bytes,3,opt,name=governance_params,json=governanceParams,proto3" json:"governance_params,omitempty"` // IBC module parameters. IbcParams *v1alpha18.IbcParameters `protobuf:"bytes,4,opt,name=ibc_params,json=ibcParams,proto3" json:"ibc_params,omitempty"` // Stake module parameters. StakeParams *v1alpha15.StakeParameters `protobuf:"bytes,5,opt,name=stake_params,json=stakeParams,proto3" json:"stake_params,omitempty"` // Fee module parameters. FeeParams *v1alpha19.FeeParameters `protobuf:"bytes,6,opt,name=fee_params,json=feeParams,proto3" json:"fee_params,omitempty"` // Distributions module parameters. DistributionsParams *v1alpha110.DistributionsParameters `protobuf:"bytes,7,opt,name=distributions_params,json=distributionsParams,proto3" json:"distributions_params,omitempty"` // contains filtered or unexported fields }
Note: must be kept in sync with AppParameters. Each field here is optional.
func (*ChangedAppParameters) Descriptor
deprecated
added in
v0.63.0
func (*ChangedAppParameters) Descriptor() ([]byte, []int)
Deprecated: Use ChangedAppParameters.ProtoReflect.Descriptor instead.
func (*ChangedAppParameters) GetChainParams ¶ added in v0.63.0
func (x *ChangedAppParameters) GetChainParams() *v1alpha16.ChainParameters
func (*ChangedAppParameters) GetDaoParams ¶ added in v0.63.0
func (x *ChangedAppParameters) GetDaoParams() *v1alpha17.DaoParameters
func (*ChangedAppParameters) GetDistributionsParams ¶ added in v0.64.0
func (x *ChangedAppParameters) GetDistributionsParams() *v1alpha110.DistributionsParameters
func (*ChangedAppParameters) GetFeeParams ¶ added in v0.63.0
func (x *ChangedAppParameters) GetFeeParams() *v1alpha19.FeeParameters
func (*ChangedAppParameters) GetGovernanceParams ¶ added in v0.63.0
func (x *ChangedAppParameters) GetGovernanceParams() *GovernanceParameters
func (*ChangedAppParameters) GetIbcParams ¶ added in v0.63.0
func (x *ChangedAppParameters) GetIbcParams() *v1alpha18.IbcParameters
func (*ChangedAppParameters) GetStakeParams ¶ added in v0.63.0
func (x *ChangedAppParameters) GetStakeParams() *v1alpha15.StakeParameters
func (*ChangedAppParameters) ProtoMessage ¶ added in v0.63.0
func (*ChangedAppParameters) ProtoMessage()
func (*ChangedAppParameters) ProtoReflect ¶ added in v0.63.0
func (x *ChangedAppParameters) ProtoReflect() protoreflect.Message
func (*ChangedAppParameters) Reset ¶ added in v0.63.0
func (x *ChangedAppParameters) Reset()
func (*ChangedAppParameters) String ¶ added in v0.63.0
func (x *ChangedAppParameters) String() string
type ChangedAppParametersSet ¶ added in v0.63.0
type ChangedAppParametersSet struct { // The set of app parameters at the time the proposal was submitted. Old *ChangedAppParameters `protobuf:"bytes,1,opt,name=old,proto3" json:"old,omitempty"` // The new set of parameters the proposal is trying to enact. New *ChangedAppParameters `protobuf:"bytes,2,opt,name=new,proto3" json:"new,omitempty"` // contains filtered or unexported fields }
func (*ChangedAppParametersSet) Descriptor
deprecated
added in
v0.63.0
func (*ChangedAppParametersSet) Descriptor() ([]byte, []int)
Deprecated: Use ChangedAppParametersSet.ProtoReflect.Descriptor instead.
func (*ChangedAppParametersSet) GetNew ¶ added in v0.63.0
func (x *ChangedAppParametersSet) GetNew() *ChangedAppParameters
func (*ChangedAppParametersSet) GetOld ¶ added in v0.63.0
func (x *ChangedAppParametersSet) GetOld() *ChangedAppParameters
func (*ChangedAppParametersSet) ProtoMessage ¶ added in v0.63.0
func (*ChangedAppParametersSet) ProtoMessage()
func (*ChangedAppParametersSet) ProtoReflect ¶ added in v0.63.0
func (x *ChangedAppParametersSet) ProtoReflect() protoreflect.Message
func (*ChangedAppParametersSet) Reset ¶ added in v0.63.0
func (x *ChangedAppParametersSet) Reset()
func (*ChangedAppParametersSet) String ¶ added in v0.63.0
func (x *ChangedAppParametersSet) String() string
type DaoDeposit ¶
type DaoDeposit struct { // The value to deposit into the DAO. Value *v1alpha13.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*DaoDeposit) Descriptor
deprecated
func (*DaoDeposit) Descriptor() ([]byte, []int)
Deprecated: Use DaoDeposit.ProtoReflect.Descriptor instead.
func (*DaoDeposit) GetValue ¶
func (x *DaoDeposit) GetValue() *v1alpha13.Value
func (*DaoDeposit) ProtoMessage ¶
func (*DaoDeposit) ProtoMessage()
func (*DaoDeposit) ProtoReflect ¶
func (x *DaoDeposit) ProtoReflect() protoreflect.Message
func (*DaoDeposit) Reset ¶
func (x *DaoDeposit) Reset()
func (*DaoDeposit) String ¶
func (x *DaoDeposit) String() string
type DaoOutput ¶
type DaoOutput struct { // The value to output from the DAO. Value *v1alpha13.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // The address to send the output to. Address *v1alpha12.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*DaoOutput) Descriptor
deprecated
func (*DaoOutput) GetAddress ¶
func (*DaoOutput) ProtoMessage ¶
func (*DaoOutput) ProtoMessage()
func (*DaoOutput) ProtoReflect ¶
func (x *DaoOutput) ProtoReflect() protoreflect.Message
type DaoSpend ¶
type DaoSpend struct { // The value to spend from the DAO. Value *v1alpha13.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*DaoSpend) Descriptor
deprecated
func (*DaoSpend) ProtoMessage ¶
func (*DaoSpend) ProtoMessage()
func (*DaoSpend) ProtoReflect ¶
func (x *DaoSpend) ProtoReflect() protoreflect.Message
type DelegatorVote ¶
type DelegatorVote struct { // The effecting data for the vote. Body *DelegatorVoteBody `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // The vote authorization signature is authorizing data. AuthSig *v1alpha11.SpendAuthSignature `protobuf:"bytes,2,opt,name=auth_sig,json=authSig,proto3" json:"auth_sig,omitempty"` // The vote proof is authorizing data. Proof *ZKDelegatorVoteProof `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
func (*DelegatorVote) Descriptor
deprecated
func (*DelegatorVote) Descriptor() ([]byte, []int)
Deprecated: Use DelegatorVote.ProtoReflect.Descriptor instead.
func (*DelegatorVote) GetAuthSig ¶
func (x *DelegatorVote) GetAuthSig() *v1alpha11.SpendAuthSignature
func (*DelegatorVote) GetBody ¶
func (x *DelegatorVote) GetBody() *DelegatorVoteBody
func (*DelegatorVote) GetProof ¶
func (x *DelegatorVote) GetProof() *ZKDelegatorVoteProof
func (*DelegatorVote) ProtoMessage ¶
func (*DelegatorVote) ProtoMessage()
func (*DelegatorVote) ProtoReflect ¶
func (x *DelegatorVote) ProtoReflect() protoreflect.Message
func (*DelegatorVote) Reset ¶
func (x *DelegatorVote) Reset()
func (*DelegatorVote) String ¶
func (x *DelegatorVote) String() string
type DelegatorVoteBody ¶
type DelegatorVoteBody struct { // The proposal being voted on. Proposal uint64 `protobuf:"varint,1,opt,name=proposal,proto3" json:"proposal,omitempty"` // The start position of the proposal in the TCT. StartPosition uint64 `protobuf:"varint,2,opt,name=start_position,json=startPosition,proto3" json:"start_position,omitempty"` // The vote. Vote *Vote `protobuf:"bytes,3,opt,name=vote,proto3" json:"vote,omitempty"` // The value of the delegation note. Value *v1alpha13.Value `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // The amount of the delegation note, in unbonded penumbra. UnbondedAmount *v1alpha1.Amount `protobuf:"bytes,5,opt,name=unbonded_amount,json=unbondedAmount,proto3" json:"unbonded_amount,omitempty"` // The nullifier of the input note. Nullifier []byte `protobuf:"bytes,6,opt,name=nullifier,proto3" json:"nullifier,omitempty"` // The randomized validating key for the spend authorization signature. Rk []byte `protobuf:"bytes,7,opt,name=rk,proto3" json:"rk,omitempty"` // contains filtered or unexported fields }
func (*DelegatorVoteBody) Descriptor
deprecated
func (*DelegatorVoteBody) Descriptor() ([]byte, []int)
Deprecated: Use DelegatorVoteBody.ProtoReflect.Descriptor instead.
func (*DelegatorVoteBody) GetNullifier ¶
func (x *DelegatorVoteBody) GetNullifier() []byte
func (*DelegatorVoteBody) GetProposal ¶
func (x *DelegatorVoteBody) GetProposal() uint64
func (*DelegatorVoteBody) GetRk ¶
func (x *DelegatorVoteBody) GetRk() []byte
func (*DelegatorVoteBody) GetStartPosition ¶
func (x *DelegatorVoteBody) GetStartPosition() uint64
func (*DelegatorVoteBody) GetUnbondedAmount ¶
func (x *DelegatorVoteBody) GetUnbondedAmount() *v1alpha1.Amount
func (*DelegatorVoteBody) GetValue ¶
func (x *DelegatorVoteBody) GetValue() *v1alpha13.Value
func (*DelegatorVoteBody) GetVote ¶
func (x *DelegatorVoteBody) GetVote() *Vote
func (*DelegatorVoteBody) ProtoMessage ¶
func (*DelegatorVoteBody) ProtoMessage()
func (*DelegatorVoteBody) ProtoReflect ¶
func (x *DelegatorVoteBody) ProtoReflect() protoreflect.Message
func (*DelegatorVoteBody) Reset ¶
func (x *DelegatorVoteBody) Reset()
func (*DelegatorVoteBody) String ¶
func (x *DelegatorVoteBody) String() string
type DelegatorVotePlan ¶
type DelegatorVotePlan struct { // The proposal to vote on. Proposal uint64 `protobuf:"varint,1,opt,name=proposal,proto3" json:"proposal,omitempty"` // The start position of the proposal in the TCT. StartPosition uint64 `protobuf:"varint,2,opt,name=start_position,json=startPosition,proto3" json:"start_position,omitempty"` // The vote to cast. Vote *Vote `protobuf:"bytes,3,opt,name=vote,proto3" json:"vote,omitempty"` // The delegation note to prove that we can vote. StakedNote *v1alpha14.Note `protobuf:"bytes,4,opt,name=staked_note,json=stakedNote,proto3" json:"staked_note,omitempty"` // The position of that delegation note. StakedNotePosition uint64 `protobuf:"varint,5,opt,name=staked_note_position,json=stakedNotePosition,proto3" json:"staked_note_position,omitempty"` // The unbonded amount equivalent to the delegation note. UnbondedAmount *v1alpha1.Amount `protobuf:"bytes,6,opt,name=unbonded_amount,json=unbondedAmount,proto3" json:"unbonded_amount,omitempty"` // The randomizer to use for the proof of spend capability. Randomizer []byte `protobuf:"bytes,7,opt,name=randomizer,proto3" json:"randomizer,omitempty"` // The first blinding factor to use for the ZK delegator vote proof. ProofBlindingR []byte `protobuf:"bytes,8,opt,name=proof_blinding_r,json=proofBlindingR,proto3" json:"proof_blinding_r,omitempty"` // The second blinding factor to use for the ZK delegator vote proof. ProofBlindingS []byte `protobuf:"bytes,9,opt,name=proof_blinding_s,json=proofBlindingS,proto3" json:"proof_blinding_s,omitempty"` // contains filtered or unexported fields }
func (*DelegatorVotePlan) Descriptor
deprecated
func (*DelegatorVotePlan) Descriptor() ([]byte, []int)
Deprecated: Use DelegatorVotePlan.ProtoReflect.Descriptor instead.
func (*DelegatorVotePlan) GetProofBlindingR ¶
func (x *DelegatorVotePlan) GetProofBlindingR() []byte
func (*DelegatorVotePlan) GetProofBlindingS ¶
func (x *DelegatorVotePlan) GetProofBlindingS() []byte
func (*DelegatorVotePlan) GetProposal ¶
func (x *DelegatorVotePlan) GetProposal() uint64
func (*DelegatorVotePlan) GetRandomizer ¶
func (x *DelegatorVotePlan) GetRandomizer() []byte
func (*DelegatorVotePlan) GetStakedNote ¶
func (x *DelegatorVotePlan) GetStakedNote() *v1alpha14.Note
func (*DelegatorVotePlan) GetStakedNotePosition ¶
func (x *DelegatorVotePlan) GetStakedNotePosition() uint64
func (*DelegatorVotePlan) GetStartPosition ¶
func (x *DelegatorVotePlan) GetStartPosition() uint64
func (*DelegatorVotePlan) GetUnbondedAmount ¶
func (x *DelegatorVotePlan) GetUnbondedAmount() *v1alpha1.Amount
func (*DelegatorVotePlan) GetVote ¶
func (x *DelegatorVotePlan) GetVote() *Vote
func (*DelegatorVotePlan) ProtoMessage ¶
func (*DelegatorVotePlan) ProtoMessage()
func (*DelegatorVotePlan) ProtoReflect ¶
func (x *DelegatorVotePlan) ProtoReflect() protoreflect.Message
func (*DelegatorVotePlan) Reset ¶
func (x *DelegatorVotePlan) Reset()
func (*DelegatorVotePlan) String ¶
func (x *DelegatorVotePlan) String() string
type DelegatorVoteView ¶
type DelegatorVoteView struct { // Types that are assignable to DelegatorVote: // // *DelegatorVoteView_Visible_ // *DelegatorVoteView_Opaque_ DelegatorVote isDelegatorVoteView_DelegatorVote `protobuf_oneof:"delegator_vote"` // contains filtered or unexported fields }
func (*DelegatorVoteView) Descriptor
deprecated
func (*DelegatorVoteView) Descriptor() ([]byte, []int)
Deprecated: Use DelegatorVoteView.ProtoReflect.Descriptor instead.
func (*DelegatorVoteView) GetDelegatorVote ¶
func (m *DelegatorVoteView) GetDelegatorVote() isDelegatorVoteView_DelegatorVote
func (*DelegatorVoteView) GetOpaque ¶
func (x *DelegatorVoteView) GetOpaque() *DelegatorVoteView_Opaque
func (*DelegatorVoteView) GetVisible ¶
func (x *DelegatorVoteView) GetVisible() *DelegatorVoteView_Visible
func (*DelegatorVoteView) ProtoMessage ¶
func (*DelegatorVoteView) ProtoMessage()
func (*DelegatorVoteView) ProtoReflect ¶
func (x *DelegatorVoteView) ProtoReflect() protoreflect.Message
func (*DelegatorVoteView) Reset ¶
func (x *DelegatorVoteView) Reset()
func (*DelegatorVoteView) String ¶
func (x *DelegatorVoteView) String() string
type DelegatorVoteView_Opaque ¶
type DelegatorVoteView_Opaque struct { DelegatorVote *DelegatorVote `protobuf:"bytes,1,opt,name=delegator_vote,json=delegatorVote,proto3" json:"delegator_vote,omitempty"` // contains filtered or unexported fields }
func (*DelegatorVoteView_Opaque) Descriptor
deprecated
func (*DelegatorVoteView_Opaque) Descriptor() ([]byte, []int)
Deprecated: Use DelegatorVoteView_Opaque.ProtoReflect.Descriptor instead.
func (*DelegatorVoteView_Opaque) GetDelegatorVote ¶
func (x *DelegatorVoteView_Opaque) GetDelegatorVote() *DelegatorVote
func (*DelegatorVoteView_Opaque) ProtoMessage ¶
func (*DelegatorVoteView_Opaque) ProtoMessage()
func (*DelegatorVoteView_Opaque) ProtoReflect ¶
func (x *DelegatorVoteView_Opaque) ProtoReflect() protoreflect.Message
func (*DelegatorVoteView_Opaque) Reset ¶
func (x *DelegatorVoteView_Opaque) Reset()
func (*DelegatorVoteView_Opaque) String ¶
func (x *DelegatorVoteView_Opaque) String() string
type DelegatorVoteView_Opaque_ ¶
type DelegatorVoteView_Opaque_ struct {
Opaque *DelegatorVoteView_Opaque `protobuf:"bytes,2,opt,name=opaque,proto3,oneof"`
}
type DelegatorVoteView_Visible ¶
type DelegatorVoteView_Visible struct { DelegatorVote *DelegatorVote `protobuf:"bytes,1,opt,name=delegator_vote,json=delegatorVote,proto3" json:"delegator_vote,omitempty"` Note *v1alpha14.NoteView `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"` // contains filtered or unexported fields }
func (*DelegatorVoteView_Visible) Descriptor
deprecated
func (*DelegatorVoteView_Visible) Descriptor() ([]byte, []int)
Deprecated: Use DelegatorVoteView_Visible.ProtoReflect.Descriptor instead.
func (*DelegatorVoteView_Visible) GetDelegatorVote ¶
func (x *DelegatorVoteView_Visible) GetDelegatorVote() *DelegatorVote
func (*DelegatorVoteView_Visible) GetNote ¶
func (x *DelegatorVoteView_Visible) GetNote() *v1alpha14.NoteView
func (*DelegatorVoteView_Visible) ProtoMessage ¶
func (*DelegatorVoteView_Visible) ProtoMessage()
func (*DelegatorVoteView_Visible) ProtoReflect ¶
func (x *DelegatorVoteView_Visible) ProtoReflect() protoreflect.Message
func (*DelegatorVoteView_Visible) Reset ¶
func (x *DelegatorVoteView_Visible) Reset()
func (*DelegatorVoteView_Visible) String ¶
func (x *DelegatorVoteView_Visible) String() string
type DelegatorVoteView_Visible_ ¶
type DelegatorVoteView_Visible_ struct {
Visible *DelegatorVoteView_Visible `protobuf:"bytes,1,opt,name=visible,proto3,oneof"`
}
type GenesisContent ¶ added in v0.62.0
type GenesisContent struct { // Governance parameters. GovernanceParams *GovernanceParameters `protobuf:"bytes,1,opt,name=governance_params,json=governanceParams,proto3" json:"governance_params,omitempty"` // contains filtered or unexported fields }
Governance genesis state.
func (*GenesisContent) Descriptor
deprecated
added in
v0.62.0
func (*GenesisContent) Descriptor() ([]byte, []int)
Deprecated: Use GenesisContent.ProtoReflect.Descriptor instead.
func (*GenesisContent) GetGovernanceParams ¶ added in v0.62.0
func (x *GenesisContent) GetGovernanceParams() *GovernanceParameters
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 GovernanceParameters ¶ added in v0.62.0
type GovernanceParameters struct { // The number of blocks during which a proposal is voted on. ProposalVotingBlocks uint64 `protobuf:"varint,1,opt,name=proposal_voting_blocks,json=proposalVotingBlocks,proto3" json:"proposal_voting_blocks,omitempty"` // The deposit required to create a proposal. ProposalDepositAmount *v1alpha1.Amount `` /* 126-byte string literal not displayed */ // The quorum required for a proposal to be considered valid, as a fraction of the total stake // weight of the network. ProposalValidQuorum string `protobuf:"bytes,3,opt,name=proposal_valid_quorum,json=proposalValidQuorum,proto3" json:"proposal_valid_quorum,omitempty"` // The threshold for a proposal to pass voting, as a ratio of "yes" votes over "no" votes. ProposalPassThreshold string `` /* 126-byte string literal not displayed */ // The threshold for a proposal to be slashed, regardless of whether the "yes" and "no" votes // would have passed it, as a ratio of "no" votes over all total votes. ProposalSlashThreshold string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
Governance configuration data.
func (*GovernanceParameters) Descriptor
deprecated
added in
v0.62.0
func (*GovernanceParameters) Descriptor() ([]byte, []int)
Deprecated: Use GovernanceParameters.ProtoReflect.Descriptor instead.
func (*GovernanceParameters) GetProposalDepositAmount ¶ added in v0.62.0
func (x *GovernanceParameters) GetProposalDepositAmount() *v1alpha1.Amount
func (*GovernanceParameters) GetProposalPassThreshold ¶ added in v0.62.0
func (x *GovernanceParameters) GetProposalPassThreshold() string
func (*GovernanceParameters) GetProposalSlashThreshold ¶ added in v0.62.0
func (x *GovernanceParameters) GetProposalSlashThreshold() string
func (*GovernanceParameters) GetProposalValidQuorum ¶ added in v0.62.0
func (x *GovernanceParameters) GetProposalValidQuorum() string
func (*GovernanceParameters) GetProposalVotingBlocks ¶ added in v0.62.0
func (x *GovernanceParameters) GetProposalVotingBlocks() uint64
func (*GovernanceParameters) ProtoMessage ¶ added in v0.62.0
func (*GovernanceParameters) ProtoMessage()
func (*GovernanceParameters) ProtoReflect ¶ added in v0.62.0
func (x *GovernanceParameters) ProtoReflect() protoreflect.Message
func (*GovernanceParameters) Reset ¶ added in v0.62.0
func (x *GovernanceParameters) Reset()
func (*GovernanceParameters) String ¶ added in v0.62.0
func (x *GovernanceParameters) String() string
type NextProposalIdRequest ¶ added in v0.64.0
type NextProposalIdRequest 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"` // contains filtered or unexported fields }
func (*NextProposalIdRequest) Descriptor
deprecated
added in
v0.64.0
func (*NextProposalIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use NextProposalIdRequest.ProtoReflect.Descriptor instead.
func (*NextProposalIdRequest) GetChainId ¶ added in v0.64.0
func (x *NextProposalIdRequest) GetChainId() string
func (*NextProposalIdRequest) ProtoMessage ¶ added in v0.64.0
func (*NextProposalIdRequest) ProtoMessage()
func (*NextProposalIdRequest) ProtoReflect ¶ added in v0.64.0
func (x *NextProposalIdRequest) ProtoReflect() protoreflect.Message
func (*NextProposalIdRequest) Reset ¶ added in v0.64.0
func (x *NextProposalIdRequest) Reset()
func (*NextProposalIdRequest) String ¶ added in v0.64.0
func (x *NextProposalIdRequest) String() string
type NextProposalIdResponse ¶ added in v0.64.0
type NextProposalIdResponse struct { // The next proposal ID. NextProposalId uint64 `protobuf:"varint,1,opt,name=next_proposal_id,json=nextProposalId,proto3" json:"next_proposal_id,omitempty"` // contains filtered or unexported fields }
func (*NextProposalIdResponse) Descriptor
deprecated
added in
v0.64.0
func (*NextProposalIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use NextProposalIdResponse.ProtoReflect.Descriptor instead.
func (*NextProposalIdResponse) GetNextProposalId ¶ added in v0.64.0
func (x *NextProposalIdResponse) GetNextProposalId() uint64
func (*NextProposalIdResponse) ProtoMessage ¶ added in v0.64.0
func (*NextProposalIdResponse) ProtoMessage()
func (*NextProposalIdResponse) ProtoReflect ¶ added in v0.64.0
func (x *NextProposalIdResponse) ProtoReflect() protoreflect.Message
func (*NextProposalIdResponse) Reset ¶ added in v0.64.0
func (x *NextProposalIdResponse) Reset()
func (*NextProposalIdResponse) String ¶ added in v0.64.0
func (x *NextProposalIdResponse) String() string
type Proposal ¶
type Proposal struct { // The unique identifier of the proposal. Id uint64 `protobuf:"varint,4,opt,name=id,proto3" json:"id,omitempty"` // A short title for the proposal. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // A natural-language description of the effect of the proposal and its justification. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // The different kinds of proposal. Only one of these should be set. Signaling *Proposal_Signaling `protobuf:"bytes,5,opt,name=signaling,proto3" json:"signaling,omitempty"` Emergency *Proposal_Emergency `protobuf:"bytes,6,opt,name=emergency,proto3" json:"emergency,omitempty"` ParameterChange *Proposal_ParameterChange `protobuf:"bytes,7,opt,name=parameter_change,json=parameterChange,proto3" json:"parameter_change,omitempty"` DaoSpend *Proposal_DaoSpend `protobuf:"bytes,8,opt,name=dao_spend,json=daoSpend,proto3" json:"dao_spend,omitempty"` UpgradePlan *Proposal_UpgradePlan `protobuf:"bytes,9,opt,name=upgrade_plan,json=upgradePlan,proto3" json:"upgrade_plan,omitempty"` // contains filtered or unexported fields }
A proposal to be voted upon.
func (*Proposal) Descriptor
deprecated
func (*Proposal) GetDaoSpend ¶
func (x *Proposal) GetDaoSpend() *Proposal_DaoSpend
func (*Proposal) GetDescription ¶
func (*Proposal) GetEmergency ¶
func (x *Proposal) GetEmergency() *Proposal_Emergency
func (*Proposal) GetParameterChange ¶
func (x *Proposal) GetParameterChange() *Proposal_ParameterChange
func (*Proposal) GetSignaling ¶
func (x *Proposal) GetSignaling() *Proposal_Signaling
func (*Proposal) GetUpgradePlan ¶
func (x *Proposal) GetUpgradePlan() *Proposal_UpgradePlan
func (*Proposal) ProtoMessage ¶
func (*Proposal) ProtoMessage()
func (*Proposal) ProtoReflect ¶
func (x *Proposal) ProtoReflect() protoreflect.Message
type ProposalDataRequest ¶ added in v0.64.0
type ProposalDataRequest 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"` // The proposal id to request information on. ProposalId uint64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` // contains filtered or unexported fields }
func (*ProposalDataRequest) Descriptor
deprecated
added in
v0.64.0
func (*ProposalDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProposalDataRequest.ProtoReflect.Descriptor instead.
func (*ProposalDataRequest) GetChainId ¶ added in v0.64.0
func (x *ProposalDataRequest) GetChainId() string
func (*ProposalDataRequest) GetProposalId ¶ added in v0.64.0
func (x *ProposalDataRequest) GetProposalId() uint64
func (*ProposalDataRequest) ProtoMessage ¶ added in v0.64.0
func (*ProposalDataRequest) ProtoMessage()
func (*ProposalDataRequest) ProtoReflect ¶ added in v0.64.0
func (x *ProposalDataRequest) ProtoReflect() protoreflect.Message
func (*ProposalDataRequest) Reset ¶ added in v0.64.0
func (x *ProposalDataRequest) Reset()
func (*ProposalDataRequest) String ¶ added in v0.64.0
func (x *ProposalDataRequest) String() string
type ProposalDataResponse ¶ added in v0.64.0
type ProposalDataResponse struct { // The proposal metadata. Proposal *Proposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` // The block height at which the proposal started voting. StartBlockHeight uint64 `protobuf:"varint,2,opt,name=start_block_height,json=startBlockHeight,proto3" json:"start_block_height,omitempty"` // The block height at which the proposal ends voting. EndBlockHeight uint64 `protobuf:"varint,3,opt,name=end_block_height,json=endBlockHeight,proto3" json:"end_block_height,omitempty"` // The position of the state commitment tree at which the proposal is considered to have started voting. StartPosition uint64 `protobuf:"varint,4,opt,name=start_position,json=startPosition,proto3" json:"start_position,omitempty"` // The current state of the proposal. State *ProposalState `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` // The deposit amount paid for the proposal. ProposalDepositAmount *v1alpha1.Amount `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ProposalDataResponse) Descriptor
deprecated
added in
v0.64.0
func (*ProposalDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProposalDataResponse.ProtoReflect.Descriptor instead.
func (*ProposalDataResponse) GetEndBlockHeight ¶ added in v0.64.0
func (x *ProposalDataResponse) GetEndBlockHeight() uint64
func (*ProposalDataResponse) GetProposal ¶ added in v0.64.0
func (x *ProposalDataResponse) GetProposal() *Proposal
func (*ProposalDataResponse) GetProposalDepositAmount ¶ added in v0.64.0
func (x *ProposalDataResponse) GetProposalDepositAmount() *v1alpha1.Amount
func (*ProposalDataResponse) GetStartBlockHeight ¶ added in v0.64.0
func (x *ProposalDataResponse) GetStartBlockHeight() uint64
func (*ProposalDataResponse) GetStartPosition ¶ added in v0.64.0
func (x *ProposalDataResponse) GetStartPosition() uint64
func (*ProposalDataResponse) GetState ¶ added in v0.64.0
func (x *ProposalDataResponse) GetState() *ProposalState
func (*ProposalDataResponse) ProtoMessage ¶ added in v0.64.0
func (*ProposalDataResponse) ProtoMessage()
func (*ProposalDataResponse) ProtoReflect ¶ added in v0.64.0
func (x *ProposalDataResponse) ProtoReflect() protoreflect.Message
func (*ProposalDataResponse) Reset ¶ added in v0.64.0
func (x *ProposalDataResponse) Reset()
func (*ProposalDataResponse) String ¶ added in v0.64.0
func (x *ProposalDataResponse) String() string
type ProposalDepositClaim ¶
type ProposalDepositClaim struct { // The proposal to claim the deposit for. Proposal uint64 `protobuf:"varint,1,opt,name=proposal,proto3" json:"proposal,omitempty"` // The expected deposit amount. DepositAmount *v1alpha1.Amount `protobuf:"bytes,2,opt,name=deposit_amount,json=depositAmount,proto3" json:"deposit_amount,omitempty"` // The outcome of the proposal. Outcome *ProposalOutcome `protobuf:"bytes,3,opt,name=outcome,proto3" json:"outcome,omitempty"` // contains filtered or unexported fields }
func (*ProposalDepositClaim) Descriptor
deprecated
func (*ProposalDepositClaim) Descriptor() ([]byte, []int)
Deprecated: Use ProposalDepositClaim.ProtoReflect.Descriptor instead.
func (*ProposalDepositClaim) GetDepositAmount ¶
func (x *ProposalDepositClaim) GetDepositAmount() *v1alpha1.Amount
func (*ProposalDepositClaim) GetOutcome ¶
func (x *ProposalDepositClaim) GetOutcome() *ProposalOutcome
func (*ProposalDepositClaim) GetProposal ¶
func (x *ProposalDepositClaim) GetProposal() uint64
func (*ProposalDepositClaim) ProtoMessage ¶
func (*ProposalDepositClaim) ProtoMessage()
func (*ProposalDepositClaim) ProtoReflect ¶
func (x *ProposalDepositClaim) ProtoReflect() protoreflect.Message
func (*ProposalDepositClaim) Reset ¶
func (x *ProposalDepositClaim) Reset()
func (*ProposalDepositClaim) String ¶
func (x *ProposalDepositClaim) String() string
type ProposalInfoRequest ¶
type ProposalInfoRequest 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"` // The proposal id to request information on. ProposalId uint64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` // contains filtered or unexported fields }
func (*ProposalInfoRequest) Descriptor
deprecated
func (*ProposalInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProposalInfoRequest.ProtoReflect.Descriptor instead.
func (*ProposalInfoRequest) GetChainId ¶
func (x *ProposalInfoRequest) GetChainId() string
func (*ProposalInfoRequest) GetProposalId ¶
func (x *ProposalInfoRequest) GetProposalId() uint64
func (*ProposalInfoRequest) ProtoMessage ¶
func (*ProposalInfoRequest) ProtoMessage()
func (*ProposalInfoRequest) ProtoReflect ¶
func (x *ProposalInfoRequest) ProtoReflect() protoreflect.Message
func (*ProposalInfoRequest) Reset ¶
func (x *ProposalInfoRequest) Reset()
func (*ProposalInfoRequest) String ¶
func (x *ProposalInfoRequest) String() string
type ProposalInfoResponse ¶
type ProposalInfoResponse struct { // The block height at which the proposal started voting. StartBlockHeight uint64 `protobuf:"varint,1,opt,name=start_block_height,json=startBlockHeight,proto3" json:"start_block_height,omitempty"` // The position of the state commitment tree at which the proposal is considered to have started voting. StartPosition uint64 `protobuf:"varint,2,opt,name=start_position,json=startPosition,proto3" json:"start_position,omitempty"` // contains filtered or unexported fields }
func (*ProposalInfoResponse) Descriptor
deprecated
func (*ProposalInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProposalInfoResponse.ProtoReflect.Descriptor instead.
func (*ProposalInfoResponse) GetStartBlockHeight ¶
func (x *ProposalInfoResponse) GetStartBlockHeight() uint64
func (*ProposalInfoResponse) GetStartPosition ¶
func (x *ProposalInfoResponse) GetStartPosition() uint64
func (*ProposalInfoResponse) ProtoMessage ¶
func (*ProposalInfoResponse) ProtoMessage()
func (*ProposalInfoResponse) ProtoReflect ¶
func (x *ProposalInfoResponse) ProtoReflect() protoreflect.Message
func (*ProposalInfoResponse) Reset ¶
func (x *ProposalInfoResponse) Reset()
func (*ProposalInfoResponse) String ¶
func (x *ProposalInfoResponse) String() string
type ProposalListRequest ¶ added in v0.64.0
type ProposalListRequest 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 to include proposals that are no longer active.; Inactive bool `protobuf:"varint,2,opt,name=inactive,proto3" json:"inactive,omitempty"` // TODO: we could filter by starting block height here? // contains filtered or unexported fields }
Requests the list of all proposals.
func (*ProposalListRequest) Descriptor
deprecated
added in
v0.64.0
func (*ProposalListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProposalListRequest.ProtoReflect.Descriptor instead.
func (*ProposalListRequest) GetChainId ¶ added in v0.64.0
func (x *ProposalListRequest) GetChainId() string
func (*ProposalListRequest) GetInactive ¶ added in v0.64.0
func (x *ProposalListRequest) GetInactive() bool
func (*ProposalListRequest) ProtoMessage ¶ added in v0.64.0
func (*ProposalListRequest) ProtoMessage()
func (*ProposalListRequest) ProtoReflect ¶ added in v0.64.0
func (x *ProposalListRequest) ProtoReflect() protoreflect.Message
func (*ProposalListRequest) Reset ¶ added in v0.64.0
func (x *ProposalListRequest) Reset()
func (*ProposalListRequest) String ¶ added in v0.64.0
func (x *ProposalListRequest) String() string
type ProposalListResponse ¶ added in v0.64.0
type ProposalListResponse struct { // The proposal metadata. Proposal *Proposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` // The block height at which the proposal started voting. StartBlockHeight uint64 `protobuf:"varint,2,opt,name=start_block_height,json=startBlockHeight,proto3" json:"start_block_height,omitempty"` // The block height at which the proposal ends voting. EndBlockHeight uint64 `protobuf:"varint,3,opt,name=end_block_height,json=endBlockHeight,proto3" json:"end_block_height,omitempty"` // The position of the state commitment tree at which the proposal is considered to have started voting. StartPosition uint64 `protobuf:"varint,4,opt,name=start_position,json=startPosition,proto3" json:"start_position,omitempty"` // The current state of the proposal. State *ProposalState `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
The data for a single proposal.
func (*ProposalListResponse) Descriptor
deprecated
added in
v0.64.0
func (*ProposalListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProposalListResponse.ProtoReflect.Descriptor instead.
func (*ProposalListResponse) GetEndBlockHeight ¶ added in v0.64.0
func (x *ProposalListResponse) GetEndBlockHeight() uint64
func (*ProposalListResponse) GetProposal ¶ added in v0.64.0
func (x *ProposalListResponse) GetProposal() *Proposal
func (*ProposalListResponse) GetStartBlockHeight ¶ added in v0.64.0
func (x *ProposalListResponse) GetStartBlockHeight() uint64
func (*ProposalListResponse) GetStartPosition ¶ added in v0.64.0
func (x *ProposalListResponse) GetStartPosition() uint64
func (*ProposalListResponse) GetState ¶ added in v0.64.0
func (x *ProposalListResponse) GetState() *ProposalState
func (*ProposalListResponse) ProtoMessage ¶ added in v0.64.0
func (*ProposalListResponse) ProtoMessage()
func (*ProposalListResponse) ProtoReflect ¶ added in v0.64.0
func (x *ProposalListResponse) ProtoReflect() protoreflect.Message
func (*ProposalListResponse) Reset ¶ added in v0.64.0
func (x *ProposalListResponse) Reset()
func (*ProposalListResponse) String ¶ added in v0.64.0
func (x *ProposalListResponse) String() string
type ProposalOutcome ¶
type ProposalOutcome struct { // Types that are assignable to Outcome: // // *ProposalOutcome_Passed_ // *ProposalOutcome_Failed_ // *ProposalOutcome_Slashed_ Outcome isProposalOutcome_Outcome `protobuf_oneof:"outcome"` // contains filtered or unexported fields }
The outcome of a concluded proposal.
func (*ProposalOutcome) Descriptor
deprecated
func (*ProposalOutcome) Descriptor() ([]byte, []int)
Deprecated: Use ProposalOutcome.ProtoReflect.Descriptor instead.
func (*ProposalOutcome) GetFailed ¶
func (x *ProposalOutcome) GetFailed() *ProposalOutcome_Failed
func (*ProposalOutcome) GetOutcome ¶
func (m *ProposalOutcome) GetOutcome() isProposalOutcome_Outcome
func (*ProposalOutcome) GetPassed ¶
func (x *ProposalOutcome) GetPassed() *ProposalOutcome_Passed
func (*ProposalOutcome) GetSlashed ¶
func (x *ProposalOutcome) GetSlashed() *ProposalOutcome_Slashed
func (*ProposalOutcome) ProtoMessage ¶
func (*ProposalOutcome) ProtoMessage()
func (*ProposalOutcome) ProtoReflect ¶
func (x *ProposalOutcome) ProtoReflect() protoreflect.Message
func (*ProposalOutcome) Reset ¶
func (x *ProposalOutcome) Reset()
func (*ProposalOutcome) String ¶
func (x *ProposalOutcome) String() string
type ProposalOutcome_Failed ¶
type ProposalOutcome_Failed struct { // Present if the proposal was withdrawn during the voting period. Withdrawn *ProposalOutcome_Withdrawn `protobuf:"bytes,1,opt,name=withdrawn,proto3" json:"withdrawn,omitempty"` // contains filtered or unexported fields }
The proposal did not pass.
func (*ProposalOutcome_Failed) Descriptor
deprecated
func (*ProposalOutcome_Failed) Descriptor() ([]byte, []int)
Deprecated: Use ProposalOutcome_Failed.ProtoReflect.Descriptor instead.
func (*ProposalOutcome_Failed) GetWithdrawn ¶
func (x *ProposalOutcome_Failed) GetWithdrawn() *ProposalOutcome_Withdrawn
func (*ProposalOutcome_Failed) ProtoMessage ¶
func (*ProposalOutcome_Failed) ProtoMessage()
func (*ProposalOutcome_Failed) ProtoReflect ¶
func (x *ProposalOutcome_Failed) ProtoReflect() protoreflect.Message
func (*ProposalOutcome_Failed) Reset ¶
func (x *ProposalOutcome_Failed) Reset()
func (*ProposalOutcome_Failed) String ¶
func (x *ProposalOutcome_Failed) String() string
type ProposalOutcome_Failed_ ¶
type ProposalOutcome_Failed_ struct {
Failed *ProposalOutcome_Failed `protobuf:"bytes,2,opt,name=failed,proto3,oneof"`
}
type ProposalOutcome_Passed ¶
type ProposalOutcome_Passed struct {
// contains filtered or unexported fields
}
The proposal was passed.
func (*ProposalOutcome_Passed) Descriptor
deprecated
func (*ProposalOutcome_Passed) Descriptor() ([]byte, []int)
Deprecated: Use ProposalOutcome_Passed.ProtoReflect.Descriptor instead.
func (*ProposalOutcome_Passed) ProtoMessage ¶
func (*ProposalOutcome_Passed) ProtoMessage()
func (*ProposalOutcome_Passed) ProtoReflect ¶
func (x *ProposalOutcome_Passed) ProtoReflect() protoreflect.Message
func (*ProposalOutcome_Passed) Reset ¶
func (x *ProposalOutcome_Passed) Reset()
func (*ProposalOutcome_Passed) String ¶
func (x *ProposalOutcome_Passed) String() string
type ProposalOutcome_Passed_ ¶
type ProposalOutcome_Passed_ struct {
Passed *ProposalOutcome_Passed `protobuf:"bytes,1,opt,name=passed,proto3,oneof"`
}
type ProposalOutcome_Slashed ¶
type ProposalOutcome_Slashed struct { // Present if the proposal was withdrawn during the voting period. Withdrawn *ProposalOutcome_Withdrawn `protobuf:"bytes,1,opt,name=withdrawn,proto3" json:"withdrawn,omitempty"` // contains filtered or unexported fields }
The proposal did not pass, and was slashed.
func (*ProposalOutcome_Slashed) Descriptor
deprecated
func (*ProposalOutcome_Slashed) Descriptor() ([]byte, []int)
Deprecated: Use ProposalOutcome_Slashed.ProtoReflect.Descriptor instead.
func (*ProposalOutcome_Slashed) GetWithdrawn ¶
func (x *ProposalOutcome_Slashed) GetWithdrawn() *ProposalOutcome_Withdrawn
func (*ProposalOutcome_Slashed) ProtoMessage ¶
func (*ProposalOutcome_Slashed) ProtoMessage()
func (*ProposalOutcome_Slashed) ProtoReflect ¶
func (x *ProposalOutcome_Slashed) ProtoReflect() protoreflect.Message
func (*ProposalOutcome_Slashed) Reset ¶
func (x *ProposalOutcome_Slashed) Reset()
func (*ProposalOutcome_Slashed) String ¶
func (x *ProposalOutcome_Slashed) String() string
type ProposalOutcome_Slashed_ ¶
type ProposalOutcome_Slashed_ struct {
Slashed *ProposalOutcome_Slashed `protobuf:"bytes,3,opt,name=slashed,proto3,oneof"`
}
type ProposalOutcome_Withdrawn ¶
type ProposalOutcome_Withdrawn struct { // The reason for withdrawing the proposal during the voting period. Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
Whether or not the proposal was withdrawn.
func (*ProposalOutcome_Withdrawn) Descriptor
deprecated
func (*ProposalOutcome_Withdrawn) Descriptor() ([]byte, []int)
Deprecated: Use ProposalOutcome_Withdrawn.ProtoReflect.Descriptor instead.
func (*ProposalOutcome_Withdrawn) GetReason ¶
func (x *ProposalOutcome_Withdrawn) GetReason() string
func (*ProposalOutcome_Withdrawn) ProtoMessage ¶
func (*ProposalOutcome_Withdrawn) ProtoMessage()
func (*ProposalOutcome_Withdrawn) ProtoReflect ¶
func (x *ProposalOutcome_Withdrawn) ProtoReflect() protoreflect.Message
func (*ProposalOutcome_Withdrawn) Reset ¶
func (x *ProposalOutcome_Withdrawn) Reset()
func (*ProposalOutcome_Withdrawn) String ¶
func (x *ProposalOutcome_Withdrawn) String() string
type ProposalRateDataRequest ¶
type ProposalRateDataRequest 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"` // The proposal id to request information on. ProposalId uint64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` // contains filtered or unexported fields }
Requests the validator rate data for a proposal.
func (*ProposalRateDataRequest) Descriptor
deprecated
func (*ProposalRateDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProposalRateDataRequest.ProtoReflect.Descriptor instead.
func (*ProposalRateDataRequest) GetChainId ¶
func (x *ProposalRateDataRequest) GetChainId() string
func (*ProposalRateDataRequest) GetProposalId ¶
func (x *ProposalRateDataRequest) GetProposalId() uint64
func (*ProposalRateDataRequest) ProtoMessage ¶
func (*ProposalRateDataRequest) ProtoMessage()
func (*ProposalRateDataRequest) ProtoReflect ¶
func (x *ProposalRateDataRequest) ProtoReflect() protoreflect.Message
func (*ProposalRateDataRequest) Reset ¶
func (x *ProposalRateDataRequest) Reset()
func (*ProposalRateDataRequest) String ¶
func (x *ProposalRateDataRequest) String() string
type ProposalRateDataResponse ¶
type ProposalRateDataResponse struct { RateData *v1alpha15.RateData `protobuf:"bytes,1,opt,name=rate_data,json=rateData,proto3" json:"rate_data,omitempty"` // contains filtered or unexported fields }
The rate data for a single validator.
func (*ProposalRateDataResponse) Descriptor
deprecated
func (*ProposalRateDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProposalRateDataResponse.ProtoReflect.Descriptor instead.
func (*ProposalRateDataResponse) GetRateData ¶
func (x *ProposalRateDataResponse) GetRateData() *v1alpha15.RateData
func (*ProposalRateDataResponse) ProtoMessage ¶
func (*ProposalRateDataResponse) ProtoMessage()
func (*ProposalRateDataResponse) ProtoReflect ¶
func (x *ProposalRateDataResponse) ProtoReflect() protoreflect.Message
func (*ProposalRateDataResponse) Reset ¶
func (x *ProposalRateDataResponse) Reset()
func (*ProposalRateDataResponse) String ¶
func (x *ProposalRateDataResponse) String() string
type ProposalState ¶
type ProposalState struct { // The state of the proposal. // // Types that are assignable to State: // // *ProposalState_Voting_ // *ProposalState_Withdrawn_ // *ProposalState_Finished_ // *ProposalState_Claimed_ State isProposalState_State `protobuf_oneof:"state"` // contains filtered or unexported fields }
The current state of a proposal.
func (*ProposalState) Descriptor
deprecated
func (*ProposalState) Descriptor() ([]byte, []int)
Deprecated: Use ProposalState.ProtoReflect.Descriptor instead.
func (*ProposalState) GetClaimed ¶
func (x *ProposalState) GetClaimed() *ProposalState_Claimed
func (*ProposalState) GetFinished ¶
func (x *ProposalState) GetFinished() *ProposalState_Finished
func (*ProposalState) GetState ¶
func (m *ProposalState) GetState() isProposalState_State
func (*ProposalState) GetVoting ¶
func (x *ProposalState) GetVoting() *ProposalState_Voting
func (*ProposalState) GetWithdrawn ¶
func (x *ProposalState) GetWithdrawn() *ProposalState_Withdrawn
func (*ProposalState) ProtoMessage ¶
func (*ProposalState) ProtoMessage()
func (*ProposalState) ProtoReflect ¶
func (x *ProposalState) ProtoReflect() protoreflect.Message
func (*ProposalState) Reset ¶
func (x *ProposalState) Reset()
func (*ProposalState) String ¶
func (x *ProposalState) String() string
type ProposalState_Claimed ¶
type ProposalState_Claimed struct { Outcome *ProposalOutcome `protobuf:"bytes,1,opt,name=outcome,proto3" json:"outcome,omitempty"` // contains filtered or unexported fields }
The voting period has ended, and the original proposer has claimed their deposit.
func (*ProposalState_Claimed) Descriptor
deprecated
func (*ProposalState_Claimed) Descriptor() ([]byte, []int)
Deprecated: Use ProposalState_Claimed.ProtoReflect.Descriptor instead.
func (*ProposalState_Claimed) GetOutcome ¶
func (x *ProposalState_Claimed) GetOutcome() *ProposalOutcome
func (*ProposalState_Claimed) ProtoMessage ¶
func (*ProposalState_Claimed) ProtoMessage()
func (*ProposalState_Claimed) ProtoReflect ¶
func (x *ProposalState_Claimed) ProtoReflect() protoreflect.Message
func (*ProposalState_Claimed) Reset ¶
func (x *ProposalState_Claimed) Reset()
func (*ProposalState_Claimed) String ¶
func (x *ProposalState_Claimed) String() string
type ProposalState_Claimed_ ¶
type ProposalState_Claimed_ struct {
Claimed *ProposalState_Claimed `protobuf:"bytes,5,opt,name=claimed,proto3,oneof"`
}
type ProposalState_Finished ¶
type ProposalState_Finished struct { Outcome *ProposalOutcome `protobuf:"bytes,1,opt,name=outcome,proto3" json:"outcome,omitempty"` // contains filtered or unexported fields }
The voting period has ended, and the proposal has been assigned an outcome.
func (*ProposalState_Finished) Descriptor
deprecated
func (*ProposalState_Finished) Descriptor() ([]byte, []int)
Deprecated: Use ProposalState_Finished.ProtoReflect.Descriptor instead.
func (*ProposalState_Finished) GetOutcome ¶
func (x *ProposalState_Finished) GetOutcome() *ProposalOutcome
func (*ProposalState_Finished) ProtoMessage ¶
func (*ProposalState_Finished) ProtoMessage()
func (*ProposalState_Finished) ProtoReflect ¶
func (x *ProposalState_Finished) ProtoReflect() protoreflect.Message
func (*ProposalState_Finished) Reset ¶
func (x *ProposalState_Finished) Reset()
func (*ProposalState_Finished) String ¶
func (x *ProposalState_Finished) String() string
type ProposalState_Finished_ ¶
type ProposalState_Finished_ struct {
Finished *ProposalState_Finished `protobuf:"bytes,4,opt,name=finished,proto3,oneof"`
}
type ProposalState_Voting ¶
type ProposalState_Voting struct {
// contains filtered or unexported fields
}
Voting is in progress and the proposal has not yet concluded voting or been withdrawn.
func (*ProposalState_Voting) Descriptor
deprecated
func (*ProposalState_Voting) Descriptor() ([]byte, []int)
Deprecated: Use ProposalState_Voting.ProtoReflect.Descriptor instead.
func (*ProposalState_Voting) ProtoMessage ¶
func (*ProposalState_Voting) ProtoMessage()
func (*ProposalState_Voting) ProtoReflect ¶
func (x *ProposalState_Voting) ProtoReflect() protoreflect.Message
func (*ProposalState_Voting) Reset ¶
func (x *ProposalState_Voting) Reset()
func (*ProposalState_Voting) String ¶
func (x *ProposalState_Voting) String() string
type ProposalState_Voting_ ¶
type ProposalState_Voting_ struct {
Voting *ProposalState_Voting `protobuf:"bytes,2,opt,name=voting,proto3,oneof"`
}
type ProposalState_Withdrawn ¶
type ProposalState_Withdrawn struct { // The reason for the withdrawal. Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
The proposal has been withdrawn but the voting period is not yet concluded.
func (*ProposalState_Withdrawn) Descriptor
deprecated
func (*ProposalState_Withdrawn) Descriptor() ([]byte, []int)
Deprecated: Use ProposalState_Withdrawn.ProtoReflect.Descriptor instead.
func (*ProposalState_Withdrawn) GetReason ¶
func (x *ProposalState_Withdrawn) GetReason() string
func (*ProposalState_Withdrawn) ProtoMessage ¶
func (*ProposalState_Withdrawn) ProtoMessage()
func (*ProposalState_Withdrawn) ProtoReflect ¶
func (x *ProposalState_Withdrawn) ProtoReflect() protoreflect.Message
func (*ProposalState_Withdrawn) Reset ¶
func (x *ProposalState_Withdrawn) Reset()
func (*ProposalState_Withdrawn) String ¶
func (x *ProposalState_Withdrawn) String() string
type ProposalState_Withdrawn_ ¶
type ProposalState_Withdrawn_ struct {
Withdrawn *ProposalState_Withdrawn `protobuf:"bytes,3,opt,name=withdrawn,proto3,oneof"`
}
type ProposalSubmit ¶
type ProposalSubmit struct { // The proposal to be submitted. Proposal *Proposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` // The amount of the proposal deposit. DepositAmount *v1alpha1.Amount `protobuf:"bytes,3,opt,name=deposit_amount,json=depositAmount,proto3" json:"deposit_amount,omitempty"` // contains filtered or unexported fields }
func (*ProposalSubmit) Descriptor
deprecated
func (*ProposalSubmit) Descriptor() ([]byte, []int)
Deprecated: Use ProposalSubmit.ProtoReflect.Descriptor instead.
func (*ProposalSubmit) GetDepositAmount ¶
func (x *ProposalSubmit) GetDepositAmount() *v1alpha1.Amount
func (*ProposalSubmit) GetProposal ¶
func (x *ProposalSubmit) GetProposal() *Proposal
func (*ProposalSubmit) ProtoMessage ¶
func (*ProposalSubmit) ProtoMessage()
func (*ProposalSubmit) ProtoReflect ¶
func (x *ProposalSubmit) ProtoReflect() protoreflect.Message
func (*ProposalSubmit) Reset ¶
func (x *ProposalSubmit) Reset()
func (*ProposalSubmit) String ¶
func (x *ProposalSubmit) String() string
type ProposalWithdraw ¶
type ProposalWithdraw struct { // The proposal to be withdrawn. Proposal uint64 `protobuf:"varint,1,opt,name=proposal,proto3" json:"proposal,omitempty"` // The reason for the proposal being withdrawn. Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*ProposalWithdraw) Descriptor
deprecated
func (*ProposalWithdraw) Descriptor() ([]byte, []int)
Deprecated: Use ProposalWithdraw.ProtoReflect.Descriptor instead.
func (*ProposalWithdraw) GetProposal ¶
func (x *ProposalWithdraw) GetProposal() uint64
func (*ProposalWithdraw) GetReason ¶
func (x *ProposalWithdraw) GetReason() string
func (*ProposalWithdraw) ProtoMessage ¶
func (*ProposalWithdraw) ProtoMessage()
func (*ProposalWithdraw) ProtoReflect ¶
func (x *ProposalWithdraw) ProtoReflect() protoreflect.Message
func (*ProposalWithdraw) Reset ¶
func (x *ProposalWithdraw) Reset()
func (*ProposalWithdraw) String ¶
func (x *ProposalWithdraw) String() string
type Proposal_DaoSpend ¶
type Proposal_DaoSpend struct { // The transaction plan to be executed at the time the proposal is passed. This must be a // transaction plan which can be executed by the DAO, which means it can't require any witness // data or authorization signatures, but it may use the `DaoSpend` action. TransactionPlan *anypb.Any `protobuf:"bytes,2,opt,name=transaction_plan,json=transactionPlan,proto3" json:"transaction_plan,omitempty"` // contains filtered or unexported fields }
A DAO spend proposal describes zero or more transactions to execute on behalf of the DAO, with access to its funds, and zero or more scheduled transactions from previous passed proposals to cancel.
func (*Proposal_DaoSpend) Descriptor
deprecated
func (*Proposal_DaoSpend) Descriptor() ([]byte, []int)
Deprecated: Use Proposal_DaoSpend.ProtoReflect.Descriptor instead.
func (*Proposal_DaoSpend) GetTransactionPlan ¶
func (x *Proposal_DaoSpend) GetTransactionPlan() *anypb.Any
func (*Proposal_DaoSpend) ProtoMessage ¶
func (*Proposal_DaoSpend) ProtoMessage()
func (*Proposal_DaoSpend) ProtoReflect ¶
func (x *Proposal_DaoSpend) ProtoReflect() protoreflect.Message
func (*Proposal_DaoSpend) Reset ¶
func (x *Proposal_DaoSpend) Reset()
func (*Proposal_DaoSpend) String ¶
func (x *Proposal_DaoSpend) String() string
type Proposal_Emergency ¶
type Proposal_Emergency struct { // If `true`, the chain will halt immediately when the proposal is passed. HaltChain bool `protobuf:"varint,1,opt,name=halt_chain,json=haltChain,proto3" json:"halt_chain,omitempty"` // contains filtered or unexported fields }
An emergency proposal can be passed instantaneously by a 2/3 majority of validators, without waiting for the voting period to expire.
If the boolean `halt_chain` is set to `true`, then the chain will halt immediately when the proposal is passed.
func (*Proposal_Emergency) Descriptor
deprecated
func (*Proposal_Emergency) Descriptor() ([]byte, []int)
Deprecated: Use Proposal_Emergency.ProtoReflect.Descriptor instead.
func (*Proposal_Emergency) GetHaltChain ¶
func (x *Proposal_Emergency) GetHaltChain() bool
func (*Proposal_Emergency) ProtoMessage ¶
func (*Proposal_Emergency) ProtoMessage()
func (*Proposal_Emergency) ProtoReflect ¶
func (x *Proposal_Emergency) ProtoReflect() protoreflect.Message
func (*Proposal_Emergency) Reset ¶
func (x *Proposal_Emergency) Reset()
func (*Proposal_Emergency) String ¶
func (x *Proposal_Emergency) String() string
type Proposal_ParameterChange ¶
type Proposal_ParameterChange struct { // The old app parameters to be replaced: even if the proposal passes, the update will not be // applied if the app parameters have changed *at all* from these app parameters. Usually, // this should be set to the current app parameters at time of proposal. OldParameters *ChangedAppParameters `protobuf:"bytes,1,opt,name=old_parameters,json=oldParameters,proto3" json:"old_parameters,omitempty"` // The new app parameters to be set: the *entire* app parameters will be replaced with these // at the time the proposal is passed, for every component's parameters that is set. If a component's // parameters are not set, then they were not changed by the proposal, and will not be updated. NewParameters *ChangedAppParameters `protobuf:"bytes,2,opt,name=new_parameters,json=newParameters,proto3" json:"new_parameters,omitempty"` // contains filtered or unexported fields }
A parameter change proposal describes a replacement of the app parameters, which should take effect when the proposal is passed.
func (*Proposal_ParameterChange) Descriptor
deprecated
func (*Proposal_ParameterChange) Descriptor() ([]byte, []int)
Deprecated: Use Proposal_ParameterChange.ProtoReflect.Descriptor instead.
func (*Proposal_ParameterChange) GetNewParameters ¶
func (x *Proposal_ParameterChange) GetNewParameters() *ChangedAppParameters
func (*Proposal_ParameterChange) GetOldParameters ¶
func (x *Proposal_ParameterChange) GetOldParameters() *ChangedAppParameters
func (*Proposal_ParameterChange) ProtoMessage ¶
func (*Proposal_ParameterChange) ProtoMessage()
func (*Proposal_ParameterChange) ProtoReflect ¶
func (x *Proposal_ParameterChange) ProtoReflect() protoreflect.Message
func (*Proposal_ParameterChange) Reset ¶
func (x *Proposal_ParameterChange) Reset()
func (*Proposal_ParameterChange) String ¶
func (x *Proposal_ParameterChange) String() string
type Proposal_Signaling ¶
type Proposal_Signaling struct { // The commit to be voted upon, if any is relevant. Commit string `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` // contains filtered or unexported fields }
A signaling proposal is meant to register a vote on-chain, but does not have an automatic effect when passed.
It optionally contains a reference to a commit which contains code to upgrade the chain.
func (*Proposal_Signaling) Descriptor
deprecated
func (*Proposal_Signaling) Descriptor() ([]byte, []int)
Deprecated: Use Proposal_Signaling.ProtoReflect.Descriptor instead.
func (*Proposal_Signaling) GetCommit ¶
func (x *Proposal_Signaling) GetCommit() string
func (*Proposal_Signaling) ProtoMessage ¶
func (*Proposal_Signaling) ProtoMessage()
func (*Proposal_Signaling) ProtoReflect ¶
func (x *Proposal_Signaling) ProtoReflect() protoreflect.Message
func (*Proposal_Signaling) Reset ¶
func (x *Proposal_Signaling) Reset()
func (*Proposal_Signaling) String ¶
func (x *Proposal_Signaling) String() string
type Proposal_UpgradePlan ¶
type Proposal_UpgradePlan struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
An upgrade plan describes a candidate upgrade to be executed at a certain height. If passed, the chain will halt at the specified height.
func (*Proposal_UpgradePlan) Descriptor
deprecated
func (*Proposal_UpgradePlan) Descriptor() ([]byte, []int)
Deprecated: Use Proposal_UpgradePlan.ProtoReflect.Descriptor instead.
func (*Proposal_UpgradePlan) GetHeight ¶
func (x *Proposal_UpgradePlan) GetHeight() uint64
func (*Proposal_UpgradePlan) ProtoMessage ¶
func (*Proposal_UpgradePlan) ProtoMessage()
func (*Proposal_UpgradePlan) ProtoReflect ¶
func (x *Proposal_UpgradePlan) ProtoReflect() protoreflect.Message
func (*Proposal_UpgradePlan) Reset ¶
func (x *Proposal_UpgradePlan) Reset()
func (*Proposal_UpgradePlan) String ¶
func (x *Proposal_UpgradePlan) String() string
type Tally ¶
type Tally struct { // The number of votes in favor of the proposal. Yes uint64 `protobuf:"varint,1,opt,name=yes,proto3" json:"yes,omitempty"` // The number of votes against the proposal. No uint64 `protobuf:"varint,2,opt,name=no,proto3" json:"no,omitempty"` // The number of abstentions. Abstain uint64 `protobuf:"varint,3,opt,name=abstain,proto3" json:"abstain,omitempty"` // contains filtered or unexported fields }
A tally of votes on a proposal.
func (*Tally) Descriptor
deprecated
func (*Tally) GetAbstain ¶
func (*Tally) ProtoMessage ¶
func (*Tally) ProtoMessage()
func (*Tally) ProtoReflect ¶
func (x *Tally) ProtoReflect() protoreflect.Message
type ValidatorVote ¶
type ValidatorVote struct { // The effecting data for the vote. Body *ValidatorVoteBody `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // The vote authorization signature is authorizing data. AuthSig *v1alpha11.SpendAuthSignature `protobuf:"bytes,2,opt,name=auth_sig,json=authSig,proto3" json:"auth_sig,omitempty"` // contains filtered or unexported fields }
func (*ValidatorVote) Descriptor
deprecated
func (*ValidatorVote) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorVote.ProtoReflect.Descriptor instead.
func (*ValidatorVote) GetAuthSig ¶
func (x *ValidatorVote) GetAuthSig() *v1alpha11.SpendAuthSignature
func (*ValidatorVote) GetBody ¶
func (x *ValidatorVote) GetBody() *ValidatorVoteBody
func (*ValidatorVote) ProtoMessage ¶
func (*ValidatorVote) ProtoMessage()
func (*ValidatorVote) ProtoReflect ¶
func (x *ValidatorVote) ProtoReflect() protoreflect.Message
func (*ValidatorVote) Reset ¶
func (x *ValidatorVote) Reset()
func (*ValidatorVote) String ¶
func (x *ValidatorVote) String() string
type ValidatorVoteBody ¶
type ValidatorVoteBody struct { // The proposal being voted on. Proposal uint64 `protobuf:"varint,1,opt,name=proposal,proto3" json:"proposal,omitempty"` // The vote. Vote *Vote `protobuf:"bytes,2,opt,name=vote,proto3" json:"vote,omitempty"` // The validator identity. IdentityKey *v1alpha12.IdentityKey `protobuf:"bytes,3,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"` // The validator governance key. GovernanceKey *v1alpha12.GovernanceKey `protobuf:"bytes,4,opt,name=governance_key,json=governanceKey,proto3" json:"governance_key,omitempty"` // A justification of the vote. Reason *ValidatorVoteReason `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*ValidatorVoteBody) Descriptor
deprecated
func (*ValidatorVoteBody) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorVoteBody.ProtoReflect.Descriptor instead.
func (*ValidatorVoteBody) GetGovernanceKey ¶
func (x *ValidatorVoteBody) GetGovernanceKey() *v1alpha12.GovernanceKey
func (*ValidatorVoteBody) GetIdentityKey ¶
func (x *ValidatorVoteBody) GetIdentityKey() *v1alpha12.IdentityKey
func (*ValidatorVoteBody) GetProposal ¶
func (x *ValidatorVoteBody) GetProposal() uint64
func (*ValidatorVoteBody) GetReason ¶ added in v0.62.0
func (x *ValidatorVoteBody) GetReason() *ValidatorVoteReason
func (*ValidatorVoteBody) GetVote ¶
func (x *ValidatorVoteBody) GetVote() *Vote
func (*ValidatorVoteBody) ProtoMessage ¶
func (*ValidatorVoteBody) ProtoMessage()
func (*ValidatorVoteBody) ProtoReflect ¶
func (x *ValidatorVoteBody) ProtoReflect() protoreflect.Message
func (*ValidatorVoteBody) Reset ¶
func (x *ValidatorVoteBody) Reset()
func (*ValidatorVoteBody) String ¶
func (x *ValidatorVoteBody) String() string
type ValidatorVoteReason ¶ added in v0.62.0
type ValidatorVoteReason struct { Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*ValidatorVoteReason) Descriptor
deprecated
added in
v0.62.0
func (*ValidatorVoteReason) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorVoteReason.ProtoReflect.Descriptor instead.
func (*ValidatorVoteReason) GetReason ¶ added in v0.62.0
func (x *ValidatorVoteReason) GetReason() string
func (*ValidatorVoteReason) ProtoMessage ¶ added in v0.62.0
func (*ValidatorVoteReason) ProtoMessage()
func (*ValidatorVoteReason) ProtoReflect ¶ added in v0.62.0
func (x *ValidatorVoteReason) ProtoReflect() protoreflect.Message
func (*ValidatorVoteReason) Reset ¶ added in v0.62.0
func (x *ValidatorVoteReason) Reset()
func (*ValidatorVoteReason) String ¶ added in v0.62.0
func (x *ValidatorVoteReason) String() string
type ValidatorVotesRequest ¶ added in v0.64.0
type ValidatorVotesRequest 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"` // The proposal id to request information on. ProposalId uint64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` // contains filtered or unexported fields }
Requests the list of all validator votes for a given proposal.
func (*ValidatorVotesRequest) Descriptor
deprecated
added in
v0.64.0
func (*ValidatorVotesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorVotesRequest.ProtoReflect.Descriptor instead.
func (*ValidatorVotesRequest) GetChainId ¶ added in v0.64.0
func (x *ValidatorVotesRequest) GetChainId() string
func (*ValidatorVotesRequest) GetProposalId ¶ added in v0.64.0
func (x *ValidatorVotesRequest) GetProposalId() uint64
func (*ValidatorVotesRequest) ProtoMessage ¶ added in v0.64.0
func (*ValidatorVotesRequest) ProtoMessage()
func (*ValidatorVotesRequest) ProtoReflect ¶ added in v0.64.0
func (x *ValidatorVotesRequest) ProtoReflect() protoreflect.Message
func (*ValidatorVotesRequest) Reset ¶ added in v0.64.0
func (x *ValidatorVotesRequest) Reset()
func (*ValidatorVotesRequest) String ¶ added in v0.64.0
func (x *ValidatorVotesRequest) String() string
type ValidatorVotesResponse ¶ added in v0.64.0
type ValidatorVotesResponse struct { // The vote. Vote *Vote `protobuf:"bytes,1,opt,name=vote,proto3" json:"vote,omitempty"` // The validator identity. IdentityKey *v1alpha12.IdentityKey `protobuf:"bytes,2,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"` // contains filtered or unexported fields }
The data for a single validator vote.
func (*ValidatorVotesResponse) Descriptor
deprecated
added in
v0.64.0
func (*ValidatorVotesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorVotesResponse.ProtoReflect.Descriptor instead.
func (*ValidatorVotesResponse) GetIdentityKey ¶ added in v0.64.0
func (x *ValidatorVotesResponse) GetIdentityKey() *v1alpha12.IdentityKey
func (*ValidatorVotesResponse) GetVote ¶ added in v0.64.0
func (x *ValidatorVotesResponse) GetVote() *Vote
func (*ValidatorVotesResponse) ProtoMessage ¶ added in v0.64.0
func (*ValidatorVotesResponse) ProtoMessage()
func (*ValidatorVotesResponse) ProtoReflect ¶ added in v0.64.0
func (x *ValidatorVotesResponse) ProtoReflect() protoreflect.Message
func (*ValidatorVotesResponse) Reset ¶ added in v0.64.0
func (x *ValidatorVotesResponse) Reset()
func (*ValidatorVotesResponse) String ¶ added in v0.64.0
func (x *ValidatorVotesResponse) String() string
type Vote ¶
type Vote struct { // The vote. Vote Vote_Vote `protobuf:"varint,1,opt,name=vote,proto3,enum=penumbra.core.component.governance.v1alpha1.Vote_Vote" json:"vote,omitempty"` // contains filtered or unexported fields }
A vote on a proposal.
func (*Vote) Descriptor
deprecated
func (*Vote) ProtoMessage ¶
func (*Vote) ProtoMessage()
func (*Vote) ProtoReflect ¶
func (x *Vote) ProtoReflect() protoreflect.Message
type Vote_Vote ¶
type Vote_Vote int32
A vote.
func (Vote_Vote) Descriptor ¶
func (Vote_Vote) Descriptor() protoreflect.EnumDescriptor
func (Vote_Vote) EnumDescriptor
deprecated
func (Vote_Vote) Number ¶
func (x Vote_Vote) Number() protoreflect.EnumNumber
func (Vote_Vote) Type ¶
func (Vote_Vote) Type() protoreflect.EnumType
type VotingPowerAtProposalStartRequest ¶ added in v0.64.0
type VotingPowerAtProposalStartRequest 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"` // The proposal id to request information on. ProposalId uint64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` // The validator identity key to request information on. IdentityKey *v1alpha12.IdentityKey `protobuf:"bytes,3,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"` // contains filtered or unexported fields }
func (*VotingPowerAtProposalStartRequest) Descriptor
deprecated
added in
v0.64.0
func (*VotingPowerAtProposalStartRequest) Descriptor() ([]byte, []int)
Deprecated: Use VotingPowerAtProposalStartRequest.ProtoReflect.Descriptor instead.
func (*VotingPowerAtProposalStartRequest) GetChainId ¶ added in v0.64.0
func (x *VotingPowerAtProposalStartRequest) GetChainId() string
func (*VotingPowerAtProposalStartRequest) GetIdentityKey ¶ added in v0.64.0
func (x *VotingPowerAtProposalStartRequest) GetIdentityKey() *v1alpha12.IdentityKey
func (*VotingPowerAtProposalStartRequest) GetProposalId ¶ added in v0.64.0
func (x *VotingPowerAtProposalStartRequest) GetProposalId() uint64
func (*VotingPowerAtProposalStartRequest) ProtoMessage ¶ added in v0.64.0
func (*VotingPowerAtProposalStartRequest) ProtoMessage()
func (*VotingPowerAtProposalStartRequest) ProtoReflect ¶ added in v0.64.0
func (x *VotingPowerAtProposalStartRequest) ProtoReflect() protoreflect.Message
func (*VotingPowerAtProposalStartRequest) Reset ¶ added in v0.64.0
func (x *VotingPowerAtProposalStartRequest) Reset()
func (*VotingPowerAtProposalStartRequest) String ¶ added in v0.64.0
func (x *VotingPowerAtProposalStartRequest) String() string
type VotingPowerAtProposalStartResponse ¶ added in v0.64.0
type VotingPowerAtProposalStartResponse struct { // The voting power for the given identity key at the start of the proposal. // TODO: since we don't support optional fields in our protos any more, // this will be set to 0 if the validator was not active at the start of the proposal. // Is this potentially an issue? VotingPower uint64 `protobuf:"varint,1,opt,name=voting_power,json=votingPower,proto3" json:"voting_power,omitempty"` // contains filtered or unexported fields }
func (*VotingPowerAtProposalStartResponse) Descriptor
deprecated
added in
v0.64.0
func (*VotingPowerAtProposalStartResponse) Descriptor() ([]byte, []int)
Deprecated: Use VotingPowerAtProposalStartResponse.ProtoReflect.Descriptor instead.
func (*VotingPowerAtProposalStartResponse) GetVotingPower ¶ added in v0.64.0
func (x *VotingPowerAtProposalStartResponse) GetVotingPower() uint64
func (*VotingPowerAtProposalStartResponse) ProtoMessage ¶ added in v0.64.0
func (*VotingPowerAtProposalStartResponse) ProtoMessage()
func (*VotingPowerAtProposalStartResponse) ProtoReflect ¶ added in v0.64.0
func (x *VotingPowerAtProposalStartResponse) ProtoReflect() protoreflect.Message
func (*VotingPowerAtProposalStartResponse) Reset ¶ added in v0.64.0
func (x *VotingPowerAtProposalStartResponse) Reset()
func (*VotingPowerAtProposalStartResponse) String ¶ added in v0.64.0
func (x *VotingPowerAtProposalStartResponse) String() string
type ZKDelegatorVoteProof ¶
type ZKDelegatorVoteProof struct { Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` // contains filtered or unexported fields }
A Penumbra ZK delegator vote proof.
func (*ZKDelegatorVoteProof) Descriptor
deprecated
func (*ZKDelegatorVoteProof) Descriptor() ([]byte, []int)
Deprecated: Use ZKDelegatorVoteProof.ProtoReflect.Descriptor instead.
func (*ZKDelegatorVoteProof) GetInner ¶
func (x *ZKDelegatorVoteProof) GetInner() []byte
func (*ZKDelegatorVoteProof) ProtoMessage ¶
func (*ZKDelegatorVoteProof) ProtoMessage()
func (*ZKDelegatorVoteProof) ProtoReflect ¶
func (x *ZKDelegatorVoteProof) ProtoReflect() protoreflect.Message
func (*ZKDelegatorVoteProof) Reset ¶
func (x *ZKDelegatorVoteProof) Reset()
func (*ZKDelegatorVoteProof) String ¶
func (x *ZKDelegatorVoteProof) String() string