governancev1alpha1

package
v8.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthGovernance        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGovernance          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGovernance = fmt.Errorf("proto: unexpected end of group")
)
View Source
var Vote_Vote_name = map[int32]string{
	0: "VOTE_UNSPECIFIED",
	1: "VOTE_ABSTAIN",
	2: "VOTE_YES",
	3: "VOTE_NO",
}
View Source
var Vote_Vote_value = map[string]int32{
	"VOTE_UNSPECIFIED": 0,
	"VOTE_ABSTAIN":     1,
	"VOTE_YES":         2,
	"VOTE_NO":          3,
}

Functions

This section is empty.

Types

type DaoDeposit

type DaoDeposit struct {
	// The value to deposit into the DAO.
	Value *v1alpha1.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}

func (*DaoDeposit) Descriptor

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

func (*DaoDeposit) GetValue

func (m *DaoDeposit) GetValue() *v1alpha1.Value

func (*DaoDeposit) Marshal

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

func (*DaoDeposit) MarshalTo

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

func (*DaoDeposit) MarshalToSizedBuffer

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

func (*DaoDeposit) ProtoMessage

func (*DaoDeposit) ProtoMessage()

func (*DaoDeposit) Reset

func (m *DaoDeposit) Reset()

func (*DaoDeposit) Size

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

func (*DaoDeposit) String

func (m *DaoDeposit) String() string

func (*DaoDeposit) Unmarshal

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

func (*DaoDeposit) XXX_DiscardUnknown

func (m *DaoDeposit) XXX_DiscardUnknown()

func (*DaoDeposit) XXX_Marshal

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

func (*DaoDeposit) XXX_Merge

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

func (*DaoDeposit) XXX_Size

func (m *DaoDeposit) XXX_Size() int

func (*DaoDeposit) XXX_Unmarshal

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

type DaoOutput

type DaoOutput struct {
	// The value to output from the DAO.
	Value *v1alpha1.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// The address to send the output to.
	Address *v1alpha1.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

func (*DaoOutput) Descriptor

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

func (*DaoOutput) GetAddress

func (m *DaoOutput) GetAddress() *v1alpha1.Address

func (*DaoOutput) GetValue

func (m *DaoOutput) GetValue() *v1alpha1.Value

func (*DaoOutput) Marshal

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

func (*DaoOutput) MarshalTo

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

func (*DaoOutput) MarshalToSizedBuffer

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

func (*DaoOutput) ProtoMessage

func (*DaoOutput) ProtoMessage()

func (*DaoOutput) Reset

func (m *DaoOutput) Reset()

func (*DaoOutput) Size

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

func (*DaoOutput) String

func (m *DaoOutput) String() string

func (*DaoOutput) Unmarshal

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

func (*DaoOutput) XXX_DiscardUnknown

func (m *DaoOutput) XXX_DiscardUnknown()

func (*DaoOutput) XXX_Marshal

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

func (*DaoOutput) XXX_Merge

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

func (*DaoOutput) XXX_Size

func (m *DaoOutput) XXX_Size() int

func (*DaoOutput) XXX_Unmarshal

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

type DaoSpend

type DaoSpend struct {
	// The value to spend from the DAO.
	Value *v1alpha1.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}

func (*DaoSpend) Descriptor

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

func (*DaoSpend) GetValue

func (m *DaoSpend) GetValue() *v1alpha1.Value

func (*DaoSpend) Marshal

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

func (*DaoSpend) MarshalTo

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

func (*DaoSpend) MarshalToSizedBuffer

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

func (*DaoSpend) ProtoMessage

func (*DaoSpend) ProtoMessage()

func (*DaoSpend) Reset

func (m *DaoSpend) Reset()

func (*DaoSpend) Size

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

func (*DaoSpend) String

func (m *DaoSpend) String() string

func (*DaoSpend) Unmarshal

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

func (*DaoSpend) XXX_DiscardUnknown

func (m *DaoSpend) XXX_DiscardUnknown()

func (*DaoSpend) XXX_Marshal

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

func (*DaoSpend) XXX_Merge

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

func (*DaoSpend) XXX_Size

func (m *DaoSpend) XXX_Size() int

func (*DaoSpend) XXX_Unmarshal

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

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 *v1alpha1.SpendAuthSignature `protobuf:"bytes,2,opt,name=auth_sig,json=authSig,proto3" json:"auth_sig,omitempty"`
	// The vote proof is authorizing data.
	Proof *v1alpha1.ZKDelegatorVoteProof `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"`
}

func (*DelegatorVote) Descriptor

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

func (*DelegatorVote) GetAuthSig

func (m *DelegatorVote) GetAuthSig() *v1alpha1.SpendAuthSignature

func (*DelegatorVote) GetBody

func (m *DelegatorVote) GetBody() *DelegatorVoteBody

func (*DelegatorVote) GetProof

func (*DelegatorVote) Marshal

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

func (*DelegatorVote) MarshalTo

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

func (*DelegatorVote) MarshalToSizedBuffer

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

func (*DelegatorVote) ProtoMessage

func (*DelegatorVote) ProtoMessage()

func (*DelegatorVote) Reset

func (m *DelegatorVote) Reset()

func (*DelegatorVote) Size

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

func (*DelegatorVote) String

func (m *DelegatorVote) String() string

func (*DelegatorVote) Unmarshal

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

func (*DelegatorVote) XXX_DiscardUnknown

func (m *DelegatorVote) XXX_DiscardUnknown()

func (*DelegatorVote) XXX_Marshal

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

func (*DelegatorVote) XXX_Merge

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

func (*DelegatorVote) XXX_Size

func (m *DelegatorVote) XXX_Size() int

func (*DelegatorVote) XXX_Unmarshal

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

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 *v1alpha1.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"`
}

func (*DelegatorVoteBody) Descriptor

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

func (*DelegatorVoteBody) GetNullifier

func (m *DelegatorVoteBody) GetNullifier() []byte

func (*DelegatorVoteBody) GetProposal

func (m *DelegatorVoteBody) GetProposal() uint64

func (*DelegatorVoteBody) GetRk

func (m *DelegatorVoteBody) GetRk() []byte

func (*DelegatorVoteBody) GetStartPosition

func (m *DelegatorVoteBody) GetStartPosition() uint64

func (*DelegatorVoteBody) GetUnbondedAmount

func (m *DelegatorVoteBody) GetUnbondedAmount() *v1alpha1.Amount

func (*DelegatorVoteBody) GetValue

func (m *DelegatorVoteBody) GetValue() *v1alpha1.Value

func (*DelegatorVoteBody) GetVote

func (m *DelegatorVoteBody) GetVote() *Vote

func (*DelegatorVoteBody) Marshal

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

func (*DelegatorVoteBody) MarshalTo

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

func (*DelegatorVoteBody) MarshalToSizedBuffer

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

func (*DelegatorVoteBody) ProtoMessage

func (*DelegatorVoteBody) ProtoMessage()

func (*DelegatorVoteBody) Reset

func (m *DelegatorVoteBody) Reset()

func (*DelegatorVoteBody) Size

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

func (*DelegatorVoteBody) String

func (m *DelegatorVoteBody) String() string

func (*DelegatorVoteBody) Unmarshal

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

func (*DelegatorVoteBody) XXX_DiscardUnknown

func (m *DelegatorVoteBody) XXX_DiscardUnknown()

func (*DelegatorVoteBody) XXX_Marshal

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

func (*DelegatorVoteBody) XXX_Merge

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

func (*DelegatorVoteBody) XXX_Size

func (m *DelegatorVoteBody) XXX_Size() int

func (*DelegatorVoteBody) XXX_Unmarshal

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

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 *v1alpha1.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"`
}

func (*DelegatorVotePlan) Descriptor

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

func (*DelegatorVotePlan) GetProofBlindingR

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

func (*DelegatorVotePlan) GetProofBlindingS

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

func (*DelegatorVotePlan) GetProposal

func (m *DelegatorVotePlan) GetProposal() uint64

func (*DelegatorVotePlan) GetRandomizer

func (m *DelegatorVotePlan) GetRandomizer() []byte

func (*DelegatorVotePlan) GetStakedNote

func (m *DelegatorVotePlan) GetStakedNote() *v1alpha1.Note

func (*DelegatorVotePlan) GetStakedNotePosition

func (m *DelegatorVotePlan) GetStakedNotePosition() uint64

func (*DelegatorVotePlan) GetStartPosition

func (m *DelegatorVotePlan) GetStartPosition() uint64

func (*DelegatorVotePlan) GetUnbondedAmount

func (m *DelegatorVotePlan) GetUnbondedAmount() *v1alpha1.Amount

func (*DelegatorVotePlan) GetVote

func (m *DelegatorVotePlan) GetVote() *Vote

func (*DelegatorVotePlan) Marshal

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

func (*DelegatorVotePlan) MarshalTo

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

func (*DelegatorVotePlan) MarshalToSizedBuffer

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

func (*DelegatorVotePlan) ProtoMessage

func (*DelegatorVotePlan) ProtoMessage()

func (*DelegatorVotePlan) Reset

func (m *DelegatorVotePlan) Reset()

func (*DelegatorVotePlan) Size

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

func (*DelegatorVotePlan) String

func (m *DelegatorVotePlan) String() string

func (*DelegatorVotePlan) Unmarshal

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

func (*DelegatorVotePlan) XXX_DiscardUnknown

func (m *DelegatorVotePlan) XXX_DiscardUnknown()

func (*DelegatorVotePlan) XXX_Marshal

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

func (*DelegatorVotePlan) XXX_Merge

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

func (*DelegatorVotePlan) XXX_Size

func (m *DelegatorVotePlan) XXX_Size() int

func (*DelegatorVotePlan) XXX_Unmarshal

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

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"`
}

A proposal to be voted upon.

func (*Proposal) Descriptor

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

func (*Proposal) GetDaoSpend

func (m *Proposal) GetDaoSpend() *Proposal_DaoSpend

func (*Proposal) GetDescription

func (m *Proposal) GetDescription() string

func (*Proposal) GetEmergency

func (m *Proposal) GetEmergency() *Proposal_Emergency

func (*Proposal) GetId

func (m *Proposal) GetId() uint64

func (*Proposal) GetParameterChange

func (m *Proposal) GetParameterChange() *Proposal_ParameterChange

func (*Proposal) GetSignaling

func (m *Proposal) GetSignaling() *Proposal_Signaling

func (*Proposal) GetTitle

func (m *Proposal) GetTitle() string

func (*Proposal) GetUpgradePlan

func (m *Proposal) GetUpgradePlan() *Proposal_UpgradePlan

func (*Proposal) Marshal

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

func (*Proposal) MarshalTo

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

func (*Proposal) MarshalToSizedBuffer

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

func (*Proposal) ProtoMessage

func (*Proposal) ProtoMessage()

func (*Proposal) Reset

func (m *Proposal) Reset()

func (*Proposal) Size

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

func (*Proposal) String

func (m *Proposal) String() string

func (*Proposal) Unmarshal

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

func (*Proposal) XXX_DiscardUnknown

func (m *Proposal) XXX_DiscardUnknown()

func (*Proposal) XXX_Marshal

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

func (*Proposal) XXX_Merge

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

func (*Proposal) XXX_Size

func (m *Proposal) XXX_Size() int

func (*Proposal) XXX_Unmarshal

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

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"`
}

func (*ProposalDepositClaim) Descriptor

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

func (*ProposalDepositClaim) GetDepositAmount

func (m *ProposalDepositClaim) GetDepositAmount() *v1alpha1.Amount

func (*ProposalDepositClaim) GetOutcome

func (m *ProposalDepositClaim) GetOutcome() *ProposalOutcome

func (*ProposalDepositClaim) GetProposal

func (m *ProposalDepositClaim) GetProposal() uint64

func (*ProposalDepositClaim) Marshal

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

func (*ProposalDepositClaim) MarshalTo

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

func (*ProposalDepositClaim) MarshalToSizedBuffer

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

func (*ProposalDepositClaim) ProtoMessage

func (*ProposalDepositClaim) ProtoMessage()

func (*ProposalDepositClaim) Reset

func (m *ProposalDepositClaim) Reset()

func (*ProposalDepositClaim) Size

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

func (*ProposalDepositClaim) String

func (m *ProposalDepositClaim) String() string

func (*ProposalDepositClaim) Unmarshal

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

func (*ProposalDepositClaim) XXX_DiscardUnknown

func (m *ProposalDepositClaim) XXX_DiscardUnknown()

func (*ProposalDepositClaim) XXX_Marshal

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

func (*ProposalDepositClaim) XXX_Merge

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

func (*ProposalDepositClaim) XXX_Size

func (m *ProposalDepositClaim) XXX_Size() int

func (*ProposalDepositClaim) XXX_Unmarshal

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

type ProposalOutcome

type ProposalOutcome struct {
	// Types that are valid to be assigned to Outcome:
	//
	//	*ProposalOutcome_Passed_
	//	*ProposalOutcome_Failed_
	//	*ProposalOutcome_Slashed_
	Outcome isProposalOutcome_Outcome `protobuf_oneof:"outcome"`
}

The outcome of a concluded proposal.

func (*ProposalOutcome) Descriptor

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

func (*ProposalOutcome) GetFailed

func (m *ProposalOutcome) GetFailed() *ProposalOutcome_Failed

func (*ProposalOutcome) GetOutcome

func (m *ProposalOutcome) GetOutcome() isProposalOutcome_Outcome

func (*ProposalOutcome) GetPassed

func (m *ProposalOutcome) GetPassed() *ProposalOutcome_Passed

func (*ProposalOutcome) GetSlashed

func (m *ProposalOutcome) GetSlashed() *ProposalOutcome_Slashed

func (*ProposalOutcome) Marshal

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

func (*ProposalOutcome) MarshalTo

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

func (*ProposalOutcome) MarshalToSizedBuffer

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

func (*ProposalOutcome) ProtoMessage

func (*ProposalOutcome) ProtoMessage()

func (*ProposalOutcome) Reset

func (m *ProposalOutcome) Reset()

func (*ProposalOutcome) Size

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

func (*ProposalOutcome) String

func (m *ProposalOutcome) String() string

func (*ProposalOutcome) Unmarshal

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

func (*ProposalOutcome) XXX_DiscardUnknown

func (m *ProposalOutcome) XXX_DiscardUnknown()

func (*ProposalOutcome) XXX_Marshal

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

func (*ProposalOutcome) XXX_Merge

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

func (*ProposalOutcome) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*ProposalOutcome) XXX_Size

func (m *ProposalOutcome) XXX_Size() int

func (*ProposalOutcome) XXX_Unmarshal

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

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"`
}

The proposal did not pass.

func (*ProposalOutcome_Failed) Descriptor

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

func (*ProposalOutcome_Failed) GetWithdrawn

func (*ProposalOutcome_Failed) Marshal

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

func (*ProposalOutcome_Failed) MarshalTo

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

func (*ProposalOutcome_Failed) MarshalToSizedBuffer

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

func (*ProposalOutcome_Failed) ProtoMessage

func (*ProposalOutcome_Failed) ProtoMessage()

func (*ProposalOutcome_Failed) Reset

func (m *ProposalOutcome_Failed) Reset()

func (*ProposalOutcome_Failed) Size

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

func (*ProposalOutcome_Failed) String

func (m *ProposalOutcome_Failed) String() string

func (*ProposalOutcome_Failed) Unmarshal

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

func (*ProposalOutcome_Failed) XXX_DiscardUnknown

func (m *ProposalOutcome_Failed) XXX_DiscardUnknown()

func (*ProposalOutcome_Failed) XXX_Marshal

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

func (*ProposalOutcome_Failed) XXX_Merge

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

func (*ProposalOutcome_Failed) XXX_Size

func (m *ProposalOutcome_Failed) XXX_Size() int

func (*ProposalOutcome_Failed) XXX_Unmarshal

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

type ProposalOutcome_Failed_

type ProposalOutcome_Failed_ struct {
	Failed *ProposalOutcome_Failed `protobuf:"bytes,2,opt,name=failed,proto3,oneof" json:"failed,omitempty"`
}

func (*ProposalOutcome_Failed_) MarshalTo

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

func (*ProposalOutcome_Failed_) MarshalToSizedBuffer

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

func (*ProposalOutcome_Failed_) Size

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

type ProposalOutcome_Passed

type ProposalOutcome_Passed struct {
}

The proposal was passed.

func (*ProposalOutcome_Passed) Descriptor

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

func (*ProposalOutcome_Passed) Marshal

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

func (*ProposalOutcome_Passed) MarshalTo

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

func (*ProposalOutcome_Passed) MarshalToSizedBuffer

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

func (*ProposalOutcome_Passed) ProtoMessage

func (*ProposalOutcome_Passed) ProtoMessage()

func (*ProposalOutcome_Passed) Reset

func (m *ProposalOutcome_Passed) Reset()

func (*ProposalOutcome_Passed) Size

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

func (*ProposalOutcome_Passed) String

func (m *ProposalOutcome_Passed) String() string

func (*ProposalOutcome_Passed) Unmarshal

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

func (*ProposalOutcome_Passed) XXX_DiscardUnknown

func (m *ProposalOutcome_Passed) XXX_DiscardUnknown()

func (*ProposalOutcome_Passed) XXX_Marshal

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

func (*ProposalOutcome_Passed) XXX_Merge

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

func (*ProposalOutcome_Passed) XXX_Size

func (m *ProposalOutcome_Passed) XXX_Size() int

func (*ProposalOutcome_Passed) XXX_Unmarshal

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

type ProposalOutcome_Passed_

type ProposalOutcome_Passed_ struct {
	Passed *ProposalOutcome_Passed `protobuf:"bytes,1,opt,name=passed,proto3,oneof" json:"passed,omitempty"`
}

func (*ProposalOutcome_Passed_) MarshalTo

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

func (*ProposalOutcome_Passed_) MarshalToSizedBuffer

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

func (*ProposalOutcome_Passed_) Size

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

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"`
}

The proposal did not pass, and was slashed.

func (*ProposalOutcome_Slashed) Descriptor

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

func (*ProposalOutcome_Slashed) GetWithdrawn

func (*ProposalOutcome_Slashed) Marshal

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

func (*ProposalOutcome_Slashed) MarshalTo

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

func (*ProposalOutcome_Slashed) MarshalToSizedBuffer

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

func (*ProposalOutcome_Slashed) ProtoMessage

func (*ProposalOutcome_Slashed) ProtoMessage()

func (*ProposalOutcome_Slashed) Reset

func (m *ProposalOutcome_Slashed) Reset()

func (*ProposalOutcome_Slashed) Size

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

func (*ProposalOutcome_Slashed) String

func (m *ProposalOutcome_Slashed) String() string

func (*ProposalOutcome_Slashed) Unmarshal

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

func (*ProposalOutcome_Slashed) XXX_DiscardUnknown

func (m *ProposalOutcome_Slashed) XXX_DiscardUnknown()

func (*ProposalOutcome_Slashed) XXX_Marshal

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

func (*ProposalOutcome_Slashed) XXX_Merge

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

func (*ProposalOutcome_Slashed) XXX_Size

func (m *ProposalOutcome_Slashed) XXX_Size() int

func (*ProposalOutcome_Slashed) XXX_Unmarshal

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

type ProposalOutcome_Slashed_

type ProposalOutcome_Slashed_ struct {
	Slashed *ProposalOutcome_Slashed `protobuf:"bytes,3,opt,name=slashed,proto3,oneof" json:"slashed,omitempty"`
}

func (*ProposalOutcome_Slashed_) MarshalTo

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

func (*ProposalOutcome_Slashed_) MarshalToSizedBuffer

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

func (*ProposalOutcome_Slashed_) Size

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

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"`
}

Whether or not the proposal was withdrawn.

func (*ProposalOutcome_Withdrawn) Descriptor

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

func (*ProposalOutcome_Withdrawn) GetReason

func (m *ProposalOutcome_Withdrawn) GetReason() string

func (*ProposalOutcome_Withdrawn) Marshal

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

func (*ProposalOutcome_Withdrawn) MarshalTo

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

func (*ProposalOutcome_Withdrawn) MarshalToSizedBuffer

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

func (*ProposalOutcome_Withdrawn) ProtoMessage

func (*ProposalOutcome_Withdrawn) ProtoMessage()

func (*ProposalOutcome_Withdrawn) Reset

func (m *ProposalOutcome_Withdrawn) Reset()

func (*ProposalOutcome_Withdrawn) Size

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

func (*ProposalOutcome_Withdrawn) String

func (m *ProposalOutcome_Withdrawn) String() string

func (*ProposalOutcome_Withdrawn) Unmarshal

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

func (*ProposalOutcome_Withdrawn) XXX_DiscardUnknown

func (m *ProposalOutcome_Withdrawn) XXX_DiscardUnknown()

func (*ProposalOutcome_Withdrawn) XXX_Marshal

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

func (*ProposalOutcome_Withdrawn) XXX_Merge

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

func (*ProposalOutcome_Withdrawn) XXX_Size

func (m *ProposalOutcome_Withdrawn) XXX_Size() int

func (*ProposalOutcome_Withdrawn) XXX_Unmarshal

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

type ProposalState

type ProposalState struct {
	// The state of the proposal.
	//
	// Types that are valid to be assigned to State:
	//	*ProposalState_Voting_
	//	*ProposalState_Withdrawn_
	//	*ProposalState_Finished_
	//	*ProposalState_Claimed_
	State isProposalState_State `protobuf_oneof:"state"`
}

The current state of a proposal.

func (*ProposalState) Descriptor

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

func (*ProposalState) GetClaimed

func (m *ProposalState) GetClaimed() *ProposalState_Claimed

func (*ProposalState) GetFinished

func (m *ProposalState) GetFinished() *ProposalState_Finished

func (*ProposalState) GetState

func (m *ProposalState) GetState() isProposalState_State

func (*ProposalState) GetVoting

func (m *ProposalState) GetVoting() *ProposalState_Voting

func (*ProposalState) GetWithdrawn

func (m *ProposalState) GetWithdrawn() *ProposalState_Withdrawn

func (*ProposalState) Marshal

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

func (*ProposalState) MarshalTo

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

func (*ProposalState) MarshalToSizedBuffer

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

func (*ProposalState) ProtoMessage

func (*ProposalState) ProtoMessage()

func (*ProposalState) Reset

func (m *ProposalState) Reset()

func (*ProposalState) Size

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

func (*ProposalState) String

func (m *ProposalState) String() string

func (*ProposalState) Unmarshal

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

func (*ProposalState) XXX_DiscardUnknown

func (m *ProposalState) XXX_DiscardUnknown()

func (*ProposalState) XXX_Marshal

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

func (*ProposalState) XXX_Merge

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

func (*ProposalState) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*ProposalState) XXX_Size

func (m *ProposalState) XXX_Size() int

func (*ProposalState) XXX_Unmarshal

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

type ProposalState_Claimed

type ProposalState_Claimed struct {
	Outcome *ProposalOutcome `protobuf:"bytes,1,opt,name=outcome,proto3" json:"outcome,omitempty"`
}

The voting period has ended, and the original proposer has claimed their deposit.

func (*ProposalState_Claimed) Descriptor

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

func (*ProposalState_Claimed) GetOutcome

func (m *ProposalState_Claimed) GetOutcome() *ProposalOutcome

func (*ProposalState_Claimed) Marshal

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

func (*ProposalState_Claimed) MarshalTo

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

func (*ProposalState_Claimed) MarshalToSizedBuffer

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

func (*ProposalState_Claimed) ProtoMessage

func (*ProposalState_Claimed) ProtoMessage()

func (*ProposalState_Claimed) Reset

func (m *ProposalState_Claimed) Reset()

func (*ProposalState_Claimed) Size

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

func (*ProposalState_Claimed) String

func (m *ProposalState_Claimed) String() string

func (*ProposalState_Claimed) Unmarshal

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

func (*ProposalState_Claimed) XXX_DiscardUnknown

func (m *ProposalState_Claimed) XXX_DiscardUnknown()

func (*ProposalState_Claimed) XXX_Marshal

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

func (*ProposalState_Claimed) XXX_Merge

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

func (*ProposalState_Claimed) XXX_Size

func (m *ProposalState_Claimed) XXX_Size() int

func (*ProposalState_Claimed) XXX_Unmarshal

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

type ProposalState_Claimed_

type ProposalState_Claimed_ struct {
	Claimed *ProposalState_Claimed `protobuf:"bytes,5,opt,name=claimed,proto3,oneof" json:"claimed,omitempty"`
}

func (*ProposalState_Claimed_) MarshalTo

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

func (*ProposalState_Claimed_) MarshalToSizedBuffer

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

func (*ProposalState_Claimed_) Size

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

type ProposalState_Finished

type ProposalState_Finished struct {
	Outcome *ProposalOutcome `protobuf:"bytes,1,opt,name=outcome,proto3" json:"outcome,omitempty"`
}

The voting period has ended, and the proposal has been assigned an outcome.

func (*ProposalState_Finished) Descriptor

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

func (*ProposalState_Finished) GetOutcome

func (m *ProposalState_Finished) GetOutcome() *ProposalOutcome

func (*ProposalState_Finished) Marshal

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

func (*ProposalState_Finished) MarshalTo

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

func (*ProposalState_Finished) MarshalToSizedBuffer

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

func (*ProposalState_Finished) ProtoMessage

func (*ProposalState_Finished) ProtoMessage()

func (*ProposalState_Finished) Reset

func (m *ProposalState_Finished) Reset()

func (*ProposalState_Finished) Size

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

func (*ProposalState_Finished) String

func (m *ProposalState_Finished) String() string

func (*ProposalState_Finished) Unmarshal

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

func (*ProposalState_Finished) XXX_DiscardUnknown

func (m *ProposalState_Finished) XXX_DiscardUnknown()

func (*ProposalState_Finished) XXX_Marshal

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

func (*ProposalState_Finished) XXX_Merge

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

func (*ProposalState_Finished) XXX_Size

func (m *ProposalState_Finished) XXX_Size() int

func (*ProposalState_Finished) XXX_Unmarshal

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

type ProposalState_Finished_

type ProposalState_Finished_ struct {
	Finished *ProposalState_Finished `protobuf:"bytes,4,opt,name=finished,proto3,oneof" json:"finished,omitempty"`
}

func (*ProposalState_Finished_) MarshalTo

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

func (*ProposalState_Finished_) MarshalToSizedBuffer

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

func (*ProposalState_Finished_) Size

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

type ProposalState_Voting

type ProposalState_Voting struct {
}

Voting is in progress and the proposal has not yet concluded voting or been withdrawn.

func (*ProposalState_Voting) Descriptor

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

func (*ProposalState_Voting) Marshal

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

func (*ProposalState_Voting) MarshalTo

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

func (*ProposalState_Voting) MarshalToSizedBuffer

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

func (*ProposalState_Voting) ProtoMessage

func (*ProposalState_Voting) ProtoMessage()

func (*ProposalState_Voting) Reset

func (m *ProposalState_Voting) Reset()

func (*ProposalState_Voting) Size

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

func (*ProposalState_Voting) String

func (m *ProposalState_Voting) String() string

func (*ProposalState_Voting) Unmarshal

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

func (*ProposalState_Voting) XXX_DiscardUnknown

func (m *ProposalState_Voting) XXX_DiscardUnknown()

func (*ProposalState_Voting) XXX_Marshal

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

func (*ProposalState_Voting) XXX_Merge

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

func (*ProposalState_Voting) XXX_Size

func (m *ProposalState_Voting) XXX_Size() int

func (*ProposalState_Voting) XXX_Unmarshal

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

type ProposalState_Voting_

type ProposalState_Voting_ struct {
	Voting *ProposalState_Voting `protobuf:"bytes,2,opt,name=voting,proto3,oneof" json:"voting,omitempty"`
}

func (*ProposalState_Voting_) MarshalTo

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

func (*ProposalState_Voting_) MarshalToSizedBuffer

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

func (*ProposalState_Voting_) Size

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

type ProposalState_Withdrawn

type ProposalState_Withdrawn struct {
	// The reason for the withdrawal.
	Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
}

The proposal has been withdrawn but the voting period is not yet concluded.

func (*ProposalState_Withdrawn) Descriptor

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

func (*ProposalState_Withdrawn) GetReason

func (m *ProposalState_Withdrawn) GetReason() string

func (*ProposalState_Withdrawn) Marshal

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

func (*ProposalState_Withdrawn) MarshalTo

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

func (*ProposalState_Withdrawn) MarshalToSizedBuffer

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

func (*ProposalState_Withdrawn) ProtoMessage

func (*ProposalState_Withdrawn) ProtoMessage()

func (*ProposalState_Withdrawn) Reset

func (m *ProposalState_Withdrawn) Reset()

func (*ProposalState_Withdrawn) Size

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

func (*ProposalState_Withdrawn) String

func (m *ProposalState_Withdrawn) String() string

func (*ProposalState_Withdrawn) Unmarshal

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

func (*ProposalState_Withdrawn) XXX_DiscardUnknown

func (m *ProposalState_Withdrawn) XXX_DiscardUnknown()

func (*ProposalState_Withdrawn) XXX_Marshal

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

func (*ProposalState_Withdrawn) XXX_Merge

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

func (*ProposalState_Withdrawn) XXX_Size

func (m *ProposalState_Withdrawn) XXX_Size() int

func (*ProposalState_Withdrawn) XXX_Unmarshal

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

type ProposalState_Withdrawn_

type ProposalState_Withdrawn_ struct {
	Withdrawn *ProposalState_Withdrawn `protobuf:"bytes,3,opt,name=withdrawn,proto3,oneof" json:"withdrawn,omitempty"`
}

func (*ProposalState_Withdrawn_) MarshalTo

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

func (*ProposalState_Withdrawn_) MarshalToSizedBuffer

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

func (*ProposalState_Withdrawn_) Size

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

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"`
}

func (*ProposalSubmit) Descriptor

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

func (*ProposalSubmit) GetDepositAmount

func (m *ProposalSubmit) GetDepositAmount() *v1alpha1.Amount

func (*ProposalSubmit) GetProposal

func (m *ProposalSubmit) GetProposal() *Proposal

func (*ProposalSubmit) Marshal

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

func (*ProposalSubmit) MarshalTo

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

func (*ProposalSubmit) MarshalToSizedBuffer

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

func (*ProposalSubmit) ProtoMessage

func (*ProposalSubmit) ProtoMessage()

func (*ProposalSubmit) Reset

func (m *ProposalSubmit) Reset()

func (*ProposalSubmit) Size

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

func (*ProposalSubmit) String

func (m *ProposalSubmit) String() string

func (*ProposalSubmit) Unmarshal

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

func (*ProposalSubmit) XXX_DiscardUnknown

func (m *ProposalSubmit) XXX_DiscardUnknown()

func (*ProposalSubmit) XXX_Marshal

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

func (*ProposalSubmit) XXX_Merge

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

func (*ProposalSubmit) XXX_Size

func (m *ProposalSubmit) XXX_Size() int

func (*ProposalSubmit) XXX_Unmarshal

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

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"`
}

func (*ProposalWithdraw) Descriptor

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

func (*ProposalWithdraw) GetProposal

func (m *ProposalWithdraw) GetProposal() uint64

func (*ProposalWithdraw) GetReason

func (m *ProposalWithdraw) GetReason() string

func (*ProposalWithdraw) Marshal

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

func (*ProposalWithdraw) MarshalTo

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

func (*ProposalWithdraw) MarshalToSizedBuffer

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

func (*ProposalWithdraw) ProtoMessage

func (*ProposalWithdraw) ProtoMessage()

func (*ProposalWithdraw) Reset

func (m *ProposalWithdraw) Reset()

func (*ProposalWithdraw) Size

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

func (*ProposalWithdraw) String

func (m *ProposalWithdraw) String() string

func (*ProposalWithdraw) Unmarshal

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

func (*ProposalWithdraw) XXX_DiscardUnknown

func (m *ProposalWithdraw) XXX_DiscardUnknown()

func (*ProposalWithdraw) XXX_Marshal

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

func (*ProposalWithdraw) XXX_Merge

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

func (*ProposalWithdraw) XXX_Size

func (m *ProposalWithdraw) XXX_Size() int

func (*ProposalWithdraw) XXX_Unmarshal

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

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 *types.Any `protobuf:"bytes,2,opt,name=transaction_plan,json=transactionPlan,proto3" json:"transaction_plan,omitempty"`
}

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

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

func (*Proposal_DaoSpend) GetTransactionPlan

func (m *Proposal_DaoSpend) GetTransactionPlan() *types.Any

func (*Proposal_DaoSpend) Marshal

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

func (*Proposal_DaoSpend) MarshalTo

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

func (*Proposal_DaoSpend) MarshalToSizedBuffer

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

func (*Proposal_DaoSpend) ProtoMessage

func (*Proposal_DaoSpend) ProtoMessage()

func (*Proposal_DaoSpend) Reset

func (m *Proposal_DaoSpend) Reset()

func (*Proposal_DaoSpend) Size

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

func (*Proposal_DaoSpend) String

func (m *Proposal_DaoSpend) String() string

func (*Proposal_DaoSpend) Unmarshal

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

func (*Proposal_DaoSpend) XXX_DiscardUnknown

func (m *Proposal_DaoSpend) XXX_DiscardUnknown()

func (*Proposal_DaoSpend) XXX_Marshal

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

func (*Proposal_DaoSpend) XXX_Merge

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

func (*Proposal_DaoSpend) XXX_Size

func (m *Proposal_DaoSpend) XXX_Size() int

func (*Proposal_DaoSpend) XXX_Unmarshal

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

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"`
}

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

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

func (*Proposal_Emergency) GetHaltChain

func (m *Proposal_Emergency) GetHaltChain() bool

func (*Proposal_Emergency) Marshal

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

func (*Proposal_Emergency) MarshalTo

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

func (*Proposal_Emergency) MarshalToSizedBuffer

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

func (*Proposal_Emergency) ProtoMessage

func (*Proposal_Emergency) ProtoMessage()

func (*Proposal_Emergency) Reset

func (m *Proposal_Emergency) Reset()

func (*Proposal_Emergency) Size

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

func (*Proposal_Emergency) String

func (m *Proposal_Emergency) String() string

func (*Proposal_Emergency) Unmarshal

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

func (*Proposal_Emergency) XXX_DiscardUnknown

func (m *Proposal_Emergency) XXX_DiscardUnknown()

func (*Proposal_Emergency) XXX_Marshal

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

func (*Proposal_Emergency) XXX_Merge

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

func (*Proposal_Emergency) XXX_Size

func (m *Proposal_Emergency) XXX_Size() int

func (*Proposal_Emergency) XXX_Unmarshal

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

type Proposal_ParameterChange

type Proposal_ParameterChange struct {
	// The old chain parameters to be replaced: even if the proposal passes, the update will not be
	// applied if the chain parameters have changed *at all* from these chain parameters. Usually,
	// this should be set to the current chain parameters at time of proposal.
	OldParameters *v1alpha11.ChainParameters `protobuf:"bytes,1,opt,name=old_parameters,json=oldParameters,proto3" json:"old_parameters,omitempty"`
	// The new chain parameters to be set: the *entire* chain parameters will be replaced with these
	// at the time the proposal is passed.
	NewParameters *v1alpha11.ChainParameters `protobuf:"bytes,2,opt,name=new_parameters,json=newParameters,proto3" json:"new_parameters,omitempty"`
}

A parameter change proposal describes a replacement of the chain parameters, which should take effect when the proposal is passed.

func (*Proposal_ParameterChange) Descriptor

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

func (*Proposal_ParameterChange) GetNewParameters

func (m *Proposal_ParameterChange) GetNewParameters() *v1alpha11.ChainParameters

func (*Proposal_ParameterChange) GetOldParameters

func (m *Proposal_ParameterChange) GetOldParameters() *v1alpha11.ChainParameters

func (*Proposal_ParameterChange) Marshal

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

func (*Proposal_ParameterChange) MarshalTo

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

func (*Proposal_ParameterChange) MarshalToSizedBuffer

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

func (*Proposal_ParameterChange) ProtoMessage

func (*Proposal_ParameterChange) ProtoMessage()

func (*Proposal_ParameterChange) Reset

func (m *Proposal_ParameterChange) Reset()

func (*Proposal_ParameterChange) Size

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

func (*Proposal_ParameterChange) String

func (m *Proposal_ParameterChange) String() string

func (*Proposal_ParameterChange) Unmarshal

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

func (*Proposal_ParameterChange) XXX_DiscardUnknown

func (m *Proposal_ParameterChange) XXX_DiscardUnknown()

func (*Proposal_ParameterChange) XXX_Marshal

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

func (*Proposal_ParameterChange) XXX_Merge

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

func (*Proposal_ParameterChange) XXX_Size

func (m *Proposal_ParameterChange) XXX_Size() int

func (*Proposal_ParameterChange) XXX_Unmarshal

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

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"`
}

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

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

func (*Proposal_Signaling) GetCommit

func (m *Proposal_Signaling) GetCommit() string

func (*Proposal_Signaling) Marshal

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

func (*Proposal_Signaling) MarshalTo

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

func (*Proposal_Signaling) MarshalToSizedBuffer

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

func (*Proposal_Signaling) ProtoMessage

func (*Proposal_Signaling) ProtoMessage()

func (*Proposal_Signaling) Reset

func (m *Proposal_Signaling) Reset()

func (*Proposal_Signaling) Size

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

func (*Proposal_Signaling) String

func (m *Proposal_Signaling) String() string

func (*Proposal_Signaling) Unmarshal

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

func (*Proposal_Signaling) XXX_DiscardUnknown

func (m *Proposal_Signaling) XXX_DiscardUnknown()

func (*Proposal_Signaling) XXX_Marshal

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

func (*Proposal_Signaling) XXX_Merge

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

func (*Proposal_Signaling) XXX_Size

func (m *Proposal_Signaling) XXX_Size() int

func (*Proposal_Signaling) XXX_Unmarshal

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

type Proposal_UpgradePlan

type Proposal_UpgradePlan struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}

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

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

func (*Proposal_UpgradePlan) GetHeight

func (m *Proposal_UpgradePlan) GetHeight() uint64

func (*Proposal_UpgradePlan) Marshal

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

func (*Proposal_UpgradePlan) MarshalTo

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

func (*Proposal_UpgradePlan) MarshalToSizedBuffer

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

func (*Proposal_UpgradePlan) ProtoMessage

func (*Proposal_UpgradePlan) ProtoMessage()

func (*Proposal_UpgradePlan) Reset

func (m *Proposal_UpgradePlan) Reset()

func (*Proposal_UpgradePlan) Size

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

func (*Proposal_UpgradePlan) String

func (m *Proposal_UpgradePlan) String() string

func (*Proposal_UpgradePlan) Unmarshal

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

func (*Proposal_UpgradePlan) XXX_DiscardUnknown

func (m *Proposal_UpgradePlan) XXX_DiscardUnknown()

func (*Proposal_UpgradePlan) XXX_Marshal

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

func (*Proposal_UpgradePlan) XXX_Merge

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

func (*Proposal_UpgradePlan) XXX_Size

func (m *Proposal_UpgradePlan) XXX_Size() int

func (*Proposal_UpgradePlan) XXX_Unmarshal

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

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"`
}

A tally of votes on a proposal.

func (*Tally) Descriptor

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

func (*Tally) GetAbstain

func (m *Tally) GetAbstain() uint64

func (*Tally) GetNo

func (m *Tally) GetNo() uint64

func (*Tally) GetYes

func (m *Tally) GetYes() uint64

func (*Tally) Marshal

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

func (*Tally) MarshalTo

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

func (*Tally) MarshalToSizedBuffer

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

func (*Tally) ProtoMessage

func (*Tally) ProtoMessage()

func (*Tally) Reset

func (m *Tally) Reset()

func (*Tally) Size

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

func (*Tally) String

func (m *Tally) String() string

func (*Tally) Unmarshal

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

func (*Tally) XXX_DiscardUnknown

func (m *Tally) XXX_DiscardUnknown()

func (*Tally) XXX_Marshal

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

func (*Tally) XXX_Merge

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

func (*Tally) XXX_Size

func (m *Tally) XXX_Size() int

func (*Tally) XXX_Unmarshal

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

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 *v1alpha1.SpendAuthSignature `protobuf:"bytes,2,opt,name=auth_sig,json=authSig,proto3" json:"auth_sig,omitempty"`
}

func (*ValidatorVote) Descriptor

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

func (*ValidatorVote) GetAuthSig

func (m *ValidatorVote) GetAuthSig() *v1alpha1.SpendAuthSignature

func (*ValidatorVote) GetBody

func (m *ValidatorVote) GetBody() *ValidatorVoteBody

func (*ValidatorVote) Marshal

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

func (*ValidatorVote) MarshalTo

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

func (*ValidatorVote) MarshalToSizedBuffer

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

func (*ValidatorVote) ProtoMessage

func (*ValidatorVote) ProtoMessage()

func (*ValidatorVote) Reset

func (m *ValidatorVote) Reset()

func (*ValidatorVote) Size

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

func (*ValidatorVote) String

func (m *ValidatorVote) String() string

func (*ValidatorVote) Unmarshal

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

func (*ValidatorVote) XXX_DiscardUnknown

func (m *ValidatorVote) XXX_DiscardUnknown()

func (*ValidatorVote) XXX_Marshal

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

func (*ValidatorVote) XXX_Merge

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

func (*ValidatorVote) XXX_Size

func (m *ValidatorVote) XXX_Size() int

func (*ValidatorVote) XXX_Unmarshal

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

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 *v1alpha1.IdentityKey `protobuf:"bytes,3,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"`
	// The validator governance key.
	GovernanceKey *v1alpha1.GovernanceKey `protobuf:"bytes,4,opt,name=governance_key,json=governanceKey,proto3" json:"governance_key,omitempty"`
}

func (*ValidatorVoteBody) Descriptor

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

func (*ValidatorVoteBody) GetGovernanceKey

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

func (*ValidatorVoteBody) GetIdentityKey

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

func (*ValidatorVoteBody) GetProposal

func (m *ValidatorVoteBody) GetProposal() uint64

func (*ValidatorVoteBody) GetVote

func (m *ValidatorVoteBody) GetVote() *Vote

func (*ValidatorVoteBody) Marshal

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

func (*ValidatorVoteBody) MarshalTo

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

func (*ValidatorVoteBody) MarshalToSizedBuffer

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

func (*ValidatorVoteBody) ProtoMessage

func (*ValidatorVoteBody) ProtoMessage()

func (*ValidatorVoteBody) Reset

func (m *ValidatorVoteBody) Reset()

func (*ValidatorVoteBody) Size

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

func (*ValidatorVoteBody) String

func (m *ValidatorVoteBody) String() string

func (*ValidatorVoteBody) Unmarshal

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

func (*ValidatorVoteBody) XXX_DiscardUnknown

func (m *ValidatorVoteBody) XXX_DiscardUnknown()

func (*ValidatorVoteBody) XXX_Marshal

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

func (*ValidatorVoteBody) XXX_Merge

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

func (*ValidatorVoteBody) XXX_Size

func (m *ValidatorVoteBody) XXX_Size() int

func (*ValidatorVoteBody) XXX_Unmarshal

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

type Vote

type Vote struct {
	// The vote.
	Vote Vote_Vote `protobuf:"varint,1,opt,name=vote,proto3,enum=penumbra.core.governance.v1alpha1.Vote_Vote" json:"vote,omitempty"`
}

A vote on a proposal.

func (*Vote) Descriptor

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

func (*Vote) GetVote

func (m *Vote) GetVote() Vote_Vote

func (*Vote) Marshal

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

func (*Vote) MarshalTo

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

func (*Vote) MarshalToSizedBuffer

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

func (*Vote) ProtoMessage

func (*Vote) ProtoMessage()

func (*Vote) Reset

func (m *Vote) Reset()

func (*Vote) Size

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

func (*Vote) String

func (m *Vote) String() string

func (*Vote) Unmarshal

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

func (*Vote) XXX_DiscardUnknown

func (m *Vote) XXX_DiscardUnknown()

func (*Vote) XXX_Marshal

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

func (*Vote) XXX_Merge

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

func (*Vote) XXX_Size

func (m *Vote) XXX_Size() int

func (*Vote) XXX_Unmarshal

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

type Vote_Vote

type Vote_Vote int32

A vote.

const (
	Vote_VOTE_UNSPECIFIED Vote_Vote = 0
	Vote_VOTE_ABSTAIN     Vote_Vote = 1
	Vote_VOTE_YES         Vote_Vote = 2
	Vote_VOTE_NO          Vote_Vote = 3
)

func (Vote_Vote) EnumDescriptor

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

func (Vote_Vote) String

func (x Vote_Vote) String() string

Jump to

Keyboard shortcuts

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